{"version":3,"sources":["wrappers/breadcrumb/Breadcrumb.js","redux/reducers/cartReducer.js","redux/reducers/wishlistReducer.js","App.js","helpers/scroll-top.js","components/header/Logo.js","components/header/NavMenu.js","components/header/IconGroup.js","components/header/sub-components/MenuCart.js","components/header/sub-components/MenuWishList.js","components/header/sub-components/MobileNavMenu.js","components/header/sub-components/MobileWidgets.js","pages/home/HomeCarousel.js","wrappers/product/ShopSidebar.js","components/product/ShopCategories.js","components/product/ShopSubCategories.js","components/product/ShopBrands.js","components/product/ShopTemplates.js","components/product/ShopColor.js","components/product/ShopSize.js","components/product/ShopTag.js","wrappers/product/ShopTopbar.js","components/product/ShopTopAction.js","components/Paginator.js","wrappers/product/ShopProductCategory.js","wrappers/product/ShopProductSubCategory.js","wrappers/product/ShopProductTag.js","pages/shop-product/Product.js","wrappers/product/ProductGrid.js","components/product/ProductGridSingle.js","wrappers/product/ProductDescriptionTab.js","wrappers/Recensioni/Recensione.js","wrappers/product/ProductImageDescription.js","components/product/ProductImageGallery.js","components/product/ProductDescriptionInfo.js","components/product/ProductImageFixed.js","wrappers/product/ProductGridQta.js","pages/shop/CatalogFlip.js","pages/other/About.js","components/banner/BannerOneSingle.js","components/section-title/SectionTitleTwo.js","components/brand-logo/BrandLogoOneSingle.js","pages/other/Contact.js","components/contact/LocationMap.js","pages/other/MyAccount.js","pages/other/animationList.js","pages/other/forgotPassword.js","pages/other/resetPassword.js","pages/other/Cart.js","pages/other/Wishlist.js","pages/other/Checkout.js","pages/other/PreCheckout.js","pages/other/Privacy_policy.js","pages/other/MyDocuments.js","pages/other/MyPriceList.js","pages/shop/ShopCatalogueFlip.js","pages/other/Ritiri.js","pages/other/CondizioniVendita.js","backconfig/banner/BannerModel.js","backconfig/banner/TipoBanner.js","backconfig/banner/PersonalizzaBannersSidebarContent.js","pages/other/Tutorial.js","pages/other/Colors.js","backconfig/homepage/PageBuilder.js","components/section-title/SectionTitle.js","wrappers/product/RelatedProductSlider.js","pages/home/HomePageDGA.js","global.js","redux/reducers/currencyReducer.js","redux/actions/currencyActions.js","redux/reducers/compareReducer.js","redux/reducers/userReducer.js","redux/reducers/productsReducer.js","redux/reducers/rootReducer.js","serviceWorker.js","index.js","redux/actions/compareActions.js","components/product/sub-components/ProductRating.js","pages/other/modals/modalCustomer.js","hook/useToken.js","helpers/product.js","pages/other/LoginRegister.js","components/hero-slider/HeroSliderOneSingle.js","backconfig/banner/HeroSliderOneNew.js","components/feature-icon/FeatureIconSingle.js","wrappers/feature-icon/FeatureIcon.js","layouts/LayoutThree.js","components/product/ProductModal.js","wrappers/brand-logo/BrandLogoSliderOne.js","pages/home/HomeBanner.js","pages/home/BannerClassicScroll.js","wrappers/product/ShopProducts.js","pages/shop/ShopGridFullWidth.js","redux/actions/productsAction.js","backconfig/banner/PersonalizzaBanners.js","backconfig/homepage/PersonalizzaHomepage.js","layouts/LayoutOne.js","redux/actions/cartActions.js","components/section-title/SectionTitleWithText.js","wrappers/banner/BannerOne.js","wrappers/team-member/TeamMemberOne.js","wrappers/header/HeaderOne.js","wrappers/footer/FooterTwo.js","wrappers/footer/FooterMobile.js","pages/shop-product/ProductMobile.js","redux/actions/userAction.js","components/product/ProductGridListSingle.js","backconfig/homepage/YouTubeBackground.js","wrappers/product/ProductgridList.js","pages/home/HomeFashion.js","components/product/ProductImageGallerySideThumb.js","components/team-member/TeamMemberOneSingle.js","pages/other/NotFound.js","components/header/sub-components/MobileSearch.js","components/header/MobileMenu.js","helpers/dbOperations.js","redux/actions/wishlistActions.js"],"names":["Breadcrumb","React","createElement","className","Breadcrumbs","separator","item","NavLink","finalItem","initState","saveCart","cart","body","JSON","stringify","localStorage","getItem","endpoint","global","fetch","method","headers","Headers","withCredentials","then","res","json","result","cartReducer","state","arguments","length","undefined","action","cartItems","product","payload","_sper","sessionStorage","personal","parse","type","SAVE_CART","ADJUST_CART_FOR_CHECKOUT","map","cartItemId","ADD_TO_CART","noSco","productNoSco","find","p","IDArtBas","id","variation","cartItem","filter","concat","_toConsumableArray","_objectSpread","quantity","uuid","sco1","TipLis","S1","sco2","S2","parseInt","selectedProductColor","split","selectedProductSize","color","DECREMENT_QTY","remainingItems","REMOVE_FROM_CART","REMOVE_ALL_FROM_CART","saveWishList","wishList","credentials","IDRef","wishlistReducer","_newState","wishlistItems","SAVE_WISHLIST","ADD_TO_WISHLIST","wishlistItem","REMOVE_FROM_WISHLIST","REMOVE_ALL_FROM_WISHLIST","inManutenzione","window","Date","now","inManutenzioneDal","inManutenzioneAl","timerLogin","connect","products","productData","userData","dispatch","saveUser","user","addToast","saveProducts","multilanguage","_ref","_userData$user","_userData$user2","_userData$user2$user","_userData$user3","_userData$user3$user","_userData$user4","_userData$user4$user","_window$configPegaso$","_userData$user5","_userData$user5$user","_window$configPegaso$2","_userData$user6","_userData$user6$user","_window$configPegaso$3","_userData$user7","_userData$user7$user","_window$configPegaso$4","location","isLoggedUser","IDCli","IDAge","prodottiSenzaLogin","visualizzaPrezziLogOut","visualizzaGrigliaLogOut","visualizzaQuantitaLogOut","useDispatch","_useState","useHistory","useState","_useState2","_slicedToArray","setShowDialogUpdate","_useState3","_useState4","refreshCheckout","setRefreshCheckout","_useToken","useToken","setToken","token","setLastLogin","setRefresh","removeToken","_useState5","_useState6","showDialogManutenzione","useEffect","loadLanguages","languages","it","require","handleSubmit","caches","keys","names","forEach","name","delete","error","resetCookieConsentValue","cookies","document","cookie","i","eqPos","indexOf","substr","console","log","clearCacheData","setItem","_ref2","_asyncToGenerator","_regeneratorRuntime","mark","_callee","e","_products$item","time","username","password","risultatoUser","jUser","risultatoProducts","Errore","wrap","_context","prev","next","abrupt","replace","fetchUser","t0","sent","wishlist","pathname","includes","fetchProducts","recommended","jsonVendite","saveProductsWithoutToast","stop","_x","apply","informazioniDGA","informazioniMondoCarta","informazioniSpotClub","informazioni","aziendaID","ModalUpdate","ModalInManutenzione","Modal","show","transparent","size","style","marginLeft","width","background","borderColor","borderRadius","border","display","onClick","textAlign","font","padding","src","alt","height","Body","link","querySelector","rel","getElementsByTagName","appendChild","href","favicon","ToastProvider","placement","BreadcrumbsProvider","BrowserRouter","ScrollToTop","Switch","Route","path","component","Wishlist","exact","HomeFashion","Redirect","to","CatalogFlip","About","Contact","LoginRegister","ForgotPassword","render","routeProps","ResetPassword","Object","assign","key","match","params","data","Cart","MyAccount","Ritiri","MyDocuments","MyPriceList","Checkout","PreCheckout","PrivacyPolicy","CondizioniVendita","ShopGridFullWidth","ShopCatalogueFlip","Product","untentiModificaBanners","PersonalizzaBanners","PersonalizzaHomepage","NotFound","Tutorial","Colors","withRouter","props","scrollTo","children","Logo","imageUrl","logoClass","marginTop","Link","_userData$user8","_userData$user8$user","_userData$user9","_userData$user9$user","_userData$user$user","_userData$user10","_userData$user11","_userData$user11$user","_userData$user12","_userData$user12$user","_userData$user13","_userData$user13$user","strings","history","showMenuArticoli","setShowMenuArticoli","showMenuCollezioni","setShowMenuCollezioni","resetQuerySearch","_where","setTimeout","push","process","getColor","loc","lineHeight","onMouseEnter","onMouseLeave","position","top","left","boxShadow","gap","flexDirection","zIndex","whiteSpace","animation","showPromo","float","currency","currencyData","cartData","wishlistData","compareData","removeFromCart","clearProducts","removeFromWishlist","isUser","getSortParams","setInputFocusMobile","useFocusMobile","_useFocus","htmlElRef","useRef","current","focus","useFocus","_useFocus2","inputRef","setInputFocus","handleClick","oldE","currentTarget","getElementById","nextSibling","classList","contains","toggle","search","queryText","value","totItems","margin","onSubmit","preventDefault","ref","autoFocus","placeholder","onKeyDown","Fragment","MenuWishList","MenuCart","add","cartTotalPrice","tot","setTot","totPortoFranco","setTotPortoFranco","useToasts","totale","single","_single$variation","finalProductPrice","discountedPrice","getDiscountPrice","price","discount","pricesco","getFinalPriceVariation","toFixed","currencyRate","_single$price","importoPortoFranco","fontWeight","backgroundColor","_single$variation2","_single$variation$","_single$price2","baseUrlImage","image","onError","elms","querySelectorAll","placeholderImage","objectFit","sku","currencySymbol","addToWishlist","logoutUser","hLogOutUser","WebImage","MobileWidgets","phone","mail","instagramLink","title","facebookLink","whatsappLink","bannerProps","forTestOnly","banner","bannerNow","setBannerNow","n","_props","heroSliderData","bannerImageScroll","bannerType","HeroSliderOneNew","BannerClassicScroll","getBanner","ShopSidebar","_filter$brands","_filter$subcategory","_filter$category","_filter$templates","_filter$tag","_filter$size","sideSpaceClass","uniqueCategories","setSortValues","getUniqueCategories","uniqueSubCategories","getUniqueSubCategories","uniqueBrands","getUniqueBrands","uniqueTemplates","getUniqueTemplates","uniqueColors","getUniqueSeasons","getUniqueColors","uniqueSizes","getProductsUniqueSizes","uniqueTags","getUniqueTags","refresh","setFilter","borderBottom","brands","subcategory","category","templates","template","tag","ShopBrands","sort","ShopCategories","categories","ShopSubCategories","subcategories","ShopTemplates","ShopColor","colors","ShopSize","sizes","ShopTag","tags","_JSON$parse","_JSON$parse$category","stateLista","setstateLista","categorySelected","setCategorySelected","_JSON$parse2","_JSON$parse2$category","data-role","role","aria-selected","aria-expanded","tabindex","fontSize","cursor","class","Collapse","theme","collapse","content","isOpened","element","remove","setActiveSort","v","_JSON$parse$subcatego","subCategorySelected","setSubCategorySelected","_JSON$parse2$subcateg","_JSON$parse$brands","brandSelected","setBrandSelected","_JSON$parse2$brands","_JSON$parse$templates","templateSelected","setTemplateSelected","_JSON$parse2$template","colorSelected","setColorSelected","toColor","r","Math","floor","g","b","rHex","Number","toString","gHex","bHex","placeItems","gridTemplateColumns","gridColumn","hexColor","colorSigla","verticalAlign","backgroundImage","backgroundSize","transition","sizeSelected","setSizeSelected","_JSON$parse$tag","tagSelected","setTagSelected","_JSON$parse2$tag","ShopTopbar","getLayout","getFilterSortParams","productCount","sortedProductCount","offset","sortValues","ShopTopAction","query","Divider","fullWidth","_JSON$parse3","_JSON$parse3$promo","outlet","setOutlet","school","setSchool","promo","filterProducts","_queryText","marginRight","marginBottom","minWidth","_defineProperty","defaultValue","onKeyUp","onChange","target","scrollDiv","offsetTop","behavior","aria-hidden","setActiveLayout","ex","React__default","totalP","obj","defineProperty","enumerable","configurable","writable","ownKeys","object","enumerableOnly","getOwnPropertySymbols","symbols","sym","getOwnPropertyDescriptor","arr","Array","isArray","_arrayWithHoles","Symbol","iterator","prototype","call","_arr","_n","_d","_e","_s","_i","done","err","_iterableToArrayLimit","TypeError","_nonIterableRest","arr2","_arrayWithoutHoles","iter","from","_iterableToArray","_nonIterableSpread","unwrapExports","x","__esModule","hasOwnProperty","createCommonjsModule","fn","module","exports","reactIs_production_min","for","c","d","f","h","k","l","m","q","t","w","y","a","u","$$typeof","z","typeOf","AsyncMode","ConcurrentMode","ContextConsumer","ContextProvider","Element","ForwardRef","Lazy","Memo","Portal","Profiler","StrictMode","Suspense","isValidElementType","isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","reactIs_development","propIsEnumerable","propertyIsEnumerable","toObject","val","test1","String","getOwnPropertyNames","test2","fromCharCode","join","test3","letter","shouldUseNative","ReactPropTypesSecret_1","checkPropTypes","typeSpecs","values","componentName","getStack","resetWarningCache","Function","bind","emptyFunction","emptyFunctionWithReset","propTypes","shim","propName","propFullName","secret","Error","getShim","isRequired","ReactPropTypes","array","bool","func","number","string","symbol","any","arrayOf","elementType","instanceOf","node","objectOf","oneOf","oneOfType","shape","PropTypes","factoryWithThrowingShims","propTypes_1","propTypes_2","propTypes_3","propTypes_4","propTypes_5","css","insertAt","head","firstChild","insertBefore","styleSheet","cssText","createTextNode","styleInject","range","step","pool","Paginator","_props$totalRecords","totalRecords","_props$pageLimit","pageLimit","_props$pageNeighbours","pageNeighbours","max","min","totalPages","ceil","init","setState","firstRun","gotoPage","useCallback","page","currentPage","setCurrentPage","setOffset","source","getOwnPropertyDescriptors","defineProperties","_objectSpread2","handleMoveLeft","evt","handleMoveRight","fetchPageNumbers","totalNumbers","_pages","leftBound","rightBound","beforeLastPage","startPage","endPage","singleSpillOffset","leftSpill","rightSpill","leftSpillPage","extraPages","_extraPages","pages","pageContainerClass","index","pageItemClass","pagePrevClass","pagePrevText","pageNextClass","pageNextText","pageActiveClass","pageLinkClass","defaultProps","ShopProductCategory","_getUniqueCategories","Button","goBack","ArrowBackIcon","numArt","getProductWithCategory","backgroundPosition","alignItems","justifyContent","ShopProductSubCategory","_getUniqueSubCategori","getProductWithSubCategory","fill","ShopProductTag","_getUniqueTags","getProductWithTag","ownProps","_state$productData$pr","productId","description","productDescriptions","D","ID","addToCart","quantityCount","selectedIDArt","Ord1","Ord2","visualizzaPrezzi","visualizzaGriglia","visualizzaQuantita","variations","table","qta","setQta","numTaglie","setNumTaglie","arrayItemSizeMax","_variation$size","_variation$size2","_variation$size3","singles","getDisponibili","Qta","inArrivo","catalogo","impCli","nonPrenotabile","sDis","getQtaInArrivo","qtaOrdFor","qtaImpCli","onlyString","productCartQty","withGrid","getProductCartQty","trim","MetaTags","shop","titleSite","siteContent","LayoutOne","ProductImageDescription","spaceTopClass","spaceBottomClass","RelatedProductSlider","thisProduct","ProductGridQta","onBlur","QtaOrdinate","QtaDisponibili","QtaArrivo","getAttribute","QtaOrdinateGestite","QtaConfronto","iTipoGestioneAtt","QtaPossibili","appearance","autoDismiss","gestisciQta","prevState","row","col","IDArtSizeColor","ProductDescriptionTab","productFullDesc","fullDescription","ProductMobile","getProducts","limit","compareItems","addToCompare","sliderClassName","ProductGridSingle","compareItem","modalShow","setModalShow","finalDiscountedPrice","disabled","affiliateLink","stock","added_to_cart","add_to_cart","rating","Rating","ratingValue","ProductModal","onHide","discountedprice","finalproductprice","finaldiscountedprice","cartitem","wishlistitem","compareitem","addtocart","addtowishlist","addtocompare","addtoast","_product$reviews","reviews","Tab","Container","defaultActiveKey","Nav","variant","Item","eventKey","Content","Pane","Recensione","recensioni","IDArt","addReviewToProducts","review","inCaricamento","setinCaricamento","setName","userMail","setUserMail","_useState7","_useState8","userMessage","setUserMessage","_useState9","_useState10","userRating","setUserRating","_useState11","_useState12","recensioniState","risultatoRecensione","elements","ii","fetchRecensione","messaggio","patima","num","celle","Stelline","alignSelf","emptyLabelText","precision","event","newValue","onChangeActive","newHover","daAzz","galleryType","ProductImageGallerySideThumb","thumbPosition","ProductImageFixed","ProductImageGallery","ProductDescriptionInfo","gallerySwiper","getGallerySwiper","thumbnailSwiper","getThumbnailSwiper","setImg","controller","control","gallerySwiperParams","getSwiper","spaceBetween","loopedSlides","loop","effect","navigation","nextEl","prevEl","renderPrevButton","renderNextButton","thumbnailSwiperParams","slidesPerView","touchRatio","freeMode","slideToClickedSlide","LightgalleryProvider","Swiper","LightgalleryItem","group","random","swiper","slideTo","_product$variation$nu","_product$variation$nu2","_product$variation$nu3","_product$variation$nu4","_product$variation$nu5","_product$variation$nu6","_userData$user$user2","_userData$user$user3","_userData$user$user4","_userData$user$user5","_userData$user$user6","_description$DesWeb","_product$variation4","setSelectedProductColor","setSelectedProductSize","selectedProductPrice","setSelectedProductPrice","setSelectedIDArt","productStock","setProductStock","_useState13","_useState14","setQuantityCount","_useState15","skuSizeColor","_useState16","setSelectedCodArt","_useState17","_useState18","setFlgCatalogo","_useState19","styled","div","_templateObject","_taggedTemplateLiteral","_useState20","firstLoading","setFirstLoading","_product$variation","_product$variation$i","_product$variation$i$","getLabelColor","_product$variation2","colorProduct","_colorProduct","_colorcode","_colorname","paddingLeft","qtaInCart","shortDescription","opacity","altdat1","ParIva","parseFloat","open","_single$size","checked","singleSize","_singleSize$tag","nonEsiste","flgNoWeb","paddingRight","Accordion","AccordionSummary","expandIcon","ExpandMoreIcon","aria-controls","Typography","AccordionDetails","_product$variation3","taglieInfo","BorderBottom","BorderRight","columnSpan","tagliaInfo","_tagliaInfo$tag","getTableInfo","dangerouslySetInnerHTML","__html","DesWeb","_variations$numTaglie","onlyPromo","calcolaColoreCella","onPlusMinusClick","bPlus","bMsg","idArt","confirmAll","addedAtLeastOne","s","clearAll","isTooDark","hexcolor","checkVisibility","conta","maxWidth","_single$size2","contaPromo","paddingTop","_s$tag","qtaInCarrello","backgroundRepeat","priceOld","paddingBottom","IdDetCliRef","Risposta","inserisciInPromemoria","BsEnvelope","data-size","data-color","data-type","clearAllVar","aria-label","data-toggle","sortType","sortValue","filterSortType","filterSortValue","totPages","setTotPages","setSortedProducts","book","useParams","sortedProducts","getSortedProducts","filterSortedProducts","interval","setInterval","pageFlip","clearInterval","flipNext","onKeyPressed","keyCode","flipPrev","addEventListener","pagine","onFlip","getPageCount","catalog","società","BreadcrumbsItem","headerTop","footerTop","HTMLFlipBook","minHeight","maxHeight","maxShadowOpacity","showCover","mobileScrollSupport","useMouseEvents","data-density","Magnifier","padStart","mgWidth","mgHeight","mgShape","chisiamo","imageUnionCart","SectionTitleWithText","imageAbout","BannerOne","FeatureIcon","TeamMemberOne","BrandLogoSliderOne","BannerOneSingle","subtitle","SectionTitleTwo","titleText","subTitleText","positionClass","spaceClass","BrandLogoOneSingle","Name","setfName","Mail","setfMail","Oggetto","setfObject","Message","setfMessage","ElementiInseriti","Nome","EMail","Messaggio","ritorno","VerificaCampiObbligatori","sendMail","Errrore","valore","LocationMap","latitude","longitude","whatsapp","facebook","instagram","indirizzoSedeLegale","localitàSedeLegale","businessHours","nomeField","requiredField","L","Icon","Default","_getIconUrl","mergeOptions","iconRetinaUrl","iconUrl","shadowUrl","FooterMap","iframeLocation","allowfullscreen","loading","submitImage","URL","createObjectURL","files","file","nameFile","Promise","resolve","reject","reader","FileReader","readAsDataURL","onload","onerror","nameFileNew","uploadFile","my_account","Card","Header","Toggle","accept","click","RagSoc","nome","CodFis","CodDes","EMailPec","Ind","Loc","Cap","Pro","maxLength","Nom","Cog","SitWeb","Tel","Cel","Elemento","valueFields","field","passwordnew","TipoCambio","caricaCredenzialiCambioDati","changeData","currentPassword","newPassword","caricaCredenzialiCambioPassword","Article","_templateObject2","Prop","_templateObject3","_templateObject4","email","setEmail","submitForgotPassword","ReactLoading","setPassword","setConfirmPassword","scad","setScad","idDetCliRef","setIdDetCliRef","atob","minlength","required","pass","confPass","alert","changePassword","adjustCartForCheckOut","decrementQty","removeAllFromCart","inCaricamentoCheckOut","readOnly","cartItemStock","borderRightWidth","borderRightStyle","borderRightColor","backgroundAttachment","textAlignLast","removeAllFromWishlist","visible","_product$variation$","_product$variation$2","_product","_product$variation$3","_product$variation$4","nascondiModal","_modalShow$product","cartItemsAll","_pagamenti$find","setCartItems","isCaricamento","setIsCaricamento","setDisable","originalSede","sede","setSede","spedizioni","pagamenti","idCli","idDetCliSed","TotSpeSpe1","TotSpeInc1","TotSpeSpe2","TotSpeInc2","TotSpeImb1","TotSpeImb2","cliente","localita","speTra","setSpeTra","setShowDialogSpedizioni2maggio","showDialogProssimoRitiro","setShowDialogProssimoRitiro","addresses","setAddresses","_useState21","_useState22","address","_useState23","_useState24","dataRitiro","setDataRitiro","_useState25","_useState26","datesForDisable","setDatesForDisable","_useState27","_useState28","datesForEnable","setDatesForEnable","hd","Holidays","_useState29","_useState30","proxRitiro","setProxRitiro","_useState31","_useState32","setError","_useState33","_useState34","errorMessage","setErrorMessage","_useState35","setShow","_useState36","_useState37","dateCaricate","setDateCaricate","_useState38","pagamento","pagCli","IdPag","_useState39","setPagamento","itemsNoSco","_useState40","_useState41","_useState42","_useState43","ord1","ord2","colors1","active","checkAddress","results","inviaOrdine","_document$getElementB","rec","_document$getElementB2","Cliente","IdCli","IDDetCliSed","IndSed","CAP","NAZ","IDLoc","IdLoc","Des2","Num","Carrello","Documento","getBoundingClientRect","ModConsegna1","ModConsegna2","scrollY","format","DataRitiro","getTotYellow","getTotPre","AttendiInArrivo","Note1","Note2","Note3","TotSpeTra1","TotSpeTra2","IDModPag","flgWebPos","fetchSendCheckout","sleep","getTotGreen","qtyOK","qtyArr","qtyPre","getTotRed","qtyNO","getTotPriceGreen","totPrice","calcolaPrezzo","priceNoSco","priceIva","getTotPriceYellow","getTotPricePre","ModalProssimoOrdineRitiro","toLocaleDateString","isDisabled","date","getDay","datepart","getTime","isHoliday","toDateString","dateComp","setDate","getDate","numGiorniLavorativi","prezzoNoSco","prezzoSco","itemS","pre","checkout","dessedcli","Autocomplete","options","autoHighlight","getOptionLabel","option","address_line1","renderOption","renderInput","TextField","inputProps","autoComplete","Email","elementi","getElementsByClassName","input","popup","sco3","sco4","substring","tipoSconto","borderTop","DateAbilitate","Data","ProxRit","replaceAll","filtered","calcolaDate","Des","LocalizationProvider","dateAdapter","AdapterDateFns","localeText","itIT","locale","adapterLocale","DatePicker","newError","onBeforeInput","label","disablePast","disableHighlightToday","shouldDisableDate","slotProps","layout","sx","InputProps","CircularProgress","DesPag","showModalCustomer","setShowModalCustomer","showModalSedi","setShowModalSedi","customerArray","setCustomerArray","modalTitle","setModalTitle","setOnClick","IdDetCliSed","setIdDetCliSed","setIdCli","sedi","setSedi","setinCaricamentoCheckOut","goToCheckOut","setGoToCheckout","caricaAnagrafica","risultatoAnagrafica","fetchAnagrafica","Anagrafica","SegliAnagrafica","Sedi","sediLocal","ScegliSede","AggiustaCarrello","_ref3","_callee2","_risultatoCarrello","_risultatoCarrello2","risultatoCarrello","pcartData","condizioni","_context2","qty","fetchSendCartData","cond","itemC","itemCs","priceSco","itemSenzaSconto","priceScoPre","Sco","priceScoLis","Pre","removeItem","spedizione","totSpeTra1","totSpeTra2","totSpeInc1","totSpeInc2","totSpeImb1","totSpeImb2","Pagamenti","right","bottom","CustomerModal","align","useStyles","makeStyles","root","flexGrow","mymodal","_React$useState","_React$useState2","setValue","classes","docs","setDocs","wait","fetchAnagraficaWithResult","TabPanel","other","_objectWithoutProperties","_excluded","hidden","aria-labelledby","Box","openWindowWithPost","url","form","onsubmit","submit","removeChild","Docs","my_documents","dialogClassName","AppBar","Tabs","indicatorColor","textColor","TabIndicatorProps","MaterialTable","actions","icon","tooltip","rowData","endpointBaseReport","iddocven","localization","pagination","labelDisplayedRows","labelRowsPerPage","labelRowsSelect","toolbar","nRowsSelected","searchTooltip","searchPlaceholder","header","emptyDataSourceMessage","filterRow","filterTooltip","columns","currencySetting","currencyCode","minimumFractionDigits","maximumFractionDigits","doc","FlgOrdine","detailPanel","patIma","Sco1","ScoLir","det","pageSize","actionsColumnIndex","_rowData$DesVet","_rowData$DesVet2","DesVet","_rowData$DesVet3","_rowData$DesVet4","_rowData$DesVet5","_rowData$DesVet6","filtro_codice","mode","numero_spedizione","numOrd","datDoc","slice","pagina","tipo_codice","DocMit","KSU","codArt","listino","setListino","IDLis","my_pricelist","download","URLSearchParams","get","setSortType","setSortValue","setFilterSortType","setFilterSortValue","currentData","setCurrentData","setPageLimit","showDialogPromoSummer2022","setShowDialogPromoSummer2022","screen","ModalPromoSummer2022","closeModalPromoSummer2022","closeDialogUpdate","thrUpdPro","fetchProductsNoResult","items","itemsFromAPI","itemsNoParsed","recommendedProducts","_r","_item","idArtBas","_rr","itemsDescription","itemsDescriptionNoParsed","timer","getSortedProductsNew","LayoutThree","sortValuesLocal","animateScroll","scrollToTop","numSlot","setNumSlot","dateAbilitate","setDateAbilitate","NumSlot","backgroundBlendMode","utentiAbilitatiConfRitiro","editable","onRowDelete","oldData","dataDelete","tableData","splice","DataRitiroDisabilitata","onRowAdd","newData","dateTimePickerLocalization","editRow","deleteText","dateSetting","NumRit","BannerModel","bannerName","bannerImageScrollNew","timeStamp","headImage","buttonCaption","imageX","defaultBanner","TipoBanner","StyledListItem","ListItem","textDecoration","palette","pointerEvents","PersonalizeBannersSidebarContent","allBanners","setDefaultBanner","setDefaultBannerNoLog","tipoBanner","newBanner","currentBannerTimeStamp","List","_element","_element$bannerImageS","_element$bannerImageS2","_tipoBanner$find","button","ListItemText","primary","secondary","_tipoBanner","ev","stopPropagation","defaultBannerNoLog","tutorial","frameborder","allow","referrerpolicy","endPointBaseUrl","setElements","rows","cols","newElement","setNewElement","setAllBanners","getBanners","endPoint","axios","post","giveBanner","response","errore","_response$data","parsedData","_banner","updateGridElement","gridIndex","cellIndex","componentType","bannerIndex","updatedElements","selectedBanner","cells","fileToBase64","exportJson","jsonBlob","Blob","sendHomePage","isNoLogHomepage","record","_response$data2","updateGridDimensions","grid","uploadNew","risultato","catch","_callee3","_e$target","_e$target$files","_e$target$files$","_e$target2","_e$target2$files","_context3","_ref4","uploadedFile","isFolder","caricaSuDatabase","esito","linkFile","_x7","_x2","_x3","_x4","_x5","_x6","onMouseOver","onMouseOut","htmlFor","importedData","readAsText","overflow","el","_","gridTemplateRows","cell","boxSizing","searchable","productIndex","newCells","widthPercent","reduce","acc","handleWidthChange","SectionTitle","settings","grabCursor","ProductGrid","GridRenderer","grids","gridTemplate","RenderCell","ImageComponent","CarouselComponent","ArticoloComponent","YouTubeBackground","videoId","HomeCarousel","_ref5","prod","ShopProducts","oneProduct","homePageNow","setHomePageNow","endPointBaseImage","urlRedirectAfterLogin","currencyName","currencyReducer","compareReducer","ADD_TO_COMPARE","REMOVE_FROM_COMPARE","userReducer","FETCH_USER_SUCCESS","productsReducer","REFRESH_PRODUCT_VARIATION","FETCH_PRODUCTS_SUCCESS","payload2","ADD_REVIEW_TO_PRODUCT","Vuoto","prop","Ciao","rootReducer","combineReducers","createMultilanguageReducer","currentLanguageCode","Boolean","hostname","middlewares","store","configureStore","reducer","middleware","getDefaultMiddleware","immutableCheck","serializableCheck","devTools","asyncReducers","injectReducer","replaceReducer","ReactDOM","Provider","App","navigator","serviceWorker","ready","registration","unregister","ProductRating","cartitems","setQuery","toLowerCase","refreshState","setRefreshState","tokenString","getToken","userToken","finalProducts","newProducts","new","saleCount","altdat2","productInCart","fields","prods","filterProds","trovatoCorrispondenza","_sortValues$size","_sortValues$color","seasons","sortProducts","getUniqueElemArray","self","productCategories","productSubCategories","productbrands","productTemplates","productSeasons","productTags","hexToHSL","hex","delta","abs","getHue","productColors","addedColorSiglas","Set","colorString","has","fullString","withHexColor","withoutHexColor","localeCompare","productSizes","elem","setUserName","setLocalita","sedeOperativa","setSedeOperativa","sessioneScaduta","setSessioneScaduta","tab","setTab","useLocation","caricaCredenzialiRegistrazione","LocSedLeg","ProSedLeg","CapSedLeg","LocSedOpe","ProSedOpe","CapSedOpe","controllaForm","Pec","indSedLeg","queryParams","tabParam","handleRegistrati","credenziali","risultatoRegistrati","fetchRegistrati","_risultatoUser$user","_risultatoUser$user3","passwordErrata","_risultatoUser$user2","login_register","activeKey","onSelect","pattern","HeroSliderOneSingle","_data$url","_data$url2","_data$image","speed","autoplay","delay","disableOnInteraction","watchSlidesVisibility","FeatureIconSingle","singleFeature","featureIconData","headerContainerClass","headerBorderStyle","headerPaddingClass","HeaderOne","borderStyle","FooterMobile","FooterTwo","backgroundColorClass","spaceLeftClass","spaceRightClass","footerTopBackgroundColorClass","footerTopSpaceTopClass","footerTopSpaceBottomClass","_product$price","_product$variation$5","lenght","fproductCartQty","breakpoints","1024","768","640","320","brandLogoData","jM1","ImageMapper","onLoad","area","navigateTo","qString","clickMapBanner","areas","DefaultSettingsT","autoPlay","duration","navButtonsAlwaysVisible","navButtonsAlwaysInvisible","cycleNavigation","fullHeightHover","swipe","indicators","indicatorContainerProps","itemConvert","_heroSliderData","footer","product6","_history","BannerItem","itemProps","Carousel","previous","noItems","overflowY","overflowX","scrollbarWidth","ProductgridList","routeParams","setLayout","setPromo","jNew","decodeURIComponent","_jNew","_brands","_category","_subcategory","_templates","_tag","_size","_color","sBrands","sCategory","sSubcategory","sTemplates","sTag","sSize","sColor","newJRouteParams","newFilterString","_sortValues","_sp","newUrl","baseURL","some","isConsigliati","_cp","_products","_sortedProducts","altdat3","itemsFromAPINorecomended","_products$condizioni","_products$ultimiPrezz","prodottiRestituiti","descrizioni","refreshPrice","applicaCondizioniParticolariNew","ultimiPrezzi","applicaUltimiPrezzi","aggiustaNomiImmagini","_products$condizioni2","_products$ultimiPrezz2","preLis","ultimoPrezzo","IDART","ULTPRE","lastElement","pop","unshift","condizione","priceScoCondizione","priceScoRapporto","priceScoListino","priceListino","prezzoMin","prezzoMax","bannerSchema","yup","_errors$level","defaultValues","setTimeStampForm","methods","useForm","resolver","yupResolver","formState","reset","watch","trigger","getValues","isValid","dirtyFields","errors","tipo","immagineClick","setImmagineClick","inSalvataggio","setInSalvataggio","noRouteNavigate","setNoRouteNavigate","tsRoute","currentBanner","updateFormBanner","cambiaImmagineClick","_values","errorDescription","setBanners","_default","newBanners","_noRoute","bannerToSend","returnValue","_timeStamp","savedBanner","_allBanners","navigateTO","_callee5","_e$target$files2","_e$target$files2$","elementName","newA","_context5","_callee4","nuovo","_context4","setHeroSliderData","changebannerImageScroll","photoOnClick","deletebannerImageScroll","jSonToTrash","newValues","newJValue","firstValues","lastValues","_index","_bannerImageScroll","_newValue","_new","getBannerList1","_form$bannerImageScro","_ref6","clicked","Controller","_ref7","_ref8","_ref9","getBannerList2","_form$bannerImageScro2","_ref10","_ref11","_ref12","_ref13","_callee6","defaultTimeStamp","isDefault","modifiedBanner","_context6","_x8","_x9","_ref14","_callee7","_context7","_x10","_x11","_url","redirectUrl","destinaTionLink","isEmpty","FormControl","InputLabel","_ref15","Select","labelId","MenuItem","FormHelperText","level","message","_ref16","_errors$bannerName","helperText","useMemo","getBannerList","HomeBanner","PageBuilder","_selectedProductColor","_selectedProductColor2","addeds_to_cart","itemToAdd","chisiamoText1","chisiamoText2","chisiamoText3","chisiamoText4","chisiamoText5","chisiamoText6","chisiamoText7","chisiamoText8","chisiamoText9","chisiamoText10","chisiamoFirma","chisiamoFirma1","bannerData","teamMemberData","TeamMemberOneSingle","teamMemberDataMondoCarta","scroll","setScroll","setHeaderTop","_useFocusMobile","_useFocusMobile2","inputRefMobile","handleScroll","removeEventListener","backgroudMenu","logoUrl","textOverflow","NavMenu","IconGroup","refSearch","MobileMenu","pulse","keyframes","Highlight","span","setTop","slogan","indirizzoSedeOperativa","localitàSedeOperativa","piva","getFullYear","wichMenu","home","about","contact","flexWrap","spanStyle","selezionato","borderWidth","fullWisth","_product$variation$fi","_product$variation$fi2","_product$variation$fi3","_product$variation$fi4","_product$variation$fi5","_product$tag","firstColorIndex","setFirstColorIndex","_product$variation$fi6","_product$variation$fi7","_product$variation$fi8","_product$price2","_product$variation$fi9","_product$variation$fi10","_colorProduct$size","_tagliaInfo$tag2","withoutAppOrder","_result$user","_result$user$jsonVend","_result$user2","_result$user2$cart","_result$user3","_result$user3$wishlis","utenteRestituito","ProductGridListSingle","alignContent","iframeRef","setHeight","setWidthInPixels","resizeIframe","calculatedWidth","innerWidth","frameBorder","allowFullScreen","ProductImageGalleryLeftThumb","direction","1200","992","mail2","not_found","MobileSearch","autofocus","offCanvasNav","offCanvasNavSubMenu","anchorLinks","insertAdjacentHTML","menuExpand","numMenuExpand","sideMenuExpand","closeMobileMenu","parentElement","MobileMenuSearch","MobileNavMenu","ms"],"mappings":"kHAAA,oCAoBeA,IAhBI,WACjB,OACEC,IAAAC,cAAA,OAAKC,UAAU,yCACbF,IAAAC,cAAA,OAAKC,UAAU,aACbF,IAAAC,cAAA,OAAKC,UAAU,kCACbF,IAAAC,cAACE,cAAW,CACVC,UAAWJ,IAAAC,cAAA,YAAM,KACjBI,KAAMC,IACNC,UAAW,c,6FCFjBC,EAAY,GACZC,EAAW,SAACC,GAChB,IAAIC,EACF,UACAC,KAAKC,UAAUH,GACf,WACAI,aAAaC,QAAQ,eACrB,IAIEC,EAAWC,EAAOD,SAAW,qBACjCE,MAAMF,EAAU,CACdG,OAAQ,OACRC,QAAS,IAAIC,QAAQ,CACnB,eAAgB,sCAElBV,KAAMA,EACNW,iBAAiB,IAEhBC,MAAK,SAACC,GAAG,OAAKA,EAAIC,UAClBF,MAAK,SAACG,QAmLIC,IAjLK,WAAgC,IAA/BC,EAAKC,UAAAC,OAAA,QAAAC,IAAAF,UAAA,GAAAA,UAAA,GAAGrB,EAAWwB,EAAMH,UAAAC,OAAA,EAAAD,UAAA,QAAAE,EACxCE,EAAYL,EACdM,EAAUF,EAAOG,QAGfC,EAAQC,eAAetB,QAAQ,YACrB,cAAVqB,IAAuBA,EAAQ,MACnC,IAAME,EAAWF,EAAQxB,KAAK2B,MAAMH,GAAS,GAE7C,OAAQJ,EAAOQ,MACb,KAAKC,IACHR,EAAYC,EACZ,MACF,KAAKQ,IAEHT,EAAYA,EAAUU,KAAI,SAACtC,GAAI,OAE7BA,EAAKuC,aAA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AAS,wBAAyB,CAChCowB,WAAY,UACZC,aAAa,IAGjBxwB,EAAS,CAAEzD,KAAM0C,EAAiB/C,QAAS9B,MAKlCkV,EAAqB,SAAClV,EAAM+F,GACvC,OAAO,SAAAH,GACDG,GACFA,EAAS,wBAAyB,CAChCowB,WAAY,UACZC,aAAa,IAGjBxwB,EAAS,CAAEzD,KAAM4C,EAAsBjD,QAAS9B,MAKvCqwC,EAAwB,SAAAtqC,GACnC,OAAO,SAAAH,GACDG,GACFA,EAAS,gCAAiC,CACxCowB,WAAY,QACZC,aAAa,IAGjBxwB,EAAS,CAAEzD,KAAM6C,Q","file":"static/js/main.14ea3317.chunk.js","sourcesContent":["import React from \"react\";\r\nimport { NavLink } from \"react-router-dom\";\r\nimport { Breadcrumbs } from \"react-breadcrumbs-dynamic\";\r\n\r\nconst Breadcrumb = () => {\r\n return (\r\n
\r\n
\r\n
\r\n /}\r\n item={NavLink}\r\n finalItem={\"span\"}\r\n />\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default Breadcrumb;\r\n","import uuid from \"uuid/v4\";\r\nimport {\r\n ADD_TO_CART,\r\n ADJUST_CART_FOR_CHECKOUT,\r\n DECREMENT_QTY,\r\n REMOVE_FROM_CART,\r\n REMOVE_ALL_FROM_CART,\r\n SAVE_CART,\r\n} from \"../actions/cartActions\";\r\n\r\nconst initState = [];\r\nconst saveCart = (cart) => {\r\n var body =\r\n \"{cart:'\" +\r\n JSON.stringify(cart) +\r\n \"',IDRef:\" +\r\n localStorage.getItem(\"IDDetCliRef\") +\r\n \"}\";\r\n //console.log(credentials);\r\n //console.log(body);\r\n\r\n var endpoint = global.endpoint + \"/pegaso/updateCart\";\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({\r\n \"Content-Type\": \"application/x-www-form-urlencoded\",\r\n }),\r\n body: body,\r\n withCredentials: false,\r\n })\r\n .then((res) => res.json())\r\n .then((result) => {});\r\n};\r\nconst cartReducer = (state = initState, action) => {\r\n var cartItems = state,\r\n product = action.payload;\r\n //console.log(action.type)\r\n\r\n var _sper = sessionStorage.getItem(\"personal\");\r\n if (_sper === \"undefined\") _sper = null;\r\n const personal = _sper ? JSON.parse(_sper) : {};\r\n\r\n switch (action.type) {\r\n case SAVE_CART:\r\n cartItems = product;\r\n break;\r\n case ADJUST_CART_FOR_CHECKOUT:\r\n //console.log(product);\r\n cartItems = cartItems.map((item) =>\r\n //item.cartItemId === product.cartItemId ? console.log(product) : console.log(item)\r\n item.cartItemId === product.cartItemId ? product : item\r\n );\r\n saveCart(cartItems);\r\n break;\r\n case ADD_TO_CART:\r\n // for non variant products\r\n var noSco = false;\r\n var productNoSco = JSON.parse(sessionStorage.getItem(\"itemsNoSco\") != \"undefined\"\r\n ? sessionStorage.getItem(\"itemsNoSco\")\r\n : \"[]\");\r\n if (productNoSco?.find((p) => p.IDArtBas === product.id)) noSco = true;\r\n\r\n if (product.variation === undefined || product.variation.length == 0) {\r\n const cartItem = cartItems.filter((item) => item.id === product.id)[0];\r\n if (cartItem === undefined) {\r\n cartItems = [\r\n ...cartItems,\r\n {\r\n ...product,\r\n quantity: product.quantity ? product.quantity : 1,\r\n cartItemId: uuid(),\r\n sco1:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S1 : 0,\r\n sco2:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S2 : 0,\r\n },\r\n ];\r\n } else {\r\n cartItems = cartItems.map((item) =>\r\n item.cartItemId === cartItem.cartItemId\r\n ? {\r\n ...item,\r\n quantity: product.quantity\r\n ? parseInt(item.quantity) + parseInt(product.quantity)\r\n : parseInt(item.quantity) + 1,\r\n sco1:\r\n personal && personal.TipLis == 4 && !noSco\r\n ? personal.S1\r\n : 0,\r\n sco2:\r\n personal && personal.TipLis == 4 && !noSco\r\n ? personal.S2\r\n : 0,\r\n }\r\n : item\r\n );\r\n }\r\n // for variant products\r\n } else {\r\n const cartItem = cartItems.filter(\r\n (item) =>\r\n item.id === product.id &&\r\n product.selectedProductColor &&\r\n product.selectedProductColor.split(\"-\")[0] ===\r\n item.selectedProductColor.split(\"-\")[0] &&\r\n product.selectedProductSize &&\r\n product.selectedProductSize === item.selectedProductSize &&\r\n (product.cartItemId ? product.cartItemId === item.cartItemId : true)\r\n )[0];\r\n const variation = product.variation.filter(\r\n (item) =>\r\n product.selectedProductColor &&\r\n product.selectedProductColor === item.color\r\n )[0];\r\n if (cartItem === undefined) {\r\n cartItems = [\r\n ...cartItems,\r\n {\r\n ...product,\r\n variation: [variation],\r\n quantity: product.quantity ? product.quantity : 1,\r\n cartItemId: uuid(),\r\n sco1:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S1 : 0,\r\n sco2:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S2 : 0,\r\n },\r\n ];\r\n } else if (\r\n cartItem !== undefined &&\r\n (cartItem.selectedProductColor.split(\"-\")[0] !==\r\n product.selectedProductColor.split(\"-\")[0] ||\r\n cartItem.selectedProductSize !== product.selectedProductSize)\r\n ) {\r\n cartItems = [\r\n ...cartItems,\r\n {\r\n ...product,\r\n variation: [variation],\r\n quantity: product.quantity ? product.quantity : 1,\r\n cartItemId: uuid(),\r\n sco1:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S1 : 0,\r\n sco2:\r\n personal && personal.TipLis == 4 && !noSco ? personal.S2 : 0,\r\n },\r\n ];\r\n } else {\r\n cartItems = cartItems.map((item) =>\r\n item.cartItemId === cartItem.cartItemId\r\n ? {\r\n ...item,\r\n quantity: product.quantity\r\n ? parseInt(item.quantity) + parseInt(product.quantity)\r\n : parseInt(item.quantity) + 1,\r\n variation: [variation],\r\n selectedProductColor: product.selectedProductColor,\r\n selectedProductSize: product.selectedProductSize,\r\n sco1:\r\n personal && personal.TipLis == 4 && !noSco\r\n ? personal.S1\r\n : 0,\r\n sco2:\r\n personal && personal.TipLis == 4 && !noSco\r\n ? personal.S2\r\n : 0,\r\n }\r\n : item\r\n );\r\n }\r\n }\r\n saveCart(cartItems);\r\n break;\r\n case DECREMENT_QTY:\r\n if (product.quantity === 1) {\r\n const remainingItems = (cartItems, product) =>\r\n cartItems.filter(\r\n (cartItem) => cartItem.cartItemId !== product.cartItemId\r\n );\r\n cartItems = remainingItems(cartItems, product);\r\n } else {\r\n cartItems = cartItems.map((item) =>\r\n item.cartItemId === product.cartItemId\r\n ? { ...item, quantity: item.quantity - 1 }\r\n : item\r\n );\r\n }\r\n saveCart(cartItems);\r\n break;\r\n case REMOVE_FROM_CART:\r\n const remainingItems = (cartItems, product) =>\r\n cartItems.filter(\r\n (cartItem) => cartItem.cartItemId !== product.cartItemId\r\n );\r\n cartItems = remainingItems(cartItems, product);\r\n saveCart(cartItems);\r\n break;\r\n case REMOVE_ALL_FROM_CART:\r\n cartItems = cartItems.filter((item) => {\r\n return false;\r\n });\r\n saveCart(cartItems);\r\n break;\r\n default:\r\n cartItems = state;\r\n }\r\n\r\n return cartItems;\r\n};\r\n\r\nexport default cartReducer;\r\n","import {\r\n SAVE_WISHLIST,\r\n ADD_TO_WISHLIST,\r\n REMOVE_FROM_WISHLIST,\r\n REMOVE_ALL_FROM_WISHLIST\r\n} from \"../actions/wishlistActions\";\r\n\r\nconst initState = [];\r\nconst saveWishList = (wishList) => {\r\n const credentials = {wishList, IDRef: localStorage.getItem(\"IDDetCliRef\")};\r\n const body = JSON.stringify(credentials);\r\n //console.log(credentials);\r\n //console.log(body);\r\n\r\n var endpoint = global.endpoint + \"/pegaso/updateWishList\";\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({ \"Content-Type\": \"application/x-www-form-urlencoded\", }),\r\n body: body,\r\n withCredentials: false,\r\n })\r\n .then((res) => res.json())\r\n .then(\r\n (result) => {\r\n\r\n }\r\n )\r\n}\r\n\r\nconst wishlistReducer = (state = initState, action) => {\r\n const wishlistItems = state,\r\n product = action.payload;\r\n let _newState;\r\n switch (action.type) {\r\n\r\n\r\n case SAVE_WISHLIST:\r\n //saveWishList(_newState);\r\n return product;\r\n case ADD_TO_WISHLIST:\r\n const wishlistItem = wishlistItems.filter(\r\n item => item.id === product.id\r\n )[0];\r\n _newState = (wishlistItem === undefined) ? [...wishlistItems, product] : wishlistItems;\r\n saveWishList(_newState);\r\n return _newState;\r\n case REMOVE_FROM_WISHLIST:\r\n const remainingItems = (wishlistItems, product) =>\r\n wishlistItems.filter(wishlistItem => wishlistItem.id !== product.id);\r\n _newState = remainingItems(wishlistItems, product);\r\n saveWishList(_newState);\r\n return _newState;\r\n case REMOVE_ALL_FROM_WISHLIST:\r\n return wishlistItems.filter(item => {\r\n return false;\r\n });\r\n\r\n default:\r\n return wishlistItems;\r\n }\r\n};\r\n\r\nexport default wishlistReducer;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState, useEffect } from \"react\";\r\nimport ScrollToTop from \"./helpers/scroll-top\";\r\nimport { BrowserRouter, Switch, Route, useHistory } from \"react-router-dom\";\r\nimport { ToastProvider } from \"react-toast-notifications\";\r\nimport { multilanguage, loadLanguages } from \"redux-multilanguage\";\r\nimport { connect, useDispatch } from \"react-redux\";\r\nimport { BreadcrumbsProvider } from \"react-breadcrumbs-dynamic\";\r\nimport { Navigate } from \"react-router-dom\";\r\n\r\n//import { createBrowserHistory } from \"history\";\r\n// home pages\r\nimport HomeFashion from \"./pages/home/HomeFashion\";\r\n//import HomeElectronics from \"./pages/home/HomeElectronics\";\r\n//import HomeFurniture from \"./pages/home/HomeFurniture\";\r\n//import HomePlants from \"./pages/home/HomePlants\";\r\n//import HomeOrganicFood from \"./pages/home/HomeOrganicFood\";\r\n\r\n// shop pages\r\n//import ShopGridStandard from \"./pages/shop/ShopGridStandard\";\r\n//import ShopGridFilter from \"./pages/shop/ShopGridFilter\";\r\n//import ShopGridTwoColumn from \"./pages/shop/ShopGridTwoColumn\";\r\n//import ShopGridNoSidebar from \"./pages/shop/ShopGridNoSidebar\";\r\nimport ShopGridFullWidth from \"./pages/shop/ShopGridFullWidth\";\r\n//import ShopGridRightSidebar from \"./pages/shop/ShopGridRightSidebar\";\r\n//import ShopListStandard from \"./pages/shop/ShopListStandard\";\r\n//import ShopListFullWidth from \"./pages/shop/ShopListFullWidth\";\r\n//import ShopListTwoColumn from \"./pages/shop/ShopListTwoColumn\";\r\n\r\n// product pages\r\nimport Product from \"./pages/shop-product/Product\";\r\n//import ProductTabLeft from \"./pages/shop-product/ProductTabLeft\";\r\n//import ProductTabRight from \"./pages/shop-product/ProductTabRight\";\r\n//import ProductSticky from \"./pages/shop-product/ProductSticky\";\r\n//import ProductSlider from \"./pages/shop-product/ProductSlider\";\r\n//import ProductFixedImage from \"./pages/shop-product/ProductFixedImage\";\r\n\r\n// blog pages\r\n//import BlogStandard from \"./pages/blog/BlogStandard\";\r\n//import BlogNoSidebar from \"./pages/blog/BlogNoSidebar\";\r\n//import BlogRightSidebar from \"./pages/blog/BlogRightSidebar\";\r\n//import BlogDetailsStandard from \"./pages/blog/BlogDetailsStandard\";\r\n\r\nimport CatalogFlip from \"./pages/shop/CatalogFlip\";\r\n\r\n// other pages\r\nimport About from \"./pages/other/About\";\r\nimport Contact from \"./pages/other/Contact\";\r\nimport MyAccount from \"./pages/other/MyAccount\";\r\nimport LoginRegister from \"./pages/other/LoginRegister\";\r\nimport ForgotPassword from \"./pages/other/forgotPassword\";\r\nimport ResetPassword from \"./pages/other/resetPassword\";\r\n\r\nimport Cart from \"./pages/other/Cart\";\r\nimport Wishlist from \"./pages/other/Wishlist\";\r\n//import Compare from \"./pages/other/Compare\";\r\nimport Checkout from \"./pages/other/Checkout\";\r\n\r\nimport NotFound from \"./pages/other/NotFound\";\r\n\r\nimport useToken from \"./hook/useToken\";\r\nimport \"./global\";\r\nimport PreCheckout from \"./pages/other/PreCheckout\";\r\nimport PrivacyPolicy from \"./pages/other/Privacy_policy\";\r\nimport MyDocuments from \"./pages/other/MyDocuments\";\r\nimport MyPriceList from \"./pages/other/MyPriceList\";\r\nimport { CircularProgress } from \"@material-ui/core\";\r\nimport { fetchUser, saveUser } from \"./redux/actions/userAction\";\r\nimport {\r\n saveProducts,\r\n saveProductsWithoutToast,\r\n fetchProducts,\r\n} from \"./redux/actions/productsAction\";\r\nimport { Modal } from \"react-bootstrap\";\r\nimport { SAVE_CART } from \"./redux/actions/cartActions\";\r\nimport { SAVE_WISHLIST } from \"./redux/actions/wishlistActions\";\r\nimport ShopCatalogueFlip from \"./pages/shop/ShopCatalogueFlip\";\r\nimport { resetCookieConsentValue } from \"react-cookie-consent\";\r\nimport Ritiri from \"./pages/other/Ritiri\";\r\nimport CondizioniVendita from \"./pages/other/CondizioniVendita\";\r\nimport PersonalizzaBanners from \"./backconfig/banner/PersonalizzaBanners\";\r\nimport Tutorial from \"./pages/other/Tutorial\";\r\nimport { Redirect } from \"react-router-dom/cjs/react-router-dom\";\r\n//import ForSaveTmp from \"./pages/other/ForSaveTmp\";\r\nimport \"./style.css\";\r\nimport Colors from \"./pages/other/Colors\";\r\nimport PersonalizzaHomepage from \"./backconfig/homepage/PersonalizzaHomepage\";\r\nconst inManutenzione =\r\n window[\"configPegaso\"].inManutenzione ||\r\n (Date.now() > window[\"configPegaso\"].inManutenzioneDal &&\r\n Date.now() < window[\"configPegaso\"].inManutenzioneAl); // 'https://pegaso3cloudApi.pegasogest.it/api/pegasoCloud';\r\nconst timerLogin = window[\"configPegaso\"].timerLogin;\r\n\r\nconst App = ({ location, products, userData }) => {\r\n const isLoggedUser =\r\n userData?.user?.user &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge)\r\n ? true\r\n : false;\r\n const visualizzaPrezzi = isLoggedUser || global.visualizzaPrezziLogOut;\r\n const visualizzaGriglia = isLoggedUser || global.visualizzaGrigliaLogOut;\r\n const visualizzaQuantita = isLoggedUser || global.visualizzaQuantitaLogOut;\r\n const prodottiSenzaLogin = global.prodottiSenzaLogin;\r\n\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const [showDialogUpdate, setShowDialogUpdate] = useState(false);\r\n const [refreshCheckout, setRefreshCheckout] = useState(false);\r\n\r\n const { token, setToken, setLastLogin, removeToken, setRefresh } = useToken();\r\n const [showDialogManutenzione, setShowDialogManutenzione] = useState(\r\n inManutenzione == 1 ? true : false\r\n );\r\n const closeDialogUpdate = () => {\r\n setShowDialogUpdate(false);\r\n };\r\n\r\n useEffect(() => {\r\n if ((products.length = 0)) {\r\n //history.push(\"/login\")\r\n }\r\n if (!sessionStorage.getItem(\"personal\")) {\r\n //sessionStorage.setItem(\"token\", 0)\r\n }\r\n dispatch(\r\n loadLanguages({\r\n languages: {\r\n it: require(\"./translations/italian.json\"),\r\n /*en: require(\"./translations/english.json\"),\r\n fn: require(\"./translations/french.json\"),\r\n de: require(\"./translations/germany.json\")*/\r\n },\r\n })\r\n );\r\n\r\n handleSubmit();\r\n return;\r\n }, []);\r\n\r\n const clearCacheData = () => {\r\n try {\r\n caches.keys().then((names) => {\r\n names.forEach((name) => {\r\n caches.delete(name);\r\n });\r\n });\r\n } catch (error) {}\r\n\r\n resetCookieConsentValue();\r\n const cookies = document.cookie.split(\";\");\r\n //console.log(cookies)\r\n for (let i = 0; i < cookies.length; i++) {\r\n const cookie = cookies[i];\r\n const eqPos = cookie.indexOf(\"=\");\r\n const name = eqPos > -1 ? cookie.substr(0, eqPos) : cookie;\r\n document.cookie = name + \"=;expires=Thu, 01 Jan 1970 00:00:00 GMT\";\r\n }\r\n console.log(\"Complete Cache Cleared\");\r\n };\r\n\r\n const canRefreshProduct = () => {\r\n const _pathLocation = window.location.pathname;\r\n if (_pathLocation.includes(\"personalizza\")) return false;\r\n return true;\r\n };\r\n\r\n useEffect(() => {\r\n clearCacheData();\r\n //handleSubmit()\r\n }, [window.location]);\r\n\r\n useEffect(() => {\r\n sessionStorage.setItem(\"First\", 1);\r\n }, []);\r\n\r\n const handleSubmit = async (e) => {\r\n if (inManutenzione) return;\r\n\r\n const time = Date.now() - window.localStorage.getItem(\"lastLogin\");\r\n console.log(time > timerLogin);\r\n if (time > global.timerLogin) {\r\n if (localStorage.getItem(\"token\") != \"0\") {\r\n setToken(0);\r\n //history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width?name=\" + queryText)\r\n window.location.replace(\r\n process.env.PUBLIC_URL + \"/shop-grid-full-width\"\r\n );\r\n return;\r\n }\r\n }\r\n\r\n var username = localStorage.getItem(\"username\");\r\n var password = localStorage.getItem(\"password\");\r\n var credentials = { username, password };\r\n\r\n var risultatoUser = username\r\n ? await fetchUser({ username, password })\r\n : { user: { IDCli: 0, IDAge: 0 } };\r\n dispatch(saveUser(risultatoUser));\r\n if (risultatoUser.user.cart)\r\n dispatch({\r\n type: SAVE_CART,\r\n payload:\r\n risultatoUser.user.cart /*JSON.parse(risultatoUser.user.cart) */,\r\n });\r\n if (risultatoUser.user.wishlist)\r\n dispatch({\r\n type: SAVE_WISHLIST,\r\n payload:\r\n risultatoUser.user.wishlist /*JSON.parse(risultatoUser.user.cart) */,\r\n });\r\n var jUser = risultatoUser?.user;\r\n\r\n if (\r\n canRefreshProduct() ||\r\n !products ||\r\n !products.item ||\r\n products?.item?.length() === 0\r\n ) {\r\n setShowDialogUpdate(true);\r\n var risultatoProducts = await fetchProducts({\r\n ...credentials,\r\n recommended: jUser?.jsonVendite,\r\n });\r\n var Errore = risultatoProducts?.Errore;\r\n if (Errore && Errore != \"\") return;\r\n dispatch(saveProductsWithoutToast(risultatoProducts));\r\n }\r\n\r\n setShowDialogUpdate(false);\r\n setRefresh(false);\r\n setRefreshCheckout(false);\r\n localStorage.setItem(\"lastRefresh\", Date.now());\r\n\r\n var token = jUser ? (jUser.IDCli == 0 ? jUser.IDAge : jUser.IDCli) : \"\";\r\n\r\n setToken(token);\r\n setLastLogin();\r\n\r\n if (\r\n window.location.pathname.includes(\"checkout\") &&\r\n !window.location.pathname.includes(\"precheckout\")\r\n ) {\r\n setRefreshCheckout(true);\r\n }\r\n };\r\n var informazioniDGA = require(\"./data/informations/informazioniDGA.json\");\r\n var informazioniMondoCarta = require(\"./data/informations/informazioniMondoCarta.json\");\r\n var informazioniSpotClub = require(\"./data/informations/informazioniSPOT.json\");\r\n var informazioni = {};\r\n switch (global.aziendaID) {\r\n case 1:\r\n informazioni = informazioniDGA;\r\n break;\r\n case 2:\r\n informazioni = informazioniMondoCarta;\r\n break;\r\n case 3:\r\n informazioni = informazioniSpotClub;\r\n break;\r\n }\r\n global.informazioni = informazioni;\r\n //const [token, setToken] = useState(\"\"); non posso utilizzare gli state perkè quando aggiorno pagina perdo il login\r\n const ModalUpdate = () => {\r\n return null;\r\n return (\r\n \r\n \r\n {\" \"}\r\n \r\n

Attendi

\r\n \r\n \r\n
\r\n );\r\n };\r\n\r\n const ModalInManutenzione = () => {\r\n if (!showDialogManutenzione) return null;\r\n return (\r\n \r\n
\r\n closeDialogUpdate()}\r\n >\r\n \r\n \r\n
\r\n \r\n {\" \"}\r\n \r\n

\r\n Il sito è in manutenzione.\r\n
\r\n Ci scusiamo per il disagio.\r\n

\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n };\r\n useEffect(() => {\r\n let link = document.querySelector(\"link[rel~='icon']\");\r\n if (!link) {\r\n link = document.createElement(\"link\");\r\n link.rel = \"icon\";\r\n document.getElementsByTagName(\"head\")[0].appendChild(link);\r\n }\r\n link.href = informazioni.favicon;\r\n }, []);\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* Homepages */}\r\n\r\n {/*<>\r\n\r\n \r\n \r\n \r\n \r\n \r\n */}\r\n\r\n {/* Shop pages */}\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 {/* Other pages */}\r\n\r\n {\r\n \r\n }\r\n\r\n {global.aziendaID == 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\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 {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {!isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n (\r\n \r\n )}\r\n />\r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {isLoggedUser && (\r\n \r\n )}\r\n {!isLoggedUser && (\r\n null}\r\n />\r\n )}\r\n\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n isLoggedUser && (\r\n \r\n )\r\n }\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n isLoggedUser && (\r\n \r\n )\r\n }\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n !isLoggedUser && (\r\n (\r\n \r\n )}\r\n />\r\n )\r\n }\r\n\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n !isLoggedUser && !prodottiSenzaLogin && (\r\n (\r\n \r\n )}\r\n />\r\n )\r\n }\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n !isLoggedUser && !prodottiSenzaLogin && (\r\n (\r\n \r\n )}\r\n />\r\n )\r\n }\r\n {\r\n //(((token != undefined) && (token != \"\") && (token != \"0\") && sessionStorage.getItem(\"personal\")) && !prodottiSenzaLogin) &&\r\n !isLoggedUser && !prodottiSenzaLogin && (\r\n (\r\n \r\n )}\r\n />\r\n )\r\n }\r\n {!isLoggedUser && !prodottiSenzaLogin && (\r\n (\r\n \r\n )}\r\n />\r\n )}\r\n\r\n {(isLoggedUser || prodottiSenzaLogin) && (\r\n \r\n )}\r\n\r\n {(isLoggedUser || prodottiSenzaLogin) && (\r\n \r\n )}\r\n\r\n {(isLoggedUser || prodottiSenzaLogin) && (\r\n \r\n )}\r\n\r\n {(isLoggedUser || prodottiSenzaLogin) && (\r\n \r\n )}\r\n\r\n {\r\n /*userData.user.user?.IDCli === 41917 && */\r\n (userData?.user?.user?.IDCli &&\r\n window[\"configPegaso\"].untentiModificaBanners?.includes(\r\n localStorage.getItem(\"IDDetCliRef\")\r\n )) ||\r\n true ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n\r\n {\r\n /*userData.user.user?.IDCli === 41917 && */\r\n userData?.user?.user?.IDCli &&\r\n window[\"configPegaso\"].untentiModificaBanners?.includes(\r\n localStorage.getItem(\"IDDetCliRef\")\r\n ) ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n\r\n {\r\n /*userData.user.user?.IDCli === 41917 && */\r\n (userData?.user?.user?.IDCli &&\r\n window[\"configPegaso\"].untentiModificaBanners?.includes(\r\n localStorage.getItem(\"IDDetCliRef\")\r\n )) ||\r\n true ? (\r\n \r\n ) : (\r\n \r\n )\r\n }\r\n\r\n {\r\n /*userData.user.user?.IDCli === 41917 && */\r\n userData?.user?.user?.IDCli &&\r\n window[\"configPegaso\"].untentiModificaBanners?.includes(\r\n localStorage.getItem(\"IDDetCliRef\")\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\nApp.propTypes = {\r\n dispatch: PropTypes.func,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n products: state.productData.products,\r\n userData: state.userData,\r\n };\r\n};\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n saveUser: (user, addToast) => {\r\n dispatch(saveUser(user, addToast));\r\n },\r\n saveProducts: (products, addToast) => {\r\n dispatch(saveProducts(products, addToast));\r\n },\r\n };\r\n};\r\nexport default connect(mapStateToProps, mapDispatchToProps)(multilanguage(App));\r\n","import { useEffect } from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\n\r\nconst ScrollToTop = props => {\r\n useEffect(() => {\r\n window.scrollTo(0, 0);\r\n });\r\n return props.children;\r\n};\r\n\r\nexport default withRouter(ScrollToTop);\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst Logo = ({ imageUrl, logoClass }) => {\r\n return (\r\n
\r\n {global.aziendaID == 1 ? \r\n \"\"\r\n : \"\"}\r\n
\r\n );\r\n};\r\n\r\nLogo.propTypes = {\r\n imageUrl: PropTypes.string,\r\n logoClass: PropTypes.string\r\n};\r\n\r\nexport default Logo;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { useHistory } from \"react-router-dom/cjs/react-router-dom.min\";\r\nimport { LineWeight } from \"@mui/icons-material\";\r\nimport \"./promo.css\";\r\nconst NavMenu = ({ strings, userData }) => {\r\n ////console.log(strings);\r\n const history = useHistory();\r\n const location = window.location.pathname;\r\n const [showMenuArticoli, setShowMenuArticoli] = useState(false);\r\n const [showMenuCollezioni, setShowMenuCollezioni] = useState(false);\r\n\r\n const resetQuerySearch = (_where) => {\r\n //sessionStorage.setItem(\"filter\", JSON.stringify({})) DA ABILITARE SE VUOLE RESETTARE TUTTI I FILTRI\r\n\r\n sessionStorage.setItem(\"filter\", JSON.stringify({}));\r\n //setSortValues({})\r\n //setRefresh(!refresh)\r\n //history.push(\"/\")\r\n //setTimeout(() => history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width\"), 10);\r\n //sessionStorage.setItem(\"currentPage\", 1)\r\n\r\n localStorage.setItem(\"currentPage\", 1);\r\n setTimeout(() => history.push(\"/\"), 50);\r\n setTimeout(() => history.push(process.env.PUBLIC_URL + _where), 100);\r\n\r\n //}\r\n };\r\n\r\n const getColor = (loc) => {\r\n return location === \"/\" + loc ? \"lightblue\" : \"white\";\r\n };\r\n const handleMouseEnterArticoli = () => {\r\n setShowMenuArticoli(true);\r\n };\r\n\r\n const handleMouseLeaveArticoli = () => {\r\n setShowMenuArticoli(false);\r\n };\r\n\r\n const handleMouseEnterCollezioni = () => {\r\n setShowMenuCollezioni(true);\r\n };\r\n\r\n const handleMouseLeaveCollezioni = () => {\r\n setShowMenuCollezioni(false);\r\n };\r\n return (\r\n
\r\n
\r\n )}\r\n \r\n ) : null}\r\n\r\n {global.aziendaID == 3 ? (\r\n \r\n
  • \r\n \r\n resetQuerySearch(\"/shop-grid-full-width?name=\")\r\n }\r\n to={process.env.PUBLIC_URL + \"/shop-grid-full-width\"}\r\n style={{\r\n lineHeight: \"68px\",\r\n color: getColor(\"shop-grid-full-width\"),\r\n }}\r\n >\r\n {\"Collezioni\"}\r\n \r\n
  • \r\n {showMenuCollezioni && (\r\n \r\n {/* Prima Sezione */}\r\n
    \r\n Opzione 1\r\n Opzione 2\r\n
    \r\n \r\n \r\n )}\r\n \r\n ) : null}\r\n\r\n {global.aziendaID == 2 &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge) ? (\r\n
  • \r\n {\r\n localStorage.setItem(\"promo\", \"NO\");\r\n resetQuerySearch(\"/shop-grid-full-width\");\r\n }}\r\n to={process.env.PUBLIC_URL + \"/shop-grid-full-width\"}\r\n style={{ lineHeight: \"68px\" }}\r\n >\r\n {\"Home\"}\r\n \r\n
  • \r\n ) : null}\r\n {global.aziendaID == 2 &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge) &&\r\n userData.user.user?.showPromo == 1 ? (\r\n
  • \r\n {\r\n localStorage.setItem(\"promo\", \"SI\");\r\n resetQuerySearch(\"/shop-grid-full-width\");\r\n }}\r\n to={process.env.PUBLIC_URL + \"/shop-grid-full-width\"}\r\n style={{ lineHeight: \"68px\" }}\r\n >\r\n {\"Promo\"}\r\n \r\n
  • \r\n ) : null}\r\n {userData?.user?.user &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge) &&\r\n global.aziendaID == 1 ? (\r\n
  • \r\n resetQuerySearch(\"/consigliati?name=\")}\r\n to={process.env.PUBLIC_URL + \"/consigliati\"}\r\n style={{ lineHeight: \"68px\", color: getColor(\"consigliati\") }}\r\n >\r\n {\"Consigliati\"}\r\n \r\n
  • \r\n ) : null}\r\n\r\n {global.aziendaID == 1 || global.aziendaID == 3 ? (\r\n
  • \r\n \r\n {strings[\"catalog\"]}\r\n \r\n
  • \r\n ) : null}\r\n\r\n {userData.user.user &&\r\n (userData.user.user.IDCli || userData.user.user.IDAge) ? (\r\n
  • \r\n {/**/}\r\n \r\n I miei documenti{\" \"}\r\n \r\n
  • \r\n ) : null}\r\n {userData.user.user &&\r\n (userData.user.user.IDCli || userData.user.user.IDAge) &&\r\n (global.aziendaID == 1 || global.aziendaID == 3) ? (\r\n
  • \r\n \r\n Listino\r\n \r\n
  • \r\n ) : null}\r\n\r\n {\r\n /*userData.user.user?.IDCli === 41917 && */\r\n userData?.user?.user?.IDCli &&\r\n window[\"configPegaso\"].untentiModificaBanners?.includes(\r\n localStorage.getItem(\"IDDetCliRef\")\r\n ) ? (\r\n
  • \r\n \r\n {\"Banners\"}\r\n \r\n
  • \r\n ) : null\r\n }\r\n\r\n {global.aziendaID == 1 || global.aziendaID == 3 ? (\r\n
  • \r\n \r\n {\"Chi siamo\"}\r\n \r\n
  • \r\n ) : null}\r\n\r\n {global.aziendaID == 1 || global.aziendaID == 3 ? (\r\n
  • \r\n \r\n {strings[\"contact_us\"]}\r\n \r\n
  • \r\n ) : null}\r\n {global.aziendaID == 1 || global.aziendaID == 3 ? (\r\n
  • \r\n \r\n {strings[\"tutorial\"]}\r\n \r\n
  • \r\n ) : null}\r\n {global.aziendaID == 1 || global.aziendaID == 3 ? (\r\n
  • \r\n \r\n \r\n {strings[\"colours\"]}\r\n \r\n
  • \r\n ) : null}\r\n\r\n {false && (\r\n
  • \r\n \r\n {strings[\"blog\"]} \r\n \r\n
      \r\n
    • \r\n \r\n {strings[\"blog_standard\"]}\r\n \r\n
    • \r\n
    • \r\n \r\n {strings[\"blog_no_sidebar\"]}\r\n \r\n
    • \r\n
    • \r\n \r\n {strings[\"blog_right_sidebar\"]}\r\n \r\n
    • \r\n
    • \r\n \r\n {strings[\"blog_details_standard\"]}\r\n \r\n
    • \r\n
    \r\n
  • \r\n )}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nNavMenu.propTypes = {\r\n strings: PropTypes.object,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n userData: state.userData,\r\n };\r\n};\r\n\r\n//export default multilanguage(NavMenu);\r\n//export default NavMenu;\r\nexport default connect(mapStateToProps)(NavMenu);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useRef } from \"react\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport MenuCart from \"./sub-components/MenuCart\";\r\nimport { removeFromCart } from \"../../redux/actions/cartActions\";\r\nimport { clearProducts } from \"../../redux/actions/productsAction\";\r\nimport MenuWishList from \"./sub-components/MenuWishList\";\r\n\r\nconst IconGroup = ({\r\n currency,\r\n cartData,\r\n wishlistData,\r\n compareData,\r\n removeFromCart,\r\n removeFromWishlist,\r\n productData,\r\n clearProducts,\r\n getSortParams,\r\n isUser,\r\n useFocusMobile,\r\n setInputFocusMobile,\r\n}) => {\r\n const useFocus = () => {\r\n const htmlElRef = useRef(null);\r\n const setFocus = () => {\r\n htmlElRef.current && htmlElRef.current.focus();\r\n };\r\n return [htmlElRef, setFocus];\r\n };\r\n\r\n const [inputRef, setInputFocus] = useFocus();\r\n\r\n const history = useHistory();\r\n const handleClick = (e) => {\r\n const oldE =\r\n e.currentTarget.className === \"icon-cart\"\r\n ? document.getElementById(\"btnWishlist\")\r\n : document.getElementById(\"btnCart\");\r\n if (oldE && oldE.nextSibling.classList.contains(\"active\"))\r\n oldE.nextSibling.classList.toggle(\"active\");\r\n e.currentTarget.nextSibling.classList.toggle(\"active\");\r\n setTimeout(() => {\r\n setInputFocus();\r\n }, 300);\r\n };\r\n\r\n const triggerMobileMenu = () => {\r\n const offcanvasMobileMenu = document.querySelector(\r\n \"#offcanvas-mobile-menu\"\r\n );\r\n offcanvasMobileMenu.classList.add(\"active\");\r\n //console.log(setInputFocusMobile)\r\n //console.log(setInputFocus)\r\n setTimeout(() => {\r\n setInputFocusMobile();\r\n }, 300);\r\n };\r\n\r\n const search = () => {\r\n var queryText = document.getElementById(\"queryText\").value;\r\n history.push(\"/redirect\");\r\n setTimeout(\r\n () =>\r\n history.push(\r\n process.env.PUBLIC_URL + \"/shop-grid-full-width?name=\" + queryText\r\n ),\r\n 10\r\n );\r\n };\r\n\r\n var totItems = 0;\r\n cartData.map((item) => {\r\n totItems += parseInt(item.quantity);\r\n });\r\n return (\r\n \r\n
    \r\n \r\n
    \r\n {\r\n e.preventDefault();\r\n }}\r\n >\r\n {\r\n if (e.key == \"Enter\") search();\r\n }}\r\n />\r\n search()}\r\n >\r\n \r\n \r\n \r\n
    \r\n
    \r\n\r\n {isUser ? (\r\n <>\r\n {/*
    \r\n \r\n \r\n \r\n {compareData && compareData.length ? compareData.length : 0}\r\n \r\n \r\n
    */}\r\n\r\n {/*
    \r\n \r\n \r\n \r\n {wishlistData && wishlistData.length ? wishlistData.length : 0}\r\n \r\n \r\n
    */}\r\n\r\n
    \r\n handleClick(e)}\r\n >\r\n \r\n \r\n {wishlistData && wishlistData.length ? wishlistData.length : 0}\r\n \r\n \r\n {/* menu cart */}\r\n \r\n
    \r\n\r\n
    \r\n handleClick(e)}\r\n >\r\n \r\n \r\n {cartData && cartData.length ? totItems : 0}\r\n \r\n \r\n {/* menu cart */}\r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n {wishlistData && wishlistData.length ? wishlistData.length : 0}\r\n \r\n \r\n
    \r\n\r\n
    \r\n \r\n \r\n \r\n {cartData && cartData.length ? totItems : 0}\r\n \r\n \r\n
    \r\n\r\n
    \r\n triggerMobileMenu()}\r\n >\r\n \r\n \r\n
    \r\n \r\n ) : null}\r\n\r\n {!isUser && (\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\nIconGroup.propTypes = {\r\n cartData: PropTypes.array,\r\n compareData: PropTypes.array,\r\n currency: PropTypes.object,\r\n removeFromCart: PropTypes.func,\r\n wishlistData: PropTypes.array,\r\n setToken: PropTypes.func,\r\n productsData: PropTypes.object,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n currency: state.currencyData,\r\n cartData: state.cartData,\r\n wishlistData: state.wishlistData,\r\n compareData: state.compareData,\r\n productData: state.productData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n removeFromCart: (item, addToast) => {\r\n dispatch(removeFromCart(item, addToast));\r\n },\r\n clearProducts: () => {\r\n dispatch(clearProducts());\r\n },\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(IconGroup);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport {\r\n getDiscountPrice,\r\n getFinalPriceVariation,\r\n} from \"../../../helpers/product\";\r\n\r\nconst MenuCart = ({ cartData, currency, removeFromCart }) => {\r\n let cartTotalPrice = 0;\r\n const [tot, setTot] = useState(0);\r\n const [totPortoFranco, setTotPortoFranco] = useState(0);\r\n const { addToast } = useToasts();\r\n useEffect(() => {\r\n var totale = 0;\r\n if (cartData && cartData.length > 0) {\r\n cartData.forEach((single) => {\r\n var finalProductPrice = 0;\r\n if (!single?.variation || single.variation?.length == 0) {\r\n finalProductPrice = single.price?.toFixed(2);\r\n } else {\r\n const discountedPrice = getDiscountPrice(\r\n single.price,\r\n single.discount,\r\n single.pricesco\r\n );\r\n finalProductPrice = getFinalPriceVariation(\r\n single,\r\n single.selectedProductColor,\r\n single.selectedProductSize\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n }\r\n\r\n totale += finalProductPrice * single.quantity;\r\n });\r\n setTot(totale);\r\n setTotPortoFranco(global.importoPortoFranco - totale);\r\n }\r\n }, [cartData]);\r\n return (\r\n
    \r\n {totPortoFranco > 0 ? (\r\n 0 ? \"block\" : \"none\",\r\n }}\r\n >\r\n Aggiungi altri {(390.0 - tot).toFixed(2)} € per la spedizione gratuita\r\n

    \r\n ) : (\r\n 0 ? \"block\" : \"none\",\r\n }}\r\n >\r\n Complimenti! Hai la spedizione gratuita per questo ordine!\r\n

    \r\n )}\r\n {cartData && cartData.length > 0 ? (\r\n \r\n
      \r\n {cartData.map((single, key) => {\r\n var finalProductPrice = 0;\r\n if (!single?.variation || single.variation?.length == 0) {\r\n finalProductPrice = single.price?.toFixed(2);\r\n } else {\r\n const discountedPrice = getDiscountPrice(\r\n single.price,\r\n single.discount,\r\n single.pricesco\r\n );\r\n finalProductPrice = getFinalPriceVariation(\r\n single,\r\n single.selectedProductColor,\r\n single.selectedProductSize\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n }\r\n\r\n cartTotalPrice += finalProductPrice * single.quantity;\r\n /*\r\n discountedPrice != null\r\n ? (cartTotalPrice += finalDiscountedPrice * single.quantity)\r\n : (cartTotalPrice += finalProductPrice * single.quantity);\r\n */\r\n return (\r\n
    • \r\n
      \r\n \r\n {\r\n var elms = document.querySelectorAll(\r\n \"[id='\" + \"image-prod-\" + single.id + \"']\"\r\n );\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage;\r\n elms[i].style.objectFit = \"contain\";\r\n }\r\n }}\r\n />\r\n \r\n
      \r\n
      \r\n

      \r\n \r\n {single.sku}{\" \"}\r\n \r\n

      \r\n\r\n

      \r\n \r\n {single.name}{\" \"}\r\n \r\n

      \r\n
      Qtà: {single.quantity}
      \r\n \r\n {currency.currencySymbol + \" \" + finalProductPrice}\r\n {/*discountedPrice !== null\r\n ? currency.currencySymbol + ' ' + finalDiscountedPrice\r\n : currency.currencySymbol + ' ' + finalProductPrice*/}\r\n \r\n {single.selectedProductColor &&\r\n single.selectedProductSize ? (\r\n
      \r\n Colore: {single.selectedProductColor}\r\n Taglia: {single.selectedProductSize}\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 Totale :{\" \"}\r\n \r\n {currency.currencySymbol + \" \" + cartTotalPrice.toFixed(2)}\r\n \r\n

    \r\n
    \r\n
    \r\n \r\n Visualizza Carrello\r\n \r\n \r\n checkout\r\n \r\n
    \r\n
    \r\n ) : (\r\n

    Nessun articolo nel carrello

    \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nMenuCart.propTypes = {\r\n cartData: PropTypes.array,\r\n currency: PropTypes.object,\r\n removeFromCart: PropTypes.func,\r\n};\r\n\r\nexport default MenuCart;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { connect } from \"react-redux\";\r\nimport { addToWishlist, removeFromWishlist } from \"../../../redux/actions/wishlistActions\";\r\n\r\nconst MenuWishList = ({ wishlistData, currency, removeFromWishlist }) => {\r\n\r\n const { addToast } = useToasts();\r\n\r\n return (\r\n
    \r\n {wishlistData && wishlistData.length > 0 ? (\r\n \r\n
      \r\n {wishlistData.map((single, key) => {\r\n if (!single?.id) return null;\r\n return (\r\n
    • \r\n
      \r\n \r\n {\r\n var elms = document.querySelectorAll(\"[id='\" + \"image-prod-\" + single.id + \"']\");\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage\r\n elms[i].style.objectFit = \"contain\"\r\n }\r\n \r\n }\r\n }\r\n />\r\n \r\n
      \r\n
      \r\n

      \r\n \r\n {single.sku}{\" \"}\r\n \r\n

      \r\n\r\n

      \r\n \r\n {single.name}{\" \"}\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 Visualizza Preferiti\r\n \r\n
    \r\n
    \r\n ) : (\r\n

    Nessun articolo selezionato

    \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nMenuWishList.propTypes = {\r\n wishlistData: PropTypes.array,\r\n currency: PropTypes.object,\r\n removeFromWishlist: PropTypes.func\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n removeFromWishlist: (item, addToast) => {\r\n dispatch(removeFromWishlist(item, addToast));\r\n },\r\n addToWishlist: (item, addToast) => {\r\n dispatch(addToWishlist(item, addToast));\r\n },\r\n };\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n userData: state.userData,\r\n wishlistData: state.wishlistData,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(MenuWishList);\r\n\r\n\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport { multilanguage } from \"redux-multilanguage\";\r\nimport { connect } from \"react-redux\";\r\nimport { logoutUser } from \"../../../redux/actions/userAction\";\r\nimport { clearProducts } from \"../../../redux/actions/productsAction\";\r\nimport { removeFromCart } from \"../../../redux/actions/cartActions\";\r\nimport useToken from \"../../../hook/useToken\";\r\n\r\n\r\nconst MobileNavMenu = ({ strings, userData, clearProducts, logoutUser }) => {\r\n const history = useHistory()\r\n const hLogOutUser = async e => {\r\n e.preventDefault();\r\n logoutUser();\r\n clearProducts();\r\n setToken(0);\r\n //window.location.reload();\r\n history.push(process.env.PUBLIC_URL + \"/\");\r\n }\r\n\r\n const resetQuerySearch = (_where) => {\r\n //sessionStorage.setItem(\"filter\", JSON.stringify({})) DA ABILITARE SE VUOLE RESETTARE TUTTI I FILTRI\r\n\r\n\r\n sessionStorage.setItem(\"filter\", JSON.stringify({}))\r\n //setSortValues({})\r\n //setRefresh(!refresh)\r\n //history.push(\"/\")\r\n //setTimeout(() => history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width\"), 10);\r\n //sessionStorage.setItem(\"currentPage\", 1)\r\n\r\n sessionStorage.setItem(\"currentPage\", 1)\r\n setTimeout(() => history.push(\"/\"), 50);\r\n setTimeout(() => history.push(process.env.PUBLIC_URL + _where), 100);\r\n\r\n //}\r\n }\r\n\r\n const { token, setToken } = useToken();\r\n\r\n const handleClick = e => {\r\n e.currentTarget.nextSibling.classList.toggle(\"active\");\r\n //console.log(userData);\r\n };\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nMobileNavMenu.propTypes = {\r\n strings: PropTypes.object\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n currency: state.currencyData,\r\n cartData: state.cartData,\r\n wishlistData: state.wishlistData,\r\n compareData: state.compareData,\r\n userData: state.userData,\r\n productData: state.productData\r\n };\r\n}\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n removeFromCart: (item, addToast) => {\r\n dispatch(removeFromCart(item, addToast));\r\n },\r\n logoutUser: () => { dispatch(logoutUser()); },\r\n clearProducts: () => { dispatch(clearProducts()); }\r\n };\r\n};\r\n\r\n//export default multilanguage(MobileNavMenu);\r\n//export default MobileNavMenu;\r\nexport default connect(mapStateToProps, mapDispatchToProps)(MobileNavMenu);","import React from \"react\";\r\n\r\nconst MobileWidgets = () => {\r\n var informazioni = global.informazioni\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n {/*Off Canvas Widget Social Start*/}\r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {/*Off Canvas Widget Social End*/}\r\n
    \r\n );\r\n};\r\n\r\nexport default MobileWidgets;\r\n","import React, { useEffect } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { saveUser } from \"../../redux/actions/userAction\";\r\nimport { saveProducts } from \"../../redux/actions/productsAction\";\r\nimport ImageMapper from \"react-img-mapper\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport HeroSliderOneNew from \"../../backconfig/banner/HeroSliderOneNew\";\r\nimport BannerClassicScroll from \"./BannerClassicScroll\";\r\nimport { useState } from \"react\";\r\nimport BannerAmazonStyle from \"./BannerAmazonStyle\";\r\nimport axios from \"axios\";\r\n\r\nconst HomeBanner = (props) => {\r\n const history = useHistory();\r\n const { userData, bannerProps, forTestOnly, products } = props;\r\n const [allBanners, setAllBanners] = useState([]);\r\n const endPointBaseUrl = global.endpoint;\r\n\r\n const [bannerNow, setBannerNow] = useState(props.banner);\r\n\r\n useEffect(() => {\r\n setBannerNow(props.banner);\r\n }, [forTestOnly, bannerProps]);\r\n\r\n const getBanner = () => {\r\n const _props = {\r\n heroSliderData: bannerNow.bannerImageScroll,\r\n forTestOnly,\r\n userData,\r\n };\r\n //return ();\r\n\r\n switch (bannerNow.bannerType) {\r\n case 1:\r\n return ;\r\n case 2:\r\n return ;\r\n default:\r\n return null;\r\n }\r\n };\r\n const banner = () => {\r\n if (bannerNow) {\r\n const n = getBanner();\r\n if (n) return n;\r\n else if (forTestOnly) return null;\r\n }\r\n return null;\r\n };\r\n /*\r\n\r\n\r\n\r\n \"\"\r\n \"\"\r\n \"\"\r\n\r\n*/\r\n\r\n return banner();\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n userData: state.userData,\r\n products: state.productData.products,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n saveUser: (user, addToast) => {\r\n dispatch(saveUser(user, addToast));\r\n },\r\n saveProducts: (products, addToast) => {\r\n dispatch(saveProducts(products, addToast));\r\n },\r\n };\r\n};\r\nexport default connect(mapStateToProps, mapDispatchToProps)(HomeBanner);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport {\r\n getUniqueCategories,\r\n getUniqueSubCategories,\r\n getUniqueBrands,\r\n getUniqueTemplates,\r\n getUniqueSeasons,\r\n getUniqueTags,\r\n getUniqueColors,\r\n getProductsUniqueSizes,\r\n} from \"../../helpers/product\";\r\n//import ShopSearch from \"../../components/product/ShopSearch\";\r\nimport ShopCategories from \"../../components/product/ShopCategories\";\r\nimport ShopSubCategories from \"../../components/product/ShopSubCategories\";\r\n\r\nimport ShopBrands from \"../../components/product/ShopBrands\";\r\nimport ShopTemplates from \"../../components/product/ShopTemplates\";\r\n//import ShopSeasons from \"../../components/product/ShopSeasons\";\r\n\r\nimport ShopColor from \"../../components/product/ShopColor\";\r\nimport ShopSize from \"../../components/product/ShopSize\";\r\nimport ShopTag from \"../../components/product/ShopTag\";\r\n//import ShopGender from \"../../components/product/ShopGender\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst ShopSidebar = ({\r\n products,\r\n getSortParams,\r\n sideSpaceClass,\r\n value,\r\n setSortValues,\r\n}) => {\r\n const uniqueCategories = getUniqueCategories(products);\r\n const uniqueSubCategories = getUniqueSubCategories(products);\r\n const uniqueBrands = getUniqueBrands(products);\r\n const uniqueTemplates = getUniqueTemplates(products);\r\n const uniqueSeasons = getUniqueSeasons(products);\r\n\r\n const uniqueColors = getUniqueColors(products);\r\n const uniqueSizes = getProductsUniqueSizes(products);\r\n const uniqueTags = getUniqueTags(products);\r\n const [refresh, setRefresh] = useState(true);\r\n const [filter, setFilter] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))\r\n );\r\n const history = useHistory();\r\n function resetFiltri() {\r\n sessionStorage.setItem(\"filter\", JSON.stringify({}));\r\n setSortValues({});\r\n setRefresh(!refresh);\r\n history.push(\"/redirect\");\r\n setTimeout(\r\n () => history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width\"),\r\n 10\r\n );\r\n sessionStorage.setItem(\"currentPage\", 1);\r\n //window.location.reload()\r\n }\r\n\r\n useEffect(() => {\r\n setFilter(JSON.parse(sessionStorage.getItem(\"filter\")));\r\n //localStorage.setItem(\"currentPage\", 1);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n\r\n return (\r\n
    \r\n {/* shop search */}\r\n {/**/}\r\n

    Filtri

    \r\n
    \r\n {filter?.brands?.split(\"|\").map((brands, key) => {\r\n if (brands === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {brands}{\" \"}\r\n \r\n );\r\n })}\r\n {filter?.subcategory?.split(\"|\").map((subcategory, key) => {\r\n if (subcategory === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {subcategory}{\" \"}\r\n \r\n );\r\n })}\r\n {filter?.category?.split(\"|\").map((category, key) => {\r\n if (category === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {category}{\" \"}\r\n \r\n );\r\n })}\r\n {filter?.templates?.split(\"|\").map((template, key) => {\r\n if (template === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {template}{\" \"}\r\n \r\n );\r\n })}\r\n {filter?.tag?.split(\"|\").map((tag, key) => {\r\n if (tag === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {tag}{\" \"}\r\n \r\n );\r\n })}\r\n {filter?.size?.split(\"|\").map((size, key) => {\r\n if (size === \"all\") return;\r\n return (\r\n \r\n {\" \"}\r\n {size}{\" \"}\r\n \r\n );\r\n })}\r\n
    \r\n {/* filter by subcategories */}\r\n {/**/}\r\n {/* filter by brands */}\r\n \r\n {/* filter by gender */}\r\n {/**/}\r\n {/* filter by categories */}\r\n {global.aziendaID != 2? : null}\r\n {/* filter by subcategories */}\r\n \r\n {/* filter by Templates */}\r\n \r\n {/* filter by color */}\r\n {global.aziendaID === 1 ? (\r\n \r\n ) : null}\r\n {/* filter by size */}\r\n {global.aziendaID === 1 ? (\r\n \r\n ) : null}\r\n {/* filter by tag */}\r\n {global.aziendaID != 2 ? : null}\r\n
    \r\n );\r\n};\r\n\r\nShopSidebar.propTypes = {\r\n getSortParams: PropTypes.func,\r\n products: PropTypes.array,\r\n sideSpaceClass: PropTypes.string,\r\n};\r\n\r\nexport default ShopSidebar;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst ShopCategories = ({ categories, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [categorySelected, setCategorySelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.category?.split(\"|\")\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n useEffect(() => {\r\n setCategorySelected(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.category?.split(\"|\")\r\n );\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Categorie\r\n
    \r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n \r\n
    \r\n {categories ? (\r\n
      \r\n
    • \r\n
      \r\n {\r\n document\r\n .querySelectorAll(\".categories\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n getSortParams(\"category\", \"all\", \"+\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutte le categorie\r\n \r\n
      \r\n
    • \r\n {categories.map((category, key) => {\r\n if (category === \"\") return;\r\n return (\r\n category.length > 0 && (\r\n
    • \r\n
      \r\n category === v)\r\n ? \"active\"\r\n : \"\")\r\n }\r\n onClick={(e) => {\r\n document\r\n .querySelector(\"#allCategories\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"category\", category, \"-\");\r\n else getSortParams(\"category\", category, \"+\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n {\" \"}\r\n {category}{\" \"}\r\n \r\n
      \r\n
    • \r\n )\r\n );\r\n })}\r\n
    \r\n ) : null}\r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nShopCategories.propTypes = {\r\n categories: PropTypes.array,\r\n getSortParams: PropTypes.func,\r\n};\r\n\r\nexport default ShopCategories;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useEffect } from \"react\";\r\n\r\nconst ShopSubCategories = ({ subcategories, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [subCategorySelected, setSubCategorySelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.subcategory?.split(\"|\")\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n useEffect(() => {\r\n setSubCategorySelected(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.subcategory?.split(\"|\")\r\n );\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Sottocategorie\r\n
    \r\n\r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n \r\n
    \r\n {subcategories ? (\r\n
      \r\n
    • \r\n
      \r\n {\r\n document\r\n .querySelectorAll(\".subCategories\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"subcategory\", \"all\", \"-\");\r\n else getSortParams(\"subcategory\", \"all\", \"+\");\r\n //getSortParams(\"subcategory\", \"\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutte i generi\r\n \r\n
      \r\n
    • \r\n {subcategories.map((subcategory, key) => {\r\n if (subcategory === \"\") return;\r\n return (\r\n
    • \r\n
      \r\n subcategory === v)\r\n ? \"active\"\r\n : \"\")\r\n }\r\n onClick={(e) => {\r\n document\r\n .querySelector(\"#allSubCategories\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"subcategory\", subcategory, \"-\");\r\n else getSortParams(\"subcategory\", subcategory, \"+\");\r\n //getSortParams(\"subcategory\", subcategory);\r\n setActiveSort(e);\r\n }}\r\n >\r\n {\" \"}\r\n {subcategory}{\" \"}\r\n \r\n
      \r\n
    • \r\n );\r\n })}\r\n
    \r\n ) : null}\r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nShopSubCategories.propTypes = {\r\n Subcategories: PropTypes.array,\r\n getSortParams: PropTypes.func,\r\n};\r\n\r\nexport default ShopSubCategories;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useEffect } from \"react\";\r\n\r\nconst ShopBrands = ({ brands, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [brandSelected, setBrandSelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.brands?.split(\"|\")\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n\r\n useEffect(() => {\r\n setBrandSelected(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.brands?.split(\"|\")\r\n );\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Marchi\r\n
    \r\n\r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n \r\n
    \r\n {brands ? (\r\n
      \r\n
    • \r\n
      \r\n {\r\n document\r\n .querySelectorAll(\".brands\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"brands\", \"all\", \"-\");\r\n else getSortParams(\"brands\", \"all\", \"+\");\r\n //getSortParams(\"brands\", \"\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutti i marchi\r\n \r\n
      \r\n
    • \r\n {brands.map((brands, key) => {\r\n if (brands === \"\") return;\r\n return (\r\n
    • \r\n
      \r\n brands === v)\r\n ? \"active\"\r\n : \"\")\r\n }\r\n onClick={(e) => {\r\n document\r\n .querySelector(\"#allBrands\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"brands\", brands, \"-\");\r\n else getSortParams(\"brands\", brands, \"+\");\r\n //getSortParams(\"brands\", brands);\r\n setActiveSort(e);\r\n }}\r\n >\r\n {\" \"}\r\n {brands}{\" \"}\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\nShopBrands.propTypes = {\r\n brands: PropTypes.array,\r\n getSortParams: PropTypes.func,\r\n};\r\n\r\nexport default ShopBrands;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useEffect } from \"react\";\r\n\r\nconst ShopTemplates = ({ templates, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [templateSelected, setTemplateSelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.templates?.split(\"|\")\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n useEffect(() => {\r\n setTemplateSelected(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.templates?.split(\"|\")\r\n );\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Modelli\r\n
    \r\n\r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n {/*

    Modelli

    */}\r\n\r\n \r\n
    \r\n {templates ? (\r\n
      \r\n
    • \r\n
      \r\n {\r\n document\r\n .querySelectorAll(\".templates\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"templates\", \"all\", \"-\");\r\n else getSortParams(\"templates\", \"all\", \"+\");\r\n //getSortParams(\"templates\", \"\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutti i modelli\r\n \r\n
      \r\n
    • \r\n {templates.map((templates, key) => {\r\n if (templates === \"\") return;\r\n return (\r\n
    • \r\n
      \r\n templates === v)\r\n ? \"active\"\r\n : \"\")\r\n }\r\n onClick={(e) => {\r\n document\r\n .querySelector(\"#allTemplates\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"templates\", templates, \"-\");\r\n else getSortParams(\"templates\", templates, \"+\");\r\n //getSortParams(\"templates\", templates);\r\n setActiveSort(e);\r\n }}\r\n >\r\n {\" \"}\r\n {templates}{\" \"}\r\n \r\n
      \r\n
    • \r\n );\r\n })}\r\n
    \r\n ) : null}\r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nShopTemplates.propTypes = {\r\n templates: PropTypes.array,\r\n getSortParams: PropTypes.func,\r\n};\r\n\r\nexport default ShopTemplates;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst ShopColor = ({ colors, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [colorSelected, setColorSelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.color\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n function toColor(i) {\r\n /*var hex = (i & 0xFF).toString(16) +\r\n ((i >> 8) & 0xFF).toString(16) +\r\n ((i >> 16) & 0xFF).toString(16) +\r\n ((i >> 24) & 0xFF).toString(16);\r\n \r\n hex = hex.substring(0, 6);\r\n \r\n return \"#\" + hex;*/\r\n var r = Math.floor(i / 65536);\r\n var g = Math.floor((i - r * 65536) / 256);\r\n var b = Math.floor(i - r * 65536 - g * 256);\r\n var rHex = Number(r).toString(16);\r\n var gHex = Number(g).toString(16);\r\n var bHex = Number(b).toString(16);\r\n rHex = rHex.length < 2 ? \"0\" + rHex : rHex;\r\n gHex = gHex.length < 2 ? \"0\" + gHex : gHex;\r\n bHex = bHex.length < 2 ? \"0\" + bHex : bHex;\r\n return \"#\" + bHex + gHex + rHex;\r\n }\r\n useEffect(() => {\r\n setColorSelected(JSON.parse(sessionStorage.getItem(\"filter\"))?.color);\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Colori\r\n
    \r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n \r\n
    \r\n {colors ? (\r\n \r\n
  • \r\n
    \r\n {\r\n document\r\n .querySelectorAll(\".colors\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"color\", \"all\", \"-\");\r\n else getSortParams(\"color\", \"all\", \"+\");\r\n //getSortParams(\"color\", \"\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutti i colori{\" \"}\r\n \r\n
    \r\n
  • \r\n {colors.map((color, key) => {\r\n var colorString = color\r\n .split(\";\")[0]\r\n .split(\"-\")[1]\r\n .split(\" (\")[0];\r\n var hexColor = color.split(\";\")[1];\r\n var colorSigla = color.split(\";\")[0].split(\"-\")[0];\r\n return (\r\n
  • \r\n \r\n {\r\n document\r\n .querySelector(\"#allColors\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"color\", colorSigla, \"-\");\r\n else getSortParams(\"color\", colorSigla, \"+\");\r\n //getSortParams(\"color\", color);\r\n setActiveSort(e);\r\n }}\r\n style={{\r\n fontSize: \"x-small\",\r\n verticalAlign: \"middle\",\r\n padding: \"0px 5px 0px 0px\",\r\n }}\r\n >\r\n \r\n
    \r\n {colorSigla}{\" \"}\r\n \r\n
  • \r\n \r\n );\r\n })}\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nShopColor.propTypes = {\r\n colors: PropTypes.array,\r\n getSortParams: PropTypes.func,\r\n};\r\n\r\nexport default ShopColor;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst ShopSize = ({ sizes, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [sizeSelected, setSizeSelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.size\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n useEffect(() => {\r\n setSizeSelected(JSON.parse(sessionStorage.getItem(\"filter\"))?.size);\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Taglie\r\n
    \r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n \r\n
    \r\n {sizes ? (\r\n \r\n
  • \r\n
    \r\n {\r\n document\r\n .querySelectorAll(\".sizes\")\r\n .forEach((element) =>\r\n element.classList.remove(\"active\")\r\n );\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"size\", \"all\", \"-\");\r\n else getSortParams(\"size\", \"all\", \"+\");\r\n //getSortParams(\"size\", \"\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n Tutte le taglie{\" \"}\r\n \r\n
    \r\n
  • \r\n {sizes.map((size, key) => {\r\n if (size === \"\") return;\r\n return (\r\n
  • \r\n \r\n {\r\n document\r\n .querySelector(\"#allSizes\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"size\", size, \"-\");\r\n else getSortParams(\"size\", size, \"+\");\r\n //getSortParams(\"size\", size);\r\n setActiveSort(e);\r\n }}\r\n style={{\r\n fontSize: \"smaller\",\r\n verticalAlign: \"middle\",\r\n padding: \"0px 5px 0px 0px\",\r\n }}\r\n >\r\n {\" \"}\r\n \r\n {size}{\" \"}\r\n \r\n
  • \r\n \r\n );\r\n })}\r\n \r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nShopSize.propTypes = {\r\n getSortParams: PropTypes.func,\r\n sizes: PropTypes.array,\r\n};\r\n\r\nexport default ShopSize;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport { Collapse } from \"react-collapse\";\r\nimport { useEffect } from \"react\";\r\n\r\nconst ShopTag = ({ tags, getSortParams }) => {\r\n //const [stateLista, setstateLista] = useState(global.aziendaID == 1? true : false);\r\n const [stateLista, setstateLista] = useState(false);\r\n const [tagSelected, setTagSelected] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.tag?.split(\"|\")\r\n );\r\n const [refresh, setRefresh] = useState(true);\r\n const CambioStato = () => {\r\n if (stateLista) setstateLista(false);\r\n else setstateLista(true);\r\n };\r\n useEffect(() => {\r\n setTagSelected(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.tag?.split(\"|\")\r\n );\r\n setRefresh(!refresh);\r\n }, [sessionStorage.getItem(\"filter\")]);\r\n return (\r\n
    \r\n CambioStato()}\r\n style={{\r\n fontSize: \"17px\",\r\n color: \"black\",\r\n fontWeight: 600,\r\n cursor: \"pointer\",\r\n lineHeight: \"30px\",\r\n }}\r\n >\r\n \r\n {\" \"}\r\n \r\n Tags\r\n
    \r\n {/**/}\r\n {/*

    CambioStato()}>Marchi

    */}\r\n\r\n \r\n
    \r\n {tags ? (\r\n
      \r\n {tags.map((tag, key) => {\r\n if (tag == \"\") return;\r\n return (\r\n
    • \r\n tag === v) ? \"active\" : \"\"\r\n }\r\n onClick={(e) => {\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"tag\", tag, \"-\");\r\n else getSortParams(\"tag\", tag, \"+\");\r\n //getSortParams(\"tag\", tag, \"+\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n {tag}\r\n \r\n
    • \r\n );\r\n })}\r\n
    \r\n ) : null}\r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nShopTag.propTypes = {\r\n getSortParams: PropTypes.func,\r\n tags: PropTypes.array,\r\n};\r\n\r\nexport default ShopTag;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment } from \"react\";\r\nimport ShopTopAction from \"../../components/product/ShopTopAction\";\r\nimport { Divider } from \"@mui/material\";\r\n\r\nconst ShopTopbar = ({\r\n getLayout,\r\n getFilterSortParams,\r\n productCount,\r\n sortedProductCount,\r\n offset,\r\n userData,\r\n value,\r\n getSortParams,\r\n setSortValues,\r\n sortValues,\r\n}) => {\r\n return (\r\n \r\n {/* shop top action */}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nShopTopbar.propTypes = {\r\n getFilterSortParams: PropTypes.func,\r\n getLayout: PropTypes.func,\r\n productCount: PropTypes.number,\r\n sortedProductCount: PropTypes.number,\r\n};\r\n\r\nexport default ShopTopbar;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { useState } from \"react\";\r\nimport { setActiveLayout } from \"../../helpers/product\";\r\nimport { useHistory } from \"react-router-dom/cjs/react-router-dom\";\r\n//import { BorderColor } from \"@mui/icons-material\";\r\n\r\nconst ShopTopAction = ({\r\n getLayout,\r\n getFilterSortParams,\r\n productCount,\r\n sortedProductCount,\r\n offset,\r\n userData,\r\n query,\r\n getSortParams,\r\n setSortValues,\r\n sortValues,\r\n}) => {\r\n const history = useHistory();\r\n //const location = window.location.pathname\r\n //const query = new URLSearchParams(location.search);\r\n //console.log(location)\r\n //const name = query.get('name')\r\n const [outlet, setOutlet] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.tag?.includes(\"OUTLET\")\r\n );\r\n const [school, setSchool] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.tag?.includes(\"SCHOOL\")\r\n );\r\n const [promo, setPromo] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.promo?.includes(\"SI\")\r\n );\r\n const filterProducts = () => {\r\n var queryText = document.getElementById(\"queryTextShopNew\");\r\n var iTipoRicerca = 1;\r\n switch (iTipoRicerca) {\r\n case 1:\r\n var queryText = queryText?.value;\r\n\r\n history.push(\"/redirect\");\r\n setTimeout(\r\n () =>\r\n history.push(\r\n process.env.PUBLIC_URL + \"/shop-grid-full-width?name=\" + queryText\r\n ),\r\n 10\r\n );\r\n }\r\n };\r\n\r\n function resetFiltri() {\r\n //history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width\");\r\n\r\n /* OLD RESETTA FILTRI*/\r\n sessionStorage.setItem(\"filter\", JSON.stringify({}));\r\n setSortValues({});\r\n history.push(\"/redirect\");\r\n setTimeout(\r\n () => history.push(process.env.PUBLIC_URL + \"/shop-grid-full-width\"),\r\n 10\r\n );\r\n localStorage.setItem(\"currentPage\", 1);\r\n }\r\n\r\n return (\r\n
    \r\n
    \r\n {global.aziendaID == 1 && (\r\n \r\n
      \r\n
    • \r\n {\r\n localStorage.setItem(\"currentPage\", 1);\r\n if (school) {\r\n setSchool(false);\r\n getSortParams(\"tag\", \"SCHOOL\", \"-\");\r\n } else {\r\n setSchool(true);\r\n getSortParams(\"tag\", \"SCHOOL\", \"+\");\r\n }\r\n }}\r\n >\r\n SCHOOL\r\n \r\n
    • \r\n
    \r\n
    \r\n )}\r\n\r\n \r\n {\r\n if (e.key == \"Enter\") filterProducts();\r\n }}\r\n />\r\n \r\n filterProducts()} />\r\n \r\n
    \r\n\r\n \r\n getFilterSortParams(\"filterSort\", e.target.value)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n {\r\n var scrollDiv = document.getElementById(\"filtri\").offsetTop;\r\n window.scrollTo({ top: scrollDiv, behavior: \"smooth\" });\r\n }}\r\n >\r\n \r\n  Filtra\r\n \r\n resetFiltri()}\r\n >\r\n \r\n Resetta filtri\r\n \r\n \r\n {global.aziendaID == 1 && (\r\n
      \r\n
    • \r\n {\r\n localStorage.setItem(\"currentPage\", 1);\r\n if (outlet) {\r\n setOutlet(false);\r\n getSortParams(\"tag\", \"OUTLET\", \"-\");\r\n } else {\r\n setOutlet(true);\r\n getSortParams(\"tag\", \"OUTLET\", \"+\");\r\n }\r\n }}\r\n >\r\n \r\n \r\n
    • \r\n
    \r\n )}\r\n {global.aziendaID == 2 &&\r\n userData.user.user?.showPromo == 1 &&\r\n !sortValues?.tag &&\r\n false && (\r\n
      \r\n
    • \r\n {\r\n localStorage.setItem(\"currentPage\", 1);\r\n if (promo) {\r\n setPromo(false);\r\n getSortParams(\"promo\", \"NO\", \"+\");\r\n //getSortParams(\"tag\", \"OUTLET\", \"-\");\r\n } else {\r\n setPromo(true);\r\n getSortParams(\"promo\", \"SI\", \"+\");\r\n //getSortParams(\"tag\", \"OUTLET\", \"+\");\r\n }\r\n }}\r\n >\r\n PROMO\r\n \r\n
    • \r\n
    \r\n )}\r\n {/*

    \r\n Visualizzati {sortedProductCount + offset} di {productCount} totali\r\n

    */}\r\n \r\n\r\n
    \r\n {\r\n getLayout(\"grid two-column\");\r\n setActiveLayout(e);\r\n }}\r\n >\r\n \r\n \r\n {\r\n getLayout(\"grid three-column\");\r\n setActiveLayout(e);\r\n }}\r\n >\r\n \r\n \r\n {\r\n getLayout(\"list\");\r\n setActiveLayout(e);\r\n }}\r\n >\r\n \r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nShopTopAction.propTypes = {\r\n getFilterSortParams: PropTypes.func,\r\n getLayout: PropTypes.func,\r\n productCount: PropTypes.number,\r\n sortedProductCount: PropTypes.number,\r\n};\r\n\r\nexport default ShopTopAction;\r\n","'use strict';\r\n\r\nfunction _interopDefault(ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }\r\n\r\nvar React = require('react');\r\nvar React__default = _interopDefault(React);\r\nvar totalP = 0;\r\nfunction _defineProperty(obj, key, value) {\r\n if (key in obj) {\r\n Object.defineProperty(obj, key, {\r\n value: value,\r\n enumerable: true,\r\n configurable: true,\r\n writable: true\r\n });\r\n } else {\r\n obj[key] = value;\r\n }\r\n\r\n return obj;\r\n}\r\n\r\nfunction ownKeys(object, enumerableOnly) {\r\n var keys = Object.keys(object);\r\n\r\n if (Object.getOwnPropertySymbols) {\r\n var symbols = Object.getOwnPropertySymbols(object);\r\n if (enumerableOnly) symbols = symbols.filter(function (sym) {\r\n return Object.getOwnPropertyDescriptor(object, sym).enumerable;\r\n });\r\n keys.push.apply(keys, symbols);\r\n }\r\n\r\n return keys;\r\n}\r\n\r\nfunction _objectSpread2(target) {\r\n for (var i = 1; i < arguments.length; i++) {\r\n var source = arguments[i] != null ? arguments[i] : {};\r\n\r\n if (i % 2) {\r\n ownKeys(source, true).forEach(function (key) {\r\n _defineProperty(target, key, source[key]);\r\n });\r\n } else if (Object.getOwnPropertyDescriptors) {\r\n Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\r\n } else {\r\n ownKeys(source).forEach(function (key) {\r\n Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\r\n });\r\n }\r\n }\r\n\r\n return target;\r\n}\r\n\r\nfunction _slicedToArray(arr, i) {\r\n return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\r\n}\r\n\r\nfunction _toConsumableArray(arr) {\r\n return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\r\n}\r\n\r\nfunction _arrayWithoutHoles(arr) {\r\n if (Array.isArray(arr)) {\r\n for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\r\n\r\n return arr2;\r\n }\r\n}\r\n\r\nfunction _arrayWithHoles(arr) {\r\n if (Array.isArray(arr)) return arr;\r\n}\r\n\r\nfunction _iterableToArray(iter) {\r\n if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\r\n}\r\n\r\nfunction _iterableToArrayLimit(arr, i) {\r\n if (!(Symbol.iterator in Object(arr) || Object.prototype.toString.call(arr) === \"[object Arguments]\")) {\r\n return;\r\n }\r\n\r\n var _arr = [];\r\n var _n = true;\r\n var _d = false;\r\n var _e = undefined;\r\n\r\n try {\r\n for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\r\n _arr.push(_s.value);\r\n\r\n if (i && _arr.length === i) break;\r\n }\r\n } catch (err) {\r\n _d = true;\r\n _e = err;\r\n } finally {\r\n try {\r\n if (!_n && _i[\"return\"] != null) _i[\"return\"]();\r\n } finally {\r\n if (_d) throw _e;\r\n }\r\n }\r\n\r\n return _arr;\r\n}\r\n\r\nfunction _nonIterableSpread() {\r\n throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\r\n}\r\n\r\nfunction _nonIterableRest() {\r\n throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\r\n}\r\n\r\nfunction unwrapExports(x) {\r\n return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;\r\n}\r\n\r\nfunction createCommonjsModule(fn, module) {\r\n return module = { exports: {} }, fn(module, module.exports), module.exports;\r\n}\r\n\r\nvar reactIs_production_min = createCommonjsModule(function (module, exports) {\r\n Object.defineProperty(exports, \"__esModule\", { value: !0 });\r\n var b = \"function\" === typeof Symbol && Symbol.for, c = b ? Symbol.for(\"react.element\") : 60103, d = b ? Symbol.for(\"react.portal\") : 60106, e = b ? Symbol.for(\"react.fragment\") : 60107, f = b ? Symbol.for(\"react.strict_mode\") : 60108, g = b ? Symbol.for(\"react.profiler\") : 60114, h = b ? Symbol.for(\"react.provider\") : 60109, k = b ? Symbol.for(\"react.context\") : 60110, l = b ? Symbol.for(\"react.async_mode\") : 60111, m = b ? Symbol.for(\"react.concurrent_mode\") : 60111, n = b ? Symbol.for(\"react.forward_ref\") : 60112, p = b ? Symbol.for(\"react.suspense\") : 60113, q = b ? Symbol.for(\"react.suspense_list\") :\r\n 60120, r = b ? Symbol.for(\"react.memo\") : 60115, t = b ? Symbol.for(\"react.lazy\") : 60116, v = b ? Symbol.for(\"react.fundamental\") : 60117, w = b ? Symbol.for(\"react.responder\") : 60118, x = b ? Symbol.for(\"react.scope\") : 60119; function y(a) { if (\"object\" === typeof a && null !== a) { var u = a.$$typeof; switch (u) { case c: switch (a = a.type, a) { case l: case m: case e: case g: case f: case p: return a; default: switch (a = a && a.$$typeof, a) { case k: case n: case h: return a; default: return u } }case t: case r: case d: return u } } } function z(a) { return y(a) === m }\r\n exports.typeOf = y; exports.AsyncMode = l; exports.ConcurrentMode = m; exports.ContextConsumer = k; exports.ContextProvider = h; exports.Element = c; exports.ForwardRef = n; exports.Fragment = e; exports.Lazy = t; exports.Memo = r; exports.Portal = d; exports.Profiler = g; exports.StrictMode = f; exports.Suspense = p;\r\n exports.isValidElementType = function (a) { return \"string\" === typeof a || \"function\" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || \"object\" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === v || a.$$typeof === w || a.$$typeof === x) }; exports.isAsyncMode = function (a) { return z(a) || y(a) === l }; exports.isConcurrentMode = z; exports.isContextConsumer = function (a) { return y(a) === k }; exports.isContextProvider = function (a) { return y(a) === h };\r\n exports.isElement = function (a) { return \"object\" === typeof a && null !== a && a.$$typeof === c }; exports.isForwardRef = function (a) { return y(a) === n }; exports.isFragment = function (a) { return y(a) === e }; exports.isLazy = function (a) { return y(a) === t }; exports.isMemo = function (a) { return y(a) === r }; exports.isPortal = function (a) { return y(a) === d }; exports.isProfiler = function (a) { return y(a) === g }; exports.isStrictMode = function (a) { return y(a) === f }; exports.isSuspense = function (a) { return y(a) === p };\r\n});\r\n\r\nunwrapExports(reactIs_production_min);\r\nvar reactIs_production_min_1 = reactIs_production_min.typeOf;\r\nvar reactIs_production_min_2 = reactIs_production_min.AsyncMode;\r\nvar reactIs_production_min_3 = reactIs_production_min.ConcurrentMode;\r\nvar reactIs_production_min_4 = reactIs_production_min.ContextConsumer;\r\nvar reactIs_production_min_5 = reactIs_production_min.ContextProvider;\r\nvar reactIs_production_min_6 = reactIs_production_min.Element;\r\nvar reactIs_production_min_7 = reactIs_production_min.ForwardRef;\r\nvar reactIs_production_min_8 = reactIs_production_min.Fragment;\r\nvar reactIs_production_min_9 = reactIs_production_min.Lazy;\r\nvar reactIs_production_min_10 = reactIs_production_min.Memo;\r\nvar reactIs_production_min_11 = reactIs_production_min.Portal;\r\nvar reactIs_production_min_12 = reactIs_production_min.Profiler;\r\nvar reactIs_production_min_13 = reactIs_production_min.StrictMode;\r\nvar reactIs_production_min_14 = reactIs_production_min.Suspense;\r\nvar reactIs_production_min_15 = reactIs_production_min.isValidElementType;\r\nvar reactIs_production_min_16 = reactIs_production_min.isAsyncMode;\r\nvar reactIs_production_min_17 = reactIs_production_min.isConcurrentMode;\r\nvar reactIs_production_min_18 = reactIs_production_min.isContextConsumer;\r\nvar reactIs_production_min_19 = reactIs_production_min.isContextProvider;\r\nvar reactIs_production_min_20 = reactIs_production_min.isElement;\r\nvar reactIs_production_min_21 = reactIs_production_min.isForwardRef;\r\nvar reactIs_production_min_22 = reactIs_production_min.isFragment;\r\nvar reactIs_production_min_23 = reactIs_production_min.isLazy;\r\nvar reactIs_production_min_24 = reactIs_production_min.isMemo;\r\nvar reactIs_production_min_25 = reactIs_production_min.isPortal;\r\nvar reactIs_production_min_26 = reactIs_production_min.isProfiler;\r\nvar reactIs_production_min_27 = reactIs_production_min.isStrictMode;\r\nvar reactIs_production_min_28 = reactIs_production_min.isSuspense;\r\n\r\nvar reactIs_development = createCommonjsModule(function (module, exports) {\r\n\r\n\r\n\r\n if (process.env.NODE_ENV !== \"production\") {\r\n (function () {\r\n\r\n Object.defineProperty(exports, '__esModule', { value: true });\r\n\r\n // The Symbol used to tag the ReactElement-like types. If there is no native Symbol\r\n // nor polyfill, then a plain number is used for performance.\r\n var hasSymbol = typeof Symbol === 'function' && Symbol.for;\r\n var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;\r\n var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;\r\n var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;\r\n var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;\r\n var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;\r\n var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;\r\n var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary\r\n // (unstable) APIs that have been removed. Can we remove the symbols?\r\n\r\n var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;\r\n var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;\r\n var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;\r\n var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;\r\n var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;\r\n var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;\r\n var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;\r\n var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;\r\n var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;\r\n var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;\r\n\r\n function isValidElementType(type) {\r\n return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.\r\n type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE);\r\n }\r\n\r\n /**\r\n * Forked from fbjs/warning:\r\n * https://github.com/facebook/fbjs/blob/e66ba20ad5be433eb54423f2b097d829324d9de6/packages/fbjs/src/__forks__/warning.js\r\n *\r\n * Only change is we use console.warn instead of console.error,\r\n * and do nothing when 'console' is not supported.\r\n * This really simplifies the code.\r\n * ---\r\n * Similar to invariant but only logs a warning if the condition is not met.\r\n * This can be used to log issues in development environments in critical\r\n * paths. Removing the logging code for production environments will keep the\r\n * same logic and follow the same code paths.\r\n */\r\n var lowPriorityWarningWithoutStack = function () { };\r\n\r\n {\r\n var printWarning = function (format) {\r\n for (var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\r\n args[_key - 1] = arguments[_key];\r\n }\r\n\r\n var argIndex = 0;\r\n var message = 'Warning: ' + format.replace(/%s/g, function () {\r\n return args[argIndex++];\r\n });\r\n\r\n if (typeof console !== 'undefined') {\r\n console.warn(message);\r\n }\r\n\r\n try {\r\n // --- Welcome to debugging React ---\r\n // This error was thrown as a convenience so that you can use this stack\r\n // to find the callsite that caused this warning to fire.\r\n throw new Error(message);\r\n } catch (x) { }\r\n };\r\n\r\n lowPriorityWarningWithoutStack = function (condition, format) {\r\n if (format === undefined) {\r\n throw new Error('`lowPriorityWarningWithoutStack(condition, format, ...args)` requires a warning ' + 'message argument');\r\n }\r\n\r\n if (!condition) {\r\n for (var _len2 = arguments.length, args = new Array(_len2 > 2 ? _len2 - 2 : 0), _key2 = 2; _key2 < _len2; _key2++) {\r\n args[_key2 - 2] = arguments[_key2];\r\n }\r\n\r\n printWarning.apply(void 0, [format].concat(args));\r\n }\r\n };\r\n }\r\n\r\n var lowPriorityWarningWithoutStack$1 = lowPriorityWarningWithoutStack;\r\n\r\n function typeOf(object) {\r\n if (typeof object === 'object' && object !== null) {\r\n var $$typeof = object.$$typeof;\r\n\r\n switch ($$typeof) {\r\n case REACT_ELEMENT_TYPE:\r\n var type = object.type;\r\n\r\n switch (type) {\r\n case REACT_ASYNC_MODE_TYPE:\r\n case REACT_CONCURRENT_MODE_TYPE:\r\n case REACT_FRAGMENT_TYPE:\r\n case REACT_PROFILER_TYPE:\r\n case REACT_STRICT_MODE_TYPE:\r\n case REACT_SUSPENSE_TYPE:\r\n return type;\r\n\r\n default:\r\n var $$typeofType = type && type.$$typeof;\r\n\r\n switch ($$typeofType) {\r\n case REACT_CONTEXT_TYPE:\r\n case REACT_FORWARD_REF_TYPE:\r\n case REACT_PROVIDER_TYPE:\r\n return $$typeofType;\r\n\r\n default:\r\n return $$typeof;\r\n }\r\n\r\n }\r\n\r\n case REACT_LAZY_TYPE:\r\n case REACT_MEMO_TYPE:\r\n case REACT_PORTAL_TYPE:\r\n return $$typeof;\r\n }\r\n }\r\n\r\n return undefined;\r\n } // AsyncMode is deprecated along with isAsyncMode\r\n\r\n var AsyncMode = REACT_ASYNC_MODE_TYPE;\r\n var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;\r\n var ContextConsumer = REACT_CONTEXT_TYPE;\r\n var ContextProvider = REACT_PROVIDER_TYPE;\r\n var Element = REACT_ELEMENT_TYPE;\r\n var ForwardRef = REACT_FORWARD_REF_TYPE;\r\n var Fragment = REACT_FRAGMENT_TYPE;\r\n var Lazy = REACT_LAZY_TYPE;\r\n var Memo = REACT_MEMO_TYPE;\r\n var Portal = REACT_PORTAL_TYPE;\r\n var Profiler = REACT_PROFILER_TYPE;\r\n var StrictMode = REACT_STRICT_MODE_TYPE;\r\n var Suspense = REACT_SUSPENSE_TYPE;\r\n var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated\r\n\r\n function isAsyncMode(object) {\r\n {\r\n if (!hasWarnedAboutDeprecatedIsAsyncMode) {\r\n hasWarnedAboutDeprecatedIsAsyncMode = true;\r\n lowPriorityWarningWithoutStack$1(false, 'The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');\r\n }\r\n }\r\n\r\n return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;\r\n }\r\n function isConcurrentMode(object) {\r\n return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;\r\n }\r\n function isContextConsumer(object) {\r\n return typeOf(object) === REACT_CONTEXT_TYPE;\r\n }\r\n function isContextProvider(object) {\r\n return typeOf(object) === REACT_PROVIDER_TYPE;\r\n }\r\n function isElement(object) {\r\n return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;\r\n }\r\n function isForwardRef(object) {\r\n return typeOf(object) === REACT_FORWARD_REF_TYPE;\r\n }\r\n function isFragment(object) {\r\n return typeOf(object) === REACT_FRAGMENT_TYPE;\r\n }\r\n function isLazy(object) {\r\n return typeOf(object) === REACT_LAZY_TYPE;\r\n }\r\n function isMemo(object) {\r\n return typeOf(object) === REACT_MEMO_TYPE;\r\n }\r\n function isPortal(object) {\r\n return typeOf(object) === REACT_PORTAL_TYPE;\r\n }\r\n function isProfiler(object) {\r\n return typeOf(object) === REACT_PROFILER_TYPE;\r\n }\r\n function isStrictMode(object) {\r\n return typeOf(object) === REACT_STRICT_MODE_TYPE;\r\n }\r\n function isSuspense(object) {\r\n return typeOf(object) === REACT_SUSPENSE_TYPE;\r\n }\r\n\r\n exports.typeOf = typeOf;\r\n exports.AsyncMode = AsyncMode;\r\n exports.ConcurrentMode = ConcurrentMode;\r\n exports.ContextConsumer = ContextConsumer;\r\n exports.ContextProvider = ContextProvider;\r\n exports.Element = Element;\r\n exports.ForwardRef = ForwardRef;\r\n exports.Fragment = Fragment;\r\n exports.Lazy = Lazy;\r\n exports.Memo = Memo;\r\n exports.Portal = Portal;\r\n exports.Profiler = Profiler;\r\n exports.StrictMode = StrictMode;\r\n exports.Suspense = Suspense;\r\n exports.isValidElementType = isValidElementType;\r\n exports.isAsyncMode = isAsyncMode;\r\n exports.isConcurrentMode = isConcurrentMode;\r\n exports.isContextConsumer = isContextConsumer;\r\n exports.isContextProvider = isContextProvider;\r\n exports.isElement = isElement;\r\n exports.isForwardRef = isForwardRef;\r\n exports.isFragment = isFragment;\r\n exports.isLazy = isLazy;\r\n exports.isMemo = isMemo;\r\n exports.isPortal = isPortal;\r\n exports.isProfiler = isProfiler;\r\n exports.isStrictMode = isStrictMode;\r\n exports.isSuspense = isSuspense;\r\n })();\r\n }\r\n});\r\n\r\nunwrapExports(reactIs_development);\r\nvar reactIs_development_1 = reactIs_development.typeOf;\r\nvar reactIs_development_2 = reactIs_development.AsyncMode;\r\nvar reactIs_development_3 = reactIs_development.ConcurrentMode;\r\nvar reactIs_development_4 = reactIs_development.ContextConsumer;\r\nvar reactIs_development_5 = reactIs_development.ContextProvider;\r\nvar reactIs_development_6 = reactIs_development.Element;\r\nvar reactIs_development_7 = reactIs_development.ForwardRef;\r\nvar reactIs_development_8 = reactIs_development.Fragment;\r\nvar reactIs_development_9 = reactIs_development.Lazy;\r\nvar reactIs_development_10 = reactIs_development.Memo;\r\nvar reactIs_development_11 = reactIs_development.Portal;\r\nvar reactIs_development_12 = reactIs_development.Profiler;\r\nvar reactIs_development_13 = reactIs_development.StrictMode;\r\nvar reactIs_development_14 = reactIs_development.Suspense;\r\nvar reactIs_development_15 = reactIs_development.isValidElementType;\r\nvar reactIs_development_16 = reactIs_development.isAsyncMode;\r\nvar reactIs_development_17 = reactIs_development.isConcurrentMode;\r\nvar reactIs_development_18 = reactIs_development.isContextConsumer;\r\nvar reactIs_development_19 = reactIs_development.isContextProvider;\r\nvar reactIs_development_20 = reactIs_development.isElement;\r\nvar reactIs_development_21 = reactIs_development.isForwardRef;\r\nvar reactIs_development_22 = reactIs_development.isFragment;\r\nvar reactIs_development_23 = reactIs_development.isLazy;\r\nvar reactIs_development_24 = reactIs_development.isMemo;\r\nvar reactIs_development_25 = reactIs_development.isPortal;\r\nvar reactIs_development_26 = reactIs_development.isProfiler;\r\nvar reactIs_development_27 = reactIs_development.isStrictMode;\r\nvar reactIs_development_28 = reactIs_development.isSuspense;\r\n\r\nvar reactIs = createCommonjsModule(function (module) {\r\n\r\n if (process.env.NODE_ENV === 'production') {\r\n module.exports = reactIs_production_min;\r\n } else {\r\n module.exports = reactIs_development;\r\n }\r\n});\r\n\r\n/*\r\nobject-assign\r\n(c) Sindre Sorhus\r\n@license MIT\r\n*/\r\n/* eslint-disable no-unused-vars */\r\nvar getOwnPropertySymbols = Object.getOwnPropertySymbols;\r\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\r\nvar propIsEnumerable = Object.prototype.propertyIsEnumerable;\r\n\r\nfunction toObject(val) {\r\n if (val === null || val === undefined) {\r\n throw new TypeError('Object.assign cannot be called with null or undefined');\r\n }\r\n\r\n return Object(val);\r\n}\r\n\r\nfunction shouldUseNative() {\r\n try {\r\n if (!Object.assign) {\r\n return false;\r\n }\r\n\r\n // Detect buggy property enumeration order in older V8 versions.\r\n\r\n // https://bugs.chromium.org/p/v8/issues/detail?id=4118\r\n var test1 = new String('abc'); // eslint-disable-line no-new-wrappers\r\n test1[5] = 'de';\r\n if (Object.getOwnPropertyNames(test1)[0] === '5') {\r\n return false;\r\n }\r\n\r\n // https://bugs.chromium.org/p/v8/issues/detail?id=3056\r\n var test2 = {};\r\n for (var i = 0; i < 10; i++) {\r\n test2['_' + String.fromCharCode(i)] = i;\r\n }\r\n var order2 = Object.getOwnPropertyNames(test2).map(function (n) {\r\n return test2[n];\r\n });\r\n if (order2.join('') !== '0123456789') {\r\n return false;\r\n }\r\n\r\n // https://bugs.chromium.org/p/v8/issues/detail?id=3056\r\n var test3 = {};\r\n 'abcdefghijklmnopqrst'.split('').forEach(function (letter) {\r\n test3[letter] = letter;\r\n });\r\n if (Object.keys(Object.assign({}, test3)).join('') !==\r\n 'abcdefghijklmnopqrst') {\r\n return false;\r\n }\r\n\r\n return true;\r\n } catch (err) {\r\n // We don't expect any of the above to throw, but better to be safe.\r\n return false;\r\n }\r\n}\r\n\r\nvar objectAssign = shouldUseNative() ? Object.assign : function (target, source) {\r\n var from;\r\n var to = toObject(target);\r\n var symbols;\r\n\r\n for (var s = 1; s < arguments.length; s++) {\r\n from = Object(arguments[s]);\r\n\r\n for (var key in from) {\r\n if (hasOwnProperty.call(from, key)) {\r\n to[key] = from[key];\r\n }\r\n }\r\n\r\n if (getOwnPropertySymbols) {\r\n symbols = getOwnPropertySymbols(from);\r\n for (var i = 0; i < symbols.length; i++) {\r\n if (propIsEnumerable.call(from, symbols[i])) {\r\n to[symbols[i]] = from[symbols[i]];\r\n }\r\n }\r\n }\r\n }\r\n\r\n return to;\r\n};\r\n\r\n/**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n */\r\n\r\nvar ReactPropTypesSecret = 'SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED';\r\n\r\nvar ReactPropTypesSecret_1 = ReactPropTypesSecret;\r\n\r\nvar printWarning = function () { };\r\n\r\nif (process.env.NODE_ENV !== 'production') {\r\n var ReactPropTypesSecret$1 = ReactPropTypesSecret_1;\r\n var loggedTypeFailures = {};\r\n var has = Function.call.bind(Object.prototype.hasOwnProperty);\r\n\r\n printWarning = function (text) {\r\n var message = 'Warning: ' + text;\r\n if (typeof console !== 'undefined') {\r\n console.error(message);\r\n }\r\n try {\r\n // --- Welcome to debugging React ---\r\n // This error was thrown as a convenience so that you can use this stack\r\n // to find the callsite that caused this warning to fire.\r\n throw new Error(message);\r\n } catch (x) { }\r\n };\r\n}\r\n\r\n/**\r\n * Assert that the values match with the type specs.\r\n * Error messages are memorized and will only be shown once.\r\n *\r\n * @param {object} typeSpecs Map of name to a ReactPropType\r\n * @param {object} values Runtime values that need to be type-checked\r\n * @param {string} location e.g. \"prop\", \"context\", \"child context\"\r\n * @param {string} componentName Name of the component for error messages.\r\n * @param {?Function} getStack Returns the component stack.\r\n * @private\r\n */\r\nfunction checkPropTypes(typeSpecs, values, location, componentName, getStack) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n for (var typeSpecName in typeSpecs) {\r\n if (has(typeSpecs, typeSpecName)) {\r\n var error;\r\n // Prop type validation may throw. In case they do, we don't want to\r\n // fail the render phase where it didn't fail before. So we log it.\r\n // After these have been cleaned up, we'll let them throw.\r\n try {\r\n // This is intentionally an invariant that gets caught. It's the same\r\n // behavior as without this statement except with a better message.\r\n if (typeof typeSpecs[typeSpecName] !== 'function') {\r\n var err = Error(\r\n (componentName || 'React class') + ': ' + location + ' type `' + typeSpecName + '` is invalid; ' +\r\n 'it must be a function, usually from the `prop-types` package, but received `' + typeof typeSpecs[typeSpecName] + '`.'\r\n );\r\n err.name = 'Invariant Violation';\r\n throw err;\r\n }\r\n error = typeSpecs[typeSpecName](values, typeSpecName, componentName, location, null, ReactPropTypesSecret$1);\r\n } catch (ex) {\r\n error = ex;\r\n }\r\n if (error && !(error instanceof Error)) {\r\n printWarning(\r\n (componentName || 'React class') + ': type specification of ' +\r\n location + ' `' + typeSpecName + '` is invalid; the type checker ' +\r\n 'function must return `null` or an `Error` but returned a ' + typeof error + '. ' +\r\n 'You may have forgotten to pass an argument to the type checker ' +\r\n 'creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and ' +\r\n 'shape all require an argument).'\r\n );\r\n }\r\n if (error instanceof Error && !(error.message in loggedTypeFailures)) {\r\n // Only monitor this failure once because there tends to be a lot of the\r\n // same error.\r\n loggedTypeFailures[error.message] = true;\r\n\r\n var stack = getStack ? getStack() : '';\r\n\r\n printWarning(\r\n 'Failed ' + location + ' type: ' + error.message + (stack != null ? stack : '')\r\n );\r\n }\r\n }\r\n }\r\n }\r\n}\r\n\r\n/**\r\n * Resets warning cache when testing.\r\n *\r\n * @private\r\n */\r\ncheckPropTypes.resetWarningCache = function () {\r\n if (process.env.NODE_ENV !== 'production') {\r\n loggedTypeFailures = {};\r\n }\r\n};\r\n\r\nvar checkPropTypes_1 = checkPropTypes;\r\n\r\nvar has$1 = Function.call.bind(Object.prototype.hasOwnProperty);\r\nvar printWarning$1 = function () { };\r\n\r\nif (process.env.NODE_ENV !== 'production') {\r\n printWarning$1 = function (text) {\r\n var message = 'Warning: ' + text;\r\n if (typeof console !== 'undefined') {\r\n console.error(message);\r\n }\r\n try {\r\n // --- Welcome to debugging React ---\r\n // This error was thrown as a convenience so that you can use this stack\r\n // to find the callsite that caused this warning to fire.\r\n throw new Error(message);\r\n } catch (x) { }\r\n };\r\n}\r\n\r\nfunction emptyFunctionThatReturnsNull() {\r\n return null;\r\n}\r\n\r\nvar factoryWithTypeCheckers = function (isValidElement, throwOnDirectAccess) {\r\n /* global Symbol */\r\n var ITERATOR_SYMBOL = typeof Symbol === 'function' && Symbol.iterator;\r\n var FAUX_ITERATOR_SYMBOL = '@@iterator'; // Before Symbol spec.\r\n\r\n /**\r\n * Returns the iterator method function contained on the iterable object.\r\n *\r\n * Be sure to invoke the function with the iterable as context:\r\n *\r\n * var iteratorFn = getIteratorFn(myIterable);\r\n * if (iteratorFn) {\r\n * var iterator = iteratorFn.call(myIterable);\r\n * ...\r\n * }\r\n *\r\n * @param {?object} maybeIterable\r\n * @return {?function}\r\n */\r\n function getIteratorFn(maybeIterable) {\r\n var iteratorFn = maybeIterable && (ITERATOR_SYMBOL && maybeIterable[ITERATOR_SYMBOL] || maybeIterable[FAUX_ITERATOR_SYMBOL]);\r\n if (typeof iteratorFn === 'function') {\r\n return iteratorFn;\r\n }\r\n }\r\n\r\n /**\r\n * Collection of methods that allow declaration and validation of props that are\r\n * supplied to React components. Example usage:\r\n *\r\n * var Props = require('ReactPropTypes');\r\n * var MyArticle = React.createClass({\r\n * propTypes: {\r\n * // An optional string prop named \"description\".\r\n * description: Props.string,\r\n *\r\n * // A required enum prop named \"category\".\r\n * category: Props.oneOf(['News','Photos']).isRequired,\r\n *\r\n * // A prop named \"dialog\" that requires an instance of Dialog.\r\n * dialog: Props.instanceOf(Dialog).isRequired\r\n * },\r\n * render: function() { ... }\r\n * });\r\n *\r\n * A more formal specification of how these methods are used:\r\n *\r\n * type := array|bool|func|object|number|string|oneOf([...])|instanceOf(...)\r\n * decl := ReactPropTypes.{type}(.isRequired)?\r\n *\r\n * Each and every declaration produces a function with the same signature. This\r\n * allows the creation of custom validation functions. For example:\r\n *\r\n * var MyLink = React.createClass({\r\n * propTypes: {\r\n * // An optional string or URI prop named \"href\".\r\n * href: function(props, propName, componentName) {\r\n * var propValue = props[propName];\r\n * if (propValue != null && typeof propValue !== 'string' &&\r\n * !(propValue instanceof URI)) {\r\n * return new Error(\r\n * 'Expected a string or an URI for ' + propName + ' in ' +\r\n * componentName\r\n * );\r\n * }\r\n * }\r\n * },\r\n * render: function() {...}\r\n * });\r\n *\r\n * @internal\r\n */\r\n\r\n var ANONYMOUS = '<>';\r\n\r\n // Important!\r\n // Keep this list in sync with production version in `./factoryWithThrowingShims.js`.\r\n var ReactPropTypes = {\r\n array: createPrimitiveTypeChecker('array'),\r\n bool: createPrimitiveTypeChecker('boolean'),\r\n func: createPrimitiveTypeChecker('function'),\r\n number: createPrimitiveTypeChecker('number'),\r\n object: createPrimitiveTypeChecker('object'),\r\n string: createPrimitiveTypeChecker('string'),\r\n symbol: createPrimitiveTypeChecker('symbol'),\r\n\r\n any: createAnyTypeChecker(),\r\n arrayOf: createArrayOfTypeChecker,\r\n element: createElementTypeChecker(),\r\n elementType: createElementTypeTypeChecker(),\r\n instanceOf: createInstanceTypeChecker,\r\n node: createNodeChecker(),\r\n objectOf: createObjectOfTypeChecker,\r\n oneOf: createEnumTypeChecker,\r\n oneOfType: createUnionTypeChecker,\r\n shape: createShapeTypeChecker,\r\n exact: createStrictShapeTypeChecker,\r\n };\r\n\r\n /**\r\n * inlined Object.is polyfill to avoid requiring consumers ship their own\r\n * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is\r\n */\r\n /*eslint-disable no-self-compare*/\r\n function is(x, y) {\r\n // SameValue algorithm\r\n if (x === y) {\r\n // Steps 1-5, 7-10\r\n // Steps 6.b-6.e: +0 != -0\r\n return x !== 0 || 1 / x === 1 / y;\r\n } else {\r\n // Step 6.a: NaN == NaN\r\n return x !== x && y !== y;\r\n }\r\n }\r\n /*eslint-enable no-self-compare*/\r\n\r\n /**\r\n * We use an Error-like object for backward compatibility as people may call\r\n * PropTypes directly and inspect their output. However, we don't use real\r\n * Errors anymore. We don't inspect their stack anyway, and creating them\r\n * is prohibitively expensive if they are created too often, such as what\r\n * happens in oneOfType() for any type before the one that matched.\r\n */\r\n function PropTypeError(message) {\r\n this.message = message;\r\n this.stack = '';\r\n }\r\n // Make `instanceof Error` still work for returned errors.\r\n PropTypeError.prototype = Error.prototype;\r\n\r\n function createChainableTypeChecker(validate) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n var manualPropTypeCallCache = {};\r\n var manualPropTypeWarningCount = 0;\r\n }\r\n function checkType(isRequired, props, propName, componentName, location, propFullName, secret) {\r\n componentName = componentName || ANONYMOUS;\r\n propFullName = propFullName || propName;\r\n\r\n if (secret !== ReactPropTypesSecret_1) {\r\n if (throwOnDirectAccess) {\r\n // New behavior only for users of `prop-types` package\r\n var err = new Error(\r\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\r\n 'Use `PropTypes.checkPropTypes()` to call them. ' +\r\n 'Read more at http://fb.me/use-check-prop-types'\r\n );\r\n err.name = 'Invariant Violation';\r\n throw err;\r\n } else if (process.env.NODE_ENV !== 'production' && typeof console !== 'undefined') {\r\n // Old behavior for people using React.PropTypes\r\n var cacheKey = componentName + ':' + propName;\r\n if (\r\n !manualPropTypeCallCache[cacheKey] &&\r\n // Avoid spamming the console because they are often not actionable except for lib authors\r\n manualPropTypeWarningCount < 3\r\n ) {\r\n printWarning$1(\r\n 'You are manually calling a React.PropTypes validation ' +\r\n 'function for the `' + propFullName + '` prop on `' + componentName + '`. This is deprecated ' +\r\n 'and will throw in the standalone `prop-types` package. ' +\r\n 'You may be seeing this warning due to a third-party PropTypes ' +\r\n 'library. See https://fb.me/react-warning-dont-call-proptypes ' + 'for details.'\r\n );\r\n manualPropTypeCallCache[cacheKey] = true;\r\n manualPropTypeWarningCount++;\r\n }\r\n }\r\n }\r\n if (props[propName] == null) {\r\n if (isRequired) {\r\n if (props[propName] === null) {\r\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required ' + ('in `' + componentName + '`, but its value is `null`.'));\r\n }\r\n return new PropTypeError('The ' + location + ' `' + propFullName + '` is marked as required in ' + ('`' + componentName + '`, but its value is `undefined`.'));\r\n }\r\n return null;\r\n } else {\r\n return validate(props, propName, componentName, location, propFullName);\r\n }\r\n }\r\n\r\n var chainedCheckType = checkType.bind(null, false);\r\n chainedCheckType.isRequired = checkType.bind(null, true);\r\n\r\n return chainedCheckType;\r\n }\r\n\r\n function createPrimitiveTypeChecker(expectedType) {\r\n function validate(props, propName, componentName, location, propFullName, secret) {\r\n var propValue = props[propName];\r\n var propType = getPropType(propValue);\r\n if (propType !== expectedType) {\r\n // `propValue` being instance of, say, date/regexp, pass the 'object'\r\n // check, but we can offer a more precise error message here rather than\r\n // 'of type `object`'.\r\n var preciseType = getPreciseType(propValue);\r\n\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + preciseType + '` supplied to `' + componentName + '`, expected ') + ('`' + expectedType + '`.'));\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createAnyTypeChecker() {\r\n return createChainableTypeChecker(emptyFunctionThatReturnsNull);\r\n }\r\n\r\n function createArrayOfTypeChecker(typeChecker) {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n if (typeof typeChecker !== 'function') {\r\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside arrayOf.');\r\n }\r\n var propValue = props[propName];\r\n if (!Array.isArray(propValue)) {\r\n var propType = getPropType(propValue);\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an array.'));\r\n }\r\n for (var i = 0; i < propValue.length; i++) {\r\n var error = typeChecker(propValue, i, componentName, location, propFullName + '[' + i + ']', ReactPropTypesSecret_1);\r\n if (error instanceof Error) {\r\n return error;\r\n }\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createElementTypeChecker() {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n var propValue = props[propName];\r\n if (!isValidElement(propValue)) {\r\n var propType = getPropType(propValue);\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement.'));\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createElementTypeTypeChecker() {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n var propValue = props[propName];\r\n if (!reactIs.isValidElementType(propValue)) {\r\n var propType = getPropType(propValue);\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected a single ReactElement type.'));\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createInstanceTypeChecker(expectedClass) {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n if (!(props[propName] instanceof expectedClass)) {\r\n var expectedClassName = expectedClass.name || ANONYMOUS;\r\n var actualClassName = getClassName(props[propName]);\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + actualClassName + '` supplied to `' + componentName + '`, expected ') + ('instance of `' + expectedClassName + '`.'));\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createEnumTypeChecker(expectedValues) {\r\n if (!Array.isArray(expectedValues)) {\r\n if (process.env.NODE_ENV !== 'production') {\r\n if (arguments.length > 1) {\r\n printWarning$1(\r\n 'Invalid arguments supplied to oneOf, expected an array, got ' + arguments.length + ' arguments. ' +\r\n 'A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z]).'\r\n );\r\n } else {\r\n printWarning$1('Invalid argument supplied to oneOf, expected an array.');\r\n }\r\n }\r\n return emptyFunctionThatReturnsNull;\r\n }\r\n\r\n function validate(props, propName, componentName, location, propFullName) {\r\n var propValue = props[propName];\r\n for (var i = 0; i < expectedValues.length; i++) {\r\n if (is(propValue, expectedValues[i])) {\r\n return null;\r\n }\r\n }\r\n\r\n var valuesString = JSON.stringify(expectedValues, function replacer(key, value) {\r\n var type = getPreciseType(value);\r\n if (type === 'symbol') {\r\n return String(value);\r\n }\r\n return value;\r\n });\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of value `' + String(propValue) + '` ' + ('supplied to `' + componentName + '`, expected one of ' + valuesString + '.'));\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createObjectOfTypeChecker(typeChecker) {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n if (typeof typeChecker !== 'function') {\r\n return new PropTypeError('Property `' + propFullName + '` of component `' + componentName + '` has invalid PropType notation inside objectOf.');\r\n }\r\n var propValue = props[propName];\r\n var propType = getPropType(propValue);\r\n if (propType !== 'object') {\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type ' + ('`' + propType + '` supplied to `' + componentName + '`, expected an object.'));\r\n }\r\n for (var key in propValue) {\r\n if (has$1(propValue, key)) {\r\n var error = typeChecker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\r\n if (error instanceof Error) {\r\n return error;\r\n }\r\n }\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createUnionTypeChecker(arrayOfTypeCheckers) {\r\n if (!Array.isArray(arrayOfTypeCheckers)) {\r\n process.env.NODE_ENV !== 'production' ? printWarning$1('Invalid argument supplied to oneOfType, expected an instance of array.') : void 0;\r\n return emptyFunctionThatReturnsNull;\r\n }\r\n\r\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\r\n var checker = arrayOfTypeCheckers[i];\r\n if (typeof checker !== 'function') {\r\n printWarning$1(\r\n 'Invalid argument supplied to oneOfType. Expected an array of check functions, but ' +\r\n 'received ' + getPostfixForTypeWarning(checker) + ' at index ' + i + '.'\r\n );\r\n return emptyFunctionThatReturnsNull;\r\n }\r\n }\r\n\r\n function validate(props, propName, componentName, location, propFullName) {\r\n for (var i = 0; i < arrayOfTypeCheckers.length; i++) {\r\n var checker = arrayOfTypeCheckers[i];\r\n if (checker(props, propName, componentName, location, propFullName, ReactPropTypesSecret_1) == null) {\r\n return null;\r\n }\r\n }\r\n\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`.'));\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createNodeChecker() {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n if (!isNode(props[propName])) {\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` supplied to ' + ('`' + componentName + '`, expected a ReactNode.'));\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createShapeTypeChecker(shapeTypes) {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n var propValue = props[propName];\r\n var propType = getPropType(propValue);\r\n if (propType !== 'object') {\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\r\n }\r\n for (var key in shapeTypes) {\r\n var checker = shapeTypes[key];\r\n if (!checker) {\r\n continue;\r\n }\r\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\r\n if (error) {\r\n return error;\r\n }\r\n }\r\n return null;\r\n }\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function createStrictShapeTypeChecker(shapeTypes) {\r\n function validate(props, propName, componentName, location, propFullName) {\r\n var propValue = props[propName];\r\n var propType = getPropType(propValue);\r\n if (propType !== 'object') {\r\n return new PropTypeError('Invalid ' + location + ' `' + propFullName + '` of type `' + propType + '` ' + ('supplied to `' + componentName + '`, expected `object`.'));\r\n }\r\n // We need to check all keys in case some are required but missing from\r\n // props.\r\n var allKeys = objectAssign({}, props[propName], shapeTypes);\r\n for (var key in allKeys) {\r\n var checker = shapeTypes[key];\r\n if (!checker) {\r\n return new PropTypeError(\r\n 'Invalid ' + location + ' `' + propFullName + '` key `' + key + '` supplied to `' + componentName + '`.' +\r\n '\\nBad object: ' + JSON.stringify(props[propName], null, ' ') +\r\n '\\nValid keys: ' + JSON.stringify(Object.keys(shapeTypes), null, ' ')\r\n );\r\n }\r\n var error = checker(propValue, key, componentName, location, propFullName + '.' + key, ReactPropTypesSecret_1);\r\n if (error) {\r\n return error;\r\n }\r\n }\r\n return null;\r\n }\r\n\r\n return createChainableTypeChecker(validate);\r\n }\r\n\r\n function isNode(propValue) {\r\n switch (typeof propValue) {\r\n case 'number':\r\n case 'string':\r\n case 'undefined':\r\n return true;\r\n case 'boolean':\r\n return !propValue;\r\n case 'object':\r\n if (Array.isArray(propValue)) {\r\n return propValue.every(isNode);\r\n }\r\n if (propValue === null || isValidElement(propValue)) {\r\n return true;\r\n }\r\n\r\n var iteratorFn = getIteratorFn(propValue);\r\n if (iteratorFn) {\r\n var iterator = iteratorFn.call(propValue);\r\n var step;\r\n if (iteratorFn !== propValue.entries) {\r\n while (!(step = iterator.next()).done) {\r\n if (!isNode(step.value)) {\r\n return false;\r\n }\r\n }\r\n } else {\r\n // Iterator will provide entry [k,v] tuples rather than values.\r\n while (!(step = iterator.next()).done) {\r\n var entry = step.value;\r\n if (entry) {\r\n if (!isNode(entry[1])) {\r\n return false;\r\n }\r\n }\r\n }\r\n }\r\n } else {\r\n return false;\r\n }\r\n\r\n return true;\r\n default:\r\n return false;\r\n }\r\n }\r\n\r\n function isSymbol(propType, propValue) {\r\n // Native Symbol.\r\n if (propType === 'symbol') {\r\n return true;\r\n }\r\n\r\n // falsy value can't be a Symbol\r\n if (!propValue) {\r\n return false;\r\n }\r\n\r\n // 19.4.3.5 Symbol.prototype[@@toStringTag] === 'Symbol'\r\n if (propValue['@@toStringTag'] === 'Symbol') {\r\n return true;\r\n }\r\n\r\n // Fallback for non-spec compliant Symbols which are polyfilled.\r\n if (typeof Symbol === 'function' && propValue instanceof Symbol) {\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n // Equivalent of `typeof` but with special handling for array and regexp.\r\n function getPropType(propValue) {\r\n var propType = typeof propValue;\r\n if (Array.isArray(propValue)) {\r\n return 'array';\r\n }\r\n if (propValue instanceof RegExp) {\r\n // Old webkits (at least until Android 4.0) return 'function' rather than\r\n // 'object' for typeof a RegExp. We'll normalize this here so that /bla/\r\n // passes PropTypes.object.\r\n return 'object';\r\n }\r\n if (isSymbol(propType, propValue)) {\r\n return 'symbol';\r\n }\r\n return propType;\r\n }\r\n\r\n // This handles more types than `getPropType`. Only used for error messages.\r\n // See `createPrimitiveTypeChecker`.\r\n function getPreciseType(propValue) {\r\n if (typeof propValue === 'undefined' || propValue === null) {\r\n return '' + propValue;\r\n }\r\n var propType = getPropType(propValue);\r\n if (propType === 'object') {\r\n if (propValue instanceof Date) {\r\n return 'date';\r\n } else if (propValue instanceof RegExp) {\r\n return 'regexp';\r\n }\r\n }\r\n return propType;\r\n }\r\n\r\n // Returns a string that is postfixed to a warning about an invalid type.\r\n // For example, \"undefined\" or \"of type array\"\r\n function getPostfixForTypeWarning(value) {\r\n var type = getPreciseType(value);\r\n switch (type) {\r\n case 'array':\r\n case 'object':\r\n return 'an ' + type;\r\n case 'boolean':\r\n case 'date':\r\n case 'regexp':\r\n return 'a ' + type;\r\n default:\r\n return type;\r\n }\r\n }\r\n\r\n // Returns class name of the object, if any.\r\n function getClassName(propValue) {\r\n if (!propValue.constructor || !propValue.constructor.name) {\r\n return ANONYMOUS;\r\n }\r\n return propValue.constructor.name;\r\n }\r\n\r\n ReactPropTypes.checkPropTypes = checkPropTypes_1;\r\n ReactPropTypes.resetWarningCache = checkPropTypes_1.resetWarningCache;\r\n ReactPropTypes.PropTypes = ReactPropTypes;\r\n\r\n return ReactPropTypes;\r\n};\r\n\r\nfunction emptyFunction() { }\r\nfunction emptyFunctionWithReset() { }\r\nemptyFunctionWithReset.resetWarningCache = emptyFunction;\r\n\r\nvar factoryWithThrowingShims = function () {\r\n function shim(props, propName, componentName, location, propFullName, secret) {\r\n if (secret === ReactPropTypesSecret_1) {\r\n // It is still safe when called from React.\r\n return;\r\n }\r\n var err = new Error(\r\n 'Calling PropTypes validators directly is not supported by the `prop-types` package. ' +\r\n 'Use PropTypes.checkPropTypes() to call them. ' +\r\n 'Read more at http://fb.me/use-check-prop-types'\r\n );\r\n err.name = 'Invariant Violation';\r\n throw err;\r\n } shim.isRequired = shim;\r\n function getShim() {\r\n return shim;\r\n } // Important!\r\n // Keep this list in sync with production version in `./factoryWithTypeCheckers.js`.\r\n var ReactPropTypes = {\r\n array: shim,\r\n bool: shim,\r\n func: shim,\r\n number: shim,\r\n object: shim,\r\n string: shim,\r\n symbol: shim,\r\n\r\n any: shim,\r\n arrayOf: getShim,\r\n element: shim,\r\n elementType: shim,\r\n instanceOf: getShim,\r\n node: shim,\r\n objectOf: getShim,\r\n oneOf: getShim,\r\n oneOfType: getShim,\r\n shape: getShim,\r\n exact: getShim,\r\n\r\n checkPropTypes: emptyFunctionWithReset,\r\n resetWarningCache: emptyFunction\r\n };\r\n\r\n ReactPropTypes.PropTypes = ReactPropTypes;\r\n\r\n return ReactPropTypes;\r\n};\r\n\r\nvar propTypes = createCommonjsModule(function (module) {\r\n /**\r\n * Copyright (c) 2013-present, Facebook, Inc.\r\n *\r\n * This source code is licensed under the MIT license found in the\r\n * LICENSE file in the root directory of this source tree.\r\n */\r\n\r\n if (process.env.NODE_ENV !== 'production') {\r\n var ReactIs = reactIs;\r\n\r\n // By explicitly using `prop-types` you are opting into new development behavior.\r\n // http://fb.me/prop-types-in-prod\r\n var throwOnDirectAccess = true;\r\n module.exports = factoryWithTypeCheckers(ReactIs.isElement, throwOnDirectAccess);\r\n } else {\r\n // By explicitly using `prop-types` you are opting into new production behavior.\r\n // http://fb.me/prop-types-in-prod\r\n module.exports = factoryWithThrowingShims();\r\n }\r\n});\r\nvar propTypes_1 = propTypes.number;\r\nvar propTypes_2 = propTypes.string;\r\nvar propTypes_3 = propTypes.func;\r\nvar propTypes_4 = propTypes.oneOfType;\r\nvar propTypes_5 = propTypes.node;\r\n\r\nfunction styleInject(css, ref) {\r\n if (ref === void 0) ref = {};\r\n var insertAt = ref.insertAt;\r\n\r\n if (!css || typeof document === 'undefined') { return; }\r\n\r\n var head = document.head || document.getElementsByTagName('head')[0];\r\n var style = document.createElement('style');\r\n style.type = 'text/css';\r\n\r\n if (insertAt === 'top') {\r\n if (head.firstChild) {\r\n head.insertBefore(style, head.firstChild);\r\n } else {\r\n head.appendChild(style);\r\n }\r\n } else {\r\n head.appendChild(style);\r\n }\r\n\r\n if (style.styleSheet) {\r\n style.styleSheet.cssText = css;\r\n } else {\r\n style.appendChild(document.createTextNode(css));\r\n }\r\n}\r\n\r\nvar css = \".react-hooks-paginator {\\n align-items: center;\\n display: flex;\\n justify-content: center;\\n margin: 1rem 0; }\\n .react-hooks-paginator .page-item {\\n list-style: none; }\\n .react-hooks-paginator .page-item:first-child .page-link {\\n margin-left: 0;\\n border-top-left-radius: 3px;\\n border-bottom-left-radius: 3px; }\\n .react-hooks-paginator .page-item:last-child .page-link {\\n border-top-right-radius: 3px;\\n border-bottom-right-radius: 3px; }\\n .react-hooks-paginator .page-item:hover .page-link, .react-hooks-paginator .page-item.active .page-link {\\n background-color: #3895d3;\\n border-color: #3895d3;\\n color: #fff; }\\n .react-hooks-paginator .page-link {\\n border: 1px solid #dee2e6;\\n color: #4a4a4a;\\n margin-left: -1px;\\n outline: none;\\n padding: 0.5rem 0.75rem;\\n text-decoration: none;\\n transition: all 0.2s; }\\n\";\r\nstyleInject(css);\r\n\r\nvar LEFT_PAGE = 'LEFT';\r\nvar RIGHT_PAGE = 'RIGHT';\r\n\r\nvar range = function range(from, to) {\r\n var step = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\r\n var i = from;\r\n var pool = [];\r\n\r\n while (i <= to) {\r\n pool.push(i);\r\n i += step;\r\n }\r\n\r\n return pool;\r\n};\r\n\r\nfunction Paginator(props) {\r\n var init = function init() {\r\n var _props$totalRecords = props.totalRecords,\r\n totalRecords = _props$totalRecords === void 0 ? null : _props$totalRecords,\r\n _props$pageLimit = props.pageLimit,\r\n pageLimit = _props$pageLimit === void 0 ? 20 : _props$pageLimit,\r\n _props$pageNeighbours = props.pageNeighbours,\r\n pageNeighbours = _props$pageNeighbours === void 0 ? 0 : _props$pageNeighbours;\r\n pageLimit = typeof pageLimit === 'number' ? pageLimit : 20;\r\n totalRecords = typeof totalRecords === 'number' ? totalRecords : 0;\r\n pageNeighbours = typeof pageNeighbours === 'number' ? Math.max(0, Math.min(pageNeighbours, 2)) : 0;\r\n var totalPages = Math.ceil(totalRecords / pageLimit);\r\n return {\r\n pageLimit: pageLimit,\r\n totalRecords: totalRecords,\r\n pageNeighbours: pageNeighbours,\r\n totalPages: totalPages\r\n };\r\n };\r\n\r\n var _useState = React.useState(function () {\r\n return init();\r\n }),\r\n _useState2 = _slicedToArray(_useState, 2),\r\n state = _useState2[0],\r\n setState = _useState2[1];\r\n\r\n var firstRun = React.useRef(true);\r\n var gotoPage = React.useCallback(function (page) {\r\n var currentPage = Math.max(1, Math.min(page, totalP));\r\n props.setCurrentPage(currentPage);\r\n }, [state.totalP, props.pageLimit]);\r\n React.useEffect(function () {\r\n //gotoPage(1);\r\n }, [gotoPage]);\r\n React.useEffect(function () {\r\n props.setOffset((props.currentPage - 1) * props.pageLimit);\r\n }, [props.currentPage]);\r\n React.useEffect(() => {\r\n if (firstRun.current) {\r\n firstRun.current = false;\r\n return;\r\n }\r\n\r\n var totalRecords = props.totalRecords;\r\n var totalPages = Math.ceil(totalRecords / state.pageLimit);\r\n totalP = totalPages;\r\n setState(_objectSpread2({}, state, {\r\n totalRecords: props.totalRecords,\r\n totalPages: totalPages\r\n }));\r\n }, [props.totalRecords, setState]);\r\n\r\n var handleClick = function handleClick(page, evt) {\r\n evt.preventDefault();\r\n gotoPage(page);\r\n };\r\n\r\n var handleMoveLeft = React.useCallback(function (evt) {\r\n evt.preventDefault();\r\n gotoPage(props.currentPage - state.pageNeighbours * 2 - 2);\r\n }, [props.currentPage]);\r\n var handleMoveRight = React.useCallback(function (evt) {\r\n evt.preventDefault();\r\n gotoPage(props.currentPage + state.pageNeighbours * 2 + 2);\r\n }, [props.currentPage, state.pageNeighbours]);\r\n var fetchPageNumbers = React.useCallback(function () {\r\n var totalPages = state.totalPages;\r\n var currentPage = props.currentPage;\r\n var pageNeighbours = state.pageNeighbours; //Pages between first and middle block\r\n\r\n var totalNumbers = state.pageNeighbours * 2 + 3; //Neigbours on both sides including first, middle and last\r\n\r\n var totalBlocks = totalNumbers + 2; //including left and right buttons\r\n\r\n if (totalPages > totalBlocks) {\r\n var _pages = [];\r\n var leftBound = currentPage - pageNeighbours;\r\n var rightBound = currentPage + pageNeighbours;\r\n var beforeLastPage = totalPages - 1;\r\n var startPage = leftBound > 2 ? leftBound : 2;\r\n var endPage = rightBound < beforeLastPage ? rightBound : beforeLastPage;\r\n _pages = range(startPage, endPage);\r\n var pagesCount = _pages.length;\r\n var singleSpillOffset = totalNumbers - pagesCount - 1;\r\n var leftSpill = startPage > 2;\r\n var rightSpill = endPage < beforeLastPage;\r\n var leftSpillPage = LEFT_PAGE;\r\n var rightSpillPage = RIGHT_PAGE;\r\n\r\n if (leftSpill && !rightSpill) {\r\n var extraPages = range(startPage - singleSpillOffset, startPage - 1);\r\n _pages = [leftSpillPage].concat(_toConsumableArray(extraPages), _toConsumableArray(_pages));\r\n } else if (!leftSpill && rightSpill) {\r\n var _extraPages = range(endPage + 1, endPage + singleSpillOffset);\r\n\r\n _pages = [].concat(_toConsumableArray(_pages), _toConsumableArray(_extraPages), [rightSpillPage]);\r\n } else if (leftSpill && rightSpill) {\r\n _pages = [leftSpillPage].concat(_toConsumableArray(_pages), [rightSpillPage]);\r\n }\r\n\r\n return [1].concat(_toConsumableArray(_pages), [totalPages]);\r\n }\r\n\r\n return range(1, totalPages);\r\n }, [state.totalPages, props.currentPage, state.pageNeighbours]);\r\n if (!state.totalRecords) return null;\r\n if (state.totalPages === 1) return null;\r\n var currentPage = props.currentPage;\r\n var pages = fetchPageNumbers();\r\n return React__default.createElement(\"ul\", {\r\n className: props.pageContainerClass\r\n }, pages.map(function (page, index) {\r\n if (page === LEFT_PAGE) return React__default.createElement(\"li\", {\r\n className: props.pageItemClass,\r\n key: index\r\n }, React__default.createElement(\"button\", {\r\n className: props.pagePrevClass,\r\n onClick: handleMoveLeft\r\n }, props.pagePrevText));\r\n if (page === RIGHT_PAGE) return React__default.createElement(\"li\", {\r\n className: props.pageItemClass,\r\n key: index\r\n }, React__default.createElement(\"button\", {\r\n className: props.pageNextClass,\r\n onClick: handleMoveRight\r\n }, props.pageNextText));\r\n return React__default.createElement(\"li\", {\r\n className: \"\".concat(props.pageItemClass, \" \").concat(currentPage === page ? props.pageActiveClass : null),\r\n key: index\r\n }, React__default.createElement(\"button\", {\r\n className: props.pageLinkClass,\r\n onClick: function onClick(e) {\r\n return handleClick(page, e);\r\n }\r\n }, page));\r\n }));\r\n}\r\n\r\nPaginator.defaultProps = {\r\n pageContainerClass: 'react-hooks-paginator',\r\n pageActiveClass: 'active',\r\n pageItemClass: 'page-item',\r\n pageLinkClass: 'page-link',\r\n pageNextText: 'Next »',\r\n pagePrevText: '« Prev',\r\n pagePrevClass: 'page-link',\r\n pageNextClass: 'page-link'\r\n};\r\nPaginator.propTypes = {\r\n currentPage: propTypes_1,\r\n pageActiveClass: propTypes_2,\r\n pageNextText: propTypes_4([propTypes_2, propTypes_5]),\r\n pagePrevText: propTypes_4([propTypes_2, propTypes_5]),\r\n pagePrevClass: propTypes_2,\r\n pageNextClass: propTypes_2,\r\n pageContainerClass: propTypes_2,\r\n pageItemClass: propTypes_2,\r\n pageLimit: propTypes_1,\r\n pageLinkClass: propTypes_2,\r\n pageNeighbours: propTypes_1,\r\n setCurrentPage: propTypes_3,\r\n setOffset: propTypes_3,\r\n totalRecords: propTypes_1.isRequired\r\n};\r\n\r\nmodule.exports = Paginator;\r\n","import {\r\n getProductWithCategory,\r\n getUniqueCategories,\r\n} from \"../../helpers/product\";\r\nimport React from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\nimport ArrowBackIcon from \"@mui/icons-material/ArrowBack\";\r\nimport { useHistory } from \"react-router-dom/cjs/react-router-dom\";\r\nimport { Button } from \"@mui/material\";\r\nconst ShopProductCategory = ({\r\n products,\r\n getSortParams,\r\n sideSpaceClass,\r\n value,\r\n setSortValues,\r\n tag,\r\n}) => {\r\n products = products.filter((product) => product.tag.includes(tag));\r\n const uniqueCategories = getUniqueCategories(products)?.sort();\r\n const history = useHistory();\r\n return (\r\n
    \r\n
    \r\n \r\n
    \r\n {uniqueCategories?.map((category) => {\r\n if (category === \"\") return null;\r\n const numArt = getProductWithCategory(products, category);\r\n return (\r\n {\r\n if(document\r\n .querySelector(\"#allCategories\")) document\r\n .querySelector(\"#allCategories\")\r\n .classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"category\", category, \"-\");\r\n else getSortParams(\"category\", category, \"+\");\r\n setActiveSort(e);\r\n }}\r\n >\r\n
    \r\n
    \r\n {/*
    */}\r\n {/**/}\r\n {/*
    */}\r\n

    {category}

    \r\n
    {numArt} prodotti
    \r\n
    \r\n
    \r\n
    \r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default ShopProductCategory;\r\n","import { getProductWithCategory, getProductWithSubCategory, getUniqueCategories, getUniqueSubCategories } from \"../../helpers/product\";\r\nimport React from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\n\r\nconst ShopProductSubCategory = ({ products, getSortParams, sideSpaceClass, value, setSortValues, category }) => {\r\n const uniqueSubCategories = getUniqueSubCategories(products)?.sort();\r\n\r\n return (\r\n
    \r\n {uniqueSubCategories?.map((subcategory) => {\r\n const numArt = getProductWithSubCategory(products, category, subcategory);\r\n if (subcategory === \"\" || numArt <= 0) return null;\r\n \r\n return (\r\n
    {\r\n document.querySelector(\"#allCategories\").classList.remove(\"active\")\r\n if (e.currentTarget.classList.contains(\"active\")) getSortParams(\"subcategory\", subcategory, \"-\");\r\n else getSortParams(\"subcategory\", subcategory, \"+\");\r\n setActiveSort(e);\r\n }}>\r\n
    \r\n
    \r\n
    \r\n \r\n {/* Puoi aggiungere qui l'icona appropriata */}\r\n \r\n
    \r\n
    {subcategory}
    \r\n

    {numArt} prodotti

    \r\n
    \r\n
    \r\n
    \r\n );\r\n })}\r\n
    \r\n );\r\n};\r\n\r\nexport default ShopProductSubCategory;\r\n","import {\r\n getProductWithCategory,\r\n getProductWithTag,\r\n getUniqueCategories,\r\n getUniqueTags,\r\n} from \"../../helpers/product\";\r\nimport React from \"react\";\r\nimport { setActiveSort } from \"../../helpers/product\";\r\n\r\nconst ShopProductTag = ({\r\n products,\r\n getSortParams,\r\n sideSpaceClass,\r\n value,\r\n setSortValues,\r\n}) => {\r\n const uniqueTags = getUniqueTags(products)?.sort();\r\n\r\n return (\r\n
    \r\n {uniqueTags?.map((tag) => {\r\n if (tag === \"\") return null;\r\n const numArt = getProductWithTag(products, tag);\r\n return (\r\n {\r\n //document.querySelector(\"#allTags\").classList.remove(\"active\");\r\n if (e.currentTarget.classList.contains(\"active\"))\r\n getSortParams(\"tag\", tag, \"-\");\r\n else getSortParams(\"tag\", tag, \"+\");\r\n setActiveSort(e);\r\n }}\r\n \r\n >\r\n
    \r\n
    \r\n {/*
    */}\r\n {/**/}\r\n {/*
    */}\r\n

    {tag}

    \r\n
    {numArt} prodotti
    \r\n
    \r\n
    \r\n
    \r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default ShopProductTag;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\n//import { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport { connect } from \"react-redux\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\n//import Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport RelatedProductSlider from \"../../wrappers/product/RelatedProductSlider\";\r\nimport ProductDescriptionTab from \"../../wrappers/product/ProductDescriptionTab\";\r\nimport ProductImageDescription from \"../../wrappers/product/ProductImageDescription\";\r\nimport ProductGridQta from \"../../wrappers/product/ProductGridQta\";\r\nimport { getProductCartQty } from \"../../helpers/product\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { useHistory } from \"react-router-dom/cjs/react-router-dom\";\r\nimport { addToCart } from \"../../redux/actions/cartActions\";\r\nimport ProductMobile from \"./ProductMobile\";\r\n\r\nconst Product = (props) => {\r\n const { location, product, userData, cartItems, addToCart, description } =\r\n props;\r\n var informazioni = global.informazioni;\r\n const isLoggedUser =\r\n userData?.user?.user &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge)\r\n ? true\r\n : false;\r\n const visualizzaPrezzi = isLoggedUser || global.visualizzaPrezziLogOut;\r\n const visualizzaGriglia = isLoggedUser || global.visualizzaGrigliaLogOut;\r\n const visualizzaQuantita = isLoggedUser || global.visualizzaQuantitaLogOut;\r\n const history = useHistory();\r\n const { pathname } = location;\r\n var strings = require(\"../../translations/italian.json\");\r\n const variations = product?.variation ? product.variation : [];\r\n const [qta, setQta] = useState(table);\r\n const [numTaglie, setNumTaglie] = useState(0);\r\n\r\n useEffect(() => {\r\n if (!product) return;\r\n setQta(table);\r\n var arrayItemSizeMax = 0;\r\n var index = 0;\r\n\r\n variations.map((variation, index) => {\r\n if (\r\n variation?.size?.length > 0 &&\r\n variation?.size?.length > arrayItemSizeMax\r\n ) {\r\n arrayItemSizeMax = variation?.size?.length;\r\n setNumTaglie(index);\r\n }\r\n });\r\n console.log(product);\r\n }, [variations]);\r\n\r\n var table = variations.map((singles, key) => {\r\n if (singles && singles.size)\r\n return singles.size.map((single, key) => {\r\n single.qta = 0;\r\n single.color = singles.color;\r\n ////console.log(single)\r\n return single;\r\n });\r\n });\r\n\r\n const { addToast } = useToasts();\r\n var iTipoGestione = 2;\r\n\r\n function gestisciQta(\r\n QtaOrdinate,\r\n QtaDisponibili,\r\n QtaArrivo,\r\n selectedProductColor,\r\n selectedProductSize,\r\n catalogo,\r\n promo\r\n ) {\r\n catalogo = 1;\r\n /*Opzioni Possibili: \r\n 0 Non Bloccare le Qta\r\n 1 Bloccare + Messaggio a QtaDisponibili < QtaOrdinate\r\n 2 Messaggio a QtaDisponibili < QtaOrdinate\r\n 3 Bloccare + Messaggio a QtaDisponibili + QtaArrivo < QtaOrdinate\r\n 4 Messaggio a QtaDisponibili + QtaArrivo < QtaOrdinate\r\n */\r\n\r\n var QtaGiaInCarrello = productCartQty(\r\n selectedProductColor,\r\n selectedProductSize\r\n );\r\n\r\n var sToast = \"\";\r\n var sTipoToast = \"info\"; //success, error, warning, info\r\n var QtaConfronto = QtaDisponibili - QtaGiaInCarrello;\r\n var iTipoGestioneAtt = iTipoGestione;\r\n if (promo) {\r\n catalogo = 0;\r\n iTipoGestioneAtt = 2;\r\n }\r\n var QtaPossibili = QtaOrdinate;\r\n\r\n if (iTipoGestioneAtt > 2) {\r\n QtaConfronto = QtaConfronto + QtaArrivo;\r\n iTipoGestioneAtt = iTipoGestioneAtt - 2;\r\n }\r\n\r\n if (QtaOrdinate <= 0) {\r\n if (QtaOrdinate == 0) return QtaOrdinate;\r\n addToast(\"Quantità non consentite\", {\r\n appearance: \"warning\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n return 0;\r\n } else {\r\n if (catalogo == 1) iTipoGestioneAtt = 0;\r\n switch (iTipoGestioneAtt) {\r\n case 0:\r\n sToast = \"Quantità inserite correttamente\";\r\n sTipoToast = \"info\";\r\n break;\r\n case 1:\r\n case 2:\r\n if (QtaOrdinate > QtaConfronto) {\r\n sToast = \"Quantità eccessive, non è possibile caricare le quantità\";\r\n sTipoToast = \"warning\";\r\n if (iTipoGestioneAtt == 2) {\r\n QtaPossibili = QtaConfronto < 0 ? 0 : QtaConfronto;\r\n }\r\n } else {\r\n sToast = \"Quantità inserite correttamente\";\r\n sTipoToast = \"info\";\r\n }\r\n break;\r\n }\r\n }\r\n\r\n //Meglio non farlo visualizzare in continuazione, enilio 29/06/2021 if (sToast != \"\") addToast(sToast, {appearance: sTipoToast, autoDismiss: true, placement: 'bottom-left' });\r\n\r\n return QtaPossibili;\r\n }\r\n\r\n function getDisponibili(\r\n Qta,\r\n inArrivo,\r\n selectedProductColor,\r\n selectedProductSize,\r\n catalogo,\r\n impCli,\r\n promo,\r\n nonPrenotabile\r\n ) {\r\n var sDis = \" \";\r\n\r\n if (Qta <= 0 || Qta - inArrivo <= 0)\r\n sDis = (\r\n
    \r\n Non Disponibile  \r\n {nonPrenotabile ? : null}\r\n
    \r\n );\r\n else if (!promo)\r\n sDis = (\r\n
    \r\n {\"Disponibili: \" + (Qta - inArrivo > 500 ? \"500+\" : Qta - inArrivo)}\r\n
    \r\n
    \r\n );\r\n else\r\n sDis = (\r\n
    \r\n {\"Ultimi \" +\r\n (Qta - inArrivo > 500 ? \"500+\" : Qta - inArrivo) +\r\n \" pezzi\"}\r\n
    \r\n
    \r\n );\r\n //sDis = \"Disponibili: \" + (Qta - productCartQty(selectedProductColor, selectedProductSize));\r\n if (catalogo && Qta <= 0) {\r\n //sDis = <>{sDis}
    {\"Su prenotazione\"}\r\n sDis = (\r\n
    \r\n
    \r\n {\"Su prenotazione\"}\r\n
    \r\n );\r\n }\r\n\r\n return sDis;\r\n }\r\n\r\n function getQtaInArrivo(\r\n qtaOrdFor,\r\n qtaImpCli,\r\n qta,\r\n catalogo,\r\n promo,\r\n onlyString\r\n ) {\r\n var sDis = \" \";\r\n var Qta = qta - qtaOrdFor > 0 ? qtaOrdFor : qta;\r\n if (promo)\r\n return onlyString ? (\r\n \"\"\r\n ) : (\r\n

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

    \r\n );\r\n\r\n if (Qta <= 0 || qtaImpCli < 0)\r\n //sDis = \"Non in Arrivo\";\r\n sDis = onlyString ? (\r\n \"su Prenotazione\"\r\n ) : (\r\n <>\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Maggiori quantità\r\n
    \r\n su prenotazione\r\n
    \r\n \r\n );\r\n else\r\n sDis = onlyString ? (\r\n (Qta || \"0\") + \" 5/7 gg\"\r\n ) : (\r\n <>\r\n
    \r\n In Arrivo: {Qta ? Qta : \"0\"}\r\n
    \r\n in 5/7 gg\r\n
    \r\n
    \r\n
    \r\n Maggiori quantità\r\n
    \r\n su prenotazione\r\n
    \r\n \r\n );\r\n\r\n return sDis;\r\n }\r\n\r\n function toColor(i) {\r\n /*var hex = (i & 0xFF).toString(16) +\r\n ((i >> 8) & 0xFF).toString(16) +\r\n ((i >> 16) & 0xFF).toString(16) +\r\n ((i >> 24) & 0xFF).toString(16);\r\n \r\n hex = hex.substring(0, 6);\r\n \r\n return \"#\" + hex;*/\r\n var r = Math.floor(i / 65536);\r\n var g = Math.floor((i - r * 65536) / 256);\r\n var b = Math.floor(i - r * 65536 - g * 256);\r\n var rHex = Number(r).toString(16);\r\n var gHex = Number(g).toString(16);\r\n var bHex = Number(b).toString(16);\r\n rHex = rHex.length < 2 ? \"0\" + rHex : rHex;\r\n gHex = gHex.length < 2 ? \"0\" + gHex : gHex;\r\n bHex = bHex.length < 2 ? \"0\" + bHex : bHex;\r\n return \"#\" + bHex + gHex + rHex;\r\n }\r\n\r\n function productCartQty(selectedProductColor, selectedProductSize, withGrid) {\r\n let cartValue = getProductCartQty(\r\n cartItems,\r\n product,\r\n selectedProductColor.trim(),\r\n selectedProductSize\r\n );\r\n\r\n //if (withGrid) cartValue += getQta(selectedProductSize, selectedProductColor, true);\r\n return cartValue;\r\n }\r\n\r\n function onBlur(id, QtaOrdinate, QtaDisponibili, QtaArrivo, catalogo, promo) {\r\n //console.log(qta);\r\n var element = document.getElementById(id);\r\n var selectedProductSize = element.getAttribute(\"data-size\");\r\n var selectedProductColor = element\r\n .getAttribute(\"data-color\")\r\n .replace(\" \", \"\");\r\n\r\n //console.log(selectedProductSize + \" \" + selectedProductColor);\r\n var QtaOrdinateGestite = gestisciQta(\r\n QtaOrdinate,\r\n QtaDisponibili,\r\n QtaArrivo,\r\n selectedProductColor,\r\n selectedProductSize,\r\n catalogo,\r\n promo\r\n );\r\n\r\n var element = document.getElementById(id);\r\n element.value = QtaOrdinateGestite;\r\n QtaOrdinate = QtaOrdinateGestite;\r\n\r\n setQta((prevState) =>\r\n prevState.map((row) =>\r\n row?.map((col) =>\r\n col.IDArtSizeColor === id ? { ...col, qta: QtaOrdinate } : col\r\n )\r\n )\r\n );\r\n }\r\n\r\n const getQta = (_taglia, _colore, conSegno) => {\r\n if (!qta) return -1;\r\n //metodo 1 let _productSizeColor;\r\n // metodo 1 qta.find(row => row?.find(col => {if (col.name === 'XS' && col.color === 'WH-BIANCO ') _productSizeColor = col}));\r\n // metodo 2\r\n const returnValue =\r\n qta\r\n .find((row) =>\r\n row?.find((col) => col.name === _taglia && col.color === _colore)\r\n )\r\n ?.find((_t) => _t.name === _taglia && _t.color === _colore)?.qta || 0;\r\n const conPrefisso =\r\n conSegno && returnValue != 0 ? \" + \" + returnValue : returnValue;\r\n return conPrefisso;\r\n };\r\n\r\n if (!product) return null;\r\n const addCart = () => {\r\n addToCart(\r\n product,\r\n addToast,\r\n document.getElementById(\"qta\").value,\r\n null,\r\n null,\r\n null,\r\n null,\r\n null\r\n );\r\n document.getElementById(\"qta\").value = 0;\r\n };\r\n var qtaInCart = getProductCartQty(cartItems, product, null, null);\r\n return (\r\n \r\n \r\n \r\n {strings.shop} | {informazioni.titleSite}\r\n \r\n \r\n \r\n\r\n {product && userData && (\r\n \r\n {/* breadcrumb */}\r\n\r\n {/* product description with image */}\r\n {/*//console.log(\"Ecco il Prodotto\")*/}\r\n
    \r\n \r\n {/* related product slider */}\r\n \r\n {/*griglia per le quantità*/}\r\n {variations.length > 0 ? (\r\n \r\n ) : null}\r\n {/* product description tab */}\r\n \r\n
    \r\n\r\n {(global.aziendaID == 1 || global.aziendaID == 2) && (\r\n
    \r\n \r\n
    \r\n )}\r\n
    \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nProduct.propTypes = {\r\n location: PropTypes.object,\r\n product: PropTypes.object,\r\n};\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n addToCart: (\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt,\r\n Ord1,\r\n Ord2\r\n ) => {\r\n dispatch(\r\n addToCart(\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt,\r\n Ord1,\r\n Ord2\r\n )\r\n );\r\n },\r\n };\r\n};\r\nconst mapStateToProps = (state, ownProps) => {\r\n const productId = ownProps.match.params.id;\r\n\r\n return {\r\n product: state.productData.products.filter(\r\n (single) => single.id == productId\r\n )[0],\r\n description: state.productData.productDescriptions?.filter(\r\n (D) => D.ID == productId\r\n )[0],\r\n userData: state.userData,\r\n cartItems: state.cartData,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Product);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { getProducts } from \"../../helpers/product\";\r\nimport ProductGridSingle from \"../../components/product/ProductGridSingle\";\r\nimport { addToCart } from \"../../redux/actions/cartActions\";\r\nimport { addToWishlist } from \"../../redux/actions/wishlistActions\";\r\nimport { addToCompare } from \"../../redux/actions/compareActions\";\r\n\r\nconst ProductGrid = (props) => {\r\n const {\r\n products,\r\n userData,\r\n currency,\r\n addToCart,\r\n addToWishlist,\r\n addToCompare,\r\n cartItems,\r\n wishlistItems,\r\n compareItems,\r\n sliderClassName,\r\n spaceBottomClass,\r\n category,\r\n thisProduct,\r\n template,\r\n } = props;\r\n\r\n const isLoggedUser =\r\n userData?.user?.user &&\r\n (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge)\r\n ? true\r\n : false;\r\n const visualizzaPrezzi = isLoggedUser || global.visualizzaPrezziLogOut;\r\n const visualizzaGriglia = isLoggedUser || global.visualizzaGrigliaLogOut;\r\n const visualizzaQuantita = isLoggedUser || global.visualizzaQuantitaLogOut;\r\n\r\n return (\r\n \r\n {products?.map((product) => {\r\n if (\r\n category.trim() === product.category.trim() &&\r\n product.id != thisProduct\r\n )\r\n return (\r\n cartItem.id === product.id)[0]\r\n }\r\n wishlistItem={\r\n wishlistItems.filter(\r\n (wishlistItem) => wishlistItem.id === product.id\r\n )[0]\r\n }\r\n compareItem={\r\n compareItems.filter(\r\n (compareItem) => compareItem.id === product.id\r\n )[0]\r\n }\r\n key={product.id}\r\n />\r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nProductGrid.propTypes = {\r\n addToCart: PropTypes.func,\r\n addToCompare: PropTypes.func,\r\n addToWishlist: PropTypes.func,\r\n cartItems: PropTypes.array,\r\n compareItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n products: PropTypes.array,\r\n sliderClassName: PropTypes.string,\r\n spaceBottomClass: PropTypes.string,\r\n wishlistItems: PropTypes.array,\r\n};\r\n\r\nconst mapStateToProps = (state, ownProps) => {\r\n return {\r\n products: getProducts(\r\n state.productData.products,\r\n ownProps.category,\r\n ownProps.type,\r\n ownProps.limit,\r\n ownProps.template\r\n ),\r\n currency: state.currencyData,\r\n cartItems: state.cartData,\r\n wishlistItems: state.wishlistData,\r\n compareItems: state.compareData,\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n addToCart: (\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize\r\n ) => {\r\n dispatch(\r\n addToCart(\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize\r\n )\r\n );\r\n },\r\n addToWishlist: (item, addToast) => {\r\n dispatch(addToWishlist(item, addToast));\r\n },\r\n addToCompare: (item, addToast) => {\r\n dispatch(addToCompare(item, addToast));\r\n },\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(ProductGrid);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { getDiscountPrice } from \"../../helpers/product\";\r\nimport Rating from \"./sub-components/ProductRating\";\r\nimport ProductModal from \"./ProductModal\";\r\n\r\nconst ProductGridSingle = (props) => {\r\n const {\r\n product,\r\n currency,\r\n addToCart,\r\n addToWishlist,\r\n addToCompare,\r\n cartItem,\r\n wishlistItem,\r\n compareItem,\r\n sliderClassName,\r\n spaceBottomClass,\r\n isLoggedUser,\r\n userData,\r\n visualizzaPrezzi,\r\n } = props;\r\n\r\n const [modalShow, setModalShow] = useState(false);\r\n const { addToast } = useToasts();\r\n\r\n const discountedPrice = getDiscountPrice(\r\n product.price,\r\n product.discount,\r\n product.pricesco\r\n );\r\n const finalProductPrice = product.price\r\n ? (+(product.pricesco * currency.currencyRate)).toFixed(2)\r\n : 0;\r\n const finalDiscountedPrice = product.price\r\n ? (+(discountedPrice * currency.currencyRate)).toFixed(2)\r\n : 0;\r\n\r\n var strings = require(\"../../translations/italian.json\");\r\n function imageExists(image_url) {\r\n var http = new XMLHttpRequest();\r\n\r\n http.open(\"HEAD\", image_url, false);\r\n http.send();\r\n\r\n return http.status != 404;\r\n }\r\n return (\r\n \r\n \r\n \r\n
    \r\n \r\n {\r\n var elms = document.querySelectorAll(\r\n \"[id='\" + \"image-prod-\" + product.id + \"']\"\r\n );\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage;\r\n elms[i].style.objectFit = \"contain\";\r\n }\r\n }}\r\n //src={global.baseUrlImage + product.image[0]}\r\n style={{ height: \"30vh\", objectFit: \"contain\" }}\r\n alt=\"\"\r\n />\r\n {product.image.length > 1 ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n {/*product.discount || product.new ? (\r\n
    \r\n {product.discount ? (\r\n -{product.discount}%\r\n ) : (\r\n \"\"\r\n )}\r\n {product.new ? New : \"\"}\r\n
    \r\n ) : (\r\n \"\"\r\n )*/}\r\n\r\n
    \r\n
    \r\n addToWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n \r\n {product.affiliateLink ? (\r\n \r\n {\" \"}\r\n Buy now{\" \"}\r\n \r\n ) : product.variation && product.variation.length >= 1 ? (\r\n \r\n Seleziona opzioni\r\n \r\n ) : (product.stock && product.stock) > 0 ||\r\n global.aziendaID == 2 ? (\r\n addToCart(product, addToast)}\r\n className={\r\n cartItem !== undefined && cartItem.quantity > 0\r\n ? \"active\"\r\n : \"\"\r\n }\r\n disabled={cartItem !== undefined && cartItem.quantity > 0}\r\n title={\r\n cartItem !== undefined\r\n ? strings.added_to_cart\r\n : strings.add_to_cart\r\n }\r\n >\r\n {\" \"}\r\n {\" \"}\r\n {cartItem !== undefined && cartItem.quantity > 0\r\n ? \"Aggiunto\"\r\n : strings.add_to_cart}\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.name}\r\n \r\n

    \r\n {product.rating && product.rating > 0 ? (\r\n
    \r\n \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n {/*discountedPrice !== null ? (\r\n \r\n {currency.currencySymbol + finalDiscountedPrice}{\" \"}\r\n {/*\r\n {currency.currencySymbol + finalProductPrice}\r\n \r\n \r\n ) : (\r\n {currency.currencySymbol + finalProductPrice} \r\n )*/}\r\n
    \r\n
    \r\n \r\n \r\n {/* product modal */}\r\n setModalShow(false)}\r\n product={product}\r\n currency={currency}\r\n discountedprice={discountedPrice}\r\n finalproductprice={finalProductPrice}\r\n finaldiscountedprice={finalDiscountedPrice}\r\n cartitem={cartItem}\r\n wishlistitem={wishlistItem}\r\n compareitem={compareItem}\r\n addtocart={addToCart}\r\n addtowishlist={addToWishlist}\r\n addtocompare={addToCompare}\r\n addtoast={addToast}\r\n />\r\n
    \r\n );\r\n};\r\n\r\nProductGridSingle.propTypes = {\r\n addToCart: PropTypes.func,\r\n addToCompare: PropTypes.func,\r\n addToWishlist: PropTypes.func,\r\n cartItem: PropTypes.object,\r\n compareItem: PropTypes.object,\r\n currency: PropTypes.object,\r\n product: PropTypes.object,\r\n sliderClassName: PropTypes.string,\r\n spaceBottomClass: PropTypes.string,\r\n wishlistItem: PropTypes.object,\r\n};\r\n\r\nexport default ProductGridSingle;\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\nimport Tab from \"react-bootstrap/Tab\";\r\nimport Nav from \"react-bootstrap/Nav\";\r\nimport Recensione from \"../Recensioni/Recensione\";\r\n\r\nconst ProductDescriptionTab = ({ spaceBottomClass, productFullDesc, product }) => {\r\n try {\r\n if (product.reviews == undefined) {\r\n product.reviews = [];\r\n product.reviews[0] = {};\r\n //console.log(product.reviews.length);\r\n }\r\n }\r\n catch (err) {\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 Weight 400 g\r\n
    • \r\n
    • \r\n Dimensions10 x 10 x 15 cm{\" \"}\r\n
    • \r\n
    • \r\n Materials 60% cotton, 40% polyester\r\n
    • \r\n
    • \r\n Other Info American heirloom jean shorts pug\r\n seitan letterpress\r\n
    • \r\n
    \r\n
    \r\n
    \r\n \r\n {productFullDesc}\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\nProductDescriptionTab.propTypes = {\r\n productFullDesc: PropTypes.string,\r\n spaceBottomClass: PropTypes.string,\r\n product: PropTypes.object\r\n};\r\n\r\nexport default ProductDescriptionTab;\r\n","import React, {useState} from \"react\";\r\nimport PropTypes from \"prop-types\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { connect } from \"react-redux\";\r\nimport { addReviewToProducts } from \"../../redux/actions/productsAction\";\r\nimport Rating from '@material-ui/lab/Rating';\r\nimport { Box } from \"@material-ui/core\";\r\nimport { fetchRecensione } from \"../../helpers/dbOperations\";\r\n\r\n\r\n\r\nconst Recensione =({recensioni, userData, IDArt, addReviewToProducts}) =>\r\n{\r\n\r\n const [inCaricamento, setinCaricamento] = useState(false);\r\n const [name, setName] = useState();\r\n const [userMail, setUserMail] = useState();\r\n const [userMessage, setUserMessage] = useState();\r\n const [userRating, setUserRating] = useState(5);\r\n const [recensioniState, setRecensioniState] = useState(recensioni);\r\n\r\n const { addToast } = useToasts();\r\n\r\nfunction Stelline(num)\r\n{\r\n const celle = [];\r\n\r\n for (var i = 0; i < num; i++)\r\n {\r\n celle.push( )\r\n }\r\n\r\n return (\r\n
    \r\n {celle}\r\n
    \r\n );\r\n}\r\n\r\n\r\n const handleSubmit = async e => {\r\n e.preventDefault();\r\n\r\n if (inCaricamento) return;\r\n\r\n setinCaricamento(true);\r\n \r\n var username = userData.user.user.username;\r\n var password = userData.user.user.password;\r\n //console.log(userRating);\r\n var risultatoRecensione = await fetchRecensione({username, password, name, userMail, userMessage, userRating, IDArt});\r\n setinCaricamento(false);\r\n \r\n var Errore = risultatoRecensione?.Errore;\r\n \r\n if (Errore != \"\")\r\n {\r\n addToast(Errore, {appearance: \"error\", autoDismiss: true, placement: 'bottom-left' }); \r\n return;\r\n }\r\n \r\n var newRec = {mail: userMail, messaggio: userMessage, patima: '', name: username, rating: userRating }\r\n/*\r\n var localRec = recensioniState;\r\n localRec[localRec.length] = newRec;\r\n\r\n setRecensioniState(localRec);\r\n*/\r\n //recensioni[recensioni.length] = (newRec);\r\n //setRecensioniState(recensioni);\r\n ////console.log(recensioni);\r\n\r\n addReviewToProducts(newRec, IDArt);\r\n\r\n var elements = document.querySelectorAll('[daAzz=\"'+\"SI\"+'\"]');\r\n for (var ii = 0; ii < elements.length; ii++) {\r\n elements[ii].value = \"\";\r\n }\r\n setUserRating(5);\r\n \r\n addToast(\"Recensione aggiunta con successo\", {appearance: \"success\", autoDismiss: true, placement: 'bottom-left' }); \r\n }\r\n\r\nreturn (\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {recensioni?recensioniState.map((single, key) => \r\n {\r\n return (\r\n \r\n (single.name) &&
    \r\n
    \r\n \"\"\r\n\r\n
    \r\n
    \r\n\r\n
    \r\n {single.mail}\r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n

    {single.name}

    \r\n
    \r\n\r\n \r\n {Stelline(single.rating)}\r\n \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n

    {single.messaggio}\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

    Inserisci la Tua Recensione

    \r\n
    \r\n
    \r\n
    \r\n Valutazione:\r\n {\r\n //console.log(\"On Change \" + newValue)\r\n setUserRating(newValue);\r\n }}\r\n onChangeActive={(event, newHover) => {\r\n // setUserRating(newHover);\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 setName(e.target.value)} />\r\n
    \r\n
    \r\n
    \r\n
    \r\n setUserMail(e.target.value)} />\r\n
    \r\n
    \r\n
    \r\n
    \r\n setUserMessage(e.target.value)}\r\n name=\"Your Review\"\r\n daAzz = \"SI\"\r\n placeholder=\"Messaggio\"\r\n defaultValue={\"\"}\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\nconst mapStateToProps = state => {\r\n return {\r\n userData: state.userData\r\n };\r\n};\r\n\r\n\r\nRecensione.propTypes = {\r\n recensioni: PropTypes.object,\r\n userData: PropTypes.object,\r\n IDArt: PropTypes.number\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n addReviewToProducts: (\r\n review, IDArt\r\n ) => dispatch(addReviewToProducts(review, IDArt))\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Recensione);","import PropTypes from \"prop-types\";\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { connect } from \"react-redux\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { getDiscountPrice } from \"../../helpers/product\";\r\nimport ProductImageGallery from \"../../components/product/ProductImageGallery\";\r\nimport ProductDescriptionInfo from \"../../components/product/ProductDescriptionInfo\";\r\nimport ProductImageGallerySideThumb from \"../../components/product/ProductImageGallerySideThumb\";\r\nimport ProductImageFixed from \"../../components/product/ProductImageFixed\";\r\n\r\nconst ProductImageDescription = (props) => {\r\n const {\r\n spaceTopClass,\r\n spaceBottomClass,\r\n galleryType,\r\n product,\r\n currency,\r\n cartItems,\r\n wishlistItems,\r\n compareItems,\r\n isLoggedUser,\r\n visualizzaPrezzi,\r\n visualizzaGriglia,\r\n visualizzaQuantita,\r\n productCartQty,\r\n getDisponibili,\r\n getQtaInArrivo,\r\n toColor,\r\n description\r\n } = props;\r\n\r\n const wishlistItem = wishlistItems.filter(\r\n (wishlistItem) => wishlistItem.id === product.id\r\n )[0];\r\n const compareItem = compareItems.filter(\r\n (compareItem) => compareItem.id === product.id\r\n )[0];\r\n const { addToast } = useToasts();\r\n\r\n const discountedPrice = getDiscountPrice(\r\n product.price,\r\n product.discount,\r\n product.pricesco\r\n );\r\n const finalProductPrice = product.price\r\n ? (+(product.price * currency.currencyRate)).toFixed(2)\r\n : 0;\r\n const finalDiscountedPrice = product.price\r\n ? (+(discountedPrice * currency.currencyRate)).toFixed(2)\r\n : 0;\r\n const [refresh, setRefresh] = useState(false);\r\n useEffect(() => {\r\n setRefresh(!refresh);\r\n }, [product]);\r\n return (\r\n \r\n
    \r\n
    \r\n
    \r\n {/* product image gallery */}\r\n {galleryType === \"leftThumb\" ? (\r\n \r\n ) : galleryType === \"rightThumb\" ? (\r\n \r\n ) : galleryType === \"fixedImage\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
    \r\n
    \r\n {/* product description info */}\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nProductImageDescription.propTypes = {\r\n cartItems: PropTypes.array,\r\n compareItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n galleryType: PropTypes.string,\r\n product: PropTypes.object,\r\n spaceBottomClass: PropTypes.string,\r\n spaceTopClass: PropTypes.string,\r\n wishlistItems: PropTypes.array,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n currency: state.currencyData,\r\n cartItems: state.cartData,\r\n wishlistItems: state.wishlistData,\r\n compareItems: state.compareData,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(ProductImageDescription);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useRef, useState } from \"react\";\r\nimport { LightgalleryProvider, LightgalleryItem } from \"react-lightgallery\";\r\nimport Swiper from \"react-id-swiper\";\r\nimport MagnifierWithFallback from \"./sub-components/MagnifierWithFallback\";\r\n\r\nconst ProductImageGallery = ({ product, refresh }) => {\r\n const [gallerySwiper, getGallerySwiper] = useState(null);\r\n const [thumbnailSwiper, getThumbnailSwiper] = useState(null);\r\n const [img, setImg] = useState(\"\");\r\n const ref = useRef(null);\r\n const [currentPhoto, setCurrentPhoto] = useState(0);\r\n // effect for swiper slider synchronize\r\n useEffect(() => {\r\n if (\r\n gallerySwiper !== null &&\r\n gallerySwiper.controller &&\r\n thumbnailSwiper !== null &&\r\n thumbnailSwiper.controller\r\n ) {\r\n gallerySwiper.controller.control = thumbnailSwiper;\r\n thumbnailSwiper.controller.control = gallerySwiper;\r\n }\r\n }, [gallerySwiper, thumbnailSwiper]);\r\n useEffect(() => {\r\n setImg(global.baseUrlImage + product.image[0]);\r\n }, [product]);\r\n // swiper slider settings\r\n const gallerySwiperParams = {\r\n getSwiper: getGallerySwiper,\r\n spaceBetween: 10,\r\n loopedSlides: 4,\r\n loop: true,\r\n effect: \"fade\",\r\n navigation: {\r\n nextEl: \".swiper-button-next\",\r\n prevEl: \".swiper-button-prev\",\r\n },\r\n renderPrevButton: () => (\r\n \r\n \r\n \r\n ),\r\n renderNextButton: () => (\r\n \r\n \r\n \r\n ),\r\n };\r\n\r\n const thumbnailSwiperParams = {\r\n getSwiper: getThumbnailSwiper,\r\n spaceBetween: 10,\r\n slidesPerView: 4,\r\n loopedSlides: 4,\r\n touchRatio: 0.2,\r\n freeMode: true,\r\n loop: false,\r\n slideToClickedSlide: true,\r\n navigation: {\r\n nextEl: \".swiper-button-next\",\r\n prevEl: \".swiper-button-prev\",\r\n },\r\n renderPrevButton: () => (\r\n \r\n ),\r\n renderNextButton: () => (\r\n \r\n ),\r\n };\r\n const changePage = (index) => {\r\n var i = index;\r\n console.log(ref.current.swiper);\r\n if (ref.current !== null && ref.current.swiper !== null) {\r\n ref.current.swiper.slideTo(index);\r\n /*if(index > currentPhoto){\r\n while(index > currentPhoto) {\r\n ref.current.swiper.slidePrev();\r\n index --;\r\n }\r\n }\r\n else if(index < currentPhoto){\r\n while(index < currentPhoto) {\r\n ref.current.swiper.slideNext();\r\n index ++;\r\n }\r\n }\r\n else ref.current.swiper.slideReset();\r\n setCurrentPhoto(i)*/\r\n }\r\n };\r\n return (\r\n \r\n
    \r\n {/*product.discount || product.new ? (\r\n
    \r\n {product.discount ? (\r\n -{product.discount}%\r\n ) : (\r\n \"\"\r\n )}\r\n {product.new ? New : \"\"}\r\n
    \r\n ) : (\r\n \"\"\r\n )*/}\r\n \r\n \r\n {product.image &&\r\n product.image.map((single, key) => {\r\n return (\r\n
    \r\n \r\n \r\n \r\n \r\n {/*} */}\r\n \r\n {\r\n var elms = document.querySelectorAll(\r\n \"[id='\" + \"image-prod-\" + product.id + \"']\"\r\n );\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage;\r\n elms[i].style.objectFit = \"contain\";\r\n }\r\n }}\r\n className=\"img-fluid\"\r\n style={{ objectFit: \"contain\" }}\r\n alt=\"\"\r\n />\r\n
    \r\n
    \r\n \r\n );\r\n })}\r\n \r\n {product.image.length == 0 && (\r\n
    \r\n
    \r\n {\r\n var elms = document.querySelectorAll(\r\n \"[id='\" + \"image-prod-\" + product.id + \"']\"\r\n );\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage;\r\n elms[i].style.objectFit = \"contain\";\r\n }\r\n }}\r\n alt=\"\"\r\n />\r\n
    \r\n
    \r\n )}\r\n \r\n \r\n
    \r\n \r\n {product.image &&\r\n product.image.map((single, key, index) => {\r\n return (\r\n
    \r\n changePage(key)}*/\r\n src={global.baseUrlImage + single}\r\n id={\"image-prod-\" + product.id}\r\n onError={() => {\r\n var elms = document.querySelectorAll(\r\n \"[id='\" + \"image-prod-\" + product.id + \"']\"\r\n );\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage;\r\n elms[i].style.objectFit = \"contain\";\r\n }\r\n }}\r\n onClick={() => {\r\n ref.current.swiper.slideTo(key);\r\n }}\r\n className=\"img-fluid image-fluid-thumb\"\r\n alt=\"\"\r\n />\r\n
    \r\n );\r\n })}\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nProductImageGallery.propTypes = {\r\n product: PropTypes.object,\r\n};\r\n\r\nexport default ProductImageGallery;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { addToCart } from \"../../redux/actions/cartActions\";\r\nimport {\r\n addToWishlist,\r\n removeFromWishlist,\r\n} from \"../../redux/actions/wishlistActions\";\r\nimport { addToCompare } from \"../../redux/actions/compareActions\";\r\nimport Rating from \"./sub-components/ProductRating\";\r\nimport styled from \"styled-components\";\r\nimport { useEffect } from \"react\";\r\nimport { getProductCartQty } from \"../../helpers/product\";\r\nimport { Accordion, AccordionSummary } from \"@mui/material\";\r\n//import { FontAwesomeIcon } from \"@fortawesome/react-fontawesome\";\r\n//import { Alert, AlertTitle } from \"@material-ui/lab\";\r\nimport ExpandMoreIcon from \"@mui/icons-material/ExpandMore\";\r\nimport Typography from \"@mui/material/Typography\";\r\nimport AccordionDetails from \"@mui/material/AccordionDetails\";\r\n\r\nconst ProductDescriptionInfo = (props) => {\r\n const {\r\n product,\r\n discountedPrice,\r\n currency,\r\n finalDiscountedPrice,\r\n finalProductPrice,\r\n cartItems,\r\n wishlistItem,\r\n compareItem,\r\n addToast,\r\n addToCart,\r\n addToWishlist,\r\n removeFromWishlist,\r\n addToCompare,\r\n userData,\r\n isLoggedUser,\r\n visualizzaPrezzi,\r\n visualizzaGriglia,\r\n visualizzaQuantita,\r\n productCartQty,\r\n getDisponibili,\r\n getQtaInArrivo,\r\n toColor,\r\n description\r\n } = props;\r\n //const [description, setDescription] = useState(descriptions?.length > 0 ? descriptions.find(d => d.ID === product.id) : \"\")\r\n const [numTaglie, setNumTaglie] = useState(0);\r\n const [selectedProductColor, setSelectedProductColor] = useState(\r\n product.variation ? product.variation[numTaglie]?.color : \"\"\r\n );\r\n\r\n const [selectedProductSize, setSelectedProductSize] = useState(\r\n product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].name\r\n : \"\"\r\n );\r\n const [selectedProductPrice, setSelectedProductPrice] = useState(\r\n /*product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].pricesco\r\n : */ \"\"\r\n );\r\n const [selectedIDArt, setSelectedIDArt] = useState(\r\n product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].IDArtSizeColor\r\n : \"\"\r\n );\r\n const [productStock, setProductStock] = useState(\r\n product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].stock\r\n : global.aziendaID == 2\r\n ? 9999\r\n : product.stock\r\n );\r\n const [quantityCount, setQuantityCount] = useState(1);\r\n\r\n const [selectedCodArt, setSelectedCodArt] = useState(\r\n product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].skuSizeColor\r\n : product.sku\r\n );\r\n const [flgCatalogo, setFlgCatalogo] = useState(\r\n product.variation && product.variation[numTaglie]?.size\r\n ? product.variation[numTaglie].size[0].catalogo\r\n : 0\r\n );\r\n\r\n const colorInput = styled.div`\r\n .checkmark:after{\r\n background-color = \r\n }\r\n `;\r\n const [firstLoading, setFirstLoading] = useState(true);\r\n const history = useHistory();\r\n var strings = require(\"../../translations/italian.json\");\r\n useEffect(() => {\r\n console.log(quantityCount);\r\n }, [quantityCount]);\r\n useEffect(() => {\r\n for (var i = 0; i < product.variation?.length; i++)\r\n if (product.variation[i]?.size?.length > 0) {\r\n setNumTaglie(i);\r\n setSelectedProductColor(\r\n product.variation ? product.variation[i].color : \"\"\r\n );\r\n setSelectedProductSize(\r\n product.variation && product.variation[i].size\r\n ? product.variation[i].size[0].name\r\n : \"\"\r\n );\r\n setSelectedProductPrice(\r\n /*product.variation && product.variation[i].size\r\n ? product.variation[i].size[0].pricesco\r\n : */ \"\"\r\n );\r\n break;\r\n }\r\n setFirstLoading(true);\r\n //setDescription(descriptions?.length > 0 ? descriptions.find(d => d.ID == product.id) : \"\")\r\n }, [product]);\r\n /*useEffect(() => {\r\n console.log(descriptions)\r\n console.log(product.id)\r\n setDescription(descriptions?.length > 0 ? descriptions.find(d => d.ID == product.id) : \"\")\r\n }, [descriptions])*/\r\n const getLabelColor = () => {\r\n const colorProduct = product?.variation?.find(\r\n (_colorProduct) => _colorProduct.color === selectedProductColor\r\n );\r\n if (!colorProduct || !colorProduct.size) return null;\r\n const _colorcode = colorProduct.color.split(\"-\")[0];\r\n const _colorname = colorProduct.color.split(\"-\")[1];\r\n return (\r\n <>\r\n \r\n \r\n );\r\n };\r\n const getTableInfo = () => {\r\n //console.log({ isLoggedUser, visualizzaPrezzi, visualizzaGriglia, visualizzaQuantita })\r\n if (!visualizzaQuantita && !isLoggedUser) return null;\r\n\r\n const colorProduct = product?.variation?.find(\r\n (_colorProduct) => _colorProduct.color === selectedProductColor\r\n );\r\n if (!colorProduct || !colorProduct.size) return null;\r\n\r\n const taglieInfo = colorProduct.size;\r\n if (!taglieInfo || (taglieInfo || []) === 0) return null;\r\n\r\n const _colorcode = colorProduct.color.split(\"-\")[0];\r\n const _colorname = colorProduct.color.split(\"-\")[1];\r\n return (\r\n <>\r\n
    {getLabelColor()}
    \r\n \r\n \r\n \r\n \r\n Taglia\r\n \r\n \r\n Disponibile\r\n \r\n \r\n Arrivi\r\n \r\n {isLoggedUser && (\r\n \r\n Carrello\r\n \r\n )}\r\n \r\n \r\n \r\n {taglieInfo.map((tagliaInfo) => {\r\n var nonPrenotabile =\r\n tagliaInfo.stock <= 0 &&\r\n tagliaInfo.stock - tagliaInfo.qtaOrdFor <= 0 &&\r\n tagliaInfo.qtaOrdFor - tagliaInfo.qtaImpCli <= 0 &&\r\n tagliaInfo.tag?.includes(\"PROMEMORIA\");\r\n var nonEsiste = tagliaInfo.flgNoWeb == 1;\r\n\r\n return (\r\n \r\n \r\n {tagliaInfo.name || 0}\r\n \r\n \r\n \r\n {getDisponibili(\r\n tagliaInfo.stock,\r\n tagliaInfo.qtaOrdFor,\r\n tagliaInfo.color,\r\n tagliaInfo.name,\r\n tagliaInfo.catalogo,\r\n tagliaInfo.qtaImpCli,\r\n tagliaInfo.promo,\r\n nonPrenotabile\r\n )}\r\n \r\n \r\n \r\n \r\n {getQtaInArrivo(\r\n tagliaInfo.qtaOrdFor,\r\n tagliaInfo.qtaImpCli,\r\n tagliaInfo.stock,\r\n tagliaInfo.catalogo,\r\n tagliaInfo.promo,\r\n true\r\n ) || \"\"}\r\n \r\n \r\n {isLoggedUser && (\r\n \r\n \r\n {productCartQty(\r\n selectedProductColor,\r\n tagliaInfo.name,\r\n 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 var qtaInCart = getProductCartQty(cartItems, product, null, null);\r\n /*const getDescription = (descriptions, id) =>\r\n {\r\n var des = descriptions?.find(d => d.ID === id)\r\n console.log(descriptions)\r\n return des? des.DesWeb : \"\"\r\n }*/\r\n return (\r\n
    \r\n

    {product.sku}

    \r\n

    \r\n {product.shortDescription ? product.shortDescription : product.name}\r\n

    \r\n\r\n {(isLoggedUser || visualizzaPrezzi) && (\r\n \r\n {discountedPrice !== null ? (\r\n \r\n \r\n {currency.currencySymbol +\r\n (selectedProductPrice\r\n ? selectedProductPrice.toFixed(2)\r\n : product.price.toFixed(2))}\r\n {global.aziendaID == 2 && (\r\n /{product.altdat1}\r\n )}\r\n {\" \"}\r\n {/*} \r\n {(currency.currencySymbol + parseFloat(finalProductPrice).toFixed(2))}\r\n */}\r\n \r\n {userData.user.user?.ParIva ||\r\n userData.user.user?.ParIva !== \"\" ||\r\n userData?.user.user?.ParIva !== null\r\n ? \" Iva esclusa\"\r\n : \"\"}\r\n \r\n \r\n ) : (\r\n \r\n {currency.currencySymbol +\r\n parseFloat(\r\n discountedPrice\r\n ? discountedPrice\r\n : selectedProductPrice\r\n ? selectedProductPrice\r\n : product.price\r\n ).toFixed(2)}{\" \"}\r\n \r\n {userData.user.user?.ParIva ||\r\n userData.user.user?.ParIva != \"\" ||\r\n userData.user.user?.ParIva != null\r\n ? \"Iva esclusa\"\r\n : \"\"}\r\n \r\n \r\n )}\r\n
    \r\n )}\r\n\r\n
    \r\n {isLoggedUser ? (\r\n wishlistItem !== undefined ? (\r\n
    \r\n removeFromWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n ) : (\r\n
    \r\n addToWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n )\r\n ) : null}\r\n\r\n {isLoggedUser && product.rating && product.rating > 0 ? (\r\n
    \r\n \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n\r\n {global.aziendaID == 1 ? (\r\n \r\n \r\n window.open(\r\n process.env.PUBLIC_URL +\r\n \"/files/schede/\" +\r\n product.sku +\r\n \".pdf\",\r\n \"_blank\",\r\n \"noopener,noreferrer\"\r\n )\r\n }\r\n >\r\n Scheda tecnica\r\n \r\n \r\n ) : null}\r\n {product.variation ? (\r\n
    \r\n {product.variation.length > 0 && (\r\n
    \r\n Colore\r\n
    \r\n {product.variation.map((single, key) => {\r\n return single.size == undefined ||\r\n single.size?.length == 0 ? (\r\n <>\r\n ) : (\r\n \r\n {\r\n setSelectedProductColor(single.color);\r\n setSelectedProductSize(single.size[0].name);\r\n setSelectedIDArt(single.size[0].IDArtSizeColor);\r\n setSelectedCodArt(single.size[0].skuSizeColor);\r\n setProductStock(single.size[0].stock);\r\n setSelectedProductPrice(single.size[0].pricesco);\r\n setFlgCatalogo(single.size[0].catalogo);\r\n setFirstLoading(false);\r\n }}\r\n />\r\n \r\n \r\n );\r\n })}\r\n
    \r\n
    \r\n )}\r\n {product.variation.length > 0 && (\r\n
    \r\n Taglia\r\n
    \r\n {product.variation &&\r\n product.variation.map((single) => {\r\n return single.color === selectedProductColor && single.size\r\n ? single.size.map((singleSize, key) => {\r\n var nonPrenotabile =\r\n singleSize.stock <= 0 &&\r\n singleSize.stock - singleSize.qtaOrdFor <= 0 &&\r\n singleSize.qtaOrdFor - singleSize.qtaImpCli <= 0 &&\r\n singleSize.tag?.includes(\"PROMEMORIA\");\r\n var nonEsiste = singleSize.flgNoWeb == 1;\r\n return (\r\n \r\n {\r\n setSelectedProductSize(singleSize.name);\r\n setSelectedIDArt(singleSize.IDArtSizeColor);\r\n setSelectedCodArt(singleSize.skuSizeColor);\r\n setProductStock(singleSize.stock);\r\n setSelectedProductPrice(singleSize.pricesco);\r\n setQuantityCount(1);\r\n setFlgCatalogo(singleSize.catalogo);\r\n setFirstLoading(false);\r\n }}\r\n />\r\n \r\n {singleSize.name}\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.affiliateLink ? (\r\n
    \r\n
    \r\n \r\n Buy Now\r\n \r\n
    \r\n
    \r\n ) : (\r\n
    \r\n\r\n /*
    \r\n \r\n
    \r\n \r\n {\r\n setQuantityCount(quantityCount > 1 ? quantityCount - 1 : 1)\r\n document.getElementById(\"cart-box\").value= quantityCount > 1 ? quantityCount - 1 : 1\r\n }\r\n }\r\n className=\"dec qtybutton\"\r\n >\r\n -\r\n \r\n \r\n {\r\n if (e.target.value > productStock - productCartQty && flgCatalogo == 0)\r\n {\r\n var newQta = productStock-productCartQty;\r\n setQuantityCount(newQta)\r\n }\r\n else\r\n {setQuantityCount(e.target.value)}\r\n }}\r\n />\r\n \r\n {\r\n setQuantityCount(\r\n quantityCount < productStock - productCartQty || flgCatalogo == 1\r\n ? quantityCount + 1\r\n : quantityCount\r\n );\r\n document.getElementById(\"cart-box\").value= quantityCount < productStock - productCartQty\r\n ? quantityCount + 1\r\n : quantityCount\r\n }\r\n \r\n }\r\n className=\"inc qtybutton\"\r\n >\r\n +\r\n \r\n \r\n
    \r\n
    \r\n {productStock && productStock > 0 || flgCatalogo == 1 ? (\r\n {\r\n //var productNoVar = JSON.parse(JSON.stringify(product));\r\n //delete productNoVar['variation']\r\n product.catalogo = flgCatalogo\r\n addToCart(\r\n product,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt\r\n )\r\n }\r\n \r\n }\r\n disabled={ flgCatalogo == 0 && productCartQty >= productStock}\r\n >\r\n {\" \"}\r\n {flgCatalogo == 1 ? \"Prenota\" : strings.add_to_cart}{\" \"}\r\n \r\n ) : (\r\n \r\n )}\r\n
    \r\n
    \r\n addToWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n
    \r\n addToCompare(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n
    */\r\n )}\r\n {/*
    \r\n Riferimento :\r\n
      \r\n {selectedCodArt}\r\n
    \r\n
    */}\r\n {product.category ? (\r\n
    \r\n Categorie :\r\n
      {product.category}
    \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n {product.tag.length > 0 ? (\r\n
    \r\n Tags :\r\n
      \r\n {product.tag.map((single, key) => {\r\n return (\r\n
    • \r\n
        {single}
      \r\n
    • \r\n );\r\n })}\r\n
    \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n {global.aziendaID == 1 && (\r\n \r\n }\r\n aria-controls=\"panel1-content\"\r\n id=\"panel1-header\"\r\n >\r\n \r\n Disponibilità taglia/colore {getLabelColor()}\r\n \r\n \r\n {getTableInfo()}\r\n \r\n )}\r\n
    \r\n {/*

    {product.shortDescription}

    */}\r\n
    \r\n
    \r\n {product.variation?.length == 0 && isLoggedUser ? (\r\n
    \r\n {product.variation.length == 0 && (\r\n {qtaInCart} pz già nel carrello\r\n )}\r\n
    \r\n \r\n setQuantityCount(quantityCount > 1 ? quantityCount - 1 : 1)\r\n }\r\n className=\"dec qtybutton\"\r\n >\r\n -\r\n \r\n setQuantityCount(e.target.value)}\r\n />\r\n \r\n setQuantityCount(\r\n quantityCount < productStock - qtaInCart\r\n ? quantityCount + 1\r\n : quantityCount\r\n )\r\n }\r\n className=\"inc qtybutton\"\r\n >\r\n +\r\n \r\n
    \r\n\r\n
    \r\n {productStock && productStock > 0 ? (\r\n {\r\n //console.log(selectedIDArt);\r\n addToCart(\r\n product,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt\r\n );\r\n setQuantityCount(1);\r\n }}\r\n disabled={productCartQty >= productStock}\r\n >\r\n {\" \"}\r\n {strings.add_to_cart}\r\n \r\n ) : (\r\n \r\n )}\r\n
    \r\n\r\n {isLoggedUser ? (\r\n wishlistItem !== undefined ? (\r\n
    \r\n removeFromWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n ) : (\r\n
    \r\n addToWishlist(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n )\r\n ) : null}\r\n\r\n
    \r\n addToCompare(product, addToast)}\r\n >\r\n \r\n \r\n
    \r\n
    \r\n ) : null}\r\n {/*
    \r\n \r\n
    */}\r\n \r\n );\r\n};\r\n\r\nProductDescriptionInfo.propTypes = {\r\n addToCart: PropTypes.func,\r\n addToCompare: PropTypes.func,\r\n addToWishlist: PropTypes.func,\r\n removeFromWishlist: PropTypes.func,\r\n addToast: PropTypes.func,\r\n cartItems: PropTypes.array,\r\n compareItem: PropTypes.array,\r\n currency: PropTypes.object,\r\n discountedPrice: PropTypes.number,\r\n finalDiscountedPrice: PropTypes.number,\r\n finalProductPrice: PropTypes.number,\r\n product: PropTypes.object,\r\n wishlistItem: PropTypes.object.isRequired,\r\n userData: PropTypes.object,\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n addToCart: (\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt\r\n ) => {\r\n dispatch(\r\n addToCart(\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt\r\n )\r\n );\r\n },\r\n removeFromWishlist: (item, addToast) => {\r\n dispatch(removeFromWishlist(item, addToast));\r\n },\r\n addToWishlist: (item, addToast) => {\r\n dispatch(addToWishlist(item, addToast));\r\n },\r\n addToCompare: (item, addToast) => {\r\n dispatch(addToCompare(item, addToast));\r\n },\r\n };\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nexport default connect(\r\n mapStateToProps,\r\n mapDispatchToProps\r\n)(ProductDescriptionInfo);\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\n\r\nconst ProductImageFixed = ({ product }) => {\r\n return (\r\n
    \r\n {/*product.discount || product.new ? (\r\n
    \r\n {product.discount ? (\r\n -{product.discount}%\r\n ) : (\r\n \"\"\r\n )}\r\n {product.new ? New : \"\"}\r\n
    \r\n ) : (\r\n \"\"\r\n )*/}\r\n\r\n
    \r\n {product.image ? (\r\n {\r\n document.getElementById(\"image-prod-\" + product.id).src = global.placeholderImage\r\n document.getElementById(\"image-prod-\" + product.id).style.objectFit = \"contain\"\r\n }\r\n }\r\n alt=\"\"\r\n className=\"img-fluid\"\r\n />\r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n
    \r\n );\r\n};\r\n\r\nProductImageFixed.propTypes = {\r\n product: PropTypes.object\r\n};\r\n\r\nexport default ProductImageFixed;\r\n","import PropTypes, { func } from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { connect } from \"react-redux\";\r\nimport { addToCart } from \"../../redux/actions/cartActions\";\r\nimport { addToWishlist } from \"../../redux/actions/wishlistActions\";\r\nimport \"./table.css\";\r\nimport _ from \"lodash\";\r\nimport { BsEnvelope } from \"react-icons/bs\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\n\r\nconst ProductGridQta = (props) => {\r\n const {\r\n product,\r\n spaceBottomClass,\r\n spaceTopClass,\r\n addToCart,\r\n addToWishlist,\r\n cartItems,\r\n userData,\r\n isLoggedUser,\r\n visualizzaPrezzi,\r\n visualizzaGriglia,\r\n visualizzaQuantita,\r\n getDisponibili,\r\n getQtaInArrivo,\r\n toColor,\r\n productCartQty,\r\n setQta,\r\n table,\r\n onBlur,\r\n qta,\r\n variations,\r\n numTaglie,\r\n } = props;\r\n\r\n const history = useHistory();\r\n const [onlyPromo, setOnlyPromo] = useState(\r\n JSON.parse(sessionStorage.getItem(\"filter\"))?.tag?.includes(\"OUTLET\")\r\n );\r\n\r\n const { addToast } = useToasts();\r\n\r\n function calcolaColoreCella(\r\n QtaDisponibili,\r\n QtaArrivo,\r\n selectedProductColor,\r\n selectedProductSize,\r\n catalogo\r\n ) {\r\n if (catalogo == 1) return \"white\"; //return \"lightyellow\"\r\n if (\r\n QtaDisponibili -\r\n productCartQty(selectedProductColor, selectedProductSize) >\r\n 0\r\n )\r\n return \"white\";\r\n if (\r\n QtaDisponibili +\r\n QtaArrivo -\r\n productCartQty(selectedProductColor, selectedProductSize) >\r\n 0\r\n )\r\n return \"white\";\r\n return \"white\";\r\n //return \"#ffa5002f\"\r\n }\r\n\r\n function onPlusMinusClick(\r\n bPlus,\r\n bMsg,\r\n idArt,\r\n QtaDisponibili,\r\n QtaArrivo,\r\n catalogo,\r\n promo\r\n ) {\r\n var element = document.getElementById(idArt);\r\n var QtaOrdinate = 0;\r\n\r\n if (bPlus) QtaOrdinate = (element.value ? parseInt(element.value) : 0) + 1;\r\n else QtaOrdinate = parseInt(element.value) - 1;\r\n\r\n onBlur(idArt, QtaOrdinate, QtaDisponibili, QtaArrivo, catalogo, promo);\r\n }\r\n\r\n const clearAll = () => {\r\n var elements = document.querySelectorAll('[data-type=\"' + \"InsQta\" + '\"]');\r\n for (var ii = 0; ii < elements.length; ii++) {\r\n elements[ii].value = 0;\r\n }\r\n setQta(table);\r\n };\r\n\r\n useEffect(() => {\r\n var elements = document.querySelectorAll('[data-type=\"' + \"InsQta\" + '\"]');\r\n for (var ii = 0; ii < elements.length; ii++) {\r\n elements[ii].value = 0;\r\n }\r\n }, [product]);\r\n\r\n const confirmAll = () => {\r\n var addedAtLeastOne = false;\r\n if (cartItems.length >= 100) {\r\n addToast(\r\n \"Limite carrello superato. Procedi con l'invio di questo ordine e caricane uno nuovo per gli articoli rimanenti\",\r\n { appearance: \"error\", autoDismiss: false, placement: \"top-center\" }\r\n );\r\n return;\r\n }\r\n qta.map((s, key) => {\r\n if (s)\r\n s.map((single, key) => {\r\n if (single.qta > 0) {\r\n addedAtLeastOne = true;\r\n product.catalogo = single.catalogo;\r\n addToCart(\r\n product,\r\n null,\r\n single.qta,\r\n single.color,\r\n single.name,\r\n single.IDArtSizeColor,\r\n single.Ord1,\r\n single.Ord2\r\n );\r\n }\r\n });\r\n });\r\n\r\n if (addedAtLeastOne) {\r\n addToast(\"Quantità aggiunte al carrello\", {\r\n appearance: \"success\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n clearAll();\r\n }\r\n };\r\n\r\n const clearAllVar = (variant) => {\r\n var elements = document.querySelectorAll('[data-color=\"' + variant + '\"]');\r\n for (var ii = 0; ii < elements.length; ii++) {\r\n elements[ii].value = \"0\";\r\n }\r\n setQta((prevState) =>\r\n prevState.map((row) =>\r\n row?.map((col) => (col.color == variant ? { ...col, qta: 0 } : col))\r\n )\r\n );\r\n };\r\n\r\n function isTooDark(hexcolor) {\r\n hexcolor = hexcolor.replace(\"#\", \"\");\r\n var r = parseInt(hexcolor.substr(0, 2), 16);\r\n var g = parseInt(hexcolor.substr(2, 2), 16);\r\n var b = parseInt(hexcolor.substr(4, 2), 16);\r\n var yiq = (r * 299 + g * 587 + b * 114) / 1000;\r\n return yiq >= 128 ? \"black\" : \"white\";\r\n }\r\n\r\n function inserisciInPromemoria(IDArt, IDCli, IdDetCliRef) {\r\n //alert(IDArt + \" \" +IDCli)\r\n var body =\r\n \"{IDArt:\" +\r\n IDArt +\r\n \",IDCli:\" +\r\n IDCli +\r\n \", IdDetCliRef: \" +\r\n IdDetCliRef +\r\n \"}\";\r\n //console.log(credentials);\r\n //console.log(body);\r\n\r\n var endpoint = global.endpoint + \"/pegaso/addArtInPromemoria\";\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({\r\n \"Content-Type\": \"application/x-www-form-urlencoded\",\r\n }),\r\n body: body,\r\n withCredentials: false,\r\n })\r\n .then((res) => res.json())\r\n .then((result) => {\r\n if (result.Errore)\r\n addToast(result.Errore, {\r\n appearance: \"error\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n else\r\n addToast(result.Risposta, {\r\n appearance: \"success\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n });\r\n }\r\n\r\n function contaPromo(single) {\r\n var conta = 0;\r\n for (var i = 0; i < single?.size.length; i++) {\r\n if (single.size[i].promo) conta++;\r\n }\r\n return conta;\r\n }\r\n\r\n if (!visualizzaGriglia) return null;\r\n\r\n function checkVisibility(single) {\r\n var conta = 0;\r\n for (var i = 0; i < single?.size.length; i++) {\r\n if (single.size[i].flgNoWeb) conta++;\r\n }\r\n return conta == single.size.length;\r\n }\r\n return (\r\n \r\n \r\n confirmAll()}>\r\n {\" \"}\r\n Aggiungi al carrello{\" \"}\r\n \r\n {\r\n confirmAll();\r\n history.push(\"/shop-grid-full-width\");\r\n }}\r\n >\r\n {\" \"}\r\n Continua con gli acquisti{\" \"}\r\n \r\n \r\n {variations[numTaglie]?.size && (\r\n
    \r\n \r\n

    \r\n {/* \r\n
    \r\n*/}\r\n
    \r\n \r\n \r\n \r\n \r\n {variations[numTaglie].size.map((single, key) => {\r\n return ;\r\n })}\r\n \r\n \r\n \r\n \r\n {variations.map((single, key) => {\r\n return single.size == undefined ||\r\n single.size?.length == 0 ||\r\n (onlyPromo && contaPromo(single) == 0) ? (\r\n <>\r\n ) : (\r\n \r\n \r\n {single.size?.map((s, key) => {\r\n //console.log(s)\r\n var qtaInCarrello = productCartQty(s.color, s.name);\r\n return s.flgNoWeb == 1 ||\r\n !s.pricesco ||\r\n s.pricesco <= 0 ||\r\n (!s.promo && onlyPromo) ? (\r\n \r\n ) : (\r\n {\r\n // document.getElementById(s.name + s.color).style.backgroundImage =\r\n // visualizzaPrezzi ?\r\n // 'url(\"https://placehold.jp/23/ffffff/000000/270x400.png?text=Taglia: ' + s.name + /*'%0AColore: ' + s.color + */'\")'\r\n // :\r\n // 'url(\"https://placehold.jp/23/ffffff/000000/270x150.png?text=Taglia: ' + s.name + /*'%0AColore: ' + s.color + */'\")'\r\n //}}\r\n\r\n onMouseLeave={() => {\r\n document.getElementById(\r\n s.name + s.color\r\n ).style.backgroundImage = null;\r\n }}\r\n >\r\n {qtaInCarrello > 0 && (\r\n \r\n
    \r\n \r\n \r\n {qtaInCarrello}\r\n \r\n \r\n
    \r\n \r\n )}\r\n {s.promo && (\r\n \r\n
    \r\n \r\n
    \r\n \r\n )}\r\n {/*
    \r\n );\r\n })}\r\n {isLoggedUser && (\r\n \r\n clearAllVar(single.color)}\r\n style={{\r\n backgroundColor: \"white\",\r\n border: \"none\",\r\n padding: 0,\r\n zIndex: 9999,\r\n }}\r\n type=\"button\"\r\n aria-label=\"Close\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n })}\r\n \r\n
    Colore/Taglia{single.name}
    \r\n \r\n \r\n \r\n {single.color.split(\"-\")[1].split(\" (\")[0]}
    {\" \"}\r\n {single.color.split(\"-\")[1].split(\" (\")[1]\r\n ? \"(\" +\r\n single.color.split(\"-\")[1].split(\" (\")[1]\r\n : \"\"}\r\n

    \r\n \r\n
    }*/}\r\n {visualizzaPrezzi && (\r\n
    \r\n 0 &&\r\n s.pricesco < s.priceOld\r\n ? \"inline\"\r\n : \"none\",\r\n }}\r\n >\r\n \r\n {\"€ \" +\r\n (s.priceOld\r\n ? ((s.priceOld * 100) / 100).toFixed(\r\n 2\r\n )\r\n : \"0\")}\r\n \r\n \r\n \r\n {\" \"}\r\n {\"€ \" +\r\n (s.pricesco\r\n ? ((s.pricesco * 100) / 100).toFixed(2)\r\n : \"0\")}{\" \"}\r\n
    \r\n \r\n {userData.user.user?.ParIva ||\r\n userData.user.user?.ParIva != \"\" ||\r\n userData.user.user?.ParIva != null\r\n ? \"Iva esclusa\"\r\n : \"\"}\r\n \r\n \r\n
    \r\n )}\r\n\r\n {s.stock <= 0 &&\r\n s.stock - s.qtaOrdFor <= 0 &&\r\n s.qtaOrdFor - s.qtaImpCli <= 0 &&\r\n s.tag?.includes(\"PROMEMORIA\") ? (\r\n \r\n \r\n inserisciInPromemoria(\r\n s.IDArtSizeColor,\r\n userData.user.user.IDCli,\r\n userData.user.user.IdDetCliRef\r\n )\r\n }\r\n >\r\n
    \r\n Avvisami quando torna disponibile\r\n
    \r\n \r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n Taglia {s.name}\r\n \r\n \r\n \r\n {getDisponibili(\r\n s.stock,\r\n s.qtaOrdFor,\r\n s.color,\r\n s.name,\r\n s.catalogo,\r\n s.qtaImpCli,\r\n s.promo\r\n )}\r\n \r\n {/*
    {s.DataArrivo}
    */}\r\n \r\n {getQtaInArrivo(\r\n s.qtaOrdFor,\r\n s.qtaImpCli,\r\n s.stock,\r\n s.catalogo,\r\n s.promo\r\n ) || \"\"}\r\n \r\n\r\n {visualizzaPrezzi && (\r\n \r\n \r\n onPlusMinusClick(\r\n false,\r\n true,\r\n s.IDArtSizeColor,\r\n s.stock,\r\n s.qtaOrdFor,\r\n s.catalogo,\r\n s.promo\r\n )\r\n }\r\n style={{\r\n background: \"none\",\r\n border: \"none\",\r\n padding: 0,\r\n color: \"#8f8f8f\",\r\n cursor: \"pointer\",\r\n float: \"inherit\",\r\n fontSize: \"20px\",\r\n }}\r\n >\r\n -\r\n \r\n \r\n onBlur(\r\n s.IDArtSizeColor,\r\n parseInt(e.target.value) === 0\r\n ? 0\r\n : e.target.value,\r\n s.stock,\r\n s.qtaOrdFor,\r\n s.catalogo,\r\n s.promo\r\n )\r\n }\r\n onChange={(e) =>\r\n onBlur(\r\n s.IDArtSizeColor,\r\n parseInt(e.target.value) === 0\r\n ? 0\r\n : e.target.value,\r\n s.stock,\r\n s.qtaOrdFor,\r\n s.catalogo,\r\n s.promo\r\n )\r\n }\r\n />\r\n \r\n onPlusMinusClick(\r\n true,\r\n true,\r\n s.IDArtSizeColor,\r\n s.stock,\r\n s.qtaOrdFor,\r\n s.catalogo,\r\n s.promo\r\n )\r\n }\r\n style={{\r\n background: \"none\",\r\n border: \"none\",\r\n padding: 0,\r\n color: \"#8f8f8f\",\r\n cursor: \"pointer\",\r\n float: \"inherit\",\r\n fontSize: \"20px\",\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 confirmAll()}>\r\n {\" \"}\r\n Aggiungi al carrello{\" \"}\r\n \r\n {\r\n confirmAll();\r\n history.push(\"/shop-grid-full-width\");\r\n }}\r\n >\r\n {\" \"}\r\n Continua con gli acquisti{\" \"}\r\n \r\n \r\n \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nProductGridQta.propTypes = {\r\n product: PropTypes.object,\r\n addToCart: PropTypes.func,\r\n addToWishlist: PropTypes.func,\r\n cartItems: PropTypes.array,\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n addToCart: (\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt,\r\n Ord1,\r\n Ord2\r\n ) => {\r\n dispatch(\r\n addToCart(\r\n item,\r\n addToast,\r\n quantityCount,\r\n selectedProductColor,\r\n selectedProductSize,\r\n selectedIDArt,\r\n Ord1,\r\n Ord2\r\n )\r\n );\r\n },\r\n\r\n addToWishlist: (item, addToast) => {\r\n dispatch(addToWishlist(item, addToast));\r\n },\r\n };\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n cartItems: state.cartData,\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(ProductGridQta);\r\n","import PropTypes from \"prop-types\";\r\nimport React, {\r\n Fragment,\r\n useState,\r\n useEffect,\r\n useRef,\r\n useCallback,\r\n} from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport Paginator from \"react-hooks-paginator\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport { connect } from \"react-redux\";\r\nimport { getSortedProducts } from \"../../helpers/product\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport HTMLFlipBook from \"react-pageflip\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Magnifier from \"react-magnifier\";\r\nimport { useParams } from \"react-router-dom\";\r\n\r\nconst CatalogFlip = ({ location, products, page }) => {\r\n const [layout, setLayout] = useState(\"grid three-column\");\r\n const [sortType, setSortType] = useState(\"\");\r\n const [sortValue, setSortValue] = useState(\"\");\r\n const [filterSortType, setFilterSortType] = useState(\"\");\r\n const [filterSortValue, setFilterSortValue] = useState(\"\");\r\n const [offset, setOffset] = useState(0);\r\n const [currentPage, setCurrentPage] = useState(0);\r\n const [totPages, setTotPages] = useState(1000);\r\n //const [currentData, setCurrentData] = useState([]);\r\n const [sortedProducts, setSortedProducts] = useState([]);\r\n const pageLimit = 15;\r\n const { pathname } = location;\r\n const book = useRef();\r\n const routeParams = useParams();\r\n useEffect(() => {\r\n console.log(book);\r\n }, [currentPage]);\r\n const getLayout = (layout) => {\r\n setLayout(layout);\r\n };\r\n\r\n const getSortParams = (sortType, sortValue) => {\r\n setSortType(sortType);\r\n setSortValue(sortValue);\r\n };\r\n\r\n const getFilterSortParams = (sortType, sortValue) => {\r\n setFilterSortType(sortType);\r\n setFilterSortValue(sortValue);\r\n };\r\n\r\n useEffect(() => {\r\n let sortedProducts = getSortedProducts(products, sortType, sortValue);\r\n const filterSortedProducts = getSortedProducts(\r\n sortedProducts,\r\n filterSortType,\r\n filterSortValue\r\n );\r\n sortedProducts = filterSortedProducts;\r\n setSortedProducts(sortedProducts);\r\n //setCurrentData(sortedProducts.slice(offset, offset + pageLimit));\r\n }, [offset, products, sortType, sortValue, filterSortType, filterSortValue]);\r\n\r\n useEffect(() => {\r\n if (page > 0) {\r\n const interval = setInterval(() => {\r\n console.log(\"interval\", page);\r\n console.log(\"interval\", book.current.pageFlip());\r\n let p = 0;\r\n while (p <= page) {\r\n if (book.current.pageFlip()) {\r\n clearInterval(interval);\r\n book.current.pageFlip().flipNext();\r\n }\r\n p = p + 2;\r\n }\r\n }, 100);\r\n }\r\n }, []);\r\n const onKeyPressed = (e) => {\r\n if (book.current == null) return;\r\n if (e.keyCode == 37) book.current.pageFlip().flipPrev();\r\n if (e.keyCode == 39) book.current.pageFlip().flipNext();\r\n };\r\n useEffect(() => {\r\n document.addEventListener(\"keydown\", onKeyPressed);\r\n }, []);\r\n const pagine = [...Array(182).keys()];\r\n var strings = require(\"../../translations/italian.json\");\r\n\r\n const onFlip = useCallback((e) => {\r\n setCurrentPage(e.data);\r\n try {\r\n setTotPages(book.current.pageFlip().getPageCount() - 1);\r\n } catch (error) {}\r\n ////console.log('Current page: ' + e.data);\r\n }, []);\r\n\r\n var informazioni = global.informazioni;\r\n\r\n return (\r\n \r\n \r\n \r\n {strings.catalog} | {informazioni.società}\r\n \r\n \r\n \r\n\r\n Home\r\n \r\n Shop\r\n \r\n\r\n \r\n
    \r\n \r\n {strings[\"download_catalog\"]}\r\n \r\n
    \r\n\r\n \r\n {currentPage != 0 && (\r\n
    \r\n book.current.pageFlip().flipPrev()}\r\n >\r\n <\r\n \r\n
    \r\n )}\r\n \r\n {pagine.map((pagine) => {\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 {currentPage != totPages && (\r\n
    \r\n book.current.pageFlip().flipNext()}\r\n >\r\n >\r\n \r\n
    \r\n )}\r\n \r\n
    \r\n {currentPage == 0 &&

    Copertina

    }\r\n {currentPage != 0 && (\r\n

    \r\n Pagine {currentPage - 1}/{currentPage} di {totPages}\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\nCatalogFlip.propTypes = {\r\n location: PropTypes.object,\r\n products: PropTypes.array,\r\n};\r\n\r\nconst mapStateToProps = (state, ownProps) => {\r\n const page = ownProps.match.params.page;\r\n return {\r\n products: state.productData.products,\r\n page,\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps)(CatalogFlip);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport SectionTitleWithText from \"../../components/section-title/SectionTitleWithText\";\r\nimport BannerOne from \"../../wrappers/banner/BannerOne\";\r\nimport TextGridOne from \"../../wrappers/text-grid/TextGridOne\";\r\nimport FunFactOne from \"../../wrappers/fun-fact/FunFactOne\";\r\nimport TeamMemberOne from \"../../wrappers/team-member/TeamMemberOne\";\r\nimport BrandLogoSliderOne from \"../../wrappers/brand-logo/BrandLogoSliderOne\";\r\nimport FeatureIcon from \"../../wrappers/feature-icon/FeatureIcon\";\r\n\r\nconst About = ({ location }) => {\r\n const { pathname } = location;\r\n var strings = require(\"../../translations/italian.json\");\r\n\r\n var informazioni = global.informazioni\r\n /*switch(global.aziendaID)\r\n {\r\n case 1: \r\n informazioni = informazioniDGA\r\n break;\r\n case 2:\r\n informazioni = informazioniMondoCarta\r\n break;\r\n }*/\r\n return (\r\n \r\n \r\n \r\n {strings.chisiamo} | {informazioni.società}\r\n \r\n \r\n\r\n\r\n \r\n {/* breadcrumb */}\r\n \r\n {global.aziendaID == 2 &&
    }\r\n {/* section title with text */}\r\n \r\n {global.aziendaID == 2 &&
    } \r\n {/* banner */}\r\n \r\n\r\n {/* text grid */}\r\n {/**/}\r\n\r\n {/* fun fact */}\r\n {/**/}\r\n \r\n \r\n {/* team member */}\r\n \r\n\r\n {/* brand logo slider */}\r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nAbout.propTypes = {\r\n location: PropTypes.object\r\n};\r\n\r\nexport default About;\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst BannerOneSingle = ({ data, spaceBottomClass }) => {\r\n return (\r\n
    \r\n \r\n \r\n \"\"\r\n \r\n
    \r\n

    {data.title}

    \r\n

    \r\n {data.subtitle} {data.price}\r\n

    \r\n \r\n \r\n \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nBannerOneSingle.propTypes = {\r\n data: PropTypes.object,\r\n spaceBottomClass: PropTypes.string\r\n};\r\n\r\nexport default BannerOneSingle;\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\n\r\nconst SectionTitleTwo = ({\r\n titleText,\r\n subTitleText,\r\n positionClass,\r\n spaceClass\r\n}) => {\r\n return (\r\n \r\n

    {titleText}

    \r\n

    {subTitleText}

    \r\n \r\n );\r\n};\r\n\r\nSectionTitleTwo.propTypes = {\r\n positionClass: PropTypes.string,\r\n spaceClass: PropTypes.string,\r\n subTitleText: PropTypes.string,\r\n titleText: PropTypes.string\r\n};\r\n\r\nexport default SectionTitleTwo;\r\n","import PropTypes from \"prop-types\";\r\nimport React from \"react\";\r\n\r\nconst BrandLogoOneSingle = ({ data, sliderClassName, spaceBottomClass }) => {\r\n return (\r\n \r\n \"\"\r\n \r\n );\r\n};\r\n\r\nBrandLogoOneSingle.propTypes = {\r\n data: PropTypes.object,\r\n sliderClassName: PropTypes.string,\r\n spaceBottomClass: PropTypes.string\r\n};\r\n\r\nexport default BrandLogoOneSingle;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport LocationMap from \"../../components/contact/LocationMap\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { sendMail } from \"../../helpers/dbOperations\";\r\n\r\nconst Contact = ({ location }) => {\r\n\r\n const { pathname } = location;\r\n const { addToast } = useToasts();\r\n\r\n const [Name, setfName] = useState();\r\n const [Mail, setfMail] = useState();\r\n const [Oggetto, setfObject] = useState();\r\n const [Message, setfMessage] = useState();\r\n\r\n const handleSubmit = async e => {\r\n var ElementiInseriti = VerificaCampiObbligatori();\r\n\r\n e.preventDefault();\r\n\r\n //Verifico i Campi Obbligatori\r\n VerificaCampiObbligatori();\r\n\r\n /*username\r\n password\r\n Nome\r\n EMail\r\n Oggetto\r\n Messaggio\r\n */\r\n\r\n var username = \"\";\r\n var password = \"\";\r\n var Nome = Name;\r\n var EMail = Mail;\r\n var Messaggio = Message;\r\n\r\n if (ElementiInseriti) {\r\n var ritorno = await sendMail({ username, password, Nome, EMail, Oggetto, Messaggio });\r\n\r\n if (ritorno == undefined || ritorno.Errrore != \"\") {\r\n addToast(\"Messaggio Inviato Correttamente\", { appearance: \"success\", autoDismiss: true, placement: 'bottom-left' });\r\n }\r\n else {\r\n addToast(\"Problema nell'Invio del Messaggio\", { appearance: \"error\", autoDismiss: true, placement: 'bottom-left' });\r\n }\r\n\r\n setfName(\"\");\r\n setfMail(\"\");\r\n setfObject(\"\");\r\n setfMessage(\"\");\r\n }\r\n else\r\n addToast(\"Attenzione, campi obbligatori non inseriti\", { appearance: \"error\", autoDismiss: true, placement: 'bottom-left' });\r\n }\r\n\r\n function VerificaCampiObbligatori() {\r\n var valore;\r\n var sValFinale;\r\n\r\n var ElementiInseriti = true;\r\n\r\n var Elemento;\r\n\r\n Elemento = document.querySelector('[nomeField=\"' + \"name\" + '\"]');\r\n valore = Elemento.value;\r\n setfName(valore);\r\n sValFinale = { \"Nome\": valore };\r\n\r\n Elemento = document.querySelector('[nomeField=\"' + \"mail\" + '\"]');\r\n valore = Elemento.value;\r\n setfMail(valore);\r\n\r\n Elemento = document.querySelector('[nomeField=\"' + \"object\" + '\"]');\r\n valore = Elemento.value;\r\n setfObject(valore);\r\n\r\n Elemento = document.querySelector('[nomeField=\"' + \"message\" + '\"]');\r\n valore = Elemento.value;\r\n setfMessage(valore);\r\n\r\n var elements = document.querySelectorAll('[requiredField=\"' + \"1\" + '\"]');\r\n for (var ii = 0; ii < elements.length; ii++) {\r\n valore = elements[ii].value;\r\n if (valore == \"\") {\r\n ElementiInseriti = false;\r\n elements[ii].style.border = \"thin dotted red\";\r\n }\r\n else {\r\n elements[ii].style.border = \"thin dotted black\";\r\n }\r\n }\r\n\r\n return ElementiInseriti;\r\n }\r\n\r\n var informazioni = global.informazioni\r\n\r\n return (\r\n \r\n \r\n {informazioni.società} | Contact\r\n \r\n \r\n\r\n \r\n {/* breadcrumb */}\r\n\r\n
    \r\n
    \r\n
    \r\n

    I nostri uffici

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

    {informazioni.phone}

    \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 {informazioni.mail.map(m => {\r\n return (

    \r\n {m.value}\r\n

    )\r\n })}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n

    {informazioni.indirizzoSedeLegale}

    \r\n

    {informazioni.localitàSedeLegale}

    \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

    Seguici

    \r\n \r\n
    */}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Entra in contatto con noi

    \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\nContact.propTypes = {\r\n location: PropTypes.object\r\n};\r\n\r\nexport default Contact;\r\n","import React from \"react\";\r\n//import { Map, GoogleApiWrapper, Marker } from \"google-maps-react\";\r\nimport { PropTypes } from \"prop-types\";\r\n//import { MapContainer, TileLayer, Marker, Popup } from 'react-leaflet'\r\nimport 'leaflet/dist/leaflet.css';\r\nimport L from 'leaflet';\r\n\r\ndelete L.Icon.Default.prototype._getIconUrl;\r\n\r\nL.Icon.Default.mergeOptions({\r\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\r\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\r\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\r\n});\r\nconst FooterMap = props => {\r\n const mapStyles = {\r\n width: \"200&\",\r\n height: \"100%\"\r\n };\r\n\r\n var informazioni = global.informazioni\r\n \r\n const position = [props.latitude, props.longitude]\r\n return (\r\n
    \r\n \r\n\r\n
    \r\n \r\n );\r\n};\r\n\r\nFooterMap.propTypes = {\r\n google: PropTypes.object,\r\n latitude: PropTypes.string,\r\n longitude: PropTypes.string\r\n};\r\n\r\n/*export default GoogleApiWrapper({\r\n apiKey: \"AIzaSyBUfHRjiHo-Qyx_jeAVxQLYUmACMtYKRcg\"\r\n})(FooterMap);*/\r\nexport default FooterMap;","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport Card from \"react-bootstrap/Card\";\r\nimport Accordion from \"react-bootstrap/Accordion\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchUser, saveUser } from \"../../redux/actions/userAction\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport ImageUploader from \"react-images-upload\";\r\nimport { changeData, uploadFile } from \"../../helpers/dbOperations\";\r\nimport axios from \"axios\";\r\n\r\nconst MyAccount = ({ location, userData, saveUser }) => {\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni\r\n const { pathname } = location;\r\n const { addToast } = useToasts();\r\n const [accountImage, setAccountImage] = useState(\"\")\r\n //webAppPegasoChangeUserData\r\n\r\n function caricaCredenzialiCambioDati()\r\n {\r\n var Elemento;\r\n\r\n var Fields = [\"CodFis\", \"ParIva\", \"CodDes\", \"EMailPec\", \"Ind\", \"Loc\", \"Cap\", \"Pro\", \"Nom\", \"Cog\", \"EMail\", \"SitWeb\", \"Tel\", \"Cel\"]\r\n var valueFields = {};\r\n \r\n Fields.map(field => \r\n {\r\n Elemento = document.querySelector('[nomeField=\"'+ field +'\"]');\r\n valueFields[field] = Elemento? Elemento.value : \"\";\r\n userData.user.user[field] = Elemento? Elemento.value : \"\";\r\n })\r\n \r\n valueFields.username = userData.user.user.username;\r\n valueFields.password = userData.user.user.password;\r\n valueFields.passwordnew = userData.user.user.password;\r\n valueFields.TipoCambio = 1;\r\n\r\n saveUser(userData.user, null);\r\n\r\n return valueFields;\r\n }\r\n\r\n function caricaCredenzialiCambioPassword()\r\n {\r\n var Elemento;\r\n\r\n var Fields = [\"CodFis\", \"ParIva\", \"CodDes\", \"EMailPec\", \"Ind\", \"Loc\", \"Cap\", \"Pro\", \"Nom\", \"Cog\", \"EMail\", \r\n \"SitWeb\", \"Tel\", \"Cel\", \"newPassword\", \"currentPassword\"]\r\n var valueFields = {};\r\n \r\n Fields.map(field => \r\n {\r\n Elemento = document.querySelector('[nomeField=\"'+ field +'\"]');\r\n valueFields[field] = Elemento? Elemento.value : \"\";\r\n userData.user.user[field] = Elemento? Elemento.value : \"\";\r\n })\r\n \r\n valueFields.username = userData.user.user.username;\r\n valueFields.password = valueFields.currentPassword;\r\n valueFields.passwordnew = valueFields.newPassword;\r\n valueFields.TipoCambio = 2;\r\n\r\n saveUser(userData.user, null);\r\n\r\n return valueFields;\r\n }\r\n\r\n /*\r\n function onDrop(pictureFiles, pictureDataURLs) {\r\n this.setState({\r\n pictures: this.state.pictures.concat(pictureFiles)\r\n });\r\n }*/\r\n\r\n function cambiaDati()\r\n {\r\n var credentials = caricaCredenzialiCambioDati();\r\n //console.log(\"Parto con il Cambiamento dei dati con queste credenziali\");\r\n changeData(credentials, addToast)\r\n }\r\n\r\n function cambiaPassword()\r\n {\r\n var credentials = caricaCredenzialiCambioPassword();\r\n changeData(credentials, addToast)\r\n }\r\n\r\n \r\n const uploadNew = async (file) => {\r\n var endPoint = 'https://pegaso3cloudapi.pegasogest.it/api/pegasoCloud/api/upload';\r\n\r\n const risultato = await axios.post(endPoint, { file }).then(response => response.data).catch(error => error);\r\n //console.log(risultato);\r\n const ritorno = (risultato && risultato?.esito == 'OK') ? risultato.linkFile : file; \r\n \r\n saveUser({...userData.user, user: {...userData.user.user, WebImage : ritorno}}, null);\r\n return ritorno;\r\n }\r\n\r\n const photoOnClick = () => {\r\n document.getElementById(\"profile-image-upload\").click()\r\n }\r\n const fileToBase64 = (file) =>\r\n new Promise((resolve, reject) => {\r\n const reader = new FileReader()\r\n reader.readAsDataURL(file)\r\n reader.onload = () => resolve(reader.result)\r\n reader.onerror = (e) => reject(e)\r\n })\r\n const submitImage = (e) => {\r\n //console.log(e.target.files)\r\n document.getElementById(\"accountPic\").src= URL.createObjectURL(e.target.files[0])\r\n var nameFile = e.target.files[0].name\r\n const imageStr = fileToBase64(e.target.files[0]).then(\r\n data => {\r\n userData.user.user[\"WebImage\"] = data\r\n const body = {}\r\n body[\"idDetCliRef\"] = userData.user.user.IdDetCliRef\r\n body[\"photo\"] = data.split(\",\")[1]\r\n var nameFileNew = Date.now()+\".\"+ nameFile.split(\".\")[1]\r\n body[\"name\"] = nameFileNew\r\n //console.log(body)\r\n var endpoint = global.endpoint\r\n uploadFile(body, addToast)\r\n saveUser(userData.user, null);\r\n }\r\n )\r\n }\r\n return (\r\n \r\n \r\n {strings.my_account} | {informazioni.titleSite}\r\n \r\n \r\n\r\n \r\n {/* breadcrumb */}\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n

    \r\n 1 . Inserisci le Tue Informazioni{\" \"}\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 submitImage(e)}>\r\n \r\n photoOnClick()} title=\"Clicca per cambiare l'immagine\">\r\n \r\n
    \r\n
    \r\n
    \r\n {/*
    \r\n

    DATI DI FATTURAZIONE

    \r\n
    Informazioni Aziendali
    \r\n
    */}\r\n
    DATI DI FATTURAZIONE - Informazioni Aziendali
    \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
    \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
    LE MIE INFORMAZIONI - Informazioni Personali
    \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 \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n

    \r\n 2 . Cambia Password\r\n

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

    Cambia Password

    \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 {false && \r\n \r\n \r\n

    \r\n 3 . Modifica i Tuoi Dati{\" \"}\r\n

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

    Address Book Entries

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

    Farhana hayder (shuvo)

    \r\n

    hastech

    \r\n

    Road#1 , Block#c

    \r\n

    Rampura.

    \r\n

    Dhaka

    \r\n

    Bangladesh

    \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\nMyAccount.propTypes = {\r\n location: PropTypes.object,\r\n userData: PropTypes.object,\r\n cartData: PropTypes.array,\r\n compareData: PropTypes.array,\r\n currency: PropTypes.object,\r\n removeFromCart: PropTypes.func,\r\n wishlistData: PropTypes.array,\r\n setToken: PropTypes.func\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n userData: state.userData\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n saveUser: (user, addToast) => {dispatch(saveUser(user, addToast))}\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(MyAccount);\r\n\r\n","import styled from \"tachyons-components\";\r\n\r\nexport const Section = styled('div')`\r\nflex flex-wrap content-center justify-center w-100 h-100 bg-blue`;\r\n\r\nexport const Article = styled('div')`\r\nw-25 ma2 h4 items-center justify-center flex flex-column flex-wrap`;\r\n\r\nexport const Prop = styled('h3')`\r\nf5 f4-ns mb0 white`;\r\n\r\nexport const Title = styled('h1') `\r\nf4 f3-ns white w-100 tc`;\r\n\r\nexport const list = [\r\n {\r\n prop: \"balls\",\r\n name: \"Balls\"\r\n },\r\n {\r\n prop: \"bars\",\r\n name: \"Bars\"\r\n },\r\n {\r\n prop: \"bubbles\",\r\n name: \"Bubbles\"\r\n },\r\n {\r\n prop: \"cubes\",\r\n name: \"Cubes\"\r\n },\r\n {\r\n prop: \"cylon\",\r\n name: \"Cylon\"\r\n },\r\n {\r\n prop: \"spin\",\r\n name: \"Spin\"\r\n },\r\n {\r\n prop: \"spinningBubbles\",\r\n name: \"SpinningBubbles\"\r\n },\r\n {\r\n prop: \"spokes\",\r\n name: \"Spokes\"\r\n }\r\n];\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport Tab from \"react-bootstrap/Tab\";\r\nimport Nav from \"react-bootstrap/Nav\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport { saveUser } from \"../../redux/actions/userAction\";\r\nimport { saveProducts } from \"../../redux/actions/productsAction\";\r\nimport { connect } from \"react-redux\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { Article, Prop } from \"./animationList\";\r\nimport ReactLoading from \"react-loading\";\r\nimport { submitForgotPassword } from \"../../helpers/dbOperations\";\r\n\r\n const ForgotPassword = ({setToken, saveUser, saveProducts}) => {\r\n const [email, setEmail] = useState();\r\n //const [username, setUserName] = useState();\r\n //const [password, setPassword] = useState();\r\n const [inCaricamento, setinCaricamento] = useState(false);\r\n let history = useHistory()\r\n\r\n const handleSubmit = async e => {\r\n submitForgotPassword(e, addToast, email, history)\r\n }\r\n\r\n const { addToast } = useToasts();\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni\r\n\r\n return (\r\n \r\n \r\n Password dimenticata | {informazioni.titleSite}\r\n \r\n \r\n\r\n \r\n {/* breadcrumb */}\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 Inserisci l'indirizzo mail nel form qui sotto, ti invieremo una mail con la procedura per il ripristino\r\n

    \r\n setEmail(e.target.value)}\r\n />\r\n \r\n
    \r\n
    \r\n {!inCaricamento && \r\n \r\n }\r\n {inCaricamento &&\r\n
    \r\n \r\n {\"Bars\"}\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\nForgotPassword.propTypes = {\r\n location: PropTypes.object,\r\n setToken: PropTypes.func.isRequired,\r\n userData: PropTypes.object\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n user: state.user,\r\n products: state.productData.products,\r\n userData: state.userData\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n \r\n return {\r\n saveUser: (user, addToast) => {dispatch(saveUser(user, addToast))},\r\n saveProducts: (products, addToast) => {dispatch(saveProducts(products, addToast))} \r\n \r\n };\r\n};\r\n\r\n//export default LoginRegister;\r\nexport default connect(mapStateToProps, mapDispatchToProps)(ForgotPassword);","import React, { Fragment, useEffect, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { useHistory, useParams } from \"react-router-dom\";\r\nimport Tab from \"react-bootstrap/Tab\";\r\nimport Nav from \"react-bootstrap/Nav\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport { connect } from \"react-redux\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { Article, Prop } from \"./animationList\";\r\nimport ReactLoading from \"react-loading\";\r\nimport { changePassword } from \"../../helpers/dbOperations\";\r\n\r\n const ResetPassword = () => {\r\n const [password, setPassword] = useState(\"\");\r\n const [confirmPassword, setConfirmPassword] = useState(\"\");\r\n const [inCaricamento, setinCaricamento] = useState(false);\r\n const [scad, setScad] = useState()\r\n const [idDetCliRef, setIdDetCliRef] = useState()\r\n const { data } = useParams();\r\n let history = useHistory()\r\n const handleSubmit = e => {\r\n var pass = document.getElementById(\"password\")\r\n var confPass = document.getElementById(\"confirmPassword\")\r\n if(password.length < 8) {\r\n alert(\"Scegliere una password con più di 8 caratteri alfanumerici\"); \r\n return;\r\n }\r\n else if(pass.value != confPass.value) {\r\n alert(\"Le due password non coincidono\")\r\n return; \r\n } \r\n var body = {}\r\n body[\"password\"] = password\r\n body[\"idDetCliRef\"] = idDetCliRef\r\n changePassword(body, addToast, history)\r\n \r\n }\r\n useEffect(() => {\r\n var params = (atob(data)).split(\";\");\r\n setIdDetCliRef(params[0].split(\"=\")[1])\r\n setScad(params[1].split(\"=\")[1])\r\n \r\n },[] )\r\n\r\n const { addToast } = useToasts();\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni\r\n\r\n return (\r\n \r\n \r\n Reset password | {informazioni.titleSite}\r\n \r\n \r\n\r\n \r\n {/* breadcrumb */}\r\n \r\n \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {scad > Date.now() &&\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n setPassword(e.target.value)}\r\n required\r\n />\r\n setConfirmPassword(e.target.value)}\r\n required\r\n />\r\n
    \r\n
    \r\n {!inCaricamento && \r\n \r\n }\r\n {inCaricamento &&\r\n
    \r\n \r\n {\"Bars\"}\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 {scad < Date.now() && \r\n
    \r\n

    Attenzione!

    \r\n

    Il link è scaduto, rifare la procedura di ripristino password!

    \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\nResetPassword.propTypes = {\r\n};\r\n\r\n\r\n\r\n//export default LoginRegister;\r\nexport default connect()(ResetPassword);","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport { connect } from \"react-redux\";\r\nimport { Section, Title, Article, Prop, list } from \"./animationList\";\r\nimport ReactLoading from \"react-loading\";\r\nimport {\r\n getDiscountPrice,\r\n getDiscountPriceVariation,\r\n getFinalPriceVariation,\r\n} from \"../../helpers/product\";\r\n\r\nimport {\r\n addToCart,\r\n adjustCartForCheckOut,\r\n decrementQty,\r\n removeFromCart,\r\n cartItemStock,\r\n removeAllFromCart,\r\n} from \"../../redux/actions/cartActions\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport { BorderRight } from \"@mui/icons-material\";\r\nimport { size } from \"lodash\";\r\n\r\nconst Cart = ({\r\n location,\r\n cartItems,\r\n currency,\r\n decrementQty,\r\n addToCart,\r\n adjustCartForCheckOut,\r\n removeFromCart,\r\n removeAllFromCart,\r\n userData,\r\n}) => {\r\n const [inCaricamentoCheckOut, setinCaricamentoCheckOut] = useState(false);\r\n\r\n const [quantityCount] = useState(1);\r\n const { addToast } = useToasts();\r\n const { pathname } = location;\r\n let cartTotalPrice = 0;\r\n const [tot, setTot] = useState(0);\r\n const [totPortoFranco, setTotPortoFranco] = useState(0);\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni;\r\n\r\n useEffect(() => {\r\n var totale = 0;\r\n if (cartItems && cartItems.length > 0) {\r\n cartItems.forEach((single) => {\r\n var finalProductPrice = 0;\r\n if (!single?.variation || single.variation?.length == 0) {\r\n finalProductPrice = single.price?.toFixed(2);\r\n } else {\r\n const discountedPrice = getDiscountPrice(\r\n single.price,\r\n single.discount,\r\n single.pricesco\r\n );\r\n finalProductPrice = getFinalPriceVariation(\r\n single,\r\n single.selectedProductColor,\r\n single.selectedProductSize\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n }\r\n\r\n totale += finalProductPrice * single.quantity;\r\n });\r\n setTot(totale);\r\n setTotPortoFranco(390.0 - totale);\r\n }\r\n }, [cartItems]);\r\n const getCartItems = () => {\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 {cartItems.map((cartItem, key) => {\r\n const discountedPrice = getDiscountPrice(\r\n cartItem.price,\r\n cartItem.discount,\r\n cartItem.pricesco,\r\n cartItem\r\n );\r\n\r\n const finalProductPrice = getFinalPriceVariation(\r\n cartItem,\r\n cartItem.selectedProductColor,\r\n cartItem.selectedProductSize,\r\n cartItem\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n\r\n discountedPrice != null\r\n ? (cartTotalPrice +=\r\n finalDiscountedPrice * cartItem.quantity)\r\n : (cartTotalPrice += finalProductPrice * cartItem.quantity);\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
    ImmagineNome ProdottoPrezzoQuantitàSubtotaleAzione
    \r\n \r\n \r\n \r\n \r\n \r\n {cartItem.sku}\r\n
    \r\n {cartItem.name}\r\n \r\n {cartItem.selectedProductColor &&\r\n cartItem.selectedProductSize ? (\r\n
    \r\n Color: {cartItem.selectedProductColor}\r\n Size: {cartItem.selectedProductSize}\r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n {discountedPrice !== null ? (\r\n \r\n {/*\r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n */}\r\n \r\n {currency.currencySymbol + finalProductPrice}\r\n \r\n \r\n ) : (\r\n \r\n {currency.currencySymbol + finalProductPrice}\r\n \r\n )}\r\n \r\n
    \r\n decrementQty(cartItem, addToast)}\r\n >\r\n -\r\n \r\n \r\n \r\n addToCart(cartItem, addToast, quantityCount)\r\n }\r\n disabled={\r\n cartItem !== undefined &&\r\n cartItem.quantity &&\r\n cartItem.quantity >=\r\n cartItemStock(\r\n cartItem,\r\n cartItem.selectedProductColor,\r\n cartItem.selectedProductSize\r\n )\r\n }\r\n >\r\n +\r\n \r\n
    \r\n
    \r\n {\r\n /*discountedPrice !== null\r\n ? currency.currencySymbol +\r\n (\r\n finalDiscountedPrice * cartItem.quantity\r\n ).toFixed(2)\r\n :*/ currency.currencySymbol +\r\n (finalProductPrice * cartItem.quantity).toFixed(2)\r\n }\r\n \r\n removeFromCart(cartItem, addToast)}\r\n >\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n };\r\n\r\n const getCartItemsMobile = () => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n const discountedPrice = getDiscountPrice(\r\n cartItem.price,\r\n cartItem.discount,\r\n cartItem.pricesco\r\n );\r\n\r\n const finalProductPrice = getFinalPriceVariation(\r\n cartItem,\r\n cartItem.selectedProductColor,\r\n cartItem.selectedProductSize\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n\r\n /*discountedPrice != null\r\n ? (cartTotalPrice +=\r\n finalDiscountedPrice * cartItem.quantity)\r\n :*/ /*(cartTotalPrice +=\r\n finalProductPrice * cartItem.quantity);*/\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 {discountedPrice !== null ? (\r\n \r\n {/*\r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n */}\r\n \r\n {currency.currencySymbol + finalProductPrice}\r\n \r\n \r\n ) : (\r\n \r\n {currency.currencySymbol + finalProductPrice}\r\n \r\n )}\r\n\r\n \r\n decrementQty(cartItem, addToast)}\r\n >\r\n -\r\n \r\n \r\n \r\n addToCart(cartItem, addToast, quantityCount)\r\n }\r\n disabled={\r\n cartItem !== undefined &&\r\n cartItem.quantity &&\r\n cartItem.quantity >=\r\n cartItemStock(\r\n cartItem,\r\n cartItem.selectedProductColor,\r\n cartItem.selectedProductSize\r\n )\r\n }\r\n >\r\n +\r\n \r\n
    \r\n\r\n {!!(finalProductPrice * cartItem.quantity) ? (\r\n \r\n {/*\r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n */}\r\n \r\n {(\r\n finalProductPrice * cartItem.quantity\r\n ).toFixed(2)}\r\n \r\n \r\n ) : (\r\n \r\n {(finalProductPrice * cartItem.quantity).toFixed(\r\n 2\r\n )}\r\n \r\n )}\r\n \r\n \r\n
    \r\n );\r\n })}\r\n \r\n
    \r\n \r\n {cartItem.sku}\r\n
    \r\n {cartItem.name}\r\n \r\n {cartItem.selectedProductColor &&\r\n cartItem.selectedProductSize ? (\r\n
    \r\n Color: {cartItem.selectedProductColor}\r\n Size: {cartItem.selectedProductSize}\r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n {strings.cart} | {informazioni.titleSite}\r\n \r\n \r\n \r\n\r\n Home\r\n \r\n Cart\r\n \r\n\r\n \r\n {/* breadcrumb */}\r\n\r\n
    \r\n
    \r\n {cartItems && cartItems.length >= 1 ? (\r\n \r\n

    Articoli nel Carrello

    \r\n\r\n
    {getCartItems()}
    \r\n
    {getCartItemsMobile()}
    \r\n\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Continua gli Acquisti\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n\r\n \r\n \r\n \r\n Continua gli Acquisti\r\n \r\n
    \r\n\r\n \r\n removeAllFromCart(addToast)}\r\n style={{ height: \"55px\" }}\r\n >\r\n Cancella Lista\r\n \r\n
    \r\n
    \r\n\r\n {/*
    \r\n
    \r\n \r\n Continua gli Acquisti\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 Costi di Trasporto e Tasse\r\n

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

    \r\n Inserisci la Tua Destinazione per Stimare i costi di Trasporto.\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 Usa un Codice Coupon\r\n

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

    Inserisci il tuo Coupon.

    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    */}\r\n\r\n

    \r\n Totale Carrello\r\n

    \r\n
    \r\n\r\n
    \r\n {totPortoFranco > 0 ? (\r\n 0 ? \"block\" : \"none\",\r\n }}\r\n >\r\n Aggiungi altri {(390.0 - tot).toFixed(2)} € per la\r\n spedizione gratuita\r\n

    \r\n ) : (\r\n 0 ? \"block\" : \"none\",\r\n }}\r\n >\r\n Complimenti! Hai la spedizione gratuita per questo\r\n ordine!\r\n

    \r\n )}\r\n
    \r\n
    \r\n Totale Prodotti{\" \"}\r\n \r\n {currency.currencySymbol + cartTotalPrice.toFixed(2)}\r\n \r\n
    \r\n\r\n

    \r\n Gran Totale{\" \"}\r\n \r\n {currency.currencySymbol + cartTotalPrice.toFixed(2)}\r\n \r\n

    \r\n\r\n {!inCaricamentoCheckOut && (\r\n \r\n Invia Ordine\r\n \r\n )}\r\n\r\n {inCaricamentoCheckOut && (\r\n
    \r\n \r\n {\"Bars\"}\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 Il carrello è vuoto\r\n
    {\" \"}\r\n \r\n Acquista ora\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\nCart.propTypes = {\r\n addToCart: PropTypes.func,\r\n adjustCartForCheckOut: PropTypes.func,\r\n cartItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n decrementQty: PropTypes.func,\r\n location: PropTypes.object,\r\n removeAllFromCart: PropTypes.func,\r\n removeFromCart: PropTypes.func,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n cartItems: state.cartData,\r\n currency: state.currencyData,\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n addToCart: (item, addToast, quantityCount) => {\r\n dispatch(addToCart(item, addToast, quantityCount));\r\n },\r\n adjustCartForCheckOut: (item) => {\r\n dispatch(adjustCartForCheckOut(item));\r\n },\r\n decrementQty: (item, addToast) => {\r\n dispatch(decrementQty(item, addToast));\r\n },\r\n removeFromCart: (item, addToast) => {\r\n dispatch(removeFromCart(item, addToast));\r\n },\r\n removeAllFromCart: (addToast) => {\r\n dispatch(removeAllFromCart(addToast));\r\n },\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Cart);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { connect } from \"react-redux\";\r\nimport { getDiscountPrice } from \"../../helpers/product\";\r\nimport {\r\n addToWishlist,\r\n removeFromWishlist,\r\n removeAllFromWishlist\r\n} from \"../../redux/actions/wishlistActions\";\r\nimport { addToCart } from \"../../redux/actions/cartActions\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport ProductModal from \"../../components/product/ProductModal\";\r\nimport { addToCompare } from \"../../redux/actions/compareActions\";\r\n\r\nconst Wishlist = ({\r\n location,\r\n cartItems,\r\n products,\r\n currency,\r\n addToCart,\r\n wishlistItems,\r\n removeFromWishlist,\r\n removeAllFromWishlist,\r\n userData,\r\n addToCompare,\r\n compareItems\r\n}) => {\r\n const isLoggedUser = (((userData?.user?.user) && (userData?.user?.user?.IDCli || userData?.user?.user?.IDAge))) ? true : false;\r\n const visualizzaPrezzi = isLoggedUser || global.visualizzaPrezziLogOut;\r\n const visualizzaGriglia = isLoggedUser || global.visualizzaGrigliaLogOut;\r\n const visualizzaQuantita = isLoggedUser || global.visualizzaQuantitaLogOut;\r\n const prodottiSenzaLogin = global.prodottiSenzaLogin;\r\n\r\n const [modalShow, setModalShow] = useState({ visible: false, product: {} });\r\n const { addToast } = useToasts();\r\n const { pathname } = location;\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni\r\n\r\n const nascondiModal = () => {\r\n const item = { ...modalShow }\r\n setModalShow({ ...item, visible: false })\r\n }\r\n\r\n const getwishlist = () => {\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 {wishlistItems.map((wishlistItem, key) => {\r\n\r\n\r\n\r\n\r\n\r\n const product = products.find(_product => _product?.id === wishlistItem?.id);\r\n if (!product) return null;\r\n\r\n const discountedPrice = !product ? 0 : getDiscountPrice(product.price, product.discount, product.pricesco);\r\n const finalProductPrice = !product ? 0 : (product.price * currency.currencyRate).toFixed(2);\r\n const finalDiscountedPrice = !product ? 0 : (discountedPrice * currency.currencyRate).toFixed(2);\r\n const cartItem = cartItems.filter(item => item.id === product.id)[0]\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
    ImmagineProdottoPrezzo            Visualizza      Azione
    \r\n \r\n {\r\n var elms = document.querySelectorAll(\"[id='\" + \"image-prod-\" + product.id + \"']\");\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage\r\n elms[i].style.objectFit = \"contain\"\r\n }\r\n \r\n }\r\n }\r\n />\r\n \r\n \r\n \r\n {product.sku}\r\n \r\n
    \r\n \r\n {product.name}\r\n \r\n
    \r\n {discountedPrice !== null ? (\r\n \r\n \r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n \r\n \r\n {currency.currencySymbol + finalDiscountedPrice}\r\n \r\n \r\n ) : (\r\n \r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n \r\n )}\r\n \r\n {product.affiliateLink ? (\r\n \r\n {\" \"}\r\n Acquista Ora{\" \"}\r\n \r\n ) : product.variation &&\r\n product.variation.length >= 1 ? (\r\n setModalShow({ visible: true, product, cartItem, wishlistItem, discountedPrice, finalProductPrice, finalDiscountedPrice })}\r\n >\r\n Visualizza\r\n \r\n\r\n\r\n ) : (product.stock &&\r\n product.stock > 0) || global.aziendaID == 2 ? (\r\n \r\n addToCart(product, addToast)\r\n }\r\n className={\r\n cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n ? \"active\"\r\n : \"\"\r\n }\r\n disabled={\r\n cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n }\r\n title={\r\n wishlistItem !== undefined\r\n ? strings.added_to_cart\r\n : strings.add_to_cart\r\n }\r\n >\r\n {cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n ? \"Aggiunto\"\r\n : strings.add_to_cart}\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n removeFromWishlist(wishlistItem, addToast)\r\n }\r\n >\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n\r\n const getwishlistMobile = () => {\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 {wishlistItems.map((wishlistItem, key) => {\r\n\r\n const product = products.find(_product => _product?.id === wishlistItem?.id);\r\n if (!product) return null;\r\n\r\n const discountedPrice = !product ? 0 : getDiscountPrice(product.price, product.discount, product.pricesco);\r\n const finalProductPrice = !product ? 0 : (product.price * currency.currencyRate).toFixed(2);\r\n const finalDiscountedPrice = !product ? 0 : (discountedPrice * currency.currencyRate).toFixed(2);\r\n const cartItem = cartItems.filter(item => item.id === product.id)[0]\r\n\r\n return (\r\n <>\r\n setModalShow({ visible: true, product, cartItem, wishlistItem, discountedPrice, finalProductPrice, finalDiscountedPrice })}\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
    ImmagineProdottoPrezzo
    \r\n \r\n \r\n \r\n \r\n \r\n {product.sku}\r\n \r\n
    \r\n \r\n {product.name}\r\n \r\n
    \r\n \r\n removeFromWishlist(wishlistItem, addToast)\r\n }\r\n >\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n );\r\n }\r\n\r\n return (\r\n <>\r\n \r\n \r\n {strings.wishlist} | {informazioni.titleSite}\r\n \r\n \r\n\r\n\r\n \r\n {/* breadcrumb */}\r\n\r\n
    \r\n
    \r\n {wishlistItems && wishlistItems.length >= 1 ? (\r\n \r\n

    Lista dei preferiti - Articoli

    \r\n
    \r\n {getwishlist()}\r\n
    \r\n
    \r\n {getwishlistMobile()}\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 {wishlistItems.map((wishlistItem, key) => {\r\n\r\n\r\n\r\n\r\n\r\n const product = products.find(_product => _product?.id === wishlistItem?.id);\r\n if (!product) return null;\r\n\r\n const discountedPrice = !product ? 0 : getDiscountPrice(product.price, product.discount, product.pricesco);\r\n const finalProductPrice = !product ? 0 : (product.price * currency.currencyRate).toFixed(2);\r\n const finalDiscountedPrice = !product ? 0 : (discountedPrice * currency.currencyRate).toFixed(2);\r\n const cartItem = cartItems.filter(item => item.id === product.id)[0]\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 \r\n
    ImmagineProdottoPrezzo            Visualizza      Azione
    \r\n \r\n {\r\n var elms = document.querySelectorAll(\"[id='\" + \"image-prod-\" + product.id + \"']\");\r\n for (var i = 0; i < elms.length; i++) {\r\n elms[i].src = global.placeholderImage\r\n elms[i].style.objectFit = \"contain\"\r\n }\r\n \r\n }\r\n }\r\n />\r\n \r\n \r\n \r\n {product.sku}\r\n \r\n
    \r\n \r\n {product.name}\r\n \r\n
    \r\n {discountedPrice !== null ? (\r\n \r\n \r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n \r\n \r\n {currency.currencySymbol + finalDiscountedPrice}\r\n \r\n \r\n ) : (\r\n \r\n {currency.currencySymbol +\r\n finalProductPrice}\r\n \r\n )}\r\n \r\n {product.affiliateLink ? (\r\n \r\n {\" \"}\r\n Acquista Ora{\" \"}\r\n \r\n ) : product.variation &&\r\n product.variation.length >= 1 ? (\r\n setModalShow({ visible: true, product, cartItem, wishlistItem, discountedPrice, finalProductPrice, finalDiscountedPrice })}\r\n >\r\n Visualizza\r\n \r\n\r\n\r\n ) : (product.stock &&\r\n product.stock > 0) || global.aziendaID == 2 ? (\r\n \r\n addToCart(product, addToast)\r\n }\r\n className={\r\n cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n ? \"active\"\r\n : \"\"\r\n }\r\n disabled={\r\n cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n }\r\n title={\r\n wishlistItem !== undefined\r\n ? strings.added_to_cart\r\n : strings.add_to_cart\r\n }\r\n >\r\n {cartItem !== undefined &&\r\n cartItem.quantity > 0\r\n ? \"Aggiunto\"\r\n : strings.add_to_cart}\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n removeFromWishlist(wishlistItem, addToast)\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 Continua gli Acquisti\r\n \r\n
    \r\n\r\n
    \r\n \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n \r\n Continua gli Acquisti\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 Nessun Articolo nella Lista dei preferiti
    {\" \"}\r\n \r\n Aggiungi Articolo\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 {modalShow.visible && nascondiModal()}\r\n product={modalShow?.product}\r\n currency={currency}\r\n discountedprice={modalShow?.discountedPrice || 0}\r\n finalproductprice={modalShow?.finalproductprice || 0}\r\n finaldiscountedprice={modalShow?.finaldiscountedprice || 0}\r\n cartitem={modalShow?.cartitem || {}}\r\n wishlistitem={modalShow?.wishlistitem || {}}\r\n //compareitem={compareItem}\r\n addtocart={addToCart}\r\n addtowishlist={addToWishlist}\r\n addtocompare={addToCompare}\r\n addtoast={addToast}\r\n compareItem={\r\n compareItems.filter(\r\n compareItem => compareItem.id === modalShow?.product?.id\r\n )[0]\r\n }\r\n />}\r\n \r\n );\r\n};\r\n\r\nWishlist.propTypes = {\r\n addToCart: PropTypes.func,\r\n cartItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n location: PropTypes.object,\r\n removeAllFromWishlist: PropTypes.func,\r\n removeFromWishlist: PropTypes.func,\r\n wishlistItems: PropTypes.array,\r\n addToCompare: PropTypes.func,\r\n};\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n cartItems: state.cartData,\r\n wishlistItems: state.wishlistData,\r\n currency: state.currencyData,\r\n userData: state.userData,\r\n products: state.productData.products,\r\n compareItems: state.compareData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = dispatch => {\r\n return {\r\n addToCart: (item, addToast, quantityCount, selectedProductColor, selectedProductSize, selectedIDArt,) => {\r\n dispatch(addToCart(item, addToast, quantityCount, selectedProductColor, selectedProductSize, selectedIDArt));\r\n },\r\n addToWishlist: (item, addToast, quantityCount) => {\r\n dispatch(addToWishlist(item, addToast, quantityCount));\r\n },\r\n removeFromWishlist: (item, addToast, quantityCount) => {\r\n dispatch(removeFromWishlist(item, addToast, quantityCount));\r\n },\r\n removeAllFromWishlist: addToast => {\r\n dispatch(removeAllFromWishlist(addToast));\r\n },\r\n addToCompare: (item, addToast) => {\r\n dispatch(addToCompare(item, addToast));\r\n }\r\n };\r\n};\r\n\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Wishlist);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { connect } from \"react-redux\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport {\r\n getDiscountPrice,\r\n getFinalPriceVariation,\r\n} from \"../../helpers/product\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport CustomerModal from \"./modals/modalCustomer\";\r\nimport {\r\n adjustCartForCheckOut,\r\n removeAllFromCart,\r\n} from \"../../redux/actions/cartActions\";\r\nimport { fetchSendCheckout, sleep } from \"../../helpers/dbOperations\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport { Section, Title, Article, Prop, list } from \"./animationList\";\r\nimport ReactLoading from \"react-loading\";\r\nimport { Autocomplete } from \"@material-ui/lab\";\r\nimport { CircularProgress, Icon, TextField } from \"@material-ui/core\";\r\nimport { Modal } from \"react-bootstrap\";\r\nimport { LocalizationProvider } from \"@mui/x-date-pickers\";\r\nimport { AdapterDateFns } from \"@mui/x-date-pickers/AdapterDateFns\";\r\nimport { itIT } from \"@mui/x-date-pickers\";\r\nimport it from \"date-fns/locale/it\";\r\nimport { DatePicker } from \"@mui/x-date-pickers\";\r\nimport Holidays from \"date-holidays\";\r\nimport { format } from \"date-fns\";\r\nimport useToken from \"../../hook/useToken\";\r\nconst Checkout = ({\r\n location,\r\n cartItemsAll,\r\n currency,\r\n userData,\r\n removeAllFromCart,\r\n refreshCheckout,\r\n setRefreshCheckout,\r\n}) => {\r\n //console.log(sessionStorage.getItem(\"idCli\"))\r\n const [cartItems, setCartItems] = useState(cartItemsAll);\r\n const [isCaricamento, setIsCaricamento] = useState(false);\r\n const { pathname } = window.location;\r\n const [disable, setDisable] = useState(true);\r\n const originalSede = JSON.parse(\r\n sessionStorage.getItem(\"sede\") ? sessionStorage.getItem(\"sede\") : \"{}\"\r\n );\r\n const [sede, setSede] = useState(\r\n JSON.parse(\r\n sessionStorage.getItem(\"sede\") ? sessionStorage.getItem(\"sede\") : \"{}\"\r\n )\r\n );\r\n const spedizioni = JSON.parse(sessionStorage.getItem(\"spedizione\"));\r\n const pagamenti = JSON.parse(sessionStorage.getItem(\"pagamenti\"));\r\n const idCli = sessionStorage.getItem(\"idCli\");\r\n const idDetCliSed = sessionStorage.getItem(\"idDetCliSed\");\r\n const ModConsegna1 = 0; //sessionStorage.getItem(\"ModConsegna1\")\r\n const ModConsegna2 = 0; //sessionStorage.getItem(\"ModConsegna2)\r\n const TotSpeSpe1 = sessionStorage.getItem(\"totSpeTra1\");\r\n const TotSpeInc1 = sessionStorage.getItem(\"totSpeInc1\");\r\n const TotSpeSpe2 = sessionStorage.getItem(\"totSpeTra2\");\r\n const TotSpeInc2 = sessionStorage.getItem(\"totSpeInc2\");\r\n const TotSpeImb1 = sessionStorage.getItem(\"totSpeImb1\");\r\n const TotSpeImb2 = sessionStorage.getItem(\"totSpeImb2\");\r\n const cliente = JSON.parse(sessionStorage.getItem(\"cliente\"));\r\n const localita = JSON.parse(sessionStorage.getItem(\"localita\"));\r\n const [speTra, setSpeTra] = useState(\r\n parseFloat(TotSpeSpe1) + parseFloat(TotSpeSpe2)\r\n );\r\n let cartTotalPrice = 0;\r\n const personal = JSON.parse(\r\n sessionStorage.getItem(\"personalCli\")\r\n ? sessionStorage.getItem(\"personalCli\")\r\n : \"{}\"\r\n );\r\n var strings = require(\"../../translations/italian.json\");\r\n const { addToast } = useToasts();\r\n const [spe, setSpe] = useState(0);\r\n const [showDialogSpedizioni2maggio, setShowDialogSpedizioni2maggio] =\r\n useState(false);\r\n const [\r\n showDialogSpedizioniControlloCAP,\r\n setShowDialogSpedizioniControlloCAP,\r\n ] = useState(false);\r\n const [showDialogProssimoRitiro, setShowDialogProssimoRitiro] =\r\n useState(false);\r\n\r\n const history = useHistory();\r\n const [addresses, setAddresses] = useState([]);\r\n const [address, setAddress] = useState(\"\");\r\n const [dataRitiro, setDataRitiro] = useState(null);\r\n const [datesForDisable, setDatesForDisable] = useState([\r\n \"03-13-2023\",\r\n \"03-14-2023\",\r\n ]);\r\n const [datesForEnable, setDatesForEnable] = useState([\r\n \"03-13-2023\",\r\n \"03-14-2023\",\r\n ]);\r\n\r\n const hd = new Holidays(\"IT\");\r\n const [proxRitiro, setProxRitiro] = useState(null);\r\n const [error, setError] = useState(null);\r\n const [errorMessage, setErrorMessage] = useState(null);\r\n const { show, setShow } = useState(false);\r\n const [dateCaricate, setDateCaricate] = useState(false);\r\n const [pagamento, setPagamento] = useState(\r\n pagamenti?.find((pagamento) => pagamento.pagCli == 1)?.IdPag\r\n );\r\n const itemsNoSco = JSON.parse(\r\n sessionStorage.getItem(\"itemsNoSco\") != \"undefined\"\r\n ? sessionStorage.getItem(\"itemsNoSco\")\r\n : \"[]\"\r\n );\r\n var informazioni = global.informazioni;\r\n const [tot, setTot] = useState(0);\r\n const [totPortoFranco, setTotPortoFranco] = useState(0);\r\n useEffect(() => {\r\n var totale = 0;\r\n if (cartItems && cartItems.length > 0) {\r\n cartItems.forEach((single) => {\r\n var finalProductPrice = 0;\r\n if (!single?.variation || single.variation?.length == 0) {\r\n finalProductPrice = single.price?.toFixed(2);\r\n } else {\r\n const discountedPrice = getDiscountPrice(\r\n single.price,\r\n single.discount,\r\n single.pricesco\r\n );\r\n finalProductPrice = getFinalPriceVariation(\r\n single,\r\n single.selectedProductColor,\r\n single.selectedProductSize\r\n ).toFixed(2);\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n }\r\n\r\n totale += finalProductPrice * single.quantity;\r\n });\r\n setTot(totale);\r\n setTotPortoFranco(390.0 - totale);\r\n }\r\n }, [cartItems]);\r\n useEffect(() => {\r\n if (refreshCheckout) {\r\n setRefreshCheckout(false);\r\n history.push(\"/precheckout\");\r\n }\r\n }, [refreshCheckout]);\r\n useEffect(() => {\r\n //calcolaDate()\r\n\r\n cartItemsAll.sort((a, b) => {\r\n if (a.name < b.name) return -1;\r\n if (a.name > b.name) return 1;\r\n return 0;\r\n });\r\n cartItemsAll.sort((a, b) => {\r\n if (a.name === b.name) {\r\n if (parseInt(a.ord1 + a.ord2) < parseInt(b.ord1 + b.ord2)) return -1;\r\n if (parseInt(a.ord1 + a.ord2) > parseInt(b.ord1 + b.ord2)) return 1;\r\n\r\n /*if(parseInt(a.ord2) < parseInt(b.ord2)) return -1\r\n if(parseInt(a.ord2) > parseInt(b.ord2)) return 1*/\r\n }\r\n return 0;\r\n });\r\n setCartItems(\r\n cartItemsAll.map((item) => {\r\n //return { ...item, sco1: personal.S1, sco2: personal.S2 }\r\n return { ...item };\r\n })\r\n );\r\n //console.log(cartItems)\r\n var colors = [\"red\", \"yellow\"]; // Define Your colors here, can be html name of color, hex, rgb or anything what You can use in CSS\r\n var colors1 = [\"white\", \"black\"];\r\n var active = 0;\r\n setInterval(function () {\r\n if (document.getElementById(\"avviso\")) {\r\n document.getElementById(\"avviso\").style.background = colors[active];\r\n document.getElementById(\"avviso\").style.color = colors1[active];\r\n active++;\r\n if (active == colors.length) active = 0;\r\n }\r\n }, 300);\r\n }, []);\r\n const checkAddress = () => {\r\n fetch(\r\n \"https://api.geoapify.com/v1/geocode/autocomplete?text=\" +\r\n address +\r\n \"&format=json&apiKey=7add2f8fc2a04eb4992d1c2de9ff0b18\"\r\n )\r\n .then((res) => res.json())\r\n .then((result) => {\r\n setAddresses(result.results);\r\n //console.log(result)\r\n });\r\n setShow(true);\r\n };\r\n const inviaOrdine = async () => {\r\n var json = {};\r\n if (error) {\r\n setErrorMessage(\"Seleziona una data di ritiro valida\");\r\n return;\r\n }\r\n json.username = userData.user.user.username;\r\n json.password = userData.user.user.password;\r\n json.Cliente = {};\r\n json.Cliente.IdCli = idCli;\r\n json.Cliente.IDDetCliSed = idDetCliSed ? parseInt(idDetCliSed) : 0;\r\n json.Cliente.IndSed = document.getElementById(\"ind\").value;\r\n json.Cliente.Loc = sede.Loc;\r\n json.Cliente.Pro = sede.Pro;\r\n json.Cliente.CAP = sede.CAP;\r\n json.Cliente.NAZ = sede.NAZ;\r\n json.Cliente.IDLoc = sede.IdLoc ? sede.IdLoc : 0;\r\n json.Cliente.Des2 = document.getElementById(\"dessedcli\").value;\r\n json.Cliente.Num = document.getElementById(\"num\").value;\r\n json.Cliente.Mail = document.getElementById(\"mail\").value;\r\n json.Cliente.ParIva = userData.user.user.ParIva;\r\n json.Carrello = cartItems;\r\n console.log(cartItems);\r\n json.Documento = {};\r\n var rec = document.getElementById(\"dataRitiro\")\r\n ? document.getElementById(\"dataRitiro\").getBoundingClientRect()\r\n : null;\r\n if (document.getElementById(\"modGreen\")?.value == \"\") {\r\n alert(\"Selezionare un valore consentito dal menu a tendina\");\r\n return;\r\n }\r\n if (\r\n document.getElementById(\"modYellow\") ||\r\n document.getElementById(\"attendiInvio\")\r\n ) {\r\n if (\r\n document.getElementById(\"modYellow\").value == \"\" &&\r\n document.getElementById(\"attendiInvio\").value != \"0\"\r\n ) {\r\n alert(\"Selezionare un valore consentito dal menu a tendina\");\r\n return;\r\n }\r\n if (document.getElementById(\"attendiInvio\").value == \"\") {\r\n alert(\"Selezionare un valore consentito dal menu a tendina\");\r\n return;\r\n }\r\n }\r\n\r\n json.Documento.ModConsegna1 = parseInt(\r\n document.getElementById(\"modGreen\") &&\r\n document.getElementById(\"modGreen\").value != \"\"\r\n ? document.getElementById(\"modGreen\").value\r\n : 0\r\n );\r\n json.Documento.ModConsegna2 = parseInt(\r\n document.getElementById(\"modYellow\") &&\r\n document.getElementById(\"modYellow\").value != \"\"\r\n ? document.getElementById(\"modYellow\").value\r\n : 0\r\n );\r\n //json.Documento.SollecitaNonInArrivo = document.getElementById(\"sollecito\") ? document.getElementById(\"sollecito\").checked : false\r\n if (\r\n document.getElementById(\"dataRitiro\") &&\r\n document.getElementById(\"dataRitiro\").style.display == \"block\" &&\r\n !dataRitiro\r\n ) {\r\n setErrorMessage(\"Selezionare una data valida per il ritiro\");\r\n\r\n window.scrollTo(0, rec.top + window.scrollY - 200);\r\n return;\r\n }\r\n if (\r\n parseInt(\r\n document.getElementById(\"modGreen\") &&\r\n document.getElementById(\"modGreen\").value != \"\"\r\n ? document.getElementById(\"modGreen\").value\r\n : 0\r\n ) == 34\r\n ) {\r\n if (parseInt(document.getElementById(\"attendiInvio\")?.value) == 1) {\r\n if (datesForDisable.includes(format(dataRitiro, \"MM-dd-yyyy\"))) {\r\n setErrorMessage(\"Selezionare una data valida per il ritiro\");\r\n window.scrollTo(0, rec.top + window.scrollY - 200);\r\n return;\r\n } else {\r\n if (!dataRitiro) {\r\n setErrorMessage(\"Selezionare una data valida per il ritiro\");\r\n window.scrollTo(0, rec.top + window.scrollY - 200);\r\n return;\r\n }\r\n json.Documento.DataRitiro = format(\r\n dataRitiro,\r\n \"yyyy-MM-dd HH:mm:ss.SSS\"\r\n );\r\n }\r\n } else {\r\n if (getTotYellow() + getTotPre() == 0) {\r\n if (!dataRitiro) {\r\n setErrorMessage(\"Selezionare una data valida per il ritiro\");\r\n window.scrollTo(0, rec.top + window.scrollY - 200);\r\n return;\r\n }\r\n json.Documento.DataRitiro = format(\r\n dataRitiro,\r\n \"yyyy-MM-dd HH:mm:ss.SSS\"\r\n );\r\n }\r\n if (\r\n document.getElementById(\"dataRitiro\") &&\r\n document.getElementById(\"dataRitiro\").style.display == \"block\"\r\n )\r\n json.Documento.DataRitiro = format(\r\n dataRitiro,\r\n \"yyyy-MM-dd HH:mm:ss.SSS\"\r\n );\r\n }\r\n }\r\n if (\r\n document.getElementById(\"dataRitiro\") &&\r\n document.getElementById(\"dataRitiro\").style.display == \"block\"\r\n )\r\n json.Documento.DataRitiro = format(dataRitiro, \"yyyy-MM-dd HH:mm:ss.SSS\");\r\n json.Documento.AttendiInArrivo = parseInt(\r\n document.getElementById(\"attendiInvio\")\r\n ? document.getElementById(\"attendiInvio\").value\r\n : 0\r\n );\r\n json.Documento.Note1 = document.getElementById(\"messageGreen\")\r\n ? document.getElementById(\"messageGreen\").value\r\n : \"\";\r\n json.Documento.Note2 = document.getElementById(\"messageYellow\")\r\n ? document.getElementById(\"messageYellow\").value\r\n : \"\";\r\n json.Documento.Note3 = document.getElementById(\"messageRed\")\r\n ? document.getElementById(\"messageRed\").value\r\n : \"\";\r\n json.Documento.TotSpeTra1 = parseFloat(TotSpeSpe1);\r\n json.Documento.TotSpeInc1 = parseFloat(TotSpeInc1);\r\n json.Documento.TotSpeImb1 = parseFloat(TotSpeImb1);\r\n json.Documento.TotSpeTra2 = parseFloat(TotSpeSpe2);\r\n json.Documento.TotSpeInc2 = parseFloat(TotSpeInc2);\r\n json.Documento.TotSpeImb2 = parseFloat(TotSpeImb2);\r\n json.Documento.speTra = speTra;\r\n json.Documento.IDModPag = pagamento?.IdPag;\r\n if (!json.Documento.IDModPag && global.aziendaID == 2) {\r\n alert(\"Selezionare un valore consentito dal menu a tendina\");\r\n return;\r\n }\r\n\r\n if (global.aziendaID == 1)\r\n json.Documento.flgWebPos = document.getElementById(\"flgWebPos\").checked;\r\n //console.log(JSON.stringify(json))\r\n setIsCaricamento(true);\r\n var result = await fetchSendCheckout(json);\r\n //var result = {}\r\n //await sleep(1000)\r\n setIsCaricamento(false);\r\n if (result.Errore != \"\") {\r\n addToast(result.Risposta, {\r\n appearance: \"error\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n if (result.Errore.includes(\"Data\")) {\r\n setErrorMessage(result.Risposta);\r\n }\r\n } else {\r\n removeAllFromCart();\r\n setCartItems({});\r\n addToast(result.Risposta, {\r\n appearance: \"success\",\r\n autoDismiss: true,\r\n placement: \"bottom-left\",\r\n });\r\n await sleep(4000);\r\n if (global.aziendaID == 1) history.push(\"/\");\r\n if (global.aziendaID == 2) history.push(\"/shop-grid-full-width\");\r\n }\r\n sessionStorage.setItem(\"notShowInventario2022\", true);\r\n };\r\n function getTotGreen() {\r\n var tot = 0;\r\n cartItems.map((item) => {\r\n tot += item.qtyOK;\r\n });\r\n return tot;\r\n }\r\n\r\n function getTotYellow() {\r\n var tot = 0;\r\n cartItems.map((item) => {\r\n tot += item.qtyArr;\r\n });\r\n return tot;\r\n }\r\n function getTotPre() {\r\n var tot = 0;\r\n cartItems.map((item) => {\r\n tot += item.qtyPre ? item.qtyPre : 0;\r\n });\r\n return tot;\r\n }\r\n\r\n function getTotRed() {\r\n var tot = 0;\r\n cartItems.map((item) => {\r\n tot += item.qtyNO;\r\n });\r\n return tot;\r\n }\r\n\r\n function getTotPriceGreen() {\r\n var totPrice = 0;\r\n cartItems.map((item) => {\r\n totPrice +=\r\n item.qtyOK != 0\r\n ? item.qtyOK *\r\n calcolaPrezzo(\r\n item.priceNoSco,\r\n item.pricesco,\r\n item.priceIva,\r\n item.id\r\n ).toFixed(2)\r\n : 0;\r\n });\r\n return totPrice;\r\n }\r\n\r\n function getTotPriceYellow() {\r\n var totPrice = 0;\r\n cartItems.map((item) => {\r\n totPrice +=\r\n item.qtyArr != 0\r\n ? item.qtyArr *\r\n calcolaPrezzo(item.priceNoSco, item.pricesco, undefined, item.id).toFixed(2)\r\n : 0;\r\n });\r\n return totPrice;\r\n }\r\n function getTotPricePre() {\r\n var totPrice = 0;\r\n cartItems.map((item) => {\r\n totPrice +=\r\n item.qtyPre != 0\r\n ? item.qtyPre *\r\n calcolaPrezzo(item.priceNoSco, item.pricesco, undefined,item.id).toFixed(2)\r\n : 0;\r\n });\r\n return totPrice;\r\n }\r\n\r\n function getTotPriceRed() {\r\n var totPrice = 0;\r\n /*cartItems.map((item) => {\r\n totPrice += item.qtyNO != 0 ? item.qtyNO * (item.priceNoSco.toFixed(2) * (1 - personal.S1/100) * (1 - personal.S2/100)).toFixed(2) : 0\r\n })*/\r\n return totPrice;\r\n }\r\n\r\n function calcolaDate() {\r\n var endpoint = global.endpoint + \"/pegaso/getDateRitiro\";\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({\r\n \"Content-Type\": \"application/x-www-form-urlencoded\",\r\n }),\r\n body: \"{IDCli:\" + idCli + \"}\",\r\n withCredentials: false,\r\n })\r\n .then((res) => res.json())\r\n .then((result) => {\r\n //console.log(result)\r\n var d = result.DateAbilitate.map((data) => {\r\n return data.Data;\r\n });\r\n setDatesForEnable(d);\r\n setDataRitiro(null);\r\n setProxRitiro(result.ProxRit);\r\n d = result.Date.map((data) => {\r\n return data.replaceAll(\"'\", \"\");\r\n //return data.DatRit\r\n });\r\n setDatesForDisable(d);\r\n\r\n if (result.ProxRit) {\r\n var filtered = d.filter(function (value, index, arr) {\r\n var dataRitiro = format(new Date(result.ProxRit), \"MM-dd-yyyy\");\r\n var datepart = result.ProxRit.split(\"-\");\r\n\r\n return value != format(new Date(result.ProxRit), \"MM-dd-yyyy\");\r\n });\r\n setDatesForDisable(filtered);\r\n setShowDialogProssimoRitiro(true);\r\n }\r\n setDateCaricate(true);\r\n });\r\n }\r\n const ModalSpedizioni2maggio = () => {\r\n return (\r\n \r\n
    \r\n setShowDialogSpedizioni2maggio(false)}\r\n >\r\n \r\n \r\n
    \r\n \r\n {\" \"}\r\n \r\n

    Comunicazione

    \r\n

    \r\n \r\n Gentile Cliente, gli ordini effettuati con modalità{\" \"}\r\n \"Ritiro in sede\"\r\n
    \r\n saranno disponibili quando sono in stato 'Pronto'.\r\n
    Verifica lo stato del tuo ordine nella sezione{\" \"}\r\n \"I miei documenti\" - Ordini.\r\n
    \r\n Buon Lavoro.\r\n
    \r\n

    \r\n

    Lo staff DGA

    \r\n \r\n
    \r\n );\r\n };\r\n const ModalProssimoOrdineRitiro = () => {\r\n return (\r\n \r\n \r\n {\" \"}\r\n \r\n

    Comunicazione

    \r\n

    \r\n \r\n Hai già un ritiro prenotato per il giorno{\" \"}\r\n {new Date(proxRitiro).toLocaleDateString(\"it-IT\")}.\r\n \r\n
    Vuoi ritirare nella stessa giornata?
    \r\n {\r\n setDataRitiro(new Date(proxRitiro));\r\n setShowDialogProssimoRitiro(false);\r\n setShowDialogSpedizioni2maggio(true);\r\n }}\r\n >\r\n Si\r\n \r\n {\r\n setShowDialogProssimoRitiro(false);\r\n setShowDialogSpedizioni2maggio(true);\r\n }}\r\n >\r\n No\r\n \r\n

    \r\n \r\n
    \r\n );\r\n };\r\n const ModalSpedizioniControlloCAP = () => {\r\n return (\r\n \r\n
    \r\n setShowDialogSpedizioniControlloCAP(false)}\r\n >\r\n \r\n \r\n
    \r\n \r\n {\" \"}\r\n \r\n

    Comunicazione

    \r\n

    \r\n \r\n Gentile Cliente, al fine di eseguire correttamente la spedizione\r\n
    \r\n \r\n ti invitiamo a controllare i dati della stessa (CAP, Località e\r\n provincia)
    \r\n nella form a sinistra di questa pagina e modificarli cliccando\r\n il pulsante Modifica dati.\r\n
    \r\n
    \r\n Qualora riscontrassi un'anomalia e/o manca la località,\r\n contattaci.\r\n
    \r\n

    \r\n

    Lo staff DGA

    \r\n \r\n \r\n );\r\n };\r\n const numGiorniLavorativi = (date) => {\r\n var d = new Date();\r\n var dateComp = new Date(date);\r\n while (d < dateComp) {\r\n if (!hd.isHoliday(d) && d.getDay() != 0 && d.getDay() != 6) return false;\r\n d.setDate(d.getDate() + 1);\r\n }\r\n return true;\r\n };\r\n const isDisabled = (date) => {\r\n //console.log(\"date disabilitate\" + datesForDisable)\r\n var disabled =\r\n date.getDay() == 0 ||\r\n date.getDay() == 6 ||\r\n datesForDisable?.find((d) => {\r\n var datepart = d.split(\"-\");\r\n //console.log(new Date(datepart[2] + \"-\" + datepart[0] + \"-\" + datepart[1] + \" 00:00:00\"))\r\n return (\r\n new Date(\r\n datepart[2] + \"-\" + datepart[0] + \"-\" + datepart[1] + \" 00:00:00\"\r\n ).getTime() == date.getTime()\r\n );\r\n }) ||\r\n hd.isHoliday(date) ||\r\n date.toDateString() === new Date().toDateString() ||\r\n numGiorniLavorativi(date);\r\n\r\n if (\r\n datesForEnable?.find((d) => {\r\n var datepart = d.split(\"-\");\r\n return (\r\n new Date(\r\n datepart[2] + \"-\" + datepart[0] + \"-\" + datepart[1] + \" 00:00:00\"\r\n ).getTime() == date.getTime()\r\n );\r\n }) &&\r\n disabled\r\n ) {\r\n return false;\r\n } else {\r\n return disabled;\r\n }\r\n };\r\n const calcolaPrezzo = (prezzoNoSco, prezzoSco, priceIva, id) => {\r\n console.log(priceIva);\r\n if (priceIva) return priceIva;\r\n var itemSenzaSconto = itemsNoSco.find((itemS) => itemS.IDArtBas === id);\r\n if (itemSenzaSconto) {\r\n return prezzoNoSco;\r\n }\r\n var pre = prezzoNoSco * (1 - personal.S1 / 100) * (1 - personal.S2 / 100);\r\n if (pre > prezzoSco) return prezzoSco;\r\n else return pre;\r\n };\r\n return (\r\n \r\n \r\n \r\n {strings.checkout} | {informazioni.titleSite}\r\n \r\n \r\n \r\n\r\n Home\r\n \r\n Checkout\r\n \r\n \r\n {/* breadcrumb */}\r\n {/**/}\r\n {/**/}\r\n {/**/}\r\n \r\n
    \r\n
    \r\n {cartItems && cartItems.length >= 1 ? (\r\n
    \r\n
    \r\n
    \r\n

    Dettagli di Fatturazione

    \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 checkAddress()}\r\n />\r\n checkAddress()}\r\n //onChange={(event, value) => setSede(value)}\r\n getOptionLabel={(option) => option.address_line1}\r\n renderOption={(option) => (\r\n \r\n {option.address_line1}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n setSede(value)}\r\n getOptionLabel={(option) =>\r\n option.Loc + \" (\" + option.CAP + \")\"\r\n }\r\n renderOption={(option) => (\r\n \r\n {option.Loc + \" (\" + option.CAP + \")\"}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n setSede(value)}\r\n getOptionLabel={(option) => option.Pro}\r\n renderOption={(option) => (\r\n {option.Pro}\r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n setSede(value)}\r\n getOptionLabel={(option) => option.CAP}\r\n renderOption={(option) => (\r\n {option.CAP}\r\n )}\r\n renderInput={(params) => (\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 setDisable(false);\r\n\r\n var elementi =\r\n document.getElementsByClassName(\"data\");\r\n Array.from(elementi).forEach(\r\n (input) => (input.disabled = false)\r\n );\r\n document.getElementById(\"reset\").style.display =\r\n \"block\";\r\n document.getElementById(\"edit\").style.display =\r\n \"none\";\r\n }}\r\n >\r\n Modifica dati\r\n \r\n
    \r\n
    \r\n \r\n
    \r\n {\r\n setDisable(true);\r\n var elementi =\r\n document.getElementsByClassName(\"data\");\r\n elementi.forEach((input) => (input.disabled = true));\r\n document.getElementById(\"Nom\").value = cliente.Nom\r\n ? cliente.Nom\r\n : \"\";\r\n document.getElementById(\"Cog\").value = cliente.Cog\r\n ? cliente.Cog\r\n : \"\";\r\n /*document.getElementById(\"dessedcli\").value = sede.dessedcli ? sede.dessedcli : \"IDEM\"\r\n document.getElementById(\"ind\").value = sede.IndSed ? sede.IndSed : \"\"\r\n document.getElementById(\"loc\").value = sede.Loc ? sede.Loc : \"\"\r\n document.getElementById(\"pro\").value = sede.Pro ? sede.Pro : \"\"\r\n document.getElementById(\"cap\").value = sede.CAP ? sede.CAP : \"\"*/\r\n setSede(originalSede);\r\n document.getElementById(\"num\").value = cliente.Tel\r\n ? cliente.Tel\r\n : userData.user.user.Cel;\r\n document.getElementById(\"mail\").value = cliente.Email\r\n ? cliente.Email\r\n : userData.user.user.EMail;\r\n document.getElementById(\"reset\").style.display =\r\n \"none\";\r\n document.getElementById(\"edit\").style.display =\r\n \"block\";\r\n }}\r\n >\r\n Resetta dati\r\n \r\n
    \r\n
    \r\n
    \r\n\r\n
    \r\n
    \r\n

    Il Tuo Ordine

    \r\n \r\n
    \r\n
    \r\n {totPortoFranco > 0 ? (\r\n 0\r\n ? \"block\"\r\n : \"none\",\r\n }}\r\n >\r\n Aggiungi altri {(390.0 - tot).toFixed(2)} € per la\r\n spedizione gratuita\r\n

    \r\n ) : (\r\n 0\r\n ? \"block\"\r\n : \"none\",\r\n }}\r\n >\r\n Complimenti! Hai la spedizione gratuita per questo\r\n ordine!\r\n

    \r\n )}\r\n {/*\r\n \r\n \r\n \r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n )\r\n }) \r\n }\r\n
    ProdottoDisp.Totale
    {cartItem.name}\r\n
    \r\n \r\n \r\n \r\n \r\n
    🟢{cartItem.qtyOK}
    🟡{cartItem.qtyArr}
    🔴{cartItem.qtyNO}
    \r\n
    \r\n
    {\"€ \"+cartItem.pricesco.toFixed(2)}
    */}\r\n {getTotGreen() > 0 && (\r\n \r\n \r\n \r\n \r\n Art. disponibili\r\n \r\n \r\n Disp.\r\n \r\n \r\n Prezzo{\" \"}\r\n {global.aziendaID == 2 ? (\r\n \r\n (i.i.)\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n Totale{\" \"}\r\n {global.aziendaID == 2 ? (\r\n \r\n (i.i.)\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n var popup =\r\n cartItem.pricesco != cartItem.priceNoSco\r\n ? cartItem.priceNoSco + \" - \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco1 != 0\r\n ? cartItem.sco1 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco2 != 0\r\n ? cartItem.sco2 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco3 != 0\r\n ? cartItem.sco3 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco4 != 0 ? cartItem.sco4 : \"%\";\r\n popup = popup.substring(0, popup.length - 1);\r\n if (cartItem.tipoSconto == 1)\r\n popup = cartItem.priceNoSco; //se prezzo fisso\r\n return (\r\n cartItem.qtyOK != 0 && (\r\n \r\n \r\n \r\n {cartItem.qtyOK}\r\n \r\n \r\n {\"€ \" +\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n cartItem.priceIva,\r\n cartItem.id\r\n ).toFixed(2)}\r\n \r\n \r\n {\"€ \" +\r\n (\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n cartItem.priceIva,\r\n cartItem.id\r\n ).toFixed(2) * cartItem.qtyOK\r\n ).toFixed(2)}\r\n \r\n \r\n )\r\n );\r\n })}\r\n \r\n \r\n \r\n {getTotGreen()}\r\n \r\n \r\n \r\n {\"€ \" + getTotPriceGreen().toFixed(2)}\r\n \r\n \r\n {/*\r\n \r\n \r\n \r\n \r\n */}\r\n
    \r\n {cartItem.name}\r\n
    \r\n 0\r\n ? \"block\"\r\n : \"none\",\r\n }}\r\n >\r\n {cartItem.selectedProductColor} /{\" \"}\r\n {cartItem.selectedProductSize}\r\n \r\n
    \r\n TOTALE{\" \"}\r\n {global.aziendaID == 2 ? (\r\n (i.i.)\r\n ) : (\r\n \"\"\r\n )}\r\n
    Spedizione{\"€ \" + parseFloat(sessionStorage.getItem(\"totSpeTra1\")).toFixed(2)}
    \r\n {global.aziendaID == 1 ? (\r\n \r\n
      \r\n \r\n Costi di Spedizione\r\n \r\n \r\n Italia: 1° collo € 12,90 + 2 ° collo € 6,00{\" \"}\r\n
      + € 4,00 i successivi + € 2.00 spese\r\n contrassegno\r\n {/*
      \r\n Campania: 1° collo € 8,00 + € 2,00 successivi*/}\r\n \r\n
    \r\n
      \r\n \r\n Costi di Spedizione BRT\r\n \r\n \r\n Italia: 1° collo € 12.00 + 2° collo € 6.00{\" \"}\r\n
      € 4,00 successivi\r\n \r\n
    \r\n
    \r\n ) : null}\r\n\r\n \r\n \r\n {\r\n document.getElementById(\r\n \"dataRitiro\"\r\n ).style.display = \"none\";\r\n if (\r\n e.target.value == 31 ||\r\n e.target.value == 33\r\n )\r\n document.getElementById(\r\n \"detSpeGre\"\r\n ).style.display = \"block\";\r\n else\r\n document.getElementById(\r\n \"detSpeGre\"\r\n ).style.display = \"none\";\r\n if (e.target.value == 34) {\r\n //setShowDialogSpedizioni2maggio(true)\r\n document.getElementById(\r\n \"dataRitiro\"\r\n ).style.display = \"block\";\r\n setDateCaricate(false);\r\n calcolaDate();\r\n }\r\n //if (e.target.value != 34) setShowDialogSpedizioniControlloCAP(true)\r\n }}\r\n >\r\n \r\n {spedizioni.map((item) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n Attenzione! Si consiglia di selezionare questa\r\n modalità SOLO se ha un contratto con il\r\n corriere.\r\n \r\n

    \r\n\r\n \r\n \r\n setError(newError)}\r\n onBeforeInput={(e) => {\r\n e.preventDefault();\r\n }}\r\n label=\"Data ritiro\"\r\n fullWidth\r\n value={dataRitiro}\r\n onChange={(value) => setDataRitiro(value)}\r\n format={\"dd/MM/yyyy\"}\r\n disablePast\r\n disableHighlightToday\r\n shouldDisableDate={(date) =>\r\n isDisabled(date)\r\n }\r\n slotProps={{\r\n layout: {\r\n sx: {\r\n \".Mui-disabled\": {\r\n backgroundColor: \"red\",\r\n color: \"white !important\",\r\n borderRadius: \"50%\",\r\n },\r\n \".css-1vlm3gk-MuiFormControl-root-MuiTextField-root\":\r\n {\r\n width: \"100%\",\r\n },\r\n },\r\n },\r\n }}\r\n sx={{\r\n \".MuiTextField-root\": {\r\n width: \"100%\",\r\n },\r\n }}\r\n renderInput={(params) => (\r\n e.preventDefault()}\r\n //placeholder = \"gg/mm/aaaa\"\r\n />\r\n )}\r\n variant=\"outlined\"\r\n id=\"dataRitiro\"\r\n //placeholder = \"gg/mm/aaaa\"\r\n />\r\n \r\n {!dateCaricate && }\r\n {errorMessage && (\r\n

    {errorMessage}

    \r\n )}\r\n
    \r\n {global.aziendaID == 2 && (\r\n \r\n \r\n Modalità di pagamento\r\n \r\n pagamento.pagCli == 1\r\n )}\r\n autoHighlight\r\n onChange={(event, value) => {\r\n setPagamento(value);\r\n }}\r\n getOptionLabel={(option) => option.DesPag}\r\n style={{\r\n border: \"none\",\r\n marginTop: \"10px\",\r\n width: \"70%\",\r\n }}\r\n sx={{\r\n border: \"1px solid green\",\r\n borderRadius: 1,\r\n }}\r\n renderOption={(option) => (\r\n \r\n {option.DesPag}\r\n \r\n )}\r\n renderInput={(params) => (\r\n \r\n )}\r\n />\r\n
    \r\n )}\r\n
    \r\n \r\n \r\n
    \r\n \r\n )}\r\n {(getTotYellow() > 0 || getTotPre() > 0) && (\r\n \r\n {getTotYellow() > 0 && (\r\n \r\n \r\n \r\n Art. in arrivo\r\n \r\n \r\n In arr.\r\n \r\n \r\n Prezzo\r\n \r\n \r\n Totale\r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n var popup =\r\n cartItem.pricesco != cartItem.priceNoSco\r\n ? cartItem.priceNoSco + \" - \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco1 != 0\r\n ? cartItem.sco1 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco2 != 0\r\n ? cartItem.sco2 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco3 != 0\r\n ? cartItem.sco3 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco4 != 0 ? cartItem.sco4 : \"%\";\r\n popup = popup.substring(0, popup.length - 1);\r\n if (cartItem.tipoSconto == 1)\r\n popup = cartItem.priceNoSco; //se prezzo fisso\r\n return (\r\n cartItem.qtyArr != 0 && (\r\n \r\n \r\n {cartItem.name}\r\n
    \r\n \r\n {cartItem.selectedProductColor} /{\" \"}\r\n {cartItem.selectedProductSize}\r\n \r\n \r\n \r\n {cartItem.qtyArr}\r\n \r\n \r\n {\"€ \" +\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n undefined,\r\n cartItem.id\r\n ).toFixed(2)}\r\n \r\n \r\n {\"€ \" +\r\n (\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n undefined,\r\n cartItem.id\r\n ).toFixed(2) * cartItem.qtyArr\r\n ).toFixed(2)}\r\n \r\n \r\n )\r\n );\r\n })}\r\n \r\n
    \r\n \r\n {getTotYellow()}\r\n \r\n \r\n \r\n {\"€ \" + getTotPriceYellow().toFixed(2)}\r\n \r\n \r\n {/*\r\n \r\n \r\n \r\n \r\n */}\r\n
    TOTALE
    Spedizione{\"€ \" + parseFloat(sessionStorage.getItem(\"totSpeTra2\")).toFixed(2)}
    \r\n )}\r\n {getTotPre() > 0 && (\r\n \r\n \r\n \r\n \r\n Art. da prenotare\r\n \r\n \r\n Pren.\r\n \r\n \r\n Prezzo\r\n \r\n \r\n Totale\r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n var popup =\r\n cartItem.pricesco != cartItem.priceNoSco\r\n ? cartItem.priceNoSco + \" - \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco1 != 0\r\n ? cartItem.sco1 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco2 != 0\r\n ? cartItem.sco2 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco3 != 0\r\n ? cartItem.sco3 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco4 != 0 ? cartItem.sco4 : \"%\";\r\n popup = popup.substring(\r\n 0,\r\n popup.length - 1\r\n );\r\n if (cartItem.tipoSconto == 1)\r\n popup = cartItem.priceNoSco; //se prezzo fisso\r\n return (\r\n cartItem.qtyPre != 0 && (\r\n \r\n \r\n \r\n {cartItem.qtyPre}\r\n \r\n \r\n {\"€ \" +\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n undefined,\r\n cartItem.id\r\n ).toFixed(2)}\r\n \r\n \r\n {\"€ \" +\r\n (\r\n calcolaPrezzo(\r\n cartItem.priceNoSco,\r\n cartItem.pricesco,\r\n undefined,\r\n cartItem.id\r\n ).toFixed(2) * cartItem.qtyPre\r\n ).toFixed(2)}\r\n \r\n \r\n )\r\n );\r\n })}\r\n \r\n \r\n \r\n {getTotPre()}\r\n \r\n \r\n \r\n {\"€ \" + getTotPricePre().toFixed(2)}\r\n \r\n \r\n {/*\r\n \r\n \r\n \r\n \r\n */}\r\n
    \r\n {cartItem.name}\r\n
    \r\n \r\n {cartItem.selectedProductColor} /{\" \"}\r\n {cartItem.selectedProductSize}\r\n \r\n
    \r\n TOTALE\r\n
    Spedizione{\"€ \" + parseFloat(sessionStorage.getItem(\"totSpeTra2\")).toFixed(2)}
    \r\n {/*
    \r\n \r\n {getTotGreen() > 0 && \r\n {getTotGreen() <= 0 && }\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 Costi di Spedizione\r\n \r\n \r\n Italia: 1° collo € 12,90 + 2 ° collo € 6,00{\" \"}\r\n
      + € 4,00 i successivi + € 2.00 spese\r\n contrassegno\r\n {/*
      \r\n Campania: 1° collo € 8,00 + € 2,00 successivi*/}\r\n \r\n
    \r\n
      \r\n \r\n Costi di Spedizione BRT\r\n \r\n \r\n Italia: 1° collo € 12.00 + 2° collo € 6.00{\" \"}\r\n
      € 4,00 successivi\r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n ATTENZIONE! STAI METTENDO IN PRENOTAZIONE\r\n MERCE ATTUALMENTE NON DISPONIBILE IN\r\n MAGAZZINO.\r\n \r\n

    \r\n \r\n Voglio ricevere\r\n \r\n {getTotGreen() > 0 && (\r\n {\r\n if (e.currentTarget.value == \"0\") {\r\n document.getElementById(\r\n \"yellowContainer\"\r\n ).style.display = \"none\";\r\n setSpeTra(\r\n parseFloat(TotSpeSpe1) +\r\n parseFloat(TotSpeSpe2)\r\n );\r\n document.getElementById(\r\n \"dataRitiro\"\r\n ).style.display = \"none\";\r\n }\r\n if (\r\n e.currentTarget.value == \"0\" ||\r\n e.currentTarget.value == \"2\"\r\n ) {\r\n //document.getElementById(\"speTraYellow\").style.display=\"none\"\r\n setSpeTra(parseFloat(TotSpeSpe1));\r\n } else {\r\n document.getElementById(\r\n \"yellowContainer\"\r\n ).style.display = \"block\";\r\n //document.getElementById(\"speTraYellow\").style.display=\"table-row\"\r\n setSpeTra(\r\n parseFloat(TotSpeSpe1) +\r\n parseFloat(TotSpeSpe2)\r\n );\r\n }\r\n if (e.currentTarget.value == \"0\")\r\n document.getElementById(\r\n \"dataRitiro\"\r\n ).style.display = \"none\";\r\n else if (\r\n parseInt(\r\n document.getElementById(\"modGreen\") &&\r\n document.getElementById(\"modGreen\")\r\n .value != \"\"\r\n ? document.getElementById(\"modGreen\")\r\n .value\r\n : 0\r\n ) == 34\r\n )\r\n document.getElementById(\r\n \"dataRitiro\"\r\n ).style.display = \"block\";\r\n }}\r\n >\r\n \r\n {\" \"}\r\n {/*sdoppiamento ordini 15/12/2021*/}\r\n \r\n \r\n \r\n )}\r\n
    \r\n {getTotGreen() <= 0 && (\r\n {\r\n if (e.currentTarget.value == \"1\") {\r\n //document.getElementById(\"speTraYellow\").style.display=\"table-row\"\r\n setSpeTra(parseFloat(TotSpeSpe2));\r\n }\r\n if (e.currentTarget.value == \"2\") {\r\n //document.getElementById(\"speTraYellow\").style.display=\"none\"\r\n setSpeTra(parseFloat(0));\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 if (\r\n e.target.value == 31 ||\r\n e.target.value == 33\r\n )\r\n document.getElementById(\r\n \"detSpeYel\"\r\n ).style.display = \"block\";\r\n else\r\n document.getElementById(\r\n \"detSpeYel\"\r\n ).style.display = \"none\";\r\n }}\r\n >\r\n \r\n {spedizioni.map((item) => (\r\n \r\n ))}\r\n \r\n\r\n \r\n \r\n Attenzione! Si consiglia di selezionare questa\r\n modalità SOLO se ha un contratto con il\r\n corriere.\r\n \r\n

    \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {getTotRed() > 0 && (\r\n \r\n \r\n \r\n \r\n \r\n Non disp.\r\n \r\n \r\n Prezzo\r\n \r\n \r\n Totale\r\n \r\n \r\n {cartItems.map((cartItem, key) => {\r\n var popup =\r\n cartItem.pricesco != cartItem.priceNoSco\r\n ? cartItem.priceNoSco + \" - \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco1 != 0\r\n ? cartItem.sco1 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco2 != 0\r\n ? cartItem.sco2 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco3 != 0\r\n ? cartItem.sco3 + \"% \"\r\n : \"\";\r\n popup +=\r\n cartItem.sco4 != 0 ? cartItem.sco4 : \"%\";\r\n popup = popup.substring(0, popup.length - 1);\r\n if (cartItem.tipoSconto == 1)\r\n popup = cartItem.priceNoSco; //se prezzo fisso\r\n return (\r\n cartItem.qtyNO != 0 && (\r\n \r\n \r\n \r\n {cartItem.qtyNO}\r\n \r\n \r\n {\"€ \" +\r\n (\r\n cartItem.priceNoSco *\r\n (1 - personal.S1 / 100) *\r\n (1 - personal.S2 / 100)\r\n ).toFixed(2)}\r\n \r\n \r\n {\"€ \" +\r\n (\r\n (\r\n cartItem.priceNoSco *\r\n (1 - personal.S1 / 100) *\r\n (1 - personal.S2 / 100)\r\n ).toFixed(2) * cartItem.qtyNO\r\n ).toFixed(2)}\r\n \r\n \r\n )\r\n );\r\n })}\r\n \r\n \r\n \r\n {getTotRed()}\r\n \r\n \r\n \r\n {\"€ \" + getTotPriceRed().toFixed(2)}\r\n \r\n \r\n
    Articoli non disponibili
    \r\n {cartItem.name}\r\n
    \r\n \r\n {cartItem.selectedProductColor} /{\" \"}\r\n {cartItem.selectedProductSize}\r\n \r\n
    TOTALE
    \r\n
    \r\n {\r\n if (e.currentTarget.checked) {\r\n document.getElementById(\r\n \"messageRed\"\r\n ).style.display = \"inherit\";\r\n } else {\r\n document.getElementById(\r\n \"messageRed\"\r\n ).style.display = \"none\";\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
    • Prodotto
    • \r\n
    • Disponibilità
    • \r\n
    • Totale
    • \r\n
    \r\n
    \r\n
    \r\n
      \r\n {cartItems.map((cartItem, key) => {\r\n const discountedPrice = getDiscountPrice(\r\n cartItem.price,\r\n cartItem.discount\r\n );\r\n const finalProductPrice = cartItem.price ? (\r\n cartItem.price * currency.currencyRate\r\n ).toFixed(2) : 0;\r\n const finalDiscountedPrice = (\r\n discountedPrice * currency.currencyRate\r\n ).toFixed(2);\r\n\r\n discountedPrice != null\r\n ? (cartTotalPrice +=\r\n finalDiscountedPrice * cartItem.quantity)\r\n : (cartTotalPrice +=\r\n finalProductPrice * cartItem.quantity);\r\n return (\r\n
    • \r\n \r\n {cartItem.name} X {cartItem.quantity}\r\n {\" \"}\r\n \r\n {discountedPrice !== null\r\n ? currency.currencySymbol +\r\n (\r\n finalDiscountedPrice *\r\n cartItem.quantity\r\n ).toFixed(2)\r\n : currency.currencySymbol +\r\n (\r\n finalProductPrice * cartItem.quantity\r\n ).toFixed(2)}\r\n \r\n
    • \r\n );\r\n })}\r\n
    \r\n
    */}\r\n {/*parseInt(document.getElementById(\"modGreen\") && document.getElementById(\"modGreen\").value != '' ? document.getElementById(\"modGreen\").value : 0) == 32 &&
    \r\n
      \r\n
    • Costi di Spedizione
    • \r\n
    • Italia: 1° collo € 10,00 + € 5,00 successivi\r\n
      \r\n Campania: 1° collo € 6,50 + € 1,50 successivi
    • \r\n
    \r\n
    */}\r\n {/*parseInt(document.getElementById(\"modGreen\") && document.getElementById(\"modGreen\").value != '' ? document.getElementById(\"modGreen\").value : 0) == 30 &&
    \r\n
      \r\n
    • Costi di Spedizione
    • \r\n
    • Italia: 1° collo € 10,00 + € 7,00 successivi
    • \r\n
    \r\n
    */}\r\n {global.aziendaID == 1 ? (\r\n
    \r\n \r\n  Paga con{\" \"}\r\n \r\n \r\n
    \r\n ) : null}\r\n \r\n
      \r\n
    • Totale Carrello
    • \r\n
    • \r\n {\"€ \" +\r\n (\r\n getTotPriceGreen() +\r\n getTotPriceYellow() +\r\n getTotPriceRed() +\r\n getTotPricePre()\r\n ).toFixed(2)}\r\n
      \r\n {(userData.user.user.ParIva ||\r\n userData.user.user.ParIva != \"\" ||\r\n userData.user.user.ParIva != null) &&\r\n global.aziendaID == 1 ? (\r\n \r\n Iva esclusa\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
    • \r\n
    \r\n \r\n \r\n
    \r\n \r\n
    \r\n {!isCaricamento && (\r\n inviaOrdine()}\r\n >\r\n Invia l'Ordine\r\n \r\n )}\r\n {isCaricamento && (\r\n
    \r\n \r\n
    \r\n )}\r\n {errorMessage && (\r\n

    {errorMessage}

    \r\n )}\r\n
    \r\n \r\n \r\n \r\n ) : (\r\n show && (\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n Ordine inviato correttamente
    {\" \"}\r\n \r\n Acquista ora\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\nCheckout.propTypes = {\r\n cartItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n location: PropTypes.object,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n cartItemsAll: state.cartData,\r\n currency: state.currencyData,\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n adjustCartForCheckOut: (item) => {\r\n dispatch(adjustCartForCheckOut(item));\r\n },\r\n removeAllFromCart: (addToast) => {\r\n dispatch(removeAllFromCart(addToast));\r\n },\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(Checkout);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport { generatePath, Link, useHistory } from \"react-router-dom\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { connect } from \"react-redux\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport { getDiscountPrice } from \"../../helpers/product\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport CustomerModal from \"./modals/modalCustomer\";\r\nimport { adjustCartForCheckOut } from \"../../redux/actions/cartActions\";\r\nimport { CircularProgress } from \"@material-ui/core\";\r\nimport { fetchAnagrafica, fetchSendCartData } from \"../../helpers/dbOperations\";\r\n\r\nconst PreCheckout = ({\r\n location,\r\n cartItems,\r\n currency,\r\n userData,\r\n adjustCartForCheckOut,\r\n}) => {\r\n const { pathname } = location;\r\n let cartTotalPrice = 0;\r\n var strings = require(\"../../translations/italian.json\");\r\n const [showModalCustomer, setShowModalCustomer] = useState(false);\r\n const [showModalSedi, setShowModalSedi] = useState(false);\r\n const [customerArray, setCustomerArray] = useState([]);\r\n const [modalTitle, setModalTitle] = useState(\"\");\r\n const [onClick, setOnClick] = useState(0);\r\n const [IdDetCliSed, setIdDetCliSed] = useState(0);\r\n const [idCli, setIdCli] = useState(0);\r\n const [clienti, setClienti] = useState([]);\r\n const [sedi, setSedi] = useState([]);\r\n const [inCaricamentoCheckOut, setinCaricamentoCheckOut] = useState(false);\r\n const [goToCheckOut, setGoToCheckout] = useState(false);\r\n const history = useHistory();\r\n useEffect(() => {\r\n caricaAnagrafica();\r\n }, []);\r\n var informazioni = global.informazioni;\r\n\r\n const caricaAnagrafica = async () => {\r\n //console.log(\"carica anagrafica\")\r\n var username = userData.user.user.username;\r\n var password = userData.user.user.password;\r\n var indexAnagraficaScelta = 0;\r\n var indexSede = 0;\r\n var risultatoAnagrafica = {};\r\n risultatoAnagrafica = await fetchAnagrafica({ username, password });\r\n var risultatoSede;\r\n if (!risultatoAnagrafica || !risultatoAnagrafica.Anagrafica)\r\n return risultatoAnagrafica;\r\n\r\n if (risultatoAnagrafica.Anagrafica.length > 1) {\r\n indexAnagraficaScelta = SegliAnagrafica(risultatoAnagrafica);\r\n } else {\r\n setIdCli(risultatoAnagrafica.Anagrafica[0].IdCli);\r\n setCustomerArray(risultatoAnagrafica.Anagrafica);\r\n }\r\n return risultatoAnagrafica;\r\n };\r\n const SegliAnagrafica = (risultatoAnagrafica) => {\r\n setModalTitle(\"Scegli il cliente\");\r\n risultatoAnagrafica.Anagrafica.map((item) => {\r\n item.value = item.RagSoc;\r\n item.id = item.IdCli;\r\n return item;\r\n });\r\n setCustomerArray(risultatoAnagrafica.Anagrafica);\r\n setOnClick(1);\r\n setShowModalCustomer(true);\r\n };\r\n\r\n const ScegliSede = (cliente) => {\r\n setModalTitle(\"Scegli la destinazione\");\r\n var sediLocal = cliente == undefined && cliente.Sedi ? [] : cliente.Sedi;\r\n if (sediLocal && sediLocal.length > 0) {\r\n if (sediLocal.length > 1) {\r\n setSedi(\r\n sediLocal.map((item) => {\r\n item.value =\r\n item.dessedcli != undefined ? \"[\" + item.dessedcli + \"] \" : \"\";\r\n item.value +=\r\n item.IndSed +\r\n \", \" +\r\n item.CAP +\r\n \" \" +\r\n item.Loc +\r\n \" (\" +\r\n item.Pro +\r\n \") - \" +\r\n item.NAZ;\r\n item.id = item.IdDetCliSed;\r\n return item;\r\n })\r\n );\r\n setOnClick(2);\r\n //console.log(onClick)\r\n setShowModalSedi(true);\r\n } else {\r\n setIdDetCliSed(sediLocal[0].IdDetCliSed);\r\n }\r\n } else {\r\n if (IdDetCliSed == 0) setIdDetCliSed(-1);\r\n if (IdDetCliSed == -1) setIdDetCliSed(0);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (idCli != 0) setGoToCheckout(true);\r\n setShowModalCustomer(false);\r\n if (customerArray.length == 0 || idCli == 0) return;\r\n var cliente = customerArray.filter((c) => c.IdCli === idCli)[0];\r\n //console.log(cliente)\r\n sessionStorage.setItem(\"cliente\", JSON.stringify(cliente));\r\n setSedi(cliente ? cliente.Sedi : []);\r\n ScegliSede(cliente);\r\n }, [idCli, customerArray]);\r\n\r\n useEffect(() => {\r\n //console.log(IdDetCliSed)\r\n setShowModalCustomer(false);\r\n AggiustaCarrello();\r\n setinCaricamentoCheckOut(false);\r\n }, [IdDetCliSed]);\r\n\r\n const AggiustaCarrello = async () => {\r\n var risultatoCarrello = {};\r\n var username = userData.user.user.username;\r\n var password = userData.user.user.password;\r\n var item = {};\r\n var pcartData = [];\r\n\r\n cartItems.map((cartItem, key) => {\r\n item = {};\r\n item.qty = cartItem.quantity;\r\n item.idArt = cartItem.selectedIDArt;\r\n item.catalogo = cartItem.catalogo;\r\n item.id = cartItem.id;\r\n pcartData[key] = item;\r\n });\r\n ////console.log(pcartData)\r\n var localIdCli = idCli;\r\n risultatoCarrello = await fetchSendCartData({\r\n username,\r\n password,\r\n pcartData,\r\n idCli,\r\n });\r\n\r\n if (risultatoCarrello.item == undefined) return;\r\n //console.log(risultatoCarrello);\r\n sessionStorage.setItem(\r\n \"condizioni\",\r\n JSON.stringify(risultatoCarrello.condizioni)\r\n );\r\n const condizioni = JSON.parse(\r\n sessionStorage.getItem(\"condizioni\") != \"undefined\"\r\n ? sessionStorage.getItem(\"condizioni\")\r\n : \"[]\"\r\n );\r\n const itemsNoSco = JSON.parse(\r\n sessionStorage.getItem(\"itemsNoSco\") != \"undefined\"\r\n ? sessionStorage.getItem(\"itemsNoSco\")\r\n : \"[]\"\r\n );\r\n const personal = risultatoCarrello?.personal;\r\n //console.log(personal)\r\n risultatoCarrello.item.map((item, key) => {\r\n const cond = condizioni.find((cond) => cond.IDArt == item.idArt);\r\n\r\n var itemC = cartItems.filter(\r\n (itemCs) => itemCs.selectedIDArt === item.idArt\r\n )[0];\r\n //console.log(\"Aggiornato \" + itemC.quantity)\r\n\r\n itemC.qtyOK = item.qtyOK;\r\n itemC.qtyArr = item.qtyArr;\r\n itemC.qtyNO = item.qtyNO;\r\n itemC.qtyPre = item.qtyPre;\r\n //itemC.price = item.price;\r\n itemC.sco1 = item.sco1;\r\n itemC.sco2 = item.sco2;\r\n itemC.sco3 = item.sco3;\r\n itemC.sco4 = item.sco4;\r\n itemC.priceIva = item.priceIva;\r\n console.log(item.priceIva);\r\n var priceSco = item.pricesco; //prezzo già scontato con listino personale\r\n\r\n var itemSenzaSconto = itemsNoSco.find(\r\n (itemS) => itemS.IDArtBas === itemC.id\r\n );\r\n var priceScoPre = itemSenzaSconto\r\n ? item.priceNoSco\r\n : item.priceNoSco *\r\n (cond?.Sco > personal.S1\r\n ? 1 - cond?.Sco / 100.0\r\n : 1 - personal.S1 / 100.0);\r\n var priceScoLis = itemSenzaSconto\r\n ? item.priceNoSco\r\n : item.priceNoSco * (1 - item.sco1 / 100.0) * (1 - item.sco2 / 100.0);\r\n if (!itemSenzaSconto) {\r\n if (priceSco > cond?.Pre && cond?.Pre > 0) {\r\n priceSco = cond?.Pre;\r\n itemC.tipoSconto = 1; //prezzo fisso\r\n }\r\n if (priceSco >= priceScoPre) {\r\n itemC.sco1 = cond?.Sco > personal.S1 ? cond?.Sco : personal.S1;\r\n priceSco = priceScoPre;\r\n itemC.tipoSconto = 2; //sconto in percetuale\r\n }\r\n if (priceSco >= priceScoLis) {\r\n itemC.sco1 = item.sco1;\r\n priceSco = priceScoLis;\r\n itemC.tipoSconto = 2; //sconto in percetuale\r\n }\r\n if (priceSco != item.priceNoSco && !itemC.tipoSconto) {\r\n if (personal.S1 > 0) {\r\n itemC.sco1 = personal.S1;\r\n itemC.tipoSconto = 2; //sconto in percetuale\r\n } else {\r\n itemC.tipoSconto = 1; //prezzo fisso\r\n }\r\n }\r\n }\r\n\r\n itemC.pricesco = priceSco;\r\n itemC.priceNoSco = item.priceNoSco;\r\n adjustCartForCheckOut(itemC);\r\n //console.log(\"Aggiornato \" +itemC.quantity)\r\n });\r\n sessionStorage.removeItem(\"condizioni\");\r\n //console.log(\"risultato carrello \"+JSON.stringify(risultatoCarrello));\r\n sessionStorage.setItem(\"idCli\", idCli);\r\n sessionStorage.setItem(\"idDetCliSed\", IdDetCliSed);\r\n var cliente = customerArray.filter((cliente) => cliente.IdCli == idCli)[0];\r\n var sede = cliente\r\n ? cliente.Sedi.filter((sede) => sede.IdDetCliSed == IdDetCliSed)[0]\r\n : undefined;\r\n if (sede)\r\n sessionStorage.setItem(\r\n \"sede\",\r\n JSON.stringify(\r\n sedi.filter((sede) => sede.IdDetCliSed == IdDetCliSed)[0]\r\n )\r\n );\r\n //if(cliente.Sedi && cliente.Sedi.length > 0) sessionStorage.setItem(\"sede\", JSON.stringify(cliente.Sedi.filter( sede => sede.IDDetCliSed == IdDetCliSed)[0]))\r\n sessionStorage.setItem(\r\n \"spedizione\",\r\n JSON.stringify(risultatoCarrello.spedizione)\r\n );\r\n sessionStorage.setItem(\"totSpeTra1\", risultatoCarrello.totSpeTra1);\r\n sessionStorage.setItem(\"totSpeTra2\", risultatoCarrello.totSpeTra2);\r\n sessionStorage.setItem(\"totSpeInc1\", risultatoCarrello.totSpeInc1);\r\n sessionStorage.setItem(\"totSpeInc2\", risultatoCarrello.totSpeInc2);\r\n sessionStorage.setItem(\"totSpeImb1\", risultatoCarrello.totSpeImb1);\r\n sessionStorage.setItem(\"totSpeImb2\", risultatoCarrello.totSpeImb2);\r\n sessionStorage.setItem(\r\n \"personalCli\",\r\n JSON.stringify(risultatoCarrello.personal)\r\n );\r\n sessionStorage.setItem(\r\n \"localita\",\r\n JSON.stringify(risultatoCarrello.localita)\r\n );\r\n sessionStorage.setItem(\r\n \"pagamenti\",\r\n JSON.stringify(risultatoCarrello?.Pagamenti)\r\n );\r\n if (goToCheckOut) history.push(\"checkout\");\r\n };\r\n\r\n return (\r\n \r\n \r\n \r\n {strings.checkout} | {informazioni.titleSite}\r\n \r\n \r\n \r\n\r\n Home\r\n \r\n Checkout\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {\r\n setShowModalCustomer(false);\r\n setinCaricamentoCheckOut(false);\r\n }}\r\n array={customerArray}\r\n title={modalTitle}\r\n onClick={setIdCli}\r\n />\r\n\r\n {\r\n setShowModalCustomer(false);\r\n setinCaricamentoCheckOut(false);\r\n }}\r\n array={sedi}\r\n title={modalTitle}\r\n onClick={setIdDetCliSed}\r\n />\r\n
    \r\n );\r\n};\r\n\r\nPreCheckout.propTypes = {\r\n cartItems: PropTypes.array,\r\n currency: PropTypes.object,\r\n location: PropTypes.object,\r\n adjustCartForCheckOut: PropTypes.func,\r\n};\r\n\r\nconst mapStateToProps = (state) => {\r\n return {\r\n cartItems: state.cartData,\r\n currency: state.currencyData,\r\n userData: state.userData,\r\n };\r\n};\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n adjustCartForCheckOut: (item) => {\r\n dispatch(adjustCartForCheckOut(item));\r\n },\r\n };\r\n};\r\n\r\nexport default connect(mapStateToProps, mapDispatchToProps)(PreCheckout);\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\nimport { BreadcrumbsItem } from \"react-breadcrumbs-dynamic\";\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport SectionTitleWithText from \"../../components/section-title/SectionTitleWithText\";\r\nimport BannerOne from \"../../wrappers/banner/BannerOne\";\r\nimport TextGridOne from \"../../wrappers/text-grid/TextGridOne\";\r\nimport FunFactOne from \"../../wrappers/fun-fact/FunFactOne\";\r\nimport TeamMemberOne from \"../../wrappers/team-member/TeamMemberOne\";\r\nimport BrandLogoSliderOne from \"../../wrappers/brand-logo/BrandLogoSliderOne\";\r\nimport FeatureIcon from \"../../wrappers/feature-icon/FeatureIcon\";\r\n\r\nconst PrivacyPolicy = ({ location }) => {\r\n const { pathname } = location;\r\n var strings = require(\"../../translations/italian.json\");\r\n var informazioni = global.informazioni\r\n\r\n return (\r\n\r\n \r\n \r\n Privacy policy | {informazioni.titleSite}\r\n \r\n \r\n\r\n \r\n \r\n\r\n
    \r\n

    INFORMATIVA PRIVACY

    \r\n

     

    \r\n

    In questa informativa si descrivono le modalità di gestione del sito in riferimento al trattamento dei dati personali degli utenti che lo consultano, nonché le pratiche di trattamento dei dati trattati tramite questo sito.
    \r\nIn adempimento agli artt. 13 (per i dati raccolti presso l’interessato) e 14 (per i dati non raccolti presso l’interessato) del Regolamento (UE) 2016/679 (GDPR) si rendono agli Utenti di questo Sito Web le seguenti informazioni, che si riferiscono esclusivamente al trattamento eseguito attraverso detto Sito Web e non tramite altri siti web eventualmente visitati tramite link dal presente, per i quali si suggerisce di prendere visione delle relative informative rese dai rispettivi Titolari.
    \r\nQuesto Sito Web e i servizi eventualmente offerti tramite il Sito Web sono riservati a soggetti che hanno compiuto il diciottesimo anno di età. Il Titolare non tratta dati personali relativi ai soggetti minori di anni 18. Su richiesta di tali Utenti, il Titolare ne cancellerà tempestivamente tutti i dati personali involontariamente raccolti.

    \r\n

    1. Titolare del trattamento

    \r\n

    Titolare del trattamento è DGA Plante Shirt SRL con sede legale in Via Casa Aniello, 26, Sant'Antonio Abate - NA, PI 04278761210 (di seguito anche “DGA” o “Titolare”).
    \r\nIl Titolare si riserva di nominare quale Responsabile del trattamento dei dati personali gestiti per le finalità di assistenza tecnica, manutenzione, gestione tecnica e simili del presente Sito un’agenzia web o un consulente, i cui riferimenti potranno essere comunicati a seguito di richiesta agli indirizzi sopra indicati. Il Titolare e il Responsabile trattano i dati degli Utenti anche grazie a propri Incaricati interni, appositamente designati con istruzioni ed autorizzati al trattamento.
    \r\nIl Responsabile per la protezione dei dati personali è contattabile per email: amministrazione@dgaplanetshirt.com

    \r\n

    2. Categoria dei dati trattati e fonti di origine

    \r\n

    Potremo trattare in primo luogo dati di navigazione, nonché cookie.
    \r\nPotremo trattare anche dati conferiti volontariamente dall’utente, ad esempio attraverso il form contatti o l’invio di una comunicazione via e-mail, tra cui dati personali comuni (identificativi, anagrafici) ed eccezionalmente dati particolari ai sensi dell’art. 9 GDPR o penali ai sensi dell’art. 10 GDPR negli stretti limiti in cui ciò sia reso necessario dalla richiesta di informazioni ricevuta.
    \r\nI dati potrebbero provenire da fonti automatiche o da fonti volontarie, come anche da fonti pubbliche. Ad esempio potrebbero provenire dalla navigazione dell’utente, che potrebbe portare con sè informazioni relative a precedenti consultazioni di altri siti, tra cui in particolare cookie ed altre tecnologie simili. I dati potrebbero inoltre essere conferiti volontariamente dall’utente o da soggetti ad esso correlati. Altri dati potrebbero provenire da fonti pubbliche, quali ad esempio quelli trattati nell’ambito di ricerche e provenienti da visure, database pubblici e simili.

    \r\n

    3. Finalità del trattamento

    \r\n

    I dati personali degli Utenti del Sito Web, come sopra descritti, saranno oggetto di trattamento nei modi e nelle forme prescritti dal GDPR, per lo svolgimento delle funzionalità proprie del Sito Web, con particolare, ma non esclusivo, riferimento alla navigazione nelle sue pagine ed alle procedure ivi descritte di raccolta dati, form contatti, eventuale iter di registrazione / accesso area riservata, iscrizione alla newsletter e simili.
    \r\nIn particolare, i dati personali forniti al Titolare verranno trattati per il perseguimento delle seguenti finalità:

    \r\n
      \r\n
    • per dar seguito alle specifiche richieste rivolte al Titolare dall’Utente per il tramite del Sito Web e dei suoi strumenti di comunicazione (form contatti, moduli di richiesta di informazione e simili);
    • \r\n
    • per l’eventuale iscrizione alla newsletter ed il conseguente invio di comunicazioni commerciali ed informative varie concernenti il settore nel quale opera il Titolare, con apposito consenso prestato dall’utente;
    • \r\n
    • per l’iscrizione all’evento e le altre attività connesse (ad esempio, verifica della partecipazione, avvisi relativi ad eventuali aggiornamenti o modifiche dell’evento etc.);
    • \r\n
    • per comunicazioni di natura informativa relative ai servizi dello stesso Titolare, a seguito della richiesta di informazioni tramite messaggi di posta elettronica o compilazione del form contatti e di altri strumenti di comunicazione;
    • \r\n
    • per altre finalità accessorie o collegate a quelle sopra indicate e comunque rientranti nell’ambito delle attività del Sito Web;
    • \r\n
    • per il trattamento dell’indirizzo di posta elettronica, fornito dall’interessato nel contesto della vendita di un prodotto o di un servizio, finalizzato anche all’invio, senza ulteriore consenso, di comunicazioni per la successiva vendita diretta di prodotti o servizi analoghi a quelli oggetto della vendita stessa; l’interessato può in ogni caso esprimere il proprio rifiuto ed opporsi a tale trattamento, sia inizialmente che successivamente, in maniera agevole e gratuitamente, seguendo le istruzioni riportate in ogni comunicazione successiva;.
    • \r\n
    • ci riserviamo un trattamento totalmente deidentificato per la generazione di statistiche relative alla partecipazione all’evento e loro conseguente pubblicazione in forma aggregata.
    • \r\n
    \r\n

    Il trattamento dei dati conferiti in via generica sarà effettuato, anche a seguito di raccolta automatica durante la navigazione, ai soli fini di accertamento e di controllo degli accessi al Sito Web. Ciò vale anche per i cookie tecnici, da intendersi quali cookie di sessione, di funzionalità o analytics che presentino i requisiti specificati dal Garante. In particolare, riguardo a questi ultimi, si chiarisce che essi possono essere assimilati ai cookie tecnici laddove questi sono realizzati e utilizzati direttamente dal Sito Web. In ogni caso, per detti cookie analytics, il Sito Web, anche in conformità ai chiarimenti del Garante, ha previsto l’anonimizzazione degli indirizzi IP e l’emendamento all’elaborazione dei dati; la raccolta e l’utilizzo dei suddetti dati di navigazione (ferma restando l’anonimizzazione degli indirizzi IP) permettono il monitoraggio dell’andamento del Sito Web e consentono di migliorare il servizio offerto, proponendo all’Utente un’esperienza di navigazione migliore. Si rinvia all’apposita Informativa cookie per ulteriori informazioni

    \r\n

    4. Dati raccolti tramite la piattaforma Email

    \r\n

    Per completa informazione precisiamo che nell’invio delle comunicazioni tramite email DGA si avvale di una piattaforma conforme, che, attraverso sistemi di tracciamento statistico, consente di rilevare l’apertura di un messaggio, i click effettuati sui collegamenti ipertestuali contenuti all’interno dell’email, da quale indirizzo IP o con quale tipo di browser viene aperta l’email, e altri dettagli simili. La raccolta di tali dati è funzionale all’utilizzo della piattaforma e costituisce parte integrante delle funzionalità del sistema di invio dei messaggi.
    \r\nL’Utente piò inoltre opporsi facilmente ad ulteriori invii di newsletter anche cliccando sull’apposito link per la revoca del consenso, che è presente in ciascuna email contenente la newsletter. Effettuata la revoca del consenso, il Titolare invierà all’Utente un messaggio per confermare l’avvenuta revoca del consenso.

    \r\n

    5. Base Giuridica del trattamento

    \r\n

    Il trattamento dei dati personali si fonda sull’adempimento degli obblighi contrattuali o precontrattuali per l’iscrizione all’evento nonché, laddove necessario, sul consenso mediante la libera e consapevole compilazione degli appositi campi informativi nel form dedicato alla raccolta e conferimento dei dati e la spunta dell’apposito checkbox ove previsto. Il trattamento si fonda anche sul legittimo interesse, tra cui il diritto di informazione, per cui si rinvia al paragrafo successivo.

    \r\n

    6. legittimo interesse del Titolare

    \r\n

    Il trattamento dei dati personali si fonda anche sul legittimo interesse del Titolare, quale l’esercizio dei propri diritti nel contesto della società dell’informazione, l’esecuzione della prestazione contrattuale e la realizzazione di operazioni di marketing diretto.

    \r\n

    7. Obbligatorietà del trasferimento

    \r\n

    Il conferimento dei dati relativi alla navigazione da parte degli Utenti, per le finalità di cui sopra, dipende dal grado di privacy che l’Utente ha abilitato o disabilitato tramite il proprio browser. In alcuni casi la disabilitazione potrebbe pregiudicare la navigazione sul presente Sito Web. Per determinati moduli del presente Sito Web, il conferimento dei dati di navigazione e/o l’utilizzo di cookie tecnici è obbligatorio per il corretto funzionamento del Sito stesso.

    \r\n

    Il conferimento di alcuni dati propri è in ogni caso necessario per la struttura stessa del Sito Web e delle sue procedure. Ad esempio, il conferimento dell’account e-mail è necessario per l’iscrizione alla newsletter, mentre il conferimento del nome e cognome è obbligatorio per l’iscrizione all’evento in considerazione della natura personale della partecipazione. I dati obbligatori sono indicati nei form con un asterisco o in forma analoga.

    \r\n

    L’eventuale richiesta di altri dati facoltativi sarà preceduta dall’assenza dell’asterisco o in forma analoga e da apposita spunta di approvazione.
    \r\nIl mancato conferimento dei dati necessari per l’azione richiesta (ad esempio, dell’account e-mail per l’iscrizione alla newsletter o del nome e cognome per l’iscrizione all’evento) rendono impossibile l’evasione della richiesta da parte del Titolare.
    \r\nIl mancato conferimento degli altri dati facoltativi non produce invece conseguenze.

    \r\n

    8. Eventuali destinatari dei dati personali

    \r\n

    I dati potranno essere comunicati a società connesse, collegate o controllate dal Titolare, nonché a consulenti, ovvero anche a soggetti terzi che operano, anche in nome e conto del Titolare, per l’evasione delle prestazioni connesse alle finalità indicate nella presente informativa, sia intra UE che extra UE (in tale ultimo caso, si tratterà esclusivamente di soggetti aderenti al protocollo Privacy Shield).
    \r\nI dati di navigazione e simili (per cui si richiama quanto sopra), nonché i cookie di profilazione anche di terze parti (per cui si rinvia alla Informativa Cookie di questo Sito Web), i quali saranno comunicati alle rispettive terze parti interessate, laddove queste non li gestiscano direttamente in qualità di Titolari del trattamento.
    \r\nIn ogni caso i dati potranno essere comunicati a Responsabili del trattamento, nonché a persone autorizzate al trattamento e debitamente istruite, sempre nell’ambito delle finalità del trattamento.

    \r\n

    9. Periodo di conservazione

    \r\n

    I dati conferiti dall’Interessato saranno conservati fino alla revoca espressa da parte dell’Interessato, anche mediante azione sul proprio browser, pulizia dei cookie, richiesta espressa o in altro modo manifestata.
    \r\nI dati di navigazione saranno conservati per il tempo tecnico necessario all’evasione delle funzioni per cui sono stati raccolti.
    \r\nI dati relativi all’iscrizione ed alla partecipazione all’evento saranno conservati per 10 anni.

    \r\n

    10. Diritti dell’interessato

    \r\n

    Ciascun Interessato ha diritto di accesso, di rettifica, di cancellazione (oblio), di limita-zione, di ricezione della notifica in caso di rettifica, cancellazione o limitazione, di por-tabilità, di opposizione e di non essere oggetto di una decisione individuale automatizzata, compresa la profilazione, ai sensi degli artt. da 15 a 22 del GDPR.
    \r\nTali diritti possono essere esercitati nelle forme e nei termini di cui all’art. 12 GDPR, mediante comunicazione scritta inviata al Titolare via e-mail all’indirizzo amministrazione@dgaplanetshirt.com
    \r\nIl Titolare renderà risposta adeguata al più presto e comunque entro il termine di 1 mese dalla ricezione della richiesta.

    \r\n

    11. Diritto di revoca del consenso

    \r\n

    È possibile revocare il consenso, laddove prestato, in qualsiasi momento tramite

    \r\n
      \r\n
    • invio di una mail all’indirizzo del Titolare amministrazione@dgaplanetshirt.com;
    • \r\n
    • comunicazione espressa presso la sede del Titolare.
    • \r\n
    \r\n

    12. Reclami

    \r\n

    Ciascun Interessato ha diritto di proporre reclamo ai sensi degli artt. 77 e seguenti del GDPR ad un’autorità di controllo, che per lo Stato italiano è individuato nel Garante per la protezione dei dati personali.
    \r\nLe forme, le modalità ed i termini di proposizione delle azioni di reclamo sono previste e disciplinate dalla legislazione nazionale vigente. Il reclamo fa salve le azioni amministrative e giurisdizionali, che per lo Stato italiano possono proporsi alternativamente al medesimo Garante o al Tribunale competente.

    \r\n

    13. Profilazione

    \r\n

    I dati personali forniti attraverso la navigazione sul presente sito web e l’eventuale compilazione dei form ivi pubblicati potranno essere oggetto di profilazione da parte di provider terze parti tramite cookie di terza parte.

    \r\n

    La profilazione permette a tali provider terzi, Titolari autonomi dei rispettivi trattamenti di dati personali per scopi di profilazione, diversi dal Titolare del presente sito web, di valutare determinati aspetti personali dell’Interessato relativi in particolare alle sue preferenze, ai suoi interessi, ai suoi gusti con riferimento alle pagine consultate ed alle attività svolte, al fine di permettere a tali Titolari autonomi e diversi di offrire all’Interessato un servizio più specifico e mirato alle sue esigenze.
    \r\nPer maggiori informazioni si invita l’Utente a leggere l’informativa cookie.

    \r\n\r\n\t\t
    \r\n\r\n \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nPrivacyPolicy.propTypes = {\r\n location: PropTypes.object\r\n};\r\n\r\nexport default PrivacyPolicy;\r\n","import PropTypes from \"prop-types\";\r\nimport React, { Fragment, useEffect, useState } from \"react\";\r\nimport MetaTags from \"react-meta-tags\";\r\n\r\nimport LayoutOne from \"../../layouts/LayoutOne\";\r\nimport Breadcrumb from \"../../wrappers/breadcrumb/Breadcrumb\";\r\nimport { connect } from \"react-redux\";\r\nimport { fetchUser, saveUser } from \"../../redux/actions/userAction\";\r\nimport { useToasts } from \"react-toast-notifications\";\r\nimport ImageUploader from \"react-images-upload\";\r\nimport { changeData, fetchAnagraficaWithResult, uploadFile } from \"../../helpers/dbOperations\";\r\nimport { Link } from \"react-router-dom\";\r\nimport AppBar from '@material-ui/core/AppBar';\r\nimport Tab from '@material-ui/core/Tab';\r\nimport TabContext from '@material-ui/lab/TabContext';\r\nimport TabList from '@material-ui/lab/TabList';\r\nimport TabPanel from '@material-ui/lab/TabPanel';\r\nimport { Box, Button, makeStyles, Paper, Tabs, Typography } from \"@material-ui/core\";\r\nimport MaterialTable from \"material-table\";\r\nimport { fetchAnagrafica, fetchSendCartData } from \"../../helpers/dbOperations\";\r\nimport CustomerModal from './modals/modalCustomer'\r\nimport { Modal } from \"react-bootstrap\";\r\nimport { Article } from \"./animationList\";\r\nimport ReactLoading from \"react-loading\";\r\n\r\nconst MyDocuments = ({ location, userData, saveUser }) => {\r\n const useStyles = makeStyles({\r\n root: {\r\n flexGrow: 1,\r\n },\r\n mymodal: {\r\n width: '20vw', /* Occupy the 90% of the screen width */\r\n maxWidth: '20vw'\r\n }\r\n });\r\n var strings = require(\"../../translations/italian.json\");\r\n const [value, setValue] = React.useState(0);\r\n const classes = useStyles();\r\n const [docs, setDocs] = useState([])\r\n const [showModalCustomer, setShowModalCustomer] = useState(false);\r\n const [modalTitle, setModalTitle] = useState(\"\");\r\n const [customerArray, setCustomerArray] = useState([]);\r\n const [onClick, setOnClick] = useState(0);\r\n const [idCli, setIdCli] = useState(0)\r\n const [inCaricamentoCheckOut, setinCaricamentoCheckOut] = useState(false);\r\n const [wait, setWait] = useState(false)\r\n var informazioni = global.informazioni\r\n\r\n var _sper = sessionStorage.getItem('personal');\r\n if (_sper === 'undefined') _sper = null;\r\n const personal = _sper ? JSON.parse(_sper) : {};\r\n\r\n const handleChange = (event, newValue) => {\r\n setValue(newValue);\r\n };\r\n\r\n const SegliAnagrafica = (risultatoAnagrafica) => {\r\n setModalTitle(\"Scegli il cliente\")\r\n risultatoAnagrafica.Anagrafica.map((item) => {\r\n item.value = item.RagSoc\r\n item.id = item.IdCli\r\n return item\r\n })\r\n setCustomerArray(risultatoAnagrafica.Anagrafica)\r\n setOnClick(1)\r\n setShowModalCustomer(true)\r\n\r\n }\r\n const caricaAnagrafica = async () => {\r\n //console.log(\"carica anagrafica\")\r\n var username = userData.user.user.username;\r\n var password = userData.user.user.password;\r\n var indexAnagraficaScelta = 0;\r\n var indexSede = 0;\r\n var risultatoAnagrafica = {};\r\n fetchAnagraficaWithResult({ username, password }).then(res => res.json()).then(result => {\r\n //console.log(result)\r\n if ((!result) || (!result.Anagrafica)) return result;\r\n\r\n if (result.Anagrafica.length > 1) {\r\n indexAnagraficaScelta = SegliAnagrafica(result);\r\n }\r\n else {\r\n setIdCli(result.Anagrafica[0].IdCli)\r\n setCustomerArray(result.Anagrafica)\r\n }\r\n return result;\r\n })\r\n\r\n\r\n }\r\n useEffect(() => {\r\n setShowModalCustomer(false)\r\n if ((userData.user.user) && idCli != 0) {\r\n var username = userData.user.user.username\r\n var password = userData.user.user.password\r\n var body = JSON.stringify({ username, password, IDCli: idCli });\r\n \r\n \r\n var endpoint = global.endpoint + \"pegaso/getDocCli\"\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({ \"Content-Type\": \"application/x-www-form-urlencoded\", }),\r\n body: body,\r\n withCredentials: false\r\n })\r\n .then((res) => res.json())\r\n .then(\r\n (result) => {\r\n console.log(result.Docs)\r\n setDocs(result.Docs)\r\n }\r\n )\r\n }\r\n }, [idCli])\r\n\r\n useEffect(() => {\r\n try {\r\n\r\n\r\n\r\n if (!userData.user.user.IDCli || userData.user.user.IDCli == 0) {\r\n //console.log(\"Agente\")\r\n caricaAnagrafica();\r\n }\r\n else if ((userData.user.user) && (userData.user.user.IDCli != 0)) {\r\n var username = userData.user.user.username\r\n var password = userData.user.user.password\r\n var body = JSON.stringify({ username, password, IDCli: userData.user.user.IDCli });\r\n\r\n var endpoint = global.endpoint + \"pegaso/getDocCli\"\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({ \"Content-Type\": \"application/x-www-form-urlencoded\", }),\r\n body: body,\r\n withCredentials: false\r\n })\r\n .then((res) => res.json())\r\n .then(\r\n (result) => {\r\n console.log(result.Docs)\r\n setDocs(result.Docs)\r\n }\r\n )\r\n }\r\n }\r\n catch (err) {\r\n\r\n }\r\n }, [])\r\n\r\n function downloadFile(LIdDoc, CodSezVen, datDoc, numOrd) {\r\n setWait(true)\r\n var endpoint = global.endpoint + \"pegaso/webAppDocPDF\"\r\n var body = JSON.stringify({ IdDoc: LIdDoc })\r\n fetch(endpoint, {\r\n method: \"POST\",\r\n headers: new Headers({ \"Content-Type\": \"application/x-www-form-urlencoded\", }),\r\n body: body,\r\n withCredentials: false\r\n })\r\n .then((res) => res.blob())\r\n .then((blob) => {\r\n\r\n // 2. Create blob link to download\r\n const url = window.URL.createObjectURL(new Blob([blob]));\r\n const link = document.createElement('a');\r\n link.href = url;\r\n link.setAttribute('download', `${CodSezVen}_N°${numOrd}_${datDoc}.pdf`);\r\n // 3. Append to html page\r\n document.body.appendChild(link);\r\n // 4. Force download\r\n link.click();\r\n // 5. Clean up and remove the link\r\n link.parentNode.removeChild(link);\r\n setWait(false)\r\n })\r\n }\r\n\r\n function TabPanel(props) {\r\n const { children, value, index, ...other } = props;\r\n\r\n return (\r\n