{"version":3,"sources":["assets/img/logo/logo-bo-login.png","@fake-db/navbar/navbarBookmarkSearch.js","components/@vuexy/radio/RadioVuexy.js","components/@vuexy/customizer/Customizer.js","layouts/components/menu/vertical-menu/SidebarHeader.js","layouts/components/menu/vertical-menu/sidemenu/SideMenuGroup.js","history.js","layouts/components/menu/vertical-menu/sidemenu/SideMenuContent.js","layouts/components/menu/vertical-menu/Sidebar.js","layouts/components/navbar/NavbarUser.js","redux/actions/navbar/Index.js","layouts/components/navbar/NavbarBookmarks.js","layouts/components/navbar/Navbar.js","layouts/components/footer/Footer.js","layouts/VerticalLayout.js","redux/actions/customizer/index.js","utility/context/Layout.js","layouts/FullpageLayout.js","constants/dataConstants.js","assets/img/portrait/small/avatar-s-11.jpg","assets/img/NoImage.png","assets/img/pdf.png","assets/img/defaultUser1.png","assets/img/icon-warning.png","@fake-db/mock.js","config/config.js","constants/urlConstant.js","services/commonService.js","serviceWorker.js","@fake-db/navbar/navbarSearch.js","@fake-db/auth/authentication.js","@fake-db/index.js","index.js","services/apiLoaderService.js","configs/themeConfig.js","i18n.js","layouts/components/apiLoader/apiLoader.js","redux/reducers/customizer/customizer.js","redux/reducers/customizer/index.js","redux/reducers/auth/index.js","redux/reducers/auth/loginReducer.js","redux/user/actions.js","redux/user/reducers.js","redux/reducers/navbar/Index.js","redux/apiLoader/actions.js","redux/apiLoader/reducers.js","redux/reducers/promotionSidebar/index.js","redux/reducers/rootReducer.js","redux/storeConfig/store.js"],"names":["module","exports","searchResult","id","target","title","link","icon","starred","mock","onGet","reply","onPost","request","bookmarkToUpdate","JSON","parse","data","obj","filter","i","RadioVuexy","className","classnames","this","props","color","type","defaultChecked","value","disabled","name","onClick","onChange","ref","checked","size","label","React","Component","Customizer","state","activeNavbar","navbarType","footerType","menuTheme","collapsedSidebar","handleNavbarChange","changeNavbar","setState","activeMode","collapseSidebar","sidebarState","ContextLayout","Consumer","context","open","customizerState","handleCustomizer","options","wheelPropagation","selected","includes","changeMenuTheme","activeLayout","switchLayout","changeMode","Fragment","CustomInput","inline","changeNavbarType","changeFooterType","direction","switchDir","hideScrollToTop","scrollToTop","SidebarHeader","toggleSidebarMenu","activeTheme","collapsed","toggle","sidebarVisibility","menuShadow","src","logo","alt","localStorage","setItem","data-tour","selectedId","SideMenuGroup","handleActiveItem","url","activeItem","handleToggle","itemId","prevState","newIsOpen","isOpen","Object","keys","forEach","key","flag","parentArray","childObj","activePath","prevProps","navLink","MediaId","activeMenuMediaId","parentArr","splice","length","push","item","activeGroup","handleGroupClick","t","children","InnerChildren","mediaPageChild","_","find","activeItemState","dataConstant","Undefined","firstMediaPage","map","child","CustomAnchorTag","Link","navlink","collapsedMenuPaths","permissions","e","stopPropagation","undefined","deviceWidth","toggleMenu","hover","hoverIndex","currentActiveGroup","active","parentOf","to","pathname","href","onMouseEnter","handleSidebarMouseEnter","onMouseLeave","preventDefault","badge","Badge","pill","badgeText","renderChild","redirectUnauthorized","group","withTranslation","history","createBrowserHistory","SideMenuContent","isHovered","activeGroups","tempArr","parent","open_group","active_group","temp_arr","indexOf","slice","temp","initRender","collapsedPath","navigationConfig","menuItems","allMenuList","chain","zip","pluck","flatten","compact","activeItemDetails","ParentId","groupTitle","renderItem","filterBase","newTab","triggerActive","currentUser","menuRights","Sidebar","width","window","innerWidth","activeIndex","hoveredMenuItem","ScrollbarTag","PerfectScrollbar","mounted","updateWidth","checkDevice","getBackOfficeMenuList","getBackOfficeMenuURL","urlConstant","BackOfficeMenu","GetBackOfficeMenuList","httpGet","accessToken","impersonateEmail","then","response","Value","Data","contains","location","catch","err","console","error","finally","addEventListener","prefixes","split","DocumentTouch","query","matchMedia","matches","mq","join","changeActiveIndex","visibilityState","sidebarHover","currentLang","scrollShadow","container","dir","scrollTop","onSwipe","sidebarBgColor","onScrollDown","onScrollUp","onYReachStart","setActiveIndex","lang","contextType","AuthenticationContext","connect","auth","login","userRole","acctId","UserDropdown","logUserOut","useContext","DropdownMenu","right","DropdownItem","clear","NavbarUser","navbarSearch","suggestions","userProfilePicPath","userName","isAffiliate","refID","isPurchasedPackage","isConsultantPackagePurchased","loading","isNotification","isRequired","isPopupOpen","refURL","IsBYLDerEnrolled","handleNavbarSearch","openPopup","closePopup","getProfilePicDetails","getProfilePicDetailsURL","User","GetUserProfilePicDetails","Status","APIResponseStatus","Success","responseData","Values","StoredPath","UserImageURL","UserName","log","getUserSpecificData","a","getUserSpecificDetailsURL","GetUserSpecificDetails","AcctID","userRoleDeatil","UserRolesdetail","roleName","affiliateRole","RoleType","Affiliate","RefID","IsPackagePurchased","IsConsultantPackagePurchased","getRefrenceName","dataModel","RefId","httpPost","IBOSignup","GetRefById","Failure","RefURL","bind","isLoggedIn","userPrefix","UncontrolledDropdown","tag","DropdownToggle","height","hidden","onClose","minWidth","upgrade","PureComponent","withRouter","loadSuggestions","dispatch","axios","get","reorder","list","startIndex","endIndex","result","Array","from","removed","NavbarBookmarks","showBookmarks","noSuggestions","isStarred","starredItems","updateBookmarks","handleBookmarksVisibility","onDragEnd","destination","source","index","renderBookmarks","droppableId","provided","snapshot","innerRef","droppableProps","IconTag","Icon","draggableId","draggableProps","dragHandleProps","NavItem","NavLink","UncontrolledTooltip","placement","placeholder","bookmarks","navbar","updateStarred","object","post","authenticationState","useState","setUserName","useEffect","stringify","Navbar","navbarColor","horizontal","scrolling","handleAppOverlay","changeCurrentLang","userImg","locales","defaultLanguage","getItem","onLocaleChange","Date","getFullYear","showUnder","Button","VerticalLayout","isNull","toString","layout","app","customizer","theme","collapsedContent","sidebarHidden","appOverlay","currRoute","collapsedPaths","bool","handleCollapsedMenuPaths","val","sidebarMenuHover","handleSidebarVisibility","handleCurrentLanguage","handleAppOverlayClick","document","getElementsByTagName","setAttribute","body","classList","add","sidebarCollapsed","remove","apiLoader","appProps","locationState","mediaId","sidebarProps","match","path","navbarProps","appOverlayState","footerProps","customizerProps","changeNavbarColor","changeMenuColor","isLoading","disableCustomizer","mode","style","layouts","vertical","full","themeConfig","layoutDark","createContext","Layout","lastLayout","handleWindowResize","componentDidMount","handleDirUpdate","Provider","fullLayout","horizontalLayout","KendoFilter","take","skip","filterable","sortable","pageable","buttonCount","pageSizes","resizable","reorderable","NumericFixedDigit","DateFormatArray","MemberShipInvoiceStatusList","i18n","MemberShipInvoiceStatusCancelled","SmartCartStatusDeleted","ConfirmationTitle","NoSpecialCharacterRegex","RegExp","NoAlphabetCharacterRegex","NoAlphabetCharacterWithOneSpacialCharRegex","NoSpecialCharacterWithWhiteSpaceRegex","PasswordValidation","WhiteSpaceRegex","EmailRegex","NumberAndNull","PhoneFieldNumbersRegex","NoImageURL","require","PdfImageURL","AESEncryptDecryptKey","process","imgExtensions","FileSize","ConfirmationActionButton","Yes","No","Close","ItemSubType","CustomPackage","PredefinedPackage","AdditionalItem","FeaturedMembership","CustomMembership","WarningLogo","SignupLeadGUID","Warning","MinMaxLength","CharLimit5","CharLimit10","CharLimit15","CharLimit20","CharLimit25","CharLimit50","CharLimit100","CharLimit150","CharLimit200","CharLimit250","CharLimit255","CharLimit300","CharLimit500","CharLimit1000","CharLimit9","ZipcodeMax","ZipcodeMin","CVVMax","ToastNotificationTimeOut","TwoDigitConstValue","ZeroValue","OneValue","AllDropDown","CoutryDropDown","CommissionTypeDropDown","RoleDropDown","CurrencyDropDown","TimeZoneDropDown","CustomerTypesDropDown","EmailTemplateTagDropDown","ItemAttributeDropDown","ItemCategoryDropDown","ItemDropDown","ItemSubTypesDropDown","ItemListByItemSubTypeDropDown","ItemTypesDropDown","LanguageDropDown","MediaCategoriesDropDown","MediaPageDropDown","PaymentMethodDropDown","QualificationDropDown","RankDropDown","ShippingMethodDropDown","UserDropDown","PromoActionDropDown","PromoEventDropDown","StateDropDown","ReinH2OFinancingDropDown","LeadFinancingDropDown","ProductInterestedDropDown","LeadRoofAgeDropDown","LeadRoofTypeDropDown","LeadMountingPreferenceDropDown","LeadWorkDropDown","LeadStatusDropDown","AffiliateCommissionDropDown","LeadKindofElectricalPanelDropDown","ReinAffiliateCommissionDropDown","EventComponents","BuyingCertainProduct","BuyingCertainAmount","MinimumRankRequirement","Location","CertainAmountType","InvoiceTotal","SubTotal","PromotionType","FeaturedPromotion","ApplicablePromotion","ActionComponents","AddProduct","Discount","FreeShipping","GiftCard","DiscountLevel","ItemLevel","OrderLevel","DiscountApplyOn","AppliedToSubTotal","AppliedToOrderTotal","RegistrationType","Personal","Company","imgExtensionsWithOutDots","PlacementPreference","OrderStatusList","NumberFormat","MediaType","TextBlog","YouTubeVideo","VimeoVideo","Picture","PDFFileUpload","Pending","KendoTextBoxFormat","NumericTextBoxFormatN0","NumericTextBoxFormatN2","NumericTextBoxFormatN4","NumericTextBoxFormatC2","NumericTextBoxFormatP","InlineShareButtonsConfig","alignment","enabled","font_size","labels","language","networks","padding","radius","show_total","message","subject","promotionAppliedOn","retail","ambassador","both","AffiliateTermsAndConditions","DocumentName","DocumentType","RankType","DisplayRankID","RankName","RetailCustomer","Ambassador","MediaConfigurationType","AffiliateVideo","AmbassadorVideo","promotionCode","affiliate","promoActionType","addProduct","discount","freeShipping","giftCard","repPoliciesAndProcedureDocumentDet","termsAndConditionPreviousPage","becomeAnAffiliate","enrollmentForm","privacyPolicy","IBOtermsAndConditions","refundPolicy","termsOfUse","memberTermsAndConditions","PrivacyPolicy","IBOTermsAndConditions","RefundPolicy","TermsOfUse","MemberShipInvoiceStatus","Active","Deleted","BackOfficeInvoice","loginLogo","LeadCollections","AddFormTitle","EditFormTitle","allowedExtensions","LeadStatus","New","Closed","ApprovalPendingFromMentor","ApprovedByMentor","RejectedByMentor","FreedomPortalLogin","BecomeMentor","OthersMentor","SelfMentor","MAX_LENGTH","MAX_FILE_SIZE_MB","CountryList","PrimaryPaymentMethods","SecondaryPaymentMethods","ReinH2O","Solar","MockAdapter","config","apiURL","identityServerApiURL","REACT_APP_IDENTITY_SERVER_URL","IdentityClientID","rippleApiUrl","Common","LanguageList","GetRegistrationTypeList","GetCoutryDropDownList","GetStateList","GetAllDropDownList","GetApplicablePromotions","GetAllDropDownData","GetiWalletStatusList","GetiWalletTransactionType","GetYourselfMentorStatusList","GetBusinessTypeDropDownList","SignupLeadDetails","Edit","GetSignupLeadItemDetailsByGUID","USAddressVerification","SignUp","GetPackageList","GetItemImage","GetItemList","CreateSignupLeadDetails","CreateSignupLeadItem","CreateSignupLeadSmartshipItem","LeadItemDetailsList","LeadSmartshipItemDetailsList","LeadItemRemoveFromCart","OrderItemValidation","CheckoutProcess","CheckEmailDetails","CheckReplicationSiteDetails","GetReferenceId","GetRandomReferenceId","GetItemDetailsByItemId","GetItemListByIds","GetTaxDetail","AffiliateSignUp","GetUserDetails","GetSignUpPackageTotalAmount","UpgradeProcess","UserManagement","Authorization","EditUserLoginInfo","GetPublicInfoById","GetPrivateInfoById","EditPublicInfo","EditPrivateInfo","ChangePassword","GetDashboardDetails","Sponsor","GetSponsorInformation","ReferralTree","GetReferralTreeList","GetPlacementPreferenceDetails","EditPlacementPreference","Order","OrderList","OrderDetails","ExistingCardList","OrderRepayment","SmartShipInvoice","SmartShipInvoiceList","SmartShipInvoiceStatusUpdate","GetSmartShipList","CreateSmartShipInvoice","EditSmartShipInvoice","RunSmartShipInvoice","GetUserPaymentMethodByUserId","UserPaymentMethodModify","iWallet","iWalletList","GetiWalletSummary","GetExternalPaymentConfigurationById","ExternalPaymentConfigurationList","CreateiWallet","SendAccessCode","CompareAccessCode","GetiWalletLatestWithdrawlBankingDetailsByType","FeeConfiguration","FeeConfigurationList","MediaPageDetails","MediaPageDetailsListByMediaId","GetMediaPagePdfFile","AssignMediaPageQualification","BinaryPlacementTree","BinaryPlacementTreeList","CheckAccountIdInPlacementTree","GetBottomPlacementTree","SmartCart","GetSmartCartDetailsByUserId","GetSmartCartDetailsByGUID","DeleteSmartCartById","GoToSmartCart","PersonallySponsored","PersonallySponsoredList","PaymentProfile","CreatePaymentProfile","PaymentProfileList","PaymentProfileDelete","PaymentProfileSetDefault","LegalDocument","LegalDocumnetDetailByTypeAndName","SystemMediaConfiguration","GetSystemMediaConfigurationDetails","UpGradeAccount","UpgradeUserAccount","Dashboard","DashboardNewSignUpDetails","DashboardCommissionDetails","DashboardRetailCustomerOrderDetails","DashboardUserOrderDetails","DashboardUserSmartshipInvoiceDetails","KnowledgeBaseURL","RetailShopping","GetUserRoleByEmail","SeamlessLogin","SeamlessLoginCreate","SeamlessLoginConsume","WebsiteName","UpdateWebsiteName","Rewards","CheckAccessAPI","CheckRewardPageAccessCriteria","ReceiveMyDiscount","CraeteLeadCollection","EditLeadCollection","GetLeadCollectionListByUserId","GetLeadCollectionDetailsById","DeleteUplodedMedia","LeadCollectionDelete","LeadMentorSearchList","LeadAffiliateList","CrediFormLink","ApplyFinancingLink","ShopResidentialLink","Reports","DualTeamBonusCommissionReport","DualTeamBonusVolumeReport","DailyDualTeamBonusVolumeReport","MediaSlides","GetMediaSlidesListForSlider","RippleSecureSignUp","GetSignUpDetail","CreateRippleAccount","AddRippleAcctIdInDB","Travertex","GetTravertexUserDetails","CreateTravertexAccount","LoginTravertexAccount","CryptoJS","requestURL","authorizationRequired","enableLoader","Promise","resolve","reject","method","headers","startApiLoader","fetch","status","json","responseJson","endApiLoader","warn","requestBody","encryptData","enc","Utf8","iv","AES","encrypt","CBC","pad","Pkcs7","DecryptData","decrypt","hideScrollbar","overflow","showScrollbar","DocumentUpload","formData","Accept","Boolean","hostname","searchLimit","users","email","password","jwtConfig","user","jwt","sign","secret","expiresIn","expireTime","userData","assign","loggedInWith","lastIndex","verify","newAccessToken","onAny","passThrough","LazyApp","lazy","ReactDOM","render","store","fallback","userInfoRoleEndpoint","getElementById","navigator","serviceWorker","ready","registration","unregister","payload","use","XHR","LanguageDetector","initReactI18next","init","resources","es","rankES","bg","rankBG","en","rankEN","lng","fallbackLng","debug","ns","defaultNS","keySeparator","interpolation","escapeValue","formatSeparator","react","wait","bindI18n","bindStore","nsMode","ApiLoader","customizerReducer","action","combineReducers","authReducers","values","actions","SET_STATE","SIGNIN","SIGNOUT","GETUSERNAME","CHANGEPASSWORD","SETUSERAUTHORIZATION","initialState","role","avatar","accesstoken","authorized","authenticated","MaterialType","IsImpersonate","reftype","extraStarred","navbarReducer","starredState","extraStarredState","j","newState","getBookmark","updatedState","concat","events","sidebar","selectedEvent","promotionSidebarReducer","event","rootReducer","promotionSidebar","middlewares","thunk","createDebounce","composeEnhancers","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","createStore","applyMiddleware"],"mappings":"uHAAAA,EAAOC,QAAU,IAA0B,2C,iCCA3C,8CAEaC,EAAe,CAC1B,CACEC,GAAI,EACJC,OAAQ,OACRC,MAAO,OACPC,KAAM,IACNC,KAAM,OACNC,SAAS,GAEX,CACEL,GAAI,EACJC,OAAQ,OACRC,MAAO,SACPC,KAAM,SACNC,KAAM,OACNC,SAAS,IAIbC,IAAKC,MAAM,8BAA8BC,MAAM,IAAK,CAClDT,iBAGFO,IAAKG,OAAO,yBAAyBD,OAAM,SAAAE,GACzC,IAAMC,EAAmBC,KAAKC,MAAMH,EAAQI,MAAMC,IASlD,OAPAhB,EAAaiB,QAAO,SAAAC,GAClB,OAAIA,EAAEjB,KAAOW,EAAiBX,GACpBiB,EAAEZ,SAAWM,EAAiBN,QAE/B,QAGJ,CAAC,S,+NCAKa,E,uKA/BX,OACE,yBACEC,UAAWC,IAAW,gBAAD,OACHC,KAAKC,MAAMH,UADR,qBAC8BE,KAAKC,MAAMC,SAG9D,2BACEC,KAAK,QACLC,eAAgBJ,KAAKC,MAAMG,eAC3BC,MAAOL,KAAKC,MAAMI,MAClBC,SAAUN,KAAKC,MAAMK,SACrBC,KAAMP,KAAKC,MAAMM,KACjBC,QAASR,KAAKC,MAAMO,QACpBC,SAAUT,KAAKC,MAAMQ,SACrBC,IAAKV,KAAKC,MAAMS,IAChBC,QAASX,KAAKC,MAAMU,UAEtB,0BACEb,UAAWC,IAAW,WAAY,CAChC,cAAmC,OAApBC,KAAKC,MAAMW,KAC1B,cAAmC,OAApBZ,KAAKC,MAAMW,QAG5B,0BAAMd,UAAU,qBAChB,0BAAMA,U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,uCAChE,OAAQA,EAAO93B,MACb,IAAK,iBACH,OAAO,2BAAKc,GAAZ,IAAmB84B,QAAS9B,EAAOtF,SACrC,IAAK,wBACH,OAAO,2BAAK1xB,GAAZ,IAAmB+4B,cAAe/B,EAAOiC,QAC3C,QACE,OAAOj5B,ICIEk5B,EATKjC,YAAgB,CAClC/gB,WAAYA,EACZlJ,KAAMA,EACNwmB,KLMa,WAAoD,IAA/BxzB,EAA8B,uDAAtB23B,EAAcX,EAAQ,uCAChE,OAAQA,EAAO93B,MACb,KAAKk4B,EAAQC,UACX,OAAO,2BAAKr3B,GAAUg3B,EAAO7B,SAE/B,IAAK,mBACH,OAAO,2BACFn1B,GADL,IAEEV,KAAM03B,EAAO7B,QAAQ71B,KACrB04B,cAAehB,EAAO7B,QAAQ6C,gBAElC,QACE,OAAOh4B,IKjBXqU,OAAQA,EACRmD,UFPa,WAAyD,IAA/BxX,EAA8B,uDAAtB23B,EAAcX,EAAQ,uCACrE,OAAQA,EAAO93B,MACb,KAAKk4B,EAAQC,UACX,OAAO,2BAAKr3B,GAAUg3B,EAAO7B,SAC/B,QACE,OAAOn1B,IEGXm5B,iBAAkBA,ICTdC,EAAc,CAACC,IAAOC,OAEtBC,EAAmB9vB,OAAO+vB,sCAAwCC,IAClE/E,EAAQgF,YACZR,EACA,GACAK,EAAiBI,IAAe,WAAf,EAAmBP,O","file":"static/js/main.fcb5df2f.chunk.js","sourcesContent":["module.exports = __webpack_public_path__ + \"static/media/logo-bo-login.2e64a0b2.png\";","import mock from \"../mock\"\r\n\r\nexport const searchResult = [\r\n {\r\n id: 1,\r\n target: \"home\",\r\n title: \"Home\",\r\n link: \"/\",\r\n icon: \"Home\",\r\n starred: false\r\n },\r\n {\r\n id: 2,\r\n target: \"page\",\r\n title: \"Page 2\",\r\n link: \"/page2\",\r\n icon: \"File\",\r\n starred: false\r\n }\r\n]\r\n\r\nmock.onGet(\"/api/search/bookmarks/data\").reply(200, {\r\n searchResult\r\n})\r\n\r\nmock.onPost(\"/api/update/bookmarks\").reply(request => {\r\n const bookmarkToUpdate = JSON.parse(request.data).obj\r\n\r\n searchResult.filter(i => {\r\n if (i.id === bookmarkToUpdate.id) {\r\n return (i.starred = !bookmarkToUpdate.starred)\r\n } else {\r\n return null\r\n }\r\n })\r\n return [200]\r\n})\r\n","import React from \"react\"\r\nimport classnames from \"classnames\"\r\nclass RadioVuexy extends React.Component {\r\n render() {\r\n return (\r\n \r\n \r\n \r\n \r\n \r\n \r\n {this.props.label}\r\n \r\n )\r\n }\r\n}\r\nexport default RadioVuexy\r\n","import React from \"react\"\r\nimport { CustomInput } from \"reactstrap\"\r\nimport { Settings, X } from \"react-feather\"\r\nimport classnames from \"classnames\"\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\"\r\nimport { ContextLayout } from \"../../../utility/context/Layout\"\r\nimport Radio from \"../radio/RadioVuexy\"\r\nimport \"../../../assets/scss/components/customizer.scss\"\r\n\r\nclass Customizer extends React.Component {\r\n state = {\r\n activeNavbar: this.props.activeNavbar,\r\n navbarType: null,\r\n footerType: null,\r\n menuTheme: null,\r\n collapsedSidebar: null\r\n }\r\n\r\n static getDerivedStateFromProps(props, state) {\r\n if (\r\n props.navbarType !== state.navbarType ||\r\n props.footerType !== state.footerType ||\r\n props.menuTheme !== state.menuTheme ||\r\n props.activeMode !== state.activeMode ||\r\n props.sidebarState !== state.collapsedSidebar\r\n ) {\r\n return {\r\n activeNavbar: props.activeNavbar,\r\n navbarType: props.navbarType,\r\n footerType: props.footerType,\r\n menuTheme: props.menuTheme,\r\n activeMode: props.activeMode,\r\n collapsedSidebar: props.sidebarState\r\n }\r\n }\r\n // Return null if the state hasn't changed\r\n return null\r\n }\r\n\r\n handleNavbarChange = color => {\r\n this.props.changeNavbar(color)\r\n this.setState({\r\n activeNavbar: color\r\n })\r\n }\r\n\r\n componentDidMount() {\r\n this.setState({\r\n navbarType: this.props.navbarType,\r\n footerType: this.props.footerType,\r\n menuTheme: this.props.menuTheme,\r\n activeMode: this.props.activeMode,\r\n collapseSidebar: this.props.sidebarState\r\n })\r\n }\r\n\r\n render() {\r\n const {\r\n activeNavbar,\r\n navbarType,\r\n footerType,\r\n menuTheme,\r\n activeMode,\r\n collapsedSidebar\r\n } = this.state\r\n return (\r\n \r\n {context => {\r\n return (\r\n \r\n \r\n this.props.handleCustomizer(!this.props.customizerState)\r\n }\r\n >\r\n \r\n \r\n
\r\n
\r\n

Theme Customizer

\r\n Customize & Preview in Real Time\r\n
\r\n this.props.handleCustomizer(false)}\r\n >\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n
Menu Colors
\r\n
    \r\n this.props.changeMenuTheme(\"primary\")}\r\n />\r\n this.props.changeMenuTheme(\"success\")}\r\n />\r\n this.props.changeMenuTheme(\"danger\")}\r\n />\r\n this.props.changeMenuTheme(\"info\")}\r\n />\r\n this.props.changeMenuTheme(\"warning\")}\r\n />\r\n this.props.changeMenuTheme(\"dark\")}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
Theme Layout
\r\n
\r\n context.switchLayout(\"vertical\")}\r\n />\r\n
\r\n
\r\n context.switchLayout(\"horizontal\")}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
Theme Mode
\r\n
\r\n this.props.changeMode(\"light\")}\r\n />\r\n
\r\n
\r\n this.props.changeMode(\"dark\")}\r\n />\r\n
\r\n {context.state.activeLayout !== \"horizontal\" && \r\n
\r\n this.props.changeMode(\"semi-dark\")}\r\n />\r\n
\r\n }\r\n
\r\n { context.state.activeLayout !== \"horizontal\" && \r\n
\r\n
\r\n
Collapse Sidebar
\r\n {\r\n this.props.collapseSidebar(!collapsedSidebar)\r\n }}\r\n inline\r\n />\r\n
\r\n
\r\n }\r\n
\r\n {context.state.activeLayout === \"vertical\" && (\r\n \r\n
\r\n
Navbar Colors
\r\n
    \r\n this.handleNavbarChange(\"default\")}\r\n />\r\n this.handleNavbarChange(\"primary\")}\r\n />\r\n this.handleNavbarChange(\"success\")}\r\n />\r\n this.handleNavbarChange(\"danger\")}\r\n />\r\n this.handleNavbarChange(\"info\")}\r\n />\r\n this.handleNavbarChange(\"warning\")}\r\n />\r\n this.handleNavbarChange(\"dark\")}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n
Navbar Type
\r\n { context.state.activeLayout !== \"horizontal\" && \r\n
\r\n this.props.changeNavbarType(\"hidden\")}\r\n />\r\n
\r\n }\r\n
\r\n this.props.changeNavbarType(\"static\")}\r\n />\r\n
\r\n
\r\n this.props.changeNavbarType(\"sticky\")}\r\n />\r\n
\r\n
\r\n this.props.changeNavbarType(\"floating\")}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
Footer Type
\r\n
\r\n this.props.changeFooterType(\"hidden\")}\r\n />\r\n
\r\n
\r\n this.props.changeFooterType(\"static\")}\r\n />\r\n
\r\n
\r\n this.props.changeFooterType(\"sticky\")}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
RTL
\r\n {\r\n if (context.state.direction === \"rtl\") {\r\n context.switchDir(\"ltr\")\r\n } else {\r\n context.switchDir(\"rtl\")\r\n }\r\n }}\r\n />\r\n
\r\n
\r\n
\r\n
Hide Scroll To Top
\r\n \r\n this.props.hideScrollToTop(!this.props.scrollToTop)\r\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 Customizer\r\n","import React, { Component } from \"react\";\r\n// import { NavLink } from \"react-router-dom\";\r\nimport { Disc, X, Circle } from \"react-feather\";\r\nimport classnames from \"classnames\";\r\nimport logo from \"../../../../assets/img/logo/logo-bo-login.png\";\r\n// import \"../../../../assets/styles/Custom/custom.scss\";\r\n\r\nclass SidebarHeader extends Component {\r\n render() {\r\n let {\r\n toggleSidebarMenu,\r\n activeTheme,\r\n collapsed,\r\n toggle,\r\n sidebarVisibility,\r\n menuShadow\r\n } = this.props;\r\n return (\r\n
\r\n
    \r\n
  • \r\n {/* */}\r\n {/*
    */}\r\n
    \r\n {logo}\r\n
    \r\n {/*
    */}\r\n
  • \r\n
  • \r\n
    \r\n {collapsed === false ? (\r\n {\r\n // console.log(\"SidebarHeader localStorage.getItem(storedCollapsedSidebar) , storedCollapsedSidebar : \"+localStorage.getItem(\"storedCollapsedSidebar\"))\r\n\r\n localStorage.setItem(\"storedCollapsedSidebar\", true);\r\n //console.log(\"SidebarHeader localStorage.setItem(storedCollapsedSidebar,true) , storedCollapsedSidebar : \"+localStorage.getItem(\"storedCollapsedSidebar\"))\r\n toggleSidebarMenu(true);\r\n toggle();\r\n }}\r\n className={classnames(\r\n \"toggle-icon icon-x d-none d-xl-block font-medium-4 color-vampire-grey\",\r\n {\r\n // \"text-primary\": activeTheme === \"primary\",\r\n \"text-success\": activeTheme === \"success\",\r\n \"text-danger\": activeTheme === \"danger\",\r\n \"text-info\": activeTheme === \"info\",\r\n \"text-warning\": activeTheme === \"warning\",\r\n \"text-dark\": activeTheme === \"dark\"\r\n }\r\n )}\r\n size={20}\r\n data-tour=\"toggle-icon\"\r\n />\r\n ) : (\r\n {\r\n //console.log(\"SidebarHeader localStorage.getItem(storedCollapsedSidebar) , storedCollapsedSidebar : \"+localStorage.getItem(\"storedCollapsedSidebar\"))\r\n\r\n localStorage.setItem(\"storedCollapsedSidebar\", false);\r\n //console.log(\"SidebarHeader localStorage.setItem(storedCollapsedSidebar,false) , storedCollapsedSidebar : \"+localStorage.getItem(\"storedCollapsedSidebar\"))\r\n toggleSidebarMenu(false);\r\n toggle();\r\n }}\r\n className={classnames(\r\n \"toggle-icon icon-x d-none d-xl-block font-medium-4 color-vampire-grey\",\r\n {\r\n // \"text-primary\": activeTheme === \"primary\",\r\n \"text-success\": activeTheme === \"success\",\r\n \"text-danger\": activeTheme === \"danger\",\r\n \"text-info\": activeTheme === \"info\",\r\n \"text-warning\": activeTheme === \"warning\",\r\n \"text-dark\": activeTheme === \"dark\"\r\n }\r\n )}\r\n size={20}\r\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 SidebarHeader;\r\n","import React from \"react\"\r\nimport { Link } from \"react-router-dom\"\r\nimport { Badge } from \"reactstrap\"\r\nimport classnames from \"classnames\"\r\nimport { ChevronRight } from \"react-feather\"\r\nimport _ from 'underscore'\r\nimport { withTranslation } from 'react-i18next'\r\nimport dataConstant from \"../../../../../constants/dataConstants\"\r\n\r\nlet selectedId = 0\r\n\r\nclass SideMenuGroup extends React.Component {\r\n constructor(props) {\r\n super(props)\r\n this.flag = true\r\n this.parentArray = []\r\n this.childObj = {}\r\n this.state = {\r\n isOpen: {},\r\n activeItem: this.props.activePath\r\n }\r\n }\r\n\r\n handleActiveItem = url => {\r\n this.setState({\r\n activeItem: url\r\n })\r\n }\r\n\r\n handleToggle = (itemId) => {\r\n this.setState(prevState => {\r\n const newIsOpen = { ...prevState.isOpen }\r\n\r\n Object.keys(newIsOpen).forEach(key => {\r\n newIsOpen[key] = false\r\n })\r\n\r\n newIsOpen[itemId] = !newIsOpen[itemId]\r\n\r\n return { isOpen: newIsOpen }\r\n })\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (prevProps.activePath !== this.props.activePath) {\r\n if (this.props.activePath === '/mediaPage' && this.props.activePath === this.childObj.navLink) {\r\n if (this.childObj.MediaId === this.props.activeMenuMediaId) {\r\n this.props.parentArr.splice(0, this.props.parentArr.length)\r\n this.props.parentArr.push(this.parentArray)\r\n }\r\n } else if (\r\n this.props.activePath === this.childObj.navLink &&\r\n !this.props.parentArr.includes(this.parentArray[0])\r\n ) {\r\n this.props.parentArr.splice(0, this.props.parentArr.length)\r\n this.props.parentArr.push(this.parentArray)\r\n } else if (this.props.parentArr.includes(this.parentArray)) {\r\n this.props.parentArr.splice(0, this.props.parentArr.length)\r\n }\r\n }\r\n }\r\n\r\n renderChild(item, activeGroup, handleGroupClick, handleActiveItem) {\r\n const { t } = this.props\r\n\r\n if (item.children || item.InnerChildren) {\r\n if (item.children) {\r\n const mediaPageChild = _.find(item.children, i => i.navLink === this.props.activeItemState && i.MediaId === this.props.activeMenuMediaId)\r\n if (mediaPageChild !== dataConstant.Undefined) {\r\n selectedId = mediaPageChild.id\r\n } else {\r\n const firstMediaPage = _.find(item.children, i => i.navLink === '/mediaPage' && i.MediaId === this.props.activeMenuMediaId)\r\n if (firstMediaPage !== dataConstant.Undefined) {\r\n selectedId = firstMediaPage.id\r\n }\r\n }\r\n } else {\r\n const mediaPageChild = _.find(item.InnerChildren, i => i.navLink === this.props.activeItemState && i.MediaId === this.props.activeMenuMediaId)\r\n if (mediaPageChild !== dataConstant.Undefined) {\r\n selectedId = mediaPageChild.id\r\n } else {\r\n const firstMediaPage = _.find(item.InnerChildren, i => i.navLink === '/mediaPage' && i.MediaId === this.props.activeMenuMediaId)\r\n if (firstMediaPage !== dataConstant.Undefined) {\r\n selectedId = firstMediaPage.id\r\n }\r\n }\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n {[...(item.children || []), ...(item.InnerChildren || [])].map(child => {\r\n const CustomAnchorTag =\r\n child.type === \"external-link\" ? `a` : Link;\r\n\r\n if (!this.parentArray.includes(item.id) && this.flag) {\r\n this.parentArray.push(item.id)\r\n }\r\n\r\n if (child.navlink && child.collapsed) {\r\n this.props.collapsedMenuPaths(child.navLink)\r\n }\r\n if (this.props.activeItemState === '/mediaPage' && this.props.activeItemState === child.navLink) {\r\n if (child.MediaId === this.props.activeMenuMediaId) {\r\n this.childObj = child\r\n this.props.parentArr.push(this.parentArray)\r\n this.flag = false\r\n }\r\n } else if (this.props.activeItemState === child.navLink) {\r\n this.childObj = child\r\n this.props.parentArr.push(this.parentArray)\r\n this.flag = false\r\n }\r\n if (child.permissions === dataConstant.Undefined) {\r\n return (\r\n {\r\n e.stopPropagation()\r\n handleGroupClick(child.id, item.id, child.type)\r\n if (child.navLink && child.navLink !== undefined) {\r\n handleActiveItem(child.navLink)\r\n }\r\n if (this.props.deviceWidth <= 1200 && child.type === \"item\") {\r\n this.props.toggleMenu()\r\n }\r\n }}\r\n className={classnames({\r\n hover: this.props.hoverIndex === child.id,\r\n \"has-sub\": child.type === \"collapse\",\r\n open: child.type === \"collapse\" && this.state.isOpen[child.id],\r\n \"sidebar-group-active\": this.props.currentActiveGroup.includes(child.id),\r\n active: this.props.activeItemState === '/mediaPage' &&\r\n this.props.activeItemState === child.navLink\r\n ? ((this.props.activeItemState === child.navLink && child.type === \"item\" && child.MediaId === this.props.activeMenuMediaId)\r\n || (item.parentOf && item.parentOf.includes(this.props.activeItemState)))\r\n : (this.props.activeItemState === '/viewOrder/:Id?' ? (\r\n child.type === \"item\" && child.id === selectedId) : (((this.props.activeItemState === child.navLink &&\r\n child.type === \"item\") || (item.parentOf && item.parentOf.includes(this.props.activeItemState)))))\r\n ,\r\n disabled: child.disabled\r\n })}\r\n >\r\n this.props.handleSidebarMouseEnter(child.id)}\r\n onMouseLeave={() => this.props.handleSidebarMouseEnter(child.id)}\r\n onClick={e => {\r\n if (child.type === \"collapse\") {\r\n e.preventDefault();\r\n this.handleToggle(child.id)\r\n }else {\r\n this.handleToggle(item.id)\r\n }\r\n }}\r\n target={child.type === \"external-link\" ? \"_blank\" : undefined}\r\n >\r\n
    \r\n \r\n \r\n {t(child.title)}\r\n \r\n
    \r\n {child.badge ? (\r\n \r\n {child.badgeText}\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n {child.type === \"collapse\" ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n\r\n {(child.children)\r\n ? this.renderChild(\r\n child,\r\n activeGroup,\r\n handleGroupClick,\r\n handleActiveItem,\r\n item.id\r\n )\r\n : \"\"}\r\n {(child.InnerChildren)\r\n ? this.renderChild(\r\n child,\r\n activeGroup,\r\n handleGroupClick,\r\n handleActiveItem,\r\n item.id\r\n )\r\n : \"\"}\r\n \r\n )\r\n } else if (\r\n child.navLink === this.props.activePath\r\n ) {\r\n return this.props.redirectUnauthorized()\r\n } else {\r\n return null\r\n }\r\n })}\r\n
\r\n )\r\n }\r\n\r\n render() {\r\n return (\r\n \r\n {this.renderChild(\r\n this.props.group,\r\n this.props.activeGroup,\r\n this.props.handleGroupClick,\r\n this.props.handleActiveItem,\r\n null\r\n )}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default withTranslation()(SideMenuGroup)\r\n","import { createBrowserHistory } from \"history\"\r\nexport let history = createBrowserHistory()\r\n","import React from \"react\"\r\nimport { Link } from \"react-router-dom\"\r\nimport classnames from \"classnames\"\r\nimport SideMenuGroup from \"./SideMenuGroup\"\r\nimport { Badge } from \"reactstrap\"\r\nimport { ChevronRight } from \"react-feather\"\r\nimport { history } from \"../../../../../history\"\r\nimport { withTranslation } from 'react-i18next'\r\nimport _ from 'underscore'\r\n\r\nclass SideMenuContent extends React.Component {\r\n constructor(props) {\r\n super(props)\r\n\r\n this.parentArr = []\r\n this.collapsedPath = null\r\n this.redirectUnauthorized = () => {\r\n history.push(\"/misc/not-authorized\")\r\n }\r\n }\r\n\r\n state = {\r\n flag: true,\r\n isHovered: false,\r\n activeGroups: [],\r\n currentActiveGroup: [],\r\n tempArr: []\r\n }\r\n\r\n handleGroupClick = (id, parent = null, type = \"\") => {\r\n let open_group = this.state.activeGroups\r\n let active_group = this.state.currentActiveGroup\r\n let temp_arr = this.state.tempArr\r\n // Active Group to apply sidebar-group-active class\r\n if (type === \"item\" && parent === null) {\r\n active_group = []\r\n temp_arr = []\r\n } else if (type === \"item\" && parent !== null) {\r\n active_group = []\r\n if (temp_arr.includes(parent)) {\r\n temp_arr.splice(temp_arr.indexOf(parent) + 1, temp_arr.length)\r\n } else {\r\n if (this.props.activeItemState === '/mediaPage') {\r\n temp_arr.push(parent)\r\n }\r\n else {\r\n temp_arr = []\r\n temp_arr.push(parent)\r\n }\r\n }\r\n active_group = temp_arr.slice(0)\r\n } else if (type === \"collapse\" && parent === null) {\r\n temp_arr = []\r\n temp_arr.push(id)\r\n } else if (type === \"collapse\" && parent !== null) {\r\n if (active_group.includes(parent)) {\r\n temp_arr = active_group.slice(0)\r\n }\r\n if (temp_arr.includes(id)) {\r\n // temp_arr.splice(temp_arr.indexOf(id), 1)\r\n temp_arr.splice(temp_arr.indexOf(id), temp_arr.length)\r\n } else {\r\n temp_arr.push(id)\r\n }\r\n } else {\r\n temp_arr = []\r\n }\r\n\r\n if (type === \"collapse\") {\r\n // If open group does not include clicked group item\r\n if (!open_group.includes(id)) {\r\n // Get unmatched items that are not in the active group\r\n let temp = open_group.filter(function (obj) {\r\n return active_group.indexOf(obj) === -1\r\n })\r\n // Remove those unmatched items from open group\r\n if (temp.length > 0 && !open_group.includes(parent)) {\r\n open_group = open_group.filter(function (obj) {\r\n return !temp.includes(obj)\r\n })\r\n }\r\n if (open_group.includes(parent) && active_group.includes(parent)) {\r\n open_group = active_group.slice(0)\r\n }\r\n // Add group item clicked in open group\r\n if (!open_group.includes(id)) {\r\n open_group.push(id)\r\n }\r\n } else {\r\n // If open group includes click group item, remove it from open group\r\n open_group.splice(open_group.indexOf(id), 1)\r\n }\r\n }\r\n if (type === \"item\") {\r\n open_group = active_group.slice(0)\r\n }\r\n\r\n this.setState({\r\n activeGroups: open_group,\r\n tempArr: temp_arr,\r\n currentActiveGroup: active_group\r\n })\r\n }\r\n\r\n initRender = parentArr => {\r\n this.setState({\r\n activeGroups: parentArr.slice(0),\r\n currentActiveGroup: parentArr.slice(0),\r\n flag: false\r\n })\r\n }\r\n\r\n componentDidMount() {\r\n this.initRender(this.parentArr[0] ? this.parentArr[0] : [])\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n if (prevProps.activePath !== this.props.activePath) {\r\n if (this.collapsedMenuPaths !== null) {\r\n this.props.collapsedMenuPaths(this.collapsedMenuPaths)\r\n }\r\n\r\n this.initRender(\r\n this.parentArr[0] ? this.parentArr[this.parentArr.length - 1] : []\r\n )\r\n }\r\n }\r\n\r\n render() {\r\n const { t, navigationConfig } = this.props\r\n\r\n // Loop over sidebar items\r\n // eslint-disable-next-line\r\n const menuItems = navigationConfig.map(item => {\r\n if (navigationConfig.length > 0) {\r\n const allMenuList = _(navigationConfig).chain().zip(_(navigationConfig).pluck('children')).flatten().compact().value()\r\n let activeItemDetails = \"\"\r\n if (this.props.activeItemState === \"/viewOrder/:Id?\") {\r\n activeItemDetails = _.find(allMenuList, i => { return i.navLink === \"/order\" })\r\n }\r\n else if (this.props.activeItemState === \"/mediaPage\") {\r\n activeItemDetails = _.find(allMenuList, i => { return i.navLink === this.props.activeItemState && i.MediaId === this.props.activeMenuMediaId })\r\n }\r\n else {\r\n activeItemDetails = _.find(allMenuList, i => { return i.navLink === this.props.activeItemState })\r\n }\r\n this.state.currentActiveGroup.push(activeItemDetails?.ParentId)\r\n }\r\n\r\n const CustomAnchorTag = item.type === \"external-link\" ? `a` : Link\r\n // checks if item has groupheader\r\n if (item.type === \"groupHeader\") {\r\n return (\r\n \r\n {item.groupTitle}\r\n \r\n )\r\n }\r\n\r\n let renderItem = (\r\n {\r\n e.stopPropagation()\r\n if (item.type === \"item\") {\r\n this.props.handleActiveItem(item.navLink)\r\n this.handleGroupClick(item.id, null, item.type)\r\n if (this.props.deviceWidth <= 1200 && item.type === \"item\") {\r\n this.props.toggleMenu()\r\n }\r\n } else {\r\n this.handleGroupClick(item.id, null, item.type)\r\n }\r\n }}>\r\n {\r\n this.props.handleSidebarMouseEnter(item.id)\r\n }}\r\n onMouseLeave={() => {\r\n this.props.handleSidebarMouseEnter(item.id)\r\n }}\r\n key={item.id}\r\n onClick={e => {\r\n return item.type === \"collapse\" ? e.preventDefault() : \"\"\r\n }}\r\n target={item.newTab || item.type === \"external-link\" ? \"_blank\" : undefined}>\r\n
\r\n \r\n \r\n {t(item.title)}\r\n \r\n
\r\n\r\n {item.badge ? (\r\n
\r\n \r\n {item.badgeText}\r\n \r\n
\r\n ) : (\r\n \"\"\r\n )}\r\n {item.type === \"collapse\" ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n {item.type === \"collapse\" ? (\r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n )\r\n\r\n if (\r\n item.navLink &&\r\n item.collapsed !== undefined &&\r\n item.collapsed === true\r\n ) {\r\n this.collapsedPath = item.navLink\r\n this.props.collapsedMenuPaths(item.navLink)\r\n }\r\n\r\n if (\r\n item.type === \"collapse\" ||\r\n item.type === \"external-link\" ||\r\n item.type === \"item\") {\r\n return renderItem\r\n } else if (\r\n item.type === \"item\" &&\r\n item.navLink === this.props.activePath\r\n ) {\r\n return this.redirectUnauthorized()\r\n }\r\n })\r\n\r\n return {menuItems}\r\n }\r\n}\r\nexport default withTranslation()(SideMenuContent)\r\n","import React, { Component } from \"react\"\r\nimport classnames from \"classnames\"\r\nimport { createBrowserHistory } from 'history'\r\nimport { ContextLayout } from \"../../../../utility/context/Layout\"\r\nimport { connect } from \"react-redux\"\r\nimport SidebarHeader from \"./SidebarHeader\"\r\nimport Hammer from \"react-hammerjs\"\r\nimport SideMenuContent from \"./sidemenu/SideMenuContent\"\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\"\r\nimport { httpGet } from '../../../../services/commonService'\r\nimport urlConstant from '../../../../constants/urlConstant'\r\nimport _ from 'underscore'\r\nimport { AuthenticationContext } from '@cloudmlm/cloudmlm-auth'\r\n\r\nlet menuRights = true\r\nlet navigationConfig = []\r\n\r\nclass Sidebar extends Component {\r\n static getDerivedStateFromProps(props, state) {\r\n if (props.activePath !== state.activeItem) {\r\n return {\r\n activeItem: props.activePath\r\n }\r\n }\r\n // Return null if the state hasn't changed\r\n return null\r\n }\r\n state = {\r\n width: window.innerWidth,\r\n activeIndex: null,\r\n hoveredMenuItem: null,\r\n activeItem: this.props.activePath,\r\n menuShadow: false,\r\n ScrollbarTag: PerfectScrollbar\r\n }\r\n\r\n mounted = false\r\n\r\n updateWidth = () => {\r\n if (this.mounted) {\r\n this.setState(prevState => ({\r\n width: window.innerWidth\r\n }))\r\n this.checkDevice()\r\n }\r\n }\r\n\r\n getBackOfficeMenuList = () => {\r\n const getBackOfficeMenuURL = urlConstant.BackOfficeMenu.GetBackOfficeMenuList\r\n httpGet(getBackOfficeMenuURL, true, true, this.context.accessToken,this.context.impersonateEmail)\r\n .then(response => {\r\n navigationConfig = response.Value.Data\r\n if (navigationConfig.length > 0) {\r\n const allMenuList = _(navigationConfig).chain().zip(_(navigationConfig).pluck('children')).flatten().compact().value()\r\n menuRights = _.contains(_.pluck(allMenuList, 'navLink'), this.state.activeItem)\r\n }\r\n\r\n if (!menuRights && !window.location.pathname.includes('/home')) {\r\n //console.log(\"on refresh Sidebar.js\")\r\n\t\t //history.push('/home')\r\n return\r\n }\r\n })\r\n .catch(err => {\r\n console.error(err)\r\n })\r\n .finally(() => {\r\n this.mounted = true\r\n if (this.mounted) {\r\n if (window !== \"undefined\") {\r\n window.addEventListener(\"resize\", this.updateWidth, false)\r\n }\r\n this.checkDevice()\r\n }\r\n })\r\n }\r\n\r\n componentDidMount() {\r\n this.getBackOfficeMenuList()\r\n }\r\n\r\n componentWillUnmount() {\r\n this.mounted = false\r\n }\r\n\r\n checkDevice = () => {\r\n var prefixes = \" -webkit- -moz- -o- -ms- \".split(\" \")\r\n var mq = function (query) {\r\n return window.matchMedia(query).matches\r\n }\r\n\r\n if (\"ontouchstart\" in window || window.DocumentTouch) {\r\n this.setState({\r\n ScrollbarTag: \"div\"\r\n })\r\n } else {\r\n this.setState({\r\n ScrollbarTag: PerfectScrollbar\r\n })\r\n }\r\n var query = [\"(\", prefixes.join(\"touch-enabled),(\"), \"heartz\", \")\"].join(\"\")\r\n return mq(query)\r\n }\r\n\r\n changeActiveIndex = id => {\r\n if (id !== this.state.activeIndex) {\r\n this.setState({\r\n activeIndex: id\r\n })\r\n } else {\r\n this.setState({\r\n activeIndex: null\r\n })\r\n }\r\n }\r\n\r\n handleSidebarMouseEnter = id => {\r\n if (id !== this.state.hoveredMenuItem) {\r\n this.setState({\r\n hoveredMenuItem: id\r\n })\r\n } else {\r\n this.setState({\r\n hoveredMenuItem: null\r\n })\r\n }\r\n }\r\n\r\n handleActiveItem = url => {\r\n this.setState({\r\n activeItem: url\r\n })\r\n }\r\n\r\n render() {\r\n let {\r\n visibilityState,\r\n toggleSidebarMenu,\r\n sidebarHover,\r\n toggle,\r\n color,\r\n sidebarVisibility,\r\n activeTheme,\r\n collapsed,\r\n activePath,\r\n sidebarState,\r\n currentLang,\r\n currentUser,\r\n collapsedMenuPaths\r\n } = this.props\r\n let {\r\n menuShadow,\r\n activeIndex,\r\n hoveredMenuItem,\r\n activeItem,\r\n ScrollbarTag\r\n } = this.state\r\n\r\n let scrollShadow = (container, dir) => {\r\n if (container && dir === \"up\" && container.scrollTop >= 100) {\r\n this.setState({ menuShadow: true })\r\n } else if (container && dir === \"down\" && container.scrollTop < 100) {\r\n this.setState({ menuShadow: false })\r\n } else {\r\n return\r\n }\r\n }\r\n\r\n return (\r\n \r\n {context => {\r\n let dir = context.state.direction\r\n return (\r\n \r\n {\r\n sidebarVisibility()\r\n }}\r\n direction={\r\n dir === \"rtl\" ? \"DIRECTION_LEFT\" : \"DIRECTION_RIGHT\"\r\n }>\r\n
\r\n \r\n\r\n sidebarHover(false)}\r\n onMouseLeave={() => sidebarHover(true)}>\r\n \r\n scrollShadow(container, \"down\"),\r\n onScrollUp: container => scrollShadow(container, \"up\"),\r\n onYReachStart: () =>\r\n menuShadow === true &&\r\n this.setState({ menuShadow: false })\r\n })}>\r\n {\r\n sidebarVisibility()\r\n }}\r\n direction={\r\n dir === \"rtl\" ? \"DIRECTION_RIGHT\" : \"DIRECTION_LEFT\"\r\n }>\r\n
    \r\n \r\n
\r\n \r\n \r\n \r\n
\r\n )\r\n }}\r\n
\r\n )\r\n }\r\n}\r\n\r\nSidebar.contextType = AuthenticationContext;\r\n\r\nconst mapStateToProps = state => {\r\n return {\r\n currentUser: state.auth.login.userRole\r\n }\r\n}\r\n\r\nexport default connect(mapStateToProps)(Sidebar)\r\n","import React, { useContext } from 'react'\r\nimport { UncontrolledDropdown, DropdownMenu, DropdownItem, DropdownToggle } from 'reactstrap'\r\nimport * as Icon from 'react-feather'\r\n// import { useHistory } from 'react-router-dom'\r\nimport _ from 'underscore'\r\nimport {\r\n AuthenticationContext\r\n // , generateSeamlessAuthCredentials \r\n} from '@cloudmlm/cloudmlm-auth'\r\nimport urlConstant from '../../../constants/urlConstant'\r\nimport dataConstant from '../../../constants/dataConstants'\r\nimport { httpGet, httpPost } from '../../../services/commonService'\r\n// import { endApiLoader, startApiLoader } from '../../../services/apiLoaderService'\r\nimport './Navbar.css'\r\nimport { withRouter } from 'react-router-dom';\r\nimport { Dialog } from '@progress/kendo-react-dialogs'\r\nimport { withTranslation } from 'react-i18next'\r\n\r\nlet acctId = 0;\r\n\r\nconst UserDropdown = props => {\r\n const { logUserOut } = useContext(AuthenticationContext)\r\n // const history = useHistory()\r\n\r\n // const GoToAffiliate = e => {\r\n // return history.push({ pathname: '/affiliate' })\r\n // }\r\n\r\n return (\r\n \r\n {/* \r\n {!props.affiliateRole && (\r\n \r\n Become an Affiliate\r\n \r\n )}\r\n */}\r\n {\r\n logUserOut();\r\n localStorage.clear(); // Clear local storage on sign out\r\n }}>\r\n \r\n Sign Out\r\n \r\n \r\n )\r\n}\r\n\r\n// const rankTypeList = dataConstant.RankType\r\n// const affiliateRankDetail = _.find(rankTypeList, function (item) {\r\n// return item.RankName == dataConstant.RoleType.Affiliate\r\n// })\r\n// const ambassadorRankDetail = _.find(rankTypeList, function (item) {\r\n// return item.RankName == dataConstant.RoleType.Ambassador\r\n// })\r\n\r\nclass NavbarUser extends React.PureComponent {\r\n\r\n static contextType = AuthenticationContext\r\n constructor(props) {\r\n super(props)\r\n this.getProfilePicDetails = this.getProfilePicDetails.bind(this)\r\n this.getUserSpecificData = this.getUserSpecificData.bind(this)\r\n // this.handleShopNow = this.handleShopNow.bind(this)\r\n }\r\n\r\n state = {\r\n navbarSearch: false,\r\n suggestions: [],\r\n userProfilePicPath: '',\r\n userName: '',\r\n isAffiliate: false,\r\n refID: '',\r\n isPurchasedPackage: false,\r\n isConsultantPackagePurchased: false,\r\n loading: true,\r\n isNotification: false,\r\n isRequired: false,\r\n isPopupOpen: false,\r\n refURL: '',\r\n IsBYLDerEnrolled: false\r\n }\r\n\r\n componentDidMount() {\r\n // axios.get(\"/api/main-search/data\").then(({ data }) => {\r\n //\tthis.setState({ suggestions: data.searchResult })\r\n // })\r\n this.getProfilePicDetails()\r\n this.getUserSpecificData()\r\n }\r\n\r\n componentDidUpdate() {\r\n if (this.context.isLoggedIn) {\r\n this.getUserSpecificData()\r\n }\r\n }\r\n\r\n handleNavbarSearch = () => {\r\n this.setState({\r\n navbarSearch: !this.state.navbarSearch,\r\n })\r\n }\r\n\r\n // handleShopNow = () => {\r\n // startApiLoader()\r\n // generateSeamlessAuthCredentials(this.context, urlConstant.SeamlessLogin.SeamlessLoginCreate)\r\n // .then(result => {\r\n // window.location = `${process.env.REACT_APP_RETAIL_SHOPPING_SITE_URL}/seamless-auth/${result}`\r\n // })\r\n // .catch(e => {\r\n // console.error(e)\r\n // endApiLoader()\r\n // })\r\n // }\r\n\r\n openPopup = () => {\r\n this.setState((prevState) => ({\r\n ...prevState,\r\n isPopupOpen: true\r\n }));\r\n };\r\n\r\n closePopup = () => {\r\n this.setState((prevState) => ({\r\n ...prevState,\r\n isPopupOpen: false\r\n }));\r\n };\r\n\r\n getProfilePicDetails = () => {\r\n const getProfilePicDetailsURL = urlConstant.User.GetUserProfilePicDetails\r\n httpGet(\r\n getProfilePicDetailsURL,\r\n true,\r\n true,\r\n this.context.accessToken,\r\n this.context.impersonateEmail,\r\n )\r\n .then(response => {\r\n if (response.Status === dataConstant.APIResponseStatus.Success) {\r\n const responseData = response.Values\r\n this.setState({\r\n userProfilePicPath:\r\n responseData.StoredPath != null ? responseData.StoredPath : dataConstant.UserImageURL,\r\n userName: responseData.UserName,\r\n })\r\n }\r\n })\r\n .catch(err => {\r\n console.log(err)\r\n })\r\n }\r\n\r\n getUserSpecificData = async () => {\r\n const getUserSpecificDetailsURL = `${urlConstant.User.GetUserSpecificDetails}`\r\n await httpGet(\r\n getUserSpecificDetailsURL,\r\n true,\r\n true,\r\n this.context.accessToken,\r\n this.context.impersonateEmail,\r\n )\r\n .then(response => {\r\n if (response !== null && response.Value !== null && response.Value.Status === dataConstant.APIResponseStatus.Success) {\r\n const responseData = response.Value.Data\r\n acctId = responseData.AcctID\r\n const userRoleDeatil =\r\n responseData.UserRolesdetail != null ? responseData.UserRolesdetail : ''\r\n const roleName = _.pluck(userRoleDeatil, 'RoleName')\r\n const affiliateRole = _.contains(roleName, dataConstant.RoleType.Affiliate)\r\n //const ambassadorRole = _.contains(roleName, dataConstant.RoleType.Ambassador)\r\n this.setState({\r\n isAffiliate: affiliateRole,\r\n refID: responseData.RefID,\r\n isPurchasedPackage: responseData.IsPackagePurchased,\r\n isConsultantPackagePurchased: responseData.IsConsultantPackagePurchased,\r\n loading: false,\r\n IsBYLDerEnrolled: responseData.IsBYLDerEnrolled\r\n })\r\n this.getRefrenceName(responseData.RefID)\r\n }\r\n })\r\n .catch(err => {\r\n console.error(err)\r\n this.setState({ loading: false });\r\n })\r\n }\r\n\r\n getRefrenceName = async (refID) => {\r\n const dataModel = {\r\n RefId: refID\r\n };\r\n await httpPost(urlConstant.IBOSignup.GetRefById, dataModel, true)\r\n .then(response => {\r\n if (response.Status !== dataConstant.APIResponseStatus.Failure) {\r\n this.setState(prevState => ({\r\n ...prevState,\r\n refURL: response.Value.RefURL\r\n }));\r\n }\r\n })\r\n .catch(err => {\r\n console.error(err);\r\n });\r\n }\r\n\r\n render() {\r\n const { history } = this.props;\r\n const { t } = this.props\r\n return (\r\n <>\r\n {!this.state.loading && (\r\n <>\r\n {this.context.impersonateEmail && (\r\n
\r\n You are logged in as impersonate user!\r\n
\r\n )}\r\n
    \r\n
    \r\n {!this.state.isPurchasedPackage && (\r\n history.push('/membership') : () => this.openPopup()}\r\n type=\"button\"\r\n className=\"btn btn-sm btn-primary\"\r\n >\r\n {t('Navbar.Upgrade')}\r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n {/* Elite 10K */}\r\n {this.state.userName !== null ? (\r\n \r\n {this.props.userPrefix} {this.state.userName} {' (' + acctId + ')'}\r\n \r\n ) : (\r\n { }\r\n )}\r\n
    \r\n
    \r\n {/* ETQV: 10,000\r\n CV: 9862 */}\r\n
    \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
\r\n \r\n )}\r\n\r\n {this.state.isPopupOpen && (\r\n this.closePopup()}\r\n minWidth={300}\r\n >\r\n
\r\n {this.state.isConsultantPackagePurchased ? (\r\n <>\r\n

\r\n \r\n history.push(`/IBOSignup/BYLDerUpgrade/${this.state.refURL}`, { upgrade: true })\r\n }\r\n >\r\n {t('Navbar.BYLDerUpgrade')}\r\n \r\n \r\n ) : (\r\n <>\r\n \r\n history.push(`/IBOSignup/BYLDer/${this.state.refURL}`, { upgrade: true })\r\n }\r\n >\r\n {t('Navbar.BYLDer')}\r\n \r\n

\r\n \r\n history.push(`/IBOSignup/Consultant/${this.state.refURL}`, { upgrade: true })\r\n }\r\n >\r\n {t('Navbar.Consultant')}\r\n \r\n \r\n )}\r\n
\r\n \r\n )}\r\n \r\n )\r\n }\r\n}\r\n\r\nNavbarUser.contextType = AuthenticationContext\r\n\r\nexport default withTranslation()(withRouter(NavbarUser))","import axios from \"axios\"\r\nexport const loadSuggestions = () => {\r\n return dispatch => {\r\n axios.get(\"/api/search/bookmarks/data\").then(response => {\r\n dispatch({\r\n type: \"MAYBE_UPDATE_SUGGESTIONS\",\r\n suggestions: response.data.searchResult\r\n })\r\n })\r\n }\r\n}\r\n\r\nexport const updateStarred = object => {\r\n return dispatch => {\r\n axios\r\n .post(\"api/update/bookmarks\", {\r\n obj: object\r\n })\r\n .then(() => {\r\n dispatch({\r\n type: \"UPDATE_STARRED\",\r\n object\r\n })\r\n dispatch(loadSuggestions())\r\n })\r\n }\r\n}\r\n","import React from \"react\"\r\nimport {\r\n NavItem,\r\n NavLink,\r\n UncontrolledTooltip,\r\n // DropdownItem,\r\n} from \"reactstrap\"\r\nimport * as Icon from \"react-feather\"\r\n\r\nimport { history } from \"../../../history\"\r\nimport { connect } from \"react-redux\"\r\nimport {\r\n loadSuggestions,\r\n updateStarred\r\n} from \"../../../redux/actions/navbar/Index\"\r\nimport { DragDropContext, Droppable, Draggable } from \"react-beautiful-dnd\"\r\n\r\n// a little function to help us with reordering the bookmarks\r\nconst reorder = (list, startIndex, endIndex) => {\r\n const result = Array.from(list)\r\n const [removed] = result.splice(startIndex, 1)\r\n result.splice(endIndex, 0, removed)\r\n return result\r\n}\r\n\r\nclass NavbarBookmarks extends React.PureComponent {\r\n state = {\r\n showBookmarks: false,\r\n value: \"\",\r\n noSuggestions: false,\r\n isStarred: false,\r\n suggestions: [],\r\n starredItems: []\r\n }\r\n\r\n updateBookmarks = false\r\n\r\n handleBookmarksVisibility = () => {\r\n this.setState({\r\n showBookmarks: !this.state.showBookmarks,\r\n value: \"\",\r\n suggestions: [],\r\n noSuggestions: false,\r\n starred: null\r\n })\r\n }\r\n\r\n componentDidUpdate(prevProps) {\r\n if (\r\n prevProps.bookmarks.starred.length !== this.state.starredItems.length &&\r\n this.updateBookmarks === true\r\n ) {\r\n this.setState({ starredItems: this.props.bookmarks.starred })\r\n this.updateBookmarks = false\r\n }\r\n }\r\n\r\n componentDidMount() {\r\n let {\r\n bookmarks: { suggestions, starred },\r\n loadSuggestions\r\n } = this.props\r\n this.setState(\r\n {\r\n suggestions: suggestions,\r\n starredItems: starred\r\n },\r\n loadSuggestions()\r\n )\r\n }\r\n\r\n onDragEnd = result => {\r\n // dropped outside the list\r\n if (!result.destination) {\r\n return\r\n }\r\n\r\n const starredItems = reorder(\r\n this.state.starredItems,\r\n result.source.index,\r\n result.destination.index\r\n )\r\n\r\n this.setState({\r\n starredItems\r\n })\r\n }\r\n\r\n renderBookmarks = () => {\r\n this.updateBookmarks = true\r\n return (\r\n \r\n \r\n {(provided, snapshot) => (\r\n \r\n {this.state.starredItems.map((item, index) => {\r\n const IconTag = Icon[item.icon ? item.icon : \"X\"]\r\n return (\r\n \r\n {(provided, snapshot) => {\r\n return (\r\n \r\n \r\n history.push(item.link)}>\r\n \r\n \r\n \r\n {item.title}\r\n \r\n \r\n \r\n )\r\n }}\r\n \r\n )\r\n })}\r\n {provided.placeholder}\r\n \r\n )}\r\n \r\n \r\n )\r\n }\r\n\r\n render() {\r\n let {\r\n // bookmarks: {\r\n // /// extraStarred\r\n // // , suggestions\r\n // },\r\n sidebarVisibility,\r\n // updateStarred,\r\n // handleAppOverlay\r\n } = this.props\r\n\r\n // const renderExtraStarred =\r\n // extraStarred.length > 0\r\n // ? extraStarred.map(i => {\r\n // const IconTag = Icon[i.icon ? i.icon : null]\r\n // return (\r\n // \r\n // \r\n // {i.title}\r\n // \r\n // )\r\n // })\r\n // : null\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\nconst mapStateToProps = state => {\r\n return {\r\n bookmarks: state.navbar\r\n }\r\n}\r\n\r\nexport default connect(mapStateToProps, { loadSuggestions, updateStarred })(\r\n NavbarBookmarks\r\n)\r\n","import React, { useEffect,useContext,useState } from 'react'\r\nimport { Navbar } from 'reactstrap'\r\nimport classnames from 'classnames'\r\nimport NavbarUser from './NavbarUser'\r\nimport NavbarBookmarks from './NavbarBookmarks'\r\nimport userImg from '../../../assets/img/portrait/small/avatar-s-11.jpg'\r\nimport urlConstant from '../../../constants/urlConstant'\r\nimport dataConstant from '../../../constants/dataConstants'\r\nimport { httpGet } from '../../../services/commonService'\r\nimport { withTranslation } from 'react-i18next'\r\nimport { AuthenticationContext } from '@cloudmlm/cloudmlm-auth'\r\n\r\nlet acctId = 0;\r\n\r\nconst ThemeNavbar = props => {\r\n const authenticationState = useContext(AuthenticationContext);\r\n const colorsArr = ['primary', 'danger', 'success', 'info', 'warning', 'dark']\r\n const navbarTypes = ['floating', 'static', 'sticky', 'hidden']\r\n const [userName, setUserName] = useState('')\r\n const { t } = props\r\n const path = window.location.pathname\r\n useEffect(() => {\r\n getProfilePicDetails()\r\n }, [])\r\n\r\n const getProfilePicDetails = () => {\r\n const getProfilePicDetailsURL = urlConstant.User.GetUserProfilePicDetails\r\n httpGet(\r\n getProfilePicDetailsURL,\r\n true,\r\n true,\r\n authenticationState.accessToken,\r\n authenticationState.impersonateEmail,\r\n )\r\n .then(response => {\r\n if (response.Status === dataConstant.APIResponseStatus.Success) {\r\n const responseData = response.Values\r\n acctId = responseData.AcctID\r\n localStorage.setItem('UserName',JSON.stringify(responseData.UserName)) \r\n setUserName(responseData.UserName)\r\n }\r\n })\r\n .catch(err => {\r\n console.log(err)\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 path === '/home' && userName ? (\r\n

\r\n {t('Header.Hello')} {userName} {' ('+acctId+')'}, {t('Header.Welcome to your account')}\r\n

\r\n ) : (\r\n

{}

\r\n )} */}\r\n {props.horizontal ? (\r\n
\r\n
\r\n

Vuexy

\r\n
\r\n ) : null}\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n )\r\n}\r\n\r\nexport default withTranslation()(ThemeNavbar)\r\n","import React from 'react'\r\nimport ScrollToTop from 'react-scroll-up'\r\nimport { Button } from 'reactstrap'\r\nimport { ArrowUp } from 'react-feather'\r\nimport classnames from 'classnames'\r\nimport { withTranslation } from 'react-i18next'\r\nimport { DropDownList } from '@progress/kendo-react-dropdowns'\r\nconst locales = ['en', 'es']\r\n\r\nconst Footer = props => {\r\n const defaultLanguage = localStorage.getItem('i18nextLng') !== null ? localStorage.getItem('i18nextLng') : 'en'\r\n const { onLocaleChange, t } = props\r\n let footerTypeArr = ['sticky', 'static', 'hidden']\r\n return (\r\n \r\n

\r\n \r\n {t('Footer.COPYRIGHT')} © {new Date().getFullYear()} BYLD Network, {t('Footer.All rights reserved')}\r\n \r\n \r\n \r\n \r\n

\r\n {props.hideScrollToTop === false ? (\r\n
\r\n \r\n \r\n \r\n
\r\n ) : null}\r\n \r\n )\r\n}\r\n\r\nexport default withTranslation()(Footer)\r\n","import React, { PureComponent } from \"react\"\r\nimport _ from 'underscore'\r\nimport classnames from \"classnames\"\r\nimport Customizer from \"../components/@vuexy/customizer/Customizer\"\r\nimport Sidebar from \"./components/menu/vertical-menu/Sidebar\"\r\nimport Navbar from \"./components/navbar/Navbar\"\r\nimport Footer from \"./components/footer/Footer\"\r\nimport { connect } from \"react-redux\"\r\nimport {\r\n changeMode,\r\n collapseSidebar,\r\n changeNavbarColor,\r\n changeNavbarType,\r\n changeFooterType,\r\n changeMenuColor,\r\n hideScrollToTop\r\n} from \"../redux/actions/customizer/index\"\r\nimport ApiLoader from \"./components/apiLoader/apiLoader\"\r\nimport dataConstant from \"../constants/dataConstants\"\r\n\r\nclass VerticalLayout extends PureComponent {\r\n state = {\r\n width: window.innerWidth,\r\n //sidebarState: this.props.app.customizer.sidebarCollapsed,\r\n sidebarState : _.isNull(localStorage.getItem(\"storedCollapsedSidebar\")) ? false : (localStorage.getItem(\"storedCollapsedSidebar\").toString() === 'false' ? false : true),\r\n layout: this.props.app.customizer.theme,\r\n //collapsedContent: this.props.app.customizer.sidebarCollapsed,\r\n collapsedContent : _.isNull(localStorage.getItem(\"storedCollapsedSidebar\")) ? false : (localStorage.getItem(\"storedCollapsedSidebar\").toString() === 'false' ? false : true),\r\n sidebarHidden: false,\r\n currentLang: \"en\",\r\n appOverlay: false,\r\n customizer: false,\r\n currRoute: this.props.location.pathname\r\n }\r\n collapsedPaths = []\r\n mounted = false\r\n updateWidth = () => {\r\n if (this.mounted) {\r\n this.setState(prevState => ({\r\n width: window.innerWidth\r\n }))\r\n }\r\n }\r\n\r\n handleCustomizer = bool => {\r\n this.setState({\r\n customizer: bool\r\n })\r\n }\r\n\r\n componentDidMount() {\r\n this.mounted = true\r\n let {\r\n location: { pathname },\r\n app: {\r\n customizer: { theme, direction }\r\n }\r\n } = this.props\r\n\r\n if (this.mounted) {\r\n if (window !== \"undefined\") {\r\n window.addEventListener(\"resize\", this.updateWidth, false)\r\n }\r\n if (this.collapsedPaths.includes(pathname)) {\r\n this.props.collapseSidebar(true)\r\n }\r\n\r\n let layout = theme\r\n let dir = direction\r\n if (dir === \"rtl\")\r\n document.getElementsByTagName(\"html\")[0].setAttribute(\"dir\", \"rtl\")\r\n else document.getElementsByTagName(\"html\")[0].setAttribute(\"dir\", \"ltr\")\r\n return layout === \"dark\"\r\n ? document.body.classList.add(\"dark-layout\")\r\n : layout === \"semi-dark\"\r\n ? document.body.classList.add(\"semi-dark-layout\")\r\n : null\r\n }\r\n }\r\n\r\n componentDidUpdate(prevProps, prevState) {\r\n let {\r\n location: { pathname },\r\n app: {\r\n customizer: { theme, sidebarCollapsed }\r\n }\r\n } = this.props\r\n\r\n let layout = theme\r\n if (this.mounted) {\r\n if (layout === \"dark\") {\r\n document.body.classList.remove(\"semi-dark-layout\")\r\n document.body.classList.add(\"dark-layout\")\r\n }\r\n if (layout === \"semi-dark\") {\r\n document.body.classList.remove(\"dark-layout\")\r\n document.body.classList.add(\"semi-dark-layout\")\r\n }\r\n if (layout !== \"dark\" && layout !== \"semi-dark\") {\r\n document.body.classList.remove(\"dark-layout\", \"semi-dark-layout\")\r\n }\r\n\r\n if (\r\n prevProps.app.customizer.sidebarCollapsed !==\r\n this.props.app.customizer.sidebarCollapsed\r\n ) {\r\n this.setState({\r\n collapsedContent: sidebarCollapsed,\r\n sidebarState: sidebarCollapsed\r\n })\r\n //console.log(\"collapsedContent : localStorage.getItem(storedCollapsedSidebar),sidebarState : localStorage.getItem(storedCollapsedSidebar), \")\r\n }\r\n if (\r\n prevProps.app.customizer.sidebarCollapsed ===\r\n this.props.app.customizer.sidebarCollapsed &&\r\n pathname !== prevProps.location.pathname &&\r\n this.collapsedPaths.includes(pathname)\r\n ) {\r\n this.props.collapseSidebar(true)\r\n //this.props.collapseSidebar(localStorage.getItem(\"storedCollapsedSidebar\"))\r\n //console.log(\"this.props.collapseSidebar(localStorage.getItem(storedCollapsedSidebar)) : \"+this.props.collapseSidebar )\r\n }\r\n if (\r\n prevProps.app.customizer.sidebarCollapsed ===\r\n this.props.app.customizer.sidebarCollapsed &&\r\n pathname !== prevProps.location.pathname &&\r\n !this.collapsedPaths.includes(pathname)\r\n ) {\r\n this.props.collapseSidebar(false)\r\n //this.props.collapseSidebar(localStorage.getItem(\"storedCollapsedSidebar\"))\r\n //console.log(\"this.props.collapseSidebar(localStorage.getItem(storedCollapsedSidebar)) : \"+this.props.collapseSidebar )\r\n }\r\n }\r\n }\r\n\r\n handleCollapsedMenuPaths = item => {\r\n let collapsedPaths = this.collapsedPaths\r\n if (!collapsedPaths.includes(item)) {\r\n collapsedPaths.push(item)\r\n this.collapsedPaths = collapsedPaths\r\n }\r\n }\r\n\r\n toggleSidebarMenu = val => {\r\n this.setState({\r\n sidebarState: !this.state.sidebarState,\r\n collapsedContent: !this.state.collapsedContent\r\n })\r\n }\r\n\r\n sidebarMenuHover = val => {\r\n this.setState({\r\n sidebarState: val\r\n })\r\n }\r\n\r\n handleSidebarVisibility = () => {\r\n if (this.mounted) {\r\n if (window !== undefined) {\r\n window.addEventListener(\"resize\", () => {\r\n if (this.state.sidebarHidden) {\r\n this.setState({\r\n sidebarHidden: !this.state.sidebarHidden\r\n })\r\n }\r\n })\r\n }\r\n this.setState({\r\n sidebarHidden: !this.state.sidebarHidden\r\n })\r\n }\r\n }\r\n\r\n componentWillUnmount() {\r\n this.mounted = false\r\n }\r\n\r\n handleCurrentLanguage = lang => {\r\n this.setState({\r\n currentLang: lang\r\n })\r\n }\r\n\r\n handleAppOverlay = value => {\r\n if (value.length > 0) {\r\n this.setState({\r\n appOverlay: true\r\n })\r\n } else if (value.length < 0 || value === \"\") {\r\n this.setState({\r\n appOverlay: false\r\n })\r\n }\r\n }\r\n\r\n handleAppOverlayClick = () => {\r\n this.setState({\r\n appOverlay: false\r\n })\r\n }\r\n\r\n render() {\r\n const { apiLoader } = this.props\r\n \r\n let appProps = this.props.app.customizer\r\n let menuThemeArr = [\r\n \"primary\",\r\n \"success\",\r\n \"danger\",\r\n \"info\",\r\n \"warning\",\r\n \"dark\"\r\n ]\r\n const locationState = this.props.history.location.state\r\n const mediaId = locationState !== dataConstant.Undefined ? locationState.id : 0\r\n \r\n\r\n \r\n let sidebarProps = {\r\n toggleSidebarMenu: this.props.collapseSidebar,\r\n toggle: this.toggleSidebarMenu,\r\n sidebarState: this.state.sidebarState,\r\n sidebarHover: this.sidebarMenuHover,\r\n sidebarVisibility: this.handleSidebarVisibility,\r\n visibilityState: this.state.sidebarHidden,\r\n activePath: this.props.match.path,\r\n activeMenuMediaId: mediaId,\r\n collapsedMenuPaths: this.handleCollapsedMenuPaths,\r\n currentLang: this.state.currentLang,\r\n activeTheme: appProps.menuTheme,\r\n collapsed: this.state.collapsedContent,\r\n deviceWidth: this.state.width\r\n }\r\n let navbarProps = {\r\n toggleSidebarMenu: this.toggleSidebarMenu,\r\n sidebarState: this.state.sidebarState,\r\n sidebarVisibility: this.handleSidebarVisibility,\r\n currentLang: this.state.currentLang,\r\n changeCurrentLang: this.handleCurrentLanguage,\r\n handleAppOverlay: this.handleAppOverlay,\r\n appOverlayState: this.state.appOverlay,\r\n navbarColor: appProps.navbarColor,\r\n navbarType: appProps.navbarType\r\n }\r\n\r\n let footerProps = {\r\n footerType: appProps.footerType,\r\n hideScrollToTop: appProps.hideScrollToTop,\r\n onLocaleChange: this.props.onLocaleChange\r\n }\r\n\r\n let customizerProps = {\r\n customizerState: this.state.customizer,\r\n handleCustomizer: this.handleCustomizer,\r\n changeMode: this.props.changeMode,\r\n changeNavbar: this.props.changeNavbarColor,\r\n changeNavbarType: this.props.changeNavbarType,\r\n changeFooterType: this.props.changeFooterType,\r\n changeMenuTheme: this.props.changeMenuColor,\r\n collapseSidebar: this.props.collapseSidebar,\r\n hideScrollToTop: this.props.hideScrollToTop,\r\n activeMode: appProps.theme,\r\n activeNavbar: appProps.navbarColor,\r\n navbarType: appProps.navbarType,\r\n footerType: appProps.footerType,\r\n menuTheme: appProps.menuTheme,\r\n scrollToTop: appProps.hideScrollToTop,\r\n sidebarState: localStorage.getItem(\"storedCollapsedSidebar\")\r\n }\r\n return (\r\n = 1200,\r\n \"fixed-footer\": appProps.footerType === \"sticky\",\r\n \"navbar-static\": appProps.navbarType === \"static\",\r\n \"navbar-sticky\": appProps.navbarType === \"sticky\",\r\n \"navbar-floating\": appProps.navbarType === \"floating\",\r\n \"navbar-hidden\": appProps.navbarType === \"hidden\",\r\n \"theme-primary\": !menuThemeArr.includes(appProps.menuTheme)\r\n }\r\n )}>\r\n \r\n \r\n \r\n \r\n
{this.props.children}{apiLoader.isLoading && }
\r\n
\r\n\r\n
\r\n {appProps.disableCustomizer !== true ? (\r\n \r\n ) : null}\r\n \r\n
\r\n )\r\n }\r\n}\r\nconst mapStateToProps = state => {\r\n return {\r\n app: state.customizer,\r\n apiLoader:state.apiLoader\r\n }\r\n}\r\nexport default connect(mapStateToProps, {\r\n changeMode,\r\n collapseSidebar,\r\n changeNavbarColor,\r\n changeNavbarType,\r\n changeFooterType,\r\n changeMenuColor,\r\n hideScrollToTop\r\n})(VerticalLayout)\r\n","export const changeMode = mode => {\r\n return dispatch => dispatch({ type: \"CHANGE_MODE\", mode })\r\n}\r\n\r\nexport const collapseSidebar = value => {\r\n return dispatch => dispatch({ type: \"COLLAPSE_SIDEBAR\", value })\r\n}\r\n\r\nexport const changeNavbarColor = color => {\r\n return dispatch => dispatch({ type: \"CHANGE_NAVBAR_COLOR\", color })\r\n}\r\n\r\nexport const changeNavbarType = style => {\r\n return dispatch => dispatch({ type: \"CHANGE_NAVBAR_TYPE\", style })\r\n}\r\n\r\nexport const changeFooterType = style => {\r\n return dispatch => dispatch({ type: \"CHANGE_FOOTER_TYPE\", style })\r\n}\r\n\r\nexport const changeMenuColor = style => {\r\n return dispatch => dispatch({ type: \"CHANGE_MENU_COLOR\", style })\r\n}\r\n\r\nexport const hideScrollToTop = value => {\r\n return dispatch => dispatch({ type: \"HIDE_SCROLL_TO_TOP\", value })\r\n}\r\n","import React from \"react\"\r\nimport VerticalLayout from \"../../layouts/VerticalLayout\"\r\nimport FullLayout from \"../../layouts/FullpageLayout\"\r\n// import HorizontalLayout from \"../../layouts/HorizontalLayout\"\r\nimport themeConfig from \"../../configs/themeConfig\"\r\nconst layouts = {\r\n vertical: VerticalLayout,\r\n full: FullLayout,\r\n // horizontal: HorizontalLayout\r\n}\r\n\r\nconst ContextLayout = React.createContext()\r\n\r\nclass Layout extends React.Component {\r\n state = {\r\n activeLayout: themeConfig.layout,\r\n width: window.innerWidth,\r\n lastLayout: null,\r\n direction: themeConfig.direction\r\n }\r\n\r\n updateWidth = () => {\r\n this.setState({\r\n width: window.innerWidth\r\n })\r\n }\r\n\r\n handleWindowResize = () => {\r\n this.updateWidth()\r\n if (this.state.activeLayout === \"horizontal\" && this.state.width <= 1199) {\r\n this.setState({\r\n activeLayout: \"vertical\",\r\n lastLayout: \"horizontal\"\r\n })\r\n }\r\n\r\n if (this.state.lastLayout === \"horizontal\" && this.state.width >= 1199) {\r\n this.setState({\r\n activeLayout: \"horizontal\",\r\n lastLayout: \"vertical\"\r\n })\r\n }\r\n }\r\n\r\n componentDidMount = () => {\r\n if (window !== \"undefined\") {\r\n window.addEventListener(\"resize\", this.handleWindowResize)\r\n }\r\n this.handleDirUpdate()\r\n if (this.state.activeLayout === \"horizontal\" && this.state.width <= 1199) {\r\n this.setState({\r\n activeLayout: \"vertical\"\r\n })\r\n } else if (\r\n themeConfig.layout === \"horizontal\" &&\r\n this.state.width >= 1200\r\n ) {\r\n this.setState({\r\n activeLayout: \"horizontal\"\r\n })\r\n } else {\r\n this.setState({\r\n activeLayout: \"vertical\"\r\n })\r\n }\r\n }\r\n\r\n componentDidUpdate() {\r\n this.handleDirUpdate()\r\n }\r\n\r\n handleDirUpdate = () => {\r\n let dir = this.state.direction\r\n if (dir === \"rtl\")\r\n document.getElementsByTagName(\"html\")[0].setAttribute(\"dir\", \"rtl\")\r\n else document.getElementsByTagName(\"html\")[0].setAttribute(\"dir\", \"ltr\")\r\n }\r\n\r\n\r\n\r\n render() {\r\n const { children } = this.props\r\n return (\r\n {\r\n this.setState({ activeLayout: layout })\r\n },\r\n switchDir: dir => {\r\n this.setState({ direction: dir })\r\n }\r\n }}\r\n >\r\n {children}\r\n \r\n )\r\n }\r\n}\r\n\r\nexport { Layout, ContextLayout }\r\n","import React from \"react\"\r\nimport { connect } from 'react-redux'\r\nimport themeConfig from \"../configs/themeConfig\"\r\nimport classnames from \"classnames\"\r\nimport ApiLoader from \"./components/apiLoader/apiLoader\"\r\n\r\nconst mapStateToProps = ({ apiLoader }) => ({\r\n apiLoader,\r\n})\r\n\r\nconst FullPageLayout = ({ children, apiLoader, ...rest }) => {\r\n return (\r\n <>\r\n {apiLoader.isLoading && }\r\n \r\n
\r\n
\r\n
\r\n
\r\n
{children}
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n )\r\n}\r\n\r\nexport default connect(mapStateToProps)(FullPageLayout)\r\n","import i18n from \"../i18n\";\r\n\r\nconst dataConstant = {\r\n KendoFilter: {\r\n take: 10,\r\n skip: 0,\r\n filterable: true,\r\n sortable: true,\r\n pageable: { buttonCount: 4, pageSizes: true },\r\n resizable: true,\r\n reorderable: true\r\n },\r\n NumericFixedDigit: 2,\r\n DateFormatArray: [\r\n \"MM/DD/YYYY\", // 01. 12/30/2020\r\n \"{0:MM/dd/yyyy}\", // 02. 12/30/2020\r\n \"MM/DD/YYYY HH:mm:ss\", // 03. 12/30/2020 15:12:20\r\n \"{0:MM/dd/yyyy HH:mm:ss}\",\r\n \"{0:d}\"\r\n ],\r\n MemberShipInvoiceStatusList: [\r\n i18n.t(\"Common.Active\"),\r\n i18n.t(\"Common.InActive\"),\r\n i18n.t(\"Common.Canceled\"),\r\n i18n.t(\"Common.Paid\"),\r\n i18n.t(\"Common.Pending\")\r\n ],\r\n MemberShipInvoiceStatusCancelled: \"Canceled\",\r\n SmartCartStatusDeleted: \"Deleted\",\r\n ConfirmationTitle: \"Confirmation\",\r\n NoSpecialCharacterRegex: new RegExp(/^[0-9a-zA-Z ]+$/),\r\n NoAlphabetCharacterRegex: new RegExp(/^[0-9]+$/),\r\n NoAlphabetCharacterWithOneSpacialCharRegex: new RegExp(/^[0-9-]+$/),\r\n NoSpecialCharacterWithWhiteSpaceRegex: new RegExp(/^[0-9a-zA-Z]+$/),\r\n PasswordValidation: new RegExp(\"((?=.*\\\\d)(?=.*[a-z])(?=.*[A-Z]).{4,64})\"),\r\n WhiteSpaceRegex: new RegExp(/\\s/),\r\n EmailRegex: new RegExp(/\\S+@\\S+\\.\\S+/),\r\n NumberAndNull: new RegExp('^(null|\\\\d+(\\\\.\\\\d+)?)$'),\r\n PhoneFieldNumbersRegex: new RegExp(/^[0-9()\\-\\s]+$/),\r\n NoImageURL: require(\"../assets/img/NoImage.png\"),\r\n PdfImageURL: require(\"../assets/img/pdf.png\"),\r\n UserImageURL: require(\"../assets/img/defaultUser1.png\"),\r\n Undefined: undefined,\r\n AESEncryptDecryptKey: `${process.env.REACT_APP_AES_ENCRYPT_DECRYPT_KEY}`,\r\n imgExtensions: [\".jpg\", \".jpeg\", \".png\"],\r\n FileSize: 2097152,\r\n ConfirmationActionButton: {\r\n Yes: \"Common.Yes\",\r\n No: \"Common.No\",\r\n Close: \"Close\"\r\n },\r\n ItemSubType: {\r\n CustomPackage: \"Custom Package\",\r\n PredefinedPackage: \"Predefined Package\",\r\n AdditionalItem: \"Additional Item\",\r\n FeaturedMembership: \"Featured Membership\",\r\n CustomMembership: \"Custom Membership\"\r\n },\r\n WarningLogo: require(\"../assets/img/icon-warning.png\"),\r\n SignupLeadGUID: \"SignupLeadGUID\",\r\n APIResponseStatus: {\r\n Success: \"Success\",\r\n Failure: \"Failure\",\r\n Warning: \"Warning\",\r\n Undefined: \"undefined\"\r\n },\r\n MinMaxLength: {\r\n CharLimit5: 5,\r\n CharLimit10: 10,\r\n CharLimit15: 15,\r\n CharLimit20: 20,\r\n CharLimit25: 25,\r\n CharLimit50: 50,\r\n CharLimit100: 100,\r\n CharLimit150: 150,\r\n CharLimit200: 200,\r\n CharLimit250: 250,\r\n CharLimit255: 255,\r\n CharLimit300: 300,\r\n CharLimit500: 500,\r\n CharLimit1000: 10,\r\n CharLimit9: 9,\r\n ZipcodeMax: 25,\r\n ZipcodeMin: 0,\r\n CVVMax: 4\r\n },\r\n ToastNotificationTimeOut: 3000,\r\n TwoDigitConstValue: 2,\r\n ZeroValue: 0,\r\n OneValue: 1,\r\n AllDropDown: {\r\n CoutryDropDown: \"CoutryDropDown\",\r\n CommissionTypeDropDown: \"CommissionTypeDropDown\",\r\n RoleDropDown: \"RoleDropDown\",\r\n CurrencyDropDown: \"CurrencyDropDown\",\r\n TimeZoneDropDown: \"TimeZoneDropDown\",\r\n CustomerTypesDropDown: \"CustomerTypesDropDown\",\r\n EmailTemplateTagDropDown: \"EmailTemplateTagDropDown\",\r\n ItemAttributeDropDown: \"ItemAttributeDropDown\",\r\n ItemCategoryDropDown: \"ItemCategoryDropDown\",\r\n ItemDropDown: \"ItemDropDown\",\r\n ItemSubTypesDropDown: \"ItemSubTypesDropDown\",\r\n ItemListByItemSubTypeDropDown: \"ItemListByItemSubTypeDropDown\",\r\n ItemTypesDropDown: \"ItemTypesDropDown\",\r\n LanguageDropDown: \"LanguageDropDown\",\r\n MediaCategoriesDropDown: \"MediaCategoriesDropDown\",\r\n MediaPageDropDown: \"MediaPageDropDown\",\r\n PaymentMethodDropDown: \"PaymentMethodDropDown\",\r\n QualificationDropDown: \"QualificationDropDown\",\r\n RankDropDown: \"RankDropDown\",\r\n ShippingMethodDropDown: \"ShippingMethodDropDown\",\r\n UserDropDown: \"UserDropDown\",\r\n PromoActionDropDown: \"PromoActionDropDown\",\r\n PromoEventDropDown: \"PromoEventDropDown\",\r\n StateDropDown: \"StateDropDown\",\r\n ReinH2OFinancingDropDown: \"ReinH2OFinancingDropDown\",\r\n LeadFinancingDropDown: \"LeadFinancingDropDown\",\r\n ProductInterestedDropDown: \"ProductInterestedDropDown\",\r\n LeadRoofAgeDropDown: \"LeadRoofAgeDropDown\",\r\n LeadRoofTypeDropDown:\"LeadRoofTypeDropDown\",\r\n LeadMountingPreferenceDropDown: \"LeadMountingPreferenceDropDown\",\r\n LeadWorkDropDown:\"LeadWorkDropDown\",\r\n LeadStatusDropDown:\"LeadStatusDropDown\",\r\n AffiliateCommissionDropDown:\"AffiliateCommissionDropDown\",\r\n LeadKindofElectricalPanelDropDown:\"LeadKindofElectricalPanelDropDown\",\r\n ReinAffiliateCommissionDropDown:\"ReinAffiliateCommissionDropDown\",\r\n },\r\n EventComponents: {\r\n BuyingCertainProduct: \"BuyingCertainProduct\",\r\n BuyingCertainAmount: \"BuyingCertainAmount\",\r\n MinimumRankRequirement: \"MinimumRankRequirement\",\r\n Location: \"Location\"\r\n },\r\n CertainAmountType: {\r\n InvoiceTotal: \"invoicetotal\",\r\n SubTotal: \"subtotal\"\r\n },\r\n PromotionType: {\r\n FeaturedPromotion: \"Featured Promotion\",\r\n ApplicablePromotion: \"Applicable Promotion\"\r\n },\r\n ActionComponents: {\r\n AddProduct: \"AddProduct\",\r\n Discount: \"Discount\",\r\n FreeShipping: \"FreeShipping\",\r\n GiftCard: \"GiftCard\"\r\n },\r\n DiscountLevel: {\r\n ItemLevel: \"ItemLevel\",\r\n OrderLevel: \"OrderLevel\"\r\n },\r\n DiscountApplyOn: {\r\n AppliedToSubTotal: \"AppliedToSubTotal\",\r\n AppliedToOrderTotal: \"AppliedToOrderTotal\"\r\n },\r\n RegistrationType: {\r\n Personal: \"Personal\",\r\n Company: \"Company\"\r\n },\r\n imgExtensionsWithOutDots: [\"jpg\", \"jpeg\", \"png\"],\r\n PlacementPreference: [\r\n // {\r\n // label: \"Holding Tank\",\r\n // value: \"H\"\r\n // },\r\n {\r\n label: \"Alternate L-R Legs\",\r\n value: \"A\"\r\n },\r\n {\r\n label: \"Place on Left Leg\",\r\n value: \"L\"\r\n },\r\n {\r\n label: \"Place on Right Leg\",\r\n value: \"R\"\r\n }\r\n ],\r\n OrderStatusList: [\"Canceled\", \"Paid\", \"Pending\", \"Refunded\"],\r\n NumberFormat: \"{0:c2}\",\r\n MediaType: {\r\n TextBlog: \"TextBlog\",\r\n YouTubeVideo: \"YouTube Video\",\r\n VimeoVideo: \"Vimeo Video\",\r\n Picture: \"Picture\",\r\n PDFFileUpload: \"PDF File Upload\"\r\n },\r\n Pending: \"Pending\",\r\n KendoTextBoxFormat: {\r\n NumericTextBoxFormatN0: \"n0\",\r\n NumericTextBoxFormatN2: \"n2\",\r\n NumericTextBoxFormatN4: \"n4\",\r\n NumericTextBoxFormatC2: \"c2\",\r\n NumericTextBoxFormatP: \"p\"\r\n },\r\n InlineShareButtonsConfig: {\r\n alignment: \"left\", // alignment of buttons (left, center, right)\r\n color: \"social\", // set the color of buttons (social, white)\r\n enabled: true, // show/hide buttons (true, false)\r\n font_size: 16, // font size for the buttons\r\n labels: null, // button labels (cta, counts, null)\r\n language: \"en\", // which language to use (see LANGUAGES)\r\n networks: [\r\n // which networks to include (see SHARING NETWORKS)\r\n \"email\",\r\n \"linkedin\",\r\n \"messenger\",\r\n \"facebook\",\r\n \"twitter\",\r\n \"whatsapp\"\r\n ],\r\n // \"blogger\"| \"delicious\" | \"digg\" | \"email\" | \"facebook\" | \"flipboard\"| \"google\"| \"linkedin\"| \"livejournal\"| \"mailru\"| \"meneame\"| \"messenger\"| \"oknoklassniki\"| \"pinterest\"| \"print\"| \"reddit\"| \"sharethis\"| \"sms\"| \"stumbleupon\"| \"tumblr\"| \"twitter\"| \"wechat\"| \"weibo\"| \"whatsapp\"| \"xing\";\r\n padding: 10, // padding within buttons (INTEGER)\r\n radius: 4, // the corner radius on each button (INTEGER)\r\n show_total: false,\r\n size: 30, // the size of each button (INTEGER)\r\n // // OPTIONAL PARAMETERS\r\n // url: 'https://www.sharethis.com', // (defaults to current url)\r\n // image: 'https://bioreigns.com/assets/img/home/2Curcumin_Hover_MDv3.png', // (defaults to og:image or twitter:image)\r\n // description: 'custom text', // (defaults to og:description or twitter:description)\r\n title: \"Smart Cart\", // (defaults to og:title or twitter:title)\r\n message: \"Smart Cart\", // (only for email sharing)\r\n subject: \"Smart Cart\" // (only for email sharing)\r\n // username: 'Smart Cart' // (only for twitter sharing)\r\n },\r\n promotionAppliedOn: {\r\n retail: \"Retail\",\r\n ambassador: \"Consultant\",\r\n both: \"Both\"\r\n },\r\n AffiliateTermsAndConditions: {\r\n DocumentName: \"Affiliate Terms And Conditions\",\r\n DocumentType: \"TermsAndCondition\"\r\n },\r\n RankType: [\r\n {\r\n DisplayRankID: 1,\r\n RankName: \"RetailCustomer\"\r\n },\r\n {\r\n DisplayRankID: 2,\r\n RankName: \"Affiliate\"\r\n },\r\n {\r\n DisplayRankID: 3,\r\n RankName: \"Consultant\"\r\n }\r\n ],\r\n RoleType: {\r\n RetailCustomer: \"RetailCustomer\",\r\n Affiliate: \"Affiliate\",\r\n Ambassador: \"Consultant\"\r\n },\r\n MediaConfigurationType: {\r\n AffiliateVideo: \"Affiliate Video\",\r\n AmbassadorVideo: \"Consultant Video\"\r\n },\r\n promotionCode: {\r\n affiliate: \"Affiliate\"\r\n },\r\n promoActionType: {\r\n addProduct: \"AddProduct\",\r\n discount: \"Discount\",\r\n freeShipping: \"FreeShipping\",\r\n giftCard: \"GiftCard\"\r\n },\r\n repPoliciesAndProcedureDocumentDet: {\r\n DocumentName: \"Rep Policies And Procedures\",\r\n DocumentType: \"Policies\"\r\n },\r\n termsAndConditionPreviousPage: {\r\n becomeAnAffiliate: \"becomeAnAffiliate\",\r\n enrollmentForm: \"enrollmentForm\",\r\n privacyPolicy: \"privacyPolicy\",\r\n IBOtermsAndConditions: \"IBOtermsAndConditions\",\r\n refundPolicy: \"refundPolicy\",\r\n termsOfUse: \"termsOfUse\",\r\n memberTermsAndConditions: \"memberTermsAndConditions\"\r\n },\r\n PrivacyPolicy: {\r\n DocumentName: \"Privacy Policy\",\r\n DocumentType: \"Policies\"\r\n },\r\n IBOTermsAndConditions: {\r\n DocumentName: \"IBO Terms and Conditions\",\r\n DocumentType: \"TermsAndCondition\"\r\n },\r\n RefundPolicy: {\r\n DocumentName: \"Refund Policy\",\r\n DocumentType: \"Policies\"\r\n },\r\n TermsOfUse: {\r\n DocumentName: \"Terms of Use\",\r\n DocumentType: \"TermsAndCondition\"\r\n },\r\n MemberShipInvoiceStatus: {\r\n Active: \"Active\",\r\n Deleted: \"Deleted\"\r\n },\r\n BackOfficeInvoice: \"BackOffice\",\r\n loginLogo: require(\"../assets/img/logo/logo-bo-login.png\"),\r\n LeadCollections: {\r\n AddFormTitle: 'Add',\r\n EditFormTitle: 'Edit',\r\n allowedExtensions: [\"jpeg\", \"jpg\", \"png\", \"pdf\"],\r\n LeadStatus: {\r\n New: \"New\",\r\n Closed: \"Closed\",\r\n Deleted: \"Deleted\",\r\n ApprovalPendingFromMentor: \"Approval pending from Mentor\",\r\n ApprovedByMentor: \"Approved by Mentor\",\r\n RejectedByMentor: \"Rejected by Mentor\"\r\n },\r\n FreedomPortalLogin: 'https://portal.freedomforever.com/login',\r\n BecomeMentor: {\r\n OthersMentor: 5,\r\n SelfMentor: 3\r\n },\r\n MAX_LENGTH: 10,\r\n MAX_FILE_SIZE_MB: 10\r\n },\r\n CountryList: [\"us\", \"ca\", \"mx\", \"ph\", \"gb\", \"za\", \"do\", \"ng\", \"co\"],\r\n PrimaryPaymentMethods: [\r\n {\r\n value: 5,\r\n label: \"Credit Card\"\r\n },\r\n {\r\n value: 7,\r\n label: \"iWallet\"\r\n },\r\n ],\r\n SecondaryPaymentMethods: [\r\n {\r\n value: 5,\r\n label: \"Credit Card\"\r\n },\r\n {\r\n value: 7,\r\n label: \"iWallet\"\r\n },\r\n {\r\n value: 8,\r\n label: \"None\"\r\n },\r\n ],\r\n ReinH2O:\r\n {\r\n label: \"ReinH2O\",\r\n value: 1\r\n },\r\n Solar:\r\n {\r\n label: \"Solar\",\r\n value: 2\r\n },\r\n};\r\n\r\nex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mdIlpj2hdrMMqekLV9c87kPbXVH/2Q==\"","module.exports = __webpack_public_path__ + \"static/media/NoImage.eb7fbe77.png\";","module.exports = __webpack_public_path__ + \"static/media/pdf.59ac4407.png\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAQAAABecRxxAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAAmJLR0QA/4ePzL8AAAAHdElNRQfmAQMKMxDHVyTjAAAAAW9yTlQBz6J3mgAAFOVJREFUeNrt3elCGzkTheEq25h9C0sI939tM98smZANwqrvR0gCwYDtVndJOu/ze4YUxjqtUqvVngyAqlF0AQDiEACAMAIAEEYAAMIIAEAYAQAIIwAAYQQAIIwAAIQRAIAwAgAQRgAAwggAQBgBAAgjAABhBAAgjAAAhBEAgDACABBGAADCCABAGAEACCMAAGEEACCMAACEEQCAMAIAEEYAAMIIAEAYAQAIIwAAYQQAIIwAAIQRAIAwAgAQRgAAwggAQBgBAAgjAABhBAAgjAAAhBEAgDACABA26f4jPPp3wOtGNrGJjW1iYxvZOP3x9D/xU7u1O7u1W7uxG7uxu+ii8ZrU+Sd4hh8R/SlgtqlNbdWmswb7vPzUruzKLu0q+pfBLAQAHpvYhq2n//Xzw/3ELuzCrqN/SfxAAMDMzG3Dtvoa9jP/wXf2xc5pEqIRANrcttKn4BJ27EuG7yGWQgComtpu+ju6iF/8xM7sMroKPQSAnvV0Hl3C83zTCq6uPQSAkqKH/kPEwFC6j142AtVgxU5SqmX4m6WvKdk7m0bXgdcxAyjdbjqLLmF5vm8VV18+WoCWje24yyaecviUvQP9IABatZYuokvIi3WBPrAG0KKtlFob/vfrAjvRVeB3BEBZdlJKn6OL6Ev6mJLtRVeBh2gByrGTPkaXMAyWBnNhDaAVW+1e92fzXQvexNwCAqAFq+lbdAkxfMOaW+sYFgFQu1G6jS4hlq/YTXQN9eIuQN2O1Ye/Wbq2d9E1K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1SPjCc1lqkqYhoOwjZ9LZ4T5h/Uy4tB1ig52PC6RVgxit44Veri0z1bA84zmaxR5pYi/Bg4PElyh8b5eANYwKYxRsUKPZBos1PgwgxmThrsLBmm8P27aa0SL0LiumTr4CXvMco0PojKLMUDXzUFksYYJM/uA+eieLsM1aii+QOiFytS+7tMaObPaFwXOZWzzes0PobJ762udNwi9eitjq7uh0NSBqzVCP16XL9wKtSIcRxlvJsouRqHbExXqRDiAJyTEO4h7rywLA6iVWW0xxqP2YoflIO9dIjqdNkY6R1xXgRk9nEI7GpJ7pPzEcRSSyvXmhGjYi4KWCX7Fpy50JcoOoOmgkve9RbiPpw8FIHxrI+jtJbtQ6G2UERf06TEGUdwn6J0P2zBNmimdntWRD5g27WG0tESajHxyiJxINvZo3DpGTQdhnL3I6GmJSsaXVUGcXd8yInyZaQyXPZUbTU/DUsFvZH1JxAy91wLfZz5QIEdgA4y+4hYZROQz9VZBb157apyMO6xuZT6Im9A/Af4goke518mwq1WSC4trR86Uo2iM47MVPzcx3oAEnd4EET1Ri0MnQR8XYSDEWOjN/6UOTs3albbYFANXKAeRT1r4mW7h+JYYrRxjIYh82g/3WOWhHxV6Z1USFRNA5Li/M0Al/HHXP25D3m70Y4Ep0itAZMtjjLg8BhpzPD0cp7omC39+ZilR0SxD4ggIzE6OqCaM1kieK2PIq2SIkynbSPZfCMZhNi6obJAhLW6K+gBH1ao/HJlmfkU5GJjfnDVCG6ENHOAfAQYAgOensZA3OIcAAAAASUVORK5CYII=\"","import MockAdapter from \"axios-mock-adapter\"\r\nimport axios from \"axios\"\r\n\r\nconst mock = new MockAdapter(axios)\r\n\r\nexport default mock\r\n","const config = {\r\n apiURL: `${process.env.REACT_APP_APIURL}/`,\r\n identityServerApiURL: `${process.env.REACT_APP_IDENTITY_SERVER_URL}/`,\r\n IdentityClientID: 'admin',\r\n rippleApiUrl: `${process.env.REACT_APP_RIPPLE_APIURL}/`\r\n}\r\n\r\nexport { config as default }\r\n","import config from '../config/config'\r\n\r\nconst { apiURL, rippleApiUrl } = config\r\n\r\nconst urlConstant = {\r\n Common: {\r\n LanguageList: `${apiURL}api/Common/GetLanguageDropDownList`,\r\n GetRegistrationTypeList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=EnrollmentRegistrationType`,\r\n GetCoutryDropDownList: `${apiURL}api/Common/GetCoutryDropDownList`,\r\n GetStateList: `${apiURL}api/Common/GetStateDropDownList`,\r\n GetAllDropDownList: `${apiURL}api/Common/GetAllDropDownListForSignUp`,\r\n GetApplicablePromotions: `${apiURL}api/Promotion/GetApplicablePromotions`,\r\n GetAllDropDownData: `${apiURL}api/Common/GetAllDropDownList`,\r\n GetiWalletStatusList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=iWalletStatus`,\r\n GetiWalletTransactionType: `${apiURL}api/Common/GetSupportDataByDataType?DataType=iWalletTransactionType`,\r\n GetYourselfMentorStatusList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=YourSelfMentorStatus`,\r\n // GetLeadRoofAgeList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadRoofAge`,\r\n // GetLeadRoofTypeList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadRoofType`,\r\n // GetLeadFinancingList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadFinancing`,\r\n // GetLeadMountingPreferenceList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadMountingPreference`,\r\n // GetLeadWorkList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadWork`,\r\n // GetLeadKindofElectricalPanelList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadKindofElectricalPanel`,\r\n // GetLeadStatusList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadStatus`,\r\n // GetAffiliateCommissionList: `${apiURL}api/Common/GetSupportDataByDataType?DataType=LeadAffilateCommission`,\r\n GetBusinessTypeDropDownList: `${apiURL}api/Common/GetBusinessTypeDropDownList`,\r\n },\r\n SignupLeadDetails: {\r\n Edit: `${apiURL}api/SignupLeadDetails/Edit`,\r\n GetSignupLeadItemDetailsByGUID: `${apiURL}api/SignupLeadDetails/GetSignupLeadDetailsByGUID`,\r\n USAddressVerification: `${apiURL}api/SignupLeadDetails/VerifyAddress`\r\n },\r\n SignUp: {\r\n GetPackageList: `${apiURL}api/Signup/GetPackageList`,\r\n GetItemImage: `${apiURL}api/Signup/GetItemImage`,\r\n GetItemList: `${apiURL}api/Signup/GetItemList`,\r\n CreateSignupLeadDetails: `${apiURL}api/SignupLeadDetails/Create`,\r\n CreateSignupLeadItem: `${apiURL}api/SignupLeadItemDetails/Create`,\r\n CreateSignupLeadSmartshipItem: `${apiURL}api/SignupLeadSmartshipItemDetails/Create`,\r\n LeadItemDetailsList: `${apiURL}api/SignupLeadItemDetails/ItemDetailsList`,\r\n LeadSmartshipItemDetailsList: `${apiURL}api/SignupLeadSmartshipItemDetails/GetSmartshipItemList`,\r\n LeadItemRemoveFromCart: `${apiURL}api/SignupLeadItemDetails/Delete`,\r\n OrderItemValidation: `${apiURL}api/SignUp/OrderItemValidationSummary`,\r\n CheckoutProcess: `${apiURL}api/SignUp/ProceedCheckout`,\r\n CheckEmailDetails: `${apiURL}api/SignUp/CheckEmailExistence`,\r\n CheckReplicationSiteDetails: `${apiURL}api/SignUp/CheckReplicationSiteNameExistence`,\r\n GetReferenceId: `${apiURL}api/SignUp/GetReferenceId`,\r\n GetRandomReferenceId: `${apiURL}api/SignUp/GetRandomReferenceId`,\r\n GetItemDetailsByItemId: `${apiURL}api/SignUp/GetSignupDetailsByItemId`,\r\n GetItemListByIds: `${apiURL}api/SignUp/GetItemListByIds`,\r\n GetTaxDetail: `${apiURL}api/SignUp/GetTaxDetail`,\r\n AffiliateSignUp: `${apiURL}api/AffiliateRegistration/Register`,\r\n },\r\n IBOSignup:{\r\n CheckReplicationSiteDetails: `${apiURL}api/IBOSignUp/CheckExistingReplicationSiteName`,\r\n GetReferenceId: `${apiURL}api/IBOSignUp/GetRefId`,\r\n GetRandomReferenceId: `${apiURL}api/IBOSignUp/GetRandomRefId`,\r\n CheckoutProcess: `${apiURL}api/IBOSignUp/IBOSignUpCheckout`,\r\n GetUserDetails: `${apiURL}api/user/GetUserDetails`,\r\n GetSignUpPackageTotalAmount: `${apiURL}api/IBOSignUp/GetSignUpPackageTotalAmount`,\r\n GetRefById: `${apiURL}api/IBOSignUp/GetRefNameByRefId`,\r\n UpgradeProcess: `${apiURL}api/IBOSignUp/IBOSignUpUpgrade`,\r\n },\r\n UserManagement: {\r\n Authorization: `${apiURL}api/User/Authorization`,\r\n EditUserLoginInfo: `${apiURL}api/User/EditUserLoginInfo`,\r\n },\r\n User: {\r\n GetPublicInfoById: `${apiURL}api/User/GetUserPublicInformationDetails`,\r\n GetPrivateInfoById: `${apiURL}api/User/GetUserPrivateInformationDetails`,\r\n EditPublicInfo: `${apiURL}api/User/EditUserPublicInformation`,\r\n EditPrivateInfo: `${apiURL}api/User/EditUserPrivateInformation`,\r\n GetUserSpecificDetails: `${apiURL}api/User/GetSpecificUserDetails`,\r\n GetUserProfilePicDetails: `${apiURL}api/User/GetUserProfilePicDetails`,\r\n ChangePassword: `${apiURL}api/User/ChangePassword`,\r\n GetDashboardDetails: `${apiURL}api/User/GetDashboardDetails`,\r\n },\r\n Sponsor: {\r\n GetSponsorInformation: `${apiURL}api/Customer/GetSponsorDetailsById`\r\n },\r\n ReferralTree: {\r\n GetReferralTreeList: `${apiURL}api/ReferralTree/GetReferralTreeList`\r\n },\r\n PlacementPreference: {\r\n GetPlacementPreferenceDetails: `${apiURL}api/User/GetPlacementPreferenceDetails`,\r\n EditPlacementPreference: `${apiURL}api/User/EditPlacementPreference`,\r\n Authorization: `${apiURL}api/User/Authorization`,\r\n },\r\n Order: {\r\n OrderList: `${apiURL}api/Order/OrderListByUserId`,\r\n OrderDetails: `${apiURL}api/Order/GetOrderById`,\r\n ExistingCardList: `${apiURL}api/PaymentProfile/GetExistingCardListByUserId`,\r\n OrderRepayment: `${apiURL}api/Order/OrderRepayment`,\r\n },\r\n SmartShipInvoice: {\r\n SmartShipInvoiceList: `${apiURL}api/SmartshipInvoice/SmartshipInvoiceListByLoginUserId`,\r\n SmartShipInvoiceStatusUpdate: `${apiURL}api/SmartshipInvoice/StatusUpdate`,\r\n GetSmartShipList: `${apiURL}api/SmartshipInvoice/GetSmartShipList`,\r\n CreateSmartShipInvoice: `${apiURL}api/SmartshipInvoice/Create`,\r\n EditSmartShipInvoice: `${apiURL}api/SmartshipInvoice/Edit`,\r\n RunSmartShipInvoice: `${apiURL}api/SmartshipInvoice/RunSmartshipInvoiceByID`,\r\n GetUserPaymentMethodByUserId: `${apiURL}api/PaymentMethod/GetUserPaymentMethodByUserId`,\r\n UserPaymentMethodModify: `${apiURL}api/PaymentMethod/UserPaymentMethodModify`,\r\n },\r\n iWallet: {\r\n iWalletList: `${apiURL}api/iWallet/iWalletListByLoginUserId`,\r\n GetiWalletSummary: `${apiURL}api/iWallet/GetiWalletSummaryByLoginUserId`,\r\n GetExternalPaymentConfigurationById: `${apiURL}api/ExternalPaymentConfiguration/GetExternalPaymentConfigurationById`,\r\n ExternalPaymentConfigurationList: `${apiURL}api/ExternalPaymentConfiguration/ExternalPaymentConfigurationList`,\r\n CreateiWallet: `${apiURL}api/iWallet/IWalletWithdrawal`,\r\n SendAccessCode: `${apiURL}api/iWallet/AccessCode`,\r\n CompareAccessCode: `${apiURL}api/iWallet/CompareAccessCode`,\r\n GetiWalletLatestWithdrawlBankingDetailsByType: `${apiURL}api/iWalletWithdrawal/GetiWalletLatestWithdrawlBankingDetailsByType`,\r\n },\r\n FeeConfiguration: {\r\n FeeConfigurationList: `${apiURL}api/FeeConfiguration/FeeConfigurationList`\r\n },\r\n BackOfficeMenu: {\r\n GetBackOfficeMenuList: `${apiURL}api/BackOfficeMenu/List`,\r\n },\r\n MediaPageDetails: {\r\n MediaPageDetailsListByMediaId: `${apiURL}api/MediaPageDetails/MediaPageDetailListByMediaId`,\r\n GetMediaPagePdfFile: `${apiURL}api/MediaPageDetails/GetMediaPagePdfFile`,\r\n AssignMediaPageQualification: `${apiURL}api/MediaPageDetails/AssignMediaPageQualification`\r\n },\r\n BinaryPlacementTree: {\r\n BinaryPlacementTreeList: `${apiURL}api/BinaryPlacementTree/BinaryPlacementTreeList`,\r\n CheckAccountIdInPlacementTree: `${apiURL}api/BinaryPlacementTree/CheckAccountIdForPlacementTree`,\r\n GetBottomPlacementTree: `${apiURL}api/BinaryPlacementTree/GetBottomPlacementTree`,\r\n },\r\n SmartCart: {\r\n GetSmartCartDetailsByUserId: `${apiURL}api/SmartCart/GetSmartCartDetailsByAcctID`,\r\n GetSmartCartDetailsByGUID: `${apiURL}api/SmartCart/GetSmartCartDetailsByGUID`,\r\n DeleteSmartCartById: `${apiURL}api/SmartCart/UpdateStatus`,\r\n GoToSmartCart: `${apiURL}api/SmartCart/GoToSmartCart`,\r\n },\r\n PersonallySponsored: {\r\n PersonallySponsoredList: `${apiURL}api/ReferralTree/GetPersonallySponsoredList`\r\n },\r\n PaymentProfile: {\r\n CreatePaymentProfile: `${apiURL}api/PaymentProfile/Create`,\r\n PaymentProfileList: `${apiURL}api/PaymentProfile/PaymentProfileList`,\r\n PaymentProfileDelete: `${apiURL}api/PaymentProfile/Delete`,\r\n PaymentProfileSetDefault: `${apiURL}api/PaymentProfile/SetAsDefault`\r\n },\r\n LegalDocument: {\r\n LegalDocumnetDetailByTypeAndName: `${apiURL}api/LegalDocument/GetLegalDocumentByTypeName`,\r\n },\r\n SystemMediaConfiguration: {\r\n GetSystemMediaConfigurationDetails: `${apiURL}api/SystemMediaConfiguration/GetSystemMediaConfigurationDetails`,\r\n },\r\n UpGradeAccount: {\r\n UpgradeUserAccount: `${apiURL}api/UpgradeAccount/UpgradeUserAccount`,\r\n },\r\n Dashboard: {\r\n DashboardNewSignUpDetails: `${apiURL}api/Dashboard/GetDashboardNewSignUpList`,\r\n DashboardCommissionDetails: `${apiURL}api/Dashboard/GetDashboardCommissionList`,\r\n DashboardRetailCustomerOrderDetails: `${apiURL}api/Dashboard/GetDashboardRetailCustomerOrdersList`,\r\n DashboardUserOrderDetails: `${apiURL}api/Dashboard/GetDashboardUserOrdersList`,\r\n DashboardUserSmartshipInvoiceDetails: `${apiURL}api/Dashboard/GetDashboardUserSmartshipInvoiceList`,\r\n KnowledgeBaseURL: `https://byldnetwork.zendesk.com/hc/en-us/articles/27069402919060-BYLD-Network-Monthly-Subscription`\r\n },\r\n RetailShopping: {\r\n GetUserRoleByEmail: `${apiURL}api/RetailShopping/GetUserRoleByEmail`,\r\n },\r\n SeamlessLogin: {\r\n SeamlessLoginCreate: `${apiURL}api/SeamlessLogin/Create`,\r\n SeamlessLoginConsume: `${apiURL}api/SeamlessLogin/Consume`\r\n },\r\n WebsiteName: {\r\n UpdateWebsiteName: `${apiURL}api/WebsiteName/UpdateWebsiteName`,\r\n },\r\n Rewards: {\r\n CheckAccessAPI: `${apiURL}api/AccessAPI/CheckAccessAPI`,\r\n CheckRewardPageAccessCriteria: `${apiURL}api/AccessAPI/CheckRewardPageAccessCriteria`,\r\n ReceiveMyDiscount: `${apiURL}api/AccessAPI/ReceiveMyDiscount`,\r\n },\r\n LeadCollections: {\r\n CraeteLeadCollection: `${apiURL}api/LeadCollection/CraeteLeadCollection`,\r\n EditLeadCollection: `${apiURL}api/LeadCollection/EditLeadCollection`,\r\n GetLeadCollectionListByUserId: `${apiURL}api/LeadCollection/GetLeadCollectionListByUserId`,\r\n GetLeadCollectionDetailsById: `${apiURL}api/LeadCollection/GetLeadCollectionDetailsById`,\r\n DeleteUplodedMedia: `${apiURL}api/LeadCollection/LeadCollectionMediaDelete`,\r\n LeadCollectionDelete: `${apiURL}api/LeadCollection/LeadCollectionDelete`,\r\n LeadMentorSearchList: `${apiURL}api/LeadCollection/GetLeadMentorSearchList`,\r\n LeadAffiliateList: `${apiURL}api/LeadCollection/GetLeadAffiliateListByUserId`,\r\n CrediFormLink: `https://powerforms.docusign.net/3efb4603-69f4-4244-92eb-7781ee9ba813?env=na4&acct=c66ffb7a-b8f8-40c3-a7a4-d000e2f20c5b&accountId=c66ffb7a-b8f8-40c3-a7a4-d000e2f20c5b`,\r\n ApplyFinancingLink: `https://www.goodleap.dev/alkavida/e7af2721-9abd-4c25-8657-c7a7523590b5`,\r\n ShopResidentialLink: `https://alkavidainc.com/collections/residential`\r\n },\r\n Reports: {\r\n DualTeamBonusCommissionReport: `${apiURL}api/Reports/DualTeamBonusCommissionReport`,\r\n DualTeamBonusVolumeReport: `${apiURL}api/Reports/DualTeamBonusVolumeReport`,\r\n DailyDualTeamBonusVolumeReport: `${apiURL}api/Reports/DailyDualTeamBonusVolumeReport`,\r\n },\r\n MediaSlides: {\r\n GetMediaSlidesListForSlider: `${apiURL}api/MediaSlides/GetMediaSlidesListForSlider`\r\n },\r\n RippleSecureSignUp: {\r\n GetSignUpDetail: `${apiURL}api/RippleSecureSignUp/GetRippleSecureSignUpDetails`,\r\n CreateRippleAccount: `${rippleApiUrl}api/MobileApp/SignUp`,\r\n AddRippleAcctIdInDB: `${apiURL}api/RippleSecureSignUp/AddRippleAcctIdInDB`,\r\n },\r\n Travertex: {\r\n GetTravertexUserDetails: `${apiURL}api/Travertex/GetTravertexUserDetails`,\r\n CreateTravertexAccount: `${apiURL}api/Travertex/TravertexCreateUser`,\r\n LoginTravertexAccount: `${apiURL}api/Travertex/TravertexUserLogin`,\r\n }\r\n}\r\n\r\nexport { urlConstant as default }\r\n","// import { logout } from './OIDCService'\r\n// import urlConstant from '../constants/urlConstant'\r\nimport { endApiLoader, startApiLoader } from './apiLoaderService'\r\nimport dataConstant from '../constants/dataConstants'\r\n\r\nconst CryptoJS = require('crypto-js')\r\n\r\nexport const httpGet = async (requestURL, authorizationRequired, enableLoader = true, accessToken = null,impersonateEmail=null) =>\r\n new Promise((resolve, reject) => {\r\n const options = {\r\n method: 'get',\r\n headers: {\r\n 'content-type': 'application/json; charset=UTF-8',\r\n 'impersonateEmail':impersonateEmail\r\n },\r\n }\r\n try {\r\n if (authorizationRequired && accessToken) {\r\n options.headers.Authorization = `bearer ${accessToken}`\r\n }\r\n if (enableLoader) {\r\n startApiLoader()\r\n }\r\n fetch(requestURL, options)\r\n .then(\r\n response => {\r\n // if (response.status === 404 || response.status === 400 || response.status === 500) {\r\n // this.AddErrorLog(response.status, response.url)\r\n // }\r\n if (response.status === 404 || response.status === 200 || response.status === 400) {\r\n return response.json()\r\n }\r\n return response\r\n },\r\n err => {\r\n reject(err)\r\n },\r\n )\r\n .then(\r\n responseJson => {\r\n if (responseJson.status === 401) {\r\n // TODO Handle Signout\r\n }\r\n resolve(responseJson)\r\n },\r\n err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n },\r\n )\r\n .catch(err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n })\r\n .finally(() => {\r\n if (enableLoader) {\r\n endApiLoader()\r\n }\r\n })\r\n } catch (error) {\r\n console.warn(error)\r\n }\r\n })\r\n\r\nexport const httpPost = async (requestURL, requestBody, authorizationRequired, enableLoader = true, accessToken = null,impersonateEmail=null) =>\r\n new Promise((resolve, reject) => {\r\n const options = {\r\n method: 'post',\r\n headers: {\r\n 'content-type': 'application/json; charset=UTF-8',\r\n 'impersonateEmail':impersonateEmail\r\n },\r\n body: JSON.stringify(requestBody),\r\n }\r\n\r\n try {\r\n if (authorizationRequired && accessToken) {\r\n options.headers.Authorization = `bearer ${accessToken}`\r\n }\r\n if (enableLoader) {\r\n startApiLoader()\r\n }\r\n fetch(requestURL, options)\r\n .then(\r\n response => {\r\n // if (response.status === 404 || response.status === 400 || response.status === 500) {\r\n // this.AddErrorLog(response.status, response.url)\r\n // }\r\n if (response.status === 404 || response.status === 200 || response.status === 400) {\r\n return response.json()\r\n }\r\n return response\r\n },\r\n err => {\r\n reject(err)\r\n },\r\n )\r\n .then(\r\n responseJson => {\r\n if (responseJson.status === 401) {\r\n // TODO Handle Signout\r\n }\r\n resolve(responseJson)\r\n },\r\n err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n },\r\n )\r\n .catch(err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n })\r\n .finally(() => {\r\n if (enableLoader) {\r\n endApiLoader()\r\n }\r\n })\r\n } catch (error) {\r\n console.warn(error)\r\n }\r\n })\r\n\r\nexport const encryptData = data => {\r\n const key = CryptoJS.enc.Utf8.parse(dataConstant.AESEncryptDecryptKey)\r\n const iv = CryptoJS.enc.Utf8.parse(dataConstant.AESEncryptDecryptKey)\r\n\r\n const encrypted = CryptoJS.AES.encrypt(data, key, {\r\n iv,\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7,\r\n })\r\n return encrypted.toString();\r\n}\r\n\r\nexport const DecryptData = data => {\r\n const key = CryptoJS.enc.Utf8.parse(dataConstant.AESEncryptDecryptKey)\r\n const iv = CryptoJS.enc.Utf8.parse(dataConstant.AESEncryptDecryptKey)\r\n const decrypted = CryptoJS.AES.decrypt(data, key, {\r\n iv,\r\n mode: CryptoJS.mode.CBC,\r\n padding: CryptoJS.pad.Pkcs7,\r\n })\r\n return decrypted.toString(CryptoJS.enc.Utf8)\r\n}\r\n\r\nexport const hideScrollbar = () => {\r\n document.body.style.overflow = 'hidden';\r\n}\r\n\r\nexport const showScrollbar = () => {\r\n document.body.style.overflow = 'visible';\r\n}\r\n\r\nexport const DocumentUpload = async (requestURL, formData, authorizationRequired, enableLoader = true, accessToken = null,impersonateEmail = null) =>\r\n new Promise((resolve, reject) => {\r\n const options = {\r\n method: 'post',\r\n headers: {\r\n Accept: 'application/json',\r\n 'impersonateEmail':impersonateEmail\r\n },\r\n body: formData,\r\n }\r\n\r\n if (enableLoader) {\r\n startApiLoader()\r\n }\r\n try {\r\n if (authorizationRequired && accessToken) {\r\n options.headers.Authorization = `bearer ${accessToken}`\r\n }\r\n if (enableLoader) {\r\n startApiLoader()\r\n }\r\n fetch(requestURL, options)\r\n .then(\r\n response => {\r\n // if (response.status === 404 || response.status === 400 || response.status === 500) {\r\n // this.AddErrorLog(response.status, response.url)\r\n // }\r\n if (response.status === 404 || response.status === 200 || response.status === 400) {\r\n return response.json()\r\n }\r\n return response\r\n },\r\n err => {\r\n reject(err)\r\n },\r\n )\r\n .then(\r\n responseJson => {\r\n if (responseJson.status === 401) {\r\n // TODO Handle Signout\r\n }\r\n resolve(responseJson)\r\n },\r\n err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n },\r\n )\r\n .catch(err => {\r\n // this.AddErrorLog(err.message, err.stack)\r\n reject(err)\r\n })\r\n .finally(() => {\r\n if (enableLoader) {\r\n endApiLoader()\r\n }\r\n })\r\n } catch (error) {\r\n console.warn(error)\r\n }\r\n })\r\n\r\n","// This optional code is used to register a service worker.\r\n// register() is not called by default.\r\n\r\n// This lets the app load faster on subsequent visits in production, and gives\r\n// it offline capabilities. However, it also means that developers (and users)\r\n// will only see deployed updates on subsequent visits to a page, after all the\r\n// existing tabs open on the page have been closed, since previously cached\r\n// resources are updated in the background.\r\n\r\n// To learn more about the benefits of this model and instructions on how to\r\n// opt-in, read https://bit.ly/CRA-PWA\r\n\r\nconst isLocalhost = Boolean(\r\n window.location.hostname === 'localhost' ||\r\n // [::1] is the IPv6 localhost address.\r\n window.location.hostname === '[::1]' ||\r\n // 127.0.0.1/8 is considered localhost for IPv4.\r\n window.location.hostname.match(\r\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/\r\n )\r\n)\r\n\r\nexport function register(config) {\r\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\r\n // The URL constructor is available in all browsers that support SW.\r\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href)\r\n if (publicUrl.origin !== window.location.origin) {\r\n // Our service worker won't work if PUBLIC_URL is on a different origin\r\n // from what our page is served on. This might happen if a CDN is used to\r\n // serve assets see https://github.com/facebook/create-react-app/issues/2374\r\n return\r\n }\r\n\r\n window.addEventListener('load', () => {\r\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`\r\n\r\n if (isLocalhost) {\r\n // This is running on localhost. Let's check if a service worker still exists or not.\r\n checkValidServiceWorker(swUrl, config)\r\n\r\n // Add some additional logging to localhost, pointing developers to the\r\n // service worker/PWA documentation.\r\n navigator.serviceWorker.ready.then(() => {\r\n console.log(\r\n 'This web app is being served cache-first by a service ' +\r\n 'worker. To learn more, visit https://bit.ly/CRA-PWA'\r\n )\r\n })\r\n } else {\r\n // Is not localhost. Just register service worker\r\n registerValidSW(swUrl, config)\r\n }\r\n })\r\n }\r\n}\r\n\r\nfunction registerValidSW(swUrl, config) {\r\n navigator.serviceWorker\r\n .register(swUrl)\r\n .then(registration => {\r\n registration.onupdatefound = () => {\r\n const installingWorker = registration.installing\r\n if (installingWorker == null) {\r\n return\r\n }\r\n installingWorker.onstatechange = () => {\r\n if (installingWorker.state === 'installed') {\r\n if (navigator.serviceWorker.controller) {\r\n // At this point, the updated precached content has been fetched,\r\n // but the previous service worker will still serve the older\r\n // content until all client tabs are closed.\r\n console.log(\r\n 'New content is available and will be used when all ' +\r\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'\r\n )\r\n\r\n // Execute callback\r\n if (config && config.onUpdate) {\r\n config.onUpdate(registration)\r\n }\r\n } else {\r\n // At this point, everything has been precached.\r\n // It's the perfect time to display a\r\n // \"Content is cached for offline use.\" message.\r\n console.log('Content is cached for offline use.')\r\n\r\n // Execute callback\r\n if (config && config.onSuccess) {\r\n config.onSuccess(registration)\r\n }\r\n }\r\n }\r\n }\r\n }\r\n })\r\n .catch(error => {\r\n console.error('Error during service worker registration:', error)\r\n })\r\n}\r\n\r\nfunction checkValidServiceWorker(swUrl, config) {\r\n // Check if the service worker can be found. If it can't reload the page.\r\n fetch(swUrl)\r\n .then(response => {\r\n // Ensure service worker exists, and that we really are getting a JS file.\r\n const contentType = response.headers.get('content-type')\r\n if (\r\n response.status === 404 ||\r\n (contentType != null && contentType.indexOf('javascript') === -1)\r\n ) {\r\n // No service worker found. Probably a different app. Reload the page.\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister().then(() => {\r\n window.location.reload()\r\n })\r\n })\r\n } else {\r\n // Service worker found. Proceed as normal.\r\n registerValidSW(swUrl, config)\r\n }\r\n })\r\n .catch(() => {\r\n console.log(\r\n 'No internet connection found. App is running in offline mode.'\r\n )\r\n })\r\n}\r\n\r\nexport function unregister() {\r\n if ('serviceWorker' in navigator) {\r\n navigator.serviceWorker.ready.then(registration => {\r\n registration.unregister()\r\n })\r\n }\r\n}\r\n","import mock from \"../mock\"\r\n\r\nexport const searchResult = [\r\n {\r\n groupTitle: \"Pages\",\r\n searchLimit: 4,\r\n data: [\r\n {\r\n id: 1,\r\n target: \"home\",\r\n title: \"Home\",\r\n link: \"/\",\r\n icon: \"Home\"\r\n },\r\n {\r\n id: 2,\r\n target: \"page\",\r\n title: \"Page 2\",\r\n link: \"/page2\",\r\n icon: \"File\"\r\n }\r\n ]\r\n }\r\n]\r\n\r\nmock.onGet(\"/api/main-search/data\").reply(200, {\r\n searchResult\r\n})\r\n","import mock from \"../mock\"\r\nimport jwt from \"jsonwebtoken\"\r\n\r\nlet users = [\r\n {\r\n id: 1,\r\n email: \"demo@demo.com\",\r\n password: \"demodemo\",\r\n name: \"Demo\"\r\n },\r\n {\r\n id: 2,\r\n email: \"admin@admin.com\",\r\n password: \"adminadmin\",\r\n name: \"Admin\"\r\n },\r\n {\r\n id: 3,\r\n email: \"staff@staff.com\",\r\n password: \"staff\",\r\n name: \"Staff\"\r\n }\r\n]\r\n\r\nconst jwtConfig = {\r\n \"secret\" : \"dd5f3089-40c3-403d-af14-d0c228b05cb4\",\r\n \"expireTime\": 8000\r\n}\r\n\r\n// POST: Check User Login Details and return user\r\nmock.onPost(\"/api/authenticate/login/user\").reply( request => {\r\n\r\n let { email, password } = JSON.parse(request.data)\r\n let error = \"Something went wrong\"\r\n\r\n const user = users.find(user => user.email === email && user.password === password)\r\n\r\n if (user) {\r\n\r\n try {\r\n\r\n const accessToken = jwt.sign({id: user.id}, jwtConfig.secret, {expiresIn: jwtConfig.expireTime})\r\n\r\n const userData = Object.assign({}, user, {loggedInWith: \"jwt\"})\r\n\r\n delete userData.password\r\n\r\n const response = {\r\n user : userData,\r\n accessToken: accessToken\r\n }\r\n\r\n return [200, response]\r\n\r\n } catch(e) {\r\n error = e\r\n }\r\n }else {\r\n error = \"Email Or Password Invalid\"\r\n }\r\n\r\n return [200, {error}]\r\n})\r\n\r\nmock.onPost(\"/api/authenticate/register/user\").reply( request => {\r\n if(request.data.length > 0){\r\n\r\n let { email, password, name } = JSON.parse(request.data)\r\n const isEmailAlreadyInUse = users.find((user) => user.email === email)\r\n const error = {\r\n email : isEmailAlreadyInUse ? 'This email is already in use.' : null,\r\n name: name === '' ? 'Please enter your name.' : null\r\n }\r\n\r\n if ( !error.name && !error.email ) {\r\n\r\n let userData = {\r\n email: email,\r\n password: password,\r\n name: name\r\n }\r\n\r\n // Add user id\r\n const length = users.length\r\n let lastIndex = 0\r\n if(length){\r\n lastIndex = users[length - 1].id\r\n }\r\n userData.id = lastIndex + 1\r\n\r\n users.push(userData)\r\n\r\n const accessToken = jwt.sign({id: userData.id}, jwtConfig.secret, {expiresIn: jwtConfig.expireTime})\r\n\r\n let user = Object.assign({}, userData)\r\n delete user['password']\r\n const response = { user: user, accessToken: accessToken }\r\n\r\n return [200, response]\r\n } else {\r\n return [200, {error}]\r\n }\r\n\r\n }\r\n\r\n})\r\n\r\nmock.onPost('/api/authenticate/refresh-token').reply((request) => {\r\n\r\n const {accessToken} = JSON.parse(request.data)\r\n\r\n try {\r\n const {id} = jwt.verify(accessToken, jwtConfig.secret)\r\n\r\n let userData = Object.assign({}, users.find(user => user.id === id))\r\n\r\n const newAccessToken = jwt.sign({id: userData.id}, jwtConfig.secret, {expiresIn: jwtConfig.expiresIn})\r\n\r\n delete userData['password']\r\n const response = {\r\n userData: userData,\r\n accessToken: newAccessToken\r\n }\r\n\r\n return [200, response]\r\n } catch (e){\r\n const error = \"Invalid access token\"\r\n return [401, {error}]\r\n }\r\n})\r\n","import mock from \"./mock\"\r\nimport \"./navbar/navbarSearch\"\r\nimport \"./navbar/navbarBookmarkSearch\"\r\nimport \"./auth/authentication\"\r\nmock.onAny().passThrough()\r\n","import React, { Suspense, lazy } from 'react'\r\nimport ReactDOM from 'react-dom'\r\nimport { Provider } from 'react-redux'\r\nimport { AuthenticationProvider } from '@cloudmlm/cloudmlm-auth'\r\nimport { createBrowserHistory } from 'history'\r\nimport { Layout } from './utility/context/Layout'\r\nimport * as serviceWorker from './serviceWorker'\r\nimport { store } from './redux/storeConfig/store'\r\nimport './index.scss'\r\nimport './@fake-db'\r\nimport \"./assets/scss/kendo-custom.css\"\r\nimport ApiLoader from './layouts/components/apiLoader/apiLoader'\r\nimport urlConstant from './constants/urlConstant'\r\n\r\nconst LazyApp = lazy(() => import('./App'))\r\nconst history = createBrowserHistory()\r\n\r\n// configureDatabase()\r\nReactDOM.render(\r\n \r\n }>\r\n \r\n \r\n \r\n \r\n \r\n \r\n ,\r\n document.getElementById('root'),\r\n)\r\n\r\n// If you want your app to work offline and load faster, you can change\r\n// unregister() to register() below. Note this comes with some pitfalls.\r\n// Learn more about service workers: https://bit.ly/CRA-PWA\r\nserviceWorker.unregister()\r\n","import { store } from \"../redux/storeConfig/store\";\r\n\r\nexport function startApiLoader() {\r\n store.dispatch({\r\n type: 'apiLoader/SET_STATE',\r\n payload: {\r\n isLoading: true,\r\n },\r\n })\r\n}\r\n\r\nexport function endApiLoader() {\r\n store.dispatch({\r\n type: 'apiLoader/SET_STATE',\r\n payload: {\r\n isLoading: false,\r\n },\r\n })\r\n}\r\n","// You can customize the theme with the help of this file\r\n\r\n//Template config options\r\nconst themeConfig = {\r\n layout: \"vertical\", // options[String]: \"vertical\"(default), \"horizontal\"\r\n theme: \"light\", // options[String]: 'light'(default), 'dark', 'semi-dark'\r\n sidebarCollapsed: true, // options[Boolean]: true, false(default)\r\n navbarColor: \"default\", // options[String]: default / primary / success / danger / info / warning / dark\r\n navbarType: \"floating\", // options[String]: floating(default) / static / sticky / hidden\r\n footerType: \"static\", // options[String]: static(default) / sticky / hidden\r\n disableCustomizer: true, // options[Boolean]: true, false(default)\r\n hideScrollToTop: false, // options[Boolean]: true, false(default)\r\n menuTheme: \"primary\", // options[String]: primary / success / danger / info / warning / dark\r\n direction: \"ltr\" // options[String] : ltr / rtl\r\n}\r\n\r\nexport default themeConfig\r\n","import i18n from 'i18next'\r\nimport LanguageDetector from 'i18next-browser-languagedetector'\r\nimport { initReactI18next } from 'react-i18next'\r\nimport XHR from 'i18next-xhr-backend'\r\nimport rankES from './locales/es/translation.json'\r\nimport rankBG from './locales/bg/translation.json'\r\nimport rankEN from './locales/en/translation.json'\r\n\r\nconst defaultLanguage = localStorage.getItem('i18nextLng')\r\n\r\ni18n\r\n .use(XHR)\r\n .use(LanguageDetector)\r\n .use(initReactI18next)\r\n .init({\r\n resources: {\r\n es: rankES,\r\n bg: rankBG,\r\n en: rankEN,\r\n },\r\n /* default language when load the website in browser */\r\n lng: defaultLanguage !== null ? defaultLanguage : 'en',\r\n /* When react i18next not finding any language to as default in borwser */\r\n fallbackLng: defaultLanguage !== null ? defaultLanguage : 'en',\r\n /* debugger For Development environment */\r\n debug: false,\r\n ns: ['translations'],\r\n defaultNS: 'translations',\r\n keySeparator: '.',\r\n interpolation: {\r\n escapeValue: false,\r\n formatSeparator: ',',\r\n },\r\n react: {\r\n wait: true,\r\n bindI18n: 'languageChanged loaded',\r\n bindStore: 'added removed',\r\n nsMode: 'default',\r\n },\r\n })\r\n\r\nexport default i18n\r\n","//import React from \"react\"\r\n//import {Spinner} from \"reactstrap\"\r\n\r\n//class ApiLoader extends React.Component {\r\n\r\n// render() {\r\n// return(\r\n//
\r\n// \r\n//
\r\n// )\r\n// }\r\n//}\r\n//export default ApiLoader\r\n\r\nimport React, { Component } from 'react'\r\nimport './apiLoader.style.scss'\r\n\r\nclass ApiLoader extends Component {\r\n render() {\r\n return (\r\n <>\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n )\r\n }\r\n}\r\n\r\nexport default ApiLoader\r\n","import themeConfig from \"../../../configs/themeConfig\"\r\n\r\nconst customizerReducer = (state = themeConfig, action) => {\r\n switch (action.type) {\r\n case \"CHANGE_MODE\":\r\n return { ...state, theme: action.mode }\r\n case \"COLLAPSE_SIDEBAR\":\r\n return { ...state, sidebarCollapsed: action.value }\r\n case \"CHANGE_NAVBAR_COLOR\":\r\n return { ...state, navbarColor: action.color }\r\n case \"CHANGE_NAVBAR_TYPE\":\r\n return { ...state, navbarType: action.style }\r\n case \"CHANGE_FOOTER_TYPE\":\r\n return { ...state, footerType: action.style }\r\n case \"CHANGE_MENU_COLOR\":\r\n return { ...state, menuTheme: action.style }\r\n case \"HIDE_SCROLL_TO_TOP\":\r\n return { ...state, hideScrollToTop: action.value }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default customizerReducer\r\n","import { combineReducers } from \"redux\"\r\nimport customizer from \"./customizer\"\r\n\r\nconst customizerReducer = combineReducers({\r\n customizer\r\n})\r\n\r\nexport default customizerReducer\r\n","import { combineReducers } from \"redux\"\r\nimport { login } from \"./loginReducer\"\r\n\r\nconst authReducers = combineReducers({\r\n login\r\n})\r\n\r\nexport default authReducers\r\n","export const login = (state = { userRole: \"admin\" }, action) => {\r\n switch (action.type) {\r\n case \"LOGIN_WITH_EMAIL\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGIN_WITH_FB\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGIN_WITH_TWITTER\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGIN_WITH_GOOGLE\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGIN_WITH_GITHUB\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGIN_WITH_JWT\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGOUT_WITH_JWT\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"LOGOUT_WITH_FIREBASE\": {\r\n return { ...state, values: action.payload }\r\n }\r\n case \"CHANGE_ROLE\": {\r\n return { ...state, userRole: action.userRole }\r\n }\r\n default: {\r\n return state\r\n }\r\n }\r\n}\r\n","const actions = {\r\n SET_STATE: 'user/SET_STATE',\r\n SIGNIN: 'user/SIGNIN',\r\n SIGNOUT: 'user/SIGNOUT',\r\n GETUSERNAME: 'user/GETUSERNAME',\r\n CHANGEPASSWORD: 'user/CHANGEPASSWORD',\r\n SETUSERAUTHORIZATION: 'user/SETUSERAUTHORIZATION',\r\n}\r\n\r\nexport default actions\r\n","import actions from './actions'\r\n\r\nconst initialState = {\r\n id: '',\r\n name: '',\r\n role: '',\r\n email: '',\r\n avatar: '',\r\n accesstoken: '',\r\n authorized: false,\r\n authenticated: false,\r\n loading: false,\r\n MaterialType: '',\r\n IsImpersonate: false,\r\n reftype: '',\r\n}\r\n\r\nexport default function userReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case actions.SET_STATE:\r\n return { ...state, ...action.payload }\r\n\r\n case \"user/GETUSERNAME\":\r\n return {\r\n ...state,\r\n name: action.payload.name,\r\n authenticated: action.payload.authenticated\r\n }\r\n default:\r\n return state\r\n }\r\n}\r\n","import { searchResult } from \"../../../@fake-db/navbar/navbarBookmarkSearch\"\r\n\r\nconst defaultStarred = searchResult.filter(item => {\r\n return item.starred === true\r\n})\r\n\r\nconst initialState = {\r\n suggestions: [],\r\n isLoading: false,\r\n value: \"\",\r\n starred: defaultStarred,\r\n noSuggestions: false,\r\n extraStarred: []\r\n}\r\n\r\nconst navbarReducer = (state = initialState, action) => {\r\n switch (action.type) {\r\n case \"MAYBE_UPDATE_SUGGESTIONS\":\r\n return {\r\n ...state,\r\n suggestions: action.suggestions,\r\n isLoading: false\r\n }\r\n case \"UPDATE_STARRED\":\r\n const starredState = state.starred.map(i => i.id)\r\n const extraStarredState = state.extraStarred.map(j => j.id)\r\n // Update main suggestions\r\n if (state) {\r\n state.suggestions.find(i => {\r\n if (i.id === action.object.id) {\r\n i.starred = !action.object.starred\r\n return { ...state }\r\n } else {\r\n return null\r\n }\r\n })\r\n }\r\n // checks if it includes and length is 0 < 10 then pushes object\r\n if (\r\n !starredState.includes(action.object.id) &&\r\n state.starred.length < 10\r\n ) {\r\n let newState = state.starred.push(action.object)\r\n return { ...state, newState }\r\n }\r\n\r\n // checks if it already includes and then removes it\r\n else if (starredState.includes(action.object.id)) {\r\n if (state.extraStarred.length === 0) {\r\n let newState = state.starred.splice(\r\n starredState.indexOf(action.object.id),\r\n 1\r\n )\r\n return { ...state, newState }\r\n } else if (state.extraStarred.length > 0) {\r\n let getBookmark = state.extraStarred.splice(0, 1)\r\n state.starred.splice(starredState.indexOf(action.object.id), 1)\r\n let updatedState = state.starred.push(getBookmark[0])\r\n return { ...state, updatedState }\r\n } else {\r\n return { ...state }\r\n }\r\n }\r\n\r\n // checks if extraState doesn't includes and main starred length is 10+\r\n else if (\r\n !extraStarredState.includes(action.object.id) &&\r\n state.starred.length >= 10\r\n ) {\r\n let extraStarred = state.extraStarred.concat(action.object)\r\n return { ...state, extraStarred }\r\n } else {\r\n return { ...state }\r\n }\r\n\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default navbarReducer\r\n","const actions = {\r\n SET_STATE: 'apiLoader/SET_STATE',\r\n}\r\n\r\nexport default actions\r\n","import actions from './actions'\r\n\r\nconst initialState = {\r\n isLoading: false,\r\n}\r\n\r\nexport default function apiLoaderReducer(state = initialState, action) {\r\n switch (action.type) {\r\n case actions.SET_STATE:\r\n return { ...state, ...action.payload }\r\n default:\r\n return state\r\n }\r\n}\r\n","const initialState = {\r\n events: [],\r\n sidebar: false,\r\n selectedEvent: null\r\n}\r\n\r\nconst promotionSidebarReducer = (state = initialState, action) => {\r\n switch (action.type) {\r\n case \"HANDLE_SIDEBAR\":\r\n return { ...state, sidebar: action.status }\r\n case \"HANDLE_SELECTED_EVENT\":\r\n return { ...state, selectedEvent: action.event }\r\n default:\r\n return state\r\n }\r\n}\r\n\r\nexport default promotionSidebarReducer\r\n","import { combineReducers } from \"redux\"\r\nimport customizer from \"./customizer/\"\r\nimport auth from \"./auth/\"\r\nimport user from \"../user/reducers\"\r\nimport navbar from \"./navbar/Index\"\r\nimport apiLoaderReducer from \"../apiLoader/reducers\"\r\nimport promotionSidebar from \"./promotionSidebar/\"\r\n\r\nconst rootReducer = combineReducers({\r\n customizer: customizer,\r\n auth: auth,\r\n user: user,\r\n navbar: navbar,\r\n apiLoader: apiLoaderReducer,\r\n promotionSidebar: promotionSidebar\r\n})\r\n\r\nexport default rootReducer\r\n","import { createStore, applyMiddleware, compose } from \"redux\"\r\nimport createDebounce from \"redux-debounced\"\r\nimport thunk from \"redux-thunk\"\r\nimport rootReducer from \"../reducers/rootReducer\"\r\n\r\nconst middlewares = [thunk, createDebounce()]\r\n\r\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose\r\nconst store = createStore(\r\n rootReducer,\r\n {},\r\n composeEnhancers(applyMiddleware(...middlewares))\r\n)\r\n\r\nexport { store }\r\n"],"sourceRoot":""}