{"version":3,"sources":["components/HeroSliderModule/index.js","components/TextModule/models/TextModule.model.js","environments/environmentconfig.js","utils/window.utils.js","components/CommonApi/index.tsx","types/helpers.tsx","components/AccordionModule/index.tsx","components/AccordionModuleAccessories/index.tsx","components/BreadcrumbModuleAccessories/index.tsx","react-only-components/ModalModule/ModalModule.tsx","utils/svgImage.ts","components/CardModule/index.tsx","components/StageCardModule/index.tsx","components/CardModuleFullAccessories/index.tsx","components/CardModuleLinkedItem/index.tsx","components/CardsCarouselModule/index.tsx","components/CardsCarouselModuleAccessories/index.tsx","react-only-components/LazySection/index.tsx","components/CardsGridModule/index.tsx","components/GlobalButtonModule/index.tsx","components/CarouselModule/index.tsx","components/CartModule/index.tsx","components/Pagination/index.tsx","components/CategoryResultsModule/index.tsx","components/DealerLocatorModule/Icons/index.tsx","components/DealerLocatorModule/services/common.tsx","components/DealerLocatorModule/DealerSheet/service.tsx","assets/fonts/roboto/Roboto-Regular.ttf","components/DealerLocatorModule/DealerSheet/DownloadSheetTemplate/index.tsx","components/DealerLocatorModule/DealerSheet/index.tsx","components/DealerLocatorModule/Filters/index.tsx","components/DealerLocatorModule/services/DealerLocatorService.tsx","components/DealerLocatorModule/Icons/markers.tsx","components/DealerLocatorModule/index.tsx","components/FooterModule/index.tsx","components/FormContainerModule/index.tsx","components/ReduxImpl/contants/action-types.ts","components/ReduxImpl/actions/index.ts","components/SitecoreJssFormNew/components/recaptcha/index.tsx","components/SitecoreJssFormNew/fieldFactory.ts","components/SitecoreJssFormNew/components/dropdownfield/index.tsx","components/SitecoreJssFormNew/ConditionalRendering/ConditionalRenderingContants.ts","components/SitecoreJssFormNew/ConditionalRendering/index.ts","components/SitecoreJssFormNew/components/sectionField/index.tsx","components/SitecoreJssFormNew/fieldFactoryBrasil.ts","components/SitecoreJssFormNew/components/fieldValidationError/index.tsx","utils/linkUtils.ts","components/SitecoreJssForm/components/JssForm/JssForm.tsx","components/SitecoreJssFormNew/index.tsx","components/ReduxImpl/reducers/conditionsAggregator.ts","components/ReduxImpl/reducers/index.ts","components/ReduxImpl/store/index.ts","components/FormModule/index.tsx","components/GlobalMenuModule/index.tsx","components/HeaderModule/ivecoBusMobileMenu.tsx","components/HeaderModule/index.tsx","components/IFrameModule/index.tsx","components/LanguageBarModule/index.tsx","components/LayoutTwoColumnsModule/index.tsx","components/LinksListModule/index.tsx","components/LoadMore/index.tsx","components/PageHeaderModule/index.tsx","components/PageHeaderModuleAccessories/index.tsx","components/SearchResultsModule/index.tsx","components/SearchModule/index.tsx","components/SearchWithFilters/index.tsx","components/SitecoreJssForm/components/baseTextField/index.tsx","components/SitecoreJssForm/components/textField/index.tsx","components/SitecoreJssForm/components/emailField/index.tsx","components/SitecoreJssForm/components/numberField/index.tsx","components/SitecoreJssForm/components/telephoneField/index.tsx","components/SitecoreJssForm/components/passwordField/index.tsx","components/SitecoreJssForm/components/multipleLineTextField/index.tsx","components/SitecoreJssForm/components/checkboxField/index.tsx","components/SitecoreJssForm/components/dropdownfield/index.tsx","components/SitecoreJssForm/ConditionalRendering/ConditionalRenderingContants.ts","components/SitecoreJssForm/ConditionalRendering/index.ts","components/SitecoreJssForm/components/sectionField/index.tsx","components/SitecoreJssForm/components/checkBoxListField/index.tsx","components/SitecoreJssForm/components/radioButtonListField/index.tsx","components/SitecoreJssForm/components/textViewField/index.tsx","components/SitecoreJssForm/components/recaptcha/index.tsx","components/SitecoreJssForm/fieldFactory.ts","components/SitecoreJssForm/components/fieldValidationError/index.tsx","components/SitecoreJssForm/components/fieldWrapper/index.tsx","react-only-components/Spinner/Spinner.tsx","components/SitecoreJssForm/index.tsx","components/TextingModule/models/TextModule.model.ts","components/TextingModule/index.tsx","components/TextModuleAccessories/index.tsx","components/WishlistModule/index.tsx","temp/componentFactory.tsx","dataFetcher.js","Layout.js","NotFound.js","RouteHandler.js","AppRoot.tsx","main.js","lib/GraphQLClientFactory.js","components/DealerLocatorModule/styles/_common.module.scss","utils/checkDeviceType.ts","utils/scaleImage.ts","hooks/useOnCookieChange.ts","hooks/useCookieAllowVideo.ts","react-only-components/CookiesVideoDisclaimerWrapper/index.tsx","components/PageTitleModule/index.tsx","components/TextModule/index.js","assets/img/missing-image.png","assets/img/missing-image-dark.png","components/StageCardModule/models/StageCardModule.model.js","components/CardsCarouselModule/models/CardsCarouselModule.model.js"],"names":["__assign","this","Object","assign","t","s","i","n","arguments","length","p","prototype","hasOwnProperty","call","apply","__createBinding","create","o","m","k","k2","undefined","desc","getOwnPropertyDescriptor","__esModule","writable","configurable","enumerable","get","defineProperty","__setModuleDefault","v","value","__importStar","mod","result","__importDefault","exports","react_1","require","sitecore_jss_react_1","react_slick_1","lazy_1","index_1","useOnCookieChange_1","useCookieAllowVideo_1","react_lazy_load_image_component_1","default","withSitecoreContext","props","_a","_b","_c","_d","_e","_f","_g","_h","_j","_k","_l","_m","_o","_p","_q","_r","_s","_t","_u","useState","currentIndex","setCurrentIndex","_v","playVideo","setVideoPlay","autoplaySpeed","fields","parseInt","progressRef","useRef","isExpEditorEnabled","sitecoreContext","pageEditing","slider","videoRef","scrollIcon","_w","innerInternalWidth","setInnerInternalWidth","useEffect","showProgressbar","window","innerWidth","addEventListener","heroSlider","Slides","settings","arrows","dots","fade","swipe","lazyLoad","slidesToScroll","slidesToShow","nextArrow","createElement","className","style","onClick","prevArrow","infinite","autoHeight","autoplay","pauseOnHover","duration","progresBar","current","display","animationDuration","concat","getActiveSlide","sliderObj","Array","from","querySelectorAll","filter","classList","contains","videoEnd","slickPlay","slickNext","onVideoPlay","slickPause","placePoster","activeSlide","innerSlider","list","isVideoOnSlide","querySelector","src","setAttribute","onInit","document","play","consent","useOnCookieChange","useCookiesAllowVideo","Fragment","ref","id","rendering","dataSource","beforeChange","hideProgress","load","pause","afterChange","currentSlide","getDuration","map","item","_x","_y","_z","_0","_1","_2","_3","_4","_5","_6","_7","_8","_9","_10","_11","_12","_13","_14","_15","_16","_17","_18","_19","_20","_21","_22","_23","_24","_25","_26","_27","_28","_29","_30","_31","_32","_33","_34","_35","_36","_37","_38","_39","_40","_41","_42","_43","_44","_45","_46","_47","_48","_49","_50","_51","_52","_53","_54","_55","_56","_57","_58","_59","_60","_61","_62","_63","_64","_65","_66","_67","_68","_69","_70","_71","_72","_73","_74","_75","_76","_77","_78","_79","_80","_81","_82","_83","_84","_85","_86","_87","_88","_89","_90","_91","_92","_93","_94","_95","_96","_97","_98","_99","_100","_101","_102","_103","_104","_105","_106","_107","_108","_109","_110","_111","_112","_113","_114","_115","_116","_117","_118","_119","_120","_121","_122","_123","_124","_125","_126","_127","_128","_129","_130","_131","_132","_133","_134","_135","_136","_137","_138","_139","_140","_141","_142","_143","_144","_145","_146","_147","_148","_149","_150","_151","_152","_153","_154","_155","_156","_157","_158","_159","_160","_161","_162","_163","_164","_165","_166","_167","_168","_169","_170","_171","_172","_173","_174","_175","_176","_177","_178","_179","_180","_181","_182","_183","_184","_185","_186","_187","_188","_189","_190","_191","_192","key","url","target","open","openInNewTab","Link","href","Theme","Opacity","Video","onEnded","onPlay","controls","playing","onDuration","onBuffer","playsinline","muted","dataFromParent","LazyLoadImage","alt","loading","height","width","slickPrev","xmlns","viewBox","d","marginLeft","dangerouslySetInnerHTML","__html","svgCode","nextSibling","scrollIntoView","behavior","top","TextModuleModel","BodyText","Eyebrow","Title","Subtitle","PrimaryLink","SecondaryLink","Image","ImageMobile","AllowFallbackForMobile","Alignment","Key","Abstract","EnvironmentConfig","localstorageService","localStorage","clear","getItem","removeItem","setItem","getCookieValue","name","cookie","match","pop","missingImg","missingImgDark","localhost","location","hostname","indexOf","CommonApi","React","createContext","CommonApiProvider","children","useTranslation","setLoading","loadingImages","setLoadingImages","loadingProducts","setLoadingProducts","userAuthToken","setUserAuthToken","language","setLanguage","categories","setCategories","catalogID","setCatalogID","products","setProducts","filters","setFilters","translatedFilters","setFiltersT","childProducts","setChildProducts","product","setProduct","productTranslations","setProductTranslations","categoryTranslations","setCategoryTranslations","filterTranslations","setFilterTranslations","checkedLastUpdate","setCheckLastUpdate","showMore","setShowMore","numberOfResults","setNumberOfResults","pageSelected","setPageSelected","productsSearch","setProductsSearch","pageSize","setPageSize","productImages","setProductImages","Configuration","Set","baseApiUrl","timeoutInMilliseconds","clientID","scope","Date","toString","fetch","method","headers","Authorization","Tokens","GetAccessToken","then","res","json","lastUpdateFromMw","Body","console","log","getTime","lang","doAnonymousLogin","catch","error","handleError","setTranslatedFilters","index","_element$Values","_element$Values$array","Values","array","forEach","Description","searchProducts","currentUrlParams","_getProductsByfilter","page","getProductsByfilter","promises","push","Promise","resolve","reject","_getCategoryTranslati","getCategoryTranslations","xp","Category","translation","CategoryTranslations","all","data","_getProductTranslatio","getProductTranslations","ID","ProductTranslations","getSpecificFilter","parameters","sort","filterOrder","returnOrder","a","Name","b","order","text","version","family","category","model","nameSearch","Products","List","search","searchOn","searchType","sortBy","Active","IsParent","Meta","TotalCount","Items","getFilterTranslations","filterType","JSON","parse","stringify","productID","updateProduct","categoryID","_JSON$parse$xp","_JSON$parse$xp$Transl","catTranslations","Translations","find","Language","ParentID","Categories","Get","response","_cookie$xp","_JSON$parse$xp2","getUrlProductImg","imgname","imgEnv","origin","imgDinamicUrl","loadImagesByProduct","images","Images","request","XMLHttpRequest","ThumbnailUrl","replace","send","onload","status","_error$errors","_error$errors2","_error$errors3","_error$errors3$Errors","isOrderCloudError","errors","Errors","ErrorCode","Message","responseURL","message","parseUrl","whatToGet","pathSegments","pathname","split","getContextExtensions","catalogPage","afterLoginWorkflow","filterTranslation","Me","Buyer","DefaultCatalogID","me","Auth","Anonymous","token","access_token","SetAccessToken","err","getContext","ContextExtensions","LanguageSelector","_ref","languages","selectedLanguage","onChange","icon","options","label","toUpperCase","_jsxs","_Fragment","_jsx","childNodes","outerHTML","Select","classNamePrefix","option","closeAllSelect","elmnt","x","y","xl","yl","arrNo","getElementsByClassName","remove","add","changeLanguage","newLang","newUrl","oldLang","Provider","categoryUrl","catalogPageUrl","productUrl","idp","getChildProductsByParentId","parentID","getProductsByCategory","ListProducts","getProductsBySearchTerm","params","productList","getUrlCategoryImg","getMissingImg","getProduct","forceRefresh","keys","foundProd","getAllfilters","loadImageByProduct","_p$xp$Images$","img","onerror","checkImageExists","loadImageForProduct","getProductsByIds","productIDs","prod","changeFilter","e","URLSearchParams","set","history","pushState","newurl","protocol","host","path","getCategories","ListCategories","goToCategory","removeFromWishList","Cookies","addToWishList","checkWishList","createSelectLanguage","renderLanguageSelector","anchorElement","containerClass","selectId","aDiv","parentNode","replaceChild","context","ReactDOM","render","isHTML","str","innerHTML","c","nodeType","GenerateIdForGA","componentName","action","returnValue","currentSite","setCurrentSite","currentPage","setCurrentPage","isInModal","setIsInModal","modalName","setModalName","getElementById","body","input","_props$params","_props$params2","_props$fields","excludeImage","arrowHandleToggle","renderingUid","element","toggle","handleOpen","handleClose","deviceType","setDeviceType","windowWidth","setWindowWidth","urlParams","queryText","navigator","checkDeviceType","setTimeout","accordion","themeOption","accordionItem","_props$rendering","_props$rendering2","_props$rendering3","_props$rendering3$pla","_accordionItem$fields","_accordionItem$fields2","_accordionItem$fields3","_accordionItem$fields4","_accordionItem$fields5","_accordionItem$fields6","_accordionItem$fields7","_accordionItem$fields8","_accordionItem$fields9","_accordionItem$fields10","_accordionItem$fields11","_accordionItem$fields12","_accordionItem$fields13","_accordionItem$fields14","_accordionItem$fields15","_accordionItem$fields16","_accordionItem$fields17","_accordionItem$fields18","_accordionItem$fields19","_accordionItem$fields20","_props$rendering4","_props$rendering5","_props$rendering5$pla","_props$rendering6","_props$rendering7","_props$rendering7$pla","_accordionItem$fields21","_accordionItem$fields22","_accordionItem$fields23","_accordionItem$fields24","_accordionItem$fields25","_props$rendering8","_props$rendering9","_props$rendering9$pla","placeholderName","placeholders","some","placeh","scaleImage","RichText","field","tag","Placeholder","_commonCtx$product","_commonCtx$product$xp","_commonCtx$product$xp2","_commonCtx$productTra","_commonCtx$productTra3","_commonCtx$productTra5","commonCtx","useContext","setCategoryID","bgImage","setBgImage","models","Models","searchPageUrl","Version","toLowerCase","Model","endsWith","substring","_commonCtx$productTra2","_commonCtx$productTra4","inputString","_commonCtx$productTra6","Vantaggi","displayName","uid","DatiTecnici","Avvertenza","AccordionModule","ModalModule","isOpen","close","shouldCloseOnOverlayClick","title","hasMaxHeightRestricted","logoImg","hasBreadcrumb","overlayDiv","setOverlayDiv","closeModal","overflow","firstAccordionModules","hasAttribute","CloseButton","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","SideBar","Header","classname","Modal","closeTimeoutMS","parentSelector","overlayClassName","appElement","overlayRef","type","createPortal","returnSvgImage","resource","iconName","w","h","_cardContext$fields","_cardContext$fields2","_cardContext$fields2$","_props$sitecoreContex","_cardContext$fields3","_cardContext$fields3$","_cardContext$fields4","_cardContext$fields4$","_cardContext$fields5","_cardContext$fields5$","_cardContext$fields5$2","_cardContext$fields6","_cardContext$fields6$","_cardContext$fields7","_cardContext$fields7$","_cardContext$fields7$2","_cardContext$fields8","_cardContext$fields8$","_cardContext$fields8$2","_cardContext$fields9","_cardContext$fields9$","_cardContext$fields9$2","_cardContext$fields10","_cardContext$fields11","_cardContext$fields12","_cardContext$fields13","_cardContext$fields14","_cardContext$fields15","_cardContext$fields16","_cardContext$fields17","_cardContext$fields18","_cardContext$fields19","_cardContext$fields20","_cardContext$fields21","_cardContext$fields22","_cardContext$fields23","_cardContext$fields24","_cardContext$fields25","_cardContext$fields26","_cardContext$fields27","_cardContext$fields28","_cardContext$fields29","_cardContext$fields30","_cardContext$fields31","_cardContext$fields32","_cardContext$fields33","_cardContext$fields34","_cardContext$fields35","_cardContext$fields36","_cardContext$fields37","_cardContext$fields38","_cardContext$fields39","_cardContext$fields40","_cardContext$fields41","_cardContext$fields42","_cardContext$fields43","_cardContext$fields44","_cardContext$fields45","_cardContext$fields46","_cardContext$fields47","_cardContext$fields48","_cardContext$fields49","_cardContext$fields50","_cardContext$fields51","_cardContext$fields52","_cardContext$fields53","_cardContext$fields54","_cardContext$fields55","_cardContext$fields56","_cardContext$fields57","_cardContext$fields58","_cardContext$fields59","_cardContext$fields60","_cardContext$fields61","_cardContext$fields65","_cardContext$fields66","_cardContext$fields67","_cardContext$fields68","_cardContext$fields69","_cardContext$fields70","_cardContext$fields71","_cardContext$fields72","_cardContext$fields73","_cardContext$fields74","_cardContext$fields75","_cardContext$fields76","_cardContext$fields77","_cardContext$fields78","_cardContext$fields79","_cardContext$fields80","_cardContext$fields81","_cardContext$fields82","_cardContext$fields83","_cardContext$fields84","_cardContext$fields85","_cardContext$fields86","_cardContext$fields87","_cardContext$fields88","_props$dataFromParent","_props$dataFromParent2","_props$dataFromParent3","_props$dataFromParent4","_props$dataFromParent5","_props$dataFromParent6","_props$dataFromParent7","_props$dataFromParent8","_props$dataFromParent9","_props$dataFromParent10","_props$dataFromParent11","_props$dataFromParent12","_props$dataFromParent13","_props$dataFromParent14","_props$dataFromParent15","_props$dataFromParent16","_props$dataFromParent17","_props$dataFromParent18","_props$dataFromParent19","_props$dataRendering","_props$dataRendering2","_props$dataRendering3","_cardContext$fields89","_cardContext$fields90","_cardContext$fields94","_cardContext$fields95","_cardContext$fields96","_cardContext$fields97","_cardContext$fields98","_cardContext$fields99","_cardContext$fields100","_cardContext$fields101","_cardContext$fields102","_cardContext$fields103","_cardContext$fields104","_cardContext$fields105","_cardContext$fields106","_cardContext$fields107","_cardContext$fields108","_cardContext$fields109","_cardContext$fields110","_cardContext$fields111","_cardContext$fields112","_cardContext$fields113","_cardContext$fields114","_cardContext$fields115","_cardContext$fields116","_cardContext$fields117","_cardContext$fields118","_cardContext$fields119","_cardContext$fields120","_cardContext$fields121","_cardContext$fields122","_cardContext$fields123","_cardContext$fields124","_cardContext$fields125","_cardContext$fields126","_cardContext$fields127","_cardContext$fields128","_cardContext$fields129","_cardContext$fields130","_cardContext$fields131","_cardContext$fields132","_cardContext$fields133","_cardContext$fields134","_cardContext$fields135","_cardContext$fields136","_cardContext$fields137","_cardContext$fields141","_cardContext$fields142","_cardContext$fields143","_cardContext$fields144","_cardContext$fields145","_cardContext$fields146","_cardContext$fields147","_cardContext$fields148","_cardContext$fields149","_cardContext$fields150","_cardContext$fields151","_cardContext$fields152","_cardContext$fields153","_cardContext$fields154","_cardContext$fields155","_cardContext$fields156","_cardContext$fields157","_cardContext$fields158","_cardContext$fields159","_cardContext$fields160","_cardContext$fields161","_cardContext$fields162","_cardContext$fields163","_cardContext$fields164","_props$dataFromParent20","_props$dataFromParent21","_props$dataFromParent22","_props$dataFromParent23","_props$dataFromParent24","_props$dataFromParent25","_props$dataFromParent26","_props$dataFromParent27","_props$dataFromParent28","_props$dataFromParent29","_props$dataFromParent30","_props$dataFromParent31","_props$dataFromParent32","_props$dataFromParent33","_props$dataFromParent34","_props$dataFromParent35","_props$dataFromParent36","_props$dataFromParent37","_props$dataFromParent38","_props$dataRendering4","_props$dataRendering5","_props$dataRendering6","cardContext","theme","isVideoLink","isFullScreen","FullScreen","modalIsOpen","setIsOpen","setPlaceholderName","setPlay","openModal","videoActive","dataModal","querystring","ReactPlayer","backgroundImage","_cardContext$fields62","_cardContext$fields63","_cardContext$fields64","dataRendering","_cardContext$fields91","_cardContext$fields92","_cardContext$fields93","_cardContext$fields138","_cardContext$fields139","_cardContext$fields140","alignment","StageCardModuleModel","Text","StageCardModule","bodyElement","imageMobile","convertStringToDate","_props$sitecoreContex2","_props$sitecoreContex3","_props$sitecoreContex4","date","formatDate","formatdate","moment","format","toLocaleString","i18next","month","getDate","nth","getFullYear","_props$fields$Opacity","_model$List","CardsCarouselModuleModel","cardCarouselContent","isLandscape","setIsLandscape","orientation","cardsCarouselRef","SampleNextArrow","SamplePrevArrow","setScreenOrientation","isIs","touchMove","responsive","breakpoint","Slider","_cardCarouselContent$","_cardCarouselContent$2","getSlickList","getLatestSlickListElement","every","cardGrid","_cardGrid$fields","_cardGrid$fields$Use","_cardGrid$fields2","_props$fields2","_props$fields2$Open","_props$fields3","_props$fields3$Open","CardModuleLinkedItem","Open","CardModule","propsSitecore","_propsSitecore$fields","_propsSitecore$fields2","carouselLoaded","setCarouselLoaded","carouselCategoryLoaded","setCarouselCategoryLoaded","productIds","setProductIds","ProductIDs","isLoading","setIsLoading","setProductList","productCategoryList","setProductCategoryList","isCategory","setIsCategory","IsRelative","getProductsInfo","dark","productTranslation","catTrans","isArray","Family","Accessory","PartName","ShortDescription","LongDescription","relatedProds","_foundProd$xp","RelatedProducts","relatedProd","_propsSitecore$fields3","_propsSitecore$fields4","CardsCarouselModule","offset","padding","LazyLoad","once","_props$fields$List","cardsGridRef","_props$fields7","_props$fields7$Opacit","_props$fields8","_props$fields8$Opacit","_props$fields9","_props$fields2$Opacit","_props$fields3$Opacit","_props$fields4","_props$fields10","_props$fields10$Open","_props$fields11","_props$fields11$List","_props$params4","LazySection","_props$fields5","_props$fields5$Open","_props$fields6","_props$fields6$List","_props$params3","GlobalButtonModule","_buttonContext$fields","_buttonContext$fields2","_buttonContext$fields3","_buttonContext$fields4","_buttonContext$fields5","_buttonContext$fields6","_buttonContext$fields7","_buttonContext$fields8","_buttonContext$fields9","_buttonContext$fields10","_buttonContext$fields11","_buttonContext$fields12","_buttonContext$fields13","_buttonContext$fields14","_buttonContext$params","_buttonContext$params2","_buttonContext$params3","_buttonContext$params4","_buttonContext$params5","_buttonContext$params6","_buttonContext$params7","_buttonContext$params8","_buttonContext$fields15","_buttonContext$fields16","_buttonContext$fields17","_buttonContext$fields18","_buttonContext$fields19","_buttonContext$fields20","_buttonContext$fields21","_buttonContext$fields22","_buttonContext$fields23","_buttonContext$fields24","_buttonContext$fields25","buttonContext","mobileText","textUndefined","setText","btnType","Type","btnTheme","iconOnly","iconLeft","buttonsSize","Sizing","hasIcons","Icon","svgIcon","Iconcss","_props$fields2$Transa","_props$fields3$Transa","_carouselSlider","_carouselSlider$field","_carouselSlider$field2","carouselSlider","customeSlider","activeIndex","setActiveIndex","dotsClass","appendDots","customPaging","handleBeforeChange","oldIndex","newIndex","previous","next","carouselRef","_item$fields","_item$fields$Theme","_item$fields2","_item$fields2$Opacity","_item$fields3","_item$fields3$Backgro","_item$fields3$Backgro2","_item$fields4","_item$fields4$Backgro","_item$fields4$Backgro2","_item$fields5","_item$fields5$Backgro","_item$fields5$Backgro2","_item$fields6","_item$fields6$Backgro","_item$fields6$Backgro2","_item$fields7","_item$fields7$Backgro","_item$fields7$Backgro2","_item$fields8","_item$fields8$Backgro","_item$fields8$Backgro2","_item$fields9","_item$fields9$Backgro","_item$fields9$Backgro2","_item$fields10","_item$fields10$Backgr","_item$fields10$Backgr2","_item$fields11","_item$fields11$Backgr","_item$fields11$Backgr2","_item$fields12","_item$fields12$Backgr","_item$fields12$Backgr2","_item$fields13","_item$fields13$Backgr","_item$fields13$Backgr2","_item$fields14","_item$fields14$Backgr","_item$fields14$Backgr2","_item$fields15","_props$fields4$UseLat","_item$fields16","_item$fields16$Descri","_item$fields17","_item$fields18","_item$fields19","_item$fields20","_item$fields20$Button","_item$fields20$Button2","_item$fields20$Button3","_item$fields20$Button4","_item$fields21","_item$fields21$Button","_item$fields21$Button2","_item$fields21$Button3","_item$fields21$Button4","_item$fields22","_item$fields22$Modal","_item$fields23","_item$fields23$Modal","_item$fields24","_item$fields24$Modal","_item$fields25","_item$fields25$Modal","_item$fields26","_item$fields26$Modal","_item$fields27","_item$fields27$Modal","_item$fields28","_item$fields28$Modal","_item$fields29","_item$fields29$Modal","_item$fields29$Modal$","_props$fields6$Slides","_props$fields6$Slides2","UseLatestPress","Button","CartModule","_commonCtx$product2","_commonCtx$productIma","_commonCtx$product5","_commonCtx$product6","_commonCtx$filterTran13","_commonCtx$filterTran14","_commonCtx$filterTran15","_commonCtx$filterTran16","_commonCtx$product7","_commonCtx$product7$x","_commonCtx$product8","_commonCtx$product8$x","_commonCtx$product9","quantity","setQuantity","setCurrentSlide","wishListBtn","setWishListBtn","accordions","setAccordions","versions","setVersions","colors","setColors","materials","setMaterials","measures","setMeasures","childproducts","categoryFamily","setCategoryFamily","categoryDescription","setCategoryDescription","categoryFamilyDescription","setCategoryFamilyDescription","onlyUnique","prodId","_childProducts$Items$","_childProducts$Items$2","_childProducts$Items$3","_childProducts$Items$4","CodeMisure","CodeColore","CodeVersione","mat","CodeMateriale","SpecificProduct","_commonCtx$filterTran","_commonCtx$filterTran2","_commonCtx$filterTran3","_commonCtx$filterTran4","selected","Value","_x$xp","_x$xp2","measure","_commonCtx$filterTran5","_commonCtx$filterTran6","_x$xp3","_x$xp4","_x$xp5","color","_commonCtx$filterTran7","_x$xp6","_x$xp7","_x$xp8","materiale","_commonCtx$filterTran8","_x$xp9","_x$xp10","_x$xp11","_commonCtx$filterTran9","qtyMultiplier","QuantityMultiplier","SlidePagination","ButtonArrow","setNewFilter","code","allFilters","Code","ValuesAdded","Options","_commonCtx$filterTran10","_commonCtx$filterTran11","toAdd","includes","_commonCtx$filterTran12","setNumberproductAndsetVariables","SliderArrow","idColore","idMateriale","idVersione","idMisure","newProduct","_x$xp12","_x$xp13","_x$xp14","_x$xp15","flexDirection","onNext","onPrev","htmlFor","decreaseQuantity","min","readOnly","increaseQuantity","namePdf","_commonCtx$product3","_commonCtx$product4","AccordionModuleAccessories","Pagination","pages","Math","ceil","lastPage","pagesArr","_","handlePrevClick","itemID","handleNextClick","CategoryResultsModule","searchResult","productsCard","setProductsCard","productsToShow","setProductsToShow","loadingProduct","setloadingProduct","isMobile","_commonCtx$getCategor","_commonCtx$getProduct","slice","_p$xp","_p$xp$ProductTranslat","_p$xp2","_p$xp3","_p$xp3$CategoryTransl","_p$xp4","_p$xp4$ProductTransla","classResult","preventDefault","currentTarget","onError","event","CategoryIcon","brandCode","dataClickElement","dataClickCta","dataDealerInfo","fillRule","clipRule","CallIcon","ContactIcon","DirectionIcon","strokeMiterlimit","NavigationIcon","ShareIcon","PositionIcon","fillColor","FaxIcon","WebsiteIcon","CrossIcon","clearInputSearch","LensIcon","onLensClick","brand","FilterIcon","CloseIcon","_props$site","_props$route","site","route","CheckDeviceType","screenWidth","isPortrait","matchMedia","matches","SetHeights","container","content","containerHeaderHeight","innerHeight","offsetHeight","zIndex","resetURL","URL","searchParams","delete","DealerCTA","dealer","sheetShort","mainCTA","dealerActivity","parentClassName","mainPhone","replaceAll","white","primary","eMail","dataClickCcta","physicalAddrStreet","physicalAddrPostalCode","getFormattedHours","weekDays","hours","formattedHours","openingHours","j","formattedDay","day","getCurrentDayIndex","today","getDay","convertFilterableFieldsInArray","filterableObject","filterableArray","_item$fields$Text","_item$fields$Text$val","createEmobilityFields","range","emobility","isFilterableObjectEmpty","string","rangeElem","elem","_elem$fields","_elem$fields$Text","_rangeElem$fields","_rangeElem$fields$Lab","_rangeElem$fields2","_rangeElem$fields2$Te","_rangeElem$fields3","_rangeElem$fields3$La","_rangeElem$fields4","_rangeElem$fields4$Te","_rangeElem$fields5","_rangeElem$fields5$Te","Label","count","finalString","_item$fields2$Text","_item$fields3$ShortLa","ShortLabel","getDealerActivity","_dealer$filterableFie","_dealer$filterableFie2","_dealer$filterableFie3","_dealer$filterableFie4","filterableFieldsDTO","activity","sales","service","DownloadSheetTemplate","_props$fields$BrandCo","_props$fields2$BrandL","_props$fields2$BrandL2","_props$fields3$BrandL","_props$fields3$BrandL2","_props$fields4$BrandL","_props$fields14","_props$fields14$ShowO","_props$fields15","_props$fields15$DS_Sh","_props$fields16","_props$fields16$DS_Sh","_props$fields17","_props$fields17$DS_Sh","_props$fields18","_props$fields18$DS_Sh","logoSrc","setLogoSrc","activityIcon","setActivityIcon","phoneIcon","setPhoneIcon","faxIcon","setFaxIcon","emailIcon","setEmailIcon","websiteIcon","setWebsiteIcon","setDealerActivity","services","setServices","rangeSales","setRangeSales","rangeServices","setRangeServices","emobilitySales","setEmobilitySales","emobilityServices","setEmobilityServices","application","setApplication","BrandCode","distanceUnit","logoUrl","BrandLogo","_dealer$filterableFie5","_dealer$filterableFie6","_props$fields12","_props$fields13","_activity$fields","_activity$fields$Labe","_activity$fields2","_activity$fields2$Lab","_activity$fields3","_activity$fields3$Tex","Font","register","RobotoRegular","DS_Services","DS_Range","eMobilitySales","DS_eMobility","eMobilityService","DS_Application","DS_Activity","convertToImage","renderToString","getColor","_service$fields","_service$fields$Image","_service$fields$Image2","_service$fields2","_service$fields2$Imag","_service$fields2$Imag2","svg","blob","Blob","createObjectURL","canvas","drawImage","toDataURL","colorVar","getComputedStyle","documentElement","getPropertyValue","styles","StyleSheet","justifyContent","backgroundColor","fontFamily","fontSize","section","paddingTop","paddingBottom","divider","borderTop","grey70","textGhost","textRegular","black","textPrimary","textBold","distance","tab","textAlign","tabActive","borderBottom","tabDisabled","opacity","grey50","marginRight","borderRadius","grey30","serviceRow","alignItems","serviceImage","IconRow","TabSectionContent","sectionName","tabName","View","_item$fields$Label","_item$fields2$Label","_item$fields3$Text","TabSection","Document","Page","size","objectFit","distanceKmText","distanceMiText","outletFullName","physicalAddrCity","fax","ShowOpeningHours","paddingRight","webSite","DS_ShowRange","DS_ShowEMobility","DS_ShowServices","_item$fields4$Label","_item$fields5$Label","_item$fields6$Text","_item$fields7$Image","_item$fields7$Image$v","_item$fields8$Image","_item$fields8$Image$v","maxHeight","DS_ShowApplication","_props$fields$Brand","_props$fields2$BrandC","_props$fields16$ShowD","_props$fields17$Deale","_props$fields18$ShowO","_props$fields19","_props$fields19$DS_Sh","_props$fields20","_props$fields20$DS_Sh","_props$fields21","_props$fields21$DS_Sh","_props$fields22","_props$fields22$DS_Sh","_props$fields23","_props$fields23$ShowS","expandedHours","setExpandedHours","currentDay","setCurrentDay","setSheetShort","setSales","setService","filterableServices","setFilterableServices","activeRangeTab","setActiveRangeTab","activeEmobilityTab","setActiveEmobilityTab","rangeLoader","setRangeLoader","emobilityLoader","setEmobilityLoader","Brand","_document$getElementB","bottom","handleClickOutside","onpopstate","closeDealerSheet","_document","_document$getElementB2","removeEventListener","_dealer$filterableFie7","_dealer$filterableFie8","_dealer$filterableFie9","_dealer$filterableFie10","dealerID","currentUrl","updateURLWithDealerID","_event$target","_event$target2","_document$getElementB3","_document$getElementB4","_document$getElementB5","_document$getElementB6","nodeName","openExtendedDealerSheet","openTab","activeTab","OpeningHours","todayIndex","shareDealer","clipboard","writeText","showToast","DistanceNameCategory","QuickActions","_props$fields12$Order","OrderCTA","_props$fields13$Enabl","_props$fields14$Enabl","_props$fields15$MainC","nameCTA","EnableEmailCTA","MainCTA","ShowDealerSheetImage","DealerSheetImage","closeExpandedHours","openExpandedHours","disabled","_item$fields7$Label","_item$fields8$Label","_item$fields9$Text","_item$fields10$Label","_item$fields11$Label","_item$fields12$Text","_item$fields13$Label","_item$fields14$Label","_item$fields15$Text","_item$fields16$Image","_item$fields16$Image$","_item$fields17$Image","_item$fields17$Image$","_item$fields18$Image","ShowSheetDownload","PDFDownloadLink","fileName","Filters","forwardRef","_document$querySelect","_document$querySelect2","_fields$ShowActivity","_fields$ShowRange","_fields$ShowEMobility","_fields$ShowServices","_fields$ShowApplicati","headerHeight","footerHeight","filtersChecked","setFiltersChecked","activityFilters","setActivityFilters","filterSections","items","show","ShowActivity","Range","ShowRange","eMobility","ShowEMobility","Services","ShowServices","Application","ShowApplication","useImperativeHandle","resetFilters","Activity","_elem$fields2","_elem$fields2$Text","initializeFiltersObject","showFilter","filterArray","filterObject","updateFiltersGA4","flattenObject","obj","flattened","subKey","updatedFilters","updateFilters","flattenedObject","filtersGA4","setFiltersGA4","track","locatorSearch","closeFilters","checked","OrderFilters","filterName","_item$fields4$FullLab","_item$fields5$FullLab","_item$fields6$FullTex","onCheckboxClick","filterFunction","FullLabel","FullText","clearFilters","baseUrl","createXMLHttpRequestGET","req","setRequestHeader","GetOutletDTOsByCoords","async","dealerId","lat","lon","langcode","radius","responseText","Cluster","strokeColor","xy","r","DealerLocatrModule","_props$google","_props$google$maps","_props$fields22$ShowI","_props$fields23$Image","_props$fields24","_props$fields24$NoMat","_props$fields25","_props$fields25$Enabl","_props$fields26","_props$fields26$NoMat","_props$fields27","_props$fields27$ShowB","_props$fields28","_props$fields28$Brand","_props$fields28$Brand2","_props$fields30","_props$fields30$Brand","_props$fields30$Brand2","_props$fields31","_props$fields31$Brand","_props$fields31$Brand2","_props$fields32","_props$fields32$Brand","_props$fields32$Brand2","_props$fields33","_props$fields34","_props$fields34$Brand","_props$fields34$Brand2","_props$fields35","_props$fields35$DS_Ac","_props$fields36","_props$fields36$ShowI","_props$fields37","_props$fields37$Image","_props$fields38","_props$fields38$NoMat","filteredData","entries","locatorFilters","values","_fields$Text","textValue","filtersRef","mapRef","searchedLocationTypeRef","loadedMap","setLoadedMap","countryIsoCode","setCountryIsoCode","userLocation","setUserLocation","userLocationPermission","setUserLocationPermission","initialCenter","setInitialCenter","searchResults","setSearchResults","searchResultsCache","setSearchResultsCache","markers","setMarkers","markersClusterer","setMarkersClusterer","selectedDealer","setSelectedDealer","noResults","setNoResults","errorMessage","setErrorMessage","loadSearchResults","setLoadSearchResults","setDistanceUnit","showLensIcon","setShowLensIcon","showDistanceSwitch","setShowDistanceSwitch","showLegend","setShowLegend","dealerSheetShort","setDealerSheetShort","showDealerSheet","setShowDealerSheet","showSearchThisAreaButton","setShowSearchThisAreaButton","filtersNumber","setFiltersNumber","setLocatorSearch","country","city","dealerName","AdvancedMarkerElement","google","maps","importLibrary","lensIconId","crossIconId","kmTabId","miTabId","geocoder","Geocoder","autocomplete","setProperty","brandColors","iveco","hover","light","medium","astra","fpt","loadBrandColors","metaViewPortContent","userAgent","getAttribute","setDealerLocatorHeight","regionNames","Intl","DisplayNames","axios","responseType","timeout","ip","_props$fields3$Defaul","_props$fields4$Defaul","of","DefaultCountry","getUserInitialPosition","_props$fields5$Defaul","_props$fields6$Defaul","strictBounds","_props$google2","_props$google2$maps","_props$google2$maps$e","places","Autocomplete","addListener","autocompleteHandler","clearInstanceListeners","address","searchDealerById","askLocationPermission","geocode","results","position","geometry","lng","isInEurope","countryIsInEurope","searchDealersByCoords","address_components","types","searchDealersByName","pos","loadMap","mapCenter","_props$google3","_props$google3$maps","_props$google3$maps$C","_props$google4","_props$google4$maps","_props$google4$maps$e","Map","zoom","center","mapId","disableDefaultUI","zoomControl","zoomControlOptions","ControlPosition","RIGHT_CENTER","setMapZoom","bounds","LatLngBounds","_mapRef$current","_mapRef$current2","extend","fitBounds","setZoom","dealerHeight","triggerSearch","countryCenter","geolocation","getCurrentPosition","coords","latitude","longitude","searchWithUserLocation","_props$fields7$Enable","EnableSearchOnStart","alert","_mapRef$current3","_mapRef$current4","_filtersRef$current","placeholder","setCenter","removeMarkers","filterKey","join","dataLayer","trackData","locator_search_info","trackLocatorSearch","findCountryLongName","addressComponents","countryComponent","component","long_name","findCityLongName","place","getPlace","locatorSearchInfo","europeCountries","short_name","formattedName","carattere","charAt","test","charCodeAt","convertInAsciiCode","GetOutletDTOsByName","_mapRef$current5","_filtersRef$current2","createMarkers","GetOutletDTOById","handleSearchResults","openDealerSheet","closeLocationPopup","placeType","_props$fields8$Countr","_props$fields9$ExtraE","_props$fields10$Regio","_props$fields11$Extra","_props$fields12$CityS","_props$fields13$Extra","_props$fields14$Addre","_props$fields15$Extra","_props$fields16$Defau","_props$fields17$Extra","CountrySearchRadius","ExtraEuropeanCountrySearchRadius","RegionSearchRadius","ExtraEuropeanRegionSearchRadius","CitySearchRadius","ExtraEuropeanCitySearchRadius","AddressSearchRadius","ExtraEuropeanAddressSearchRadius","DefaultSearchRadius","ExtraEuropeanSearchRadius","_filtersRef$current3","_mapRef$current8","calculateDistance","dealers","DistanceMatrixService","setkmDistances","straightDistance","distanceKmValue","setMiDistances","toFixed","distanceMiValue","getDistances","unitType","setDistancesFunction","_item","_item2","origins","destinations","travelMode","TravelMode","DRIVING","unitSystem","getDistanceMatrix","rows","elements","TRANSIT","_item3","_item4","straightLineDistance","UnitSystem","METRIC","IMPERIAL","destination","toRadians","degrees","PI","dLat","dLon","sin","cos","atan2","sqrt","Number","isFinite","distanceUnitRef","markersRef","markersArray","hasThunderbolt","dealerHasThunderBolt","contentMarker","Pin","thunderbolt","marker","infowindow","InfoWindow","openSheetShort","isMouseEntered","setContent","createInfowindowContent","ReactDOMServer","anchor","createClusters","myRenderer","_ref2","stats","_mapRef$current9","_props$fields18$ZoomL","_props$google8","_props$google8$maps","_props$google8$maps$M","_props$google9","_props$google9$maps","_props$google9$maps$e","_props$google10","_props$google10$maps","_props$google10$maps$","_props$google11","_props$google11$maps","_props$google11$maps$","myCluster","Marker","btoa","getZoom","ZoomLevelForPinsCluster","String","fontWeight","MAX_ZINDEX","getLabel","setIcon","setLabel","locatorSearchEvent","locatorSearchFilter","myAlgorithm","GridAlgorithm","gridSize","newClusterer","MarkerClusterer","renderer","algorithm","prevClusterer","clearMarkers","prevMarkers","setMap","changeMarkerState","addState","_markersRef$current$i","_svgPin$classList","_svgPin$classList2","svgPin","openSwitchTab","unit","_markersRef$current","BEV","filtersNumberRef","DealerListItem","_ref3","_props$fields19$MainC","_props$fields20$MainC","_props$fields21$MainC","onMouseEnter","changeMapBounds","_mapRef$current10","_mapRef$current11","_mapRef$current13","currentBounds","getBounds","newBounds","mapZoom","_mapRef$current12","union","animate","_mapRef$current14","_mapRef$current15","newZoom","max","onMouseLeave","LocationPopup","ImageCard","image","descriptionKey","grey90","openLocationPopup","popup","_props$google5","_props$google5$maps","_props$google5$maps$e","_props$google6","_props$google6$maps","_props$google6$maps$e","_props$google7","_props$google7$maps","_props$google7$maps$e","trigger","keyCode","ShowInitialImage","showMap","showFilters","NoMatchesFoundImage","EnableDistanceUnitSwitch","filterDealers","normalizeKey","checkEMobilityFiltersBySection","eMobilitySection","searchWithRange","partialMatchingFilters","activeRangeFields","rangeField","dealerEmobilityField","subcategory","checkEMobilityFilters","filterCategory","matchingFilters","eMobilitySalesResults","eMobilityServiceresults","Sale","Service","Sales","checkRangeFilters","formattedFilter","filteredDealers","startsWith","categoryInDTO","ShowBrandLogo","BrandLogoLink","_props$fields29","_props$fields29$Brand","_props$fields29$Brand2","cursor","onSearchThisAreaButtonClick","_mapRef$current6","_mapRef$current7","getCenter","locationType","_item$fields3$Label","_item$fields4$Text","showDealerList","DealerSheet","toast","_markersRef$current2","ShowInitialImageOnMobile","Component","MapComponent","GoogleApiWrapper","innerProps","_innerProps$sitecoreC","apiKey","TextOrImage","prop","innerProp","propKey","linktype","_props$fields$LogoMo","_props$fields$LogoMo$","_props$fields2$Logo","_props$fields2$Logo$v","_props$fields3$LogoM","_props$fields3$LogoM$","_props$fields4$Logo","_props$fields4$Logo$v","_props$fields5$LogoM","_props$fields5$LogoM$","_props$fields6$Logo","_props$fields6$Logo$v","_props$fields$TopLin","_props$fields$TopLin$","_props$fields$TopLin$2","_props$fields$TopLin2","_props$fields$TopLin3","_props$fields$TopLin4","_props$fields7$Column","_props$fields$SubLin","_props$fields$SubLin$","_props$fields$SubLin2","_props$fields$SubLin3","_props$fields$SubLin4","_props$fields$SubLin5","_props$fields$SubLin6","_props$fields$SubLin7","_props$fields$SubLin8","_props$fields$SubLin9","_props$fields$SubLin10","_props$fields$Bottom","_props$fields$Bottom$","_props$fields$Bottom$2","_props$fields$SubLin11","_props$fields$SubLin12","_props$fields$SubLin13","_props$fields$SubLin14","_props$fields$SubLin15","_props$fields$Bottom2","_props$fields$Bottom3","_props$fields$Bottom4","footerRef","_footerRef$current","Logo","Links","tl","_tl$fields","_tl$fields$Link","_tl$fields$Link$value","_tl$fields2","_tl$fields3","_tl$fields3$Link","_tl$fields3$Link$valu","_tl$fields4","_tl$fields4$Link","_tl$fields4$Link$valu","_tl$fields5","_tl$fields5$Link","_tl$fields5$Link$valu","_tl$fields6","_tl$fields6$Link","_tl$fields6$Link$valu","_tl$fields7","_tl$fields7$Link","_tl$fields7$Link$valu","_tl$fields8","_tl$fields8$Link","_tl$fields8$Link$valu","_tl$fields9","_tl$fields9$Link","_tl$fields9$Link$valu","class","Columns","el","_el$fields","_el$fields$Title","_el$fields2","_el$fields2$Links","_props$fields9$Button","_props$fields9$Button2","_props$fields9$Button3","_props$fields10$Butto","_props$fields10$Butto2","_props$fields10$Butto3","l","_l$fields","_l$fields$Link","_l$fields$Link$value","marginTop","Buttons","btn","z","_btn$fields","_btn$fields2","_btn$fields2$Link","_btn$fields2$Link$val","_btn$fields3","_btn$fields3$Link","_btn$fields3$Link$val","_btn$fields4","_btn$fields4$Iconcss","_btn$fields5","_btn$fields5$Icon","_btn$fields6","_btn$fields6$Iconcss","_btn$fields7","_btn$fields7$Icon","_btn$fields7$Icon$val","sl","_sl$fields","_sl$fields2","_sl$fields2$isCookieB","_sl$fields3","_sl$fields3$Link","_sl$fields3$Link$valu","_sl$fields4","_sl$fields4$Link","_sl$fields4$Link$valu","_sl$fields5","_sl$fields5$Link","_sl$fields5$Link$valu","_sl$fields6","_sl$fields6$Link","_sl$fields6$Link$valu","_sl$fields7","_sl$fields7$Link","_sl$fields7$Link$valu","_sl$fields8","_sl$fields8$Link","_sl$fields8$Link$valu","_sl$fields9","_sl$fields9$Link","_sl$fields9$Link$valu","Copyright","bl","_bl$fields","_bl$fields2","_bl$fields2$isCookieB","_bl$fields3","_bl$fields3$Link","_bl$fields3$Link$valu","_bl$fields4","_bl$fields4$Link","_bl$fields4$Link$valu","_bl$fields5","_bl$fields5$Link","_bl$fields5$Link$valu","_bl$fields6","_bl$fields6$Link","_bl$fields6$Link$valu","_bl$fields7","_bl$fields7$Link","_bl$fields7$Link$valu","_bl$fields8","_bl$fields8$Link","_bl$fields8$Link$valu","_bl$fields9","_bl$fields9$Link","_bl$fields9$Link$valu","_props$fields$FormDes","_props$fields2$FormDe","_props$fields3$FormDe","_props$rendering$fiel","_props$rendering2$fie","_props$fields5$FormT","_props$fields5$FormT$","_props$fields5$FormT$2","_props$fields6$FormT","_props$fields6$FormT$","_props$fields6$FormT$2","_props$rendering3$pla2","_props$fields9$Image","_props$fields9$Image$","_props$fields10$Image","_props$fields10$Image2","_props$fields11$Image","_props$fields11$Image2","_props$fields12$Image","_props$fields12$Image2","formRef","legalPolicies","FormDescriptor","Policies","btnText","Submit_button","forcehide","setForceHide","useHistory","collapsedImg","expandedImg","spinner","innerText","timer","setInterval","_formRef$current","_formRef$current2","clearInterval","replaceLabels","loginFormPromo","loginFormInputs","loginFormPromoButton","checkInputsValid","typeOfForm","thereIsForm","languageSelected","selectElement","_history$location","prevLang","letsChange","reload","checkErrorFETurkey","isSubmit","checkErrorFE","click","block","privacySection","privacyCheckboxes","labelCheck","checkbox","parentElement","checkErrorFEPoland","labels","firstInput","secondInput","mandatoryCheckbox","checkErrorFEBrazil","brazilForm","checkFormat","_target$parentElement","localBlock","elementValue","_target$parentElement2","_target$parentElement3","isNaN","_target$parentElement4","citySelect","select","_select$parentElement","_select$parentElement2","myPromise","_formRef$current3","_formRef$current4","_formRef$current5","_formRef$current6","_formRef$current9","_formRef$current10","_formRef$current11","HTMLInputElement","dispatchEvent","Event","bubbles","closest","isLangCombo","_formRef$current7","inputs","inputValue","formattedValue","_formRef$current8","insertAdjacentHTML","changeArrow","collapses","collapse","expandeds","expanded","expand","arrayOfElements","lengthOfArray","textContent","privacySections","Accept_label","Deny_label","getElementsByTagName","h5","firstChild","append","form","button","internalGenerateIdForGA","__JSS_STATE__","ssrRawJson","sitecore","_element$querySelecto","addCheckErrorFEPoland","addCheckErrorFETurkey","UPDATE_LANGUAGE","UPDATE_FORM","UPDATE_FIELD","UPDATE_SECTION","HIDE_BUTTON","UPDATE_CAPTCHA_STATUS","SET_LOADER","REMOVE_ERROR","CUSTOM_ERROR","UPDATE_SHOW_SECTION","updateFields","payload","updateCustomError","updateHideButton","UpdateConditionalFieldValue","UpdateConditionalSectionControls","UpdateCaptchaStatus","UpdateShowSectionStatus","ReCaptcha","dispatch","useDispatch","captcha","useSelector","state","expired","setExpired","invizibleCaptcha","cssClass","captchaRef","defer","ReCAPTCHA","sitekey","FieldTypesC","FieldTypes","Captcha","defaultFieldFactory","createDefaultFieldFactory","setComponent","Recaptcha","Dropdownfield","_props$errors","tracker","hasFocus","setHasFocus","setDdlValue","hasValueOrFocus","showEmptyItem","unshift","valueField","FieldValidationErrors","fieldValidationErrorsComponent","fieldValues","fieldKey","setTime","toUTCString","isValid","onFocus","onFocusField","onBlur","onBlurField","ACTION_CONTANTS","MATCH_TYPE_CONTANTS","OPERATOR_CONSTANTS","validate","operator","valueAgainst","operators","matchingTypes","shouldHide","conditions","fieldId","operatorId","matchTypeId","actionType","actionTypeId","handleActionType","SectionFeild","fieldFactory","itemId","stateFieldValues","stateConditions","showsection","IsVisible","IsSectionHide","checkConditions","defaultFieldFactoryBrasil","DropdownList","Section","SectionField","FieldValidationError","hasAnyError","isInternalUrl","JssForm","Form","delayScroll","scroll","onSubmit","_jssForm$form","_jssForm$form$formIte","_jssForm$form2","_jssForm$form2$formIt","jssForm","setLoader","rError","updateRemoveError","cError","nextForm","collectCurrentFieldValues","fieldName","elementWithCSSClass","findElementWithCSSClass","foundElement","formData","serializeForm","submitButtonName","submitButton","mergeOverwritingExisting","formItemId","uidRendering","newScLangValue","urlObject","setScLangValue","submitUrl","Error","submitForm","fetcher","formFetcher","ErrorElToBeFocused","success","redirectUrl","onRedirect","validationErrors","stateUpdate","setState","fieldEl","focus","resetFieldsState","metadata","connect","val","withRouter","shouldSkip","iterate","brasilForm","setBrasilForm","sitecoreApiHost","sitecoreApiKey","errorComponent","conditionsAggregator","constructor","conditionFields","buildConditions","fieldConditions","fieldItem","conditionItem","_this$conditionFields","actions","actionItem","_this$conditionFields2","aggrigate","conditionSettings","initialState","originalFields","hideButton","JssFormKey","loader","removeError","customError","rootReducer","ActionPayload","aggregator","cloneDeep","floor","random","MutatedFieldCollection","originalFieldsCollection1","findSectionField","innerField","mutatedSection","store","createStore","composeWithDevTools","applyMiddleware","thunk","SitecoreJssFormNew","_props$fields$LeftNav","_props$fields$LeftNav2","_props$fields2$RightN","_props$fields2$RightN2","leftNavigationList","LeftNavigationList","rightNavigationList","RightNavigationList","active","setActive","foundActive","arrow","openCloseMegaMenu","megaMenus","globalMenu","link","menu","getActiveClass","isCurrentNavigation","yes","_item$fields$MainButt","_item$fields$MainButt2","_item$fields2$Link","_item$fields2$Link$va","trim","MainButtonLink","_item$fields3$SubNavi","SubNavigationLinks","_item$fields3$SubNavi2","_element$fields","_element$fields$Link","_element$fields$Link$","globalMenuRef","_item$fields5$Link","_item$fields5$Link$va","_item$fields6$Iconcss","_item$fields7$Icon","_item$fields8$Iconcss","_item$fields9$Icon","_item$fields9$Icon$va","_item$fields10$Image","_item$fields10$Image$","_item$fields12$MainBu","_item$fields12$MainBu2","_item$fields13$MainBu","_item$fields13$MainBu2","_item$fields14$MainBu","_item$fields14$MainBu2","_item$fields15$MainBu","_item$fields15$MainBu2","_item$fields16$MainBu","_item$fields16$MainBu2","_item$fields17$MainBu","_item$fields17$MainBu2","_item$fields18$SubNav","_item$fields18$SubNav2","_item$fields20$Image","_item$fields20$Image$","_item$fields21$Image","_item$fields21$Image$","_item$fields22$Image","_item$fields22$Image$","_item$fields23$Image","_item$fields23$Image$","_item$fields24$Image","_item$fields24$Image$","_item$fields25$Image","_item$fields25$Image$","_item$fields28$Second","_item$fields28$Second2","_item$fields29$Second","_item$fields29$Second2","_item$fields30","_item$fields30$Second","_item$fields30$Second2","_item$fields31","_item$fields31$Second","_item$fields31$Second2","_item$fields32","_item$fields32$Second","_item$fields32$Second2","_item$fields33","_item$fields33$Second","_item$fields33$Second2","_item$fields34","_item$fields35","_item$fields35$MainBu","_item$fields35$MainBu2","_item$fields36","_item$fields36$MainBu","_item$fields36$MainBu2","_item$fields37","_item$fields37$MainBu","_item$fields37$MainBu2","_item$fields38","_item$fields38$MainBu","_item$fields38$MainBu2","_item$fields39","_item$fields39$MainBu","_item$fields39$MainBu2","_item$fields40","_item$fields40$MainBu","_item$fields40$MainBu2","_item$fields41","_item$fields41$Image","_item$fields41$Image$","_item$fields42","_item$fields42$SubNav","_item$fields42$SubNav2","_item$fields44","_item$fields44$Image","_item$fields44$Image$","_item$fields45","_item$fields45$Image","_item$fields45$Image$","_item$fields46","_item$fields46$Image","_item$fields46$Image$","_item$fields47","_item$fields47$Image","_item$fields47$Image$","_item$fields48","_item$fields48$Image","_item$fields48$Image$","_item$fields49","_item$fields49$Image","_item$fields49$Image$","_item$fields50","_item$fields51","_item$fields52","_item$fields52$Second","_item$fields52$Second2","_item$fields53","_item$fields53$Second","_item$fields53$Second2","_item$fields54","_item$fields54$Second","_item$fields54$Second2","_item$fields55","_item$fields55$Second","_item$fields55$Second2","_item$fields56","_item$fields56$Second","_item$fields56$Second2","_item$fields57","_item$fields57$Second","_item$fields57$Second2","_item$fields58","_item$fields58$Bottom","_item$fields58$Bottom2","_item$fields59","_item$fields59$Bottom","_item$fields59$Bottom2","_item$fields61","_item$fields61$Langua","_item$fields62","_item$fields63","_item$fields63$Iconcs","_item$fields64","_item$fields64$Icon","_item$fields65","_item$fields65$Iconcs","_item$fields66","_item$fields66$Icon","_item$fields66$Icon$v","_item$fields67","_item$fields67$Link","_item$fields67$Link$v","_item$fields68","_item$fields68$Icon","_item$fields68$Icon$v","_item$fields69","_item$fields70","_item$fields70$Link","_item$fields70$Link$v","_item$fields71","_item$fields71$Iconcs","_item$fields72","_item$fields72$Icon","_item$fields73","_item$fields73$Iconcs","_item$fields74","_item$fields74$Icon","_item$fields74$Icon$v","_item$fields75","_item$fields75$Link","_item$fields75$Link$v","_item$fields76","_item$fields76$Link","_item$fields76$Link$v","_item$fields77","_item$fields78","_item$fields78$Icon","_item$fields79","_item$fields79$Icon","_item$fields79$Icon$v","_el$fields$Link","_el$fields$Link$value","_el$fields2$Link","_el$fields2$Link$valu","_el$fields3","_el$fields3$Link","_el$fields3$Link$valu","_el$fields4","_el$fields4$Link","_el$fields4$Link$valu","_el$fields5","_el$fields5$Link","_el$fields5$Link$valu","_item$fields19$Image","_item$fields19$Image$","_el$fields6","_el$fields6$Image","_el$fields6$Image$val","_el$fields7","_el$fields7$Image","_el$fields7$Image$val","_el$fields8","_el$fields8$Image","_el$fields8$Image$val","_el$fields9","_el$fields9$Image","_el$fields9$Image$val","_el$fields10","_el$fields10$Image","_el$fields10$Image$va","_el$fields11","_el$fields11$Link","_el$fields11$Link$val","_el$fields12","_el$fields12$Iconcss","_el$fields13","_el$fields13$MobileI","_el$fields13$MobileI$","_el$fields14","_el$fields14$MobileI","_el$fields15","_el$fields15$Iconcss","_el$fields16","_el$fields16$Icon","_el$fields17","_el$fields17$Iconcss","_el$fields18","_el$fields18$Iconcss","_el$fields19","_el$fields19$Icon","_el$fields20","_el$fields20$Iconcss","_el$fields21","_el$fields21$Icon","_el$fields21$Icon$val","SecondaryButton","_el$fields22","_el$fields22$Link","_el$fields22$Link$val","_el$fields23","_el$fields23$Link","_el$fields23$Link$val","_el$fields24","_el$fields24$Link","_el$fields24$Link$val","_el$fields25","_el$fields25$Link","_el$fields25$Link$val","_el$fields26","_el$fields26$Link","_el$fields26$Link$val","_item$fields43","_item$fields43$Image","_item$fields43$Image$","_el$fields27","_el$fields27$Image","_el$fields27$Image$va","_el$fields28","_el$fields28$Image","_el$fields28$Image$va","_el$fields29","_el$fields29$Image","_el$fields29$Image$va","_el$fields30","_el$fields30$Image","_el$fields30$Image$va","_el$fields31","_el$fields31$Image","_el$fields31$Image$va","_el$fields32","_el$fields32$Link","_el$fields32$Link$val","_el$fields33","_el$fields33$Iconcss","_el$fields34","_el$fields34$Icon","_el$fields35","_el$fields35$Iconcss","_el$fields36","_el$fields36$Icon","_el$fields36$Icon$val","BottomButtonlist","_el$fields37","_el$fields37$Link","_el$fields37$Link$val","_el$fields38","_el$fields38$Link","_el$fields38$Link$val","_el$fields39","_el$fields39$Link","_el$fields39$Link$val","_el$fields40","_el$fields40$Link","_el$fields40$Link$val","_el$fields41","_el$fields41$Link","_el$fields41$Link$val","_el$fields42","_el$fields42$Link","_el$fields42$Link$val","_el$fields43","_el$fields43$Iconcss","_el$fields44","_el$fields44$Icon","_el$fields45","_el$fields45$Iconcss","_item$fields60","_item$fields60$Icon","_item$fields60$Icon$v","_item$fields80","_item$fields80$Link","_item$fields80$Link$v","_item$fields81","_item$fields81$Link","_item$fields81$Link$v","_item$fields82","_item$fields82$Link","_item$fields82$Link$v","_item$fields83","_item$fields83$Link","_item$fields83$Link$v","_item$fields84","_item$fields84$Link","_item$fields84$Link$v","_item$fields85","_item$fields85$Iconcs","_item$fields86","_item$fields86$Icon","_item$fields87","_item$fields87$Iconcs","_item$fields88","_item$fields88$Icon","_item$fields88$Icon$v","_item$fields89","_item$fields89$Link","_item$fields89$Link$v","_item$fields90","_item$fields90$Link","_item$fields90$Link$v","_item$fields91","_item$fields91$Icon","_item$fields91$Icon$v","IvecoBusMobileMenu","sublinks","mainTitle","_item$fields2$MainTi","_item$fields3$Sublink","Sublinks","_el$fields2$MainTitl","_el$fields3$MainTitl","_props$fields$Dissolv","_props$fields2$Global","_props$fields2$Global2","_props$fields2$Global3","_props$fields2$Global4","_props$fields3$Global","_props$fields3$Global2","_props$fields3$Global3","_props$fields3$Global4","_props$fields4$FontSi","_props$fields5$FontSi","_props$fields6$MenuL","_props$fields6$MenuL$","_props$fields$HideHea","_props$fields20$Logo","_props$fields20$Logo$","_props$fields21$LogoD","_props$fields21$LogoD2","_props$fields22$LogoD","_props$fields22$LogoD2","_props$fields23$Logo","_props$fields23$Logo$","_props$fields24$LogoD","_props$fields24$LogoD2","_props$fields25$LogoD","_props$fields25$LogoD2","_props$fields26$Logo","_props$fields26$Logo$","_props$fields27$Logo","_props$fields27$Logo$","_props$fields28$Logo","_props$fields28$Logo$","currentNav","useLocation","Dissolving","scrollRef","setOpen","GlobalMenuLeft","GlobalMenuRight","FontSizeOfLinksInPx","headerNavItems","navItems","showBurgerMenu","scrollDirection","setScrollDirection","lastScrollY","pageYOffset","updateScrollDirection","scrollY","direction","useScrollDirection","_scrollRef$current","headernew","_headernew$classList","_headernew$classList2","_headernew$classList3","_headernew$classList4","_headernew$classList5","_scrollRef$current2","clientHeight","hoveredItem","setHoveredItem","showLoaderNavigation","isInternal","navItemsWrapper","normalizeString","_item$fields$Button","_item$fields$Button$v","handleMouseLeave","onBurgerClick","_item$fields6$MainTi","_item$fields8$MainTi","_item$fields10$Button","_item$fields10$Button2","_item$fields11$Button","_item$fields11$Button2","_item$fields12$Button","_item$fields12$Button2","_item$fields13$Button","_item$fields13$Button2","_item$fields14$Button","_item$fields15$Button","_item$fields15$Button2","_item$fields16$Sublin","_hoveredItem$fields","_hoveredItem$fields$S","_hoveredItem$fields2","_hoveredItem$fields2$","_hoveredItem$fields2$2","_item$fields18$Image$","_hoveredItem$fields3","_hoveredItem$fields3$","_hoveredItem$fields3$2","_hoveredItem$fields4","_hoveredItem$fields4$","_hoveredItem$fields4$2","_hoveredItem$fields5","_hoveredItem$fields5$","_hoveredItem$fields5$2","_item$fields35$Link","_item$fields35$Link$v","_props$fields7$Active","_item$fields36$Link","_item$fields36$Link$v","_item$fields37$Link","_item$fields37$Link$v","_item$fields38$Link","_item$fields38$Link$v","_item$fields39$Link","_item$fields39$Link$v","_item$fields40$Link","_item$fields40$Link$v","_item$fields41$Link","_item$fields41$Link$v","_item$fields42$Link","_item$fields42$Link$v","_item$fields43$Link","_item$fields43$Link$v","_item$fields44$Link","_item$fields44$Link$v","_item$fields45$Link","_item$fields45$Link$v","_item$fields46$Link","_item$fields46$Link$v","_item$fields47$Link","_item$fields47$Link$v","_item$fields48$Link","_item$fields48$Link$v","_el$fields5$MainTitl","handleMouseEnter","_el$fields6$Link","_el$fields6$Link$valu","_el$fields7$Link","_el$fields7$Link$valu","_el$fields8$Link","_el$fields8$Link$valu","_el$fields10$MainTit","_item$fields34$Link","_item$fields34$Link$v","Activeonsubpages","_item$fields50$Link","_item$fields50$Link$v","_item$fields51$Iconcs","_item$fields52$Icon","_item$fields53$Iconcs","_item$fields54$Icon","_item$fields54$Icon$v","_item$fields55$SubNav","_item$fields55$SubNav2","_item$fields55$SubNav3","_item$fields69$Link","_item$fields69$Link$v","_item$fields71$Link","_item$fields71$Link$v","_item$fields72$Link","_item$fields72$Link$v","_item$fields75$Iconcs","_item$fields76$Icon","_item$fields76$Icon$v","_item$fields77$Link","_item$fields77$Link$v","_item$fields78$Link","_item$fields78$Link$v","_el$fields27$Link","_el$fields27$Link$val","_el$fields28$MobileI","_el$fields29$MobileI","_el$fields30$Iconcss","_el$fields31$Icon","_el$fields32$Iconcss","_el$fields33$Link","_el$fields33$Link$val","_item$fields68$Link","_item$fields68$Link$v","_item$fields93","_item$fields93$Link","_item$fields93$Link$v","_item$fields94","_item$fields94$Link","_item$fields94$Link$v","_item$fields95","_item$fields95$Link","_item$fields95$Link$v","_item$fields96","_item$fields96$Link","_item$fields96$Link$v","_item$fields97","_item$fields97$Iconcs","_item$fields98","_item$fields98$Icon","_item$fields99","_item$fields99$Iconcs","_item$fields100","_item$fields100$Icon","_item$fields100$Icon$","_item$fields101","_item$fields101$Link","_item$fields101$Link$","_item$fields102","_item$fields102$Link","_item$fields102$Link$","_item$fields103","_item$fields103$Icon","_item$fields103$Icon$","_item$fields92","_item$fields92$Link","_item$fields92$Link$v","showOnlyLoaderNavigation","LogoDark","_props$fields$Link","_props$fields$Link$va","_props$fields4$Fullpa","_props$fields5$Includ","isRendered","setIsRendered","Fullpage","readyState","Includeqs","requrl","qs","regexUrl","allow","_props$fields2$Cookie","Languages","showBar","setShowBar","isCookie","CookieName","targetValue","sortLanguages","handleClick","_props$fields3$Cookie","langValue","Question","_item$fields$Language","_item$fields3$Languag","_item$fields4$LinkSe","_item$fields4$LinkSe$","_item$fields6$Languag","_item$fields7$LinkNo","_item$fields7$LinkNo$","_props$rendering$plac","_props$rendering$plac2","percentage","howMuchLeftColumn","round","leftColumn","rightColumn","isPageHeader","thereIsSidebar","bool","setIsMobile","ismobile","_Default$fields","_Default$fields2","_Default$fields2$Titl","_props$fields3$HideS","Search","Default","DefaultLinks","DefaultTitle","showSelect","setSelected","renderRecord","setRenderRecord","accordioNumber","_Search$","_Search$$fields","_Search$$fields$Title","_item$fields$Title","scrollHeight","scrollTo","linksListRef","_item$fields3$Title","_item$fields4$Title","_props$fields6$Open","_item$fields6$Link","_item$fields6$Link$va","_item$fields7$Link","_item$fields7$Link$va","_item$fields8$Link","_item$fields8$Link$va","_item$fields9$Link","_item$fields9$Link$va","_item$fields10$Link","_item$fields10$Link$v","_props$fields7$LinkI","_props$fields7$LinkI$","_props$fields8$Open","_item$fields11$Link","_item$fields11$Link$v","_item$fields12$Link","_item$fields12$Link$v","_item$fields13$Link","_item$fields13$Link$v","_item$fields14$Link","_item$fields14$Link$v","_item$fields15$Link","_item$fields15$Link$v","_item$fields16$Link","_item$fields16$Link$v","_props$fields9$LinkI","_props$fields9$LinkI$","_item$fields17$Link","_item$fields17$Link$v","_item$fields18$Link","_item$fields18$Link$v","_item$fields19$Link","_item$fields19$Link$v","_item$fields20$Link","_item$fields20$Link$v","_item$fields21$Link","_item$fields21$Link$v","_item$fields22$Link","_item$fields22$Link$v","_props$fields11$Link","_props$fields11$Link$","LoadMore","loadMore","PageHeaderModule","_data$fields","_data$fields$Theme","_data$fields2","_data$fields2$Opacity","_data$rendering","_data$fields3","_data$fields3$Backgro","_data$fields3$Backgro2","_data$fields4","_data$fields4$Backgro","_data$fields4$Backgro2","_data$fields5","_data$fields5$Backgro","_data$fields5$Backgro2","_data$fields6","_data$fields6$Backgro","_data$fields6$Backgro2","PageTitleModule","categoryTranslation","setCategoryTranslation","catId","newProps","SearchResultsModule","_props$fields$apidata","_props$fields$apidata2","_commonCtx$getContext","_props$fields2$apidat","_props$fields3$apidat","_props$fields4$apidat","isSearchPage","setIsSearchPage","apidata","searchPage","itemPath","absoluteSearchPageUrl","setAbsoluteSearchUrl","searchUrl","setSearchUrl","loadingResults","setLoadingResults","valueqT","qT","setValueQt","valSearch","searchRef","searchTitle","activeFieldSet","removeActiveFieldSet","onKeyUp","goToSearchPage","SearchResults","SearchWithFilters","_commonCtx$filters","firstLoad","setFirstLoad","selectedOptions","setSelectedOptions","isModal","setModal","modalRef","previousScrollOffset","getDefaultValue","resultsCheckboxes","scrollTop","handleCloseModal","handleConfirmFilters","selectedOption","f","handleOpenModal","getOptions","opt","localeCompare","isClearable","isSearchable","handleChangeFilter","defaultValue","handleChangeCheckbox","_modalRef$current","findIndex","updatedOptions","splice","updatedOption","_commonCtx$products","_commonCtx$products2","BaseTextField","setValue","emailRegex","hasCustomError","TextField","EmailField","NumberField","TelephoneField","PasswordField","hasVisiblePassword","setHasVisiblePassword","MultipleLineTextField","maxLength","CheckboxField","IsChecked","ChangedChecked","_e$target$checked","_e$target$checked2","currentLang","expires","margin","checkBoxListField","columnNumber","marginBottom","generateCheckBoxes","Checkboxitems","columnCount","chkbxTds","originalFieldValue","changedElement","callback","handleOnChange","checkBoxtds","RadioButtonListField","newValue","valid","errorMessages","required","TextViewField","textField","publicKey","SingleLineText","Email","Telephone","Password","MultipleLineText","Checkbox","CheckboxList","RadioButtonList","FieldWrapper","hasRadioBtn","fieldTypeItemId","BiInfoCircle","Spinner","fieldWrapperComponent","fieldWrapper","description","_this$fields","_this$fields2","textPosition","_this$fields3","_this$fields3$Alignme","_this$fields3$Alignme2","_props$fields$TagTit","_props$fields2$Strong","_model$textPosition","_model$textPosition2","tagTitle","strongTitle","setProductID","_commonCtx$categoryTr","_commonCtx$categoryTr2","TextModule","WishlistModule","_commonCtx$products3","setSearchProducts","productCookies","components","componentFactory","BreadcrumbModuleAccessories","CardModuleFullAccessories","CardsCarouselModuleAccessories","CardsGridModule","CarouselModule","DealerLocatorModule","FooterModule","FormContainerModule","FormModule","GlobalMenuModule","HeaderModule","HeroSliderModule","IFrameModule","LanguageBarModule","LayoutTwoColumnsModule","LinksListModule","PageHeaderModuleAccessories","SearchModule","SitecoreJssForm","TextingModule","TextModuleAccessories","dataFetcher","withCredentials","Layout","_route$fields$MatomoI","_route$fields$MatomoT","_context$ContextExten9","_route$fields5","_route$fields5$MetaTi","_route$fields6","_route$fields6$Extend","_route$fields6$Extend2","_route$fields6$Extend3","_route$fields$MetaKey","_route$fields$MetaBra","_route$fields7","_route$fields7$MetaTi","_route$fields8","_route$fields8$Extend","_route$fields8$Extend2","_route$fields8$Extend3","_route$fields$MetaUrl","_route$fields$MetaIma","_route$fields$MetaIma2","_route$fields$MetaTyp","_route$fields$MetaBra2","_route$fields$MetaSit","_route$fields9","_route$fields9$MetaTi","_route$fields10","_route$fields10$Exten","_route$fields10$Exten2","_route$fields10$Exten3","_route$fields$MetaBra3","_route$fields$MetaIma3","_route$fields$MetaIma4","_route$fields11","_route$fields11$Canon","_route$fields11$Canon2","_route$fields$MetaUrl2","_route$fields12","_route$fields13","_route$fields13$Alter","mounted","forceRender","setForceRender","matomoId","matomoTagManagerContainer","injectScriptsFromHTMLString","tpl","child","node","tagName","script","attr","attrs","attributes","cloneNode","head","appendChild","_window$location","_window$location2","_window$location3","_context$ContextExten","_context$ContextExten2","g","rel","favicon","_context$ContextExten3","_context$ContextExten6","_route$fields","_route$fields2","_route$fields2$PageS","_route$fields3","_route$fields3$PageS","_context$ContextExten4","_context$ContextExten5","_context$ContextExten7","_context$ContextExten8","_route$fields4","_route$fields4$PageS","headscript","onetrustscript","hardInjectScriptFromString","_mtm","insertBefore","_paq","u","customElements","whenDefined","PfeIcon","newSetPath","newResolveNameFn","setName","addIconSet","defaultThemeSetInfo","resolveIconName","root","bodyscript","Helmet","MetaTitle","ExtendedMetaData","BrandName","property","CanonicalLink","AlternateLinks","hrefLang","firstItem","cloneElement","isFirst","_item$props","_item$props$rendering","vbar","propsAreEqual","prevProps","nextProps","deepEqual","memo","NotFound","RouteHandler","_routeData$context","super","notFound","defaultLanguage","config","routeData","extractRouteData","componentIsMounted","languageIsChanging","componentDidMount","ssrRenderComplete","updateRouteData","setSsrRenderComplete","componentWillUnmount","showLoader","hideLoader","_this$props$sitecoreC","_this$props$sitecoreC2","sitecoreRoutePath","sitecoreRoute","siteName","jssAppName","getLangFromCookie","fetchOptions","layoutServiceConfig","querystringParams","sc_lang","sc_apikey","sc_site","dataApi","fetchRouteData","getRouteData","updateSitecoreContext","elTwo","updateLanguage","newLanguage","i18n","forceUpdate","hasLangChanged","_this$props$route","_this$props$route$loc","_this$props$route$loc2","_this$props$route$loc3","forceReload","componentDidUpdate","previousProps","existingRoute","newRoute","isExperienceEditorActive","updatable","routePatterns","AppRoot","contextFactory","SitecoreContextFactory","ssrState","setSitecoreContext","Router","graphQLClient","SetSsrRenderComplete","routeRenderFunction","ApolloProvider","client","SitecoreContext","Switch","routePattern","Route","renderFunction","initLanguage","_JSS_STATE__$sitecor","_JSS_STATE__$sitecor$","_JSS_STATE__$sitecor2","_JSS_STATE__$sitecor3","hydrate","metaTagScript","initialGraphQLState","APOLLO_STATE","endpoint","ssr","initialCacheState","createPersistedQueryLink","BatchHttpLink","uri","credentials","cache","InMemoryCache","fragmentMatcher","IntrospectionFragmentMatcher","introspectionQueryResultData","ApolloClient","ssrMode","ssrForceFetchDelay","restore","GraphQLClientFactory","graphQLEndpoint","i18ninit","_JSS_STATE__","_JSS_STATE__$sitecore","_JSS_STATE__$sitecore2","_JSS_STATE__$sitecore3","_JSS_STATE__$sitecore4","appName","rootElement","BrowserRouter","Loadable","preloadReady","module","ua","imageUrl","deviceWidth","scalingMultiplier","_imageUrl$split","setCookie","getCookie","latestCookie","_document$cookie","_document$cookie$spli","_document$cookie$spli2","cki","checkConsent","_cookie$split$find","_groupsConsent$split","groupsConsent","allConsent","CookiesVideoDisclaimerWrapper","notVideo","acceptedCookies","CookiesVideoDisclaimer","allowVideo","hasMoreOpacity","topZero","_data$params","_data$fields$TagTitl","_data$fields2$Strong","_data$fields3$isLongT","_data$fields5$IconLe","_data$fields5$IconLe$","_data$fields6$IconLe","_data$fields6$IconLe$","_data$fields7","_data$fields7$IconLe","_data$fields7$IconLe$","_data$fields8","_data$fields8$IconLe","_data$fields8$IconLe$","_data$fields9","_data$fields9$IconLe","_data$fields9$IconLe$","_data$fields10","_data$fields10$IconL","_data$fields10$IconL$","_data$fields11","_data$fields11$IconL","_data$fields11$IconL$","_data$fields12","_data$fields12$Descri","_data$fields13","_data$fields14","_data$fields15","_data$fields16","_data$rendering2","_data$fields17","_data$fields17$IconL","_data$fields17$IconL$","_data$fields18","_data$fields18$IconL","_data$fields18$IconL$","_data$fields19","_data$fields19$IconL","_data$fields19$IconL$","_data$fields20","_data$fields20$IconL","_data$fields20$IconL$","_data$fields21","_data$fields21$Descri","_data$fields22","_data$fields23","_data$fields24","_data$fields25","isLongTitle","isPressReleasePage","_data$fields4$Theme","TextModule_model_1","isEE","link1","link2","eyebrow","abstract","subtitle","bodyText","textSize"],"mappings":"k8BACA,IAAIA,EAAYC,MAAQA,KAAKD,UAAa,WAStC,OARAA,EAAWE,OAAOC,QAAU,SAASC,GACjC,IAAK,IAAIC,EAAGC,EAAI,EAAGC,EAAIC,UAAUC,OAAQH,EAAIC,EAAGD,IAE5C,IAAK,IAAII,KADTL,EAAIG,UAAUF,GACOJ,OAAOS,UAAUC,eAAeC,KAAKR,EAAGK,KACzDN,EAAEM,GAAKL,EAAEK,IAEjB,OAAON,CACX,EACOJ,EAASc,MAAMb,KAAMO,UAChC,EACIO,EAAmBd,MAAQA,KAAKc,kBAAqBb,OAAOc,OAAU,SAASC,EAAGC,EAAGC,EAAGC,QAC7EC,IAAPD,IAAkBA,EAAKD,GAC3B,IAAIG,EAAOpB,OAAOqB,yBAAyBL,EAAGC,GACzCG,KAAS,QAASA,GAAQJ,EAAEM,WAAaF,EAAKG,UAAYH,EAAKI,gBAClEJ,EAAO,CAAEK,YAAY,EAAMC,IAAK,WAAa,OAAOV,EAAEC,EAAI,IAE5DjB,OAAO2B,eAAeZ,EAAGG,EAAIE,EACjC,EAAM,SAASL,EAAGC,EAAGC,EAAGC,QACTC,IAAPD,IAAkBA,EAAKD,GAC3BF,EAAEG,GAAMF,EAAEC,EACd,GACIW,EAAsB7B,MAAQA,KAAK6B,qBAAwB5B,OAAOc,OAAU,SAASC,EAAGc,GACxF7B,OAAO2B,eAAeZ,EAAG,UAAW,CAAEU,YAAY,EAAMK,MAAOD,GACnE,EAAK,SAASd,EAAGc,GACbd,EAAW,QAAIc,CACnB,GACIE,EAAgBhC,MAAQA,KAAKgC,cAAiB,SAAUC,GACxD,GAAIA,GAAOA,EAAIV,WAAY,OAAOU,EAClC,IAAIC,EAAS,CAAC,EACd,GAAW,MAAPD,EAAa,IAAK,IAAIf,KAAKe,EAAe,YAANf,GAAmBjB,OAAOS,UAAUC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AAU,IAClC,CAiBA,OAhBAtpB,OAAO2B,eAAeukC,EAAyBzlC,UAAW,QAAS,CAC/DiB,IAAK,WACD,IAAIsB,EACJ,OAA8B,QAAtBA,EAAKjD,KAAKupB,cAA2B,IAAPtmB,OAAgB,EAASA,EAAG0T,KACtE,EACAjV,YAAY,EACZD,cAAc,IAElBxB,OAAO2B,eAAeukC,EAAyBzlC,UAAW,OAAQ,CAC9DiB,IAAK,WACD,IAAIsB,EACJ,OAA8B,QAAtBA,EAAKjD,KAAK2E,cAA2B,IAAP1B,OAAgB,EAASA,EAAGgf,IACtE,EACAvgB,YAAY,EACZD,cAAc,IAEX0kC,CACX,CAtB8C,GAuB9C/jC,EAAQ+jC,yBAA2BA,C","file":"static/js/19.3ae603aa.chunk.js","sourcesContent":["\"use strict\";\r\nvar __assign = (this && this.__assign) || function () {\r\n __assign = Object.assign || function(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\r\n t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\r\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n}) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n}));\r\nvar __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n}) : function(o, v) {\r\n o[\"default\"] = v;\r\n});\r\nvar __importStar = (this && this.__importStar) || function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n};\r\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar react_1 = __importStar(require(\"react\"));\r\nvar sitecore_jss_react_1 = require(\"@sitecore-jss/sitecore-jss-react\");\r\nvar react_slick_1 = __importDefault(require(\"react-slick\"));\r\nvar lazy_1 = __importDefault(require(\"react-player/lazy\"));\r\nvar index_1 = __importDefault(require(\"../PageTitleModule/index\"));\r\nvar useOnCookieChange_1 = require(\"../../hooks/useOnCookieChange\");\r\nvar useCookieAllowVideo_1 = require(\"../../hooks/useCookieAllowVideo\");\r\nvar CookiesVideoDisclaimerWrapper_1 = __importStar(require(\"../../react-only-components/CookiesVideoDisclaimerWrapper\"));\r\nvar react_lazy_load_image_component_1 = require(\"react-lazy-load-image-component\");\r\nrequire(\"./index.scss\");\r\nvar HeroSliderModule = function (props) {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t;\r\n var _u = (0, react_1.useState)(1), currentIndex = _u[0], setCurrentIndex = _u[1];\r\n var _v = (0, react_1.useState)(false), playVideo = _v[0], setVideoPlay = _v[1];\r\n var autoplaySpeed = ((_b = (_a = props === null || props === void 0 ? void 0 : props.fields) === null || _a === void 0 ? void 0 : _a[\"Transaction Time\"]) === null || _b === void 0 ? void 0 : _b.value)\r\n ? parseInt((_d = (_c = props === null || props === void 0 ? void 0 : props.fields) === null || _c === void 0 ? void 0 : _c[\"Transaction Time\"]) === null || _d === void 0 ? void 0 : _d.value)\r\n : 5000;\r\n var progressRef = (0, react_1.useRef)();\r\n var isExpEditorEnabled = props.sitecoreContext.pageEditing;\r\n var slider = (0, react_1.useRef)(null);\r\n var videoRef = (0, react_1.useRef)(null);\r\n var scrollIcon = (0, react_1.useRef)(null);\r\n var _w = (0, react_1.useState)(0), innerInternalWidth = _w[0], setInnerInternalWidth = _w[1];\r\n (0, react_1.useEffect)(function () {\r\n showProgressbar();\r\n if (typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", function () { setInnerInternalWidth(window.innerWidth); });\r\n }\r\n }, []);\r\n var SampleNextArrow = function (props) {\r\n if (isExpEditorEnabled == false) {\r\n var className = props.className, style = props.style, onClick = props.onClick;\r\n return (react_1.default.createElement(\"div\", { className: className, style: __assign({}, style), onClick: onClick }));\r\n }\r\n else {\r\n return react_1.default.createElement(\"div\", null);\r\n }\r\n };\r\n var SamplePrevArrow = function (props) {\r\n if (isExpEditorEnabled == false) {\r\n var className = props.className, style = props.style, onClick = props.onClick;\r\n return (react_1.default.createElement(\"div\", { className: className, style: __assign({}, style), onClick: onClick }));\r\n }\r\n else {\r\n return react_1.default.createElement(\"div\", null);\r\n }\r\n };\r\n var heroSlider = (_e = props === null || props === void 0 ? void 0 : props.fields) === null || _e === void 0 ? void 0 : _e.Slides;\r\n var settings = {\r\n arrows: isExpEditorEnabled == true ? false : true,\r\n dots: false,\r\n fade: true,\r\n swipe: true,\r\n lazyLoad: 'progressive',\r\n slidesToScroll: 1,\r\n slidesToShow: 1,\r\n nextArrow: react_1.default.createElement(SampleNextArrow, null),\r\n prevArrow: react_1.default.createElement(SamplePrevArrow, null),\r\n infinite: true,\r\n autoHeight: true,\r\n autoplay: true,\r\n autoplaySpeed: autoplaySpeed,\r\n pauseOnHover: false,\r\n };\r\n var hideProgress = function () {\r\n var progresBar = progressRef.current;\r\n progresBar.style.display = \"none\";\r\n progresBar.style.animationDuration = \"\";\r\n };\r\n var showProgressbar = function (duration) {\r\n var progresBar = progressRef.current;\r\n progresBar.style.display = \"block\";\r\n progresBar.style.animationDuration = \"\".concat(duration ? duration : autoplaySpeed, \"ms\");\r\n };\r\n var beforeChange = function () {\r\n var activeSlide = getActiveSlide(slider.current.innerSlider.list);\r\n var isVideoOnSlide = activeSlide.querySelector(\"video\");\r\n hideProgress();\r\n if (isVideoOnSlide) {\r\n isVideoOnSlide.load();\r\n isVideoOnSlide.pause();\r\n // setVideoPlay(false);\r\n }\r\n };\r\n var afterChange = function (currentSlide) {\r\n var _a;\r\n var activeSlide = getActiveSlide(slider.current.innerSlider.list);\r\n var isVideoOnSlide = activeSlide.querySelector(\"video\");\r\n if (isVideoOnSlide &&\r\n heroSlider[currentSlide] &&\r\n heroSlider[currentSlide].fields &&\r\n heroSlider[currentSlide].fields[\"Image\"] &&\r\n heroSlider[currentSlide].fields[\"Image\"].value &&\r\n heroSlider[currentSlide].fields[\"Image\"].value.src) {\r\n isVideoOnSlide.setAttribute(\"poster\", heroSlider[currentSlide].fields[\"Image\"].value.src);\r\n }\r\n setCurrentIndex(currentSlide + 1);\r\n if (isVideoOnSlide) {\r\n // setVideoPlay(true);\r\n isVideoOnSlide.play();\r\n // isVideoOnSlide.load();\r\n if (videoRef && videoRef.current)\r\n showProgressbar(videoRef.current.getDuration() * 1000);\r\n return;\r\n }\r\n else {\r\n setVideoPlay(false);\r\n (_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slickPlay();\r\n }\r\n showProgressbar();\r\n };\r\n var getActiveSlide = function (sliderObj) {\r\n var activeSlide = Array.from(sliderObj.querySelectorAll(\".slick-slide\")).filter(function (s) { return s.classList.contains(\"slick-active\"); });\r\n return activeSlide[0];\r\n };\r\n var videoEnd = function () {\r\n var _a, _b;\r\n (_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slickPlay();\r\n (_b = slider === null || slider === void 0 ? void 0 : slider.current) === null || _b === void 0 ? void 0 : _b.slickNext();\r\n };\r\n var onVideoPlay = function () {\r\n var _a;\r\n (_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slickPause();\r\n };\r\n var scrollTo = function () {\r\n scrollIcon.current.nextSibling.scrollIntoView({\r\n behavior: \"smooth\",\r\n top: \"start\",\r\n });\r\n };\r\n var openInNewTab = function (url, target) {\r\n if (isExpEditorEnabled == false) {\r\n if (url) {\r\n var t = target != undefined && target != \"\" ? target : \"_self\";\r\n window.open(url, t, \"noopener,noreferrer\");\r\n }\r\n }\r\n };\r\n var placePoster = function () {\r\n if (typeof window !== \"undefined\") {\r\n var activeSlide = getActiveSlide(slider.current.innerSlider.list);\r\n var isVideoOnSlide = activeSlide === null || activeSlide === void 0 ? void 0 : activeSlide.querySelector(\"video\");\r\n if (isVideoOnSlide &&\r\n heroSlider[currentIndex - 1] &&\r\n heroSlider[currentIndex - 1].fields &&\r\n heroSlider[currentIndex - 1].fields[\"Image\"] &&\r\n heroSlider[currentIndex - 1].fields[\"Image\"].value &&\r\n heroSlider[currentIndex - 1].fields[\"Image\"].value.src) {\r\n isVideoOnSlide.setAttribute(\"poster\", heroSlider[currentIndex - 1].fields[\"Image\"].value.src);\r\n }\r\n }\r\n };\r\n var onInit = function () {\r\n if (typeof window !== \"undefined\") {\r\n var activeSlide = getActiveSlide(slider.current.innerSlider.list);\r\n var isVideoOnSlide = document === null || document === void 0 ? void 0 : document.querySelector(\"video\");\r\n if (activeSlide.contains(isVideoOnSlide)) {\r\n // setVideoPlay(true);\r\n isVideoOnSlide.play();\r\n showProgressbar((isVideoOnSlide === null || isVideoOnSlide === void 0 ? void 0 : isVideoOnSlide.duration) * 1000);\r\n }\r\n }\r\n };\r\n var consent = (0, useOnCookieChange_1.useOnCookieChange)();\r\n var cookiesAllowVideo = (0, useCookieAllowVideo_1.useCookiesAllowVideo)(consent);\r\n return (react_1.default.createElement(react_1.default.Fragment, null,\r\n react_1.default.createElement(\"section\", { ref: scrollIcon, className: \"hero-slider-module\", id: (_f = props === null || props === void 0 ? void 0 : props.rendering) === null || _f === void 0 ? void 0 : _f.dataSource },\r\n react_1.default.createElement(react_slick_1.default, __assign({}, settings, { ref: slider, beforeChange: beforeChange, afterChange: afterChange }), heroSlider.map(function (item, i) {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59, _60, _61, _62, _63, _64, _65, _66, _67, _68, _69, _70, _71, _72, _73, _74, _75, _76, _77, _78, _79, _80, _81, _82, _83, _84, _85, _86, _87, _88, _89, _90, _91, _92, _93, _94, _95, _96, _97, _98, _99, _100, _101, _102, _103, _104, _105, _106, _107, _108, _109, _110, _111, _112, _113, _114, _115, _116, _117, _118, _119, _120, _121, _122, _123, _124, _125, _126, _127, _128, _129, _130, _131, _132, _133, _134, _135, _136, _137, _138, _139, _140, _141, _142, _143, _144, _145, _146, _147, _148, _149, _150, _151, _152, _153, _154, _155, _156, _157, _158, _159, _160, _161, _162, _163, _164, _165, _166, _167, _168, _169, _170, _171, _172, _173, _174, _175, _176, _177, _178, _179, _180, _181, _182, _183, _184, _185, _186, _187, _188, _189, _190, _191, _192;\r\n return (react_1.default.createElement(\"div\", { key: i, \"data-selected\": i + 1, onClick: function () {\r\n var _a, _b, _c, _d, _e, _f;\r\n return openInNewTab((_c = (_b = (_a = item === null || item === void 0 ? void 0 : item.fields) === null || _a === void 0 ? void 0 : _a.Link) === null || _b === void 0 ? void 0 : _b.value) === null || _c === void 0 ? void 0 : _c.href, (_f = (_e = (_d = item === null || item === void 0 ? void 0 : item.fields) === null || _d === void 0 ? void 0 : _d.Link) === null || _e === void 0 ? void 0 : _e.value) === null || _f === void 0 ? void 0 : _f.target);\r\n }, className: \"hero-slider-wrapper \" +\r\n ((_b = (_a = item === null || item === void 0 ? void 0 : item.fields) === null || _a === void 0 ? void 0 : _a.Theme) === null || _b === void 0 ? void 0 : _b.value) +\r\n \" \" +\r\n ((_d = (_c = item === null || item === void 0 ? void 0 : item.fields) === null || _c === void 0 ? void 0 : _c.Opacity) === null || _d === void 0 ? void 0 : _d.value) +\r\n \" \" +\r\n (isExpEditorEnabled == false ? \"no-exp-editor\" : \"\") }, ((_g = (_f = (_e = item === null || item === void 0 ? void 0 : item.fields) === null || _e === void 0 ? void 0 : _e.Video) === null || _f === void 0 ? void 0 : _f.value) === null || _g === void 0 ? void 0 : _g.src) && (innerInternalWidth > 640 || ((_j = (_h = item === null || item === void 0 ? void 0 : item.fields) === null || _h === void 0 ? void 0 : _h[\"UseImageMobile\"]) === null || _j === void 0 ? void 0 : _j.value) == false) ? (react_1.default.createElement(react_1.default.Fragment, null,\r\n false ? (react_1.default.createElement(CookiesVideoDisclaimerWrapper_1.CookiesVideoDisclaimerWrapper, { acceptedCookies: cookiesAllowVideo },\r\n react_1.default.createElement(CookiesVideoDisclaimerWrapper_1.default, { allowVideo: cookiesAllowVideo, topZero: true }))) : (react_1.default.createElement(lazy_1.default, { className: \"react-player\", onEnded: videoEnd, onPlay: onVideoPlay, ref: videoRef, url: innerInternalWidth <= 640 ? (((_m = (_l = (_k = item === null || item === void 0 ? void 0 : item.fields) === null || _k === void 0 ? void 0 : _k[\"Video Mobile\"]) === null || _l === void 0 ? void 0 : _l.value) === null || _m === void 0 ? void 0 : _m.src) ? (_q = (_p = (_o = item === null || item === void 0 ? void 0 : item.fields) === null || _o === void 0 ? void 0 : _o[\"Video Mobile\"]) === null || _p === void 0 ? void 0 : _p.value) === null || _q === void 0 ? void 0 : _q.src : (_t = (_s = (_r = item === null || item === void 0 ? void 0 : item.fields) === null || _r === void 0 ? void 0 : _r.Video) === null || _s === void 0 ? void 0 : _s.value) === null || _t === void 0 ? void 0 : _t.src) : (_w = (_v = (_u = item === null || item === void 0 ? void 0 : item.fields) === null || _u === void 0 ? void 0 : _u.Video) === null || _v === void 0 ? void 0 : _v.value) === null || _w === void 0 ? void 0 : _w.src, controls: false, playing: playVideo, onDuration: onInit, onBuffer: placePoster, autoplay: true, playsinline: true, muted: true })),\r\n react_1.default.createElement(\"div\", { className: \"hero-slider-content \" },\r\n react_1.default.createElement(index_1.default, { dataFromParent: item })),\r\n react_1.default.createElement(\"div\", { className: \"logo-images container\" },\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: (_z = (_y = (_x = item === null || item === void 0 ? void 0 : item.fields) === null || _x === void 0 ? void 0 : _x[\"Logo Image\"]) === null || _y === void 0 ? void 0 : _y.value) === null || _z === void 0 ? void 0 : _z.src, alt: (_2 = (_1 = (_0 = item === null || item === void 0 ? void 0 : item.fields) === null || _0 === void 0 ? void 0 : _0[\"Logo Image\"]) === null || _1 === void 0 ? void 0 : _1.value) === null || _2 === void 0 ? void 0 : _2.alt, loading: \"lazy\", className: \"logo-image\", height: (_5 = (_4 = (_3 = item === null || item === void 0 ? void 0 : item.fields) === null || _3 === void 0 ? void 0 : _3[\"Logo Image\"]) === null || _4 === void 0 ? void 0 : _4.value) === null || _5 === void 0 ? void 0 : _5.height, width: (_8 = (_7 = (_6 = item === null || item === void 0 ? void 0 : item.fields) === null || _6 === void 0 ? void 0 : _6[\"Logo Image\"]) === null || _7 === void 0 ? void 0 : _7.value) === null || _8 === void 0 ? void 0 : _8.width }),\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: (_11 = (_10 = (_9 = item === null || item === void 0 ? void 0 : item.fields) === null || _9 === void 0 ? void 0 : _9[\"Logo Second Image\"]) === null || _10 === void 0 ? void 0 : _10.value) === null || _11 === void 0 ? void 0 : _11.src, alt: (_14 = (_13 = (_12 = item === null || item === void 0 ? void 0 : item.fields) === null || _12 === void 0 ? void 0 : _12[\"Logo Second Image\"]) === null || _13 === void 0 ? void 0 : _13.value) === null || _14 === void 0 ? void 0 : _14.alt, loading: \"lazy\", className: \"logo-image\", height: (_17 = (_16 = (_15 = item === null || item === void 0 ? void 0 : item.fields) === null || _15 === void 0 ? void 0 : _15[\"Logo Second Image\"]) === null || _16 === void 0 ? void 0 : _16.value) === null || _17 === void 0 ? void 0 : _17.height, width: (_20 = (_19 = (_18 = item === null || item === void 0 ? void 0 : item.fields) === null || _18 === void 0 ? void 0 : _18[\"Logo Second Image\"]) === null || _19 === void 0 ? void 0 : _19.value) === null || _20 === void 0 ? void 0 : _20.width })),\r\n react_1.default.createElement(\"div\", { className: \"product-image-wrapper container\" }, innerInternalWidth <= 640 && ((_22 = (_21 = item === null || item === void 0 ? void 0 : item.fields) === null || _21 === void 0 ? void 0 : _21[\"HideVehicleImageMobile\"]) === null || _22 === void 0 ? void 0 : _22.value) == true ?\r\n react_1.default.createElement(react_1.default.Fragment, null)\r\n :\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: innerInternalWidth <= 640 ? (((_25 = (_24 = (_23 = item === null || item === void 0 ? void 0 : item.fields) === null || _23 === void 0 ? void 0 : _23[\"Vehicle Image Mobile\"]) === null || _24 === void 0 ? void 0 : _24.value) === null || _25 === void 0 ? void 0 : _25.src) ? (_28 = (_27 = (_26 = item === null || item === void 0 ? void 0 : item.fields) === null || _26 === void 0 ? void 0 : _26[\"Vehicle Image Mobile\"]) === null || _27 === void 0 ? void 0 : _27.value) === null || _28 === void 0 ? void 0 : _28.src : (_31 = (_30 = (_29 = item === null || item === void 0 ? void 0 : item.fields) === null || _29 === void 0 ? void 0 : _29[\"Vehicle Image\"]) === null || _30 === void 0 ? void 0 : _30.value) === null || _31 === void 0 ? void 0 : _31.src) : (_34 = (_33 = (_32 = item === null || item === void 0 ? void 0 : item.fields) === null || _32 === void 0 ? void 0 : _32[\"Vehicle Image\"]) === null || _33 === void 0 ? void 0 : _33.value) === null || _34 === void 0 ? void 0 : _34.src, alt: innerInternalWidth <= 640 ? (((_37 = (_36 = (_35 = item === null || item === void 0 ? void 0 : item.fields) === null || _35 === void 0 ? void 0 : _35[\"Vehicle Image Mobile\"]) === null || _36 === void 0 ? void 0 : _36.value) === null || _37 === void 0 ? void 0 : _37.alt) ? (_40 = (_39 = (_38 = item === null || item === void 0 ? void 0 : item.fields) === null || _38 === void 0 ? void 0 : _38[\"Vehicle Image Mobile\"]) === null || _39 === void 0 ? void 0 : _39.value) === null || _40 === void 0 ? void 0 : _40.alt : (_43 = (_42 = (_41 = item === null || item === void 0 ? void 0 : item.fields) === null || _41 === void 0 ? void 0 : _41[\"Vehicle Image\"]) === null || _42 === void 0 ? void 0 : _42.value) === null || _43 === void 0 ? void 0 : _43.alt) : (_46 = (_45 = (_44 = item === null || item === void 0 ? void 0 : item.fields) === null || _44 === void 0 ? void 0 : _44[\"Vehicle Image\"]) === null || _45 === void 0 ? void 0 : _45.value) === null || _46 === void 0 ? void 0 : _46.alt, loading: \"lazy\", className: \"product-image\", height: innerInternalWidth <= 640 ? (((_49 = (_48 = (_47 = item === null || item === void 0 ? void 0 : item.fields) === null || _47 === void 0 ? void 0 : _47[\"Vehicle Image Mobile\"]) === null || _48 === void 0 ? void 0 : _48.value) === null || _49 === void 0 ? void 0 : _49.height) ? (_52 = (_51 = (_50 = item === null || item === void 0 ? void 0 : item.fields) === null || _50 === void 0 ? void 0 : _50[\"Vehicle Image Mobile\"]) === null || _51 === void 0 ? void 0 : _51.value) === null || _52 === void 0 ? void 0 : _52.height : (_55 = (_54 = (_53 = item === null || item === void 0 ? void 0 : item.fields) === null || _53 === void 0 ? void 0 : _53[\"Vehicle Image\"]) === null || _54 === void 0 ? void 0 : _54.value) === null || _55 === void 0 ? void 0 : _55.height) : (_58 = (_57 = (_56 = item === null || item === void 0 ? void 0 : item.fields) === null || _56 === void 0 ? void 0 : _56[\"Vehicle Image\"]) === null || _57 === void 0 ? void 0 : _57.value) === null || _58 === void 0 ? void 0 : _58.height, width: innerInternalWidth <= 640 ? (((_61 = (_60 = (_59 = item === null || item === void 0 ? void 0 : item.fields) === null || _59 === void 0 ? void 0 : _59[\"Vehicle Image Mobile\"]) === null || _60 === void 0 ? void 0 : _60.value) === null || _61 === void 0 ? void 0 : _61.width) ? (_64 = (_63 = (_62 = item === null || item === void 0 ? void 0 : item.fields) === null || _62 === void 0 ? void 0 : _62[\"Vehicle Image Mobile\"]) === null || _63 === void 0 ? void 0 : _63.value) === null || _64 === void 0 ? void 0 : _64.width : (_67 = (_66 = (_65 = item === null || item === void 0 ? void 0 : item.fields) === null || _65 === void 0 ? void 0 : _65[\"Vehicle Image\"]) === null || _66 === void 0 ? void 0 : _66.value) === null || _67 === void 0 ? void 0 : _67.width) : (_70 = (_69 = (_68 = item === null || item === void 0 ? void 0 : item.fields) === null || _68 === void 0 ? void 0 : _68[\"Vehicle Image\"]) === null || _69 === void 0 ? void 0 : _69.value) === null || _70 === void 0 ? void 0 : _70.width })))) : (react_1.default.createElement(react_1.default.Fragment, null,\r\n react_1.default.createElement(\"div\", { className: \"hero-slide-image\" },\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { width: innerInternalWidth <= 640 ? (((_73 = (_72 = (_71 = item === null || item === void 0 ? void 0 : item.fields) === null || _71 === void 0 ? void 0 : _71[\"Image Mobile\"]) === null || _72 === void 0 ? void 0 : _72.value) === null || _73 === void 0 ? void 0 : _73.width) ? (_76 = (_75 = (_74 = item === null || item === void 0 ? void 0 : item.fields) === null || _74 === void 0 ? void 0 : _74[\"Image Mobile\"]) === null || _75 === void 0 ? void 0 : _75.value) === null || _76 === void 0 ? void 0 : _76.width : (_79 = (_78 = (_77 = item === null || item === void 0 ? void 0 : item.fields) === null || _77 === void 0 ? void 0 : _77[\"Image\"]) === null || _78 === void 0 ? void 0 : _78.value) === null || _79 === void 0 ? void 0 : _79.width) : (_82 = (_81 = (_80 = item === null || item === void 0 ? void 0 : item.fields) === null || _80 === void 0 ? void 0 : _80[\"Image\"]) === null || _81 === void 0 ? void 0 : _81.value) === null || _82 === void 0 ? void 0 : _82.width, height: innerInternalWidth <= 640 ? (((_85 = (_84 = (_83 = item === null || item === void 0 ? void 0 : item.fields) === null || _83 === void 0 ? void 0 : _83[\"Image Mobile\"]) === null || _84 === void 0 ? void 0 : _84.value) === null || _85 === void 0 ? void 0 : _85.height) ? (_88 = (_87 = (_86 = item === null || item === void 0 ? void 0 : item.fields) === null || _86 === void 0 ? void 0 : _86[\"Image Mobile\"]) === null || _87 === void 0 ? void 0 : _87.value) === null || _88 === void 0 ? void 0 : _88.height : (_91 = (_90 = (_89 = item === null || item === void 0 ? void 0 : item.fields) === null || _89 === void 0 ? void 0 : _89[\"Image\"]) === null || _90 === void 0 ? void 0 : _90.value) === null || _91 === void 0 ? void 0 : _91.height) : (_94 = (_93 = (_92 = item === null || item === void 0 ? void 0 : item.fields) === null || _92 === void 0 ? void 0 : _92[\"Image\"]) === null || _93 === void 0 ? void 0 : _93.value) === null || _94 === void 0 ? void 0 : _94.height, className: \"\", \"data-src\": innerInternalWidth > 640 || innerInternalWidth > 550\r\n ? (_96 = (_95 = item === null || item === void 0 ? void 0 : item.fields) === null || _95 === void 0 ? void 0 : _95[\"Image\"]) === null || _96 === void 0 ? void 0 : _96.value.src\r\n : ((_98 = (_97 = item === null || item === void 0 ? void 0 : item.fields) === null || _97 === void 0 ? void 0 : _97[\"Image Mobile\"]) === null || _98 === void 0 ? void 0 : _98.value.src)\r\n ? (_100 = (_99 = item === null || item === void 0 ? void 0 : item.fields) === null || _99 === void 0 ? void 0 : _99[\"Image Mobile\"]) === null || _100 === void 0 ? void 0 : _100.value.src\r\n : (_102 = (_101 = item === null || item === void 0 ? void 0 : item.fields) === null || _101 === void 0 ? void 0 : _101[\"Image\"]) === null || _102 === void 0 ? void 0 : _102.value.src, src: innerInternalWidth > 640 || innerInternalWidth > 550\r\n ? (_104 = (_103 = item === null || item === void 0 ? void 0 : item.fields) === null || _103 === void 0 ? void 0 : _103[\"Image\"]) === null || _104 === void 0 ? void 0 : _104.value.src\r\n : ((_106 = (_105 = item === null || item === void 0 ? void 0 : item.fields) === null || _105 === void 0 ? void 0 : _105[\"Image Mobile\"]) === null || _106 === void 0 ? void 0 : _106.value.src)\r\n ? (_108 = (_107 = item === null || item === void 0 ? void 0 : item.fields) === null || _107 === void 0 ? void 0 : _107[\"Image Mobile\"]) === null || _108 === void 0 ? void 0 : _108.value.src\r\n : (_110 = (_109 = item === null || item === void 0 ? void 0 : item.fields) === null || _109 === void 0 ? void 0 : _109[\"Image\"]) === null || _110 === void 0 ? void 0 : _110.value.src, alt: innerInternalWidth > 640 || innerInternalWidth > 550\r\n ? (_112 = (_111 = item === null || item === void 0 ? void 0 : item.fields) === null || _111 === void 0 ? void 0 : _111[\"Image\"]) === null || _112 === void 0 ? void 0 : _112.value.alt\r\n : ((_114 = (_113 = item === null || item === void 0 ? void 0 : item.fields) === null || _113 === void 0 ? void 0 : _113[\"Image Mobile\"]) === null || _114 === void 0 ? void 0 : _114.value.alt)\r\n ? (_116 = (_115 = item === null || item === void 0 ? void 0 : item.fields) === null || _115 === void 0 ? void 0 : _115[\"Image Mobile\"]) === null || _116 === void 0 ? void 0 : _116.value.alt\r\n : (_118 = (_117 = item === null || item === void 0 ? void 0 : item.fields) === null || _117 === void 0 ? void 0 : _117[\"Image\"]) === null || _118 === void 0 ? void 0 : _118.value.alt, \"min-width\": \"10px\", \"min-height\": \"10px\" })),\r\n react_1.default.createElement(\"div\", { className: \"hero-slider-content \" },\r\n react_1.default.createElement(index_1.default, { dataFromParent: item })),\r\n react_1.default.createElement(\"div\", { className: \"logo-images container\" },\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: (_121 = (_120 = (_119 = item === null || item === void 0 ? void 0 : item.fields) === null || _119 === void 0 ? void 0 : _119[\"Logo Image\"]) === null || _120 === void 0 ? void 0 : _120.value) === null || _121 === void 0 ? void 0 : _121.src, alt: (_124 = (_123 = (_122 = item === null || item === void 0 ? void 0 : item.fields) === null || _122 === void 0 ? void 0 : _122[\"Logo Image\"]) === null || _123 === void 0 ? void 0 : _123.value) === null || _124 === void 0 ? void 0 : _124.alt, loading: \"lazy\", className: \"logo-image\", height: (_127 = (_126 = (_125 = item === null || item === void 0 ? void 0 : item.fields) === null || _125 === void 0 ? void 0 : _125[\"Logo Image\"]) === null || _126 === void 0 ? void 0 : _126.value) === null || _127 === void 0 ? void 0 : _127.height, width: (_130 = (_129 = (_128 = item === null || item === void 0 ? void 0 : item.fields) === null || _128 === void 0 ? void 0 : _128[\"Logo Image\"]) === null || _129 === void 0 ? void 0 : _129.value) === null || _130 === void 0 ? void 0 : _130.width }),\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: (_133 = (_132 = (_131 = item === null || item === void 0 ? void 0 : item.fields) === null || _131 === void 0 ? void 0 : _131[\"Logo Second Image\"]) === null || _132 === void 0 ? void 0 : _132.value) === null || _133 === void 0 ? void 0 : _133.src, alt: (_136 = (_135 = (_134 = item === null || item === void 0 ? void 0 : item.fields) === null || _134 === void 0 ? void 0 : _134[\"Logo Second Image\"]) === null || _135 === void 0 ? void 0 : _135.value) === null || _136 === void 0 ? void 0 : _136.alt, loading: \"lazy\", className: \"logo-image\", height: (_139 = (_138 = (_137 = item === null || item === void 0 ? void 0 : item.fields) === null || _137 === void 0 ? void 0 : _137[\"Logo Second Image\"]) === null || _138 === void 0 ? void 0 : _138.value) === null || _139 === void 0 ? void 0 : _139.height, width: (_142 = (_141 = (_140 = item === null || item === void 0 ? void 0 : item.fields) === null || _140 === void 0 ? void 0 : _140[\"Logo Second Image\"]) === null || _141 === void 0 ? void 0 : _141.value) === null || _142 === void 0 ? void 0 : _142.width })),\r\n react_1.default.createElement(\"div\", { className: \"product-image-wrapper container\" }, innerInternalWidth <= 640 && ((_144 = (_143 = item === null || item === void 0 ? void 0 : item.fields) === null || _143 === void 0 ? void 0 : _143[\"HideVehicleImageMobile\"]) === null || _144 === void 0 ? void 0 : _144.value) == true ?\r\n react_1.default.createElement(react_1.default.Fragment, null)\r\n :\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: innerInternalWidth <= 640 ? (((_147 = (_146 = (_145 = item === null || item === void 0 ? void 0 : item.fields) === null || _145 === void 0 ? void 0 : _145[\"Vehicle Image Mobile\"]) === null || _146 === void 0 ? void 0 : _146.value) === null || _147 === void 0 ? void 0 : _147.src) ? (_150 = (_149 = (_148 = item === null || item === void 0 ? void 0 : item.fields) === null || _148 === void 0 ? void 0 : _148[\"Vehicle Image Mobile\"]) === null || _149 === void 0 ? void 0 : _149.value) === null || _150 === void 0 ? void 0 : _150.src : (_153 = (_152 = (_151 = item === null || item === void 0 ? void 0 : item.fields) === null || _151 === void 0 ? void 0 : _151[\"Vehicle Image\"]) === null || _152 === void 0 ? void 0 : _152.value) === null || _153 === void 0 ? void 0 : _153.src) : (_156 = (_155 = (_154 = item === null || item === void 0 ? void 0 : item.fields) === null || _154 === void 0 ? void 0 : _154[\"Vehicle Image\"]) === null || _155 === void 0 ? void 0 : _155.value) === null || _156 === void 0 ? void 0 : _156.src, alt: innerInternalWidth <= 640 ? (((_159 = (_158 = (_157 = item === null || item === void 0 ? void 0 : item.fields) === null || _157 === void 0 ? void 0 : _157[\"Vehicle Image Mobile\"]) === null || _158 === void 0 ? void 0 : _158.value) === null || _159 === void 0 ? void 0 : _159.alt) ? (_162 = (_161 = (_160 = item === null || item === void 0 ? void 0 : item.fields) === null || _160 === void 0 ? void 0 : _160[\"Vehicle Image Mobile\"]) === null || _161 === void 0 ? void 0 : _161.value) === null || _162 === void 0 ? void 0 : _162.alt : (_165 = (_164 = (_163 = item === null || item === void 0 ? void 0 : item.fields) === null || _163 === void 0 ? void 0 : _163[\"Vehicle Image\"]) === null || _164 === void 0 ? void 0 : _164.value) === null || _165 === void 0 ? void 0 : _165.alt) : (_168 = (_167 = (_166 = item === null || item === void 0 ? void 0 : item.fields) === null || _166 === void 0 ? void 0 : _166[\"Vehicle Image\"]) === null || _167 === void 0 ? void 0 : _167.value) === null || _168 === void 0 ? void 0 : _168.alt, loading: \"lazy\", className: \"product-image\", height: innerInternalWidth <= 640 ? (((_171 = (_170 = (_169 = item === null || item === void 0 ? void 0 : item.fields) === null || _169 === void 0 ? void 0 : _169[\"Vehicle Image Mobile\"]) === null || _170 === void 0 ? void 0 : _170.value) === null || _171 === void 0 ? void 0 : _171.height) ? (_174 = (_173 = (_172 = item === null || item === void 0 ? void 0 : item.fields) === null || _172 === void 0 ? void 0 : _172[\"Vehicle Image Mobile\"]) === null || _173 === void 0 ? void 0 : _173.value) === null || _174 === void 0 ? void 0 : _174.height : (_177 = (_176 = (_175 = item === null || item === void 0 ? void 0 : item.fields) === null || _175 === void 0 ? void 0 : _175[\"Vehicle Image\"]) === null || _176 === void 0 ? void 0 : _176.value) === null || _177 === void 0 ? void 0 : _177.height) : (_180 = (_179 = (_178 = item === null || item === void 0 ? void 0 : item.fields) === null || _178 === void 0 ? void 0 : _178[\"Vehicle Image\"]) === null || _179 === void 0 ? void 0 : _179.value) === null || _180 === void 0 ? void 0 : _180.height, width: innerInternalWidth <= 640 ? (((_183 = (_182 = (_181 = item === null || item === void 0 ? void 0 : item.fields) === null || _181 === void 0 ? void 0 : _181[\"Vehicle Image Mobile\"]) === null || _182 === void 0 ? void 0 : _182.value) === null || _183 === void 0 ? void 0 : _183.width) ? (_186 = (_185 = (_184 = item === null || item === void 0 ? void 0 : item.fields) === null || _184 === void 0 ? void 0 : _184[\"Vehicle Image Mobile\"]) === null || _185 === void 0 ? void 0 : _185.value) === null || _186 === void 0 ? void 0 : _186.width : (_189 = (_188 = (_187 = item === null || item === void 0 ? void 0 : item.fields) === null || _187 === void 0 ? void 0 : _187[\"Vehicle Image\"]) === null || _188 === void 0 ? void 0 : _188.value) === null || _189 === void 0 ? void 0 : _189.width) : (_192 = (_191 = (_190 = item === null || item === void 0 ? void 0 : item.fields) === null || _190 === void 0 ? void 0 : _190[\"Vehicle Image\"]) === null || _191 === void 0 ? void 0 : _191.value) === null || _192 === void 0 ? void 0 : _192.width }))))));\r\n })),\r\n react_1.default.createElement(\"div\", { className: \"hero-slider-pagination \" +\r\n ((_j = (_h = (_g = heroSlider[currentIndex - 1]) === null || _g === void 0 ? void 0 : _g.fields) === null || _h === void 0 ? void 0 : _h.Theme) === null || _j === void 0 ? void 0 : _j.value) },\r\n react_1.default.createElement(\"button\", { className: \"slick-prev\", onClick: function () { var _a; return (_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slickPrev(); } },\r\n react_1.default.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 16\", className: (_m = (_l = (_k = heroSlider[currentIndex - 1]) === null || _k === void 0 ? void 0 : _k.fields) === null || _l === void 0 ? void 0 : _l.Theme) === null || _m === void 0 ? void 0 : _m.value },\r\n react_1.default.createElement(\"path\", { d: \"M9.29354 13.3725C9.68407 13.763 10.3172 13.763 10.7078 13.3725C11.0983 12.9819 11.0983 12.3488 10.7078 11.9583L9.29354 13.3725ZM5.33398 7.9987L4.62688 7.29159C4.23635 7.68212 4.23635 8.31528 4.62688 8.7058L5.33398 7.9987ZM10.7078 4.03914C11.0983 3.64861 11.0983 3.01545 10.7078 2.62492C10.3172 2.2344 9.68407 2.2344 9.29354 2.62492L10.7078 4.03914ZM10.7078 11.9583L6.04109 7.29159L4.62688 8.7058L9.29354 13.3725L10.7078 11.9583ZM6.04109 8.7058L10.7078 4.03914L9.29354 2.62492L4.62688 7.29159L6.04109 8.7058Z\" }))),\r\n currentIndex,\r\n \" / \",\r\n heroSlider.length,\r\n react_1.default.createElement(\"button\", { className: \"slick-next\", onClick: function () { var _a; return (_a = slider === null || slider === void 0 ? void 0 : slider.current) === null || _a === void 0 ? void 0 : _a.slickNext(); } },\r\n react_1.default.createElement(\"svg\", { xmlns: \"http://www.w3.org/2000/svg\", width: \"16\", height: \"16\", viewBox: \"0 0 16 12\", style: { marginLeft: 4 + \"px\" }, className: (_q = (_p = (_o = heroSlider[currentIndex - 1]) === null || _o === void 0 ? void 0 : _o.fields) === null || _p === void 0 ? void 0 : _p.Theme) === null || _q === void 0 ? void 0 : _q.value },\r\n react_1.default.createElement(\"path\", { d: \"M1.70711 0.624924C1.31658 0.2344 0.683417 0.2344 0.292893 0.624924C-0.0976311 1.01545 -0.0976311 1.64861 0.292893 2.03914L1.70711 0.624924ZM5.66667 5.9987L6.37377 6.7058C6.7643 6.31528 6.7643 5.68212 6.37377 5.29159L5.66667 5.9987ZM0.292893 9.95826C-0.0976311 10.3488 -0.0976311 10.9819 0.292893 11.3725C0.683417 11.763 1.31658 11.763 1.70711 11.3725L0.292893 9.95826ZM0.292893 2.03914L4.95956 6.7058L6.37377 5.29159L1.70711 0.624924L0.292893 2.03914ZM4.95956 5.29159L0.292893 9.95826L1.70711 11.3725L6.37377 6.7058L4.95956 5.29159Z\" })))),\r\n react_1.default.createElement(\"div\", { className: \"hero-slider-progress-wrapper\" },\r\n react_1.default.createElement(\"div\", { className: \"progress-bar\", ref: progressRef })),\r\n react_1.default.createElement(\"span\", { dangerouslySetInnerHTML: {\r\n __html: (_t = (_s = (_r = props === null || props === void 0 ? void 0 : props.fields) === null || _r === void 0 ? void 0 : _r[\"Icon Scroll\"]) === null || _s === void 0 ? void 0 : _s.value) === null || _t === void 0 ? void 0 : _t.svgCode,\r\n }, className: \"icon-scroll\", onClick: scrollTo }))));\r\n};\r\nexports.default = (0, sitecore_jss_react_1.withSitecoreContext)()(HeroSliderModule);\r\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.TextModuleModel = void 0;\r\nvar TextModuleModel = /** @class */ (function () {\r\n function TextModuleModel(props) {\r\n this.fields = props.fields;\r\n }\r\n Object.defineProperty(TextModuleModel.prototype, \"bodyText\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.BodyText;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"eyebrow\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Eyebrow;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"title\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Title;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"subtitle\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Subtitle;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"link1\", {\r\n get: function () {\r\n var _a, _b;\r\n return ((_b = (_a = this.fields) === null || _a === void 0 ? void 0 : _a.PrimaryLink) === null || _b === void 0 ? void 0 : _b.value);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"link2\", {\r\n get: function () {\r\n var _a, _b;\r\n return ((_b = (_a = this.fields) === null || _a === void 0 ? void 0 : _a.SecondaryLink) === null || _b === void 0 ? void 0 : _b.value);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"image\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Image;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"imageMobile\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.ImageMobile;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"AllowFallbackForMobile\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.AllowFallbackForMobile.value;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"textPosition\", {\r\n get: function () {\r\n var _a, _b, _c;\r\n return ((_c = (_b = (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Alignment) === null || _b === void 0 ? void 0 : _b.fields) === null || _c === void 0 ? void 0 : _c.Key);\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(TextModuleModel.prototype, \"abstract\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Abstract;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return TextModuleModel;\r\n}());\r\nexports.TextModuleModel = TextModuleModel;\r\n","export const EnvironmentConfig = {\r\n buyerClientId: \"6C415F51-EE4E-4586-8524-2E43B4DC651B\",\r\n baseApiUrl: \"https://westeurope-production.ordercloud.io\",\r\n apiMiddlewareUrl: \"https://az-eu-sitec-app-p-020.azurewebsites.net\",\r\n scope: [\"Shopper\", \"ProductReader\", \"CatalogReader\", \"CategoryReader\"],\r\n};\r\n","export const localstorageService = () =>\r\n typeof localStorage !== 'undefined'\r\n ? localStorage\r\n : {\r\n clear: () => undefined,\r\n getItem: () => undefined,\r\n key: () => null,\r\n removeItem: () => undefined,\r\n setItem: () => undefined,\r\n };\r\nexport const navigatorService = () => (typeof navigator !== 'undefined' ? navigator : {});\r\nexport const windowService = () => (typeof window !== 'undefined' ? window : {});\r\nexport const documentService = () => (typeof document !== 'undefined' ? document : {});\r\n\r\nexport const getExpiryDate = (day) =>{\r\n var d = new Date();\r\n d.setTime(d.getTime() + (day * 24 * 60 * 60 * 1000));\r\n var expires = \"expires=\" + d.toUTCString();\r\n return expires;\r\n}\r\n\r\nexport const getCookieValue = (name) => {\r\n let result = '';\r\n \r\n if (typeof document !== 'undefined') {\r\n result = document.cookie.match(\"(^|[^;]+)\\\\s*\" + name + \"\\\\s*=\\\\s*([^;]+)\");\r\n }\r\n return result ? result.pop() : \"\"\r\n}\r\n","import React, { useEffect, useState, createContext, useContext } from \"react\";\r\nimport Cookies from \"js-cookie\";\r\nimport ReactDOM from \"react-dom\";\r\nimport Select from \"react-select\";\r\nimport { ApiRole, Auth, Category, Categories, Configuration, Me, Product, Products, Tokens, Catalogs } from \"ordercloud-javascript-sdk\";\r\n\r\nimport * as Redux from \"react-redux\";\r\nimport { EnvironmentConfig } from \"../../environments/environmentconfig\";\r\nimport { isJSDocReturnTag } from \"typescript\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { localstorageService, navigatorService } from \"../../utils/window.utils\";\r\n\r\nconst missingImg = require(\"../../assets/img/missing-image.png\");\r\nconst missingImgDark = require(\"../../assets/img/missing-image-dark.png\");\r\n\r\nconst localhost =\r\n typeof window != \"undefined\"\r\n ? window.location.hostname != \"localhost\" && window.location.hostname.indexOf(\"ivecocom\") == -1\r\n ? false\r\n : true\r\n : false;\r\n\r\nexport interface Translation {\r\n PartName?: string;\r\n ShortDescription?: string;\r\n LongDescription?: string;\r\n Vantaggi?: string;\r\n Avvertenza?: string;\r\n Guida?: string;\r\n Ruota?: string;\r\n Fornitura?: string;\r\n}\r\n\r\nconst CommonApi = React.createContext(null);\r\n\r\nexport const CommonApiProvider = (children) => {\r\n const { t } = useTranslation();\r\n const [loading, setLoading] = useState(true);\r\n const [loadingImages, setLoadingImages] = useState(true);\r\n const [loadingProducts, setLoadingProducts] = useState(false);\r\n const [userAuthToken, setUserAuthToken] = useState(null);\r\n const [language, setLanguage] = useState(\r\n localstorageService().getItem(\"sitecoreLanguage\") ? localstorageService().getItem(\"sitecoreLanguage\") : \"en\"\r\n );\r\n const [categories, setCategories] = useState([]);\r\n const [catalogID, setCatalogID] = useState(\"0001\");\r\n const [products, setProducts] = useState(null);\r\n const [filters, setFilters] = useState([]);\r\n const [translatedFilters, setFiltersT] = useState([]);\r\n const [childProducts, setChildProducts] = useState([]);\r\n const [product, setProduct] = useState({} as Product);\r\n const [productTranslations, setProductTranslations] = useState(null);\r\n const [categoryTranslations, setCategoryTranslations] = useState(null);\r\n const [filterTranslations, setFilterTranslations] = useState(null);\r\n const [checkedLastUpdate, setCheckLastUpdate] = useState(false);\r\n const [showMore, setShowMore] = useState(0);\r\n const [numberOfResults, setNumberOfResults] = useState(0);\r\n const [pageSelected, setPageSelected] = useState(0);\r\n const [productsSearch, setProductsSearch] = useState([]);\r\n const [pageSize, setPageSize] = useState(20);\r\n const maxProductImages = 5;\r\n const [productImages, setProductImages] = useState([]);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\") {\r\n const urlWin = window.location;\r\n // check the stored authtoken\r\n Configuration.Set({\r\n baseApiUrl: EnvironmentConfig.baseApiUrl,\r\n timeoutInMilliseconds: 60 * 1000,\r\n });\r\n\r\n const clientID = EnvironmentConfig.buyerClientId; //clientID of the application the user is logging in to ([sign up for free](https://portal.ordercloud.io/register)\r\n const scope: Array = EnvironmentConfig.scope as Array; //string array of [roles](https://ordercloud.io/knowledge-base/security-profiles) the application has access to\r\n\r\n //save locally the last check for updates\r\n if (localstorageService().getItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\"))) {\r\n // do nothing\r\n } else {\r\n //set local last update in language\r\n localstorageService().setItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\"), new Date().toString());\r\n }\r\n\r\n let url = `${EnvironmentConfig.apiMiddlewareUrl}/api/Admin/GetLastUpdate/`;\r\n url += localstorageService().getItem(\"sitecoreLanguage\");\r\n fetch(url, {\r\n method: \"GET\",\r\n headers: { Authorization: `Bearer ${Tokens.GetAccessToken()}` },\r\n })\r\n .then((res) => res.json())\r\n .then((res) => {\r\n const lastUpdateFromMw = res.Body;\r\n\r\n if (localhost) {\r\n console.log(\"lastUpdateFromMw\", new Date(lastUpdateFromMw));\r\n\r\n console.log(\r\n \"localLastUpdate\",\r\n new Date(localstorageService().getItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\")))\r\n );\r\n\r\n console.log(\r\n new Date(localstorageService().getItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\"))).getTime() <\r\n new Date(lastUpdateFromMw).getTime()\r\n );\r\n }\r\n\r\n localstorageService().setItem(\"lastUpdateFromMw\" + localstorageService().getItem(\"sitecoreLanguage\"), lastUpdateFromMw);\r\n\r\n if (\r\n new Date(localstorageService().getItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\"))).getTime() <\r\n new Date(lastUpdateFromMw).getTime()\r\n ) {\r\n //backup sitecorelanguage\r\n\r\n const lang = localstorageService().getItem(\"sitecoreLanguage\");\r\n\r\n localStorage.clear();\r\n\r\n localstorageService().setItem(\"sitecoreLanguage\", lang);\r\n\r\n //set local last update in language\r\n localstorageService().setItem(\"localLastUpdate\" + localstorageService().getItem(\"sitecoreLanguage\"), new Date().toString());\r\n\r\n localstorageService().setItem(\"lastUpdateFromMw\" + localstorageService().getItem(\"sitecoreLanguage\"), lastUpdateFromMw);\r\n }\r\n doAnonymousLogin(clientID, scope);\r\n })\r\n .catch((error) => {\r\n doAnonymousLogin(clientID, scope);\r\n handleError(error);\r\n });\r\n }\r\n }, []);\r\n\r\n const getCategories = () => {\r\n return new Promise((resolve, reject) => {\r\n Me.ListCategories({ catalogID: catalogID })\r\n .then((res) => {\r\n setCategories(res.Items);\r\n resolve(res.Items);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n };\r\n\r\n const setTranslatedFilters = (res) => {\r\n for (let index = 0; index < res.length; index++) {\r\n const element = res[index];\r\n element.Values?.array?.forEach((value) => {\r\n value.Description = filterTranslations;\r\n });\r\n }\r\n };\r\n\r\n function searchProducts(currentUrlParams, page = 1) {\r\n setLoading(true);\r\n setLoadingProducts(true);\r\n getProductsByfilter(\r\n currentUrlParams.get(\"text\"),\r\n currentUrlParams.get(\"Version\"),\r\n currentUrlParams.get(\"Vehicle\"),\r\n currentUrlParams.get(\"Family\"),\r\n currentUrlParams.get(\"Category\"),\r\n currentUrlParams.get(\"Year\"),\r\n page\r\n )\r\n ?.then((res: Product[]) => {\r\n let promises = [];\r\n\r\n for (let index = 0; index < res.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n getCategoryTranslations(res[index].xp.Category)\r\n ?.then((translation) => {\r\n res[index].xp.CategoryTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n });\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n let promises = [];\r\n\r\n for (let index = 0; index < res.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n getProductTranslations(res[index].ID, false)\r\n ?.then((translation) => {\r\n res[index].xp.ProductTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises).then((data) => {\r\n setLoading(false);\r\n setLoadingProducts(false);\r\n setProductsSearch(res);\r\n });\r\n });\r\n\r\n setShowMore(pageSize < res?.length ? pageSize : res?.length);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n });\r\n }\r\n\r\n const changeFilter = (e, name, parameters) => {\r\n if (!e || !e.value) {\r\n e = { value: \"\" };\r\n }\r\n\r\n let currentUrlParams = new URLSearchParams(window.location.search);\r\n currentUrlParams.set(name, e.value);\r\n // eslint-disable-next-line no-restricted-globals\r\n if (history.pushState) {\r\n var newurl = window.location.protocol + \"//\" + window.location.host + window.location.pathname + \"?\" + currentUrlParams.toString();\r\n window.history.pushState({ path: newurl }, \"\", newurl);\r\n }\r\n\r\n getSpecificFilter((!!currentUrlParams.toString() ? \"?\" : \"\") + currentUrlParams.toString());\r\n\r\n searchProducts(currentUrlParams);\r\n };\r\n\r\n const getSpecificFilter = (parameters) => {\r\n let url = `${EnvironmentConfig.apiMiddlewareUrl}/products/facets${parameters}`;\r\n fetch(url, {\r\n method: \"GET\",\r\n headers: { Authorization: `Bearer ${Tokens.GetAccessToken()}` },\r\n })\r\n .then((res) => res.json())\r\n .then((res) => {\r\n res = res.sort(filterOrder);\r\n setFilters(res);\r\n setTranslatedFilters(res);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n });\r\n };\r\n\r\n const getProductsBySearchTerm = (params) => {\r\n return new Promise((resolve, reject) => {\r\n Me.ListProducts(params)\r\n .then((productList) => {\r\n const data = productList.Items;\r\n resolve(data);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n };\r\n\r\n const getChildProductsByParentId = (parentID) => {\r\n setLoading(true);\r\n return new Promise((resolve, reject) => {\r\n Products.List({\r\n page: 1,\r\n pageSize: 100,\r\n filters: {\r\n ParentID: parentID,\r\n },\r\n sortBy: [\"Name\"],\r\n })\r\n .then((res) => {\r\n setChildProducts(res.Items);\r\n setLoading(false);\r\n resolve(res);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n };\r\n\r\n const getProductsByCategory = (categoryID, page, pageSize) => {\r\n return new Promise((resolve, reject) => {\r\n Me.ListProducts({\r\n categoryID: categoryID,\r\n page: page,\r\n pageSize: pageSize,\r\n filters: {\r\n Active: true,\r\n IsParent: false,\r\n },\r\n sortBy: [\"Name\"],\r\n })\r\n .then((res) => {\r\n setProducts(res.Items);\r\n setNumberOfResults(res.Meta.TotalCount);\r\n resolve(res.Items);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n };\r\n\r\n const returnOrder = (a) => {\r\n switch (a.Name) {\r\n case \"Version\":\r\n return 3;\r\n break;\r\n case \"Family\":\r\n return 4;\r\n break;\r\n case \"Year\":\r\n return 2;\r\n break;\r\n case \"Vehicle\":\r\n return 1;\r\n break;\r\n case \"Category\":\r\n return 5;\r\n break;\r\n default:\r\n return \"0\";\r\n }\r\n };\r\n\r\n function filterOrder(a, b) {\r\n a.order = returnOrder(a);\r\n b.order = returnOrder(b);\r\n\r\n return a.order < b.order ? -1 : a.order > b.order ? 1 : 0;\r\n }\r\n\r\n const getProductsByfilter = (text, version, name, family, category, model, page) => {\r\n return new Promise((resolve, reject) => {\r\n let nameSearch = \"xp.Translations.\" + localstorageService().getItem(\"sitecoreLanguage\") + \".PartName\";\r\n\r\n Products.List({\r\n search: text ? \"%\" + text + \"%\" : \"\",\r\n searchOn: [\"ID\", nameSearch],\r\n searchType: \"ExactPhrasePrefix\",\r\n sortBy: [\"Name\"],\r\n page: page ? page : 1,\r\n pageSize: 20,\r\n filters: {\r\n Active: true,\r\n IsParent: false,\r\n \"xp.Models.Version\": version ? version : \"\",\r\n \"xp.Models.Name\": name ? name : \"\",\r\n \"xp.Family\": family ? family : \"\",\r\n \"xp.Category\": category ? category : \"\",\r\n \"xp.Models.Model\": model ? model : \"\",\r\n },\r\n })\r\n .then((res) => {\r\n setNumberOfResults(res.Meta.TotalCount);\r\n setProducts(res.Items);\r\n resolve(res.Items);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n };\r\n\r\n const getAllfilters = () => {\r\n let url = `${EnvironmentConfig.apiMiddlewareUrl}/products/facets`;\r\n fetch(url, {\r\n method: \"GET\",\r\n headers: { Authorization: `Bearer ${Tokens.GetAccessToken()}` },\r\n })\r\n .then((res) => res.json())\r\n .then((res) => {\r\n res = res.sort(filterOrder);\r\n setFilters(res);\r\n setTranslatedFilters(res);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n });\r\n };\r\n\r\n const getMe = () => {\r\n return new Promise((resolve, reject) => {\r\n if (localstorageService().getItem(\"DefaultCatalogID\")) {\r\n setCatalogID(localstorageService().getItem(\"DefaultCatalogID\"));\r\n resolve(localstorageService().getItem(\"DefaultCatalogID\"));\r\n } else {\r\n Me.Get()\r\n .then((response) => {\r\n setCatalogID(response.Buyer.DefaultCatalogID);\r\n localstorageService().setItem(\"DefaultCatalogID\", response.Buyer.DefaultCatalogID);\r\n resolve(localstorageService().getItem(\"DefaultCatalogID\"));\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n }\r\n });\r\n };\r\n\r\n const getFilterTranslations = (filterType = null) => {\r\n return new Promise((resolve, reject) => {\r\n if (localstorageService().getItem(\"filterInfo\" + localstorageService().getItem(\"sitecoreLanguage\"))) {\r\n setFilterTranslations(JSON.parse(localstorageService().getItem(\"filterInfo\" + localstorageService().getItem(\"sitecoreLanguage\"))));\r\n resolve(JSON.parse(localstorageService().getItem(\"filterInfo\" + localstorageService().getItem(\"sitecoreLanguage\"))));\r\n } else {\r\n let url = `${EnvironmentConfig.apiMiddlewareUrl}/products/productFilterTranslation?language=`;\r\n url += localstorageService().getItem(\"sitecoreLanguage\") ? localstorageService().getItem(\"sitecoreLanguage\") : \"en\";\r\n if (filterType) {\r\n url += \"&filterType=\" + filterType;\r\n }\r\n fetch(url, {\r\n method: \"GET\",\r\n headers: { Authorization: `Bearer ${Tokens.GetAccessToken()}` },\r\n })\r\n .then((res) => res.json())\r\n .then((res) => {\r\n localstorageService().setItem(\r\n \"filterInfo\" + (filterType ? filterType : \"\") + localstorageService().getItem(\"sitecoreLanguage\"),\r\n JSON.stringify(res)\r\n );\r\n setFilterTranslations(res);\r\n resolve(res);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n }\r\n });\r\n };\r\n\r\n const getProductTranslations = (productID, updateProduct) => {\r\n if (!productID) return;\r\n\r\n return new Promise((resolve, reject) => {\r\n if (localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\"))) {\r\n if (updateProduct)\r\n setProductTranslations(\r\n JSON.parse(localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\")))\r\n );\r\n\r\n resolve(JSON.parse(localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\"))));\r\n } else {\r\n let url = `${EnvironmentConfig.apiMiddlewareUrl}/products/productTranslation?id=`;\r\n url += productID;\r\n url += \"&language=\" + localstorageService().getItem(\"sitecoreLanguage\");\r\n fetch(url, {\r\n method: \"GET\",\r\n headers: { Authorization: `Bearer ${Tokens.GetAccessToken()}` },\r\n })\r\n .then((res) => res.json())\r\n .then((res) => {\r\n localstorageService().setItem(\r\n \"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\"),\r\n JSON.stringify(res)\r\n );\r\n\r\n if (updateProduct)\r\n setProductTranslations(\r\n JSON.parse(localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\")))\r\n );\r\n\r\n resolve(\r\n JSON.parse(localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\")))\r\n );\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n\r\n localstorageService().setItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\"), \"\");\r\n\r\n reject(\r\n JSON.parse(localstorageService().getItem(\"productInfo\" + productID + localstorageService().getItem(\"sitecoreLanguage\")))\r\n );\r\n });\r\n }\r\n });\r\n };\r\n\r\n const getCategoryTranslations = (categoryID) => {\r\n if (categoryID) {\r\n const lang = localstorageService().getItem(\"sitecoreLanguage\");\r\n\r\n //if already in localstorageService\r\n if (localstorageService() && localstorageService().getItem(\"categoryInfo\" + categoryID + lang)) {\r\n return new Promise((resolve, reject) => {\r\n var catTranslations = JSON.parse(localstorageService().getItem(\"categoryInfo\" + categoryID + lang)).xp?.Translations.find(\r\n (item) => item.Language === lang\r\n )?.Values;\r\n\r\n catTranslations.Category = JSON.parse(localstorageService().getItem(\"categoryInfo\" + categoryID + lang)).ParentID;\r\n resolve(catTranslations);\r\n });\r\n } else {\r\n const promise = new Promise((resolve, reject) => {\r\n Categories.Get(localstorageService().getItem(\"DefaultCatalogID\"), categoryID)\r\n .then((response) => {\r\n localstorageService().setItem(\"categoryInfo\" + categoryID + lang, JSON.stringify(response));\r\n\r\n const cookie = JSON.parse(localstorageService().getItem(\"categoryInfo\" + categoryID + lang));\r\n\r\n if (localstorageService() && cookie.xp?.Translations.find((item) => item.Language === lang)) {\r\n const catTranslations = JSON.parse(localstorageService().getItem(\"categoryInfo\" + categoryID + lang)).xp?.Translations.find(\r\n (item) => item.Language === lang\r\n ).Values;\r\n\r\n catTranslations.Category = response.ParentID; // PADRE categoryID;\r\n\r\n resolve(catTranslations);\r\n }\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n });\r\n });\r\n\r\n return promise;\r\n }\r\n } else {\r\n return new Promise((resolve, reject) => {\r\n return reject(\"\");\r\n });\r\n }\r\n };\r\n\r\n const getMissingImg = (width = 68, height = 75) => {\r\n return ;\r\n };\r\n\r\n //OLD IMPLEMENTATION, STILL OK FOR CATEGORY\r\n const getUrlCategoryImg = (categoryID, productID, check = false) => {\r\n const imgEnv = typeof window != \"undefined\" ? window.location.origin + \"/\" : \"\";\r\n const imgFixedUrl = `-/media/IvecoCommerce/Accessories/Catalog/`;\r\n\r\n let imgDinamicUrl = \"\";\r\n if (categoryID && categoryID !== null) {\r\n imgDinamicUrl += `Category/${categoryID}`;\r\n }\r\n return imgEnv + imgFixedUrl + imgDinamicUrl;\r\n };\r\n\r\n //NEW FOR PRODUCT\r\n const getUrlProductImg = (categoryID, imgname) => {\r\n const imgEnv =\r\n typeof window != \"undefined\" ? (localhost ? \"https://preview15.ivecogroup.com/accessories/\" : window.location.origin + \"/\") : \"\";\r\n\r\n const imgFixedUrl = `-/media/IvecoCommerce/Accessories/Catalog/`;\r\n\r\n let imgDinamicUrl = \"\";\r\n imgDinamicUrl += `Product/${categoryID}/${imgname}`;\r\n return imgEnv + imgFixedUrl + imgDinamicUrl;\r\n };\r\n\r\n /**\r\n *\r\n * @param url image url\r\n * @returns true if the image exists, false otherwise\r\n */\r\n const checkImageExists = (url: string): Promise => {\r\n return new Promise((resolve) => {\r\n const img = new Image();\r\n img.onload = () => resolve(true);\r\n img.onerror = () => resolve(false);\r\n img.src = url;\r\n });\r\n };\r\n\r\n //USE THIS FOR RETRIEVING SINGLE IMAGE FROM PRODUCT\r\n const loadImageForProduct = (p) => {\r\n return new Promise((resolve, reject) => {\r\n if (localstorageService().getItem(\"image\" + p.ID)) {\r\n resolve(localstorageService().getItem(\"image\" + p.ID));\r\n } else {\r\n if (!p.xp.Images || !p.xp.Images[0] || p.xp.Images.length === 0) {\r\n localstorageService().setItem(\"image\" + p.ID, missingImg.default);\r\n resolve(localstorageService().getItem(\"image\" + p.ID));\r\n } else {\r\n var request = new XMLHttpRequest();\r\n let src = getUrlProductImg(p.xp.Category, p.xp.Images[0].ThumbnailUrl.replace(/\\s/g, \"\"));\r\n\r\n request.open(\"GET\", src, true);\r\n\r\n /*request.onerror = function () {\r\n localstorageService().setItem(\"image\" + p.ID, missingImg.default);\r\n resolve(localstorageService().getItem(\"image\" + p.ID));\r\n };*/\r\n request.send();\r\n request.onload = function () {\r\n if (request.status == 200) {\r\n localstorageService().setItem(\"image\" + p.ID, src);\r\n resolve(localstorageService().getItem(\"image\" + p.ID));\r\n } else {\r\n localstorageService().setItem(\"image\" + p.ID, missingImg.default);\r\n resolve(localstorageService().getItem(\"image\" + p.ID));\r\n }\r\n };\r\n }\r\n }\r\n });\r\n };\r\n\r\n const loadImageByProduct = (p) => {\r\n const url = getUrlProductImg(p.xp.Category, p.xp.Images[0]?.ThumbnailUrl.replace(/\\s/g, \"\"));\r\n\r\n return checkImageExists(url) ? url : missingImg;\r\n };\r\n\r\n //USE THIS FOR RETRIEVING IMAGES FROM PRODUCT\r\n const loadImagesByProduct = (p) => {\r\n return new Promise((resolve, reject) => {\r\n setLoadingImages(true);\r\n let promises = [];\r\n let images = [];\r\n if (p.xp.Images.length == 0) {\r\n setLoadingImages(false);\r\n images.push(missingImg.default);\r\n setProductImages(images);\r\n resolve(missingImg.default);\r\n } else {\r\n for (let i = 0; i < p.xp.Images.length; i++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n var request = new XMLHttpRequest();\r\n let src = getUrlProductImg(p.xp.Category, p.xp.Images[i].ThumbnailUrl.replace(/\\s/g, \"\"));\r\n request.open(\"GET\", src, true);\r\n request.send();\r\n request.onload = function () {\r\n if (request.status == 200) {\r\n images.push(src);\r\n setProductImages(images);\r\n resolve(src);\r\n } else {\r\n images.push(missingImg.default);\r\n console.log(\"missing\", src, images);\r\n resolve(missingImg.default);\r\n }\r\n };\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n setLoadingImages(false);\r\n images = data;\r\n setProductImages(images);\r\n return images;\r\n });\r\n resolve(images);\r\n }\r\n });\r\n };\r\n\r\n const addToWishList = (productID) => {\r\n Cookies.set(`Product ${[productID]}`, productID);\r\n };\r\n\r\n const removeFromWishList = (productID) => {\r\n Cookies.remove(`Product ${[productID]}`);\r\n };\r\n\r\n const checkWishList = (productID) => {\r\n return Cookies.get(`Product ${[productID]}`) ? true : false;\r\n };\r\n\r\n const getProduct = (productID, forceRefresh) => {\r\n setLoading(true);\r\n return new Promise((resolve, reject) => {\r\n if (forceRefresh || Object.keys(product).length === 0) {\r\n Products.Get(productID)\r\n .then((foundProd) => {\r\n setLoading(false);\r\n setProduct(foundProd);\r\n loadImagesByProduct(foundProd);\r\n resolve(foundProd);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n setLoading(false);\r\n setLoadingImages(false);\r\n });\r\n } else {\r\n setLoading(false);\r\n resolve(product);\r\n }\r\n });\r\n };\r\n\r\n var getProductsByIds = function getProductsByIds(productIDs) {\r\n setLoading(true);\r\n return new Promise((resolve, reject) => {\r\n let promises = [];\r\n let prod = {};\r\n for (let i = 0; i < productIDs.length; i++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n Products.Get(productIDs[i])\r\n .then((product) => {\r\n prod = product;\r\n setLoading(false);\r\n // loadImagesByProduct(product);\r\n resolve(product);\r\n })\r\n .catch((error) => {\r\n handleError(error);\r\n reject(error);\r\n setLoading(false);\r\n });\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n setProducts(data);\r\n resolve(data);\r\n });\r\n });\r\n };\r\n\r\n const handleError = (error) => {\r\n setLoading(false);\r\n if (error.isOrderCloudError) {\r\n // the request was made and the API responded with a status code\r\n // that falls outside of the range of 2xx, the error will be of type OrderCloudError\r\n // https://ordercloud-api.github.io/ordercloud-javascript-sdk/classes/orderclouderror\r\n if (error?.errors?.Errors && error?.errors?.Errors[0] && error?.errors?.Errors[0]?.ErrorCode === \"Authorization.InvalidToken\") {\r\n console.log(error.errors.Errors[0].Message);\r\n } else {\r\n console.log(error);\r\n // console.log(error.errors.Errors[0].Message, error.request.responseURL);\r\n }\r\n } else if (error.request) {\r\n // the request was made but no response received\r\n // `error.request` is an instance of XMLHttpRequest in the browser and an instance of http.ClientRequest in node.js\r\n\r\n console.log(error.request, error.request.responseURL);\r\n } else {\r\n // Something happened in setting up the request that triggered an Error\r\n console.log(error.message, error);\r\n }\r\n };\r\n\r\n const categoryUrl = (category) => {\r\n return getContextExtensions().catalogPageUrl + \"/\" + category;\r\n };\r\n const goToCategory = () => {\r\n const cat = parseUrl(\"category\");\r\n return false;\r\n // window.location.href = getContextExtensions().catalogPageUrl + \"/\" + cat;\r\n };\r\n const productUrl = (category, idp) => {\r\n return getContextExtensions().catalogPageUrl + \"/\" + category + \"/\" + idp;\r\n };\r\n\r\n const parseUrl = (whatToGet) => {\r\n if (typeof window !== \"undefined\") {\r\n const url = window.location;\r\n // Ottenere le parti dell'URL\r\n let pathSegments = url.pathname.split(\r\n getContextExtensions().catalogPage && getContextExtensions().catalogPage.text ? getContextExtensions().catalogPage.text : \"Catalog\"\r\n );\r\n if (pathSegments.length > 1) {\r\n pathSegments = pathSegments[1].split(\"/\");\r\n pathSegments = pathSegments.filter((n) => n);\r\n if (pathSegments.length >= 1) {\r\n switch (whatToGet) {\r\n case \"category\":\r\n const categoryID = pathSegments[0] ? pathSegments[0] : false;\r\n return categoryID;\r\n break;\r\n case \"product\":\r\n let productID;\r\n if (product && product.ID) {\r\n productID = product.ID;\r\n } else {\r\n productID = pathSegments[1] ? pathSegments[1] : false;\r\n }\r\n return productID;\r\n break;\r\n default:\r\n return \"\";\r\n // code block\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n const afterLoginWorkflow = () => {\r\n getFilterTranslations().then((filterTranslation) => {\r\n getMe().then(function (me) {\r\n setLoading(false);\r\n setPageSelected(1);\r\n });\r\n });\r\n };\r\n\r\n const doAnonymousLogin = (clientID, scope) => {\r\n Auth.Anonymous(clientID, scope)\r\n // let's do an ANONYMOUS login\r\n // Auth.Anonymous(clientID, scope)\r\n .then((response) => {\r\n //store token, now any subsequent calls will automatically set this token in the headers\r\n const token = response.access_token;\r\n Tokens.SetAccessToken(token);\r\n setUserAuthToken(token);\r\n afterLoginWorkflow();\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n };\r\n\r\n function getContext() {\r\n return JSON.parse(localstorageService().getItem(\"context\"));\r\n }\r\n\r\n function getContextExtensions() {\r\n return getContext().ContextExtensions;\r\n }\r\n\r\n const LanguageSelector = ({ languages, selectedLanguage, onChange, id, icon }) => {\r\n const options = languages.map((lang) => ({\r\n value: lang,\r\n label: t(\"IVG\" + lang.toUpperCase()),\r\n }));\r\n\r\n return (\r\n <>\r\n \r\n option.value === selectedLanguage)}\r\n onChange={onChange}\r\n options={options}\r\n className=\"styled-select\"\r\n id={id}\r\n />\r\n \r\n );\r\n };\r\n\r\n function createSelectLanguage() {\r\n if (typeof document != \"undefined\") {\r\n const renderLanguageSelector = (anchorElement, containerClass, selectId) => {\r\n if (anchorElement) {\r\n const aDiv = document.createElement(\"div\");\r\n const selectedLanguage = localstorageService().getItem(\"sitecoreLanguage\");\r\n\r\n aDiv.setAttribute(\"class\", containerClass);\r\n anchorElement.parentNode.replaceChild(aDiv, anchorElement);\r\n\r\n let context = getContextExtensions();\r\n if (!context) {\r\n context = {};\r\n context.languages = [\"en\"];\r\n }\r\n const languages = context.languages;\r\n\r\n ReactDOM.render(\r\n React.createElement(LanguageSelector, {\r\n languages: languages,\r\n selectedLanguage: selectedLanguage,\r\n onChange: (option) => {\r\n changeLanguage(option.value);\r\n },\r\n id: selectId,\r\n icon: anchorElement.childNodes[0],\r\n }),\r\n aDiv\r\n );\r\n document.addEventListener(\"click\", closeAllSelect);\r\n }\r\n };\r\n // DESKTOP\r\n const desktopAnchorElement = document.getElementsByClassName(\"global-menu-module\")[0].getElementsByClassName(\"left\")[0].childNodes[0]\r\n .childNodes[0].childNodes[0];\r\n renderLanguageSelector(desktopAnchorElement, \"styled-select-container\", \"changeLanguageSelect\");\r\n\r\n // MOBILE\r\n const mobileAnchorElement = document.getElementsByClassName(\"global-menu-links__mobile\")[0].getElementsByClassName(\"left\")[0]\r\n .childNodes[0].childNodes[0].childNodes[0];\r\n\r\n renderLanguageSelector(mobileAnchorElement, \"styled-select-container-mobile\", \"changeLanguageSelectMobile\");\r\n }\r\n }\r\n\r\n function closeAllSelect(elmnt) {\r\n /* A function that will close all select boxes in the document,\r\n except the current select box: */\r\n var x,\r\n y,\r\n i,\r\n xl,\r\n yl,\r\n arrNo = [];\r\n x = document.getElementsByClassName(\"select-items\");\r\n y = document.getElementsByClassName(\"select-selected\");\r\n xl = x.length;\r\n yl = y.length;\r\n for (i = 0; i < yl; i++) {\r\n if (elmnt == y[i]) {\r\n arrNo.push(i);\r\n } else {\r\n y[i].classList.remove(\"select-arrow-active\");\r\n }\r\n }\r\n for (i = 0; i < xl; i++) {\r\n if (arrNo.indexOf(i)) {\r\n x[i].classList.add(\"select-hide\");\r\n }\r\n }\r\n }\r\n\r\n function changeLanguage(newLang) {\r\n if (typeof window !== \"undefined\") {\r\n let newUrl = \"\";\r\n let oldLang = localstorageService().getItem(\"sitecoreLanguage\");\r\n if (!oldLang) {\r\n }\r\n if (newLang.toUpperCase() != oldLang.toUpperCase()) {\r\n console.log(\"newLang.toUpperCase()\", newLang.toUpperCase());\r\n console.log(\"oldLang.toUpperCase()\", oldLang.toUpperCase());\r\n console.log(\"window.location.href.indexOf\", window.location.href.indexOf(oldLang) != -1);\r\n if (window.location.href.indexOf(oldLang) != -1) {\r\n newUrl = window.location.href.replace(oldLang, newLang);\r\n } else {\r\n newUrl = window.location.href.replace(window.location.origin, window.location.origin + \"/\" + newLang);\r\n }\r\n console.log(\"newUrl\", newUrl);\r\n window.location.assign(newUrl);\r\n }\r\n }\r\n }\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default CommonApi;\r\n","import { strict } from \"assert\";\r\nimport * as React from \"react\";\r\n\r\nconst { useEffect, useRef, useState } = React;\r\n\r\nexport function IsMobileResize() {\r\n const [width, setWidth] = useState(0);\r\n\r\n useEffect(() => {\r\n function handleWindowSizeChange() {\r\n setWidth(window.innerWidth);\r\n }\r\n\r\n window.addEventListener(\"resize\", handleWindowSizeChange);\r\n\r\n handleWindowSizeChange();\r\n return () => window.removeEventListener(\"resize\", handleWindowSizeChange);\r\n }, []);\r\n\r\n return width <= 640;\r\n}\r\n\r\nexport function IsOnResize() {\r\n const [windowResizing, setWindowResizing] = useState(false);\r\n\r\n useEffect(() => {\r\n let timeout;\r\n const handleResize = () => {\r\n clearTimeout(timeout);\r\n\r\n setWindowResizing(true);\r\n\r\n timeout = setTimeout(() => {\r\n setWindowResizing(false);\r\n }, 200);\r\n };\r\n window.addEventListener(\"resize\", handleResize);\r\n\r\n return () => window.removeEventListener(\"resize\", handleResize);\r\n }, []);\r\n\r\n return
{JSON.stringify({ windowResizing })}
;\r\n}\r\n\r\nexport function isHTML(str) {\r\n if (typeof document != \"undefined\" && document) {\r\n var a = document.createElement(\"div\");\r\n a.innerHTML = str;\r\n for (var c = a.childNodes, i = c.length; i--; ) {\r\n if (c[i].nodeType == 1) return true;\r\n }\r\n return false;\r\n }\r\n}\r\n\r\nexport const GenerateIdForGA = (componentName, action) => {\r\n let returnValue;\r\n const [currentSite, setCurrentSite] = useState(null);\r\n const [currentPage, setCurrentPage] = useState(null);\r\n const [isInModal, setIsInModal] = useState(false);\r\n const [modalName, setModalName] = useState(null);\r\n useEffect(() => {\r\n setCurrentSite(document.getElementById(\"currentSite\").innerHTML);\r\n setCurrentPage(document.getElementById(\"currentPage\").innerHTML);\r\n if (document.body.classList.contains(\"ReactModal__Body--open\")) {\r\n setIsInModal(true);\r\n let input: any = document.getElementById(\"modalName\");\r\n if (input) {\r\n setModalName(input.value);\r\n }\r\n }\r\n }, []);\r\n returnValue =\r\n `${currentSite}_${currentPage}_${componentName}_${action}`.replace(\r\n / /g,\r\n \"\"\r\n );\r\n if (isInModal) {\r\n returnValue += `_isInAModal_${modalName}`;\r\n }\r\n return returnValue;\r\n};\r\n","import React, { useEffect, useState } from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n Placeholder,\r\n RichText,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { isHTML } from \"../../types/helpers\";\r\nimport { scaleImage } from '../../utils/scaleImage';\r\nimport { checkDeviceType } from '../../utils/checkDeviceType';\r\n\r\nconst AccordionModule = (props) => {\r\n const excludeImage = props?.params[\"Exclude Images\"];\r\n\r\n const arrowHandleToggle = (renderingUid) => {\r\n if (typeof document !== \"undefined\") {\r\n let accordion = document.querySelectorAll(\r\n \".accordion-wrapper.acc-\" + renderingUid\r\n );\r\n accordion.forEach((element) => {\r\n element.classList.toggle(\"active\");\r\n });\r\n }\r\n };\r\n\r\n const handleOpen = (renderingUid) => {\r\n if (typeof document !== \"undefined\") {\r\n let accordion = document.querySelectorAll(\r\n \".accordion-wrapper.acc-\" + renderingUid\r\n );\r\n accordion.forEach((element) => {\r\n element.classList.add(\"active\");\r\n });\r\n }\r\n };\r\n const handleClose = (renderingUid) => {\r\n if (typeof document !== \"undefined\") {\r\n let accordion = document.querySelectorAll(\r\n \".accordion-wrapper.acc-\" + renderingUid\r\n );\r\n accordion.forEach((element) => {\r\n element.classList.remove(\"active\");\r\n });\r\n }\r\n };\r\n\r\n const [deviceType, setDeviceType] = useState('');\r\n const [windowWidth, setWindowWidth] = useState(null);\r\n\r\n useEffect(() => {\r\n if (typeof window !== 'undefined' && typeof navigator !== 'undefined') {\r\n setDeviceType(checkDeviceType(navigator)); \r\n setWindowWidth(window.innerWidth);\r\n }\r\n }, []);\r\n\r\n var urlParams;\r\n if (typeof window !== \"undefined\") {\r\n urlParams = new URLSearchParams(window.location.search);\r\n }\r\n var queryText;\r\n if (urlParams != undefined) {\r\n queryText =\r\n urlParams.get(\"accordionId\") != undefined &&\r\n urlParams.get(\"accordionId\") != \"\"\r\n ? urlParams.get(\"accordionId\")\r\n : \"\";\r\n }\r\n\r\n if (queryText != \"\") {\r\n setTimeout(() => {\r\n handleOpen(queryText);\r\n }, 500);\r\n\r\n if (typeof document !== \"undefined\") {\r\n let accordion = document.getElementsByClassName(\"acc-\" + queryText)[0];\r\n if (accordion) {\r\n accordion.scrollIntoView({ behavior: \"smooth\" });\r\n }\r\n }\r\n }\r\n\r\n\r\n const themeOption = props?.params?.Theme ? props?.params?.Theme : \"light\";\r\n const { t } = useTranslation();\r\n return (\r\n <>\r\n {props?.fields?.List.map((accordionItem, i) => {\r\n var placeholderName = `jss-accordion${i}`;\r\n return (\r\n \r\n {excludeImage != true ? (\r\n \r\n
\r\n handleOpen(accordionItem?.id)}\r\n height={accordionItem?.fields?.Image?.value?.height}\r\n width={accordionItem?.fields?.Image?.value?.width}\r\n >\r\n arrowHandleToggle(accordionItem?.id)}\r\n >\r\n \r\n \r\n { isHTML(accordionItem?.fields?.Description?.value) == false ? (\r\n \r\n )\r\n :\r\n (\r\n \r\n )}\r\n
\r\n arrowHandleToggle(accordionItem?.id)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n handleClose(accordionItem?.id)}\r\n >\r\n {t(\"IVGCorporateShowLess\")}{\" \"}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n ) : (\r\n \r\n
\r\n arrowHandleToggle(accordionItem?.id)}\r\n >\r\n \r\n { isHTML(accordionItem?.fields?.Description?.value) == false ? (\r\n \r\n )\r\n :\r\n (\r\n \r\n )}\r\n
\r\n arrowHandleToggle(accordionItem?.id)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n handleClose(accordionItem?.id)}\r\n >\r\n {t(\"IVGCorporateShowLess\")}{\" \"}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n )}\r\n \r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(AccordionModule);\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport AccordionModule from \"../AccordionModule\";\r\nimport CommonApi, { CommonApiProvider } from \"../CommonApi\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\ninterface AccordionModuleAccessoriesProps extends ComponentProps {}\r\n\r\nconst AccordionModuleAccessories = (props) => {\r\n const commonCtx = useContext(CommonApi);\r\n const [categoryID, setCategoryID] = useState(null);\r\n const [bgImage, setBgImage] = useState(null);\r\n\r\n const { t } = useTranslation();\r\n\r\n let models = \"\";\r\n\r\n commonCtx.product?.xp?.Models?.forEach((model) => {\r\n let url = commonCtx.getContextExtensions().searchPageUrl + \"?\";\r\n\r\n url +=\r\n model.Version && model.Version != null\r\n ? \"Version=\" + model.Version.toLowerCase() + \"&\"\r\n : \"\";\r\n url +=\r\n model.Model && model.Model != null\r\n ? \"Year=\" + model.Model.toLowerCase() + \"&\"\r\n : \"\";\r\n url +=\r\n model.Name && model.Name != null\r\n ? \"Vehicle=\" + model.Name.toLowerCase() + \"&\"\r\n : \"\";\r\n\r\n if (url.endsWith(\"&\")) {\r\n url = url.substring(0, url.length - 1);\r\n }\r\n\r\n models +=\r\n '' +\r\n model.Name +\r\n (model.Model && model.Model != null ? \" \" + model.Model : \"\") +\r\n \" \" +\r\n (model.Version && model.Version != null ? \" \" + model.Version : \"\") +\r\n \" \" +\r\n \", \";\r\n });\r\n models = models.substring(0, models.length - 2);\r\n\r\n let accordion: any = {};\r\n accordion.fields = {};\r\n\r\n accordion.fields.List = [];\r\n\r\n accordion.rendering = {\r\n componentName: \"AccordionModule\",\r\n placeholders: {},\r\n };\r\n\r\n function replaceNewLineWithBr(inputString) {\r\n return inputString.replace(/\\n/g, \"
\");\r\n }\r\n\r\n var i = 0;\r\n\r\n if (commonCtx.productTranslations?.Vantaggi) {\r\n accordion.rendering.placeholders[\"jss-accordion\" + i] = [];\r\n\r\n accordion.fields.List.push({\r\n id: \"card1\",\r\n url: \"\",\r\n name: \"Card 1\",\r\n displayName: \"Card 1\",\r\n fields: {\r\n Description: {\r\n value: `
${t(\"Vantaggi\")}
`,\r\n },\r\n },\r\n });\r\n\r\n accordion.rendering.placeholders[\"jss-accordion\" + i].push({\r\n uid: \"card1\",\r\n componentName: \"TextingModule\",\r\n dataSource: \"card1\",\r\n fields: {\r\n Title: {\r\n value: \"\",\r\n },\r\n Description: {\r\n value: commonCtx.productTranslations?.Vantaggi,\r\n },\r\n \"Strong Title\": {\r\n value: false,\r\n },\r\n \"Tag Title\": {\r\n value: \"h2\",\r\n },\r\n },\r\n });\r\n i++;\r\n }\r\n\r\n if (commonCtx.productTranslations?.DatiTecnici) {\r\n accordion.rendering.placeholders[\"jss-accordion\" + i] = [];\r\n accordion.fields.List.push({\r\n id: \"card2\",\r\n url: \"\",\r\n name: \"Card 2\",\r\n displayName: \"Card 2\",\r\n fields: {\r\n Description: {\r\n value: `
${t(\"Dati tecnici\")}
`,\r\n },\r\n },\r\n });\r\n accordion.rendering.placeholders[\"jss-accordion\" + i].push({\r\n uid: \"card2\",\r\n componentName: \"TextingModule\",\r\n dataSource: \"card2\",\r\n fields: {\r\n Title: {\r\n value: \"\",\r\n },\r\n Description: {\r\n value: `${\r\n commonCtx.productTranslations?.DatiTecnici\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.DatiTecnici\r\n )}

`\r\n : \"\"\r\n }`,\r\n /*${\r\n commonCtx.productTranslations?.Materiale\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Materiale\r\n )}

`\r\n : \"\"\r\n }${\r\n commonCtx.productTranslations?.Misure\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Misure\r\n )}

`\r\n : \"\"\r\n }${\r\n commonCtx.productTranslations?.Versione\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Versione\r\n )}

`\r\n : \"\"\r\n }${\r\n commonCtx.productTranslations?.Peso\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Peso\r\n )}

`\r\n : \"\"\r\n }${\r\n commonCtx.productTranslations?.Colore\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Colore\r\n )}

`\r\n : \"\"\r\n }${\r\n commonCtx.productTranslations?.Fornitura\r\n ? `${replaceNewLineWithBr(\r\n commonCtx.productTranslations.Fornitura\r\n )}

`\r\n : \"\"\r\n }`,*/\r\n },\r\n \"Strong Title\": {\r\n value: false,\r\n },\r\n \"Tag Title\": {\r\n value: \"h2\",\r\n },\r\n },\r\n });\r\n i++;\r\n }\r\n\r\n if (commonCtx.productTranslations?.Avvertenza) {\r\n accordion.rendering.placeholders[\"jss-accordion\" + i] = [];\r\n accordion.fields.List.push({\r\n id: \"card3\",\r\n url: \"\",\r\n name: \"Card 3\",\r\n displayName: \"Card 3\",\r\n fields: {\r\n Description: {\r\n value: `
${t(\"Avvertenze / restrizioni\")}
`,\r\n },\r\n },\r\n });\r\n accordion.rendering.placeholders[\"jss-accordion\" + i].push({\r\n uid: \"card3\",\r\n componentName: \"TextingModule\",\r\n dataSource: \"card3\",\r\n fields: {\r\n Title: {\r\n value: \"\",\r\n },\r\n Description: {\r\n value: commonCtx.productTranslations?.Avvertenza,\r\n },\r\n \"Strong Title\": {\r\n value: false,\r\n },\r\n \"Tag Title\": {\r\n value: \"h2\",\r\n },\r\n },\r\n });\r\n i++;\r\n }\r\n\r\n if (models) {\r\n accordion.rendering.placeholders[\"jss-accordion\" + i] = [];\r\n accordion.fields.List.push({\r\n id: \"card4\",\r\n url: \"\",\r\n name: \"Card 4\",\r\n displayName: \"Card 4\",\r\n fields: {\r\n Description: {\r\n value: `
${t(\"Compatibilità\")}
`,\r\n },\r\n },\r\n });\r\n accordion.rendering.placeholders[\"jss-accordion\" + i].push({\r\n uid: \"card4\",\r\n componentName: \"TextingModule\",\r\n dataSource: \"card4\",\r\n fields: {\r\n Title: {\r\n value: \"\",\r\n },\r\n Description: {\r\n value: models,\r\n },\r\n \"Strong Title\": {\r\n value: false,\r\n },\r\n \"Tag Title\": {\r\n value: \"h2\",\r\n },\r\n },\r\n });\r\n }\r\n\r\n accordion.params = { Theme: \"light\", \"Exclude Images\": \"1\" };\r\n\r\n return ;\r\n};\r\n\r\nexport default withSitecoreContext()(AccordionModuleAccessories);\r\n","import React from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\n\r\ninterface BreadcrumbModuleAccessoriesProps extends ComponentProps {}\r\n\r\nconst BreadcrumbModuleAccessories = (props) => {\r\n return <>; // ;\r\n};\r\n\r\nexport default withSitecoreContext()(BreadcrumbModuleAccessories);\r\n","import React, { useState, useEffect } from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport { Text, Placeholder, Image } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport Modal from \"react-modal\";\r\nimport { ModalProps } from \"../../types/types\";\r\nimport \"./styles.scss\";\r\n\r\nconst ModalModule = ({\r\n isOpen = false,\r\n close,\r\n children,\r\n shouldCloseOnOverlayClick = true,\r\n title,\r\n className,\r\n hasMaxHeightRestricted = false,\r\n logoImg,\r\n hasBreadcrumb = false,\r\n modalName = \"noModalNameProvided\",\r\n}: ModalProps) => {\r\n const [overlayDiv, setOverlayDiv] = useState(null);\r\n const closeModal = () => {\r\n close && close(false);\r\n document.querySelector(\"body\").classList.remove(\"modal-opened\");\r\n document.querySelector(\"body\").style.overflow = \"auto\";\r\n };\r\n\r\n if (typeof window != \"undefined\") {\r\n /* document.addEventListener('touchstart', function(event) {\r\n event.stopPropagation();\r\n }, {passive:true});\r\n document.addEventListener('touchmove', function(event) {\r\n event.stopPropagation();\r\n }, {passive:true}); */\r\n }\r\n\r\n useEffect(() => {\r\n const openModal = document.querySelectorAll(\"#zoomIn\");\r\n /* openModal.forEach((element) => {\r\n element.addEventListener(\"touchend\", () => {\r\n // event.target.classList.add('open-modal-btn');\r\n document.querySelector(\"body\").classList.add(\"modal-opened\");\r\n });\r\n });\r\n*/\r\n const firstAccordionModules = document.querySelector(\r\n \".ReactModalPortal .ReactModal__Content .accordion-module\"\r\n );\r\n if (firstAccordionModules) {\r\n if (\r\n firstAccordionModules\r\n .querySelector(\".accordion-wrapper\")\r\n .hasAttribute(\"border-top\") == false\r\n ) {\r\n firstAccordionModules\r\n .querySelector(\".accordion-wrapper\")\r\n .setAttribute(\"style\", \"border-top: 1px solid #EEEEEE\");\r\n }\r\n }\r\n }, []);\r\n\r\n const CloseButton = () => (\r\n \r\n );\r\n const SideBar = () => (\r\n
\r\n );\r\n const Header = () => (\r\n
\r\n
\r\n {logoImg && }\r\n\r\n \r\n
\r\n
\r\n );\r\n return (\r\n <>\r\n document.querySelector(\"#root\")}\r\n shouldCloseOnOverlayClick={shouldCloseOnOverlayClick}\r\n className={`my-modal-dialog ${className} ${\r\n hasMaxHeightRestricted ? \"my-modal-dialog--has-max-height\" : \"\"\r\n } ${hasBreadcrumb ? \"zero-top-no-header\" : \"\"}`}\r\n overlayClassName={`my-modal-dialog__overlay ${className} ${\r\n hasMaxHeightRestricted\r\n ? \"my-modal-dialog__overlay--has-max-height\"\r\n : \"\"\r\n }`}\r\n appElement={\r\n typeof document !== \"undefined\"\r\n ? document.querySelector(\"#root\")\r\n : null\r\n }\r\n overlayRef={setOverlayDiv}\r\n >\r\n \r\n
\r\n {overlayDiv &&\r\n !hasBreadcrumb &&\r\n ReactDOM.createPortal(
, overlayDiv)}\r\n {overlayDiv && ReactDOM.createPortal(, overlayDiv)}\r\n {overlayDiv &&\r\n hasBreadcrumb &&\r\n ReactDOM.createPortal(, overlayDiv)}\r\n {children}\r\n
\r\n \r\n \r\n );\r\n};\r\nexport default ModalModule;\r\n","export const returnSvgImage: (resource: any, iconName: string) => string = (\r\n resource,\r\n iconName\r\n) => {\r\n if (!resource) return;\r\n\r\n const width =\r\n resource.svgCode && resource.svgCode != \"\"\r\n ? resource.svgCode.split('width=\"')[1]\r\n ? resource.svgCode.split('width=\"')[1].split('\" ')[0]\r\n : \"\"\r\n : \"\";\r\n const height =\r\n resource.svgCode && resource.svgCode != \"\"\r\n ? resource.svgCode.split('height=\"')[1]\r\n ? resource.svgCode.split('height=\"')[1].split('\" ')[0]\r\n : \"\"\r\n : \"\";\r\n const strokeAttr =\r\n resource.svgCode && resource.svgCode != \"\"\r\n ? resource.svgCode.split('stroke=\"')[1]\r\n ? resource.svgCode.split('stroke=\"')[1].split('\" ')[0]\r\n : \"\"\r\n : \"\";\r\n const fillAttr =\r\n resource.svgCode && resource.svgCode != \"\"\r\n ? resource.svgCode.split('fill=\"')[1]\r\n ? resource.svgCode.split('fill=\"')[1].split('\" ')[0]\r\n : \"\"\r\n : \"\";\r\n const strokeWidth =\r\n resource.svgCode && resource.svgCode != \"\"\r\n ? resource.svgCode.split('stroke-width=\"')[1]\r\n ? resource.svgCode.split('stroke-width=\"')[1].split('\" ')[0]\r\n : \"\"\r\n : \"\";\r\n\r\n let w = \"\";\r\n let h = \"\";\r\n\r\n if (resource.width) {\r\n w = 'width=\"' + resource.width + '\"';\r\n } else {\r\n w = 'width=\"' + width + '\"';\r\n }\r\n\r\n if (resource.height) {\r\n h = 'height=\"' + resource.height + '\"';\r\n } else {\r\n h = 'height=\"' + height + '\"';\r\n }\r\n\r\n let style = 'style=\"';\r\n style += \"font-size:\" + width + \"px;\";\r\n // color:'+strokeAttr+'; -webkit-text-stroke-width:'+strokeWidth+'px;';\r\n style += '\"';\r\n\r\n if (iconName) {\r\n return '\";\r\n } else {\r\n // (resource.svgCode && strokeAttr !== '' && strokeWidth !== ''){ //} || fillAttr !== 'none'){\r\n return resource.svgCode;\r\n }\r\n /* else{ \r\n let svg = \" \";\r\n return svg; \r\n } */\r\n};\r\n","import React, { useRef, useState, useEffect } from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n Image,\r\n RichText,\r\n Placeholder,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport ModalModule from \"../../react-only-components/ModalModule/ModalModule\";\r\nimport ReactPlayer from \"react-player/lazy\";\r\nimport { useOnCookieChange } from \"../../hooks/useOnCookieChange\";\r\nimport { useCookiesAllowVideo } from \"../../hooks/useCookieAllowVideo\";\r\nimport CookiesVideoDisclaimer, {\r\n CookiesVideoDisclaimerWrapper,\r\n} from \"../../react-only-components/CookiesVideoDisclaimerWrapper\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from '../../utils/svgImage';\r\n\r\nconst CardModule = (props) => {\r\n const cardContext =\r\n props.dataFromParent != null ? props.dataFromParent : props;\r\n const themeOption =\r\n props.theme != null\r\n ? props.theme\r\n : cardContext?.fields?.[\"Theme\"]\r\n ? cardContext?.fields?.[\"Theme\"]?.value\r\n : \"\";\r\n const isExpEditorEnabled = props?.sitecoreContext?.pageEditing;\r\n const isVideoLink = cardContext?.fields?.[\"is Video Link\"]?.value;\r\n const isFullScreen = cardContext?.fields?.FullScreen?.value;\r\n const [modalIsOpen, setIsOpen] = React.useState(false);\r\n const [placeholderName, setPlaceholderName] = useState(\"jss-accordion\");\r\n const [play, setPlay] = useState(false);\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if (typeof window != \"undefined\") {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setInnerInternalWidth(window.innerWidth);\r\n });\r\n }\r\n }, []);\r\n const openModal = (placeholderName) => {\r\n setPlaceholderName(placeholderName);\r\n setIsOpen(true);\r\n document.querySelector(\"body\").classList.add(\"modal-opened\");\r\n document.querySelector(\"body\").style.overflow = \"hidden\";\r\n };\r\n\r\n const openInNewTab = (url) => {\r\n window.open(url, \"_blank\", \"noopener,noreferrer\");\r\n };\r\n\r\n const closeModal = () => {\r\n setIsOpen(false);\r\n };\r\n\r\n const videoActive = () => {\r\n setPlay(!play);\r\n const element = document.querySelector(\".card-video\");\r\n element.classList.toggle(\"active\");\r\n };\r\n\r\n const shouldCloseOnOverlayClick = true;\r\n const mobileImage = cardContext?.fields?.[\"Image Mobile\"]?.value?.src;\r\n const desktopImage = cardContext?.fields?.Image.value?.src;\r\n\r\n const consent = useOnCookieChange();\r\n const cookiesAllowVideo = useCookiesAllowVideo(consent);\r\n\r\n return (\r\n <>\r\n {props?.dataModal !== true && (\r\n \r\n {isVideoLink && isFullScreen ? (\r\n <>\r\n {/* cookiesAllowVideo == false && (cardContext?.fields?.Link?.value?.linktype == \"external\") */}\r\n {false ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n openModal(`jss-accordion${props?.index}`)\r\n : closeModal\r\n }\r\n >\r\n {innerInternalWidth <= 640 != true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n {props?.dataModal !== true ? (\r\n isVideoLink ? (\r\n cardContext?.fields?.Link?.value?.href\r\n }\r\n >\r\n \r\n {cardContext?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {cardContext?.fields?.Link?.value?.text && (\r\n {cardContext?.fields?.Link?.value?.text}\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ) : (\r\n
\r\n openModal(`jss-accordion${props?.index}`)}\r\n >\r\n {\" \"}\r\n {props?.dataFromParent?.fields?.[\"Modal Text\"]?.value}\r\n \r\n \r\n
\r\n )}\r\n\r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n
\r\n {isExpEditorEnabled ? (\r\n
\r\n
\r\n

This is Modal Content

\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )}\r\n {props?.dataModal === true && (\r\n cardContext?.fields?.Link?.value?.href}\r\n >\r\n {isVideoLink && isFullScreen ? (\r\n <>\r\n {/* cookiesAllowVideo == false && (cardContext?.fields?.Link?.value?.linktype == \"external\") */}\r\n {false ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n openModal(`jss-accordion${props?.index}`)\r\n : closeModal\r\n }\r\n >\r\n {innerInternalWidth <= 640 != true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
\r\n \r\n \r\n
\r\n {props?.dataModal !== true ? (\r\n isVideoLink ? (\r\n cardContext?.fields?.Link?.value?.href\r\n }\r\n >\r\n \r\n {cardContext?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {cardContext?.fields?.Link?.value?.text && (\r\n {cardContext?.fields?.Link?.value?.text}\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ) : (\r\n
\r\n openModal(`jss-accordion${props?.index}`)}\r\n >\r\n {\" \"}\r\n {props?.dataFromParent?.fields?.[\"Modal Text\"]?.value}\r\n \r\n \r\n
\r\n )}\r\n\r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n
\r\n {isExpEditorEnabled ? (\r\n
\r\n
\r\n

This is Modal Content

\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(CardModule);\r\n","import * as React from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { useState, useEffect } from \"react\";\r\nimport {\r\n Text,\r\n Image,\r\n Placeholder,\r\n RichText,\r\n withSitecoreContext,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { StageCardModuleModel } from \"./models/StageCardModule.model\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\n\r\ninterface StageCardModuleProps extends ComponentProps {}\r\n\r\nconst StageCardModule = (props: StageCardModuleProps) => {\r\n const themeOption = props?.params?.Theme;\r\n const alignment = props?.params?.Alignment;\r\n const model = new StageCardModuleModel(props);\r\n const Opacity = model.Opacity;\r\n\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n }, [])\r\n\r\n return (\r\n <>\r\n \r\n \r\n {innerInternalWidth <= 640 ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(StageCardModule);\r\n","import React from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport StageCardModule from \"../StageCardModule\";\r\n\r\nconst CardModuleFullAccessories = (props) => {\r\n return ;\r\n};\r\n\r\nexport default withSitecoreContext()(CardModuleFullAccessories);\r\n","import React, { useRef, useState, useEffect } from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n Image,\r\n RichText,\r\n Placeholder,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport ModalModule from \"../../react-only-components/ModalModule/ModalModule\";\r\nimport ReactPlayer from \"react-player/lazy\";\r\nimport { useOnCookieChange } from \"../../hooks/useOnCookieChange\";\r\nimport { useCookiesAllowVideo } from \"../../hooks/useCookieAllowVideo\";\r\nimport CookiesVideoDisclaimer, {\r\n CookiesVideoDisclaimerWrapper,\r\n} from \"../../react-only-components/CookiesVideoDisclaimerWrapper\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from \"../../utils/svgImage\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport i18next from \"i18next\";\r\nimport moment from \"moment\";\r\n\r\nconst CardModuleLinkedItem = (props) => {\r\n const cardContext =\r\n props.dataFromParent != null ? props.dataFromParent : props;\r\n const themeOption =\r\n props.theme != null\r\n ? props.theme\r\n : cardContext?.fields?.[\"Theme\"]\r\n ? cardContext?.fields?.[\"Theme\"]?.value\r\n : \"\";\r\n const isExpEditorEnabled = props?.sitecoreContext?.pageEditing;\r\n const isVideoLink = cardContext?.fields?.[\"is Video Link\"]?.value;\r\n const isFullScreen = cardContext?.fields?.FullScreen?.value;\r\n const [modalIsOpen, setIsOpen] = React.useState(false);\r\n const [placeholderName, setPlaceholderName] = useState(\"jss-accordion\");\r\n const [play, setPlay] = useState(false);\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if (typeof window != \"undefined\") {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setInnerInternalWidth(window.innerWidth);\r\n });\r\n }\r\n }, []);\r\n const openModal = (placeholderName) => {\r\n setPlaceholderName(placeholderName);\r\n setIsOpen(true);\r\n const bodyElement = document.body;\r\n if (bodyElement) {\r\n bodyElement.classList.add(\"modal-opened\");\r\n bodyElement.style.overflow = \"hidden\";\r\n }\r\n };\r\n\r\n const openInNewTab = (url) => {\r\n window.open(url, \"_blank\", \"noopener,noreferrer\");\r\n };\r\n\r\n const closeModal = () => {\r\n setIsOpen(false);\r\n };\r\n\r\n const videoActive = () => {\r\n setPlay(!play);\r\n const element = document.querySelector(\".card-video\");\r\n if (element !== null) {\r\n element.classList.toggle(\"active\");\r\n }\r\n };\r\n\r\n const shouldCloseOnOverlayClick = true;\r\n const mobileImage = cardContext?.fields?.imageMobile?.value?.src;\r\n const desktopImage = cardContext?.fields?.Image.value?.src;\r\n\r\n const consent = useOnCookieChange();\r\n const cookiesAllowVideo = useCookiesAllowVideo(consent);\r\n const convertStringToDate = (str) => {\r\n var date = new Date(str);\r\n var formatDate =\r\n props?.sitecoreContext?.ContextExtensions?.formatdate?.value;\r\n if (formatDate && formatDate != \"\") {\r\n let x: any = moment(date).format(formatDate);\r\n return x.toString();\r\n } else {\r\n return (\r\n date.toLocaleString(i18next.language, { month: \"long\" }) +\r\n \" \" +\r\n date.getDate() +\r\n nth(date.getDate()) +\r\n \" \" +\r\n date.getFullYear()\r\n );\r\n }\r\n };\r\n\r\n const nth = (d) => {\r\n if (d > 3 && d < 21) return \"th\";\r\n switch (d % 10) {\r\n case 1:\r\n return \"st\";\r\n case 2:\r\n return \"nd\";\r\n case 3:\r\n return \"rd\";\r\n default:\r\n return \"th\";\r\n }\r\n };\r\n\r\n const { t } = useTranslation();\r\n\r\n return (\r\n <>\r\n {props?.dataModal !== true && (\r\n \r\n {isVideoLink && isFullScreen ? (\r\n <>\r\n {/* cookiesAllowVideo == false && (cardContext?.fields?.Link?.value?.linktype == \"external\") */}\r\n {false ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n openModal(`jss-accordion${props?.index}`)\r\n : closeModal\r\n }\r\n >\r\n {innerInternalWidth <= 640 != true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n\r\n
\r\n
\r\n {t(\"IVGCorporatePromotionValidUntil\")}{\" \"}\r\n {convertStringToDate(\r\n cardContext?.fields?.[\"Valid Until\"]?.value.toString()\r\n )}\r\n
\r\n \r\n
\r\n {props?.dataModal !== true ? (\r\n isVideoLink ? (\r\n cardContext?.fields?.Link?.value?.href\r\n }\r\n >\r\n \r\n {cardContext?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {cardContext?.fields?.Link?.value?.text && (\r\n {cardContext?.fields?.Link?.value?.text}\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ) : (\r\n
\r\n openModal(`jss-accordion${props?.index}`)}\r\n >\r\n {\" \"}\r\n {props?.dataFromParent?.fields?.[\"Modal Text\"]?.value}\r\n \r\n \r\n
\r\n )}\r\n\r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n
\r\n {isExpEditorEnabled ? (\r\n
\r\n
\r\n

This is Modal Content

\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )}\r\n {props?.dataModal === true && (\r\n cardContext?.fields?.Link?.value?.href}\r\n >\r\n {isVideoLink && isFullScreen ? (\r\n <>\r\n {/* cookiesAllowVideo == false && (cardContext?.fields?.Link?.value?.linktype == \"external\") */}\r\n {false ? (\r\n \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n openModal(`jss-accordion${props?.index}`)\r\n : closeModal\r\n }\r\n >\r\n {innerInternalWidth <= 640 != true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
\r\n
\r\n {t(\"IVGCorporatePromotionValidUntil\")}{\" \"}\r\n {convertStringToDate(\r\n cardContext?.fields?.[\"Valid Until\"]?.value.toString()\r\n )}\r\n
\r\n \r\n
\r\n {props?.dataModal !== true ? (\r\n isVideoLink ? (\r\n cardContext?.fields?.Link?.value?.href\r\n }\r\n >\r\n \r\n {cardContext?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n ) : (\r\n \r\n {cardContext?.fields?.Link?.value?.text && (\r\n {cardContext?.fields?.Link?.value?.text}\r\n )}\r\n \r\n \r\n \r\n \r\n \r\n )\r\n ) : (\r\n
\r\n openModal(`jss-accordion${props?.index}`)}\r\n >\r\n {\" \"}\r\n {props?.dataFromParent?.fields?.[\"Modal Text\"]?.value}\r\n \r\n \r\n
\r\n )}\r\n\r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
\r\n
\r\n {isExpEditorEnabled ? (\r\n
\r\n
\r\n

This is Modal Content

\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(CardModuleLinkedItem);\r\n","import * as React from \"react\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { CardsCarouselModuleModel } from \"./models/CardsCarouselModule.model\";\r\nimport Slider from \"react-slick\";\r\nimport CardModule from \"../CardModule\";\r\nimport { useState, useRef } from \"react\";\r\nimport { GenerateIdForGA } from \"../../types/helpers\";\r\nimport \"./index.scss\";\r\nimport CardModuleLinkedItem from \"../CardModuleLinkedItem\";\r\n\r\nconst CardsCarouselModule = (props) => {\r\n const model = new CardsCarouselModuleModel(props);\r\n const cardCarouselContent = React.useRef(null);\r\n\r\n const [isLandscape, setIsLandscape] = useState(typeof window !== \"undefined\" ? window.orientation != 0 : false);\r\n\r\n const cardsCarouselRef = useRef(null);\r\n const SampleNextArrow = (props) => {\r\n const { className, style, onClick } = props;\r\n return
;\r\n };\r\n const SamplePrevArrow = (props) => {\r\n const { className, style, onClick } = props;\r\n return
;\r\n };\r\n if (typeof window !== \"undefined\") {\r\n window.addEventListener(\"orientationchange\", () => setScreenOrientation());\r\n }\r\n const setScreenOrientation = () => {\r\n if (typeof window !== \"undefined\") {\r\n let isIs = window.orientation != 0;\r\n if (isLandscape != isIs) {\r\n setIsLandscape(window.orientation != 0);\r\n }\r\n }\r\n };\r\n const settings = {\r\n arrows: true,\r\n dots: false,\r\n slidesToScroll: 1,\r\n slidesToShow: 3.3,\r\n infinite: false,\r\n nextArrow: ,\r\n prevArrow: ,\r\n touchMove: false,\r\n responsive: [\r\n {\r\n breakpoint: 1367,\r\n settings: {\r\n slidesToShow: 2.5,\r\n slidesToScroll: 1,\r\n infinite: false,\r\n dots: isLandscape ? true : false,\r\n touchMove: isLandscape ? true : false,\r\n },\r\n },\r\n {\r\n breakpoint: 1023,\r\n settings: {\r\n slidesToShow: 2.3,\r\n slidesToScroll: 1,\r\n infinite: false,\r\n dots: true,\r\n touchMove: true,\r\n },\r\n },\r\n {\r\n breakpoint: 959,\r\n settings: {\r\n slidesToShow: 2.1,\r\n slidesToScroll: 1,\r\n infinite: false,\r\n dots: true,\r\n touchMove: true,\r\n },\r\n },\r\n {\r\n breakpoint: 575,\r\n settings: {\r\n slidesToShow: 1.1,\r\n slidesToScroll: 1,\r\n infinite: false,\r\n dots: true,\r\n touchMove: true,\r\n },\r\n },\r\n ],\r\n };\r\n const afterChange = () => {\r\n setTimeout(() => {\r\n let array = [];\r\n const getSlickList = cardCarouselContent?.current?.querySelectorAll(\".slick-dots li\"),\r\n getLatestSlickListElement = cardCarouselContent?.current?.querySelector(\".slick-dots li:last-of-type\");\r\n\r\n getSlickList?.forEach((element: any) => {\r\n array.push(element.classList.contains(\"slick-active\"));\r\n });\r\n if (array.every((v) => v === false)) {\r\n getLatestSlickListElement?.classList.add(\"slick-active\");\r\n } else {\r\n getLatestSlickListElement?.classList.remove(\"slick-active\");\r\n }\r\n }, 0);\r\n };\r\n\r\n return (\r\n <>\r\n \r\n
\r\n \r\n {model?.List?.map((cardGrid, i) => {\r\n return (\r\n <>\r\n {cardGrid?.fields?.[\"Use Linked Item\"]?.value == true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n );\r\n })}\r\n \r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(CardsCarouselModule);\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport CardsCarouselModule from \"../CardsCarouselModule\";\r\nimport \"./index.scss\";\r\nimport { localstorageService } from \"../../utils/window.utils\";\r\n\r\ninterface CardsCarouselModuleAccessoriesProps extends ComponentProps {}\r\n\r\nconst CardsCarouselModuleAccessories = (propsSitecore) => {\r\n const commonCtx = useContext(CommonApi);\r\n const [carouselLoaded, setCarouselLoaded] = useState(false);\r\n const [carouselCategoryLoaded, setCarouselCategoryLoaded] = useState(false);\r\n const [productIds, setProductIds] = useState(\r\n propsSitecore.fields.ProductIDs && propsSitecore.fields.ProductIDs.value ? propsSitecore.fields.ProductIDs.value.split(\",\") : []\r\n );\r\n const [isLoading, setIsLoading] = useState(true);\r\n const [categoryTranslations, setCategoryTranslations] = useState({} as any);\r\n\r\n const [productList, setProductList] = useState([]);\r\n const [productCategoryList, setProductCategoryList] = useState([]);\r\n const [isCategory, setIsCategory] = useState(propsSitecore.fields?.IsRelative?.value ? true : false);\r\n\r\n function getProductsInfo(res, categoryTranslations, dark) {\r\n if (res) {\r\n var promises = [];\r\n for (var index = 0; index < res.length; index++) {\r\n promises.push(\r\n new Promise(function (resolve, reject) {\r\n var product = res[index];\r\n if (product) {\r\n commonCtx.getProductTranslations(product.ID, false).then(function (productTranslation) {\r\n commonCtx\r\n .loadImageForProduct(product)\r\n .then(function (src) {\r\n let url = src;\r\n if (dark && url === commonCtx.missingImg.default) {\r\n url = commonCtx.missingImgDark.default;\r\n }\r\n\r\n let catTrans;\r\n if (Array.isArray(categoryTranslations)) {\r\n catTrans = categoryTranslations.find((element) => element.Category === product.xp.Family);\r\n } else {\r\n catTrans = categoryTranslations;\r\n }\r\n resolve({\r\n id: product.ID,\r\n categoryID: product.xp.Family,\r\n url: commonCtx.productUrl(product.xp.Family, product.ID),\r\n name: catTrans.Accessory,\r\n displayName: catTrans.Accessory,\r\n fields: {\r\n Title: {\r\n value: productTranslation.PartName ? productTranslation.PartName : productTranslation.ShortDescription,\r\n },\r\n Description: {\r\n value: catTrans.Accessory,\r\n },\r\n Image: {\r\n value: {\r\n src: url,\r\n alt: catTrans.Accessory,\r\n width: \"\",\r\n height: \"\",\r\n },\r\n },\r\n Link: {\r\n value: {\r\n href: commonCtx.productUrl(product.xp.Category, product.ID),\r\n },\r\n },\r\n \"is Video Link\": {\r\n value: false,\r\n },\r\n \"Image Mobile\": {\r\n value: {\r\n src: url,\r\n alt: product.Name,\r\n width: \"\",\r\n height: \"\",\r\n },\r\n },\r\n \"Full Image\": {\r\n value: true,\r\n },\r\n Theme: {\r\n value: \"dark\",\r\n },\r\n FullScreen: {\r\n value: false,\r\n },\r\n \"Modal Link\": {\r\n value: {\r\n href: \"\",\r\n },\r\n },\r\n \"Modal Icon\": {\r\n value: {},\r\n },\r\n \"Modal Text\": {\r\n value: \"Scopri di più\",\r\n },\r\n \"Modal Iconcss\": {\r\n value: \"\",\r\n },\r\n Opacity: {\r\n value: \"high\",\r\n },\r\n },\r\n });\r\n })\r\n .catch(function (error) {\r\n let catTrans;\r\n if (Array.isArray(categoryTranslations)) {\r\n catTrans = categoryTranslations.find((element) => element.Category === product.xp.Family);\r\n } else {\r\n catTrans = categoryTranslations;\r\n }\r\n resolve({\r\n id: product.ID,\r\n categoryID: product.xp.Family,\r\n url: commonCtx.productUrl(product.xp.Family, product.ID),\r\n name: catTrans.Accessory,\r\n displayName: catTrans.Accessory,\r\n fields: {\r\n Title: {\r\n value: productTranslation === null || productTranslation === void 0 ? void 0 : productTranslation.LongDescription,\r\n },\r\n Description: {\r\n value: catTrans.Family,\r\n },\r\n Image: {\r\n value: {\r\n src: dark ? commonCtx.missingImgDark.default : commonCtx.missingImg.default,\r\n alt: catTrans.Accessory,\r\n width: \"\",\r\n height: \"\",\r\n },\r\n },\r\n Link: {\r\n value: {\r\n href: commonCtx.productUrl(product.xp.Category, product.ID),\r\n },\r\n },\r\n \"is Video Link\": {\r\n value: false,\r\n },\r\n \"Image Mobile\": {\r\n value: {\r\n src: localstorageService().getItem(\"image\" + product.ID),\r\n alt: product.Name,\r\n width: \"\",\r\n height: \"\",\r\n },\r\n },\r\n \"Full Image\": {\r\n value: true,\r\n },\r\n Theme: {\r\n value: \"dark\",\r\n },\r\n FullScreen: {\r\n value: false,\r\n },\r\n \"Modal Link\": {\r\n value: {\r\n href: \"\",\r\n },\r\n },\r\n \"Modal Icon\": {\r\n value: {},\r\n },\r\n \"Modal Text\": {\r\n value: \"Scopri di più\",\r\n },\r\n \"Modal Iconcss\": {\r\n value: \"\",\r\n },\r\n Opacity: {\r\n value: \"high\",\r\n },\r\n },\r\n });\r\n });\r\n });\r\n }\r\n })\r\n );\r\n }\r\n Promise.all(promises).then(function (products) {\r\n if (isCategory) {\r\n setProductCategoryList(products);\r\n } else {\r\n setProductList(products);\r\n }\r\n setCarouselLoaded(true);\r\n setIsLoading(false);\r\n });\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (!commonCtx.loading && ((isCategory && !carouselCategoryLoaded) || (!isCategory && !carouselLoaded))) {\r\n //CASE BLUE CARDS FEATURED WITH PRODUCT IDS (WHAT's NEW)\r\n if (productIds.length > 0 && productIds[0] != \"\" && !isCategory && !carouselLoaded && commonCtx.userAuthToken !== null) {\r\n setProductCategoryList([]);\r\n setCarouselLoaded(true);\r\n commonCtx.getProductsByIds(productIds).then(function (productList) {\r\n if (productList && productList.length > 0) {\r\n var promises = [];\r\n for (var index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise(function (resolve, reject) {\r\n commonCtx\r\n .getCategoryTranslations(productList[index].xp.Category)\r\n .then(function (translation) {\r\n setCategoryTranslations(translation);\r\n resolve(translation);\r\n })\r\n .catch(function (error) {\r\n reject(error);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises).then(function (categoryTranslations) {\r\n setIsLoading(false);\r\n getProductsInfo(productList, categoryTranslations, true);\r\n });\r\n }\r\n });\r\n } else {\r\n setProductList([]);\r\n setIsLoading(false);\r\n\r\n //CASE CATEGORY O PRODUCT\r\n if (!carouselCategoryLoaded && commonCtx.userAuthToken !== null) {\r\n setIsLoading(true);\r\n setCarouselCategoryLoaded(true);\r\n var category = commonCtx.parseUrl(\"category\");\r\n var product = commonCtx.parseUrl(\"product\");\r\n\r\n // CASE RECOMMENDED PRODUCTS\r\n if (isCategory && product) {\r\n let relatedProds = [];\r\n\r\n commonCtx?.getProduct(product, false).then((foundProd) => {\r\n foundProd?.xp?.RelatedProducts.forEach((relatedProd) => {\r\n relatedProds.push(relatedProd);\r\n });\r\n setProductIds(relatedProds);\r\n // debugger;\r\n if (relatedProds.length === 0) {\r\n setIsLoading(false);\r\n } else {\r\n commonCtx.getProductsByIds(relatedProds).then(function (productList) {\r\n if (productList && productList.length > 0) {\r\n var promises = [];\r\n for (var index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise(function (resolve, reject) {\r\n commonCtx\r\n .getCategoryTranslations(productList[index].xp.Category)\r\n .then(function (translation) {\r\n setCategoryTranslations(translation);\r\n resolve(translation);\r\n })\r\n .catch(function (error) {\r\n reject(error);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises).then(function (categoryTranslations) {\r\n setIsLoading(false);\r\n getProductsInfo(productList, categoryTranslations, true);\r\n });\r\n }\r\n });\r\n }\r\n });\r\n }\r\n // OLD CASE NOT TO USE ANYMORE\r\n // CASE PRODUCTS FROM CATEGORY\r\n else if (isCategory && !product) {\r\n var categoryTranslations = commonCtx\r\n .getCategoryTranslations(category)\r\n .then(function (categoryTranslations) {\r\n setCategoryTranslations(categoryTranslations);\r\n commonCtx\r\n .getProductsByCategory(category, 1, 20)\r\n .then(function (res) {\r\n commonCtx.setLoading(false);\r\n getProductsInfo(res, categoryTranslations, false);\r\n })\r\n .catch(function (error) {\r\n commonCtx.setLoading(false);\r\n setCarouselCategoryLoaded(true);\r\n // commonCtx.handleError(error);\r\n });\r\n })\r\n .catch(function (error) {\r\n commonCtx.setLoading(false);\r\n setCarouselCategoryLoaded(true);\r\n // commonCtx.handleError(error);\r\n });\r\n }\r\n } else {\r\n setCarouselLoaded(true);\r\n setCarouselCategoryLoaded(true);\r\n }\r\n }\r\n }\r\n });\r\n\r\n if (productList.length > 0 || productCategoryList.length > 0) {\r\n let props = {} as any;\r\n\r\n props.params = {};\r\n // IS IT NEW PRODUCTS OR CATEGORY ?\r\n props.params.Theme = isCategory ? \"light\" : \"blue\";\r\n\r\n props.fields = {};\r\n\r\n props.fields.List = isCategory ? productCategoryList : productList;\r\n return (\r\n <>\r\n
\r\n

{propsSitecore.fields?.Title?.value}

\r\n
\r\n\r\n {isLoading &&
}\r\n {!isLoading && }\r\n \r\n );\r\n } else {\r\n let props = {} as any;\r\n\r\n props.params = {};\r\n // IS IT NEW PRODUCTS OR CATEGORY ?\r\n props.params.Theme = isCategory ? \"light\" : \"blue\";\r\n\r\n props.fields = {};\r\n props.fields.List = [];\r\n\r\n return (\r\n <>\r\n
\r\n {isLoading &&
}\r\n {!isLoading &&
}\r\n
\r\n \r\n );\r\n }\r\n};\r\n\r\nexport default withSitecoreContext()(CardsCarouselModuleAccessories);\r\n","import React from \"react\";\r\nimport LazyLoad from 'react-lazyload';\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\n\r\nconst LazySection = ({ height = 300, offset = -100, children, sitecoreContext , id=undefined }) => {\r\n return (\r\n
\r\n {\r\n sitecoreContext?.pageEditing\r\n ? children\r\n : {children}\r\n }\r\n
\r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(LazySection);\r\n","import * as React from 'react';\r\nimport { useRef } from 'react';\r\nimport { withSitecoreContext} from '@sitecore-jss/sitecore-jss-react';\r\nimport LazySection from \"../../react-only-components/LazySection\"\r\nimport CardModule from '../CardModule';\r\nimport { GenerateIdForGA } from '../../types/helpers';\r\nimport \"./index.scss\";\r\nimport { assertIdValue } from 'apollo-cache-inmemory';\r\n\r\nconst CardsGridModule = (props) => {\r\n const themeOption = props?.params?.Theme ? props?.params?.Theme : \"light\";\r\n const length = props?.fields?.List?.length;\r\n const cardsGridRef = useRef(null);\r\n const avoidLazy = props?.fields[\"Avoid Lazy\"] ? props?.fields[\"Avoid Lazy\"].value : false;\r\n\r\n // yes lazyLoading :\r\n if(!avoidLazy){\r\n return (\r\n <>\r\n \r\n
\r\n
\r\n\r\n {props?.fields?.List.map((cardGrid, i) => {\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 // NO lazy load\r\n else{\r\n return(\r\n \r\n
\r\n
\r\n\r\n {props?.fields?.List.map((cardGrid, i) => {\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\nexport default withSitecoreContext()(CardsGridModule);","import * as React from \"react\";\r\nimport { useState, useEffect } from \"react\";\r\nimport {\r\n Link\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { GenerateIdForGA } from '../../types/helpers';\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from \"../../utils/svgImage\";\r\n\r\nconst GlobalButtonModule = (props) => {\r\n const buttonContext =\r\n props.dataFromParent != null ? props.dataFromParent : props;\r\n const text = buttonContext?.fields?.Link?.value?.text;\r\n const href = buttonContext?.fields?.Link?.value?.href;\r\n const id = props.id;\r\n const mobileText = buttonContext?.fields?.[\"Text Mobile\"]?.value ? buttonContext?.fields?.[\"Text Mobile\"]?.value : ((buttonContext?.fields?.[\"Text Mobile\"] && typeof buttonContext?.fields?.[\"Text Mobile\"] == \"string\" && buttonContext?.fields?.[\"Text Mobile\"] != '') ? buttonContext?.fields?.[\"Text Mobile\"] : \"\");\r\n\r\n const textUndefined = href !== \"\" ? text : mobileText;\r\n const setText = mobileText && mobileText !== \"\" ? mobileText : text;\r\n\r\n const btnType = buttonContext.params?.Type ? `btn__${buttonContext.params.Type}` : \"\";\r\n const btnTheme = buttonContext.params?.Theme === \"light\" ? \"btn--light\" : \"btn--dark\";\r\n const iconOnly = buttonContext.params?.[\"Icon Only\"] ? \"btn__icon-only\" : \"\";\r\n const iconLeft = buttonContext.params?.[\"Icon Left\"] ? true : false;\r\n const iconRight = buttonContext.params?.[\"Icon Right\"] ? true : false;\r\n\r\n const buttonsSize =\r\n buttonContext.params?.Sizing === \"M\" ? \"btn__medium\" : \"btn__large\";\r\n\r\n const hasIcons =\r\n buttonContext.params?.[\"Icon Right\"] ||\r\n buttonContext.params?.[\"Icon Left\"] ||\r\n buttonContext?.fields?.Icon\r\n ? \"btn__with-icons\"\r\n : \"\";\r\n\r\n const svgIcon = buttonContext?.fields?.Iconcss?.value ?\r\n returnSvgImage(buttonContext?.fields?.Icon?.value, buttonContext?.fields?.Iconcss?.value) : buttonContext?.fields?.Icon?.value?.svgCode;\r\n \r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n }, [])\r\n return (\r\n <>\r\n \r\n {iconLeft && svgIcon && (\r\n \r\n )}\r\n\r\n {!iconOnly ? (\r\n \r\n {innerInternalWidth <= 640 || innerInternalWidth < 568 ? setText : textUndefined}\r\n \r\n ) : (\r\n (svgIcon && )\r\n )}\r\n\r\n {!iconLeft && svgIcon && !iconOnly && (\r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default GlobalButtonModule;\r\n","import React, { useState, useRef, useEffect, createRef } from \"react\";\r\nimport \"tiny-slider/dist/tiny-slider.css\";\r\nimport Slider from \"react-slick\";\r\nimport GlobalButtonModule from \"../GlobalButtonModule\";\r\nimport {\r\n Text,\r\n Image,\r\n RichText,\r\n withSitecoreContext,\r\n Placeholder,\r\n isExperienceEditorActive,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport ModalModule from \"../../react-only-components/ModalModule/ModalModule\";\r\nimport { GenerateIdForGA, isHTML } from \"../../types/helpers\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from '../../utils/svgImage';\r\n\r\nconst CarouselModule = (props) => {\r\n const [currentIndex, setCurrentIndex] = useState(1);\r\n const carouselSlider = props?.fields?.Slides;\r\n const isExpEditorEnabled = props.sitecoreContext.pageEditing;\r\n const autoplaySpeed = props?.fields?.[\"Transaction Time\"]?.value\r\n ? parseInt(props?.fields?.[\"Transaction Time\"]?.value)\r\n : 5000;\r\n\r\n const [modalIsOpen, setIsOpen] = React.useState(false);\r\n const [placeholderName, setPlaceholderName] = useState(\"jss-accordion\");\r\n const customeSlider = useRef(null);\r\n const progressRef = useRef(null);\r\n const [activeIndex, setActiveIndex] = useState(0);\r\n\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n const parent: HTMLElement = document.querySelector(\".carousel-module\");\r\n const element: HTMLElement = parent.querySelector(\".slick-active\");\r\n if (element) element.style.animationDuration = `${autoplaySpeed}ms`;\r\n showProgressbar();\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n });\r\n\r\n const handleBeforeChange = (oldIndex, newIndex) => {\r\n setActiveIndex(newIndex);\r\n };\r\n\r\n const openModal = (e, placeholderName) => { \r\n setIsOpen(true); \r\n setPlaceholderName(placeholderName); \r\n document.querySelector(\"body\").classList.add(\"modal-opened\");\r\n document.querySelector(\"body\").style.overflow='hidden'; \r\n };\r\n\r\n const closeModal = () => { \r\n setIsOpen(false); \r\n };\r\n const shouldCloseOnOverlayClick = true;\r\n\r\n const settings = {\r\n arrows: false,\r\n dots: isExpEditorEnabled == false ? true : false,\r\n slidesToScroll: 1,\r\n slidesToShow: 1,\r\n infinite: true,\r\n autoHeight: true,\r\n autoplay: true,\r\n dotsClass: \"carousel-dots container\",\r\n autoplaySpeed: autoplaySpeed,\r\n appendDots: (dots) =>
    {dots}
,\r\n customPaging: (i) => (\r\n
\r\n \r\n \r\n
\r\n ),\r\n beforeChange: handleBeforeChange,\r\n };\r\n\r\n const previous = () => {\r\n customeSlider.current.slickPrev();\r\n };\r\n\r\n const next = () => {\r\n customeSlider.current.slickNext();\r\n };\r\n\r\n const afterChange = (currentSlide: number): void => {\r\n setCurrentIndex(currentSlide + 1);\r\n };\r\n\r\n const showProgressbar = (duration?: number) => {\r\n const progresBar: HTMLElement = progressRef.current;\r\n if (progresBar)\r\n progresBar.style.animationDuration = `${\r\n duration ? duration : autoplaySpeed\r\n }ms`;\r\n };\r\n\r\n\r\n\r\n const carouselRef = useRef(null);\r\n\r\n\r\n return (\r\n \r\n
\r\n
\r\n \r\n {\r\n carouselSlider?.map((item, i) => (\r\n \r\n {isExpEditorEnabled == false ? (\r\n <>\r\n \r\n \r\n \r\n ) : (\r\n
\r\n )}\r\n\r\n \r\n\r\n
\r\n
\r\n \r\n {isHTML(item?.fields?.[\"Description\"]?.value) == true ? (\r\n \r\n ) : (\r\n \r\n )}\r\n {props?.fields?.Open?.value !== true ? (\r\n \r\n ) : (\r\n
\r\n {item?.fields?.[\"Modal Text\"]?.value ? (\r\n openModal(e, `jss-accordion${i}`)}\r\n >\r\n {\" \"}\r\n {item?.fields?.[\"Modal Text\"]?.value}\r\n \r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n )}\r\n
\r\n
\r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n {isExpEditorEnabled ? (\r\n
\r\n
\r\n

This is Modal Content

\r\n
\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n {isExpEditorEnabled == false ? (\r\n \r\n ) : (\r\n
\r\n )}\r\n
\r\n ))}\r\n \r\n \r\n {currentIndex} /{\" \"}\r\n {carouselSlider?.length}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(CarouselModule);\r\n","import React, { useContext, useEffect, useRef, useState } from \"react\";\r\nimport Slider from \"react-slick\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport CommonApi, { CommonApiProvider } from \"../CommonApi\";\r\nimport AccordionModuleAccessories from \"../AccordionModuleAccessories\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { localstorageService } from \"../../utils/window.utils\";\r\n\r\ninterface CartModuleProps extends ComponentProps {}\r\n\r\nconst CartModule = (props: CartModuleProps) => {\r\n const { t } = useTranslation();\r\n const commonCtx = useContext(CommonApi);\r\n const [quantity, setQuantity] = useState(1);\r\n const [currentSlide, setCurrentSlide] = useState(1);\r\n const [wishListBtn, setWishListBtn] = useState(t(\"AddToWishlist\"));\r\n const [accordions, setAccordions] = useState(null);\r\n const [versions, setVersions] = useState(null);\r\n const [colors, setColors] = useState(null);\r\n const [materials, setMaterials] = useState(null);\r\n const [measures, setMeasures] = useState(null);\r\n const [childproducts, setChildProducts] = useState(null);\r\n const [categoryFamily, setCategoryFamily] = useState(null);\r\n const [categoryDescription, setCategoryDescription] = useState(null);\r\n const [categoryFamilyDescription, setCategoryFamilyDescription] =\r\n useState(null);\r\n\r\n const slider = useRef(null);\r\n\r\n useEffect(() => {\r\n if (\r\n !commonCtx.loading &&\r\n commonCtx.product.ID === undefined &&\r\n commonCtx.userAuthToken !== null\r\n ) {\r\n let prodId = commonCtx.parseUrl(\"product\");\r\n if (prodId) {\r\n commonCtx?.getProduct(prodId, false).then((product) => {\r\n commonCtx\r\n .getCategoryTranslations(product.xp.Category)\r\n .then((categoryTranslations: any) => {\r\n setCategoryFamily(categoryTranslations.Family);\r\n setCategoryFamilyDescription(categoryTranslations.Accessory);\r\n setCategoryDescription(categoryTranslations.Description);\r\n });\r\n\r\n commonCtx?.getProductTranslations(product.ID, true).then(() => {\r\n commonCtx\r\n ?.getChildProductsByParentId(product.ParentID)\r\n .then((childProducts: any) => {\r\n commonCtx.setProduct(product);\r\n\r\n let versions = [];\r\n let colors = [];\r\n let materials = [];\r\n let measures = [];\r\n\r\n setChildProducts(childProducts);\r\n\r\n let m = childProducts.Items.find((x) => x.ID === product.ID).xp\r\n ?.CodeMisure;\r\n let c = childProducts.Items.find((x) => x.ID === product.ID).xp\r\n ?.CodeColore;\r\n let v = childProducts.Items.find((x) => x.ID === product.ID).xp\r\n ?.CodeVersione;\r\n let mat = childProducts.Items.find((x) => x.ID === product.ID)\r\n .xp?.CodeMateriale;\r\n\r\n let SpecificProduct = childProducts.Items.find(\r\n (x) => x.ID === product.ID\r\n );\r\n\r\n measures.push();\r\n if (!!m) {\r\n measures.push(\r\n \r\n {\r\n commonCtx.filterTranslations\r\n .find((x) => x.Key === \"Measures\")\r\n ?.Value.find((x) => x)[SpecificProduct.xp.CodeMisure]\r\n }\r\n \r\n );\r\n }\r\n\r\n colors.push();\r\n if (!!c) {\r\n colors.push(\r\n \r\n {\r\n commonCtx.filterTranslations\r\n .find((x) => x.Key === \"Color\")\r\n ?.Value.find((x) => x)[SpecificProduct.xp.CodeColore]\r\n }\r\n \r\n );\r\n }\r\n\r\n versions.push();\r\n if (!!v) {\r\n versions.push(\r\n \r\n {\r\n commonCtx.filterTranslations\r\n .find((x) => x.Key === \"Version\")\r\n ?.Value.find((x) => x)[\r\n SpecificProduct.xp.CodeVersione\r\n ]\r\n }\r\n \r\n );\r\n }\r\n\r\n materials.push(\r\n \r\n );\r\n if (!!mat) {\r\n materials.push(\r\n \r\n {\r\n commonCtx.filterTranslations\r\n .find((x) => x.Key === \"Material\")\r\n ?.Value.find((x) => x)[\r\n SpecificProduct.xp.CodeMateriale\r\n ]\r\n }\r\n \r\n );\r\n }\r\n\r\n childProducts.Items.filter(\r\n (x) => !!x?.xp?.CodeMisure && x.xp.CodeMisure !== m\r\n )\r\n .map((x) => x?.xp?.CodeMisure)\r\n .filter(onlyUnique)\r\n .forEach((measure) => {\r\n measures.push(\r\n \r\n );\r\n });\r\n\r\n childProducts.Items.filter(\r\n (x) => !!x?.xp?.CodeColore && x?.xp?.CodeColore !== c\r\n )\r\n .map((x) => x?.xp?.CodeColore)\r\n .filter(onlyUnique)\r\n .forEach((color) => {\r\n colors.push(\r\n \r\n );\r\n });\r\n\r\n childProducts.Items.filter(\r\n (x) => !!x?.xp?.CodeMateriale && x?.xp?.CodeMateriale !== mat\r\n )\r\n .map((x) => x?.xp?.CodeMateriale)\r\n .filter(onlyUnique)\r\n .forEach((materiale) => {\r\n materials.push(\r\n \r\n );\r\n });\r\n\r\n childProducts.Items.filter(\r\n (x) => !!x?.xp?.CodeVersione && x?.xp?.CodeVersione !== v\r\n )\r\n .map((x) => x?.xp?.CodeVersione)\r\n .filter(onlyUnique)\r\n .forEach((version) => {\r\n versions.push(\r\n \r\n );\r\n });\r\n setVersions(versions);\r\n setColors(colors);\r\n setMaterials(materials);\r\n setMeasures(measures);\r\n });\r\n });\r\n });\r\n }\r\n }\r\n setWishListBtn(\r\n commonCtx.checkWishList(commonCtx.product?.ID)\r\n ? t(\"RemoveFromWishlist\")\r\n : t(\"AddToWishlist\")\r\n );\r\n });\r\n\r\n function onlyUnique(value, index, array) {\r\n return array.indexOf(value) === index;\r\n }\r\n\r\n const qtyMultiplier = commonCtx?.product?.QuantityMultiplier;\r\n\r\n const increaseQuantity = () => setQuantity(quantity + qtyMultiplier);\r\n const decreaseQuantity = () =>\r\n quantity > qtyMultiplier ? setQuantity(quantity - qtyMultiplier) : null;\r\n\r\n const onPrev = () => {\r\n slider?.current.slickPrev();\r\n if (currentSlide > 1) {\r\n setCurrentSlide(currentSlide - 1);\r\n }\r\n };\r\n\r\n const onNext = () => {\r\n slider?.current.slickNext();\r\n if (currentSlide < commonCtx.productImages.length) {\r\n setCurrentSlide(currentSlide + 1);\r\n }\r\n };\r\n\r\n const SlidePagination = () => {\r\n return (\r\n
\r\n {currentSlide}\r\n / {commonCtx.productImages.length}\r\n
\r\n );\r\n };\r\n\r\n const ButtonArrow = () => {\r\n return (\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n const setNewFilter = (id, key) => {\r\n let allFilters = [\r\n {\r\n Code: \"CodeColore\",\r\n Key: \"Color\",\r\n Value: \"\",\r\n ValuesAdded: [],\r\n Options: [\r\n ,\r\n ],\r\n },\r\n {\r\n Code: \"CodeMisure\",\r\n Key: \"Measures\",\r\n Value: \"\",\r\n ValuesAdded: [],\r\n Options: [\r\n ,\r\n ],\r\n },\r\n {\r\n Code: \"CodeVersione\",\r\n Key: \"Version\",\r\n Value: \"\",\r\n ValuesAdded: [],\r\n Options: [\r\n ,\r\n ],\r\n },\r\n {\r\n Code: \"CodeMateriale\",\r\n Key: \"Material\",\r\n Value: \"\",\r\n ValuesAdded: [],\r\n Options: [\r\n ,\r\n ],\r\n },\r\n ];\r\n\r\n let code;\r\n\r\n switch (key) {\r\n case \"Color\":\r\n code = \"CodeColore\";\r\n allFilters[0].Value = id;\r\n break;\r\n case \"Measures\":\r\n code = \"CodeMisure\";\r\n allFilters[1].Value = id;\r\n break;\r\n case \"Version\":\r\n code = \"CodeVersione\";\r\n allFilters[2].Value = id;\r\n break;\r\n case \"Material\":\r\n code = \"CodeMateriale\";\r\n allFilters[3].Value = id;\r\n break;\r\n default:\r\n return \"\";\r\n // code block\r\n }\r\n\r\n // FILTER DI TUTTE LE ALTRE\r\n for (let i = 0; i < allFilters.length; i++) {\r\n if (allFilters[i].Code != code) {\r\n childproducts.Items.filter(\r\n (x) => !!x?.xp[allFilters[i].Code] && x?.xp[code] === id\r\n )\r\n .map((x) => x?.xp[allFilters[i].Code])\r\n .filter(onlyUnique)\r\n .forEach((value) => {\r\n allFilters[i].Value = value;\r\n allFilters[i].ValuesAdded.push(value);\r\n allFilters[i].Options.push(\r\n \r\n );\r\n });\r\n childproducts.Items.filter(\r\n (x) => !!x?.xp[allFilters[i].Code] && x?.xp[code] !== id\r\n )\r\n .map((x) => x?.xp[allFilters[i].Code])\r\n .filter(onlyUnique)\r\n .forEach((value) => {\r\n let toAdd = (\r\n \r\n {\r\n commonCtx.filterTranslations\r\n .find((x) => x.Key === allFilters[i].Key)\r\n ?.Value.find((x) => x)[value]\r\n }\r\n \r\n );\r\n if (!allFilters[i].ValuesAdded.includes(value)) {\r\n allFilters[i].ValuesAdded.push(value);\r\n allFilters[i].Options.push(toAdd);\r\n }\r\n });\r\n } else {\r\n childproducts.Items.filter((x) => !!x?.xp[code])\r\n .map((x) => x?.xp[code])\r\n .filter(onlyUnique)\r\n .forEach((value) => {\r\n allFilters[i].Options.push(\r\n \r\n );\r\n });\r\n }\r\n }\r\n\r\n setVersions(allFilters[2].Options);\r\n setColors(allFilters[0].Options);\r\n setMaterials(allFilters[3].Options);\r\n setMeasures(allFilters[1].Options);\r\n\r\n setNumberproductAndsetVariables(\r\n allFilters[0].Value,\r\n allFilters[3].Value,\r\n allFilters[2].Value,\r\n allFilters[1].Value\r\n );\r\n };\r\n\r\n const removeFromWishList = () => {\r\n commonCtx.removeFromWishList(commonCtx.product?.ID);\r\n setWishListBtn(t(\"Aggiungi ai preferiti\"));\r\n return false;\r\n };\r\n\r\n const addToWishList = () => {\r\n commonCtx.addToWishList(commonCtx.product?.ID);\r\n setWishListBtn(t(\"Rimuovi dai preferiti\"));\r\n return false;\r\n };\r\n\r\n const SliderArrow = (props) => {\r\n const { className, onClick } = props;\r\n return (\r\n \r\n );\r\n };\r\n\r\n const setNumberproductAndsetVariables = (\r\n idColore,\r\n idMateriale,\r\n idVersione,\r\n idMisure\r\n ) => {\r\n let newProduct = childproducts.Items.find(\r\n (x) =>\r\n (!idColore || (!!idColore && x.xp?.CodeColore === idColore)) &&\r\n (!idMateriale ||\r\n (!!idMateriale && x.xp?.CodeMateriale === idMateriale)) &&\r\n (!idVersione || (!!idVersione && x.xp?.CodeVersione === idVersione)) &&\r\n (!idMisure || (!!idMisure && x.xp?.CodeMisure === idMisure))\r\n );\r\n\r\n if (typeof window != \"undefined\" && window.history.pushState) {\r\n let newurl = window.location.href.replace(\r\n commonCtx.product.ID,\r\n newProduct.ID\r\n );\r\n // window.history.pushState({ path: newurl }, \"\", newurl);\r\n }\r\n\r\n commonCtx.getProduct(newProduct.ID, true);\r\n\r\n setWishListBtn(\r\n commonCtx.checkWishList(newProduct.ID)\r\n ? t(\"RemoveFromWishlist\")\r\n : t(\"AddToWishlist\")\r\n );\r\n commonCtx.getProductTranslations(newProduct.ID, true);\r\n };\r\n\r\n const settings = {\r\n arrows: false,\r\n dots: true,\r\n slidesToScroll: 1,\r\n slidesToShow: 1,\r\n infinite: true,\r\n appendDots: (dots) => (\r\n
\r\n \r\n
    {dots}
\r\n
\r\n ),\r\n customPaging: () =>
,\r\n };\r\n\r\n return (\r\n <>\r\n {commonCtx?.product && (\r\n
\r\n
\r\n {commonCtx.loading ? (\r\n
\r\n ) : (\r\n
\r\n <>\r\n {commonCtx.loadingImages ? (\r\n
\r\n
\r\n
\r\n ) : commonCtx?.productImages?.length == 1 ? (\r\n
\r\n \r\n
\r\n ) : (\r\n \r\n {commonCtx.productImages.map((item, i) => {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n })}\r\n
\r\n )}\r\n \r\n {currentSlide < commonCtx.productImages.length ? (\r\n \r\n ) : (\r\n <>\r\n )}\r\n {currentSlide > 1 ? (\r\n \r\n ) : (\r\n <>\r\n )}\r\n
\r\n \r\n
\r\n {commonCtx?.product?.ID ? (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {commonCtx.filterTranslations &&\r\n commonCtx.filterTranslations?.length > 0 &&\r\n measures?.length > 1 && (\r\n \r\n \r\n \r\n )}\r\n\r\n {commonCtx.filterTranslations &&\r\n commonCtx.filterTranslations?.length > 0 &&\r\n colors?.length > 1 && (\r\n \r\n \r\n \r\n )}\r\n\r\n {commonCtx.filterTranslations &&\r\n commonCtx.filterTranslations?.length > 0 &&\r\n versions?.length > 1 && (\r\n \r\n \r\n \r\n )}\r\n {commonCtx.filterTranslations &&\r\n commonCtx.filterTranslations?.length > 0 &&\r\n materials?.length > 1 && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(commonCtx?.product?.xp?.Category === \"B08\" ||\r\n commonCtx?.product?.xp?.Category === \"b08\") && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n
\r\n \r\n {categoryFamilyDescription}\r\n {\" \"}\r\n / {commonCtx?.product.ID}\r\n
\r\n {commonCtx.productTranslations?.PartName}\r\n
\r\n \r\n \r\n setNewFilter(e.target.value, \"Measures\")\r\n }\r\n >\r\n {measures}\r\n \r\n
\r\n \r\n \r\n setNewFilter(e.target.value, \"Color\")\r\n }\r\n >\r\n {colors}\r\n \r\n
\r\n \r\n \r\n setNewFilter(e.target.value, \"Version\")\r\n }\r\n >\r\n {versions}\r\n \r\n
\r\n \r\n \r\n setNewFilter(e.target.value, \"Material\")\r\n }\r\n >\r\n {materials}\r\n \r\n
{t(\"price\")}
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n {\r\n let namePdf =\r\n \"-/media/IvecoCommerce/Accessories/Assets/PDF/\" +\r\n localstorageService().getItem(\r\n \"sitecoreLanguage\"\r\n ) +\r\n \"/\" +\r\n commonCtx.product.ID.replace(/\\s/g, \"\");\r\n\r\n console.log(namePdf);\r\n\r\n window.open(namePdf, \"_blank\");\r\n }}\r\n >\r\n {t(\"DownloadPdf\")}\r\n \r\n \r\n
\r\n \r\n {wishListBtn}\r\n \r\n \r\n
\r\n ) : (\r\n
\r\n {t(\"Product not found\")}\r\n
\r\n )}\r\n
\r\n
\r\n )}\r\n
\r\n \r\n )}\r\n {accordions && accordions.rendering && (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default CartModule;\r\n","import React, { useEffect, useState, useContext } from \"react\";\r\nimport \"./index.scss\";\r\n\r\nimport CommonApi from \"../CommonApi\";\r\nconst Pagination = () => {\r\n const commonCtx = useContext(CommonApi);\r\n const pages = Math.ceil(commonCtx.numberOfResults / 20);\r\n const firstPage = 1;\r\n const lastPage = pages;\r\n const pagesArr = new Array(pages).fill(null).map((_, i: number) => ++i);\r\n const handlePrevClick = () => {\r\n commonCtx.setPageSelected(commonCtx.pageSelected * 1 - 1);\r\n if (typeof window !== \"undefined\") {\r\n // document.getElementsByClassName(\"page-header-img\")[0].scrollIntoView();\r\n }\r\n };\r\n const handleNextClick = () => {\r\n commonCtx.setPageSelected(commonCtx.pageSelected * 1 + 1);\r\n if (typeof window !== \"undefined\") {\r\n // document.getElementsByClassName(\"page-header-img\")[0].scrollIntoView();\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {commonCtx.numberOfResults > 20 && (\r\n
\r\n {commonCtx.pageSelected == firstPage ? (\r\n \"\"\r\n ) : (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n\r\n {pagesArr.map((p: number, i: number) => {\r\n return (\r\n {\r\n console.log(p);\r\n commonCtx.setPageSelected(p);\r\n if (typeof window !== \"undefined\") {\r\n // document.getElementsByClassName(\"page-header-img\")[0].scrollIntoView();\r\n }\r\n }}\r\n className={\r\n \"SearchPagination__button \" +\r\n (commonCtx.pageSelected == p ? \"pag_disabled\" : \"\")\r\n }\r\n >\r\n {p}\r\n \r\n );\r\n })}\r\n {commonCtx.pageSelected == lastPage ? (\r\n \"\"\r\n ) : (\r\n \r\n \r\n \r\n \r\n \r\n )}\r\n
\r\n )}\r\n \r\n );\r\n};\r\nexport default Pagination;\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport src from \"react-select/dist/declarations/src\";\r\nimport { localstorageService } from \"../../utils/window.utils\";\r\nimport Pagination from \"../Pagination\";\r\nimport { Product } from \"ordercloud-javascript-sdk\";\r\n\r\nconst CategoryResultsModule = ({ searchResult, showMore }) => {\r\n const commonCtx = useContext(CommonApi);\r\n const { t } = useTranslation();\r\n const toggleFieldSet = (element) => {\r\n element.classList.toggle(\"active\");\r\n };\r\n const [productsCard, setProductsCard] = useState([]);\r\n const [productsToShow, setProductsToShow] = useState([]);\r\n\r\n const [loadingProduct, setloadingProduct] = useState(true);\r\n\r\n const images = [];\r\n const category = commonCtx.parseUrl(\"category\");\r\n\r\n const isMobile =\r\n typeof window != \"undefined\" && window.innerWidth <= 1024 ? true : false;\r\n\r\n useEffect(() => {\r\n setProductsToShow([]);\r\n if (commonCtx.userAuthToken !== null) {\r\n setloadingProduct(true);\r\n commonCtx\r\n .getProductsByCategory(category, commonCtx.pageSelected, 20)\r\n .then(function (products) {\r\n if (!products || products.length === 0) {\r\n commonCtx.setLoading(false);\r\n } else {\r\n let productList = products as Product[];\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getCategoryTranslations(productList[index].xp.Category)\r\n ?.then((translation) => {\r\n productList[index].xp.CategoryTranslations = translation;\r\n resolve(productList);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n commonCtx.setLoading(false);\r\n resolve({});\r\n });\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getProductTranslations(productList[index].ID, false)\r\n ?.then((translation) => {\r\n productList[index].xp.ProductTranslations = translation;\r\n resolve(productList);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n\r\n resolve({});\r\n commonCtx.setLoading(false);\r\n setloadingProduct(false);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises)\r\n .then((data) => {\r\n productList.forEach((p) => {\r\n commonCtx.loadImageByProduct(p).then((src) => {\r\n images[p.ID] = src;\r\n setProductsCard(images);\r\n });\r\n });\r\n setProductsToShow(productList);\r\n commonCtx.setLoading(false);\r\n setloadingProduct(false);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n commonCtx.setLoading(false);\r\n setloadingProduct(false);\r\n });\r\n });\r\n }\r\n })\r\n .catch(function (error) {\r\n commonCtx.setLoading(false);\r\n setloadingProduct(false);\r\n });\r\n }\r\n }, [commonCtx.pageSelected]);\r\n\r\n return (\r\n <>\r\n {!loadingProduct && (\r\n
\r\n {productsToShow?.slice(0, showMore).map((p, index) => {\r\n if (p) {\r\n const classResult = isMobile\r\n ? \"product-card col-4\"\r\n : \"product-card col-3\";\r\n return (\r\n \r\n
\r\n {\r\n e.preventDefault();\r\n toggleFieldSet(e.currentTarget);\r\n if (commonCtx.checkWishList(p.ID)) {\r\n commonCtx.removeFromWishList(p.ID);\r\n } else {\r\n commonCtx.addToWishList(p.ID);\r\n }\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n { \r\n event.currentTarget.src = commonCtx.missingImg.default}}\r\n alt={p.xp?.ProductTranslations?.PartName}\r\n />\r\n
\r\n

\r\n \r\n {p.xp?.CategoryTranslations?.Accessory}\r\n \r\n

\r\n
\r\n {p.xp?.ProductTranslations?.PartName}\r\n
\r\n \r\n {t(\"IVGLoadMore\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n })}\r\n
\r\n )}\r\n {!loadingProduct && commonCtx.numberOfResults > 20 && }\r\n {loadingProduct && (\r\n
\r\n
\r\n
\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default CategoryResultsModule;\r\n","export const CategoryIcon = (props) => {\r\n const { width, height, category, color, brandCode } = props;\r\n\r\n return (\r\n \r\n {category === \"Sales and Service\" ? (\r\n \r\n ) : category === \"Sales\" ? (\r\n brandCode == 7 ? ( //Iveco bus\r\n \r\n ) : brandCode == 9 ? ( //FPT\r\n \r\n ) : (\r\n //Iveco truck and Astra\r\n \r\n )\r\n ) : (\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport const CallIcon = (props) => {\r\n const { stroke, strokeWidth } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const ContactIcon = (props) => {\r\n const { stroke, strokeWidth } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const DirectionIcon = (props) => {\r\n const { color } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const NavigationIcon = (props) => {\r\n const { color } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const ShareIcon = (props) => {\r\n const { color } = props;\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\nexport const PositionIcon = (props) => {\r\n const { fillColor, onClick } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const FaxIcon = (props) => {\r\n const { fill, strokeWidth } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const WebsiteIcon = (props) => {\r\n const { stroke } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const CrossIcon = (props) => {\r\n const { clearInputSearch, id } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const LensIcon = (props) => {\r\n const { id, onLensClick, brand, color } = props;\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const FilterIcon = (props) => {\r\n const { color } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport const CloseIcon = (props) => {\r\n const { color } = props;\r\n\r\n return (\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n","import { CallIcon, ContactIcon, DirectionIcon, ShareIcon } from \"../Icons\";\r\nimport colors from \"./../styles/_common.module.scss\";\r\nimport brandColors from \"./../styles/brandColors.json\";\r\n\r\nexport const GenerateIdForGA = (componentName, action, props) => {\r\n return `${props?.site?.name}_${props?.route?.name}_${componentName}_${action}`.replace(\r\n / /g,\r\n \"\"\r\n );\r\n};\r\n\r\nexport const CheckDeviceType = () => {\r\n if (typeof window != \"undefined\") {\r\n const screenWidth = window.innerWidth;\r\n const isPortrait = window.matchMedia(\"(orientation: portrait)\").matches;\r\n\r\n if (screenWidth <= 568 || (screenWidth <= 932 && !isPortrait))\r\n return \"mobile\";\r\n else if (screenWidth <= 1024) return \"tablet\";\r\n else return \"desktop\";\r\n }\r\n};\r\n\r\nexport const SetHeights = (\r\n container,\r\n content,\r\n containerHeaderHeight,\r\n brand\r\n) => {\r\n if (typeof window != \"undefined\" && typeof document != \"undefined\") {\r\n container.style.height =\r\n brand != \"FPT\"\r\n ? \"100%\"\r\n : window.innerHeight -\r\n document.querySelector(\"header\").offsetHeight +\r\n \"px\";\r\n container.style.top = brand != \"FPT\" ? \"0\" : \"unset\";\r\n container.style.zIndex = \"0\";\r\n content.style.height =\r\n window.innerHeight -\r\n document.querySelector(\"header\").offsetHeight -\r\n containerHeaderHeight -\r\n (brand != \"FPT\" ? document.querySelector(\"footer\").offsetHeight : 0) +\r\n \"px\";\r\n\r\n if (CheckDeviceType() == \"mobile\") {\r\n container.style.height = window.innerHeight + \"px\";\r\n container.style.top =\r\n brand != \"FPT\"\r\n ? -document.querySelector(\"header\").offsetHeight + \"px\"\r\n : \"0\";\r\n container.style.zIndex = \"999\";\r\n content.style.height = window.innerHeight - containerHeaderHeight + \"px\";\r\n }\r\n }\r\n};\r\n\r\nexport const loadBrandColors = (brandCode) => {\r\n switch (brandCode) {\r\n case 6: //IVECO\r\n case 7: //IVECO BUS\r\n document.documentElement.style.setProperty(\r\n \"--DL-primary-color\",\r\n brandColors.iveco.primary\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-hover-color\",\r\n brandColors.iveco.hover\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-light-color\",\r\n brandColors.iveco.light\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-medium-color\",\r\n brandColors.iveco.medium\r\n );\r\n break;\r\n\r\n case 8: //ASTRA\r\n document.documentElement.style.setProperty(\r\n \"--DL-primary-color\",\r\n brandColors.astra.primary\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-hover-color\",\r\n brandColors.astra.hover\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-light-color\",\r\n brandColors.astra.light\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-medium-color\",\r\n brandColors.astra.medium\r\n );\r\n break;\r\n\r\n case 9: //FPT\r\n document.documentElement.style.setProperty(\r\n \"--DL-primary-color\",\r\n brandColors.fpt.primary\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-hover-color\",\r\n brandColors.fpt.hover\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-light-color\",\r\n brandColors.fpt.light\r\n );\r\n document.documentElement.style.setProperty(\r\n \"--DL-medium-color\",\r\n brandColors.fpt.medium\r\n );\r\n break;\r\n }\r\n};\r\n\r\nexport const updateURLWithDealerID = (dealerID) => {\r\n if (typeof window != \"undefined\" && dealerID) {\r\n const currentUrl = new URL(window.location.href);\r\n currentUrl.searchParams.set(\"dealerId\", dealerID);\r\n window.history.pushState({}, \"\", currentUrl);\r\n }\r\n};\r\n\r\nexport const resetURL = () => {\r\n if (typeof window != \"undefined\") {\r\n const url = new URL(window.location.href);\r\n const searchParams = new URLSearchParams(url.search);\r\n searchParams.delete(\"dealerId\");\r\n\r\n url.search = searchParams.toString();\r\n window.history.pushState({}, \"\", url.toString());\r\n }\r\n};\r\n\r\nexport const DealerCTA = (props) => {\r\n const {\r\n name,\r\n dealer,\r\n label,\r\n sheetShort,\r\n mainCTA,\r\n id,\r\n onClick,\r\n dealerActivity,\r\n parentClassName,\r\n } = props;\r\n\r\n switch (name) {\r\n case \"call\":\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {label}\r\n
\r\n \r\n \r\n \r\n );\r\n\r\n case \"contact\":\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {label}\r\n \r\n \r\n \r\n \r\n );\r\n\r\n case \"direction\":\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {label}\r\n \r\n \r\n \r\n \r\n );\r\n\r\n case \"share\":\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {label}\r\n \r\n \r\n \r\n \r\n );\r\n }\r\n};\r\n","import React, { useEffect, useState } from \"react\";\r\nimport {useTranslation} from \"react-i18next\";\r\n\r\n/**\r\n * Function that takes the dealer's opening hours and formats it by dividing it \r\n * for each day of the week with a distinction between morning and afternoon.\r\n */\r\nexport const getFormattedHours = (dealer) => {\r\n const { t } = useTranslation();\r\n const weekDays = [\r\n t(\"DLMonday\"), \r\n t(\"DLTuesday\"), \r\n t(\"DLWednesday\"), \r\n t(\"DLThursday\"), \r\n t(\"DLFriday\"), \r\n t(\"DLSaturday\"), \r\n t(\"DLSunday\")\r\n ];\r\n var hours = [];\r\n var formattedHours= [];\r\n\r\n for (var i = 0; i < dealer?.openingHours.length; i += 5) {\r\n hours.push(dealer?.openingHours.substring(i, i + 5));\r\n }\r\n \r\n for(var i = 0, j = 0; i < hours.length; i+=4, j++){\r\n var formattedDay = {day: null, hours: null};\r\n formattedDay.day = weekDays[j];\r\n formattedDay.hours = hours[i]+ \"-\" + hours[i+1] + \" \" + hours[i+2] + \"-\" + hours[i+3];\r\n formattedDay.hours = formattedDay.hours.replace(/00:00-00:00 00:00-00:00|00:00-00:00/g, t(\"DLClosed\"));\r\n\r\n //If 00:00 is in position 1 or 2 it means that there is no break between morning and afternoon hours\r\n if(hours[i+1].includes(\"00:00\") || hours[i+2].includes(\"00:00\"))\r\n formattedDay.hours = formattedDay.hours.replace(/00:00/g, \"\");\r\n\r\n formattedHours.push(formattedDay);\r\n }\r\n \r\n return formattedHours;\r\n };\r\n\r\n /**\r\n * Function that returns the index of the current day \r\n * in order to highlight it in the formatted opening hours\r\n */\r\n export const getCurrentDayIndex = () => {\r\n const today = new Date().getDay();\r\n const todayIndex = today == 0 ? 6 : today-1;\r\n\r\n return todayIndex\r\n };\r\n\r\n /**\r\n * Function that converts an object with dealer's filterable data into an array with formatted values.\r\n */\r\n export const convertFilterableFieldsInArray = (filterableObject, filterableArray) => {\r\n var array = [];\r\n var result = [];\r\n \r\n for(const item in filterableObject){\r\n if(filterableObject[item] == true)\r\n array.push(item.replace(\"_\" , \"\").toLowerCase());\r\n }\r\n\r\n filterableArray.map((item, i) => {\r\n if(array.includes(item?.fields?.Text?.value?.toLowerCase().replace(/\\s/g, \"\")))\r\n result.push(item);\r\n })\r\n\r\n return result;\r\n };\r\n\r\n /**\r\n * Function that converts an object with dealer's emobility data into an array with formatted values.\r\n */\r\n export const createEmobilityFields = (filterableObject, range, emobility) => {\r\n var array = [];\r\n var result = [];\r\n\r\n for(const item in filterableObject) {\r\n var isFilterableObjectEmpty = true;\r\n var string = item.toLowerCase().replace(/\\s/g, \"\").replace(\"emobility\", \"\");\r\n var rangeElem = range.find(elem => string == elem?.fields?.Text?.value.toLowerCase().replace(/\\s/g, \"\"));\r\n \r\n if(rangeElem){\r\n string = rangeElem.fields?.Label?.value ? \r\n string.replace(rangeElem.fields?.Text?.value.replace(/\\s/g, \"\").toLowerCase(), rangeElem.fields?.Label?.value) :\r\n string.replace(rangeElem.fields?.Text?.value.replace(/\\s/g, \"\").toLowerCase(), rangeElem.fields?.Text?.value);\r\n \r\n string += \": \";\r\n\r\n var count = 0;\r\n \r\n for(const elem in filterableObject[item]){\r\n if(filterableObject[item][elem] == true){\r\n count > 0 ? (string += \" - \" + elem) : (string += elem);\r\n isFilterableObjectEmpty = false;\r\n count ++;\r\n } \r\n }\r\n !isFilterableObjectEmpty ? array.push(string) : null;\r\n }\r\n }\r\n\r\n array.map((finalString) => {\r\n emobility.map((item, i) => {finalString = finalString.replace(item?.fields?.Text?.value, item?.fields?.ShortLabel?.value)})\r\n result.push(finalString)\r\n })\r\n \r\n return result\r\n };\r\n\r\n export const getDealerActivity = (dealer) => {\r\n return dealer?.filterableFieldsDTO?.activity?.sales ? (dealer?.filterableFieldsDTO?.activity?.service ? \"Sales and Service\" : \"Sales\") : (\"Service\")\r\n }\r\n","export default __webpack_public_path__ + \"static/media/Roboto-Regular.fc2b5060.ttf\";","import React, {useEffect, useState} from 'react';\r\nimport { Document, Page, Text, View, Image, StyleSheet, Font } from '@react-pdf/renderer';\r\nimport colors from \"../../styles/_common.module.scss\";\r\nimport {useTranslation} from \"react-i18next\";\r\nimport { getFormattedHours, convertFilterableFieldsInArray, createEmobilityFields, getDealerActivity, getCurrentDayIndex } from '../service';\r\nimport { renderToString } from 'react-dom/server';\r\nimport { CategoryIcon, CallIcon, ContactIcon, FaxIcon, WebsiteIcon } from '../../Icons';\r\nimport RobotoRegular from \"./../../../../assets/fonts/roboto/Roboto-Regular.ttf\";\r\n\r\n/**\r\n * This component is used to reproduce the Dealer Sheet template in order to download it as a PDF.\r\n */\r\nconst DownloadSheetTemplate = (props) => {\r\n const [logoSrc, setLogoSrc] = useState(null);\r\n const [activityIcon, setActivityIcon] = useState(null);\r\n const [phoneIcon, setPhoneIcon] = useState(null);\r\n const [faxIcon, setFaxIcon] = useState(null);\r\n const [emailIcon, setEmailIcon] = useState(null);\r\n const [websiteIcon, setWebsiteIcon] = useState(null);\r\n const [dealerActivity, setDealerActivity] = useState(null);\r\n const [services, setServices] = useState([]);\r\n const [rangeSales, setRangeSales] = useState([]);\r\n const [rangeServices, setRangeServices] = useState([]);\r\n const [emobilitySales, setEmobilitySales] = useState([]);\r\n const [emobilityServices, setEmobilityServices] = useState([]);\r\n const [application, setApplication] = useState([]);\r\n const openingHours = getFormattedHours(props?.dealer);\r\n const dealer = props?.dealer;\r\n const brandCode = props?.fields?.BrandCode?.value;\r\n const distanceUnit = props?.distanceUnit;\r\n const logoUrl = props?.fields?.BrandLogo?.value?.svgCode ? \r\n props?.fields?.BrandLogo?.value?.svgCode: props?.fields?.BrandLogo?.value;\r\n const { t } = useTranslation();\r\n\r\n\r\n useEffect(() => {\r\n /* Here we register fonts according to the brand identity. */\r\n switch(brandCode) {\r\n //Iveco\r\n case 6: \r\n case 7:\r\n case 8:\r\n try {\r\n //Font.register({ family: 'Roboto', src: require('../../../../assets/fonts/roboto/Roboto-Regular.ttf')});\r\n Font.register({ family: 'Roboto', src: RobotoRegular});\r\n } catch(e) {\r\n console.log(e)\r\n }\r\n break;\r\n\r\n //FPT\r\n case 9:\r\n try {\r\n Font.register({ family: 'ZeitungPro', src: require(\"../../../../assets/fonts/ZeitungPro/ZeitungPro-Regular.ttf\").default });\r\n } catch(e) {\r\n console.log(e)\r\n }\r\n break;\r\n\r\n default:\r\n break;\r\n }\r\n\r\n\r\n const services = convertFilterableFieldsInArray(dealer?.filterableFieldsDTO?.services, props?.fields?.DS_Services);\r\n const rangeSales = convertFilterableFieldsInArray(dealer?.filterableFieldsDTO?.rangeSales, props?.fields?.DS_Range);\r\n const rangeServices = convertFilterableFieldsInArray(dealer?.filterableFieldsDTO?.rangeServices, props?.fields?.DS_Range);\r\n const emobilitySales = createEmobilityFields(dealer?.filterableFieldsDTO?.eMobilitySales, props?.fields?.DS_Range, props?.fields?.DS_eMobility);\r\n const emobilityServices = createEmobilityFields(dealer?.filterableFieldsDTO?.eMobilityService, props?.fields?.DS_Range, props?.fields?.DS_eMobility);\r\n const application = convertFilterableFieldsInArray(dealer?.filterableFieldsDTO?.application, props?.fields?.DS_Application);\r\n const activity = props?.fields?.DS_Activity.find(elem => elem?.fields?.Text?.value == getDealerActivity(dealer))\r\n \r\n setDealerActivity(activity?.fields?.Label?.value ? activity?.fields?.Label?.value : activity?.fields?.Text?.value);\r\n setRangeSales(rangeSales);\r\n setRangeServices(rangeServices);\r\n setEmobilitySales(emobilitySales);\r\n setEmobilityServices(emobilityServices); \r\n setApplication(application);\r\n \r\n /* Here we convert the svg icons and the brand logo into images in order to show them inside the PDF. */\r\n const brandLogoWidth = brandCode !== 7 ? 2200 : 1800;\r\n const brandLogoHeight = brandCode === 9 ? 1100 : (brandCode === 7 ? 500 : 300);\r\n convertToImage(logoUrl, brandLogoWidth, brandLogoHeight)\r\n .then(result => setLogoSrc(result));\r\n convertToImage(renderToString(CallIcon({stroke: getColor(\"--DL-primary-color\"), strokeWidth: 1})), 150, 150)\r\n .then(result => setPhoneIcon(result));\r\n convertToImage(renderToString(FaxIcon({fill: getColor(\"--DL-primary-color\"), strokeWidth: 1})), 150, 150)\r\n .then(result => setFaxIcon(result));\r\n convertToImage(renderToString(ContactIcon({stroke: getColor(\"--DL-primary-color\"), strokeWidth: 1})), 150, 150)\r\n .then(result => setEmailIcon(result));\r\n convertToImage(renderToString(WebsiteIcon({stroke: getColor(\"--DL-primary-color\"), strokeWidth: 1})), 150, 150)\r\n .then(result => setWebsiteIcon(result));\r\n convertToImage(\r\n renderToString(\r\n CategoryIcon({width: \"16\", height: \"16\", category: getDealerActivity(dealer), color: getColor(\"--DL-primary-color\"), brandCode: brandCode})), 150, 150)\r\n .then(result => setActivityIcon(result));\r\n\r\n \r\n const promises = [];\r\n\r\n /* Here we convert the services logos into images in order to show them inside the PDF */\r\n services?.map((service) => {\r\n promises.push(new Promise((resolve, reject) => {\r\n if(service?.fields?.Image?.value?.svgCode) {\r\n convertToImage(service?.fields?.Image?.value?.svgCode, 150, 90).then(result => {\r\n service.fields.Image.value.src = result;\r\n resolve(service);\r\n });\r\n }\r\n else\r\n resolve(service);\r\n }));\r\n });\r\n\r\n Promise.all(promises).then((data) => setServices(data));\r\n\r\n },[props?.dealer]);\r\n\r\n\r\n const convertToImage = (svg, width, height) => {\r\n return new Promise((resolve, reject) => {\r\n\r\n const blob = new Blob([svg], { type: 'image/svg+xml' });\r\n const url = URL.createObjectURL(blob);\r\n const img = document.createElement('img');\r\n \r\n img.onload = () => {\r\n const canvas = document.createElement('canvas');\r\n canvas.width = width;\r\n canvas.height = height;\r\n\r\n const context = canvas.getContext('2d');\r\n context.drawImage(img, 0, 0, canvas.width, canvas.height);\r\n\r\n resolve(canvas.toDataURL('image/jpg', 1.0));\r\n };\r\n img.src = url;\r\n });\r\n };\r\n\r\n const getColor = (colorVar) => {\r\n let color = null;\r\n if(typeof document !== 'undefined') \r\n color = getComputedStyle(document.documentElement).getPropertyValue(colorVar);\r\n \r\n return color\r\n }\r\n\r\n const styles = StyleSheet.create({\r\n page: {\r\n display: \"flex\",\r\n flexDirection: 'column',\r\n justifyContent: \"flex-start\",\r\n backgroundColor: colors.white,\r\n width: \"100%\",\r\n padding: 30,\r\n fontFamily: brandCode !== 9 ? \"Roboto\" : \"ZeitungPro\",\r\n fontSize: 7\r\n },\r\n section: {\r\n width: \"100%\",\r\n paddingTop: 6,\r\n paddingBottom: 6,\r\n },\r\n divider: {\r\n borderTop: `0.2 solid ${colors.grey70}`\r\n },\r\n text: {\r\n paddingBottom: 4,\r\n },\r\n textGhost: {\r\n color: colors.grey70,\r\n },\r\n textRegular: {\r\n color: colors.black\r\n },\r\n textPrimary: {\r\n color: getColor(\"--DL-primary-color\"),\r\n },\r\n textBold: {\r\n //fontFamily: brandCode == 6 ? \"RobotoBold\" : \"ZeitungPro\", \r\n fontSize: 8,\r\n },\r\n name: {\r\n //fontFamily: brandCode == 6 ? \"GillSans\" : \"ZeitungPro\",\r\n fontSize: 12,\r\n },\r\n distance: {\r\n fontSize: 6\r\n },\r\n tab: {\r\n textAlign: \"center\",\r\n padding: 5,\r\n },\r\n tabActive: {\r\n backgroundColor: getColor(\"--DL-light-color\"), \r\n borderBottom: `0.5 solid ${getColor(\"--DL-primary-color\")}`\r\n }, \r\n tabDisabled: {\r\n backgroundColor: colors.white, \r\n opacity: 0.7,\r\n borderBottom: `0.5 solid ${colors.grey50}`,\r\n color: colors.grey50\r\n },\r\n tag: {\r\n width: \"auto\",\r\n padding: \"4 6\",\r\n marginRight: 5,\r\n borderRadius: 6,\r\n backgroundColor: colors.grey30,\r\n },\r\n serviceRow: {\r\n width: \"100%\",\r\n height: \"27\",\r\n borderBottom: `0.1 solid ${colors.grey70}`,\r\n display: \"flex\",\r\n flexDirection: \"row\",\r\n justifyContent: \"space-between\",\r\n alignItems: \"center\"\r\n },\r\n serviceImage: {\r\n display: \"flex\",\r\n justifyContent: \"center\",\r\n width: 70\r\n },\r\n IconRow: {\r\n flexDirection: \"row\",\r\n alignItems: \"center\"\r\n }\r\n });\r\n\r\n const TabSectionContent = (props) => {\r\n const {array, sectionName, tabName} = props;\r\n\r\n return (\r\n \r\n {array.map((item, i) => {\r\n\r\n return (\r\n \r\n {sectionName.includes(\"range\") || sectionName.includes(\"application\") ? \r\n (item?.fields?.Label?.value ? item?.fields?.Label?.value : item?.fields?.Text?.value) : item}\r\n \r\n )\r\n })}\r\n \r\n );\r\n }\r\n\r\n\r\n const TabSection = (props) => {\r\n const {sectionName, sales, service, title} = props;\r\n \r\n return (\r\n \r\n {title}\r\n 0 ? styles.tabActive : styles.tabDisabled]}>\r\n {t(\"DLSales\")}\r\n \r\n \r\n 0 ? styles.tabActive : styles.tabDisabled]}>\r\n {t(\"DLService\")}\r\n \r\n \r\n {sectionName.includes(\"emobility\") && sales.length == 0 && service.length == 0 ? (\r\n {t(\"DLNotActiveForeMobility\")}\r\n ) : null}\r\n \r\n )\r\n }\r\n\r\n\r\n return (\r\n \r\n \r\n \r\n {logoSrc ? (\r\n \r\n ) : null}\r\n \r\n\r\n \r\n {dealer?.distanceKmText ? \r\n \r\n {distanceUnit == \"km\" ? dealer?.distanceKmText : dealer?.distanceMiText}\r\n : null\r\n }\r\n {dealer?.outletFullName}\r\n \r\n {activityIcon ? (\r\n \r\n ) : null}\r\n {dealerActivity}\r\n \r\n \r\n\r\n \r\n \r\n {`${dealer?.physicalAddrStreet}, ${dealer?.physicalAddrPostalCode} - ${dealer?.physicalAddrCity}`}\r\n \r\n \r\n\r\n \r\n {dealer?.mainPhone ? (\r\n \r\n {phoneIcon ? (\r\n \r\n ) : null}\r\n {dealer?.mainPhone}\r\n \r\n ) : null}\r\n\r\n {dealer?.fax ? (\r\n \r\n {faxIcon ? (\r\n \r\n ) : null}\r\n {dealer?.fax}\r\n \r\n ) : null}\r\n\r\n {dealer?.eMail ? (\r\n \r\n {emailIcon ? (\r\n \r\n ) : null}\r\n {dealer?.eMail}\r\n \r\n ) : null}\r\n \r\n\r\n {props?.fields?.ShowOpeningHours?.value && dealer?.openingHours ? (\r\n \r\n \r\n {t(\"DLHours\")}\r\n \r\n {openingHours.map((item, i) => {\r\n return i == getCurrentDayIndex() ? item.hours : null}\r\n )}\r\n \r\n \r\n \r\n \r\n {openingHours.map((item, i) => {\r\n return (\r\n \r\n {item.day}\r\n {item.hours}\r\n \r\n )\r\n })}\r\n \r\n \r\n ) : null}\r\n\r\n {dealer?.webSite ? (\r\n \r\n {websiteIcon ? (\r\n \r\n ) : null}\r\n {dealer?.webSite}\r\n \r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowRange?.value ? (\r\n \r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowEMobility?.value ? (\r\n \r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowServices?.value && services?.length > 0 ? (\r\n \r\n {t(\"DLServices\")}\r\n {services.map((item, i) => {\r\n return (\r\n \r\n \r\n {item?.fields?.Label?.value ? item?.fields?.Label?.value: item?.fields?.Text?.value}\r\n \r\n {item?.fields?.Image?.value?.svgCode ? \r\n \r\n \r\n \r\n : null}\r\n \r\n )\r\n })}\r\n \r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowApplication?.value && application.length > 0 ? (\r\n \r\n {t(\"DLApplication\")}\r\n \r\n \r\n ) : null}\r\n\r\n \r\n \r\n );\r\n \r\n}\r\n\r\nexport default DownloadSheetTemplate;\r\n\r\n\r\n","import React, { useEffect, useState } from \"react\";\r\nimport {\r\n CategoryIcon,\r\n CallIcon,\r\n ContactIcon,\r\n FaxIcon,\r\n WebsiteIcon,\r\n} from \"../Icons\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport {\r\n CheckDeviceType,\r\n GenerateIdForGA,\r\n SetHeights,\r\n DealerCTA,\r\n updateURLWithDealerID,\r\n resetURL,\r\n} from \"../services/common\";\r\nimport { Image, withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport colors from \"../styles/_common.module.scss\";\r\nimport {\r\n getFormattedHours,\r\n getCurrentDayIndex,\r\n convertFilterableFieldsInArray,\r\n createEmobilityFields,\r\n getDealerActivity,\r\n} from \"./service\";\r\nimport \"./index.scss\";\r\nimport DownloadSheetTemplate from \"./DownloadSheetTemplate\";\r\nimport { PDFDownloadLink } from \"@react-pdf/renderer\";\r\n\r\nconst DealerSheet = (props) => {\r\n const [expandedHours, setExpandedHours] = useState(false);\r\n const [currentDay, setCurrentDay] = useState();\r\n const [sheetShort, setSheetShort] = useState(null);\r\n const [sales, setSales] = useState();\r\n const [service, setService] = useState();\r\n const [filterableServices, setFilterableServices] = useState([]);\r\n const [rangeSales, setRangeSales] = useState([]);\r\n const [rangeServices, setRangeServices] = useState([]);\r\n const [emobilitySales, setEmobilitySales] = useState([]);\r\n const [emobilityServices, setEmobilityServices] = useState([]);\r\n const [application, setApplication] = useState([]);\r\n const [activeRangeTab, setActiveRangeTab] = useState(\"\");\r\n const [activeEmobilityTab, setActiveEmobilityTab] = useState(\"\");\r\n const [rangeLoader, setRangeLoader] = useState(false);\r\n const [emobilityLoader, setEmobilityLoader] = useState(false);\r\n const [dealerActivity, setDealerActivity] = useState(\"\");\r\n const brand = props?.fields?.Brand?.value;\r\n const brandCode = props?.fields?.BrandCode?.value;\r\n const dealer = props?.dealer;\r\n const distanceUnit = props?.distanceUnit;\r\n const { t } = useTranslation();\r\n\r\n useEffect(() => {\r\n if (typeof window != \"undefined\" && typeof document != \"undefined\") {\r\n SetHeights(\r\n document.getElementById(\"dealerSheetContainer\"),\r\n document.getElementById(\"content\"),\r\n 64,\r\n brand\r\n );\r\n document.getElementById(\"dealerSheetContainerShort\").style.bottom =\r\n brand != \"FPT\"\r\n ? -document.querySelector(\"footer\").offsetHeight + \"px\"\r\n : \"0\";\r\n\r\n window.addEventListener(\"resize\", () => {\r\n if (document.getElementById(\"dealerSheet\")) {\r\n SetHeights(\r\n document.getElementById(\"dealerSheetContainer\"),\r\n document.getElementById(\"content\"),\r\n 64,\r\n brand\r\n );\r\n document.getElementById(\"dealerSheetContainerShort\").style.bottom =\r\n brand != \"FPT\"\r\n ? -document.querySelector(\"footer\").offsetHeight + \"px\"\r\n : \"0\";\r\n }\r\n });\r\n\r\n CheckDeviceType() == \"mobile\"\r\n ? document\r\n .getElementById(\"map\")\r\n ?.addEventListener(\"click\", handleClickOutside)\r\n : null;\r\n window.onpopstate = (event) => closeDealerSheet();\r\n }\r\n\r\n return () => {\r\n typeof document !== \"undefined\"\r\n ? document\r\n ?.getElementById(\"map\")\r\n ?.removeEventListener(\"click\", handleClickOutside)\r\n : null;\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n updateURLWithDealerID(dealer?.id);\r\n\r\n const services = convertFilterableFieldsInArray(\r\n dealer?.filterableFieldsDTO?.services,\r\n props?.fields?.DS_Services\r\n );\r\n const rangeSales = convertFilterableFieldsInArray(\r\n dealer?.filterableFieldsDTO?.rangeSales,\r\n props?.fields?.DS_Range\r\n );\r\n const rangeServices = convertFilterableFieldsInArray(\r\n dealer?.filterableFieldsDTO?.rangeServices,\r\n props?.fields?.DS_Range\r\n );\r\n const emobilitySales = createEmobilityFields(\r\n dealer?.filterableFieldsDTO?.eMobilitySales,\r\n props?.fields?.DS_Range,\r\n props?.fields?.DS_eMobility\r\n );\r\n const emobilityServices = createEmobilityFields(\r\n dealer?.filterableFieldsDTO?.eMobilityService,\r\n props?.fields?.DS_Range,\r\n props?.fields?.DS_eMobility\r\n );\r\n const application = convertFilterableFieldsInArray(\r\n dealer?.filterableFieldsDTO?.application,\r\n props?.fields?.DS_Application\r\n );\r\n const activity = props?.fields?.DS_Activity.find(\r\n (elem) => elem?.fields?.Text?.value == getDealerActivity(dealer)\r\n );\r\n\r\n setDealerActivity(\r\n activity?.fields?.Label?.value\r\n ? activity?.fields?.Label?.value\r\n : activity?.fields?.Text?.value\r\n );\r\n setFilterableServices(services);\r\n setRangeSales(rangeSales);\r\n setRangeServices(rangeServices);\r\n setEmobilitySales(emobilitySales);\r\n setEmobilityServices(emobilityServices);\r\n setApplication(application);\r\n setSales(dealer?.filterableFieldsDTO?.activity?.sales);\r\n setService(dealer?.filterableFieldsDTO?.activity?.service);\r\n\r\n emobilitySales.length > 0\r\n ? setActiveEmobilityTab(\"sales\")\r\n : emobilityServices.length > 0\r\n ? setActiveEmobilityTab(\"service\")\r\n : setActiveEmobilityTab(\"\");\r\n rangeSales.length > 0\r\n ? setActiveRangeTab(\"sales\")\r\n : rangeServices.length > 0\r\n ? setActiveRangeTab(\"service\")\r\n : setActiveRangeTab(\"\");\r\n }, [dealer]);\r\n\r\n /* Here we set which version of the dealer sheet we need to show first.\r\n * On mobile version, when a pin is clicked, the short version is showed first.\r\n */\r\n useEffect(() => {\r\n CheckDeviceType() == \"mobile\" && props?.sheetShort\r\n ? setSheetShort(true)\r\n : setSheetShort(false);\r\n }, [props]);\r\n\r\n useEffect(() => {\r\n if (typeof document != \"undefined\") {\r\n if (sheetShort == true) {\r\n (document.getElementById(\"dealerSheetContainerShort\").style.display =\r\n \"flex\"),\r\n (document.getElementById(\"dealerSheetContainer\").style.display =\r\n \"none\"),\r\n document.getElementById(\"dealersLegend\")\r\n ? (document.getElementById(\"dealersLegend\").style.display = \"none\")\r\n : null,\r\n document.getElementById(\"showListAndFilters\")\r\n ? (document.getElementById(\"showListAndFilters\").style.display =\r\n \"none\")\r\n : null;\r\n } else if (sheetShort == false) {\r\n (document.getElementById(\"dealerSheetContainerShort\").style.display =\r\n \"none\"),\r\n (document.getElementById(\"dealerSheetContainer\").style.display =\r\n \"flex\"),\r\n document.getElementById(\"dealersLegend\")\r\n ? (document.getElementById(\"dealersLegend\").style.display = \"flex\")\r\n : null,\r\n document.getElementById(\"showListAndFilters\") &&\r\n document.getElementById(\"dealerList\").style.display == \"none\"\r\n ? (document.getElementById(\"showListAndFilters\").style.display =\r\n \"flex\")\r\n : null;\r\n }\r\n }\r\n }, [sheetShort]);\r\n\r\n const handleClickOutside = (event) => {\r\n if (\r\n (typeof document !== \"undefined\" &&\r\n event?.target?.nodeName !== \"svg\" &&\r\n event?.target?.nodeName !== \"path\" &&\r\n document.getElementById(\"dealerSheetContainerShort\")?.style?.display !==\r\n \"none\") ||\r\n document.getElementById(\"dealerSheetContainer\")?.style?.display !== \"none\"\r\n ) {\r\n closeDealerSheet();\r\n }\r\n };\r\n\r\n const openExpandedHours = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"hours-expanded\").style.display = \"flex\";\r\n }\r\n setExpandedHours(true);\r\n };\r\n\r\n const closeExpandedHours = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"hours-expanded\").style.display = \"none\";\r\n }\r\n setExpandedHours(false);\r\n };\r\n\r\n const openExtendedDealerSheet = () => {\r\n setSheetShort(false);\r\n };\r\n\r\n const openTab = (event, tabName, activeTab) => {\r\n if (typeof document != \"undefined\") {\r\n let tab = document.getElementsByClassName(tabName);\r\n for (let i = 0; i < tab.length; i++) {\r\n tab[i].className = tab[i].className.replace(\" active\", \"\");\r\n }\r\n event.currentTarget.className += \" active\";\r\n event.currentTarget.className.includes(\"range\")\r\n ? (setActiveRangeTab(activeTab),\r\n setRangeLoader(true),\r\n setTimeout(() => {\r\n setRangeLoader(false);\r\n }, 300))\r\n : null;\r\n\r\n event.currentTarget.className.includes(\"emobility\")\r\n ? (setActiveEmobilityTab(activeTab),\r\n setEmobilityLoader(true),\r\n setTimeout(() => {\r\n setEmobilityLoader(false);\r\n }, 300))\r\n : null;\r\n }\r\n };\r\n\r\n const OpeningHours = () => {\r\n const formattedHours = getFormattedHours(dealer);\r\n const todayIndex = getCurrentDayIndex();\r\n\r\n return (\r\n <>\r\n {formattedHours.map((item, i) => {\r\n i == todayIndex ? setCurrentDay(item.hours) : null;\r\n\r\n return (\r\n \r\n {item.day}\r\n {item.hours}\r\n \r\n );\r\n })}\r\n \r\n );\r\n };\r\n\r\n const shareDealer = () => {\r\n if (typeof window != \"undefined\" && typeof navigator != \"undefined\") {\r\n navigator.clipboard.writeText(window.location.href);\r\n }\r\n props?.showToast();\r\n };\r\n\r\n const closeDealerSheet = () => {\r\n setSheetShort(false);\r\n resetURL();\r\n props?.closeDealerSheet();\r\n };\r\n\r\n const DistanceNameCategory = () => {\r\n return (\r\n \r\n
\r\n {sheetShort ? (\r\n \r\n ) : null}\r\n \r\n {distanceUnit == \"km\"\r\n ? dealer?.distanceKmText\r\n : dealer?.distanceMiText}\r\n \r\n
\r\n \r\n {dealer?.outletFullName}\r\n \r\n {!sheetShort ? (\r\n
\r\n \r\n {dealerActivity}\r\n
\r\n ) : null}\r\n \r\n );\r\n };\r\n\r\n const QuickActions = () => {\r\n return (\r\n \r\n {props?.fields?.OrderCTA?.map((item) => {\r\n const nameCTA = item?.fields?.Text?.value.toLowerCase();\r\n\r\n return (nameCTA == \"contact\" && !props?.fields?.EnableEmailCTA?.value) ||\r\n (nameCTA == \"contact\" && props?.fields?.EnableEmailCTA?.value && !dealer?.eMail) ? null : (\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 \r\n \r\n \r\n\r\n \r\n
\r\n \r\n
\r\n
\r\n {props?.fields?.ShowDealerSheetImage?.value ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n\r\n \r\n \r\n
\r\n {`${dealer?.physicalAddrStreet}, ${dealer?.physicalAddrPostalCode} - ${dealer?.physicalAddrCity}`}\r\n
\r\n\r\n {dealer?.mainPhone || dealer?.fax || dealer?.eMail ? (\r\n
\r\n {dealer?.mainPhone ? (\r\n \r\n \r\n {dealer?.mainPhone}\r\n \r\n ) : null}\r\n {dealer?.fax ? (\r\n
\r\n \r\n {dealer?.fax}\r\n
\r\n ) : null}\r\n {dealer?.eMail ? (\r\n
\r\n \r\n {dealer?.eMail}\r\n
\r\n ) : null}\r\n
\r\n ) : null}\r\n\r\n {props?.fields?.ShowOpeningHours?.value && dealer?.openingHours ? (\r\n
\r\n
\r\n \r\n {t(\"DLHours\")}\r\n \r\n
\r\n
\r\n {currentDay}\r\n
\r\n \r\n \r\n {expandedHours ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n ) : null}\r\n\r\n {dealer?.webSite ? (\r\n \r\n \r\n \r\n \r\n {dealer?.webSite}\r\n \r\n \r\n
\r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowRange?.value ? (\r\n
\r\n \r\n {t(\"DLRange\")}\r\n \r\n
\r\n 0\r\n ? \"default\"\r\n : null\r\n }`}\r\n onClick={(event) => openTab(event, \"rangeTab\", \"sales\")}\r\n disabled={!sales ? true : false}\r\n >\r\n {t(\"DLSales\")}\r\n \r\n 0\r\n ? \"default\"\r\n : null\r\n }`}\r\n onClick={(event) => openTab(event, \"rangeTab\", \"service\")}\r\n disabled={!service ? true : false}\r\n >\r\n {t(\"DLService\")}\r\n \r\n
\r\n
\r\n {rangeLoader ? (\r\n
\r\n
\r\n
\r\n ) : activeRangeTab == \"sales\" ? (\r\n rangeSales.map((item, i) => {\r\n return (\r\n
\r\n {item?.fields?.Label?.value\r\n ? item?.fields?.Label?.value\r\n : item?.fields?.Text?.value}\r\n
\r\n );\r\n })\r\n ) : (\r\n rangeServices.map((item, i) => {\r\n return (\r\n
\r\n {item?.fields?.Label?.value\r\n ? item?.fields?.Label?.value\r\n : item?.fields?.Text?.value}\r\n
\r\n );\r\n })\r\n )}\r\n
\r\n
\r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowEMobility?.value ? (\r\n
\r\n \r\n {t(\"DLeMobility\")}\r\n \r\n
\r\n 0\r\n ? \"default\"\r\n : null\r\n }`}\r\n onClick={(event) => openTab(event, \"emobilityTab\", \"sales\")}\r\n disabled={emobilitySales.length > 0 ? false : true}\r\n >\r\n {t(\"DLSales\")}\r\n \r\n 0\r\n ? \"default\"\r\n : null\r\n }`}\r\n onClick={(event) => openTab(event, \"emobilityTab\", \"service\")}\r\n disabled={emobilityServices.length > 0 ? false : true}\r\n >\r\n {t(\"DLService\")}\r\n \r\n
\r\n
\r\n {emobilitySales.length == 0 && emobilityServices.length == 0 ? (\r\n {t(\"DLNotActiveForeMobility\")}\r\n ) : emobilityLoader ? (\r\n
\r\n
\r\n
\r\n ) : activeEmobilityTab == \"sales\" ? (\r\n emobilitySales.map((item, i) => {\r\n return (\r\n
\r\n {item}\r\n
\r\n );\r\n })\r\n ) : (\r\n emobilityServices.map((item, i) => {\r\n return (\r\n
\r\n {item}\r\n
\r\n );\r\n })\r\n )}\r\n
\r\n
\r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowApplication?.value &&\r\n application.length > 0 ? (\r\n
\r\n \r\n {t(\"DLApplication\").toUpperCase()}\r\n \r\n
\r\n {application.map((item, i) => {\r\n return (\r\n
\r\n {item?.fields?.Label?.value\r\n ? item?.fields?.Label?.value\r\n : item?.fields?.Text?.value}\r\n
\r\n );\r\n })}\r\n
\r\n
\r\n ) : null}\r\n\r\n {props?.fields?.DS_ShowServices?.value &&\r\n filterableServices.length > 0 ? (\r\n
\r\n \r\n {t(\"DLServices\").toUpperCase()}\r\n \r\n {filterableServices.map((item, i) => {\r\n return (\r\n
\r\n \r\n {item?.fields?.Label?.value\r\n ? item?.fields?.Label?.value\r\n : item?.fields?.Text?.value}\r\n \r\n
\r\n {item?.fields?.Image?.value?.svgCode ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n
\r\n );\r\n })}\r\n
\r\n ) : null}\r\n\r\n {props?.fields?.ShowSheetDownload?.value ? (\r\n
\r\n \r\n {t(\"DLDownload\")}\r\n \r\n \r\n }\r\n fileName={`${t(\"DLDealerSheet\")}.pdf`}\r\n >\r\n \r\n \r\n
\r\n ) : null}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(DealerSheet);\r\n","import React, {\r\n useEffect,\r\n useState,\r\n forwardRef,\r\n useImperativeHandle,\r\n} from \"react\";\r\nimport { CloseIcon } from \"../Icons\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { SetHeights } from \"../services/common\";\r\nimport colors from \"./../styles/_common.module.scss\";\r\nimport \"./index.scss\";\r\n\r\n/**\r\n * Component that represents the filters section where users can filter the dealers.\r\n */\r\nconst Filters = forwardRef((props: any, ref) => {\r\n const headerHeight =\r\n typeof document !== \"undefined\" && document.querySelector(\"header\")\r\n ? document.querySelector(\"header\")?.offsetHeight\r\n : null;\r\n const footerHeight =\r\n typeof document !== \"undefined\" && document.querySelector(\"footer\")\r\n ? document.querySelector(\"footer\")?.offsetHeight\r\n : null;\r\n const fields = props.fields;\r\n const brand = props.fields.Brand.value;\r\n const brandCode = props?.fields?.BrandCode?.value;\r\n const [filtersChecked, setFiltersChecked] = useState(0);\r\n const [filters, setFilters] = useState({});\r\n const [activityFilters, setActivityFilters] = useState([]);\r\n const { t } = useTranslation();\r\n\r\n /**\r\n * Object that contains all possible filter sections.\r\n */\r\n const filterSections = {\r\n activity: {\r\n title: t(\"DLActivity\"),\r\n items: activityFilters,\r\n onClick: \"activity\",\r\n show: fields?.ShowActivity?.value,\r\n },\r\n range: {\r\n title: t(\"DLRange\"),\r\n items: fields?.Range || [],\r\n onClick: \"range\",\r\n show: fields?.ShowRange?.value,\r\n },\r\n emobility: {\r\n title: t(\"DLeMobility\"),\r\n items: fields?.eMobility || [],\r\n onClick: \"eMobility\",\r\n show: fields?.ShowEMobility?.value,\r\n },\r\n services: {\r\n title: t(\"DLServices\"),\r\n items: fields?.Services || [],\r\n onClick: \"services\",\r\n show: fields?.ShowServices?.value,\r\n },\r\n application: {\r\n title: t(\"DLApplication\"),\r\n items: fields?.Application || [],\r\n onClick: \"application\",\r\n show: fields?.ShowApplication?.value,\r\n },\r\n };\r\n\r\n useImperativeHandle(ref, () => ({ resetFilters }));\r\n\r\n useEffect(() => {\r\n if (typeof document != \"undefined\" && typeof window != \"undefined\") {\r\n window.addEventListener(\"resize\", () => {\r\n SetHeights(\r\n document.getElementById(\"filtersContainer\"),\r\n document.getElementById(\"filtersContent\"),\r\n 64,\r\n brand\r\n );\r\n });\r\n }\r\n\r\n var filters = {\r\n activity: {},\r\n range: {},\r\n eMobility: {},\r\n services: {},\r\n application: {},\r\n };\r\n\r\n setActivityFilters(\r\n fields?.Activity.filter(\r\n (elem) =>\r\n !(\r\n elem?.fields?.Text?.value.includes(\"Sales\") &&\r\n elem?.fields?.Text?.value.includes(\"Service\")\r\n )\r\n )\r\n );\r\n\r\n initializeFiltersObject(\r\n fields?.ShowActivity,\r\n activityFilters,\r\n filters.activity\r\n );\r\n initializeFiltersObject(fields?.ShowRange, fields?.Range, filters.range);\r\n initializeFiltersObject(\r\n fields?.ShowEMobility,\r\n fields?.eMobility,\r\n filters.eMobility\r\n );\r\n initializeFiltersObject(\r\n fields?.ShowServices,\r\n fields?.Services,\r\n filters.services\r\n );\r\n initializeFiltersObject(\r\n fields?.ShowApplication,\r\n fields?.Application,\r\n filters.application\r\n );\r\n setFilters(filters);\r\n }, []);\r\n\r\n useEffect(() => {\r\n SetHeights(\r\n document.getElementById(\"filtersContainer\"),\r\n document.getElementById(\"filtersContent\"),\r\n 64,\r\n brand\r\n );\r\n }, [headerHeight, footerHeight]);\r\n\r\n /**\r\n * Function that initialize filter values for a given section.\r\n */\r\n const initializeFiltersObject = (showFilter, filterArray, filterObject) => {\r\n showFilter?.value\r\n ? filterArray.map((item) => {\r\n filterObject[item?.fields?.Text?.value] = false;\r\n })\r\n : null;\r\n };\r\n\r\n /**\r\n * Function that runs when a filter is selected or deselected.\r\n * In both cases, the function of the parent component that carries out dealer filtering is invoked.\r\n */\r\n const onCheckboxClick = (event, filterName) => {\r\n if (event.target.checked) {\r\n filters[filterName][event.target.name] = true;\r\n props?.filterFunction(filters, filtersChecked + 1);\r\n setFiltersChecked(filtersChecked + 1);\r\n } else {\r\n filters[filterName][event.target.name] = false;\r\n props?.filterFunction(filters, filtersChecked - 1);\r\n setFiltersChecked(filtersChecked - 1);\r\n }\r\n\r\n updateFiltersGA4();\r\n };\r\n\r\n const updateFiltersGA4 = () => {\r\n const flattenObject = (obj) => {\r\n const result = {};\r\n\r\n Object.keys(obj).forEach((key) => {\r\n if (typeof obj[key] === \"object\" && !Array.isArray(obj[key])) {\r\n const flattened = flattenObject(obj[key]);\r\n Object.keys(flattened).forEach((subKey) => {\r\n result[subKey] = flattened[subKey];\r\n });\r\n } else {\r\n result[key] = obj[key];\r\n }\r\n });\r\n\r\n return result;\r\n };\r\n\r\n const flattenedObject = flattenObject(filters);\r\n\r\n const updateFilters = (flattenedObject, filtersGA4) => {\r\n const updatedFilters = {};\r\n\r\n Object.keys(filtersGA4).forEach((key) => {\r\n if (flattenedObject.hasOwnProperty(key)) {\r\n updatedFilters[key] = flattenedObject[key];\r\n } else {\r\n updatedFilters[key] = filtersGA4[key];\r\n }\r\n });\r\n return updatedFilters;\r\n };\r\n\r\n const updatedFilters = updateFilters(flattenedObject, props.filtersGA4);\r\n props?.setFiltersGA4(updatedFilters);\r\n props?.track(props.locatorSearch, updatedFilters);\r\n };\r\n\r\n const closeFilters = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"filters\").style.display = \"none\";\r\n }\r\n };\r\n\r\n const clearFilters = () => {\r\n props?.clearFilters();\r\n resetFilters();\r\n };\r\n\r\n const resetFilters = () => {\r\n for (const category in filters)\r\n for (const filter in filters[category]) filters[category][filter] = false;\r\n\r\n if (typeof document != \"undefined\")\r\n document\r\n .querySelectorAll(\"input[type='checkbox']\")\r\n .forEach((elem: HTMLInputElement) => (elem.checked = false));\r\n\r\n setFiltersChecked(0);\r\n closeFilters();\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 {fields?.OrderFilters.map((filterName, i) => {\r\n const section = filterSections[filterName?.name.toLowerCase()];\r\n\r\n if (section) {\r\n return section.show ? (\r\n
\r\n \r\n {section.title}\r\n \r\n {section.items.map((item, i) => {\r\n return (\r\n
\r\n onCheckboxClick(e, section.onClick)}\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 {t(\"DLClearFilters\")}\r\n \r\n \r\n {t(\"DLFine\")}\r\n \r\n
\r\n
\r\n \r\n );\r\n});\r\n\r\nexport default Filters;\r\n","var baseUrl = typeof window !== 'undefined' && window && window.location.origin.includes(\"localhost\") ? \r\n \"https://ivecocom001.westeurope.cloudapp.azure.com\" : \"\";\r\n\r\n\r\nfunction createXMLHttpRequestGET(url: string): XMLHttpRequest {\r\n const req = new XMLHttpRequest();\r\n req.open(\"GET\", url, true);\r\n if(typeof window !== 'undefined') {\r\n req.setRequestHeader(\"requestUrl\", window.location.href);\r\n } \r\n return req;\r\n}\r\n\r\nfunction convertInAsciiCode(name: String) {\r\n var result = '';\r\n \r\n for (var i = 0; i < name.length; i++) {\r\n var carattere = name.charAt(i);\r\n if (carattere === ' ' || /[\\&\\(\\).]/.test(carattere)) {\r\n result += '%' + carattere.charCodeAt(0).toString(16).toUpperCase();\r\n } else {\r\n result += carattere;\r\n }\r\n }\r\n return result;\r\n}\r\n\r\nexport const GetOutlets = async (dealerId, langcode): Promise => {\r\n\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutlets?dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n req.send();\r\n req.onload = () => {\r\n const response = JSON.parse(req.responseText);\r\n }\r\n};\r\n\r\nexport const GetOutletDTOById = async (dealerId, id, brandCode, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletDTOById/${id}?brandCode=${brandCode}&dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n })\r\n};\r\n\r\n\r\n\r\nexport const GetOutletsByCoords = async (dealerId, lat, lon, langcode, radius?): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(radius ? \r\n baseUrl + `/api/Outlets/GetOutletsByCoords?lat=${lat}&lon=${lon}&radius=${radius}&dealerLocatorId=${dealerId}&langcode=${langcode}` : \r\n baseUrl + `/api/Outlets/GetOutletsByCoords?lat=${lat}&lon=${lon}&dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n \r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletsByName = async (dealerId, name, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletsByName/${name}?dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n \r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletsByCity = async (dealerId, name, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletsByCity/${name}?dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n\r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletsByCountryIsoCode = async (dealerId, code, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletsByCountryIsoCode/${code}?dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n\r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletDTOsByCoords = async (dealerId, lat, lon, brandCode, langcode, radius?): Promise => {\r\n \r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(radius ?\r\n baseUrl + `/api/Outlets/GetOutletDTOsByCoords?lat=${lat}&lon=${lon}&radius=${radius}&brandCode=${brandCode}&dealerLocatorId=${dealerId}&langcode=${langcode}`:\r\n baseUrl + `/api/Outlets/GetOutletDTOsByCoords?brandCode=${brandCode}&lat=${lat}&lon=${lon}&dealerLocatorId=${dealerId}&langcode=${langcode}`);\r\n \r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletDTOsByName = async (dealerId, name, brandCode, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const formattedName = convertInAsciiCode(name);\r\n \r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletDTOsByName?name=${formattedName}&dealerLocatorId=${dealerId}&brandCode=${brandCode}&langcode=${langcode}`);\r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n\r\nexport const GetOutletDTOsByCountryIsoCode = async (dealerId, code, brandCode, langcode): Promise => {\r\n\r\n return new Promise((resolve, reject) => {\r\n const req = createXMLHttpRequestGET(baseUrl + `/api/Outlets/GetOutletDTOsByCountryIsoCode/${code}?dealerLocatorId=${dealerId}&brandCode=${brandCode}&langcode=${langcode}`);\r\n\r\n req.send();\r\n req.onload = () => {\r\n if (req.status == 200) {\r\n const response = JSON.parse(req.responseText);\r\n resolve(response);\r\n }\r\n else \r\n resolve(null);\r\n }\r\n }) \r\n};\r\n","import colors from \"../styles/_common.module.scss\";\r\nimport { CheckDeviceType } from \"../services/common\";\r\n\r\n/**\r\n * Function that returns the icon of the pin on the map according to the dealer's activity and brand.\r\n */\r\nexport const Pin = (category, thunderbolt, brandCode, dealerId) => {\r\n const width = CheckDeviceType() !== \"mobile\" ? 55 : 45;\r\n const height = CheckDeviceType() !== \"mobile\" ? 75 : 65;\r\n\r\n return `\r\n \r\n \r\n \r\n \r\n ${\r\n category === \"Sales and Service\"\r\n ? `\r\n \r\n `\r\n : category === \"Sales\"\r\n ? brandCode == 7 //IvecoBus\r\n ? `\r\n \r\n `\r\n : brandCode == 9 //FPT\r\n ? `\r\n \r\n `\r\n : //Iveco Truck and Astra\r\n `\r\n \r\n `\r\n : `\r\n \r\n `\r\n }\r\n ${\r\n thunderbolt\r\n ? `\r\n \r\n \r\n \r\n `\r\n : null\r\n }\r\n `;\r\n};\r\n\r\nexport const Cluster = (fillColor, strokeColor) => {\r\n const width = CheckDeviceType() !== \"mobile\" ? 62 : 52;\r\n const height = CheckDeviceType() !== \"mobile\" ? 62 : 52;\r\n const xy = CheckDeviceType() !== \"mobile\" ? 31 : 26;\r\n const r = CheckDeviceType() !== \"mobile\" ? 30 : 25;\r\n let stroke = null;\r\n let fill = null;\r\n\r\n if (typeof document !== \"undefined\") {\r\n stroke = getComputedStyle(document.documentElement).getPropertyValue(\r\n strokeColor\r\n );\r\n fill =\r\n fillColor == strokeColor\r\n ? getComputedStyle(document.documentElement).getPropertyValue(fillColor)\r\n : fillColor;\r\n }\r\n\r\n return ` \r\n \r\n `;\r\n};\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { GoogleApiWrapper } from \"google-maps-react\";\r\nimport { MarkerClusterer, GridAlgorithm } from \"@googlemaps/markerclusterer\";\r\nimport DealerSheet from \"./DealerSheet\";\r\nimport Filters from \"./Filters\";\r\nimport {\r\n CategoryIcon,\r\n PositionIcon,\r\n CrossIcon,\r\n LensIcon,\r\n NavigationIcon,\r\n FilterIcon,\r\n} from \"./Icons\";\r\nimport {\r\n GetOutletDTOsByCoords,\r\n GetOutletDTOsByName,\r\n GetOutletDTOById,\r\n} from \"./services/DealerLocatorService\";\r\nimport { Image } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport {\r\n CheckDeviceType,\r\n GenerateIdForGA,\r\n DealerCTA,\r\n resetURL,\r\n loadBrandColors,\r\n} from \"./services/common\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Pin, Cluster } from \"./Icons/markers\";\r\nimport colors from \"./styles/_common.module.scss\";\r\nimport europeCountries from \"./data/europeCountries.json\";\r\nimport ReactDOMServer from \"react-dom/server\";\r\nimport axios from \"axios\";\r\nimport \"./index.scss\";\r\n\r\nconst DealerLocatrModule = (props) => {\r\n const data: { [key: string]: any } = props.fields;\r\n\r\n const filteredData: { [key: string]: any } = {};\r\n\r\n Object.entries(data).forEach(([key, obj]) => {\r\n if (key.includes(\"DS_\") && !key.includes(\"Show\")) {\r\n filteredData[key] = obj;\r\n }\r\n });\r\n\r\n var locatorFilters: { [key: string]: boolean } = {};\r\n\r\n Object.values(filteredData).forEach((items) => {\r\n items.forEach((item: any) => {\r\n const fields = item?.fields;\r\n\r\n if (fields) {\r\n const textValue = fields?.Text?.value;\r\n\r\n if (textValue) {\r\n locatorFilters[textValue] = false;\r\n }\r\n }\r\n });\r\n });\r\n\r\n const brand = props?.fields?.Brand?.value;\r\n const brandCode = props?.fields?.BrandCode?.value;\r\n const dealerId = props?.rendering?.dataSource;\r\n const langcode = props?.sitecoreContext?.language;\r\n const filtersRef = useRef(null);\r\n const mapRef = useRef(null);\r\n const searchedLocationTypeRef = useRef(null);\r\n const [deviceType, setDeviceType] = useState(\"\");\r\n const [loadedMap, setLoadedMap] = useState(false);\r\n const [countryIsoCode, setCountryIsoCode] = useState(null);\r\n const [userLocation, setUserLocation] = useState(null);\r\n const [userLocationPermission, setUserLocationPermission] = useState(false);\r\n const [initialCenter, setInitialCenter] = useState(null);\r\n const [searchResults, setSearchResults] = useState([]);\r\n const [searchResultsCache, setSearchResultsCache] = useState([]);\r\n const [markers, setMarkers] = useState([]);\r\n const [markersClusterer, setMarkersClusterer] = useState(null);\r\n const [selectedDealer, setSelectedDealer] = useState();\r\n const [noResults, setNoResults] = useState(false);\r\n const [errorMessage, setErrorMessage] = useState(false);\r\n const [loadSearchResults, setLoadSearchResults] = useState(false);\r\n const [distanceUnit, setDistanceUnit] = useState(\"km\");\r\n const [showLensIcon, setShowLensIcon] = useState(true);\r\n const [showDistanceSwitch, setShowDistanceSwitch] = useState(false);\r\n const [showLegend, setShowLegend] = useState(false);\r\n const [dealerSheetShort, setDealerSheetShort] = useState(false);\r\n const [showDealerSheet, setShowDealerSheet] = useState(false);\r\n const [showSearchThisAreaButton, setShowSearchThisAreaButton] =\r\n useState(false);\r\n const [filtersNumber, setFiltersNumber] = useState(0);\r\n const [filtersGA4, setFiltersGA4] = useState(locatorFilters);\r\n const [locatorSearch, setLocatorSearch] = useState({\r\n country: \"\",\r\n city: \"\",\r\n dealerName: \"\",\r\n });\r\n const { t } = useTranslation();\r\n const { AdvancedMarkerElement } =\r\n props?.google?.maps?.importLibrary(\"marker\");\r\n const mileFactor = 0.621371192;\r\n const lensIconId = GenerateIdForGA(\r\n \"searchInputLens\",\r\n \"triggerSearch\",\r\n props?.sitecoreContext\r\n );\r\n const crossIconId = GenerateIdForGA(\r\n \"searchInputCross\",\r\n \"cleanSearch\",\r\n props?.sitecoreContext\r\n );\r\n const kmTabId = GenerateIdForGA(\r\n \"kmTab\",\r\n \"kmDistanceSwitch\",\r\n props?.sitecoreContext\r\n );\r\n const miTabId = GenerateIdForGA(\r\n \"miTab\",\r\n \"miDistanceSwitch\",\r\n props?.sitecoreContext\r\n );\r\n const headerHeight =\r\n typeof document !== \"undefined\" && document.querySelector(\"header\")\r\n ? document.querySelector(\"header\")?.offsetHeight\r\n : null;\r\n const footerHeight =\r\n typeof document !== \"undefined\" && document.querySelector(\"footer\")\r\n ? document.querySelector(\"footer\")?.offsetHeight\r\n : null;\r\n const geocoder = new props.google.maps.Geocoder();\r\n const autocompleteOffset = 3;\r\n var autocomplete = null;\r\n var country;\r\n\r\n useEffect(() => {\r\n console.log(props);\r\n loadBrandColors(brandCode);\r\n\r\n var metaViewPortContent = null;\r\n\r\n //Here we add an extra value on content attribute of meta tag viewport in order to avoid auto-zoom on iphone devices\r\n if (\r\n typeof navigator !== \"undefined\" &&\r\n typeof document !== \"undefined\" &&\r\n navigator.userAgent.indexOf(\"iPhone\") > -1\r\n ) {\r\n metaViewPortContent = document\r\n .querySelector(\"[name=viewport]\")\r\n .getAttribute(\"content\");\r\n document\r\n .querySelector(\"[name=viewport]\")\r\n .setAttribute(\"content\", metaViewPortContent + \", maximum-scale=1\");\r\n }\r\n\r\n if (typeof window !== \"undefined\") {\r\n setDeviceType(CheckDeviceType());\r\n\r\n window.document.getElementById(\"root\").style.overflow = \"hidden\";\r\n window.addEventListener(\"resize\", () => {\r\n setDeviceType(CheckDeviceType());\r\n setDealerLocatorHeight();\r\n });\r\n }\r\n\r\n const regionNames = new Intl.DisplayNames([\"en\"], { type: \"region\" });\r\n\r\n /* Fetching the user's IP address to center the map. If no data available it is used the default country parameter */\r\n axios({\r\n method: \"get\",\r\n url: \"https://api.ipify.org\",\r\n responseType: \"text\",\r\n timeout: 5000,\r\n })\r\n .then(function (ip) {\r\n var url = \"https://rdap.arin.net/registry/ip/\" + ip.data;\r\n const request = new XMLHttpRequest();\r\n\r\n request.open(\"GET\", url, true);\r\n request.send();\r\n request.onload = () => {\r\n const response = JSON.parse(request.responseText);\r\n country = regionNames.of(\r\n response.country\r\n ? response.country\r\n : props?.fields?.DefaultCountry?.value\r\n );\r\n setCountryIsoCode(\r\n response.country\r\n ? response.country\r\n : props?.fields?.DefaultCountry?.value\r\n );\r\n getUserInitialPosition(country);\r\n };\r\n })\r\n .catch(() => {\r\n country = regionNames.of(props?.fields?.DefaultCountry?.value);\r\n setCountryIsoCode(props?.fields?.DefaultCountry?.value);\r\n getUserInitialPosition(country);\r\n });\r\n\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"filters\").style.display = \"none\";\r\n\r\n const input = document.getElementById(\r\n \"searchFieldsetInput\"\r\n ) as HTMLInputElement;\r\n const options = {\r\n fields: [\r\n \"address_components\",\r\n \"geometry\",\r\n \"formatted_address\",\r\n \"place_id\",\r\n \"icon\",\r\n \"name\",\r\n ],\r\n strictBounds: false,\r\n };\r\n\r\n /* Here we set the autocomplete listener only if the user's input has at least 3 chars. */\r\n input.addEventListener(\"input\", () => {\r\n if (input.value.length >= autocompleteOffset) {\r\n if (!autocomplete) {\r\n autocomplete = new props.google.maps.places.Autocomplete(\r\n input,\r\n options\r\n );\r\n autocomplete.addListener(\"place_changed\", autocompleteHandler);\r\n }\r\n } else {\r\n if (autocomplete) {\r\n props?.google?.maps?.event?.clearInstanceListeners(autocomplete);\r\n typeof document != \"undefined\"\r\n ? document.querySelector(\".pac-container\").remove()\r\n : null;\r\n autocomplete = null;\r\n }\r\n }\r\n });\r\n }\r\n\r\n return () => {\r\n // reset of content attribute of the meta tag viewport\r\n if (\r\n typeof navigator !== \"undefined\" &&\r\n typeof document !== \"undefined\" &&\r\n navigator.userAgent.indexOf(\"iPhone\") > -1\r\n ) {\r\n document\r\n .querySelector(\"[name=viewport]\")\r\n .setAttribute(\"content\", metaViewPortContent);\r\n }\r\n };\r\n }, []);\r\n\r\n useEffect(() => {\r\n setDealerLocatorHeight();\r\n }, [headerHeight, footerHeight]);\r\n\r\n /* Once the map is loaded we control if the URL contains an address or dealer ID.\r\n * In the first case we trigger a search by coords or name according to what the google apis returns.\r\n * In the second case we trigger a search by dealer id in order to get its informations and show the dealer sheet.\r\n * Otherwise we ask for the user's location permission.\r\n */\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\" && loadedMap) {\r\n const urlParams = new URLSearchParams(window.location.search);\r\n const dealerId = urlParams.get(\"dealerId\");\r\n const address = urlParams.get(\"address\");\r\n\r\n if (dealerId !== \"undefined\" && dealerId !== null) {\r\n searchDealerById(dealerId);\r\n askLocationPermission(false);\r\n } else if (address !== \"undefined\" && address !== null) {\r\n geocoder.geocode({ address: address }, (results, status) => {\r\n if (status === \"OK\" && results.length >= 1) {\r\n const position = {\r\n lat: results[0].geometry.location.lat(),\r\n lng: results[0].geometry.location.lng(),\r\n };\r\n const isInEurope = countryIsInEurope(results[0]);\r\n searchDealersByCoords(\r\n position,\r\n results[0].address_components[0].types[0],\r\n isInEurope\r\n );\r\n } else {\r\n searchDealersByName(address);\r\n }\r\n });\r\n askLocationPermission(false);\r\n\r\n if (typeof document != \"undefined\")\r\n (\r\n document.getElementById(\"searchFieldsetInput\") as HTMLInputElement\r\n ).value = address;\r\n } else askLocationPermission(true, initialCenter);\r\n }\r\n }, [loadedMap]);\r\n\r\n /* Function that gets the coordinates of the user country center in order to center the map */\r\n const getUserInitialPosition = (country) => {\r\n var pos = { lat: null, lng: null };\r\n\r\n geocoder\r\n .geocode({ address: country }, (results, status) => {\r\n if (status === \"OK\") {\r\n pos.lat = results[0].geometry.location.lat();\r\n pos.lng = results[0].geometry.location.lng();\r\n setInitialCenter(pos);\r\n } else {\r\n setErrorMessage(true);\r\n }\r\n })\r\n .then(() => {\r\n loadMap(pos);\r\n });\r\n };\r\n\r\n /* Function that loads the map */\r\n const loadMap = (mapCenter) => {\r\n setLoadedMap(true);\r\n\r\n const map = new props.google.maps.Map(document.getElementById(\"map\"), {\r\n zoom: 5,\r\n center: mapCenter,\r\n mapId: \"mapID\",\r\n disableDefaultUI: true,\r\n zoomControl: true,\r\n zoomControlOptions: {\r\n position: props?.google?.maps?.ControlPosition?.RIGHT_CENTER,\r\n },\r\n });\r\n mapRef.current = map;\r\n\r\n /* Here we set the map drag event listener in order to implement the \"Search this area\" feature */\r\n props?.google?.maps?.event?.addListener(mapRef?.current, \"dragend\", () => {\r\n setShowSearchThisAreaButton(true);\r\n });\r\n };\r\n\r\n /* Function that sets the map zoom dynamically based on the markers number */\r\n const setMapZoom = (markers) => {\r\n const bounds = new props.google.maps.LatLngBounds();\r\n\r\n if (markers.length > 0) {\r\n for (var i = 0; i < markers.length; i++) {\r\n bounds.extend(markers[i].position);\r\n }\r\n mapRef?.current?.fitBounds(bounds);\r\n markers.length == 1 ? mapRef?.current?.setZoom(11) : null;\r\n }\r\n };\r\n\r\n /* Function that calculates and sets the DL height based on the current header and footer */\r\n const setDealerLocatorHeight = () => {\r\n if (typeof document != \"undefined\" && typeof window != \"undefined\") {\r\n var dealerHeight;\r\n if (brand != \"FPT\")\r\n dealerHeight = window.innerHeight - headerHeight - footerHeight;\r\n else dealerHeight = window.innerHeight - headerHeight;\r\n\r\n (\r\n document.querySelector(\".dealer-locator-module\") as HTMLElement\r\n ).style.height = dealerHeight.toString() + \"px\";\r\n }\r\n };\r\n\r\n /* Function to get the user current location */\r\n const askLocationPermission = (triggerSearch, countryCenter = null) => {\r\n function success(position) {\r\n const coords = {\r\n lat: position.coords.latitude,\r\n lng: position.coords.longitude,\r\n };\r\n setUserLocation(coords);\r\n\r\n if (triggerSearch) searchWithUserLocation(coords);\r\n }\r\n\r\n function error() {\r\n setUserLocation(null);\r\n\r\n if (triggerSearch && props?.fields?.EnableSearchOnStart?.value)\r\n searchDealersByCoords(\r\n countryCenter,\r\n \"country\",\r\n countryIsInEurope(null)\r\n );\r\n }\r\n\r\n if (navigator.geolocation)\r\n navigator.geolocation.getCurrentPosition(success, error);\r\n else alert(\"Geolocation not supported by the browser.\");\r\n };\r\n\r\n /* Function that reset the initial app state with a clear interface */\r\n const clearInputSearch = () => {\r\n if (typeof document != \"undefined\") {\r\n const input = document.getElementById(\r\n \"searchFieldsetInput\"\r\n ) as HTMLInputElement;\r\n input.value = \"\";\r\n input.placeholder = t(\"DLSearchHint\");\r\n }\r\n\r\n initialCenter ? mapRef?.current?.setCenter(initialCenter) : null;\r\n mapRef?.current?.setZoom(5);\r\n filtersRef.current?.resetFilters();\r\n searchedLocationTypeRef.current = \"\";\r\n setShowLensIcon(true);\r\n setFiltersNumber(0);\r\n removeMarkers();\r\n setSearchResults([]);\r\n setSearchResultsCache([]);\r\n setNoResults(false);\r\n setErrorMessage(false);\r\n setShowLegend(false);\r\n setShowDealerSheet(false);\r\n setUserLocationPermission(false);\r\n setShowSearchThisAreaButton(false);\r\n resetURL();\r\n };\r\n\r\n const onLensClick = () => {\r\n if (typeof document != \"undefined\") {\r\n const input = document.getElementById(\"searchFieldsetInput\");\r\n props?.google?.maps?.event?.trigger(input, \"focus\", {});\r\n props?.google?.maps?.event?.trigger(input, \"keydown\", { keyCode: 13 });\r\n props?.google?.maps?.event?.trigger(this, \"focus\", {});\r\n track(locatorSearch, filtersGA4);\r\n }\r\n };\r\n\r\n const track = (locatorSearch, filters) => {\r\n let filter;\r\n\r\n if (typeof filters === \"string\") {\r\n filter = filters;\r\n } else {\r\n filter = Object.keys(filters)\r\n .map((filterKey) => `${filterKey}:${filters[filterKey]}`)\r\n .join(\"|\");\r\n }\r\n const locator_search_info = `dealer:${locatorSearch.dealerName}|country:${locatorSearch.country}|city:${locatorSearch.city}`;\r\n const event = \"locator_search\";\r\n\r\n const trackLocatorSearch = (\r\n data:\r\n | [string, string, string]\r\n | {\r\n event: string;\r\n locator_search_info: string;\r\n filter: string;\r\n }\r\n ) => {\r\n if (typeof window !== \"undefined\" && (window as any).dataLayer) {\r\n try {\r\n let trackData = [];\r\n if (\"event\" in data) {\r\n trackData.push(data.event);\r\n trackData.push(data.locator_search_info);\r\n trackData.push(data.filter);\r\n } else {\r\n trackData = [...data];\r\n }\r\n\r\n (window as any).dataLayer.push({\r\n event: trackData[0],\r\n locator_search_info: trackData[1],\r\n filter: trackData[2],\r\n });\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n };\r\n\r\n trackLocatorSearch({\r\n event,\r\n locator_search_info,\r\n filter,\r\n });\r\n };\r\n\r\n const findCountryLongName = (addressComponents) => {\r\n const countryComponent = addressComponents.find((component) =>\r\n component.types.includes(\"country\")\r\n );\r\n return countryComponent ? countryComponent.long_name : \"\";\r\n };\r\n\r\n const findCityLongName = (addressComponents) => {\r\n const countryComponent = addressComponents.find((component) =>\r\n component.types.includes(\"locality\")\r\n );\r\n return countryComponent ? countryComponent.long_name : \"\";\r\n };\r\n\r\n /* Function that decides which search API to invoke based on the input typed by the user */\r\n const autocompleteHandler = () => {\r\n const place = autocomplete.getPlace();\r\n var position;\r\n\r\n setUserLocationPermission(false);\r\n\r\n var locatorSearchInfo = {\r\n country: \"\",\r\n city: \"\",\r\n dealerName: \"\",\r\n };\r\n\r\n if (!place.geometry || !place.geometry.location) {\r\n geocoder.geocode({ address: place.name }, (results, status) => {\r\n if (status === \"OK\" && results.length >= 1) {\r\n position = {\r\n lat: results[0].geometry.location.lat(),\r\n lng: results[0].geometry.location.lng(),\r\n };\r\n const isInEurope = countryIsInEurope(results[0]);\r\n locatorSearchInfo = {\r\n country: findCountryLongName(results[0].address_components),\r\n city: findCityLongName(results[0].address_components),\r\n dealerName: \"\",\r\n };\r\n setLocatorSearch({\r\n country: findCountryLongName(results[0].address_components),\r\n city: findCityLongName(results[0].address_components),\r\n dealerName: \"\",\r\n });\r\n searchDealersByCoords(\r\n position,\r\n results[0].address_components[0].types[0],\r\n isInEurope\r\n );\r\n track(locatorSearchInfo, filtersGA4);\r\n } else {\r\n searchDealersByName(place.name);\r\n locatorSearchInfo = {\r\n country: \"\",\r\n city: \"\",\r\n dealerName: place.name,\r\n };\r\n setLocatorSearch({\r\n country: \"\",\r\n city: \"\",\r\n dealerName: place.name,\r\n });\r\n track(locatorSearchInfo, filtersGA4);\r\n }\r\n });\r\n } else {\r\n const isInEurope = countryIsInEurope(place);\r\n position = {\r\n lat: place.geometry.location.lat(),\r\n lng: place.geometry.location.lng(),\r\n };\r\n searchDealersByCoords(\r\n position,\r\n place.address_components[0].types[0],\r\n isInEurope\r\n );\r\n if (place.name) {\r\n locatorSearchInfo = {\r\n country: findCountryLongName(place.address_components),\r\n city: findCityLongName(place.address_components),\r\n dealerName: place.name,\r\n };\r\n track(locatorSearchInfo, filtersGA4);\r\n } else {\r\n locatorSearchInfo = {\r\n country: findCountryLongName(place.address_components),\r\n city: findCityLongName(place.address_components),\r\n dealerName: \"\",\r\n };\r\n track(locatorSearchInfo, filtersGA4);\r\n }\r\n }\r\n };\r\n\r\n /* Function that determines whether a country is European or not in order to know which type of radius to use */\r\n const countryIsInEurope = (place) => {\r\n if (place !== null) {\r\n for (const addressComponents of place.address_components) {\r\n if (addressComponents.types.includes(\"country\")) {\r\n return Object.values(europeCountries).find(\r\n (country) => country == addressComponents.short_name\r\n );\r\n }\r\n }\r\n } else {\r\n return Object.values(europeCountries).find(\r\n (country) => country == countryIsoCode\r\n );\r\n }\r\n };\r\n\r\n /* It triggers a dealers research by name and manages the result */\r\n const searchDealersByName = (dealerName) => {\r\n setLoadSearchResults(true);\r\n setShowDealerSheet(false);\r\n setShowSearchThisAreaButton(false);\r\n searchedLocationTypeRef.current = \"\";\r\n\r\n GetOutletDTOsByName(dealerId, dealerName, brandCode, langcode)\r\n .then((response) => {\r\n setLoadSearchResults(false);\r\n\r\n /* the api returns an error and an error message is shown*/\r\n if (response == null) {\r\n clearInputSearch();\r\n setErrorMessage(true);\r\n setShowLensIcon(false);\r\n } else {\r\n /* the api returns 0 results and an informational message is shown*/\r\n if (response.length == 0) {\r\n setNoResults(true);\r\n setErrorMessage(false);\r\n removeMarkers();\r\n setShowLegend(false);\r\n } else if (response.length > 0) {\r\n response = response.filter(\r\n (item) => item.latitude != null && item.longitude != null\r\n );\r\n setNoResults(false);\r\n setErrorMessage(false);\r\n setSearchResults(response);\r\n setSearchResultsCache(response);\r\n setShowDistanceSwitch(false);\r\n createMarkers(response);\r\n setFiltersNumber(0);\r\n mapRef?.current?.setCenter({\r\n lat: response[0].latitude,\r\n lng: response[0].longitude,\r\n });\r\n filtersRef.current?.resetFilters();\r\n if (typeof document != \"undefined\" && CheckDeviceType() == \"mobile\")\r\n document.getElementById(\"dealerList\") &&\r\n document.getElementById(\"dealerList\").style.display == \"flex\"\r\n ? setShowLegend(false)\r\n : setShowLegend(true);\r\n else setShowLegend(true);\r\n }\r\n setShowLensIcon(false);\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n };\r\n\r\n /**\r\n * It triggers a dealers research by id.\r\n * It is only used to retrieve the data of a specific dealer when the url contains its id as a parameter.\r\n */\r\n const searchDealerById = (id) => {\r\n GetOutletDTOById(dealerId, id, brandCode, langcode)\r\n .then((response) => {\r\n if (response !== null) {\r\n handleSearchResults(new Array(response), null, {\r\n lat: response?.latitude,\r\n lng: response?.longitude,\r\n });\r\n setSelectedDealer(response);\r\n const openShortVersion = (deviceType == \"mobile\" && brand !== 'FPT') ? true : false;\r\n\r\n /**\r\n * The second parameter indicates the index of the dealer inside the markers array.\r\n * In this case there is just only one dealer that's why is passed 0\r\n */\r\n openDealerSheet(response, 0, openShortVersion);\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n };\r\n\r\n /* It triggers a research using the user location's coords. */\r\n const searchWithUserLocation = (position) => {\r\n closeLocationPopup();\r\n setUserLocationPermission(true);\r\n\r\n geocoder\r\n .geocode({ location: position }, (results, status) => {\r\n if (status == \"OK\") {\r\n searchDealersByCoords(\r\n position,\r\n \"locality\",\r\n countryIsInEurope(results[0])\r\n );\r\n } else setErrorMessage(true);\r\n })\r\n .catch((error) => setErrorMessage(true)); //WE NEED TO USE ANOTHER ERROR STRING FOR THIS SITUATION\r\n\r\n if (typeof document != \"undefined\") {\r\n const input = document.getElementById(\r\n \"searchFieldsetInput\"\r\n ) as HTMLInputElement;\r\n input.value = \"\";\r\n input.placeholder = t(\"DLYourPosition\");\r\n }\r\n };\r\n\r\n /* function that triggers a research by coordinates with a specific radius based on the location type. */\r\n const searchDealersByCoords = (coords, placeType, isInEurope) => {\r\n setLoadSearchResults(true);\r\n setShowSearchThisAreaButton(false);\r\n searchedLocationTypeRef.current = placeType;\r\n var radius = null;\r\n\r\n switch (placeType) {\r\n case \"country\":\r\n radius = isInEurope\r\n ? props?.fields?.CountrySearchRadius?.value\r\n : props?.fields?.ExtraEuropeanCountrySearchRadius?.value;\r\n\r\n GetOutletDTOsByCoords(\r\n dealerId,\r\n coords.lat,\r\n coords.lng,\r\n brandCode,\r\n langcode,\r\n radius\r\n )\r\n .then((response) => {\r\n handleSearchResults(response, coords);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n break;\r\n\r\n case \"administrative_area_level_1\":\r\n radius = isInEurope\r\n ? props?.fields?.RegionSearchRadius?.value\r\n : props?.fields?.ExtraEuropeanRegionSearchRadius?.value;\r\n GetOutletDTOsByCoords(\r\n dealerId,\r\n coords.lat,\r\n coords.lng,\r\n brandCode,\r\n langcode,\r\n radius\r\n )\r\n .then((response) => {\r\n handleSearchResults(response, coords);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n break;\r\n\r\n case \"locality\":\r\n case \"administrative_area_level_2\":\r\n case \"administrative_area_level_3\":\r\n case \"administrative_area_level_4\":\r\n case \"administrative_area_level_5\":\r\n case \"administrative_area_level_6\":\r\n case \"administrative_area_level_7\":\r\n case \"sublocality_level_1\":\r\n case \"sublocality_level_2\":\r\n case \"sublocality_level_3\":\r\n case \"sublocality_level_4\":\r\n case \"sublocality_level_5\":\r\n case \"postal_code\":\r\n radius = isInEurope\r\n ? props?.fields?.CitySearchRadius?.value\r\n : props?.fields?.ExtraEuropeanCitySearchRadius?.value;\r\n GetOutletDTOsByCoords(\r\n dealerId,\r\n coords.lat,\r\n coords.lng,\r\n brandCode,\r\n langcode,\r\n radius\r\n )\r\n .then((response) => {\r\n handleSearchResults(response, coords);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n break;\r\n\r\n case \"neighborhood\":\r\n case \"route\":\r\n case \"street_address\":\r\n case \"street_number\":\r\n radius = isInEurope\r\n ? props?.fields?.AddressSearchRadius?.value\r\n : props?.fields?.ExtraEuropeanAddressSearchRadius?.value;\r\n GetOutletDTOsByCoords(\r\n dealerId,\r\n coords.lat,\r\n coords.lng,\r\n brandCode,\r\n langcode,\r\n radius\r\n )\r\n .then((response) => {\r\n handleSearchResults(response, coords);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n break;\r\n\r\n default:\r\n radius = isInEurope\r\n ? props?.fields?.DefaultSearchRadius?.value\r\n : props?.fields?.ExtraEuropeanSearchRadius?.value;\r\n GetOutletDTOsByCoords(\r\n dealerId,\r\n coords.lat,\r\n coords.lng,\r\n brandCode,\r\n langcode,\r\n radius\r\n )\r\n .then((response) => {\r\n handleSearchResults(response, coords);\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n break;\r\n }\r\n };\r\n\r\n /* Function that uses the map center in orderd to trigger a new search after the user draged the map. */\r\n const onSearchThisAreaButtonClick = () => {\r\n const mapCenter = {\r\n lat: mapRef?.current?.getCenter().lat(),\r\n lng: mapRef?.current?.getCenter().lng(),\r\n };\r\n const locationType = !!searchedLocationTypeRef?.current\r\n ? searchedLocationTypeRef?.current\r\n : \"locality\";\r\n\r\n geocoder\r\n .geocode({ location: mapCenter }, (results, status) => {\r\n if (status == \"OK\") {\r\n const isInEurope = countryIsInEurope(results[0]);\r\n searchDealersByCoords(mapCenter, locationType, isInEurope);\r\n } else setErrorMessage(true);\r\n })\r\n .catch((error) => setErrorMessage(true));\r\n };\r\n\r\n /* Function that manages the result of the search by coordinates. */\r\n const handleSearchResults = (response, origin, mapCenter = null) => {\r\n filtersRef.current?.resetFilters();\r\n setFiltersNumber(0);\r\n setShowDealerSheet(false);\r\n setLoadSearchResults(false);\r\n\r\n /* the api returns an error and an error message is shown*/\r\n if (response == null) {\r\n clearInputSearch();\r\n setErrorMessage(true);\r\n setShowLensIcon(false);\r\n } else {\r\n /* the api returns 0 results and an informational message is shown*/\r\n if (response.length == 0) {\r\n setNoResults(true);\r\n setErrorMessage(false);\r\n removeMarkers();\r\n setShowLegend(false);\r\n } else if (response.length > 0) {\r\n origin\r\n ? (calculateDistance(response, origin), setShowDistanceSwitch(true))\r\n : (setSearchResults(response),\r\n setSearchResultsCache(response),\r\n createMarkers(response));\r\n\r\n setNoResults(false);\r\n setErrorMessage(false);\r\n mapRef?.current?.setCenter(mapCenter ? mapCenter : origin);\r\n if (typeof document != \"undefined\" && CheckDeviceType() == \"mobile\")\r\n document.getElementById(\"dealerList\") &&\r\n document.getElementById(\"dealerList\").style.display == \"flex\"\r\n ? setShowLegend(false)\r\n : setShowLegend(true);\r\n else setShowLegend(true);\r\n }\r\n setShowLensIcon(false);\r\n }\r\n };\r\n\r\n /**\r\n * Function that calculates and sets for each dealer the driving distance from the origin point searched by the user.\r\n * If the dealer hasn't valid coords it is not considered.\r\n * At the end the dealer list is sorted in ascending order based on distance.\r\n */\r\n const calculateDistance = (dealers, origin) => {\r\n const service = new props.google.maps.DistanceMatrixService();\r\n var promises = [];\r\n\r\n const setkmDistances = (item, text, value, straightDistance = false) => {\r\n item.distanceKmText = !straightDistance\r\n ? text\r\n : text + ` km ${t(\"DLApprox\")}`;\r\n item.distanceKmValue = value;\r\n\r\n return item;\r\n };\r\n\r\n const setMiDistances = (item, text, value, straightDistance = false) => {\r\n item.distanceMiText = !straightDistance\r\n ? text\r\n : (text * mileFactor).toFixed(2) + ` mi ${t(\"DLApprox\")}`;\r\n item.distanceMiValue = value;\r\n\r\n return item;\r\n };\r\n\r\n const getDistances = (item, unitType, setDistancesFunction) => {\r\n return new Promise((resolve, reject) => {\r\n const request = {\r\n origins: [origin],\r\n destinations: [{ lat: item?.latitude, lng: item?.longitude }],\r\n travelMode: props.google.maps.TravelMode.DRIVING,\r\n unitSystem: unitType,\r\n };\r\n\r\n service\r\n .getDistanceMatrix(request)\r\n .then((response) => {\r\n if (response.rows[0].elements[0].status == \"OK\") {\r\n item = setDistancesFunction(\r\n item,\r\n response.rows[0].elements[0].distance.text,\r\n response.rows[0].elements[0].distance.value\r\n );\r\n resolve(item);\r\n } else if (response.rows[0].elements[0].status == \"ZERO_RESULTS\") {\r\n request.travelMode = props.google.maps.TravelMode.TRANSIT;\r\n\r\n service.getDistanceMatrix(request).then((response) => {\r\n if (response.rows[0].elements[0].status == \"OK\") {\r\n item = setDistancesFunction(\r\n item,\r\n response.rows[0].elements[0].distance.text,\r\n response.rows[0].elements[0].distance.value\r\n );\r\n resolve(item);\r\n } else {\r\n const distanceKmValue = straightLineDistance(origin, {\r\n lat: item?.latitude,\r\n lng: item?.longitude,\r\n });\r\n if (distanceKmValue) {\r\n item = setDistancesFunction(\r\n item,\r\n distanceKmValue.toFixed(2),\r\n distanceKmValue * 1000,\r\n true\r\n );\r\n } else item = setDistancesFunction(item, \"\", distanceKmValue);\r\n resolve(item);\r\n }\r\n });\r\n }\r\n })\r\n .catch(() => resolve(item));\r\n });\r\n };\r\n\r\n dealers.map((item) => {\r\n if (item.latitude && item.longitude) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n item = setkmDistances(item, \"\", 0);\r\n item = setMiDistances(item, \"\", 0);\r\n\r\n getDistances(\r\n item,\r\n props.google.maps.UnitSystem.METRIC,\r\n setkmDistances\r\n ).then(() => {\r\n getDistances(\r\n item,\r\n props.google.maps.UnitSystem.IMPERIAL,\r\n setMiDistances\r\n )\r\n .then(() => {\r\n resolve(item);\r\n })\r\n .catch(() => resolve(item));\r\n });\r\n })\r\n );\r\n }\r\n });\r\n\r\n Promise.all(promises).then((data) => {\r\n data = data.filter((item) => item.distanceKmValue != null);\r\n data.sort((a, b) => a.distanceKmValue - b.distanceKmValue);\r\n setSearchResults(data);\r\n setSearchResultsCache(data);\r\n createMarkers(data);\r\n });\r\n };\r\n\r\n /* Function that calculates the straight line distance between two coordinates point */\r\n const straightLineDistance = (origin, destination) => {\r\n const toRadians = (degrees) => {\r\n return (degrees * Math.PI) / 180;\r\n };\r\n\r\n const R = 6371; //avarage radius of the Earth in km\r\n const dLat = toRadians(destination.lat) - toRadians(origin.lat);\r\n const dLon = toRadians(destination.lng) - toRadians(origin.lng);\r\n\r\n const a =\r\n Math.sin(dLat / 2) ** 2 +\r\n Math.cos(toRadians(origin.lat)) *\r\n Math.cos(toRadians(origin.lat)) *\r\n Math.sin(dLon / 2) ** 2;\r\n const c = 2 * Math.atan2(Math.sqrt(a), Math.sqrt(1 - a));\r\n const distance = R * c;\r\n\r\n return Number.isFinite(distance) ? distance : null;\r\n };\r\n\r\n const distanceUnitRef = useRef(distanceUnit);\r\n const markersRef = useRef(markers);\r\n\r\n /* Function that creates the content of the dealer infowindow that is displayed when user hover over a pin on the map */\r\n const createInfowindowContent = (dealer, activity) => {\r\n return `
\r\n
\r\n ${ReactDOMServer.renderToString(\r\n CategoryIcon({\r\n width: \"16\",\r\n height: \"16\",\r\n category: activity,\r\n brandCode: brandCode,\r\n color: colors.primary,\r\n })\r\n )}\r\n ${\r\n distanceUnitRef?.current == \"km\" && dealer?.distanceKmText\r\n ? dealer?.distanceKmText\r\n : distanceUnitRef?.current == \"mi\" && dealer?.distanceMiText\r\n ? dealer?.distanceMiText\r\n : \"\"\r\n }\r\n \r\n
\r\n ${dealer?.outletFullName}\r\n
`;\r\n };\r\n\r\n /* Function that creates the pin on the map for each dealer acording to it's activity type. */\r\n const createMarkers = (dealers) => {\r\n var markersArray = [];\r\n removeMarkers();\r\n setDealerSheetShort(false);\r\n\r\n dealers.forEach((dealer, i) => {\r\n const activity = dealerActivity(dealer);\r\n const hasThunderbolt = dealerHasThunderBolt(dealer);\r\n const dealerId = dealer?.id;\r\n\r\n if (dealer.latitude && dealer.longitude) {\r\n const contentMarker = document.createElement(\"div\");\r\n contentMarker.innerHTML = `${Pin(\r\n activity,\r\n hasThunderbolt,\r\n brandCode,\r\n dealerId\r\n )}`;\r\n\r\n const AdvancedMarkerElement =\r\n new props.google.maps.marker.AdvancedMarkerElement({\r\n map: mapRef?.current,\r\n content: contentMarker,\r\n position: { lat: dealer.latitude, lng: dealer.longitude },\r\n title: \"\",\r\n });\r\n\r\n const infowindow = new props.google.maps.InfoWindow();\r\n\r\n /* Handler assignment in order to open the corresponding dealer sheet on the click event. */\r\n AdvancedMarkerElement.addListener(\"click\", () => {\r\n const openSheetShort = (CheckDeviceType() == \"mobile\" && brand !== 'FPT') ? true : false;\r\n openDealerSheet(dealer, i, openSheetShort);\r\n });\r\n\r\n AdvancedMarkerElement.content.addEventListener(\"click\", () => {\r\n AdvancedMarkerElement.content.setAttribute(\r\n \"data-click_element\",\r\n \"dealer_map\"\r\n );\r\n AdvancedMarkerElement.content.setAttribute(\r\n \"data-click_cta\",\r\n \"dealer_pin\"\r\n );\r\n AdvancedMarkerElement.content.setAttribute(\r\n \"data-dealer_info\",\r\n `${dealer?.id}:${dealerActivity}`\r\n );\r\n AdvancedMarkerElement.content.classList.add(\r\n \"ga4-click-ui-dealer_map_dealer_pin\"\r\n );\r\n });\r\n\r\n /* Handler assignment in order to open the dealer infowindow on the hover event. */\r\n AdvancedMarkerElement.content.addEventListener(\r\n \"mouseenter\",\r\n (event) => {\r\n if (!event.currentTarget.isMouseEntered) {\r\n if (CheckDeviceType() !== \"mobile\") {\r\n infowindow.setContent(\r\n createInfowindowContent(dealer, activity)\r\n );\r\n infowindow.open({\r\n anchor: AdvancedMarkerElement,\r\n map: mapRef?.current,\r\n });\r\n }\r\n event.currentTarget.isMouseEntered = true;\r\n }\r\n }\r\n );\r\n\r\n /* Handler assignment in order to close the dealer infowindow on the leave event. */\r\n AdvancedMarkerElement.content.addEventListener(\r\n \"mouseleave\",\r\n (event) => {\r\n CheckDeviceType() !== \"mobile\" ? infowindow.close() : null;\r\n event.currentTarget.isMouseEntered = false;\r\n }\r\n );\r\n\r\n markersArray.push(AdvancedMarkerElement);\r\n }\r\n });\r\n\r\n createClusters(markersArray);\r\n setMarkers(markersArray);\r\n setMapZoom(markersArray);\r\n\r\n markersRef.current = markersArray;\r\n };\r\n\r\n /* Function that creates the pins clusters in order to avoid pins collision*/\r\n const createClusters = (markersArray) => {\r\n const myRenderer = {\r\n render: function ({ count, position }, stats) {\r\n const myCluster = new props.google.maps.Marker({\r\n position,\r\n icon: {\r\n url: `data:image/svg+xml;base64,${btoa(\r\n Cluster(colors.white, \"--DL-primary-color\")\r\n )}`,\r\n },\r\n label: {\r\n text:\r\n mapRef?.current?.getZoom() >\r\n props?.fields?.ZoomLevelForPinsCluster?.value\r\n ? String(count)\r\n : \" \",\r\n color: colors.primary,\r\n fontSize: \"24px\",\r\n fontWeight: \"bold\",\r\n },\r\n zIndex: Number(props?.google?.maps?.Marker?.MAX_ZINDEX) + count,\r\n });\r\n\r\n props?.google?.maps?.event?.addListener(myCluster, \"mouseover\", () => {\r\n const label = myCluster.getLabel();\r\n label.color = colors.white;\r\n\r\n myCluster.setIcon({\r\n url: `data:image/svg+xml;base64,${btoa(\r\n Cluster(\"--DL-primary-color\", \"--DL-primary-color\")\r\n )}`,\r\n });\r\n myCluster.setLabel(label);\r\n });\r\n\r\n props?.google?.maps?.event?.addListener(myCluster, \"mouseout\", () => {\r\n const label = myCluster.getLabel();\r\n label.color = colors.primary;\r\n\r\n myCluster.setIcon({\r\n url: `data:image/svg+xml;base64,${btoa(\r\n Cluster(colors.white, \"--DL-primary-color\")\r\n )}`,\r\n });\r\n myCluster.setLabel(label);\r\n });\r\n\r\n props?.google?.maps?.event?.addListener(myCluster, \"click\", () => {\r\n if (typeof window !== \"undefined\") {\r\n const locatorSearchEvent = (window as any).dataLayer.find(\r\n (event) => event.event === \"locator_search\"\r\n );\r\n\r\n const locatorSearchFilter = locatorSearchEvent\r\n ? locatorSearchEvent.filter\r\n : null;\r\n console.log(locatorSearchFilter);\r\n\r\n if (locatorSearchFilter) {\r\n track(locatorSearch, locatorSearchFilter);\r\n } else {\r\n track(locatorSearch, filtersGA4);\r\n }\r\n }\r\n });\r\n\r\n return myCluster;\r\n },\r\n };\r\n const myAlgorithm = new GridAlgorithm({ gridSize: 40 });\r\n const newClusterer = new MarkerClusterer({\r\n markers: markersArray,\r\n map: mapRef.current,\r\n renderer: myRenderer,\r\n algorithm: myAlgorithm,\r\n });\r\n\r\n setMarkersClusterer(newClusterer);\r\n };\r\n\r\n /* Function that remove both markers and clusters from the map. */\r\n const removeMarkers = () => {\r\n setMarkersClusterer((prevClusterer) => {\r\n prevClusterer !== \"undefined\" && prevClusterer !== null\r\n ? prevClusterer?.clearMarkers(false)\r\n : null;\r\n return prevClusterer;\r\n });\r\n\r\n setMarkers((prevMarkers) => {\r\n const array = [...prevMarkers];\r\n array.map((marker) => marker?.setMap(null));\r\n\r\n return array !== prevMarkers ? array : prevMarkers;\r\n });\r\n };\r\n\r\n /**\r\n * Function that changes the marker state by adding or removing a css class\r\n */\r\n const changeMarkerState = (index, addState) => {\r\n const svgPin: HTMLElement = markersRef?.current[index]?.content;\r\n addState\r\n ? svgPin?.classList?.add(\"hover-pin\")\r\n : svgPin?.classList?.remove(\"hover-pin\");\r\n };\r\n\r\n /* Function to change the active tab on the distance switch (km/mi). */\r\n const openSwitchTab = (event, tabName, unit) => {\r\n let tab;\r\n\r\n if (typeof document != \"undefined\")\r\n tab = document.getElementsByClassName(tabName);\r\n\r\n for (let i = 0; i < tab.length; i++) {\r\n tab[i].className = tab[i].className.replace(/active|active-fpt/g, \"\");\r\n }\r\n event.currentTarget.className += \" active\";\r\n setDistanceUnit(unit);\r\n distanceUnitRef.current = unit;\r\n };\r\n\r\n /* Function that opens the selected dealer sheet. */\r\n const openDealerSheet = (dealer, index, openSheetShort) => {\r\n setSelectedDealer(dealer);\r\n openSheetShort ? setDealerSheetShort(true) : setDealerSheetShort(false);\r\n setShowDealerSheet(true);\r\n\r\n //Before changing the state of the selected dealer's marker we have to reset the state of the others\r\n markersRef?.current?.map((marker, index) =>\r\n changeMarkerState(index, false)\r\n );\r\n changeMarkerState(index, true);\r\n };\r\n\r\n /* Function that closes the selected dealer sheet. */\r\n const closeDealerSheet = () => {\r\n setShowDealerSheet(false);\r\n setDealerSheetShort(false);\r\n setSelectedDealer(null);\r\n markersRef?.current?.map((marker, index) =>\r\n changeMarkerState(index, false)\r\n );\r\n };\r\n\r\n /* Function that opens the filters section. */\r\n const showFilters = () => {\r\n if (typeof document != \"undefined\")\r\n document.getElementById(\"filters\").style.display = \"block\";\r\n };\r\n\r\n /* Function that opens the dealer list on mobile version. */\r\n const showDealerList = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"dealerList\").style.display = \"flex\";\r\n document.getElementById(\"showListAndFilters\").style.display = \"none\";\r\n }\r\n setShowLegend(false);\r\n };\r\n\r\n /* Function that closes the dealer list on mobile version in order to display the map. */\r\n const showMap = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"dealerList\").style.display = \"none\";\r\n document.getElementById(\"showListAndFilters\").style.display = \"flex\";\r\n }\r\n setShowLegend(true);\r\n\r\n /* Here we recalculate the map's zoom if user has used the filters (even if it was already calculated\r\n * after the markers creation) beacuse on mobile devices the map is covered by the dealerList\r\n * and the fitBounds() doesn't work properly when the map is not visible.\r\n */\r\n if (\r\n filtersNumber > 0 ||\r\n (filtersNumber == 0 && filtersNumber !== filtersNumberRef?.current)\r\n ) {\r\n setMapZoom(markers);\r\n filtersNumberRef.current = filtersNumber;\r\n }\r\n };\r\n\r\n /* Function that returns the dealer activity. */\r\n const dealerActivity = (dealer) => {\r\n return dealer?.filterableFieldsDTO?.activity?.sales\r\n ? dealer?.filterableFieldsDTO?.activity?.service\r\n ? \"Sales and Service\"\r\n : \"Sales\"\r\n : \"Service\";\r\n };\r\n\r\n /**\r\n * Function that determines whether to add the thunderbolt icon to a pin of a dealer.\r\n * Only the Iveco Bus brand can have the thunderbolt icon.\r\n */\r\n const dealerHasThunderBolt = (dealer) => {\r\n const hasThunderbolt = brand.toLowerCase().includes(\"bus\")\r\n ? Object.keys(dealer?.filterableFieldsDTO?.eMobilityService).some(\r\n (range) => {\r\n return (\r\n dealer?.filterableFieldsDTO?.eMobilityService[range].BEV == true\r\n );\r\n }\r\n )\r\n : false;\r\n\r\n return hasThunderbolt;\r\n };\r\n\r\n const filtersNumberRef = useRef(0);\r\n\r\n /* Function that filters the dealers according to the filters selected by the user. */\r\n const filterDealers = (filters, filtersChecked) => {\r\n const normalizeKey = (key) => key.toLowerCase().replace(/[\\s_]/g, \"\");\r\n\r\n /* Function that checks the eMobility filters for only one category (Sales/Service) according to the range filters. */\r\n const checkEMobilityFiltersBySection = (\r\n dealer,\r\n filter,\r\n eMobilitySection\r\n ) => {\r\n const searchWithRange = Object.keys(filters.range).some(\r\n (range) => filters.range[range] == true\r\n );\r\n var result = false;\r\n var partialMatchingFilters = 0;\r\n var activeRangeFields = 0;\r\n\r\n if (searchWithRange) {\r\n Object.keys(filters.range).map((rangeField) => {\r\n if (filters.range[rangeField]) {\r\n const dealerEmobilityField = Object.keys(\r\n dealer?.filterableFieldsDTO[eMobilitySection]\r\n ).find((key) =>\r\n normalizeKey(key).includes(normalizeKey(rangeField))\r\n );\r\n\r\n result =\r\n filters.eMobility[filter] &&\r\n dealer?.filterableFieldsDTO[eMobilitySection][\r\n dealerEmobilityField\r\n ][filter] == true;\r\n partialMatchingFilters += result ? 1 : 0;\r\n activeRangeFields += 1;\r\n }\r\n });\r\n return partialMatchingFilters == activeRangeFields ? 1 : 0;\r\n } else {\r\n result = Object.keys(\r\n dealer?.filterableFieldsDTO[eMobilitySection]\r\n ).some((subcategory) => {\r\n return (\r\n filters.eMobility[filter] &&\r\n dealer?.filterableFieldsDTO[eMobilitySection][subcategory][\r\n filter\r\n ] == true\r\n );\r\n });\r\n return result == true ? 1 : 0;\r\n }\r\n };\r\n\r\n /* Function that checks all the eMobility filters */\r\n const checkEMobilityFilters = (dealer, filterCategory) => {\r\n var matchingFilters = 0;\r\n\r\n for (const filter in filters.eMobility) {\r\n const eMobilitySalesResults = checkEMobilityFiltersBySection(\r\n dealer,\r\n filter,\r\n \"eMobilitySales\"\r\n );\r\n const eMobilityServiceresults = checkEMobilityFiltersBySection(\r\n dealer,\r\n filter,\r\n \"eMobilityService\"\r\n );\r\n\r\n if (filters.activity.Sale && filters.activity.Service)\r\n matchingFilters +=\r\n eMobilitySalesResults == 1 && eMobilityServiceresults == 1 ? 1 : 0;\r\n else if (filters.activity.Sales)\r\n matchingFilters += eMobilitySalesResults;\r\n else if (filters.activity.Service)\r\n matchingFilters += eMobilityServiceresults;\r\n else\r\n matchingFilters +=\r\n eMobilitySalesResults == 1 || eMobilityServiceresults == 1 ? 1 : 0;\r\n }\r\n return matchingFilters;\r\n };\r\n\r\n /* Function that checks the range filters */\r\n const checkRangeFilters = (dealer, filterCategory) => {\r\n var matchingFilters = 0;\r\n for (const filter in filters[filterCategory]) {\r\n var formattedFilter = \"\";\r\n\r\n formattedFilter = Object.keys(\r\n dealer?.filterableFieldsDTO.rangeSales\r\n ).find((key) => normalizeKey(key).includes(normalizeKey(filter)));\r\n matchingFilters +=\r\n dealer?.filterableFieldsDTO?.rangeSales[formattedFilter] != null\r\n ? filters[filterCategory][filter] &&\r\n dealer?.filterableFieldsDTO?.rangeSales[formattedFilter] == true\r\n ? 1\r\n : 0\r\n : filters[filterCategory][filter] &&\r\n dealer?.filterableFieldsDTO?.rangeServices[formattedFilter] ==\r\n true\r\n ? 1\r\n : 0;\r\n }\r\n return matchingFilters;\r\n };\r\n\r\n /**\r\n * The range and eMobility filters are checked differently from the other because\r\n * they are divided into Sales and Service categories\r\n */\r\n const filteredDealers = searchResultsCache.filter((dealer) => {\r\n var matchingFilters = 0;\r\n for (const filterCategory in filters) {\r\n if (filterCategory.startsWith(\"eMobility\"))\r\n matchingFilters += checkEMobilityFilters(dealer, filterCategory);\r\n else if (filterCategory.startsWith(\"range\"))\r\n matchingFilters += checkRangeFilters(dealer, filterCategory);\r\n else {\r\n const categoryInDTO = Object.keys(dealer?.filterableFieldsDTO).find(\r\n (key) => key.includes(filterCategory)\r\n );\r\n\r\n if (categoryInDTO) {\r\n for (const subcategory in filters[filterCategory]) {\r\n const formattedFilter = Object.keys(\r\n dealer?.filterableFieldsDTO[categoryInDTO]\r\n ).find((key) =>\r\n normalizeKey(key).includes(normalizeKey(subcategory))\r\n );\r\n matchingFilters +=\r\n filters[filterCategory][subcategory] &&\r\n dealer?.filterableFieldsDTO[categoryInDTO][formattedFilter] ==\r\n true\r\n ? 1\r\n : 0;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return matchingFilters == filtersChecked ? true : false;\r\n });\r\n filteredDealers.length == 0 ? setShowDistanceSwitch(false) : null;\r\n setFiltersNumber(filtersChecked);\r\n setSearchResults(filteredDealers);\r\n createMarkers(filteredDealers);\r\n };\r\n\r\n /* Function that resets all filters and the displayed data (dealer list and pins on the map).*/\r\n const clearFilters = () => {\r\n setSearchResults(searchResultsCache);\r\n createMarkers(searchResultsCache);\r\n setShowDistanceSwitch(true);\r\n setFiltersNumber(0);\r\n };\r\n\r\n /* Functional component that shows the essential infromation of a dealer inside the dealer list. */\r\n const DealerListItem = ({ dealer, index }) => {\r\n /**\r\n * Function that calculates the map bounds in order to include\r\n * the pin corresponding to the dealer list item when hovered.\r\n */\r\n const changeMapBounds = () => {\r\n const currentBounds = mapRef?.current?.getBounds();\r\n const newBounds = new props.google.maps.LatLngBounds();\r\n const mapZoom = mapRef?.current?.getZoom();\r\n\r\n newBounds.extend({ lat: dealer.latitude, lng: dealer.longitude });\r\n\r\n if (currentBounds) {\r\n currentBounds.union(newBounds);\r\n mapRef?.current?.fitBounds(currentBounds, { animate: false });\r\n } else mapRef?.current?.fitBounds(newBounds, { animate: false });\r\n\r\n if (deviceType == \"mobile\") {\r\n const newZoom = Math.max(mapRef?.current?.getZoom(), mapZoom);\r\n mapRef?.current?.setZoom(newZoom);\r\n }\r\n };\r\n\r\n const onMouseEnter = (index) => {\r\n if (CheckDeviceType() !== \"mobile\") changeMarkerState(index, true);\r\n changeMapBounds();\r\n };\r\n\r\n const onMouseLeave = (index) => {\r\n changeMarkerState(index, false);\r\n };\r\n\r\n return (\r\n onMouseEnter(index)}\r\n onMouseLeave={() => onMouseLeave(index)}\r\n >\r\n openDealerSheet(dealer, index, false)}\r\n >\r\n \r\n \r\n \r\n {distanceUnit == \"km\"\r\n ? dealer?.distanceKmText\r\n : dealer?.distanceMiText}\r\n \r\n \r\n \r\n {dealer?.outletFullName}\r\n \r\n {`${dealer?.physicalAddrStreet}, ${dealer?.physicalAddrPostalCode} - ${dealer?.physicalAddrCity}`}\r\n \r\n {dealer?.mainPhone}\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n );\r\n };\r\n\r\n /* Function that displays a toast message on the screen. */\r\n const showToast = () => {\r\n if (typeof document != \"undefined\") {\r\n const toast = document.getElementById(\"toastContainer\");\r\n\r\n if (deviceType == \"mobile\") {\r\n toast.style.zIndex = \"999\";\r\n toast.style.bottom =\r\n brand !== \"FPT\"\r\n ? -document.querySelector(\"footer\").offsetHeight + \"px\"\r\n : 0 + \"px\";\r\n } else toast.style.bottom = 0 + \"px\";\r\n\r\n toast.style.display = \"flex\";\r\n setTimeout(() => {\r\n document.getElementById(\"toastContainer\").style.display = \"none\";\r\n }, 2000);\r\n }\r\n };\r\n\r\n /* Popup component that is used to let the user to choose if he wants to use his location in order to trigger a search. */\r\n const LocationPopup = () => {\r\n return (\r\n
\r\n \r\n {userLocation !== null ? t(\"DLSharePermission\") : t(\"DLNoPermission\")}\r\n \r\n
\r\n {userLocation !== null ? (\r\n \r\n ) : null}\r\n searchWithUserLocation(userLocation)\r\n : closeLocationPopup\r\n }\r\n >\r\n {t(\"DLFine\")}\r\n \r\n
\r\n
\r\n );\r\n };\r\n\r\n const openLocationPopup = () => {\r\n if (typeof document != \"undefined\" && typeof window !== \"undefined\") {\r\n const popup = document.getElementById(\"locationPopup\");\r\n\r\n brand == \"FPT\"\r\n ? (popup.style.height =\r\n window.innerHeight -\r\n document.querySelector(\"header\").offsetHeight +\r\n \"px\")\r\n : null;\r\n popup.style.display = \"flex\";\r\n }\r\n };\r\n\r\n const closeLocationPopup = () => {\r\n if (typeof document != \"undefined\") {\r\n document.getElementById(\"locationPopup\").style.display = \"none\";\r\n userLocationPermission ? clearInputSearch() : null;\r\n }\r\n setUserLocationPermission(false);\r\n };\r\n\r\n /* Card Component to display a generic image and a message. */\r\n const ImageCard = (image, descriptionKey, filters = false) => {\r\n return (\r\n
\r\n \r\n \r\n {t(descriptionKey)}\r\n
\r\n \r\n );\r\n };\r\n\r\n return (\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n {loadSearchResults ? (\r\n \r\n
\r\n
\r\n ) : showLensIcon ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
\r\n\r\n {props?.fields?.ShowInitialImage?.value &&\r\n deviceType != \"mobile\" &&\r\n !noResults &&\r\n !errorMessage &&\r\n searchResultsCache.length == 0\r\n ? ImageCard(props?.fields?.Image?.value, \"DLDescription\")\r\n : null}\r\n\r\n {errorMessage && deviceType != \"mobile\" ? (\r\n \r\n {t(\"DLError\")}\r\n \r\n ) : null}\r\n\r\n {!noResults && searchResultsCache.length > 0 ? (\r\n \r\n
\r\n {deviceType == \"mobile\" ? (\r\n \r\n \r\n {t(\"DLViewMap\")}\r\n
\r\n ) : null}\r\n\r\n \r\n {filtersNumber > 0 ? (\r\n <>\r\n \r\n {t(\"DLShowFilters\")}\r\n \r\n {filtersNumber}\r\n \r\n ) : (\r\n <>\r\n \r\n {t(\"DLFilter\")}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n\r\n {searchResultsCache.length > 0 && searchResults.length == 0 ? (\r\n ImageCard(\r\n props?.fields?.NoMatchesFoundImage?.value,\r\n \"DLNoMatchesFound\",\r\n true\r\n )\r\n ) : (\r\n \r\n {t(\"DLResultsFound\") + \" \" + searchResults?.length}\r\n {props?.fields?.EnableDistanceUnitSwitch?.value &&\r\n showDistanceSwitch ? (\r\n \r\n openSwitchTab(event, \"tab\", \"km\")}\r\n >\r\n Km\r\n \r\n /\r\n openSwitchTab(event, \"tab\", \"mi\")}\r\n >\r\n Mi\r\n \r\n \r\n ) : null}\r\n \r\n )}\r\n\r\n {searchResults.map((item, i) => {\r\n return ;\r\n })}\r\n \r\n ) : null}\r\n\r\n \r\n \r\n \r\n\r\n {noResults\r\n ? ImageCard(props?.fields?.NoMatchesFoundImage?.value, \"DLNoResults\")\r\n : null}\r\n \r\n
\r\n {loadedMap ? (\r\n <>\r\n {deviceType !== \"mobile\" && props?.fields?.ShowBrandLogo?.value ? (\r\n \r\n !props?.fields?.BrandLogoLink?.value?.href\r\n ? e.preventDefault()\r\n : null\r\n }\r\n >\r\n {props?.fields?.BrandLogo?.value?.svgCode ? (\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\n {showSearchThisAreaButton && searchResults?.length > 0 ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n\r\n
\r\n
\r\n\r\n {showLegend && !dealerSheetShort ? (\r\n
\r\n {props?.fields?.DS_Activity?.map((item, i) => {\r\n return (\r\n <>\r\n
\r\n \r\n
\r\n \r\n {item?.fields?.Label?.value\r\n ? item?.fields?.Label?.value\r\n : item?.fields?.Text?.value}\r\n \r\n \r\n );\r\n })}\r\n
\r\n ) : null}\r\n\r\n {deviceType == \"mobile\" &&\r\n !noResults &&\r\n searchResultsCache.length > 0 &&\r\n !dealerSheetShort ? (\r\n \r\n
\r\n \r\n {t(\"DLViewListAndFilter\")}\r\n
\r\n \r\n ) : null}\r\n\r\n {showDealerSheet ? (\r\n
\r\n \r\n
\r\n ) : null}\r\n\r\n {props?.fields?.ShowInitialImageOnMobile?.value &&\r\n deviceType == \"mobile\" &&\r\n !noResults &&\r\n !errorMessage &&\r\n searchResultsCache.length == 0\r\n ? ImageCard(props?.fields?.Image?.value, \"DLDescription\")\r\n : null}\r\n\r\n {noResults && deviceType == \"mobile\"\r\n ? ImageCard(props?.fields?.NoMatchesFoundImage?.value, \"DLNoResults\")\r\n : null}\r\n\r\n {errorMessage && deviceType == \"mobile\" ? (\r\n \r\n {t(\"DLError\")}\r\n \r\n ) : null}\r\n\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n {t(\"DLShareToastMessage\")}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport class MapContainer extends React.Component {}\r\n\r\nconst GoogleMapWithWrapper = (props) => {\r\n const MapComponent = GoogleApiWrapper((innerProps) => ({\r\n apiKey: \"AIzaSyBnBI4mjwaaJvfEoPpVKTjouuey708_x50\",\r\n language: innerProps?.sitecoreContext?.language || \"en\",\r\n }))(DealerLocatrModule);\r\n\r\n return ;\r\n};\r\n\r\nexport default withSitecoreContext()(GoogleMapWithWrapper);\r\n","import * as React from \"react\";\r\nimport { useRef } from \"react\";\r\nimport {\r\n RichText,\r\n Text,\r\n withSitecoreContext,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { GenerateIdForGA } from \"../../types/helpers\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport { Image, Link } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from \"../../utils/svgImage\";\r\n\r\n\r\nfunction TextOrImage(prop) {\r\n const p = prop.innerProp;\r\n const i = prop.propKey;\r\n const id = prop.id;\r\n if (p.Icon) {\r\n return (\r\n
  • \r\n \r\n \r\n \r\n
  • \r\n );\r\n } else if (p.Link && !p.Icon) {\r\n if (\r\n p.Link.value &&\r\n p.Link.value.linktype &&\r\n p.Link.value.linktype == \"external\"\r\n ) {\r\n return (\r\n
  • \r\n \r\n {p.Link.value.text}\r\n \r\n \r\n \r\n \r\n \r\n
  • \r\n );\r\n } else {\r\n return (\r\n
  • \r\n \r\n {p.Link.value.text}\r\n \r\n
  • \r\n );\r\n }\r\n }\r\n}\r\n\r\nconst FooterModule = (props) => {\r\n const { useState, useEffect, useRef } = React;\r\n const footerRef = useRef(null);\r\n\r\n \r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n\r\n useEffect(() => {\r\n const accordion = footerRef?.current?.querySelectorAll(\".accordion-toggle\");\r\n accordion?.forEach((element) => {\r\n element.addEventListener(\"click\", function () {\r\n element.classList.toggle(\"active\");\r\n });\r\n });\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n }, []);\r\n\r\n return (\r\n <>\r\n
    \r\n {props?.fields?.[\"Logo Mobile\"]?.value?.src || props?.fields?.Logo?.value?.src ? \r\n \r\n :\r\n \"\"\r\n }\r\n {props?.fields[\"Top Links\"]?.fields?.Links?.length > 0 ? (\r\n
    \r\n
      \r\n {props?.fields[\"Top Links\"]?.fields?.Links?.map((tl, i) => {\r\n return (\r\n
    • \r\n \r\n {tl?.fields?.Link?.value?.class == 'thirdcharactercolored' ?\r\n <>\r\n {tl?.fields?.Link?.value?.text.substring(0,2)}\r\n {tl?.fields?.Link?.value?.text[2]}\r\n {tl?.fields?.Link?.value?.text.substring(3, tl?.fields?.Link?.value?.text.length)}\r\n \r\n :\r\n tl?.fields?.Link?.value?.text\r\n }\r\n \r\n
    • \r\n );\r\n })}\r\n
    \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n {props?.fields?.Columns?.map((el, i) => {\r\n return (\r\n
    \r\n
    \r\n \r\n {el?.fields?.Title?.value}\r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n
      \r\n {el?.fields?.Links?.map((l, y) => {\r\n return (\r\n \r\n );\r\n })}\r\n
    \r\n
    \r\n {i == props?.fields?.Columns.length - 1 ? (\r\n
    \r\n \r\n {props?.fields?.Buttons?.fields?.Title?.value}\r\n
    \r\n \r\n
    \r\n ) : (\r\n
    \r\n )}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n {props?.fields[\"Sub Links\"]?.fields?.Links?.length > 0 ? (\r\n
    \r\n
      \r\n {props?.fields[\"Sub Links\"]?.fields?.Links?.map((sl, i) => {\r\n return (\r\n <>\r\n {!sl?.fields?.[\"isCookieButton\"] ||\r\n sl?.fields?.[\"isCookieButton\"]?.value == false ? (\r\n
    • \r\n \r\n {sl?.fields?.Link?.value?.text}\r\n \r\n
    • \r\n ) : (\r\n
    • \r\n \r\n {sl?.fields?.Link?.value?.text}\r\n \r\n
    • \r\n )}\r\n \r\n );\r\n })}\r\n
    \r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n {props?.fields[\"Bottom Links\"]?.fields?.Links?.length > 0 ? (\r\n \r\n
      \r\n
    • \r\n \r\n
    • \r\n {props?.fields[\"Bottom Links\"]?.fields?.Links?.map((bl, i) => {\r\n return (\r\n <>\r\n {!bl?.fields?.[\"isCookieButton\"] ||\r\n bl?.fields?.[\"isCookieButton\"]?.value == false ? (\r\n
    • \r\n \r\n {bl?.fields?.Link?.value?.text}\r\n \r\n
    • \r\n ) : (\r\n
    • \r\n \r\n {bl?.fields?.Link?.value?.text}\r\n \r\n
    • \r\n )}\r\n \r\n );\r\n })}\r\n
    \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(FooterModule);\r\n","import React, {\r\n createRef,\r\n useCallback,\r\n useEffect,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n Placeholder,\r\n Image,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { getCookieValue, getExpiryDate } from \"../../utils/window.utils\";\r\nimport \"./contact-us.scss\";\r\nimport \"./newsletter.scss\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport ReactDOM from \"react-dom\";\r\nimport { setDefaultLocale } from \"react-datepicker\";\r\n\r\nconst FormContainerModule = (props) => {\r\n const formRef = useRef(null);\r\n const legalPolicies = props?.fields?.FormDescriptor?.Policies;\r\n const btnText = props?.fields?.FormDescriptor?.Submit_button;\r\n const version = props?.fields?.FormDescriptor?.Version;\r\n const theme = [props?.fields?.Theme];\r\n\r\n const [forcehide, setForceHide] = useState(\r\n props?.rendering?.fields?.forcehide &&\r\n props?.rendering?.fields?.forcehide == \"true\"\r\n ? true\r\n : false\r\n );\r\n\r\n const history = useHistory();\r\n\r\n const collapsedImg = `\r\n \r\n \r\n \r\n `;\r\n const expandedImg = `\r\n \r\n \r\n \r\n `;\r\n\r\n useEffect(() => {\r\n if (typeof document != \"undefined\") {\r\n const spinner = document.getElementById(\"spinnerForm\");\r\n if (spinner) {\r\n spinner.style.display = \"block\";\r\n }\r\n\t \r\n\t \r\n\t \r\n let htmlLabels = document\r\n .querySelectorAll(\".form_html_label\")\r\n .forEach(function (label: HTMLInputElement) {\r\n label.innerHTML = label.innerText;\r\n });\r\n }\r\n const timer = setInterval(() => {\r\n if (\r\n (formRef?.current?.querySelectorAll(\".privacy_section\") != undefined &&\r\n formRef?.current?.querySelectorAll(\".privacy_section\").length > 0) ||\r\n (typeof document != \"undefined\" &&\r\n document.querySelector(\".form_poland_gdpr_section\")) ||\r\n (typeof document != \"undefined\" &&\r\n document.querySelector(\".formTurkey\"))\r\n ) {\r\n if (timer) {\r\n clearInterval(timer);\r\n }\r\n replaceLabels();\r\n } else {\r\n if (\r\n typeof document != \"undefined\" &&\r\n document.getElementById(\"spinnerForm\")\r\n ) {\r\n document.getElementById(\"spinnerForm\").style.display = \"none\";\r\n }\r\n }\r\n }, 100);\r\n\t\r\n\t\r\n\r\n const loginFormPromo = document.querySelector(\".loginFormPromo form\");\r\n const loginFormInputs = loginFormPromo?.querySelectorAll(\"input\");\r\n const loginFormPromoButton = loginFormPromo?.querySelector(\"button\");\r\n\r\n const checkInputsValid = () => {\r\n if (\r\n loginFormInputs != null &&\r\n loginFormInputs != undefined &&\r\n loginFormPromoButton != null &&\r\n loginFormPromoButton != undefined\r\n ) {\r\n loginFormInputs?.forEach((input) => {\r\n if (input.value === \"\") {\r\n loginFormPromoButton.disabled = true;\r\n loginFormPromoButton.classList.add(\"disabled\");\r\n } else {\r\n loginFormPromoButton.disabled = false;\r\n loginFormPromoButton.classList.remove(\"disabled\");\r\n }\r\n });\r\n }\r\n };\r\n if (\r\n loginFormInputs != null &&\r\n loginFormInputs != undefined &&\r\n loginFormPromoButton != null &&\r\n loginFormPromoButton != undefined\r\n ) {\r\n loginFormInputs.forEach((input) => {\r\n input.addEventListener(\"keyup\", checkInputsValid);\r\n });\r\n }\r\n\r\n checkInputsValid();\r\n\r\n if (\r\n loginFormInputs != null &&\r\n loginFormInputs != undefined &&\r\n loginFormPromoButton != null &&\r\n loginFormPromoButton != undefined\r\n ) {\r\n return () => {\r\n loginFormInputs.forEach((input) => {\r\n input.removeEventListener(\"input\", checkInputsValid);\r\n });\r\n };\r\n }\r\n }, []);\r\n const typeOfForm = props?.fields?.[\"Form type\"]?.fields?.Text?.value\r\n ? props?.fields?.[\"Form type\"]?.fields?.Text?.value\r\n : \"\";\r\n const isExpEditorEnabled = props.sitecoreContext.pageEditing;\r\n\r\n let thereIsForm = false;\r\n\r\n props?.rendering?.placeholders?.[\"jss-form\"]?.forEach((element) => {\r\n if (element.componentName == \"FormModule\") {\r\n thereIsForm = true;\r\n }\r\n });\r\n\r\n let languageSelected = \"\";\r\n\r\n if (typeof document !== \"undefined\") {\r\n languageSelected = getCookieValue(\"ivgcorporate#langform\");\r\n const selectElement = document.querySelector(\".formlanguagesreload\");\r\n if (selectElement !== null) {\r\n const currentPath = history?.location?.pathname;\r\n const prevLang = getCookieValue(\"ivgcorporate#langform\");\r\n const letsChange = (event) => {\r\n const selected = event.target.value;\r\n document.cookie = `ivgcorporate#langform=${selected}`;\r\n if (prevLang !== selected && selected != \"\" && selected != undefined) {\r\n window.location.reload();\r\n }\r\n };\r\n selectElement.addEventListener(\"change\", letsChange);\r\n }\r\n }\r\n\r\n const internalGenerateIdForGA = (\r\n componentName: string,\r\n action: string\r\n ): string => {\r\n let returnValue;\r\n let currentSite = \"\";\r\n let currentPage = \"\";\r\n let __JSS_STATE__ = null;\r\n if (typeof document != \"undefined\") {\r\n const ssrRawJson = document.getElementById(\"__JSS_STATE__\");\r\n if (ssrRawJson) {\r\n __JSS_STATE__ = JSON.parse(ssrRawJson.innerHTML);\r\n }\r\n if (__JSS_STATE__ && __JSS_STATE__.sitecore) {\r\n if (\r\n __JSS_STATE__.sitecore.context &&\r\n __JSS_STATE__.sitecore.context.site &&\r\n __JSS_STATE__.sitecore.context.site.name\r\n ) {\r\n currentSite = __JSS_STATE__.sitecore.context.site.name;\r\n }\r\n if (__JSS_STATE__.sitecore.route && __JSS_STATE__.sitecore.route.name) {\r\n currentPage = __JSS_STATE__.sitecore.route.name;\r\n }\r\n }\r\n }\r\n\r\n if (currentSite == \"\") {\r\n currentSite = \"notAvailableSite\";\r\n }\r\n if (currentPage == \"\") {\r\n currentPage = \"notAvailablePage\";\r\n }\r\n if (componentName == undefined || componentName == \"\") {\r\n componentName = \"notAvailableComponentName\";\r\n }\r\n if (action == undefined || action == \"\") {\r\n action = \"notAvailableAction\";\r\n }\r\n returnValue =\r\n `${currentSite}_${currentPage}_${componentName}_${action}`.replace(\r\n / /g,\r\n \"\"\r\n );\r\n return returnValue;\r\n };\r\n\r\n function addCheckErrorFEPoland() {\r\n if (typeof document != \"undefined\") {\r\n const element = formRef?.current;\r\n\r\n // hide all errors before test for new ones\r\n element\r\n .querySelector(\"form_poland_accordion_title privacy_section\")\r\n ?.querySelectorAll(\".sitecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.add(\"hideSection\");\r\n });\r\n\r\n // actual logic : validate some cases before submit\r\n element.addEventListener(\"submit\", function (e) {\r\n checkErrorFEPoland();\r\n });\r\n }\r\n }\r\n\r\n function addCheckErrorFEBrazil() {\r\n // first check if once already checked\r\n\r\n if (typeof document != \"undefined\") {\r\n const element = formRef?.current;\r\n\r\n // actual logic : validate some cases before submit\r\n element.addEventListener(\"submit\", function (e) {\r\n checkErrorFEBrazil();\r\n });\r\n }\r\n }\r\n\r\n function addCheckErrorFETurkey() {\r\n if (typeof document != \"undefined\") {\r\n const element = formRef?.current;\r\n formRef?.current\r\n .querySelectorAll(\"input[type=checkbox]\")\r\n .forEach(function (checkbox: HTMLInputElement) {\r\n checkbox.addEventListener(\"change\", function (event) {\r\n checkErrorFETurkey(false);\r\n });\r\n });\r\n // actual logic : validate some cases before submit\r\n element.addEventListener(\"submit\", function (e) {\r\n checkErrorFETurkey(true);\r\n });\r\n }\r\n }\r\n\r\n function checkErrorFETurkey(isSubmit) {\r\n if (typeof document != \"undefined\") {\r\n const element = formRef?.current;\r\n\r\n // element.action = element.action.replace(\"errorCheckFE\",\"\");\r\n const checkErrorFE = formRef?.current.querySelector(\r\n \".errorCheckFE\"\r\n ) as HTMLInputElement;\r\n\r\n // CHECKBOX STARTS CHECKED\r\n\r\n if (checkErrorFE) {\r\n if (!checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n let block = false;\r\n\r\n let privacySection = element.querySelector(\".privacyTurkey\");\r\n let content = privacySection.querySelectorAll(\"fieldset\")[2];\r\n const privacyCheckboxes =\r\n privacySection.querySelectorAll(\"fieldset > label\");\r\n\r\n privacyCheckboxes.forEach((labelCheck) => {\r\n const checkbox = labelCheck.childNodes[0];\r\n const label = labelCheck.parentElement.querySelector(\"span\");\r\n\r\n if (\r\n checkbox.classList.contains(\"mandatory_checkbox\") &&\r\n checkbox.checked == false\r\n ) {\r\n label.classList.add(\"red\");\r\n block = true;\r\n } else {\r\n label.classList.remove(\"red\");\r\n }\r\n });\r\n\r\n privacyCheckboxes[2].parentElement\r\n .querySelector(\"span\")\r\n .classList.remove(\"red\");\r\n privacyCheckboxes[3].parentElement\r\n .querySelector(\"span\")\r\n .classList.remove(\"red\");\r\n privacyCheckboxes[4].parentElement\r\n .querySelector(\"span\")\r\n .classList.remove(\"red\");\r\n privacyCheckboxes[5].parentElement\r\n .querySelector(\"span\")\r\n .classList.remove(\"red\");\r\n\r\n if (\r\n privacyCheckboxes[1].childNodes[0].checked &&\r\n privacyCheckboxes[2].childNodes[0].checked == false &&\r\n privacyCheckboxes[3].childNodes[0].checked == false &&\r\n privacyCheckboxes[4].childNodes[0].checked == false\r\n ) {\r\n privacyCheckboxes[2].parentElement\r\n .querySelector(\"span\")\r\n .classList.add(\"red\");\r\n privacyCheckboxes[3].parentElement\r\n .querySelector(\"span\")\r\n .classList.add(\"red\");\r\n privacyCheckboxes[4].parentElement\r\n .querySelector(\"span\")\r\n .classList.add(\"red\");\r\n privacyCheckboxes[5].parentElement\r\n .querySelector(\"span\")\r\n .classList.add(\"red\");\r\n // console.log(\"ONE CHANNEL SELECTED BUT NONE OF THE OPTIONS ABOVE\");\r\n block = true;\r\n } else {\r\n // uncheck all channels\r\n if (privacyCheckboxes[1].childNodes[0].checked == false) {\r\n if (privacyCheckboxes[2].childNodes[0].checked == true)\r\n privacyCheckboxes[2].childNodes[0].click();\r\n if (privacyCheckboxes[3].childNodes[0].checked == true)\r\n privacyCheckboxes[3].childNodes[0].click();\r\n if (privacyCheckboxes[4].childNodes[0].checked == true)\r\n privacyCheckboxes[4].childNodes[0].click();\r\n if (privacyCheckboxes[5].childNodes[0].checked == true)\r\n privacyCheckboxes[5].childNodes[0].click();\r\n }\r\n }\r\n\r\n if (block == true && checkErrorFE) {\r\n // CHECKBOX MUST BE UNCHECKED\r\n if (checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n }\r\n }\r\n\r\n function checkErrorFEPoland() {\r\n if (typeof document != \"undefined\") {\r\n // e.preventDefault(); // Prevents form from submitting\r\n\r\n // let checkMandatory = document.querySelector(\".mandatoryCheckParent\");\r\n\r\n let accordion = formRef?.current.querySelector(\r\n \".form_poland_accordion_content_section\"\r\n );\r\n let labels = accordion.querySelectorAll(\"label\");\r\n let firstInput = labels[0].querySelector(\"input\");\r\n let secondInput = labels[1].querySelector(\"input\");\r\n\r\n // element.action = element.action.replace(\"errorCheckFE\",\"\");\r\n const checkErrorFE = formRef?.current.querySelector(\r\n \".errorCheckFE\"\r\n ) as HTMLInputElement;\r\n\r\n // CHECKBOX STARTS CHECKED\r\n\r\n if (checkErrorFE) {\r\n if (!checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n\r\n let block = false;\r\n\r\n // IF MANDATORY CHECK NOT CHECKED\r\n\r\n let mandatoryCheckbox = formRef?.current.querySelector(\r\n \".form_poland_privacy_notice_cb\"\r\n ) as HTMLInputElement;\r\n\r\n if (mandatoryCheckbox && mandatoryCheckbox.checked == false) {\r\n let element = formRef?.current.querySelector(\r\n \".form_poland_privacy_notice_cb\"\r\n ).parentNode.parentNode as HTMLElement;\r\n element.classList.add(\"red\");\r\n element = formRef?.current\r\n .querySelector(\".form_poland_privacy_notice_cb\")\r\n .parentNode.parentNode.querySelector(\".labelPoland\")\r\n .querySelector(\"a\") as HTMLElement;\r\n element.classList.add(\"red\");\r\n block = true;\r\n } else {\r\n let element = formRef?.current.querySelector(\r\n \".form_poland_privacy_notice_cb\"\r\n ).parentNode.parentNode as HTMLElement;\r\n element.classList.remove(\"red\");\r\n element = formRef?.current\r\n .querySelector(\".form_poland_privacy_notice_cb\")\r\n .parentNode.parentNode.querySelector(\".labelPoland\")\r\n .querySelector(\"a\") as HTMLElement;\r\n element.classList.remove(\"red\");\r\n }\r\n\r\n labels.forEach((label) => {\r\n label.classList.remove(\".invalid\");\r\n });\r\n\r\n accordion\r\n .querySelector(\".form_poland_contact_by_section\")\r\n .querySelector(\".sitecore-jss-form__error-list\")\r\n .classList.add(\"hideSection\");\r\n accordion\r\n .querySelector(\".sitecore-jss-form__error-list\")\r\n .classList.add(\"hideSection\");\r\n\r\n // ONE OF THE FIRST TWO CHECKED\r\n if (firstInput.checked || secondInput.checked) {\r\n // NO CHANNELS CHECKED\r\n if (\r\n !labels[2].querySelector(\"input\").checked &&\r\n !labels[3].querySelector(\"input\").checked &&\r\n !labels[4].querySelector(\"input\").checked\r\n ) {\r\n // console.log(\"ONE OF THE FIRST TWO CHCKED\");\r\n block = true;\r\n labels[2].querySelector(\"input\").classList.add(\".invalid\");\r\n labels[3].querySelector(\"input\").classList.add(\".invalid\");\r\n labels[4].querySelector(\"input\").classList.add(\".invalid\");\r\n accordion\r\n .querySelector(\".form_poland_contact_by_section\")\r\n .querySelector(\".sitecore-jss-form__error-list\")\r\n .classList.remove(\"hideSection\");\r\n }\r\n }\r\n // ONE CHANNEL SELECTED BUT NONE OF THE OPTIONS ABOVE\r\n if (\r\n (labels[2].querySelector(\"input\").checked ||\r\n labels[3].querySelector(\"input\").checked ||\r\n labels[4].querySelector(\"input\").checked) &&\r\n !firstInput.checked &&\r\n !secondInput.checked\r\n ) {\r\n // console.log(\"ONE CHANNEL SELECTED BUT NONE OF THE OPTIONS ABOVE\");\r\n block = true;\r\n accordion\r\n .querySelector(\".sitecore-jss-form__error-list\")\r\n .classList.remove(\"hideSection\");\r\n }\r\n\r\n if (block == true && checkErrorFE) {\r\n // CHECKBOX MUST BE UNCHECKED\r\n if (checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n }\r\n }\r\n\r\n function checkErrorFEBrazil() {\r\n if (typeof document !== \"undefined\") {\r\n const checkErrorFE = formRef?.current.querySelector(\r\n \".errorCheckFE\"\r\n ) as HTMLInputElement;\r\n\r\n // CHECKBOX STARTS CHECKED\r\n\r\n if (checkErrorFE) {\r\n if (!checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n\r\n let block = false;\r\n let localBlock = false;\r\n\r\n let brazilForm = document.querySelector(\".formBrazil\");\r\n\r\n /* Input field 1 - Natural Persons Register or Registry of Legal Entities (mandatory) -> When leaving focus on it without entering a valid code, \r\n a control is performed with error message in a lightbox if not correct. Entering the digits, automatically are grouped in the correct format [NNN.NNN.NNN/NNN-NN]. \r\n The field accepts numbers only*/\r\n let inputs = brazilForm.querySelectorAll(\"input\") as any;\r\n\r\n //select all brazil form inputs\r\n inputs.forEach((target) => {\r\n if (target.checkFormat) {\r\n let localBlock = false;\r\n const checkFormat = target.checkFormat;\r\n const elementValue = target.value;\r\n\r\n // hide all errors before test for new ones\r\n target.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.add(\"hideSection\");\r\n });\r\n\r\n target.parentElement.classList.remove(\"success-input\");\r\n target.parentElement.classList.remove(\"error-input\");\r\n\r\n if (\r\n elementValue.length > 0 &&\r\n elementValue.length !== checkFormat.length\r\n ) {\r\n target.parentElement.classList.add(\"error-input\");\r\n target.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.remove(\"hideSection\");\r\n });\r\n localBlock = true;\r\n block = true; // Se le stringhe hanno lunghezze diverse, restituisci false\r\n } else {\r\n for (let i = 0; i < elementValue.length; i++) {\r\n // Controlla se il carattere è 'N' e se non corrisponde a un carattere numerico\r\n if (checkFormat[i] === \"N\" && isNaN(parseInt(elementValue[i]))) {\r\n target.parentElement.classList.add(\"error-input\");\r\n target.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.remove(\"hideSection\");\r\n });\r\n localBlock = true;\r\n block = true;\r\n } else if (\r\n checkFormat[i] !== \"N\" &&\r\n elementValue[i] !== checkFormat[i]\r\n ) {\r\n target.parentElement.classList.add(\"error-input\");\r\n target.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.remove(\"hideSection\");\r\n });\r\n localBlock = true;\r\n block = true;\r\n }\r\n }\r\n }\r\n if (localBlock) {\r\n console.log(localBlock, block);\r\n } else {\r\n target.parentElement.classList.add(\"success-input\");\r\n }\r\n }\r\n });\r\n\r\n let citySelect = brazilForm.querySelectorAll(\"select\") as any;\r\n\r\n citySelect.forEach((select) => {\r\n if (\r\n select.parentElement.style.display == \"block\" &&\r\n select.id != citySelect[0].id &&\r\n select.id != citySelect[citySelect.length - 1].id &&\r\n select.id != citySelect[citySelect.length - 2].id &&\r\n citySelect[0].value != \"\"\r\n ) {\r\n // console.log(\"citySelect\", select, select.value, select.parentElement.style.display);\r\n\r\n select.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.add(\"hideSection\");\r\n e.parentElement.classList.remove(\"success-input\");\r\n });\r\n if (select.value == \"none\" || select.value == \"\") {\r\n block = true;\r\n\r\n select.parentElement\r\n ?.querySelectorAll(\".itecore-jss-form__error-list\")\r\n .forEach((e) => {\r\n e.classList.remove(\"hideSection\");\r\n });\r\n } else {\r\n select.parentElement.classList.add(\"success-input\");\r\n }\r\n }\r\n });\r\n\r\n if (block) {\r\n // alert(checkFormat);\r\n // hide all errors before test for new ones\r\n\r\n // block SUBMIT\r\n // CHECKBOX MUST BE UNCHECKED\r\n if (checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n }\r\n }\r\n\r\n\r\n\r\n const replaceLabels = () => {\r\n const myPromise = new Promise((resolve, reject) => {\r\n formRef?.current\r\n ?.querySelectorAll(\".form_consent_version input\")\r\n .forEach((e) => {\r\n Object.getOwnPropertyDescriptor(\r\n window.HTMLInputElement.prototype,\r\n \"value\"\r\n ).set.call(e, version);\r\n e.dispatchEvent(new Event(\"input\", { bubbles: true }));\r\n });\r\n\r\n formRef?.current\r\n ?.querySelectorAll(\"fieldset textarea\")\r\n .forEach((element) => {\r\n element.addEventListener(\"focusin\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n target.closest(\"fieldset\").classList.add(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n });\r\n\r\n element.addEventListener(\"focusout\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n if (!target.value) {\r\n target.closest(\"fieldset\").classList.remove(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n } else {\r\n if (\r\n target.parentElement &&\r\n typeof document != \"undefined\" &&\r\n document.querySelector(\".form_poland_gdpr_section\")\r\n ) {\r\n target.closest(\"fieldset\").classList.add(\"success-input\");\r\n }\r\n }\r\n });\r\n });\r\n\r\n formRef?.current\r\n ?.querySelectorAll(\"fieldset select\")\r\n .forEach((element) => {\r\n const isLangCombo = element.classList.contains(\"formlanguagesreload\");\r\n\r\n if (isLangCombo && languageSelected) {\r\n element.value = languageSelected;\r\n element.parentElement.classList.add(\"active\");\r\n element.parentElement.classList.add(\"success-input\");\r\n }\r\n\r\n if (isLangCombo) {\r\n element.parentElement.classList.add(\"combolingua\");\r\n }\r\n\r\n element.addEventListener(\"focusin\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n target.closest(\"fieldset\").classList.add(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n target.closest(\"fieldset\").classList.remove(\".invalid\");\r\n });\r\n\r\n element.addEventListener(\"focusout\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n if (!target.value) {\r\n target.closest(\"fieldset\").classList.remove(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n } else {\r\n if (\r\n target.parentElement &&\r\n target.parentElement.parentElement &&\r\n typeof document != \"undefined\" &&\r\n !document.querySelector(\".form_poland_gdpr_section\")\r\n ) {\r\n target.closest(\"fieldset\").classList.add(\"success-input\");\r\n }\r\n }\r\n });\r\n });\r\n\r\n formRef?.current\r\n ?.querySelectorAll(\"fieldset input\")\r\n .forEach((element) => {\r\n element.addEventListener(\"focusin\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n target.closest(\"fieldset\").classList.add(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n target.closest(\"fieldset\").classList.remove(\".invalid\");\r\n });\r\n\r\n if (typeof document != \"undefined\") {\r\n formRef?.current\r\n .querySelectorAll(\"fieldset input\")\r\n .forEach((element) => {\r\n element.addEventListener(\"blur\", (e) => {\r\n if (!element.checkFormat) {\r\n const target = e.currentTarget as HTMLInputElement;\r\n target.closest(\"fieldset\").classList.add(\"active\");\r\n target.closest(\"fieldset\").classList.add(\"success-input\");\r\n }\r\n });\r\n });\r\n }\r\n\r\n element.addEventListener(\"focusout\", (e) => {\r\n const target = e.currentTarget as any;\r\n if (!target.value && !target.checkFormat) {\r\n target.closest(\"fieldset\").classList.remove(\"active\");\r\n target.closest(\"fieldset\").classList.remove(\"success-input\");\r\n if (target.closest(\"fieldset\").querySelector(\".invalid\"))\r\n target.closest(\"fieldset\").classList.add(\"error-input\");\r\n } else {\r\n if (\r\n target.parentElement &&\r\n target.parentElement.parentElement &&\r\n typeof document != \"undefined\" &&\r\n !document.querySelector(\".form_poland_gdpr_section\") &&\r\n !document.querySelector(\".formBrazil\")\r\n ) {\r\n target.closest(\"fieldset\").classList.add(\"success-input\");\r\n }\r\n if (\r\n !target.closest(\"fieldset\").querySelector(\".invalid\") &&\r\n !target.checkFormat\r\n )\r\n target.closest(\"fieldset\").classList.remove(\"error-input\");\r\n }\r\n });\r\n });\r\n\r\n\r\n //ONLY FORM TURKEY\r\n if (\r\n typeof document !== \"undefined\" &&\r\n document.querySelector(\".formTurkey\")\r\n ) {\r\n const checkErrorFE = formRef?.current.querySelector(\r\n \".errorCheckFE\"\r\n ) as HTMLInputElement;\r\n\r\n // CHECKBOX STARTS CHECKED\r\n\r\n if (checkErrorFE) {\r\n if (!checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n\r\n let element = formRef?.current.querySelector(\"form\");\r\n\r\n let privacySection = formRef?.current?.querySelector(\".privacyTurkey\");\r\n\r\n const privacyCheckboxes =\r\n privacySection.querySelectorAll(\"fieldset > label\");\r\n\r\n // EXPAND COLLAPSE ONLY SECOND SECTION\r\n let content = privacySection.querySelectorAll(\"fieldset\")[2];\r\n content.classList.add(\"hideSection\");\r\n\r\n privacyCheckboxes[1].childNodes[0].addEventListener(\r\n \"change\",\r\n function (event) {\r\n content.classList.toggle(\"hideSection\");\r\n }\r\n );\r\n }\r\n\r\n // ONLY FORM BRASIL :\r\n // Natural Persons Register or Registry of Legal Entities (mandatory)\r\n if (\r\n typeof document !== \"undefined\" &&\r\n document.querySelector(\".formBrazil\")\r\n ) {\r\n const checkErrorFE = formRef?.current.querySelector(\r\n \".errorCheckFE\"\r\n ) as HTMLInputElement;\r\n\r\n // CHECKBOX STARTS CHECKED\r\n\r\n if (checkErrorFE) {\r\n if (!checkErrorFE.checked) {\r\n checkErrorFE.click();\r\n }\r\n }\r\n\r\n let element = formRef?.current.querySelector(\"form\");\r\n\r\n /* Input field 1 - Natural Persons Register or Registry of Legal Entities (mandatory) -> When leaving focus on it without entering a valid code, \r\n a control is performed with error message in a lightbox if not correct. Entering the digits, automatically are grouped in the correct format [NNN.NNN.NNN/NNN-NN]. \r\n The field accepts numbers only*/\r\n let inputs = element.querySelectorAll(\"input\") as HTMLInputElement;\r\n\r\n inputs[0].checkFormat = \"NNN.NNN.NNN/NNN-NN\";\r\n\r\n inputs[0].addEventListener(\"keyup\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n checkErrorFEBrazil();\r\n });\r\n\r\n inputs[0].addEventListener(\"keypress\", function (e) {\r\n let target = e.target as HTMLInputElement;\r\n let inputValue = target.value;\r\n // console.log(\"inputValue [0]\", inputValue);\r\n\r\n // Rimuovi tutti i caratteri non numerici\r\n inputValue = inputValue.replace(/\\D/g, \"\");\r\n\r\n // Formatta come NNN.NNN.NNN/NNN-NN\r\n let formattedValue = \"\";\r\n\r\n for (let i = 0; i < inputValue.length; i++) {\r\n if (i === 3 || i === 6) {\r\n formattedValue += \".\";\r\n } else if (i === 9) {\r\n formattedValue += \"/\";\r\n } else if (i === 12) {\r\n formattedValue += \"-\";\r\n }\r\n\r\n formattedValue += inputValue[i];\r\n }\r\n\r\n // Imposta il valore formattato nell'input\r\n target.value = formattedValue;\r\n });\r\n\r\n /* Input field 2 - Full name (mandatory) -> When leaving focus on it without entering a value the single message \"type A\" is shown underneath.*/\r\n\r\n /* Input field 3 - Phone (mandatory) -> a format control is performed with a dedicated red highlighted message underneath. Entering the digits, \r\n automatically are grouped in the correct format [(NN) NNNNN-NNNN]. The fields accept numbers only. */\r\n\r\n inputs[2].checkFormat = \"(NN) NNNNN-NNNN\";\r\n inputs[2].addEventListener(\"keyup\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n checkErrorFEBrazil();\r\n });\r\n\r\n inputs[2].addEventListener(\"keypress\", function (e) {\r\n let target = e.target as HTMLInputElement;\r\n let inputValue = target.value;\r\n\r\n // Rimuovi tutti i caratteri non numerici\r\n inputValue = inputValue.replace(/\\D/g, \"\");\r\n\r\n // Formatta come (NN) NNNNN-NNNN\r\n let formattedValue = \"\";\r\n\r\n for (let i = 0; i < inputValue.length; i++) {\r\n if (i === 0) {\r\n formattedValue += \"(\";\r\n } else if (i === 2) {\r\n formattedValue += \") \";\r\n } else if (i === 7) {\r\n formattedValue += \"-\";\r\n }\r\n\r\n formattedValue += inputValue[i];\r\n }\r\n\r\n // Imposta il valore formattato nell'input\r\n target.value = formattedValue;\r\n });\r\n\r\n /* Input field 4 - email address (mandatory)-> a format control is performed with a dedicated red highlighted message underneath.*/\r\n\r\n /* Input field 5 - Post code (mandatory) -> Entering the digits, automatically are grouped in the correct format [NNNNN-NNN]. The fields accept numbers only. */\r\n\r\n inputs[4].checkFormat = \"NNNNN-NNN\";\r\n inputs[4].addEventListener(\"keyup\", (e) => {\r\n const target = e.currentTarget as HTMLInputElement;\r\n checkErrorFEBrazil();\r\n });\r\n\r\n inputs[4].addEventListener(\"keypress\", function (e) {\r\n let target = e.target as HTMLInputElement;\r\n let inputValue = target.value;\r\n\r\n // Rimuovi tutti i caratteri non numerici\r\n inputValue = inputValue.replace(/\\D/g, \"\");\r\n\r\n // Verifica la lunghezza dell'input\r\n // Formatta come NNNNN-NNN\r\n let formattedValue = \"\";\r\n\r\n for (let i = 0; i < inputValue.length; i++) {\r\n if (i === 5) {\r\n formattedValue += \"-\";\r\n }\r\n formattedValue += inputValue[i];\r\n }\r\n\r\n // Imposta il valore formattato nell'input\r\n target.value = formattedValue;\r\n });\r\n\r\n const brazilForm = document.querySelector(\".formBrazil\");\r\n\r\n const citySelect = brazilForm.querySelectorAll(\"select\") as any;\r\n citySelect.forEach((select) => {\r\n if (\r\n select.id != citySelect[0].id &&\r\n select.id != citySelect[citySelect.length - 1].id &&\r\n select.id != citySelect[citySelect.length - 2].id\r\n ) {\r\n select.addEventListener(\"focusout\", function (e) {\r\n checkErrorFEBrazil();\r\n });\r\n }\r\n });\r\n }\r\n // ONLY FORM POLAND :\r\n if (\r\n typeof document !== \"undefined\" &&\r\n typeof document != \"undefined\" &&\r\n document.querySelector(\".form_poland_gdpr_section\")\r\n ) {\r\n formRef?.current\r\n .querySelectorAll(\"input[type=checkbox]\")\r\n .forEach(function (checkbox: HTMLInputElement) {\r\n checkbox.addEventListener(\"change\", function (event) {\r\n checkErrorFEPoland();\r\n });\r\n });\r\n\r\n let element = formRef?.current\r\n ?.querySelectorAll(\".form_poland_accordion_title_section\")[0]\r\n .querySelector(\"fieldset\");\r\n\r\n // EXPAND COLLAPSE ONLY FIRST SECTION\r\n\r\n if (!element.querySelector(\".collapse-arrow\")) {\r\n element.insertAdjacentHTML(\"beforeend\", collapsedImg);\r\n }\r\n\r\n element\r\n .querySelector(\".form_accordion_close\")\r\n .classList.add(\"hideSection\");\r\n\r\n if (!element.querySelector(\".expanded-arrow\")) {\r\n element.insertAdjacentHTML(\"beforeend\", expandedImg);\r\n }\r\n\r\n changeArrow(\"expanded-arrow\", true);\r\n changeArrow(\"collapse-arrow\", false);\r\n\r\n let content = formRef?.current.getElementsByClassName(\r\n \"form_poland_accordion_content_section\"\r\n )[0];\r\n\r\n let collapses = element.querySelectorAll(\r\n \".collapse-arrow, .form_accordion_close\"\r\n ) as HTMLInputElement[];\r\n if (collapses) {\r\n collapses.forEach((collapse, index) => {\r\n collapse.addEventListener(\"click\", function (event) {\r\n event.preventDefault();\r\n content.classList.add(\"hideSection\");\r\n changeArrow(\"expanded-arrow\", true);\r\n element\r\n .querySelector(\".form_accordion_close\")\r\n .classList.add(\"hideSection\");\r\n element\r\n .querySelector(\".form_accordion_open\")\r\n .classList.remove(\"hideSection\");\r\n changeArrow(\"collapse-arrow\", false);\r\n });\r\n });\r\n }\r\n let expandeds = element.querySelectorAll(\r\n \".expanded-arrow, .form_accordion_open\"\r\n ) as HTMLInputElement[];\r\n\r\n if (expandeds) {\r\n expandeds.forEach((expanded, index) => {\r\n expanded.addEventListener(\"click\", function () {\r\n content.classList.remove(\"hideSection\");\r\n changeArrow(\"expanded-arrow\", false);\r\n changeArrow(\"collapse-arrow\", true);\r\n element\r\n .querySelector(\".form_accordion_open\")\r\n .classList.add(\"hideSection\");\r\n element\r\n .querySelector(\".form_accordion_close\")\r\n .classList.remove(\"hideSection\");\r\n });\r\n });\r\n }\r\n /* CHECK ON FIRST COMBO CHECKS ALL THE OTHERS AND EVENTUALLY OPEN ACCORDIONS */\r\n var firstInput = element.querySelectorAll(\r\n \"input[type=checkbox]\"\r\n )[0] as HTMLInputElement;\r\n\r\n firstInput.addEventListener(\"change\", function (e) {\r\n if (firstInput.checked && content.classList.contains(\"hideSection\")) {\r\n content.classList.remove(\"hideSection\");\r\n changeArrow(\"expanded-arrow\", false);\r\n changeArrow(\"collapse-arrow\", true);\r\n element\r\n .querySelector(\".form_accordion_open\")\r\n .classList.add(\"hideSection\");\r\n element\r\n .querySelector(\".form_accordion_close\")\r\n .classList.remove(\"hideSection\");\r\n }\r\n formRef?.current\r\n .querySelector(\".form_poland_gdpr_section\")\r\n .querySelectorAll(\"input[type=checkbox]\")\r\n .forEach(function (checkbox: HTMLInputElement) {\r\n if (firstInput != checkbox) {\r\n if (firstInput.checked && !checkbox.checked) {\r\n checkbox.click();\r\n } else {\r\n if (!firstInput.checked && checkbox.checked) {\r\n checkbox.click();\r\n }\r\n }\r\n }\r\n });\r\n });\r\n }\r\n\r\n function changeArrow(className, expand) {\r\n var arrayOfElements =\r\n formRef?.current.getElementsByClassName(className);\r\n var lengthOfArray = arrayOfElements.length;\r\n\r\n for (var i = 0; i < lengthOfArray; i++) {\r\n const arrow = arrayOfElements[i] as HTMLInputElement;\r\n arrow.style.display = expand ? \"inline\" : \"none\";\r\n }\r\n }\r\n formRef?.current\r\n ?.querySelectorAll(\".privacy_section\")\r\n .forEach((element: HTMLElement, i) => {\r\n if (\r\n !element.querySelector(\".collapse-arrow\") &&\r\n typeof document != \"undefined\" &&\r\n !document.querySelector(\".form_poland_gdpr_section\") &&\r\n !document.querySelector(\".formBrazil\") &&\r\n !document.querySelector(\".formTurkey\")\r\n ) {\r\n element.insertAdjacentHTML(\"beforeend\", collapsedImg);\r\n }\r\n\r\n if (\r\n !element.querySelector(\".expanded-arrow\") &&\r\n typeof document != \"undefined\" &&\r\n !document.querySelector(\".form_poland_gdpr_section\") &&\r\n !document.querySelector(\".formBrazil\") &&\r\n !document.querySelector(\".formTurkey\")\r\n ) {\r\n element.insertAdjacentHTML(\"beforeend\", expandedImg);\r\n }\r\n\r\n element.querySelector(\".privacy-title\") &&\r\n element\r\n .querySelector(\".privacy-title\")\r\n .addEventListener(\"click\", function () {\r\n element.classList.toggle(\"openText\");\r\n });\r\n element.querySelector(\".collapse-arrow\") &&\r\n element\r\n .querySelector(\".collapse-arrow\")\r\n .addEventListener(\"click\", function () {\r\n element.classList.toggle(\"openText\");\r\n });\r\n element.querySelector(\".expanded-arrow\") &&\r\n element\r\n .querySelector(\".expanded-arrow\")\r\n .addEventListener(\"click\", function () {\r\n element.classList.toggle(\"openText\");\r\n });\r\n });\r\n\r\n formRef?.current\r\n ?.querySelectorAll(\".submit_section button\")\r\n .forEach((e) => {\r\n if (props?.fields?.FormDescriptor) {\r\n e.textContent = btnText;\r\n }\r\n\r\n e.innerHTML += `\r\n \r\n `;\r\n });\r\n\r\n let privacySections =\r\n formRef?.current?.querySelectorAll(\".privacy_section\");\r\n\r\n if (props?.fields?.FormDescriptor) {\r\n privacySections?.forEach((section: HTMLElement, i) => {\r\n // ONLY FORM POLAND :\r\n if (\r\n typeof document !== \"undefined\" &&\r\n typeof document != \"undefined\" &&\r\n document.querySelector(\".form_poland_gdpr_section\")\r\n ) {\r\n const labels = section.querySelectorAll(\"span\");\r\n const { Accept_label, Deny_label, Description, Title } =\r\n legalPolicies ? legalPolicies[i] : \"\";\r\n\r\n Array.from(labels).forEach((label: HTMLElement, i) => {\r\n if (legalPolicies && legalPolicies[i]) {\r\n const { Accept_label, Deny_label, Description, Title } =\r\n legalPolicies ? legalPolicies[i] : \"\";\r\n label.classList.add(\"labelPoland\");\r\n label.innerHTML = Description;\r\n }\r\n });\r\n } else {\r\n const labels = section.getElementsByTagName(\"label\");\r\n const { Accept_label, Deny_label, Description, Title } =\r\n legalPolicies ? legalPolicies[i] : \"\";\r\n\r\n if (i == 0) {\r\n const p = section.querySelector(\".form_checkbox_label\");\r\n if (p) {\r\n p.innerHTML = Description;\r\n }\r\n return;\r\n }\r\n const h5 = section.querySelector(\".privacy-title\");\r\n const label = section.querySelector(\".form_radio_label\");\r\n\r\n if (h5) {\r\n h5.textContent = Title;\r\n }\r\n if (label) {\r\n label.textContent = Description;\r\n }\r\n\r\n Array.from(labels).forEach((label: HTMLElement, i) => {\r\n if (i == 0) return;\r\n\r\n const input = label.firstChild;\r\n label.innerHTML = \"\";\r\n label.append(input);\r\n i == 1 ? label.append(Accept_label) : label.append(Deny_label);\r\n });\r\n }\r\n });\r\n }\r\n\r\n if (typeof document != \"undefined\") {\r\n const form: any = formRef?.current.querySelector(\".form form\");\r\n const button: any = formRef?.current.querySelector(\r\n \".form form .submit_section button\"\r\n );\r\n if (button) {\r\n button.id = internalGenerateIdForGA(\"form\", \"send\");\r\n }\r\n const spinner = document.getElementById(\"spinnerForm\");\r\n\r\n if (form) {\r\n if (\r\n typeof document != \"undefined\" &&\r\n document.querySelector(\".form_poland_gdpr_section\")\r\n ) {\r\n addCheckErrorFEPoland();\r\n } else if (\r\n typeof document !== \"undefined\" &&\r\n document.querySelector(\".formBrazil\")\r\n ) {\r\n addCheckErrorFEBrazil();\r\n } else if (\r\n typeof document !== \"undefined\" &&\r\n document.querySelector(\".formTurkey\")\r\n ) {\r\n addCheckErrorFETurkey();\r\n }\r\n form.setAttribute(\"onkeydown\", \"return event.key != 'Enter';\");\r\n form.addEventListener(\"submit\", function () {\r\n spinner.style.display = \"block\";\r\n });\r\n }\r\n }\r\n resolve(\"response\");\r\n });\r\n\r\n myPromise.then(() => {\r\n if (typeof document != \"undefined\") {\r\n const spinner = document.getElementById(\"spinnerForm\");\r\n spinner.style.display = \"none\";\r\n }\r\n });\r\n };\r\n \r\n\r\n return (\r\n <>\r\n {!forcehide && typeOfForm === \"newsletter\" ? (\r\n \r\n \r\n \r\n \r\n \r\n {isExpEditorEnabled && thereIsForm == false ? (\r\n <>\r\n

    Form container

    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n ) : (\r\n <>\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n \r\n )}\r\n \r\n ) : (\r\n !forcehide && (\r\n \r\n \r\n \r\n \r\n \r\n {isExpEditorEnabled && thereIsForm == false ? (\r\n <>\r\n

    Form container

    \r\n \r\n \r\n ) : (\r\n \r\n )}\r\n \r\n )\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(FormContainerModule);\r\n","export const UPDATE_LANGUAGE = \"UPDATE_LANGUAGE\"\r\nexport const UPDATE_FORM = \"UPDATE_FORM\"\r\nexport const UPDATE_FIELD = \"UPDATE_FIELD\"\r\nexport const UPDATE_SECTION = \"UPDATE_SECTION\"\r\nexport const HIDE_BUTTON = \"HIDE_BUTTON\"\r\nexport const UPDATE_CAPTCHA_STATUS = \"UPDATE_CAPTCHA_STATUS\"\r\nexport const SET_LOADER = \"SET_LOADER\"\r\nexport const REMOVE_ERROR = \"REMOVE_ERROR\"\r\nexport const CUSTOM_ERROR = \"CUSTOM_ERROR\"\r\nexport const UPDATE_SHOW_SECTION = \"UPDATE_SHOW_SECTION\"\r\n","import {\r\n UPDATE_LANGUAGE,\r\n UPDATE_FORM,\r\n UPDATE_FIELD,\r\n UPDATE_SECTION,\r\n HIDE_BUTTON,\r\n UPDATE_CAPTCHA_STATUS,\r\n SET_LOADER,\r\n REMOVE_ERROR,\r\n CUSTOM_ERROR,\r\n UPDATE_SHOW_SECTION,\r\n} from \"../contants/action-types\";\r\nimport axios from \"axios\";\r\n\r\nexport function updateFields(payload) {\r\n return { type: UPDATE_LANGUAGE, payload: payload };\r\n}\r\n\r\nexport function setLoader(payload) {\r\n return { type: SET_LOADER, payload: payload };\r\n}\r\nexport function updateRemoveError(payload) {\r\n return { type: REMOVE_ERROR, payload: payload };\r\n}\r\n\r\nexport function updateCustomError(payload) {\r\n return { type: CUSTOM_ERROR, payload: payload };\r\n}\r\n\r\nexport function updateHideButton(payload) {\r\n return { type: HIDE_BUTTON, payload: payload };\r\n}\r\n\r\nexport function updateConditionalRederingData(payload) {\r\n return { type: UPDATE_FORM, payload: payload };\r\n}\r\n\r\nexport function UpdateConditionalFieldValue(payload) {\r\n return { type: UPDATE_FIELD, payload: payload };\r\n}\r\n\r\nexport function UpdateConditionalSectionControls(payload) {\r\n return { type: UPDATE_SECTION, payload: payload };\r\n}\r\n\r\nexport function getLayoutServiceData(dispatch, culture) {\r\n // let url = config.sitecoreApiHost + \"api/formdata/en/\" + culture + \"/\" + config.jssAppName + \"/Privacy%20Form?sc_apikey=\" + config.sitecoreApiKey;\r\n //let url = \"https://eucomcrg04-123710-cm.azurewebsites.net/api/formdata/en/\" + culture + \"/\" + config.jssAppName + \"/Privacy%20Form?sc_apikey=\" + config.sitecoreApiKey;\r\n\r\n let url =\r\n \"/api/formdata/en/\" +\r\n culture +\r\n \"/\" +\r\n \"config.jssAppName\" +\r\n \"/Privacy%20Form?sc_apikey=\" +\r\n \"config.sitecoreApiKey\";\r\n axios\r\n .get(url)\r\n .then((response) => {\r\n return response.data;\r\n })\r\n .then((data) => {\r\n let newfeilds = data.fields;\r\n dispatch(updateFields(newfeilds));\r\n });\r\n}\r\n\r\nexport function UpdateCaptchaStatus(payload) {\r\n return { type: UPDATE_CAPTCHA_STATUS, payload: payload };\r\n}\r\n\r\nexport function UpdateShowSectionStatus(payload) {\r\n return { type: UPDATE_SHOW_SECTION, payload: payload };\r\n}\r\n","import ReCAPTCHA from \"react-google-recaptcha\";\r\nimport React, { Fragment, VFC, useState, useEffect, useRef } from \"react\";\r\n// import BaseTextField from \"./baseTextField\";\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport {\r\n StringInputViewModel,\r\n MultiLineStringInputViewModel,\r\n} from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport { UpdateCaptchaStatus } from \"../../../ReduxImpl/actions/index\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport Axios from \"axios\";\r\nimport { typeFromAST } from \"graphql\";\r\nimport i18next from 'i18next';\r\n\r\nexport interface MultiLineStringInputViewModelCaptcha\r\n extends MultiLineStringInputViewModel {\r\n publicKey?: string;\r\n}\r\n\r\nconst ReCaptcha: VFC> = (\r\n props\r\n) => {\r\n const { field } = props;\r\n const dispatch = useDispatch();\r\n const captcha = useSelector((state: IReduxState) => state.captcha);\r\n const [expired, setExpired] = useState(true);\r\n// const publicKey = field.model.publicKey;\r\n const publicKey = \"6LctSqkiAAAAAIPXlvk0sAFAZ4JpVam2Fwhrau1u\"\r\n const publicKeysecond = \"6LcOSrkiAAAAAIPJ306a1Bg5U0FKEG4gsLKW6aAs\"\r\n\r\n const invizibleCaptcha = field.model.cssClass;\r\n\r\n if (typeof document !== \"undefined\") {\r\n if(captcha === true ) {\r\n document.querySelector(\".content-switcher-content0\")?.classList.add(\"captcha-checked\");\r\n }else{\r\n document.querySelector(\".content-switcher-content0\")?.classList.remove(\"captcha-checked\");\r\n }\r\n }\r\n\r\n\r\n const onChange = (value: any): void => {\r\n if (value) {\r\n setExpired(false);\r\n } else {\r\n setExpired(true);\r\n }\r\n };\r\n useEffect(() => {\r\n dispatch(UpdateCaptchaStatus(expired));\r\n setTimeout(() => {\r\n }, 500);\r\n }, [expired]);\r\n \r\n\r\n const captchaRef = useRef()\r\n\r\n var lng = 'en';\r\n lng = i18next && i18next.language ? i18next.language : 'en';\r\n\r\n return (\r\n
    \r\n \r\n \r\n {invizibleCaptcha === \"CaptchaInvisible\" ? (\r\n \r\n ) : (\r\n \r\n )}\r\n
    \r\n );\r\n};\r\n\r\nexport default ReCaptcha;\r\n","import {\r\n createDefaultFieldFactory,\r\n FieldTypes,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport Recaptcha from \"./components/recaptcha\";\r\n\r\nconst FieldTypesC = {\r\n ...FieldTypes,\r\n Captcha: \"{AF50468E-66DE-48B7-9FA5-A9066241892B}\",\r\n};\r\nconst defaultFieldFactory = createDefaultFieldFactory();\r\ndefaultFieldFactory.setComponent(\r\n FieldTypesC[\"Captcha\"] as FieldTypes,\r\n Recaptcha\r\n);\r\nexport default defaultFieldFactory;\r\n","import React, {\r\n ChangeEvent,\r\n useState,\r\n ChangeEventHandler,\r\n VFC,\r\n FocusEvent,\r\n Component,\r\n useEffect,\r\n} from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport {\r\n getLayoutServiceData,\r\n UpdateConditionalFieldValue,\r\n UpdateShowSectionStatus,\r\n} from \"../../../ReduxImpl/actions/index\";\r\nimport { ListFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { DropdownListViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport { withRouter, useHistory } from \"react-router-dom\";\r\nimport { JsxElement } from \"typescript\";\r\n\r\nconst Dropdownfield: VFC> = (props) => {\r\n const { field, tracker } = props;\r\n const [hasFocus, setHasFocus] = useState(false);\r\n const hasAnyError = !!props.errors?.length;\r\n const [value, setDdlValue] = useState(props.value);\r\n const hasValueOrFocus = hasFocus || value.length !== 0;\r\n\r\n var options = [];\r\n\r\n for (let index = 0; index < props.field.model.items.length; index++) {\r\n let x = props.field.model.items[index];\r\n let option: any;\r\n if (x.text.indexOf(\"__\") != -1) {\r\n option = ;\r\n } else {\r\n option = (\r\n \r\n );\r\n }\r\n\r\n options.push(option);\r\n }\r\n if (field.model.showEmptyItem) {\r\n options.unshift();\r\n }\r\n const label = field.model.title;\r\n const id = field.valueField.id;\r\n const name = field.valueField.name;\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n\r\n let fieldValues = useSelector((state: IReduxState) => state.fieldValues);\r\n\r\n const onChange = (e: any): void => {\r\n fieldValues[field.model[\"conditionSettings\"].fieldKey] = e.target.value;\r\n\r\n if (field.model.name === \"LanguageDropdownList\") {\r\n var d = new Date();\r\n d.setTime(d.getTime() + 5 * 24 * 60 * 60 * 1000);\r\n var expires = \"expires=\" + d.toUTCString();\r\n const currentPath = history?.location?.pathname;\r\n // window.location.reload()\r\n\r\n dispatch(UpdateShowSectionStatus(false));\r\n } else if (field.model[\"conditionSettings\"].fieldKey in fieldValues) {\r\n if (field.model.name === \"LawUnderDropdownList\" && e.target.value == \"\") {\r\n dispatch(UpdateShowSectionStatus(false));\r\n } else if (field.model.name !== \"CountryDropdownList\") {\r\n dispatch(UpdateShowSectionStatus(true));\r\n }\r\n dispatch(UpdateConditionalFieldValue(fieldValues));\r\n }\r\n setDdlValue(e.target.value);\r\n\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, []);\r\n };\r\n\r\n //TODO:\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value);\r\n setHasFocus(true);\r\n };\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value);\r\n setHasFocus(false);\r\n };\r\n\r\n const getDdlValue = (propsvalue: any): any => {\r\n if (Array.isArray(propsvalue)) {\r\n return props.value.length > 0 ? props.value[0] : \"\";\r\n } else {\r\n return props.value;\r\n }\r\n };\r\n\r\n const getDropdownVal = () => {\r\n return value;\r\n };\r\n\r\n return (\r\n <>\r\n {field.model.name === \"LanguageDropdownList\" ? (\r\n
    {label}
    \r\n ) : (\r\n \r\n {label}\r\n \r\n )}\r\n\r\n \r\n {options}\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Dropdownfield;\r\n","export const ACTION_CONTANTS = {\r\n SHOW: \"{AAE07A52-46A4-49EF-98B0-C2595BAC2382}\",\r\n HIDE: \"{7F58C8DD-D7C0-4FB7-BB44-8EC6B5E1C3D9}\",\r\n ENABLE: \"{5744A87E-E32C-42CC-862F-96842A0202BB}\",\r\n DISABLE: \"{C698C993-549E-486A-A09C-BB8D830DA958}\"\r\n}\r\n\r\nexport const MATCH_TYPE_CONTANTS = {\r\n ANY: \"{365C94DA-C1CD-4783-A91D-0D17A16C7117}\",\r\n ALL: \"{4E50C172-7EA6-4989-82C3-75F24F80EF72}\"\r\n}\r\n\r\nexport const OPERATOR_CONSTANTS = {\r\n STARTS_WITH: \"{FD10F291-3C2E-4AE7-8A67-2F8271CB3DF2}\",\r\n IS_EQUAL_TO: \"{1D38B217-A2EE-4E7B-B6ED-13E751462FEB}\",\r\n IS_NOT_EQUAL_TO: \"{49F47E77-E8C5-46F9-BF39-78D6B0D40B48}\"\r\n}","import { OPERATOR_CONSTANTS, MATCH_TYPE_CONTANTS, ACTION_CONTANTS } from './ConditionalRenderingContants';\r\n\r\n\r\n\r\nexport const checkConditions = (fieldValues, conditions) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < conditions.length; i += 1) {\r\n shouldHide = matchingTypes(fieldValues, conditions[i]);\r\n \r\n if (shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n};\r\n\r\nconst handleActionType = (actionType, value) => {\r\n const actions = {\r\n [ACTION_CONTANTS[\"SHOW\"]]: () => {\r\n return !value;\r\n },\r\n [ACTION_CONTANTS[\"HIDE\"]]: () => {\r\n return value;\r\n }\r\n }\r\n\r\n return actions[actionType]();\r\n}\r\n\r\nconst validate = (operator, value, valueAgainst) => {\r\n const operators = {\r\n // [OPERATOR_CONSTANTS[\"CONTAINS\"]]: () => {\r\n // const regex = RegExp(`${valueAgainst}`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_CONTAIN\"]]: () => {\r\n // const regex = RegExp(`^((?!${valueAgainst}).)*$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"STARTS_WITH\"]]: () => {\r\n // const regex = RegExp(`^${valueAgainst}`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_START_WITH\"]]: () => {\r\n // const regex = RegExp(`^(?!${valueAgainst}).*$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"ENDS_WITH\"]]: () => {\r\n // const regex = RegExp(`${valueAgainst}$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_END_WITH\"]]: () => {\r\n // const regex = RegExp(`^(.(?!${valueAgainst}$))+$`);\r\n\r\n // if (value === '') { // regex fails to test an empty string\r\n // return true;\r\n // }\r\n\r\n // return regex.test(value);\r\n // },\r\n [OPERATOR_CONSTANTS[\"IS_EQUAL_TO\"]]: () => {\r\n // valueAgainst string needs to be converted to boolean if it's coming from a checkbox\r\n const compareAgainst = valueAgainst === 'true' ? true : valueAgainst;\r\n return value == compareAgainst;\r\n },\r\n [OPERATOR_CONSTANTS[\"IS_NOT_EQUAL_TO\"]]: () => {\r\n if(!value)\r\n {\r\n return false;\r\n }\r\n\r\n return value !== valueAgainst;\r\n },\r\n // [OPERATOR_CONSTANTS[\"IS_GREATER_THAN\"]]: () => {\r\n // return value > valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_GREATER_THAN_OR_EQUAL_TO\"]]: () => {\r\n // return value >= valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_LESS_THAN\"]]: () => {\r\n // return value < valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_LESS_THAN_OR_EQUAL_TO\"]]: () => {\r\n // return value <= valueAgainst;\r\n // }\r\n };\r\n\r\n if (typeof operators[operator] === 'undefined') {\r\n return false;\r\n }\r\n\r\n return operators[operator]();\r\n};\r\n\r\nconst matchingTypes = (fieldValues, item) => {\r\n const matches = {\r\n [MATCH_TYPE_CONTANTS[\"ANY\"]]: (fieldValues, item) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < item.conditions.length; i += 1) {\r\n const value = fieldValues[item.conditions[i].fieldId],\r\n operator = item.conditions[i].operatorId,\r\n valueAgainst = item.conditions[i].value;\r\n\r\n shouldHide = validate(operator, value, valueAgainst);\r\n\r\n if (shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n },\r\n [MATCH_TYPE_CONTANTS[\"ALL\"]]: (fieldValues, item) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < item.conditions.length; i += 1) {\r\n const value = fieldValues[item.conditions[i].fieldId],\r\n operator = item.conditions[i].operatorId,\r\n valueAgainst = item.conditions[i].value;\r\n\r\n shouldHide = validate(operator, value, valueAgainst);\r\n\r\n if (!shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n }\r\n },\r\n result = matches[item.matchTypeId](fieldValues, item);\r\n\r\n return handleActionType(item.actionTypeId, result);\r\n};\r\n\r\n","import React, {\r\n ChangeEvent,\r\n useState,\r\n ChangeEventHandler,\r\n VFC,\r\n useEffect,\r\n useRef,\r\n} from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport { FieldProps } from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { FormFieldSection } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { checkConditions } from \"../../ConditionalRendering/index\";\r\nimport {\r\n UpdateConditionalSectionControls,\r\n UpdateShowSectionStatus,\r\n} from \"../../../ReduxImpl/actions\";\r\nimport { BiWindows } from \"react-icons/bi\";\r\n\r\nconst SectionFeild: VFC> = ({\r\n field,\r\n fieldFactory,\r\n}) => {\r\n //const [hasFocus, setHasFocus] = useState(false);\r\n //const hasAnyError = !!props.errors?.length;\r\n //const [value, setValue] = useState(props.value);\r\n //const hasValueOrFocus = hasFocus || (Array.isArray(value) && value.length > 0 );\r\n //var options = props.field.model.items.map(x => );\r\n //const label = field.model.title;\r\n const id = field.model.itemId;\r\n const name = field.model.name;\r\n const dispatch = useDispatch();\r\n //const name = field.valueField.name;\r\n //const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n const stateFieldValues = useSelector(\r\n (state: IReduxState) => state.fieldValues\r\n );\r\n const stateConditions = useSelector((state: IReduxState) => {\r\n return state.conditions[field.model[\"conditionSettings\"].fieldKey];\r\n });\r\n\r\n const showsection = useSelector((state: IReduxState) => state.showsection);\r\n\r\n function useFirstRender() {\r\n const ref = useRef(true);\r\n const firstRender = ref.current;\r\n ref.current = false;\r\n return firstRender;\r\n }\r\n\r\n let showsection1 = showsection;\r\n\r\n const IsVisible = (fieldValues, conditions, field) => {\r\n if (!showsection && field.model.name === \"SectionAll\") {\r\n return true;\r\n } else if (conditions !== undefined && fieldValues !== undefined) {\r\n let IsSectionHide = checkConditions(fieldValues, conditions);\r\n dispatch(\r\n UpdateConditionalSectionControls({\r\n name: field.model.name,\r\n IsVisible: !IsSectionHide,\r\n })\r\n );\r\n return IsSectionHide;\r\n } else {\r\n return false;\r\n }\r\n };\r\n \r\n\r\n return (\r\n \r\n {field.fields.map(fieldFactory)}\r\n \r\n );\r\n};\r\n\r\nexport default SectionFeild;\r\n","import {\r\n createDefaultFieldFactory,\r\n FieldTypes,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport Dropdownfield from \"./components/dropdownfield\";\r\nimport SectionField from \"./components/sectionField\";\r\nimport Recaptcha from \"./components/recaptcha\";\r\n\r\nconst FieldTypesC = {\r\n ...FieldTypes,\r\n Captcha: \"{AF50468E-66DE-48B7-9FA5-A9066241892B}\",\r\n};\r\nconst defaultFieldFactoryBrasil = createDefaultFieldFactory();\r\ndefaultFieldFactoryBrasil.setComponent(\r\n FieldTypesC[\"Captcha\"] as FieldTypes,\r\n Recaptcha\r\n);\r\ndefaultFieldFactoryBrasil.setComponent(FieldTypesC.DropdownList, Dropdownfield);\r\ndefaultFieldFactoryBrasil.setComponent(FieldTypesC.Section, SectionField);\r\nexport default defaultFieldFactoryBrasil;\r\n","import React, { VFC } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\n\r\nconst FieldValidationError: VFC = (props) => {\r\n const hasAnyError = !!props.errors?.length;\r\n\r\n return (\r\n <>\r\n {hasAnyError && (\r\n
    \r\n {props.errors.map((error, key) => (\r\n

    {error}

    \r\n ))}\r\n
    \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default FieldValidationError;\r\n","/**\r\n *\r\n * @param {String} url\r\n * @return {boolean}\r\n */\r\n\r\nfunction isInternalUrl(url: string | undefined): boolean {\r\n if (url) return url.startsWith(\"/\") || url.startsWith(\"#\");\r\n return false;\r\n}\r\n\r\nfunction appendToUrlPath(url: string, add: string): string {\r\n const appendSlash = (url) => (url.endsWith(\"/\") ? url : `${url}/`);\r\n const appendString = add || \"\";\r\n\r\n if (!url) {\r\n return \"\";\r\n } else if (url.includes(\"?\")) {\r\n const urlArray = url.split(\"?\");\r\n\r\n return `${appendSlash(urlArray[0])}${appendString}?${urlArray[1]}`;\r\n } else if (url.includes(\"#\")) {\r\n const urlArray = url.split(\"#\");\r\n\r\n return `${appendSlash(urlArray[0])}${appendString}#${urlArray[1]}`;\r\n } else {\r\n return `${appendSlash(url)}${appendString}`;\r\n }\r\n}\r\n\r\nexport { isInternalUrl, appendToUrlPath };\r\n","import React, { FormEvent, VFC } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport {\r\n serializeForm,\r\n submitForm,\r\n instanceOfValueFormField,\r\n getFieldValueFromModel,\r\n SitecoreForm,\r\n FormField,\r\n FormTracker,\r\n FormFetcher,\r\n TrackerFetcher,\r\n} from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { Form } from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { connect } from \"react-redux\";\r\nimport {\r\n updateFields,\r\n setLoader,\r\n updateRemoveError,\r\n updateCustomError,\r\n} from \"../../../ReduxImpl/actions/index\";\r\nimport i18next from \"i18next\";\r\nimport { getCookieValue, getExpiryDate } from \"../../../../utils/window.utils\";\r\n\r\nexport interface FieldState {\r\n value?: string | string[] | File[] | boolean;\r\n isValid: boolean;\r\n errors: string[];\r\n}\r\n\r\nexport interface FieldStateCollection {\r\n [key: string]: FieldState;\r\n}\r\n\r\nclass JssForm extends Form {\r\n //delay scrolling\r\n delayScroll(time = 2000) {\r\n setTimeout(() => {\r\n window.scroll(0, 0);\r\n }, time);\r\n }\r\n\r\n /**\r\n * Handler triggered when the form is submitted. May transition its state between\r\n * steps in a multistep form or handle a final submit.\r\n * @param {FormEvent} e\r\n */\r\n onSubmit(e: FormEvent) {\r\n e.preventDefault();\r\n let jssForm: any = this.props;\r\n jssForm.setLoader(true);\r\n\r\n let rError: any = this.props;\r\n rError.updateRemoveError(true);\r\n\r\n let cError: any = this.props;\r\n cError.updateCustomError(\"\");\r\n\r\n const form = this.state.nextForm || this.props.form;\r\n\r\n console.log(\"Test form: \", form);\r\n\r\n const fieldValues: { [key: string]: string | string[] | boolean | File[] } =\r\n {};\r\n\r\n const currentFieldValues = this.collectCurrentFieldValues();\r\n\r\n currentFieldValues.forEach((field) => {\r\n if (typeof field.state.value !== \"undefined\") {\r\n fieldValues[field.fieldName] = field.state.value;\r\n }\r\n });\r\n\r\n function findElementWithCSSClass(obj, cssClass) {\r\n if (obj.model && obj.model.cssClass === cssClass) {\r\n return obj;\r\n }\r\n\r\n if (obj.fields && obj.fields.length > 0) {\r\n for (const field of obj.fields) {\r\n const foundElement = findElementWithCSSClass(field, cssClass);\r\n if (foundElement) {\r\n return foundElement;\r\n }\r\n }\r\n }\r\n\r\n return null;\r\n }\r\n\r\n // language by default is the one of the website\r\n let languageSelected = i18next.language;\r\n\r\n const elementWithCSSClass = findElementWithCSSClass(\r\n form,\r\n \"formlanguagesreload\"\r\n );\r\n\r\n if (elementWithCSSClass) {\r\n // if I have a combo language I try to use the cookie\r\n languageSelected = getCookieValue(\"ivgcorporate#langform\")\r\n ? getCookieValue(\"ivgcorporate#langform\")\r\n : languageSelected;\r\n fieldValues[elementWithCSSClass.valueField.name] = languageSelected;\r\n }\r\n\r\n // NOTE: we're not pre-validating the submit on the client because\r\n // Sitecore won't be able to track validation errors in xConnect\r\n\r\n // serialize the form data that we got from the server\r\n // (hidden fields with constant values, unchanged default field values, etc)\r\n const formData = serializeForm(form, {\r\n submitButtonName: this.state.submitButton,\r\n });\r\n\r\n // merge in user-updated field values\r\n formData.mergeOverwritingExisting(fieldValues);\r\n formData.append(\"prams\", jssForm?.form?.formItemId?.name);\r\n\r\n var uidRendering = jssForm?.form?.formItemId?.name;\r\n // console.log(formData);\r\n\r\n //in case of \"errorCheckFE\" STOP\r\n // if((e.target as HTMLFormElement).action.indexOf(\"errorCheckFE\") != -1) return false;\r\n function setScLangValue(url, newScLangValue) {\r\n var urlObject = new URL(url);\r\n urlObject.searchParams.set(\"sc_lang\", newScLangValue);\r\n return urlObject.toString();\r\n }\r\n\r\n console.log(\r\n \"e.target as HTMLFormElement).action\",\r\n (e.target as HTMLFormElement).action\r\n );\r\n var url = setScLangValue(\r\n (e.target as HTMLFormElement).action,\r\n languageSelected\r\n );\r\n console.log(\"url\", url);\r\n\r\n const submitUrl = url + \"&FormRendering=\" + uidRendering;\r\n if (!submitUrl) {\r\n throw new Error(\r\n \"Submit URL was not defined. Ensure the form has an action attribute.\"\r\n );\r\n }\r\n\r\n submitForm(formData, submitUrl, { fetcher: this.props.formFetcher })\r\n .then((result) => {\r\n if (result.success && result.redirectUrl) {\r\n // Process redirect-on-success action.\r\n if (this.props.onRedirect) {\r\n this.props.onRedirect(result.redirectUrl);\r\n //this.delayScroll()\r\n } else {\r\n window.location.href = result.redirectUrl;\r\n /// this.delayScroll()\r\n }\r\n }\r\n\r\n // if (\r\n // result.errors.length > 0 &&\r\n // form.metadata.cssClass == \"login-form\"\r\n // ) {\r\n // alert(result.errors[0]);\r\n // }\r\n\r\n let ErrorElToBeFocused: string;\r\n\r\n if (result.validationErrors) {\r\n if (typeof document != \"undefined\") {\r\n const spinner = document.getElementById(\"spinnerForm\");\r\n spinner.style.display = \"none\";\r\n }\r\n //setLoader(false);\r\n const stateUpdate: FieldStateCollection = {};\r\n\r\n Object.keys(result.validationErrors).forEach((fieldKey) => {\r\n if (!ErrorElToBeFocused) ErrorElToBeFocused = fieldKey;\r\n\r\n stateUpdate[fieldKey] = {\r\n value: (this.state[fieldKey] || {}).value,\r\n\r\n isValid: false,\r\n\r\n errors: result.validationErrors[fieldKey],\r\n };\r\n });\r\n //sets the Frist Error Element on form after submit.\r\n\r\n this.setState(stateUpdate, () => {\r\n const fieldEl: HTMLElement = document.querySelector(\r\n \"*[name='\" + ErrorElToBeFocused + \"']\"\r\n );\r\n\r\n fieldEl?.focus();\r\n });\r\n }\r\n\r\n if (result.nextForm) {\r\n let sampleProps: any = this.props;\r\n sampleProps.updateFields(result.nextForm);\r\n //this.setState({ nextForm: result.nextForm });\r\n }\r\n\r\n if (result.success) {\r\n this.resetFieldsState();\r\n }\r\n // checks for email address already exits -> subscribe form\r\n if (\r\n result.success &&\r\n result.redirectUrl === null &&\r\n result.validationErrors\r\n ) {\r\n // throw result.errors\r\n rError.updateRemoveError(true);\r\n window.scroll(0, 0);\r\n throw result.errors[0];\r\n }\r\n\r\n if (result.errors && result.errors.length > 0) {\r\n throw result.errors;\r\n }\r\n\r\n jssForm.setLoader(false);\r\n this.setState({ errors: [] });\r\n })\r\n .catch((error: Error | string[] | string) => {\r\n //setLoader(false);\r\n console.log(\"err: \", error);\r\n if (typeof document != \"undefined\") {\r\n const spinner = document.getElementById(\"spinnerForm\");\r\n spinner.style.display = \"none\";\r\n }\r\n if (error && form.metadata.cssClass == \"login-form\") {\r\n alert(error[0]);\r\n }\r\n if (Array.isArray(error)) {\r\n this.setState({ errors: error });\r\n } else if (typeof error === \"string\") {\r\n //TODO:\r\n // var wrapper = document.createElement(\"div\")\r\n // var p = document.createElement(\"span\")\r\n // var icon = document.createElement(\"pfe-icon\")\r\n // icon.setAttribute(\"icon\", \"ivg-alert-triangle-line\")\r\n // icon.setAttribute(\"size\", \"14\")\r\n // icon.setAttribute(\r\n // \"class\",\r\n // \"sitecore-jss-form__error-list__icon PFElement\"\r\n // )\r\n // wrapper.setAttribute(\"class\", \"sitecore-jss-form__error-list error\")\r\n // p.innerHTML = error\r\n // wrapper.appendChild(icon)\r\n // wrapper.appendChild(p)\r\n // document\r\n // .getElementsByClassName(\r\n // \"sitecore-jss-form__control--emailTextbox\"\r\n // )[0]\r\n // .appendChild(wrapper)\r\n cError.updateCustomError(error);\r\n\r\n this.setState({ errors: [error] });\r\n } else {\r\n this.setState({ errors: [error.message] });\r\n }\r\n\r\n jssForm.setLoader(false);\r\n rError.updateRemoveError(true);\r\n });\r\n }\r\n}\r\n\r\nconst mapDispatchToProps = (dispatch) => {\r\n return {\r\n updateFields: (fields) => dispatch(updateFields(fields)),\r\n setLoader: (val) => dispatch(setLoader(val)),\r\n updateRemoveError: (v) => dispatch(updateRemoveError(v)),\r\n updateCustomError: (c) => dispatch(updateCustomError(c)),\r\n };\r\n};\r\n\r\nexport default connect(null, mapDispatchToProps)(JssForm);\r\n","import React, { useState, useEffect, VFC } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { TSitecoreJssFormProps } from \"./types/SitecoreJssForm.type\";\r\nimport defaultFieldFactory from \"./fieldFactory\";\r\nimport defaultFieldFactoryBrasil from \"./fieldFactoryBrasil\";\r\nimport FieldValidationError from \"./components/fieldValidationError\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport { sitecoreApiHost, sitecoreApiKey } from \"../../temp/config\";\r\nimport { isInternalUrl } from \"../../utils/linkUtils\";\r\nimport JssForm from \"../SitecoreJssForm/components/JssForm/JssForm\";\r\nimport { updateFields } from \"../ReduxImpl/actions/index\";\r\n\r\nconst SitecoreJssFormNew: VFC = (props) => {\r\n const dispatch = useDispatch();\r\n const { fields, history } = props;\r\n let shouldSkip = false;\r\n const iterate = (obj) => {\r\n Object.keys(obj).forEach((key) => {\r\n if (shouldSkip) {\r\n return;\r\n }\r\n if (\r\n typeof obj[key] === \"string\" &&\r\n (obj[key].indexOf(\"formBrazil\") !== -1 || obj[key].indexOf(\"formTurkey\") !== -1)\r\n ) {\r\n shouldSkip = true;\r\n return;\r\n } else if (typeof obj[key] === \"object\" && obj[key] !== null) {\r\n iterate(obj[key]);\r\n }\r\n });\r\n };\r\n iterate(props);\r\n\r\n const [brasilForm, setBrasilForm] = useState(shouldSkip);\r\n\r\n useEffect(() => {\r\n dispatch(updateFields(fields));\r\n }, [fields]);\r\n\r\n return (\r\n <>\r\n <>}\r\n fieldValidationErrorsComponent={FieldValidationError}\r\n // fieldWrapperComponent={fieldWrapper}\r\n onRedirect={(url) => {\r\n if (isInternalUrl(url)) {\r\n history.push(url);\r\n } else {\r\n window.location.href = url;\r\n }\r\n }}\r\n />\r\n \r\n );\r\n};\r\n\r\nexport default withRouter(SitecoreJssFormNew);\r\n","export default class conditionsAggregator {\r\n fields: any;\r\n conditionFields: Array;\r\n conditions: Array;\r\n fieldValues: Array;\r\n constructor(fields: any) {\r\n this.fields = fields;\r\n this.fieldValues = [];\r\n this.conditionFields = [];\r\n this.conditions = [];\r\n this.aggrigate();\r\n }\r\n\r\n buildConditions = (fieldConditions): void => {\r\n fieldConditions.map((fieldItem) => {\r\n //if item is the part of condition\r\n fieldItem.conditions.map((conditionItem) => {\r\n if (this.conditionFields?.indexOf(conditionItem.fieldId) < 0) {\r\n this.conditionFields.push(conditionItem.fieldId);\r\n }\r\n });\r\n\r\n //if item is part of action\r\n fieldItem.actions.map((actionItem) => {\r\n if (this.conditionFields?.indexOf(actionItem.fieldId) < 0) {\r\n this.conditionFields.push(actionItem.fieldId);\r\n }\r\n\r\n //add and arrange all conditions against a certain \"action\" item\r\n // check if that action has been defined first - then either create it or add the condition to it.\r\n if (typeof this.conditions[actionItem.fieldId] === \"undefined\") {\r\n this.conditions[actionItem.fieldId] = [\r\n {\r\n matchTypeId: fieldItem.matchTypeId,\r\n conditions: fieldItem.conditions,\r\n actionTypeId: actionItem.actionTypeId,\r\n },\r\n ];\r\n } else {\r\n this.conditions[actionItem.fieldId].push({\r\n matchTypeId: fieldItem.matchTypeId,\r\n conditions: fieldItem.conditions,\r\n actionTypeId: actionItem.actionTypeId,\r\n });\r\n }\r\n });\r\n });\r\n };\r\n\r\n aggrigate(): void {\r\n this.fields.map((item) => {\r\n //add all items that are part of a condition or the target of an action\r\n if (item.model.conditionSettings.fieldConditions.length > 0) {\r\n this.buildConditions(item.model.conditionSettings.fieldConditions);\r\n this.fieldValues[item.model.conditionSettings.fieldKey] =\r\n item.model.value;\r\n } else {\r\n if (item?.fields !== undefined) {\r\n //item?.fields[0]\r\n for (let i = 0; i < item.fields.length; i++) {\r\n this.buildConditions(\r\n item.fields[i].model.conditionSettings.fieldConditions\r\n );\r\n // if(item.fields[i].model.conditionSettings.fieldConditions.length > 0)\r\n // {\r\n this.fieldValues[item.fields[i].model.conditionSettings.fieldKey] =\r\n item.fields[i].model.value;\r\n //}\r\n }\r\n }\r\n }\r\n\r\n //add all field values to the form\r\n });\r\n }\r\n}\r\n","import {\r\n UPDATE_LANGUAGE,\r\n UPDATE_FORM,\r\n UPDATE_FIELD,\r\n UPDATE_SECTION,\r\n HIDE_BUTTON,\r\n UPDATE_CAPTCHA_STATUS,\r\n SET_LOADER,\r\n REMOVE_ERROR,\r\n CUSTOM_ERROR,\r\n UPDATE_SHOW_SECTION,\r\n} from \"../contants/action-types\";\r\nimport cloneDeep from \"lodash/cloneDeep\";\r\nimport conditionsAggregator from \"./conditionsAggregator\";\r\n\r\nexport interface KeyValuePair {\r\n key: string;\r\n value: any;\r\n}\r\n\r\nexport interface IReduxState {\r\n fields: any;\r\n conditionFields: any;\r\n conditions: any;\r\n fieldValues: any;\r\n hideButton: boolean;\r\n JssFormKey: any;\r\n captcha: boolean;\r\n showsection: boolean;\r\n removeError: boolean;\r\n customError: string;\r\n}\r\n\r\nexport interface IReduxAction {\r\n type: string;\r\n payload: any;\r\n}\r\n\r\nconst initialState = {\r\n originalFields: [],\r\n fields: [],\r\n conditionFields: [],\r\n conditions: [],\r\n fieldValues: [],\r\n hideButton: false,\r\n JssFormKey: null,\r\n captcha: false,\r\n loader: false,\r\n showsection: false,\r\n removeError: false,\r\n customError: \"\",\r\n};\r\n\r\nfunction rootReducer(state = initialState, action: IReduxAction) {\r\n switch (action.type) {\r\n case UPDATE_LANGUAGE: {\r\n let ActionPayload = action.payload;\r\n let aggregator =\r\n ActionPayload.fields[1].fields &&\r\n new conditionsAggregator(ActionPayload.fields[1].fields);\r\n\r\n return Object.assign({}, state, {\r\n originalFields: cloneDeep(action.payload), //Object.assign({},state.originalFields,JSON.parse(JSON.stringify(action.payload))),\r\n fields: cloneDeep(action.payload), //Object.assign({},state.fields,JSON.parse(JSON.stringify(action.payload))),\r\n conditionFields: Object.assign(\r\n {},\r\n state.conditionFields,\r\n aggregator?.conditionFields\r\n ),\r\n conditions: Object.assign({}, state.conditions, aggregator?.conditions),\r\n fieldValues: Object.assign(\r\n {},\r\n state.fieldValues,\r\n aggregator?.fieldValues\r\n ),\r\n JssFormKey: Object.assign(\r\n {},\r\n state.JssFormKey,\r\n Math.floor(Math.random() * 10000)\r\n ),\r\n });\r\n }\r\n case HIDE_BUTTON: {\r\n return { ...state, hideButton: !state.hideButton };\r\n }\r\n\r\n case SET_LOADER: {\r\n return { ...state, loader: action.payload };\r\n }\r\n case UPDATE_FORM: {\r\n return Object.assign({}, state, {\r\n conditionFields: action.payload.conditionFields,\r\n conditions: action.payload.conditions,\r\n fieldValues: action.payload.fieldValues,\r\n });\r\n }\r\n case UPDATE_FIELD: {\r\n return Object.assign({}, state, {\r\n fieldValues: action.payload,\r\n });\r\n }\r\n\r\n case REMOVE_ERROR: {\r\n return { ...state, removeError: action.payload };\r\n }\r\n\r\n case CUSTOM_ERROR: {\r\n return { ...state, customError: action.payload };\r\n }\r\n case UPDATE_SECTION: {\r\n let MutatedFieldCollection = state.fields[\"fields\"][1][\"fields\"];\r\n let originalFieldsCollection1 =\r\n state.originalFields[\"fields\"][1][\"fields\"];\r\n let matchedSection = undefined;\r\n const findSectionField = (array, sectionName) => {\r\n for (let field of array) {\r\n if (field.model.name === sectionName) {\r\n return field;\r\n }\r\n if (field.hasOwnProperty(\"fields\") && field.fields.length > 0) {\r\n for (let innerField of field.fields) {\r\n if (innerField.model.name === sectionName) {\r\n return innerField;\r\n }\r\n }\r\n }\r\n }\r\n\r\n return null;\r\n };\r\n let mutatedSection = findSectionField(\r\n MutatedFieldCollection,\r\n action.payload.name\r\n );\r\n if (action.payload.IsVisible) {\r\n let section = findSectionField(\r\n originalFieldsCollection1,\r\n action.payload.name\r\n );\r\n if (mutatedSection) {\r\n mutatedSection[\"fields\"] = cloneDeep(section[\"fields\"]);\r\n }\r\n } else {\r\n if (mutatedSection) {\r\n mutatedSection[\"fields\"].length = 0;\r\n }\r\n }\r\n\r\n // let Newfields = state.fields;\r\n // let originalFieldsCollection = state.originalFields[\"fields\"][1][\"fields\"];\r\n // let fieldCollection = Newfields[\"fields\"][1][\"fields\"];\r\n // let oldsection = fieldCollection.find((field) => field.model.name === action.payload.name);\r\n // let index = fieldCollection.indexOf(oldsection);\r\n // if(action.payload.name == 'SectionCustomerBrands')\r\n // debugger;\r\n\r\n // if(action.payload.IsVisible)\r\n // {\r\n // let section = state.originalFields[\"fields\"][1][\"fields\"].find((field) => field.model.name === action.payload.name);\r\n // if (index !== -1) {\r\n // fieldCollection[index][\"fields\"] = [...section[\"fields\"]];\r\n // }\r\n\r\n // }\r\n // else\r\n // {\r\n // if (index !== -1) {\r\n // fieldCollection[index][\"fields\"].length = 0;\r\n // }\r\n // }\r\n\r\n state.fields[\"fields\"][1][\"fields\"] = [...MutatedFieldCollection];\r\n\r\n return {\r\n ...state,\r\n fields: state.fields,\r\n };\r\n }\r\n\r\n case UPDATE_CAPTCHA_STATUS: {\r\n return { ...state, captcha: action.payload };\r\n }\r\n\r\n case UPDATE_SHOW_SECTION: {\r\n return { ...state, showsection: action.payload };\r\n }\r\n default: {\r\n return state;\r\n }\r\n }\r\n}\r\n\r\nexport default rootReducer;\r\n","import { createStore,applyMiddleware, compose} from \"redux\";\r\nimport rootReducer from \"../reducers/index\"\r\nimport thunk from \"redux-thunk\";\r\nimport { composeWithDevTools } from 'redux-devtools-extension';\r\n\r\nconst store = createStore(rootReducer, composeWithDevTools(applyMiddleware(thunk)));\r\n\r\nexport default store;\r\n\r\n\r\n","\r\nimport React from \"react\";\r\nimport { withRouter } from \"react-router-dom\";\r\nimport SitecoreJssFormNew from \"../SitecoreJssFormNew\";\r\n\r\n\r\nimport { Provider} from \"react-redux\";\r\nimport store from \"../ReduxImpl/store\";\r\n\r\nconst FormModule = (props) => {\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withRouter(FormModule);\r\n","import * as React from \"react\";\r\nimport { useRef, useEffect, useContext } from \"react\";\r\nimport { Text, Image, RichText, Link } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { useState } from \"react\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { GenerateIdForGA } from \"../../types/helpers\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport { scaleImage } from \"../../utils/scaleImage\";\r\nimport { checkDeviceType } from \"../../utils/checkDeviceType\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from \"../../utils/svgImage\";\r\nimport CommonApi from \"../CommonApi\";\r\n\r\nconst GlobalMenuModule = (props) => {\r\n const commonCtx = useContext(CommonApi);\r\n const leftNavigationList = props?.fields?.LeftNavigationList?.fields?.Links;\r\n const rightNavigationList = props?.fields?.RightNavigationList?.fields?.Links;\r\n const [active, setActive] = useState();\r\n\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n\r\n const [deviceType, setDeviceType] = useState(\"\");\r\n const [windowWidth, setWindowWidth] = useState(null);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\" && typeof navigator !== \"undefined\") {\r\n setDeviceType(checkDeviceType(navigator));\r\n setWindowWidth(window.innerWidth);\r\n }\r\n if (typeof window != \"undefined\") {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setInnerInternalWidth(window.innerWidth);\r\n });\r\n }\r\n\r\n if (typeof window != \"undefined\") {\r\n commonCtx.createSelectLanguage();\r\n }\r\n }, []);\r\n\r\n let foundActive = false;\r\n const arrow = (\r\n \r\n \r\n \r\n \r\n );\r\n\r\n let language = \"EN\";\r\n if (props && props.sitecoreContext && props.sitecoreContext.language) {\r\n language = props.sitecoreContext.language.toUpperCase();\r\n }\r\n\r\n const activeTab = (index) => {\r\n if (typeof document != \"undefined\") {\r\n //if no mega menu open highlight\r\n if (document.getElementsByClassName(\"mega-menu active\").length < 1) {\r\n setActive(index);\r\n }\r\n }\r\n };\r\n\r\n const handleMouseOut = () => {\r\n setActive(null);\r\n };\r\n\r\n const openCloseMegaMenu = (key, item, event) => {\r\n if (typeof document != \"undefined\") {\r\n // if megaMenus open --> close all\r\n if (\r\n event &&\r\n event.target.closest(\".mega-menu\") &&\r\n !event.target.closest(\"li\")\r\n ) {\r\n return;\r\n }\r\n // const megaMenu = document.getElementById(\"mega-menu\" + key);\r\n // if (megaMenu.classList.contains(\"active\")) {\r\n // return;\r\n // }\r\n let megaMenus = document.getElementsByClassName(\"mega-menu active\");\r\n if (megaMenus.length > 0) {\r\n setActive(null);\r\n for (let index = 0; index < megaMenus.length; index++) {\r\n if (megaMenus[index].id !== \"mega-menu\" + key) {\r\n megaMenus[index].classList.remove(\"active\");\r\n }\r\n }\r\n }\r\n }\r\n\r\n // open or close and set active only the right one\r\n if (\r\n document.getElementById(\"mega-menu\" + key).classList.contains(\"active\")\r\n ) {\r\n document.getElementById(\"mega-menu\" + key).classList.remove(\"active\");\r\n } else {\r\n setActive(item);\r\n document.getElementById(\"mega-menu\" + key).classList.add(\"active\");\r\n }\r\n };\r\n\r\n function handleClickOutside(event) {\r\n if (typeof window !== \"undefined\") {\r\n const globalMenu = document.querySelector(\".global-menu-module\");\r\n if (globalMenu && !globalMenu.contains(event.target)) {\r\n setActive(null);\r\n const activeLinks = document.querySelectorAll(\r\n \".global-menu-module .link.active\"\r\n );\r\n activeLinks.forEach((link) => {\r\n link.classList.remove(\"active\");\r\n });\r\n\r\n const activeMegaMenus = document.querySelectorAll(\r\n \".global-menu-module .mega-menu.active\"\r\n );\r\n activeMegaMenus.forEach((menu) => {\r\n menu.classList.remove(\"active\");\r\n });\r\n }\r\n }\r\n }\r\n if (typeof window !== \"undefined\") {\r\n document.addEventListener(\"click\", handleClickOutside);\r\n }\r\n\r\n const getActiveClass = (index, className) =>\r\n active === index ? className : \"\";\r\n\r\n const isCurrentNavigation = (item, className) => {\r\n let yes = false;\r\n\r\n if (typeof window !== \"undefined\" && window && foundActive === false) {\r\n let url = (window.location.pathname + window.location.search)\r\n .trim()\r\n .toLowerCase();\r\n\r\n // console.log(foundActive,className, item?.fields?.Link?.value?.href.trim().toLowerCase() == url, item?.fields?.Link?.value?.href.trim().toLowerCase(),url, item);\r\n\r\n if (\r\n item?.fields?.MainButtonLink?.value?.href.trim().toLowerCase() == url\r\n ) {\r\n // console.log('FOUND:',item);\r\n yes = true;\r\n foundActive = item;\r\n return className;\r\n } else if (item?.fields?.Link?.value?.href.trim().toLowerCase() == url) {\r\n // console.log('FOUND ',item);\r\n yes = true;\r\n foundActive = item;\r\n return className;\r\n } else {\r\n item?.fields?.SubNavigationLinks?.fields?.Links.forEach((element) => {\r\n if (\r\n !yes &&\r\n element?.fields?.Link?.value?.href.trim().toLowerCase() == url\r\n ) {\r\n yes = true;\r\n }\r\n });\r\n if (!yes) {\r\n // console.log('not found: '+item);\r\n return \"\";\r\n } else {\r\n // console.log('found: '+item);\r\n foundActive = item;\r\n return className;\r\n }\r\n }\r\n } else if (foundActive === item) {\r\n return className;\r\n } else {\r\n return \"\";\r\n }\r\n };\r\n\r\n const globalMenuRef = useRef(null);\r\n return (\r\n <>\r\n
    \r\n
    \r\n
    \r\n
      \r\n {leftNavigationList.map((item, i) => {\r\n return item?.fields?.Description ? (\r\n {\r\n activeTab(item);\r\n }} */\r\n key={i}\r\n // onMouseOut={handleMouseOut}\r\n onClick={() => openCloseMegaMenu(i, item, event)}\r\n >\r\n {item?.fields?.Link?.value?.text}\r\n \r\n\r\n openCloseMegaMenu(i, item, event)}\r\n >\r\n
      \r\n {innerInternalWidth <= 640 ||\r\n innerInternalWidth < 1366 ? (\r\n
      \r\n \r\n
      \r\n \r\n \r\n \r\n {item?.fields?.MainButtonLink?.value?.text}\r\n \r\n {arrow}\r\n \r\n
      \r\n
      \r\n {item?.fields?.SubNavigationLinks?.fields?.Links.map(\r\n (el, x) => (\r\n \r\n {item?.fields?.Image?.value?.src ===\r\n undefined ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n {el?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n
      \r\n
      \r\n {item?.fields?.Image?.value?.src === undefined ? (\r\n \"\"\r\n ) : (\r\n
      \r\n \r\n
      \r\n \r\n \r\n \r\n {item?.fields?.SecondaryButton?.value?.href}\r\n \r\n
      \r\n
      \r\n )}\r\n
      \r\n ) : (\r\n
      \r\n
      \r\n \r\n \r\n \r\n {item?.fields?.MainButtonLink?.value?.text}\r\n \r\n {arrow}\r\n \r\n
      \r\n \r\n {item?.fields?.SubNavigationLinks?.fields?.Links.map(\r\n (el, x) => (\r\n \r\n {item?.fields?.Image?.value?.src ===\r\n undefined ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n {el?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n \r\n )\r\n )}\r\n
      \r\n {item?.fields?.Image?.value?.src !== undefined ? (\r\n
      \r\n \r\n
      \r\n \r\n \r\n \r\n {item?.fields?.SecondaryButton?.value?.href}\r\n \r\n
      \r\n
      \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n )}\r\n
    \r\n {item?.fields?.BottomButtonlist?.fields?.Links[0] !==\r\n undefined ? (\r\n
    \r\n {item?.fields?.BottomButtonlist?.fields?.Links.map(\r\n (el, x) => (\r\n \r\n \r\n {el?.fields?.Link?.value?.text}\r\n \r\n \r\n \r\n )\r\n )}\r\n
    \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n ) : item?.fields?.[\"Language Link\"]?.value == true ? (\r\n
  • \r\n \r\n \r\n {language}\r\n {item?.fields?.Link?.value?.linktype === \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n
  • \r\n ) : (\r\n \r\n \r\n \r\n {item?.fields?.Link?.value?.text}\r\n {item?.fields?.Link?.value?.linktype === \"external\" &&\r\n (!item?.fields?.Icon ||\r\n !item?.fields?.Icon?.value ||\r\n item?.fields?.Icon?.value?.svgCode === \"\") ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n );\r\n })}\r\n \r\n \r\n
    \r\n
      \r\n {rightNavigationList.map((item, i) => (\r\n \r\n \r\n \r\n \r\n {item?.fields?.Link?.value?.text}\r\n \r\n {item?.fields?.Link?.value?.linktype !== \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n ))}\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(GlobalMenuModule);\r\n","import React, { useEffect, useState } from 'react';\r\nimport { Link } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { GenerateIdForGA } from \"../../types/helpers\";\r\n\r\nconst IvecoBusMobileMenu = ({ sublinks, mainTitle, themeOption }) => {\r\n // const toggleActiveClass = (event) => {\r\n // const linkToggle = event.currentTarget.querySelector(\".iveco-bus-link-toggle\");\r\n // if (linkToggle) {\r\n // linkToggle.classList.toggle(\"active\");\r\n // }\r\n // };\r\n\r\n return (\r\n
    \r\n

    {mainTitle}

    \r\n {sublinks.map((item, i) => {\r\n return (\r\n
    \r\n \r\n {item?.fields?.[\"Main Title\"]?.value}\r\n \r\n
    \r\n
      \r\n {item?.fields?.Sublinks?.map((el, x) => (\r\n
    • \r\n \r\n {el?.fields?.[\"Main Title\"]?.value}\r\n \r\n
    • \r\n ))}\r\n
    \r\n
    \r\n
    \r\n );\r\n })}\r\n
    \r\n );\r\n};\r\n\r\nexport default IvecoBusMobileMenu;","import * as React from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n Link,\r\n RichText,\r\n Text,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { NavLink, useLocation } from \"react-router-dom\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport { GenerateIdForGA } from \"../../types/helpers\";\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from \"../../utils/svgImage\";\r\nimport { scaleImage } from \"../../utils/scaleImage\";\r\nimport { checkDeviceType } from \"../../utils/checkDeviceType\";\r\nimport IvecoBusMobileMenu from \"./ivecoBusMobileMenu\";\r\n\r\nconst { useEffect, useRef, useState } = React;\r\nfunction useScrollDirection() {\r\n const [scrollDirection, setScrollDirection] = useState(null);\r\n\r\n useEffect(() => {\r\n let lastScrollY = window.pageYOffset;\r\n const updateScrollDirection = () => {\r\n const scrollY = window.pageYOffset;\r\n const direction = scrollY > lastScrollY ? \"down\" : \"up\";\r\n if (\r\n direction !== scrollDirection &&\r\n (scrollY - lastScrollY > 10 || scrollY - lastScrollY < -10)\r\n ) {\r\n setScrollDirection(direction);\r\n }\r\n lastScrollY = scrollY > 0 ? scrollY : 0;\r\n };\r\n window.addEventListener(\"scroll\", updateScrollDirection);\r\n return () => {\r\n window.removeEventListener(\"scroll\", updateScrollDirection);\r\n };\r\n }, [scrollDirection]);\r\n\r\n return scrollDirection;\r\n}\r\n\r\nconst HeaderModule = (props) => {\r\n let currentNav = useLocation().pathname;\r\n const Dissolving = props?.fields?.Dissolving?.value;\r\n const scrollRef = useRef(null);\r\n const [open, setOpen] = useState(false);\r\n\r\n const GlobalMenuLeft =\r\n props?.fields?.[\"Global Menu\"]?.fields?.LeftNavigationList?.fields?.Links;\r\n const GlobalMenuRight =\r\n props?.fields?.[\"Global Menu\"]?.fields?.RightNavigationList?.fields?.Links;\r\n\r\n const FontSizeOfLinksInPx = props?.fields?.FontSizeOfLinksInPx?.value\r\n ? props?.fields?.FontSizeOfLinksInPx?.value\r\n : null;\r\n\r\n const headerNavItems = props?.fields?.[\"Menu Links\"]?.fields?.Links,\r\n navItems = useRef(null),\r\n themeOption = props?.params?.Theme;\r\n\r\n const showBurgerMenu =\r\n headerNavItems?.length > 0 ||\r\n GlobalMenuLeft?.length > 0 ||\r\n GlobalMenuRight?.length > 0;\r\n\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if (typeof document !== \"undefined\") {\r\n document\r\n .querySelectorAll(\".global-menu-links__mobile .link\")\r\n .forEach((element) => {\r\n element.addEventListener(\"click\", () => {\r\n element.querySelector(\".link-toggle\").classList.toggle(\"active\");\r\n });\r\n });\r\n }\r\n if (typeof document !== \"undefined\") {\r\n const navItems = document.querySelectorAll(\"#header-li-element\");\r\n navItems.forEach((element) => {\r\n element.classList.remove(\"link-with-content\");\r\n });\r\n }\r\n if (typeof window != \"undefined\") {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setInnerInternalWidth(window.innerWidth);\r\n });\r\n }\r\n }, []);\r\n\r\n const onBurgerClick = (event) => {\r\n const target = event.currentTarget,\r\n navItemsWrapper = target.nextSibling;\r\n target.classList.toggle(\"open\");\r\n target.parentElement.classList.toggle(\"dark-menu\");\r\n // target.parentElement.parentElement.classList.toggle(\"dark-menu\");\r\n navItemsWrapper.classList.toggle(\"opened\");\r\n document.body.classList.toggle(\"overflow-hidden\");\r\n setOpen(!open);\r\n };\r\n\r\n const scrollDirection = useScrollDirection();\r\n if (typeof document !== \"undefined\") {\r\n scrollRef?.current?.closest(\"header\").classList.add(`navbar-container`);\r\n const heightMegaMenue = document.querySelectorAll(\".navbar-container\");\r\n heightMegaMenue.forEach((element) => {\r\n const headernew = document.querySelector(\".navbar-container\");\r\n if (Dissolving === true) {\r\n headernew?.classList?.add(\"container\");\r\n }\r\n\r\n if (scrollDirection === \"down\" && Dissolving === true) {\r\n headernew?.classList?.add(\"hide\");\r\n headernew?.classList?.remove(\"show\");\r\n } else if (scrollDirection === \"up\" && Dissolving === true) {\r\n headernew?.classList?.add(\"show\");\r\n headernew?.classList?.remove(\"hide\");\r\n }\r\n window.addEventListener(\"scroll\", () => {\r\n if (\r\n window.pageYOffset < scrollRef?.current?.clientHeight &&\r\n element.clientHeight\r\n ) {\r\n document\r\n .querySelector(\".header-bar-container\")\r\n .classList.remove(\"show\");\r\n document.querySelector(\".navbar-container\").classList.remove(\"show\");\r\n }\r\n });\r\n });\r\n }\r\n\r\n const [deviceType, setDeviceType] = useState(\"\");\r\n const [windowWidth, setWindowWidth] = useState(null);\r\n const [active, setActive] = useState();\r\n const [hoveredItem, setHoveredItem] = useState(null);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\" && typeof navigator !== \"undefined\") {\r\n setDeviceType(checkDeviceType(navigator));\r\n setWindowWidth(window.innerWidth);\r\n }\r\n if (typeof window != \"undefined\") {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setInnerInternalWidth(window.innerWidth);\r\n });\r\n }\r\n }, []);\r\n\r\n const showLoaderNavigation = (isInternal) => {\r\n if (\r\n innerInternalWidth < 1136 &&\r\n typeof document != \"undefined\" &&\r\n document &&\r\n document.getElementById(\"burgerMenuHeader\")\r\n ) {\r\n let target = document.getElementById(\"burgerMenuHeader\");\r\n let navItemsWrapper: any = target.nextSibling;\r\n target.classList.toggle(\"open\");\r\n target.parentElement.classList.toggle(\"dark-menu\");\r\n target.parentElement.parentElement.classList.toggle(\"dark-menu\");\r\n navItemsWrapper.classList.toggle(\"opened\");\r\n document.body.classList.toggle(\"overflow-hidden\");\r\n document\r\n .getElementById(\"header-body-document\")\r\n .classList.add(\"header-loading\");\r\n }\r\n if (isInternal && typeof document != \"undefined\" && document) {\r\n const el: any = document.getElementsByClassName(\"header-loader\");\r\n if (el && el.length > 0) el[0].style.display = \"block\";\r\n }\r\n };\r\n\r\n const showOnlyLoaderNavigation = () => {\r\n if (typeof document != \"undefined\" && document) {\r\n document\r\n .getElementById(\"header-body-document\")\r\n .classList.add(\"header-loading\");\r\n const el: any = document.getElementsByClassName(\"header-loader\");\r\n if (el && el.length > 0) el[0].style.display = \"block\";\r\n }\r\n };\r\n\r\n const normalizeString = (str) => {\r\n return str.toLowerCase().replace(/\\//g, \"\");\r\n };\r\n\r\n let foundActive = false;\r\n\r\n const openCloseMegaMenu = (key, item) => {\r\n if (typeof document != \"undefined\") {\r\n // if megaMenus open --> close all\r\n let megaMenus = document.getElementsByClassName(\r\n \"mega-menu-header active\"\r\n );\r\n if (megaMenus.length > 0) {\r\n setActive(null);\r\n for (let index = 0; index < megaMenus.length; index++) {\r\n if (megaMenus[index].id !== \"mega-menu-header\" + key) {\r\n megaMenus[index].classList.remove(\"active\");\r\n }\r\n }\r\n }\r\n }\r\n\r\n // open or close and set active only the right one\r\n if (\r\n document\r\n .getElementById(\"mega-menu-header\" + key)\r\n .classList.contains(\"active\")\r\n ) {\r\n document\r\n .getElementById(\"mega-menu-header\" + key)\r\n .classList.remove(\"active\");\r\n } else {\r\n setActive(item);\r\n document.getElementById(\"mega-menu-header\" + key).classList.add(\"active\");\r\n }\r\n };\r\n\r\n const getActiveClass = (index, className) =>\r\n active === index ? className : \"\";\r\n\r\n const isCurrentNavigation = (item, className) => {\r\n let yes = false;\r\n\r\n if (typeof window !== \"undefined\" && window && foundActive === false) {\r\n let url = (window.location.pathname + window.location.search)\r\n .trim()\r\n .toLowerCase();\r\n\r\n // console.log(foundActive,className, item?.fields?.Link?.value?.href.trim().toLowerCase() == url, item?.fields?.Link?.value?.href.trim().toLowerCase(),url, item);\r\n\r\n if (item?.fields?.Button?.value?.href.trim().toLowerCase() == url) {\r\n // console.log('FOUND:',item);\r\n yes = true;\r\n foundActive = item;\r\n return className;\r\n } else if (item?.fields?.Link?.value?.href.trim().toLowerCase() == url) {\r\n // console.log('FOUND ',item);\r\n yes = true;\r\n foundActive = item;\r\n return className;\r\n } else {\r\n item?.fields?.SubNavigationLinks?.fields?.Links.forEach((element) => {\r\n if (\r\n !yes &&\r\n element?.fields?.Link?.value?.href.trim().toLowerCase() == url\r\n ) {\r\n yes = true;\r\n }\r\n });\r\n if (!yes) {\r\n // console.log('not found: '+item);\r\n return \"\";\r\n } else {\r\n // console.log('found: '+item);\r\n foundActive = item;\r\n return className;\r\n }\r\n }\r\n } else if (foundActive === item) {\r\n return className;\r\n } else {\r\n return \"\";\r\n }\r\n };\r\n\r\n const arrow = (\r\n \r\n \r\n \r\n \r\n );\r\n\r\n const handleMouseEnter = (item) => {\r\n setHoveredItem(item);\r\n };\r\n\r\n const handleMouseLeave = () => {\r\n setHoveredItem(null);\r\n };\r\n\r\n return (\r\n <>\r\n 1136\r\n ? { display: \"none\" }\r\n : {}\r\n }\r\n ref={scrollRef}\r\n >\r\n \r\n {showBurgerMenu ? (\r\n onBurgerClick(event)}\r\n >\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n ) : null}\r\n \r\n
      \r\n {headerNavItems?.map((item, i) => (\r\n
    • \r\n {item?.fields?.Sublinks ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n {item?.fields?.Sublinks ? (\r\n openCloseMegaMenu(i, item)}\r\n >\r\n \r\n {item?.fields?.[\"Main Title\"]?.value}\r\n \r\n \r\n
      \r\n
      \r\n
      \r\n \r\n {item?.fields?.Button?.value?.href && (\r\n \r\n \r\n {item?.fields?.Button?.value?.text}\r\n \r\n {arrow}\r\n \r\n )}\r\n
      \r\n \r\n
      \r\n {item?.fields?.Sublinks?.map((el, x) => (\r\n handleMouseEnter(el)}\r\n >\r\n \r\n \r\n {el?.fields?.[\"Main Title\"]?.value}\r\n \r\n \r\n {arrow}\r\n \r\n \r\n \r\n ))}\r\n
      \r\n
      \r\n {hoveredItem &&\r\n hoveredItem?.fields?.Sublinks?.map((el) => { \r\n return (\r\n \r\n \r\n \r\n {el?.fields?.[\"Main Title\"]?.value}\r\n \r\n \r\n \r\n )}\r\n /* \r\n \r\n \r\n {el?.fields?.[\"Main Title\"]?.value}\r\n \r\n \r\n */\r\n )}\r\n
      \r\n
      \r\n {item?.fields?.Image?.value?.src !== undefined && (\r\n
      \r\n \r\n
      \r\n )}\r\n
      \r\n \r\n \r\n \r\n ) : false ? (\r\n \r\n showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !== \"external\"\r\n )\r\n }\r\n exact\r\n className={item?.fields?.Link?.value?.class}\r\n isActive={() => true}\r\n activeClassName=\"active\"\r\n to={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n style={{\r\n fontSize: FontSizeOfLinksInPx\r\n ? FontSizeOfLinksInPx + \"px\"\r\n : null,\r\n }}\r\n >\r\n {item?.fields?.Link?.value?.class ==\r\n \"thirdcharactercolored\" ? (\r\n <>\r\n {item?.fields?.Link?.value?.text.substring(0, 2)}\r\n \r\n {item?.fields?.Link?.value?.text[2]}\r\n \r\n {item?.fields?.Link?.value?.text.substring(\r\n 4,\r\n item?.fields?.Link?.value?.text.length - 1\r\n )}\r\n \r\n ) : (\r\n item?.fields?.Link?.value?.text\r\n )}\r\n \r\n ) : (\r\n \r\n showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !== \"external\"\r\n )\r\n }\r\n className={\r\n item?.fields?.Link?.value?.class +\r\n //only for DealerPortal we check if the link contains only the virtual folder\r\n (props?.fields?.Activeonsubpages?.value &&\r\n item?.fields?.Link?.value?.href.split(\"/\").length > 2\r\n ? normalizeString(currentNav).includes(\r\n normalizeString(item?.fields?.Link?.value?.href)\r\n )\r\n ? \" active\"\r\n : \"\"\r\n : normalizeString(item?.fields?.Link?.value?.href) ==\r\n normalizeString(currentNav)\r\n ? \" active\"\r\n : \"\")\r\n }\r\n href={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n aria-label=\"_\"\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n style={{\r\n fontSize: FontSizeOfLinksInPx\r\n ? FontSizeOfLinksInPx + \"px\"\r\n : null,\r\n }}\r\n >\r\n {item?.fields?.Link?.value?.class ==\r\n \"thirdcharactercolored\" ? (\r\n <>\r\n {item?.fields?.Link?.value?.text.substring(0, 2)}\r\n \r\n {item?.fields?.Link?.value?.text[2]}\r\n \r\n {item?.fields?.Link?.value?.text.substring(\r\n 3,\r\n item?.fields?.Link?.value?.text.length\r\n )}\r\n \r\n ) : (\r\n item?.fields?.Link?.value?.text\r\n )}\r\n \r\n )}\r\n
    • \r\n ))}\r\n
    \r\n {props?.fields?.[\"Global Menu\"] ? (\r\n
    \r\n
    \r\n
      \r\n {GlobalMenuLeft?.map((item, i) =>\r\n item?.fields?.Description ? (\r\n
    • \r\n

      \r\n {item?.fields?.Link?.value?.text}\r\n \r\n

      \r\n
      \r\n
        \r\n {item?.fields?.SubNavigationLinks?.fields?.Links?.map(\r\n (el, x) => (\r\n
      • \r\n {false ? (\r\n \r\n showLoaderNavigation(\r\n el?.fields?.Link?.value\r\n ?.linktype !== \"external\"\r\n )\r\n }\r\n exact\r\n className=\"links-link\"\r\n key={x}\r\n to={el?.fields?.Link?.value?.href + (\r\n el?.fields?.Link?.value?.querystring ?\r\n el?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n id={GenerateIdForGA(\r\n \"header\",\r\n el?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n \r\n {el?.fields?.Link?.value?.text}\r\n \r\n \r\n ) : (\r\n \r\n showLoaderNavigation(\r\n el?.fields?.Link?.value\r\n ?.linktype !== \"external\"\r\n )\r\n }\r\n className=\"links-link\"\r\n href={el?.fields?.Link?.value?.href + (\r\n el?.fields?.Link?.value?.querystring ?\r\n el?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n key={x}\r\n aria-label=\"_\"\r\n id={GenerateIdForGA(\r\n \"header\",\r\n el?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n \r\n {el?.fields?.Link?.value?.text}\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 showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !==\r\n \"external\"\r\n )\r\n }\r\n exact\r\n className=\"link-simple\"\r\n to={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n {item?.fields?.Link?.value?.text}\r\n {item?.fields?.Link?.value?.linktype ===\r\n \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n ) : (\r\n \r\n showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !==\r\n \"external\"\r\n )\r\n }\r\n className=\"link-simple\"\r\n href={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n aria-label=\"_\"\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n {item?.fields?.Link?.value?.text}\r\n {item?.fields?.Link?.value?.linktype ===\r\n \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )}\r\n
    • \r\n )\r\n )}\r\n
    \r\n
    \r\n
    \r\n
      \r\n {GlobalMenuRight?.map((item, i) => (\r\n
    • \r\n {false ? (\r\n \r\n showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !==\r\n \"external\"\r\n )\r\n }\r\n exact\r\n className=\"link-simple\"\r\n to={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n {item?.fields?.Link?.value?.text}\r\n {item?.fields?.Link?.value?.linktype ===\r\n \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n ) : (\r\n \r\n showLoaderNavigation(\r\n item?.fields?.Link?.value?.linktype !==\r\n \"external\"\r\n )\r\n }\r\n className=\"link-simple\"\r\n href={item?.fields?.Link?.value?.href + (\r\n item?.fields?.Link?.value?.querystring ?\r\n item?.fields?.Link?.value?.querystring : \"\"\r\n )}\r\n aria-label=\"_\"\r\n id={GenerateIdForGA(\r\n \"header\",\r\n item?.fields?.Link?.value?.text\r\n )}\r\n >\r\n \r\n {item?.fields?.Link?.value?.text}\r\n {item?.fields?.Link?.value?.linktype ===\r\n \"external\" &&\r\n item?.fields?.Icon?.value?.svgCode === \"\" ? (\r\n \r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \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 showOnlyLoaderNavigation()}\r\n exact\r\n to={props?.fields?.[\"Logo Link\"]?.value?.href}\r\n id={GenerateIdForGA(\r\n \"header\",\r\n props?.fields?.[\"Logo Link\"]?.value?.text\r\n )}\r\n >\r\n {open ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n ) : (\r\n showOnlyLoaderNavigation()}\r\n field={props?.fields?.[\"Logo Link\"]}\r\n aria-label=\"_\"\r\n id={GenerateIdForGA(\r\n \"header\",\r\n props?.fields?.[\"Logo Link\"]?.value?.text\r\n )}\r\n >\r\n {open ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n )}\r\n
    \r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(HeaderModule);\r\n","import * as React from 'react';\r\nimport {\r\n withSitecoreContext\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport \"./index.scss\";\r\nimport { useState, useEffect } from 'react';\r\n\r\n\r\nconst IFrameModule = (props) => {\r\n const [isRendered, setIsRendered] = useState(false);\r\n const url = props?.fields?.Link?.value?.url;\r\n const height = props?.fields?.height;\r\n const width = props?.fields?.width;\r\n const Fullpage = props?.fields?.Fullpage?.value;\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n useEffect(() => {\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n const myPromise = new Promise((resolve, reject) => {\r\n if(Fullpage == true && innerInternalWidth >= 1136) {\r\n if(typeof document !== 'undefined') {\r\n if (document.readyState !== 'loading') {\r\n document.getElementsByTagName('html')[0].setAttribute('style', 'overflow: hidden');\r\n document.getElementById('root').setAttribute('style', 'overflow: hidden');\r\n } else {\r\n document.addEventListener('DOMContentLoaded', function () {\r\n document.getElementsByTagName('html')[0].setAttribute('style', 'overflow: hidden');\r\n document.getElementById('root').setAttribute('style', 'overflow: hidden');\r\n });\r\n }\r\n if(document.getElementById('root').style.overflow != 'hidden') {\r\n setTimeout(() => {\r\n document.getElementById('root').setAttribute('style', 'overflow: hidden');\r\n }, 300)\r\n }\r\n }\r\n }\r\n resolve('my-promise');\r\n });\r\n myPromise.then(() => { setTimeout(() => {setIsRendered(true);}, 300); })\r\n }, [])\r\n const Includeqs = props?.fields?.Includeqs?.value;\r\n const requrl = props?.fields?.href;\r\n const qs = requrl?.match(/([?])\\S+/g);\r\n const availableQS = qs !== null && qs !== undefined && qs !== '';\r\n let regexUrl = Includeqs && availableQS ? url + qs : url;\r\n \r\n return (\r\n <>\r\n {isRendered == true ? \r\n
    = 1136 ? {height: 'calc(100dvh - 157px)'} : {height: 'calc(100dvh - 148px)'}) : null}>\r\n \r\n
    \r\n :\r\n
    \r\n
    \r\n }\r\n \r\n )\r\n\r\n};\r\nexport default withSitecoreContext()(IFrameModule);","import React, { useState, useEffect } from \"react\";\r\nimport {\r\n Link,\r\n RichText,\r\n withSitecoreContext,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { getCookieValue } from \"../../utils/window.utils\";\r\nimport \"./index.scss\";\r\n\r\nconst LanguageBarModule = (props) => {\r\n const Languages = props?.fields?.Languages;\r\n const [showBar, setShowBar] = useState(true);\r\n const isCookie = getCookieValue(`${props.fields?.CookieName?.value}`);\r\n const targetValue = props?.sitecoreContext?.language;\r\n const sortLanguages = [...Languages];\r\n\r\n useEffect(() => {\r\n if (typeof document !== \"undefined\") {\r\n if (isCookie) {\r\n setShowBar(false);\r\n } else {\r\n setShowBar(true);\r\n }\r\n }\r\n }, []);\r\n\r\n const handleClick = (e) => {\r\n if (typeof document !== \"undefined\") {\r\n let langValue = e.currentTarget.getAttribute(\"data-value\");\r\n document.cookie = `${props.fields?.CookieName?.value}=${langValue}`;\r\n }\r\n };\r\n\r\n sortLanguages.sort((a, b) => {\r\n if (a.fields.Language.value === targetValue) {\r\n return -1;\r\n } else {\r\n return 1;\r\n }\r\n });\r\n\r\n return (\r\n <>\r\n
    \r\n
    \r\n \r\n
    \r\n {sortLanguages.map((item, i) => {\r\n if (\r\n props?.sitecoreContext?.language ===\r\n item?.fields?.Language?.value\r\n ) {\r\n return (\r\n \r\n \r\n {item?.fields?.[\"Link Selected\"]?.value?.text}\r\n \r\n \r\n );\r\n } else {\r\n return (\r\n \r\n \r\n {item?.fields?.[\"Link Not Selected\"]?.value?.text}\r\n \r\n \r\n );\r\n }\r\n })}\r\n
    \r\n
    \r\n setShowBar(false)}>\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(LanguageBarModule);\r\n","import * as React from \"react\";\r\nimport {\r\n Placeholder,\r\n withSitecoreContext,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport \"./index.scss\";\r\nimport { useEffect, useState } from \"react\";\r\n\r\nconst LayoutTwoColumnsModule = (props) => {\r\n var percentage = 50;\r\n if (props && props.params && props.params[\"Left Percentage\"]) {\r\n percentage = props?.params[\"Left Percentage\"];\r\n }\r\n const numberOfColumns = 12;\r\n const howMuchLeftColumn = Math.round((numberOfColumns * percentage) / 100);\r\n const leftColumn = `col-${howMuchLeftColumn}`;\r\n const rightColumn = `col-${numberOfColumns - howMuchLeftColumn}`;\r\n const themeOption =\r\n props?.params?.Theme != null ? props?.params?.Theme : \"light\";\r\n\r\n let isPageHeader;\r\n let length = 0;\r\n\r\n if (typeof document !== \"undefined\") {\r\n isPageHeader = document.getElementsByClassName(\"page-header-main\");\r\n length = isPageHeader.length;\r\n }\r\n\r\n let thereIsSidebar = false;\r\n\r\n props?.rendering?.placeholders?.[\"jss-left\"]?.forEach((element) => {\r\n if (element.componentName == \"SidebarModule\") {\r\n thereIsSidebar = true;\r\n }\r\n });\r\n const bool = typeof window !== \"undefined\" ? window.innerWidth < 1024 : false;\r\n const [isMobile, setIsMobile] = useState(bool);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\") {\r\n window.addEventListener(\r\n \"resize\",\r\n () => {\r\n const ismobile = window.innerWidth < 1024;\r\n\r\n if (ismobile !== isMobile) {\r\n setIsMobile(ismobile);\r\n }\r\n },\r\n false\r\n );\r\n }\r\n }, [isMobile]);\r\n\r\n return (\r\n <>\r\n 0 ? \"page-form\" : \"\"\r\n } ${isMobile ? \"mobile\" : \"\"}`}\r\n id={props?.rendering?.dataSource}\r\n >\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(LayoutTwoColumnsModule);\r\n","import * as React from 'react';\r\nimport { useRef } from 'react';\r\nimport { Text, RichText, Link, Placeholder, withSitecoreContext } from '@sitecore-jss/sitecore-jss-react';\r\nimport { useState, useEffect } from 'react';\r\nimport ModalModule from \"../../react-only-components/ModalModule/ModalModule\";\r\nimport { GenerateIdForGA } from '../../types/helpers';\r\nimport \"./index.scss\";\r\nimport { returnSvgImage } from '../../utils/svgImage';\r\n\r\nconst LinksListModule = (props) => {\r\n\r\n const Search = props?.fields?.Search;\r\n const Default = props?.fields?.Default;\r\n const DefaultLinks = Default?.fields?.Links;\r\n const DefaultTitle = Default?.fields?.Title?.value;\r\n const showSelect = props?.fields?.[\"Hide Selector\"]?.value\r\n const arrow = \r\n \r\n \r\n \r\n\r\n const isExpEditorEnabled = props.sitecoreContext.pageEditing;\r\n const [modalIsOpen, setIsOpen] = React.useState(false);\r\n const [placeholderName, setPlaceholderName] = useState(\"jss-accordion\");\r\n const openModal = (placeholderName) => {\r\n setPlaceholderName(placeholderName);\r\n setIsOpen(true);\r\n document.querySelector(\"body\").classList.add(\"modal-opened\");\r\n document.querySelector(\"body\").style.overflow='hidden'; \r\n };\r\n\r\n const closeModal = () => {\r\n setIsOpen(false);\r\n };\r\n\r\n const shouldCloseOnOverlayClick = true;\r\n\r\n const [selected, setSelected] = useState(DefaultTitle);\r\n const [renderRecord, setRenderRecord] = useState([]);\r\n\r\n useEffect(() => {\r\n if(!Default&&Search){\r\n setSelected(Search[0]?.fields?.Title?.value)\r\n }\r\n }, [])\r\n \r\n useEffect(() => {\r\n if (!selected) return;\r\n\r\n Search.forEach((item) => {\r\n if (selected === item?.fields?.Title?.value) {\r\n setRenderRecord(() => item?.fields?.Links);\r\n }\r\n });\r\n }, [selected]);\r\n\r\n \r\n var urlParams;\r\n if(typeof window !== 'undefined') {\r\n urlParams = new URLSearchParams(window.location.search);\r\n }\r\n var accordioNumber;\r\n var accordionId;\r\n if(urlParams != undefined) {\r\n accordioNumber = urlParams.get('accordionNumber') != undefined && urlParams.get('accordionNumber') != '' ? urlParams.get('accordionNumber') : '';\r\n accordionId = urlParams.get('accordionId') != undefined && urlParams.get('accordionId') != '' ? urlParams.get('accordionId') : '';\r\n }\r\n\r\n useEffect(() => {\r\n if(accordioNumber != '') {\r\n setTimeout(() => {\r\n if(typeof window != \"undefined\") {\r\n document.body.classList.add('modal-opened');\r\n var y = (document.body.scrollHeight / 3);\r\n window.scrollTo(0, (document.body.scrollHeight - y));\r\n openModal(`jss-accordion${accordioNumber}`)\r\n \r\n if (typeof document !== \"undefined\") {\r\n let accordion = document.getElementsByClassName('acc-' + accordioNumber)[0];\r\n if(accordion) {\r\n accordion.classList.add('active');\r\n accordion.scrollIntoView({behavior: \"smooth\"});\r\n }\r\n }\r\n }\r\n }, 500);\r\n }\r\n }, []);\r\n\r\n const linksListRef = useRef(null);\r\n\r\n return (\r\n <>\r\n
    \r\n
    \r\n
    \r\n \r\n \r\n {!showSelect ? \r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
    : \"\"}\r\n
    \r\n
    \r\n {!(Default&&Search) ? \"\" : \r\n (Default ? \r\n (selected === DefaultTitle ?\r\n DefaultLinks.map((item, i) => {\r\n return (\r\n props?.fields?.Open?.value !== true ? (\r\n \r\n {item?.fields?.Link?.value?.text}\r\n {arrow}\r\n ) \r\n : \r\n (
    \r\n openModal(`jss-accordion${i}`)}> {item?.name}\r\n \r\n \r\n
    \r\n ))\r\n }) : \r\n renderRecord.map((item, index) => {\r\n return props?.fields?.Open?.value !== true ? (\r\n \r\n \r\n {item?.fields?.Link?.value?.text}\r\n \r\n {arrow}\r\n \r\n ) : (\r\n
    \r\n openModal(`jss-accordion${index}`)}\r\n >\r\n {\" \"}\r\n {item?.name}\r\n \r\n \r\n
    \r\n );\r\n }))\r\n :\r\n renderRecord.map((item, index) => {\r\n return props?.fields?.Open?.value !== true ? (\r\n \r\n \r\n {item?.fields?.Link?.value?.text}\r\n \r\n {arrow}\r\n \r\n ) : (\r\n
    \r\n openModal(`jss-accordion${index}`)}\r\n >\r\n {\" \"}\r\n {item?.name}\r\n \r\n \r\n
    \r\n );\r\n }) )\r\n } \r\n {!isExpEditorEnabled ? (\r\n \r\n \r\n ) : (\"\")}\r\n
    \r\n
    \r\n
    \r\n \r\n )\r\n};\r\n\r\nexport default withSitecoreContext()(LinksListModule);","import React, { useState } from \"react\";\r\nimport \"./index.scss\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nconst LoadMore = ({ searchResult, pageSize, showMore, setShowMore }) => {\r\n const loadMore = () => {\r\n let tot = showMore + pageSize;\r\n if (tot >= searchResult.length) {\r\n setShowMore(searchResult.length);\r\n } else {\r\n setShowMore(showMore + pageSize);\r\n }\r\n };\r\n\r\n const { t } = useTranslation();\r\n\r\n return (\r\n <>\r\n {showMore < searchResult.length && (\r\n
    \r\n \r\n {t(\"Load More\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default LoadMore;\r\n","import * as React from \"react\";\r\nimport { useState, useEffect, useCallback } from \"react\";\r\nimport PageTitleModule from \"../PageTitleModule\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\n\r\n\r\nconst PageHeaderModule = (props) => {\r\n const data = props.dataFromParent != null ? props.dataFromParent : props;\r\n const [innerInternalWidth, setInnerInternalWidth] = useState(0);\r\n \r\n useEffect(() => {\r\n if(typeof window != 'undefined') {\r\n setInnerInternalWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => { setInnerInternalWidth(window.innerWidth); })\r\n }\r\n }, [])\r\n return (\r\n <>\r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n );\r\n};\r\n\r\nexport default PageHeaderModule;\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport PageHeaderModule from \"../PageHeaderModule\";\r\nimport CommonApi, { CommonApiProvider } from \"../CommonApi\";\r\n\r\ninterface PageHeaderModuleAccessoriesProps extends ComponentProps {}\r\n\r\nconst PageHeaderModuleAccessories = (props) => {\r\n const commonCtx = useContext(CommonApi);\r\n const [categoryID, setCategoryID] = useState(null);\r\n const [bgImage, setBgImage] = useState(null);\r\n const [categoryTranslation, setCategoryTranslation] = useState(null);\r\n\r\n useEffect(() => {\r\n if (\r\n categoryTranslation === null &&\r\n !commonCtx.loading &&\r\n commonCtx.userAuthToken !== null\r\n ) {\r\n const catId = commonCtx.parseUrl(\"category\");\r\n\r\n commonCtx.getCategoryTranslations(catId).then((res) => {\r\n setCategoryTranslation(res);\r\n });\r\n\r\n setCategoryID(catId);\r\n\r\n const bgImage = commonCtx.getUrlCategoryImg(catId, null, null);\r\n\r\n setBgImage(bgImage);\r\n }\r\n });\r\n\r\n if (props && props.fields) {\r\n props.fields[\"Background Image\"].value.src = bgImage;\r\n props.fields.Title.value = categoryTranslation?.Accessory;\r\n props.fields.Description.value = categoryTranslation?.Description;\r\n } else {\r\n let newProps = JSON.parse(JSON.stringify(props));\r\n newProps.fields = {};\r\n newProps.fields[\"Background Image\"] = {};\r\n newProps.fields[\"Background Image\"].value = {};\r\n newProps.fields[\"Background Image\"].value.src = bgImage;\r\n newProps.fields.Title = {};\r\n newProps.fields.Title.value = categoryTranslation?.Accessory;\r\n newProps.fields.Description = {};\r\n newProps.fields.Description.value = categoryTranslation?.Description;\r\n props = newProps;\r\n }\r\n\r\n return ;\r\n};\r\n\r\nexport default withSitecoreContext()(PageHeaderModuleAccessories);\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport src from \"react-select/dist/declarations/src\";\r\nimport { localstorageService } from \"../../utils/window.utils\";\r\n\r\nconst SearchResultsModule = ({ searchResult, showMore }) => {\r\n const commonCtx = useContext(CommonApi);\r\n const { t } = useTranslation();\r\n const toggleFieldSet = (element) => {\r\n element.classList.toggle(\"active\");\r\n };\r\n const [productsCard, setProductsCard] = useState([]);\r\n\r\n const images = [];\r\n\r\n const isMobile =\r\n typeof window != \"undefined\" && window.innerWidth <= 1024 ? true : false;\r\n \r\n\r\n return (\r\n <>\r\n {searchResult?.slice(0, showMore).map((p, index) => {\r\n if (p) {\r\n const classResult = isMobile\r\n ? \"product-card col-4\"\r\n : \"product-card col-3\";\r\n return (\r\n \r\n
    \r\n {\r\n e.preventDefault();\r\n toggleFieldSet(e.currentTarget);\r\n if (commonCtx.checkWishList(p.ID)) {\r\n commonCtx.removeFromWishList(p.ID);\r\n } else {\r\n commonCtx.addToWishList(p.ID);\r\n }\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n { \r\n event.currentTarget.src = commonCtx.missingImg.default}}\r\n alt={p.xp?.ProductTranslations?.PartName}\r\n />\r\n
    \r\n

    \r\n \r\n {p.xp?.CategoryTranslations?.Accessory}\r\n \r\n

    \r\n
    \r\n {p.xp?.ProductTranslations?.PartName}\r\n
    \r\n \r\n {t(\"IVGLoadMore\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default SearchResultsModule;\r\n","import React, { useContext, useEffect, useRef, useState } from \"react\";\r\nimport { GenerateIdForGA, isHTML } from \"../../types/helpers\";\r\nimport {\r\n Text,\r\n Image,\r\n withSitecoreContext,\r\n Placeholder,\r\n RichText,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport LoadMore from \"../LoadMore\";\r\nimport SearchResults from \"../SearchResultsModule\";\r\nimport { scaleImage } from \"../../utils/scaleImage\";\r\nimport { checkDeviceType } from \"../../utils/checkDeviceType\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport { Product } from \"ordercloud-javascript-sdk\";\r\nimport { localstorageService } from \"../../utils/window.utils\";\r\n\r\nconst SearchModule = (props) => {\r\n const localhost =\r\n typeof window != \"undefined\"\r\n ? window.location.hostname != \"localhost\"\r\n ? false\r\n : true\r\n : false;\r\n\r\n const commonCtx = useContext(CommonApi);\r\n const [isSearchPage, setIsSearchPage] = useState(\r\n typeof window != \"undefined\" &&\r\n props?.fields?.apidata?.searchPage?.indexOf(\r\n commonCtx?.getContext()?.itemPath\r\n ) > 0\r\n ? true\r\n : false\r\n );\r\n const [absoluteSearchPageUrl, setAbsoluteSearchUrl] = useState(\r\n localhost\r\n ? \"http://localhost:3000/en/accessories/SearchPage\"\r\n : props?.fields?.apidata?.absoluteSearchPageUrl\r\n );\r\n const [searchUrl, setSearchUrl] = useState(\r\n localhost\r\n ? \"http://localhost:3000/en/accessories/SearchPage\"\r\n : props?.fields?.apidata?.searchUrl\r\n );\r\n const [searchResult, setSearchResults] = useState([]);\r\n const [loadingResults, setLoadingResults] = useState(false);\r\n const [showMore, setShowMore] = useState(0);\r\n const [noResults, setNoResults] = useState(false);\r\n const numberOfResults = searchResult.length;\r\n let currentUrlParams: any;\r\n let valueqT = \"\";\r\n if (typeof window !== \"undefined\") {\r\n currentUrlParams = new URLSearchParams(window.location.search);\r\n valueqT = new URLSearchParams(window.location.search).get(\"text\")\r\n ? new URLSearchParams(window.location.search).get(\"text\")\r\n : \"\";\r\n }\r\n const [qT, setValueQt] = useState(valueqT);\r\n const handleChange = (e) => {\r\n if (typeof window != \"undefined\") {\r\n if (\r\n window.location.pathname.indexOf(searchUrl) == -1 &&\r\n e.target.value.length > 2\r\n ) {\r\n searchProducts();\r\n }\r\n setValueQt(e.target.value);\r\n }\r\n };\r\n let baseUrl = \"\";\r\n if (typeof window !== \"undefined\") {\r\n baseUrl = window.location.origin;\r\n }\r\n\r\n useEffect(() => {\r\n setShowMore(\r\n commonCtx.pageSize < searchResult.length\r\n ? commonCtx.pageSize\r\n : searchResult.length\r\n );\r\n }, [searchResult]);\r\n\r\n const activeFieldSet = () => {\r\n if (typeof document != undefined) {\r\n document.getElementById(\"searchFieldset\").classList.add(\"active\");\r\n }\r\n };\r\n const removeActiveFieldSet = () => {\r\n if (typeof document != undefined) {\r\n document.getElementById(\"searchFieldset\").classList.remove(\"active\");\r\n }\r\n };\r\n const onInputSearchKeyup = (e) => {\r\n if (e.keyCode == \"13\") {\r\n // searchProducts();\r\n }\r\n if (\r\n (document.getElementById(\"searchFieldsetInput\") as HTMLInputElement).value\r\n .length > 0\r\n ) {\r\n document.getElementById(\"searchInputCrossSvg\").style.display = \"block\";\r\n } else {\r\n document.getElementById(\"searchInputCrossSvg\").style.display = \"none\";\r\n }\r\n };\r\n\r\n const goToSearchPage = () => {\r\n if (typeof window !== \"undefined\") {\r\n window.location.href = absoluteSearchPageUrl + \"?text=\" + qT;\r\n }\r\n };\r\n\r\n const searchProducts = () => {\r\n const valSearch = (\r\n document.getElementById(\"searchFieldsetInput\") as HTMLInputElement\r\n ).value;\r\n\r\n let nameSearch =\r\n \"xp.Translations.\" +\r\n localstorageService().getItem(\"sitecoreLanguage\") +\r\n \".PartName\";\r\n\r\n if (valSearch && valSearch != \"\") {\r\n setLoadingResults(true);\r\n commonCtx\r\n .getProductsBySearchTerm({\r\n search: \"%\" + valSearch + \"%\",\r\n searchOn: [\"ID\", nameSearch],\r\n searchType: \"ExactPhrasePrefix\",\r\n sortBy: [\"Name\"],\r\n filters: {\r\n Active: true,\r\n },\r\n })\r\n .then((products: Product[] | undefined) => {\r\n if (!products || products.length === 0) {\r\n setSearchResults([]);\r\n commonCtx.setLoading(false);\r\n setLoadingResults(false);\r\n setNoResults(true);\r\n } else {\r\n setNoResults(false);\r\n commonCtx.setLoading(false);\r\n let productList = products as Product[];\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getCategoryTranslations(productList[index].xp.Category)\r\n ?.then((translation) => {\r\n productList[index].xp.CategoryTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n commonCtx.setLoading(false);\r\n });\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getProductTranslations(productList[index].ID, false)\r\n ?.then((translation) => {\r\n productList[index].xp.ProductTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n commonCtx.setLoading(false);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises).then((data) => {\r\n setSearchResults(productList);\r\n setLoadingResults(false);\r\n });\r\n });\r\n }\r\n })\r\n .catch(() => {\r\n setNoResults(false);\r\n setLoadingResults(false);\r\n commonCtx.setLoading(false);\r\n });\r\n }\r\n };\r\n\r\n const clearInputSearch = () => {\r\n if (typeof document !== \"undefined\" && typeof navigator !== \"undefined\") {\r\n (\r\n document.getElementById(\"searchFieldsetInput\") as HTMLInputElement\r\n ).value = \"\";\r\n setValueQt(\"\");\r\n setSearchResults([]);\r\n searchProducts();\r\n commonCtx.setProductsSearch([]);\r\n commonCtx.changeFilter({}, \"text\");\r\n }\r\n };\r\n\r\n const searchRef = useRef(null);\r\n\r\n const { t } = useTranslation();\r\n\r\n const [deviceType, setDeviceType] = useState(\"\");\r\n const [windowWidth, setWindowWidth] = useState(null);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\" && typeof navigator !== \"undefined\") {\r\n setDeviceType(checkDeviceType(navigator));\r\n setWindowWidth(window.innerWidth);\r\n }\r\n }, []);\r\n\r\n return (\r\n <>\r\n \r\n
    \r\n
    \r\n

    \r\n {props?.fields?.apidata?.searchTitle}\r\n

    \r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n {!isSearchPage && loadingResults === true && (\r\n
    \r\n
    \r\n
    \r\n )}\r\n\r\n {!isSearchPage && loadingResults === false && (\r\n <>\r\n
    \r\n {numberOfResults > 0 ? (\r\n \r\n ) : (\r\n <>\r\n {noResults && (\r\n
    \r\n
    \r\n {t(\"IVGCorporateNoDocuments\")}{\" \"}\r\n
    \r\n
    \r\n )}\r\n \r\n )}\r\n
    \r\n \r\n \r\n )}\r\n
    \r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default withSitecoreContext()(SearchModule);\r\n","import React, { useContext, useEffect, useRef, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport Select from \"react-select\";\r\nimport \"./index.scss\";\r\nimport LoadMore from \"../LoadMore\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport { Product } from \"ordercloud-javascript-sdk\";\r\nimport SearchResults from \"../SearchResultsModule\";\r\nimport Pagination from \"../Pagination\";\r\n\r\ninterface SearchWithFiltersProps extends ComponentProps {}\r\n\r\nconst SearchWithFilters = (props: SearchWithFiltersProps) => {\r\n const commonCtx = useContext(CommonApi);\r\n const [firstLoad, setFirstLoad] = useState(false);\r\n const [isLoading, setIsLoading] = useState(commonCtx.loadingProducts);\r\n const [windowWidth, setWindowWidth] = useState(0);\r\n const [selectedOptions, setSelectedOptions] = useState([]);\r\n const [isModal, setModal] = useState(false);\r\n const modalRef = useRef(null);\r\n const previousScrollOffset = useRef(0);\r\n\r\n var activeFilters = \"?\"; //da inserire parametri da url\r\n interface versionOption {\r\n readonly value: string;\r\n readonly label: string;\r\n }\r\n\r\n useEffect(() => {\r\n if (commonCtx.userAuthToken !== null) {\r\n let currentUrlParams = new URLSearchParams(window.location.search);\r\n commonCtx.getSpecificFilter(\r\n (!!currentUrlParams.toString() ? \"?\" : \"\") + currentUrlParams.toString()\r\n );\r\n commonCtx.searchProducts(currentUrlParams, commonCtx.pageSelected);\r\n setFirstLoad(true);\r\n if (typeof window != \"undefined\") {\r\n setWindowWidth(window.innerWidth);\r\n window.addEventListener(\"resize\", () => {\r\n setWindowWidth(window.innerWidth);\r\n });\r\n }\r\n }\r\n }, [commonCtx.pageSelected]);\r\n\r\n const { t } = useTranslation();\r\n\r\n function getDefaultValue(name) {\r\n let currentUrlParams = new URLSearchParams(window.location.search);\r\n return {\r\n value:\r\n name && currentUrlParams.get(name) ? currentUrlParams.get(name) : \"\",\r\n label:\r\n name && currentUrlParams.get(name)\r\n ? t(\"IVG\" + currentUrlParams.get(name))\r\n : \"\",\r\n };\r\n }\r\n\r\n const results = [];\r\n const resultsCheckboxes = [];\r\n\r\n const handleChangeFilter = (event, filterName) => {\r\n commonCtx.setPageSelected(1);\r\n commonCtx.changeFilter(event, filterName);\r\n };\r\n\r\n const handleChangeCheckbox = (option, filterName) => {\r\n if (modalRef.current) {\r\n previousScrollOffset.current = modalRef?.current?.scrollTop;\r\n }\r\n\r\n const index = selectedOptions.findIndex(\r\n (item) => item.filterName === filterName\r\n );\r\n\r\n if (index !== -1 && selectedOptions[index].option.value === option.value) {\r\n const updatedOptions = [...selectedOptions];\r\n updatedOptions.splice(index, 1);\r\n setSelectedOptions(updatedOptions);\r\n } else {\r\n const updatedOption = { option, filterName };\r\n setSelectedOptions([\r\n ...selectedOptions.filter((item) => item.filterName !== filterName),\r\n updatedOption,\r\n ]);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n if (modalRef.current) {\r\n modalRef.current.scrollTop = previousScrollOffset.current;\r\n }\r\n }, [selectedOptions]);\r\n\r\n const handleCloseModal = () => {\r\n setModal(false);\r\n // setSelectedOptions([]);\r\n };\r\n\r\n const handleConfirmFilters = () => {\r\n selectedOptions.forEach((selectedOption) => {\r\n const { option, filterName } = selectedOption;\r\n commonCtx.changeFilter(option, filterName);\r\n });\r\n\r\n setModal(false);\r\n };\r\n\r\n // console.log(selectedOptions);\r\n\r\n const Modal = () => {\r\n return (\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n
    \r\n {resultsCheckboxes.map((f, key) => {\r\n return f;\r\n })}\r\n
    \r\n \r\n {t(\"IVGApplica\")}\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 handleOpenModal = () => {\r\n setModal(true);\r\n\r\n selectedOptions.forEach((selectedOption) => {\r\n const { filterName } = selectedOption;\r\n commonCtx.changeFilter(null, filterName);\r\n });\r\n };\r\n\r\n commonCtx.filters?.forEach((f, key) => {\r\n results.push(\r\n
    \r\n

    {t(\"IVG\" + f.Name)}

    \r\n handleChangeFilter(e, f.Name)}\r\n options={getOptions(f.Values, f.Name)}\r\n placeholder={t(\"IVGSeleziona\")}\r\n defaultValue={getDefaultValue(f.Name)}\r\n className=\"select-list\"\r\n />\r\n
    \r\n );\r\n\r\n resultsCheckboxes.push(\r\n
    \r\n

    {t(\"IVG\" + f.Name)}

    \r\n
    \r\n {getOptions(f.Values, f.Name).map((option, index) => (\r\n
    \r\n {\r\n handleChangeCheckbox(option, f.Name);\r\n }}\r\n checked={selectedOptions.some(\r\n (item) =>\r\n item.filterName === f.Name &&\r\n item.option.value === option.value\r\n )}\r\n />\r\n \r\n
    \r\n ))}\r\n
    \r\n
    \r\n );\r\n });\r\n\r\n function getOptions(options, name) {\r\n let opt = [];\r\n for (var i = 0; i < options.length; i++) {\r\n let label;\r\n /* if (name == \"Category\") {\r\n let categoryTranslations = commonCtx.getCategoryTranslations(\r\n options[i].Value.toUpperCase()\r\n );\r\n label = categoryTranslations?.Family\r\n ? categoryTranslations?.Family\r\n : t(options[i].Value);\r\n }else \r\n if (name == \"Year\") {\r\n label = options[i].Value;\r\n } else {*/\r\n label = t(\"IVG\" + options[i].Value);\r\n // }\r\n opt.push({ value: options[i].Value, label: label });\r\n }\r\n opt.sort((a, b) => a.label.localeCompare(b.label));\r\n return opt;\r\n }\r\n\r\n const toggleFieldSet = (element) => {\r\n element.classList.toggle(\"active\");\r\n };\r\n\r\n if (commonCtx.loading) {\r\n return (\r\n
    \r\n
    \r\n
    \r\n );\r\n } else {\r\n return (\r\n \r\n {isModal && }\r\n {commonCtx.filters.length == 0 &&
    }\r\n {commonCtx.filters.length > 0 && (\r\n
    \r\n <>\r\n {\" \"}\r\n {windowWidth > 1024 ? (\r\n <>\r\n

    {t(\"IVGFilter\")}

    \r\n
    \r\n {results.map((f, key) => {\r\n return f;\r\n })}\r\n
    \r\n \r\n ) : (\r\n \r\n {t(\"IVGFiltra\")}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n )}\r\n \r\n
    \r\n )}\r\n <>\r\n
    \r\n {commonCtx.filters.length > 0 &&\r\n !isLoading &&\r\n commonCtx.products?.length > 0 ? (\r\n \r\n ) : commonCtx.filters.length > 0 &&\r\n !isLoading &&\r\n commonCtx.products?.length == 0 ? (\r\n <>\r\n {\r\n
    \r\n
    \r\n {t(\"IVGCorporateNoDocuments\")}{\" \"}\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 \r\n );\r\n }\r\n};\r\n\r\nexport default SearchWithFilters;\r\n","import React, { useState, VFC, FocusEvent, ChangeEvent } from \"react\"\r\n\r\nimport { TBaseTextField } from \"../../types/BaseTextField.type\"\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\"\r\nimport { updateRemoveError, updateCustomError } from \"../../../ReduxImpl/actions/index\"\r\nimport { useDispatch, useSelector } from \"react-redux\"\r\n\r\nconst BaseTextField: VFC = (props) => {\r\n const { field, type, tracker } = props\r\n const [hasFocus, setHasFocus] = useState(false)\r\n const [value, setValue] = useState(props.value)\r\n const hasValueOrFocus = hasFocus || value !== \"\"\r\n const hasAnyError = !!props.errors?.length\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent\r\n const label = field.model.title\r\n const id = field.valueField.id\r\n const name = field.valueField.name \r\n const emailRegex = /^\\w+([\\+.-]?\\w+)*@\\w+([\\.-]?\\w+)*(\\.\\w{2,3})+$/;\r\n const removeError = useSelector((state: IReduxState) => state.removeError)\r\n const customError = useSelector((state: IReduxState) => state.customError)\r\n const hasCustomError = !!customError\r\n const dispatch = useDispatch()\r\n // const [errorCount, setErrorCount] = useState(0)\r\n\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value)\r\n setHasFocus(true)\r\n if (removeError) {\r\n // setErrorCount(1)\r\n dispatch(updateCustomError(\"\"))\r\n }\r\n }\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value)\r\n setHasFocus(false)\r\n }\r\n\r\n const onChange = (e: ChangeEvent) => {\r\n setValue(e.target.value)\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, [])\r\n if (e.target.type == \"email\") {\r\n if (e.target.value.match(emailRegex) && e.target.value) {\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, [])\r\n } else {\r\n setHasFocus(true)\r\n\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, [\r\n \"Invalid email address\",\r\n ])\r\n }\r\n }\r\n // dispatch(removeError(!removeError))\r\n }\r\n\r\n return (\r\n \r\n \r\n {label}\r\n \r\n \r\n {field.model.name === \"EmailText\" && removeError && hasCustomError ?
      {customError}
    : \"\"}\r\n\r\n\r\n \r\n \r\n )\r\n}\r\n\r\nexport default BaseTextField\r\n","import React, { VFC } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { StringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport BaseTextField from \"../baseTextField\";\r\n\r\nconst TextField: VFC> = (props) => (\r\n \r\n);\r\n\r\nexport default TextField;\r\n","import React, { VFC } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { StringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport BaseTextField from \"../baseTextField\";\r\n\r\nconst EmailField: VFC> = (props) => (\r\n \r\n);\r\n\r\nexport default EmailField;\r\n","import React, { VFC } from \"react\";\r\n\r\nimport BaseTextField from \"../baseTextField\";\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { NumberInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\n\r\nconst NumberField: VFC> = (props) => (\r\n \r\n);\r\n\r\nexport default NumberField;\r\n","import React, { VFC } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { StringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport BaseTextField from \"../baseTextField\";\r\n\r\nconst TelephoneField: VFC> = (props) => (\r\n \r\n);\r\n\r\nexport default TelephoneField;\r\n","import React, { useState, VFC, FocusEvent, ChangeEvent } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { StringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\n\r\nconst PasswordField: VFC> = (props) => {\r\n const { field, tracker } = props;\r\n const [hasFocus, setHasFocus] = useState(false);\r\n const [hasVisiblePassword, setHasVisiblePassword] = useState(false);\r\n const [value, setValue] = useState(props.value);\r\n const hasValueOrFocus = hasFocus || value !== \"\";\r\n const hasAnyError = !!props.errors?.length;\r\n const id = field.valueField.id;\r\n const label = field.model.title;\r\n const name = field.valueField.name;\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value);\r\n setHasFocus(true);\r\n };\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value);\r\n setHasFocus(false);\r\n };\r\n\r\n const onChange = (e: ChangeEvent) => {\r\n setValue(e.target.value);\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, []);\r\n };\r\n\r\n return (\r\n \r\n \r\n {label}\r\n \r\n \r\n setHasVisiblePassword(!hasVisiblePassword)}\r\n >\r\n {hasVisiblePassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default PasswordField;\r\n","import React, { useState, VFC, FocusEvent, ChangeEvent } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { MultiLineStringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\n\r\nconst MultipleLineTextField: VFC<\r\n ValueFieldProps\r\n> = (props) => {\r\n const { field, tracker } = props;\r\n const [hasFocus, setHasFocus] = useState(false);\r\n const hasValueOrFocus = hasFocus || props.value !== \"\";\r\n const hasAnyError = !!props.errors?.length;\r\n const label = field.model.title;\r\n const id = field.valueField.id;\r\n const name = field.valueField.name;\r\n const rows = field.model.rows;\r\n const maxLength = field.model.maxLength ? field.model.maxLength : 255;\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value);\r\n setHasFocus(true);\r\n };\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value);\r\n setHasFocus(false);\r\n };\r\n\r\n const onChange = (e: ChangeEvent) => {\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, []);\r\n };\r\n\r\n return (\r\n \r\n \r\n {label}\r\n \r\n \r\n {props.value}\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default MultipleLineTextField;\r\n","import React, { VFC, FocusEvent, ChangeEvent, useState } from \"react\"\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\"\r\n\r\nconst CheckboxField: VFC = (props) => {\r\n const { field, tracker } = props\r\n const hasAnyError = !!props.errors?.length\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent\r\n const label = field.model.title\r\n const id = field.valueField.id\r\n const name = field.valueField.name\r\n const [IsChecked, ChangedChecked] = useState(props.value)\r\n\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value)\r\n }\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value)\r\n }\r\n\r\n const onChange = (e: ChangeEvent) => {\r\n ChangedChecked(e.target.checked?.toString())\r\n props.onChange(\r\n field.valueField.name,\r\n e.target.checked?.toString(),\r\n props.isValid,\r\n []\r\n )\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\nexport default CheckboxField\r\n","import React, {\r\n ChangeEvent,\r\n useState,\r\n ChangeEventHandler,\r\n VFC,\r\n FocusEvent,\r\n Component,\r\n useEffect,\r\n} from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport {\r\n getLayoutServiceData,\r\n UpdateConditionalFieldValue,\r\n UpdateShowSectionStatus,\r\n} from \"../../../ReduxImpl/actions/index\";\r\nimport { ListFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { DropdownListViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport { withRouter, useHistory } from \"react-router-dom\";\r\n\r\nconst Dropdownfield: VFC> = (props) => {\r\n const { field, tracker } = props;\r\n const [hasFocus, setHasFocus] = useState(false);\r\n const hasAnyError = !!props.errors?.length;\r\n const [value, setDdlValue] = useState(props.value);\r\n const hasValueOrFocus = hasFocus || value.length !== 0;\r\n\r\n var options = props.field.model.items.map((x, index) => (\r\n \r\n {x.text}\r\n \r\n ));\r\n if (field.model.showEmptyItem) {\r\n options.unshift();\r\n }\r\n const label = field.model.title;\r\n const id = field.valueField.id;\r\n const name = field.valueField.name;\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n\r\n let fieldValues = useSelector((state: IReduxState) => state.fieldValues);\r\n\r\n /**\r\n * THIS IS FALLBACK LANG\r\n */\r\n // const supportedLang = ['en', 'it-IT'];\r\n // const defaultLang = 'en';\r\n // const getFallbackLang = (lang)=>{\r\n // if(lang){\r\n // const isSupported = supportedLang.some((l)=> l === lang )\r\n // return isSupported?lang:defaultLang;\r\n // }\r\n\r\n // return defaultLang;\r\n\r\n // }\r\n const getCookieValue = (name) => {\r\n let result = null;\r\n if (typeof document !== \"undefined\") {\r\n result = document.cookie.match(\r\n \"(^|[^;]+)\\\\s*\" + name + \"\\\\s*=\\\\s*([^;]+)\"\r\n );\r\n }\r\n return result ? result.pop() : \"\";\r\n };\r\n\r\n const onChange = (e: any): void => {\r\n const currentLang: string = e.target.value;\r\n\r\n fieldValues[field.model[\"conditionSettings\"].fieldKey] = e.target.value;\r\n\r\n if (field.model.name === \"LanguageDropdownList\") {\r\n var d = new Date();\r\n d.setTime(d.getTime() + 5 * 24 * 60 * 60 * 1000);\r\n var expires = \"expires=\" + d.toUTCString();\r\n //getLayoutServiceData(dispatch, e.target.value)\r\n const currentPath = history?.location?.pathname;\r\n //const prevLang = localStorage.getItem(\"lang\");\r\n const prevLang = getCookieValue(\"corporate#lang\");\r\n //localStorage.setItem(\"lang\",currentLang);\r\n if (typeof document !== \"undefined\") {\r\n document.cookie =\r\n \"corporate#lang=\" + currentLang + \";path=/;\" + expires;\r\n }\r\n //history.push(currentPath,{params:{forceReload : prevLang!=currentLang ? true : false}});\r\n // window.location.reload()\r\n\r\n dispatch(UpdateShowSectionStatus(false));\r\n } else if (field.model[\"conditionSettings\"].fieldKey in fieldValues) {\r\n if (field.model.name === \"LawUnderDropdownList\" && e.target.value == \"\") {\r\n dispatch(UpdateShowSectionStatus(false));\r\n } else if (field.model.name !== \"CountryDropdownList\") {\r\n dispatch(UpdateShowSectionStatus(true));\r\n }\r\n\r\n dispatch(UpdateConditionalFieldValue(fieldValues));\r\n }\r\n setDdlValue(e.target.value);\r\n\r\n props.onChange(field.valueField.name, e.target.value, props.isValid, []);\r\n };\r\n\r\n //TODO:\r\n const onFocus = (e: FocusEvent) => {\r\n tracker.onFocusField(field, e.target.value);\r\n setHasFocus(true);\r\n };\r\n\r\n const onBlur = (e: FocusEvent) => {\r\n tracker.onBlurField(field, e.target.value);\r\n setHasFocus(false);\r\n };\r\n\r\n const getDdlValue = (propsvalue: any): any => {\r\n if (Array.isArray(propsvalue)) {\r\n return props.value.length > 0 ? props.value[0] : \"\";\r\n } else {\r\n return props.value;\r\n }\r\n };\r\n\r\n const getDropdownVal = () => {\r\n if (field.model.name === \"LanguageDropdownList\") {\r\n return getCookieValue(\"corporate#lang\") || value;\r\n }\r\n\r\n return value;\r\n };\r\n\r\n return (\r\n \r\n {field.model.name === \"LanguageDropdownList\" ? (\r\n
    {label}
    \r\n ) : (\r\n \r\n {label}\r\n \r\n )}\r\n\r\n \r\n {options}\r\n \r\n\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Dropdownfield;\r\n","export const ACTION_CONTANTS = {\r\n SHOW: \"{AAE07A52-46A4-49EF-98B0-C2595BAC2382}\",\r\n HIDE: \"{7F58C8DD-D7C0-4FB7-BB44-8EC6B5E1C3D9}\",\r\n ENABLE: \"{5744A87E-E32C-42CC-862F-96842A0202BB}\",\r\n DISABLE: \"{C698C993-549E-486A-A09C-BB8D830DA958}\"\r\n}\r\n\r\nexport const MATCH_TYPE_CONTANTS = {\r\n ANY: \"{365C94DA-C1CD-4783-A91D-0D17A16C7117}\",\r\n ALL: \"{4E50C172-7EA6-4989-82C3-75F24F80EF72}\"\r\n}\r\n\r\nexport const OPERATOR_CONSTANTS = {\r\n STARTS_WITH: \"{FD10F291-3C2E-4AE7-8A67-2F8271CB3DF2}\",\r\n IS_EQUAL_TO: \"{1D38B217-A2EE-4E7B-B6ED-13E751462FEB}\",\r\n IS_NOT_EQUAL_TO: \"{49F47E77-E8C5-46F9-BF39-78D6B0D40B48}\"\r\n}","import { OPERATOR_CONSTANTS, MATCH_TYPE_CONTANTS, ACTION_CONTANTS } from './ConditionalRenderingContants';\r\n\r\n\r\n\r\nexport const checkConditions = (fieldValues, conditions) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < conditions.length; i += 1) {\r\n shouldHide = matchingTypes(fieldValues, conditions[i]);\r\n \r\n if (shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n};\r\n\r\nconst handleActionType = (actionType, value) => {\r\n const actions = {\r\n [ACTION_CONTANTS[\"SHOW\"]]: () => {\r\n return !value;\r\n },\r\n [ACTION_CONTANTS[\"HIDE\"]]: () => {\r\n return value;\r\n }\r\n }\r\n\r\n return actions[actionType]();\r\n}\r\n\r\nconst validate = (operator, value, valueAgainst) => {\r\n const operators = {\r\n // [OPERATOR_CONSTANTS[\"CONTAINS\"]]: () => {\r\n // const regex = RegExp(`${valueAgainst}`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_CONTAIN\"]]: () => {\r\n // const regex = RegExp(`^((?!${valueAgainst}).)*$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"STARTS_WITH\"]]: () => {\r\n // const regex = RegExp(`^${valueAgainst}`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_START_WITH\"]]: () => {\r\n // const regex = RegExp(`^(?!${valueAgainst}).*$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"ENDS_WITH\"]]: () => {\r\n // const regex = RegExp(`${valueAgainst}$`);\r\n // return regex.test(value);\r\n // },\r\n // [OPERATOR_CONSTANTS[\"DOES_NOT_END_WITH\"]]: () => {\r\n // const regex = RegExp(`^(.(?!${valueAgainst}$))+$`);\r\n\r\n // if (value === '') { // regex fails to test an empty string\r\n // return true;\r\n // }\r\n\r\n // return regex.test(value);\r\n // },\r\n [OPERATOR_CONSTANTS[\"IS_EQUAL_TO\"]]: () => {\r\n // valueAgainst string needs to be converted to boolean if it's coming from a checkbox\r\n const compareAgainst = valueAgainst === 'true' ? true : valueAgainst;\r\n return value == compareAgainst;\r\n },\r\n [OPERATOR_CONSTANTS[\"IS_NOT_EQUAL_TO\"]]: () => {\r\n if(!value)\r\n {\r\n return false;\r\n }\r\n\r\n return value !== valueAgainst;\r\n },\r\n // [OPERATOR_CONSTANTS[\"IS_GREATER_THAN\"]]: () => {\r\n // return value > valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_GREATER_THAN_OR_EQUAL_TO\"]]: () => {\r\n // return value >= valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_LESS_THAN\"]]: () => {\r\n // return value < valueAgainst;\r\n // },\r\n // [OPERATOR_CONSTANTS[\"IS_LESS_THAN_OR_EQUAL_TO\"]]: () => {\r\n // return value <= valueAgainst;\r\n // }\r\n };\r\n\r\n if (typeof operators[operator] === 'undefined') {\r\n return false;\r\n }\r\n\r\n return operators[operator]();\r\n};\r\n\r\nconst matchingTypes = (fieldValues, item) => {\r\n const matches = {\r\n [MATCH_TYPE_CONTANTS[\"ANY\"]]: (fieldValues, item) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < item.conditions.length; i += 1) {\r\n const value = fieldValues[item.conditions[i].fieldId],\r\n operator = item.conditions[i].operatorId,\r\n valueAgainst = item.conditions[i].value;\r\n\r\n shouldHide = validate(operator, value, valueAgainst);\r\n\r\n if (shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n },\r\n [MATCH_TYPE_CONTANTS[\"ALL\"]]: (fieldValues, item) => {\r\n let shouldHide;\r\n\r\n for (let i = 0; i < item.conditions.length; i += 1) {\r\n const value = fieldValues[item.conditions[i].fieldId],\r\n operator = item.conditions[i].operatorId,\r\n valueAgainst = item.conditions[i].value;\r\n\r\n shouldHide = validate(operator, value, valueAgainst);\r\n\r\n if (!shouldHide) {\r\n break;\r\n }\r\n }\r\n\r\n return shouldHide;\r\n }\r\n },\r\n result = matches[item.matchTypeId](fieldValues, item);\r\n\r\n return handleActionType(item.actionTypeId, result);\r\n};\r\n\r\n","import React, {\r\n ChangeEvent,\r\n useState,\r\n ChangeEventHandler,\r\n VFC,\r\n useEffect,\r\n} from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport { FieldProps } from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { FormFieldSection } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { checkConditions } from \"../../ConditionalRendering/index\";\r\nimport {\r\n UpdateConditionalSectionControls,\r\n UpdateShowSectionStatus,\r\n} from \"../../../ReduxImpl/actions\";\r\nimport { BiWindows } from \"react-icons/bi\";\r\n\r\nconst SectionFeild: VFC> = ({\r\n field,\r\n fieldFactory,\r\n}) => {\r\n //const [hasFocus, setHasFocus] = useState(false);\r\n //const hasAnyError = !!props.errors?.length;\r\n //const [value, setValue] = useState(props.value);\r\n //const hasValueOrFocus = hasFocus || (Array.isArray(value) && value.length > 0 );\r\n //var options = props.field.model.items.map(x => );\r\n //const label = field.model.title;\r\n const id = field.model.itemId;\r\n const name = field.model.name;\r\n const dispatch = useDispatch();\r\n //const name = field.valueField.name;\r\n //const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n const stateFieldValues = useSelector(\r\n (state: IReduxState) => state.fieldValues\r\n );\r\n const stateConditions = useSelector((state: IReduxState) => {\r\n console.log(\"state.conditions\", state.conditions);\r\n return state.conditions[field.model[\"conditionSettings\"].fieldKey];\r\n });\r\n\r\n const showsection = useSelector((state: IReduxState) => state.showsection);\r\n\r\n let showsection1 = showsection;\r\n\r\n const IsVisible = (fieldValues, conditions, field) => {\r\n if (!showsection && field.model.name === \"SectionAll\") {\r\n return true;\r\n } else if (conditions !== undefined && fieldValues !== undefined) {\r\n let IsSectionHide = checkConditions(fieldValues, conditions);\r\n dispatch(\r\n UpdateConditionalSectionControls({\r\n name: field.model.name,\r\n IsVisible: !IsSectionHide,\r\n })\r\n );\r\n return IsSectionHide;\r\n } else {\r\n return false;\r\n }\r\n };\r\n\r\n return (\r\n \r\n
    \r\n {!IsVisible(stateFieldValues, stateConditions, field)\r\n ? field.fields.map(fieldFactory)\r\n : null}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default SectionFeild;\r\n","import React, { Fragment, useState } from \"react\";\r\nimport {\r\n Label,\r\n ListFieldProps,\r\n FieldChangeCallback,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { ValueFormField } from \"@sitecore-jss/sitecore-jss-forms\";\r\n\r\nconst checkBoxListField: React.FunctionComponent = (props) => {\r\n const {\r\n field,\r\n field: {\r\n model: { items },\r\n },\r\n value,\r\n onChange,\r\n errors,\r\n tracker,\r\n } = props;\r\n\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n\r\n const isNewRow = (Rowvalue: any): boolean => {\r\n if (Rowvalue === 0) {\r\n return true;\r\n }\r\n return Rowvalue % 2 === 0;\r\n };\r\n\r\n const checkBoxtds = (Checkboxitems: any) => {\r\n return Checkboxitems.map((item: any, index: number) => (\r\n \r\n \r\n \r\n \r\n ));\r\n };\r\n\r\n const generateCheckBoxes = (\r\n Checkboxitems: Array,\r\n columnCount: number\r\n ): any => {\r\n let chkbxTds = checkBoxtds(Checkboxitems);\r\n let rows = [];\r\n\r\n while (chkbxTds.length > 0) {\r\n let length =\r\n columnCount > chkbxTds.length ? chkbxTds.length : columnCount;\r\n rows.push(\r\n \r\n {chkbxTds.splice(0, length)}\r\n \r\n );\r\n }\r\n return rows;\r\n };\r\n\r\n let columnNumber = window.innerWidth <= 750 ? \"1\" : \"2\";\r\n\r\n return (\r\n
    \r\n \r\n
    \r\n {generateCheckBoxes(items, +columnNumber)}\r\n {}\r\n
    \r\n \r\n
    \r\n \r\n );\r\n};\r\n\r\n/**\r\n * @param {ValueFormField} field\r\n * @param {string[]} originalFieldValue\r\n * @param {string} changedElement\r\n * @param {boolean} checked\r\n * @param {FieldChangeCallback} callback\r\n */\r\nfunction handleOnChange(\r\n field: ValueFormField,\r\n originalFieldValue: string[],\r\n changedElement: string,\r\n checked: boolean,\r\n callback: FieldChangeCallback\r\n) {\r\n // we can have multiple selected values. So we need to push ALL the selected\r\n // values back up to the root form. This is done using an array, which the form\r\n // serializer knows how to expand into multiple values on post\r\n\r\n let value = originalFieldValue;\r\n\r\n if (checked) {\r\n value.push(changedElement);\r\n } else {\r\n value = value.filter((v) => v !== changedElement);\r\n }\r\n\r\n // (fieldName, fieldValue, isValid, validationErrors)\r\n callback(field.valueField.name, value, true, []);\r\n}\r\n\r\nexport default checkBoxListField;\r\n","import React, { Fragment, useState } from \"react\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport {\r\n getLayoutServiceData,\r\n UpdateConditionalFieldValue,\r\n updateHideButton,\r\n} from \"../../../ReduxImpl/actions/index\";\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\";\r\nimport {\r\n Label,\r\n ListFieldProps,\r\n FieldChangeCallback,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport { ValueFormField } from \"@sitecore-jss/sitecore-jss-forms\";\r\n\r\nconst RadioButtonListField: React.FunctionComponent = (\r\n props\r\n) => {\r\n const {\r\n field,\r\n field: {\r\n model: { items },\r\n },\r\n value,\r\n onChange,\r\n tracker,\r\n errors,\r\n } = props;\r\n\r\n const FieldValidationErrors = props.fieldValidationErrorsComponent;\r\n const dispatch = useDispatch();\r\n const fieldValues = useSelector((state: IReduxState) => state.fieldValues);\r\n const hideButton = useSelector((state: IReduxState) => state.hideButton);\r\n\r\n return (\r\n \r\n \r\n );\r\n};\r\n\r\n/**\r\n * @param {ValueFormField} field\r\n * @param {string} newValue\r\n * @param {FieldChangeCallback} callback\r\n */\r\nfunction handleOnChange(\r\n field: ValueFormField,\r\n newValue: string,\r\n callback: FieldChangeCallback,\r\n fieldValues: any,\r\n hideButton: boolean,\r\n dispatch: any\r\n) {\r\n let valid = true;\r\n const errorMessages = [];\r\n\r\n fieldValues[field.model[\"conditionSettings\"].fieldKey] = newValue;\r\n dispatch(UpdateConditionalFieldValue(fieldValues));\r\n\r\n if (field.model.required && !newValue) {\r\n valid = false;\r\n errorMessages.push(`${field.model.title} is required`);\r\n }\r\n\r\n if (field.model.required && newValue === \"Non accetto\") {\r\n dispatch(updateHideButton(hideButton));\r\n }\r\n if (field.model.required && newValue === \"Accetto\") {\r\n dispatch(updateHideButton(hideButton));\r\n }\r\n\r\n callback(field.valueField.name, [newValue], valid, errorMessages);\r\n}\r\n\r\nexport default RadioButtonListField;\r\n","import React, { VFC } from \"react\"\r\nimport { FieldWithValueProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\"\r\nimport { TextViewModel, FormField } from \"@sitecore-jss/sitecore-jss-forms\"\r\n\r\nconst TextViewField: React.FunctionComponent<\r\n FieldWithValueProps>\r\n> = (props) => {\r\n const { field, tracker } = props\r\n let textField = field.model.text\r\n let name = field.model.name\r\n return (\r\n \r\n \r\n \r\n )\r\n}\r\n\r\nexport default TextViewField\r\n","import ReCAPTCHA from \"react-google-recaptcha\";\r\nimport React, { Fragment, VFC, useState, useEffect } from \"react\";\r\nimport BaseTextField from \"../baseTextField\";\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\nimport { StringInputViewModel , MultiLineStringInputViewModel } from \"@sitecore-jss/sitecore-jss-forms\";\r\nimport { IReduxState } from '../../../ReduxImpl/reducers/index';\r\nimport {\r\n UpdateCaptchaStatus,\r\n } from '../../../ReduxImpl/actions/index'\r\nimport { useDispatch, useSelector } from 'react-redux';\r\nimport i18next from 'i18next';\r\n\r\n export interface MultiLineStringInputViewModelCaptcha extends MultiLineStringInputViewModel {\r\n publicKey?: string;\r\n }\r\n const ReCaptcha: VFC> = (props) => {\r\n const { field } = props\r\n const dispatch = useDispatch()\r\n const captcha = useSelector((state: IReduxState) => state.captcha)\r\n const [expired, setExpired] = useState(true);\r\n const publicKey = field.model.publicKey\r\n const onChange = (value: any): void => {\r\n if(value){\r\n setExpired(false);\r\n\r\n }\r\n else{\r\n setExpired(true);\r\n }\r\n }\r\n useEffect(()=> {\r\n dispatch(UpdateCaptchaStatus(expired))\r\n } ,[expired])\r\n\r\n \r\n var lng = 'en';\r\n lng = i18next && i18next.language ? i18next.language : 'en';\r\n\r\nreturn (\r\n \r\n \r\n )\r\n};\r\n\r\n export default ReCaptcha;","import {\r\n createDefaultFieldFactory,\r\n FieldTypes,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\";\r\nimport TextField from \"./components/textField\";\r\nimport EmailField from \"./components/emailField\";\r\nimport NumberField from \"./components/numberField\";\r\nimport TelephoneField from \"./components/telephoneField\";\r\nimport PasswordField from \"./components/passwordField\";\r\nimport MultipleLineTextField from \"./components/multipleLineTextField\";\r\nimport CheckboxField from \"./components/checkboxField/index\";\r\nimport Dropdownfield from \"./components/dropdownfield\";\r\nimport SectionFeild from \"./components/sectionField\";\r\nimport checkBoxListField from \"./components/checkBoxListField\";\r\nimport RadioButtonListField from \"./components/radioButtonListField\";\r\nimport TextViewField from \"./components/textViewField\";\r\nimport Recaptcha from \"./components/recaptcha\";\r\n//import FileUpload from \"./components/fileUpload\"\r\n\r\nconst FieldTypesC = {\r\n ...FieldTypes,\r\n Captcha: \"{AF50468E-66DE-48B7-9FA5-A9066241892B}\",\r\n};\r\nconst defaultFieldFactory = createDefaultFieldFactory();\r\n\r\ndefaultFieldFactory.setComponent(FieldTypesC.SingleLineText, TextField);\r\ndefaultFieldFactory.setComponent(FieldTypesC.NumberField, NumberField);\r\ndefaultFieldFactory.setComponent(FieldTypesC.Email, EmailField);\r\ndefaultFieldFactory.setComponent(FieldTypesC.Telephone, TelephoneField);\r\ndefaultFieldFactory.setComponent(FieldTypesC.Password, PasswordField);\r\ndefaultFieldFactory.setComponent(\r\n FieldTypesC.MultipleLineText,\r\n MultipleLineTextField\r\n);\r\ndefaultFieldFactory.setComponent(FieldTypesC.Checkbox, CheckboxField);\r\ndefaultFieldFactory.setComponent(FieldTypesC.DropdownList, Dropdownfield);\r\ndefaultFieldFactory.setComponent(FieldTypesC.Section, SectionFeild);\r\ndefaultFieldFactory.setComponent(FieldTypesC.CheckboxList, checkBoxListField);\r\ndefaultFieldFactory.setComponent(\r\n FieldTypesC.RadioButtonList,\r\n RadioButtonListField\r\n);\r\ndefaultFieldFactory.setComponent(FieldTypesC.TextField, TextViewField);\r\ndefaultFieldFactory.setComponent(\r\n FieldTypesC[\"Captcha\"] as FieldTypes,\r\n Recaptcha\r\n);\r\n//defaultFieldFactory.setComponent(FieldTypesC.FileUpload, FileUpload)\r\n\r\nexport default defaultFieldFactory;\r\n","import React, { VFC } from \"react\";\r\n\r\nimport { ValueFieldProps } from \"@sitecore-jss/sitecore-jss-react-forms/types\";\r\n\r\nconst FieldValidationError: VFC = (props) => {\r\n const hasAnyError = !!props.errors?.length;\r\n\r\n return (\r\n <>\r\n {hasAnyError && (\r\n
    \r\n {props.errors.map((error, index) => (\r\n

    \r\n \r\n {error}\r\n

    \r\n ))}\r\n
    \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default FieldValidationError;\r\n","import React, { FC } from \"react\"\r\nimport { useDispatch, useSelector } from \"react-redux\"\r\nimport { IReduxState } from \"../../../ReduxImpl/reducers/index\" \r\nimport {\r\n FieldTypes,\r\n FieldWithValueProps,\r\n} from \"@sitecore-jss/sitecore-jss-react-forms\"\r\nimport { BiInfoCircle, BiArrowToTop } from \"react-icons/bi\"\r\n\r\nconst FieldWrapper: FC = (props) => {\r\n const hasRadioBtn =\r\n props.field.model.fieldTypeItemId === FieldTypes.RadioButtonList\r\n\r\n const hideButton = useSelector((state: IReduxState) => state.hideButton)\r\n const name = props.field.model.name\r\n const captcha = useSelector((state: IReduxState) => state.captcha)\r\n\r\n return (\r\n \r\n {props.children}\r\n\r\n {name === \"IDDocument\" ? (\r\n
    \r\n {/*
    \r\n
    CHOOSE FILE
    \r\n
    \r\n fileUpload\r\n
    \r\n
    */}\r\n\r\n
    \r\n
    \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\nexport default FieldWrapper\r\n","import React, { useState } from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport { Text } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport Modal from \"react-modal\";\r\nimport \"./styles.scss\";\r\n\r\nconst Spinner = (props) => {\r\n\r\n return (\r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\nexport default Spinner;\r\n","import React, { VFC } from 'react'\r\nimport { useSelector } from 'react-redux'\r\nimport { TSitecoreJssFormProps } from './types/SitecoreJssForm.type'\r\nimport defaultFieldFactory from './fieldFactory'\r\nimport FieldValidationError from './components/fieldValidationError'\r\nimport fieldWrapper from './components/fieldWrapper'\r\nimport { withRouter } from 'react-router-dom'\r\nimport { sitecoreApiHost, sitecoreApiKey } from '../../temp/config'\r\nimport { isInternalUrl } from '../../utils/linkUtils'\r\nimport './styles.scss'\r\nimport JssForm from '../SitecoreJssForm/components/JssForm/JssForm'\r\nimport LazySection from '../../react-only-components/LazySection'\r\nimport Spinner from '../../react-only-components/Spinner/Spinner'\r\n\r\nconst SitecoreJssForm: VFC = (props) => {\r\n const { fields, history } = props\r\n\r\n const fieldsData = useSelector((state: any) => {\r\n return state.fields\r\n })\r\n\r\n const loader = useSelector((state: any) => {\r\n return state.loader\r\n })\r\n\r\n \r\n\r\n return (\r\n \r\n {loader && }\r\n
    \r\n <>}\r\n fieldValidationErrorsComponent={FieldValidationError}\r\n fieldWrapperComponent={fieldWrapper}\r\n onRedirect={(url) => {\r\n if (isInternalUrl(url)) {\r\n history.push(url)\r\n } else {\r\n window.location.href = url\r\n }\r\n }}\r\n />\r\n
    \r\n
    \r\n )\r\n}\r\n\r\nexport default withRouter(SitecoreJssForm)\r\n","import { TextModuleFields, TextModuleProps } from \"../types/TextModule.types\";\r\nimport { StringField } from \"../../../types/types\";\r\n\r\nexport class TextModuleModel {\r\n private readonly fields: TextModuleFields;\r\n\r\n constructor(props: TextModuleProps) {\r\n this.fields = props.fields;\r\n }\r\n\r\n get description(): StringField {\r\n return this.fields?.Description\r\n }\r\n\r\n\r\n\r\n get title(): StringField {\r\n return this.fields?.Title;\r\n }\r\n\r\n\r\n get textPosition(): StringField {\r\n return (\r\n this.fields?.Alignment?.fields?.Key\r\n );\r\n }\r\n\r\n}\r\n","import React from \"react\";\r\nimport {\r\n withSitecoreContext,\r\n RichText,\r\n Placeholder,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport \"./index.scss\";\r\nimport { ComponentProps } from \"../../types/types\";\r\n\r\nimport { TextModuleModel } from \"./models/TextModule.model\";\r\n\r\ninterface TextModuleProps extends ComponentProps {}\r\n\r\nconst TextingModule = (props: TextModuleProps) => {\r\n const model = new TextModuleModel(props);\r\n const themeOption = props?.params?.Theme;\r\n const tagTitle = props?.fields?.[\"Tag Title\"]?.value;\r\n const strongTitle = props?.fields?.[\"Strong Title\"]?.value;\r\n\r\n const isEE = props.sitecoreContext?.pageEditing;\r\n\r\n return (\r\n <>\r\n {props.fields && (\r\n \r\n \r\n {model?.title ? (\r\n \r\n ) : 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\r\nexport default withSitecoreContext()(TextingModule);\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { withSitecoreContext } from \"@sitecore-jss/sitecore-jss-react\";\r\nimport TextModule from \"../TextModule\";\r\nimport CommonApi, { CommonApiProvider } from \"../CommonApi\";\r\n\r\ninterface TextModuleAccessoriesProps extends ComponentProps {}\r\n\r\nconst TextModuleAccessories = (props) => {\r\n const commonCtx = useContext(CommonApi);\r\n const [productID, setProductID] = useState(commonCtx.parseUrl(\"product\"));\r\n const [categoryID, setCategoryID] = useState(commonCtx.parseUrl(\"category\"));\r\n const [categoryTranslations, setCategoryTranslations] = useState(null);\r\n\r\n if (props.fields) {\r\n props.fields.Alignment = { fields: { Key: { value: \"\" } } };\r\n props.fields.Title.value = productID\r\n ? commonCtx.productTranslations?.ShortDescription\r\n : \"\";\r\n props.fields.BodyText = {\r\n value:\r\n productID && commonCtx.productTranslations?.LongDescription\r\n ? commonCtx.productTranslations?.LongDescription\r\n : !productID\r\n ? commonCtx.categoryTranslations?.Description\r\n : \"\",\r\n };\r\n props.fields.PrimaryLink = {};\r\n props.fields.PrimaryLink.value = { href: null };\r\n props.fields.SecondaryLink = {};\r\n props.fields.SecondaryLink.value = { href: null };\r\n props.fields.Image = { value: { src: null, alt: null } };\r\n props.fields.ImageMobile = { value: { src: null, alt: null } };\r\n props.fields.Alignment.fields.Key = { value: productID ? \"left\" : \"\" };\r\n } else {\r\n let newProps = JSON.parse(JSON.stringify(props));\r\n newProps.fields = {};\r\n newProps.fields.Alignment = { fields: { Key: { value: \"\" } } };\r\n newProps.fields.Title = {};\r\n newProps.fields.Title.value = productID\r\n ? commonCtx.productTranslations?.ShortDescription\r\n : \"\";\r\n newProps.fields.BodyText = {\r\n value:\r\n productID && commonCtx.productTranslations?.LongDescription\r\n ? commonCtx.productTranslations?.LongDescription\r\n : !productID\r\n ? commonCtx.categoryTranslations?.Description\r\n : \"\",\r\n };\r\n newProps.fields.PrimaryLink = {};\r\n newProps.fields.PrimaryLink.value = { href: null };\r\n newProps.fields.SecondaryLink = {};\r\n newProps.fields.SecondaryLink.value = { href: null };\r\n newProps.fields.Image = { value: { src: null, alt: null } };\r\n newProps.fields.ImageMobile = { value: { src: null, alt: null } };\r\n newProps.fields.Alignment.fields.Key = { value: productID ? \"left\" : \"\" };\r\n props = newProps;\r\n }\r\n\r\n return <>{props && props.fields && };\r\n};\r\n\r\nexport default withSitecoreContext()(TextModuleAccessories);\r\n","import React, { useContext, useEffect, useState } from \"react\";\r\nimport { ComponentProps } from \"../../types/types\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport SearchResults from \"../SearchResultsModule\";\r\nimport Cookies from \"js-cookie\";\r\nimport CommonApi from \"../CommonApi\";\r\nimport { Product } from \"ordercloud-javascript-sdk\";\r\n\r\ninterface WishlistModuleProps extends ComponentProps {}\r\n\r\nconst WishlistModule = (props: WishlistModuleProps) => {\r\n const { t } = useTranslation();\r\n const [showMore, setShowMore] = useState(0);\r\n const [searchProducts, setSearchProducts] = useState([]);\r\n const [noResults, setNoResults] = useState(false);\r\n const commonCtx = useContext(CommonApi);\r\n var products = [] as Product[];\r\n var productCookies = [];\r\n useEffect(() => {\r\n var Cookies = document.cookie\r\n .split(\";\")\r\n .filter((x) => x.includes(\"Product\"));\r\n\r\n for (var i = 0; i < Cookies.length; i++) {\r\n productCookies.push(Cookies[i].split(\"=\")[1]);\r\n }\r\n\r\n commonCtx\r\n .getProductsByIds(productCookies)\r\n .then((products: Product[] | undefined) => {\r\n if (!products || products.length === 0) {\r\n setSearchProducts([]);\r\n commonCtx.setLoading(false);\r\n setNoResults(true);\r\n } else {\r\n setNoResults(false);\r\n commonCtx.setLoading(false);\r\n let productList = products as Product[];\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getCategoryTranslations(productList[index].xp.Category)\r\n ?.then((translation) => {\r\n productList[index].xp.CategoryTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n commonCtx.setLoading(false);\r\n });\r\n })\r\n );\r\n }\r\n\r\n Promise.all(promises).then((data) => {\r\n let promises = [];\r\n\r\n for (let index = 0; index < productList.length; index++) {\r\n promises.push(\r\n new Promise((resolve, reject) => {\r\n commonCtx\r\n .getProductTranslations(productList[index].ID, false)\r\n ?.then((translation) => {\r\n productList[index].xp.ProductTranslations = translation;\r\n resolve(translation);\r\n })\r\n .catch((error) => {\r\n reject(error);\r\n commonCtx.setLoading(false);\r\n });\r\n })\r\n );\r\n }\r\n Promise.all(promises).then((data) => {\r\n setSearchProducts(productList);\r\n });\r\n });\r\n }\r\n })\r\n .catch(() => {\r\n setNoResults(false);\r\n commonCtx.setLoading(false);\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n setShowMore(\r\n commonCtx.pageSize < commonCtx.products?.length\r\n ? commonCtx.pageSize\r\n : commonCtx.products?.length\r\n );\r\n }, [commonCtx.products]);\r\n\r\n interface versionOption {\r\n readonly value: string;\r\n readonly label: string;\r\n }\r\n\r\n const versionOptions = [\r\n { value: \"1\", label: \"Daily\" },\r\n { value: \"2\", label: \"Eurocargo\" },\r\n ];\r\n\r\n const changeFilter = () => {};\r\n\r\n function productUrl(category, idp) {\r\n return (\r\n commonCtx.getContextExtensions().catalogPageUrl + +category + \"/\" + idp\r\n );\r\n }\r\n function productCategoryUrl(category) {\r\n return commonCtx.getContextExtensions().catalogPageUrl + category;\r\n }\r\n const checkWishList = (productID) => {\r\n return Cookies.get(`Product ${[productID]}`) ? true : false;\r\n };\r\n\r\n const addToWishList = (productId) => {\r\n commonCtx.addToWishList(productId);\r\n return false;\r\n };\r\n const removeFromWishList = (productId) => {\r\n commonCtx.removeFromWishList(productId);\r\n return false;\r\n };\r\n\r\n return (\r\n \r\n
    \r\n {commonCtx.products?.length > 0 ? (\r\n \r\n ) : (\r\n <>\r\n {\r\n
    \r\n
    \r\n {t(\"IVGCorporateNoWishlist\")}{\" \"}\r\n
    \r\n
    \r\n }\r\n \r\n )}\r\n
    \r\n \r\n );\r\n};\r\n\r\nexport default WishlistModule;\r\n","/* eslint-disable */\n// Do not edit this file, it is auto-generated at build time!\n// See scripts/generate-component-factory.js to modify the generation of this file.\nimport AccordionModule from '../components/AccordionModule';\nimport AccordionModuleAccessories from '../components/AccordionModuleAccessories';\nimport BreadcrumbModuleAccessories from '../components/BreadcrumbModuleAccessories';\nimport CardModule from '../components/CardModule';\nimport CardModuleFullAccessories from '../components/CardModuleFullAccessories';\nimport CardModuleLinkedItem from '../components/CardModuleLinkedItem';\nimport CardsCarouselModule from '../components/CardsCarouselModule';\nimport CardsCarouselModuleAccessories from '../components/CardsCarouselModuleAccessories';\nimport CardsGridModule from '../components/CardsGridModule';\nimport CarouselModule from '../components/CarouselModule';\nimport CartModule from '../components/CartModule';\nimport CategoryResultsModule from '../components/CategoryResultsModule';\nimport CommonApi from '../components/CommonApi';\nimport DealerLocatorModule from '../components/DealerLocatorModule';\nimport FooterModule from '../components/FooterModule';\nimport FormContainerModule from '../components/FormContainerModule';\nimport FormModule from '../components/FormModule';\nimport GlobalButtonModule from '../components/GlobalButtonModule';\nimport GlobalMenuModule from '../components/GlobalMenuModule';\nimport HeaderModule from '../components/HeaderModule';\nimport HeroSliderModule from '../components/HeroSliderModule';\nimport IFrameModule from '../components/IFrameModule';\nimport LanguageBarModule from '../components/LanguageBarModule';\nimport LayoutTwoColumnsModule from '../components/LayoutTwoColumnsModule';\nimport LinksListModule from '../components/LinksListModule';\nimport LoadMore from '../components/LoadMore';\nimport PageHeaderModule from '../components/PageHeaderModule';\nimport PageHeaderModuleAccessories from '../components/PageHeaderModuleAccessories';\nimport PageTitleModule from '../components/PageTitleModule';\nimport Pagination from '../components/Pagination';\nimport SearchModule from '../components/SearchModule';\nimport SearchResultsModule from '../components/SearchResultsModule';\nimport SearchWithFilters from '../components/SearchWithFilters';\nimport SitecoreJssForm from '../components/SitecoreJssForm';\nimport SitecoreJssFormNew from '../components/SitecoreJssFormNew';\nimport StageCardModule from '../components/StageCardModule';\nimport TextingModule from '../components/TextingModule';\nimport TextModule from '../components/TextModule';\nimport TextModuleAccessories from '../components/TextModuleAccessories';\nimport WishlistModule from '../components/WishlistModule';\n\nconst components = new Map();\ncomponents.set('AccordionModule', AccordionModule);\ncomponents.set('AccordionModuleAccessories', AccordionModuleAccessories);\ncomponents.set('BreadcrumbModuleAccessories', BreadcrumbModuleAccessories);\ncomponents.set('CardModule', CardModule);\ncomponents.set('CardModuleFullAccessories', CardModuleFullAccessories);\ncomponents.set('CardModuleLinkedItem', CardModuleLinkedItem);\ncomponents.set('CardsCarouselModule', CardsCarouselModule);\ncomponents.set('CardsCarouselModuleAccessories', CardsCarouselModuleAccessories);\ncomponents.set('CardsGridModule', CardsGridModule);\ncomponents.set('CarouselModule', CarouselModule);\ncomponents.set('CartModule', CartModule);\ncomponents.set('CategoryResultsModule', CategoryResultsModule);\ncomponents.set('CommonApi', CommonApi);\ncomponents.set('DealerLocatorModule', DealerLocatorModule);\ncomponents.set('FooterModule', FooterModule);\ncomponents.set('FormContainerModule', FormContainerModule);\ncomponents.set('FormModule', FormModule);\ncomponents.set('GlobalButtonModule', GlobalButtonModule);\ncomponents.set('GlobalMenuModule', GlobalMenuModule);\ncomponents.set('HeaderModule', HeaderModule);\ncomponents.set('HeroSliderModule', HeroSliderModule);\ncomponents.set('IFrameModule', IFrameModule);\ncomponents.set('LanguageBarModule', LanguageBarModule);\ncomponents.set('LayoutTwoColumnsModule', LayoutTwoColumnsModule);\ncomponents.set('LinksListModule', LinksListModule);\ncomponents.set('LoadMore', LoadMore);\ncomponents.set('PageHeaderModule', PageHeaderModule);\ncomponents.set('PageHeaderModuleAccessories', PageHeaderModuleAccessories);\ncomponents.set('PageTitleModule', PageTitleModule);\ncomponents.set('Pagination', Pagination);\ncomponents.set('SearchModule', SearchModule);\ncomponents.set('SearchResultsModule', SearchResultsModule);\ncomponents.set('SearchWithFilters', SearchWithFilters);\ncomponents.set('SitecoreJssForm', SitecoreJssForm);\ncomponents.set('SitecoreJssFormNew', SitecoreJssFormNew);\ncomponents.set('StageCardModule', StageCardModule);\ncomponents.set('TextingModule', TextingModule);\ncomponents.set('TextModule', TextModule);\ncomponents.set('TextModuleAccessories', TextModuleAccessories);\ncomponents.set('WishlistModule', WishlistModule);\n\nexport default function componentFactory(componentName) {\n return components.get(componentName);\n};\n","import axios from 'axios';\r\n\r\n/**\r\n * Implements a data fetcher using Axios - replace with your favorite\r\n * SSR-capable HTTP or fetch library if you like. See HttpJsonFetcher type\r\n * in sitecore-jss library for implementation details/notes.\r\n * @param {string} url The URL to request; may include query string\r\n * @param {any} data Optional data to POST with the request.\r\n */\r\nexport function dataFetcher(url, data) {\r\n return axios({\r\n url,\r\n method: data ? 'POST' : 'GET',\r\n data,\r\n // note: axios needs to use `withCredentials: true` in order for Sitecore cookies to be included in CORS requests\r\n // which is necessary for analytics and such\r\n withCredentials: true,\r\n });\r\n}\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport {\r\n isExperienceEditorActive,\r\n Placeholder,\r\n RichText,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport Helmet from \"react-helmet\";\r\nimport { useContext } from \"react\";\r\nimport deepEqual from \"deep-equal\";\r\nimport i18next from \"i18next\";\r\nimport { isHTML } from \"./types/helpers.tsx\";\r\nimport { localstorageService } from \"./utils/window.utils.js\";\r\nimport CommonApi from \"../src/components/CommonApi\";\r\n\r\nconst Layout = ({ route, context }) => {\r\n const commonCtx = useContext(CommonApi);\r\n // console.log(\"route\", route);\r\n // console.log(\"context\", context);\r\n\r\n const localhost =\r\n typeof window != \"undefined\"\r\n ? window.location.hostname != \"localhost\"\r\n ? false\r\n : true\r\n : false;\r\n\r\n if (localhost) {\r\n context.ContextExtensions.catalogPageUrl =\r\n \"http://localhost:3000/en/accessories/Catalog\";\r\n }\r\n localstorageService().setItem(\"context\", JSON.stringify(context));\r\n localstorageService().setItem(\"sitecoreLanguage\", context.language);\r\n\r\n const REACT_VERSION = React.version;\r\n const mounted = useRef(true);\r\n const [forceRender, setForceRender] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n const matomoId = route?.fields[\"MatomoId\"]?.value;\r\n const matomoTagManagerContainer =\r\n route?.fields[\"MatomoTagManagerContainer\"]?.value;\r\n\r\n useEffect(() => {\r\n if (document && typeof document != \"undefined\") {\r\n document.documentElement.lang =\r\n i18next && i18next.language ? i18next.language : \"en\";\r\n }\r\n\r\n var d = document,\r\n g = d.createElement(\"link\"),\r\n s = d.getElementsByTagName(\"head\")[0];\r\n g.rel = \"icon\";\r\n g.type = \"image/PNG\";\r\n g.href =\r\n window.location?.protocol +\r\n `//` +\r\n window.location?.host +\r\n \"/\" +\r\n window.location?.pathname.split(\"/\")[1] +\r\n \"/\" +\r\n context?.ContextExtensions?.favicon?.value;\r\n s.appendChild(g);\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (context?.ContextExtensions?.headscript) {\r\n injectScriptsFromHTMLString(\r\n context?.ContextExtensions?.headscript?.value\r\n );\r\n }\r\n if (context?.ContextExtensions?.onetrustscript) {\r\n injectScriptsFromHTMLString(\r\n context?.ContextExtensions?.onetrustscript?.value\r\n );\r\n }\r\n if (\r\n route?.fields?.[\"Page Script\"] &&\r\n route?.fields?.[\"Page Script\"]?.value &&\r\n isHTML(route?.fields?.[\"Page Script\"]?.value) == false\r\n ) {\r\n hardInjectScriptFromString(route?.fields?.[\"Page Script\"]?.value);\r\n }\r\n }, []);\r\n\r\n function hardInjectScriptFromString(str) {\r\n // document.head.innerHTML += str;\r\n const script = document.createElement(\"script\");\r\n script.innerHTML = str;\r\n document.head.appendChild(script);\r\n }\r\n\r\n function injectScriptsFromHTMLString(str) {\r\n const tpl = document.createElement(\"template\");\r\n tpl.innerHTML = str;\r\n\r\n tpl.content.childNodes.forEach((child) => {\r\n const node = cloneNode(child);\r\n document.head.appendChild(node);\r\n });\r\n }\r\n\r\n function cloneNode(node) {\r\n if (node.tagName === \"SCRIPT\") {\r\n const script = document.createElement(\"script\");\r\n script.text = node.innerHTML;\r\n let i = -1,\r\n attrs = node.attributes,\r\n attr;\r\n while (++i < attrs.length) {\r\n attr = attrs[i];\r\n if (attr && attrs[i]) {\r\n if (attrs[i].nodeName && attr.value) {\r\n script.setAttribute((attr = attrs[i]).nodeName, attr.value);\r\n }\r\n }\r\n }\r\n script.setAttribute(\"async\", true);\r\n return script;\r\n } else {\r\n return node.cloneNode();\r\n }\r\n }\r\n\r\n useEffect(() => {\r\n if (!matomoId || !matomoTagManagerContainer) {\r\n return;\r\n }\r\n\r\n var _mtm = (window._mtm = window._mtm || []);\r\n _mtm.push({ \"mtm.startTime\": new Date().getTime(), event: \"mtm.Start\" });\r\n var d = document,\r\n g = d.createElement(\"script\"),\r\n s = d.getElementsByTagName(\"script\")[0];\r\n g.type = \"text/javascript\";\r\n g.async = true;\r\n g.src =\r\n \"https://matomo.cnhind.com/agce/js/container_\" +\r\n matomoTagManagerContainer +\r\n \".js\";\r\n s.parentNode.insertBefore(g, s);\r\n\r\n var _paq = (window._paq = window._paq || []);\r\n /* tracker methods like \"setCustomDimension\" should be called before \"trackPageView\" */\r\n _paq.push([\"trackPageView\"]);\r\n _paq.push([\"enableLinkTracking\"]);\r\n (function () {\r\n var u = \"https://matomo.cnhind.com/agce/\";\r\n _paq.push([\"setTrackerUrl\", u + \"matomo.php\"]);\r\n _paq.push([\"setSiteId\", matomoId]);\r\n var d = document,\r\n g = d.createElement(\"script\"),\r\n s = d.getElementsByTagName(\"script\")[0];\r\n g.type = \"text/javascript\";\r\n g.async = true;\r\n g.src = u + \"matomo.js\";\r\n s.parentNode.insertBefore(g, s);\r\n })();\r\n }, []);\r\n\r\n useEffect(() => {\r\n //let customElements = window.customElements;\r\n customElements.whenDefined(\"pfe-icon\").then(function () {\r\n const PfeIcon = customElements.get(\"pfe-icon\");\r\n const setName = \"ivg\";\r\n let newSetPath = \"/-/media/Onhighwayicons/ivg-icons\";\r\n\r\n // function to return the complete path of the icon\r\n function newResolveNameFn(iconName, setName, path) {\r\n return `${path}/${iconName}.svg`;\r\n }\r\n PfeIcon.addIconSet(setName, newSetPath, newResolveNameFn);\r\n\r\n PfeIcon.defaultThemeSetInfo = {\r\n path: newSetPath,\r\n resolveIconName: newResolveNameFn,\r\n };\r\n });\r\n }, []);\r\n\r\n // useEffect(() => {\r\n // let componentsLoaded = false;\r\n // if (typeof window !== 'undefined') {\r\n // window.addEventListener('componentsLoaded', () => {\r\n // const element = document.querySelector('.skeleton-page')\r\n // {element ? element.remove() : \"\"}\r\n // if (componentsLoaded) return;\r\n\r\n // componentsLoaded = true;\r\n // mounted.current = true\r\n // setForceRender(!forceRender)\r\n // {element ? element.remove() : \"\"}\r\n // const root = document.getElementById('root');\r\n // root.style.display = 'block';\r\n // });\r\n // }\r\n // }, []);\r\n\r\n useEffect(() => {\r\n if (typeof window !== \"undefined\") {\r\n //SKELETON-----------------------------------------------\r\n const element = document.querySelector(\".skeleton-page\");\r\n const root = document.querySelector(\"#root\");\r\n setTimeout(() => {\r\n mounted.current = true;\r\n setForceRender(!forceRender);\r\n if (element) {\r\n element.remove();\r\n }\r\n if (root) {\r\n root.style.display = \"block\";\r\n }\r\n }, 100);\r\n return () => {\r\n mounted.current = false;\r\n };\r\n }\r\n }, [route]);\r\n\r\n //OLD LOADING---------------------------------------------\r\n // const element = document.querySelector('.loading-spinner');\r\n // useEffect(() => {\r\n // setTimeout(() => {\r\n // mounted.current = true\r\n // setForceRender(!forceRender)\r\n // {element ? element.remove() : \"\"}\r\n // }, 1)\r\n // return () => {\r\n // mounted.current = false\r\n // }\r\n // }, [route])\r\n\r\n return (\r\n \r\n {context?.ContextExtensions?.bodyscript && (\r\n \r\n )}\r\n \r\n \r\n {`${route?.fields?.MetaTitle?.value} | ${route?.fields?.ExtendedMetaData?.fields?.BrandName?.value}`}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n {(Array.isArray(route?.fields?.AlternateLinks)\r\n ? route?.fields?.AlternateLinks?.value\r\n : []\r\n ).map((item, index) => (\r\n \r\n ))}\r\n \r\n\r\n {mounted.current && (\r\n
    \r\n \r\n
    \r\n )}\r\n {mounted.current && (\r\n
    \r\n {/* */}\r\n {\r\n if (items[0]) {\r\n const firstItem = items[0];\r\n items[0] = React.cloneElement(firstItem, { isFirst: true });\r\n }\r\n\r\n items.forEach((item, index) => {\r\n if (\r\n item?.props?.rendering?.componentName === \"VerticalNavBar\"\r\n ) {\r\n const vbar = items[index];\r\n items[index] = React.cloneElement(vbar, { data: route });\r\n }\r\n });\r\n\r\n return items;\r\n }}\r\n />\r\n
    \r\n )}\r\n\r\n {mounted.current && (\r\n
    \r\n \r\n
    \r\n )}\r\n
    \r\n );\r\n};\r\nconst propsAreEqual = (prevProps, nextProps) => {\r\n if (deepEqual(prevProps.route, nextProps.route)) return true;\r\n return false;\r\n};\r\nexport default React.memo(Layout, propsAreEqual);\r\n// export default Layout\r\n","import React from 'react';\r\n\r\n// Renders a route-not-found message when no route is available from Sitecore\r\n// The JSS equivalent of a 404 Not Found page.\r\n\r\n// This is invoked from RouteHandler when Sitecore returns no valid route data.\r\n// The NotFound component receives the Layout Service Context data, but no route data.\r\n// This can be used to power parts of your site, such as navigation, from LS context additions\r\n// without losing the ability to render them on your 404 pages :)\r\n\r\nconst NotFound = ({ context = { site: { name: '' }, language: '' } }) => (\r\n \r\n

    Page not found

    \r\n

    This page does not exist.

    \r\n

    \r\n Site: {context.site && context.site.name}\r\n
    \r\n Language: {context.language}\r\n

    \r\n
    \r\n);\r\n\r\nexport default NotFound;\r\n","import React from \"react\";\r\nimport i18n from \"i18next\";\r\nimport Helmet from \"react-helmet\";\r\nimport {\r\n isExperienceEditorActive,\r\n dataApi,\r\n withSitecoreContext,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { dataFetcher } from \"./dataFetcher\";\r\nimport config from \"./temp/config\";\r\nimport Layout from \"./Layout\";\r\nimport NotFound from \"./NotFound\";\r\nimport { windowService } from \"./utils/window.utils\";\r\n\r\n// Dynamic route handler for Sitecore items.\r\n// Because JSS app routes are defined in Sitecore, traditional static React routing isn't enough -\r\n// we need to be able to load dynamic route data from Sitecore after the client side route changes.\r\n// So react-router delegates all route rendering to this handler, which attempts to get the right\r\n// route data from Sitecore - and if none exists, renders the not found component.\r\n\r\nclass RouteHandler extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n\r\n this.state = {\r\n notFound: true,\r\n defaultLanguage: config.defaultLanguage,\r\n };\r\n\r\n const routeData = this.extractRouteData();\r\n\r\n // route data from react-router - if route was resolved, it's not a 404\r\n if (routeData !== null) {\r\n this.state.notFound = false;\r\n }\r\n\r\n // if we have an initial SSR state, and that state doesn't have a valid route data,\r\n // then this is a 404 route.\r\n if (routeData && (!routeData.sitecore || !routeData.sitecore.route)) {\r\n this.state.notFound = true;\r\n }\r\n\r\n // if we have an SSR state, and that state has language data, set the current language\r\n // (this makes the language of content follow the Sitecore context language cookie)\r\n // note that a route-based language (i.e. /de-DE) will override this default; this is for home.\r\n if (routeData?.context?.language) {\r\n this.state.defaultLanguage = routeData.context.language;\r\n }\r\n\r\n this.componentIsMounted = false;\r\n this.languageIsChanging = false;\r\n\r\n // tell i18next to sync its current language with the route language\r\n //this.updateLanguage();\r\n }\r\n\r\n componentDidMount() {\r\n const routeData = this.extractRouteData();\r\n\r\n // if no existing routeData is present (from SSR), get Layout Service fetching the route data or SSR render is complete\r\n if (!routeData || this.props.ssrRenderComplete) {\r\n this.updateRouteData();\r\n }\r\n\r\n // once we initialize the route handler, we've \"used up\" the SSR data,\r\n // if it existed, so we want to clear it now that it's in react state.\r\n // future route changes that might destroy/remount this component should ignore any SSR data.\r\n // EXCEPTION: Unless we are still SSR-ing. Because SSR can re-render the component twice\r\n // (once to find GraphQL queries that need to run, the second time to refresh the view with\r\n // GraphQL query results)\r\n // We test for SSR by checking for Node-specific process.env variable.\r\n if (\r\n typeof window !== \"undefined\" &&\r\n !this.props.ssrRenderComplete &&\r\n this.props.setSsrRenderComplete\r\n ) {\r\n this.props.setSsrRenderComplete(true);\r\n }\r\n\r\n this.componentIsMounted = true;\r\n }\r\n\r\n componentWillUnmount() {\r\n this.componentIsMounted = false;\r\n }\r\n\r\n extractRouteData() {\r\n if (!this.props.sitecoreContext) return null;\r\n\r\n const { route, ...context } = this.props.sitecoreContext;\r\n\r\n return {\r\n sitecore: {\r\n route,\r\n context,\r\n },\r\n };\r\n };\r\n\r\n showLoader() {\r\n let el;\r\n if (typeof document !== \"undefined\") {\r\n el = document.getElementsByClassName(\"header-loader\");\r\n }\r\n if (el && el.length > 0) el[0].style.display = \"block\";\r\n }\r\n\r\n hideLoader() {\r\n let el;\r\n if (typeof document !== \"undefined\") {\r\n el = document.getElementsByClassName(\"header-loader\");\r\n }\r\n if (el && el.length > 0) el[0].style.display = \"none\";\r\n }\r\n /**\r\n * Loads route data from Sitecore Layout Service into state.routeData\r\n */\r\n updateRouteData() {\r\n let sitecoreRoutePath = this.props.route.match.params.sitecoreRoute || \"/\";\r\n if (!sitecoreRoutePath.startsWith(\"/\")) {\r\n sitecoreRoutePath = `/${sitecoreRoutePath}`;\r\n }\r\n\r\n const language =\r\n this.props.route.match.params.lang || this.state.defaultLanguage;\r\n const siteName =\r\n this.props.sitecoreContext?.site?.name || config.jssAppName;\r\n //this.dispatch(setLoader(true));\r\n this.showLoader();\r\n // get the route data for the new route\r\n getRouteData(sitecoreRoutePath, language, siteName).then((routeData) => {\r\n if (\r\n routeData !== null &&\r\n routeData.sitecore &&\r\n routeData.sitecore.route\r\n ) {\r\n // set the sitecore context data and push the new route\r\n this.props.updateSitecoreContext({\r\n route: routeData.sitecore.route,\r\n itemId: routeData.sitecore.route.itemId,\r\n ...routeData.sitecore.context,\r\n });\r\n this.setState({ notFound: false });\r\n } else {\r\n this.setState({ notFound: true }, () => {\r\n const context =\r\n routeData && routeData.sitecore ? routeData.sitecore.context : null;\r\n\r\n this.props.updateSitecoreContext(context);\r\n });\r\n }\r\n\r\n //this.dispatch(setLoader(false));\r\n if (typeof document != undefined && document) {\r\n const el = document.getElementById(\"header-body-document\");\r\n const elTwo = document.getElementsByClassName(\"header-loader\")[0];\r\n if (el) el.classList.remove(\"header-loading\");\r\n if (elTwo) elTwo.style.display = \"none\";\r\n }\r\n this.hideLoader();\r\n });\r\n }\r\n\r\n /**\r\n * Updates the current app language to match the route data.\r\n */\r\n updateLanguage() {\r\n const newLanguage =\r\n this.props.route.match.params.lang || this.state.defaultLanguage;\r\n\r\n if (i18n.language !== newLanguage) {\r\n this.languageIsChanging = true;\r\n\r\n i18n.changeLanguage(newLanguage, () => {\r\n this.languageIsChanging = false;\r\n\r\n // if the component is not mounted, we don't care\r\n // (next time it mounts, it will render with the right language context)\r\n if (this.componentIsMounted) {\r\n // after we change the i18n language, we need to force-update React,\r\n // since otherwise React won't know that the dictionary has changed\r\n // because it is stored in i18next state not React state\r\n this.forceUpdate();\r\n }\r\n });\r\n }\r\n }\r\n\r\n hasLangChanged() {\r\n //force relaod of same route\r\n const reloadSamePage =\r\n this.props.route?.location?.state?.params?.forceReload;\r\n\r\n if (reloadSamePage) {\r\n this.props.route.location.state.params.forceReload = false;\r\n return true;\r\n }\r\n\r\n return false;\r\n }\r\n\r\n componentDidUpdate(previousProps) {\r\n const existingRoute = previousProps.route.match.url;\r\n const newRoute = this.props.route.match.url;\r\n\r\n // don't change state (refetch route data) if the route has not changed\r\n if (existingRoute === newRoute && !this.hasLangChanged()) {\r\n return;\r\n }\r\n\r\n // if in experience editor - force reload instead of route data update\r\n // avoids confusing Sitecore's editing JS\r\n if (isExperienceEditorActive()) {\r\n window.location.assign(newRoute);\r\n return;\r\n }\r\n\r\n this.updateLanguage();\r\n this.updateRouteData();\r\n }\r\n\r\n render() {\r\n const { notFound } = this.state;\r\n const routeData = this.extractRouteData();\r\n\r\n // no route data for the current route in Sitecore - show not found component.\r\n // Note: this is client-side only 404 handling. Server-side 404 handling is the responsibility\r\n // of the server being used (i.e. node-headless-ssr-proxy and Sitecore intergrated rendering know how to send 404 status codes).\r\n if (notFound && routeData) {\r\n return (\r\n
    \r\n \r\n {i18n.t(\"Page not found\")}\r\n \r\n \r\n
    \r\n );\r\n }\r\n\r\n // Don't render anything if the route data or dictionary data is not fully loaded yet.\r\n // This is a good place for a \"Loading\" component, if one is needed.\r\n if (!routeData || this.languageIsChanging) {\r\n return null;\r\n }\r\n\r\n // Render the app's root structural layout\r\n return (\r\n \r\n );\r\n }\r\n}\r\n\r\nexport default withSitecoreContext({ updatable: true })(RouteHandler);\r\n\r\nconst getCookieValue = (name) => {\r\n let result;\r\n\r\n if (typeof document !== \"undefined\") {\r\n result = document.cookie.match(\"(^|[^;]+)\\\\s*\" + name + \"\\\\s*=\\\\s*([^;]+)\");\r\n }\r\n return result ? result.pop() : \"\";\r\n};\r\n\r\nconst getLangFromCookie = () => {\r\n //if(getCookieValue(\"corporate#lang\") && getCookieValue(\"corporate#lang\")!= 'null'){\r\n // return getCookieValue(\"corporate#lang\");\r\n //}\r\n return false;\r\n};\r\n/**\r\n * Gets route data from Sitecore. This data is used to construct the component layout for a JSS route.\r\n * @param {string} route Route path to get data for (e.g. /about)\r\n * @param {string} language Language to get route data in (content language, e.g. 'en')\r\n */\r\nfunction getRouteData(route, language, siteName) {\r\n //let lang = localstorageService().getItem(\"lang\") || language;\r\n\r\n let lang = getLangFromCookie() || language;\r\n\r\n const fetchOptions = {\r\n layoutServiceConfig: { host: config.sitecoreApiHost },\r\n querystringParams: {\r\n sc_lang: lang,\r\n sc_apikey: config.sitecoreApiKey,\r\n sc_site: siteName,\r\n },\r\n fetcher: dataFetcher,\r\n };\r\n\r\n return dataApi.fetchRouteData(route, fetchOptions).catch((error) => {\r\n if (\r\n error.response &&\r\n error.response.status === 404 &&\r\n error.response.data\r\n ) {\r\n return error.response.data;\r\n }\r\n\r\n console.error(\"Route data fetch error\", error, error.response);\r\n\r\n return null;\r\n });\r\n}\r\n","import React from \"react\";\r\nimport {\r\n SitecoreContext,\r\n SitecoreContextFactory,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { Route, Switch } from \"react-router-dom\";\r\nimport { ApolloProvider } from \"react-apollo\";\r\nimport { CommonApiProvider } from \"./components/CommonApi\";\r\nimport componentFactory from \"./temp/componentFactory\";\r\nimport RouteHandler from \"./RouteHandler\";\r\n//import PfeIcon from '@patternfly/pfe-icon-iveco';\r\n\r\n// This is the main JSX entry point of the app invoked by the renderer (server or client rendering).\r\n// By default the app's normal rendering is delegated to that handles the loading of JSS route data.\r\n\r\n// support languages in the URL prefix\r\n// e.g. /da-DK/path, or /en/path, or /path\r\nexport const routePatterns = [\r\n \"/:lang([a-z]{2}-[A-Z]{2})/:sitecoreRoute*\",\r\n \"/:lang([a-z]{2})/:sitecoreRoute*\",\r\n \"/:sitecoreRoute*\",\r\n];\r\n\r\n// wrap the app with:\r\n// ApolloProvider: provides an instance of Apollo GraphQL client to the app to make Connected GraphQL queries.\r\n// Not needed if not using connected GraphQL.\r\n// SitecoreContext: provides component resolution and context services via withSitecoreContext\r\n// Router: provides a basic routing setup that will resolve Sitecore item routes and allow for language URL prefixes.\r\nclass AppRoot extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n //debugger;\r\n // let customElements = window.customElements;\r\n // customElements.whenDefined(\"pfe-icon\").then( function() {\r\n // const PfeIcon = customElements.get(\"pfe-icon\");\r\n // const setName = \"ivg\";\r\n // //const newSetPath = \"https://eucomcrg04-123710-cd.azurewebsites.net/corporate/sitecore/media library/Onhighwayicons/ivg-icons\";\r\n\r\n // // let newSetPath =\"https://eucomcrg04-123710-cd.azurewebsites.net/corporate/-/media/Onhighwayicons/ivg-icons\";\r\n // let newSetPath =\r\n // \"/-/media/Onhighwayicons/ivg-icons\"\r\n\r\n // // function to return the complete path of the icon\r\n // function newResolveNameFn(iconName, setName, path) {\r\n // return `${path}/${iconName}.svg`;\r\n // }\r\n // PfeIcon.addIconSet(setName, newSetPath, newResolveNameFn);\r\n\r\n // PfeIcon.defaultThemeSetInfo = {path: newSetPath, resolveIconName: newResolveNameFn};\r\n\r\n // // do what you need with the class here\r\n // });\r\n\r\n this.state = {\r\n ssrRenderComplete: false,\r\n contextFactory: new SitecoreContextFactory(),\r\n };\r\n\r\n if (\r\n props.ssrState &&\r\n props.ssrState.sitecore &&\r\n props.ssrState.sitecore.route\r\n ) {\r\n // set the initial sitecore context data if we got SSR initial state\r\n this.state.contextFactory.setSitecoreContext({\r\n route: props.ssrState.sitecore.route,\r\n itemId: props.ssrState.sitecore.route.itemId,\r\n ...props.ssrState.sitecore.context,\r\n });\r\n } else if (props.ssrState) {\r\n this.state.contextFactory.setSitecoreContext(\r\n props.ssrState.sitecore.context\r\n );\r\n } else {\r\n this.state.contextFactory.setSitecoreContext(null);\r\n }\r\n }\r\n\r\n render() {\r\n const { path, Router, graphQLClient } = this.props;\r\n\r\n const SetSsrRenderComplete = (ssrRenderComplete) => {\r\n this.setState({\r\n ssrRenderComplete,\r\n });\r\n };\r\n const routeRenderFunction = (props) => (\r\n \r\n );\r\n if (typeof window !== \"undefined\") {\r\n setTimeout(() => {\r\n document.querySelectorAll(\"meta[content]\").forEach((element) => {\r\n if (element.getAttribute(\"content\").length === 0) {\r\n element.setAttribute(\"content\", window.location.href);\r\n }\r\n });\r\n\r\n document\r\n .querySelectorAll(\"link[rel='canonical']\")\r\n .forEach((element) => {\r\n if (element.getAttribute(\"href\").length === 0) {\r\n element.setAttribute(\"href\", window.location.href);\r\n }\r\n });\r\n }, 300);\r\n }\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n {routePatterns.map((routePattern) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n }\r\n}\r\n\r\nexport default AppRoot;\r\n","import React from \"react\";\r\nimport ReactDOM from \"react-dom\";\r\nimport { BrowserRouter } from \"react-router-dom\";\r\nimport AppRoot from \"./AppRoot\";\r\nimport GraphQLClientFactory from \"./lib/GraphQLClientFactory\";\r\nimport config from \"./temp/config\";\r\nimport i18ninit from \"./i18n\";\r\nimport { windowService } from \"./utils/window.utils\";\r\nimport Loadable from \"react-loadable\";\r\n\r\nlet renderFunction = ReactDOM.render;\r\n\r\nlet initLanguage = config.defaultLanguage;\r\n\r\n/*\r\n SSR Data\r\n --Temp Change\r\n If we're running in a server-side rendering scenario,\r\n the server will provide JSON in the #__JSS_STATE__ element\r\n for us to acquire the initial state to run with on the client.\r\n \r\n This enables us to skip a network request to load up the layout data.\r\n We are emitting a quiescent script with JSON so that we can take advantage\r\n of JSON.parse()'s speed advantage over parsing full JS, and enable\r\n working without needing `unsafe-inline` in Content Security Policies.\r\n \r\n SSR is initiated from /server/server.js.\r\n */\r\nlet __JSS_STATE__ = null;\r\nconst ssrRawJson = document.getElementById(\"__JSS_STATE__\");\r\nif (ssrRawJson) {\r\n __JSS_STATE__ = JSON.parse(ssrRawJson.innerHTML);\r\n}\r\nif (__JSS_STATE__) {\r\n // when React initializes from a SSR-based initial state, you need to render with `hydrate` instead of `render`\r\n renderFunction = ReactDOM.hydrate;\r\n if (document) {\r\n document.getElementById(\"metaTagScript\").innerHTML = __JSS_STATE__.sitecore\r\n .context.ContextExtensions?.metaTagScript?.value\r\n ? __JSS_STATE__.sitecore.context.ContextExtensions?.metaTagScript?.value\r\n : \"\";\r\n }\r\n // set i18n language SSR state language instead of static config default language\r\n initLanguage = __JSS_STATE__.sitecore.context.language;\r\n}\r\n\r\n/*\r\n GraphQL Data\r\n The Apollo Client needs to be initialized to make GraphQL available to the JSS app.\r\n Not using GraphQL? Remove this, and the ApolloContext from `AppRoot`.\r\n */\r\n// Apollo supports SSR of GraphQL queries, so like JSS SSR, it has an object we can pre-hydrate the client cache from\r\n// to avoid needing to re-run GraphQL queries after the SSR page loads\r\nconst initialGraphQLState =\r\n __JSS_STATE__ && __JSS_STATE__.APOLLO_STATE\r\n ? __JSS_STATE__.APOLLO_STATE\r\n : null;\r\n\r\nconst graphQLClient = GraphQLClientFactory(\r\n config.graphQLEndpoint,\r\n false,\r\n initialGraphQLState\r\n);\r\n\r\n/*\r\n App Rendering\r\n */\r\n// initialize the dictionary, then render the app\r\n// note: if not making a multlingual app, the dictionary init can be removed.\r\ni18ninit(\r\n initLanguage,\r\n undefined,\r\n __JSS_STATE__?.sitecore?.context?.ContextExtensions?.appName?.value\r\n)\r\n .then(() => {\r\n // HTML element to place the app into\r\n const rootElement = document.getElementById(\"root\");\r\n\r\n renderFunction(\r\n ,\r\n rootElement\r\n );\r\n })\r\n .then(() => Loadable.preloadReady());\r\n","import \"isomorphic-fetch\";\r\nimport { ApolloClient } from \"apollo-client\";\r\nimport {\r\n InMemoryCache,\r\n IntrospectionFragmentMatcher,\r\n} from \"apollo-cache-inmemory\";\r\n\r\n/*\r\n INTROSPECTION DATA\r\n See https://www.apollographql.com/docs/react/recipes/fragment-matching.html\r\n This enables the Apollo cache to process fragments on interface types correctly.\r\n If this file does not exist, you may need to run the `jss graphql:update` script.\r\n*/\r\nimport introspectionQueryResultData from \"../temp/GraphQLFragmentTypes.json\";\r\n\r\n/*\r\n QUERY LINK SELECTION\r\n A link is transport which GraphQL queries are pushed across.\r\n You have many choices.\r\n See the apollo-link documentation for more details.\r\n\r\n NOTE: to use Sitecore Experience Editor it is essential that your\r\n link passes cookies along with requests (credentials: 'include').\r\n*/\r\n\r\n// choose between a basic HTTP link to run queries...\r\n// import { createHttpLink } from 'apollo-link-http';\r\n// const link = createHttpLink({ uri: endpoint, credentials: 'include' });\r\n\r\n// ...or a batched link (multiple queries within 10ms all go in one HTTP request)\r\nimport { BatchHttpLink } from \"apollo-link-batch-http\";\r\n\r\n// ...and an automatic persisted query link, which reduces bandwidth by using query hashes to alias content\r\n// the APQ link is _chained_ behind another link that performs the actual HTTP calls, so you can choose\r\n// APQ + batched, or APQ + http links for example.\r\nimport { createPersistedQueryLink } from \"apollo-link-persisted-queries\";\r\n\r\nexport default function (endpoint, ssr, initialCacheState) {\r\n /* HTTP link selection: default to batched + APQ */\r\n const link = createPersistedQueryLink().concat(\r\n new BatchHttpLink({ uri: endpoint, credentials: \"include\" })\r\n );\r\n\r\n const cache = new InMemoryCache({\r\n fragmentMatcher: new IntrospectionFragmentMatcher({\r\n introspectionQueryResultData,\r\n }),\r\n });\r\n\r\n return new ApolloClient({\r\n ssrMode: ssr,\r\n ssrForceFetchDelay: 100,\r\n link,\r\n cache: cache.restore(initialCacheState),\r\n });\r\n}\r\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"primary\":\"var(--DL-primary-color)\",\"hover\":\"var(--DL-hover-color)\",\"light\":\"var(--DL-light-color)\",\"medium\":\"var(--DL-medium-color)\",\"white\":\"#fff\",\"black\":\"#000\",\"grey90\":\"#424242\",\"grey70\":\"#757575\",\"grey50\":\"#bdbdbd\",\"grey40\":\"#e0e0e0\",\"grey30\":\"#eee\"};","function checkDeviceType(navigator) {\r\n const ua = navigator?.userAgent;\r\n if (/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i.test(ua)) {\r\n return \"tablet\";\r\n } else if (\r\n /Mobile|Android|iP(hone|od)|IEMobile|BlackBerry|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/.test(\r\n ua\r\n )\r\n ) {\r\n return \"mobile\";\r\n }\r\n return \"desktop\";\r\n}\r\n\r\nexport { checkDeviceType };\r\n","export const scaleImage: (imageUrl: string, deviceWidth: number, scalingMultiplier: number) => string = (imageUrl, deviceWidth, scalingMultiplier) => {\r\n return imageUrl?.split('?')?.[0] + `?w=${deviceWidth * scalingMultiplier}&mw=${deviceWidth * scalingMultiplier}`\r\n}\r\n\r\nexport const getScaledHeight: (imageHeight: number, imageWidth: number, deviceWidth: number, scalingMultiplier: number) => number = (imageHeight, imageWidth, deviceWidth, scalingMultiplier) => {\r\n const coefficient = imageHeight / imageWidth\r\n return Math.floor((deviceWidth * coefficient) * scalingMultiplier)\r\n}","import { useEffect, useState } from 'react';\r\n\r\nexport const useOnCookieChange: () => string | null = () => {\r\n const [cookie, setCookie] = useState(null);\r\n\r\n const getCookie: () => void = () => {\r\n \r\n if (typeof document !== 'undefined') {\r\n const latestCookie = document.cookie\r\n if (latestCookie !== null && latestCookie !== '') {\r\n document.cookie?.split(';')\r\n ?.find((cki) => cki.includes('OptanonConsent'))\r\n ?.replace(' OptanonConsent=', '');\r\n\r\n if (latestCookie !== cookie) setCookie(latestCookie);\r\n }}\r\n };\r\n\r\n useEffect(() => {\r\n getCookie();\r\n }, []);\r\n\r\n setInterval(() => {\r\n getCookie();\r\n }, 1000);\r\n\r\n return cookie;\r\n};\r\n","import React from 'react';\r\n\r\nexport function useCookiesAllowVideo(cookie) {\r\n if (cookie !== null && cookie !== '') {\r\n const checkConsent = () => {\r\n let groupsConsent = cookie.split('&').find((item) => item.includes('groups='))?.replace('groups=', '')\r\n let allConsent = true\r\n groupsConsent?.split('%2')?.map((item) => {\r\n let consent = item.split('%3A').find((value) => value === '1' || value === '0')\r\n if (consent === '0') {\r\n allConsent = false\r\n }\r\n })\r\n return allConsent;\r\n }\r\n return checkConsent()\r\n }\r\n return false\r\n}\r\n","import React from 'react';\r\nimport './index.scss';\r\n\r\nconst CookiesVideoDisclaimer = (props: any) => {\r\n return (\r\n
    \r\n
    \r\n
    \r\n This content is unavailable due to the cookie choices made.\r\n
    \r\n
    \r\n <>\r\n {/* OneTrust Cookies Settings button start */}\r\n \r\n {/* OneTrust Cookies Settings button end */}\r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n};\r\n\r\nexport const CookiesVideoDisclaimerWrapper = (props: any) => {\r\n return
    {props.children}
    ;\r\n};\r\n\r\nexport default CookiesVideoDisclaimer;\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport {\r\n Text,\r\n RichText,\r\n Image,\r\n withSitecoreContext,\r\n Placeholder,\r\n} from \"@sitecore-jss/sitecore-jss-react\";\r\nimport { LazyLoadImage } from \"react-lazy-load-image-component\";\r\nimport \"./index.scss\";\r\nimport { scaleImage } from '../../utils/scaleImage';\r\nimport { checkDeviceType } from '../../utils/checkDeviceType';\r\n\r\nconst PageTitleModule = (props) => {\r\n const title = useRef(null);\r\n const data = props.dataFromParent != null ? props.dataFromParent : props;\r\n let themeOption = data?.params?.Theme;\r\n const tagTitle = data?.fields?.[\"Tag Title\"]?.value;\r\n const strongTitle = data?.fields?.[\"Strong Title\"]?.value;\r\n const isLongTitle = data?.fields?.[\"isLongTitle\"]?.value;\r\n const isPressReleasePage =\r\n props?.sitecoreContext?.route?.fields?.isPressReleasePage?.value;\r\n\r\n if (props.dataFromParent != null) {\r\n themeOption = data?.fields?.Theme?.value;\r\n }\r\n\r\n const [deviceType, setDeviceType] = useState('');\r\n const [windowWidth, setWindowWidth] = useState(null);\r\n\r\n useEffect(() => {\r\n if (typeof window !== 'undefined' && typeof navigator !== 'undefined') {\r\n setDeviceType(checkDeviceType(navigator)); \r\n setWindowWidth(window.innerWidth);\r\n }\r\n }, []);\r\n return (\r\n <>\r\n {isPressReleasePage ? (\r\n \r\n {data.fields?.[\"Icon Left\"]?.value?.src ? \r\n \r\n :\r\n <>\r\n }\r\n \r\n {data?.fields?.Description?.value !== \"\" ? (\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n {props.rendering != undefined && props.rendering != 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 \r\n
    \r\n
    \r\n {props.rendering != undefined && props.rendering != null ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n
    \r\n
    \r\n )}\r\n \r\n ) : (\r\n \r\n {data.fields?.[\"Icon Left\"]?.value?.src ? \r\n \r\n :\r\n <>\r\n }\r\n {data?.fields?.Description?.value !== \"\" ? (\r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n {props.rendering != undefined && props.rendering != 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
    \r\n
    \r\n {props.rendering != undefined && props.rendering != 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};\r\n\r\nexport default withSitecoreContext()(PageTitleModule);\r\n","\"use strict\";\r\nvar __importDefault = (this && this.__importDefault) || function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n};\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nvar react_1 = __importDefault(require(\"react\"));\r\nvar sitecore_jss_react_1 = require(\"@sitecore-jss/sitecore-jss-react\");\r\nvar react_lazy_load_image_component_1 = require(\"react-lazy-load-image-component\");\r\nrequire(\"./index.scss\");\r\nvar TextModule_model_1 = require(\"./models/TextModule.model\");\r\nvar TextModule = function (props) {\r\n var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;\r\n var model = new TextModule_model_1.TextModuleModel(props);\r\n var isEE = (_a = props.sitecoreContext) === null || _a === void 0 ? void 0 : _a.pageEditing;\r\n var textSize = \"small\";\r\n return (react_1.default.createElement(react_1.default.Fragment, null, props.fields && (react_1.default.createElement(\"div\", { id: (_b = props === null || props === void 0 ? void 0 : props.rendering) === null || _b === void 0 ? void 0 : _b.dataSource, className: model.link1.href || model.link2.href\r\n ? \"text-module withcta text-module--\".concat(model.textPosition.value)\r\n : \"text-module text-module--\".concat(model.textPosition.value, \" \") },\r\n react_1.default.createElement(\"div\", { className: \"text-module__content text-module__content--\".concat(model.textPosition, \" \") },\r\n react_1.default.createElement(sitecore_jss_react_1.RichText, { tag: \"div\", field: model.eyebrow, className: \"text-module__eyebrow\" }),\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: model.image.value.src, alt: model.image.value.alt, className: ((0, sitecore_jss_react_1.isExperienceEditorActive)() || isEE) &&\r\n ((_d = (_c = model.image) === null || _c === void 0 ? void 0 : _c.value) === null || _d === void 0 ? void 0 : _d.src.indexOf(\"shell/Themes/Standard/Images\"))\r\n ? \"text-module__icon--desktop imageEE\"\r\n : \"text-module__icon--desktop\", \"min-width\": \"10px\", \"min-height\": \"10px\" }),\r\n react_1.default.createElement(react_lazy_load_image_component_1.LazyLoadImage, { src: model.imageMobile &&\r\n Object.keys((_e = model.imageMobile) === null || _e === void 0 ? void 0 : _e.value).length > 0\r\n ? model.imageMobile.value.src\r\n : (model === null || model === void 0 ? void 0 : model.AllowFallbackForMobile) && model.image.value.src, className: ((0, sitecore_jss_react_1.isExperienceEditorActive)() || isEE) &&\r\n ((_g = (_f = model.image) === null || _f === void 0 ? void 0 : _f.value) === null || _g === void 0 ? void 0 : _g.src.indexOf(\"shell/Themes/Standard/Images\"))\r\n ? \"text-module__icon--mobile imageEE\"\r\n : \"text-module__icon--mobile\", alt: \"Mobile\", \"min-width\": \"10px\", \"min-height\": \"10px\" }),\r\n model.title ? (react_1.default.createElement(sitecore_jss_react_1.RichText, { tag: \"h3\", field: model.title, className: \"text-module__title\" })) : null,\r\n model.abstract ? (react_1.default.createElement(sitecore_jss_react_1.RichText, { tag: \"div\", field: model.abstract, className: \"text-module__abstract\" })) : null,\r\n react_1.default.createElement(sitecore_jss_react_1.RichText, { tag: \"div\", field: model.subtitle, className: \"text-module__subtitle\" }),\r\n react_1.default.createElement(sitecore_jss_react_1.RichText, { tag: \"div\", field: model.bodyText, className: ((_h = props.params) === null || _h === void 0 ? void 0 : _h.textSize) === \"small\"\r\n ? \"text-module__text small\"\r\n : \"text-module__text\" }),\r\n model.link1.href || model.link2.href ? (react_1.default.createElement(\"div\", { className: \"text-module__buttons\" },\r\n (isEE || ((_j = model.link1) === null || _j === void 0 ? void 0 : _j.text) || ((_k = model.link1) === null || _k === void 0 ? void 0 : _k.href)) && (react_1.default.createElement(\"div\", { className: \"cta cta-primary-blue\" }, isEE ? (react_1.default.createElement(sitecore_jss_react_1.Link, { field: model.link1, \"aria-label\": \"_\" })) : (\r\n // \r\n \"\"))),\r\n (isEE || ((_l = model.link2) === null || _l === void 0 ? void 0 : _l.text) || ((_m = model.link2) === null || _m === void 0 ? void 0 : _m.href)) && (react_1.default.createElement(\"div\", { className: model.link1.href\r\n ? \"secondary-link secondary-link-blue\"\r\n : \"secondary-link secondary-link-blue ml-0\" },\r\n react_1.default.createElement(\"a\", { href: model.link2.href, title: model.link2.title, target: model.link2.target }, (_o = model.link2) === null || _o === void 0 ? void 0 :\r\n _o.text,\r\n react_1.default.createElement(\"span\", { className: \"link-with-arrow link-with-arrow--text\" },\r\n react_1.default.createElement(\"pfe-icon\", { icon: \"ivg-arrow-forward\", size: \"24\", color: \"complement\" }))))))) : null)))));\r\n};\r\nexports.default = (0, sitecore_jss_react_1.withSitecoreContext)()(TextModule);\r\n","export default __webpack_public_path__ + \"static/media/missing-image.3027abdb.png\";","export default __webpack_public_path__ + \"static/media/missing-image-dark.a20c2810.png\";","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.StageCardModuleModel = void 0;\r\nvar StageCardModuleModel = /** @class */ (function () {\r\n function StageCardModuleModel(props) {\r\n this.fields = props.fields || null;\r\n }\r\n Object.defineProperty(StageCardModuleModel.prototype, \"Description\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Description;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(StageCardModuleModel.prototype, \"Image\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a[\"Background Image\"];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(StageCardModuleModel.prototype, \"ImageMobile\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a[\"Background Image Mobile\"];\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(StageCardModuleModel.prototype, \"Title\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Title;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(StageCardModuleModel.prototype, \"Opacity\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.Opacity;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return StageCardModuleModel;\r\n}());\r\nexports.StageCardModuleModel = StageCardModuleModel;\r\n","\"use strict\";\r\nObject.defineProperty(exports, \"__esModule\", { value: true });\r\nexports.CardsCarouselModuleModel = void 0;\r\nvar CardsCarouselModuleModel = /** @class */ (function () {\r\n function CardsCarouselModuleModel(props) {\r\n this.fields = props.fields || null;\r\n this.params = props.params || null;\r\n }\r\n Object.defineProperty(CardsCarouselModuleModel.prototype, \"theme\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.params) === null || _a === void 0 ? void 0 : _a.Theme;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n Object.defineProperty(CardsCarouselModuleModel.prototype, \"List\", {\r\n get: function () {\r\n var _a;\r\n return (_a = this.fields) === null || _a === void 0 ? void 0 : _a.List;\r\n },\r\n enumerable: false,\r\n configurable: true\r\n });\r\n return CardsCarouselModuleModel;\r\n}());\r\nexports.CardsCarouselModuleModel = CardsCarouselModuleModel;\r\n"],"sourceRoot":""}