@webshopmanager/partslogic-ui 1.3.1-al176.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +3 -0
- package/README.md +262 -0
- package/build/Alert/index.css +1 -0
- package/build/Alert/index.esm.js +8 -0
- package/build/Alert/index.esm.js.map +1 -0
- package/build/Alert/index.js +8 -0
- package/build/Alert/index.js.map +1 -0
- package/build/Alert/index.umd.js +8 -0
- package/build/Alert/index.umd.js.map +1 -0
- package/build/Alert/package.json +6 -0
- package/build/BreadCrumb/index.css +1 -0
- package/build/BreadCrumb/index.esm.js +22 -0
- package/build/BreadCrumb/index.esm.js.map +1 -0
- package/build/BreadCrumb/index.js +22 -0
- package/build/BreadCrumb/index.js.map +1 -0
- package/build/BreadCrumb/index.umd.js +22 -0
- package/build/BreadCrumb/index.umd.js.map +1 -0
- package/build/BreadCrumb/package.json +6 -0
- package/build/CategoryCarousel/index.css +1 -0
- package/build/CategoryCarousel/index.esm.js +22 -0
- package/build/CategoryCarousel/index.esm.js.map +1 -0
- package/build/CategoryCarousel/index.js +22 -0
- package/build/CategoryCarousel/index.js.map +1 -0
- package/build/CategoryCarousel/index.umd.js +22 -0
- package/build/CategoryCarousel/index.umd.js.map +1 -0
- package/build/CategoryCarousel/package.json +6 -0
- package/build/CategoryCarouselWrapper/index.css +1 -0
- package/build/CategoryCarouselWrapper/index.esm.js +22 -0
- package/build/CategoryCarouselWrapper/index.esm.js.map +1 -0
- package/build/CategoryCarouselWrapper/index.js +22 -0
- package/build/CategoryCarouselWrapper/index.js.map +1 -0
- package/build/CategoryCarouselWrapper/index.umd.js +22 -0
- package/build/CategoryCarouselWrapper/index.umd.js.map +1 -0
- package/build/CategoryCarouselWrapper/package.json +6 -0
- package/build/CategoryList/index.css +1 -0
- package/build/CategoryList/index.esm.js +22 -0
- package/build/CategoryList/index.esm.js.map +1 -0
- package/build/CategoryList/index.js +22 -0
- package/build/CategoryList/index.js.map +1 -0
- package/build/CategoryList/index.umd.js +22 -0
- package/build/CategoryList/index.umd.js.map +1 -0
- package/build/CategoryList/package.json +6 -0
- package/build/CategoryListWrapper/index.css +1 -0
- package/build/CategoryListWrapper/index.esm.js +22 -0
- package/build/CategoryListWrapper/index.esm.js.map +1 -0
- package/build/CategoryListWrapper/index.js +22 -0
- package/build/CategoryListWrapper/index.js.map +1 -0
- package/build/CategoryListWrapper/index.umd.js +22 -0
- package/build/CategoryListWrapper/index.umd.js.map +1 -0
- package/build/CategoryListWrapper/package.json +6 -0
- package/build/FacetFilter/index.css +1 -0
- package/build/FacetFilter/index.esm.js +22 -0
- package/build/FacetFilter/index.esm.js.map +1 -0
- package/build/FacetFilter/index.js +22 -0
- package/build/FacetFilter/index.js.map +1 -0
- package/build/FacetFilter/index.umd.js +22 -0
- package/build/FacetFilter/index.umd.js.map +1 -0
- package/build/FacetFilter/package.json +6 -0
- package/build/FitmentSelector/index.css +1 -0
- package/build/FitmentSelector/index.esm.js +22 -0
- package/build/FitmentSelector/index.esm.js.map +1 -0
- package/build/FitmentSelector/index.js +22 -0
- package/build/FitmentSelector/index.js.map +1 -0
- package/build/FitmentSelector/index.umd.js +22 -0
- package/build/FitmentSelector/index.umd.js.map +1 -0
- package/build/FitmentSelector/package.json +6 -0
- package/build/FitmentSelectorVerifier/index.css +1 -0
- package/build/FitmentSelectorVerifier/index.esm.js +22 -0
- package/build/FitmentSelectorVerifier/index.esm.js.map +1 -0
- package/build/FitmentSelectorVerifier/index.js +22 -0
- package/build/FitmentSelectorVerifier/index.js.map +1 -0
- package/build/FitmentSelectorVerifier/index.umd.js +22 -0
- package/build/FitmentSelectorVerifier/index.umd.js.map +1 -0
- package/build/FitmentSelectorVerifier/package.json +6 -0
- package/build/FitmentSelectorWrapper/index.css +1 -0
- package/build/FitmentSelectorWrapper/index.esm.js +22 -0
- package/build/FitmentSelectorWrapper/index.esm.js.map +1 -0
- package/build/FitmentSelectorWrapper/index.js +22 -0
- package/build/FitmentSelectorWrapper/index.js.map +1 -0
- package/build/FitmentSelectorWrapper/index.umd.js +22 -0
- package/build/FitmentSelectorWrapper/index.umd.js.map +1 -0
- package/build/FitmentSelectorWrapper/package.json +6 -0
- package/build/FitmentStoreWrapper/index.css +1 -0
- package/build/FitmentStoreWrapper/index.esm.js +8 -0
- package/build/FitmentStoreWrapper/index.esm.js.map +1 -0
- package/build/FitmentStoreWrapper/index.js +8 -0
- package/build/FitmentStoreWrapper/index.js.map +1 -0
- package/build/FitmentStoreWrapper/index.umd.js +8 -0
- package/build/FitmentStoreWrapper/index.umd.js.map +1 -0
- package/build/FitmentStoreWrapper/package.json +6 -0
- package/build/ListControls/index.css +1 -0
- package/build/ListControls/index.esm.js +8 -0
- package/build/ListControls/index.esm.js.map +1 -0
- package/build/ListControls/index.js +8 -0
- package/build/ListControls/index.js.map +1 -0
- package/build/ListControls/index.umd.js +8 -0
- package/build/ListControls/index.umd.js.map +1 -0
- package/build/ListControls/package.json +6 -0
- package/build/LoadingIndicator/index.css +1 -0
- package/build/LoadingIndicator/index.esm.js +8 -0
- package/build/LoadingIndicator/index.esm.js.map +1 -0
- package/build/LoadingIndicator/index.js +8 -0
- package/build/LoadingIndicator/index.js.map +1 -0
- package/build/LoadingIndicator/index.umd.js +8 -0
- package/build/LoadingIndicator/index.umd.js.map +1 -0
- package/build/LoadingIndicator/package.json +6 -0
- package/build/Pagination/index.css +1 -0
- package/build/Pagination/index.esm.js +8 -0
- package/build/Pagination/index.esm.js.map +1 -0
- package/build/Pagination/index.js +8 -0
- package/build/Pagination/index.js.map +1 -0
- package/build/Pagination/index.umd.js +8 -0
- package/build/Pagination/index.umd.js.map +1 -0
- package/build/Pagination/package.json +6 -0
- package/build/PaginationWithRangeInfo/index.css +1 -0
- package/build/PaginationWithRangeInfo/index.esm.js +8 -0
- package/build/PaginationWithRangeInfo/index.esm.js.map +1 -0
- package/build/PaginationWithRangeInfo/index.js +8 -0
- package/build/PaginationWithRangeInfo/index.js.map +1 -0
- package/build/PaginationWithRangeInfo/index.umd.js +8 -0
- package/build/PaginationWithRangeInfo/index.umd.js.map +1 -0
- package/build/PaginationWithRangeInfo/package.json +6 -0
- package/build/ProductList/index.css +1 -0
- package/build/ProductList/index.esm.js +22 -0
- package/build/ProductList/index.esm.js.map +1 -0
- package/build/ProductList/index.js +22 -0
- package/build/ProductList/index.js.map +1 -0
- package/build/ProductList/index.umd.js +22 -0
- package/build/ProductList/index.umd.js.map +1 -0
- package/build/ProductList/package.json +6 -0
- package/build/ProductListWrapper/index.css +1 -0
- package/build/ProductListWrapper/index.esm.js +22 -0
- package/build/ProductListWrapper/index.esm.js.map +1 -0
- package/build/ProductListWrapper/index.js +22 -0
- package/build/ProductListWrapper/index.js.map +1 -0
- package/build/ProductListWrapper/index.umd.js +22 -0
- package/build/ProductListWrapper/index.umd.js.map +1 -0
- package/build/ProductListWrapper/package.json +6 -0
- package/build/ProductSelectorVerifier/index.css +1 -0
- package/build/ProductSelectorVerifier/index.esm.js +22 -0
- package/build/ProductSelectorVerifier/index.esm.js.map +1 -0
- package/build/ProductSelectorVerifier/index.js +22 -0
- package/build/ProductSelectorVerifier/index.js.map +1 -0
- package/build/ProductSelectorVerifier/index.umd.js +22 -0
- package/build/ProductSelectorVerifier/index.umd.js.map +1 -0
- package/build/ProductSelectorVerifier/package.json +6 -0
- package/build/SearchBar/index.css +1 -0
- package/build/SearchBar/index.esm.js +22 -0
- package/build/SearchBar/index.esm.js.map +1 -0
- package/build/SearchBar/index.js +22 -0
- package/build/SearchBar/index.js.map +1 -0
- package/build/SearchBar/index.umd.js +22 -0
- package/build/SearchBar/index.umd.js.map +1 -0
- package/build/SearchBar/package.json +6 -0
- package/build/SearchBarWrapper/index.css +1 -0
- package/build/SearchBarWrapper/index.esm.js +22 -0
- package/build/SearchBarWrapper/index.esm.js.map +1 -0
- package/build/SearchBarWrapper/index.js +22 -0
- package/build/SearchBarWrapper/index.js.map +1 -0
- package/build/SearchBarWrapper/index.umd.js +22 -0
- package/build/SearchBarWrapper/index.umd.js.map +1 -0
- package/build/SearchBarWrapper/package.json +6 -0
- package/build/SearchBarWrapperModal/index.css +1 -0
- package/build/SearchBarWrapperModal/index.esm.js +22 -0
- package/build/SearchBarWrapperModal/index.esm.js.map +1 -0
- package/build/SearchBarWrapperModal/index.js +22 -0
- package/build/SearchBarWrapperModal/index.js.map +1 -0
- package/build/SearchBarWrapperModal/index.umd.js +22 -0
- package/build/SearchBarWrapperModal/index.umd.js.map +1 -0
- package/build/SearchBarWrapperModal/package.json +6 -0
- package/build/SkuListWrapper/index.css +1 -0
- package/build/SkuListWrapper/index.esm.js +22 -0
- package/build/SkuListWrapper/index.esm.js.map +1 -0
- package/build/SkuListWrapper/index.js +22 -0
- package/build/SkuListWrapper/index.js.map +1 -0
- package/build/SkuListWrapper/index.umd.js +22 -0
- package/build/SkuListWrapper/index.umd.js.map +1 -0
- package/build/SkuListWrapper/package.json +6 -0
- package/build/SpecificationSearch/index.css +1 -0
- package/build/SpecificationSearch/index.esm.js +8 -0
- package/build/SpecificationSearch/index.esm.js.map +1 -0
- package/build/SpecificationSearch/index.js +8 -0
- package/build/SpecificationSearch/index.js.map +1 -0
- package/build/SpecificationSearch/index.umd.js +8 -0
- package/build/SpecificationSearch/index.umd.js.map +1 -0
- package/build/SpecificationSearch/package.json +6 -0
- package/build/WsmFitmentSelectorWrapper/index.css +1 -0
- package/build/WsmFitmentSelectorWrapper/index.esm.js +22 -0
- package/build/WsmFitmentSelectorWrapper/index.esm.js.map +1 -0
- package/build/WsmFitmentSelectorWrapper/index.js +22 -0
- package/build/WsmFitmentSelectorWrapper/index.js.map +1 -0
- package/build/WsmFitmentSelectorWrapper/index.umd.js +22 -0
- package/build/WsmFitmentSelectorWrapper/index.umd.js.map +1 -0
- package/build/WsmFitmentSelectorWrapper/package.json +6 -0
- package/build/WsmProductListWrapper/index.css +1 -0
- package/build/WsmProductListWrapper/index.esm.js +22 -0
- package/build/WsmProductListWrapper/index.esm.js.map +1 -0
- package/build/WsmProductListWrapper/index.js +22 -0
- package/build/WsmProductListWrapper/index.js.map +1 -0
- package/build/WsmProductListWrapper/index.umd.js +22 -0
- package/build/WsmProductListWrapper/index.umd.js.map +1 -0
- package/build/WsmProductListWrapper/package.json +6 -0
- package/build/WsmSearchBarWithWrapperModal/index.css +1 -0
- package/build/WsmSearchBarWithWrapperModal/index.esm.js +8 -0
- package/build/WsmSearchBarWithWrapperModal/index.esm.js.map +1 -0
- package/build/WsmSearchBarWithWrapperModal/index.js +8 -0
- package/build/WsmSearchBarWithWrapperModal/index.js.map +1 -0
- package/build/WsmSearchBarWithWrapperModal/index.umd.js +8 -0
- package/build/WsmSearchBarWithWrapperModal/index.umd.js.map +1 -0
- package/build/WsmSearchBarWithWrapperModal/package.json +6 -0
- package/build/WsmSearchBarWrapper/index.css +1 -0
- package/build/WsmSearchBarWrapper/index.esm.js +22 -0
- package/build/WsmSearchBarWrapper/index.esm.js.map +1 -0
- package/build/WsmSearchBarWrapper/index.js +22 -0
- package/build/WsmSearchBarWrapper/index.js.map +1 -0
- package/build/WsmSearchBarWrapper/index.umd.js +22 -0
- package/build/WsmSearchBarWrapper/index.umd.js.map +1 -0
- package/build/WsmSearchBarWrapper/package.json +6 -0
- package/build/WsmSearchBarWrapperModal/index.css +1 -0
- package/build/WsmSearchBarWrapperModal/index.esm.js +22 -0
- package/build/WsmSearchBarWrapperModal/index.esm.js.map +1 -0
- package/build/WsmSearchBarWrapperModal/index.js +22 -0
- package/build/WsmSearchBarWrapperModal/index.js.map +1 -0
- package/build/WsmSearchBarWrapperModal/index.umd.js +22 -0
- package/build/WsmSearchBarWrapperModal/index.umd.js.map +1 -0
- package/build/WsmSearchBarWrapperModal/package.json +6 -0
- package/build/WsmSearchPage/index.css +1 -0
- package/build/WsmSearchPage/index.esm.js +22 -0
- package/build/WsmSearchPage/index.esm.js.map +1 -0
- package/build/WsmSearchPage/index.js +22 -0
- package/build/WsmSearchPage/index.js.map +1 -0
- package/build/WsmSearchPage/index.umd.js +22 -0
- package/build/WsmSearchPage/index.umd.js.map +1 -0
- package/build/WsmSearchPage/package.json +6 -0
- package/build/index.css +1 -0
- package/build/index.esm.js +8 -0
- package/build/index.esm.js.map +1 -0
- package/build/index.js +8 -0
- package/build/index.js.map +1 -0
- package/build/index.umd.js +8 -0
- package/build/index.umd.js.map +1 -0
- package/build/typings/common/CategoryItem/CategoryItem.d.ts +7 -0
- package/build/typings/common/CurrencyInput/CurrencyInput.d.ts +8 -0
- package/build/typings/common/FitmentSelectorWrapperModal/FitmentSelectorWrapperModal.d.ts +9 -0
- package/build/typings/common/Image/Image.d.ts +9 -0
- package/build/typings/common/List/List.d.ts +62 -0
- package/build/typings/common/Modal/Modal.d.ts +12 -0
- package/build/typings/common/ProductListItem/ProductListItem.d.ts +5 -0
- package/build/typings/common/ProductListItem/models.d.ts +13 -0
- package/build/typings/common/Rating/Rating.d.ts +7 -0
- package/build/typings/common/customHooks/useEventCallback.d.ts +9 -0
- package/build/typings/common/customHooks/useFetch.d.ts +36 -0
- package/build/typings/components/Alert/Alert.d.ts +4 -0
- package/build/typings/components/Alert/index.d.ts +1 -0
- package/build/typings/components/Alert/models.d.ts +76 -0
- package/build/typings/components/BreadCrumb/BreadCrumb.d.ts +4 -0
- package/build/typings/components/BreadCrumb/PathItem.d.ts +4 -0
- package/build/typings/components/BreadCrumb/index.d.ts +1 -0
- package/build/typings/components/BreadCrumb/models.d.ts +80 -0
- package/build/typings/components/CategoryCarousel/CategoryCarousel.d.ts +4 -0
- package/build/typings/components/CategoryCarousel/index.d.ts +1 -0
- package/build/typings/components/CategoryCarousel/models.d.ts +49 -0
- package/build/typings/components/CategoryCarouselWrapper/CategoryCarouselWrapper.d.ts +4 -0
- package/build/typings/components/CategoryCarouselWrapper/index.d.ts +1 -0
- package/build/typings/components/CategoryCarouselWrapper/models.d.ts +5 -0
- package/build/typings/components/CategoryList/CategoryList.d.ts +4 -0
- package/build/typings/components/CategoryList/index.d.ts +1 -0
- package/build/typings/components/CategoryList/models.d.ts +17 -0
- package/build/typings/components/CategoryListWrapper/CategoryListWrapper.d.ts +4 -0
- package/build/typings/components/CategoryListWrapper/index.d.ts +1 -0
- package/build/typings/components/CategoryListWrapper/models.d.ts +8 -0
- package/build/typings/components/FacetFilter/FacetFilter.d.ts +4 -0
- package/build/typings/components/FacetFilter/FacetSection.d.ts +4 -0
- package/build/typings/components/FacetFilter/index.d.ts +1 -0
- package/build/typings/components/FacetFilter/models.d.ts +90 -0
- package/build/typings/components/FitmentSelector/FitmentSelector.d.ts +15 -0
- package/build/typings/components/FitmentSelector/NativeSelect.d.ts +4 -0
- package/build/typings/components/FitmentSelector/index.d.ts +1 -0
- package/build/typings/components/FitmentSelector/models.d.ts +69 -0
- package/build/typings/components/FitmentSelector/utils.d.ts +4 -0
- package/build/typings/components/FitmentSelectorVerifier/FitmentSelectorVerifier.d.ts +5 -0
- package/build/typings/components/FitmentSelectorVerifier/index.d.ts +1 -0
- package/build/typings/components/FitmentSelectorVerifier/models.d.ts +105 -0
- package/build/typings/components/FitmentSelectorWrapper/FitmentSelectorWrapper.d.ts +11 -0
- package/build/typings/components/FitmentSelectorWrapper/index.d.ts +1 -0
- package/build/typings/components/FitmentSelectorWrapper/models.d.ts +142 -0
- package/build/typings/components/FitmentStoreWrapper/FitmentStorePopover.d.ts +6 -0
- package/build/typings/components/FitmentStoreWrapper/FitmentStoreWrapper.d.ts +4 -0
- package/build/typings/components/FitmentStoreWrapper/index.d.ts +1 -0
- package/build/typings/components/FitmentStoreWrapper/models.d.ts +59 -0
- package/build/typings/components/ListControls/ListControls.d.ts +4 -0
- package/build/typings/components/ListControls/index.d.ts +1 -0
- package/build/typings/components/ListControls/models.d.ts +47 -0
- package/build/typings/components/LoadingIndicator/LoadingIndicator.d.ts +7 -0
- package/build/typings/components/LoadingIndicator/index.d.ts +1 -0
- package/build/typings/components/Pagination/Pagination.d.ts +4 -0
- package/build/typings/components/Pagination/index.d.ts +1 -0
- package/build/typings/components/Pagination/models.d.ts +13 -0
- package/build/typings/components/PaginationWithRangeInfo/PaginationWithRangeInfo.d.ts +4 -0
- package/build/typings/components/PaginationWithRangeInfo/index.d.ts +1 -0
- package/build/typings/components/PaginationWithRangeInfo/models.d.ts +7 -0
- package/build/typings/components/ProductList/ProductList.d.ts +8 -0
- package/build/typings/components/ProductList/index.d.ts +1 -0
- package/build/typings/components/ProductList/models.d.ts +46 -0
- package/build/typings/components/ProductListWrapper/ProductListWrapper.d.ts +4 -0
- package/build/typings/components/ProductListWrapper/index.d.ts +1 -0
- package/build/typings/components/ProductListWrapper/models.d.ts +25 -0
- package/build/typings/components/ProductSelectorVerifier/ProductSelectorVerifier.d.ts +14 -0
- package/build/typings/components/ProductSelectorVerifier/index.d.ts +1 -0
- package/build/typings/components/SearchBar/SearchBar.d.ts +6 -0
- package/build/typings/components/SearchBar/SearchBarSuggestions.d.ts +4 -0
- package/build/typings/components/SearchBar/index.d.ts +1 -0
- package/build/typings/components/SearchBar/models.d.ts +172 -0
- package/build/typings/components/SearchBarWrapper/SearchBarWrapper.d.ts +6 -0
- package/build/typings/components/SearchBarWrapper/index.d.ts +1 -0
- package/build/typings/components/SearchBarWrapper/models.d.ts +22 -0
- package/build/typings/components/SearchBarWrapperModal/SearchBarWrapperModal.d.ts +4 -0
- package/build/typings/components/SearchBarWrapperModal/index.d.ts +1 -0
- package/build/typings/components/SearchBarWrapperModal/models.d.ts +5 -0
- package/build/typings/components/SkuListWrapper/SkuListWrapper.d.ts +4 -0
- package/build/typings/components/SkuListWrapper/index.d.ts +1 -0
- package/build/typings/components/SpecificationSearch/SpecificationSearch.d.ts +4 -0
- package/build/typings/components/SpecificationSearch/index.d.ts +1 -0
- package/build/typings/components/SpecificationSearch/models.d.ts +30 -0
- package/build/typings/components/WsmFitmentSelectorWrapper/WsmFitmentSelectorWrapper.d.ts +8 -0
- package/build/typings/components/WsmFitmentSelectorWrapper/index.d.ts +1 -0
- package/build/typings/components/WsmProductListWrapper/WsmProductListWrapper.d.ts +4 -0
- package/build/typings/components/WsmProductListWrapper/index.d.ts +1 -0
- package/build/typings/components/WsmSearchBarWithWrapperModal/WsmSearchBarWithWrapperModal.d.ts +8 -0
- package/build/typings/components/WsmSearchBarWithWrapperModal/index.d.ts +1 -0
- package/build/typings/components/WsmSearchBarWrapper/WsmSearchBarWrapper.d.ts +4 -0
- package/build/typings/components/WsmSearchBarWrapper/index.d.ts +1 -0
- package/build/typings/components/WsmSearchBarWrapper/models.d.ts +12 -0
- package/build/typings/components/WsmSearchBarWrapperModal/WsmSearchBarWrapperModal.d.ts +4 -0
- package/build/typings/components/WsmSearchBarWrapperModal/index.d.ts +1 -0
- package/build/typings/components/WsmSearchBarWrapperModal/models.d.ts +5 -0
- package/build/typings/components/WsmSearchPage/FacetFilterModal.d.ts +18 -0
- package/build/typings/components/WsmSearchPage/FitmentSelectorModal.d.ts +22 -0
- package/build/typings/components/WsmSearchPage/SearchPageProvider.d.ts +32 -0
- package/build/typings/components/WsmSearchPage/index.d.ts +29 -0
- package/build/typings/components/WsmSearchPage/utils.d.ts +25 -0
- package/build/typings/icons/Angle.d.ts +7 -0
- package/build/typings/icons/BanIcon.d.ts +7 -0
- package/build/typings/icons/CheckIcon.d.ts +3 -0
- package/build/typings/icons/CrossIcon.d.ts +7 -0
- package/build/typings/icons/Grid.d.ts +5 -0
- package/build/typings/icons/ImagePlaceHolder.d.ts +5 -0
- package/build/typings/icons/List.d.ts +6 -0
- package/build/typings/icons/MinusIcon.d.ts +6 -0
- package/build/typings/icons/PlusIcon.d.ts +6 -0
- package/build/typings/icons/SearchIcon.d.ts +7 -0
- package/build/typings/icons/SearchIconLight.d.ts +7 -0
- package/build/typings/icons/StarIcon.d.ts +6 -0
- package/build/typings/icons/TrashIcon.d.ts +7 -0
- package/build/typings/icons/WarningIcon.d.ts +3 -0
- package/build/typings/index.d.ts +60 -0
- package/build/typings/models/generic.d.ts +8 -0
- package/build/typings/models/search.d.ts +93 -0
- package/build/typings/static/icons/CrossIcon.d.ts +7 -0
- package/build/typings/static/icons/FunnelIcon.d.ts +3 -0
- package/build/typings/static/icons/VerifiedIcon.d.ts +3 -0
- package/build/typings/utils/constants.d.ts +7 -0
- package/build/typings/utils/fitmentUtils.d.ts +4 -0
- package/build/typings/utils/format.d.ts +3 -0
- package/build/typings/utils/queryUtils.d.ts +12 -0
- package/build/typings/utils/restFactory.d.ts +6 -0
- package/build/typings/utils/searchHistory.d.ts +3 -0
- package/build/typings/utils/wsmVisibleFieldsBuilder.d.ts +31 -0
- package/package.json +133 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
.loadingIndicator_root__npeKe{height:3px;width:100%;margin:0;background-color:var(--sui-primary-color-light);display:flex;position:absolute;top:-3px}.loadingIndicator_root__npeKe:before{background-color:var(--sui-primary-color);height:3px;width:100%;margin:0;content:"";-webkit-animation:loadingIndicator_running-progress__1LY3F 2s cubic-bezier(.4,0,.2,1) infinite;animation:loadingIndicator_running-progress__1LY3F 2s cubic-bezier(.4,0,.2,1) infinite}@keyframes loadingIndicator_running-progress__1LY3F{0%{margin-left:0;margin-right:100%}50%{margin-left:25%;margin-right:0}to{margin-left:100%;margin-right:0}}.loadingIndicator_sk-fading-circle__1TTJV{margin:auto;width:40px;height:40px;position:relative}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle__CwR68{width:100%;height:100%;position:absolute;left:0;top:0}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle__CwR68:before{content:"";display:block;margin:0 auto;width:15%;height:15%;background-color:#333;border-radius:100%;-webkit-animation:loadingIndicator_sk-circleFadeDelay__3VwzZ 1.2s ease-in-out infinite both;animation:loadingIndicator_sk-circleFadeDelay__3VwzZ 1.2s ease-in-out infinite both}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle2__1gpYo{-webkit-transform:rotate(30deg);-ms-transform:rotate(30deg);transform:rotate(30deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle3__2GoQv{-webkit-transform:rotate(60deg);-ms-transform:rotate(60deg);transform:rotate(60deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle4__1F1d-{-webkit-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle5__1I-LA{-webkit-transform:rotate(120deg);-ms-transform:rotate(120deg);transform:rotate(120deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle6__26mL6{-webkit-transform:rotate(150deg);-ms-transform:rotate(150deg);transform:rotate(150deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle7__3BF0d{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle8__2ITYw{-webkit-transform:rotate(210deg);-ms-transform:rotate(210deg);transform:rotate(210deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle9__2pFiT{-webkit-transform:rotate(240deg);-ms-transform:rotate(240deg);transform:rotate(240deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle10__2Gk5Q{-webkit-transform:rotate(270deg);-ms-transform:rotate(270deg);transform:rotate(270deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle11__34lxl{-webkit-transform:rotate(300deg);-ms-transform:rotate(300deg);transform:rotate(300deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle12__34fj1{-webkit-transform:rotate(330deg);-ms-transform:rotate(330deg);transform:rotate(330deg)}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle2__1gpYo:before{-webkit-animation-delay:-1.1s;animation-delay:-1.1s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle3__2GoQv:before{-webkit-animation-delay:-1s;animation-delay:-1s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle4__1F1d-:before{-webkit-animation-delay:-.9s;animation-delay:-.9s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle5__1I-LA:before{-webkit-animation-delay:-.8s;animation-delay:-.8s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle6__26mL6:before{-webkit-animation-delay:-.7s;animation-delay:-.7s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle7__3BF0d:before{-webkit-animation-delay:-.6s;animation-delay:-.6s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle8__2ITYw:before{-webkit-animation-delay:-.5s;animation-delay:-.5s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle9__2pFiT:before{-webkit-animation-delay:-.4s;animation-delay:-.4s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle10__2Gk5Q:before{-webkit-animation-delay:-.3s;animation-delay:-.3s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle11__34lxl:before{-webkit-animation-delay:-.2s;animation-delay:-.2s}.loadingIndicator_sk-fading-circle__1TTJV .loadingIndicator_sk-circle12__34fj1:before{-webkit-animation-delay:-.1s;animation-delay:-.1s}@-webkit-keyframes loadingIndicator_sk-circleFadeDelay__3VwzZ{0%,39%,to{opacity:0}40%{opacity:1}}@keyframes loadingIndicator_sk-circleFadeDelay__3VwzZ{0%,39%,to{opacity:0}40%{opacity:1}}.productListItem_root__xLXZA{display:grid;grid-template-columns:fit-content(20%) 3fr minmax(155px,1fr);gap:15px;padding:.5rem}.productListItem_root__xLXZA ul{list-style:none;margin:0;padding:0}.productListItem_text__2vbTm{margin:0;font-size:.8rem}a.productListItem_text__2vbTm{color:inherit;text-decoration:none}.productListItem_productImg__23A0z{max-width:75px;max-height:75px}.productListItem_imageContainer__paRx-{width:150px;text-align:center;display:flex;align-items:center;justify-content:center;height:auto}.productListItem_imageContainer__paRx- svg{width:100%}.productListItem_productImg__23A0z{max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain}.productListItem_vertical__RuKVA{grid-template-columns:1fr;justify-items:left;border-radius:5px;border:1px solid var(--sui-secondary-color);padding-bottom:.5rem}.productListItem_vertical__RuKVA .productListItem_imageContainer__paRx-{max-width:unset;width:100%;height:160px;display:flex;align-items:center;justify-content:center}.productListItem_vertical__RuKVA .productListItem_productImg__23A0z{max-width:unset;max-height:100%;object-fit:contain;width:100%}.productListItem_styledSearchResultItem__2xWUG{border-bottom:1px solid var(--sui-secondary-color)}.productListItem_styledSearchResultItem__2xWUG .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--title{font-size:1.6rem;font-weight:700;margin-top:0}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability{text-align:right;font-size:1rem;color:var(--sui-danger-color-dark);font-weight:700}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--brand_name,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--tag{font-size:.8rem;font-weight:700;margin-top:0}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability_remarks,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--remarks{color:var(--sui-success-color);font-size:.8rem;margin:.5rem 0;font-weight:600;text-align:right}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--price,.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--sale{font-size:1.6rem;font-weight:700;text-align:right}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--fitment_applicability{font-size:12px;padding:.5em 1em;border-radius:1em;border:none;outline:none}.productListItem_styledSearchResultItem__2xWUG .fitmentSpecific{background:var(--sui-primary-color-light)}.productListItem_styledSearchResultItem__2xWUG .universal{background:var(--sui-secondary-color-dark)}.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem-Container--fitment_applicability{margin-top:10px;margin-bottom:10px}.productListItem_styledSearchResultItem__2xWUG .red{color:var(--sui-danger-color-dark)}.productListItem_styledSearchResultItem__2xWUG .old-price{color:var(--sui-muted-color);text-decoration:line-through;font-weight:400;font-size:1.4rem}.productListItem_styledSearchResultItem__2xWUG .bold{font-weight:700}.productListItem_styledSearchResultItem__2xWUG .productListItem_link__QvazJ{font-weight:700;color:var(--sui-link-color);text-decoration:none;font-size:1.2rem;text-align:right;display:block}.productListItem_styledSearchResultItem__2xWUG .productListItem_right__1cPgQ{padding-top:19px;padding-right:1rem}.productListItem_styledSearchResultItem__2xWUG .mb-1{margin-bottom:1px}.productListItem_styledSearchResultItem__2xWUG .mb-2{margin-bottom:2px}.productListItem_styledSearchResultItem__2xWUG .mb-3{margin-bottom:3px}.productListItem_styledSearchResultItem__2xWUG .mb-4{margin-bottom:4px}.productListItem_styledSearchResultItem__2xWUG .mb-5{margin-bottom:5px}.productListItem_styledSearchResultItem__2xWUG .mb-6{margin-bottom:6px}.productListItem_styledSearchResultItem__2xWUG .mb-7{margin-bottom:7px}.productListItem_styledSearchResultItem__2xWUG .mb-8{margin-bottom:8px}.productListItem_styledSearchResultItem__2xWUG .mb-9{margin-bottom:9px}.productListItem_styledSearchResultItem__2xWUG .mb-10{margin-bottom:10px}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_link__QvazJ{text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--title{font-size:1.6rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--dealerid{margin-bottom:8px}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--price,.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--sale{font-size:1.6rem;text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .old-price{font-size:1.4rem}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--availability{font-size:1rem;text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--availability_remarks,.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .Sui-ProductListItem--remarks{text-align:right}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA .productListItem_right__1cPgQ{padding-top:0;width:100%}.productListItem_styledSearchResultItem__2xWUG.productListItem_vertical__RuKVA.productListItem_root__xLXZA{gap:0}@media (max-width:500px){.productListItem_root__xLXZA{grid-template-columns:1fr;justify-items:left;border-radius:5px;border:1px solid var(--sui-secondary-color);padding-bottom:.5rem}.productListItem_root__xLXZA .productListItem_imageContainer__paRx-{max-width:unset;width:100%;height:160px;display:flex;align-items:center;justify-content:center}.productListItem_root__xLXZA .productListItem_productImg__23A0z{max-width:unset;max-height:100%;object-fit:contain;width:100%}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_text__2vbTm{font-size:1.3rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_link__QvazJ{text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--title{font-size:1.6rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--dealerid{margin-bottom:8px}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--price,.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--sale{font-size:1.6rem;text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .old-price{font-size:1.4rem}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability{font-size:1rem;text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--availability_remarks,.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .Sui-ProductListItem--remarks{text-align:right}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG .productListItem_right__1cPgQ{padding-top:0;width:100%}.productListItem_root__xLXZA.productListItem_styledSearchResultItem__2xWUG.productListItem_root__xLXZA{gap:0}}.productListItem_optionAvailableBtnContainer__2wxwf{text-align:right}.productListItem_optionsAvailableBtn__1rmDf{background:#efefef;padding:5px 10px;text-decoration:none;color:#343434;text-transform:capitalize}.productListItem_priceFromLabel__pMQzO{font-weight:400}.searchBarSuggestions_suggestionContainer__1m96a{overflow-y:auto;position:absolute;z-index:999;width:100%;background-color:#fff}.searchBarSuggestions_suggestionContainer__1m96a .Sui-SearchBar--section-product{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));grid-gap:.5rem}.searchBarSuggestions_link__1rcDs{color:inherit;text-decoration:unset;outline:none}.searchBarSuggestions_listContainer__2O5EM:not(.Sui-SearchBar--section-product){display:grid;grid-template-columns:repeat(auto-fit,minmax(90px,auto));text-align:center;grid-gap:15px}.searchBarSuggestions_listContainer__2O5EM.Sui-SearchBar--section-history{display:flex;flex-direction:column;margin:10px 0}.searchBarSuggestions_basicItemLink__2hEMG .searchBarSuggestions_imageContainer__2H3z6{height:80px;display:flex;justify-content:center;align-items:center}.searchBarSuggestions_basicItemLink__2hEMG .searchBarSuggestions_imageContainer__2H3z6 img,.searchBarSuggestions_basicItemLink__2hEMG .searchBarSuggestions_imageContainer__2H3z6 svg{width:auto;max-height:100%;max-width:100%;object-fit:cover}.searchBarSuggestions_basicItemLink__2hEMG h1{margin-top:0;font-size:100%;text-align:center}.searchBarSuggestions_basicItemTitle__3MJeQ{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchBarSuggestions_viewMoreContainer__2gobp{margin-top:1rem;text-align:center}.searchBarSuggestions_searchTermHistoryItem__3xi7Q{display:flex;align-items:center;justify-content:flex-start;margin:0;padding:0;height:20px;width:auto;background-color:transparent;border:none;cursor:pointer}.searchBarSuggestions_searchTermHistoryItem__3xi7Q .searchBarSuggestions_searchTermHistoryItemIcon__sZmTm{margin-right:5px}.searchBarSuggestions_searchTermHistoryItem__3xi7Q p{margin:0}.searchBarSuggestions_styledResultItem__3mBB5{background-color:#fff}.searchBarSuggestions_styledResultItem__3mBB5:hover,.searchBarSuggestions_styledSuggestionContainer__H33XA{background-color:var(--sui-secondary-color-light)}.searchBarSuggestions_styledSuggestionContainer__H33XA .Sui-CategoryList--title{text-align:left;font-size:1.4rem;font-weight:700;overflow:initial;white-space:normal;text-overflow:clip}.searchBarSuggestions_styledList__MKl23{padding:.25rem 1rem 1rem}.searchBarSuggestions_styledListTitle__2VK-S{border-bottom:1px solid grey;margin:2rem 0;padding-bottom:.25rem;text-transform:uppercase}.searchBarSuggestions_styledViewMoreBtn__3nh1Y{padding:0 1rem}.searchBarSuggestions_clearHistoryBtn__39npD{background-color:transparent;border:none;cursor:pointer;color:var(--sui-primary-color);padding:0;outline:none;display:flex;align-items:center}.searchBarSuggestions_clearHistoryBtn__39npD:hover{text-decoration:underline}.SuiInput{border:1px solid var(--sui-border-input);height:var(--sui-input-height);padding-left:.6em;color:#444;box-shadow:0 1px 0 1px rgba(0,0,0,.04);border-radius:0;font-size:.9rem;border-radius:3px}.SuiInput:focus,.SuiInput:hover{border-color:var(--sui-border-input-hover)}.SuiInput:focus{outline:none}:root{--sui-primary-color:#0071bc;--sui-primary-color-light:#8bcbf5;--sui-secondary-color:#efefef;--sui-secondary-color-light:#f8f9fa;--sui-secondary-color-dark:#afafaf;--sui-secondary-color-dark2:#6c757d;--sui-danger-color:#ff5353;--sui-danger-color-dark:#cb0201;--sui-muted-color:#6c757d;--sui-border-input:#aaa;--sui-border-input-hover:#888;--sui-success-color:#3baf7e;--sui-warning-color:#ffb90f;--sui-grey-light:#e6e6e6;--sui-link-color:#2d9bf0;--sui-input-height:2rem}.SuiButton{cursor:pointer;border:none;height:var(--sui-input-height);border-radius:3px}.SuiButton.primary{background-color:var(--sui-primary-color);color:#fff}.SuiButton.secondary{background-color:var(--sui-secondary-color)}.SuiButton:disabled{opacity:.5}.searchBar_searchBarRoot__31Xa5{outline:none}.searchBar_searchBarContainer__3alwO{position:relative}.searchBar_searchBarInputContainer__AYpAJ{display:flex}.searchBar_inputContainer__3LGWJ{display:flex;align-items:center;position:relative;width:100%;box-sizing:border-box}.searchBar_inputContainer__3LGWJ.searchBar_inputContainerWithFitment__1ZYz6{display:grid;grid-template-columns:auto 1fr;background:#fff}.searchBar_input__PXdEA{width:100%;box-sizing:border-box;padding-right:30px}.searchBar_clearIcon__2yjvH{position:absolute;right:0;background-color:transparent;border:none;font-size:1.25rem;cursor:pointer;height:100%;display:flex;justify-content:center;align-items:center}.searchBar_searchIcon__3y9ws{display:none}.searchBar_fitmentContainer__3IZsv{display:flex;align-items:center;height:28px;margin:0 8px;width:fit-content}.searchBar_clearFitmentBtn__14jdY{display:flex;background-color:transparent;border:none;margin:0;padding:0;cursor:pointer}.searchBar_searchBarStyled__luh3_ .Sui-ProductListItem--root{box-shadow:none;border-bottom:1px solid var(--sui-secondary-color)}.searchBar_searchBarStyled__luh3_ .Sui-ProductListItem--image{display:flex;align-items:end}.searchBar_searchBarStyled__luh3_ .Sui-ProductListItem--image img{max-height:fit-content;height:unset}.searchBar_searchBarStyled__luh3_ .Sui-ProductListItem--title{display:block}.searchBar_styledButton__gW4GL{width:25%;height:45px;font-size:16px}input.searchBar_inputStyled__XoO4F{height:42px;font-size:16px;border:none;box-shadow:none}.searchBar_styledFitmentContainer__1Y9am{background:#007bff;border-radius:25px!important}.searchBar_styledFitmentContainer__1Y9am .searchBar_fitmentText__1M4XP{font-weight:700;padding-left:8px;color:#fff;margin:0}.searchBar_styledFitmentContainer__1Y9am .searchBar_clearFitmentBtn__14jdY{border-radius:50%;background:transparent;color:#fff;margin:0 8px}.searchBar_inputContainerStyled__26B1I{border:1px solid var(--sui-border-input);box-shadow:0 1px 0 1px rgba(0,0,0,.04)}@media (max-width:576px){.searchBar_styledButton__gW4GL{width:unset;min-width:45px;display:flex;align-items:center;justify-content:center}.searchBar_styledButton__gW4GL span{display:none}.searchBar_styledButton__gW4GL .searchBar_searchIcon__3y9ws{display:block}.searchBar_styledFitmentContainer__1Y9am .searchBar_fitmentText__1M4XP{width:70px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.searchBar_styledFitmentContainer__1Y9am .searchBar_clearFitmentBtn__14jdY{margin-left:0}}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import e,{createElement as t,useState as n,Fragment as r,useRef as i,useCallback as o,useEffect as a}from"react";
|
|
2
|
+
/*! *****************************************************************************
|
|
3
|
+
Copyright (c) Microsoft Corporation.
|
|
4
|
+
|
|
5
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
6
|
+
purpose with or without fee is hereby granted.
|
|
7
|
+
|
|
8
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
9
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
10
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
11
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
12
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
13
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
14
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
15
|
+
***************************************************************************** */var s=function(){return(s=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function l(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),i=0;for(t=0;t<n;t++)for(var o=arguments[t],a=0,s=o.length;a<s;a++,i++)r[i]=o[a];return r}var c="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function u(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return function(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}(null==t&&n.path)}},n.exports),n.exports}function d(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(n){var r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:function(){return e[n]}})})),t}var p=u((function(e){
|
|
16
|
+
/*!
|
|
17
|
+
Copyright (c) 2017 Jed Watson.
|
|
18
|
+
Licensed under the MIT License (MIT), see
|
|
19
|
+
http://jedwatson.github.io/classnames
|
|
20
|
+
*/
|
|
21
|
+
!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var o=typeof i;if("string"===o||"number"===o)e.push(i);else if(Array.isArray(i)&&i.length){var a=n.apply(null,i);a&&e.push(a)}else if("object"===o)for(var s in i)t.call(i,s)&&i[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),h=function(e){var n=e.size,r=void 0===n?20:n,i=e.style;return t("svg",{height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",style:i},t("path",{fill:"currentColor",d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},f=function(e){var n=e.size,r=void 0===n?20:n,i=e.className;return t("svg",{className:i,height:r,width:r,"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"search",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},t("path",{fill:"currentColor",d:"M505 442.7L405.3 343c-4.5-4.5-10.6-7-17-7H372c27.6-35.3 44-79.7 44-128C416 93.1 322.9 0 208 0S0 93.1 0 208s93.1 208 208 208c48.3 0 92.7-16.4 128-44v16.3c0 6.4 2.5 12.5 7 17l99.7 99.7c9.4 9.4 24.6 9.4 33.9 0l28.3-28.3c9.4-9.4 9.4-24.6.1-34zM208 336c-70.7 0-128-57.2-128-128 0-70.7 57.2-128 128-128 70.7 0 128 57.2 128 128 0 70.7-57.2 128-128 128z"}))};var m={root:"loadingIndicator_root__npeKe","running-progress":"loadingIndicator_running-progress__1LY3F","sk-fading-circle":"loadingIndicator_sk-fading-circle__1TTJV","sk-circle":"loadingIndicator_sk-circle__CwR68","sk-circleFadeDelay":"loadingIndicator_sk-circleFadeDelay__3VwzZ","sk-circle2":"loadingIndicator_sk-circle2__1gpYo","sk-circle3":"loadingIndicator_sk-circle3__2GoQv","sk-circle4":"loadingIndicator_sk-circle4__1F1d-","sk-circle5":"loadingIndicator_sk-circle5__1I-LA","sk-circle6":"loadingIndicator_sk-circle6__26mL6","sk-circle7":"loadingIndicator_sk-circle7__3BF0d","sk-circle8":"loadingIndicator_sk-circle8__2ITYw","sk-circle9":"loadingIndicator_sk-circle9__2pFiT","sk-circle10":"loadingIndicator_sk-circle10__2Gk5Q","sk-circle11":"loadingIndicator_sk-circle11__34lxl","sk-circle12":"loadingIndicator_sk-circle12__34fj1"},g=function(e){var n=e.type,r=e.className;return"linear"===n?t("div",{className:p(m.root,void 0===r?"":r)}):t("div",{className:m["sk-fading-circle"]},t("div",{className:p(m["sk-circle"])}),Array.from({length:11}).map((function(e,n){return t("div",{key:n,className:p(m["sk-circle"+(n+2)],m["sk-circle"])})})))},v=function(e){var n=e.className;return t("svg",{version:"1.1",viewBox:"0 0 600 400",enableBackground:"new 0 0 600 400",xmlSpace:"preserve",className:void 0===n?"":n},t("rect",{x:"0",fill:"#EDECEB",width:"600",height:"400"}),t("path",{fill:"#FFFFFF",d:"M234.539,148.5v103h130.922v-103H234.539z M354.908,240.33H245.707v-80.661h109.201V240.33L354.908,240.33z"}),t("polygon",{fill:"#FFFFFF",points:"251.58,231.643 274.088,207.984 282.521,211.633 309.13,183.308 319.604,195.836 324.329,192.982 349.898,231.643 "}),t("circle",{fill:"#FFFFFF",cx:"277.582",cy:"180.18",r:"9.83"}))},y=function(e){var r=e.className,i=e.alt,o=e.url,a=e.noImageUrl,s=n(!0),l=s[0],c=s[1];return l&&o?t("img",{className:r,src:o,alt:i,onError:function(){return c(!1)}}):a?t("img",{src:a,alt:i}):t(v,{className:r})};function k(e,t,n){return void 0===t&&(t="en-US"),void 0===n&&(n="USD"),Number.isNaN(e)?"":new Intl.NumberFormat(t,{currency:n,style:"currency"}).format(e)}var _="productListItem_root__xLXZA",x="productListItem_text__2vbTm",b="productListItem_productImg__23A0z",w="productListItem_imageContainer__paRx-",S="productListItem_vertical__RuKVA",C="productListItem_styledSearchResultItem__2xWUG",N="productListItem_link__QvazJ",I="productListItem_right__1cPgQ",E="productListItem_optionAvailableBtnContainer__2wxwf",T="productListItem_optionsAvailableBtn__1rmDf",A="productListItem_priceFromLabel__pMQzO",B={SAME:0,CAMELCASE:1,possibleStandardNames:{accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},L=u((function(e,t){function n(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==n)return;var r,i,o=[],a=!0,s=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){s=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(s)throw i}}return o}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}Object.defineProperty(t,"__esModule",{value:!0});function i(e,t,n,r,i,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}var o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((function(e){o[e]=new i(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=n(e,2),r=t[0],a=t[1];o[r]=new i(r,1,!1,a,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){o[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){o[e]=new i(e,2,!1,e,null,!1,!1)})),["allowFullScreen","async","autoFocus","autoPlay","controls","default","defer","disabled","disablePictureInPicture","disableRemotePlayback","formNoValidate","hidden","loop","noModule","noValidate","open","playsInline","readOnly","required","reversed","scoped","seamless","itemScope"].forEach((function(e){o[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){o[e]=new i(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){o[e]=new i(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){o[e]=new i(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){o[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)}));var a=/[\-\:]([a-z])/g,s=function(e){return e[1].toUpperCase()};["accent-height","alignment-baseline","arabic-form","baseline-shift","cap-height","clip-path","clip-rule","color-interpolation","color-interpolation-filters","color-profile","color-rendering","dominant-baseline","enable-background","fill-opacity","fill-rule","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","glyph-name","glyph-orientation-horizontal","glyph-orientation-vertical","horiz-adv-x","horiz-origin-x","image-rendering","letter-spacing","lighting-color","marker-end","marker-mid","marker-start","overline-position","overline-thickness","paint-order","panose-1","pointer-events","rendering-intent","shape-rendering","stop-color","stop-opacity","strikethrough-position","strikethrough-thickness","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke-width","text-anchor","text-decoration","text-rendering","underline-position","underline-thickness","unicode-bidi","unicode-range","units-per-em","v-alphabetic","v-hanging","v-ideographic","v-mathematical","vector-effect","vert-adv-y","vert-origin-x","vert-origin-y","word-spacing","writing-mode","xmlns:xlink","x-height"].forEach((function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(a,s);o[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}));o.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){o[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)}));var l=B.CAMELCASE,c=B.SAME,u=B.possibleStandardNames,d=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$")),p=Object.keys(u).reduce((function(e,t){var n=u[t];return n===c?e[t]=t:n===l?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=d,t.possibleStandardNames=p})),F=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,O=/\n/g,M=/^\s*/,P=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,D=/^:\s*/,R=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,z=/^[;\s]*/,H=/^\s+|\s+$/g;function V(e){return e?e.replace(H,""):""}var j=function(e,t){var n,r=null;if(!e||"string"!=typeof e)return r;for(var i,o,a=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];t=t||{};var n=1,r=1;function i(e){var t=e.match(O);t&&(n+=t.length);var i=e.lastIndexOf("\n");r=~i?e.length-i:r+e.length}function o(){var e={line:n,column:r};return function(t){return t.position=new a(e),c(),t}}function a(e){this.start=e,this.end={line:n,column:r},this.source=t.source}function s(i){var o=new Error(t.source+":"+n+":"+r+": "+i);if(o.reason=i,o.filename=t.source,o.line=n,o.column=r,o.source=e,!t.silent)throw o}function l(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function c(){l(M)}function u(e){var t;for(e=e||[];t=d();)!1!==t&&e.push(t);return e}function d(){var t=o();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;""!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,""===e.charAt(n-1))return s("End of comment missing");var a=e.slice(2,n-2);return r+=2,i(a),e=e.slice(n),r+=2,t({type:"comment",comment:a})}}function p(){var e=o(),t=l(P);if(t){if(d(),!l(D))return s("property missing ':'");var n=l(R),r=e({type:"declaration",property:V(t[0].replace(F,"")),value:n?V(n[0].replace(F,"")):""});return l(z),r}}return a.prototype.content=e,c(),function(){var e,t=[];for(u(t);e=p();)!1!==e&&(t.push(e),u(t));return t}()}(e),s="function"==typeof t,l=0,c=a.length;l<c;l++)i=(n=a[l]).property,o=n.value,s?t(i,o,n):o&&(r||(r={}),r[i]=o);return r},U=u((function(e,t){t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,i=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||i.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(r,s))}})),q=u((function(e,t){var n=c&&c.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var r=n(j);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,U.camelCase)(e,t)]=r)})),n):n}})).default;var X={reactCompat:!0};var W=e.version.split(".")[0]>=16,Y=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var G={PRESERVE_CUSTOM_ATTRIBUTES:W,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,i="function"==typeof t,o={},a={};for(n in e)r=e[n],i&&(o=t(n,r))&&2===o.length?a[o[0]]=o[1]:"string"==typeof r&&(a[r]=n);return a},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}},setStyleProp:function(e,t){if(null!=e)try{t.style=q(e,X)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!Y.has(e.name)},elementsWithNoTextChildren:Y},Z=function(e){var t,n,r,i,o,a={},s=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],L.isCustomAttribute(t))a[t]=r;else if(i=K(n=t.toLowerCase()))switch(o=L.getPropertyInfo(i),"checked"!==i&&"value"!==i||s||(i=K("default"+n)),a[i]=r,o&&o.type){case L.BOOLEAN:a[i]=!0;break;case L.OVERLOADED_BOOLEAN:""===r&&(a[i]=!0)}else G.PRESERVE_CUSTOM_ATTRIBUTES&&(a[t]=r);return G.setStyleProp(e.style,a),a};function K(e){return L.possibleStandardNames[e]}var J=G.setStyleProp,Q=G.canTextBeChildOfNode;function $(e){return G.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&G.isCustomComponent(e.name,e.attribs)}var ee=function t(n,r){for(var i,o,a,s,l,c=(r=r||{}).library||e,u=c.cloneElement,d=c.createElement,p=c.isValidElement,h=[],f="function"==typeof r.replace,m=r.trim,g=0,v=n.length;g<v;g++)if(i=n[g],f&&p(a=r.replace(i)))v>1&&(a=u(a,{key:a.key||g})),h.push(a);else if("text"!==i.type){switch(s=i.attribs,$(i)?J(s.style,s):s&&(s=Z(s)),l=null,i.type){case"script":case"style":i.children[0]&&(s.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?s.defaultValue=i.children[0].data:i.children&&i.children.length&&(l=t(i.children,r));break;default:continue}v>1&&(s.key=g),h.push(d(i.name,s,l))}else{if((o=!i.data.trim().length)&&i.parent&&!Q(i.parent))continue;if(m&&o)continue;h.push(i.data)}return 1===h.length?h[0]:h},te=/<([a-zA-Z]+[0-9]?)/,ne=/<head[^]*>/i,re=/<body[^]*>/i,ie=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},oe=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var ae=new window.DOMParser;ie=oe=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),ae.parseFromString(e,"text/html")}}if(document.implementation){var se=document.implementation.createHTMLDocument();ie=function(e,t){return t?(se.documentElement.querySelector(t).innerHTML=e,se):(se.documentElement.innerHTML=e,se)}}var le,ce=document.createElement("template");ce.content&&(le=function(e){return ce.innerHTML=e,ce.content.childNodes});var ue,de=function(e){var t,n,r,i,o=e.match(te);switch(o&&o[1]&&(t=o[1].toLowerCase()),t){case"html":return n=oe(e),ne.test(e)||(r=n.querySelector("head"))&&r.parentNode.removeChild(r),re.test(e)||(r=n.querySelector("body"))&&r.parentNode.removeChild(r),n.querySelectorAll("html");case"head":case"body":return i=(n=ie(e)).querySelectorAll(t),re.test(e)&&ne.test(e)?i[0].parentNode.childNodes:i;default:return le?le(e):(r=ie(e,"body").querySelector("body")).childNodes}};!function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(ue||(ue={}));ue.Root,ue.Text,ue.Directive,ue.Comment,ue.Script,ue.Style,ue.Tag,ue.CDATA,ue.Doctype;class pe{constructor(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}get parentNode(){return this.parent}set parentNode(e){this.parent=e}get previousSibling(){return this.prev}set previousSibling(e){this.prev=e}get nextSibling(){return this.next}set nextSibling(e){this.next=e}cloneNode(e=!1){return Ie(this,e)}}class he extends pe{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class fe extends he{constructor(){super(...arguments),this.type=ue.Text}get nodeType(){return 3}}class me extends he{constructor(){super(...arguments),this.type=ue.Comment}get nodeType(){return 8}}class ge extends he{constructor(e,t){super(t),this.name=e,this.type=ue.Directive}get nodeType(){return 1}}class ve extends pe{constructor(e){super(),this.children=e}get firstChild(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null}get lastChild(){return this.children.length>0?this.children[this.children.length-1]:null}get childNodes(){return this.children}set childNodes(e){this.children=e}}class ye extends ve{constructor(){super(...arguments),this.type=ue.CDATA}get nodeType(){return 4}}class ke extends ve{constructor(){super(...arguments),this.type=ue.Root}get nodeType(){return 9}}class _e extends ve{constructor(e,t,n=[],r=("script"===e?ue.Script:"style"===e?ue.Style:ue.Tag)){super(n),this.name=e,this.attribs=t,this.type=r}get nodeType(){return 1}get tagName(){return this.name}set tagName(e){this.name=e}get attributes(){return Object.keys(this.attribs).map((e=>{var t,n;return{name:e,value:this.attribs[e],namespace:null===(t=this["x-attribsNamespace"])||void 0===t?void 0:t[e],prefix:null===(n=this["x-attribsPrefix"])||void 0===n?void 0:n[e]}}))}}function xe(e){return(t=e).type===ue.Tag||t.type===ue.Script||t.type===ue.Style;var t}function be(e){return e.type===ue.CDATA}function we(e){return e.type===ue.Text}function Se(e){return e.type===ue.Comment}function Ce(e){return e.type===ue.Directive}function Ne(e){return e.type===ue.Root}function Ie(e,t=!1){let n;if(we(e))n=new fe(e.data);else if(Se(e))n=new me(e.data);else if(xe(e)){const r=t?Ee(e.children):[],i=new _e(e.name,{...e.attribs},r);r.forEach((e=>e.parent=i)),null!=e.namespace&&(i.namespace=e.namespace),e["x-attribsNamespace"]&&(i["x-attribsNamespace"]={...e["x-attribsNamespace"]}),e["x-attribsPrefix"]&&(i["x-attribsPrefix"]={...e["x-attribsPrefix"]}),n=i}else if(be(e)){const r=t?Ee(e.children):[],i=new ye(r);r.forEach((e=>e.parent=i)),n=i}else if(Ne(e)){const r=t?Ee(e.children):[],i=new ke(r);r.forEach((e=>e.parent=i)),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else{if(!Ce(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new ge(e.name,e.data);null!=e["x-name"]&&(t["x-name"]=e["x-name"],t["x-publicId"]=e["x-publicId"],t["x-systemId"]=e["x-systemId"]),n=t}}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function Ee(e){const t=e.map((e=>Ie(e,!0)));for(let e=1;e<t.length;e++)t[e].prev=t[e-1],t[e-1].next=t[e];return t}const Te={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class Ae{constructor(e,t,n){this.dom=[],this.root=new ke(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=Te),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:Te,this.elementCB=null!=n?n:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new ke(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null}onend(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))}onerror(e){this.handleCallback(e)}onclosetag(){this.lastNode=null;const e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)}onopentag(e,t){const n=this.options.xmlMode?ue.Tag:void 0,r=new _e(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)}ontext(e){const{lastNode:t}=this;if(t&&t.type===ue.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const t=new fe(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===ue.Comment)return void(this.lastNode.data+=e);const t=new me(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new fe(""),t=new ye([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const n=new ge(e,t);this.addNode(n)}handleCallback(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e}addNode(e){const t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null}}for(var Be,Le=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],Fe=d(Object.freeze({__proto__:null,DomHandler:Ae,default:Ae,Node:pe,DataNode:he,Text:fe,Comment:me,ProcessingInstruction:ge,NodeWithChildren:ve,CDATA:ye,Document:ke,Element:_e,isTag:xe,isCDATA:be,isText:we,isComment:Se,isDirective:Ce,isDocument:Ne,hasChildren:function(e){return Object.prototype.hasOwnProperty.call(e,"children")},cloneNode:Ie})),Oe=Le,Me=Fe.Comment,Pe=Fe.Element,De=Fe.ProcessingInstruction,Re=Fe.Text,ze={},He=0,Ve=Oe.length;He<Ve;He++)Be=Oe[He],ze[Be.toLowerCase()]=Be;function je(e){for(var t,n={},r=0,i=e.length;r<i;r++)n[(t=e[r]).name]=t.value;return n}function Ue(e){var t=function(e){return ze[e]}(e=e.toLowerCase());return t||e}var qe={formatAttributes:je,formatDOM:function e(t,n,r){n=n||null;for(var i=[],o=0,a=t.length;o<a;o++){var s,l=t[o];switch(l.nodeType){case 1:(s=new Pe(Ue(l.nodeName),je(l.attributes))).children=e(l.childNodes,s);break;case 3:s=new Re(l.nodeValue);break;case 8:s=new Me(l.nodeValue);break;default:continue}var c=i[o-1]||null;c&&(c.next=s),s.parent=n,s.prev=c,s.next=null,i.push(s)}return r&&((s=new De(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,s.parent=n,i.unshift(s),i[1]&&(i[1].prev=i[0])),i}}.formatDOM,Xe=/<(![a-zA-Z\s]+)>/;var We=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(Xe);return n&&n[1]&&(t=n[1]),qe(de(e),null,t)},Ye=d(Object.freeze({__proto__:null,default:We}));Ye="function"==typeof Ye.default?Ye.default:Ye;var Ge={lowerCaseAttributeNames:!1};function Ze(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:ee(Ye(e,(t=t||{}).htmlparser2||Ge),t)}Ze.domToReact=ee,Ze.htmlToDOM=Ye,Ze.attributesToProps=Z,Ze.Element=Fe.Element;var Ke=Ze,Je=Ze;Ke.default=Je;var Qe=function(e){var n=e.label,r=e.value,i=e.className;return r||n?t("p",{className:i},n?t("span",null,n):null,r):null},$e=function(e){var n=e.item,r=e.Link,i=e.linkProps,o=e.value,a=e.onClick;switch(n.prop){case"url":return t(r,s({},i,{className:N,onClick:a}),"View to see price");case"title":return t(r,s({},i,{className:p(x,""+et+n.prop,n.className),onClick:a}),o);case"has_options":return o?t("div",{className:E},t(r,s({},i,{className:p(T,""+et+n.prop)}),"Options available")):null;case"fitment_applicability":return o?t("span",{className:p(x,""+et+n.prop,"Fitment-Specific"===o?"fitmentSpecific":"universal")},o):null;case"dealerid":case"stockid":return t(r,s({},i,{onClick:a,className:p("Sui-ProductListItem--"+n.prop+"-link")}),t(Qe,{className:p(x,""+et+n.prop,n.className),label:n.label,value:o}));default:return t(Qe,{className:p(x,""+et+n.prop,n.className),label:n.label,value:o})}},et="Sui-ProductListItem--",tt=[{position:"center",prop:"brand_name"},{position:"center",prop:"title"},{position:"center",prop:"tag"},{label:"SKU: ",position:"center",prop:"stockid"},{label:"PART #: ",position:"center",prop:"dealerid"},{position:"right",prop:"availability"},{position:"right",prop:"sale"},{position:"right",prop:"price"},{position:"right",prop:"remarks"},{position:"right",prop:"availability_remarks"}],nt=function(e){var n,r=e.data,i=e.styled,o=e.visibleFields,a=void 0===o?tt:o,c=e.className,u=void 0===c?"":c,d=e.orientation,h=void 0===d?"horizontal":d,f=e.noImageUrl,m=e.linkEl,g=void 0===m?"a":m,v=e.onItemClick,k=r.url?g:"div",x=r.url?{href:r.url}:{},N=(Array.isArray(a)?a:tt).reduce((function(e,t){if(void 0===r[t.prop]||null===r[t.prop])return e;switch(t.position){case"center":return s(s({},e),{center:l(e.center,[t])});case"right":return s(s({},e),{right:l(e.right,[t])});default:return e}}),{center:[],right:[]});return t("section",{className:p(_,(n={},n[C]=i,n[S]="vertical"===h,n),et+"root",u),role:"listitem"},t(k,s({className:p(w,et+"image"),onClick:function(e){return null==v?void 0:v(e,r)}},x),t(y,{alt:"Search reult",className:b,url:r.image_url,noImageUrl:f})),t("ul",null,N.center.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t($e,{item:e,Link:k,linkProps:x,value:rt(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==v?void 0:v(e,r)}}))}))),t("ul",{className:I},N.right.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t($e,{item:e,Link:k,linkProps:x,value:rt(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==v?void 0:v(e,r)}}))}))))};function rt(e,n,i){switch(e){case"price":if(n){var o=k(n);return i?t(r,null,t("span",{className:p(A,"Sui-ProductListItem-Container--"+e+"-label-from")},"From:")," ",o):o}return n;case"sale":return n?k(n):n;case"tag":case"availability_remarks":case"remarks":return Ke(n);default:return n}}var it=function(e){var n=e.size,r=void 0===n?20:n,i=e.className;return t("svg",{className:i,height:r,width:r,xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",version:"1.1",id:"Layer_1",x:"0px",y:"0px",viewBox:"0 0 100 100",xmlSpace:"preserve"},t("path",{d:"M94.4,91.6L67.8,65c5.7-6.4,9.2-14.8,9.2-24C77,21.1,60.9,5,41,5S5,21.1,5,41s16.1,36,36,36c9.2,0,17.6-3.5,24-9.2 l26.6,26.6C92,94.8,92.5,95,93,95s1-0.2,1.4-0.6C95.2,93.6,95.2,92.4,94.4,91.6z M41,73C23.4,73,9,58.6,9,41C9,23.4,23.4,9,41,9 s32,14.4,32,32C73,58.6,58.6,73,41,73z"}))},ot="searchBarSuggestions_suggestionContainer__1m96a",at="searchBarSuggestions_link__1rcDs",st="searchBarSuggestions_listContainer__2O5EM",lt="searchBarSuggestions_basicItemLink__2hEMG",ct="searchBarSuggestions_imageContainer__2H3z6",ut="searchBarSuggestions_basicItemTitle__3MJeQ",dt="searchBarSuggestions_viewMoreContainer__2gobp",pt="searchBarSuggestions_searchTermHistoryItem__3xi7Q",ht="searchBarSuggestions_searchTermHistoryItemIcon__sZmTm",ft="searchBarSuggestions_styledResultItem__3mBB5",mt="searchBarSuggestions_styledSuggestionContainer__H33XA",gt="searchBarSuggestions_styledList__MKl23",vt="searchBarSuggestions_styledListTitle__2VK-S",yt="searchBarSuggestions_styledViewMoreBtn__3nh1Y",kt="searchBarSuggestions_clearHistoryBtn__39npD",_t=function(e){var n,r=e.linkEl,i=e.suggestion,o=e.styled,a=e.visibleFields,s=e.onItemClick;return t(nt,{className:p((n={},n[ft]=o,n),"Sui-SearchBar--result-item"),data:i,visibleFields:a,styled:o,orientation:"vertical",linkEl:r,onItemClick:function(e,t){return s(t)}})},xt=function(e){var n=e.linkEl,r=e.suggestion,i=e.onItemClick,o=r.url?n:"div",a=r.url?{href:r.url}:{};return t(o,s({key:r.id,className:p(at,lt,"Sui-SearchBar--result-item"),onClick:i},a,{role:"listitem"}),t("div",{className:ct},t(y,{url:r.image_url,alt:"categoryImage"})),t("h1",{className:p(ut,"Sui-CategoryList--title")},r.name))},bt=function(e){var n=e.suggestion,r=e.onClick;return t("button",{type:"button",className:pt,onClick:function(){return r(n.name)}},t(it,{className:ht,size:15}),t("p",null,n.name))},wt=function(e){var n,r,i=e.sections,o=e.styled,a=e.linkEl,l=e.onItemClick,c=e.renderProduct,u=e.onClearHistory,d=e.onHistoryItemClick,f=!i.some((function(e){var t;return"history"!==e.type&&(null===(t=e.data)||void 0===t?void 0:t.total)>0}))?i:i.filter((function(e){return"history"!==e.type}));return t("div",{className:p(ot,(n={},n[mt]=o,n),"Sui-SearchBar--suggestions-container")},t("div",{className:p((r={},r[gt]=o,r))},f.map((function(e){var n,r,i,f=e.title,m=(null===(r=e.data)||void 0===r?void 0:r.list)||[],g=null===(i=e.data)||void 0===i?void 0:i.total,v=e.visibleFields,y=e.type;return m.length?t("div",{key:e.type,className:"Sui-SearchBar--section-container-"+y},f?t("h3",{className:p((n={},n[vt]=o,n),"Sui-SearchBar--list-title")},f):null,t("div",{className:p(st,"Sui-SearchBar--section-"+y)},m.map((function(e){switch(y){case"product":return(null==c?void 0:c(e))||t(_t,{key:e.id,linkEl:a,suggestion:e,styled:o,visibleFields:v,onItemClick:function(){return null==l?void 0:l(e)}});case"history":return t(bt,{key:e.id,suggestion:e,onClick:function(e){return null==d?void 0:d(e)}});default:return t(xt,{key:e.id,linkEl:a,suggestion:e,onItemClick:function(){return null==l?void 0:l(e)}})}}))),"history"===e.type?t("button",{type:"button",className:kt,onClick:function(){localStorage.removeItem("pl-recent-search-terms"),null==u||u()}},t(h,{size:15}),"Clear History"):null,"history"!==e.type&&e.onViewMoreClick&&g>m.length?t("div",{className:p(dt,"Sui-SearchBar--section-view-more-button")},t("button",{type:"button",onClick:function(){var t=s({},e);delete t.onViewMoreClick,e.onViewMoreClick(t)},className:o?"SuiButton primary "+yt:""},e.viewMoreButtonText||"View more")):null):null}))))},St="searchBar_searchBarRoot__31Xa5",Ct="searchBar_searchBarContainer__3alwO",Nt="searchBar_searchBarInputContainer__AYpAJ",It="searchBar_inputContainer__3LGWJ",Et="searchBar_inputContainerWithFitment__1ZYz6",Tt="searchBar_input__PXdEA",At="searchBar_clearIcon__2yjvH",Bt="searchBar_searchIcon__3y9ws",Lt="searchBar_fitmentContainer__3IZsv",Ft="searchBar_clearFitmentBtn__14jdY",Ot="searchBar_searchBarStyled__luh3_",Mt="searchBar_styledButton__gW4GL",Pt="searchBar_inputStyled__XoO4F",Dt="searchBar_styledFitmentContainer__1Y9am",Rt="searchBar_fitmentText__1M4XP",zt="searchBar_inputContainerStyled__26B1I";export default function(e){var r,c,u,d,m=e.className,v=e.linkEl,y=void 0===v?"a":v,k=e.noResultsText,_=e.placeholder,x=void 0===_?"Enter keyword":_,b=e.searchButtonText,w=void 0===b?"Search":b,S=e.showCloseIcon,C=e.styled,N=e.onSubmit,I=e.showNoResultsMsg,E=void 0===I||I,T=e.searchValue,A=void 0===T?"":T,B=e.isLoading,L=e.onChange,F=e.onClear,O=e.renderNoResults,M=e.sections,P=e.renderList,D=e.onItemClick,R=e.fitment,z=e.onClearFitment,H=e.onClearHistory,V=e.retainFitmentOnSubmit,j=void 0!==V&&V,U=n(A),q=U[0],X=U[1],W=n(!1),Y=W[0],G=W[1],Z=n(null),K=Z[0],J=Z[1],Q=[],$=i(null),ee=i(null),te=o((function(e){"Escape"===e.key&&G(!1)}),[]),ne=o((function(e){var t;(null===(t=$.current)||void 0===t?void 0:t.contains(e.target))||G(!1)}),[$.current]);a((function(){return document.addEventListener("click",ne),document.addEventListener("keyup",te),function(){document.removeEventListener("click",ne),document.removeEventListener("keyup",te)}}),[]),a((function(){Y||J(null)}),[Y]),a((function(){X(A)}),[A]);var re=function(){q&&G(!0)},ie=function(){setTimeout((function(){null==z||z()}))};return t("div",{className:p(St,(r={},r[Ot]=C,r),m),role:"button",tabIndex:0,onKeyDown:function(e){switch(e.key){case"ArrowDown":re(),e.preventDefault()}}},t("form",{ref:$,className:p(Ct),onSubmit:function(e){e.preventDefault(),Q[K]||(R||j||localStorage.removeItem("sui-fitment-selector-v2"),null==N||N(q),function(e){if(e){var t=JSON.parse(localStorage.getItem("pl-recent-search-terms"))||[];localStorage.setItem("pl-recent-search-terms",JSON.stringify(Array.from(new Set(l([e],t))).slice(0,10)))}}(q))}},B&&C?t(g,{type:"linear",className:"Sui-SearchBar--loading-indicator"}):null,t("div",{className:Nt},t("div",{className:p(It,(c={},c[zt]=C,c[Et]=!!R,c))},function(){var e;return R?t("div",{className:p(Lt,(e={},e[Dt]=C,e))},t("p",{className:Rt},function(e){var t=/\|/g;return e.replace(t," ")}(R)),t("button",{type:"reset","aria-label":"clearFitment",className:Ft,onClick:ie},t(h,null))):null}(),t("input",{className:p((u={},u["SuiInput "+Pt]=C,u),Tt,"Sui-SearchBar--search-input"),ref:ee,id:"sui-search-bar-input",name:"sui-search-bar-input",autoComplete:"off",placeholder:x||"","aria-label":"search-input",value:q,onChange:function(e){var t=e.currentTarget.value;X(t),G(!0),null==L||L(t)},onFocus:function(){setTimeout((function(){var e,t,n;J(-1),(q||(null===(n=null===(t=null===(e=M.find((function(e){return"history"===e.type})))||void 0===e?void 0:e.data)||void 0===t?void 0:t.list)||void 0===n?void 0:n.length))&&G(!0)}))}}),S&&q&&t("button",{type:"reset","aria-label":"clear",className:At,onClick:function(){X(""),null==F||F(),ee.current.focus()}},t(h,null))),t("button",{className:p((d={},d["SuiButton primary "+Mt]=C,d),"Sui-SearchBar--search-button"),type:"submit"},t("span",null,w),t(f,{className:Bt}))),E&&(O?O():k?t("p",null,k):null),function(){var e,t,n=null===(t=null===(e=M.find((function(e){return"history"===e.type})))||void 0===e?void 0:e.data)||void 0===t?void 0:t.list.length,r=M.filter((function(e){return"history"!==e.type})),i=r.some((function(e){var t,n;return void 0!==(null===(n=null===(t=e.data)||void 0===t?void 0:t.list)||void 0===n?void 0:n.length)})),o=r.reduce((function(e,t){var n,r;return e+((null===(r=null===(n=null==t?void 0:t.data)||void 0===n?void 0:n.list)||void 0===r?void 0:r.length)||0)}),0);return(!i&&n||i&&o)&&Y}()?P?P(M.reduce((function(e,t){var n;return s(s({},e),((n={})[t.type]={data:null==t?void 0:t.data,title:t.title},n))}),{}),q):t(wt,{styled:C,sections:M,linkEl:y,onItemClick:D,onClearHistory:H,onHistoryItemClick:function(e){X(e),null==L||L(e)}}):null))}
|
|
22
|
+
//# sourceMappingURL=index.esm.js.map
|