{"version":3,"sources":["components/Article-LayoutWrapper/index.js","Utils/Context/index.js","ReactComponent.js","components/ArticleCategoriesNavigation/index.js","components/ArticleRichText/index.js","components/ArticlesNavigation/index.js","components/StarRating/index.js","assets/img/placeholder.png","components/BestRatedProducts/index.js","components/BlocksOfText/index.js","Utils/ParentRoute/index.js","components/Breadcrumbs/index.js","components/CarouselQouteItem/index.js","components/CarouselQoutes/index.js","components/CategoriesNavigation/index.js","components/CheckOutVideo/index.js","components/ContentBlock/index.js","components/FeaturedPosts/index.js","components/FilterCategories/index.js","Utils/Paging/index.js","components/ListProductVariant/index.js","assets/img/product-mas.svg","components/ProductGridItem/index.js","components/FilteredProductList/index.js","components/FilterSearch/index.js","components/Footer/index.js","components/HeaderMultilevel/index.js","components/ListOfIngredients/index.js","components/OverHead/index.js","components/ProductFinder/index.js","components/ProductFinder-LayoutWrapper/index.js","components/ProductIngredients/index.js","components/ProductRating/index.js","components/ProductsByCategory/index.js","components/ProductSummary/index.js","components/RatingReviews/index.js","lib/GraphQLData.js","components/RelatedProducts/index.js","components/RichTextComponent/index.js","components/RowBlock/index.js","components/RowSeparator/index.js","assets/img/separa.png","components/SalonList/index.js","components/Search/index.js","components/SocialMediaArticles/index.js","components/StoreList/index.js","components/StoreLocator/index.js","assets/img/whiteLocation2.png","components/StoreLocatorLayoutWrapper/index.js","components/SubCategoriesByCategory/index.js","assets/img/Timeline/ico-history.svg","components/Timeline/index.js","components/TitleAndDescriptionAndImage/index.js","components/TitleAndImage/index.js","components/TwoImagesOneText/index.js","temp/componentFactory.js","dataFetcher.js","Layout.js","NotFound.js","RouteHandler.js","AppRoot.js","index.js","i18n.js","lib/GraphQLClientFactory.js","util.js","temp/config.js"],"names":["withSitecoreContext","props","className","field","sitecoreContext","route","fields","articleTitle","tag","name","rendering","Context","args","databaseName","packageJson","config","appName","replace","SCJSS","sitecoreApiHost","sitecoreApiKey","ReactComponent","indexName","context","getIndexName","site","getGraphqlEndpoint","getGraphQLEndPoint","React","Component","ArticleCategoriesNavigationQuery","override","css","ArticleCategoriesNavigation","state","isLoaded","query","variables","indexname","this","rootpath","loading","error","data","style","marginTop","marginBottom","sizeUnit","size","color","message","product","results","items","map","category","idx","showBackgroundCover","display","item","backgroundImage","articleImage","src","url","startsWith","href","to","title","ArticleRichText","articleContent","ArticlesNavigationQuery","ArticlesNavigation","Heading","categoryId","itemId","split","join","toLowerCase","article","Fragment","NavLink","format","date","value","i18next","t","StarRating","rating","integerPart","parseInt","decimalPart","x","push","a","BestRatedProductsQuery","BestRatedProducts","productId","myItem","resizeItem","bind","carou","createRef","window","addEventListener","screen","width","setState","ProductNumber","SortByRating","y","numberValue","options","loop","lazyLoad","nav","dots","search","length","pageState","ref","filter","id","sort","slice","index","substr","image1","onClick","current","prev","next","tabIndex","role","type","logo","alt","longDescription","productVariantURL","target","BlocksOfText","parentRouteQuery","ParentRoute","ListParents","currrentcontextitem","CurrentId","breadcrumbs","JSON","parse","Link","Text","CurrentItemName","displayName","CarouselQouteItem","Screen","carouselItem","carouselLink","carouselSlideImage","editable","Object","keys","carouselButton","carouselLinkVideo","linktype","height","autoPlay","muted","CarouselQoutes","activeDot","setActiveDot","dot","ItemPerSlide","contentList","QuotesList","i","Title","Subtitle","isExperienceEditorActive","listItem","CarouselSlideImage","LinkVideo","carouselTitle","carouselContent","Content","Button","CategoriesNavigation","categoryList","categoryNameList","sessionStorage","setItem","stringify","location","tagLink","categoriesNavigationList","subtitle","setSearchState","image","description","ctadisplayname","CheckOutVideo","allow","frameborder","VideoUrl","allowFullScreen","ContentBlock","heading","content","FeaturedPosts","FeaturedPostsContentList","PostLink","Icon","FilterCategories","itemdata","urlFilter","keyword","pageTag","categoryItems","categoryNames","removeItem","PfTag","FilterName","filterOn","includes","criteria","keywordText","substring","indexOf","filterId","toUpperCase","QUERY","fetch","then","res","json","result","itemName","categoryArr","categoryArrNames","sessionCategories","getItem","sessionCategoriesName","getSessionItems","getSessionItemNames","checkCategoryArr","checkCategoryNamesArr","listOfCategory","listOfCategoryNames","newArrayOfCategoryNames","catName","newCategoryArrNames","newArrayOfCategory","cat","newCategoryArr","categoryClicked","handleSessionItems","getSessionUpdated","getSessionCategoryNamesUpdated","handleUpdateOnCategory","isPresent","handleShowProducts","prevProps","prevState","undefined","filters","onFiltersChange","template","categories","facets","facet","values","facetIn","selectedCat","some","categoryFaceted","categorySelected","handleClick","Paging","after","initialize","updateCursor","newPage","postPerPage","newCursor","onItemsChange","solrFields","itemsPerPage","postsPerPage","isNaN","startCursor","toString","postQuery","req","method","headers","body","hasNextPage","pageInfo","totalCount","hasPreviousPage","nbPages","Math","floor","currentPage","pages","rel","ListProductVariantQuery","ListProductVariant","productid","productvariant","ProductGridQuery","ProductGridItem","sumRating","numRating","productrating","rootpathrating","columnsize","getRating","tabindex","productVariantLink","FilteredProductList","view","sorting","init","handleView","handleItemsPerPage","resolveSorting","localStorage","onFacetsChange","searchFacets","e","currentTarget","categoriesSession","listView","GridItemsPerRow","showIndexCount","FilterSearch","nextProps","onKeywordChange","resetSearch","preventDefault","onSubmit","handleSubmit","placeholder","onChange","handleChange","Footer","SocialLinks","MenuLinks","Logo","FooterMultilevel","footerMulti","HeaderMenu","mainMenu","mainindex","SubMenuLinks","subMenu","subindex","InternalLink","Image","TelephoneNumber","EmailAddress","text","HeaderMultilevel","menu","addClassMobile","productPageLink","outlineNone","outline","submenu","sublink","sublinkindex","CategoriesList","ProductPageLink","SiteLogo","ShowSubmenu","IngredientsQuery","ListOfIngredients","ingredient","fullDescription","OverHead","overHeadBannerContentList","IconClass","ProductFinder","displayNone","displayBlock","ProductFinderLayoutWrapper","resetFilters","rangeFilter","updateRange","selectedCategoriesText","showProducts","sidebar","urlTagId","categoriesSessionNames","onRangeChange","shown","filterSearch","resize","range","categoryText","found","updatedFilters","obj","reset","show","innerWidth","openSidebar","ProductIngredientQuery","ProductIngredients","Show","firstIngredient","productIngredients","ingredients","ing","ShortDescription","ViewAll","ProductRatingQuery","ProductRating","ProductByCatQuery","ProductsByCategory","ProductSummaryQuery","ProductSummary","onClose","gotoPrevious","gotoNext","onClickThumbnail","openLightBox","photoIndex","isOpen","showMessage","event","imageArray","image2","image3","image4","itemImage4","itemImage3","itemImage2","itemImage1","ngRel","relevantAdvantages","zoomIcon","showStatus","showIndicators","onClickItem","images","onClickPrev","onClickNext","backdropClosesModal","currentImage","enableKeyboardInput","showImageCount","showThumbnails","productShortDescription","perfectFor","howtouse","targetItems","findSalon","fb","twitter","insta","relevantTitle","relevantItem","RATINGS_QUERY","RatingReviews","status","clickedStar","username","commentValue","onStarClick","userNameChange","commentChange","ratingValue","parentElement","getAttribute","clickedStarId","RatingAndReviewTitle","NoRatingsMessage","commentItem","userName","creationDate","comment","RatingWriteComment","RatingThankyou","client","enableReinitialize","initialValues","privacy","setErrors","resetForm","setSubmitting","ratingreviews","submit","validate","errors","touched","RequiredFieldsInfo","for","RatingLabel","cols","rows","required","checked","PrivacyCheckBoxLabel","PrivacyLegalText","extractVariableNames","variableNames","definitions","def","variableDefinitions","forEach","defs","kind","variable","GraphQLData","configuration","SitecoreRenderingWrapper","Error","newConfiguration","operation","ssr","datasource","dataSource","contextItem","innerQuery","resultProps","assign","GQL","graphql","resetExperienceEditorChromes","RelatedProducts","relatedProductsQuery","RelatedProductsHeading","relatedProductsList","productItem","jss","refs","related","children","child","childVariants","RichTextCoponent","RowBlock","leftcssStyle","rightcssStyle","blockStyle","blockTitle","blockContent","blockImage","RowSeparator","SalonList","salonItem","salonIndex","SalonLink","Brand","SalonImage","Search","link","LinkToProductFinderPage","bgImage","ImgView","SearchTitle","SocialMediaArticleQuery","SocialMediaArticles","sociallink","internalLink","StoreList","storeItem","storeIndex","StoreLink","StoreImage","StoreLocatorQuery","_","require","compose","withProps","lifecycle","withStateHandlers","withScriptjs","withGoogleMap","GoogleMap","Marker","InfoWindow","SearchBox","rootpathString","distance","lat1","lon1","lat2","lon2","unit","radlat1","PI","radlat2","theta","radtheta","dist","sin","cos","acos","getNearestStores","markers","stores","currentLatitude","currentLongitude","nearestStores","Number","latitude","longitude","storeName","adress","phone","email","openingHours","marker","position","lat","lng","el","b","MapWithASearchBox","infoIndex","hoverIndex","locationUpdate","updateLatLong","initLatLong","showInfo","handleMouse","googleMapURL","loadingElement","containerElement","mapElement","componentWillMount","bounds","center","onMapMounted","onBoundsChanged","debounce","getBounds","getCenter","onBoundsChange","maxWait","onSearchBoxMounted","searchBox","onPlacesChanged","places","getPlaces","google","maps","LatLngBounds","place","geometry","viewport","union","extend","nextMarkers","nextCenter","get","fitBounds","defaultZoom","controlPosition","ControlPosition","TOP_LEFT","onKeyPress","key","currentLat","currentLong","store","backgroundColor","onMouseEnter","onMouseLeave","icon","markerIconHover","markerIcon","onMouseOver","onMouseOut","onCloseClick","onToggleOpen","paddingBottom","margin","fontSize","fontWeight","textTransform","fontFamily","StoreLocatorList","CurrentGeolocation","isGeolocationAvailable","isGeolocationEnabled","coords","distances","geolocated","positionOptions","enableHighAccuracy","userDecisionTimeout","StoreLocatorLayoutWrapper","contextdata","SubCatByCatQuery","SubCategoriesByCategory","subcategory","shdesc","TimelineQuery","Timeline","SortByYear","eventYear","eventTitle","eventContent","timelineImg","myColor","TitleColor","cssColor","ImageLocation","Description","ImageBanner","TwoImagesOneText","imageLarge","LargeImage","contentAndImageUnderText","TextContent","ImageUnderTextContent","SwitchLargeImageToLeft","components","Map","componentFactory","componentName","set","ArticleLayoutWrapper","Breadcrumbs","RichTextComponent","StoreLocator","TitleAndDescriptionAndImage","TitleAndImage","dataFetcher","axios","withCredentials","Layout","placeholders","component1","pageTitle","metaKeywords","metaDescription","NotFound","language","RouteHandler","extractRouteData","sitecore","notFound","defaultLanguage","routeData","updateLanguage","ssrRenderComplete","updateRouteData","sitecoreRoutePath","match","params","sitecoreRoute","fetchOptions","layoutServiceConfig","host","getHostname","querystringParams","sc_lang","sc_apikey","fetcher","dataApi","fetchRouteData","catch","response","console","getRouteData","lang","updateSitecoreContext","newLanguage","i18n","changeLanguage","previousProps","existingRoute","newRoute","updatable","routePatterns","AppRoot","setSsrRenderComplete","ssrState","path","Router","graphQLClient","routePattern","render","renderFunction","ReactDOM","initLanguage","__JSS_STATE__","ssrRawJson","document","getElementById","innerHTML","hydrate","dictionary","initialGraphQLState","APOLLO_STATE","endpoint","initialCacheState","createPersistedQueryLink","concat","BatchHttpLink","uri","credentials","connection","cache","InMemoryCache","fragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","ApolloClient","ssrMode","ssrForceFetchDelay","restore","GraphQLClientFactory","graphQLEndpoint","Promise","resolve","reject","debug","fallbackLng","load","useCookie","interpolation","escapeValue","isInitialized","addResourceBundle","use","initReactI18next","dictionaryServicePath","jssAppName","backend","loadPath","parsedData","phrases","fetchBackend","browser","detect","rootElement","classList","add","pathname","BrowserRouter","isDisconnected","test","module","exports","origin"],"mappings":"yfAqBeA,mCAjBc,SAACC,GAAD,OAC3B,qCACE,qBAAKC,UAAU,mBAAf,SACE,qBAAKA,UAAU,2DAAf,SACI,cAAC,OAAD,CAAMC,MAAOF,EAAMG,gBAAgBC,MAAMC,OAAOC,aAAcC,IAAI,WAGxE,sBAAKN,UAAU,sCAAf,UACI,qBAAKA,UAAU,WAAf,SACI,cAAC,cAAD,CAAaO,KAAK,uBAAuBC,UAAWT,EAAMS,cAE9D,qBAAKR,UAAU,WAAf,SACI,cAAC,cAAD,CAAaO,KAAK,wBAAwBC,UAAWT,EAAMS,mBAZ1C,I,kDCYdC,E,iGAXX,SAAoBC,GAChB,MAAO,YAAcA,EAAKR,gBAAgBC,MAAMQ,aAAe,IAAMC,EAAYC,OAAOC,QAAQC,QAAQ,KAAM,KAAO,QAExH,G,gCAED,WACI,OAAOC,IAAMC,gBAAkB,QAAUL,EAAYC,OAAOC,QAAU,cAAgBE,IAAME,eAAiB,GAChH,K,KCMUC,E,kDATX,WAAYpB,GAAO,IAAD,8BACd,cAAMA,IACDqB,UAAYC,EAAQC,aAAavB,GACtC,EAAKe,QAAU,EAAKf,MAAMG,gBAAgBqB,KAAKhB,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B,QAAU,CAChBC,SAAUH,EACV3qB,MAAO,SAACxG,GACN,IAAMuxB,EAAahrB,KAAKC,MAAMxG,GAC9B,OAAIuxB,EAAWC,QACND,EAAWC,QAEbD,CACR,GAGH/D,IACGyD,IAAIQ,MACJR,IAAIC,MACJ5f,KAAKlN,GAAS,SAACrE,GACVA,GAAOywB,EAAOzwB,GAElBwwB,GACD,GACJ,CACF,KDZoB5kB,MAAK,WAE1B,IAAM+lB,EAAUC,mBACVC,EAAchD,SAASC,eAAe,QAC5C+C,EAAYC,UAAUC,IAAtB,aAAgCJ,EAAQ5zB,OACxC8zB,EAAYC,UAAUC,IAAI,aAG1BvD,GACE,cAAC,GAAD,CACEmD,QAASA,EACTxD,KAAMvqB,OAAOwF,SAAS4oB,SACtB5D,OAAQ6D,IACR5D,cAAeA,GACfH,SAAUS,KAEZkD,EAEH,G,2/HG/ED,IAAMxzB,EAAS6iB,EAAQ,IAMjBgR,EAAiB,iBAAM,aAAaC,KAAK9zB,EAAOI,gBAA/B,EAEvB2zB,EAAOC,QAAQH,eAAiBA,EAMhCE,EAAOC,QAAQ1F,YAAc,kBAC3BuF,IAAmBtuB,OAAOwF,SAASkpB,OAASj0B,EAAOI,eADxB,C,o1ECX7B2zB,EAAOC,QAAU,CACf,eAAkB,yCAClB,gBAAmB,gDACnB,WAAc,gBACd,gBAAmB,KACnB,oBAAuB,qBACvB,gBAAmB,mH","file":"static/js/main.7816b643.chunk.js","sourcesContent":["import React from 'react';\r\nimport {Placeholder, Text, withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport './articleLayout.css';\r\n\r\nconst ArticleLayoutWrapper = (props) => (\r\n <>\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n);\r\nexport default withSitecoreContext()(ArticleLayoutWrapper);\r\n","import packageJson from '../../../package.json';\r\nimport SCJSS from '../../temp/config';\r\n\r\nclass Context {\r\n\r\n static getIndexName(args) {\r\n return \"sitecore_\" + args.sitecoreContext.route.databaseName + \"_\" + packageJson.config.appName.replace(/-/g, '_') + \"_index\";\r\n //return \"sitecore_web_loreal_pureology_jss_index\";\r\n }\r\n\r\n static getGraphQLEndPoint(){\r\n return SCJSS.sitecoreApiHost + \"/api/\" + packageJson.config.appName + \"?sc_apikey=\" + SCJSS.sitecoreApiKey + \"&\";\r\n }\r\n\r\n}\r\n\r\nexport default Context;\r\n","import React from 'react';\r\nimport context from \"./Utils/Context\";\r\n\r\nclass ReactComponent extends React.Component{\r\n\r\n indexName;\r\n appName;\r\n getGraphqlEndpoint;\r\n\r\n constructor(props){\r\n super(props);\r\n this.indexName = context.getIndexName(props);\r\n this.appName = this.props.sitecoreContext.site.name;\r\n this.getGraphqlEndpoint = context.getGraphQLEndPoint();\r\n }\r\n\r\n}\r\n\r\nexport default ReactComponent;","import React from 'react';\r\nimport { Text, withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport { css } from '@emotion/react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport { loader as gqlLoader } from \"graphql.macro\";\r\nimport { Query } from \"react-apollo\";\r\nimport './articleCatNav.css';\r\n\r\nconst ArticleCategoriesNavigationQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ArticleCategoriesNavigation extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return(\r\n
\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return (\r\n
\r\n \r\n
\r\n );\r\n if (error)\r\n return (\r\n
Error: {error.message}
\r\n );\r\n return (\r\n data && data.product.results.items.map(function (category, idx) {\r\n let showBackgroundCover = {display: 'none'};\r\n if (category.item !== null) {\r\n showBackgroundCover = {backgroundImage: 'url(' + category.item.articleImage.src + ')'};\r\n }\r\n return (\r\n
\r\n {category.item !== null &&\r\n (\r\n category.item.url.startsWith(\"http\") === true ?\r\n \r\n \r\n \r\n :\r\n \r\n \r\n \r\n )\r\n }\r\n
\r\n )\r\n })\r\n )\r\n }}\r\n \r\n
\r\n )\r\n }\r\n} \r\n\r\nexport default withSitecoreContext()(ArticleCategoriesNavigation);\r\n","import React from 'react';\r\nimport { RichText, withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport './articleRichText.css';\r\n\r\nclass ArticleRichText extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n\r\n return(\r\n
\r\n
\r\n \r\n
\r\n
\r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ArticleRichText);\r\n","import React from 'react';\r\nimport { Text, Image, withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport { css } from '@emotion/react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport Moment from 'react-moment';\r\nimport ArticleCategoriesNavigation from '../ArticleCategoriesNavigation/index.js';\r\nimport NavLink from \"react-router-dom/es/NavLink\";\r\nimport i18next from 'i18next';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport { loader as gqlLoader } from \"graphql.macro\";\r\nimport {Query} from \"react-apollo\";\r\nimport './articleNavigation.css';\r\n\r\nconst ArticlesNavigationQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ArticlesNavigation extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return(\r\n <>\r\n
\r\n

\r\n /

\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return(\r\n
\r\n \r\n
\r\n );\r\n if (error)\r\n return (\r\n
Error: {error.message}
\r\n );\r\n\r\n return(\r\n data.product.results.items.map(function(article, idx) {\r\n return (\r\n \r\n {article && article.item && article.item.url &&\r\n \r\n \r\n {article.item && article.item.date.value}\r\n \r\n {i18next.t(\"SeeMoreButton\")}\r\n \r\n }\r\n \r\n )\r\n })\r\n )}}\r\n \r\n
\r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ArticlesNavigation);\r\n","import React from 'react';\r\n\r\nconst StarRating = ({value}) => {\r\n let rating = [];\r\n var integerPart = parseInt(value);\r\n var decimalPart = (value - integerPart) * 10;\r\n\r\n // Full Star\r\n for(var x = 1; x<=integerPart; x++) {\r\n rating.push();\r\n }\r\n\r\n // Half Star\r\n if(decimalPart > 0 && decimalPart < 6) {\r\n rating.push();\r\n integerPart += 1;\r\n }\r\n else if (decimalPart > 5 && decimalPart < 10) {\r\n rating.push();\r\n integerPart += 1;\r\n }\r\n\r\n // Remaining Star\r\n for(var a = 1; a<=(5-integerPart); a++) {\r\n rating.push();\r\n }\r\n\r\n return(\r\n

\r\n {rating}\r\n

\r\n );\r\n \r\n}\r\n\r\nexport default StarRating;\r\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAMgAAADIAQMAAACXljzdAAAABlBMVEXg4ODg4OAaHuWeAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAASElEQVRYhe3OIRKAMAwEwBYQPIOn8DReThHEItIpCGbXnElyKQUAgE8skWtip0ZOyaYtmvYB13odyfmnr4eq7c75fK8DAODfLubJA2xGMc+QAAAAAElFTkSuQmCC\"","import React from 'react';\r\nimport {Text, Image, RichText, withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport StarRating from '../StarRating';\r\nimport { DotLoader } from 'react-spinners';\r\nimport { css } from '@emotion/react';\r\nimport NavLink from \"react-router-dom/es/NavLink\";\r\nimport OwlCarousel from 'react-owl-carousel2';\r\nimport 'react-owl-carousel2/src/owl.carousel.css';\r\nimport logo from '../../assets/img/placeholder.png';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport i18next from 'i18next';\r\nimport { loader as gqlLoader } from \"graphql.macro\";\r\nimport { Query } from \"react-apollo\";\r\nimport './newCarousel.css';\r\n\r\nconst BestRatedProductsQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass BestRatedProducts extends ReactComponent {\r\n \r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n isLoaded: false,\r\n productId: 0,\r\n myItem: 5\r\n };\r\n this.resizeItem = this.resizeItem.bind(this);\r\n this.carou = React.createRef();\r\n }\r\n\r\n componentDidMount(){\r\n this.resizeItem();\r\n window.addEventListener('resize', this.resizeItem);\r\n }\r\n\r\n resizeItem(){\r\n if(window.screen.width >= 320 && window.screen.width <= 425){\r\n this.setState({\r\n myItem: 1\r\n });\r\n }else if(window.screen.width >= 426 && window.screen.width <= 768){\r\n this.setState({\r\n myItem: 2\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n var ProductNumber = this.props.fields.ProductNumber.value;\r\n function SortByRating(x,y) {\r\n return ((x.item.rating.numberValue === y.item.rating.numberValue) ? 0 : ((x.item.rating.numberValue < y.item.rating.numberValue) ? 1 : -1 ));\r\n }\r\n const options = {\r\n items: this.state.myItem,\r\n loop: true,\r\n lazyLoad: true,\r\n nav: false,\r\n dots: false\r\n };\r\n return (\r\n
\r\n
\r\n

\r\n
\r\n \r\n
\r\n

\r\n
\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return(\r\n
\r\n \r\n
\r\n );\r\n if (error)\r\n return (\r\n
Error: {error.message}
\r\n );\r\n if (data.search == null){\r\n return(\r\n

\r\n Nothing to display.\r\n

\r\n );\r\n }else{\r\n return (\r\n data.search.results.items.length > 0 &&\r\n <>\r\n \r\n {this.props.sitecoreContext && this.props.sitecoreContext.pageState !== \"preview\" && (\r\n \r\n {data.search.results.items &&\r\n data.search.results.items.filter(\r\n item => ((item.item !== null) && (item.item.id !== this.state.productId))).sort(SortByRating).slice(0, ProductNumber).map((product, index) => (\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n {product.item && product.item.url && product.item.url.startsWith(\"http\") === true ?\r\n {i18next.t(\"SeeMoreButton\")}\r\n :\r\n {i18next.t(\"SeeMoreButton\")}\r\n }\r\n
\r\n
\r\n ))}\r\n
\r\n )}\r\n
\r\n \r\n \r\n
\r\n \r\n {data.search.results.items && data.search.results.items.filter(\r\n item => ((item.item !== null) && (item.item.id !== this.state.productId))).sort(SortByRating).slice(0, ProductNumber).map((product, index) => (\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {product.item && product.item.image1.src === null ?\r\n \"placeholder\"\r\n :\r\n {product.item\r\n }\r\n
\r\n
\r\n

{product.item && product.item.title.value}

\r\n

\r\n \r\n

\r\n \r\n {this.state.productVariantURL &&\r\n (this.state.productVariantURL.startsWith(\"http\") === true ?\r\n {i18next.t(\"BuyButton\")}\r\n :\r\n {i18next.t(\"BuyButton\")}\r\n )\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n ))}\r\n \r\n )\r\n }\r\n }}\r\n \r\n
\r\n );\r\n }\r\n\r\n\r\n}\r\n\r\nexport default withSitecoreContext()(BestRatedProducts);\r\n","import React from 'react';\r\nimport { Placeholder } from '@sitecore-jss/sitecore-jss-react';\r\nimport './blockOfText.css';\r\n\r\nconst BlocksOfText = (props) => (\r\n
\r\n \r\n
\r\n);\r\n\r\nexport default BlocksOfText;\r\n","import React from 'react';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {withSitecoreContext} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {DotLoader} from \"react-spinners\";\r\nimport {Query} from \"react-apollo\";\r\nimport {css} from \"@emotion/react\";\r\nimport './parentRoute.css';\r\n\r\nconst parentRouteQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ParentRoute extends ReactComponent{\r\n\r\n constructor(props) {\r\n super(props);\r\n \r\n this.state = {\r\n error: null,\r\n isLoaded: false,\r\n ListParents: ''\r\n };\r\n }\r\n\r\n render(){\r\n return(\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return (\r\n
\r\n \r\n
\r\n );\r\n if (error)\r\n return (\r\n
Error: {error.message}
\r\n );\r\n return (\r\n \r\n
\r\n
    \r\n {\r\n data.breadcrumbs && JSON.parse(data.breadcrumbs).ListParents.map((item, idx) => (\r\n
  • \r\n \r\n \r\n {item.Text}\r\n \r\n \r\n
  • \r\n ))\r\n }\r\n
  • \r\n \r\n {this.props.CurrentItemName}\r\n \r\n
  • \r\n
\r\n
\r\n
\r\n );\r\n }}\r\n \r\n )\r\n }\r\n\r\n}\r\nexport default withSitecoreContext()(ParentRoute);\r\n","import React from 'react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport ParentRoute from '../../Utils/ParentRoute';\r\nimport './breadcrumbs.css';\r\n\r\nconst Breadcrumbs = (props) => {\r\n return(\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n};\r\nexport default withSitecoreContext()(Breadcrumbs);\r\n","import React from 'react';\r\nimport { Image, Text, RichText, Link } from '@sitecore-jss/sitecore-jss-react';\r\nimport NavLink from \"react-router-dom/es/NavLink\";\r\nimport './carouselQuoteItem.css';\r\n\r\nconst CarouselQouteItem = (props) => {\r\n let carouselItem = [];\r\n\r\n if(props && props.carouselLink && props.carouselLink.value.href) {\r\n if(props && props.carouselLink && props.carouselLink.value && props.carouselLink.value.href.startsWith(\"http\") === true){\r\n carouselItem.push();\r\n }else{\r\n carouselItem.push();\r\n }\r\n } else {\r\n carouselItem.push();\r\n }\r\n\r\n let Screen;\r\n let isTop;\r\n if (typeof window !== 'undefined') {\r\n Screen = window.screen.width;\r\n if (Screen < 321) {\r\n isTop = 28\r\n } else if (Screen > 322 && Screen <= 375) {\r\n isTop = 32\r\n } else if (Screen >= 376 && Screen <= 425) {\r\n isTop = 36\r\n } else if(Screen >= 426 && Screen <= 769){\r\n isTop = 50\r\n }\r\n }\r\n\r\n return(\r\n
\r\n {Object.keys(carouselItem[0].props.field.value).length !== 0 ?\r\n <>\r\n \r\n {carouselItem}\r\n \r\n\r\n {/*
*/}\r\n {/* {props && props.carouselTitle &&*/}\r\n {/* ()*/}\r\n {/* }*/}\r\n {/* {props && props.carouselContent &&*/}\r\n {/* ()*/}\r\n {/* }*/}\r\n {/* {props && props.carouselButton && props.carouselButton.value && props.carouselButton.value.href !== '' ?*/}\r\n {/* (props.carouselButton && props.carouselButton.value && props.carouselButton.value.href.startsWith(\"http\") === true ?*/}\r\n {/* */}\r\n {/* :*/}\r\n {/* */}\r\n {/* {props && props.carouselButton && props.carouselButton.value && props.carouselButton.value.text}*/}\r\n {/* */}\r\n {/* )*/}\r\n {/* :*/}\r\n {/* ''*/}\r\n {/* }*/}\r\n {/*
*/}\r\n\r\n \r\n :\r\n <>\r\n {props && props.carouselLinkVideo && props.carouselLinkVideo.value && props.carouselLinkVideo.value.linktype === 'external' &&\r\n \r\n
\r\n \r\n \r\n )\r\n }\r\n\r\n}\r\n\r\nexport default CheckOutVideo;\r\n","import React from 'react';\r\nimport { Text, RichText } from '@sitecore-jss/sitecore-jss-react';\r\n\r\n/**\r\n * A simple Content Block component, with a heading and rich text block.\r\n * This is the most basic building block of a content site, and the most basic\r\n * JSS component that's useful.\r\n */\r\nconst ContentBlock = ({ fields }) => (\r\n \r\n \r\n\r\n \r\n \r\n);\r\n\r\nexport default ContentBlock;\r\n","import React from 'react';\r\nimport { Text, Image, RichText } from '@sitecore-jss/sitecore-jss-react';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport './featuredPosts.css';\r\n\r\nconst FeaturedPosts = (props) => {\r\n const {FeaturedPostsContentList} = props.fields;\r\n return (\r\n <>\r\n
\r\n
\r\n

\r\n
\r\n \r\n
\r\n

\r\n {\r\n props.fields.Text !== '' &&\r\n
\r\n \r\n
\r\n }\r\n
\r\n {FeaturedPostsContentList &&\r\n FeaturedPostsContentList.map((listItem, index) => (\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n\r\n ))}\r\n
\r\n \r\n );\r\n};\r\nexport default FeaturedPosts;\r\n","import React from 'react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport { css } from '@emotion/react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport './filterCategories.css';\r\n\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass FilterCategories extends ReactComponent {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n isLoaded: false,\r\n itemdata: [],\r\n items: [],\r\n urlFilter: \"\",\r\n keyword: \"\",\r\n pageTag: \"\",\r\n categoryItems: \"\",\r\n categoryNames: \"\",\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n sessionStorage.removeItem('filterCategories');\r\n sessionStorage.removeItem('filterCategoriesName');\r\n\r\n const url = window.location.href;\r\n if(this.props.sitecoreContext.route.fields.PfTag != null && this.props.sitecoreContext.route.fields.PfTag !== \"undefined\" && this.props.sitecoreContext.route.fields.FilterName != null){\r\n this.setState({\r\n pageTag: this.props.sitecoreContext.route.fields.FilterName.value\r\n })\r\n }\r\n if (this.props.fields.filterOn || url.includes('?tagId=')) {\r\n let criteria = this.props.fields.filterOn.id.replace(/-/g, \"\");\r\n\r\n if(window.location.search.includes('?search=')){\r\n let keywordText = window.location.search.substring(window.location.search.indexOf(\"=\")+ 1);\r\n this.setState({\r\n keyword: keywordText\r\n });\r\n }\r\n\r\n let filterId = \"\";\r\n if (url.includes('?categoryId=') || url.includes('?tagId=')) {\r\n filterId = url.substring(url.indexOf(\"=\") + 1);\r\n if (filterId.includes('#')) filterId = filterId.replace('#','');\r\n if (filterId.includes('-')) filterId = filterId.replace(/-/g,'').toUpperCase();\r\n }\r\n\r\n if (filterId === \"\") {\r\n sessionStorage.removeItem('filterCategories');\r\n sessionStorage.removeItem('filterCategoriesName');\r\n }\r\n\r\n let QUERY = 'query={ filters:search( index:\"'+ this.indexName +'\" fieldsEqual: [ {name: \"_parent\", value: \"'+criteria+'\"} ], rootItem: \"/sitecore/content/' + this.appName + '/\") { results { items { item { id name ...on ProductTagTemplate { title { value } } } } } } criteria:search( index:\"'+ this.indexName +'\" fieldsEqual: [ {name: \"_group\", value: \"'+criteria+'\"} ], rootItem: \"/sitecore/content/' + this.appName + '/\") { results { items { item { id name template { name } ...on FolderProductTag { displayName title { value } } } } } } }';\r\n fetch(this.getGraphqlEndpoint + QUERY)\r\n .then(res => res.json())\r\n .then(\r\n (result) => {\r\n this.setState({\r\n isLoaded: true,\r\n itemdata: result,\r\n urlFilter: filterId,\r\n });\r\n\r\n },\r\n (error) => {\r\n this.setState({\r\n isLoaded: true,\r\n error\r\n });\r\n }\r\n )\r\n }\r\n }\r\n\r\n handleSessionItems(itemId, itemName) {\r\n let categoryArr = [];\r\n let categoryArrNames = [];\r\n let sessionCategories = sessionStorage.getItem('filterCategories');\r\n let sessionCategoriesName = sessionStorage.getItem('filterCategoriesName');\r\n let getSessionItems = sessionCategories !== null ? sessionCategories : \"\";\r\n let getSessionItemNames = sessionCategoriesName !== null ? sessionCategoriesName : \"\";\r\n if(getSessionItems){\r\n let checkCategoryArr = JSON.parse(getSessionItems);\r\n let checkCategoryNamesArr = JSON.parse(getSessionItemNames);\r\n\r\n let listOfCategory = JSON.parse(getSessionItems);\r\n let listOfCategoryNames = JSON.parse(getSessionItemNames);\r\n\r\n let indexName = checkCategoryNamesArr.indexOf(itemName);\r\n let index = checkCategoryArr.indexOf(itemId);\r\n\r\n //for Item Name of tags\r\n if (indexName !== -1) {\r\n let newArrayOfCategoryNames = checkCategoryNamesArr.filter(catName => catName !== itemName);\r\n sessionStorage.setItem(\"filterCategoriesName\",JSON.stringify(newArrayOfCategoryNames));\r\n }\r\n else{\r\n let newCategoryArrNames = listOfCategoryNames;\r\n newCategoryArrNames.push(itemName);\r\n sessionStorage.setItem(\"filterCategoriesName\",JSON.stringify(newCategoryArrNames));\r\n }\r\n\r\n //for Item Id of tags\r\n if (index !== -1) {\r\n let newArrayOfCategory = checkCategoryArr.filter(cat => cat !== itemId);\r\n sessionStorage.setItem(\"filterCategories\",JSON.stringify(newArrayOfCategory));\r\n }\r\n else{\r\n let newCategoryArr = listOfCategory;\r\n newCategoryArr.push(itemId);\r\n sessionStorage.setItem(\"filterCategories\",JSON.stringify(newCategoryArr));\r\n }\r\n\r\n }\r\n else{\r\n categoryArr.push(itemId);\r\n categoryArrNames.push(itemName);\r\n\r\n sessionStorage.setItem(\"filterCategories\",JSON.stringify(categoryArr));\r\n sessionStorage.setItem(\"filterCategoriesName\",JSON.stringify(categoryArrNames));\r\n }\r\n }\r\n\r\n handleClick(categoryClicked) {\r\n this.handleSessionItems(categoryClicked.item.id.toLowerCase(), categoryClicked.item.title.value);\r\n\r\n let getSessionUpdated = JSON.parse(sessionStorage.getItem('filterCategories'));\r\n let getSessionCategoryNamesUpdated = JSON.parse(sessionStorage.getItem('filterCategoriesName'));\r\n this.props.handleUpdateOnCategory(getSessionUpdated,getSessionCategoryNamesUpdated);\r\n let isPresent = false;\r\n this.props.handleShowProducts(true);\r\n\r\n for(var category of this.state.items) {\r\n if (category.item.title.value === categoryClicked.item.title.value) {\r\n isPresent = true;\r\n }\r\n }\r\n if (isPresent) {\r\n this.setState(state => {\r\n const items = state.items.filter(category => categoryClicked.item.title.value !== category.item.title.value);\r\n return {\r\n items,\r\n pageTag: \"\"\r\n }\r\n });\r\n } else {\r\n this.setState(state => {\r\n const items = [...state.items, categoryClicked];\r\n return {\r\n items,\r\n pageTag: categoryClicked.item.title.value\r\n }\r\n })\r\n }\r\n\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevState.urlFilter !== this.state.urlFilter && this.state.urlFilter !== \"\" && this.state.itemdata !== undefined) {\r\n for (let category of this.state.itemdata.data.filters.results.items) {\r\n if (this.state.urlFilter === category.item.id) {\r\n let items = [];\r\n this.setState(state => {\r\n items = [...state.items, category];\r\n return{\r\n urlFilter: \"\",\r\n items: items,\r\n }\r\n });\r\n\r\n }\r\n }\r\n }\r\n\r\n if (prevState.items !== this.state.items && this.state.itemdata.data !== undefined) {\r\n this.props.onFiltersChange({items:this.state.items, template:this.state.itemdata.data.criteria.results.items[0].item.template.name},this.state.keyword);\r\n }\r\n }\r\n\r\n render() {\r\n const { error, isLoaded, itemdata } = this.state;\r\n if (!this.props.fields.filterOn) return \"\";\r\n if (!isLoaded) return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n if (error) return `Error! ${error.message}`;\r\n if(!itemdata || !itemdata.data) return `Empty results`;\r\n\r\n let categories = [];\r\n for(var facet of this.props.facets) {\r\n if (itemdata.data.criteria.results.items[0].item.template.name === \"folderProductTag\" && facet.name === \"tags\") {\r\n categories = facet.values;\r\n }\r\n\r\n }\r\n\r\n let items = [];\r\n let facetIn = false;\r\n let selectedCat = false;\r\n for (let category of itemdata.data.filters.results.items) {\r\n facetIn = false;\r\n selectedCat = false;\r\n if (categories.some(categoryFaceted => category.item && categoryFaceted.item && category.item.title && categoryFaceted.item.title && category.item.title.value === categoryFaceted.item.title.value)) {\r\n facetIn = true;\r\n }\r\n if (facetIn && this.state.items.some(categorySelected => category.item && categorySelected.item && category.item.title && categorySelected.item.title && category.item.title.value === categorySelected.item.title.value)) {\r\n selectedCat = true;\r\n }\r\n if (facetIn && (category.item && category.item.title && this.state.pageTag === category.item.title.value)) {\r\n selectedCat = true;\r\n }\r\n if(category.item && category.item.title && this.state.urlFilter === category.item.id.toLowerCase()) {\r\n selectedCat = true;\r\n facet = true;\r\n this.handleSessionItems(category.item.id.toLowerCase(), category.item.title.value);\r\n }\r\n\r\n items.push(\r\n
  • \r\n \r\n {category && category.item && category.item.title && category.item.title.value}\r\n \r\n
  • \r\n );\r\n }\r\n\r\n\r\n return(\r\n
    \r\n

    {this.state.itemdata.data.criteria.results.items[0].item && this.state.itemdata.data.criteria.results.items[0].item.title.value}

    \r\n
      \r\n {items}\r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(FilterCategories);\r\n","import React from 'react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport { css } from '@emotion/react';\r\nimport \"./paging.css\";\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {withSitecoreContext} from \"@sitecore-jss/sitecore-jss-react\";\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\n// if using customSearch, please rename to search (search:customSearch)\r\n\r\n// PROPS : \r\n// - onItemsChange : Callback to update the items in the parent component. the setState method must be implemented in the parent and passed to this prop\r\n// - query : provide a string replacing variables by ## followed by the query attribute name.\r\n // ex: first: ##first, after: \"##after\", conditions: [ ##fieldsEqual ] \r\n // range: [{name:\"saleprice_tf\", from:\"##rangeFrom\", to: \"##rangeTo\"}]\r\n // ..., ##sortBy\r\n// - itemsPerPage : number of items to retrieve for each page (corresponds to first query attribute). Default: 3\r\n// - showIndexCount : boolean to show or hide indexCount part. ex: items 1 - 10 of 100\r\n// - solrFields : Array of strings corresponding to the fieldsEqual of the query. ex: '{name: \"categories_sm\", value: \"'+variable+'\"},'\r\n// if the solrfield is static in the query then there is no need to put it in the prop but rather directly in the query\r\n// - range : range filter for customSearch, array of two\r\n// - sort : array of 2 string : index name and either ASC or DESC\r\n// - keyword : string\r\nclass Paging extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n error: null,\r\n isLoaded: false,\r\n itemdata: [],\r\n after: 0,\r\n initialize: false,\r\n };\r\n this.updateCursor = this.updateCursor.bind(this);\r\n }\r\n\r\n updateCursor(newPage, postPerPage = -1) {\r\n if (postPerPage === -1) {\r\n this.setState({\r\n after: newPage,\r\n })\r\n }\r\n else {\r\n let newCursor = newPage;\r\n newCursor = (newPage-1) * postPerPage;\r\n this.setState({\r\n after: newCursor\r\n })\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n this.setState({initialize:true});\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if(this.state.itemdata !== prevState.itemdata) {\r\n this.props.onItemsChange(this.state.itemdata);\r\n }\r\n if(this.state.initialize !== prevState.initialize || this.state.after !== prevState.after || \r\n this.props.solrFields !== prevProps.solrFields || this.props.itemsPerPage !== prevProps.itemsPerPage ||\r\n this.props.sort !== prevProps.sort || this.props.keyword !== prevProps.keyword) {\r\n \r\n let postsPerPage = this.props.itemsPerPage !== undefined ? this.props.itemsPerPage : 3;\r\n if (postsPerPage === undefined || postsPerPage === null || isNaN(postsPerPage) || postsPerPage === 0 || postsPerPage < 0) postsPerPage = 3;\r\n var startCursor = \"\";\r\n startCursor = this.state.after.toString();\r\n if (this.state.after === prevState.after) {\r\n this.setState({\r\n after: 0,\r\n itemdata: [],\r\n isLoaded: false,\r\n });\r\n startCursor = 0;\r\n }\r\n else {\r\n this.setState({\r\n isLoaded:false,\r\n itemdata:[]\r\n });\r\n }\r\n\r\n let solrFields = this.props.solrFields !== undefined ? this.props.solrFields : [];\r\n let sort = this.props.sort !== undefined ? this.props.sort : [];\r\n let keyword = this.props.keyword !== undefined ? this.props.keyword : \"\";\r\n var QUERY = this.props.query;\r\n while (QUERY.includes(\"##first\")) QUERY = QUERY.replace(\"##first\", postsPerPage);\r\n while (QUERY.includes(\"##after\")) QUERY = QUERY.replace(\"##after\", startCursor);\r\n while (QUERY.includes(\"##fieldsEqual\")) {\r\n if (solrFields.length !== 0) QUERY = QUERY.replace(\"##fieldsEqual\", solrFields.join(''));\r\n else QUERY = QUERY.replace(\"##fieldsEqual\", solrFields);\r\n }\r\n while (QUERY.includes('##keyword')) QUERY = QUERY.replace(\"##keyword\", keyword.replace(/%20/g, \" \"));\r\n while (QUERY.includes(\"##sortBy\")) {\r\n if (sort.length !== 0) QUERY = QUERY.replace(\"##sortBy\", 'sortBy: {name:\"'+sort[0]+'\", order:\"'+sort[1]+'\"},');\r\n else QUERY = QUERY.replace(\"##sortBy\", '');\r\n }\r\n\r\n var postQuery = QUERY.substring(QUERY.indexOf(\"=\") + 1);\r\n \r\n var req = {\r\n method: \"POST\",\r\n headers: {\r\n 'Accept': 'application/json',\r\n 'Content-Type': 'application/json',\r\n },\r\n body: JSON.stringify({\r\n query: postQuery\r\n })\r\n };\r\n fetch(this.getGraphqlEndpoint, req)\r\n .then(res => res.json())\r\n .then(\r\n (result) => {\r\n this.setState({\r\n isLoaded: true,\r\n itemdata: result,\r\n });\r\n \r\n },\r\n \r\n (error) => {\r\n this.setState({\r\n isLoaded: true,\r\n error\r\n });\r\n }\r\n )\r\n }\r\n }\r\n\r\n render() {\r\n\r\n const { error, isLoaded, itemdata } = this.state;\r\n let postsPerPage = this.props.itemsPerPage !== undefined ? this.props.itemsPerPage : 3;\r\n if (postsPerPage === undefined || postsPerPage === null || isNaN(postsPerPage) || postsPerPage === 0 || postsPerPage < 0) postsPerPage = 3;\r\n\r\n if (!isLoaded) return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error) return `Error! ${error.message}`;\r\n if(!itemdata || !itemdata.data) return `Empty results`;\r\n\r\n const hasNextPage = itemdata.data.search.results.pageInfo.hasNextPage;\r\n const totalCount = itemdata.data.search.results.totalCount;\r\n const hasPreviousPage = itemdata.data.search.results.pageInfo.hasPreviousPage;\r\n const startCursor = itemdata.data.search.results.pageInfo.startCursor;\r\n\r\n const nbPages = Math.floor(totalCount / postsPerPage) + (totalCount % postsPerPage === 0 ? 0 : 1);\r\n const currentPage = startCursor === 1 ? 1 : Math.floor(startCursor / postsPerPage) + (startCursor % postsPerPage === 0 ? 0 : 1);\r\n let pages = [];\r\n if (nbPages <= 4)\r\n {\r\n for(let i=1;i<=nbPages;i++) {\r\n if (currentPage === i) {\r\n pages.push({i});\r\n }\r\n else {\r\n pages.push( this.updateCursor(i, postsPerPage)}>{i});\r\n }\r\n }\r\n } \r\n else {\r\n if(currentPage>1) {\r\n pages.push( this.updateCursor(currentPage-1, postsPerPage)}>{currentPage-1});\r\n }\r\n for(let i=currentPage;i<=currentPage+1;i++) {\r\n if (currentPage === i) {\r\n pages.push({i});\r\n }\r\n else {\r\n if(i<=nbPages) {\r\n pages.push( this.updateCursor(i, postsPerPage)}>{i});\r\n } \r\n }\r\n }\r\n if(currentPage === 1) {\r\n pages.push( this.updateCursor(currentPage+2, postsPerPage)}>{currentPage+2});\r\n }\r\n }\r\n\r\n return(\r\n <>\r\n
    \r\n
    \r\n
    \r\n {pages &&\r\n <>\r\n {hasPreviousPage &&\r\n this.updateCursor((this.state.after) - postsPerPage)}><\r\n }\r\n {pages}\r\n {hasNextPage &&\r\n this.updateCursor(parseInt(this.state.after) + parseInt(postsPerPage))}>>\r\n }\r\n \r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(Paging);\r\n","import React from 'react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {DotLoader} from \"react-spinners\";\r\nimport {Query} from \"react-apollo\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {css} from \"@emotion/react\";\r\n\r\nconst ListProductVariantQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ListProductVariant extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return(\r\n

    \r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return (\r\n

    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n return (\r\n <>\r\n {data.productvariant.results && data.productvariant.results.items.map(function (listItem, index) {\r\n return(\r\n <>\r\n {listItem.item.title && listItem.item.title.value}\r\n {index < data.productvariant.results.items.length - 1 && <>, }\r\n \r\n )\r\n })}\r\n \r\n )\r\n }}\r\n \r\n

    \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ListProductVariant);\r\n","export default __webpack_public_path__ + \"static/media/product-mas.df7f9999.svg\";","import React from 'react';\r\nimport {Image, RichText, withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport ListProductVariant from '../ListProductVariant';\r\nimport StarRating from '../StarRating';\r\nimport productMas from '../../assets/img/product-mas.svg';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport i18next from 'i18next';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {DotLoader} from \"react-spinners\";\r\nimport {Query} from \"react-apollo\";\r\nimport {css} from \"@emotion/react\";\r\n\r\nconst ProductGridQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ProductGridItem extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n }\r\n }\r\n\r\n getRating(data) {\r\n let sumRating = 0;\r\n let numRating = 1;\r\n let averageRate = 0;\r\n data.productrating && data.productrating.results.items && data.productrating.results.items.map((rating) => {\r\n numRating = data.productrating.results.items.length;\r\n sumRating += rating.item.rating.numberValue;\r\n });\r\n averageRate = sumRating / numRating;\r\n\r\n return averageRate;\r\n }\r\n\r\n render() {\r\n const productId = this.props.product.item !== null ? this.props.product.item.id : '';\r\n\r\n return (\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n\r\n const product = this.props.product;\r\n const columnsize = this.props.columnsize;\r\n\r\n return (\r\n product.item !== null &&\r\n <>\r\n
    \r\n \r\n\r\n {product.item.url && product.item.url.startsWith(\"http\") === true ?\r\n \r\n \r\n \r\n \r\n {product.item.title.value}\r\n

    \r\n \r\n

    \r\n \r\n
    \r\n :\r\n \r\n \r\n \r\n \r\n {product.item.title.value}\r\n

    \r\n \r\n

    \r\n \r\n
    \r\n }\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {product.item.image1.alt}\r\n
    \r\n
    \r\n

    {product.item.title.value}

    \r\n \r\n \r\n \r\n

    \r\n \r\n

    \r\n \r\n {data && data.productvariant && data.productvariant.results.items.length > 0 && (\r\n data.productvariant.results.items[0].item !== null &&\r\n data.productvariant.results.items[0].item.productVariantLink.url.startsWith(\"http\") === true ?\r\n {i18next.t(\"BuyButton\")}\r\n :\r\n data.productvariant.results.items[0].item !== null &&\r\n {i18next.t(\"BuyButton\")}\r\n )\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n }}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ProductGridItem);\r\n","import React from \"react\";\r\nimport Paging from \"../../Utils/Paging\";\r\nimport ProductGridItem from \"../ProductGridItem/index.js\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport ReactComponent from \"../../ReactComponent\";\r\n\r\nclass FilteredProductList extends ReactComponent {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n itemdata: [],\r\n filters: [],\r\n view: \"list\",\r\n itemsPerPage: \"12\",\r\n sorting: [],\r\n keyword: \"\",\r\n init: true,\r\n };\r\n this.onItemsChange = this.onItemsChange.bind(this);\r\n this.handleView = this.handleView.bind(this);\r\n this.handleItemsPerPage = this.handleItemsPerPage.bind(this);\r\n this.resolveSorting = this.resolveSorting.bind(this);\r\n }\r\n\r\n resolveSorting(value) {\r\n let sorting = [];\r\n switch (value) {\r\n case \"default\":\r\n sorting = [];\r\n break;\r\n case \"ratingUp\":\r\n sorting = [\"rating\", \"ASC\"];\r\n break;\r\n case \"ratingDown\":\r\n sorting = [\"rating\", \"DESC\"];\r\n break;\r\n case \"newnessUp\":\r\n sorting = [\"__smallupdateddate\", \"ASC\"];\r\n break;\r\n case \"newnessDown\":\r\n sorting = [\"__smallupdateddate\", \"DESC\"];\r\n break;\r\n case \"priceUp\":\r\n sorting = [\"saleprice\", \"ASC\"];\r\n break;\r\n case \"priceDown\":\r\n sorting = [\"saleprice\", \"DESC\"];\r\n break;\r\n default:\r\n sorting = [];\r\n break;\r\n }\r\n return sorting;\r\n }\r\n\r\n componentDidMount() {\r\n let value = localStorage.getItem(\"ProductListSorting\") || \"default\";\r\n let sorting = this.resolveSorting(value);\r\n\r\n const url = window.location.href;\r\n\r\n var filters = [];\r\n if (\r\n this.props.sitecoreContext.route.fields.PfTag != null &&\r\n this.props.sitecoreContext.route.fields.PfTag != \"undefined\"\r\n ) {\r\n filters.push(\r\n '{name: \"tags\", value: \"' +\r\n this.props.sitecoreContext.route.fields.PfTag.id\r\n .replace(/-/g, \"\")\r\n .toLowerCase() +\r\n '\"},'\r\n );\r\n this.setState({\r\n init: true,\r\n filters: filters,\r\n });\r\n }\r\n let filterId = \"\";\r\n if (url.includes(\"?tagId=\")) {\r\n filterId = url.substring(url.indexOf(\"=\") + 1);\r\n\r\n filters.push(\r\n '{name: \"tags\", value: \"' +\r\n filterId.replace(/-/g, \"\").toLowerCase() +\r\n '\"},'\r\n );\r\n this.setState({\r\n init: true,\r\n filters: filters,\r\n });\r\n }\r\n }\r\n\r\n onItemsChange(itemdata) {\r\n this.setState({\r\n itemdata: itemdata,\r\n });\r\n if (itemdata && itemdata.data)\r\n this.props.onFacetsChange(itemdata.data.searchFacets.facets);\r\n }\r\n\r\n handleView() {\r\n let view = \"\";\r\n if (this.state.view === \"list\") {\r\n view = \"grid\";\r\n localStorage.setItem(\"ProductListDisplayType\", \"grid\");\r\n } else if (this.state.view === \"grid\") {\r\n view = \"list\";\r\n localStorage.setItem(\"ProductListDisplayType\", \"list\");\r\n }\r\n this.setState({\r\n view: view,\r\n });\r\n }\r\n\r\n handleItemsPerPage(e) {\r\n localStorage.setItem(\"ProductListItemsPerPage\", e.currentTarget.value);\r\n this.setState({\r\n itemsPerPage: e.currentTarget.value,\r\n });\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevProps.categoriesSession !== this.props.categoriesSession) {\r\n let filters = [];\r\n\r\n for (var filter of this.props.categoriesSession) {\r\n filters.push('{name: \"tags\", value: \"' + filter.toLowerCase() + '\"},');\r\n }\r\n this.setState({\r\n filters: filters,\r\n init: true,\r\n });\r\n }\r\n }\r\n\r\n render() {\r\n let QUERY =\r\n 'query={ searchFacets:search( index:\"' +\r\n this.indexName +\r\n '\" fieldsEqual: [{name: \"_templatename\", value: \"ProductRoute\"}, ##fieldsEqual ], keyword: \"##keyword\", facetOn: [\"tags\"], rootItem: \"/sitecore/content/' +\r\n this.appName +\r\n '/\") { ' +\r\n \"facets { name values { count value \" +\r\n 'item { id ... on ProductTagTemplate { title { value } } } } } } search:search( index:\"' +\r\n this.indexName +\r\n '\" first: ##first, after: \"##after\", fieldsEqual: [{name: \"_templatename\", value: \"ProductRoute\"}, ##fieldsEqual ], keyword: \"##keyword\", ##sortBy rootItem: \"/sitecore/content/' +\r\n this.appName +\r\n '/\") { results { totalCount pageInfo { startCursor endCursor hasNextPage hasPreviousPage } items { item { id url name ... on ProductDetails { title { value } shortDescription: productShortDescription { value } longDescription:productLongDescription { value } image1 { src value alt } image2 { src value alt } image3 { src value alt } image4 { src value alt } rating { numberValue } price { numberValue } ' +\r\n \" tags { targetItems { id ... on ProductTagTemplate { title { value } } } } salePrice { numberValue } } } } } } }\";\r\n\r\n return (\r\n <>\r\n
    \r\n
    \r\n {this.state.itemdata &&\r\n this.state.itemdata.data &&\r\n this.state.itemdata.data.search.results.items.map((product) => (\r\n \r\n ))}\r\n
    \r\n \r\n
    \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(FilteredProductList);\r\n","import React from 'react';\r\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\r\nimport i18next from 'i18next';\r\nimport './filterSearch.css';\r\n\r\nclass FilterSearch extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n init: true,\r\n keyword:\"\",\r\n };\r\n this.handleClick = this.handleClick.bind(this);\r\n }\r\n\r\n componentWillReceiveProps(nextProps) {\r\n if (this.state.init && nextProps.facets.length !== 0) {\r\n const url = window.location.href;\r\n let keyword = \"\";\r\n if (url.includes('?search=')) {\r\n keyword = url.substring(url.indexOf(\"=\") + 1);\r\n if (keyword.includes('#')) keyword = keyword.replace('#','');\r\n this.props.onKeywordChange(keyword);\r\n this.setState({\r\n keyword:keyword,\r\n init: false,\r\n })\r\n }\r\n }\r\n if (nextProps.resetSearch !== this.props.resetSearch) {\r\n this.setState({\r\n keyword: \"\"\r\n })\r\n }\r\n }\r\n\r\n handleClick() {\r\n this.props.onKeywordChange(this.state.keyword);\r\n }\r\n\r\n handleChange(e) {\r\n this.setState({\r\n keyword:e.target.value,\r\n })\r\n }\r\n\r\n handleSubmit(e) {\r\n e.preventDefault();\r\n this.props.onKeywordChange(this.state.keyword);\r\n }\r\n\r\n render() {\r\n\r\n return(\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default FilterSearch;\r\n","import React from 'react';\r\nimport { Text, Image, Link } from '@sitecore-jss/sitecore-jss-react';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport i18next from 'i18next';\r\nimport './footer__custom.css';\r\n\r\nclass Footer extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n }\r\n\r\n render() {\r\n const {SocialLinks} = this.props.fields ? this.props.fields : '';\r\n const {MenuLinks} = this.props.fields ? this.props.fields : '';\r\n return(\r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n \r\n \r\n

    \r\n
      \r\n {this.props.fields && this.props.fields.FooterMultilevel.map((footerMulti) => (\r\n footerMulti.fields && footerMulti.fields.HeaderMenu.map((mainMenu, mainindex) =>\r\n
    • \r\n {/* {mainMenu.fields.Title &&\r\n mainMenu.fields.InternalLink && mainMenu.fields.InternalLink.value.href != '' &&\r\n (\r\n mainMenu.fields.InternalLink.value.href && mainMenu.fields.InternalLink.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n \r\n \r\n )\r\n } */}\r\n {mainMenu.fields.SubMenuLinks.length > 0 &&\r\n
        \r\n {mainMenu.fields.SubMenuLinks.map((subMenu, subindex) => (\r\n
      • \r\n {subMenu.fields.InternalLink && subMenu.fields.InternalLink.value.href != '' &&\r\n (\r\n subMenu.fields.InternalLink.value.href && subMenu.fields.InternalLink.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n \r\n \r\n )}\r\n
      • \r\n ))}\r\n
      \r\n }\r\n
    • \r\n )\r\n ))\r\n }\r\n
    \r\n
    \r\n
    \r\n

    \r\n { SocialLinks &&\r\n SocialLinks.map((listItem, index) => (\r\n \r\n {listItem.fields.InternalLink && listItem.fields.InternalLink.value.href.startsWith(\"http\") === true ?\r\n \r\n \r\n \r\n :\r\n \r\n \r\n \r\n }\r\n \r\n ))}\r\n

    \r\n

    \r\n \r\n

    \r\n

    \r\n {i18next.t(\"ConsumerLabel\")} :
    \r\n {i18next.t(\"EmailLabel\")} : \r\n

    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n

    \r\n {i18next.t(\"CopyrightLabel\")}\r\n { MenuLinks && \r\n MenuLinks.map((listItem, index) => (\r\n \r\n {listItem.fields.InternalLink.value.href && listItem.fields.InternalLink.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n {listItem.fields.InternalLink.value.text}\r\n \r\n }\r\n \r\n ))\r\n }\r\n {i18next.t(\"CookieConfigurationLabel\")}\r\n

    \r\n
    \r\n
    \r\n
    \r\n\r\n\r\n );\r\n }\r\n}\r\n\r\nexport default Footer;\r\n","import React from 'react';\r\nimport {Image, Link, Text} from '@sitecore-jss/sitecore-jss-react';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport './headermultilevels.css';\r\n\r\nclass HeaderMultilevel extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n menu: false\r\n };\r\n this.addClassMobile = this.addClassMobile.bind(this)\r\n }\r\n\r\n addClassMobile(){\r\n this.setState({\r\n menu: !this.state.menu\r\n });\r\n }\r\n\r\n setSearchState(listItem, productPageLink) {\r\n\r\n let categoryList = [];\r\n let categoryNameList = [];\r\n categoryList.push(listItem.id.replace(/-/g, \"\"));\r\n categoryNameList.push(listItem.fields.title.value);\r\n sessionStorage.setItem(\"filterCategories\",JSON.stringify(categoryList));\r\n sessionStorage.setItem(\"filterCategoriesName\",JSON.stringify(categoryNameList));\r\n window.location.href = productPageLink && productPageLink.value.href + \"?tagId=\" + listItem.id.split('-').join('').toLowerCase()\r\n }\r\n\r\n render() {\r\n const outlineNone = {\r\n outline: 'none'\r\n };\r\n return (\r\n
    \r\n {/* Mobile Menu */}\r\n
    \r\n

    \r\n MENU\r\n \r\n \r\n \r\n \r\n

    \r\n
      \r\n {this.props.fields.HeaderMenu &&\r\n this.props.fields.HeaderMenu.map((mainMenu, mainindex) => (\r\n
    • \r\n {mainMenu.fields.InternalLink.value.href != '' &&\r\n (\r\n mainMenu.fields.SubMenuLinks.length > 0 ? (\r\n \r\n ):(\r\n \r\n )\r\n\r\n \r\n )\r\n }\r\n {mainMenu.fields.SubMenuLinks.length > 0 && (\r\n
        \r\n {mainMenu.fields.SubMenuLinks && mainMenu.fields.SubMenuLinks.map((submenu, subindex) => (\r\n
      • \r\n

        \r\n {submenu.fields.SubMenuLinks && submenu.fields.SubMenuLinks.length > 0 &&\r\n\r\n <>\r\n {submenu.fields.InternalLink.value.href != '' &&\r\n (\r\n submenu.fields.InternalLink.value.href &&\r\n \r\n )\r\n }\r\n

          \r\n {submenu.fields.SubMenuLinks && submenu.fields.SubMenuLinks.map((sublink, sublinkindex) => (\r\n
        • \r\n {sublink.fields.InternalLink.value.href != '' &&\r\n (\r\n sublink.fields.InternalLink.value.href &&\r\n \r\n )\r\n }\r\n
        • \r\n ))}\r\n
        \r\n \r\n\r\n }\r\n\r\n {/* Sub Menu For CategoriesList */}\r\n {submenu.fields.CategoriesList && submenu.fields.CategoriesList.length > 0 &&\r\n <>\r\n {submenu.fields.Title.value != '' &&\r\n (\r\n \r\n \r\n \r\n )\r\n }\r\n
          \r\n {submenu.fields.CategoriesList && submenu.fields.CategoriesList.map((sublink, sublinkindex) => (\r\n
        • \r\n \r\n
        • \r\n ))}\r\n
        \r\n \r\n }\r\n\r\n

        \r\n
      • \r\n ))}\r\n\r\n
      \r\n )}\r\n\r\n
    • \r\n ))}\r\n
    \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n
    \r\n\r\n {/* Desktop Menu */}\r\n
    \r\n \r\n
    \r\n
    \r\n )\r\n };\r\n}\r\n\r\nexport default HeaderMultilevel;\r\n","import React from 'react';\r\nimport {Image, Text, withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport { loader as gqlLoader } from \"graphql.macro\";\r\nimport { Query } from \"react-apollo\";\r\nimport {DotLoader} from \"react-spinners\";\r\nimport {css} from \"@emotion/react\";\r\nimport './listOfIngredient.css';\r\n\r\nconst IngredientsQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ListOfIngredients extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return(\r\n
    \r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return(\r\n
    \r\n \r\n
    \r\n );\r\n if (error) \r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n return (\r\n data.search.results.items &&\r\n data.search.results.items.map((ingredient, index) => (\r\n <>\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    \r\n \r\n

    \r\n

    \r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n ))\r\n );\r\n }}\r\n \r\n
    \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ListOfIngredients);\r\n","import React from 'react';\r\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\r\nimport {NavLink} from \"react-router-dom\";\r\n\r\nconst OverHead = (props) => {\r\n const {overHeadBannerContentList} = props.fields;\r\n return (\r\n
    \r\n
    \r\n { overHeadBannerContentList && \r\n overHeadBannerContentList.map((listItem, index) => (\r\n \r\n {listItem.fields.InternalLink && listItem.fields.InternalLink.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n }\r\n \r\n ))} \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default OverHead;\r\n","import React from 'react';\r\nimport { Text } from '@sitecore-jss/sitecore-jss-react';\r\n\r\nconst ProductFinder = (props) => (\r\n
    \r\n

    ProductFinder Component

    \r\n \r\n
    \r\n);\r\n\r\nexport default ProductFinder;\r\n","import React from 'react';\r\nimport {Placeholder,withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport { StickyContainer } from 'react-sticky';\r\nimport i18next from 'i18next';\r\n\r\nconst displayNone = {\r\n display: 'none'\r\n}\r\nconst displayBlock = {\r\n display: 'block'\r\n}\r\n\r\nclass ProductFinderLayoutWrapper extends React.Component {\r\n\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n facets: [],\r\n filters: [],\r\n resetFilters: false,\r\n rangeFilter: [\"*\",\"*\"],\r\n updateRange: true,\r\n keyword: \"\",\r\n resetSearch: false,\r\n selectedCategoriesText: \"\",\r\n showProducts: false,\r\n sidebar: false,\r\n pageTag: \"\",\r\n urlTagId: \"\",\r\n categoriesSession: [],\r\n categoriesSessionNames: \"\",\r\n }\r\n this.onFacetsChange = this.onFacetsChange.bind(this);\r\n this.onFiltersChange = this.onFiltersChange.bind(this);\r\n this.resetFilters = this.resetFilters.bind(this);\r\n this.handleShowProducts = this.handleShowProducts.bind(this);\r\n this.onRangeChange = this.onRangeChange.bind(this);\r\n this.handleUpdateOnCategory = this.handleUpdateOnCategory.bind(this);\r\n }\r\n\r\n onFacetsChange(facets) {\r\n this.setState({\r\n facets: facets,\r\n })\r\n this.state = {\r\n shown: true,\r\n };\r\n }\r\n componentDidMount(){\r\n const url = window.location.href;\r\n let filterSearch = \"\";\r\n if (url.includes('?search=')) {\r\n filterSearch = url.substring(url.indexOf(\"=\")+1);\r\n this.setState({\r\n keyword: filterSearch\r\n })\r\n }\r\n if (url.includes('?tagId=')){\r\n let filterId = url.substring(url.indexOf(\"=\")+1)\r\n this.setState({\r\n urlTagId: filterId\r\n })\r\n }\r\n window.addEventListener(\"resize\", this.resize.bind(this));\r\n this.resize();\r\n\r\n if(this.props.sitecoreContext.route.fields.PfTag != null && this.props.sitecoreContext.route.fields.PfTag != \"undefined\" && this.props.sitecoreContext.route.fields.FilterName != null){\r\n var FilterName= this.props.sitecoreContext.route.fields.FilterName.value\r\n this.setState({\r\n pageTag:FilterName\r\n })\r\n }\r\n }\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevState.showProducts !== this.state.showProducts) {\r\n this.setState({\r\n \r\n showProducts: true\r\n })\r\n }\r\n const url = window.location.href;\r\n let filterSearch = \"\";\r\n if (url.includes('?search=')) {\r\n filterSearch = url.substring(url.indexOf(\"=\")+1);\r\n }\r\n if (prevState.keyword !== filterSearch){\r\n this.setState({\r\n \r\n keyword: filterSearch\r\n })\r\n }\r\n \r\n\r\n }\r\n onRangeChange(range) {\r\n this.setState({\r\n rangeFilter: range,\r\n updateRange: false,\r\n })\r\n }\r\n\r\n handleUpdateOnCategory(categories,categoryNames){\r\n \r\n let categoryText = \"\"\r\n if(categoryNames.length > 1){\r\n categoryText = categoryNames.join(\", \")\r\n }\r\n else{\r\n categoryText = categoryNames[0];\r\n }\r\n \r\n \r\n this.setState({\r\n categoriesSession: categories,\r\n categoriesSessionNames: categoryText\r\n })\r\n }\r\n onFiltersChange(filters) {\r\n \r\n if (this.state.filters.length === 0) {\r\n this.setState({\r\n filters: [...this.state.filters, filters],\r\n updateRange: true,\r\n pageTag: \"\"\r\n })\r\n }\r\n else {\r\n let found = false;\r\n let updatedFilters = this.state.filters.map(obj => {\r\n if (obj.template === filters.template) {\r\n found = true;\r\n return(filters);\r\n }\r\n else return(obj);\r\n })\r\n if (!found) {\r\n updatedFilters.push(filters);\r\n }\r\n this.setState({\r\n filters: updatedFilters,\r\n updateRange: true,\r\n rangeFilter: found ? [\"*\",\"*\"] : this.state.rangeFilter,\r\n pageTag: \"\"\r\n }) \r\n }\r\n }\r\n\r\n resetFilters() {\r\n let reset, resetSearch = true;\r\n if (this.state.resetFilters) reset = false;\r\n else reset = true;\r\n if (this.state.resetSearch) resetSearch = false;\r\n else resetSearch = true;\r\n this.setState({\r\n filters: [],\r\n resetFilters: reset,\r\n resetSearch: resetSearch,\r\n rangeFilter: [\"*\",\"*\"],\r\n keyword: \"\",\r\n });\r\n }\r\n handleShowProducts(show){\r\n if(show == true){\r\n this.setState({\r\n \r\n showProducts: true\r\n })\r\n }\r\n }\r\n\r\n resize() {\r\n let currentHideNav = (window.innerWidth > 450);\r\n if (currentHideNav) {\r\n this.setState({sidebar: true});\r\n }\r\n }\r\n\r\n openSidebar(){\r\n this.setState({\r\n sidebar: !this.state.sidebar\r\n });\r\n }\r\n\r\n componentWillUnmount(){}\r\n\r\n render() {\r\n let sidebar = {\r\n display: this.state.sidebar === true ? \"block\" : \"none\"\r\n };\r\n\r\n return(\r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n\r\n\r\n
    \r\n {this.state.filters && this.state.filters.length <= 0 && this.state.keyword != \"\" &&\r\n
    \r\n

    \r\n {i18next.t(\"SearchResultLabel\")}\r\n {this.state.keyword.replace(/%20/g, \" \")}\r\n

    \r\n
    \r\n }\r\n\r\n {this.state.pageTag != \"\" &&\r\n
    \r\n

    \r\n \r\n {this.state.pageTag}\r\n

    \r\n
    \r\n }\r\n {this.state.categoriesSessionNames && this.state.categoriesSessionNames.length > 0 &&\r\n
    \r\n

    \r\n {i18next.t(\"SearchResultLabel\")}\r\n {this.state.keyword.replace(/%20/g, \" \")}{ this.state.keyword != \"\" && this.state.categoriesSessionNames.length > 0 ? \", \": \"\"}\r\n {this.state.categoriesSessionNames}\r\n

    \r\n
    \r\n }\r\n
    \r\n
    \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ProductFinderLayoutWrapper);\r\n","import React from 'react';\r\nimport { Text, Link, Image, withSitecoreContext, RichText } from '@sitecore-jss/sitecore-jss-react';\r\nimport { css } from '@emotion/react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport {NavLink} from \"react-router-dom\";\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {Query} from \"react-apollo\";\r\nimport './productIngredients.css';\r\n\r\nconst ProductIngredientQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ProductIngredients extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return (\r\n <>\r\n {this.props.fields.Show && this.props.fields.Show.value === false ?\r\n
    \r\n
    \r\n
    \r\n

    \r\n
    \r\n \r\n
    \r\n

    \r\n
    \r\n
    \r\n \r\n {({ loading, error}) => {\r\n if (loading)\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n\r\n let firstIngredient;\r\n if (this.props.sitecoreContext.route.fields.productIngredients)\r\n firstIngredient = this.props.sitecoreContext.route.fields.productIngredients;\r\n if (this.props.sitecoreContext.route.fields.ingredients)\r\n firstIngredient = this.props.sitecoreContext.route.fields.ingredients;\r\n\r\n if (firstIngredient)\r\n return (\r\n <>\r\n {\r\n firstIngredient.map((ing) => (\r\n
    \r\n \r\n \r\n

    \r\n \r\n

    \r\n
    \r\n ))\r\n }\r\n \r\n )\r\n else\r\n return(\r\n
    \r\n There is no ingredient defined\r\n
    \r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n {this.props.fields.ViewAll && this.props.fields.ViewAll.value.href !== '' &&\r\n (this.props.fields.ViewAll.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n {this.props.fields.ViewAll.value.title}\r\n \r\n )\r\n }\r\n
    \r\n
    \r\n
    \r\n :\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n {({ loading, error}) => {\r\n if (loading)\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n\r\n let firstIngredient;\r\n if (this.props.sitecoreContext.route.fields.productIngredients)\r\n firstIngredient = this.props.sitecoreContext.route.fields.productIngredients[0];\r\n if (this.props.sitecoreContext.route.fields.ingredients)\r\n firstIngredient = this.props.sitecoreContext.route.fields.ingredients[0];\r\n\r\n if (firstIngredient)\r\n return (\r\n <>\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n

    \r\n \r\n

    \r\n
    \r\n {this.props.fields.ViewAll && this.props.fields.ViewAll.value.href !== '' &&\r\n (this.props.fields.ViewAll.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n {this.props.fields.ViewAll.value.text}\r\n \r\n )\r\n }\r\n
    \r\n
    \r\n \r\n )\r\n else\r\n return(\r\n
    \r\n There is no ingredient defined\r\n
    \r\n )\r\n }}\r\n \r\n
    \r\n
    \r\n
    }\r\n \r\n );\r\n }\r\n}\r\nexport default withSitecoreContext()(ProductIngredients);\r\n","import React from 'react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport StarRating from '../StarRating';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {css} from \"@emotion/react\";\r\nimport {DotLoader} from \"react-spinners\";\r\nimport {Query} from \"react-apollo\";\r\n\r\nconst ProductRatingQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ProductRating extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n getRating(data) {\r\n let sumRating = 0;\r\n let numRating = 1;\r\n let averageRate = 0;\r\n data && data.productrating && data.productrating.results.items && data.productrating.results.items.map((rating) => {\r\n numRating = data.productrating.results.items.length;\r\n sumRating += rating.item.rating.numberValue;\r\n });\r\n averageRate = sumRating / numRating;\r\n\r\n return averageRate;\r\n }\r\n\r\n render() {\r\n\r\n return(\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n return (\r\n \r\n )\r\n }}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ProductRating);\r\n","import React from 'react';\r\nimport { withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport { css } from '@emotion/react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport ProductGridItem from '../ProductGridItem/index.js';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport {loader as gqlLoader} from \"graphql.macro\";\r\nimport {Query} from \"react-apollo\";\r\nimport './productByCat.css';\r\n\r\nconst ProductByCatQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ProductsByCategory extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n isLoaded: false\r\n };\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {({ loading, error, data}) => {\r\n if (loading)\r\n return(\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n return (\r\n \r\n
    \r\n
    \r\n

    {this.props.sitecoreContext.route.fields.title.value}

    \r\n

    {this.props.sitecoreContext.route.fields.description.value}

    \r\n
    \r\n
    \r\n
    \r\n {data && data.product.results.items.map((product) => (\r\n \r\n ))\r\n }\r\n
    \r\n
    \r\n )\r\n }}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default withSitecoreContext()(ProductsByCategory);\r\n","import React from 'react';\r\nimport { RichText, Text, Image, Link, withSitecoreContext, isExperienceEditorActive, Placeholder } from '@sitecore-jss/sitecore-jss-react';\r\nimport 'react-responsive-carousel/lib/styles/carousel.min.css';\r\nimport './carouselProductOver.css';\r\nimport './productSummary.css';\r\nimport { Carousel } from 'react-responsive-carousel';\r\nimport Lightbox from 'react-images';\r\nimport { css } from '@emotion/react';\r\nimport { DotLoader } from 'react-spinners';\r\nimport zoomIcon from '../../assets/img/product-mas.svg';\r\nimport ListProductVariant from '../ListProductVariant';\r\nimport ProductRating from '../ProductRating';\r\nimport { NavLink } from \"react-router-dom\";\r\nimport i18next from 'i18next';\r\nimport ReactComponent from \"../../ReactComponent\";\r\nimport { loader as gqlLoader } from \"graphql.macro\";\r\nimport { Query } from \"react-apollo\";\r\n\r\nconst ProductSummaryQuery = gqlLoader('./query.graphql');\r\nconst override = css`\r\n margin: auto;\r\n`;\r\n\r\nclass ProductSummary extends ReactComponent {\r\n\r\n constructor(props) {\r\n super(props);\r\n this.onClose = this.onClose.bind(this);\r\n this.gotoPrevious = this.gotoPrevious.bind(this);\r\n this.gotoNext = this.gotoNext.bind(this);\r\n this.onClickThumbnail = this.onClickThumbnail.bind(this);\r\n this.openLightBox = this.openLightBox.bind(this);\r\n this.state = {\r\n error: null,\r\n isLoaded: false,\r\n photoIndex: 0,\r\n isOpen: false,\r\n showMessage: \"\",\r\n productVariantURL: \"\",\r\n };\r\n }\r\n\r\n openLightBox(photoIndex) {\r\n this.setState({\r\n photoIndex: photoIndex,\r\n isOpen: true,\r\n })\r\n }\r\n\r\n handleChange(event) {\r\n this.setState({ isOpen: true, photoIndex: event })\r\n };\r\n onClose() {\r\n this.setState({ isOpen: false })\r\n }\r\n gotoNext() {\r\n this.setState({ photoIndex: this.state.photoIndex + 1 })\r\n }\r\n gotoPrevious() {\r\n this.setState({ photoIndex: this.state.photoIndex - 1 })\r\n }\r\n\r\n onClickThumbnail(event) {\r\n this.setState({ photoIndex: event })\r\n }\r\n\r\n render() {\r\n const Image1 = (itemImage1) => {\r\n if (itemImage1.value && itemImage1.value.src && itemImage1.value.src.length > 0) {\r\n return (\r\n
    \r\n \"\"\r\n
    \r\n )\r\n }\r\n else { return <> }\r\n };\r\n const Image2 = (itemImage2) => {\r\n if (itemImage2.value && itemImage2.value.src && itemImage2.value.src.length > 0) {\r\n return (\r\n
    \r\n \"\"\r\n
    \r\n )\r\n }\r\n else { return <> }\r\n };\r\n const Image3 = (itemImage3) => {\r\n if (itemImage3.value && itemImage3.value.src && itemImage3.value.src.length > 0) {\r\n return (\r\n
    \r\n \"\"\r\n
    \r\n )\r\n }\r\n else { return <> }\r\n };\r\n\r\n const Image4 = (itemImage4) => {\r\n if (itemImage4.value && itemImage4.value.src && itemImage4.value.src.length > 0) {\r\n return (\r\n
    \r\n \"\"\r\n
    \r\n )\r\n }\r\n else { return <> }\r\n };\r\n\r\n let imageArray = [];\r\n\r\n if (this.props.sitecoreContext.route.fields.image1.value && this.props.sitecoreContext.route.fields.image1.value.src != null) {\r\n imageArray.push({ src: this.props.sitecoreContext.route.fields.image1.value.src })\r\n }\r\n\r\n if (this.props.sitecoreContext.route.fields.image2.value && this.props.sitecoreContext.route.fields.image2.value.src != null) {\r\n imageArray.push({ src: this.props.sitecoreContext.route.fields.image2.value.src })\r\n }\r\n\r\n if (this.props.sitecoreContext.route.fields.image3.value && this.props.sitecoreContext.route.fields.image3.value.src != null) {\r\n imageArray.push({ src: this.props.sitecoreContext.route.fields.image3.value.src })\r\n }\r\n\r\n if (this.props.sitecoreContext.route.fields.image4.value && this.props.sitecoreContext.route.fields.image4.value.src != null) {\r\n imageArray.push({ src: this.props.sitecoreContext.route.fields.image4.value.src })\r\n }\r\n\r\n let ngRel = this.props.sitecoreContext.route.fields.relevantAdvantages.length <= 1 ? \"col-md-12\" : \"col-md-3\";\r\n\r\n return(\r\n
    \r\n
    \r\n
    \r\n this.openLightBox(0)}>\r\n {isExperienceEditorActive() && (\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n )}\r\n {!isExperienceEditorActive() && (\r\n \r\n {Image1(this.props.sitecoreContext.route.fields.image1)}\r\n {Image2(this.props.sitecoreContext.route.fields.image2)}\r\n {Image3(this.props.sitecoreContext.route.fields.image3)}\r\n {Image4(this.props.sitecoreContext.route.fields.image4)}\r\n \r\n )}\r\n {this.state.isOpen && (\r\n \r\n )}\r\n
    \r\n
    \r\n \r\n {({ loading, error, data }) => {\r\n if (loading)\r\n return (\r\n
    \r\n \r\n
    \r\n );\r\n if (error)\r\n return (\r\n
    Error: {error.message}
    \r\n );\r\n if (data && data.product && data.product.results.items.length === 0)\r\n return (\r\n
    Product Summary: No product Id found
    \r\n );\r\n return (\r\n data.product.results.items.map((product, idx) => (\r\n \r\n
    \r\n
    \r\n

    \r\n \r\n \r\n
    \r\n

    \r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n \r\n {product.item.productIngredients !== undefined &&\r\n product.item.productIngredients.targetItems.length > 0 &&\r\n product.item.productIngredients.targetItems.map((ing, index) => (\r\n \r\n {ing.title.value}\r\n {index < product.item.productIngredients.targetItems.length - 1 && <>, }\r\n \r\n ))\r\n }\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    \r\n \r\n {i18next.t(\"WhereToBuyLabel\")}\r\n \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n {this.props.sitecoreContext.route.fields.findSalon &&\r\n (this.props.sitecoreContext.route.fields.findSalon.value.linktype !== undefined &&\r\n this.props.sitecoreContext.route.fields.findSalon.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n this.props.sitecoreContext.route.fields.findSalon.value.linktype !== undefined &&\r\n \r\n {this.props.sitecoreContext.route.fields.findSalon.value.text}\r\n \r\n )\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n {this.props.sitecoreContext.route.fields.fb &&\r\n this.props.sitecoreContext.route.fields.fb.value.href !== \"\" &&\r\n (this.props.sitecoreContext.route.fields.fb.value.linktype !== undefined &&\r\n this.props.sitecoreContext.route.fields.fb.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n )\r\n }\r\n {this.props.sitecoreContext.route.fields.twitter &&\r\n this.props.sitecoreContext.route.fields.twitter.value.href !== \"\" &&\r\n (this.props.sitecoreContext.route.fields.twitter.value.linktype !== undefined &&\r\n this.props.sitecoreContext.route.fields.twitter.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n )\r\n }\r\n {this.props.sitecoreContext.route.fields.insta &&\r\n this.props.sitecoreContext.route.fields.insta.value.href !== \"\" &&\r\n (this.props.sitecoreContext.route.fields.insta.value.linktype !== undefined &&\r\n this.props.sitecoreContext.route.fields.insta.value.href.startsWith(\"http\") === true ?\r\n \r\n :\r\n \r\n )\r\n }\r\n
    \r\n
    \r\n
    \r\n
    \r\n ))\r\n )\r\n }}\r\n
    \r\n
    \r\n
    \r\n

    \r\n
    \r\n \r\n
    \r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {this.props.sitecoreContext.route.fields.relevantAdvantages &&\r\n this.props.sitecoreContext.route.fields.relevantAdvantages.map((relevantItem, index) => {\r\n return (\r\n \r\n \r\n \r\n \r\n
    \r\n );\r\n })}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n )\r\n }\r\n}\r\n\r\n\r\nexport default withSitecoreContext()(ProductSummary);\r\n","import React from 'react';\r\nimport { withSitecoreContext, RichText, Text } from '@sitecore-jss/sitecore-jss-react';\r\nimport { Formik } from \"formik\";\r\nimport { ApolloConsumer } from 'react-apollo';\r\nimport { loader as gqlLoader } from 'graphql.macro';\r\nimport './ratings.css';\r\nimport './comment.css';\r\nimport StarRatingV2 from '../StarRating';\r\nimport i18next from 'i18next';\r\nimport ReactComponent from \"../../ReactComponent\";\r\n\r\nconst RATINGS_QUERY = gqlLoader('./RatingReviews.graphql');\r\n\r\nclass RatingReviews extends ReactComponent{\r\n\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n data: null,\r\n error: '',\r\n show: true,\r\n status: \"\",\r\n rating: \"\",\r\n clickedStar: \"\",\r\n username: \"\",\r\n commentValue: \"\"\r\n }\r\n this.onStarClick = this.onStarClick.bind(this);\r\n this.userNameChange = this.userNameChange.bind(this);\r\n this.commentChange = this.commentChange.bind(this);\r\n }\r\n componentDidMount(){\r\n var productId = this.props.sitecoreContext.itemId.replace(/-/g, \"\").toLowerCase();\r\n var QUERY = 'query=query($product:String!){search(index:\"'+ this.indexName +'\",rootItem:\"/sitecore/content/' + this.appName + '/Content/Rating and Reviews\",fieldsEqual:[{name:\"_templatename\",value:\"RatingReviewItem\"},{name:\"product\",value:$product},{name:\"ratingstatus\",value:\"e8b6acc0a153400f9494941bbdca46ce\"}]) {results{items{item{id name...on RatingReviewItem{userName{value} rating{numberValue} ratingstatus{value targetItem{ name }} creationDate{value} comment{value} product{value} }}}}}}&variables={\"product\": \"'+productId+'\"}';\r\n fetch(this.getGraphqlEndpoint + QUERY)\r\n .then(res => res.json())\r\n .then(\r\n (result) => {\r\n this.setState({\r\n data: result\r\n });\r\n \r\n },\r\n (error) => {\r\n this.setState({\r\n error: error\r\n });\r\n }\r\n )\r\n }\r\n onStarClick(event){\r\n var ratingValue =event.target.parentElement.getAttribute(\"data-rating\")\r\n var clickedStarId = event.target.id\r\n this.setState({\r\n rating: ratingValue,\r\n clickedStar: clickedStarId\r\n\r\n })\r\n }\r\n\r\n userNameChange(event){\r\n this.setState({username: event.target.value});\r\n }\r\n commentChange(event){\r\n this.setState({commentValue: event.target.value});\r\n }\r\n \r\n render(){\r\n return(\r\n <>\r\n
    \r\n
    \r\n

    \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {this.state.show === false && this.state.status === \"success\" &&\r\n \r\n \r\n
    \r\n }\r\n {this.state.show && this.state.show === true &&\r\n \r\n {client => (\r\n {\r\n const { data } = await client.query({\r\n query: RATINGS_QUERY,\r\n variables: { userName: values.userName, rating: values.rating, comment: values.comment, product: this.props.sitecoreContext.itemId }\r\n });\r\n if (data.ratingreviews === \"Review Submitted Successfully\") {\r\n this.setState({\r\n show: false,\r\n status: \"success\"\r\n })\r\n }\r\n else {\r\n setErrors({submit: \"Error sending review.\"});\r\n setSubmitting(false);\r\n }\r\n \r\n }}\r\n validate={values => {\r\n let errors = {};\r\n if (!values.privacy) {\r\n errors.privacy = \"Required\";\r\n }\t\r\n if (!values.comment) {\r\n errors.comment = \"Required\";\r\n }\r\n\r\n \t\r\n return errors;\r\n }}\r\n >\r\n {props => {\r\n const {\r\n values,\r\n touched,\r\n errors,\r\n handleChange,\r\n handleSubmit\r\n } = props;\t\r\n return (\r\n <>\r\n
    \r\n \r\n
    \r\n \r\n \r\n

    \r\n