@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.
Files changed (369) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/README.md +262 -0
  3. package/build/Alert/index.css +1 -0
  4. package/build/Alert/index.esm.js +8 -0
  5. package/build/Alert/index.esm.js.map +1 -0
  6. package/build/Alert/index.js +8 -0
  7. package/build/Alert/index.js.map +1 -0
  8. package/build/Alert/index.umd.js +8 -0
  9. package/build/Alert/index.umd.js.map +1 -0
  10. package/build/Alert/package.json +6 -0
  11. package/build/BreadCrumb/index.css +1 -0
  12. package/build/BreadCrumb/index.esm.js +22 -0
  13. package/build/BreadCrumb/index.esm.js.map +1 -0
  14. package/build/BreadCrumb/index.js +22 -0
  15. package/build/BreadCrumb/index.js.map +1 -0
  16. package/build/BreadCrumb/index.umd.js +22 -0
  17. package/build/BreadCrumb/index.umd.js.map +1 -0
  18. package/build/BreadCrumb/package.json +6 -0
  19. package/build/CategoryCarousel/index.css +1 -0
  20. package/build/CategoryCarousel/index.esm.js +22 -0
  21. package/build/CategoryCarousel/index.esm.js.map +1 -0
  22. package/build/CategoryCarousel/index.js +22 -0
  23. package/build/CategoryCarousel/index.js.map +1 -0
  24. package/build/CategoryCarousel/index.umd.js +22 -0
  25. package/build/CategoryCarousel/index.umd.js.map +1 -0
  26. package/build/CategoryCarousel/package.json +6 -0
  27. package/build/CategoryCarouselWrapper/index.css +1 -0
  28. package/build/CategoryCarouselWrapper/index.esm.js +22 -0
  29. package/build/CategoryCarouselWrapper/index.esm.js.map +1 -0
  30. package/build/CategoryCarouselWrapper/index.js +22 -0
  31. package/build/CategoryCarouselWrapper/index.js.map +1 -0
  32. package/build/CategoryCarouselWrapper/index.umd.js +22 -0
  33. package/build/CategoryCarouselWrapper/index.umd.js.map +1 -0
  34. package/build/CategoryCarouselWrapper/package.json +6 -0
  35. package/build/CategoryList/index.css +1 -0
  36. package/build/CategoryList/index.esm.js +22 -0
  37. package/build/CategoryList/index.esm.js.map +1 -0
  38. package/build/CategoryList/index.js +22 -0
  39. package/build/CategoryList/index.js.map +1 -0
  40. package/build/CategoryList/index.umd.js +22 -0
  41. package/build/CategoryList/index.umd.js.map +1 -0
  42. package/build/CategoryList/package.json +6 -0
  43. package/build/CategoryListWrapper/index.css +1 -0
  44. package/build/CategoryListWrapper/index.esm.js +22 -0
  45. package/build/CategoryListWrapper/index.esm.js.map +1 -0
  46. package/build/CategoryListWrapper/index.js +22 -0
  47. package/build/CategoryListWrapper/index.js.map +1 -0
  48. package/build/CategoryListWrapper/index.umd.js +22 -0
  49. package/build/CategoryListWrapper/index.umd.js.map +1 -0
  50. package/build/CategoryListWrapper/package.json +6 -0
  51. package/build/FacetFilter/index.css +1 -0
  52. package/build/FacetFilter/index.esm.js +22 -0
  53. package/build/FacetFilter/index.esm.js.map +1 -0
  54. package/build/FacetFilter/index.js +22 -0
  55. package/build/FacetFilter/index.js.map +1 -0
  56. package/build/FacetFilter/index.umd.js +22 -0
  57. package/build/FacetFilter/index.umd.js.map +1 -0
  58. package/build/FacetFilter/package.json +6 -0
  59. package/build/FitmentSelector/index.css +1 -0
  60. package/build/FitmentSelector/index.esm.js +22 -0
  61. package/build/FitmentSelector/index.esm.js.map +1 -0
  62. package/build/FitmentSelector/index.js +22 -0
  63. package/build/FitmentSelector/index.js.map +1 -0
  64. package/build/FitmentSelector/index.umd.js +22 -0
  65. package/build/FitmentSelector/index.umd.js.map +1 -0
  66. package/build/FitmentSelector/package.json +6 -0
  67. package/build/FitmentSelectorVerifier/index.css +1 -0
  68. package/build/FitmentSelectorVerifier/index.esm.js +22 -0
  69. package/build/FitmentSelectorVerifier/index.esm.js.map +1 -0
  70. package/build/FitmentSelectorVerifier/index.js +22 -0
  71. package/build/FitmentSelectorVerifier/index.js.map +1 -0
  72. package/build/FitmentSelectorVerifier/index.umd.js +22 -0
  73. package/build/FitmentSelectorVerifier/index.umd.js.map +1 -0
  74. package/build/FitmentSelectorVerifier/package.json +6 -0
  75. package/build/FitmentSelectorWrapper/index.css +1 -0
  76. package/build/FitmentSelectorWrapper/index.esm.js +22 -0
  77. package/build/FitmentSelectorWrapper/index.esm.js.map +1 -0
  78. package/build/FitmentSelectorWrapper/index.js +22 -0
  79. package/build/FitmentSelectorWrapper/index.js.map +1 -0
  80. package/build/FitmentSelectorWrapper/index.umd.js +22 -0
  81. package/build/FitmentSelectorWrapper/index.umd.js.map +1 -0
  82. package/build/FitmentSelectorWrapper/package.json +6 -0
  83. package/build/FitmentStoreWrapper/index.css +1 -0
  84. package/build/FitmentStoreWrapper/index.esm.js +8 -0
  85. package/build/FitmentStoreWrapper/index.esm.js.map +1 -0
  86. package/build/FitmentStoreWrapper/index.js +8 -0
  87. package/build/FitmentStoreWrapper/index.js.map +1 -0
  88. package/build/FitmentStoreWrapper/index.umd.js +8 -0
  89. package/build/FitmentStoreWrapper/index.umd.js.map +1 -0
  90. package/build/FitmentStoreWrapper/package.json +6 -0
  91. package/build/ListControls/index.css +1 -0
  92. package/build/ListControls/index.esm.js +8 -0
  93. package/build/ListControls/index.esm.js.map +1 -0
  94. package/build/ListControls/index.js +8 -0
  95. package/build/ListControls/index.js.map +1 -0
  96. package/build/ListControls/index.umd.js +8 -0
  97. package/build/ListControls/index.umd.js.map +1 -0
  98. package/build/ListControls/package.json +6 -0
  99. package/build/LoadingIndicator/index.css +1 -0
  100. package/build/LoadingIndicator/index.esm.js +8 -0
  101. package/build/LoadingIndicator/index.esm.js.map +1 -0
  102. package/build/LoadingIndicator/index.js +8 -0
  103. package/build/LoadingIndicator/index.js.map +1 -0
  104. package/build/LoadingIndicator/index.umd.js +8 -0
  105. package/build/LoadingIndicator/index.umd.js.map +1 -0
  106. package/build/LoadingIndicator/package.json +6 -0
  107. package/build/Pagination/index.css +1 -0
  108. package/build/Pagination/index.esm.js +8 -0
  109. package/build/Pagination/index.esm.js.map +1 -0
  110. package/build/Pagination/index.js +8 -0
  111. package/build/Pagination/index.js.map +1 -0
  112. package/build/Pagination/index.umd.js +8 -0
  113. package/build/Pagination/index.umd.js.map +1 -0
  114. package/build/Pagination/package.json +6 -0
  115. package/build/PaginationWithRangeInfo/index.css +1 -0
  116. package/build/PaginationWithRangeInfo/index.esm.js +8 -0
  117. package/build/PaginationWithRangeInfo/index.esm.js.map +1 -0
  118. package/build/PaginationWithRangeInfo/index.js +8 -0
  119. package/build/PaginationWithRangeInfo/index.js.map +1 -0
  120. package/build/PaginationWithRangeInfo/index.umd.js +8 -0
  121. package/build/PaginationWithRangeInfo/index.umd.js.map +1 -0
  122. package/build/PaginationWithRangeInfo/package.json +6 -0
  123. package/build/ProductList/index.css +1 -0
  124. package/build/ProductList/index.esm.js +22 -0
  125. package/build/ProductList/index.esm.js.map +1 -0
  126. package/build/ProductList/index.js +22 -0
  127. package/build/ProductList/index.js.map +1 -0
  128. package/build/ProductList/index.umd.js +22 -0
  129. package/build/ProductList/index.umd.js.map +1 -0
  130. package/build/ProductList/package.json +6 -0
  131. package/build/ProductListWrapper/index.css +1 -0
  132. package/build/ProductListWrapper/index.esm.js +22 -0
  133. package/build/ProductListWrapper/index.esm.js.map +1 -0
  134. package/build/ProductListWrapper/index.js +22 -0
  135. package/build/ProductListWrapper/index.js.map +1 -0
  136. package/build/ProductListWrapper/index.umd.js +22 -0
  137. package/build/ProductListWrapper/index.umd.js.map +1 -0
  138. package/build/ProductListWrapper/package.json +6 -0
  139. package/build/ProductSelectorVerifier/index.css +1 -0
  140. package/build/ProductSelectorVerifier/index.esm.js +22 -0
  141. package/build/ProductSelectorVerifier/index.esm.js.map +1 -0
  142. package/build/ProductSelectorVerifier/index.js +22 -0
  143. package/build/ProductSelectorVerifier/index.js.map +1 -0
  144. package/build/ProductSelectorVerifier/index.umd.js +22 -0
  145. package/build/ProductSelectorVerifier/index.umd.js.map +1 -0
  146. package/build/ProductSelectorVerifier/package.json +6 -0
  147. package/build/SearchBar/index.css +1 -0
  148. package/build/SearchBar/index.esm.js +22 -0
  149. package/build/SearchBar/index.esm.js.map +1 -0
  150. package/build/SearchBar/index.js +22 -0
  151. package/build/SearchBar/index.js.map +1 -0
  152. package/build/SearchBar/index.umd.js +22 -0
  153. package/build/SearchBar/index.umd.js.map +1 -0
  154. package/build/SearchBar/package.json +6 -0
  155. package/build/SearchBarWrapper/index.css +1 -0
  156. package/build/SearchBarWrapper/index.esm.js +22 -0
  157. package/build/SearchBarWrapper/index.esm.js.map +1 -0
  158. package/build/SearchBarWrapper/index.js +22 -0
  159. package/build/SearchBarWrapper/index.js.map +1 -0
  160. package/build/SearchBarWrapper/index.umd.js +22 -0
  161. package/build/SearchBarWrapper/index.umd.js.map +1 -0
  162. package/build/SearchBarWrapper/package.json +6 -0
  163. package/build/SearchBarWrapperModal/index.css +1 -0
  164. package/build/SearchBarWrapperModal/index.esm.js +22 -0
  165. package/build/SearchBarWrapperModal/index.esm.js.map +1 -0
  166. package/build/SearchBarWrapperModal/index.js +22 -0
  167. package/build/SearchBarWrapperModal/index.js.map +1 -0
  168. package/build/SearchBarWrapperModal/index.umd.js +22 -0
  169. package/build/SearchBarWrapperModal/index.umd.js.map +1 -0
  170. package/build/SearchBarWrapperModal/package.json +6 -0
  171. package/build/SkuListWrapper/index.css +1 -0
  172. package/build/SkuListWrapper/index.esm.js +22 -0
  173. package/build/SkuListWrapper/index.esm.js.map +1 -0
  174. package/build/SkuListWrapper/index.js +22 -0
  175. package/build/SkuListWrapper/index.js.map +1 -0
  176. package/build/SkuListWrapper/index.umd.js +22 -0
  177. package/build/SkuListWrapper/index.umd.js.map +1 -0
  178. package/build/SkuListWrapper/package.json +6 -0
  179. package/build/SpecificationSearch/index.css +1 -0
  180. package/build/SpecificationSearch/index.esm.js +8 -0
  181. package/build/SpecificationSearch/index.esm.js.map +1 -0
  182. package/build/SpecificationSearch/index.js +8 -0
  183. package/build/SpecificationSearch/index.js.map +1 -0
  184. package/build/SpecificationSearch/index.umd.js +8 -0
  185. package/build/SpecificationSearch/index.umd.js.map +1 -0
  186. package/build/SpecificationSearch/package.json +6 -0
  187. package/build/WsmFitmentSelectorWrapper/index.css +1 -0
  188. package/build/WsmFitmentSelectorWrapper/index.esm.js +22 -0
  189. package/build/WsmFitmentSelectorWrapper/index.esm.js.map +1 -0
  190. package/build/WsmFitmentSelectorWrapper/index.js +22 -0
  191. package/build/WsmFitmentSelectorWrapper/index.js.map +1 -0
  192. package/build/WsmFitmentSelectorWrapper/index.umd.js +22 -0
  193. package/build/WsmFitmentSelectorWrapper/index.umd.js.map +1 -0
  194. package/build/WsmFitmentSelectorWrapper/package.json +6 -0
  195. package/build/WsmProductListWrapper/index.css +1 -0
  196. package/build/WsmProductListWrapper/index.esm.js +22 -0
  197. package/build/WsmProductListWrapper/index.esm.js.map +1 -0
  198. package/build/WsmProductListWrapper/index.js +22 -0
  199. package/build/WsmProductListWrapper/index.js.map +1 -0
  200. package/build/WsmProductListWrapper/index.umd.js +22 -0
  201. package/build/WsmProductListWrapper/index.umd.js.map +1 -0
  202. package/build/WsmProductListWrapper/package.json +6 -0
  203. package/build/WsmSearchBarWithWrapperModal/index.css +1 -0
  204. package/build/WsmSearchBarWithWrapperModal/index.esm.js +8 -0
  205. package/build/WsmSearchBarWithWrapperModal/index.esm.js.map +1 -0
  206. package/build/WsmSearchBarWithWrapperModal/index.js +8 -0
  207. package/build/WsmSearchBarWithWrapperModal/index.js.map +1 -0
  208. package/build/WsmSearchBarWithWrapperModal/index.umd.js +8 -0
  209. package/build/WsmSearchBarWithWrapperModal/index.umd.js.map +1 -0
  210. package/build/WsmSearchBarWithWrapperModal/package.json +6 -0
  211. package/build/WsmSearchBarWrapper/index.css +1 -0
  212. package/build/WsmSearchBarWrapper/index.esm.js +22 -0
  213. package/build/WsmSearchBarWrapper/index.esm.js.map +1 -0
  214. package/build/WsmSearchBarWrapper/index.js +22 -0
  215. package/build/WsmSearchBarWrapper/index.js.map +1 -0
  216. package/build/WsmSearchBarWrapper/index.umd.js +22 -0
  217. package/build/WsmSearchBarWrapper/index.umd.js.map +1 -0
  218. package/build/WsmSearchBarWrapper/package.json +6 -0
  219. package/build/WsmSearchBarWrapperModal/index.css +1 -0
  220. package/build/WsmSearchBarWrapperModal/index.esm.js +22 -0
  221. package/build/WsmSearchBarWrapperModal/index.esm.js.map +1 -0
  222. package/build/WsmSearchBarWrapperModal/index.js +22 -0
  223. package/build/WsmSearchBarWrapperModal/index.js.map +1 -0
  224. package/build/WsmSearchBarWrapperModal/index.umd.js +22 -0
  225. package/build/WsmSearchBarWrapperModal/index.umd.js.map +1 -0
  226. package/build/WsmSearchBarWrapperModal/package.json +6 -0
  227. package/build/WsmSearchPage/index.css +1 -0
  228. package/build/WsmSearchPage/index.esm.js +22 -0
  229. package/build/WsmSearchPage/index.esm.js.map +1 -0
  230. package/build/WsmSearchPage/index.js +22 -0
  231. package/build/WsmSearchPage/index.js.map +1 -0
  232. package/build/WsmSearchPage/index.umd.js +22 -0
  233. package/build/WsmSearchPage/index.umd.js.map +1 -0
  234. package/build/WsmSearchPage/package.json +6 -0
  235. package/build/index.css +1 -0
  236. package/build/index.esm.js +8 -0
  237. package/build/index.esm.js.map +1 -0
  238. package/build/index.js +8 -0
  239. package/build/index.js.map +1 -0
  240. package/build/index.umd.js +8 -0
  241. package/build/index.umd.js.map +1 -0
  242. package/build/typings/common/CategoryItem/CategoryItem.d.ts +7 -0
  243. package/build/typings/common/CurrencyInput/CurrencyInput.d.ts +8 -0
  244. package/build/typings/common/FitmentSelectorWrapperModal/FitmentSelectorWrapperModal.d.ts +9 -0
  245. package/build/typings/common/Image/Image.d.ts +9 -0
  246. package/build/typings/common/List/List.d.ts +62 -0
  247. package/build/typings/common/Modal/Modal.d.ts +12 -0
  248. package/build/typings/common/ProductListItem/ProductListItem.d.ts +5 -0
  249. package/build/typings/common/ProductListItem/models.d.ts +13 -0
  250. package/build/typings/common/Rating/Rating.d.ts +7 -0
  251. package/build/typings/common/customHooks/useEventCallback.d.ts +9 -0
  252. package/build/typings/common/customHooks/useFetch.d.ts +36 -0
  253. package/build/typings/components/Alert/Alert.d.ts +4 -0
  254. package/build/typings/components/Alert/index.d.ts +1 -0
  255. package/build/typings/components/Alert/models.d.ts +76 -0
  256. package/build/typings/components/BreadCrumb/BreadCrumb.d.ts +4 -0
  257. package/build/typings/components/BreadCrumb/PathItem.d.ts +4 -0
  258. package/build/typings/components/BreadCrumb/index.d.ts +1 -0
  259. package/build/typings/components/BreadCrumb/models.d.ts +80 -0
  260. package/build/typings/components/CategoryCarousel/CategoryCarousel.d.ts +4 -0
  261. package/build/typings/components/CategoryCarousel/index.d.ts +1 -0
  262. package/build/typings/components/CategoryCarousel/models.d.ts +49 -0
  263. package/build/typings/components/CategoryCarouselWrapper/CategoryCarouselWrapper.d.ts +4 -0
  264. package/build/typings/components/CategoryCarouselWrapper/index.d.ts +1 -0
  265. package/build/typings/components/CategoryCarouselWrapper/models.d.ts +5 -0
  266. package/build/typings/components/CategoryList/CategoryList.d.ts +4 -0
  267. package/build/typings/components/CategoryList/index.d.ts +1 -0
  268. package/build/typings/components/CategoryList/models.d.ts +17 -0
  269. package/build/typings/components/CategoryListWrapper/CategoryListWrapper.d.ts +4 -0
  270. package/build/typings/components/CategoryListWrapper/index.d.ts +1 -0
  271. package/build/typings/components/CategoryListWrapper/models.d.ts +8 -0
  272. package/build/typings/components/FacetFilter/FacetFilter.d.ts +4 -0
  273. package/build/typings/components/FacetFilter/FacetSection.d.ts +4 -0
  274. package/build/typings/components/FacetFilter/index.d.ts +1 -0
  275. package/build/typings/components/FacetFilter/models.d.ts +90 -0
  276. package/build/typings/components/FitmentSelector/FitmentSelector.d.ts +15 -0
  277. package/build/typings/components/FitmentSelector/NativeSelect.d.ts +4 -0
  278. package/build/typings/components/FitmentSelector/index.d.ts +1 -0
  279. package/build/typings/components/FitmentSelector/models.d.ts +69 -0
  280. package/build/typings/components/FitmentSelector/utils.d.ts +4 -0
  281. package/build/typings/components/FitmentSelectorVerifier/FitmentSelectorVerifier.d.ts +5 -0
  282. package/build/typings/components/FitmentSelectorVerifier/index.d.ts +1 -0
  283. package/build/typings/components/FitmentSelectorVerifier/models.d.ts +105 -0
  284. package/build/typings/components/FitmentSelectorWrapper/FitmentSelectorWrapper.d.ts +11 -0
  285. package/build/typings/components/FitmentSelectorWrapper/index.d.ts +1 -0
  286. package/build/typings/components/FitmentSelectorWrapper/models.d.ts +142 -0
  287. package/build/typings/components/FitmentStoreWrapper/FitmentStorePopover.d.ts +6 -0
  288. package/build/typings/components/FitmentStoreWrapper/FitmentStoreWrapper.d.ts +4 -0
  289. package/build/typings/components/FitmentStoreWrapper/index.d.ts +1 -0
  290. package/build/typings/components/FitmentStoreWrapper/models.d.ts +59 -0
  291. package/build/typings/components/ListControls/ListControls.d.ts +4 -0
  292. package/build/typings/components/ListControls/index.d.ts +1 -0
  293. package/build/typings/components/ListControls/models.d.ts +47 -0
  294. package/build/typings/components/LoadingIndicator/LoadingIndicator.d.ts +7 -0
  295. package/build/typings/components/LoadingIndicator/index.d.ts +1 -0
  296. package/build/typings/components/Pagination/Pagination.d.ts +4 -0
  297. package/build/typings/components/Pagination/index.d.ts +1 -0
  298. package/build/typings/components/Pagination/models.d.ts +13 -0
  299. package/build/typings/components/PaginationWithRangeInfo/PaginationWithRangeInfo.d.ts +4 -0
  300. package/build/typings/components/PaginationWithRangeInfo/index.d.ts +1 -0
  301. package/build/typings/components/PaginationWithRangeInfo/models.d.ts +7 -0
  302. package/build/typings/components/ProductList/ProductList.d.ts +8 -0
  303. package/build/typings/components/ProductList/index.d.ts +1 -0
  304. package/build/typings/components/ProductList/models.d.ts +46 -0
  305. package/build/typings/components/ProductListWrapper/ProductListWrapper.d.ts +4 -0
  306. package/build/typings/components/ProductListWrapper/index.d.ts +1 -0
  307. package/build/typings/components/ProductListWrapper/models.d.ts +25 -0
  308. package/build/typings/components/ProductSelectorVerifier/ProductSelectorVerifier.d.ts +14 -0
  309. package/build/typings/components/ProductSelectorVerifier/index.d.ts +1 -0
  310. package/build/typings/components/SearchBar/SearchBar.d.ts +6 -0
  311. package/build/typings/components/SearchBar/SearchBarSuggestions.d.ts +4 -0
  312. package/build/typings/components/SearchBar/index.d.ts +1 -0
  313. package/build/typings/components/SearchBar/models.d.ts +172 -0
  314. package/build/typings/components/SearchBarWrapper/SearchBarWrapper.d.ts +6 -0
  315. package/build/typings/components/SearchBarWrapper/index.d.ts +1 -0
  316. package/build/typings/components/SearchBarWrapper/models.d.ts +22 -0
  317. package/build/typings/components/SearchBarWrapperModal/SearchBarWrapperModal.d.ts +4 -0
  318. package/build/typings/components/SearchBarWrapperModal/index.d.ts +1 -0
  319. package/build/typings/components/SearchBarWrapperModal/models.d.ts +5 -0
  320. package/build/typings/components/SkuListWrapper/SkuListWrapper.d.ts +4 -0
  321. package/build/typings/components/SkuListWrapper/index.d.ts +1 -0
  322. package/build/typings/components/SpecificationSearch/SpecificationSearch.d.ts +4 -0
  323. package/build/typings/components/SpecificationSearch/index.d.ts +1 -0
  324. package/build/typings/components/SpecificationSearch/models.d.ts +30 -0
  325. package/build/typings/components/WsmFitmentSelectorWrapper/WsmFitmentSelectorWrapper.d.ts +8 -0
  326. package/build/typings/components/WsmFitmentSelectorWrapper/index.d.ts +1 -0
  327. package/build/typings/components/WsmProductListWrapper/WsmProductListWrapper.d.ts +4 -0
  328. package/build/typings/components/WsmProductListWrapper/index.d.ts +1 -0
  329. package/build/typings/components/WsmSearchBarWithWrapperModal/WsmSearchBarWithWrapperModal.d.ts +8 -0
  330. package/build/typings/components/WsmSearchBarWithWrapperModal/index.d.ts +1 -0
  331. package/build/typings/components/WsmSearchBarWrapper/WsmSearchBarWrapper.d.ts +4 -0
  332. package/build/typings/components/WsmSearchBarWrapper/index.d.ts +1 -0
  333. package/build/typings/components/WsmSearchBarWrapper/models.d.ts +12 -0
  334. package/build/typings/components/WsmSearchBarWrapperModal/WsmSearchBarWrapperModal.d.ts +4 -0
  335. package/build/typings/components/WsmSearchBarWrapperModal/index.d.ts +1 -0
  336. package/build/typings/components/WsmSearchBarWrapperModal/models.d.ts +5 -0
  337. package/build/typings/components/WsmSearchPage/FacetFilterModal.d.ts +18 -0
  338. package/build/typings/components/WsmSearchPage/FitmentSelectorModal.d.ts +22 -0
  339. package/build/typings/components/WsmSearchPage/SearchPageProvider.d.ts +32 -0
  340. package/build/typings/components/WsmSearchPage/index.d.ts +29 -0
  341. package/build/typings/components/WsmSearchPage/utils.d.ts +25 -0
  342. package/build/typings/icons/Angle.d.ts +7 -0
  343. package/build/typings/icons/BanIcon.d.ts +7 -0
  344. package/build/typings/icons/CheckIcon.d.ts +3 -0
  345. package/build/typings/icons/CrossIcon.d.ts +7 -0
  346. package/build/typings/icons/Grid.d.ts +5 -0
  347. package/build/typings/icons/ImagePlaceHolder.d.ts +5 -0
  348. package/build/typings/icons/List.d.ts +6 -0
  349. package/build/typings/icons/MinusIcon.d.ts +6 -0
  350. package/build/typings/icons/PlusIcon.d.ts +6 -0
  351. package/build/typings/icons/SearchIcon.d.ts +7 -0
  352. package/build/typings/icons/SearchIconLight.d.ts +7 -0
  353. package/build/typings/icons/StarIcon.d.ts +6 -0
  354. package/build/typings/icons/TrashIcon.d.ts +7 -0
  355. package/build/typings/icons/WarningIcon.d.ts +3 -0
  356. package/build/typings/index.d.ts +60 -0
  357. package/build/typings/models/generic.d.ts +8 -0
  358. package/build/typings/models/search.d.ts +93 -0
  359. package/build/typings/static/icons/CrossIcon.d.ts +7 -0
  360. package/build/typings/static/icons/FunnelIcon.d.ts +3 -0
  361. package/build/typings/static/icons/VerifiedIcon.d.ts +3 -0
  362. package/build/typings/utils/constants.d.ts +7 -0
  363. package/build/typings/utils/fitmentUtils.d.ts +4 -0
  364. package/build/typings/utils/format.d.ts +3 -0
  365. package/build/typings/utils/queryUtils.d.ts +12 -0
  366. package/build/typings/utils/restFactory.d.ts +6 -0
  367. package/build/typings/utils/searchHistory.d.ts +3 -0
  368. package/build/typings/utils/wsmVisibleFieldsBuilder.d.ts +31 -0
  369. package/package.json +133 -0
