LocalCDN-Firefox-Chrome-Brave/resources/findify-bundle/6.9.15/components.js.map

1 line
520 KiB
Plaintext

{"version":3,"sources":["webpack:///../sdk/lib/api.js","webpack:///../react-components/src/layouts/Autocomplete/Dropdown/index.ts","webpack:///../agent/lib/core/Cache.js","webpack:///../react-connect/lib/utils/debounce.js","webpack:///../react-components/src/components/RatingFacet/index.ts","webpack:///../react-connect/lib/connect/connectSuggestions.js","webpack:///../react-components/src/layouts/Custom/styles.css","webpack:///../react-components/src/components/RangeFacet/view.tsx","webpack:///../sdk/lib/request/Recommendations.js","webpack:///../sdk/lib/request/Search.js","webpack:///../react-components/src/layouts/Recommendation/index.ts","webpack:///../react-components/src/components/Dropdown/view.tsx","webpack:///../react-components/src/components/Sorting/styles.css","webpack:///../sdk/lib/request/SmartCollection.js","webpack:///../react-components/src/components/autocomplete/ProductMatches/index.tsx","webpack:///../react-components/src/layouts/Autocomplete/Dropdown/trackPosition.ts","webpack:///../react-components/src/layouts/Autocomplete/Dropdown/styles.css","webpack:///../react-components/src/helpers/pure.ts","webpack:///../sdk/lib/request/Feedback.js","webpack:///../react-components/src/components/Button/styles.css","webpack:///../react-components/src/layouts/Search/index.tsx","webpack:///../react-components/src/components/Facet/Component.ts","webpack:///../react-components/src/components/common/VirtualizedList/index.ts","webpack:///../react-components/src/components/Tabs/view.tsx","webpack:///../react-components/src/components/Dropdown/styles.css","webpack:///../react-components/src/components/search/MobileFacets/view.tsx","webpack:///../react-components/src/components/Cards/Content/view.tsx","webpack:///../react-components/src/components/Cards/Product/Rating/view.tsx","webpack:///../react-connect/lib/connect/connectBreadcrumbs.js","webpack:///../react-components/src/components/search/MobileSorting/view.tsx","webpack:///../react-components/src/components/PoweredBy/index.ts","webpack:///../react-components/src/layouts/Recommendation/Slider/styles.css","webpack:///../react-components/src/components/search/DesktopFacets/Title.tsx","webpack:///../react-components/src/components/RangeFacet/index.ts","webpack:///../react-components/src/components/Cards/Product/Price/index.ts","webpack:///../react-components/src/components/autocomplete/SuggestionItem/view.tsx","webpack:///../react-components/src/layouts/Recommendation/Slider/view.tsx","webpack:///../react-components/src/components/Text/styles.css","webpack:///../react-components/src/layouts/Recommendation/Grid/styles.css","webpack:///../react-components/src/helpers/omit.ts","webpack:///../react-components/src/layouts/Content/index.ts","webpack:///../react-components/src/layouts/Autocomplete/Dropdown/view.tsx","webpack:///../react-components/src/layouts/Recommendation/Grid/view.tsx","webpack:///../react-components/src/components/CategoryFacet/index.ts","webpack:///../react-components/src/components/common/Drawer/index.ts","webpack:///../react-components/src/components/Cards/Product/view.tsx","webpack:///../react-components/src/helpers/bundle.tsx","webpack:///../react-components/src/components/common/Image/index.tsx","webpack:///../react-components/src/layouts/Recommendation/Swiper/view.tsx","webpack:///../react-components/src/components/common/Drawer/style.css","webpack:///../react-components/src/components/CategoryFacet/content.tsx","webpack:///../react-components/src/components/common/Sticky/styles.css","webpack:///../react-components/src/components/CategoryFacet/view.tsx","webpack:///../react-components/src/components/search/Query/index.ts","webpack:///../react-components/src/components/search/LazyResults/view.tsx","webpack:///../react-components/src/components/Text/index.ts","webpack:///../react-components/src/layouts/Content/styles.css","webpack:///../react-components/src/components/search/MobileFacets/Titles.tsx","webpack:///../react-components/src/components/Banner/index.ts","webpack:///../react-components/src/components/common/Grid/Column.tsx","webpack:///../react-components/src/components/ColorFacet/content.tsx","webpack:///../react-connect/lib/connect/createConnect.js","webpack:///../react-components/src/helpers/createPortal.ts","webpack:///../react-components/src/components/RatingFacet/content.tsx","webpack:///../react-components/src/components/common/Sticky/view.tsx","webpack:///../react-components/src/components/search/DesktopFacets/view.tsx","webpack:///../react-connect/lib/provider/index.js","webpack:///../react-connect/lib/immutable/createRecord.js","webpack:///../react-connect/lib/connect/connectSort.js","webpack:///../react-components/src/components/common/Branch/index.tsx","webpack:///../react-components/src/components/autocomplete/Tip/index.tsx","webpack:///../react-components/src/layouts/Recommendation/Swiper/index.ts","webpack:///../react-components/src/components/ColorFacet/Item.tsx","webpack:///../react-components/src/components/Breadcrumbs/view.tsx","webpack:///../react-connect/lib/utils/mapValues.js","webpack:///../react-components/src/components/CheckboxFacet/Item.tsx","webpack:///../react-components/src/components/Tabs/index.ts","webpack:///../analytics/lib/settings.js","webpack:///../react-components/src/layouts/Autocomplete/Sidebar/view.tsx","webpack:///../react-connect/lib/connect/connectConfig.js","webpack:///../react-components/src/components/common/Grid/styles.css","webpack:///../react-components/src/components/search/Query/view.tsx","webpack:///../agent/lib/types.js","webpack:///../react-components/src/components/search/MobileFacets/styles.css","webpack:///../react-components/src/layouts/Autocomplete/index.tsx","webpack:///../react-components/src/components/Cards/Content/styles.css","webpack:///../react-components/src/layouts/Tabs/view.tsx","webpack:///../react-components/src/components/search/MobileSorting/index.ts","webpack:///../react-components/src/components/Cards/Product/Price/view.tsx","webpack:///../react-components/src/components/Cards/Product/Stickers/index.tsx","webpack:///../react-components/src/components/search/StaticResults/index.ts","webpack:///../react-components/src/components/CheckboxFacet/content.tsx","webpack:///../react-components/src/components/ItemsList/view.tsx","webpack:///../agent/lib/core/Agent.js","webpack:///../react-components/src/components/CheckboxFacet/index.ts","webpack:///../react-components/src/layouts/Autocomplete/Fullscreen/index.ts","webpack:///../analytics/lib/types.js","webpack:///../react-components/src/components/search/DesktopActions/styles.css","webpack:///../react-components/src/components/search/MobileActions/view.tsx","webpack:///../react-components/src/components/autocomplete/SearchSuggestions/view.tsx","webpack:///../react-components/src/components/Sorting/index.ts","webpack:///../react-components/src/components/Cards/Product/styles.css","webpack:///../react-components/src/layouts/Tabs/styles.css","webpack:///../react-components/src/components/common/Sticky/index.ts","webpack:///../react-components/src/layouts/Recommendation/Slider/index.ts","webpack:///../react-components/src/components/search/MobileActions/styles.css","webpack:///../react-components/src/layouts/Content/view.tsx","webpack:///../react-components/src/layouts/Tabs/index.ts","webpack:///../react-components/src/components/search/Query/styles.css","webpack:///../react-components/src/components/common/Truncate/index.tsx","webpack:///../react-components/src/layouts/Autocomplete/Fullscreen/styles.css","webpack:///../react-components/src/components/Facet/view.tsx","webpack:///../react-components/src/components/Facet/index.ts","webpack:///../react-connect/lib/utils/preventEvents.js","webpack:///../react-components/src/components/PoweredBy/view.tsx","webpack:///../react-components/src/components/autocomplete/SearchSuggestions/styles.css","webpack:///../react-components/src/components/search/MobileFacets/index.ts","webpack:///../react-components/src/components/PoweredBy/styles.css","webpack:///../react-components/src/layouts/Autocomplete/Sidebar/styles.css","webpack:///../react-components/src/helpers/debounce.ts","webpack:///../react-components/src/components/common/Drawer/view.tsx","webpack:///../react-components/src/components/Sorting/view.tsx","webpack:///../react-components/src/components/CheckboxFacet/view.tsx","webpack:///../agent/lib/utils/format.js","webpack:///../analytics/lib/index.js","webpack:///../react-components/src/helpers/withColumns.ts","webpack:///../react-components/src/components/Text/view.tsx","webpack:///../sdk/lib/client/Client.js","webpack:///../react-components/src/components/CategoryFacet/styles.css","webpack:///../react-components/src/components/search/LazyResults/index.ts","webpack:///../react-components/src/components/Cards/Product/Rating/styles.css","webpack:///../react-components/src/components/ItemsList/index.tsx","webpack:///../react-components/src/layouts/Autocomplete/Fullscreen/view.tsx","webpack:///../react-components/src/components/common/MapArray/index.tsx","webpack:///../agent/lib/index.js","webpack:///../react-components/src/components/CheckboxFacet/styles.css","webpack:///../react-components/src/components/search/MobileSorting/styles.css","webpack:///../react-components/src/components/search/DesktopFacets/index.ts","webpack:///../sdk/lib/validation/common.js","webpack:///../react-components/src/components/RatingFacet/view.tsx","webpack:///../react-connect/lib/index.js","webpack:///../react-components/src/index.ts","webpack:///../react-components/src/layouts/Search/styles.css","webpack:///../react-components/src/components/autocomplete/SuggestionItem/styles.css","webpack:///../react-components/src/components/Cards/Product/Price/styles.css","webpack:///../react-components/src/layouts/Autocomplete/Sidebar/index.ts","webpack:///../react-components/src/layouts/ZeroResults/index.ts","webpack:///../agent/lib/utils/changes.js","webpack:///../sdk/lib/request/index.js","webpack:///../sdk/lib/request/params.js","webpack:///../react-components/src/components/Cards/Product/BundleAction/index.ts","webpack:///../sdk/lib/validation/index.js","webpack:///../react-components/src/components/common/Image/styles.css","webpack:///../react-components/src/layouts/Recommendation/Swiper/styles.global.css","webpack:///../react-components/src/layouts/Recommendation/Slider/Arrow.tsx","webpack:///../react-components/src/components/autocomplete/Tip/styles.css","webpack:///../react-components/src/helpers/withDrawer.ts","webpack:///../react-components/src/components/RangeFacet/Item.tsx","webpack:///../sdk/lib/response/index.js","webpack:///../sdk/lib/settings.js","webpack:///../analytics/lib/modules/storage.js","webpack:///../react-connect/lib/utils/getDisplayName.js","webpack:///../react-components/src/components/RangeFacet/styles.css","webpack:///../sdk/lib/request/Type.js","webpack:///../react-components/src/components/Cards/Product/BundleAction/view.tsx","webpack:///../react-components/src/helpers/withMinResultsToShow.tsx","webpack:///../react-components/src/components/Icon/index.ts","webpack:///../react-components/src/components/Button/index.ts","webpack:///../agent/lib/utils/deepMerge.js","webpack:///../sdk/lib/utils.js","webpack:///../sdk/lib/common/index.js","webpack:///../react-components/src/helpers/template.ts","webpack:///../react-components/src/helpers/emmiter.ts","webpack:///../react-connect/lib/immutable/item.js","webpack:///../react-components/src/helpers/formatCurrency.ts","webpack:///../react-connect/lib/provider/createProvider.js","webpack:///../react-components/src/components/Icon/styles.css","webpack:///../react-components/src/layouts/Autocomplete/withAutocompleteLogic.ts","webpack:///../react-components/src/components/Button/view.tsx","webpack:///../react-connect/lib/connect/connectPagination.js","webpack:///../react-components/src/components/RangeFacet/content.tsx","webpack:///../react-components/src/helpers/withErrorHandler.tsx","webpack:///../react-components/src/components/RatingFacet/styles.css","webpack:///../react-components/src/components/search/MobileActions/index.ts","webpack:///../react-components/src/components/common/VirtualizedList/view.tsx","webpack:///../react-components/src/components/Pagination/styles.css","webpack:///../react-connect/lib/immutable/facets.js","webpack:///../react-components/src/components/autocomplete/Tip/view.tsx","webpack:///../react-components/src/components/search/StaticResults/view.tsx","webpack:///../react-components/src/components/Cards/Product/Stickers/styles.css","webpack:///../react-components/src/components/Pagination/index.ts","webpack:///../react-components/src/layouts/ZeroResults/view.tsx","webpack:///../react-components/src/layouts/Custom/index.ts","webpack:///../react-components/src/components/ColorFacet/view.tsx","webpack:///../react-components/src/components/search/StaticResults/styles.css","webpack:///../react-components/src/components/Cards/Product/Rating/index.ts","webpack:///../react-components/src/components/Cards/Content/index.ts","webpack:///../react-components/src/components/Pagination/view.tsx","webpack:///../react-components/src/helpers/withLazy.tsx","webpack:///../react-components/src/components/Facet/styles.css","webpack:///../sdk/lib/index.js","webpack:///../react-components/src/helpers/withEvents.ts","webpack:///../react-connect/lib/connect/connectBanner.js","webpack:///../sdk/lib/common/Sort.js","webpack:///../react-components/src/components/autocomplete/SearchSuggestions/index.ts","webpack:///../react-components/src/components/search/DesktopActions/index.ts","webpack:///../react-components/src/layouts/Custom/view.tsx","webpack:///../agent/lib/utils/helpers.js","webpack:///../react-connect/lib/immutable/filters.js","webpack:///../react-connect/lib/connect/connectFacets.js","webpack:///../react-components/src/components/autocomplete/ProductMatches/styles.css","webpack:///../react-components/src/components/autocomplete/SuggestionItem/index.ts","webpack:///../react-components/src/components/ColorFacet/styles.css","webpack:///../react-components/src/components/CategoryFacet/Item.tsx","webpack:///../sdk/lib/request/Autocomplete.js","webpack:///../react-components/src/components/autocomplete/ProductMatches/view.tsx","webpack:///../react-components/src/components/Banner/view.tsx","webpack:///../agent/lib/utils/filters.js","webpack:///../analytics/lib/utils/helpers.js","webpack:///../react-connect/lib/connect/connectItems.js","webpack:///../react-components/src/components/Breadcrumbs/createBreadcrumb.tsx","webpack:///../react-components/src/components/Tabs/styles.css","webpack:///../react-components/src/components/Cards/Product/index.tsx","webpack:///../react-components/src/components/RatingFacet/Item.tsx","webpack:///../react-connect/lib/connect/connectQuery.js","webpack:///../react-components/src/components/Breadcrumbs/styles.css","webpack:///../react-components/src/layouts/Search/view.tsx","webpack:///../react-components/src/helpers/getPrice.ts","webpack:///../react-components/src/components/ColorFacet/index.ts","webpack:///../react-components/src/components/Breadcrumbs/index.ts","webpack:///../react-components/src/components/search/LazyResults/styles.css","webpack:///../react-components/src/components/Dropdown/index.ts","webpack:///../react-components/src/components/Banner/styles.css","webpack:///../analytics/lib/modules/request.js","webpack:///../sdk/lib/client/index.js","webpack:///../react-components/src/components/search/DesktopFacets/styles.css","webpack:///../react-components/src/components/common/Grid/index.tsx","webpack:///../react-components/src/components/search/DesktopActions/view.tsx","webpack:///../sdk/lib/request/Content.js","webpack:///../react-components/src/layouts/Recommendation/Grid/index.ts","webpack:///../react-components/src/helpers/withTheme.ts","webpack:///../react-components/src/layouts/ZeroResults/styles.css"],"names":["__awaiter","this","thisArg","_arguments","P","generator","Promise","resolve","reject","fulfilled","value","step","next","e","rejected","throw","result","done","then","apply","__generator","body","f","y","t","g","_","label","sent","trys","ops","verb","return","Symbol","iterator","n","v","op","TypeError","call","pop","length","push","_this","Object","defineProperty","exports","__webpack_require__","_a","debug_1","axios_1","qs","jsonp","utils_1","request_1","request","Method","POST","req","headers","response","x-key","key","Content-type","default","url","post","data","JSONP","query","stringify","addQueryPrefix","options","err","Array","send","retryTimes","retryCount","method","_reactConnect","_recompose","_withTheme","_interopRequireDefault","_withAutocompleteLogic","_view","_styles","_trackPosition","__esModule","s","compose","setDisplayName","styles","connectSuggestions","withAutocompleteLogic","trackPosition","view","helpers_1","_initial","Map","Cache","resolver","cache","debounce","invalidate","bind","prototype","purge","set","field","reset","delete","fn","wait","immediate","timeout","args","_i","arguments","ctx","clearTimeout","callNow","setTimeout","u","c","withProps","_ref","facet","config","items","get","createConnect_1","handlers","getSuggestionProps","update","analytics","meta","suggestions","index","widgetKey","getIn","onClick","preventDefault","sendEvent","suggestion","rid","window","findify","emit","module","root","/pcJ","_react","_classnames","_reactNumericInput","_MapArray","_Item","_Button","_Text","assign","r","hasOwnProperty","inputDefaults","style","mobile","theme","currencySymbol","from","to","onChangeMax","onChangeMin","onKeypress","onPressButton","createElement","className","array","filter","i","factory","Item","range","inputBlock","inputWrap","currency","_extends","input","precision","max","min","onBlur","onKeyPress","divider","submit","primary","uppercase","067f","Type","Slot","Newest","Trending","RecentlyViewed","AlsoViewed","AlsoBought","FrequentlyPurchasedTogether","Featured","0Y/9","_Grid","_Slider","_Swiper","l","connectConfig","template","Swiper","Grid","Slider","0kbf","_downshift","_Icon","item","getItemProps","highlighted","option","lowercase","_ref2","onChange","selectedItem","itemToString","_ref3","isOpen","getToggleButtonProps","highlightedIndex","select","name","arrow","dropdown","open","equals","icon","title","0w3g","172o","defaultProps","columns","connectItems","pure","o","constructor","enumerable","configurable","writable","a","setPrototypeOf","getPrototypeOf","__proto__","ReferenceError","BaseComponent","createFactory","_Component","Tracker","props","_getPrototypeOf","_defineProperty","_assertThisInitialized","ref","_ref$getBoundingClien","getBoundingClientRect","left","width","windowWidth","innerWidth","setState","position","state","create","Component","innerRef","registerComponent","1NYs","wrapper","type-title","typeTitle","suggestions-title","suggestionsTitle","trending-title","trendingTitle","overlay","not-found","notFound","start-typing","startTyping","tip","highlight","container","product-matches-container","productMatchesContainer","suggestions-container","suggestionsContainer","1X6+","_immutable","shouldUpdate","prev","keys","every","is","Event","ClickSuggestion","ClickItem","Redirect","Purchase","AddToCart","UpdateCart","ViewPage","raw","2g2b","_withEvents","_withErrorHandler","_withDrawer","_MobileFacets","_MobileSorting","_debounce","h","b","transform","O","withErrorHandler","branch","size","renderNothing","Base","_React$Component","_temp","whatever","Math","random","React","addEventListener","removeEventListener","isMobile","filtersOnRight","withDrawer","MobileFacets","MobileSorting","showMobileFacets","_ref4","showModal","showMobileSort","_ref5","hideMobileFacets","_ref6","hideModal","hideMobileSort","_ref7","_CheckboxFacet","_RangeFacet","_RatingFacet","_ColorFacet","_CategoryFacet","getComponent","type","text","TextFacet","RangeFacet","rating","RatingFacet","price","color","ColorFacet","category","CategoryFacet","withPropsOnChange","facetConfig","merge","component","componentFromProp","30m+","_CellMeasurer","getOwnPropertySymbols","concat","getOwnPropertyDescriptor","forEach","d","p","m","viewFactory","List","CellMeasurerCache","fixedWidth","autoSizer","_onResize","list","target","scrollTop","scrollLeft","handleScrollEvent","parent","_this$props","rest","indexOf","propertyIsEnumerable","_objectWithoutProperties","CellMeasurer","columnIndex","rowIndex","measure","_objectSpread","hashCode","rowRenderer","initAutoSizer","initList","handleScroll","_Dropdown","withHandlers","disabled","active","tab","MobileDropdown","children","selectedIndex","fromJS","Children","toArray","map","onTabClick","_ref6$isMobile","Fragment","child","idx","39Oy","_Branch","_Titles","FacetContent","isExpanded","expand","expandedList","facets","activeFacet","selectFacet","onReset","total","filtersSelected","modal","header","secondary","filterCount","backButton","condition","right","FacetTitles","footer","3K6z","_Image","_Truncate","Title","Description","description","id","html","href","imageWrap","image","aspectRatio","src","alt","linkIcon","replace","slice","3eUF","itemsArray","count","stars","star","filled","mode","3qSu","filters_1","immutable_1","createFilters","filters","updater","Filter","mapProps","has","onClearAll","3r6Z","setSorting","4L9m","scrollBarContainer","scrollBar","4Rvm","hidable","onHide","marginLeft","hide","4g+c","_currencyFormatter","findCurrency","symbol","withStateHandlers","parseFloat","isNaN","onCommit","_ref8","_ref9","join","setValue","_ref10","_ref11","_ref12","_getPrice","discount","oldPrice","hasDiscount","priceIsSampleArray","hasCompare","_classnames2","_escapeRegExp","isTrendingSearches","withIcon","trending","height","dangerouslySetInnerHTML","__html","regexp","RegExp","highlightedText","8BDN","_reactSlick","_Product","touchState","firstClientX","touches","clientX","firstClientY","clientY","abs","returnValue","touchStart","preventTouch","passive","provideRef","sliderOptions","_mountSlider","8DFY","primary-uppercase","primaryUppercase","primary-lowercase","primaryLowercase","secondary-uppercase","secondaryUppercase","secondary-lowercase","secondaryLowercase","bold","inlineBlock","8EDo","8P5a","obj","_Tip","_ProductMatches","_SearchSuggestions","LayoutColumns","SearchSuggestions","searchSuggestions","ProductMatches","productMatches","SearchOrZero","selectedSuggestion","keyAccessor","closeAutocomplete","data-findify-autocomplete","tabIndex","9/O+","Product","94ZJ","onToggle","reduce","acc","_style","_Rating","_Price","_template","_Stickers","_BundleAction","simple","productCard","thumbnail","DiscountSticker","discountSticker","variants","content","priceWrapper","toJS","OutOfStockSticker","9Lb0","connectBundle","provideBundle","_propTypes","identity","getInitialItems","_class","Provider","_getPrototypeOf2","_len","_key","inBundle","updateBundle","object","isRequired","func","getContext","prefetchImage","includes","img","Image","LazyRenderer","setReady","offset","node","callback","rect","top","bottom","innerHeight","document","documentElement","clientHeight","clientWidth","lazy","original","ready","stage","setSrc","setThumbnail","_ref6$fetchImage","fetchImage","_classNames","isFixedRatio","isFinite","croppedRoot","loading","renderComponent","backgroundImage","paddingBottom","backgroundPosition","_custom","ABws","body-no-scroll","bodyNoScroll","backdrop","AFLW","Byd8","static","stuck","sticky","CA7k","resetValues","find","limit","CanB","connectQuery","_ref$card","card","ProductCard","onLoadNext","onLoadPrev","displayNextButton","displayPrevButton","prevButton","nextButton","Cx2C","Boolean","charAt","toUpperCase","D5tF","withClickHandler","FacetLabel","isTextFacet","selectedValues","facetTitle","flexFix","connectBanner","column","columnClass","columnStyle","toLowerCase","ball","background","extendStatics","__extends","__","__assign","react_1","getDisplayName_1","mapValues_1","createProvider_1","memoize_one_1","createComponent","feature","_b","storeKey","displayName","getDisplayName","Connect","_super","cachedHandlers","handleUpdate","changes","direct","mapped","changeAction","createHandler","handlerName","cachedHandler","handler","makeHandlers","$store","agent","Error","componentWillMount","on","componentWillUnmount","off","shouldComponentUpdate","nextProps","nextState","componentWillReceiveProps","render","Context","Consumer","agents","connector","_reactDom","createRoot","div","appendChild","Portal","element","removeChild","createPortal","portal","extraProps","isArray","toString","_toConsumableArray","unfilled","registerRoot","registerContainer","registerSizer","_Facet","_Sticky","titles","DefaultContent","hideFacets","visible","Sticky","Facet","HNYQ","Autocomplete","createProvider","Search","SmartCollection","Recommendation","Content","I1/Z","empty","ExtendableRecord","immutable","upd","toObject","Record","selected","onChangeSort","order","JH01","_reactSizeme","_withMinResultsToShow","instance","initial","slidesPerView","navigation","nextEl","prevEl","_content","toggle","check","LM93","_createBreadcrumb","_content2","_content3","_content4","Breadcrumb","CheckboxContent","RangeContent","ColorContent","RatingContent","onItemClick","evt","M4pq","Tab","Tabs","_ref$selectedIndex","bodyCandidate","cloneElement","changeTab","MIj/","env","staging","searchApiUrl","bigcommerceTrackingUrl","production","process","HOT","BROWSER","NODE_ENV","FINDIFY_ENV","Meeq","_Drawer","stopImmediatePropagation","mounted","relatedTarget","isFocused","el","handleExited","handleFocusOut","focus","_this2","onSubmit","handleSubmit","defaultValue","getInputRef","handleInputChange","placeholder","icons","searchIcon","iconDivider","xIcon","suggestionsWrapper","MjMa","N+yB","column-1","column1","column-2","column2","column-3","column3","column-4","column4","column-5","column5","column-6","column6","column-7","column7","column-8","column8","column-9","column9","column-10","column10","column-11","column11","column-12","column12","NBTU","_escape","hasFilters","tpls","q","Request","RequestBody","Body","RequestType","response_1","ResponseBody","ResponseMeta","Meta","Field","Filters","Query","Sort","Offset","Limit","Facets","filter-count","back-button","facet-title","flex-fix","selected-values","expanded-list","facet-root","facetRoot","Ne2L","_createPortal","_Sidebar","_Fullscreen","LayoutTypes","Dropdown","sidebar","Sidebar","fullscreen","Fullscreen","renderView","data-findify-autocomplete-wrapper","viewType","image-wrap","NxDn","widgets","_pure","connectSort","labels","salePrice","getPrice","compare","ObWi","defaultDiscountConfig","single","multiple","fontFamily","fontSize","fontWeight","defaultOutOfStockConfig","realConfig","outOfStockSticker","OoNd","_withColumns","P8wK","ItemFactory","_ref$wrapper","Wrapper","wrapperProps","Types","sdk_1","Cache_1","changes_1","format_1","deepMerge_1","pickConfigProps","onError","Agent","_defaults","oldValue","fx","isFunction","format","getChangedFields","isImmutable","isEmpty","fireEvent","handleResponse","provider","init","defaults","noInitialRequest","split","event","path","action","applyState","handleChanges","old","res","newState","queryToState","createRequestBody","mergeDeep","params","stateToQuery","catch","error","console","warn","search","onSearch","test","EventName","clickSuggestion","clickItem","redirect","purchase","addToCart","updateCart","viewPage","block","sorting","breadcrumbs","show-facets","showFacets","Q9UT","_Query","isCollection","showSort","bottomRow","button","facetCount","QGrJ","_SuggestionItem","R74m","price-wrapper","out-of-stock","outOfStock","discount-sticker","Rltm","S/Fd","applyStyles","removeAttribute","sizer","_this$props$offset","_this$props$minHeight","minHeight","rootBound","containerBound","maxHeight","_Arrow","countProductsToShow","scrollToLast","slickGoTo","scrollToFirst","swipeToSlide","infinite","slidesToScroll","arrows","slidesToShow","nextArrow","renderArrow","prevArrow","bottom-row","facet-count","SuSh","_LazyResults","_Content","ContentCard","TQVE","TWYf","FacetComponent","toggleFacet","Tffv","facetType","showFacet","hideFacet","preventEvents","UD93","UqoH","connectFacets","clear","V6UN","search-icon","x-icon","icon-divider","suggestions-wrapper","body-noscroll","bodyNoscroll","VPMo","VjZN","_reactSpring","DrawerView","close","originalScrollTop","scrollY","querySelector","classList","add","handleEscapeKeypress","requestAnimationFrame","remove","scrollTo","_this3","_this$props2","Spring","opacity","easing","Function","_VirtualizedList","Wc6y","formatFilters","values","getFacetType","first","toList","keySeq","nextField","nextFilter","nextFilterName","hasIn","__rest","change_emitter_1","storage_1","settings_1","types_1","emitter","createChangeEmitter","events","getUser","uid","sid","persist","exist","listen","platform","_request","useCookie","endpoint","force","memoize","properties","location","referrer","screen","user","eventsToFire","shallowEqual","cart","bigcommerce","memorized","defaultColumnsMapper","columnsMapper","baseComponent","String","_ref$component","API","validation_1","Req","Client","opts","buildRequest","getEndpoint","getUrl","getRequestBody","getOptions","slot","Recommendations","getRecommendationsEndpoint","Feedback","getRecommendationUrl","item_id","item_ids","getRecommendationsParams","common","getCommonParams","specific","getSpecificParams","validateUser","t_client","Date","now","log","pathParams","omitParams","ks","omit","nested","YeDN","_withLazy","ZJwZ","ZWvu","defaultKeyAccessor","_ref$keyAccessor","Agent_1","ZtWM","a/Z6","common_1","validatePresence","trim","validateFilters","validateSortings","sortings","sort","SortingOrder","validateList","validateLineItems","unit_price","quantity","index_1","AutocompleteProvider","index_2","SearchProvider","index_3","RecommendationProvider","index_4","ContentProvider","index_5","SmartCollectionProvider","createConnect","connectSuggestions_1","connectItems_1","connectBreadcrumbs_1","connectBreadcrumbs","connectFacets_1","connectPagination_1","connectPagination","connectSort_1","connectQuery_1","connectConfig_1","connectBanner_1","_Autocomplete","_Recommendation","_Search","_ZeroResults","_Tabs","_Custom","_Tabs2","_exportNames","c/vA","cln/","sale-price","cyJn","match","Params","Type_1","eGlL","_bundle","stopPropagation","howToGetMerchantKey","validateConfig","isBrowserEnv","validateAutocomplete","validateSearch","validateSmartCollection","validateRecommendations","validateFeedback","order_id","revenue","line_items","enIz","swiper-preloader-spin","swiperPreloaderSpin","foFc","_omit","Arrow","defaultOnClick","dir","fuLC","drawer","Drawer","modalName","modalComponent","renderTo","componentFactory","baseFactory","gYkM","gtf0","jsonpCallback","development","store","expire","addPlugin","symbols","generateId","global","cookie","str","uniqKey","visitKey","cartKey","ctKey","read","write","permanent","ttl","getTime","hopa","input-block","input-wrap","i7z3","irRO","minResultsToShow","shouldShow","k19o","Fire","Minus","Plus","Sorting","CheckmarkDark","Star","XDark","XMobile","RadioEmpty","RadioFilled","ArrowBack","ArrowDown","ArrowUp","ArrowLeft","ArrowRight","ArrowLeftBig","ArrowRightBig","CheckboxFilled","CheckboxEmpty","ExternalLink","iterate","_path","deleteIn","isMap","setIn","withMutations","k","filtered","retry","Sort_1","_unescape","selector","tpl","kNe7","emmiter","isSubscribed","subscribe","addListeners","getListeners","createRecord_1","preventEvents_1","navigate","openInNewWindow","ctrlKey","metaKey","variant_item_id","_accounting","formatMapping","symbolOnLeft","spaceBetweenAmountAndSymbol","pos","neg","zero","defaultCurrency","thousandsSeparator","decimalSeparator","decimalDigits","accounting","formatMoney","Agents","analytics_1","prop_types_1","createContext","onCreate","setQuery","apiKey","_config","analyticsConfig","forceUpdate","componentDidMount","onChangeQuery","onChangeMeta","PureComponent","propTypes","string","oneOfType","number","lrOp","autocompleteLogic","changeSuggestionIndex","newSuggestionIndex","totalSuggestions","setSuggestionIndex","lifecycle","autocomplete","pages","Range","ceil","current","getPageProps","page","mOL7","_formatCurrency","ErrorBoundary","info","checkbox","nDDm","_AutoSizer","_List","_reactCustomScrollbars","AutoSizer","Scrollbars","autoHide","onScroll","rowCount","overscanRowCount","rowHeight","overflowX","nOGD","last","dots","nPXS","debounce_1","getFacetValue","updateFilters","filterName","_value","isSelected","isCategory","_fName","Number","removeIn","FacetValue","suggestionProps","nVAD","_ItemsList","_PoweredBy","_Pagination","nh+d","out-of-stock-sticker","njWG","_range","showFirst","showLast","showFirstDots","showLastDots","showPrev","showNext","visiblePages","sorryRow","sorry","productRecommendationRow","productRecommendation","toLocaleLowerCase","oklL","pbsH","createRange","Lazy","ranges","pending","autoLoadCount","moreAllowed","disableAutoLoad","nextItems","append","newRange","_items","insert","_this$state","lessAllowed","firstRange","lastRange","pq5U","q5l8","client_1","R","settings","cfg","setDefaults","_emmiter","Events","_args","_len2","_key2","removeListener","r50I","Asc","Desc","facetsVisible","rj/w","isObject","sIRo","FilterValue","facets_1","patchFacets","product-card","grid-column-class","gridColumnClass","view-more-button","viewMoreButton","sgqn","srF2","svlw","t7Qm","productCardFactory","tAWS","BannerComponent","banner","tS9N","objA","objB","keysA","keysB","hasOwn","u/9Y","item_1","change","mapping","_type","breadcrumb","cross","uW8t","uqgh","v2t0","vKfR","_StaticResults","_DesktopFacets","_MobileActions","_DesktopActions","_Banner","mobileFacetsOpened","MobileActions","DesktopActions","LazyResults","StaticResults","vLYY","arrayOrImmutableList","candidate","maybeImmutablePrice","vjze","next-button","prev-button","x+GI","xDwg","qs_1","ImageRequest","onload","onerror","BeaconRequest","navigator","sendBeacon","JSON","xHQL","Client_1","xlCz","_Column","classNames","Column","_Breadcrumbs","_Sorting","yKE/","yi8E","filterRoot","entries","_slicedToArray","previous","getTheme","defaultTheme","themeFilter","themeRootOverride","x","_possibleConstructorReturn","cachedTheme","zJkF","suggestionsRow"],"mappings":"6FACA,IAAAA,EAAAC,WAAAD,WAAA,SAAAE,EAAAC,EAAAC,EAAAC,GACA,WAAAD,MAAAE,UAAA,SAAAC,EAAAC,GACA,SAAAC,EAAAC,GAAmC,IAAMC,EAAAN,EAAAO,KAAAF,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,KAAKiQ,OAAO9F,MAAOnK,KAAKs/C,qCAbtEl6B,EAAA,MAAAm6B,KAAA,SAAA3+C,EAAAW,GChBJ4H,EAAAtG,SACA+0C,MAAA,uCACA4H,eAAA","file":"components.js","sourcesContent":["\"use strict\";\nvar __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : new P(function (resolve) { resolve(result.value); }).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nvar __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (_) try {\n if (f = 1, y && (t = y[op[0] & 2 ? \"return\" : op[0] ? \"throw\" : \"next\"]) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [0, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n};\nvar _this = this;\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/fn/promise\");\nvar debug_1 = require(\"debug\");\nvar axios_1 = require(\"axios\");\nvar qs = require(\"qs\");\nvar jsonp = require('jsonp');\nvar utils_1 = require(\"./utils\");\nvar request_1 = require(\"./request\");\nvar sendJSONP = function (req) {\n var query = qs.stringify(req.body, { addQueryPrefix: true });\n var url = \"\" + req.url + query;\n return new Promise(function (resolve, reject) {\n debug_1.default('sdk:api:jsonp')('url: ', url);\n debug_1.default('sdk:api:jsonp')('options: ', req.options);\n jsonp(url, req.options, function (err, data) {\n if (err) {\n reject(err);\n }\n else if (typeof data === 'object' && !(data instanceof Array)) {\n resolve(data);\n }\n else {\n resolve();\n }\n });\n });\n};\nvar sendPOST = function (req) { return __awaiter(_this, void 0, void 0, function () {\n var headers, response;\n return __generator(this, function (_a) {\n switch (_a.label) {\n case 0:\n headers = {\n 'x-key': req.body.key,\n 'Content-type': 'application/json',\n };\n debug_1.default('sdk:api:post')('url: ', req.url);\n debug_1.default('sdk:api:post')('body: ', req.body);\n debug_1.default('sdk:api:post')('headers: ', headers);\n return [4, axios_1.default.post(req.url, req.body, { headers: headers })];\n case 1:\n response = _a.sent();\n debug_1.default('sdk:api:post')('response: ', response);\n return [2, response.data];\n }\n });\n}); };\nvar request = (_a = {},\n _a[request_1.Method.POST] = sendPOST,\n _a[request_1.Method.JSONP] = sendJSONP,\n _a);\nexports.send = function (req) {\n return utils_1.retryTimes(req.retryCount, function () { return request[req.method](req); });\n};\nvar _a;\n//# sourceMappingURL=api.js.map","/**\n * @module layouts/Autocomplete/Dropdown\n */\nimport React from 'react';\nimport { connectConfig, connectSuggestions } from '@findify/react-connect';\nimport { compose, defaultProps, setDisplayName, lifecycle, withStateHandlers } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport withAutocompleteLogic from 'layouts/Autocomplete/withAutocompleteLogic';\nimport view from 'layouts/Autocomplete/Dropdown/view';\nimport styles from 'layouts/Autocomplete/Dropdown/styles.css';\nimport trackPosition from './trackPosition';\n\nexport default compose(\n setDisplayName('Dropdown'),\n withTheme(styles),\n connectSuggestions,\n withAutocompleteLogic,\n trackPosition\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar helpers_1 = require(\"../utils/helpers\");\nvar immutable_1 = require(\"immutable\");\nvar _initial = immutable_1.Map();\n/**\n * The main idea behind Cache is ability to keep\n * latest request state, which lead to current response\n * We may use this in Agent for validating, whether we need to run a request,\n * whether the request state has changed and how did it change\n */\nvar Cache = /** @class */ (function () {\n function Cache(resolver) {\n this.cache = _initial;\n this.resolve = helpers_1.debounce(this.invalidate);\n this.resolver = resolver;\n this.invalidate = this.invalidate.bind(this);\n }\n /**\n * Forces re-caching and clears the cache\n */\n Cache.prototype.invalidate = function () {\n this.resolver(this.cache);\n this.purge();\n };\n /**\n * Used to cache new request parameter\n * @param field field to cache\n * @param value value to cache\n */\n Cache.prototype.set = function (field, value) {\n this.cache = this.cache.set(field, value);\n this.resolve();\n };\n /**\n * Resets cache field to initial value, and then forces re-caching\n * If no field is provided, resets the cache to pre-initialized empty immutable.Map()\n * @param field field to reset\n */\n Cache.prototype.reset = function (field) {\n if (!field) {\n this.cache = _initial;\n }\n else {\n this.cache = this.cache.delete(field);\n }\n this.resolve();\n };\n Cache.prototype.purge = function () {\n this.cache = _initial;\n };\n return Cache;\n}());\nexports.Cache = Cache;\n//# sourceMappingURL=Cache.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (fn, wait, immediate) {\n if (wait === void 0) { wait = 0; }\n if (immediate === void 0) { immediate = false; }\n var timeout;\n return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var ctx = this;\n clearTimeout(timeout);\n var callNow = immediate && !timeout;\n timeout = setTimeout(function () {\n timeout = null;\n return !immediate && fn.apply(ctx, args);\n }, wait);\n return callNow && fn.apply(ctx, args);\n };\n});\n//# sourceMappingURL=debounce.js.map","/**\n * @module components/RatingFacet\n */\nimport React from 'react';\nimport { compose, withStateHandlers, withProps, setDisplayName } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport template from 'helpers/template';\n\nimport view from 'components/RatingFacet/view';\nimport styles from 'components/RatingFacet/styles.css';\n\nconst createKey = (...args) => args.join('_')\nexport default compose(\n setDisplayName('RatingFacet'),\n\n withTheme(styles),\n\n withProps(({ facet, config }) => ({\n items: facet.get('values')\n }))\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'suggestions',\n handlers: {\n getSuggestionProps: function (_a) {\n var update = _a.update, analytics = _a.analytics, meta = _a.meta, suggestions = _a.suggestions;\n return function (index, widgetKey) {\n if (widgetKey === void 0) { widgetKey = ''; }\n var value = suggestions.getIn([index, 'value']);\n return {\n key: value,\n onClick: function (e) {\n if (e)\n e.preventDefault();\n update('q', value);\n analytics.sendEvent('click-suggestion', {\n suggestion: value,\n rid: meta.get('rid'),\n });\n window.findify.emit('autocompleteFocusLost', widgetKey);\n window.findify.emit('search', widgetKey, value);\n }\n };\n };\n }\n }\n});\n//# sourceMappingURL=connectSuggestions.js.map","module.exports = {\n\t\"root\": \"findify-layouts--custom\"\n};","/**\n * @module components/RangeFacet\n */\n\nimport React, { InputHTMLAttributes } from 'react';\nimport cx from 'classnames';\nimport NumberInput from 'react-numeric-input';\n\nimport MapArray from 'components/common/MapArray';\nimport Item from 'components/RangeFacet/Item';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport { ThemedSFCProps, IFacet, IFacetValue, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\n\n/** Input default styling parameters */\nconst inputDefaults = {\n style: false,\n mobile: false,\n};\n\nexport interface IRangeFacetProps extends ThemedSFCProps {\n /** Facet to extract values from */\n facet: IFacet;\n /** Facet values */\n items: List<IFacetValue>;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Currency symbol */\n currencySymbol: string;\n /** Minimum possible price */\n from: number;\n /** Maximum possible price */\n to: number;\n /** Invoked when maximum range is changed */\n onChangeMax: (evt?: React.ChangeEvent<any>) => any;\n /** Invoked when minimum range is changed */\n onChangeMin: (evt?: React.ChangeEvent<any>) => any;\n /** Invoked when any key in any input is pressed, used to react to Enter */\n onKeypress: (evt: any) => any\n /** Invoked when Go button is pressed */\n onPressButton: () => any\n}\n\nconst RangeFacetView: React.SFC<IRangeFacetProps> = ({\n theme,\n facet,\n items,\n config,\n currencySymbol,\n\n from,\n to,\n\n onChangeMax,\n onChangeMin,\n onKeypress,\n onPressButton,\n\n}: IRangeFacetProps) =>\n<div className={theme.root}>\n\n <MapArray\n display-if={config.get('pullSelected')}\n array={config.get('pullSelected') ? items.filter(i => i.get('selected')) : items}\n factory={Item}\n config={config}\n theme={theme} />\n\n <MapArray\n array={config.get('pullSelected') ? items.filter(i => !i.get('selected')) : items}\n factory={Item}\n config={config}\n theme={theme} />\n\n <div className={cx(theme.range, theme.inputBlock)}>\n <div className={theme.inputWrap}>\n <span className={theme.currency}>{currencySymbol}</span>\n <NumberInput\n {...inputDefaults}\n className={theme.input}\n precision={config.get('precision', 0)}\n value={from}\n max={to || facet.get('max')}\n min={facet.get('min')}\n onBlur={onChangeMin}\n onKeyPress={onKeypress}\n />\n </div>\n <div className={theme.divider}>-</div>\n <div className={theme.inputWrap}>\n <span className={theme.currency}>{currencySymbol}</span>\n <NumberInput\n {...inputDefaults}\n className={theme.input}\n precision={config.get('precision', 0)}\n value={to}\n min={from || facet.get('min')}\n max={facet.get('max')}\n onBlur={onChangeMax}\n onKeyPress={onKeypress}\n />\n </div>\n <Button onClick={onPressButton} className={theme.submit}>\n <Text primary uppercase>\n { config.getIn(['i18n', 'submit']) }\n </Text>\n </Button>\n </div>\n\n</div>\n\nexport default RangeFacetView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Type;\n(function (Type) {\n Type[\"Slot\"] = \"slot\";\n Type[\"Newest\"] = \"newest\";\n Type[\"Trending\"] = \"trending\";\n Type[\"RecentlyViewed\"] = \"latest\";\n Type[\"AlsoViewed\"] = \"viewed\";\n Type[\"AlsoBought\"] = \"bought\";\n Type[\"FrequentlyPurchasedTogether\"] = \"purchasedTogether\";\n Type[\"Featured\"] = \"featured\";\n})(Type = exports.Type || (exports.Type = {}));\n//# sourceMappingURL=Recommendations.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=Search.js.map","/**\n * @module layouts/Recommendation\n */\n\nimport { createElement } from 'react';\nimport { connectConfig } from '@findify/react-connect';\n\nimport Grid from 'layouts/Recommendation/Grid';\nimport Slider from 'layouts/Recommendation/Slider';\nimport Swiper from 'layouts/Recommendation/Swiper';\n\n/**\n * HOC that decides, which style recommendation to use,\n * based on configuration\n */\nconst Recommendation = connectConfig(({ config }) => {\n const template = config.get('template');\n if (template === 'swiper') return createElement(Swiper);\n if (template === 'grid') return createElement(Grid);\n if (template === 'slider') return createElement(Slider);\n return null;\n});\n\nexport default process.env.HOT\n ? require('react-hot-loader').hot(module)(Recommendation)\n : Recommendation;\n","/**\n * @module components/Dropdown\n */\n\nimport React from 'react';\nimport cx from 'classnames';\nimport Downshift from 'downshift';\nimport MapArray from 'components/common/MapArray';\nimport Icon from 'components/Icon';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport { MJSValue, ThemedSFCProps, ClassnamedProps } from 'types';\nimport { List, Map } from 'immutable'\n\n/** Props that Dropdown Item accepts */\nexport interface IDropdownItemProps extends ThemedSFCProps {\n /** Item can be basically any immutable.Map(), that has 'label' attribute */\n item: Map<string, MJSValue>\n /** Index is item's current index in array of elements */\n index: number;\n /** Current highlighted index */\n highlighted: number;\n /** getItemProps is a method passed down to receive additional props for item from Downshift */\n getItemProps: (item: { item: Map<string, MJSValue> }) => { [x: string]: any };\n}\n\nconst Item = ({ item, index, getItemProps, highlighted, theme }: IDropdownItemProps) => (\n <Button\n className={cx(theme.option, highlighted === index && theme.highlighted)}\n {...getItemProps({ item })}>\n <Text primary lowercase>\n { item.get('label') }\n </Text>\n </Button>\n);\n\n/** Props that Dropdown accepts */\nexport interface IDropdownProps extends ClassnamedProps, ThemedSFCProps {\n /** onChange function for Downshift */\n onChange: (x: any) => any\n /** List of items */\n items: List<Map<string, MJSValue>>\n /** Currently active item */\n selectedItem: Map<string, MJSValue>\n}\n\nconst DropdownView = ({ onChange, items, selectedItem, theme, className }: IDropdownProps) =>\n<Downshift\n onChange={onChange}\n selectedItem={selectedItem || items.get(0)}\n itemToString={i => i.get('label')}>\n {\n ({ isOpen, selectedItem, getToggleButtonProps, getItemProps, highlightedIndex }) => (\n <div className={cx(theme.root, className)}>\n <Button {...getToggleButtonProps()} className={theme.select}>\n <Text primary lowercase>\n { selectedItem.get('label') }\n </Text>\n <Icon name='ArrowDown' className={theme.arrow}/>\n </Button>\n <div className={cx(theme.dropdown, { [theme.open]: isOpen })} >\n <MapArray\n theme={theme}\n highlighted={highlightedIndex}\n getItemProps={getItemProps}\n array={items.filter(i => !i.equals(selectedItem))}\n factory={Item} />\n </div>\n </div>\n )\n }\n </Downshift>\n\nexport default DropdownView;\n","module.exports = {\n\t\"root\": \"findify-components--sorting\",\n\t\"icon\": \"findify-components--sorting__icon\",\n\t\"title\": \"findify-components--sorting__title\",\n\t\"dropdown\": \"findify-components--sorting__dropdown\"\n};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=SmartCollection.js.map","/**\n * @module components/autocomplete/ProductMatches\n */\n\nimport React from 'react';\nimport {\n compose,\n mapProps,\n setDisplayName,\n defaultProps,\n withPropsOnChange,\n pure\n} from 'recompose';\nimport { connectItems, connectSuggestions } from '@findify/react-connect';\nimport sizeMe from 'react-sizeme';\nimport view from 'components/autocomplete/ProductMatches/view';\nimport styles from 'components/autocomplete/ProductMatches/styles.css';\nimport withTheme from 'helpers/withTheme';\n\n\n/**\n * @deprecated\n */\nconst countColumns = width => {\n if (width > 1900) return 8;\n if (width > 1100) return 6;\n if (width > 700) return 4;\n if (width > 400) return 3;\n return 2;\n};\n\n\nexport default compose(\n setDisplayName('ProductMatches'),\n defaultProps({ columns: 3 }),\n withTheme(styles),\n /*\n sizeMe({ refreshRate: 100, refreshMode: 'debounce' }),\n withPropsOnChange(['size'], ({ size }) => ({\n columns: countColumns(size.width),\n })),*/\n connectSuggestions,\n connectItems,\n pure,\n)(view);\n","import React, { createFactory, Component } from \"react\";\nimport { basename } from \"path\";\n\n\nexport default BaseComponent => {\n const factory: any = createFactory(BaseComponent);\n return class Tracker extends Component<any, any>{\n constructor(props) {\n super(props);\n this.state = { position: props.config.get('position') || 'left' }\n }\n \n registerComponent = (ref) => {\n if (!ref) return;\n const { left, width } = ref.getBoundingClientRect();\n const windowWidth = window.innerWidth;\n this.setState({ position: windowWidth < (left + width) ? 'right' : 'left' })\n }\n \n render() {\n return factory({\n ...this.props,\n position: this.state.position,\n innerRef: !this.props.config.get('position') ? this.registerComponent : undefined\n })\n }\n }\n}\n","module.exports = {\n\t\"root\": \"findify-layouts--autocomplete--dropdown\",\n\t\"wrapper\": \"findify-layouts--autocomplete--dropdown__wrapper\",\n\t\"type-title\": \"findify-layouts--autocomplete--dropdown__type-title\",\n\t\"typeTitle\": \"findify-layouts--autocomplete--dropdown__type-title\",\n\t\"suggestions-title\": \"findify-layouts--autocomplete--dropdown__suggestions-title\",\n\t\"suggestionsTitle\": \"findify-layouts--autocomplete--dropdown__suggestions-title\",\n\t\"trending-title\": \"findify-layouts--autocomplete--dropdown__trending-title\",\n\t\"trendingTitle\": \"findify-layouts--autocomplete--dropdown__trending-title\",\n\t\"overlay\": \"findify-layouts--autocomplete--dropdown__overlay\",\n\t\"not-found\": \"findify-layouts--autocomplete--dropdown__not-found\",\n\t\"notFound\": \"findify-layouts--autocomplete--dropdown__not-found\",\n\t\"start-typing\": \"findify-layouts--autocomplete--dropdown__start-typing\",\n\t\"startTyping\": \"findify-layouts--autocomplete--dropdown__start-typing\",\n\t\"tip\": \"findify-layouts--autocomplete--dropdown__tip\",\n\t\"highlight\": \"findify-layouts--autocomplete--dropdown__highlight\",\n\t\"container\": \"findify-layouts--autocomplete--dropdown__container\",\n\t\"product-matches-container\": \"findify-layouts--autocomplete--dropdown__product-matches-container\",\n\t\"productMatchesContainer\": \"findify-layouts--autocomplete--dropdown__product-matches-container\",\n\t\"suggestions-container\": \"findify-layouts--autocomplete--dropdown__suggestions-container\",\n\t\"suggestionsContainer\": \"findify-layouts--autocomplete--dropdown__suggestions-container\"\n};","import React from 'react';\nimport { compose, shouldUpdate, setDisplayName, ComponentEnhancer } from 'recompose';\nimport { is, isImmutable } from 'immutable';\n\nexport default compose(\n setDisplayName('Pure'),\n shouldUpdate((prev, next) =>\n !Object.keys(next).every(key => is(next[key], prev[key]))\n )\n)\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Event;\n(function (Event) {\n Event[\"ClickSuggestion\"] = \"click-suggestion\";\n Event[\"ClickItem\"] = \"click-item\";\n Event[\"Redirect\"] = \"redirect\";\n Event[\"Purchase\"] = \"purchase\";\n Event[\"AddToCart\"] = \"add-to-cart\";\n Event[\"UpdateCart\"] = \"update-cart\";\n Event[\"ViewPage\"] = \"view-page\";\n})(Event = exports.Event || (exports.Event = {}));\n//# sourceMappingURL=Feedback.js.map","module.exports = {\n\t\"root\": \"findify-components--button\",\n\t\"raw\": \"findify-components--button__raw\"\n};","/**\n * @module layouts/Search\n */\n\nimport React, { createElement } from 'react';\nimport { compose, withProps, withStateHandlers, setDisplayName, branch, withHandlers, renderNothing, lifecycle } from 'recompose';\nimport { connectItems } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport withEvents from 'helpers/withEvents';\nimport withErrorHandler from 'helpers/withErrorHandler';\nimport { withDrawer } from \"helpers/withDrawer\";\nimport MobileFacets from 'components/search/MobileFacets';\nimport MobileSorting from 'components/search/MobileSorting';\nimport view from 'layouts/Search/view';\nimport styles from 'layouts/Search/styles.css';\nimport { debounce } from 'helpers/debounce';\n\n\nconst transform = {\n from: { transform: `translate3d(-100%, 0, 0)` },\n to: { transform: `translate3d(0%, 0, 0)` },\n}\n\nconst Search = compose(\n setDisplayName('Search'),\n\n withTheme(styles),\n\n withErrorHandler,\n\n connectItems,\n\n branch(\n ({ items }) => !items.size,\n renderNothing\n ),\n\n Base => class extends React.Component<any, any> {\n constructor(props) {\n super(props);\n this.state = { whatever: -1 };\n this.update = debounce(this.update, 100);\n }\n\n componentDidMount() {\n window.addEventListener('resize', this.update)\n }\n\n componentWillUnmount() {\n window.removeEventListener('resize', this.update)\n }\n\n update = () =>\n this.setState({ whatever: Math.random() })\n\n render() {\n return <Base {...this.props} />\n }\n },\n\n withProps(({ config }) => ({\n isMobile: config.get('forceMobile') || window.innerWidth <= config.get('mobileBreakpoint'),\n filtersOnRight: config.get('filtersOnRight')\n })),\n\n branch(\n ({ isMobile }) => isMobile,\n compose(\n withProps({ theme: {} }),\n withDrawer('Filters', MobileFacets, transform),\n withDrawer('Sorting', MobileSorting, transform),\n withEvents({\n showMobileFacets: ({ showModal }) => () => showModal('Filters'),\n showMobileSort: ({ showModal }) => () => showModal('Sorting'),\n hideMobileFacets: ({ hideModal }) => () => hideModal('Filters'),\n hideMobileSort: ({ hideModal }) => () => hideModal('Sorting'),\n })\n )\n )\n)(view);\n\nexport default process.env.HOT\n ? require('react-hot-loader').hot(module)(Search)\n : Search;\n","/**\n * @module components/Facet\n */\nimport React from 'react';\nimport { compose, withPropsOnChange, componentFromProp, renderComponent } from 'recompose';\nimport TextFacet from 'components/CheckboxFacet';\nimport RangeFacet from 'components/RangeFacet';\nimport RatingFacet from 'components/RatingFacet';\nimport ColorFacet from 'components/ColorFacet';\nimport CategoryFacet from 'components/CategoryFacet';\nimport { FilterType } from 'types';\n\n/**\n * Function, that takes one of filter types and returns facet component for it\n * @param type Filter type to fetch facet component for\n */\nexport const getComponent = (type: FilterType) => ({\n text: TextFacet,\n range: RangeFacet,\n rating: RatingFacet,\n price: RangeFacet,\n color: ColorFacet,\n category: CategoryFacet\n}[type] || (() => null));\n\nexport default compose<any, any>(\n withPropsOnChange(['config', 'type'], ({ config, facet }) => {\n const name = facet.get('name');\n const type = config.getIn(['facets', 'types', name]) || facet.get('type');\n const facetConfig = config.getIn(['facets', type]);\n return {\n config: config.merge(facetConfig),\n title: config.getIn(['facets', 'labels', name], name),\n component: getComponent(type),\n }\n }),\n)(componentFromProp('component'))\n","import { Component, createElement, createFactory } from 'react';\nimport { compose, defaultProps } from 'recompose';\nimport { CellMeasurerCache, CellMeasurer } from 'react-virtualized/dist/commonjs/CellMeasurer';\nimport { Scrollbars } from 'react-custom-scrollbars';\nimport view from 'components/common/VirtualizedList/view';\nimport styles from 'components/common/VirtualizedList/styles.css';\nconst viewFactory: any = createFactory(view);\n\nclass List extends Component<any, any>{\n autoSizer: any;\n list: any;\n cache = new CellMeasurerCache({ fixedWidth: true });\n\n static displayName = 'VirtualizedList'\n\n constructor(props) {\n super(props);\n }\n\n initAutoSizer = (ref) => {\n if (!ref || this.autoSizer) return;\n this.autoSizer = ref;\n ref._onResize();\n }\n\n initList = (ref) => {\n if (!ref || this.list) return;\n this.list = ref;\n }\n\n handleScroll = ({ target }) => {\n const { scrollTop, scrollLeft } = target;\n this.list.Grid.handleScrollEvent({ scrollTop, scrollLeft });\n }\n\n rowRenderer = ({ index, key, parent, style }) => {\n const { array, factory, ...rest } = this.props;\n const item = array.get(index)\n return createElement(\n CellMeasurer,\n {\n parent,\n key,\n cache: this.cache,\n columnIndex: 0,\n rowIndex: index\n },\n ({ measure }) => createElement(factory, { ...rest, item, style, key: item.hashCode() })\n )\n }\n\n render() {\n return viewFactory({\n ...this.props,\n theme: styles,\n rowRenderer: this.rowRenderer,\n initAutoSizer: this.initAutoSizer,\n initList: this.initList,\n handleScroll: this.handleScroll,\n cache: this.cache\n })\n }\n};\n\nexport default List;\n","/**\n * @module components/Tabs\n */\n\nimport React from 'react'\nimport { withHandlers, withPropsOnChange, compose } from 'recompose';\nimport cx from 'classnames';\nimport Dropdown from 'components/Dropdown';\nimport { fromJS } from 'immutable';\nimport { ThemedSFCProps } from 'types';\n\nexport interface ITabsProps extends ThemedSFCProps {\n /** Currently selected tab. Keep it empty if you want to use Tabs in self-controlled mode */\n selectedIndex?: number;\n /** Flag to render Tabs in mobile mode */\n isMobile?: boolean;\n /** Tab click event handler */\n onTabClick: (evt: Event) => any\n /** Current tab body */\n body: React.ReactChildren;\n}\n\nconst Item = withHandlers({\n onClick: ({ disabled, onClick, index }) => (e) => {\n if (disabled) return;\n if (e) e.preventDefault();\n return onClick(index);\n }\n})(({ onClick, label, theme, active, disabled }) =>\n <li\n className={cx(theme.tab, active && theme.active, disabled && theme.disabled)}\n onClick={onClick}\n >\n {label}\n </li>\n);\n\nconst MobileDropdown = compose(\n withHandlers({\n onChange: ({ onChange }) => item => onChange(item.get('index'))\n }),\n withPropsOnChange(['children'], ({ children, selectedIndex }) => ({\n items: fromJS(React.Children.toArray(children).map((i, index) => ({\n index,\n label: i.props.label,\n })))\n }))\n)(({ items, selectedIndex, onChange, className }: any) =>\n <Dropdown\n className={className}\n selectedItem={items.get(selectedIndex)}\n onChange={onChange}\n items={items}\n />\n)\n\nconst TabsView = ({\n theme,\n children,\n onTabClick,\n body,\n selectedIndex,\n isMobile = false\n}: ITabsProps) =>\n <React.Fragment>\n <ul className={theme.list} display-if={!isMobile}>\n {\n React.Children.map(children, (child, idx) =>\n <Item\n {...child.props}\n index={idx}\n key={idx}\n active={idx === selectedIndex}\n theme={theme}\n onClick={onTabClick} />\n )\n }\n </ul>\n <MobileDropdown\n display-if={isMobile}\n children={children}\n selectedIndex={selectedIndex}\n className={theme.dropdown}\n onChange={onTabClick} />\n <div className={theme.body}>\n { body }\n </div>\n </React.Fragment>\n\nexport default TabsView\n","module.exports = {\n\t\"root\": \"findify-components--dropdown\",\n\t\"select\": \"findify-components--dropdown__select\",\n\t\"arrow\": \"findify-components--dropdown__arrow\",\n\t\"dropdown\": \"findify-components--dropdown__dropdown\",\n\t\"open\": \"findify-components--dropdown__open\",\n\t\"option\": \"findify-components--dropdown__option\",\n\t\"highlighted\": \"findify-components--dropdown__highlighted\"\n};","/**\n * @module components/search/MobileFacets\n */\n\nimport React from 'react';\nimport { withHandlers } from 'recompose';\nimport Branch from 'components/common/Branch';\nimport MapArray from 'components/common/MapArray';\nimport FacetTitles from 'components/search/MobileFacets/Titles';\nimport Component from 'components/Facet/Component';\nimport Button from 'components/Button';\nimport cx from 'classnames';\nimport Icon from 'components/Icon';\nimport Text from 'components/Text';\nimport { ThemedSFCProps, IFacet, MJSConfiguration, MJSValue } from 'types';\nimport { List } from 'immutable';\n\n/** Props that FacetContent accepts */\nexport interface IFacetContentProps extends ThemedSFCProps {\n /** Currently active facet */\n active: IFacet;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst FacetContent = ({ active, config, theme }: IFacetContentProps) => (\n <div className={cx(theme.container, theme[active.get('type') as string])}>\n <Component\n isExpanded\n type={active.get('type')}\n facet={active}\n config={config}\n theme={{\n range: theme.range,\n expand: theme.expand,\n expandedList: theme.expandedList,\n }}\n isMobile={true}\n />\n </div>\n);\n\n/** Props that MobileFacets view accepts */\nexport interface IMobileFacetsProps extends ThemedSFCProps {\n /** immutable.List() of Facets */\n facets: List<IFacet>;\n /** Currently active facet */\n activeFacet?: IFacet;\n /** Method used to select a facet */\n selectFacet: (name?: string) => any\n /** Method used to reset facet */\n onReset: () => any\n /** MJS Configuration */\n config: MJSConfiguration;\n /** MJS API Request Metadata */\n meta: Map<string, MJSValue>;\n /** Method used for hiding modal / drawer */\n hideModal: (name: string) => any\n /** Total filters selected */\n total: number;\n /** Filters selected for active facet */\n filtersSelected: number;\n}\n\nexport default ({\n theme,\n facets,\n activeFacet,\n selectFacet,\n onReset,\n config,\n meta,\n hideModal,\n total,\n filtersSelected,\n}: IMobileFacetsProps) =>\n<div className={cx(theme.modal, 'mobile')}>\n <div className={theme.header}>\n\n <div className={theme.title}>\n <Text primary uppercase display-if={!activeFacet}>\n { config.getIn(['facets', 'i18n', 'filters'], 'Filters') }\n </Text>\n <Text secondary uppercase display-if={!activeFacet && total} className={theme.filterCount}>\n ({ total })\n </Text>\n <Text primary uppercase display-if={!!activeFacet}>\n { config.getIn(['facets', 'labels', activeFacet!.get('name')]) }\n </Text>\n <Text secondary uppercase display-if={!!activeFacet && filtersSelected} className={theme.filterCount}>\n ({ filtersSelected })\n </Text>\n </div>\n\n <Button onClick={activeFacet ? selectFacet : hideModal} className={theme.backButton} >\n <Icon name='ArrowBack' />\n </Button>\n\n <Button\n display-if={meta.get('filters') && meta!.get('filters')!.size}\n onClick={onReset}>\n <Text secondary uppercase>\n { config.getIn(['facets', 'i18n', 'clearAll'], 'Clear All')}\n </Text>\n </Button>\n\n </div>\n <div className={theme.body}>\n <Branch\n config={config}\n theme={theme}\n selectFacet={selectFacet}\n active={activeFacet}\n facets={facets}\n condition={!!activeFacet}\n right={FacetTitles}\n left={FacetContent} />\n </div>\n <Button className={theme.footer} onClick={activeFacet ? selectFacet : hideModal}>\n { config.getIn(['facets', 'i18n', activeFacet ? 'done' : 'showResults'], 'See results')}\n </Button>\n</div>\n","/**\n * @module components/Cards/Content\n */\n\nimport React from 'react'\nimport classNames from 'classnames'\nimport Image from 'components/common/Image'\nimport Text from 'components/Text'\nimport Truncate from 'components/common/Truncate'\nimport { withHandlers } from 'recompose';\nimport Icon from 'components/Icon';\n\nconst Title: any = ({ text, theme, ...rest }) => (\n <Text display-if={!!text} className={theme.title} {...rest}>{text}</Text>\n);\n\nconst strip = html => html.replace(/<(?:.|\\n)*?>/gm, '')\n\nconst Description: any = ({ text, theme, ...rest }) => (\n <p\n display-if={!!text}\n className={theme.description}\n {...rest}\n >\n <Truncate>{text}</Truncate>\n </p>\n);\n\nexport default withHandlers({\n onClick: ({ item }) => e => {\n e.preventDefault();\n item.analytics.sendEvent('content_click', { id: item.get('id'), rid: item.meta.get('rid') });\n window.open(item.get('url'), '_blank');\n }\n})(({ item, config, theme, onClick }) =>\n <a onClick={onClick} className={theme.root} href={item.get('url')}>\n <div className={theme.imageWrap} display-if={item.get('image')}>\n <Image\n className={theme.image}\n aspectRatio={config.getIn(['image', 'aspectRatio'], 1)}\n src={item.getIn(['image', 'src'])}\n alt={item.get('title')}\n />\n <Icon name='ExternalLink' className={theme.linkIcon} />\n </div>\n <Title\n theme={theme}\n text={item.get('title')}\n />\n <Description\n theme={theme}\n text={strip(item.get('body_html')).slice(0, config.getIn(['description', 'truncate'], 150))}\n />\n </a>\n)\n","/**\n * @module components/Cards/Product/Rating\n */\nimport 'core-js/fn/array/from';\nimport cx from 'classnames'\nimport React from 'react'\nimport Icon from 'components/Icon'\nimport Text from 'components/Text'\nimport { ThemedSFCProps } from 'types';\n\n/** Array of empty stars */\nconst itemsArray = Array.from(Array(5).keys())\n\n/** List of props that Rating component accepts */\nexport interface IRatingProps extends ThemedSFCProps {\n /** Rating value */\n value: number,\n /** Total reviews */\n count: number,\n}\n\nconst RatingView: React.SFC<IRatingProps> = ({ value, count, theme }: IRatingProps) => (\n <div className={theme.rating}>\n <div className={theme.stars}>\n {itemsArray.map((index:number) => (\n <Icon key={index} name='Star' className={cx(theme.star, { [theme.filled]: index < value })} />\n ))}\n </div>\n <Text display-if={!!count} className={theme.count} mode='secondary-uppercase'>({count})</Text>\n </div>\n)\n\n\nexport default RatingView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nvar filters_1 = require(\"../immutable/filters\");\nvar immutable_1 = require(\"immutable\");\nexports.createFilters = function (filters, updater) {\n return filters && filters.map(function (filter) { return new filters_1.Filter(filter, updater); });\n};\nexports.default = createConnect_1.default({\n field: 'query',\n mapProps: function (query, meta, update) { return ({\n filters: meta && meta.has('filters')\n && exports.createFilters(meta.get('filters'), update)\n || immutable_1.Map()\n }); },\n handlers: {\n onClearAll: function (_a) {\n var update = _a.update;\n return function (e) {\n if (e)\n e.preventDefault();\n update('filters');\n };\n },\n }\n});\n//# sourceMappingURL=connectBreadcrumbs.js.map","/**\n * @module components/search/MobileSorting\n */\n\nimport React from 'react';\nimport { withHandlers } from 'recompose';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport MapArray from 'components/common/MapArray';\nimport { ThemedSFCProps, ISortingItem, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\n\n\n/** Props that MobileSorting Item accepts */\nexport interface IMobileSortingItemProps extends ThemedSFCProps {\n /** Sorting item object to display */\n item: ISortingItem;\n /** Sorting item index in array */\n index: number;\n /** Click handler */\n onClick: (evt?: React.MouseEvent<any>) => any\n}\n\nconst Item = withHandlers({\n onClick: ({ onClick, index }) => () => onClick(index)\n})(({ item, theme, onClick }: IMobileSortingItemProps) =>\n <Button onClick={onClick} disabled={item.get('selected')} className={theme.item}>\n <Text primary uppercase>\n <Icon name={item.get('selected') ? 'RadioFilled' : 'RadioEmpty'} />\n { item.get('label') }\n </Text>\n </Button>\n)\n\n/** Props that MobileSorting view accepts */\nexport interface IMobileSortingProps extends ThemedSFCProps {\n /** Custom inline styles */\n style: React.CSSProperties;\n /** Method to hide modal from Drawer */\n hideModal: (name: string) => any;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Sorting items as immutable.List() */\n items: List<ISortingItem>;\n /** Method used to set needed sorting */\n setSorting: (index: number) => any\n}\n\nconst MobileSortingView = ({ theme, style, hideModal, config, items, setSorting }: IMobileSortingProps) =>\n<div className={theme.root} style={style}>\n <div className={theme.header}>\n\n <div className={theme.title}>\n <Text primary uppercase>\n { config.getIn(['sorting', 'i18n', 'sorting'], 'Sorting') }\n </Text>\n </div>\n\n <Button onClick={hideModal} >\n <Icon name='ArrowBack' />\n </Button>\n </div>\n\n <div className={theme.body}>\n <MapArray\n onClick={setSorting}\n theme={theme}\n array={items}\n factory={Item}\n />\n </div>\n\n <Button className={theme.footer} onClick={hideModal}>\n { config.getIn(['facets', 'i18n', 'showResults'], 'See results')}\n </Button>\n</div>\n\nexport default MobileSortingView;\n","/**\n * @module components/PoweredBy\n */\nimport React from 'react';\nimport { compose, setDisplayName } from 'recompose';\nimport { connectConfig } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/PoweredBy/view';\n\nimport styles from 'components/PoweredBy/styles.css';\n\nexport default compose(\n setDisplayName('PoweredBy'),\n withTheme(styles),\n connectConfig\n)(view)\n","module.exports = {\n\t\"title\": \"findify-layouts--recommendation--slider__title\",\n\t\"arrow\": \"findify-layouts--recommendation--slider__arrow\",\n\t\"scrollBarContainer\": \"findify-layouts--recommendation--slider__scrollBarContainer\",\n\t\"scrollBar\": \"findify-layouts--recommendation--slider__scrollBar\"\n};","/**\n * @module components/search/DesktopFacets\n */\n\nimport React from 'react';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport Button from 'components/Button';\nimport { ThemedSFCProps, MJSConfiguration, MJSValue } from 'types';\nimport { Map, List } from 'immutable';\n\n/** Props that hidable facet titles accept */\nexport interface IHidableProps extends ITitlesProps {\n /** Method to hide facets */\n onHide: () => any;\n}\n\n/** Props that facet titles accept */\nexport interface ITitlesProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** MJS API Response Metadata */\n meta: Map<string, MJSValue>;\n /** Method to reset facets */\n onReset: () => any;\n}\n\n\n\nconst defaultTitles: React.SFC<ITitlesProps> = ({\n theme,\n config,\n meta,\n onReset\n}: ITitlesProps) =>\n<div className={theme.header} display-if={!config.get('showFacetsTitle')}>\n <Icon name='Filters' className={theme.icon} />\n <Text primary uppercase className={theme.title}>\n { config.getIn(['facets', 'i18n', 'filters'], 'Filters') }\n </Text>\n\n <Button\n display-if={meta.get('filters') && (meta.get('filters')! as List<any>).size}\n className={theme.reset}\n onClick={onReset}>\n <Text secondary uppercase>\n { config.getIn(['facets', 'i18n', 'clearAll'], 'Clear all') }\n </Text>\n </Button>\n</div>\n\nexport default defaultTitles\n\nexport const hidable: React.SFC<IHidableProps> = ({\n theme,\n config,\n meta,\n onReset,\n onHide\n}: IHidableProps) =>\n<div className={theme.header} display-if={!config.get('showFacetsTitle')}>\n <Icon name='Filters' className={theme.icon} />\n <Text primary uppercase className={theme.title}>\n { config.getIn(['facets', 'i18n', 'filters'], 'Filters') }\n <Button\n display-if={meta.get('filters') && (meta.get('filters')! as List<any>).size}\n onClick={onReset}>\n <Text secondary uppercase style={{ marginLeft: 5 }}>\n ({ config.getIn(['facets', 'i18n', 'clearAll'], 'Clear all') })\n </Text>\n </Button>\n </Text>\n <Button\n className={theme.hide}\n onClick={onHide}>\n <Text secondary uppercase>\n { config.getIn(['facets', 'i18n', 'hideDesktopFacets'], 'Hide') }\n <Icon name='XDark' />\n </Text>\n </Button>\n</div>\n","/**\n * @module components/RangeFacet\n */\nimport React from 'react';\nimport { compose, withStateHandlers, withProps, setDisplayName, withPropsOnChange } from 'recompose';\nimport { findCurrency } from 'currency-formatter';\nimport withTheme from 'helpers/withTheme';\nimport template from 'helpers/template';\n\nimport view from 'components/RangeFacet/view';\nimport styles from 'components/RangeFacet/styles.css';\nimport { withHandlers } from 'recompose';\n\nconst createKey = (...args) => args.join('_');\n\n\nexport default compose(\n setDisplayName('RangeFacet'),\n\n withTheme(styles),\n\n withProps(({ facet, config }) => ({\n items: facet.get('values')\n })),\n\n withPropsOnChange(['config'], ({ config }) => ({\n currencySymbol: config.getIn(['currency', 'symbol']) ||\n findCurrency(config.getIn(['currency', 'code'])).symbol\n })),\n\n withStateHandlers<any, any, any>(\n ({ facet }) => ({ from: undefined, to: undefined }),\n {\n onReset: () => e => ({ from: void 0, to: void 0}),\n\n onChangeMin: ({ from, to }, { facet }) => e => {\n const value = parseFloat(e.target.value) || from || facet.get('min');\n if (isNaN(value)) return { from: void 0 };\n const normalizedValue = value > to\n ? to\n : value < facet.get('min')\n ? facet.get('min')\n : value;\n return { from: normalizedValue };\n },\n\n onChangeMax: ({ from, to }, { facet }) => e => {\n const value = parseFloat(e.target.value) || to || facet.get('max');\n if (isNaN(value)) return { to: void 0 };\n const normalizedValue =\n value < from\n ? from\n : value > facet.get('max')\n ? facet.get('max')\n : value;\n return { to: normalizedValue };\n },\n\n onCommit: ({ from, to }, { facet }) => () => {\n if (!from && !to) return;\n const key = [from, to].join('_');\n facet.setValue({ from, to });\n return { from: void 0, to: void 0};\n },\n },\n ),\n withHandlers({\n onPressButton: ({ onCommit }) => e => {\n e.preventDefault();\n Promise.resolve().then(() => onCommit());\n },\n }),\n\n withProps(({ onCommit }) => ({\n onKeypress: ({ key }) => key === 'Enter' && onCommit()\n }))\n)(view);\n","/**\n * @module components/Cards/Product/Price\n */\nimport React from 'react';\nimport { compose, setDisplayName, withProps } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport { priceIsSampleArray } from 'helpers/getPrice';\nimport view from 'components/Cards/Product/Price/view';\nimport theme from 'components/Cards/Product/Price/styles.css';\n\nexport default compose(\n setDisplayName('Price'),\n withTheme(theme),\n withProps(({ discount, oldPrice, price }) => ({\n hasDiscount: (!oldPrice || oldPrice < 0) && (discount && discount.size > 0) && priceIsSampleArray(price),\n hasCompare: oldPrice && oldPrice > 0\n }))\n)(view)\n","/**\n * @module components/autocomplete/SuggestionItem\n */\n\nimport React from 'react'\nimport classnames from 'classnames'\nimport Icon from 'components/Icon'\nimport { ISuggestion, ISuggestionProps, IQuery, ThemedSFCProps } from 'types';\nimport escapeRegExp from 'lodash/escapeRegExp';\n\n/**\n * Function used to return HTML markup for highlighting matching query in SearchSuggestion\n * @param value suggestion value\n * @param highlighted query that is entered in the Autocomplete\n * @param theme theme used by SuggestionItem\n */\nfunction highlightSuggestion(value: string, highlighted: string, theme: Theme) {\n const regexp = new RegExp(`(${escapeRegExp(highlighted)})`, 'i');\n return value.replace(\n regexp,\n `<span class=\"${theme.highlightedText}\">$1</span>`,\n );\n}\n\n/**\n * Props that SuggestionItem accepts\n */\nexport interface ISuggestionItemProps extends ThemedSFCProps, ISuggestionProps {\n /** Suggestion item */\n item?: ISuggestion;\n /** Query, used to highlight matches */\n query: IQuery;\n /** Flag indicating whether current suggestion is in focus over keyboard arrows */\n highlighted: boolean;\n /** Icon name to use */\n icon: string;\n /** Flag indicating that this suggestion is used in TrendingSearches layout of Autocomplete */\n isTrendingSearches: boolean;\n /** Rest of the props that may get passed down */\n [x: string]: any\n}\n\n/**\n * Actual view\n */\nconst SuggestionItemView: React.SFC<ISuggestionItemProps> = ({\n item,\n query,\n theme,\n highlighted,\n onClick,\n icon,\n isTrendingSearches,\n ...rest\n}: ISuggestionItemProps) => {\n const value = (item && item.get('value') as string)\n return (\n <li\n display-if={value}\n onClick={onClick}\n className={classnames(theme.suggestion, { [theme.highlighted]: highlighted, [theme.withIcon]: !!icon , [theme.trending]: isTrendingSearches })}>\n <Icon\n display-if={icon}\n name={icon}\n className={theme.icon}\n width={14}\n height={14} />\n <span dangerouslySetInnerHTML={{\n __html: highlightSuggestion(value!, query.get('q') as string, theme)\n }}></span>\n </li>\n )\n}\n\nexport default SuggestionItemView\n","/**\n * @module layouts/Recommendation/Slider\n */\n\nimport React, { ReactChildren, ReactElement } from 'react';\nimport SlickSlider from 'react-slick';\n\nimport ProductCard from 'components/Cards/Product'\nimport Text from 'components/Text';\nimport { IProduct, ThemedSFCProps, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\n\n/**\n * This is a list of possible props for React-Slick component, added for better typing.\n * For detailed documentation on react-slick please consult https://react-slick.neostack.com/docs/api/\n */\nexport interface IReactSlickProps {\n accessibility?: boolean;\n adaptiveHeight?: boolean;\n afterChange?: (index: number) => any;\n appendDots: (dots: ReactChildren) => React.ReactElement<any>\n arrows?: boolean;\n asNavFor?: (ref: React.Ref<any>) => any;\n autoplaySpeed?: number;\n autoplay?: boolean;\n beforeChange?: (oldIndex: number, newIndex: number) => any;\n centerMode?: boolean;\n centerPadding?: string;\n className?: string;\n customPaging?: (index:number) => React.ReactElement<any>\n dotsClass?: string;\n dots?: boolean;\n draggable?: boolean;\n easing?: string;\n fade?: boolean;\n focusOnSelect?: boolean;\n infinite?: boolean;\n initialSlide?: number;\n lazyLoad?: 'ondemand' | 'progressive';\n onEdge?: (direction: string) => any;\n onInit?: () => void;\n onLazyLoad?: () => any;\n onReInit?: () => void;\n onSwipe?: () => any;\n pauseOnDotsHover?: boolean;\n pauseOnFocus?: boolean;\n pauseOnHover?: boolean;\n responsive?: string[];\n rows?: number;\n rtl?: boolean;\n slide?: string;\n slidesPerRow?: number;\n slidesToScroll?: number;\n slidesToShow?: number;\n speed?: number;\n swipeToSlide?: boolean;\n swipe?: boolean;\n touchMove?: boolean;\n touchThreshold?: number;\n useCSS?: boolean;\n useTransform?: boolean;\n variableWidth?: boolean;\n vertical?: boolean;\n}\n\n/** This is a list of props Slider recommendation layout accepts */\nexport interface ISliderProps extends ThemedSFCProps {\n /** List of Products to display */\n items: List<IProduct>;\n /** MJS configuration */\n config: MJSConfiguration;\n /** Any of the options for react-slick library */\n sliderOptions: IReactSlickProps;\n /** Ref to work with react-slick */\n _mountSlider: React.RefObject<any>\n}\n\n\nclass Slider extends React.Component{\n touchState: any = {}\n slider = void 0\n\n componentDidMount(){\n window.addEventListener('touchstart', this.touchStart);\n window.addEventListener('touchmove', this.preventTouch, { passive: false });\n }\n\n componentWillUnmount(){\n window.removeEventListener('touchstart', this.touchStart);\n window.removeEventListener('touchmove', this.preventTouch);\n }\n\n touchStart = (e) => {\n this.touchState.firstClientX = e.touches[0].clientX;\n this.touchState.firstClientY = e.touches[0].clientY;\n }\n\n preventTouch = (e) => {\n const minValue = 5; // threshold\n\n this.touchState.clientX = e.touches[0].clientX - this.touchState.firstClientX;\n this.touchState.clientY = e.touches[0].clientY - this.touchState.firstClientY;\n\n // Vertical scrolling does not work when you start swiping horizontally.\n if(Math.abs(this.touchState.clientX) > minValue){ \n e.preventDefault();\n e.returnValue = false;\n return false;\n }\n }\n\n render() {\n return (\n <>\n <SlickSlider {...this.props} ref={this.props.provideRef} />\n </>\n )\n }\n}\n\nconst SliderRecommendationLayout = ({ items, config, theme, sliderOptions, _mountSlider }: ISliderProps) =>\n<React.Fragment display-if={items && items.size > 0}>\n <Text title className={theme.title}>\n { config.get('title') }\n </Text>\n\n <Slider {...sliderOptions} provideRef={_mountSlider}>\n {\n items\n .map(item =>\n <div key={item.hashCode()}>\n <ProductCard item={item} config={config} />\n </div>\n )\n .toArray()\n }\n </Slider>\n</React.Fragment>\n\nexport default SliderRecommendationLayout;\n","module.exports = {\n\t\"root\": \"findify-components--text\",\n\t\"primary-uppercase\": \"findify-components--text__primary-uppercase\",\n\t\"primaryUppercase\": \"findify-components--text__primary-uppercase\",\n\t\"primary-lowercase\": \"findify-components--text__primary-lowercase\",\n\t\"primaryLowercase\": \"findify-components--text__primary-lowercase\",\n\t\"secondary-uppercase\": \"findify-components--text__secondary-uppercase\",\n\t\"secondaryUppercase\": \"findify-components--text__secondary-uppercase\",\n\t\"secondary-lowercase\": \"findify-components--text__secondary-lowercase\",\n\t\"secondaryLowercase\": \"findify-components--text__secondary-lowercase\",\n\t\"title\": \"findify-components--text__title\",\n\t\"bold\": \"findify-components--text__bold\",\n\t\"inlineBlock\": \"findify-components--text__inlineBlock\"\n};","module.exports = {\n\t\"title\": \"findify-layouts--recommendation--grid__title\"\n};","export default (keys) => obj => {\n const { ...rest } = obj\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i]\n if (rest.hasOwnProperty(key)) {\n delete rest[key]\n }\n }\n return rest\n};\n","/**\n * @module layouts/ContentSearch\n */\n\nimport React from 'react';\nimport { compose, withProps, setDisplayName, branch, renderNothing } from 'recompose';\nimport { connectItems } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport withErrorHandler from 'helpers/withErrorHandler';\n\nimport view from 'layouts/Content/view';\nimport styles from 'layouts/Content/styles.css';\n\n/** React component encapsulating most of UI logic inside ContentSearch */\nconst Content = compose(\n setDisplayName('Content'),\n\n withTheme(styles),\n\n withErrorHandler,\n\n connectItems,\n\n branch(\n ({ items }) => !items.size,\n renderNothing\n ),\n\n withProps(({ config }) => ({\n isMobile: config.get('forceMobile') || window.innerWidth <= config.get('mobileBreakpoint')\n })),\n\n)(view);\n\nexport default process.env.HOT\n ? require('react-hot-loader').hot(module)(Content)\n : Content;\n","/**\n * @module layouts/Autocomplete/Dropdown\n */\n\nimport React from 'react';\nimport Drawer from 'components/common/Drawer'\nimport Tip from 'components/autocomplete/Tip'\nimport ProductMatches from 'components/autocomplete/ProductMatches'\nimport SearchSuggestions from 'components/autocomplete/SearchSuggestions'\nimport MapArray from 'components/common/MapArray';\nimport Branch from 'components/common/Branch'\nimport { connectSuggestions, connectItems } from '@findify/react-connect';\nimport { withDrawer } from 'helpers/withDrawer';\nimport cx from 'classnames';\nimport { ThemedSFCProps, MJSConfiguration, ISuggestion, MJSValue } from 'types';\nimport { List } from 'immutable';\n\nexport interface IAutocompletePanel extends ThemedSFCProps {\n config: MJSConfiguration;\n isTrendingSearches?: boolean;\n [x: string]: any;\n}\n\n/** Layout column mapping */\nconst LayoutColumns = {\n SearchSuggestions: ((({ config, theme, isTrendingSearches, ...rest }: IAutocompletePanel) => (\n <div className={theme.suggestionsContainer}>\n <h4 className={cx(theme.typeTitle, theme.suggestionsTitle, {[theme.trendingTitle]: isTrendingSearches})}>{config.getIn(['i18n', isTrendingSearches ? 'trendingSearches' : 'suggestionsTitle'])}</h4>\n <SearchSuggestions\n className={theme.searchSuggestions}\n widgetKey={config.get('widgetKey')}\n isTrendingSearches={isTrendingSearches}\n {...rest} />\n </div>\n )) as React.SFC<IAutocompletePanel>),\n ProductMatches: ((({ config, theme, isTrendingSearches, ...rest}: IAutocompletePanel) => (\n <div className={theme.productMatchesContainer}>\n <h4 className={cx(theme.typeTitle, {[theme.trendingTitle]: isTrendingSearches})}>{config.getIn(['i18n', isTrendingSearches ? 'trendingProducts' : 'productMatchesTitle'])}</h4>\n <ProductMatches className={theme.productMatches} config={config} {...rest} />\n </div>\n )) as React.SFC<IAutocompletePanel>)\n}\n\n/** Props that SearchOrZero component accepts */\nexport interface ISearchOrZeroProps {\n /** List of search suggestions */\n suggestions: List<ISuggestion>;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** MJS API Request Meta */\n meta: Map<string, MJSValue>;\n /** Selected suggestion index. -1 means no suggestion is selected on keyboard */\n selectedSuggestion: number;\n /** Flag that shows if autocomplete is running in TrendingSearches mode */\n isTrendingSearches: boolean;\n /** Rest of the props passed down to panels */\n [x: string]: any;\n}\n\nconst SearchOrZero: React.SFC<ISearchOrZeroProps> = ({\n suggestions,\n config,\n theme,\n meta,\n selectedSuggestion,\n isTrendingSearches,\n ...rest\n}: ISearchOrZeroProps) => (\n <Branch\n condition={suggestions && suggestions.size > 0}\n left={() => (\n <MapArray\n array={config.get('viewOrder', [\"SearchSuggestions\", \"ProductMatches\"])}\n keyAccessor={item => item}\n factory={({ item }: ({ item: 'SearchSuggestions' | 'ProductMatches' })) =>\n React.createElement(\n LayoutColumns[item],\n {\n config,\n theme,\n isTrendingSearches,\n meta,\n ...(item === 'SearchSuggestions' ? {selectedSuggestion, icon: isTrendingSearches ? 'Fire' : undefined} : {}),\n ...rest })\n } />\n )} />\n)\n\nexport interface IAutocompleteDropdownProps {\n /** List of search suggestions */\n suggestions: List<ISuggestion>;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** MJS API Request Meta */\n meta: Map<string, MJSValue>;\n /** Selected suggestion index. -1 means no suggestion is selected on keyboard */\n selectedSuggestion: number;\n /** Flag that shows if autocomplete is running in TrendingSearches mode */\n isTrendingSearches: boolean;\n /** Rest of the props passed down to panels */\n [x: string]: any;\n}\n\nconst AutocompleteDropdownView: React.SFC<IAutocompleteDropdownProps> = ({\n config,\n theme,\n meta,\n suggestions,\n position,\n innerRef,\n closeAutocomplete,\n ...rest\n}: IAutocompleteDropdownProps) =>\n<div display-if={suggestions && suggestions.size > 0} className={theme.wrapper}>\n <div className={theme.overlay} display-if={config.get('showOverlay')} onClick={closeAutocomplete}></div>\n <div\n className={theme.root}\n data-findify-autocomplete={true}\n tabIndex={0}\n ref={innerRef}\n style={{ [position]: 0 }}>\n <Tip\n className={theme.tip}\n title={config.getIn(['i18n', 'tipResults'])}\n widgetKey={config.get('widgetKey')} />\n <div className={theme.container}>\n <SearchOrZero\n theme={theme}\n meta={meta}\n config={config}\n suggestions={suggestions}\n {...rest} />\n </div>\n </div>\n</div>\n\nexport default AutocompleteDropdownView;\n\n","/**\n * @module layouts/Recommendation/Grid\n */\n\nimport React from 'react';\n\nimport Grid from 'components/common/Grid';\nimport ItemsList from 'components/ItemsList';\nimport Text from 'components/Text';\nimport { IProduct, MJSConfiguration, ThemedSFCProps } from 'types/index';\nimport { List } from 'immutable';\nimport Product from 'components/Cards/Product'\nimport MapArray from 'components/common/MapArray';\n\n/** This is a list of props Grid layout for Recommendations accepts */\nexport interface IGridProps extends ThemedSFCProps {\n /** immutable.List of Products to display */\n items: List<IProduct>;\n /** MJS configuration */\n config: MJSConfiguration;\n\n columns: string\n}\n\n\nconst GridRecommendationLayout = ({ items, config, theme, columns }: IGridProps) =>\n<React.Fragment display-if={items && items.size > 0}>\n <Text primary lowercase>{ config.get('title') }</Text>\n <Grid columns={columns}>\n {\n MapArray({\n config,\n array: items,\n factory: Product\n })\n }\n </Grid>\n</React.Fragment>\n\nexport default GridRecommendationLayout;\n","/**\n * @module components/CategoryFacet\n */\nimport React from 'react';\nimport { compose, setDisplayName, withStateHandlers, withProps } from 'recompose';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/CategoryFacet/view';\nimport styles from 'components/CategoryFacet/styles.css';\n\nexport default compose(\n setDisplayName('CategoryFacet'),\n\n withTheme(styles),\n\n withStateHandlers(\n ({ isExpanded }) => ({ isExpanded }),\n {\n onToggle: (s) => () => ({ ...s, isExpanded: !s.isExpanded })\n }\n ),\n\n withProps(({ facet, isExpanded }) => ({\n items: facet.get('values'),\n total: facet.get('values').reduce((acc, v) => acc + v.get('count'), 0)\n }))\n)(view);\n","/**\n * @module components/common/Drawer\n */\nimport React from 'react';\nimport {\n compose,\n setDisplayName,\n lifecycle,\n withPropsOnChange,\n withHandlers,\n withStateHandlers,\n defaultProps,\n withProps\n} from 'recompose'\nimport { spring } from 'react-motion'\nimport withTheme from 'helpers/withTheme'\nimport view from 'components/common/Drawer/view';\nimport theme from 'components/common/Drawer/style.css';\n\nexport default compose(\n setDisplayName('Drawer'),\n withTheme(theme),\n)(view)\n","/**\n * @module components/Cards/Product\n */\n\nimport React from 'react'\nimport classNames from 'classnames'\nimport Image from 'components/common/Image'\nimport Truncate from 'components/common/Truncate'\nimport Text from 'components/Text'\nimport Rating from 'components/Cards/Product/Rating';\nimport Price from 'components/Cards/Product/Price';\nimport template from 'helpers/template';\nimport { DiscountSticker, OutOfStockSticker } from 'components/Cards/Product/Stickers';\nimport { List } from 'immutable'\nimport { IProduct, MJSConfiguration, ThemedSFCProps } from 'types/index';\nimport BundleAction from 'components/Cards/Product/BundleAction';\n\nconst Title: any = ({ text, theme, ...rest }) => (\n <Text display-if={!!text} className={theme.title} {...rest}>{text}</Text>\n);\n\nconst Description: any = ({ text, theme, ...rest }) => (\n <p\n display-if={!!text}\n className={theme.description}\n {...rest}\n >\n <Truncate>{text}</Truncate>\n </p>\n);\n\n\nexport interface IProductCardProps extends ThemedSFCProps {\n item: IProduct;\n config: MJSConfiguration;\n}\n\nconst ProductCardView: React.SFC<IProductCardProps> = ({\n item,\n config,\n theme,\n}: any) => (\n <a\n onClick={item.onClick}\n href={item.get('product_url')}\n className={classNames(\n theme.root,\n config.get('simple') && theme.simple,\n theme.productCard,\n )}\n >\n <div className={classNames(theme.imageWrap)}>\n <BundleAction display-if={config.get('bundle')} item={item} />\n <Image\n className={classNames(theme.image)}\n aspectRatio={config.getIn(['product', 'image', 'aspectRatio'], 1)}\n thumbnail={item.get('thumbnail_url')}\n src={item.get('image_url') || item.get('thumbnail_url')}\n alt={item.get('title')}\n />\n <div display-if={config.getIn(['product', 'stickers', 'display'])}>\n <DiscountSticker\n config={config}\n className={theme.discountSticker}\n discount={item.get('discount')}\n display-if={\n config.getIn(['stickers', 'discount']) &&\n config.getIn(['product', 'stickers', 'display']) &&\n item.get('discount', List()).size &&\n item.getIn(['stickers', 'discount'])\n } />\n </div>\n </div>\n <div\n display-if={\n config.getIn(['product', 'reviews', 'display']) &&\n (!!item.getIn(['reviews', 'count']) || !!item.getIn(['reviews', 'total_reviews']))\n }\n className={theme.rating}>\n <Rating\n value={item.getIn(['reviews', 'average_score'])}\n count={item.getIn(['reviews', 'count']) || item.getIn(['reviews', 'total_reviews'])} />\n </div>\n <div\n className={theme.variants}\n display-if={\n config.getIn(['product', 'variants', 'display']) &&\n item.get('variants', List()).size > 1\n }\n >\n {\n template(config.getIn(['product', 'i18n', 'variants'], 'Available in %s variants'))(\n item.get('variants', List()).size\n )\n }\n </div>\n <div className={theme.content}>\n <Title\n theme={theme}\n display-if={config.getIn(['product', 'title', 'display'])}\n text={item.get('title')}\n config={config.getIn(['product', 'title'])} />\n <Description\n theme={theme}\n display-if={config.getIn(['product', 'description', 'display'])}\n text={item.get('description')}\n config={config.getIn(['product', 'description'])} />\n <Price\n className={theme.priceWrapper}\n display-if={config.getIn(['product', 'price', 'display'])}\n price={item.get('price')}\n oldPrice={item.get('compare_at')}\n discount={item.get('discount')}\n currency={config.get('currency_config').toJS()} />\n <OutOfStockSticker\n display-if={item.getIn(['stickers', 'out-of-stock'])}\n config={config} />\n </div>\n </a>\n)\n\nexport default ProductCardView;\n","import React from 'react';\nimport { compose, branch, withStateHandlers, withContext, getContext } from \"recompose\";\nimport { object, func } from 'prop-types';\nimport pure from './pure';\nimport { List, is } from 'immutable';\n\nconst identity = i => i;\n\nexport const provideBundle =\n (getInitialItems = identity) =>\n BaseComponent =>\n class Provider extends React.Component{\n state = { inBundle: List() }\n \n static childContextTypes = {\n inBundle: object.isRequired,\n updateBundle: func.isRequired,\n }\n\n getChildContext() {\n return {\n inBundle: this.state.inBundle,\n updateBundle: this.updateBundle,\n }\n }\n\n updateBundle = (inBundle) => this.setState({ inBundle });\n\n componentWillReceiveProps(next){\n if (is(next.items, this.props.items)) return;\n this.updateBundle(getInitialItems(next.items));\n }\n \n render() {\n return <BaseComponent {...this.props} />\n }\n }\n\nexport const connectBundle = getContext({ inBundle: object.isRequired, updateBundle: func.isRequired });\n","/**\n * @module components/common/Image\n */\n\nimport 'core-js/fn/array/includes';\nimport React from 'react'\nimport classNames from 'classnames'\nimport styles from 'components/common/Image/styles.css';\n\nimport {\n branch,\n compose,\n withProps,\n withStateHandlers,\n withPropsOnChange,\n setDisplayName,\n renderNothing,\n renderComponent,\n withHandlers,\n} from 'recompose';\n\n/** FIXME: Possible memory leak on huge pages, maybe employ something like LRU? */\nconst cache = [];\n\nconst prefetchImage = (src: string) =>\n new Promise(resolve => {\n if (cache.includes(src)) return resolve(src);\n const img = new Image();\n img.addEventListener('load', () => {\n cache.push(src)\n resolve(src);\n }, false);\n img.src = src;\n });\n\n/** This is a list of props which Image component accepts */\nexport interface ImageProps {\n /** Custom classname */\n className?: string,\n /** Source to original image */\n src: string,\n /** Source to thumbnail, which will be showed blurred during loading */\n thumbnail?: string,\n /** Width / height ratio, to which image will conform */\n aspectRatio?: number,\n /** Render image only when it is in viewport */\n lazy?: boolean,\n /** Distance to image when it should start render [default: 100px] */\n offset?: number,\n /** @hidden */\n size: { width: number },\n /** @hidden */\n isFixedRatio: boolean\n}\n\nconst waitForViewPort = (node, offset = 100) => new Promise(resolve => {\n const callback = () => {\n const rect = node.getBoundingClientRect();\n const isInView =\n rect.top >= 0 &&\n rect.left >= 0 &&\n rect.bottom - offset <= (window.innerHeight || document.documentElement.clientHeight) &&\n rect.right - offset <= (window.innerWidth || document.documentElement.clientWidth);\n if (!isInView) return;\n document.removeEventListener('scroll', callback);\n resolve(true);\n }\n document.addEventListener('scroll', callback);\n callback();\n}) \n\nconst ImageRenderer = ({ src, className, isFixedRatio, aspectRatio }: ImageProps) =>\nisFixedRatio\n? <div className={className} style={{\n backgroundImage: `url(${src})`,\n paddingBottom: `${100 * aspectRatio!}%`,\n backgroundPosition: 'center center'\n }} />\n: <img className={className} src={src} />\n\nconst LazyRenderer = withHandlers({\n registerComponent: ({ setReady, offset }) => (ref) =>\n ref && waitForViewPort(ref, offset).then(setReady)\n})(({ registerComponent, lazy, className }) =>\n !!lazy && <div className={className} ref={registerComponent} />\n)\n\n// FIXME: Why does it ignore thumbnail now?\nexport default compose<ImageProps, ImageProps>(\n setDisplayName('Image'),\n withPropsOnChange(['src'], ({ src, size }) => ({\n src: cache.includes(src) ? src : void 0,\n original: src,\n key: src\n })),\n withStateHandlers(\n ({ src, original, lazy }) => ({\n src,\n ready: !lazy || !!src,\n stage: src === original ? 2 : 0\n }),\n {\n setSrc: (state) => src => ({ ...state, src, stage: 2 }),\n setThumbnail: (state) => src => ({ ...state, src, stage: 1 }),\n setReady: (state) => ready => ({ ...state, ready })\n }\n ),\n withPropsOnChange(\n ['thumbnail', 'original', 'ready'],\n ({ setSrc, setThumbnail, thumbnail, original, src, stage, fetchImage = prefetchImage, ready }) => {\n if (!ready) return;\n if (stage === 2) return;\n if (thumbnail) {\n fetchImage(thumbnail)\n .then(setThumbnail)\n .then(() => fetchImage(original))\n .then(setSrc);\n } else {\n fetchImage(original).then(setSrc);\n }\n }\n ),\n withProps(({ aspectRatio, className, stage, isFixedRatio }) => ({\n isFixedRatio: aspectRatio\n && typeof aspectRatio === 'number'\n && !isNaN(aspectRatio)\n && isFinite(aspectRatio),\n className: classNames(\n className,\n {\n [styles.root]: !isFixedRatio,\n [styles.croppedRoot]: isFixedRatio,\n [styles.loading]: stage === 0,\n [styles.thumbnail]: stage === 1,\n [styles.original]: stage === 2,\n }\n )\n })),\n branch(\n ({ ready, src }) => ready && src,\n renderComponent(ImageRenderer),\n renderComponent(LazyRenderer)\n )\n)(renderNothing);\n","import React from 'react';\nimport Swiper from 'react-id-swiper/lib/custom';\nimport ProductCard from 'components/Cards/Product'\nimport Text from 'components/Text';\nimport { IProduct, ThemedSFCProps, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\n\nexport default ({ items, config, theme, sliderOptions }) =>\n<React.Fragment display-if={items && items.size > 0}>\n <Text title className={theme.title}>\n { config.get('title') }\n </Text>\n\n <Swiper {...sliderOptions}>\n {\n items\n .map(item =>\n <div key={item.hashCode()}>\n <ProductCard item={item} config={config} />\n </div>\n )\n .toArray()\n }\n </Swiper>\n</React.Fragment>\n","module.exports = {\n\t\"body-no-scroll\": \"findify-components-common--drawer__body-no-scroll\",\n\t\"bodyNoScroll\": \"findify-components-common--drawer__body-no-scroll\",\n\t\"backdrop\": \"findify-components-common--drawer__backdrop\",\n\t\"content\": \"findify-components-common--drawer__content\"\n};","/**\n * @module components/CategoryFacet\n */\n\n/**\n * Used to extract content from facet data\n */\nconst extractContent = ({ item }) => item.get('value');\n\nexport default extractContent;\n","module.exports = {\n\t\"container\": \"findify-components-common--sticky__container\",\n\t\"wrapper\": \"findify-components-common--sticky__wrapper\",\n\t\"static\": \"findify-components-common--sticky__static\",\n\t\"stuck\": \"findify-components-common--sticky__stuck\",\n\t\"sticky\": \"findify-components-common--sticky__sticky\"\n};","/**\n * @module components/CategoryFacet\n */\n\nimport React from 'react';\nimport cx from 'classnames';\n\nimport MapArray from 'components/common/MapArray';\nimport Item from 'components/CategoryFacet/Item';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport { IFacet, ThemedSFCProps, MJSConfiguration } from 'types';\nimport { List, Map } from 'immutable';\nimport Icon from 'components/Icon';\n\n/** CategoryFacet props */\nexport interface ICategoryFacetProps extends ThemedSFCProps {\n /** Categories facet */\n facet: IFacet;\n /** Facet items */\n items: List<Map<string, string | boolean | number>>\n /** Total count of selected facets */\n total: number;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Flag shows whether search functionality is enabled */\n isExpanded?: boolean;\n /** Callback invoked on request to expand list completely */\n onToggle: (evt: Event) => any;\n}\n\nconst CategoryFacetView = ({\n theme,\n items,\n config,\n facet,\n total,\n isExpanded,\n onToggle\n}: ICategoryFacetProps) =>\n<div className={theme.root}>\n <Button\n className={theme.item}\n onClick={facet.resetValues}>\n <Text lowercase primary bold={!items.find(i => i.get('selected') as boolean)}>\n { config.getIn(['facets', 'i18n', 'allCategories'], 'All categories') }\n </Text>\n <Text secondary uppercase>\n ({ total })\n </Text>\n </Button>\n <MapArray\n config={config}\n array={items}\n factory={Item}\n limit={!isExpanded && config.get('maxItemsCount', 6)}\n theme={theme} />\n\n <Button\n className={theme.expand}\n onClick={onToggle}\n display-if={items.size > config.get('maxItemsCount', 6)}>\n <Text primary uppercase>\n <Icon name={isExpanded ? 'Minus' : 'Plus'} />\n { isExpanded ? config.getIn(['i18n', 'less']) : config.getIn(['i18n', 'more']) }\n </Text>\n </Button>\n</div>\n\nexport default CategoryFacetView;\n","/**\n * @module components/search/Query\n */\n\nimport React from 'react';\nimport { connectQuery } from '@findify/react-connect';\nimport { compose, setDisplayName, withProps } from 'recompose';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/search/Query/view';\nimport styles from 'components/search/Query/styles.css';\n\nexport default compose(\n setDisplayName('Query'),\n withTheme(styles),\n connectQuery,\n)(view);\n","/**\n * @module components/search/LazyResults\n */\n\nimport React from 'react';\nimport MapArray from 'components/common/MapArray';\nimport Grid from 'components/common/Grid';\nimport ProductCard from 'components/Cards/Product'\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport { ThemedSFCProps, IProduct, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\nimport { ArrayLike } from 'components/common/MapArray';\n\n/** Props that LazyResultsView accepts */\nexport interface ILazyResultsProps extends ThemedSFCProps {\n /** List of Products */\n items: List<IProduct>;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Number of columns that one item occupies in a 12-col grid */\n columns: string;\n /** Method to load next page */\n onLoadNext: () => any;\n /** Method to load previous page */\n onLoadPrev: () => any;\n /** Flag whether to display next button */\n displayNextButton: boolean;\n /** Flag whether to display previous button */\n displayPrevButton: boolean;\n /** Rest of the props get passed down to ProductCard */\n [x: string]: any\n}\n\nconst LazyResultsView = ({\n items,\n config,\n theme,\n card = ProductCard,\n columns,\n onLoadNext,\n onLoadPrev,\n displayNextButton,\n displayPrevButton,\n ...rest\n}: ILazyResultsProps) =>\n<div className={theme.root}>\n <Button display-if={displayPrevButton} className={theme.prevButton} onClick={onLoadPrev}>\n <Text primary lowercase>\n { config.getIn(['i18n', 'loadPrev'], 'Load previous') }\n </Text>\n </Button>\n <Grid columns={columns}>\n {\n MapArray({\n ...rest,\n config,\n array: (items as ArrayLike),\n factory: card\n })\n }\n </Grid>\n <Button display-if={displayNextButton} className={theme.nextButton} onClick={onLoadNext}>\n <Text primary lowercase>\n { config.getIn(['i18n', 'loadNext'], 'Load more') }\n </Text>\n </Button>\n</div>\n\nexport default LazyResultsView;\n","/**\n * @module components/Text\n */\nimport React from 'react';\nimport { compose, setDisplayName, withPropsOnChange } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport styles from 'components/Text/styles.css';\nimport view from 'components/Text/view';\n\nconst options = ['title', 'primary', 'secondary', 'uppercase', 'lowercase'];\nconst getClassName = props =>\n options\n .filter(i => Boolean(props[i]))\n .map((i, index) => index ? i.charAt(0).toUpperCase() + i.slice(1) : i)\n .join('');\n\nexport default compose<any, any>(\n setDisplayName('Text'),\n withTheme(styles),\n withPropsOnChange(options, (props) => ({ size: getClassName(props) }))\n)(view);\n","module.exports = {\n\t\"root\": \"findify-layouts--content\",\n\t\"content\": \"findify-layouts--content__content\"\n};","/**\n * @module components/search/MobileFacets\n */\n\nimport React from 'react';\nimport { withHandlers, withPropsOnChange, compose } from 'recompose';\nimport MapArray from 'components/common/MapArray';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport { ThemedSFCProps, IFacet, MJSConfiguration } from 'types';\nimport { List } from 'immutable';\n\nconst withClickHandler = withHandlers({\n onClick: ({ selectFacet, item }) => () => selectFacet(item.get('name'))\n});\n\n/** Props that MobileFacets FacetLabel accepts */\nexport interface IMobileFacetsLabelProps extends ThemedSFCProps {\n /** Facet */\n item: IFacet;\n /** Count of filters enabled */\n filterCount?: number;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Click handler to open facet customization menu */\n onClick: (evt?: React.MouseEvent<any>) => any\n}\n\n\n/** TODO: Not sure this is really needed, but find a way to show selected filters count,\n * when filters are overflowing, which is not hacky\n */\nconst FacetLabel = compose(\n withClickHandler,\n withPropsOnChange(['item'], ({ item }) => ({\n isTextFacet: item && ['category', 'text'].includes(item.get('type')),\n selectedValues: item && item.get('values').filter(item => item.get('selected')) || List(),\n }))\n)(({ item, isTextFacet, theme, onClick, selectedValues, config }: any) =>\n <Button raw className={theme.facetTitle} onClick={onClick}>\n <div className={theme.flexFix}>\n <Text primary uppercase inlineBlock>\n { config.getIn(['facets', 'labels', item.get('name')], item.get('name')) }\n </Text>\n <Text\n display-if={isTextFacet}\n secondary\n inlineBlock\n className={theme.selectedValues}>\n {selectedValues.map(item => item.get('value')).join(', ')}\n </Text>\n <Text\n display-if={selectedValues.size > 0 && !isTextFacet}\n className={theme.filterCount}\n secondary\n uppercase\n inlineBlock>\n ({ selectedValues.size })\n </Text>\n </div>\n </Button>\n)\n\n/** Props that MobileFacets TitlesView accepts */\nexport interface IMobileFacetsTitlesProps extends ThemedSFCProps {\n /** immutable.List of facets */\n facets: List<IFacet>;\n /** Method to select facet by its name */\n selectFacet: (name: string) => any;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst MobileFacetsTitlesView = ({ theme, facets, selectFacet, config }: IMobileFacetsTitlesProps) =>\n <MapArray\n config={config}\n theme={theme}\n selectFacet={selectFacet}\n factory={FacetLabel}\n array={facets} />\n\nexport default MobileFacetsTitlesView;\n","/**\n * @module components/Banner\n */\nimport React from 'react';\nimport { connectBanner } from '@findify/react-connect';\nimport { compose, setDisplayName } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport styles from './styles.css';\nimport view from './view';\n\nexport default compose(\n setDisplayName('Banner'),\n withTheme(styles),\n connectBanner\n)(view);\n","/**\n * @module components/common/Grid\n */\n\nimport React from 'react';\nimport cx from 'classnames';\nimport { setDisplayName } from 'recompose';\n\nimport styles from 'components/common/Grid/styles.css';\n\n/** List of props that GridColumn accepts */\nexport interface IGridColumnProps {\n /** Custom className for column */\n className?: string;\n /** Column className */\n columnClass?: string;\n /** Column inline style */\n columnStyle?: React.CSSProperties;\n /** Contents of the column */\n children?: React.ReactChild;\n}\n\n/** Used to concatenate & build complete className from props */\nconst getClassName = (props: IGridColumnProps) =>\n cx(styles.column, props.className, props.columnClass);\n\nconst GridColumn = setDisplayName('GridColumn')((props: IGridColumnProps) => (\n <div className={getClassName(props)} style={props.columnStyle}>\n {props.children}\n </div>\n));\n\nexport default GridColumn;\n","/**\n * @module components/ColorFacet\n */\n\nimport React from 'react';\n// import color from 'tinycolor2';\nimport { IFacetValue, MJSConfiguration } from 'types';\n\n/**\n * Used to retrieve CSS styles for each facet\n * @param item Facet value\n * @param config MJS configuration to pull mapping from\n */\nconst getStyles = (item: IFacetValue, config: MJSConfiguration) => {\n const value = (item.get('value') as string)!.toLowerCase();\n const background = config.getIn(['facets', 'color', 'mapping', value], value);\n return {\n ball: { background },\n // check: { color: color(background).isDark() ? '#fff' : '#333' }\n }\n};\n\nexport default ({ item, config, theme }) => {\n const styles = getStyles(item, config);\n return <span style={styles.ball} className={theme.ball}/>\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar immutable_1 = require(\"immutable\");\nvar getDisplayName_1 = require(\"../utils/getDisplayName\");\nvar mapValues_1 = require(\"../utils/mapValues\");\nvar createProvider_1 = require(\"../provider/createProvider\");\nvar memoize_one_1 = require(\"memoize-one\");\nvar capitalize = function (s) { return s.charAt(0).toUpperCase() + s.slice(1); };\nvar createComponent = function (_a) {\n var field = _a.field, feature = _a.feature, handlers = _a.handlers, mapProps = _a.mapProps, BaseComponent = _a.BaseComponent, _b = _a.key, key = _b === void 0 ? '' : _b;\n var storeKey = !!key && key || 'default';\n var displayName = \"Connect\" + capitalize(field) + \"(\" + getDisplayName_1.getDisplayName(BaseComponent) + \")\";\n var factory = react_1.createFactory(BaseComponent);\n var Connect = (function (_super) {\n __extends(Connect, _super);\n function Connect(props) {\n var _this = _super.call(this, props) || this;\n _this.cachedHandlers = {};\n _this.handleUpdate = function (changes, meta, direct) {\n if (meta === void 0) { meta = immutable_1.Map(); }\n if (direct === void 0) { direct = false; }\n var analytics = _this.props.analytics;\n var mapped = mapProps && mapProps(changes, meta, _this.changeAction, analytics);\n var state = __assign({ meta: meta }, (mapped || (_a = {}, _a[field] = changes, _a)));\n direct ? _this.state = state : _this.setState(state);\n var _a;\n };\n _this.handlers = mapValues_1.default(handlers, function (createHandler, handlerName) { return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var cachedHandler = _this.cachedHandlers[handlerName];\n if (cachedHandler)\n return cachedHandler.apply(void 0, args);\n var handler = createHandler(__assign({ update: _this.changeAction, analytics: _this.props.analytics }, _this.state));\n _this.cachedHandlers[handlerName] = handler;\n return handler.apply(void 0, args);\n }; });\n _this.makeHandlers = memoize_one_1.default(function (state) {\n var analytics = _this.props.analytics;\n return mapValues_1.default(handlers, function (createHandler, handlerName) { return function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var handler = createHandler(__assign({ analytics: analytics, update: _this.changeAction }, state));\n return handler.apply(void 0, args);\n }; });\n });\n var $store = props.agent;\n if (!$store) {\n throw new Error(\"\\n Can't find Provider \\\"\" + (storeKey ? ' with key ' + storeKey : '') + \",\\n You should create provider with correct Agent, or set \\\"storeKey\\\"\\n \");\n }\n _this.changeAction = $store.set;\n _this.handleUpdate(field !== 'query' ? $store.response.get(field) : $store.state, $store.response.get('meta'), true);\n return _this;\n }\n Connect.prototype.componentWillMount = function () {\n this.props.agent.on(\"change:\" + field, this.handleUpdate);\n };\n Connect.prototype.componentWillUnmount = function () {\n this.props.agent.off(this.handleUpdate);\n };\n Connect.prototype.shouldComponentUpdate = function (nextProps, nextState) {\n var _this = this;\n return ((!this.state[field] || !this.state[field].equals(nextState[field]) || !this.state.meta.equals(nextState.meta))\n || !!Object.keys(nextProps).find(function (key) { return !immutable_1.is(nextProps[key], _this.props[key]); }));\n };\n Connect.prototype.componentWillReceiveProps = function () {\n this.cachedHandlers = {};\n };\n Connect.prototype.render = function () {\n return factory(__assign({}, this.state, this.props, this.makeHandlers(this.state), { update: this.changeAction }));\n };\n return Connect;\n }(react_1.Component));\n Connect.prototype.displayName = displayName;\n return function (props) { return react_1.createElement(createProvider_1.Context.Consumer, null, function (agents) {\n return react_1.createElement(Connect, __assign({}, props, agents[storeKey]));\n }); };\n};\nexports.default = (function (_a) {\n var field = _a.field, handlers = _a.handlers, mapProps = _a.mapProps;\n return function (connector) {\n return typeof connector === 'function'\n ? createComponent({\n field: field,\n handlers: handlers,\n mapProps: mapProps,\n BaseComponent: connector\n })\n : function (BaseComponent) {\n return createComponent(__assign({ field: field,\n handlers: handlers,\n mapProps: mapProps,\n BaseComponent: BaseComponent }, connector));\n };\n };\n});\n//# sourceMappingURL=createConnect.js.map","import React, { createElement, Component } from 'react';\nimport { createPortal } from 'react-dom';\n\n/**\n * Creates element for the portal to render into\n * @returns HTML element to pass to React\n */\nconst createRoot = (): HTMLDivElement => {\n const div = document.createElement('div');\n div.className = 'findify-portal';\n document.body.appendChild(div);\n return div;\n}\n\nexport class Portal extends Component<any>{\n element: any;\n\n static displayName = 'BodyRender';\n\n constructor(props) {\n super(props);\n this.element = createRoot();\n }\n\n componentDidMount() {\n document.body.appendChild(this.element);\n }\n\n componentWillUnmount() {\n document.body.removeChild(this.element);\n }\n\n render() {\n return createPortal(createElement(this.props.children), this.element)\n }\n}\n\n\nexport const portal = (children, extraProps = {}) => createElement(Portal, { children, ...extraProps });\n","/**\n * @module components/RatingFacet\n */\nimport cx from 'classnames'\nimport React from 'react';\nimport Icon from 'components/Icon';\n\nexport default ({ item, theme, config }) =>\n<>\n {\n [...Array(item.get('from')).keys()]\n .map((_, i) => <Icon className={theme.star} name='Star' key={'fill-' + i} />)\n }\n {\n [...Array(5 - item.get('from')).keys()]\n .map((_, i) => <Icon className={cx(theme.star, theme.unfilled)} name='Star' key={'unfill-' + i} />)\n }\n</>\n","/**\n * @module components/common/Sticky\n */\n\nimport React from 'react';\nimport cx from 'classnames';\n\nexport default ({ theme, registerRoot, registerContainer, registerSizer, children, state }) =>\n<div className={theme.root} ref={registerRoot}>\n <div className={cx(theme.container, theme[state])} ref={registerContainer}>\n { children }\n </div>\n <div className={theme.wrapper} ref={registerSizer} />\n</div>\n","/**\n * @module components/search/DesktopFacets\n */\n\nimport React from 'react';\nimport Branch from 'components/common/Branch';\nimport MapArray from 'components/common/MapArray';\nimport Facet from 'components/Facet';\nimport Sticky from 'components/common/Sticky';\nimport Text from 'components/Text';\nimport Button from 'components/Button';\nimport Icon from 'components/Icon';\nimport { classNames } from 'classnames';\nimport * as titles from 'components/search/DesktopFacets/Title';\nimport { MJSConfiguration, ThemedSFCProps, IFacet, MJSValue } from 'types';\nimport { List, Map } from 'immutable';\n\nconst DefaultContent = ({ theme, children, config }) =>\n <div className={theme.root}>{children}</div>\n\n/** Props that DesktopFacets view accepts */\nexport interface IDesktopFacetsProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Facets list */\n facets: List<IFacet>;\n /** Method called to reset facets */\n onReset: () => any;\n /** MJS API Response Metadata */\n meta: Map<string, MJSValue>;\n /** Method to hide facets */\n hideFacets: () => any;\n /** Shows visibility status of facets */\n visible: boolean;\n}\n\nconst DesktopFacetsView: React.SFC<IDesktopFacetsProps> = ({\n config,\n facets, theme, onReset, meta, hideFacets, visible }: IDesktopFacetsProps) =>\n<Branch\n display-if={!config.get('hidableFacets') || visible}\n theme={theme}\n condition={config.getIn(['view', 'stickyFilters'])}\n left={Sticky}\n right={DefaultContent}>\n\n <Branch\n display-if={!config.get('showFacetsTitle')}\n meta={meta}\n config={config}\n theme={theme}\n onReset={onReset}\n onHide={hideFacets}\n condition={config.get('hidableFacets')}\n left={titles.hidable}\n right={titles.default}\n />\n\n <MapArray\n theme={{ root: theme.facet }}\n array={facets}\n factory={Facet}\n config={config}\n keyAccessor={i => i.get('name')} />\n\n</Branch>\n\nexport default DesktopFacetsView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createProvider_1 = require(\"./createProvider\");\nexports.Autocomplete = createProvider_1.createProvider('Autocomplete');\nexports.Search = createProvider_1.createProvider('Search');\nexports.SmartCollection = createProvider_1.createProvider('SmartCollection');\nexports.Recommendation = createProvider_1.createProvider('Recommendation');\nexports.Content = createProvider_1.createProvider('Content');\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar immutable_1 = require(\"immutable\");\nexports.key = '__immutable';\nvar empty = immutable_1.Map();\nexports.default = (function (name) {\n return (function (_super) {\n __extends(ExtendableRecord, _super);\n function ExtendableRecord(immutable) {\n var _this = _super.call(this, (_a = {}, _a[exports.key] = immutable, _a)) || this;\n return _this;\n var _a;\n }\n ;\n ExtendableRecord.prototype.get = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n return (_a = _super.prototype.get.call(this, exports.key, empty)).get.apply(_a, args);\n var _a;\n };\n ExtendableRecord.prototype.set = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n var upd = _immutable.set.apply(_immutable, args);\n return _super.prototype.set.call(this, exports.key, upd);\n };\n ExtendableRecord.prototype.update = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n var upd = _immutable.update.apply(_immutable, args);\n return _super.prototype.set.call(this, exports.key, upd);\n };\n ExtendableRecord.prototype.equals = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n return _immutable.equals.apply(_immutable, args);\n };\n ExtendableRecord.prototype.hashCode = function () {\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n return _immutable.hashCode();\n };\n ExtendableRecord.prototype.toJS = function () {\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n return _immutable.toJS();\n };\n ExtendableRecord.prototype.toObject = function () {\n return _super.prototype.get.call(this, exports.key, empty).toObject();\n };\n ExtendableRecord.prototype.filter = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var _immutable = _super.prototype.get.call(this, exports.key, empty);\n return _immutable.filter.apply(_immutable, args);\n };\n return ExtendableRecord;\n }(immutable_1.Record((_a = {}, _a[exports.key] = void 0, _a), name)));\n var _a;\n});\n//# sourceMappingURL=createRecord.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'meta:sort',\n mapProps: function (props) { return ({\n selected: props && props.get(0),\n }); },\n handlers: {\n onChangeSort: function (_a) {\n var update = _a.update;\n return function (field, order) {\n return !field\n ? update('sort')\n : update('sort', [{ field: field, order: order }]);\n };\n }\n }\n});\n//# sourceMappingURL=connectSort.js.map","/**\n * @module components/common/Branch\n */\n\nimport React from 'react';\n\n/** Props that Branch component accepts */\nexport interface IBranchProps {\n /**\n * Use display-if to hide a component.\n * When property is not defined or is set to true - component is rendered,\n * when it is false - hidden\n */\n 'display-if'?: boolean;\n /** Component to render in case **condition** is true */\n left?: React.ComponentType;\n /** Component to render in case **condition** is false */\n right?: React.ComponentType;\n /** Boolean value to test against */\n condition?: boolean;\n /** Rest props to be passed to rendered component */\n [x: string]: any;\n}\n\nconst Branch = ({ left, right, children, condition, ...props }: IBranchProps) => {\n const Component = (condition ? left : right || React.Fragment) as React.ComponentType;\n return <Component {...((condition || right) && props)}>{children}</Component>\n}\n\nexport default Branch;\n","/**\n * @module components/autocomplete/Tip\n */\nimport React from 'react';\nimport view from 'components/autocomplete/Tip/view';\nimport styles from 'components/autocomplete/Tip/styles.css';\nimport { compose, setDisplayName } from 'recompose'\nimport { connectSuggestions } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\n\nexport default compose(\n setDisplayName('Tip'),\n withTheme(styles),\n connectSuggestions,\n)(view)\n","/**\n * @module layouts/Recommendation/Slider\n */\nimport React from 'react';\nimport { compose, withPropsOnChange, withStateHandlers, withHandlers, defaultProps } from 'recompose';\nimport { connectItems } from '@findify/react-connect';\nimport sizeMe from 'react-sizeme';\nimport withTheme from 'helpers/withTheme';\nimport withMinResultsToShow from 'helpers/withMinResultsToShow';\nimport { renderArrow } from 'layouts/Recommendation/Slider/Arrow';\nimport view from 'layouts/Recommendation/Swiper/view';\nimport { Map } from 'immutable';\n\nimport 'layouts/Recommendation/Swiper/styles.global.css';\nimport styles from 'layouts/Recommendation/Swiper/styles.css';\n\n/**\n * This function is used to calculate products to show in a line of a Slider according to its width\n * @param width Width of slider\n * @returns Number of items to show in a Slider\n */\nconst countProductsToShow = width => {\n if (width > 1200) return 6;\n if (width > 900) return 5;\n if (width > 700) return 4;\n if (width > 500) return 3;\n if (width > 300) return 2;\n return 2;\n};\n\nexport default compose(\n withTheme(styles),\n connectItems,\n sizeMe(),\n\n withStateHandlers(\n { instance: undefined },\n { _mountSlider: (initial) => (instance = initial) => ({ instance }) }\n ),\n\n withMinResultsToShow(),\n\n withPropsOnChange(['config', 'size'], ({ config, size }) => ({\n sliderOptions: {\n slidesPerView: countProductsToShow(size.width),\n navigation: {\n nextEl: '.swiper-button-next',\n prevEl: '.swiper-button-prev',\n },\n ...config.get('sliderOptions', Map()).toJS(),\n }\n }))\n)(view);\n","/**\n * @module components/ColorFacet\n */\n\nimport React from 'react';\nimport content from 'components/ColorFacet/content';\nimport Icon from 'components/Icon';\nimport cx from 'classnames';\n/** Props that ColorFacet Item accepts */\nimport { IFacetValue, MJSConfiguration, ThemedSFCProps } from 'types';\n\nexport interface IColorFacetItemProps extends ThemedSFCProps {\n /** Facet to render */\n item: IFacetValue;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst Item = ({ item, theme, config }: IColorFacetItemProps) =>\n<button className={cx(theme.item, (item.get('selected') as boolean) && theme.active)} onClick={item.toggle}>\n { content({ item, config, theme }) }\n <Icon display-if={item.get('selected')} name='CheckmarkDark' className={theme.check} />\n</button>\n\nexport default Item;\n","/**\n * @module components/Breadcrumbs\n */\n\nimport React from 'react';\nimport Grid from 'components/common/Grid';\nimport MapArray from 'components/common/MapArray';\nimport createBreadcrumb from 'components/Breadcrumbs/createBreadcrumb';\n\nimport CheckboxContent from 'components/CheckboxFacet/content';\nimport RangeContent from 'components/RangeFacet/content';\nimport RatingContent from 'components/RatingFacet/content';\nimport ColorContent from 'components/ColorFacet/content';\nimport { ThemedSFC, IFacet, MJSConfiguration, ThemedSFCProps } from 'types';\nimport { List } from 'immutable'\n\n\n/**\n * Breadcrumb factory used to automatically initialize breadcrumbs\n * depending on filters used in a search\n */\nconst Breadcrumb = createBreadcrumb({\n text: CheckboxContent,\n range: RangeContent,\n color: ColorContent,\n category: CheckboxContent,\n price: RangeContent,\n rating: RatingContent,\n});\n\n/** Props that Breadcrumbs component accepts */\nexport interface IBreadcrumbProps extends ThemedSFCProps {\n /* List of active filters for current query */\n filters: List<IFacet>;\n /* MJS configuration */\n config: MJSConfiguration;\n}\n\nconst BreadcrumbsView: React.SFC<IBreadcrumbProps> = ({ filters, theme, config }: IBreadcrumbProps) => (\n <MapArray\n theme={theme}\n config={config}\n array={filters}\n factory={Breadcrumb}\n />\n)\n\nexport default BreadcrumbsView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (obj, func) {\n var result = {};\n for (var key in obj) {\n if (obj.hasOwnProperty(key)) {\n result[key] = func(obj[key], key);\n }\n }\n return result;\n});\n//# sourceMappingURL=mapValues.js.map","/**\n * @module components/CheckboxFacet\n */\n\nimport React from 'react';\nimport content from 'components/CheckboxFacet/content';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport { IFacetValue, ThemedSFCProps } from 'types';\n\n/** Props that CheckboxFacet Item accepts */\nexport interface ICheckboxFacetItemProps extends ThemedSFCProps {\n /** Single item from facet */\n item: IFacetValue;\n /** CheckboxFacet Item click handler */\n onItemClick?: (evt: Event) => any;\n /** Custom inline style */\n style: { [x: string]: string | number };\n}\n\nconst Item = ({ item, theme, style, onItemClick }: ICheckboxFacetItemProps) =>\n <Button style={style} className={theme.item} onClick={(evt) => {\n item.toggle(evt)\n onItemClick && onItemClick(evt);\n }}>\n <Icon name={item.get('selected') ? 'CheckboxFilled' : 'CheckboxEmpty'} />\n <Text\n primary\n lowercase\n className={theme.content}\n bold={item.get('selected')}>\n { content({ item }) }\n </Text>\n <Text secondary uppercase>\n ({item.get('count')})\n </Text>\n </Button>\n\nexport default Item;\n","/**\n * @module components/Tabs\n */\n\nimport React from 'react'\nimport { compose, setDisplayName, withProps, withPropsOnChange, withStateHandlers } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport theme from 'components/Tabs/styles.css'\nimport view from 'components/Tabs/view'\n\nconst nullOrUndefined = (val) => val === null || typeof val === 'undefined'\n\nexport const Tabs = compose(\n setDisplayName('Tabs'),\n\n withTheme(theme),\n\n withStateHandlers(\n ({ selectedIndex = 0 }) => ({ selectedIndex }),\n {\n onTabClick: (_, { onTabClick }) => (selectedIndex) => {\n if (onTabClick) onTabClick(selectedIndex)\n return ({ selectedIndex })\n }\n }\n ),\n\n withProps(({ children, selectedIndex, onTabClick }) => {\n const bodyCandidate = React.Children.toArray(children)[selectedIndex];\n return ({\n body: React.cloneElement(bodyCandidate.props.children, { changeTab: onTabClick })\n })\n })\n)(view);\n\nexport const Tab = () => null;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.env = {\n staging: {\n searchApiUrl: 'https://search-staging.findify.io/v3',\n bigcommerceTrackingUrl: 'https://order.findify.io/bigcommerce-staging',\n },\n production: {\n searchApiUrl: 'https://api-v3.findify.io/v3',\n bigcommerceTrackingUrl: 'https://order.findify.io/bigcommerce',\n }\n};\nexports.default = exports.env[(typeof process !== 'undefined' && process.env && process.env.FINDIFY_ENV) ||\n 'production'];\n//# sourceMappingURL=settings.js.map","import React from 'react'\nimport Drawer from 'components/common/Drawer'\nimport Icon from 'components/Icon'\nimport SearchSuggestions from 'components/autocomplete/SearchSuggestions'\n\nclass Sidebar extends React.Component {\n state = { isOpen: false };\n suggestionsContainer: any;\n input: any;\n isFocused: any;\n mounted = false;\n\n componentWillUnmount() {\n this.setState({ isOpen: false });\n document.removeEventListener('focusout', this.handleFocusOut);\n this.mounted = false;\n }\n\n componentDidMount() {\n this.setState({ isOpen: true });\n this.mounted = true;\n document.addEventListener('focusout', this.handleFocusOut, true)\n }\n\n handleFocusOut = (e) => {\n e.stopImmediatePropagation()\n if (!this.mounted) return;\n if (e.relatedTarget === this.input) {\n this.isFocused = false;\n this.setState({ isOpen: false });\n return;\n }\n }\n\n handleInputChange = ({ target: { value }}) => {\n // update agent\n this.props.update('q', value)\n }\n\n componentDidUpdate() {\n this.input && this.input.focus()\n }\n\n handleExited = () => {\n (window as any).findify.emit('autocompleteFocusLost', this.props.config.get('widgetKey'))\n }\n\n getInputRef = (el) => {\n this.input = el\n }\n\n handleSubmit = () => {\n (window as any).findify.emit('search', this.props.config.get('widgetKey'), this.input.value);\n this.handleExited()\n }\n\n render() {\n const { theme, meta, isMobile, suggestions, config, ...rest } = this.props;\n \n return (\n <Drawer hideModal={this.handleExited}>\n <div className={theme.root} data-findify-autocomplete={true} tabIndex={0}>\n <div className={theme.backdrop} />\n <div className={theme.header}>\n <form onSubmit={this.handleSubmit}>\n <input\n defaultValue={meta.get('q')}\n className={theme.input}\n ref={this.getInputRef}\n onChange={this.handleInputChange}\n placeholder='What are you looking for?' />\n </form>\n <div className={theme.icons}>\n <Icon\n onClick={this.handleSubmit}\n className={theme.searchIcon}\n name={'Search'}\n width={18}\n height={18} />\n <div className={theme.iconDivider}></div>\n <Icon\n onClick={this.handleExited}\n className={theme.xIcon}\n name={'XMobile'}\n width={13}\n height={13} />\n </div>\n </div>\n <div className={theme.suggestionsWrapper} display-if={suggestions && suggestions.size > 0}>\n <div className={theme.suggestionsContainer} ref={(el) => {this.suggestionsContainer = el}}>\n <h4 className={theme.typeTitle}>{config.getIn(['i18n', 'suggestionsTitle'])}</h4>\n <SearchSuggestions className={theme.searchSuggestions} widgetKey={config.get('widgetKey')} {...rest} />\n </div>\n </div>\n </div>\n </Drawer>\n )\n }\n}\n\nexport default Sidebar;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'config'\n});\n//# sourceMappingURL=connectConfig.js.map","module.exports = {\n\t\"root\": \"findify-components-common--grid\",\n\t\"column\": \"findify-components-common--grid__column\",\n\t\"column-1\": \"findify-components-common--grid__column-1\",\n\t\"column1\": \"findify-components-common--grid__column-1\",\n\t\"column-2\": \"findify-components-common--grid__column-2\",\n\t\"column2\": \"findify-components-common--grid__column-2\",\n\t\"column-3\": \"findify-components-common--grid__column-3\",\n\t\"column3\": \"findify-components-common--grid__column-3\",\n\t\"column-4\": \"findify-components-common--grid__column-4\",\n\t\"column4\": \"findify-components-common--grid__column-4\",\n\t\"column-5\": \"findify-components-common--grid__column-5\",\n\t\"column5\": \"findify-components-common--grid__column-5\",\n\t\"column-6\": \"findify-components-common--grid__column-6\",\n\t\"column6\": \"findify-components-common--grid__column-6\",\n\t\"column-7\": \"findify-components-common--grid__column-7\",\n\t\"column7\": \"findify-components-common--grid__column-7\",\n\t\"column-8\": \"findify-components-common--grid__column-8\",\n\t\"column8\": \"findify-components-common--grid__column-8\",\n\t\"column-9\": \"findify-components-common--grid__column-9\",\n\t\"column9\": \"findify-components-common--grid__column-9\",\n\t\"column-10\": \"findify-components-common--grid__column-10\",\n\t\"column10\": \"findify-components-common--grid__column-10\",\n\t\"column-11\": \"findify-components-common--grid__column-11\",\n\t\"column11\": \"findify-components-common--grid__column-11\",\n\t\"column-12\": \"findify-components-common--grid__column-12\",\n\t\"column12\": \"findify-components-common--grid__column-12\"\n};","/**\n * @module components/search/Query\n */\n\nimport React from 'react';\nimport escape from 'lodash/escape';\nimport template from 'helpers/template';\nimport Text from 'components/Text';\nimport { IQuery, MJSConfiguration, MJSValue, ThemedSFCProps } from 'types';\nimport { Map } from 'immutable';\n\n/** Props that getContent method uses to build query text at the top of Search page */\nexport interface IGetContentProps {\n /** Search query */\n query: IQuery;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Additional MJS API request meta */\n meta: Map<string, MJSValue>;\n}\n\nconst getContent = ({ query, config, meta }: IGetContentProps) => {\n const hasFilters = !!meta.get('filters');\n const tpls = config.getIn(['breadcrumbs', 'i18n'], Map());\n const q = escape(meta.get('q') as string);\n const total = meta.get('total');\n if (!q && !hasFilters) {\n return tpls.get('noQuery');\n }\n \n if (hasFilters && !q) {\n return template(tpls.get('showingEmpty'))(total);\n }\n \n if (meta.get('corrected_q')) {\n const text = template(tpls.get('showing'))(total);\n return <Text primary uppercase html={\n `${text} \"${escape(meta.get('corrected_q') as string)}\". ${tpls.get('zeroResultsFor')} \"${q}\".`\n } />\n }\n\n if (meta.get('query_type') === 'or') {\n const text = template(tpls.get('showing'))('0');\n return <Text primary uppercase html={`${text} \"${q}\". ${tpls.get('partialMatch')}`} />\n }\n \n const text = template(tpls.get('showing'))(total);\n return <Text primary uppercase html={`${text} \"${q}\".`} />\n}\n\nconst QueryView = ({ theme, ...props}: ThemedSFCProps & IGetContentProps) =>\n<Text primary uppercase className={theme.root}>\n { getContent(props) }\n</Text>\n\nexport default QueryView;\n\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar request_1 = require(\"@findify/sdk/lib/request\");\nexports.Request = request_1.Request;\nexports.RequestBody = request_1.Body;\nexports.RequestType = request_1.Type;\nvar response_1 = require(\"@findify/sdk/lib/response\");\nexports.ResponseBody = response_1.Body;\nexports.ResponseMeta = response_1.Meta;\nvar Field;\n(function (Field) {\n Field[\"Filters\"] = \"filters\";\n Field[\"Query\"] = \"q\";\n Field[\"Sort\"] = \"sort\";\n Field[\"Offset\"] = \"offset\";\n Field[\"Limit\"] = \"limit\";\n})(Field = exports.Field || (exports.Field = {}));\nvar Facets;\n(function (Facets) {\n Facets[\"text\"] = \"text\";\n Facets[\"category\"] = \"category\";\n Facets[\"range\"] = \"range\";\n})(Facets = exports.Facets || (exports.Facets = {}));\n//# sourceMappingURL=types.js.map","module.exports = {\n\t\"modal\": \"findify-components-search--mobile-facets__modal\",\n\t\"filter-count\": \"findify-components-search--mobile-facets__filter-count\",\n\t\"filterCount\": \"findify-components-search--mobile-facets__filter-count\",\n\t\"back-button\": \"findify-components-search--mobile-facets__back-button\",\n\t\"backButton\": \"findify-components-search--mobile-facets__back-button\",\n\t\"header\": \"findify-components-search--mobile-facets__header\",\n\t\"body\": \"findify-components-search--mobile-facets__body\",\n\t\"footer\": \"findify-components-search--mobile-facets__footer\",\n\t\"title\": \"findify-components-search--mobile-facets__title\",\n\t\"facet-title\": \"findify-components-search--mobile-facets__facet-title\",\n\t\"facetTitle\": \"findify-components-search--mobile-facets__facet-title\",\n\t\"flex-fix\": \"findify-components-search--mobile-facets__flex-fix\",\n\t\"flexFix\": \"findify-components-search--mobile-facets__flex-fix\",\n\t\"selected-values\": \"findify-components-search--mobile-facets__selected-values\",\n\t\"selectedValues\": \"findify-components-search--mobile-facets__selected-values\",\n\t\"container\": \"findify-components-search--mobile-facets__container\",\n\t\"rating\": \"findify-components-search--mobile-facets__rating\",\n\t\"expand\": \"findify-components-search--mobile-facets__expand\",\n\t\"expanded-list\": \"findify-components-search--mobile-facets__expanded-list\",\n\t\"expandedList\": \"findify-components-search--mobile-facets__expanded-list\",\n\t\"range\": \"findify-components-search--mobile-facets__range\",\n\t\"facet-root\": \"findify-components-search--mobile-facets__facet-root\",\n\t\"facetRoot\": \"findify-components-search--mobile-facets__facet-root\"\n};","/**\n * @module layouts/Autocomplete\n */\n\nimport React, { createElement } from 'react';\nimport { connectConfig } from '@findify/react-connect';\nimport { portal } from 'helpers/createPortal';\n\nimport Dropdown from 'layouts/Autocomplete/Dropdown';\nimport Sidebar from 'layouts/Autocomplete/Sidebar';\nimport Fullscreen from 'layouts/Autocomplete/Fullscreen';\n/** View type to View component mapping */\nconst LayoutTypes = {\n dropdown: Dropdown,\n sidebar: Sidebar,\n fullscreen: Fullscreen\n}\n\n/** Possible Autocomplete view types */\ntype AutocompleteType = keyof typeof LayoutTypes;\n\n\n// TODO: possibly migrate data-findify-autocomplete=true there as well\n/**\n * Layout factory is used to wrap Autocomplete layout in a div, containing data-findify-autocomplete-wrapper attribute,\n * which it requires in order to work correctly\n * @param type View type needed\n * @param props Props for React component\n */\nconst layoutFactory = (type: AutocompleteType, props) => () => (\n <div data-findify-autocomplete-wrapper=\"true\">{createElement(LayoutTypes[type] || Fullscreen, props)}</div>\n)\n\n/**\n * Used to render view either in a portal or in place\n * @param type View type needed\n * @param props Props for React component\n */\nconst renderView = (type: AutocompleteType, props) => (\n (type === 'sidebar' ? portal : createElement)(layoutFactory(type, props))\n)\n\nconst Autocomplete = connectConfig(({ config, isTrendingSearches,...rest }) => {\n const isMobile = window.innerWidth < config.get('mobileBreakpoint')\n const viewType: AutocompleteType = isMobile && config.get('mobileViewType', 'sidebar') || config.get('viewType', 'simple')\n return renderView(viewType, { ...rest, config, isMobile, isTrendingSearches })\n});\n\nexport default process.env.HOT\n ? require('react-hot-loader').hot(module)(Autocomplete)\n : Autocomplete;\n","module.exports = {\n\t\"root\": \"findify-components--cards--content\",\n\t\"linkIcon\": \"findify-components--cards--content__linkIcon\",\n\t\"image-wrap\": \"findify-components--cards--content__image-wrap\",\n\t\"imageWrap\": \"findify-components--cards--content__image-wrap\",\n\t\"image\": \"findify-components--cards--content__image\",\n\t\"title\": \"findify-components--cards--content__title\",\n\t\"description\": \"findify-components--cards--content__description\"\n};","import React from 'react';\nimport MapArray from 'components/common/MapArray';\nimport { withHandlers } from 'recompose';\nimport Button from 'components/Button';\nimport cx from 'classnames';\n\nconst Tab = withHandlers({\n onClick: ({ onClick, item }) => e => {\n e.preventDefault();\n return onClick(item.key);\n } \n})(({ theme, item, onClick }: any) =>\n <Button\n onClick={onClick}\n disabled={!item.count}\n className={cx(theme.item, item.active && theme.active)}>\n {item.title}\n <span className={theme.count} display-if={!!item.count}>\n {item.count}\n </span>\n </Button>\n);\n\nexport default ({ onClick, widgets, theme }) =>\n <div className={theme.root}>\n <MapArray\n keyAccessor={i => i.key}\n array={widgets}\n factory={Tab}\n theme={theme}\n onClick={onClick}\n />\n </div>\n","/**\n * @module components/search/MobileSorting\n */\nimport React from 'react';\nimport { compose, setDisplayName, withProps, withHandlers } from \"recompose\";\nimport { connectSort } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport { is } from 'immutable';\nimport pure from 'helpers/pure';\n\nimport view from 'components/search/MobileSorting/view';\nimport styles from 'components/search/MobileSorting/styles.css';\n\nexport default compose(\n pure,\n setDisplayName('MobileSorting'),\n withTheme(styles),\n connectSort,\n withProps(({ config, meta }) => {\n const selected = meta.getIn(['sort', 0]);\n const labels = config.getIn(['sorting', 'i18n', 'options']);\n const items = config.getIn(['sorting', 'options']).map(i => i\n .set('label',\n labels.get([i.get('field'), i.get('order')].filter(i => i).join('|'))\n )\n .set('selected',\n !!selected\n ? is(i.get('order'), selected.get('order')) && is(i.get('field'), selected.get('field'))\n : i.get('field') === 'default'\n )\n );\n return { items }\n }),\n\n withHandlers({\n setSorting: ({ items, onChangeSort }) => index =>\n onChangeSort(items.getIn([index, 'field'], 'default'), items.getIn([index, 'order'], '')),\n })\n)(view)\n","/**\n * @module components/Cards/Product/Price\n */\n\nimport cx from 'classnames'\nimport React from 'react'\nimport { List } from 'immutable'\nimport Text from 'components/Text'\nimport { getPrice } from 'helpers/getPrice'\nimport { ClassnamedProps, ThemedSFCProps } from 'types';\n\n/** List of props that Price component accepts */\nexport interface IPriceProps extends ThemedSFCProps, ClassnamedProps {\n /** List of current prices */\n price: List<number>,\n /** Old price for the item */\n oldPrice?: number,\n /** Currency */\n currency: string,\n /** Discount percentages for item */\n discount: List<number>,\n /** Flag to show whether item is discounted */\n hasDiscount: boolean,\n /** Flag to show whether prices can be compared */\n hasCompare: boolean,\n}\n\nconst PriceView: React.SFC<IPriceProps> = ({\n className,\n price,\n theme,\n currency,\n hasDiscount,\n hasCompare,\n oldPrice\n}: IPriceProps) => (\n <div className={cx(theme.priceWrapper, className)}>\n <span className={cx(\n theme.price,\n (hasDiscount || hasCompare) && theme.salePrice\n )}>\n {getPrice(price, currency)}\n </span>\n <span display-if={hasCompare} className={cx(theme.compare)}>\n {getPrice(oldPrice, currency)}\n </span>\n </div>\n)\n\nexport default PriceView\n","/**\n * @module components/Cards/Product/Stickers\n */\n\nimport cx from 'classnames'\nimport React from 'react'\nimport Text from 'components/Text'\nimport Branch from 'components/common/Branch'\nimport withTheme from 'helpers/withTheme'\nimport theme from 'components/Cards/Product/Stickers/styles.css';\nimport { isImmutable, fromJS } from 'immutable'\n\nconst defaultDiscountConfig = fromJS({\n \"position\": \"top-right\",\n \"template\": {\n \"single\": \"%s% OFF\",\n \"multiple\": \"Up to %s% off\"\n },\n \"styles\": {\n \"background\": \"#c483b3\",\n \"color\": \"#ffffff\",\n \"fontFamily\": \"'Helvetica Neue', Helvetica, Arial, sans-serif;\",\n \"fontSize\": \"14\",\n \"fontWeight\": \"700\"\n }\n})\n\nconst defaultOutOfStockConfig = fromJS({\n \"template\": {\n \"single\": \"Out of stock\"\n },\n})\n\nexport const DiscountSticker = withTheme(theme)(({ className, discount, theme, config }) => {\n let realConfig = config.get('stickers')\n if (!realConfig || !realConfig.get('discount')) realConfig = defaultDiscountConfig\n else realConfig = realConfig.get('discount')\n return (\n <div className={cx(theme.discountSticker, className)}>\n <Text bold>\n <Branch\n condition={discount.size > 1}\n left={() => realConfig.getIn(['template', 'multiple']).replace('%s', Math.max.apply(Math, discount.toJS()))}\n right={() => (realConfig.getIn(['template', 'single']) || realConfig.get('template')).replace('%s', Math.max.apply(Math, discount.toJS()))} />\n </Text>\n </div>\n )\n})\n\nexport const OutOfStockSticker = withTheme(theme)(({ className, theme, config }) => {\n const realConfig = config.getIn(['stickers', 'out-of-stock'], defaultOutOfStockConfig)\n return (\n <div className={cx(theme.outOfStockSticker, className)}>\n <Text>\n {\n realConfig.getIn(['template', 'single']) || realConfig.get('template')\n }\n </Text>\n </div>\n )\n})\n","/**\n * @module components/search/StaticResults\n */\nimport React from 'react';\nimport { compose, setDisplayName, withPropsOnChange } from 'recompose';\nimport { connectConfig } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport withColumns from 'helpers/withColumns';\n\nimport view from 'components/search/StaticResults/view';\nimport styles from 'components/search/StaticResults/styles.css';\n\nexport default compose(\n setDisplayName('StaticResults'),\n\n withTheme(styles),\n\n connectConfig,\n\n withColumns()\n\n)(view);\n","/**\n * @module components/CheckboxFacet\n */\n\n/**\n * Used to extract content from facet data\n */\n const extractContent = ({ item }) => item.get('value');\n\n export default extractContent;\n","/**\n * @module components/ItemsList\n */\n\nimport React from 'react'\nimport ProductCard from 'components/Cards/Product'\nimport mapArray, { ArrayLike, MapArrayProps } from 'components/common/MapArray';\n\n// Default item factory is using ProductCard\nconst ItemFactory = React.createFactory(ProductCard);\n\n/** Props that ItemList view accepts */\nexport interface IItemsListProps extends MapArrayProps {\n /** Wrapper around mapArray */\n wrapper: React.ComponentType;\n /** Rest props that are passed to wrapper */\n [x: string]: any;\n}\n\n\nexport default ({ items, wrapper: Wrapper = React.Fragment, ...rest }: IItemsListProps) => {\n const { limit, factory, keyAccessor, ...wrapperProps } = rest\n return (\n <Wrapper {...wrapperProps}>\n { mapArray({ keyAccessor, limit, array: items, factory: factory || ItemFactory, ...wrapperProps }) }\n </Wrapper>\n )\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Types = require(\"../types\");\nvar sdk_1 = require(\"@findify/sdk\");\nvar immutable_1 = require(\"immutable\");\nvar Cache_1 = require(\"./Cache\");\nvar changes_1 = require(\"../utils/changes\");\nvar format_1 = require(\"../utils/format\");\nvar helpers_1 = require(\"../utils/helpers\");\nvar deepMerge_1 = require(\"../utils/deepMerge\");\nvar pickConfigProps = function (_a) {\n var debounce = _a.debounce, onError = _a.onError, _b = _a.immutable, immutable = _b === void 0 ? false : _b;\n return ({ debounce: debounce, onError: onError, immutable: immutable });\n};\n/**\n * Empty map of filters is a workaround for Smart Collections which have predefined filters,\n * that are lost on subsequent requests, because initially state is clear and it just skips generating\n * new state via queryToState\n */\nvar _initial = immutable_1.fromJS({ filters: {} });\n/**\n * Agent is a stateful event-based interface to Findify SDK, providing it\n * with features like automated request cancellation, request throttling,\n * efficient updating of inner state & providing a simple API to express transitions\n * from one request to another (things like adding / removing filters, changing sorting, etc.)\n */\nvar Agent = /** @class */ (function () {\n function Agent(config) {\n var _this = this;\n this.type = Types.RequestType.Search;\n this._defaults = _initial;\n this.state = _initial;\n this.response = _initial;\n this.handlers = [];\n /**\n * Set specific query value\n * eq: .set('limit', 20)\n * eq: .set('filters', (prevFilters) => {...prevFilters, size: ['M']})\n * @param field [string] - query field\n * @param update [any|function] - function which will return new value or value\n */\n this.set = function (field, update) {\n var oldValue = _this.state.get(field);\n var fx = helpers_1.isFunction(update) && update;\n var value = fx ? immutable_1.fromJS(fx(_this.format(oldValue))) : immutable_1.fromJS(update);\n if (field !== 'offset')\n _this.reset('offset'); // Reset offset on query change\n if (fx && !value)\n return _this; // Skip new value setting if update doesn't returned new value\n var changes = changes_1.getChangedFields(oldValue, immutable_1.isImmutable(value) ? value : immutable_1.fromJS(value));\n if (changes === false)\n return _this;\n if (immutable_1.isImmutable(changes) ? !changes.isEmpty() : true) {\n _this.cache.set(field, changes);\n }\n else {\n _this.reset(field);\n }\n _this.fireEvent('set:' + field, changes, immutable_1.Map());\n return _this;\n };\n var request = this.request.bind(this);\n this.config = pickConfigProps(config);\n this.onError = config.onError && config.onError.bind(this);\n this.handleResponse = this.handleResponse.bind(this);\n this.provider = sdk_1.init(config);\n this.cache = new Cache_1.Cache(config.debounce\n ? helpers_1.debounce(request, config.debounce)\n : request);\n }\n /**\n * Set values witch will be added to request by default\n * The defaults could be overwrite by via .set function\n * @param defaults [{ q: string, filters: any[], sort: any[], limit: number, offset: number }]\n * @param noInitialRequest whether to try to resolve agent request by default\n */\n Agent.prototype.defaults = function (defaults, noInitialRequest) {\n if (noInitialRequest === void 0) { noInitialRequest = false; }\n this._defaults = deepMerge_1.default(this._defaults, immutable_1.fromJS(defaults));\n if (!noInitialRequest)\n this.cache.resolve();\n return this;\n };\n /**\n * Listen to changes in specific response field\n * eq: change:items\n * @param key [string]: [action]:[...[:fields]]\n * @param handler [function(state, meta)]: callback function\n */\n Agent.prototype.on = function (key, handler) {\n var _a = key.split(':'), event = _a[0], path = _a.slice(1);\n this.handlers.push({ handler: handler, key: key, path: path, event: event });\n return this;\n };\n /**\n * Remove change listeners\n * eq: .off(someCallback) - will remove listeners with callback function \"someCallback\"\n * eq: .off('change:items') - will remove all listeners who listen to changes in items\n * @param action [string]: [action]:[...[:fields]] | [function]\n */\n Agent.prototype.off = function (action) {\n if (!action)\n this.handlers = [];\n this.handlers = this.handlers.filter(function (_a) {\n var key = _a.key, handler = _a.handler;\n return (helpers_1.isFunction(action) ? handler : key) !== action;\n });\n return this;\n };\n /**\n * Reset query/or field to default value\n * @param field [string?]\n */\n Agent.prototype.reset = function (field) {\n if (!field) {\n this.state = _initial;\n }\n else {\n this.state = this.state.delete(field);\n }\n this.cache.reset(field);\n return this;\n };\n /**\n * Apply desired request state to agent\n * @param state next query parameters\n */\n Agent.prototype.applyState = function (state) {\n this.reset();\n for (var key in state)\n this.set(key, state[key]);\n if (state.offset)\n this.set('offset', state.offset);\n };\n Agent.prototype.emit = function (event, data) {\n var handlers = this.handlers.filter(function (_a) {\n var key = _a.key;\n return key === event;\n });\n if (!handlers)\n return;\n for (var index = 0; index < handlers.length; index++) {\n if (!handlers[index])\n continue;\n handlers[index].handler(data);\n }\n };\n Agent.prototype.fireEvent = function (event, changes, meta) {\n var handlers = this.handlers.filter(function (_a) {\n var key = _a.key;\n return key === event;\n });\n if (!handlers)\n return;\n for (var index = 0; index < handlers.length; index++) {\n if (!handlers[index])\n continue;\n handlers[index].handler(this.format(changes), this.format(meta));\n }\n };\n Agent.prototype.handleChanges = function (next, meta) {\n var prev = this.response;\n for (var index = 0; index < this.handlers.length; index++) {\n if (!this.handlers[index])\n return;\n var _a = this.handlers[index], path = _a.path, handler = _a.handler, event = _a.event;\n if (event !== 'change')\n continue;\n var update = next.getIn(path);\n var old = prev.getIn(path);\n if (update && (!old || !old.equals(update))) {\n handler(this.format(update), this.format(meta));\n }\n }\n };\n Agent.prototype.handleResponse = function (res) {\n var response = immutable_1.fromJS(res);\n var newState = format_1.queryToState(this.state, response.get('meta'), this._defaults);\n this.handleChanges(response, response.get('meta'));\n this.fireEvent('change:query', newState, response.get('meta'));\n this.state = newState;\n this.response = response;\n };\n /**\n * Creates map of parameters to pass to SDK, depending on agent type & current request state\n * @param cache Cache instance to extract request state from\n */\n Agent.prototype.createRequestBody = function (cache) {\n this.state = deepMerge_1.default(this.state, cache);\n var merge = this._defaults.mergeDeep(this.state);\n var params = format_1.stateToQuery(merge).toJS();\n var type = this.type;\n return { params: params, type: type };\n };\n /**\n * This function will fire after next tick after last .set or .default call,\n * or, if debounce option is specified in config, after debouncer calls it\n * @param cache [{any}] - established values\n */\n Agent.prototype.request = function (cache) {\n var _this = this;\n var params = this.createRequestBody(cache);\n return this.provider\n .send(params)\n .then(this.handleResponse)\n .catch(function (error) {\n _this.emit('error', error);\n return _this.onError\n ? _this.onError(error)\n : console.warn(error);\n });\n };\n /**\n * Converts value to pure JS structure\n * @param value\n */\n Agent.prototype.format = function (value) {\n return this.config.immutable\n ? value\n : immutable_1.isImmutable(value) ? value.toJS() : value;\n };\n return Agent;\n}());\nexports.Agent = Agent;\n//# sourceMappingURL=Agent.js.map","/**\n * @module components/CheckboxFacet\n */\n\nimport React from 'react';\nimport { compose, setDisplayName, withStateHandlers, withProps } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport escapeRegExp from 'lodash/escapeRegExp';\n\nimport view from 'components/CheckboxFacet/view';\nimport styles from 'components/CheckboxFacet/styles.css';\n\nexport default compose(\n setDisplayName('CheckboxFacet'),\n\n withTheme(styles),\n\n withStateHandlers(\n ({ isExpanded }) => ({ isExpanded, search: '' }),\n {\n onSearch: (s) => (e: React.FormEvent<HTMLInputElement> | string) => ({ ...s, search: e.target ? e.target.value : e }),\n onToggle: (s) => () => ({ ...s, isExpanded: !s.isExpanded })\n }\n ),\n\n withProps(({ search, isExpanded, facet, theme }) => {\n if (isExpanded && search) {\n const regexp = new RegExp(escapeRegExp(search), 'gi');\n return { items: facet.get('values').filter(i => regexp.test(i.get('value'))) }\n }\n return { items: facet.get('values') };\n })\n\n)(view);\n","/**\n * @module layouts/Autocomplete/Fullscreen\n */\n\nimport React from 'react'\nimport { compose, setDisplayName } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport view from 'layouts/Autocomplete/Fullscreen/view';\nimport styles from 'layouts/Autocomplete/Fullscreen/styles.css';\nimport withAutocompleteLogic from 'layouts/Autocomplete/withAutocompleteLogic';\n\nexport default compose(\n setDisplayName('Fullscreen'),\n withTheme(styles),\n withAutocompleteLogic,\n)(view)\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar EventName;\n(function (EventName) {\n EventName[\"clickSuggestion\"] = \"click-suggestion\";\n EventName[\"clickItem\"] = \"click-item\";\n EventName[\"redirect\"] = \"redirect\";\n EventName[\"purchase\"] = \"purchase\";\n EventName[\"addToCart\"] = \"add-to-cart\";\n EventName[\"updateCart\"] = \"update-cart\";\n EventName[\"viewPage\"] = \"view-page\";\n})(EventName = exports.EventName || (exports.EventName = {}));\n;\n;\n//# sourceMappingURL=types.js.map","module.exports = {\n\t\"root\": \"findify-components-search--desktop-actions\",\n\t\"block\": \"findify-components-search--desktop-actions__block\",\n\t\"sorting\": \"findify-components-search--desktop-actions__sorting\",\n\t\"query\": \"findify-components-search--desktop-actions__query\",\n\t\"breadcrumbs\": \"findify-components-search--desktop-actions__breadcrumbs\",\n\t\"show-facets\": \"findify-components-search--desktop-actions__show-facets\",\n\t\"showFacets\": \"findify-components-search--desktop-actions__show-facets\"\n};","/**\n * @module components/search/MobileActions\n */\n\nimport React from 'react';\nimport { List } from 'immutable'\nimport Query from 'components/search/Query';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\n\nimport { MJSConfiguration, ThemedSFCProps, IFacet } from 'types';\n\n/** Props that MobileActionsView accepts */\nexport interface IMobileActionsProps extends ThemedSFCProps {\n /** Flag, showing whether smart collection or regular searches are opened */\n isCollection?: boolean\n /** Number of filters currently applied */\n total: number;\n /** Flag whether to show facets selection */\n showFacets?: boolean;\n /** Flag whether to show sorting */\n showSort?: boolean\n /** MJS Configuration */\n config: MJSConfiguration\n /** Current sorting mode */\n sorting: string;\n}\n\n\n\nconst MobileActionsView: React.SFC<IMobileActionsProps> = ({\n isCollection,\n showFacets,\n total,\n showSort,\n theme,\n config,\n sorting\n}: IMobileActionsProps) =>\n<div className={theme.root}>\n <Query display-if={!isCollection} theme={{root: theme.query}} />\n\n <div className={theme.bottomRow}>\n <Button onClick={showSort} className={theme.button}>\n <Text primary uppercase>\n <Icon name='Sorting' className={theme.icon} />\n { sorting }\n </Text>\n </Button>\n\n <div className={theme.divider} />\n\n <Button onClick={showFacets} className={theme.button}>\n <Text primary uppercase>\n <Icon name='Filters' />\n { config.getIn(['facets', 'i18n', 'showMobileFacets'], 'Filter') }\n <span className={theme.facetCount}>\n ({total || 0})\n </span>\n </Text>\n </Button>\n </div>\n</div>\n\nexport default MobileActionsView;\n","/**\n * @module components/autocomplete/SearchSuggestions\n */\n\nimport React from 'react'\nimport MapArray from 'components/common/MapArray';\nimport SuggestionItem from 'components/autocomplete/SuggestionItem';\nimport { ThemedSFCProps, WidgetAwareProps, SuggestionsConnectedProps, ISuggestion, IQuery } from 'types';\nimport { List } from 'immutable'\n\n/** Props that SearchSuggestionsView accept */\nexport interface ISearchSuggestionsProps extends ThemedSFCProps, WidgetAwareProps, SuggestionsConnectedProps {\n /** Query currently entered in the autocomplete */\n query: IQuery;\n /** Any other props that come through here to SuggestionItem */\n [x: string]: any\n}\n\n/**\n * Actual view\n */\nconst SearchSuggestionsView: React.SFC<ISearchSuggestionsProps> = ({\n theme,\n suggestions,\n query,\n selectedSuggestion,\n widgetKey,\n getSuggestionProps,\n ...rest\n}: ISearchSuggestionsProps) => (\n <ul className={theme.list} display-if={suggestions && query}>\n <MapArray\n array={suggestions}\n factory={({ item, index }) =>\n <SuggestionItem\n item={item}\n index={index}\n highlighted={selectedSuggestion === index}\n query={query}\n {...getSuggestionProps(index, widgetKey || '')}\n {...rest}\n />\n } />\n </ul>\n)\n\n\nexport default SearchSuggestionsView;\n","/**\n * @module components/Sorting\n */\nimport React from 'react';\nimport { connectSort } from '@findify/react-connect';\nimport { compose, withPropsOnChange, setDisplayName, withHandlers, branch, renderNothing } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport { is } from 'immutable';\n\nimport view from 'components/Sorting/view';\nimport styles from 'components/Sorting/styles.css';\n\nexport default compose(\n setDisplayName('Sorting'),\n withTheme(styles),\n connectSort,\n withPropsOnChange(['config'], ({ config, selected }) => {\n const labels = config.getIn(['sorting', 'i18n', 'options']);\n if (!labels) return;\n\n const items = config.getIn(['sorting', 'options']).map(i =>\n i.set('label', labels.get([i.get('field'), i.get('order')].filter(i => i).join('|')))\n );\n return { items }\n }),\n withPropsOnChange(['selected'], ({ items, selected }) => ({\n selectedItem: selected && items && items.find(i =>\n is(i.get('order'), selected.get('order')) &&\n is(i.get('field'), selected.get('field'))\n )\n })),\n withHandlers({\n onChangeSort: ({ onChangeSort }) => item => onChangeSort(item.get('field', 'default'), item.get('order', ''))\n }),\n\n branch(\n ({ items }) => !items,\n renderNothing\n )\n)(view);\n","module.exports = {\n\t\"root\": \"findify-components--cards--product\",\n\t\"simple\": \"findify-components--cards--product__simple\",\n\t\"image-wrap\": \"findify-components--cards--product__image-wrap\",\n\t\"imageWrap\": \"findify-components--cards--product__image-wrap\",\n\t\"image\": \"findify-components--cards--product__image\",\n\t\"content\": \"findify-components--cards--product__content\",\n\t\"title\": \"findify-components--cards--product__title\",\n\t\"description\": \"findify-components--cards--product__description\",\n\t\"rating\": \"findify-components--cards--product__rating\",\n\t\"price-wrapper\": \"findify-components--cards--product__price-wrapper\",\n\t\"priceWrapper\": \"findify-components--cards--product__price-wrapper\",\n\t\"color\": \"findify-components--cards--product__color\",\n\t\"out-of-stock\": \"findify-components--cards--product__out-of-stock\",\n\t\"outOfStock\": \"findify-components--cards--product__out-of-stock\",\n\t\"discount-sticker\": \"findify-components--cards--product__discount-sticker\",\n\t\"discountSticker\": \"findify-components--cards--product__discount-sticker\",\n\t\"variants\": \"findify-components--cards--product__variants\"\n};","module.exports = {\n\t\"root\": \"findify-layouts--tabs\",\n\t\"item\": \"findify-layouts--tabs__item\",\n\t\"active\": \"findify-layouts--tabs__active\",\n\t\"count\": \"findify-layouts--tabs__count\"\n};","/**\n * @module components/common/Sticky\n */\n\nimport React, { Component, createFactory } from 'react';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/common/Sticky/view';\nimport styles from 'components/common/Sticky/styles.css';\n\nconst factory: any = createFactory(view);\nconst [ initial, stuck, sticky ] = ['static', 'stuck', 'sticky'];\n\n/** Function used to apply sticky styles */\nconst applyStyles = (element, styles?) => {\n element.removeAttribute(\"style\");\n for (const key in styles) {\n element.style[key] = styles[key] + 'px';\n }\n};\n\n/** Props that Sticky component accepts */\nexport interface IStickyProps {\n /** Offset for sticky */\n offset?: number;\n /** Minimal height */\n minHeight?: number;\n}\n\nclass Sticky extends Component<IStickyProps>{\n root: any;\n container: any;\n sizer: any;\n state = { state: initial };\n\n static displayName = 'Sticky';\n\n componentDidMount() {\n document.addEventListener('scroll', this.handleScroll, true)\n }\n\n componentWillUnmount() {\n document.removeEventListener('scroll', this.handleScroll, true)\n }\n\n registerRoot = (r) => {\n if (!r || this.root) return;\n this.root = r;\n }\n\n registerSizer = (r) => {\n if (!r || this.sizer) return;\n this.sizer = r;\n }\n\n registerContainer = (r) => {\n if (!r || this.container) return;\n this.container = r;\n }\n\n handleScroll = (e) => {\n if (!this.container || !this.root) return;\n const { offset = 25, minHeight = 500 } = this.props;\n const rootBound = this.root.getBoundingClientRect();\n const containerBound = this.container.getBoundingClientRect();\n const { width } = this.sizer.getBoundingClientRect();\n\n const shouldStick =\n containerBound.height < rootBound.height &&\n (rootBound.top - offset) < 0;\n\n if (!shouldStick) {\n applyStyles(this.container);\n return this.setState({ state: initial });\n }\n if (rootBound.bottom <= minHeight) {\n applyStyles(this.container, { width, maxHeight: minHeight });\n return this.setState({ state: stuck });\n };\n\n const height = rootBound.bottom - offset;\n applyStyles(this.container, {\n width,\n maxHeight: height > window.innerHeight && window.innerHeight - offset || height,\n top: offset\n })\n return this.setState({ state: sticky });\n }\n\n render() {\n const { children } = this.props;\n\n return factory({\n ...this.state,\n ...this.props,\n registerRoot: this.registerRoot,\n registerSizer: this.registerSizer,\n registerContainer: this.registerContainer\n })\n }\n}\n\nexport default withTheme(styles)(Sticky);\n","/**\n * @module layouts/Recommendation/Slider\n */\nimport React from 'react';\nimport { compose, withPropsOnChange, withStateHandlers, withHandlers, defaultProps } from 'recompose';\nimport { connectItems } from '@findify/react-connect';\nimport sizeMe from 'react-sizeme';\nimport withTheme from 'helpers/withTheme';\nimport withMinResultsToShow from 'helpers/withMinResultsToShow';\nimport { renderArrow } from 'layouts/Recommendation/Slider/Arrow';\nimport view from 'layouts/Recommendation/Slider/view';\n\nimport './styles.global.css';\nimport styles from 'layouts/Recommendation/Slider/styles.css';\n\n\n/**\n * This function is used to calculate products to show in a line of a Slider according to its width\n * @param width Width of slider\n * @returns Number of items to show in a Slider\n */\nconst countProductsToShow = width => {\n if (width > 1200) return 6;\n if (width > 900) return 5;\n if (width > 700) return 4;\n if (width > 500) return 3;\n if (width > 300) return 2;\n return 2;\n};\n\nexport default compose(\n withTheme(styles),\n\n\n sizeMe(),\n\n withStateHandlers(\n { instance: undefined },\n { _mountSlider: (initial) => (instance = initial) => ({ instance }) }\n ),\n\n connectItems,\n withMinResultsToShow(),\n\n withHandlers({\n scrollToLast: ({ instance, items, size }) => () =>\n items.length > countProductsToShow(size.width) && instance.slickGoTo(items.length),\n scrollToFirst: ({ instance, items, size }) => () => {\n items.length > countProductsToShow(size.width) && instance.slickGoTo(0);\n }\n }),\n\n withPropsOnChange(['config', 'size'], ({ config, size, scrollToFirst, scrollToLast }) => ({\n sliderOptions: {\n swipeToSlide: true,\n infinite: false,\n slidesToScroll: 1,\n arrows: true,\n slidesToShow: countProductsToShow(size.width),\n nextArrow: renderArrow('right' , scrollToFirst),\n prevArrow: renderArrow('left', scrollToLast),\n ...config.get('sliderOptions'),\n }\n }))\n)(view);\n","module.exports = {\n\t\"root\": \"findify-components-search--mobile-actions\",\n\t\"bottom-row\": \"findify-components-search--mobile-actions__bottom-row\",\n\t\"bottomRow\": \"findify-components-search--mobile-actions__bottom-row\",\n\t\"icon\": \"findify-components-search--mobile-actions__icon\",\n\t\"button\": \"findify-components-search--mobile-actions__button\",\n\t\"facet-count\": \"findify-components-search--mobile-actions__facet-count\",\n\t\"facetCount\": \"findify-components-search--mobile-actions__facet-count\",\n\t\"divider\": \"findify-components-search--mobile-actions__divider\",\n\t\"query\": \"findify-components-search--mobile-actions__query\"\n};","/**\n * @module layouts/ContentSearch\n */\n\nimport React from 'react';\nimport LazyResults from 'components/search/LazyResults';\nimport { IProduct, MJSConfiguration, MJSValue, ThemedSFCProps } from 'types';\nimport ContentCard from 'components/Cards/Content';\n\n/** This is a list of props ContentSearchLayout accepts */\nexport interface IContentSearchProps extends ThemedSFCProps {\n /** MJS configuration */\n config: MJSConfiguration;\n /** MJS Request meta-information, like query, offset, limits */\n meta: Map<string, MJSValue>;\n /** Flag that tells ContentSearchView to render in mobile mode */\n isMobile?: boolean;\n /** Flag to pull filters to the right on desktop */\n filtersOnRight?: boolean;\n}\n\n\nexport default ({\n config,\n theme,\n}: IContentSearchProps) => (\n <LazyResults card={ContentCard} />\n)\n\n","import withTheme from 'helpers/withTheme';\nimport { compose, setDisplayName } from 'recompose';\nimport view from 'layouts/Tabs/view';\nimport styles from 'layouts/Tabs/styles.css';\n\nconst Tabs = compose(\n setDisplayName('Tabs'),\n withTheme(styles)\n)(view);\n\nexport default process.env.HOT\n ? require('react-hot-loader').hot(module)(Tabs)\n : Tabs;\n","module.exports = {\n\t\"root\": \"findify-components-search--query\"\n};","/**\n * @module components/common/Truncate\n */\n\n\nimport React from 'react'\n\n// TODO: implement actual truncation\n\n\nexport default ({ children }) => <React.Fragment>{children}</React.Fragment>\n","module.exports = {\n\t\"root\": \"findify-layouts--autocomplete--fullscreen\",\n\t\"wrapper\": \"findify-layouts--autocomplete--fullscreen__wrapper\",\n\t\"type-title\": \"findify-layouts--autocomplete--fullscreen__type-title\",\n\t\"typeTitle\": \"findify-layouts--autocomplete--fullscreen__type-title\",\n\t\"suggestions-title\": \"findify-layouts--autocomplete--fullscreen__suggestions-title\",\n\t\"suggestionsTitle\": \"findify-layouts--autocomplete--fullscreen__suggestions-title\",\n\t\"trending-title\": \"findify-layouts--autocomplete--fullscreen__trending-title\",\n\t\"trendingTitle\": \"findify-layouts--autocomplete--fullscreen__trending-title\",\n\t\"not-found\": \"findify-layouts--autocomplete--fullscreen__not-found\",\n\t\"notFound\": \"findify-layouts--autocomplete--fullscreen__not-found\",\n\t\"start-typing\": \"findify-layouts--autocomplete--fullscreen__start-typing\",\n\t\"startTyping\": \"findify-layouts--autocomplete--fullscreen__start-typing\",\n\t\"tip\": \"findify-layouts--autocomplete--fullscreen__tip\",\n\t\"highlight\": \"findify-layouts--autocomplete--fullscreen__highlight\",\n\t\"container\": \"findify-layouts--autocomplete--fullscreen__container\"\n};","/**\n * @module components/Facet\n */\n\nimport React from 'react';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport Component from 'components/Facet/Component';\nimport { ThemedSFCProps, IFacet, MJSConfiguration } from 'types';\n\n/** Props that Facet view accepts */\nexport interface IFacetProps extends ThemedSFCProps {\n /** Facet component to render */\n FacetComponent: React.Component<any>;\n /** Flag to show open / closed state of facet */\n isOpen?: boolean;\n /** Flag to show if facet is opened on mobile */\n isMobile?: boolean;\n /** Title of facet */\n title: string;\n /** Facet object */\n item: IFacet;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Filters selected in facet */\n filtersSelected: number;\n /** Function to toggle open / closed state of facet */\n toggleFacet: () => any\n}\n\nconst FacetView = ({\n FacetComponent,\n isOpen,\n theme,\n title,\n item,\n config,\n filtersSelected,\n toggleFacet\n}: IFacetProps) => (\n <div className={theme.root}>\n <Button className={theme.title} onClick={toggleFacet}>\n <Text primary uppercase className={theme.text}>{ title } {filtersSelected > 0 ? `(${filtersSelected})` : ''}</Text>\n <Icon name={isOpen ? 'Minus' : 'Plus'} className={theme.icon} />\n </Button>\n <Component\n display-if={isOpen}\n facet={item}\n config={config}\n theme={{ root: theme.body }}\n isMobile={true} />\n </div>\n)\n\nexport default FacetView;\n","/**\n * @module components/Facet\n */\nimport React from 'react';\nimport { compose, setDisplayName, withStateHandlers, withPropsOnChange } from 'recompose';\nimport withEvents from 'helpers/withEvents';\nimport pure from 'helpers/pure';\n\nimport view from 'components/Facet/view';\nimport withTheme from 'helpers/withTheme';\n\nimport styles from 'components/Facet/styles.css';\n\nexport default compose(\n pure,\n\n setDisplayName('Facet'),\n\n withTheme(styles),\n\n withPropsOnChange(['config'], ({ config, item }) => ({\n title: config.getIn(['facets', 'labels', item.get('name')], item.get('name')),\n })),\n\n withStateHandlers(\n ({ config, item }: any) => {\n const facetType = config.getIn(['facets', 'types', item.get('name')]) || item.get('type')\n const isOpen = config.getIn(['facets', facetType, 'initiallyExpanded'], config.getIn(['facets', 'initiallyExpanded', true]))\n return { isOpen }\n },\n {\n showFacet: () => () => ({ isOpen: true }),\n hideFacet: () => () => ({ isOpen: false }),\n toggleFacet: ({ isOpen }) => () => ({ isOpen: !isOpen })\n }\n ),\n\n withEvents({\n showFacets: ({ showFacet, item }) => (name) =>\n (!name || item.get('name') === name) && showFacet(),\n hideFacets: ({ hideFacet, item }) => (name) =>\n (!name || item.get('name') === name) && hideFacet(),\n }),\n\n withPropsOnChange(['item'], ({ item }) => ({\n filtersSelected: item.get('values').filter(item => item.get('selected')).size\n }))\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.preventEvents = function (e) { return e && e.preventDefault && e.preventDefault(); };\n//# sourceMappingURL=preventEvents.js.map","/**\n * @module components/PoweredBy\n */\n\nimport React from 'react';\nimport Text from 'components/Text';\n\n\nexport default ({ config, theme }) =>\n <Text secondary uppercase display-if={config.get('poweredByFindify')} className={theme.root}>\n Powered by Findify\n </Text>\n","module.exports = {\n\t\"list\": \"findify-components-autocomplete--search-suggestions__list\"\n};","/**\n * @module components/search/MobileFacets\n */\nimport React from 'react';\nimport { compose, withStateHandlers, setDisplayName, withProps, withPropsOnChange, withHandlers } from 'recompose';\nimport { connectFacets, connectQuery } from '@findify/react-connect';\n\nimport withEvents from 'helpers/withEvents';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/search/MobileFacets/view';\nimport styles from 'components/search/MobileFacets/styles.css';\n\nexport default compose(\n setDisplayName('MobileFacets'),\n\n withTheme(styles),\n\n connectFacets,\n connectQuery,\n\n withHandlers({\n onReset: ({ update, meta }) => () => update('filters', f => f && f.clear()), // Reset values\n hideModal: ({ hideModal }) => () => hideModal('Filters') // Reset values\n }),\n\n withStateHandlers<{activeFacet: string | boolean}, any, any>(\n { activeFacet: false },\n { selectFacet: () => name => ({ activeFacet: typeof name === 'string' ? name : false }) }\n ),\n\n withPropsOnChange(['activeFacet', 'facets'], ({ activeFacet, facets }) => ({\n activeFacet: activeFacet && facets.find(f => f.get('name') === activeFacet),\n })),\n\n withPropsOnChange(['activeFacet'], ({ activeFacet }) => ({\n filtersSelected: activeFacet && activeFacet.get('values').filter(item => item.get('selected')).size\n })),\n\n withPropsOnChange(['query'], ({ query }) => query.get('filters') && ({\n total: query.get('filters').reduce(\n // The workaround to not sum the nested category filters\n (acc, filter, key) => acc + (/category[2-9]/.test(key) ? 0 : filter.size)\n , 0)\n }))\n\n)(view);\n","module.exports = {\n\t\"root\": \"findify-components--powered-by\"\n};","module.exports = {\n\t\"root\": \"findify-layouts--autocomplete--sidebar\",\n\t\"backdrop\": \"findify-layouts--autocomplete--sidebar__backdrop\",\n\t\"input\": \"findify-layouts--autocomplete--sidebar__input\",\n\t\"icons\": \"findify-layouts--autocomplete--sidebar__icons\",\n\t\"search-icon\": \"findify-layouts--autocomplete--sidebar__search-icon\",\n\t\"searchIcon\": \"findify-layouts--autocomplete--sidebar__search-icon\",\n\t\"x-icon\": \"findify-layouts--autocomplete--sidebar__x-icon\",\n\t\"xIcon\": \"findify-layouts--autocomplete--sidebar__x-icon\",\n\t\"icon-divider\": \"findify-layouts--autocomplete--sidebar__icon-divider\",\n\t\"iconDivider\": \"findify-layouts--autocomplete--sidebar__icon-divider\",\n\t\"header\": \"findify-layouts--autocomplete--sidebar__header\",\n\t\"type-title\": \"findify-layouts--autocomplete--sidebar__type-title\",\n\t\"typeTitle\": \"findify-layouts--autocomplete--sidebar__type-title\",\n\t\"suggestions-container\": \"findify-layouts--autocomplete--sidebar__suggestions-container\",\n\t\"suggestionsContainer\": \"findify-layouts--autocomplete--sidebar__suggestions-container\",\n\t\"suggestions-wrapper\": \"findify-layouts--autocomplete--sidebar__suggestions-wrapper\",\n\t\"suggestionsWrapper\": \"findify-layouts--autocomplete--sidebar__suggestions-wrapper\",\n\t\"body-noscroll\": \"findify-layouts--autocomplete--sidebar__body-noscroll\",\n\t\"bodyNoscroll\": \"findify-layouts--autocomplete--sidebar__body-noscroll\"\n};","export const debounce = (fn, wait?) => {\n\tlet timeout;\n\treturn function () {\n const ctx = this;\n const args = arguments;\n\t\tclearTimeout(timeout);\n\t\ttimeout = setTimeout(() => fn.apply(ctx, args), wait || 0);\n\t};\n};\n","/**\n * @module components/common/Drawer\n */\n\nimport React from 'react';\nimport { Spring, config } from 'react-spring';\nimport cx from 'classnames';\nimport { ThemedSFCProps } from 'types';\n\n/** This is a state definition for DrawerView */\nexport interface IDrawerViewState {\n /** Flag whether Drawer is open */\n open: boolean;\n}\n\n/** List of props that DrawerView accepts */\nexport interface IDrawerViewProps extends ThemedSFCProps {\n /** Additional options for DrawerView */\n options: {\n /** Transition from styles */\n from: {[x: string]: string | number}\n /** Transition to styles */\n to: {[x: string]: string | number}\n /** Easing mode */\n easing?: string;\n /** Custom className */\n className?: string;\n };\n /** Rest of the props, passed to children */\n [x: string]: any;\n}\n\nclass DrawerView extends React.Component<IDrawerViewProps, IDrawerViewState> {\n state = { open: false };\n mounted = false;\n originalScrollTop: number = 0;\n\n static defaultProps = {\n options: {\n from: { transform: `translate3d(-100%, 0, 0)` },\n to: { transform: `translate3d(0%, 0, 0)` },\n }\n }\n\n componentDidMount() {\n this.originalScrollTop = window.scrollY;\n document.querySelector('body')!.classList.add(this.props.theme.bodyNoScroll);\n document.addEventListener('keydown', this.handleEscapeKeypress);\n this.mounted = true;\n requestAnimationFrame(() => {\n if (this.mounted) this.setState({ open: true })\n })\n }\n\n componentWillUnmount() {\n document.querySelector('body')!.classList.remove(this.props.theme.bodyNoScroll)\n document.removeEventListener('keydown', this.handleEscapeKeypress);\n window.scrollTo(0, this.originalScrollTop);\n this.originalScrollTop = 0;\n this.mounted = false;\n }\n\n close = () => {\n const { hideModal, name } = this.props;\n this.setState({ open: false }, () => setTimeout(() => hideModal(name), 400));\n }\n\n handleEscapeKeypress = (evt) => {\n if (evt.key !== 'Escape') return;\n this.close()\n }\n\n render() {\n const { open } = this.state;\n const { theme, options, children, ...rest } = this.props;\n return (\n <Spring\n from={{ opacity: 0 }}\n to={{ ...(open ? options.to : options.from), opacity: open ? 1 : 0 }}\n config={config[options.easing || 'default']}\n >\n {\n ({ opacity, ...style }) =>\n <>\n <div className={cx('findify-container', theme.backdrop)} onClick={this.close} style={{ opacity }} />\n <div className={cx('findify-container', theme.content, options.className)} style={style}>\n {\n children instanceof Function\n ? children({ ...rest, hideModal: this.close })\n : children\n }\n </div>\n </>\n }\n </Spring>\n )\n }\n}\n\nexport default DrawerView;\n","/**\n * @module components/Sorting\n */\n\nimport React from 'react';\nimport Icon from 'components/Icon';\nimport Text from 'components/Text';\nimport Dropdown from 'components/Dropdown';\nimport { MJSConfiguration, ISortingItem, ThemedSFCProps } from 'types';\nimport { List } from 'immutable';\n\n/** List of props Sorting view accepts */\nexport interface ISortingProps extends ThemedSFCProps {\n /** Callback called when sorting is changed */\n onChangeSort?: (value: any) => void\n /** MJS configuration */\n config: MJSConfiguration;\n /** List of Sorting configurations */\n items: List<ISortingItem>;\n /** Current selected sorting configuration */\n selectedItem: ISortingItem;\n}\n\nconst Sorting = ({ onChangeSort, config, theme, items, selectedItem }: ISortingProps) =>\n<div className={theme.root}>\n <Icon name='Sorting' className={theme.icon} />\n <Text primary uppercase className={theme.title}>\n { config.getIn(['sorting', 'i18n', 'title']) }:\n </Text>\n <Dropdown\n theme={{ root: theme.dropdown }}\n items={items}\n onChange={onChangeSort}\n selectedItem={selectedItem} />\n</div>\n\nexport default Sorting;\n","/**\n * @module components/CheckboxFacet\n */\n\nimport React, { ChangeEvent } from 'react';\nimport cx from 'classnames';\n\nimport MapArray from 'components/common/MapArray';\nimport Item from 'components/CheckboxFacet/Item';\nimport Button from 'components/Button';\nimport VirtualizedList from 'components/common/VirtualizedList';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\n\nimport { IFacetValue, ThemedSFCProps, MJSConfiguration } from 'types';\nimport { List } from 'immutable'\n\n/** Props that CheckboxFacet accepts */\nexport interface ICheckboxFacetProps extends ThemedSFCProps {\n /** List of facet values available for toggling */\n items: List<IFacetValue>;\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Search string for filtering facet values */\n search?: string;\n /** Flag shows whether search functionality is enabled */\n isExpanded?: boolean;\n /** Flag to show if facet is opened on mobile */\n isMobile?: boolean;\n /** Callback invoked on search input change */\n onSearch: (evt: ChangeEvent<HTMLInputElement>) => any;\n /** Callback invoked on request to expand list completely */\n onToggle: (evt: Event) => any;\n}\n\nconst CheckboxFacetView = ({\n theme,\n items,\n config,\n search,\n isExpanded,\n onSearch,\n onToggle,\n isMobile\n}: ICheckboxFacetProps) =>\n<div className={cx(theme.root, { [theme.mobile]: isMobile })}>\n\n <div className={theme.search} display-if={isExpanded}>\n <input\n placeholder={config.getIn(['i18n', 'search']) as string}\n className={theme.input}\n onChange={onSearch}\n value={search}/>\n <Icon name='Search' className={theme.icon} />\n </div>\n\n <MapArray\n display-if={config.get('pullSelected')}\n array={items.filter(i => i.get('selected'))}\n factory={Item}\n theme={theme} />\n\n <VirtualizedList\n display-if={isExpanded}\n factory={(props) => Item({ ...props, onItemClick: () => onSearch('') })}\n theme={theme}\n className={theme.expandedList}\n height={config.get('expandedHeight')}\n array={\n config.get('pullSelected')\n ? items.filter(i => !i.get('selected'))\n : items\n }\n config={config} />\n\n <MapArray\n display-if={!isExpanded}\n array={\n config.get('pullSelected')\n ? items.filter(i => !i.get('selected'))\n : items\n }\n factory={Item}\n theme={theme}\n limit={config.get('maxItemsCount')} />\n\n <Button\n className={theme.expand}\n onClick={onToggle}\n display-if={items.size > (config.get('maxItemsCount') as number)}>\n <Text primary uppercase>\n <Icon name={isExpanded ? 'Minus' : 'Plus'} />\n { isExpanded ? config.getIn(['i18n', 'less']) : config.getIn(['i18n', 'more']) }\n </Text>\n </Button>\n\n</div>\n\nexport default CheckboxFacetView\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar filters_1 = require(\"./filters\");\nvar helpers_1 = require(\"./helpers\");\nvar immutable_1 = require(\"immutable\");\nvar _initial = immutable_1.Map();\n/**\n * Used to serialize filters into request format for Search API\n * @param filters array of filters\n */\nvar formatFilters = function (filters) {\n return filters\n .filter(function (value) { return !!value && !value.isEmpty(); })\n .map(function (values, name) {\n var type = filters_1.getFacetType(values.first());\n return immutable_1.Map({\n name: name,\n type: type,\n values: (type === 'range' && values) ||\n (type === 'category' && values.map(function (value) { return ({ value: value.join('>') }); })) ||\n values.map(function (value) { return ({ value: value }); }),\n });\n })\n .toList();\n};\n/**\n * Used to create serializer for each request field\n * @param key\n * @returns function, which takes field value and returns its serialized value\n */\nvar formatQueryField = function (key) {\n return ({\n filters: formatFilters,\n }[key] || helpers_1.identity);\n};\n/**\n * Used to build new state out of response meta, previous state and possible default values\n * This procedure is complex mainly because of filters, that may vary with each request quite heavily,\n * ranging from a new filter value added, to addition and removal of new filters\n * @param prev previous Agent state\n * @param next response metadata\n * @param defaults default values for agent\n */\nexports.queryToState = function (prev, next, defaults) {\n var fields = prev.filter(function (_, key) { return next.has(key); });\n /**\n * Walk trough old keys to prevent new fields tracking\n */\n return fields.keySeq().reduce(function (acc, key) {\n var nextField = next.get(key);\n /**\n * Skip if value equals default one\n */\n if (defaults && defaults.get(key) === nextField)\n return acc;\n /**\n * Return new value without formating\n */\n if (key !== 'filters')\n return acc.set(key, nextField);\n /**\n * Reduce filters\n * from: [{ name: string, type: string, values:[{ value: any }]}]\n * to: { [name: string]: [any[] }\n */\n return acc.set(key, nextField.reduce(function (filters, nextFilter) {\n var nextFilterName = nextFilter.get('name');\n var type = nextFilter.get('type');\n var values = nextFilter\n .get('values')\n .filter(function (v) { return !defaults ||\n ((type === 'range' && !defaults.hasIn([key, nextFilterName])) ||\n !defaults.hasIn([key, nextFilterName, v.get('value')])); })\n .map(function (v) {\n return (type === 'range' && v) ||\n (type === 'category' && v.get('value').split('>')) ||\n v.get('value');\n });\n return values.isEmpty() ? filters : filters.set(nextFilterName, values);\n }, _initial));\n }, _initial);\n};\n/**\n * Used to serialize agent state back to query\n * @param state Agent state\n */\nexports.stateToQuery = function (state) {\n return state.map(function (value, key) { return formatQueryField(key)(value); });\n};\n//# sourceMappingURL=format.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\n t[p[i]] = s[p[i]];\n return t;\n};\nfunction __export(m) {\n for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];\n}\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar change_emitter_1 = require(\"@findify/change-emitter\");\nvar storage_1 = require(\"./modules/storage\");\nvar request_1 = require(\"./modules/request\");\nvar helpers_1 = require(\"./utils/helpers\");\nvar settings_1 = require(\"./settings\");\n__export(require(\"./types\"));\nvar types_1 = require(\"./types\");\nvar emitter = change_emitter_1.createChangeEmitter();\nvar state = {\n events: {},\n filters: {}\n};\nvar getUser = function () { return ({\n uid: storage_1.default.uid,\n sid: storage_1.default.sid,\n persist: storage_1.default.persist,\n exist: storage_1.default.exist,\n}); };\nvar sendEventCreator = function (_a) {\n var events = _a.events, key = _a.key;\n return function (event, _request, useCookie, endpoint) {\n if (_request === void 0) { _request = {}; }\n var force = _request.force, request = __rest(_request, [\"force\"]);\n if (!force && typeof events[event] !== 'undefined' && events[event] === false)\n return;\n if (useCookie)\n return storage_1.default.memoize(event, request);\n var properties = event === types_1.EventName.viewPage\n ? __assign({}, request, { url: window.location.href, ref: window.document.referrer, width: window.screen.width, height: window.screen.height }) : request;\n emitter.emit(event, properties);\n return request_1.request({ key: key, event: event, properties: properties, user: getUser() }, endpoint);\n };\n};\nvar createInvalidator = function (sendEvent, _a) {\n var platform = _a.platform, events = _a.events;\n return function (eventsToFire) {\n if (!Object.keys(eventsToFire).length)\n return;\n state.events = __assign({}, state.events, eventsToFire);\n return Object.keys(eventsToFire).forEach(function (key) {\n var endpoint;\n if (events[key] === false)\n return;\n if (key === types_1.EventName.updateCart) {\n if (helpers_1.shallowEqual(eventsToFire[key], storage_1.default.cart))\n return;\n storage_1.default.cart = state.events[key];\n }\n if (key === types_1.EventName.purchase && platform.bigcommerce) {\n endpoint = settings_1.default.bigcommerceTrackingUrl;\n }\n return sendEvent(key, eventsToFire[key], false, endpoint);\n });\n };\n};\nexports.default = (function (props) {\n if (helpers_1.isFunction(props))\n return emitter.listen(props);\n var config = __assign({ events: {}, platform: {} }, props);\n var sendEvent = sendEventCreator(config);\n var invalidate = createInvalidator(sendEvent, config);\n invalidate(storage_1.default.memorized);\n return {\n sendEvent: sendEvent,\n invalidate: invalidate,\n listen: emitter.listen,\n get user() { return getUser(); },\n get state() { return state; },\n set state(s) { state = s; }\n };\n});\n//# sourceMappingURL=index.js.map","import { createFactory } from 'react';\nimport sizeMe from 'react-sizeme';\nimport { compose, setDisplayName } from 'recompose';\n\n\n/**\n * This function is used to calculate products to show in a line of a Slider according to its width\n * @param width Width of slider\n * @returns Number of items to show in a Slider\n */\n\nconst defaultColumnsMapper = (width, props?) => {\n if (width > 1500) return 3;\n if (width > 1000) return 3;\n if (width > 800) return 4;\n if (width > 600) return 4;\n if (width > 400) return 6;\n return 12;\n};\n\nconst sizer = sizeMe();\n\nexport default (columnsMapper = defaultColumnsMapper) => baseComponent => {\n const factory: any = createFactory(baseComponent);\n return sizer(({ size, ...rest }) => {\n const columns = String(columnsMapper(size.width, rest));\n return factory({ ...rest, columns });\n });\n}\n","/**\n * @module components/Text\n */\n\nimport { createElement, Component } from 'react';\nimport cx from 'classnames';\nimport { ThemedSFCProps, ClassnamedProps } from 'types';\n\n/** Props that Text component accepts */\nexport interface ITextProps extends ThemedSFCProps, ClassnamedProps {\n /** Either an html tag name or a React.Component */\n component?: string | Component;\n /** One of modes specified in styles.css */\n mode?: string;\n /** Flag to show text as bold */\n bold?: boolean;\n /** Custom inline styles */\n style?: {[x: string]: string};\n /** Flag to show text as inline block */\n inlineBlock?: boolean;\n /** One of sizes specified in styles.css */\n size?: string;\n /** Custom HTML */\n html?: string;\n}\n\nconst TextView = ({\n component = 'span',\n className,\n children,\n mode,\n theme,\n bold,\n style,\n inlineBlock,\n size,\n html: __html,\n}: ITextProps) => createElement(component, {\n children,\n ...(__html && { dangerouslySetInnerHTML: { __html } }),\n style,\n className: cx(\n theme.root,\n mode && theme[mode!] || theme[size!],\n bold && theme.bold,\n inlineBlock && theme.inlineBlock,\n className,\n )\n})\n\nexport default TextView\n","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar debug_1 = require(\"debug\");\nvar utils_1 = require(\"../utils\");\nvar API = require(\"../api\");\nvar validation_1 = require(\"../validation\");\nvar Req = require(\"../request\");\nvar Client = (function () {\n function Client(config) {\n this.config = config;\n debug_1.default('sdk:client:config')(config);\n }\n Client.prototype.send = function (req, opts) {\n if (opts === void 0) { opts = {}; }\n var request = this.buildRequest(req, opts);\n debug_1.default('sdk:client:request')(request);\n return API.send(request);\n };\n Client.prototype.buildRequest = function (req, opts) {\n var endpoint = this.getEndpoint(req);\n var url = this.getUrl(endpoint);\n var body = this.getRequestBody(req, endpoint);\n var method = this.config.method;\n var retryCount = this.config.retryCount;\n var options = this.getOptions(req, opts);\n return { url: url, body: body, method: method, retryCount: retryCount, options: options };\n };\n Client.prototype.getEndpoint = function (req) {\n switch (req.type) {\n case Req.Type.Autocomplete:\n return { path: \"/autocomplete\" };\n case Req.Type.Search:\n return { path: \"/search\" };\n case Req.Type.Content:\n return { path: \"/search/content\" };\n case Req.Type.SmartCollection:\n return {\n path: \"/smart-collection/\" + req.params.slot,\n params: ['slot'],\n };\n case Req.Type.Recommendations:\n return this.getRecommendationsEndpoint(req.params);\n case Req.Type.Feedback:\n return { path: \"/feedback\" };\n default:\n throw new Error('Invalid request type');\n }\n };\n Client.prototype.getRecommendationUrl = function (params) {\n if (Boolean(params.slot)) {\n return \"/recommend/\" + params.slot;\n }\n switch (params.type) {\n case Req.Recommendations.Type.Featured:\n return \"/recommend/items/featured\";\n case Req.Recommendations.Type.Newest:\n return \"/recommend/items/newest\";\n case Req.Recommendations.Type.Trending:\n return \"/recommend/items/trending\";\n case Req.Recommendations.Type.RecentlyViewed:\n return \"/recommend/items/viewed/latest\";\n case Req.Recommendations.Type.Slot:\n return \"/recommend/\" + params.slot;\n case Req.Recommendations.Type.AlsoViewed:\n return \"/recommend/items/\" + params.item_id + \"/viewed/viewed\";\n case Req.Recommendations.Type.AlsoBought:\n return \"/recommend/items/\" + params.item_id + \"/viewed/bought\";\n case Req.Recommendations.Type.FrequentlyPurchasedTogether:\n var ids = params.item_ids.join(',');\n return \"/recommend/items/\" + ids + \"/bought/bought\";\n default:\n throw new Error('Invalid recommendations type');\n }\n };\n Client.prototype.getRecommendationsParams = function (params) {\n switch (params.type) {\n case Req.Recommendations.Type.Slot:\n return ['slot'];\n case Req.Recommendations.Type.AlsoViewed:\n return ['item_id'];\n case Req.Recommendations.Type.AlsoBought:\n return ['item_id'];\n case Req.Recommendations.Type.FrequentlyPurchasedTogether:\n return ['item_ids'];\n default:\n return undefined;\n }\n };\n Client.prototype.getRecommendationsEndpoint = function (params) {\n return {\n path: this.getRecommendationUrl(params),\n params: this.getRecommendationsParams(params)\n };\n };\n Client.prototype.getUrl = function (endpoint) {\n return \"\" + this.config.url + endpoint.path;\n };\n Client.prototype.getRequestBody = function (req, endpoint) {\n var common = this.getCommonParams(req);\n var specific = this.getSpecificParams(req, endpoint);\n return __assign({}, common, specific);\n };\n Client.prototype.getCommonParams = function (req) {\n var user = req.params.user || this.config.user;\n validation_1.validateUser(user);\n return {\n user: user,\n t_client: Date.now(),\n key: this.config.key,\n log: this.config.log,\n };\n };\n Client.prototype.getSpecificParams = function (req, endpoint) {\n var pathParams = endpoint.params || [];\n var omitParams = function (ks) {\n return utils_1.omit(pathParams.concat(ks), req.params);\n };\n switch (req.type) {\n case Req.Type.Recommendations:\n return omitParams(['type']);\n case Req.Type.Feedback:\n return omitParams(['event']);\n default:\n return req.params;\n }\n };\n Client.prototype.getOptions = function (req, opts) {\n return __assign({ timeout: this.config.timeout }, opts);\n };\n return Client;\n}());\nexports.Client = Client;\n//# sourceMappingURL=Client.js.map","module.exports = {\n\t\"root\": \"findify-components--category-facet\",\n\t\"nested\": \"findify-components--category-facet__nested\",\n\t\"content\": \"findify-components--category-facet__content\",\n\t\"item\": \"findify-components--category-facet__item\",\n\t\"active\": \"findify-components--category-facet__active\",\n\t\"expand\": \"findify-components--category-facet__expand\"\n};","/**\n * @module components/search/LazyResults\n */\nimport React, { Component, createElement } from 'react';\nimport { is, List, Map } from 'immutable';\nimport { connectItems } from '@findify/react-connect';\nimport { compose, withPropsOnChange, setDisplayName } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport withLazy from 'helpers/withLazy';\nimport withColumns from 'helpers/withColumns';\nimport view from 'components/search/LazyResults/view';\nimport styles from 'components/search/LazyResults/styles.css';\n\nexport default compose(\n setDisplayName('LazyResults'),\n withTheme(styles),\n withColumns(),\n connectItems,\n withLazy(),\n)(view);\n","module.exports = {\n\t\"rating\": \"findify-components--cards--product--rating__rating\",\n\t\"stars\": \"findify-components--cards--product--rating__stars\",\n\t\"star\": \"findify-components--cards--product--rating__star\",\n\t\"filled\": \"findify-components--cards--product--rating__filled\",\n\t\"count\": \"findify-components--cards--product--rating__count\"\n};","import React from 'react';\nimport { compose, setDisplayName } from 'recompose';\nimport { connectItems } from '@findify/react-connect'\nimport view from 'components/ItemsList/view';\nimport pure from 'helpers/pure';\n\nexport default compose(\n setDisplayName('ItemsList'),\n connectItems,\n pure,\n)(view)\n","/**\n * @module layouts/Autocomplete/Fullscreen\n */\n\nimport React from 'react'\nimport Drawer from 'components/common/Drawer'\nimport Icon from 'components/Icon'\nimport Suggestions from 'components/autocomplete/SearchSuggestions'\nimport * as emmiter from 'helpers/emmiter';\nimport cx from 'classnames';\n\nexport default ({ config, theme, meta, suggestions, innerRef, position, ...rest }) =>\n<div display-if={suggestions && suggestions.size > 0} className={theme.wrapper}>\n <div\n className={theme.root}\n data-findify-autocomplete={true}\n tabIndex={0}>\n <div className={theme.container}>\n <h4 className={cx(theme.typeTitle, theme.suggestionsTitle)}>\n { config.getIn(['i18n', 'suggestionsTitle']) }\n </h4>\n <Suggestions\n className={theme.searchSuggestions}\n widgetKey={config.get('widgetKey')}\n {...rest} />\n </div>\n </div>\n</div>\n","/**\n * @module components/common/MapArray\n */\nimport 'core-js/fn/array/from';\nimport React from 'react'\n\n/** MapCallback is a type signature for array.map(), immutable.List().map() callback */\nexport type MapCallback = (item: any, index: number, arrayLike: ArrayLike) => any\n/** KeyAccessor is a function of item and index, returning a React key for rendering */\nexport type KeyAccessor = (item: any, index: number) => string\n\n/** ArrayLike can possibly an array or an instance of immutable.List() */\nexport type ArrayLike = {\n map: (callback: MapCallback) => any,\n length?: number,\n size?: number;\n slice: (from: number, to?: number) => ArrayLike\n}\n\n/** ReactFactory is a type for React Factory producing components */\nexport type ReactFactory = (props: object) => React.Component\n\n/** List of props which MapArray component accepts */\nexport type MapArrayProps = {\n /** Array-like object which is mapped over */\n array: ArrayLike,\n /** Function used to extract React rendering key */\n keyAccessor?: KeyAccessor,\n /** React component factory */\n factory: ReactFactory,\n /** Maximum possible limit for iteration */\n limit?: number,\n /** Rest of the props, passed down to children */\n [key: string]: any\n}\n\n/** Default key accessor, used in case no keyAccessor is provided */\nconst defaultKeyAccessor = (item, index) => item.hashCode();\n\nexport default ({\n array,\n keyAccessor = defaultKeyAccessor,\n factory,\n limit,\n ...rest\n}: MapArrayProps) => {\n const f = React.createFactory(factory);\n const res: any = Array.from(\n array.slice(0, limit || array.length)\n .map((item, index) => f({ ...rest, item, index, key: keyAccessor(item, index) }))\n );\n return res;\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Agent_1 = require(\"./core/Agent\");\nvar Types = require(\"./types\");\n/**\n * Agent that works with Search Findify API endpoint\n */\nvar Search = /** @class */ (function (_super) {\n __extends(Search, _super);\n function Search() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = Types.RequestType.Search;\n return _this;\n }\n return Search;\n}(Agent_1.Agent));\nexports.Search = Search;\n/**\n * Agent that works with Autocomplete Findify API endpoint\n */\nvar Autocomplete = /** @class */ (function (_super) {\n __extends(Autocomplete, _super);\n function Autocomplete() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = Types.RequestType.Autocomplete;\n return _this;\n }\n return Autocomplete;\n}(Agent_1.Agent));\nexports.Autocomplete = Autocomplete;\n/**\n * Agent that works with Recommendation Findify API endpoint\n */\nvar Recommendation = /** @class */ (function (_super) {\n __extends(Recommendation, _super);\n function Recommendation() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = Types.RequestType.Recommendations;\n return _this;\n }\n return Recommendation;\n}(Agent_1.Agent));\nexports.Recommendation = Recommendation;\n/**\n * Agent that works with Content Findify API endpoint\n */\nvar Content = /** @class */ (function (_super) {\n __extends(Content, _super);\n function Content() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = Types.RequestType.Content;\n return _this;\n }\n return Content;\n}(Agent_1.Agent));\nexports.Content = Content;\n/**\n * Agent that works with Smart Collections Findify API endpoint\n */\nvar SmartCollection = /** @class */ (function (_super) {\n __extends(SmartCollection, _super);\n function SmartCollection() {\n var _this = _super !== null && _super.apply(this, arguments) || this;\n _this.type = Types.RequestType.SmartCollection;\n return _this;\n }\n return SmartCollection;\n}(Agent_1.Agent));\nexports.SmartCollection = SmartCollection;\n//# sourceMappingURL=index.js.map","module.exports = {\n\t\"root\": \"findify-components--checkbox-facet\",\n\t\"expanded-list\": \"findify-components--checkbox-facet__expanded-list\",\n\t\"expandedList\": \"findify-components--checkbox-facet__expanded-list\",\n\t\"mobile\": \"findify-components--checkbox-facet__mobile\",\n\t\"item\": \"findify-components--checkbox-facet__item\",\n\t\"content\": \"findify-components--checkbox-facet__content\",\n\t\"search\": \"findify-components--checkbox-facet__search\",\n\t\"icon\": \"findify-components--checkbox-facet__icon\",\n\t\"input\": \"findify-components--checkbox-facet__input\",\n\t\"expand\": \"findify-components--checkbox-facet__expand\"\n};","module.exports = {\n\t\"root\": \"findify-components-search--mobile-sorting\",\n\t\"header\": \"findify-components-search--mobile-sorting__header\",\n\t\"body\": \"findify-components-search--mobile-sorting__body\",\n\t\"footer\": \"findify-components-search--mobile-sorting__footer\",\n\t\"title\": \"findify-components-search--mobile-sorting__title\",\n\t\"item\": \"findify-components-search--mobile-sorting__item\"\n};","/**\n * @module components/search/DesktopFacets\n */\nimport React from 'react';\nimport { compose, setDisplayName, withHandlers, withStateHandlers, branch } from 'recompose';\nimport { connectFacets } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/search/DesktopFacets/view';\nimport styles from 'components/search/DesktopFacets/styles.css';\nimport withEvents from 'helpers/withEvents';\n\nexport default compose(\n setDisplayName('DesktopFacets'),\n\n withTheme(styles),\n\n connectFacets,\n\n withHandlers({\n onReset: ({ update, meta }) => () => update('filters', f => f && f.clear()) // Reset values\n }),\n\n branch(\n ({ config }) => config.get('hidableFacets'),\n compose(\n withStateHandlers(\n { visible: true },\n {\n hideFacets: () => () => ({ visible: false }),\n showFacets: () => () => ({ visible: true })\n }\n ),\n withEvents({\n showFacets: ({ showFacets }) => showFacets\n }),\n withHandlers({\n hideFacets: ({ hideFacets, emit }) => () => {\n hideFacets();\n emit('hideFacets');\n }\n })\n )\n )\n\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/fn/object/values\");\nrequire(\"core-js/fn/array/includes\");\nvar common_1 = require(\"../common\");\nfunction validatePresence(name, value) {\n if (value == null) {\n throw new Error(\"\\\"\" + name + \"\\\" param is required\");\n }\n if (Array.isArray(value) && value.length === 0) {\n throw new Error(\"\\\"\" + name + \"\\\" param can not be empty\");\n }\n if (String(value).trim().length < 1) {\n throw new Error(\"\\\"\" + name + \"\\\" param can not be an empty or only-whitespace string\");\n }\n}\nexports.validatePresence = validatePresence;\nfunction validateList(_a) {\n var filters = _a.filters, sort = _a.sort;\n if (Boolean(filters))\n validateFilters(filters);\n if (Boolean(sort))\n validateSortings(sort);\n}\nexports.validateList = validateList;\nfunction validateFilters(filters) {\n filters.forEach(function (filter) {\n validatePresence('filter.name', filter.name);\n validatePresence('filter.type', filter.type);\n });\n}\nexports.validateFilters = validateFilters;\nfunction validateSortings(sortings) {\n sortings.forEach(function (sort) {\n validatePresence('sort.field', sort.field);\n validatePresence('sort.order', sort.order);\n if (!Object.values(common_1.SortingOrder).includes(sort.order)) {\n throw new Error('\"sort.order\" param should be either \"asc\" or \"desc\"');\n }\n });\n}\nexports.validateSortings = validateSortings;\nfunction validateLineItems(items) {\n if (items == null) {\n throw new Error('\"line_items\" param is required');\n }\n items.forEach(function (item) {\n validatePresence('line_items[].item_id', item.item_id);\n validatePresence('line_items[].unit_price', item.unit_price);\n validatePresence('line_items[].quantity', item.quantity);\n });\n}\nexports.validateLineItems = validateLineItems;\n//# sourceMappingURL=common.js.map","/**\n * @module components/RatingFacet\n */\n\nimport React from 'react';\nimport cx from 'classnames';\n\nimport MapArray from 'components/common/MapArray';\nimport Item from 'components/RatingFacet/Item';\nimport { IFacet, IFacetValue, MJSConfiguration, ThemedSFCProps } from 'types';\nimport { List } from 'immutable';\n\n/** Props that RatingFacet view accepts */\nexport interface IRatingFacetProps extends ThemedSFCProps {\n /** Facet to extract values from */\n facet: IFacet;\n /** Facet values */\n items: List<IFacetValue>;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst RatingFacet: React.SFC<IRatingFacetProps> = ({\n theme,\n facet,\n items,\n config,\n}: IRatingFacetProps) =>\n<>\n <MapArray\n display-if={config.get('pullSelected')}\n array={config.get('pullSelected') ? items.filter(i => i.get('selected')) : items}\n factory={Item}\n config={config}\n theme={theme} />\n\n <MapArray\n array={config.get('pullSelected') ? items.filter(i => !i.get('selected')) : items}\n factory={Item}\n config={config}\n theme={theme} />\n</>\n\nexport default RatingFacet;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createProvider_1 = require(\"./provider/createProvider\");\nexports.createProvider = createProvider_1.createProvider;\nvar index_1 = require(\"./provider/index\");\nexports.AutocompleteProvider = index_1.Autocomplete;\nvar index_2 = require(\"./provider/index\");\nexports.SearchProvider = index_2.Search;\nvar index_3 = require(\"./provider/index\");\nexports.RecommendationProvider = index_3.Recommendation;\nvar index_4 = require(\"./provider/index\");\nexports.ContentProvider = index_4.Content;\nvar index_5 = require(\"./provider/index\");\nexports.SmartCollectionProvider = index_5.SmartCollection;\nvar createConnect_1 = require(\"./connect/createConnect\");\nexports.createConnect = createConnect_1.default;\nvar connectSuggestions_1 = require(\"./connect/connectSuggestions\");\nexports.connectSuggestions = connectSuggestions_1.default;\nvar connectItems_1 = require(\"./connect/connectItems\");\nexports.connectItems = connectItems_1.default;\nvar connectBreadcrumbs_1 = require(\"./connect/connectBreadcrumbs\");\nexports.connectBreadcrumbs = connectBreadcrumbs_1.default;\nvar connectFacets_1 = require(\"./connect/connectFacets\");\nexports.connectFacets = connectFacets_1.default;\nvar connectPagination_1 = require(\"./connect/connectPagination\");\nexports.connectPagination = connectPagination_1.default;\nvar connectSort_1 = require(\"./connect/connectSort\");\nexports.connectSort = connectSort_1.default;\nvar connectQuery_1 = require(\"./connect/connectQuery\");\nexports.connectQuery = connectQuery_1.default;\nvar connectConfig_1 = require(\"./connect/connectConfig\");\nexports.connectConfig = connectConfig_1.default;\nvar connectBanner_1 = require(\"./connect/connectBanner\");\nexports.connectBanner = connectBanner_1.default;\n//# sourceMappingURL=index.js.map","export { default as Autocomplete } from './layouts/Autocomplete';\nexport { default as Recommendation } from './layouts/Recommendation';\nexport { default as Search } from './layouts/Search';\nexport { default as Content } from './layouts/Content';\nexport { default as ZeroResults } from './layouts/ZeroResults';\nexport { default as TabsLayout } from './layouts/Tabs';\nexport { default as Custom } from './layouts/Custom';\nexport * from './components/Tabs';\n","module.exports = {\n\t\"root\": \"findify-layouts--search\",\n\t\"content\": \"findify-layouts--search__content\"\n};","module.exports = {\n\t\"suggestion\": \"findify-components-autocomplete--suggestion-item__suggestion\",\n\t\"highlightedText\": \"findify-components-autocomplete--suggestion-item__highlightedText\",\n\t\"highlighted\": \"findify-components-autocomplete--suggestion-item__highlighted\",\n\t\"icon\": \"findify-components-autocomplete--suggestion-item__icon\",\n\t\"withIcon\": \"findify-components-autocomplete--suggestion-item__withIcon\",\n\t\"trending\": \"findify-components-autocomplete--suggestion-item__trending\"\n};","module.exports = {\n\t\"price-wrapper\": \"findify-components--cards--product--price__price-wrapper\",\n\t\"priceWrapper\": \"findify-components--cards--product--price__price-wrapper\",\n\t\"simple\": \"findify-components--cards--product--price__simple\",\n\t\"price\": \"findify-components--cards--product--price__price\",\n\t\"compare\": \"findify-components--cards--product--price__compare\",\n\t\"sale-price\": \"findify-components--cards--product--price__sale-price\",\n\t\"salePrice\": \"findify-components--cards--product--price__sale-price\"\n};","import React from 'react'\nimport { compose, setDisplayName } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport view from 'layouts/Autocomplete/Sidebar/view';\nimport styles from 'layouts/Autocomplete/Sidebar/styles.css';\nimport withAutocompleteLogic from 'layouts/Autocomplete/withAutocompleteLogic';\nimport { connectSuggestions } from '@findify/react-connect';\n\nexport default compose(\n setDisplayName('Sidebar'),\n withTheme(styles),\n connectSuggestions\n)(view)\n","/**\n * @module layouts/ZeroResults\n */\nimport React from \"react\";\n import { compose, withProps, setDisplayName } from 'recompose';\nimport { connectItems, connectQuery } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport withColumns from 'helpers/withColumns';\nimport template from 'helpers/template';\nimport escape from 'lodash/escape';\n\nimport view from 'layouts/ZeroResults/view';\nimport styles from 'layouts/ZeroResults/styles.css';\n\nexport default compose(\n setDisplayName('ZeroResults'),\n withTheme(styles),\n\n connectItems,\n\n withProps(({ config, q }) => ({\n title: template(config.getIn(\n ['i18n',\n q && q !== '' ?\n 'noResultsFound' :\n 'noResultEmptyQuery'\n ],\n 'We can\\'t seem to find any products that match your search for \"%s\"')\n )(escape(q)),\n })),\n withColumns(),\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar filters_1 = require(\"./filters\");\nvar immutable_1 = require(\"immutable\");\nvar deepMerge_1 = require(\"./deepMerge\");\nvar isValidField = function (values, key) {\n return values\n .every(function (value, i) {\n var prev = values.get(i - 1);\n var match = !i || typeof value === typeof prev;\n if (!match) {\n console.error(\"Filter \\\"\" + key + \"\\\" has mixed values: [\" + values\n .map(filters_1.getFacetType)\n .join(', ') + \"\\n ]\");\n }\n return match;\n });\n};\nexports.getChangedFields = function (prev, next) {\n if (next && immutable_1.isImmutable(next) ? next.equals(prev) : next === prev)\n return false;\n if (!prev || !immutable_1.isImmutable(next))\n return next;\n if (!next || next.isEmpty())\n return next;\n return deepMerge_1.default(prev, next).reduce(function (acc, value, key) {\n if (!next.has(key))\n return acc.set(key, null);\n if (prev.has(key) && prev.get(key).equals(value))\n return acc;\n if (value instanceof immutable_1.List && !isValidField(value.filter(function (v) { return v; }), key))\n return acc;\n return acc.set(key, value);\n }, immutable_1.Map());\n};\n//# sourceMappingURL=changes.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Autocomplete = require(\"./Autocomplete\");\nexports.Autocomplete = Autocomplete;\nvar Search = require(\"./Search\");\nexports.Search = Search;\nvar SmartCollection = require(\"./SmartCollection\");\nexports.SmartCollection = SmartCollection;\nvar Recommendations = require(\"./Recommendations\");\nexports.Recommendations = Recommendations;\nvar Feedback = require(\"./Feedback\");\nexports.Feedback = Feedback;\nvar Content = require(\"./Content\");\nexports.Content = Content;\nvar Params = require(\"./params\");\nexports.Params = Params;\nvar Method;\n(function (Method) {\n Method[\"POST\"] = \"post\";\n Method[\"JSONP\"] = \"jsonp\";\n})(Method = exports.Method || (exports.Method = {}));\nvar Type_1 = require(\"./Type\");\nexports.Type = Type_1.Type;\n//# sourceMappingURL=index.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=params.js.map","import { compose, withHandlers, withPropsOnChange, setDisplayName } from 'recompose';\nimport { connectBundle } from 'helpers/bundle';\nimport view from 'components/Cards/Product/BundleAction/view';\nimport styles from 'components/Cards/Product/BundleAction/styles.css';\nimport withTheme from 'helpers/withTheme';\n\nexport default compose(\n setDisplayName('BundleAction'),\n withTheme(styles),\n connectBundle,\n withPropsOnChange(['inBundle'], ({ inBundle, item}) => ({\n selected: inBundle.includes(item)\n })),\n withHandlers({\n onClick: ({ inBundle, updateBundle, item }) => e => {\n e.preventDefault();\n e.stopPropagation();\n const index = inBundle.indexOf(item);\n return updateBundle(!!~index ? inBundle.delete(index) : inBundle.push(item));\n },\n })\n)(view)\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/fn/object/values\");\nrequire(\"core-js/fn/array/includes\");\nvar Request = require(\"../request\");\nvar common_1 = require(\"./common\");\nvar howToGetMerchantKey = \"To get a Merchant API key you need to \" +\n \"register with Findify and finish the onboarding process.\";\nfunction validateConfig(config, isBrowserEnv) {\n var key = config.key, user = config.user, method = config.method, log = config.log;\n validateAPIKey(key);\n if (typeof method !== 'undefined' &&\n !Object.values(Request.Method).includes(method)) {\n throw new Error('\"method\" param should be either \"post\" or \"jsonp\"');\n }\n if (!isBrowserEnv && config.method === Request.Method.JSONP) {\n throw new Error('jsonp method is not allowed in node environment');\n }\n if (typeof log !== 'undefined' && typeof log !== 'boolean') {\n throw new Error('\"log\" param should be \"boolean\" type');\n }\n}\nexports.validateConfig = validateConfig;\nfunction validateAPIKey(key) {\n if (key == null) {\n throw new Error(\"\\\"key\\\" param is missing. \" + howToGetMerchantKey);\n }\n if (typeof key !== 'string') {\n throw new Error('\"key\" param should be a string. ' + howToGetMerchantKey);\n }\n if (key.trim().length < 1) {\n throw new Error('\"key\" param can not be an empty or only-whitespace string. ' +\n howToGetMerchantKey);\n }\n}\nfunction validateAutocomplete(params) {\n}\nexports.validateAutocomplete = validateAutocomplete;\nfunction validateSearch(params) {\n common_1.validatePresence('q', params.q);\n common_1.validateList(params);\n}\nexports.validateSearch = validateSearch;\nfunction validateSmartCollection(params) {\n common_1.validatePresence('slot', params.slot);\n common_1.validateList(params);\n}\nexports.validateSmartCollection = validateSmartCollection;\nfunction validateRecommendations(params) {\n common_1.validatePresence('type', params.type);\n if (!Object.values(Request.Recommendations.Type).includes(params.type)) {\n throw new Error('Invalid \"recommendation\" type');\n }\n if (params.type === Request.Recommendations.Type.Slot) {\n common_1.validatePresence('slot', params.slot);\n }\n if (params.type === Request.Recommendations.Type.AlsoViewed ||\n params.type === Request.Recommendations.Type.AlsoBought) {\n common_1.validatePresence('item_id', params.item_id);\n }\n if (params.type === Request.Recommendations.Type.FrequentlyPurchasedTogether) {\n common_1.validatePresence('item_ids', params.item_ids);\n }\n}\nexports.validateRecommendations = validateRecommendations;\nfunction validateFeedback(params) {\n common_1.validatePresence('event', params.event);\n switch (params.event) {\n case Request.Feedback.Event.ClickSuggestion:\n case Request.Feedback.Event.Redirect:\n common_1.validatePresence('rid', params.rid);\n common_1.validatePresence('suggestion', params.suggestion);\n break;\n case Request.Feedback.Event.ClickItem:\n case Request.Feedback.Event.AddToCart:\n common_1.validatePresence('item_id', params.item_id);\n break;\n case Request.Feedback.Event.Purchase:\n common_1.validatePresence('order_id', params.order_id);\n common_1.validatePresence('currency', params.currency);\n common_1.validatePresence('revenue', params.revenue);\n common_1.validateLineItems(params.line_items);\n break;\n case Request.Feedback.Event.UpdateCart:\n common_1.validateLineItems(params.line_items);\n break;\n case Request.Feedback.Event.ViewPage:\n common_1.validatePresence('url', params.url);\n common_1.validatePresence('ref', params.ref);\n common_1.validatePresence('width', params.width);\n common_1.validatePresence('height', params.height);\n break;\n default:\n throw new Error('Invalid \"event\" type');\n }\n}\nexports.validateFeedback = validateFeedback;\nfunction validateUser(user) {\n if (user == null) {\n throw new Error('\"user\" param should be provided either at request or at library config');\n }\n common_1.validatePresence('user.uid', user.uid);\n common_1.validatePresence('user.sid', user.sid);\n}\nexports.validateUser = validateUser;\n//# sourceMappingURL=index.js.map","module.exports = {\n\t\"root\": \"findify-components-common--image\",\n\t\"thumbnail\": \"findify-components-common--image__thumbnail\",\n\t\"croppedRoot\": \"findify-components-common--image__croppedRoot\",\n\t\"loading\": \"findify-components-common--image__loading\"\n};","module.exports = {\n\t\"swiper-preloader-spin\": \"findify-layouts--recommendation--swiper__swiper-preloader-spin\",\n\t\"swiperPreloaderSpin\": \"findify-layouts--recommendation--swiper__swiper-preloader-spin\"\n};","/**\n * @module layouts/Recommendation/Slider\n */\n\nimport React from 'react';\nimport { compose, withHandlers, mapProps } from 'recompose';\nimport omit from 'helpers/omit';\nimport Button from 'components/Button';\nimport Icon from 'components/Icon';\nimport cx from 'classnames';\nimport styles from 'layouts/Recommendation/Slider/styles.css';\n\n\n/** Props that Arrow component accepts */\nexport interface IArrowProps {\n /** Arrow direction */\n dir: 'left' | 'right';\n /** onClick handler that is used if it is passed */\n onClick?: (evt) => null;\n /** default onClick handler which is used when no onClick is present */\n defaultOnClick: (evt) => null;\n /** Rest of the props that get passed to Button */\n [x: string]: any\n}\n\n/**\n * Component to render right or left arrows in a slider\n */\nconst Arrow = compose<any, any>(\n withHandlers({\n onClick: ({ onClick, defaultOnClick }) => () => onClick ? onClick() : defaultOnClick(),\n }),\n mapProps(omit(['slideCount', 'currentSlide', 'defaultOnClick']))\n)(({ dir, ...props }: IArrowProps) => (\n <Button {...props} className={cx(props.className, styles.arrow)}>\n <Icon name={dir === 'left' ? 'ArrowLeftBig' : 'ArrowRightBig'} />\n </Button>\n));\n\nexport const renderArrow = (dir, handler) => <Arrow dir={dir} defaultOnClick={handler} />;\n","module.exports = {\n\t\"tip\": \"findify-components-autocomplete--tip__tip\",\n\t\"highlight\": \"findify-components-autocomplete--tip__highlight\"\n};","import Drawer from 'components/common/Drawer'\nimport { createFactory, Fragment } from 'react'\nimport { createPortal } from 'react-dom'\nimport { withStateHandlers, defaultProps, compose, setDisplayName } from 'recompose'\n\nconst drawer = createFactory(Drawer);\n\nconst enhanced: any = (modalName) => compose(\n setDisplayName('withDrawer()'),\n withStateHandlers(\n { isOpen: false, state: {} },\n {\n showModal: (s, { showModal }) => (name) => {\n if (modalName === name) return ({ isOpen: true });\n if (showModal) showModal(name);\n return s\n },\n hideModal: (s, { hideModal }) => name => {\n if (modalName === name) return ({ isOpen: false });\n if (hideModal) hideModal(name);\n return s\n },\n }\n )\n);\n\nexport const withDrawer = (modalName, modalComponent, { renderTo, ...options }: any = {}) => BaseComponent => {\n const componentFactory = createFactory(modalComponent);\n const baseFactory = createFactory(BaseComponent);\n return enhanced(modalName)(({ isOpen, ...props }: any) => [\n baseFactory({ ...props, key: 1 }),\n isOpen && createPortal(\n drawer({ ...props, options, name: modalName, children: componentFactory, key: 2 }),\n renderTo || document.body\n )\n ])\n}\n","/**\n * @module components/RangeFacet\n */\n\nimport React from 'react';\nimport content from 'components/RangeFacet/content';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport { ThemedSFCProps, IFacet, IFacetValue, MJSConfiguration } from 'types';\n\nexport interface IRangeFacetItemProps extends ThemedSFCProps {\n /** Facet item to render */\n item: IFacetValue;\n /** Custom inline style */\n style: React.CSSProperties;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst RangeFacetItem: React.SFC<IRangeFacetItemProps> = ({ item, theme, style, config }) =>\n<Button style={style} className={theme.item} onClick={item.toggle}>\n <Text primary lowercase bold={item.get('selected')} className={theme.content}>\n <Icon name={item.get('selected') ? 'CheckboxFilled' : 'CheckboxEmpty'} />\n { content({ item, config }) }\n </Text>\n <Text secondary uppercase>\n ({ item.get('count') })\n </Text>\n</Button>\n\nexport default RangeFacetItem;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=index.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar common = {\n timeout: 5000,\n jsonpCallback: 'findifyCallback',\n};\nexports.staging = __assign({}, common, { url: 'https://search-staging.findify.io/v3', retryCount: 1 });\nexports.production = __assign({}, common, { url: 'https://api-v3.findify.io/v3', retryCount: 3 });\nexports.development = exports.staging;\n//# sourceMappingURL=settings.js.map","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar store = require(\"store\");\nvar expire = require(\"store/plugins/expire\");\nstore.addPlugin(expire);\nvar symbols = '0123456789acbdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ';\nvar keys = {\n visitKey: '_findify_visit',\n uniqKey: '_findify_uniq',\n ctKey: '_findify_ct',\n cartKey: '_findify_cart',\n};\nfunction generateId() {\n if (global.document && !!~global.document.cookie.indexOf('findify_optout=1'))\n return '0';\n var str = '';\n for (var i = 0; i < 16; i++) {\n str += symbols[(Math.random() * symbols.length) | 0];\n }\n return str;\n}\nvar uniqKey = keys.uniqKey, visitKey = keys.visitKey, cartKey = keys.cartKey, ctKey = keys.ctKey;\nfunction read(name) {\n return store.get(name);\n}\nfunction write(name, value, permanent) {\n var ttl = permanent ? 1000 * 3600 * 24 * 365 * 30 : 1000 * 60 * 30;\n if (!value)\n return store.remove(name);\n return store.set(name, value, new Date().getTime() + ttl);\n}\nfunction createUid() {\n var id = generateId();\n write(uniqKey, id, true);\n return id;\n}\nfunction createSid() {\n var id = generateId();\n write(visitKey, generateId());\n return id;\n}\nvar persist = !!(read(uniqKey) && read(visitKey));\nexports.default = {\n get uid() {\n if (global.document && !!~global.document.cookie.indexOf('findify_optout=1'))\n return '0';\n return read(uniqKey) || createUid();\n },\n get sid() {\n if (global.document && !!~global.document.cookie.indexOf('findify_optout=1'))\n return '0';\n return read(visitKey) || createSid();\n },\n get cart() {\n return read(cartKey);\n },\n set cart(data) {\n write(cartKey, data);\n },\n get exist() {\n return !!(read(uniqKey) && read(visitKey));\n },\n persist: persist,\n memoize: function (type, request) {\n var data = read(ctKey);\n write(ctKey, __assign({}, data, (_a = {}, _a[type] = request, _a)));\n var _a;\n },\n get memorized() {\n var data = read(ctKey);\n if (!data) {\n return {};\n }\n write(ctKey);\n return data;\n },\n};\n//# sourceMappingURL=storage.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getDisplayName = function (Component) {\n if (typeof Component === 'string')\n return Component;\n if (!Component)\n return undefined;\n return Component.displayName || Component.name || 'Component';\n};\n//# sourceMappingURL=getDisplayName.js.map","module.exports = {\n\t\"root\": \"findify-components--range-facet\",\n\t\"content\": \"findify-components--range-facet__content\",\n\t\"item\": \"findify-components--range-facet__item\",\n\t\"range\": \"findify-components--range-facet__range\",\n\t\"input-block\": \"findify-components--range-facet__input-block\",\n\t\"inputBlock\": \"findify-components--range-facet__input-block\",\n\t\"input-wrap\": \"findify-components--range-facet__input-wrap\",\n\t\"inputWrap\": \"findify-components--range-facet__input-wrap\",\n\t\"input\": \"findify-components--range-facet__input\",\n\t\"currency\": \"findify-components--range-facet__currency\",\n\t\"submit\": \"findify-components--range-facet__submit\",\n\t\"divider\": \"findify-components--range-facet__divider\"\n};","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Type;\n(function (Type) {\n Type[\"Autocomplete\"] = \"autocomplete\";\n Type[\"Search\"] = \"search\";\n Type[\"SmartCollection\"] = \"smart-collection\";\n Type[\"Recommendations\"] = \"recommendations\";\n Type[\"Feedback\"] = \"feedback\";\n Type[\"Content\"] = \"content\";\n})(Type = exports.Type || (exports.Type = {}));\n//# sourceMappingURL=Type.js.map","import React from 'react';\nimport Button from 'components/Button';\nimport Icon from 'components/Icon';\n\nexport default ({ theme, onClick, selected }: any) =>\n<Button className={theme.root}onClick={onClick}>\n <Icon name={selected ? 'CheckboxFilled' : 'CheckboxEmpty'} />\n</Button>\n","import React, { Component } from 'react';\nimport { is, List, Map } from 'immutable';\nimport { branch, compose, withPropsOnChange, setDisplayName } from 'recompose';\n\n/**\n * withLazy() returns a HOC for wrapping around component you want to add minimum results to show functionality to\n * @returns HOC, accepting a view you want to add minimum results to show functionality to\n */\nexport default () => {\n\n /**\n * withMinResultsToShow allows you to only show component,\n * when it either has no minResultsToShow on its configuration, or when it has minResultsToShow and\n * number of items provided to component is either equal or exceeds minResultsToShow configuration value\n * @param BaseComponent view you will be adding minResultsToShow functionality to\n * @returns MinResultsToShow-enhanced HOC\n */\n return (BaseComponent: Component) => compose(\n setDisplayName('withMinResultsToShow'),\n withPropsOnChange(['items'], ({ items, config }) => {\n const minResultsToShow = config.get('minResultsToShow');\n if (typeof minResultsToShow !== 'undefined') return ({ shouldShow: items && items.size >= minResultsToShow })\n return ({ shouldShow: true })\n }),\n branch(\n ({ shouldShow }) => shouldShow,\n () => (props) => <BaseComponent {...props} />,\n () => () => null\n )\n )(() => null);\n}\n","/**\n * @module components/Icon\n */\n\nimport React from 'react';\nimport cx from 'classnames';\nimport styles from 'components/Icon/styles.css';\n\nimport Filters from 'components/Icon/icons/Filters.svg';\nimport Fire from 'components/Icon/icons/Fire.svg';\nimport Minus from 'components/Icon/icons/Minus.svg';\nimport Plus from 'components/Icon/icons/Plus.svg';\nimport Search from 'components/Icon/icons/Search.svg';\nimport Sorting from 'components/Icon/icons/Sorting.svg';\n\nimport CheckmarkDark from 'components/Icon/icons/Checkmark/Dark.svg';\nimport Star from 'components/Icon/icons/Star.svg';\nimport XDark from 'components/Icon/icons/X/Dark.svg';\nimport XMobile from 'components/Icon/icons/X/Mobile.svg';\nimport RadioEmpty from 'components/Icon/icons/Radio/Empty.svg';\nimport RadioFilled from 'components/Icon/icons/Radio/Filled.svg';\nimport ArrowBack from 'components/Icon/icons/Arrow/Back.svg';\nimport ArrowDown from 'components/Icon/icons/Arrow/Down.svg';\nimport ArrowUp from 'components/Icon/icons/Arrow/Up.svg';\nimport ArrowLeft from 'components/Icon/icons/Arrow/Left.svg';\nimport ArrowRight from 'components/Icon/icons/Arrow/Right.svg';\nimport ArrowLeftBig from './icons/Arrow/Left-Big.svg';\nimport ArrowRightBig from './icons/Arrow/Right-Big.svg';\nimport CheckboxFilled from 'components/Icon/icons/Checkbox/Filled.svg';\nimport CheckboxEmpty from 'components/Icon/icons/Checkbox/Empty.svg';\nimport ExternalLink from 'components/Icon/icons/ExternalLink.svg';\n\n/** Possible icon types */\nexport const icons = {\n Filters,\n Fire,\n Minus,\n Plus,\n Search,\n Sorting,\n CheckmarkDark,\n Star,\n XDark,\n XMobile,\n RadioEmpty,\n RadioFilled,\n ArrowBack,\n ArrowDown,\n ArrowUp,\n ArrowLeft,\n ArrowRight,\n ArrowLeftBig,\n ArrowRightBig,\n CheckboxFilled,\n CheckboxEmpty,\n ExternalLink\n}\n\n/** Props that Icon accepts */\nexport type IIconProps = {\n /** Icon name */\n name: keyof typeof icons\n /** Icon width in pixels */\n width?: number\n /** Icon height in pixels */\n height?: number\n /** Custom className */\n className?: string\n /** Rest of props to pass to underlying elements */\n [x: string]: any;\n}\n\nconst Icon = ({ name, width, height, className, ...rest }: IIconProps) =>\nReact.createElement(icons[name], {\n width,\n height,\n className: cx(styles.root, className),\n ...rest\n})\n\nexport default Icon;\n\n","/**\n * @module components/Button\n */\nimport React from 'react';\nimport { compose, setDisplayName } from 'recompose';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/Button/view';\nimport styles from 'components/Button/styles.css';\n\nexport default compose<any, any>(\n setDisplayName('Button'),\n withTheme(styles)\n)(view);\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar immutable_1 = require(\"immutable\");\nvar iterate = function (iterator, state, path) {\n if (path === void 0) { path = immutable_1.List(); }\n iterator.forEach(function (value, key) {\n var _path = path.push(key);\n if (value === null)\n state.deleteIn(_path);\n if (immutable_1.Map.isMap(value))\n return iterate(value, state, _path);\n return state.setIn(_path, value);\n });\n};\nexports.default = (function (prev, next) { return prev.withMutations(function (s) { return iterate(next, s); }); });\n//# sourceMappingURL=deepMerge.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/fn/array/includes\");\nrequire(\"core-js/es6/promise\");\nexports.omit = function (ks, original) {\n return Object.keys(original)\n .filter(function (k) { return !ks.includes(k); })\n .reduce(function (filtered, k) {\n return Object.assign(original, (_a = {}, _a[k] = original[k], _a));\n var _a;\n }, {});\n};\nexports.retryTimes = function (n, fn) {\n return new Promise(function (resolve, reject) {\n return retry(n, fn)\n .then(function (result) { return resolve(result); })\n .catch(function (err) { return reject(err); });\n });\n};\nvar retry = function (i, fn) {\n return fn().catch(function (err) {\n if (i <= 0)\n throw err;\n return retry(i - 1, fn);\n });\n};\n//# sourceMappingURL=utils.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Sort_1 = require(\"./Sort\");\nexports.SortingOrder = Sort_1.SortingOrder;\n//# sourceMappingURL=index.js.map","import unescape from 'lodash/unescape';\n\nexport default (template = '', selector = /%s/g) => {\n const tpl = unescape(template);\n return (...args) => {\n let index = -1;\n return tpl.replace(selector, () => {\n index++;\n return args[index] || '';\n });\n };\n};\n","import { createChangeEmitter } from '@findify/change-emitter';\n\ndeclare module window {\n const findify: any\n}\n\nconst emmiter = createChangeEmitter();\nlet isSubscribed = false;\n\n// Replace global change emmiter with current\nconst subscribe = () => {\n if (isSubscribed || !window.findify.addListeners) return;\n window.findify.addListeners(emmiter.getListeners());\n emmiter.emit = window.findify.emit;\n emmiter.listen = window.findify.listen;\n isSubscribed = true;\n return;\n}\n\nexport const emit = (...args) => {\n subscribe();\n return emmiter.emit(...args)\n}\n\nexport const listen = (...args) => {\n subscribe();\n return emmiter.listen(...args);\n}\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createRecord_1 = require(\"./createRecord\");\nvar preventEvents_1 = require(\"../utils/preventEvents\");\nvar navigate = function (openInNewWindow, url) {\n if (!window)\n return;\n if (openInNewWindow)\n return window.open(url, '_blank');\n return window.location.href = url;\n};\nvar Item = (function (_super) {\n __extends(Item, _super);\n function Item(value, meta, analytics) {\n var _this = _super.call(this, value) || this;\n _this.onClick = function (e) {\n preventEvents_1.preventEvents(e);\n var openInNewWindow = e && (e.ctrlKey || e.metaKey);\n _this.analytics.sendEvent('click-item', {\n rid: _this.meta.get('rid'),\n item_id: _this.get('id'),\n variant_item_id: _this.get('selected_variant_id')\n }, !openInNewWindow);\n navigate(openInNewWindow, _this.get('product_url'));\n };\n _this.meta = meta;\n _this.analytics = analytics;\n return _this;\n }\n ;\n return Item;\n}(createRecord_1.default('Item')));\nexports.Item = Item;\n//# sourceMappingURL=item.js.map","import accounting from 'accounting';\n\nexport interface ICurrencyData {\n symbol?: string;\n thousandsSeparator?: string;\n decimalSeparator?: string;\n symbolOnLeft?: boolean;\n decimalDigits?: number;\n spaceBetweenAmountAndSymbol?: boolean;\n format?: {\n pos: string,\n neg: string,\n zero: string\n };\n}\n\nconst formatMapping = [\n {\n symbolOnLeft: true,\n spaceBetweenAmountAndSymbol: false,\n format: {\n pos: '%s%v',\n neg: '-%s%v',\n zero: '%s%v'\n }\n },\n {\n symbolOnLeft: true,\n spaceBetweenAmountAndSymbol: true,\n format: {\n pos: '%s %v',\n neg: '-%s %v',\n zero: '%s %v'\n }\n },\n {\n symbolOnLeft: false,\n spaceBetweenAmountAndSymbol: false,\n format: {\n pos: '%v%s',\n neg: '-%v%s',\n zero: '%v%s'\n }\n },\n {\n symbolOnLeft: false,\n spaceBetweenAmountAndSymbol: true,\n format: {\n pos: '%v %s',\n neg: '-%v %s',\n zero: '%v %s'\n }\n }\n];\n\nconst defaultCurrency = {\n symbol: '',\n thousandsSeparator: ',',\n decimalSeparator: '.',\n symbolOnLeft: true,\n spaceBetweenAmountAndSymbol: false,\n decimalDigits: 2\n}\n\nexport default (currency: ICurrencyData = defaultCurrency) => (value: string) =>\naccounting.formatMoney(value, {\n ...currency,\n format: currency.format || (formatMapping as any).find(f =>\n f.symbolOnLeft === currency.symbolOnLeft &&\n f.spaceBetweenAmountAndSymbol === currency.spaceBetweenAmountAndSymbol\n ).format\n})\n","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar react_1 = require(\"react\");\nvar immutable_1 = require(\"immutable\");\nvar Agents = require(\"@findify/agent\");\nvar analytics_1 = require(\"@findify/analytics\");\nvar prop_types_1 = require(\"prop-types\");\nexports.Context = react_1.createContext({});\nexports.createProvider = function (type, onCreate) {\n return _a = (function (_super) {\n __extends(Provider, _super);\n function Provider(props) {\n var _this = _super.call(this, props) || this;\n _this.setQuery = function (query) {\n for (var key in query)\n _this.agent.set(key, query[key]);\n };\n _this.update = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n (_a = _this.agent).update.apply(_a, args);\n var _a;\n };\n var apiKey = props.apiKey, agent = props.agent, options = props.options, defaults = props.defaults, config = props.config, storeKey = props.storeKey;\n var _key = agent && agent.config.key || apiKey;\n var _config = config || immutable_1.Map();\n var analyticsConfig = __assign({ key: _key, events: _config.get('analytics', immutable_1.Map()).toJS() }, _config.get('platform', immutable_1.Map()).toJS());\n if (agent && !agent.config.immutable) {\n throw new Error(\"\\n Agent should be in \\\"immutable\\\" mode, to work with connectors.\\n Add \\\"immutable: true\\\" to your Agent initializer\\n \");\n }\n _this.storeKey = storeKey || 'default';\n _this.analytics = analytics_1.default(analyticsConfig);\n _this.agent = agent || new Agents[type](__assign({ key: _key, user: _this.analytics.user, immutable: true, retryCount: type === 'Autocomplete' ? 0 : void 0 }, options));\n _this.data = { analytics: _this.analytics, config: _config, agent: _this.agent };\n if (onCreate)\n onCreate(_this.agent);\n if (defaults)\n _this.agent.defaults(defaults);\n return _this;\n }\n Provider.prototype.componentWillReceiveProps = function (next) {\n var _this = this;\n if (typeof next.query !== 'object' ||\n this.props.query === next.query ||\n Object.keys(next.query).every(function (k) {\n return immutable_1.is(_this.props.query[k], next.query[k]);\n }))\n return;\n this.setQuery(next.query);\n if (!!next.agent && next.agent !== this.agent) {\n this.agent = next.agent;\n this.forceUpdate();\n }\n };\n Provider.prototype.componentDidMount = function () {\n if (this.props.onChangeQuery) {\n this.agent.on('change:query', this.props.onChangeMeta);\n }\n };\n Provider.prototype.componentWillUnmount = function () {\n if (this.props.onChangeMeta)\n this.agent.off(this.props.onChangeMeta);\n };\n Provider.prototype.render = function () {\n var _this = this;\n return (react_1.createElement(exports.Context.Consumer, null, function (agents) {\n return react_1.createElement(exports.Context.Provider, { value: __assign({}, agents, (_a = {}, _a[_this.storeKey] = _this.data, _a)) }, _this.props.children);\n var _a;\n }));\n };\n return Provider;\n }(react_1.PureComponent)),\n _a.propTypes = {\n apiKey: prop_types_1.string,\n agent: prop_types_1.object,\n defaults: prop_types_1.object,\n options: prop_types_1.object,\n config: prop_types_1.object,\n onChangeQuery: prop_types_1.func,\n storeKey: prop_types_1.oneOfType([prop_types_1.string, prop_types_1.number]),\n query: prop_types_1.object\n },\n _a;\n var _a;\n};\n//# sourceMappingURL=createProvider.js.map","module.exports = {\n\t\"root\": \"findify-components--icon\"\n};","import React from 'react';\nimport { branch, withStateHandlers, lifecycle, compose, setDisplayName, withProps, ComponentEnhancer } from 'recompose'\nimport { connectSuggestions, connectQuery } from '@findify/react-connect';\n\nconst autocompleteLogic = compose(\n withStateHandlers({ selectedSuggestion: -1, }, {\n changeSuggestionIndex: ({ selectedSuggestion }, { config, suggestions, getSuggestionProps }) => {\n const node: HTMLInputElement = config.get('node');\n return (evt) => {\n const arrowCodes = ['ArrowUp', 'ArrowDown']\n if (evt.target !== node) return;\n if (evt.key === 'Enter' && selectedSuggestion !== -1) {\n evt.stopPropagation();\n evt.preventDefault();\n getSuggestionProps(selectedSuggestion, config.get('widgetKey')).onClick();\n return;\n }\n if (!arrowCodes.includes(evt.key)) return;\n evt.preventDefault();\n\n const newSuggestionIndex = selectedSuggestion + (evt.key === 'ArrowUp' ? -1 : 1)\n const totalSuggestions = suggestions && suggestions.size || 0\n\n\n if (newSuggestionIndex < 0) return { selectedSuggestion: totalSuggestions - 1 }\n if (totalSuggestions - 1 < newSuggestionIndex) return { selectedSuggestion: 0 }\n return { selectedSuggestion: newSuggestionIndex }\n }\n },\n setSuggestionIndex: ({ selectedSuggestion }) => (index) => ({ selectedSuggestion: index })\n }),\n lifecycle({\n componentDidMount() {\n const node: HTMLInputElement = this.props.config.get('node');\n document.querySelector('body')!.addEventListener('keydown', this.props.changeSuggestionIndex, true)\n node.autocomplete = 'off';\n },\n componentWillUnmount() {\n const node: HTMLInputElement = this.props.config.get('node')\n document.querySelector('body')!.removeEventListener('keydown', this.props.changeSuggestionIndex, true)\n },\n componentWillReceiveProps(nextProps) {\n if (nextProps.meta.get('q') !== this.props.meta.get('q')) {\n nextProps.setSuggestionIndex(-1);\n }\n }\n }),\n withProps(({ config }) => ({\n closeAutocomplete: () => (window as any).findify.emit('autocompleteFocusLost', config.get('widgetKey'))\n }))\n);\n\nexport default compose(\n setDisplayName('withAutocompleteLogic'),\n connectSuggestions,\n branch(\n ({ config }) => config.get('node'),\n autocompleteLogic\n )\n)\n","/**\n * @module components/Button\n */\n\nimport React from 'react';\nimport { compose, withHandlers } from 'recompose';\nimport cx from 'classnames';\nimport { ClassnamedProps, ThemedSFCProps } from 'types';\n\n/** Props that Button accepts */\nexport interface IButtonProps extends ThemedSFCProps, ClassnamedProps {\n /** Event handler for a button */\n onClick?: (evt: Event) => any;\n /** Flag to show if the button is active */\n active?: boolean;\n /** Flag whether to use raw style */\n raw?: boolean;\n /** Flag whether the component is disabled */\n disabled?: boolean;\n /** Rest of the props for the button */\n [x: string]: any;\n}\n\nconst ButtonView: React.SFC<IButtonProps> = ({\n theme,\n onClick,\n children,\n active,\n raw,\n className,\n disabled,\n ...rest\n}: IButtonProps) => (\n <button\n {...rest}\n onClick={onClick}\n disabled={disabled}\n className={cx(theme.root, active && theme.active, raw && theme.raw, className)}\n >\n { children }\n </button>\n);\n\nexport default ButtonView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar immutable_1 = require(\"immutable\");\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'meta',\n mapProps: function (meta) { return ({\n pages: meta && immutable_1.Range(1, Math.ceil(meta.get('total') / meta.get('limit'))),\n current: meta && Math.ceil(meta.get('offset') / meta.get('limit')) + 1\n }); },\n handlers: {\n getPageProps: function (_a) {\n var update = _a.update, meta = _a.meta;\n return function (page) { return ({\n key: page,\n onClick: function (e) {\n if (e)\n e.preventDefault();\n update('offset', (page - 1) * meta.get('limit'));\n }\n }); };\n }\n }\n});\n//# sourceMappingURL=connectPagination.js.map","/**\n * @module components/RangeFacet\n */\n\nimport unescape from 'lodash/unescape';\nimport formatCurrency from 'helpers/formatCurrency';\n\nconst identity = i => i;\n\nconst createLabel = (from, to, config, fx) =>\n (from && to && `${fx(from)} - ${fx(to)}`) ||\n (from && !to && `${fx(from)} ${unescape(config.getIn(['i18n', 'up']))}`) ||\n (!from && to && `${unescape(config.getIn(['i18n', 'under']))} ${fx(to)}`);\n\nexport default ({ item, config }) => createLabel(\n item.get('from'),\n item.get('to'),\n config,\n item.get('name') === 'price'\n && formatCurrency(config.get('currency_config').toJS())\n || identity\n)\n","import React from 'react';\n\nexport default (BaseComponent) => {\n const factory = React.createFactory(BaseComponent);\n return class ErrorBoundary extends React.Component {\n static displayName = 'ErrorBoundary';\n\n state = { error: false };\n\n componentDidCatch(error, info) {\n this.setState({ error: true });\n console.error(error, info);\n }\n\n render() {\n return this.state.error ? null : factory(this.props);\n }\n }\n}\n","module.exports = {\n\t\"root\": \"findify-components--rating-facet\",\n\t\"item\": \"findify-components--rating-facet__item\",\n\t\"star\": \"findify-components--rating-facet__star\",\n\t\"unfilled\": \"findify-components--rating-facet__unfilled\",\n\t\"checkbox\": \"findify-components--rating-facet__checkbox\",\n\t\"range\": \"findify-components--rating-facet__range\",\n\t\"input-wrap\": \"findify-components--rating-facet__input-wrap\",\n\t\"inputWrap\": \"findify-components--rating-facet__input-wrap\",\n\t\"input\": \"findify-components--rating-facet__input\",\n\t\"currency\": \"findify-components--rating-facet__currency\",\n\t\"submit\": \"findify-components--rating-facet__submit\",\n\t\"divider\": \"findify-components--rating-facet__divider\"\n};","/**\n * @module components/search/MobileActions\n */\nimport React from 'react';\nimport { connectSort, connectQuery } from '@findify/react-connect';\nimport { compose, withHandlers, withPropsOnChange } from 'recompose';\nimport withEvents from 'helpers/withEvents';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/search/MobileActions/view';\nimport styles from 'components/search/MobileActions/styles.css';\n\nexport default compose(\n withTheme(styles),\n connectSort,\n connectQuery,\n withEvents(),\n withHandlers({\n showFacets: ({ emit }) => () => emit('showMobileFacets'),\n showSort: ({ emit }) => () => emit('showMobileSort')\n }),\n withPropsOnChange(['selected'], ({ selected, config }) => ({\n sorting: config.getIn(['sorting', 'i18n', 'options', !!selected\n && [selected.get('field'), selected.get('order')].join('|')\n || 'default'\n ])\n })),\n withPropsOnChange(['query'], ({ query }) => query.get('filters') && ({\n total: query.get('filters').reduce(\n // The workaround to not sum the nested category filters\n (acc, filter, key) => acc + (/category[2-9]/.test(key) ? 0 : filter.size)\n , 0)\n }))\n)(view);\n","import React from 'react';\nimport { AutoSizer } from 'react-virtualized/dist/commonjs/AutoSizer';\nimport { List } from 'react-virtualized/dist/commonjs/List';\nimport { Scrollbars } from 'react-custom-scrollbars';\nimport cx from 'classnames';\nexport default ({\n initAutoSizer,\n initList,\n array,\n cache,\n handleScroll,\n rowRenderer,\n className,\n theme,\n}) =>\n<div className={cx(className, theme.list)}>\n <AutoSizer ref={initAutoSizer}>\n {\n ({ width, height }) =>\n <Scrollbars autoHide={false} style={{ width, height }} onScroll={handleScroll}>\n <List\n className={theme.list}\n ref={initList}\n width={width}\n height={height}\n rowCount={array.size}\n overscanRowCount={2}\n rowHeight={cache.rowHeight}\n rowRenderer={rowRenderer}\n style={{\n overflowX: false\n }}\n />\n </Scrollbars>\n }\n </AutoSizer>\n</div>\n","module.exports = {\n\t\"root\": \"findify-components--pagination\",\n\t\"prev\": \"findify-components--pagination__prev\",\n\t\"next\": \"findify-components--pagination__next\",\n\t\"first\": \"findify-components--pagination__first\",\n\t\"last\": \"findify-components--pagination__last\",\n\t\"page\": \"findify-components--pagination__page\",\n\t\"dots\": \"findify-components--pagination__dots\",\n\t\"active\": \"findify-components--pagination__active\"\n};","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar immutable_1 = require(\"immutable\");\nvar createRecord_1 = require(\"./createRecord\");\nvar preventEvents_1 = require(\"../utils/preventEvents\");\nvar debounce_1 = require(\"../utils/debounce\");\nvar getFacetValue = function (_this, type) {\n if (type === 'range') {\n return _this.filter(function (_, k) { return k === 'from' || k === 'to'; });\n }\n ;\n return _this.get('value');\n};\nvar updateFilters = function (filterName, _value, isSelected, type) {\n return function (f) {\n if (f === void 0) { f = immutable_1.Map(); }\n return f.withMutations(function (filters) {\n var isCategory = type === 'category';\n var value = isCategory ? immutable_1.List([_value]) : _value;\n var _a = filterName.split(/(?=\\d+)/), key = _a[0], n = _a[1];\n if (isSelected) {\n var index = filters.get(filterName).indexOf(value);\n if (!isCategory)\n return filters.removeIn([filterName, index]);\n filters.forEach(function (_, _fName) {\n if (!_fName.includes(key) || Number(_fName.split(/(?=\\d+)/)[1]) < Number(n))\n return;\n return filters.remove(_fName);\n });\n return filters;\n }\n if (filters.has(filterName) || (isCategory && filters.find(function (_, k) { return k.includes(key); }))) {\n if (isCategory) {\n filters.forEach(function (_, _fName) {\n if (!_fName.includes(key) || Number(_fName.split(/(?=\\d+)/)[1]) < Number(n))\n return;\n return filters.remove(_fName);\n });\n return filters.set(filterName, immutable_1.fromJS([value]));\n }\n ;\n return filters.set(filterName, filters.get(filterName).push(value));\n }\n return filters.set(filterName, immutable_1.fromJS([value]));\n });\n };\n};\nvar Facet = (function (_super) {\n __extends(Facet, _super);\n function Facet(facet, updater) {\n var _this = _super.call(this, facet.update('values', function (values) {\n return values.map(function (v) { return new FacetValue(v, updater, facet); });\n })) || this;\n _this.resetValues = function (e) {\n preventEvents_1.preventEvents(e);\n var name = _this.get('name');\n if (_this.get('type') === 'category') {\n _this.updater('filters', function (f) { return f && f.filter(function (v, k) { return !k.includes(name); }); });\n }\n else {\n _this.updater('filters', function (f) { return f && f.remove(name); });\n }\n return _this;\n };\n _this.setValue = function (value) {\n if (!value)\n return _this;\n _this.updater('filters', updateFilters(_this.get('name'), immutable_1.fromJS(value), false, _this.get('type')));\n return _this;\n };\n _this.updater = updater;\n return _this;\n }\n ;\n return Facet;\n}(createRecord_1.default('Facet')));\nexports.Facet = Facet;\nvar FacetValue = (function (_super) {\n __extends(FacetValue, _super);\n function FacetValue(value, updater, facet) {\n var _this = _super.call(this, value.update('children', function (children) { return children &&\n children.map(function (v) { return new FacetValue(v, updater, facet); }); })) || this;\n _this.toggle = debounce_1.default(function (e) {\n preventEvents_1.preventEvents(e);\n var value = getFacetValue(_this, _this.type);\n _this.updater('filters', updateFilters(_this.index, value, _this.get('selected'), _this.type));\n return _this;\n }, 300, true);\n _this.updater = updater;\n _this.index = value.get('name');\n _this.type = facet.get('type');\n return _this;\n }\n return FacetValue;\n}(createRecord_1.default('FacetValue')));\nexports.FacetValue = FacetValue;\n//# sourceMappingURL=facets.js.map","/**\n * @module components/autocomplete/Tip\n */\n\nimport React from 'react'\nimport classnames from 'classnames'\n\nimport styles from 'components/autocomplete/Tip/styles.css';\nimport { List } from 'immutable'\nimport { ThemedSFCProps, ClassnamedProps, WidgetAwareProps, SuggestionsConnectedProps } from 'types';\n\n/** List of props that Tip accepts */\nexport interface ITipProps extends ThemedSFCProps, ClassnamedProps, WidgetAwareProps, SuggestionsConnectedProps {\n /** Custom title to display in a Tip */\n title: string;\n}\n\nconst TipView: React.SFC<ITipProps> = ({\n suggestions,\n className,\n title,\n theme,\n getSuggestionProps,\n widgetKey\n}: ITipProps) => {\n const suggestionProps = suggestions && suggestions.size > 0 && getSuggestionProps(0, widgetKey) || { onClick: () => {} }\n return (\n <div\n display-if={suggestions && suggestions.size > 0}\n className={classnames(theme.tip, className)}\n onClick={suggestionProps.onClick}\n >\n {title}\n {' '}\n {\n <span className={theme.highlight}>{suggestions.getIn([0, 'value'])}</span>\n }\n </div>\n )\n}\n\nexport default TipView;\n","/**\n * @module components/search/StaticResults\n */\n\nimport React from 'react';\nimport ItemsList from 'components/ItemsList';\nimport Grid from 'components/common/Grid';\nimport PoweredBy from 'components/PoweredBy';\nimport Pagination from 'components/Pagination';\nimport { ThemedSFCProps, MJSConfiguration } from 'types';\n\n/** Props that StaticResults accepts */\nexport interface IStaticResultsProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Number of columns that one item occupies in 12-col grid */\n columns: number;\n};\n\nconst StaticResultsView = ({ columns, theme, config }: IStaticResultsProps) =>\n<div className={theme.root}>\n <ItemsList wrapper={Grid} columns={columns} config={config} />\n <Pagination />\n <PoweredBy />\n</div>\n\nexport default StaticResultsView;\n","module.exports = {\n\t\"discount-sticker\": \"findify-components--cards--product--stickers__discount-sticker\",\n\t\"discountSticker\": \"findify-components--cards--product--stickers__discount-sticker\",\n\t\"outOfStockSticker\": \"findify-components--cards--product--stickers__outOfStockSticker\",\n\t\"out-of-stock-sticker\": \"findify-components--cards--product--stickers__out-of-stock-sticker\",\n\t\"outOfStockSticker\": \"findify-components--cards--product--stickers__out-of-stock-sticker\"\n};","/**\n * @module components/Pagination\n */\nimport React from 'react';\nimport range from 'lodash/range';\nimport { branch, compose, defaultProps, setDisplayName, renderNothing, withProps } from 'recompose';\nimport { connectPagination } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/Pagination/view';\n\nimport styles from 'components/Pagination/styles.css';\n\nconst getRange = ({ current, total, step }) => {\n const min = current - step;\n const max = current + step + 1;\n return range(min < 1 ? 1 : min, max > total ? total + 1 : max);\n};\n\nexport default compose(\n setDisplayName('Pagination'),\n\n withTheme(styles),\n\n connectPagination,\n\n branch(\n ({ pages }) => !pages,\n renderNothing\n ),\n\n withProps(({ current, pages, meta, config }: any) => {\n const step = config.getIn(['pagination', 'step']);\n const total =pages.size + 1;\n return {\n total,\n showFirst: current > step + 1,\n showLast: current < total - step,\n showFirstDots: current > step + 2,\n showLastDots: current < total - step - 1,\n showPrev: current > step,\n showNext: total - step > current,\n visiblePages: getRange({ current, total, step }),\n };\n }),\n)(view);\n","/**\n * @module layouts/ZeroResults\n */\n\nimport React from 'react';\n\nimport Grid from 'components/common/Grid';\nimport ItemsList from 'components/ItemsList';\nimport Text from 'components/Text';\n\nimport { List } from 'immutable';\nimport { IProduct, ThemedSFCProps, MJSConfiguration } from 'types';\n\n\n/** Props that ZeroResults layout accepts */\nexport interface IZeroResultsProps extends ThemedSFCProps {\n /** List of trending products */\n items: List<IProduct>;\n /** @hidden */\n title: string;\n /** MJS configuration */\n config: MJSConfiguration;\n /** Number of columns that each item occupies in 12-col grid */\n columns: number;\n}\n\nconst ZeroResultsLayout = ({ items, title, theme, columns, config }: IZeroResultsProps) => (\n <React.Fragment>\n <div className={theme.sorryRow}>\n <Text className={theme.sorry} primary bold uppercase inlineBlock>\n {config.getIn(['i18n', 'sorryNoResults'], 'Sorry!')}\n </Text>\n <Text primary inlineBlock html={title} />\n </div>\n <div className={theme.suggestionsRow} display-if={false}>\n <Text className={theme.possibleSuggestions} primary bold uppercase inlineBlock>\n {config.getIn(['i18n', 'tryOneOfThese'], 'Try one of these instead:')}\n {/* FIXME: add suggestions when trending searches API becomes available */}\n </Text>\n </div>\n <div className={theme.productRecommendationRow}>\n <Text className={theme.productRecommendation} primary bold uppercase inlineBlock>\n {config.getIn(['i18n', 'checkOutPopularProducts'], 'Or check out some of these popular products')}\n </Text>\n </div>\n <ItemsList wrapper={Grid} columns={columns} />\n </React.Fragment>\n)\n\nexport default ZeroResultsLayout;\n","import { compose, setDisplayName } from 'recompose';\nimport view from 'layouts/Custom/view';\nimport withTheme from 'helpers/withTheme';\nimport styles from \"layouts/Custom/styles.css\";\n\nexport default compose(\n setDisplayName('CustomLayout'),\n withTheme(styles)\n)(view);\n","/**\n * @module components/ColorFacet\n */\n\nimport React from 'react';\n\nimport MapArray from 'components/common/MapArray';\nimport Item from 'components/ColorFacet/Item';\nimport { ThemedSFCProps, MJSConfiguration, IFacetValue } from 'types';\nimport { List } from 'immutable';\n\nexport interface IColorFacetProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Facet values to render */\n items: List<IFacetValue>\n}\n\nconst ColorFacetView = ({\n theme,\n items,\n config,\n}: IColorFacetProps) =>\n<div className={theme.root}>\n <div className={theme.container}>\n <MapArray\n config={config}\n array={items.filter(item => config.getIn(['facets', 'color', 'mapping', (item.get('value') as string)!.toLocaleLowerCase()]))}\n factory={Item}\n theme={theme} />\n </div>\n</div>\n\nexport default ColorFacetView;\n","module.exports = {\n\t\"root\": \"findify-components-search--static-results\",\n\t\"column\": \"findify-components-search--static-results__column\"\n};","/**\n * @module components/Cards/Product/Rating\n */\nimport React from 'react';\nimport { setDisplayName, compose } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport view from 'components/Cards/Product/Rating/view';\nimport theme from 'components/Cards/Product/Rating/styles.css';\n\n\nexport default compose(\n setDisplayName('Rating'),\n withTheme(theme)\n)(view)\n","/**\n * @module components/Cards/Content\n */\n\nimport React from 'react';\nimport { compose, setDisplayName } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport styles from 'components/Cards/Content/styles.css'\nimport view from 'components/Cards/Content/view'\n\nexport default compose(\n setDisplayName('ContentCard'),\n withTheme(styles)\n)(view)\n","/**\n * @module components/Pagination\n */\n\nimport React from 'react';\nimport cx from 'classnames';\n\nimport Button from 'components/Button';\nimport Icon from 'components/Icon';\nimport { ThemedSFCProps, MJSConfiguration } from 'types';\n\n/** Props that Pagination view accepts */\nexport interface IPaginationProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Current page */\n current: number;\n /** Total amount of pages */\n total: number;\n /** Whether to show previous page button */\n showPrev: boolean;\n /** Whether to show first page button */\n showFirst: boolean;\n /** Whether to show dots on the left to current page */\n showFirstDots: boolean;\n /** Whether to show dots on the right to current page */\n showLastDots: boolean;\n /** Show last page */\n showLast: boolean;\n /** Show next page button */\n showNext: boolean;\n /** Array of visible page numbers */\n visiblePages: number[]\n /** Function returning props for each page button */\n getPageProps: (pageNumber: number) => {[x: string]: any}\n}\n\nexport default ({\n theme,\n config,\n current,\n getPageProps,\n total,\n\n showPrev,\n showFirst,\n showFirstDots,\n showLastDots,\n showLast,\n showNext,\n\n visiblePages,\n}: IPaginationProps) => (\n <div className={theme.root}>\n <Button display-if={showPrev} {...getPageProps(current - 1)} className={theme.prev}>\n <Icon name='ArrowLeft' />\n { config.getIn(['pagination', 'i18n', 'previous'], 'previous') }\n </Button>\n <Button display-if={showFirst} {...getPageProps(1)} className={theme.first}>\n 1\n </Button>\n <Button display-if={showFirstDots} className={theme.dots}>\n ...\n </Button>\n {\n visiblePages.map(page =>\n <Button {...getPageProps(page)} className={cx(theme.page, current === page && theme.active)}>\n { page }\n </Button>\n )\n }\n <Button display-if={showLastDots} className={theme.dots}>\n ...\n </Button>\n <Button display-if={showLast} {...getPageProps(total)} className={theme.last}>\n {total}\n </Button>\n <Button display-if={showNext} {...getPageProps(current +1)} className={theme.next}>\n { config.getIn(['pagination', 'i18n', 'next'], 'next') }\n <Icon name='ArrowRight' />\n </Button>\n </div>\n)\n","import React from 'react';\nimport { Component, createFactory } from 'react';\nimport { is, List, Map } from 'immutable';\nimport { compose, withPropsOnChange, setDisplayName } from 'recompose';\n\nconst isStateEqual = (prev, next) => ['filters', 'q', 'sort'].every(k =>\n is(prev.get(k), next.get(k))\n);\n\nconst hasRange = (ranges, offset) => !!ranges.find(r => r.get('from') === offset);\n\nconst createRange = meta => Map({\n from: meta.get('offset'),\n to: meta.get('offset') + meta.get('limit'),\n});\n\nconst addItems = ({ ranges, items }, nextItems, meta) => {\n const append = ranges.find(r => r.get('from') < meta.get('offset'));\n const newRange = createRange(meta);\n const _items = nextItems.filter(i => !items.includes(i));\n return {\n ranges: append ? ranges.push(newRange) : ranges.insert(0, newRange),\n items: append ? items.concat(_items) : _items.concat(items)\n }\n}\n\n/**\n * withLazy() returns a HOC for wrapping around component you want to include lazy loading to\n * @returns HOC, accepting a view you want to add lazy loading to\n */\nexport default () => {\n /**\n * withLazy HOC allows you to add LazyLoading functionality to your Search views, for example.\n * It controls items displaying correct range in the LazyView and automatically requests for more data if needed\n * @param LazyView view you will be adding lazy loading to\n * @returns LazyLoading HOC\n */\n return BaseComponent => {\n const factory = createFactory(BaseComponent);\n return class Lazy extends Component<any, any>{\n container: any;\n autoLoadCount = 0;\n\n constructor(props) {\n super(props);\n this.autoLoadCount = props.disableAutoLoad ? 0 : props.config.getIn(['loadMore', 'lazyLoadCount'], 2);\n this.state = {\n items: props.items,\n ranges: List([createRange(props.meta)]),\n columns: props.columns || '3',\n pending: false\n };\n }\n\n registerContainer = (ref) => {\n if (!ref) return;\n this.container = ref;\n }\n\n onLoadNext = () => {\n const { update, meta } = this.props;\n const { ranges } = this.state;\n return update('offset', ranges.last().get('to'));\n }\n\n onLoadPrev = () => {\n const { update, meta } = this.props;\n const { ranges } = this.state;\n return update('offset', ranges.first().get('from') - meta.get('limit'));\n }\n\n get lessAllowed() {\n const { ranges } = this.state;\n const firstRange = ranges.first();\n return firstRange && firstRange.get('from') > 0\n }\n\n get moreAllowed() {\n const { meta } = this.props;\n const { ranges } = this.state;\n const lastRange = ranges.last();\n return lastRange && lastRange.get('to') < meta.get('total')\n }\n\n trackPosition = () =>\n !this.state.pending &&\n !!this.autoLoadCount &&\n window.requestAnimationFrame(() => {\n const offset = 300;\n const { bottom } = this.container.getBoundingClientRect();\n const height = window.innerHeight || document.documentElement.clientHeight;\n const inView = bottom - height <= offset;\n if (!inView || this.state.pending || !this.autoLoadCount || !this.moreAllowed) return;\n this.autoLoadCount -= 1\n this.setState({ pending: true });\n this.onLoadNext();\n })\n\n componentDidMount() {\n if (this.props.disableAutoLoad) return;\n window.addEventListener('scroll', this.trackPosition);\n }\n\n componentWillUnmount() {\n if (this.props.disableAutoLoad) return;\n window.removeEventListener('scroll', this.trackPosition);\n }\n\n componentWillReceiveProps({ items, meta, config }) {\n // Do nothing if items are equal\n if (items.equals(this.props.items)) return;\n\n this.setState({ pending: false });\n\n // Prepend or append new items\n if (isStateEqual(meta, this.props.meta) && !hasRange(this.state.ranges, meta.get('offset'))) {\n return this.setState({ ...addItems(this.state, items, meta) });\n }\n\n // Reset number of loads\n if (!this.props.disableAutoLoad) this.autoLoadCount = config.getIn(['loadMore', 'lazyLoadCount'], 2);\n\n // Reset items\n return this.setState({\n items,\n ranges: List([createRange(meta)]),\n });\n }\n\n shouldComponentUpdate(props, state) {\n return (\n this.state.pending !== state.pending ||\n !this.state.items.equals(state.items) ||\n !!Object.keys(props).find(k => !is(this.props[k], props[k]))\n )\n }\n\n render () {\n const { ranges, items, columns, pending } = this.state;\n const { meta } = this.props;\n\n const content = factory({\n ...this.props,\n items,\n displayPrevButton: this.lessAllowed,\n displayNextButton: !pending && this.moreAllowed,\n onLoadNext: this.onLoadNext,\n onLoadPrev: this.onLoadPrev,\n });\n\n return <div ref={this.registerContainer}>{content}</div>\n }\n };\n }\n}\n","module.exports = {\n\t\"root\": \"findify-components--facet\",\n\t\"title\": \"findify-components--facet__title\",\n\t\"text\": \"findify-components--facet__text\",\n\t\"icon\": \"findify-components--facet__icon\",\n\t\"body\": \"findify-components--facet__body\"\n};","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/fn/array/includes\");\nvar debug_1 = require(\"debug\");\nvar client_1 = require(\"./client\");\nvar R = require(\"./request\");\nvar validation_1 = require(\"./validation\");\nvar settings = require(\"./settings\");\nvar knownEnvs = ['development', 'staging', 'production'];\nvar defaultEnv = 'production';\nvar findifyEnv = typeof process !== 'undefined' && process.env && process.env.FINDIFY_ENV;\nvar env = findifyEnv || defaultEnv;\nif (!knownEnvs.includes(env)) {\n throw new Error(env + \" is not supported environment\");\n}\nvar defaults = settings[env];\nfunction init(config) {\n var isBrowserEnv = typeof window !== 'undefined';\n debug_1.default('sdk')('env: ', env);\n debug_1.default('sdk')('defaults: ', defaults);\n debug_1.default('sdk')('isBrowserEnv: ', isBrowserEnv);\n var cfg = setDefaults(config, isBrowserEnv);\n validation_1.validateConfig(cfg, isBrowserEnv);\n return new client_1.Client(cfg);\n}\nexports.init = init;\nvar setDefaults = function (cfg, isBrowserEnv) { return (__assign({ method: isBrowserEnv ? R.Method.JSONP : R.Method.POST }, defaults, cfg)); };\n//# sourceMappingURL=index.js.map","import React from 'react';\nimport { emit, listen } from 'helpers/emmiter';\n\nexport default (events?) => BaseComponent => {\n const factory = React.createFactory(BaseComponent);\n return class Events extends React.Component{\n static displayName = 'Events';\n removeListener: any;\n\n handler = (event, ...args) => {\n if (!events || !events[event]) return;\n events[event](this.props)(...args);\n }\n \n componentDidMount() {\n this.removeListener = listen(this.handler);\n \n }\n\n componentWillUnmount(){\n this.removeListener();\n }\n\n render() {\n return factory({ ...this.props, emit });\n }\n }\n}\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'banner'\n});\n//# sourceMappingURL=connectBanner.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar SortingOrder;\n(function (SortingOrder) {\n SortingOrder[\"Asc\"] = \"asc\";\n SortingOrder[\"Desc\"] = \"desc\";\n})(SortingOrder = exports.SortingOrder || (exports.SortingOrder = {}));\n//# sourceMappingURL=Sort.js.map","/**\n * @module components/autocomplete/SearchSuggestions\n */\nimport React from 'react';\nimport { compose, setDisplayName } from 'recompose'\nimport { connectSuggestions, connectQuery } from '@findify/react-connect';\nimport withTheme from 'helpers/withTheme';\nimport view from 'components/autocomplete/SearchSuggestions/view';\nimport styles from 'components/autocomplete/SearchSuggestions/styles.css';\n\n\nexport default compose(\n setDisplayName('SearchSuggestions'),\n withTheme(styles),\n connectSuggestions,\n connectQuery,\n)(view)\n","/**\n * @module components/search/DesktopActions\n */\nimport React from 'react';\nimport { compose, withHandlers, setDisplayName, branch, withStateHandlers } from 'recompose';\nimport withEvents from 'helpers/withEvents';\nimport withTheme from 'helpers/withTheme';\nimport { connectConfig } from '@findify/react-connect';\n\nimport view from 'components/search/DesktopActions/view';\nimport styles from 'components/search/DesktopActions/styles.css';\n\nexport default compose(\n setDisplayName('DesktopActions'),\n withTheme(styles),\n connectConfig,\n branch(\n ({ config }) => config.get('hidableFacets'),\n compose(\n withStateHandlers(\n { facetsVisible: true },\n {\n hideFacets: () => () => ({ facetsVisible: false }),\n showFacets: () => () => ({ facetsVisible: true })\n }\n ),\n withEvents({\n hideFacets: ({ hideFacets }) => hideFacets\n }),\n withHandlers({\n showFacets: ({ showFacets, emit }) => () => {\n showFacets();\n emit('showFacets');\n }\n })\n )\n )\n)(view);\n","import React from 'react';\n\nexport default ({ theme }) =>\n <div className={theme.root}>\n Findify Custom Layout\n </div>\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isObject = function (value) {\n var type = typeof value;\n return value != null && (type === 'object' || type === 'function');\n};\nexports.isFunction = function (value) {\n if (!exports.isObject(value))\n return false;\n return typeof value === \"function\";\n};\nexports.isArray = function (value) { return exports.isObject(value) && Array.isArray(value); };\nexports.identity = function (v) { return v; };\nexports.debounce = function (fn, wait) {\n var timeout;\n return function () {\n var ctx = this;\n var args = arguments;\n clearTimeout(timeout);\n timeout = setTimeout(function () { return fn.apply(ctx, args); }, wait || 0);\n };\n};\n//# sourceMappingURL=helpers.js.map","\"use strict\";\nvar __extends = (this && this.__extends) || (function () {\n var extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (b.hasOwnProperty(p)) d[p] = b[p]; };\n return function (d, b) {\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n})();\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createRecord_1 = require(\"./createRecord\");\nvar preventEvents_1 = require(\"../utils/preventEvents\");\nvar immutable_1 = require(\"immutable\");\nvar getFacetValue = function (_this, type) {\n if (type === 'range') {\n return _this.filter(function (_, k) { return k === 'from' || k === 'to'; });\n }\n ;\n if (type === 'category') {\n return immutable_1.List([_this.get('value')]);\n }\n ;\n return _this.get('value');\n};\nvar Filter = (function (_super) {\n __extends(Filter, _super);\n function Filter(filter, updater) {\n var _this = _super.call(this, filter.update('values', function (values) {\n return values.map(function (v) { return new FilterValue(v.withMutations(function (i) { return i\n .set('type', filter.get('type'))\n .set('name', filter.get('name')); }), updater, filter); });\n })) || this;\n _this.resetValues = function (e) {\n preventEvents_1.preventEvents(e);\n var filterName = _this.get('name');\n _this.updater('filters', function (f) { return f.remove(filterName); });\n return _this;\n };\n _this.updater = updater;\n return _this;\n }\n ;\n return Filter;\n}(createRecord_1.default('Filter')));\nexports.Filter = Filter;\nvar FilterValue = (function (_super) {\n __extends(FilterValue, _super);\n function FilterValue(value, updater, filter) {\n var _this = _super.call(this, value) || this;\n _this.toggle = function (e) {\n preventEvents_1.preventEvents(e);\n var filterName = _this.index;\n var value = getFacetValue(_this, _this.get('type'));\n _this.updater('filters', function (f) {\n return f.withMutations(function (filters) {\n var filter = filters.get(filterName);\n var index = filter.indexOf(value);\n return !~index ? filters.remove(filterName) : filters.removeIn([filterName, index]);\n });\n });\n return _this;\n };\n _this.updater = updater;\n _this.index = filter.get('name');\n return _this;\n }\n return FilterValue;\n}(createRecord_1.default('FilterValue')));\nexports.FilterValue = FilterValue;\n//# sourceMappingURL=filters.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nvar facets_1 = require(\"../immutable/facets\");\nvar immutable_1 = require(\"immutable\");\nexports.patchFacets = function (facets, updater) {\n return facets\n && facets.map(function (facet) { return new facets_1.Facet(facet, updater); })\n || immutable_1.Map();\n};\nexports.default = createConnect_1.default({\n field: 'facets',\n mapProps: function (facets, _, update) { return ({\n facets: exports.patchFacets(facets, update)\n }); }\n});\n//# sourceMappingURL=connectFacets.js.map","module.exports = {\n\t\"root\": \"findify-components-autocomplete--product-matches\",\n\t\"product-card\": \"findify-components-autocomplete--product-matches__product-card\",\n\t\"productCard\": \"findify-components-autocomplete--product-matches__product-card\",\n\t\"imageWrap\": \"findify-components-autocomplete--product-matches__imageWrap\",\n\t\"image\": \"findify-components-autocomplete--product-matches__image\",\n\t\"content\": \"findify-components-autocomplete--product-matches__content\",\n\t\"price-wrapper\": \"findify-components-autocomplete--product-matches__price-wrapper\",\n\t\"priceWrapper\": \"findify-components-autocomplete--product-matches__price-wrapper\",\n\t\"grid-column-class\": \"findify-components-autocomplete--product-matches__grid-column-class\",\n\t\"gridColumnClass\": \"findify-components-autocomplete--product-matches__grid-column-class\",\n\t\"view-more-button\": \"findify-components-autocomplete--product-matches__view-more-button\",\n\t\"viewMoreButton\": \"findify-components-autocomplete--product-matches__view-more-button\"\n};","/**\n * @module components/autocomplete/SuggestionItem\n */\nimport React from 'react';\nimport { compose, setDisplayName } from 'recompose'\nimport withTheme from 'helpers/withTheme'\nimport styles from 'components/autocomplete/SuggestionItem/styles.css';\nimport view from 'components/autocomplete/SuggestionItem/view';\n\nexport default compose(\n setDisplayName('SuggestionItem'),\n withTheme(styles)\n)(view)\n","module.exports = {\n\t\"container\": \"findify-components--color-facet__container\",\n\t\"item\": \"findify-components--color-facet__item\",\n\t\"active\": \"findify-components--color-facet__active\",\n\t\"ball\": \"findify-components--color-facet__ball\",\n\t\"check\": \"findify-components--color-facet__check\"\n};","/**\n * @module components/CategoryFacet\n */\n\nimport React from 'react';\nimport cx from 'classnames';\nimport MapArray from 'components/common/MapArray';\nimport content from 'components/CategoryFacet/content';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport { ThemedSFCProps, MJSConfiguration } from 'types';\n\n/** This is a list of props that each individual child of CategoryFacet View accepts */\nexport interface ICategoryFacetCategoryProps extends ThemedSFCProps {\n /** TODO: add typings for Item here */\n item: any;\n /** Custom inline styles for Button holding CategoryFacet Item */\n style: {[x: string]: string | number};\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst Item = ({ item, theme, style, config }: ICategoryFacetCategoryProps) =>\n<>\n <Button\n style={style}\n className={theme.item}\n onClick={item.toggle}>\n <Text primary lowercase bold={item.get('selected')} className={theme.content}>\n { content({ item }) }\n <Icon\n display-if={item.get('has_children')}\n name={ item.get('selected') ? 'ArrowDown' : 'ArrowRight' } />\n </Text>\n <Text secondary uppercase>\n ({ item.get('count') })\n </Text>\n </Button>\n <div display-if={item.get('children')} className={theme.nested}>\n <MapArray\n config={config}\n array={item.get('children')}\n factory={Item}\n theme={theme} />\n </div>\n</>\n\nexport default Item;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=Autocomplete.js.map","/**\n * @module components/autocomplete/ProductMatches\n */\n\nimport React from 'react'\nimport ProductCard from 'components/Cards/Product'\nimport Grid from 'components/common/Grid';\nimport MapArray from 'components/common/MapArray';\nimport ItemsList from 'components/ItemsList';\nimport Button from 'components/Button'\nimport styles from 'components/autocomplete/ProductMatches/styles.css';\nimport { List, Map } from 'immutable'\nimport { ThemedSFCProps, GetSuggestionPropsFunction, IProduct, ISuggestion, MJSConfiguration, WidgetAwareProps, SuggestionsConnectedProps } from 'types';\n\n/**\n * This function extracts key used for rendering in React from Product\n * @name prodkey\n * @param product Product to extract key from\n * @returns Product key used for rendering\n */\nconst getProductKey = (product: IProduct): string =>\n (product.get('position')\n ? [product.get('hash') || product.get('id'), product.get('position')].join('_')\n : product.get('hash') || product.get('id')) as string\n\nconst productCardFactory = React.createFactory(ProductCard)\n\n/** This is a list of props which ProductMatches view for Autocomplete accepts */\nexport interface IProductMatchesProps extends ThemedSFCProps, WidgetAwareProps, SuggestionsConnectedProps {\n /** List of products */\n items: List<IProduct>,\n /** Custom classname */\n className?: string,\n /** Class for each column where Product will be rendered */\n columnClass?: string\n /** MJS Configuration object */\n config: MJSConfiguration,\n /** Number of columns to render Products */\n columns: number,\n /** Maximum amount of products to render */\n limit: number,\n}\n\n/**\n * @param param0 Props that ProductMatchesView for Autocomplete accepts\n */\nconst ProductMatchesView: React.SFC<IProductMatchesProps> = ({\n items,\n className,\n columnClass,\n config,\n columns,\n limit,\n theme,\n suggestions,\n getSuggestionProps,\n widgetKey,\n}: IProductMatchesProps) => (\n <div className={styles.root}>\n <ItemsList\n wrapper={Grid}\n columns={String(12 / 1)}\n columnClass={theme.gridColumnClass}\n className={className}\n limit={config.getIn(['meta', 'item_limit'])}\n factory={(props) => productCardFactory({...props, columnClass, config, theme })}\n />\n <Button\n display-if={suggestions && suggestions.size > 0 && config.get('showViewMoreButton')}\n className={theme.viewMoreButton}\n onClick={suggestions && suggestions.size > 0 && getSuggestionProps(0, widgetKey).onClick}>\n {config.getIn(['i18n', 'viewMore'])}\n </Button>\n </div>\n);\n\nexport default ProductMatchesView\n","/**\n * @module components/Banner\n */\n\nimport React from 'react';\nimport { ThemedSFCProps, IBanner } from 'types';\nimport { branch, renderComponent } from 'recompose';\n\n/** Props that Banner component accepts */\nexport interface IBannerProps extends ThemedSFCProps {\n /** Banner being shown */\n banner: IBanner;\n [x: string]: any;\n}\n\nconst BannerComponent = branch<{ href: any, [x: string]: any }>(\n ({ href }) => !!href,\n renderComponent('a'),\n renderComponent('div')\n)(null);\n\nconst BannerView: React.SFC<IBannerProps> = ({ banner, theme, ...rest }: IBannerProps) =>\n<BannerComponent\n display-if={banner && !banner.isEmpty()}\n href={banner.getIn(['products', 'targetUrl'])}\n className={theme.root}>\n <img\n src={banner.getIn(['products', 'imageUrl'])}\n alt={banner.getIn(['products', 'title'])}\n className={theme.image} />\n</BannerComponent>\n\n\nexport default BannerView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar types_1 = require(\"../types\");\nvar immutable_1 = require(\"immutable\");\nvar helpers_1 = require(\"./helpers\");\nexports.getFacetType = function (value) {\n if (immutable_1.isImmutable(value)) {\n if (value instanceof immutable_1.Map)\n return types_1.Facets.range;\n if (value instanceof immutable_1.List)\n return types_1.Facets.category;\n }\n if (helpers_1.isArray(value))\n return types_1.Facets.category;\n if (helpers_1.isObject(value))\n return types_1.Facets.range;\n return types_1.Facets.text;\n};\n//# sourceMappingURL=filters.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.isObject = function (value) {\n var type = typeof value;\n return value != null && (type === 'object' || type === 'function');\n};\nexports.isFunction = function (value) {\n if (!exports.isObject(value))\n return false;\n return typeof value === \"function\";\n};\nfunction shallowEqual(objA, objB) {\n if (objA === objB) {\n return true;\n }\n if (!objA || !objB) {\n return false;\n }\n var keysA = Object.keys(objA);\n var keysB = Object.keys(objB);\n if (keysA.length !== keysB.length) {\n return false;\n }\n var hasOwn = Object.prototype.hasOwnProperty;\n for (var i = 0; i < keysA.length; i++) {\n if (!hasOwn.call(objB, keysA[i]) || objA[keysA[i]] !== objB[keysA[i]]) {\n return false;\n }\n }\n return true;\n}\nexports.shallowEqual = shallowEqual;\n//# sourceMappingURL=helpers.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nvar item_1 = require(\"../immutable/item\");\nvar immutable_1 = require(\"immutable\");\nvar patchItems = function (analytics, meta) { return function (item) { return new item_1.Item(item, meta, analytics); }; };\nexports.default = createConnect_1.default({\n field: 'items',\n mapProps: function (items, meta, change, analytics) { return ({\n items: items && items.map(patchItems(analytics, meta)) || immutable_1.Map()\n }); },\n});\n//# sourceMappingURL=connectItems.js.map","/**\n * @module components/Breadcrumbs\n */\n\nimport React from 'react';\nimport MapArray from 'components/common/MapArray';\nimport { compose, withPropsOnChange } from 'recompose';\nimport pure from 'helpers/pure';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\n\nimport { FilterType, ThemedSFC, ThemedSFCProps, IFacet, MJSConfiguration } from 'types'\n\n/** Filter mapping type */\nexport type FilterMapping = {[x in FilterType]: React.SFC<any>}\n\nexport interface IFilterProps {\n /** Filter value */\n item: any;\n /** Filter mapping */\n mapping: FilterMapping;\n /** Filter type */\n type: FilterType;\n /** Filter name */\n name: string;\n}\n\nconst Item = compose(\n withPropsOnChange(['mapping'], ({ name, type, mapping, item, config }) => {\n const _type = config.getIn(['facets', 'types', name]) || item.get('type');\n const facetConfig = config.getIn(['facets', _type]);\n return {\n Content: mapping[_type],\n config: config.merge(facetConfig)\n }\n }),\n pure,\n)(({ theme, item, config, Content }: any) =>\n <Button className={theme.breadcrumb} onClick={item.toggle}>\n <Text secondary uppercase className={theme.title}>\n <Content item={item} theme={theme} config={config} />\n </Text>\n <Icon className={theme.cross} name='XDark' />\n </Button>\n);\n\n\n/** List of props that component returned by createBreadcrumb accepts */\nexport interface IFilterListProps extends ThemedSFCProps {\n /** Filter to create a component for */\n item: IFacet;\n /** MJS configuration */\n config: MJSConfiguration\n}\n\nexport default (mapping: FilterMapping) => ({ item, children, theme, config }: IFilterListProps) =>\n<MapArray\n array={item.get('values')}\n name={item.get('name')}\n type={item.get('type')}\n theme={theme}\n factory={Item}\n mapping={mapping}\n config={config} />\n","module.exports = {\n\t\"list\": \"findify-components--tabs__list\",\n\t\"body\": \"findify-components--tabs__body\",\n\t\"dropdown\": \"findify-components--tabs__dropdown\",\n\t\"tab\": \"findify-components--tabs__tab\",\n\t\"active\": \"findify-components--tabs__active\",\n\t\"disabled\": \"findify-components--tabs__disabled\"\n};","/**\n * @module components/Cards/Product\n */\n\nimport React from 'react';\nimport {\n compose,\n defaultProps,\n mapProps,\n setDisplayName,\n withHandlers,\n withProps,\n withPropsOnChange,\n} from 'recompose';\nimport pure from 'helpers/pure';\n\nimport styles from 'components/Cards/Product/styles.css';\nimport view from 'components/Cards/Product/view';\nimport withTheme from 'helpers/withTheme';\n\nconst ProductCard: any = compose(\n setDisplayName('ProductCard'),\n withTheme(styles)\n)(view);\n\nexport default ProductCard;\n","/**\n * @module components/RatingFacet\n */\n\nimport React from 'react';\nimport content from 'components/RatingFacet/content';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport { IFacetValue, ThemedSFCProps, MJSConfiguration } from 'types';\n\n/** Props that RatingFacet Item view accepts */\nexport interface IRatingFacetItemProps extends ThemedSFCProps {\n /** Facet item to render */\n item: IFacetValue;\n /** Custom inline style */\n style: React.CSSProperties;\n /** MJS Configuration */\n config: MJSConfiguration;\n}\n\nconst RatingFacetItem: React.SFC<IRatingFacetItemProps> = ({\n item,\n theme,\n style,\n config\n}: IRatingFacetItemProps) =>\n<Button style={style} className={theme.item} onClick={item.toggle}>\n <Text primary lowercase bold={item.get('selected')}>\n <Icon className={theme.checkbox} name={item.get('selected') ? 'CheckboxFilled' : 'CheckboxEmpty'} />\n { content({ item, config, theme }) }\n </Text>\n <Text secondary uppercase>\n ({ item.get('count') })\n </Text>\n</Button>\n\nexport default RatingFacetItem;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar createConnect_1 = require(\"./createConnect\");\nexports.default = createConnect_1.default({\n field: 'query',\n});\n//# sourceMappingURL=connectQuery.js.map","module.exports = {\n\t\"root\": \"findify-components--breadcrumbs\",\n\t\"breadcrumb\": \"findify-components--breadcrumbs__breadcrumb\",\n\t\"title\": \"findify-components--breadcrumbs__title\",\n\t\"ball\": \"findify-components--breadcrumbs__ball\",\n\t\"cross\": \"findify-components--breadcrumbs__cross\",\n\t\"star\": \"findify-components--breadcrumbs__star\",\n\t\"unfilled\": \"findify-components--breadcrumbs__unfilled\"\n};","/**\n * @module layouts/Search\n */\nimport cx from 'classnames'\nimport React from 'react';\nimport Grid from 'components/common/Grid';\nimport StaticResults from 'components/search/StaticResults';\nimport LazyResults from 'components/search/LazyResults';\nimport DesktopFacets from 'components/search/DesktopFacets';\nimport MobileActions from 'components/search/MobileActions';\nimport DesktopActions from 'components/search/DesktopActions';\nimport Branch from 'components/common/Branch';\nimport Banner from 'components/Banner';\nimport { List } from 'immutable'\nimport { MJSConfiguration, ThemedSFCProps, IProduct } from 'types';\n\n/** Props that search layout accepts */\nexport interface ISearchProps extends ThemedSFCProps {\n /** MJS Configuration */\n config: MJSConfiguration;\n /** Flag that switches Search to mobile layout */\n isMobile?: boolean;\n /** Flag to turn on Smart Collection display mode */\n isCollection?: boolean;\n /** Flag to render mobile facets */\n mobileFacetsOpened?: boolean;\n /** Flag to show filters on the right side of desktop search */\n filtersOnRight?: boolean;\n /** Items list */\n items: List<IProduct>;\n}\n\nconst SearchLayout = ({ config, meta, isMobile, isCollection, mobileFacetsOpened, filtersOnRight, theme, items }) =>\n <div className={theme.root}>\n <DesktopFacets display-if={!isMobile && !filtersOnRight} />\n <div className={theme.content}>\n <Branch\n isCollection={isCollection}\n condition={isMobile}\n left={MobileActions}\n right={DesktopActions} />\n <Banner />\n <Branch left={LazyResults} right={StaticResults} condition={config.getIn(['view', 'infinite'])} />\n </div>\n <DesktopFacets display-if={!isMobile && filtersOnRight} />\n </div>\n\n\nexport default SearchLayout;\n","import { isImmutable, List } from 'immutable'\nimport formatCurrency from 'helpers/formatCurrency';\n\nconst arrayOrImmutableList = (candidate: any[] | List<any>) => (\n Array.isArray(candidate) || (isImmutable(candidate) && (candidate.length || candidate.size))\n)\n\n\nexport const priceIsSampleArray = price => {\n if (!arrayOrImmutableList(price)) return false;\n return price.reduce((a, b) => (a === b ? a : void 0)) !== void 0;\n};\n\nexport const getPrice = (maybeImmutablePrice, currency) => {\n const format = formatCurrency(currency)\n if (!arrayOrImmutableList(maybeImmutablePrice)) return format(maybeImmutablePrice);\n const price = Array.isArray(maybeImmutablePrice) ? maybeImmutablePrice : maybeImmutablePrice.toJS()\n\n if (price.reduce((a, b) => (a === b ? a : void 0)) !== void 0) {\n return format(price[0]);\n }\n\n return [\n format(Math.min.apply(Math, price)),\n format(Math.max.apply(Math, price)),\n ].join(' - ');\n};\n","/**\n * @module components/ColorFacet\n */\nimport React from 'react';\nimport { compose, setDisplayName, withStateHandlers, withProps } from 'recompose';\nimport withTheme from 'helpers/withTheme';\n\nimport view from 'components/ColorFacet/view';\nimport styles from 'components/ColorFacet/styles.css';\n\nexport default compose(\n setDisplayName('ColorFacet'),\n\n withTheme(styles),\n\n withProps(({ facet }) => ({\n items: facet.get('values')\n }))\n)(view);\n","/**\n * @module components/Breadcrumbs\n */\nimport React from 'react';\nimport { compose, withHandlers, setDisplayName } from 'recompose';\nimport { connectBreadcrumbs } from '@findify/react-connect';\nimport withEvents from 'helpers/withEvents';\nimport withTheme from 'helpers/withTheme';\n\nimport styles from 'components/Breadcrumbs/styles.css';\nimport view from 'components/Breadcrumbs/view';\n\n\nexport default compose(\n setDisplayName('Breadcrumbs'),\n withTheme(styles),\n connectBreadcrumbs\n)(view);\n","module.exports = {\n\t\"root\": \"findify-components-search--lazy-results\",\n\t\"next-button\": \"findify-components-search--lazy-results__next-button\",\n\t\"nextButton\": \"findify-components-search--lazy-results__next-button\",\n\t\"prev-button\": \"findify-components-search--lazy-results__prev-button\",\n\t\"prevButton\": \"findify-components-search--lazy-results__prev-button\"\n};","/**\n * @module components/Dropdown\n */\nimport React from 'react';\nimport { compose, setDisplayName, withPropsOnChange } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport view from 'components/Dropdown/view';\nimport styles from 'components/Dropdown/styles.css';\nimport { isImmutable, fromJS } from 'immutable';\n\nexport default compose(\n setDisplayName('Dropdown'),\n withTheme(styles),\n withPropsOnChange(['items'], ({ items }) => ({\n items: isImmutable(items) ? items : fromJS(items)\n }))\n)(view)\n","module.exports = {\n\t\"root\": \"findify-components--banner\",\n\t\"image\": \"findify-components--banner__image\"\n};","\"use strict\";\nvar __assign = (this && this.__assign) || Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n};\nvar __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) if (e.indexOf(p[i]) < 0)\n t[p[i]] = s[p[i]];\n return t;\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nrequire(\"core-js/es6/promise\");\nvar qs_1 = require(\"qs\");\nvar settings_1 = require(\"../settings\");\nvar getEndpoint = function (endpoint) {\n return !endpoint ? (settings_1.default.searchApiUrl + '/feedback') : endpoint;\n};\nvar makeQuery = function (query) { return qs_1.stringify(__assign({}, query, { t_client: Date.now() })); };\nvar ImageRequest = function (data, endpoint) {\n return new Promise(function (resolve, reject) {\n var image = global.document.createElement('img');\n image.onload = resolve;\n image.onerror = resolve;\n image.src = getEndpoint(endpoint) + \"?\" + makeQuery(data);\n });\n};\nvar BeaconRequest = function (data, endpoint) {\n return new Promise(function (resolve, reject) {\n var key = data.key, rest = __rest(data, [\"key\"]);\n global.navigator.sendBeacon(getEndpoint(endpoint) + \"?key=\" + key, JSON.stringify(__assign({}, rest, { t_client: Date.now() })));\n resolve();\n });\n};\nexports.request = (function () {\n if (typeof global.navigator !== 'undefined' && global.navigator.sendBeacon)\n return BeaconRequest;\n if (typeof global.window !== 'undefined')\n return ImageRequest;\n if (!process.env.BROWSER) {\n return function (data, endpoint) {\n return new Promise(function (resolve, reject) {\n var http = require('http');\n http.get(getEndpoint(endpoint).replace('https', 'http') + \"?\" + makeQuery(data));\n resolve();\n });\n };\n }\n throw new Error('Can not determinate request type');\n})();\n//# sourceMappingURL=request.js.map","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar Client_1 = require(\"./Client\");\nexports.Client = Client_1.Client;\n//# sourceMappingURL=index.js.map","module.exports = {\n\t\"root\": \"findify-components-search--desktop-facets\",\n\t\"header\": \"findify-components-search--desktop-facets__header\",\n\t\"icon\": \"findify-components-search--desktop-facets__icon\",\n\t\"title\": \"findify-components-search--desktop-facets__title\",\n\t\"reset\": \"findify-components-search--desktop-facets__reset\",\n\t\"hide\": \"findify-components-search--desktop-facets__hide\",\n\t\"facet\": \"findify-components-search--desktop-facets__facet\"\n};","/**\n * @module components/common/Grid\n */\n\nimport React from 'react';\nimport { compose, withPropsOnChange, setDisplayName, defaultProps } from 'recompose';\nimport cx from 'classnames';\nimport Column, { IGridColumnProps } from 'components/common/Grid/Column';\n\nimport styles from 'components/common/Grid/styles.css';\nimport { ThemedSFCProps } from 'types';\n\n\nexport interface IGridProps extends ThemedSFCProps {\n columns: string;\n style?: React.StyleHTMLAttributes<any>,\n}\n\nconst getClassName = (columns, theme) =>\n columns.split('|').map(value => theme[`column-${value}`]);\n\nexport default compose<IGridProps, IGridProps>(\n setDisplayName('Grid'),\n defaultProps({ theme: styles }),\n withPropsOnChange(['columns', 'children'], ({ columns, children, theme }) => {\n const classNames: string[] = getClassName(columns, theme);\n return {\n children: React.Children.map(\n children,\n (child: React.ReactElement<any>, index: number) => {\n if (!child) return null;\n const props: IGridColumnProps & {key: string | number | undefined}= {\n key: child.key!,\n className: classNames[index] || classNames[0] as string,\n columnClass: child.props.columnClass as string,\n columnStyle: child.props.columnStyle as React.CSSProperties,\n }\n return React.createElement(Column, props, child)\n }\n ),\n };\n })\n)(({ children, theme, style }) => (\n <div className={theme.root} style={style}>\n {children}\n </div>\n));\n","/**\n * @module components/search/DesktopActions\n */\n\nimport React from 'react';\nimport Breadcrumbs from 'components/Breadcrumbs';\nimport Query from 'components/search/Query';\nimport Sorting from 'components/Sorting';\nimport Button from 'components/Button';\nimport Text from 'components/Text';\nimport Icon from 'components/Icon';\nimport { ThemedSFCProps, MJSConfiguration } from 'types';\n\n/** Props that DesktopActions view accepts */\nexport interface IDesktopActionsProps extends ThemedSFCProps {\n /** Method to show facets */\n showFacets: () => any;\n /** Flag to indicate whether facets are visible */\n facetsVisible: boolean;\n /** Flag to indicate if we're in Smart Collection mode */\n isCollection: boolean;\n /** MJS Configuration */\n config: MJSConfiguration\n}\n\nconst DesktopActionsView: React.SFC<IDesktopActionsProps> = ({\n showFacets,\n theme,\n facetsVisible,\n isCollection,\n config\n}: IDesktopActionsProps) =>\n<div className={theme.root}>\n <div className={theme.block}>\n <Button\n display-if={config.get('hidableFacets') && !facetsVisible}\n className={theme.showFacets}\n onClick={showFacets}>\n <Text secondary uppercase>\n <Icon name='Filters' className={theme.icon} />\n { config.getIn(['facets', 'i18n', 'showDesktopFacets'], 'show') }\n </Text>\n </Button>\n <Query display-if={!isCollection} theme={{ root: theme.query }} />\n <Breadcrumbs theme={{ root: theme.breadcrumbs }} />\n </div>\n <div className={theme.sorting}>\n <Sorting />\n </div>\n</div>\n\nexport default DesktopActionsView;\n","\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n//# sourceMappingURL=Content.js.map","import React from 'react';\nimport { connectItems } from '@findify/react-connect';\nimport { compose, setDisplayName } from 'recompose';\nimport withTheme from 'helpers/withTheme';\nimport withMinResultsToShow from 'helpers/withMinResultsToShow';\nimport view from 'layouts/Recommendation/Grid/view';\nimport styles from 'layouts/Recommendation/Grid/styles.css';\nimport { provideBundle } from 'helpers/bundle';\nimport withColumns from 'helpers/withColumns';\n\nexport default compose(\n setDisplayName('GridRecommendation'),\n withTheme(styles),\n connectItems,\n withMinResultsToShow(),\n provideBundle(),\n withColumns()\n)(view);\n","import React from 'react'\n\nconst filterRoot = (theme) => (\n Object\n .entries(theme)\n .filter(([key]) => key !== 'root')\n .reduce((previous, [key, value]) => (previous[key] = value, previous), {})\n)\n\nconst getTheme = (props, defaultTheme) => {\n const themeFilter = props.themeRootOverride ? filterRoot : x => x\n return Object.assign({}, defaultTheme, themeFilter(props.theme || {}))\n}\n\nexport default (defaultTheme) => {\n return Component => {\n return class extends React.Component {\n constructor(props) {\n super(props)\n this.cachedTheme = getTheme(this.props, defaultTheme)\n }\n\n componentWillReceiveProps(nextProps) {\n if (this.props.theme !== nextProps.theme) {\n this.cachedTheme = getTheme(this.props, defaultTheme)\n }\n }\n\n render() {\n return React.createElement(Component, {...this.props, theme: this.cachedTheme })\n }\n }\n }\n}\n","module.exports = {\n\t\"sorry\": \"findify-layouts--zero-results__sorry\",\n\t\"suggestionsRow\": \"findify-layouts--zero-results__suggestionsRow\"\n};"],"sourceRoot":""}