@@ -0,0 +1 @@
1
+ .modal_root__ZRh58{display:block;overflow-x:hidden;overflow-y:auto;position:fixed;top:0;left:0;width:100%;height:100%;z-index:30}.modal_root__ZRh58 div:first-child{border-radius:5px}.modal_hidden__1VaBK{display:none}.modal_modalDialog__3oRJl{margin:auto;width:fit-content;max-width:85%;z-index:1050;background-color:#fff;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}@media (max-width:992px){.modal_modalDialog__3oRJl{max-width:99%}}.modal_backdrop__1ieRs{opacity:.5;position:fixed;top:0;left:0;z-index:1040;width:100vw;height:100vh}.modal_closeBtn__1N3cr{z-index:1;position:absolute;right:-30px;top:-19px;background-color:transparent;border:none;cursor:pointer}.modal_closeBtn__1N3cr:hover svg{fill:var(--sui-secondary-color-dark)}@media (max-width:500px){.modal_closeBtn__1N3cr{right:-9px;top:-28px}}.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}.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}}.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}}.styles_styledNoResults__2In0o{margin:0;background-color:var(--sui-primary-color-light);color:#fff;padding:.25rem .5rem;background-color:var(--sui-danger-color);position:absolute;width:100%;box-sizing:border-box;z-index:1}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-SearchBar--section-product{grid-template-columns:1fr}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root{display:grid;grid-template-columns:fit-content(20%) 1fr;grid-template-rows:repeat(2,auto);grid-column-gap:0;grid-row-gap:0}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root a,.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root p{text-align:left}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root .Sui-ProductListItem-Container--price,.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root .Sui-ProductListItem-Container--sale{display:inline-block}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--root .old-price{padding-left:.5rem}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--image{grid-area:1/1/3/2}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--image+ul{padding-left:1rem;grid-area:1/2/2/3}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--image+ul+ul{padding-left:1rem;grid-area:2/2/3/3;padding-top:0}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem--image+ul+ul .old-price{font-size:1.4rem}.wsmSearchBarWrapperStyles_root__3hHgT .Sui-ProductListItem-Container--has_options div{text-align:left;margin:8px 0}.style_wsmSearchBarModal__UfhZZ{top:0}.style_wsmSearchBarModal__UfhZZ>div:first-child{background-color:transparent;width:100%;top:10%}.style_wsmSearchBarModal__UfhZZ .Sui-Modal--content{width:100%}.style_wsmSearchBarModal__UfhZZ .Sui-SearchBar--suggestions-container{overflow-y:auto;position:absolute;max-height:calc(100vh - 120px)}.style_wsmSearchBarModal__UfhZZ .Sui-SearchBar--suggestions-container>div:first-child{width:calc(100% - 32px)}.style_wsmSearchBarModal__UfhZZ .Sui-Modal--close-icon{color:var(--sui-grey-light)}.style_wsmSearchBarModal__UfhZZ.style_hide__2PWxy{opacity:0;top:-5000px}.style_wsmSearchBarModal__UfhZZ.style_hide__2PWxy .Sui-Modal--backdrop{top:-5000px}
@@ -0,0 +1,22 @@
1
+ import e,{createElement as t,useRef as n,useState as r,useEffect as i,Fragment as o,useReducer as a,useCallback as l,forwardRef as s,useImperativeHandle as c}from"react";import{createPortal as u}from"react-dom";
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 d=function(){return(d=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 p(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}function f(e,t,n,r){return new(n||(n=Promise))((function(i,o){function a(e){try{s(r.next(e))}catch(e){o(e)}}function l(e){try{s(r.throw(e))}catch(e){o(e)}}function s(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,l)}s((r=r.apply(e,t||[])).next())}))}function h(e,t){var n,r,i,o,a={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:l(0),throw:l(1),return:l(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function l(o){return function(l){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(i=2&o[0]?r.return:o[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,o[1])).done)return i;switch(r=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,r=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(!(i=a.trys,(i=i.length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){a.label=o[1];break}if(6===o[0]&&a.label<i[1]){a.label=i[1],i=o;break}if(i&&a.label<i[2]){a.label=i[2],a.ops.push(o);break}i[2]&&a.ops.pop(),a.trys.pop();continue}o=t.call(e,a)}catch(e){o=[6,e],r=0}finally{n=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,l])}}}function m(){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,l=o.length;a<l;a++,i++)r[i]=o[a];return r}var g="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function v(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 y(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 b=v((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 l in i)t.call(i,l)&&i[l]&&e.push(l)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),k=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"}))},_="modal_root__ZRh58",w="modal_hidden__1VaBK",x="modal_modalDialog__3oRJl",S="modal_backdrop__1ieRs",C="modal_closeBtn__1N3cr",N=function(e){var a,l=e.className,s=e.onClose,c=e.children,d=e.isOpen,p=e.backdropColor,f=void 0===p?"#000":p,h=e.showCloseButton,m=void 0===h||h,g=e.focus,v=void 0===g||g,y=n(null),N=n(null),I=r({})[1];i((function(){var e=document.createElement("div");return e.className="Sui-modal",y.current=document.body.appendChild(e),I({}),function(){document.body.removeChild(e)}}),[]),i((function(){y.current&&N.current&&d&&v&&N.current.focus()}),[y.current,N.current,d,v]);return y.current?u(t(o,null,t("div",{ref:N,tabIndex:-1,role:"presentation",className:b(_,(a={},a[w]=!d,a),l,"Sui-Modal--root"),onKeyDown:function(e){27===e.keyCode&&s()},onClick:function(){return null}},t("div",{className:x},m?t("button",{role:"button","aria-label":"close",className:b(C,"Sui-Modal--close-icon"),onClick:s},t(k,{size:30})):null,t("div",{className:b("Sui-Modal--content")},c)),t("div",{role:"presentation",tabIndex:-1,className:b(S,"Sui-Modal--backdrop"),style:{backgroundColor:f},onClick:s,onKeyDown:function(){return null}}))),y.current):null};function I(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 E=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"}))},T=function(e){var n=e.className,i=e.alt,o=e.url,a=e.noImageUrl,l=r(!0),s=l[0],c=l[1];return s&&o?t("img",{className:n,src:o,alt:i,onError:function(){return c(!1)}}):a?t("img",{src:a,alt:i}):t(E,{className:n})},O="productListItem_root__xLXZA",A="productListItem_text__2vbTm",R="productListItem_productImg__23A0z",L="productListItem_imageContainer__paRx-",B="productListItem_vertical__RuKVA",F="productListItem_styledSearchResultItem__2xWUG",P="productListItem_link__QvazJ",M="productListItem_right__1cPgQ",D="productListItem_optionAvailableBtnContainer__2wxwf",j="productListItem_optionsAvailableBtn__1rmDf",z="productListItem_priceFromLabel__pMQzO",U={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}},H=v((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,l=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(o.push(r.value),!t||o.length!==t);a=!0);}catch(e){l=!0,i=e}finally{try{a||null==n.return||n.return()}finally{if(l)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,l=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,l);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,l);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,l);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 s=U.CAMELCASE,c=U.SAME,u=U.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===s?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})),V=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,q=/\n/g,Y=/^\s*/,K=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,G=/^:\s*/,W=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,X=/^[;\s]*/,J=/^\s+|\s+$/g;function Z(e){return e?e.replace(J,""):""}var Q=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(q);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 l(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 s(t){var n=t.exec(e);if(n){var r=n[0];return i(r),e=e.slice(r.length),n}}function c(){s(Y)}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 l("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=s(K);if(t){if(d(),!s(G))return l("property missing ':'");var n=s(W),r=e({type:"declaration",property:Z(t[0].replace(V,"")),value:n?Z(n[0].replace(V,"")):""});return s(X),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),l="function"==typeof t,s=0,c=a.length;s<c;s++)i=(n=a[s]).property,o=n.value,l?t(i,o,n):o&&(r||(r={}),r[i]=o);return r},$=v((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)-/,l=function(e,t){return t.toUpperCase()},s=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,s):e.replace(o,s)).replace(r,l))}})),ee=v((function(e,t){var n=g&&g.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var r=n(Q);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,$.camelCase)(e,t)]=r)})),n):n}})).default;var te={reactCompat:!0};var ne=e.version.split(".")[0]>=16,re=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);var ie={PRESERVE_CUSTOM_ATTRIBUTES:ne,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=ee(e,te)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!re.has(e.name)},elementsWithNoTextChildren:re},oe=function(e){var t,n,r,i,o,a={},l=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(r=e[t],H.isCustomAttribute(t))a[t]=r;else if(i=ae(n=t.toLowerCase()))switch(o=H.getPropertyInfo(i),"checked"!==i&&"value"!==i||l||(i=ae("default"+n)),a[i]=r,o&&o.type){case H.BOOLEAN:a[i]=!0;break;case H.OVERLOADED_BOOLEAN:""===r&&(a[i]=!0)}else ie.PRESERVE_CUSTOM_ATTRIBUTES&&(a[t]=r);return ie.setStyleProp(e.style,a),a};function ae(e){return H.possibleStandardNames[e]}var le=ie.setStyleProp,se=ie.canTextBeChildOfNode;function ce(e){return ie.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&ie.isCustomComponent(e.name,e.attribs)}var ue=function t(n,r){for(var i,o,a,l,s,c=(r=r||{}).library||e,u=c.cloneElement,d=c.createElement,p=c.isValidElement,f=[],h="function"==typeof r.replace,m=r.trim,g=0,v=n.length;g<v;g++)if(i=n[g],h&&p(a=r.replace(i)))v>1&&(a=u(a,{key:a.key||g})),f.push(a);else if("text"!==i.type){switch(l=i.attribs,ce(i)?le(l.style,l):l&&(l=oe(l)),s=null,i.type){case"script":case"style":i.children[0]&&(l.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?l.defaultValue=i.children[0].data:i.children&&i.children.length&&(s=t(i.children,r));break;default:continue}v>1&&(l.key=g),f.push(d(i.name,l,s))}else{if((o=!i.data.trim().length)&&i.parent&&!se(i.parent))continue;if(m&&o)continue;f.push(i.data)}return 1===f.length?f[0]:f},de=/<([a-zA-Z]+[0-9]?)/,pe=/<head[^]*>/i,fe=/<body[^]*>/i,he=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},me=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")};if("function"==typeof window.DOMParser){var ge=new window.DOMParser;he=me=function(e,t){return t&&(e="<"+t+">"+e+"</"+t+">"),ge.parseFromString(e,"text/html")}}if(document.implementation){var ve=document.implementation.createHTMLDocument();he=function(e,t){return t?(ve.documentElement.querySelector(t).innerHTML=e,ve):(ve.documentElement.innerHTML=e,ve)}}var ye,be=document.createElement("template");be.content&&(ye=function(e){return be.innerHTML=e,be.content.childNodes});var ke,_e=function(e){var t,n,r,i,o=e.match(de);switch(o&&o[1]&&(t=o[1].toLowerCase()),t){case"html":return n=me(e),pe.test(e)||(r=n.querySelector("head"))&&r.parentNode.removeChild(r),fe.test(e)||(r=n.querySelector("body"))&&r.parentNode.removeChild(r),n.querySelectorAll("html");case"head":case"body":return i=(n=he(e)).querySelectorAll(t),fe.test(e)&&pe.test(e)?i[0].parentNode.childNodes:i;default:return ye?ye(e):(r=he(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"}(ke||(ke={}));ke.Root,ke.Text,ke.Directive,ke.Comment,ke.Script,ke.Style,ke.Tag,ke.CDATA,ke.Doctype;class we{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 Me(this,e)}}class xe extends we{constructor(e){super(),this.data=e}get nodeValue(){return this.data}set nodeValue(e){this.data=e}}class Se extends xe{constructor(){super(...arguments),this.type=ke.Text}get nodeType(){return 3}}class Ce extends xe{constructor(){super(...arguments),this.type=ke.Comment}get nodeType(){return 8}}class Ne extends xe{constructor(e,t){super(t),this.name=e,this.type=ke.Directive}get nodeType(){return 1}}class Ie extends we{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 Ee extends Ie{constructor(){super(...arguments),this.type=ke.CDATA}get nodeType(){return 4}}class Te extends Ie{constructor(){super(...arguments),this.type=ke.Root}get nodeType(){return 9}}class Oe extends Ie{constructor(e,t,n=[],r=("script"===e?ke.Script:"style"===e?ke.Style:ke.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 Ae(e){return(t=e).type===ke.Tag||t.type===ke.Script||t.type===ke.Style;var t}function Re(e){return e.type===ke.CDATA}function Le(e){return e.type===ke.Text}function Be(e){return e.type===ke.Comment}function Fe(e){return e.type===ke.Directive}function Pe(e){return e.type===ke.Root}function Me(e,t=!1){let n;if(Le(e))n=new Se(e.data);else if(Be(e))n=new Ce(e.data);else if(Ae(e)){const r=t?De(e.children):[],i=new Oe(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(Re(e)){const r=t?De(e.children):[],i=new Ee(r);r.forEach((e=>e.parent=i)),n=i}else if(Pe(e)){const r=t?De(e.children):[],i=new Te(r);r.forEach((e=>e.parent=i)),e["x-mode"]&&(i["x-mode"]=e["x-mode"]),n=i}else{if(!Fe(e))throw new Error(`Not implemented yet: ${e.type}`);{const t=new Ne(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 De(e){const t=e.map((e=>Me(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 je={withStartIndices:!1,withEndIndices:!1,xmlMode:!1};class ze{constructor(e,t,n){this.dom=[],this.root=new Te(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=je),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:je,this.elementCB=null!=n?n:null}onparserinit(e){this.parser=e}onreset(){this.dom=[],this.root=new Te(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?ke.Tag:void 0,r=new Oe(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)}ontext(e){const{lastNode:t}=this;if(t&&t.type===ke.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{const t=new Se(e);this.addNode(t),this.lastNode=t}}oncomment(e){if(this.lastNode&&this.lastNode.type===ke.Comment)return void(this.lastNode.data+=e);const t=new Ce(e);this.addNode(t),this.lastNode=t}oncommentend(){this.lastNode=null}oncdatastart(){const e=new Se(""),t=new Ee([e]);this.addNode(t),e.parent=t,this.lastNode=e}oncdataend(){this.lastNode=null}onprocessinginstruction(e,t){const n=new Ne(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 Ue,He=["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"],Ve=y(Object.freeze({__proto__:null,DomHandler:ze,default:ze,Node:we,DataNode:xe,Text:Se,Comment:Ce,ProcessingInstruction:Ne,NodeWithChildren:Ie,CDATA:Ee,Document:Te,Element:Oe,isTag:Ae,isCDATA:Re,isText:Le,isComment:Be,isDirective:Fe,isDocument:Pe,hasChildren:function(e){return Object.prototype.hasOwnProperty.call(e,"children")},cloneNode:Me})),qe=He,Ye=Ve.Comment,Ke=Ve.Element,Ge=Ve.ProcessingInstruction,We=Ve.Text,Xe={},Je=0,Ze=qe.length;Je<Ze;Je++)Ue=qe[Je],Xe[Ue.toLowerCase()]=Ue;function Qe(e){for(var t,n={},r=0,i=e.length;r<i;r++)n[(t=e[r]).name]=t.value;return n}function $e(e){var t=function(e){return Xe[e]}(e=e.toLowerCase());return t||e}var et={formatAttributes:Qe,formatDOM:function e(t,n,r){n=n||null;for(var i=[],o=0,a=t.length;o<a;o++){var l,s=t[o];switch(s.nodeType){case 1:(l=new Ke($e(s.nodeName),Qe(s.attributes))).children=e(s.childNodes,l);break;case 3:l=new We(s.nodeValue);break;case 8:l=new Ye(s.nodeValue);break;default:continue}var c=i[o-1]||null;c&&(c.next=l),l.parent=n,l.prev=c,l.next=null,i.push(l)}return r&&((l=new Ge(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=i[0]||null,l.parent=n,i.unshift(l),i[1]&&(i[1].prev=i[0])),i}}.formatDOM,tt=/<(![a-zA-Z\s]+)>/;var nt=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(tt);return n&&n[1]&&(t=n[1]),et(_e(e),null,t)},rt=y(Object.freeze({__proto__:null,default:nt}));rt="function"==typeof rt.default?rt.default:rt;var it={lowerCaseAttributeNames:!1};function ot(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:ue(rt(e,(t=t||{}).htmlparser2||it),t)}ot.domToReact=ue,ot.htmlToDOM=rt,ot.attributesToProps=oe,ot.Element=Ve.Element;var at=ot,lt=ot;at.default=lt;var st=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},ct=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,d({},i,{className:P,onClick:a}),"View to see price");case"title":return t(r,d({},i,{className:b(A,""+ut+n.prop,n.className),onClick:a}),o);case"has_options":return o?t("div",{className:D},t(r,d({},i,{className:b(j,""+ut+n.prop)}),"Options available")):null;case"fitment_applicability":return o?t("span",{className:b(A,""+ut+n.prop,"Fitment-Specific"===o?"fitmentSpecific":"universal")},o):null;case"dealerid":case"stockid":return t(r,d({},i,{onClick:a,className:b("Sui-ProductListItem--"+n.prop+"-link")}),t(st,{className:b(A,""+ut+n.prop,n.className),label:n.label,value:o}));default:return t(st,{className:b(A,""+ut+n.prop,n.className),label:n.label,value:o})}},ut="Sui-ProductListItem--",dt=[{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"}],pt=function(e){var n,r=e.data,i=e.styled,o=e.visibleFields,a=void 0===o?dt:o,l=e.className,s=void 0===l?"":l,c=e.orientation,u=void 0===c?"horizontal":c,p=e.noImageUrl,f=e.linkEl,h=void 0===f?"a":f,g=e.onItemClick,v=r.url?h:"div",y=r.url?{href:r.url}:{},k=(Array.isArray(a)?a:dt).reduce((function(e,t){if(void 0===r[t.prop]||null===r[t.prop])return e;switch(t.position){case"center":return d(d({},e),{center:m(e.center,[t])});case"right":return d(d({},e),{right:m(e.right,[t])});default:return e}}),{center:[],right:[]});return t("section",{className:b(O,(n={},n[F]=i,n[B]="vertical"===u,n),ut+"root",s),role:"listitem"},t(v,d({className:b(L,ut+"image"),onClick:function(e){return null==g?void 0:g(e,r)}},y),t(T,{alt:"Search reult",className:R,url:r.image_url,noImageUrl:p})),t("ul",null,k.center.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t(ct,{item:e,Link:v,linkProps:y,value:ft(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==g?void 0:g(e,r)}}))}))),t("ul",{className:M},k.right.map((function(e){return t("li",{key:e.prop,className:"Sui-ProductListItem-Container--"+e.prop,role:"listitem"},t(ct,{item:e,Link:v,linkProps:y,value:ft(e.prop,r[e.prop],r.has_product_series),onClick:function(e){return null==g?void 0:g(e,r)}}))}))))};function ft(e,n,r){switch(e){case"price":if(n){var i=I(n);return r?t(o,null,t("span",{className:b(z,"Sui-ProductListItem-Container--"+e+"-label-from")},"From:")," ",i):i}return n;case"sale":return n?I(n):n;case"tag":case"availability_remarks":case"remarks":return at(n);default:return n}}function ht(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(m([e],t))).slice(0,10)))}}var mt=[{position:"center",prop:"brand_name"},{position:"center",prop:"title"},{position:"center",prop:"tag",className:"mb-7"},{position:"center",prop:"fitment_applicability"},{label:"SKU: ",position:"center",prop:"stockid",className:"mb-7"},{label:"PART #: ",position:"center",prop:"dealerid"}];function gt(e){for(var t={},n=[],r=0,i=e;r<i.length;r++){var o=i[r];t[o.prop]||(n=m(n,[o])),t[o.prop]=!0}return n}var vt=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"}))},yt="searchBarSuggestions_suggestionContainer__1m96a",bt="searchBarSuggestions_link__1rcDs",kt="searchBarSuggestions_listContainer__2O5EM",_t="searchBarSuggestions_basicItemLink__2hEMG",wt="searchBarSuggestions_imageContainer__2H3z6",xt="searchBarSuggestions_basicItemTitle__3MJeQ",St="searchBarSuggestions_viewMoreContainer__2gobp",Ct="searchBarSuggestions_searchTermHistoryItem__3xi7Q",Nt="searchBarSuggestions_searchTermHistoryItemIcon__sZmTm",It="searchBarSuggestions_styledResultItem__3mBB5",Et="searchBarSuggestions_styledSuggestionContainer__H33XA",Tt="searchBarSuggestions_styledList__MKl23",Ot="searchBarSuggestions_styledListTitle__2VK-S",At="searchBarSuggestions_styledViewMoreBtn__3nh1Y",Rt="searchBarSuggestions_clearHistoryBtn__39npD",Lt=function(e){var n,r=e.linkEl,i=e.suggestion,o=e.styled,a=e.visibleFields,l=e.onItemClick;return t(pt,{className:b((n={},n[It]=o,n),"Sui-SearchBar--result-item"),data:i,visibleFields:a,styled:o,orientation:"vertical",linkEl:r,onItemClick:function(e,t){return l(t)}})},Bt=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,d({key:r.id,className:b(bt,_t,"Sui-SearchBar--result-item"),onClick:i},a,{role:"listitem"}),t("div",{className:wt},t(T,{url:r.image_url,alt:"categoryImage"})),t("h1",{className:b(xt,"Sui-CategoryList--title")},r.name))},Ft=function(e){var n=e.suggestion,r=e.onClick;return t("button",{type:"button",className:Ct,onClick:function(){return r(n.name)}},t(vt,{className:Nt,size:15}),t("p",null,n.name))},Pt=function(e){var n,r,i=e.sections,o=e.styled,a=e.linkEl,l=e.onItemClick,s=e.renderProduct,c=e.onClearHistory,u=e.onHistoryItemClick,p=!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:b(yt,(n={},n[Et]=o,n),"Sui-SearchBar--suggestions-container")},t("div",{className:b((r={},r[Tt]=o,r))},p.map((function(e){var n,r,i,p=e.title,f=(null===(r=e.data)||void 0===r?void 0:r.list)||[],h=null===(i=e.data)||void 0===i?void 0:i.total,m=e.visibleFields,g=e.type;return f.length?t("div",{key:e.type,className:"Sui-SearchBar--section-container-"+g},p?t("h3",{className:b((n={},n[Ot]=o,n),"Sui-SearchBar--list-title")},p):null,t("div",{className:b(kt,"Sui-SearchBar--section-"+g)},f.map((function(e){switch(g){case"product":return(null==s?void 0:s(e))||t(Lt,{key:e.id,linkEl:a,suggestion:e,styled:o,visibleFields:m,onItemClick:function(){return null==l?void 0:l(e)}});case"history":return t(Ft,{key:e.id,suggestion:e,onClick:function(e){return null==u?void 0:u(e)}});default:return t(Bt,{key:e.id,linkEl:a,suggestion:e,onItemClick:function(){return null==l?void 0:l(e)}})}}))),"history"===e.type?t("button",{type:"button",className:Rt,onClick:function(){localStorage.removeItem("pl-recent-search-terms"),null==c||c()}},t(k,{size:15}),"Clear History"):null,"history"!==e.type&&e.onViewMoreClick&&h>f.length?t("div",{className:b(St,"Sui-SearchBar--section-view-more-button")},t("button",{type:"button",onClick:function(){var t=d({},e);delete t.onViewMoreClick,e.onViewMoreClick(t)},className:o?"SuiButton primary "+At:""},e.viewMoreButtonText||"View more")):null):null}))))};var Mt=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Dt="object"==typeof g&&g&&g.Object===Object&&g,jt="object"==typeof self&&self&&self.Object===Object&&self,zt=Dt||jt||Function("return this")(),Ut=function(){return zt.Date.now()},Ht=zt.Symbol,Vt=Object.prototype,qt=Vt.hasOwnProperty,Yt=Vt.toString,Kt=Ht?Ht.toStringTag:void 0;var Gt=function(e){var t=qt.call(e,Kt),n=e[Kt];try{e[Kt]=void 0;var r=!0}catch(e){}var i=Yt.call(e);return r&&(t?e[Kt]=n:delete e[Kt]),i},Wt=Object.prototype.toString;var Xt=function(e){return Wt.call(e)},Jt=Ht?Ht.toStringTag:void 0;var Zt=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Jt&&Jt in Object(e)?Gt(e):Xt(e)};var Qt=function(e){return null!=e&&"object"==typeof e};var $t=function(e){return"symbol"==typeof e||Qt(e)&&"[object Symbol]"==Zt(e)},en=/^\s+|\s+$/g,tn=/^[-+]0x[0-9a-f]+$/i,nn=/^0b[01]+$/i,rn=/^0o[0-7]+$/i,on=parseInt;var an=function(e){if("number"==typeof e)return e;if($t(e))return NaN;if(Mt(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Mt(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(en,"");var n=nn.test(e);return n||rn.test(e)?on(e.slice(2),n?2:8):tn.test(e)?NaN:+e},ln=Math.max,sn=Math.min;var cn=function(e,t,n){var r,i,o,a,l,s,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var n=r,o=i;return r=i=void 0,c=t,a=e.apply(o,n)}function h(e){return c=e,l=setTimeout(g,t),u?f(e):a}function m(e){var n=e-s;return void 0===s||n>=t||n<0||d&&e-c>=o}function g(){var e=Ut();if(m(e))return v(e);l=setTimeout(g,function(e){var n=t-(e-s);return d?sn(n,o-(e-c)):n}(e))}function v(e){return l=void 0,p&&r?f(e):(r=i=void 0,a)}function y(){var e=Ut(),n=m(e);if(r=arguments,i=this,s=e,n){if(void 0===l)return h(s);if(d)return clearTimeout(l),l=setTimeout(g,t),f(s)}return void 0===l&&(l=setTimeout(g,t)),a}return t=an(t)||0,Mt(n)&&(u=!!n.leading,o=(d="maxWait"in n)?ln(an(n.maxWait)||0,t):o,p="trailing"in n?!!n.trailing:p),y.cancel=function(){void 0!==l&&clearTimeout(l),c=0,r=s=i=l=void 0},y.flush=function(){return void 0===l?a:v(Ut())},y};function un(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var dn=function(e,t,n,r){t=t||"&",n=n||"=";var i={};if("string"!=typeof e||0===e.length)return i;var o=/\+/g;e=e.split(t);var a=1e3;r&&"number"==typeof r.maxKeys&&(a=r.maxKeys);var l=e.length;a>0&&l>a&&(l=a);for(var s=0;s<l;++s){var c,u,d,p,f=e[s].replace(o,"%20"),h=f.indexOf(n);h>=0?(c=f.substr(0,h),u=f.substr(h+1)):(c=f,u=""),d=decodeURIComponent(c),p=decodeURIComponent(u),un(i,d)?Array.isArray(i[d])?i[d].push(p):i[d]=[i[d],p]:i[d]=p}return i},pn=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}},fn=function(e,t,n,r){return t=t||"&",n=n||"=",null===e&&(e=void 0),"object"==typeof e?Object.keys(e).map((function(r){var i=encodeURIComponent(pn(r))+n;return Array.isArray(e[r])?e[r].map((function(e){return i+encodeURIComponent(pn(e))})).join(t):i+encodeURIComponent(pn(e[r]))})).join(t):r?encodeURIComponent(pn(r))+n+encodeURIComponent(pn(e)):""},hn=v((function(e,t){t.decode=t.parse=dn,t.encode=t.stringify=fn}));const mn={API_URL:"https://api.sunhammer.io",LIBRARY_NAME:"@partslogic/ui",STORY_BOOK_URL:"https://ui.sunhammer.io/"},gn="object"==typeof window?window:{};gn.partslogic=gn.partslogic||{},gn.partslogic.config={API_KEY:{API_URL:"https://api.sunhammer.io",LIBRARY_NAME:"@partslogic/ui",NODE_ENV:"production",STORY_BOOK_URL:"https://ui.sunhammer.io/"}.STORYBOOK_API_KEY,throttleRequests:{}};var vn=mn,yn=function(){return gn.partslogic.config},bn={get:function(e,t,n){return void 0===t&&(t={}),f(this,void 0,void 0,(function(){var r,i,o,a,l,s,c,u,d;return h(this,(function(p){switch(p.label){case 0:r=yn(),i=r.API_KEY,o=r.throttleRequests,i||console.error("API_KEY is not valid. Please enter a valid one."),p.label=1;case 1:return p.trys.push([1,3,,4]),a=JSON.parse(JSON.stringify(t)),l=Object.keys(a).length?"?"+hn.stringify(a):"",c=o[s=""+e+l],u=c||fetch(s,{headers:{"sunhammer-api-key":i},signal:n}),o[s]=u,[4,o[s]];case 2:if(!(d=p.sent()).ok)throw new Error("Network response was not ok");return delete o[s],[2,d.clone().json()];case 3:throw p.sent();case 4:return[2]}}))}))}};function kn(e,t){switch(t.type){case"ERROR":return d(d({},e),{data:null,error:t.error,status:"REJECTED"});case"SUCCESS":return d(d({},e),{data:t.data,error:"",status:"RESOLVED"});case"LOADING":return d(d({},e),{error:"",status:"LOADING"});case"RESET":return{data:null,error:"",status:""};default:throw new Error("Unhandled action type in useFetch.")}}function _n(e,t,n,r,i,o){return d(d(d(d({limit:t,page:e,q:n},r?{sort:r}:{}),i?{fitment:i}:{}),o?{productId:o}:{}),o?{getSkus:!0}:{})}var wn=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"}))},xn={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"},Sn=function(e){var n=e.type,r=e.className;return"linear"===n?t("div",{className:b(xn.root,void 0===r?"":r)}):t("div",{className:xn["sk-fading-circle"]},t("div",{className:b(xn["sk-circle"])}),Array.from({length:11}).map((function(e,n){return t("div",{key:n,className:b(xn["sk-circle"+(n+2)],xn["sk-circle"])})})))},Cn="searchBar_searchBarRoot__31Xa5",Nn="searchBar_searchBarContainer__3alwO",In="searchBar_searchBarInputContainer__AYpAJ",En="searchBar_inputContainer__3LGWJ",Tn="searchBar_inputContainerWithFitment__1ZYz6",On="searchBar_input__PXdEA",An="searchBar_clearIcon__2yjvH",Rn="searchBar_searchIcon__3y9ws",Ln="searchBar_fitmentContainer__3IZsv",Bn="searchBar_clearFitmentBtn__14jdY",Fn="searchBar_searchBarStyled__luh3_",Pn="searchBar_styledButton__gW4GL",Mn="searchBar_inputStyled__XoO4F",Dn="searchBar_styledFitmentContainer__1Y9am",jn="searchBar_fitmentText__1M4XP",zn="searchBar_inputContainerStyled__26B1I",Un=function(e){var o,a,s,c,u=e.className,p=e.linkEl,f=void 0===p?"a":p,h=e.noResultsText,m=e.placeholder,g=void 0===m?"Enter keyword":m,v=e.searchButtonText,y=void 0===v?"Search":v,_=e.showCloseIcon,w=e.styled,x=e.onSubmit,S=e.showNoResultsMsg,C=void 0===S||S,N=e.searchValue,I=void 0===N?"":N,E=e.isLoading,T=e.onChange,O=e.onClear,A=e.renderNoResults,R=e.sections,L=e.renderList,B=e.onItemClick,F=e.fitment,P=e.onClearFitment,M=e.onClearHistory,D=e.retainFitmentOnSubmit,j=void 0!==D&&D,z=r(I),U=z[0],H=z[1],V=r(!1),q=V[0],Y=V[1],K=r(null),G=K[0],W=K[1],X=[],J=n(null),Z=n(null),Q=l((function(e){"Escape"===e.key&&Y(!1)}),[]),$=l((function(e){var t;(null===(t=J.current)||void 0===t?void 0:t.contains(e.target))||Y(!1)}),[J.current]);i((function(){return document.addEventListener("click",$),document.addEventListener("keyup",Q),function(){document.removeEventListener("click",$),document.removeEventListener("keyup",Q)}}),[]),i((function(){q||W(null)}),[q]),i((function(){H(I)}),[I]);var ee=function(){U&&Y(!0)},te=function(){setTimeout((function(){null==P||P()}))};return t("div",{className:b(Cn,(o={},o[Fn]=w,o),u),role:"button",tabIndex:0,onKeyDown:function(e){switch(e.key){case"ArrowDown":ee(),e.preventDefault()}}},t("form",{ref:J,className:b(Nn),onSubmit:function(e){e.preventDefault(),X[G]||(F||j||localStorage.removeItem("sui-fitment-selector-v2"),null==x||x(U),ht(U))}},E&&w?t(Sn,{type:"linear",className:"Sui-SearchBar--loading-indicator"}):null,t("div",{className:In},t("div",{className:b(En,(a={},a[zn]=w,a[Tn]=!!F,a))},function(){var e;return F?t("div",{className:b(Ln,(e={},e[Dn]=w,e))},t("p",{className:jn},function(e){var t=/\|/g;return e.replace(t," ")}(F)),t("button",{type:"reset","aria-label":"clearFitment",className:Bn,onClick:te},t(k,null))):null}(),t("input",{className:b((s={},s["SuiInput "+Mn]=w,s),On,"Sui-SearchBar--search-input"),ref:Z,id:"sui-search-bar-input",name:"sui-search-bar-input",autoComplete:"off",placeholder:g||"","aria-label":"search-input",value:U,onChange:function(e){var t=e.currentTarget.value;H(t),Y(!0),null==T||T(t)},onFocus:function(){setTimeout((function(){var e,t,n;W(-1),(U||(null===(n=null===(t=null===(e=R.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))&&Y(!0)}))}}),_&&U&&t("button",{type:"reset","aria-label":"clear",className:An,onClick:function(){H(""),null==O||O(),Z.current.focus()}},t(k,null))),t("button",{className:b((c={},c["SuiButton primary "+Pn]=w,c),"Sui-SearchBar--search-button"),type:"submit"},t("span",null,y),t(wn,{className:Rn}))),C&&(A?A():h?t("p",null,h):null),function(){var e,t,n=null===(t=null===(e=R.find((function(e){return"history"===e.type})))||void 0===e?void 0:e.data)||void 0===t?void 0:t.list.length,r=R.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)&&q}()?L?L(R.reduce((function(e,t){var n;return d(d({},e),((n={})[t.type]={data:null==t?void 0:t.data,title:t.title},n))}),{}),U):t(Pt,{styled:w,sections:R,linkEl:f,onItemClick:B,onClearHistory:M,onHistoryItemClick:function(e){H(e),null==T||T(e)}}):null))};var Hn="styles_styledNoResults__2In0o",Vn=new AbortController,qn=Vn.signal,Yn=[{maxResults:5,title:"Categories",type:"category"},{maxResults:5,title:"Brands",type:"brand"},{maxResults:5,title:"Products",type:"product"}],Kn={brand:vn.API_URL+"/brands",category:vn.API_URL+"/categories",product:vn.API_URL+"/products"},Gn=s((function(e,s){var u,p=e.className,m=e.linkEl,g=void 0===m?"a":m,v=e.noResultsText,y=e.placeholder,k=void 0===y?"Enter keyword":y,_=e.searchButtonText,w=void 0===_?"Search":_,x=e.showCloseIcon,S=e.styled,C=e.onSubmit,N=e.showNoResultsMsg,I=void 0===N||N,E=e.searchValue,T=void 0===E?"":E,O=e.sections,A=void 0===O?Yn:O,R=e.renderList,L=e.onItemClick,B=e.fitment,F=e.onClearFitment,P=e.defaultQueryParams,M=void 0===P?{}:P,D=Array.isArray(A)&&0!==A.length?A:Yn,j=D.filter((function(e){return"history"===e.type})).length,z=function(){var e=this,t=a(kn,{data:null,error:"",status:""}),r=t[0],o=t[1],l=n(!1);return i((function(){return l.current=!0,function(){return l.current=!1}}),[]),[function(t){return f(e,void 0,void 0,(function(){var e,n;return h(this,(function(r){switch(r.label){case 0:return r.trys.push([0,2,,3]),l.current&&o({type:"LOADING"}),[4,Promise.all(t.map((function(e){return bn.get(e.url,e.query,e.signal)})))];case 1:return e=r.sent(),l.current&&o({data:e,type:"SUCCESS"}),[3,3];case 2:return n=r.sent(),l.current&&o({error:n.message||"Unknown error",type:"ERROR"}),[3,3];case 3:return[2]}}))}))},r,o]}(),U=z[0],H=z[1],V=z[2],q="LOADING"===H.status,Y=null===(u=null==H?void 0:H.data)||void 0===u?void 0:u.reduce((function(e,t){var n;return e+((null===(n=t.list)||void 0===n?void 0:n.length)||0)}),0),K=r(""),G=K[0],W=K[1],X=r(T),J=X[0],Z=X[1],Q=r(B),$=Q[0],ee=Q[1],te=r({})[1];i((function(){ie()}),[A]),i((function(){ee(B)}),[B]),i((function(){Z(T)}),[T]),c(s,(function(){return{loadData:function(e,t){ne(e,t)}}}));var ne=l(cn((function(e,t){return f(void 0,void 0,void 0,(function(){var n;return h(this,(function(r){switch(r.label){case 0:return e.length>=1?(n=D.filter((function(e){return"history"!==e.type})).map((function(n){return{query:d(d({},_n(1,n.maxResults||5,e,null,t)),M),signal:qn,url:Kn[n.type]}})),[4,U(n)]):[3,2];case 1:return r.sent(),W(e),[3,3];case 2:ie(),r.label=3;case 3:return[2]}}))}))}),400),[A,1]),re=function(e){var n;return t("p",{className:b((n={},n[Hn]=S,n),"Sui-SearchBar--no-results")},e)},ie=function(){V({type:"RESET"}),W("")};return t(o,null,t(Un,{className:p,linkEl:g,noResultsText:v,placeholder:k,searchButtonText:w,showCloseIcon:x,styled:S,onSubmit:C,showNoResultsMsg:I,searchValue:J,renderNoResults:function(){return"REJECTED"===H.status&&J===G?re(H.error+"."):!q&&J===G&&J.length>=1&&!Y?re(v||"No results for: "+G):null},onClear:function(){Z(""),ie()},onChange:function(e){Z(e),"LOADING"===H.status&&(Vn.abort(),Vn=new AbortController,qn=Vn.signal),ne(e,$)},isLoading:q,onClearHistory:function(){te({})},sections:D.map((function(e,t){var n,r,i,o,a,l;if("history"===e.type){var s=JSON.parse(localStorage.getItem("pl-recent-search-terms")||"[]");return d(d({},e),s.length?{data:{list:s.map((function(e,t){return{id:t,name:e}})),total:s.length}}:{})}var c=t-(j?1:0);return d(d({},e),void 0!==(null===(r=null===(n=H.data)||void 0===n?void 0:n[c])||void 0===r?void 0:r.total)?{data:{list:(null===(o=null===(i=H.data)||void 0===i?void 0:i[c])||void 0===o?void 0:o.list)||[],total:(null===(l=null===(a=H.data)||void 0===a?void 0:a[c])||void 0===l?void 0:l.total)||0}}:{})})),renderList:R,onItemClick:L,fitment:$,onClearFitment:function(){ee(""),null==F||F(),localStorage.setItem("sui-fitment-selector-v2","[]"),ne(J,"")}}))})),Wn="wsmSearchBarWrapperStyles_root__3hHgT",Xn={maxResults:5,title:"",type:"history"},Jn=m(Yn),Zn=function(e){var i=e.showRecentTerms,o=void 0===i||i,a=e.sections,l=void 0===a?Jn:a,s=p(e,["showRecentTerms","sections"]),c=r({})[1],u=o?m([Xn],l):l,f=r(s.searchValue),h=f[0],g=f[1],v=n(null);return t(Gn,d({},s,{ref:v,className:b(Wn,s.className),sections:u,defaultQueryParams:s.defaultQueryParams,searchValue:h,renderList:function(e,n){return t(Pt,{styled:s.styled,sections:(u||Jn).map((function(t){return d(d({},t),{data:e[t.type].data})})),linkEl:s.linkEl||"a",onItemClick:function(e){var t;ht(n),null===(t=s.onItemClick)||void 0===t||t.call(s,e)},onClearHistory:function(){return c({})},onHistoryItemClick:function(e){g(e),v.current.loadData(e,s.fitment)},renderProduct:function(e){var r=function(e){var t=m(mt),n=d({},e);return"Please Call"===e.availability?(t=m(t,[{position:"right",prop:"availability",className:"red bold"}]),n.sale=null,n.price=null):("Out of Stock"===e.availability||"Inventory"===e.availability&&0===e.inventory)&&(n.availability="Out of Stock",t=m(t,[{position:"right",prop:"availability",className:"red bold"}])),1===e.sale_hidden?(n.price=null,t=m(t,[{position:"right",prop:"url"}])):e.sale>0&&e.sale<e.price?t=m(t,[{position:"right",prop:"sale",className:"red bold"},{position:"right",prop:"price",className:"old-price"}]):0===e.sale&&e.price>=0?t=m(t,[{position:"right",prop:"price",className:"bold"}]):e.sale&&e.price&&e.sale===e.price&&(t=m(t,[{position:"right",prop:"price"}])),t=m(t,[{position:"right",prop:"remarks"},{position:"right",prop:"availability_remarks"}]),e.has_options&&("Available"===e.availability||"Inventory"===e.availability&&e.inventory>0)&&(t=m(t,[{position:"right",prop:"has_options"}])),{visibleFields:gt(t),product:n}}(e),i=r.product,o=r.visibleFields;return i.remarks=null,i.availability_remarks=null,t(pt,{key:e.id,data:i,styled:s.styled,orientation:"horizontal",visibleFields:o,linkEl:s.linkEl||"a",onItemClick:function(e,t){var r;ht(n),null===(r=s.onItemClick)||void 0===r||r.call(s,t)}})}})}}))},Qn="style_wsmSearchBarModal__UfhZZ",$n="style_hide__2PWxy";export default function(e){var n,o=e.show,a=e.onClose,l=e.className,s=p(e,["show","onClose","className"]),c=r(0),u=c[0],f=c[1];return i((function(){o||f(u+1)}),[o]),t(N,{key:u,isOpen:!0,focus:!1,onClose:a,className:b(Qn,l,(n={},n[$n]=!o,n))},t(Zn,d({},s)))}
22
+ //# sourceMappingURL=index.esm.js.map