{"version":3,"sources":["app/helpers/globals.js","_metronic/_helpers/TablePaginationHelpers.js","_metronic/_helpers/TableSortingHelpers.js","_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown.js","_metronic/_assets/js/components/offcanvas.js","app/modules/Auth/__mocks__/userTableMock.js","app/modules/Auth/__mocks__/mockAuth.js","redux/rootReducer.js","redux/store.js","app/withTracker.js","app/pages/Unibox/ReplyModal.js","app/pages/Unibox/InboxDetails.js","app/pages/Unibox/Unibox.js","app/BasePage.js","app/modules/ErrorsExamples/ErrorPage1.js","app/modules/ErrorsExamples/ErrorPage2.js","app/modules/ErrorsExamples/ErrorPage3.js","app/modules/ErrorsExamples/ErrorPage4.js","app/modules/ErrorsExamples/ErrorPage5.js","app/modules/ErrorsExamples/ErrorPage6.js","app/modules/ErrorsExamples/ErrorsPage.js","app/Routes.js","app/ErrorBoundary.js","app/App.js","i18n.js","index.js","redux/setupAxios.js","redux/__mocks__/mockAxios.js","_metronic/_partials/dropdowns/DropdownMenu1.js","_metronic/_partials/dropdowns/DropdownMenu3.js","_metronic/_partials/dropdowns/DropdownCustomToggler.js","_metronic/_partials/dropdowns/DropdownTopbarItemToggler.js","_metronic/_partials/dropdowns/DropdownCustom.js","_metronic/_partials/dropdowns/DropdownItemToggler.js","_metronic/_partials/dropdowns/DropdownFilter.js","app/modules/Auth/_redux/authCrud.js","_metronic/_assets/js/components/cookie.js","_metronic/i18n/Metronici18n.js","_metronic/i18n/I18nProvider.js","_metronic/_helpers/AssetsHelpers.js","_metronic/_assets/js/components/util.js","_metronic/layout/_core/HTMLClassService.js","_metronic/layout/_core/MetronicLayout.js","_metronic/layout/_core/LayoutConfig.js","_metronic/layout/components/brand/Brand.js","_metronic/layout/components/extras/dropdowns/UserProfileDropdown.js","_metronic/layout/components/extras/QuickUserToggler.js","_metronic/layout/components/aside/Aside.js","_metronic/layout/components/extras/offcanvas/QuickActions.js","_metronic/layout/components/extras/offcanvas/QuickUser.js","_metronic/layout/components/extras/ScrollTop.js","_metronic/layout/components/extras/StickyToolbar.js","_metronic/layout/components/footer/Footer.js","_metronic/layout/components/header-mobile/HeaderMobile.js","_metronic/_assets/js/layout/base/aside.js","_metronic/_assets/js/layout/base/aside-menu.js","_metronic/_assets/js/layout/base/subheader.js","_metronic/_assets/js/layout/base/footer.js","_metronic/_assets/js/layout/base/content.js","_metronic/_assets/js/layout/extended/scrolltop.js","_metronic/_assets/js/layout/base/sticky-card.js","_metronic/_assets/js/layout/base/stretched-card.js","_metronic/_assets/js/layout/extended/quick-panel.js","_metronic/_assets/js/layout/extended/quick-user.js","_metronic/_assets/js/layout/base/header-mobile.js","_metronic/_assets/js/layout/base/aside-toggle.js","_metronic/_assets/js/layout/extended/quick-search.js","_metronic/_assets/js/layout/extended/quick-notifications.js","_metronic/_assets/js/layout/extended/quick-actions.js","_metronic/layout/components/LayoutInit.js","_metronic/layout/_core/MetronicSubheader.js","_metronic/layout/components/subheader/components/BreadCrumbs.js","_metronic/layout/components/extras/dropdowns/search/SearchResult.js","_metronic/layout/components/extras/dropdowns/search/SearchDropdown.js","app/pages/Notifications/Message.js","_metronic/layout/components/extras/dropdowns/UserNotificationsDropdown.js","_metronic/layout/components/subheader/SubHeader.js","_metronic/layout/components/Layout.js","_metronic/layout/components/content/Content.js","_metronic/layout/components/content/ContentRoute.js","_metronic/layout/_core/MetronicSplashScreen.js","_metronic/layout/_core/MaterialThemeProvider.js","app/pages/EmailCampaigns/Box/replyForm.js","_metronic/_partials/controls/Card.js","_metronic/_partials/controls/AnimateLoading.js","_metronic/_partials/controls/ModalProgressBar.js","_metronic/_partials/controls/code-examples-kt/KTCodeBlock.js","_metronic/_partials/controls/code-examples/CodeBlockToolbar.js","_metronic/_partials/controls/code-examples-kt/KTCodeExample.js","app/modules/Slide/Slide.js","app/modules/Auth/pages/Login.js","app/modules/Auth/pages/Registration.js","app/modules/Auth/pages/ForgotPassword.js","app/modules/Auth/pages/Activationemail.js","app/modules/Auth/pages/ResetPassword.js","app/modules/Auth/pages/Terms.js","app/pages/History/History.js","app/modules/Auth/pages/RegistrationAppSumo.js","app/modules/Auth/pages/AuthPage.js","app/modules/Auth/pages/Logout.js","app/pages/companies/ABMPage.js","app/pages/Templates/preview.js","_metronic/_assets/js/components/menu.js","_metronic/_assets/js/components/scrolltop.js","_metronic/_assets/js/components/card.js","_metronic/_assets/js/components/toggle.js","app/pages/Unsbscribe/Unsbscribe.js","app/pages/WebForm/WebFormSlug.js","app/pages/WebForm/WebFormThankYouPage.js","_metronic/layout/components/extras/IntroJs.js","app/modules/Auth/_redux/authRedux.js"],"names":["_regeneratorRuntime","e","t","r","Object","prototype","n","hasOwnProperty","o","defineProperty","value","i","Symbol","a","iterator","c","asyncIterator","u","toStringTag","define","enumerable","configurable","writable","wrap","Generator","create","Context","makeInvokeMethod","tryCatch","type","arg","call","h","f","s","y","GeneratorFunction","GeneratorFunctionPrototype","p","d","getPrototypeOf","v","values","g","defineIteratorMethods","forEach","_invoke","AsyncIterator","invoke","resolve","__await","then","callInvokeWithMethodAndArg","Error","done","method","delegate","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","return","TypeError","resultName","next","nextLoc","pushTryEntry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","push","resetTryEntry","completion","reset","isNaN","length","displayName","isGeneratorFunction","constructor","name","mark","setPrototypeOf","__proto__","awrap","async","Promise","keys","reverse","pop","prev","charAt","slice","stop","rval","handle","complete","finish","catch","delegateYield","timeOptions","label","addIdToListElements","list","data","_toConsumableArray","id","concat","uuidv4","ScheduleComponent","props","dataSchedule","setDataSchedule","_useState","useState","_useState2","_slicedToArray","selectedFromTime","setSelectedFromTime","GetFromToTime","_ref","_dataSchedule$dataSch3","_dataSchedule$dataSch4","_dataSchedule$dataSch5","day","toTimeOptions","filter","option","_dataSchedule$dataSch","findIndex","dayNumber","fromTime","_dataSchedule$dataSch2","React","createElement","Fragment","className","Select","classNamePrefix","size","isClearable","placeholder","textFrom","onChange","_data","prevSelected","_objectSpread","_defineProperty","some","options","isDisabled","toTime","textTo","_data2","useEffect","console","log","Row","Col","ToggleTrackingOnOff","class","checked","setValue","ABMSendingEmail","ABMPage","assign","isAbmAuthorized","initialValues","idsTable","rows","isSendEmail","setIdsTable","setLoaderTable","ContactSelectedSendEmail","setContactSelectedSendEmailState","truncateString","str","maxLength","substring","err","PoweredByStripe","style","textAlign","isAligned","SVG","height","opacity","width","src","toAbsoluteUrl","EmailModalReply","_currentRow$reply3","_currentRow$reply4","_currentRow$reply5","_useState3","_useState4","loaderDetail","setLoaderDetail","_useState5","_useState6","replyForm","setReplyForm","_useState7","_useState8","loaderRefresh","setLoaderRefresh","_useState9","_useState10","currentRow","setCurrentRow","_useState11","_useState12","variables","setVariables","getDataItem","_x","_getDataItem","apply","arguments","_asyncToGenerator","_callee2","_context2","apiCall","link","dataResult","_dataResult$3","_useState13","_useState14","viewModelCompanies","setViewModelCompanies","bodyTemplate","useMemo","_currentRow$firstName","_currentRow$lastName","_currentRow$firstName2","_currentRow$lastName2","_currentRow$ccs","_currentRow$bccs","_currentRow$subject","_currentRow$body","sentDate","moment","ConvertToDateCurrentTimeZoneV2","format","getFromatdate","isReply","Link","to","contactId","firstName","lastName","toEmail","href","provider","ccs","bccs","map","item","onClick","setShow","email","replaceValues","subject","dangerouslySetInnerHTML","createMarkup","body","bodyTemplateReplied","_currentRow$reply","_currentRow$reply2","reply","x","_x$clickCount","replaceBody","bounce","replyDate","contactFirstName","contactLastName","replyBody","isOpen","openCount","isClicked","clickCount","join","_useState15","_useState16","contacts","setContacts","_props$email","_dataResult$","_dataResult$2","DynamicModal","show","child","Card","CardHeader","title","CardHeaderToolbar","cursor","CardBody","Spinner","as","animation","role","aria-hidden","preventDefault","setTimeout","document","getElementById","scrollIntoView","behavior","disabled","_ref2","_callee","_context","_x2","TimelineHorizontal","isModal","ReplyForm","GetData","key","templates","contactList","viewModel","data-aos","data-toggle","data-trigger","data-placement","data-content","data-original-title","LoaderGlobal","isCard","fontSize","ExportGlobal","Export","Type","setExporting","_ref3","_callee3","result","_props$deletedFields","_context3","fieldName","deletedFields","ExportAs","_x3","error","Dropdown","Toggle","variant","Menu","Item","getBase64","file","setState","reader","FileReader","readAsDataURL","onload","onerror","useIsMounted","isMountedRef","useRef","isMounted","useCallback","current","getFirstParagraph","html","split","parameters","array","tt","element","replaceAll","containsHTML","test","stripHtml","tmp","innerHTML","textContent","innerText","returncsv","json","fields","replacer","csv","row","JSON","stringify","unshift","capitalizeCustom","toUpperCase","_props$className","Modal","backdrop","enforceFocus","onHide","dataString","__html","InputPassword","_useState17","_useState18","isShowPassword","setShowPassword","isFormGroup","aria-describedby","formikParams","localStorage","getItem","undefined","RequiredHtml","position","InputItem","_props$value","_props$formik","_props$formik2","_props$formik3","Form","Group","controlId","Label","isRequired","Control","formik","touched","errors","ItemLabel","_ref4","BASE_URL","process","token","_localStorage","parse","_localStorage$getItem","_x4","_apiCall","_callee7","_localStorage$getItem2","_localStorage$getItem3","_localStorage$getItem4","_localStorage$getItem5","_JSON$parse$token","_JSON$parse","currentlang","_context7","fetch","headers","isFormData","Authorization","signal","_ref14","_callee6","response","statusCode","contentType","_context6","status","get","indexOf","text","_x7","ItemNumberStep","currentIndex","number","isUpgrade","handleParseCsv","setData","match","Swal","fire","_ref8","_callee5","_ref7","_csv$data","target","_context5","Papa","_x6","readAsText","creditCardTypeFromNumber","re","RegExp","setValueField","column","dataSet","Array","isArray","ModelStateMessage","modelState","k","message","clear","window","location","_result$1$message","_result$","error_description","ModelStateMessage400","ImageCardNumber","_ref9","alt","getImageSvgByName","ImageCardNumberByName","_ref10","CheckboxLargeWB","_ref11","field","required","_ref11$textSmall","textSmall","_ref11$color","color","Size","isTms","_objectWithoutProperties","_excluded","inputEl","_useState19","_useState20","colorStat","setColorStat","isSmall","ref","click","CheckboxLargeOppotunities","_ref12","_ref12$color","_excluded2","_useState21","_useState22","CountryStateGlobal","_ref13","setFieldValue","_ref13$className","_useState23","_useState24","countires","setCountries","_useState25","_useState26","states","setStates","handleGetCoutries","_data$","_data$$countries","countriesList","countries","country","_data$2","_data$2$states","stateList","state","xl","lg","md","find","obj","CreatableSelect","List","Entity","string","dataExportList","String","isValid","Date","date","now","dateformat","getMonth","getDate","getFullYear","getHours","getMinutes","getSeconds","wb","Sheets","XLSX","json_to_sheet","cellDates","dateNF","SheetNames","excelBuffer","bookType","Blob","FileSaver","data2","ExportFormBuilderAs","CheckisRequredApi","cell","indexRow","errorList","setInfoJsonResult","isTrue","_x$key","b","parseInt","RemoveSpace","includes","replace","toLowerCase","setListFun","_result$2","_result$4","_result$5","_result$1$message2","_result$3","_result$6","list2","icon","showCloseButton","confirmButtonText","numberFormat","no","ar","NumberFormat","toFixed","PercentCalcule","n1","n2","ConvertIntFormat","parseFloat","Intl","notation","params","currentUser","timeZone","add","newDate","dateConverted","toLocaleString","DateTimeFormat","resolvedOptions","ConvertToTimeZoneSendingPost","subtract","ConvertToDateGMTV2","UTCDate","toUTCString","utc","getPagesCount","totalSize","sizePerPage","Math","ceil","getPages","page","pagesCount","paginationSize","shiftCount","floor","sortCaret","order","languages","lang","flag","LanguageSelectorDropdown","_useTranslation","useTranslation","_useTranslation2","useLang","currentLanguage","drop","alignRight","language","clsx","active","setLanguage","module","exports","KTOffcanvas","elementId","the","this","KTUtil","getById","getBody","defaultOptions","attrCustom","Plugin","construct","has","init","build","set","events","deepExtend","classBase","baseClass","classShown","classOverlay","hasClass","toggleBy","addEvent","toggle","closeBy","hide","isShown","eventTrigger","toggleClass","attr","addClass","classCustom","overlay","insertAfter","removeAttr","removeClass","remove","mode","el","args","event","one","handler","fired","setDefaults","on","username","password","accessToken","refreshToken","roles","pic","fullname","firstname","lastname","occupation","companyName","phone","website","emailSettings","emailNotification","sendCopyToPersonalEmail","activityRelatesEmail","youHaveNewNotifications","youAreSentADirectMessage","someoneAddsYouAsAsAConnection","uponNewOrder","newMembershipApproval","memberRegistration","updatesFromKeenthemes","newsAboutKeenthemesProductsAndFeatureUpdates","tipsOnGettingMoreOutOfKeen","thingsYouMissedSindeYouLastLoggedIntoKeen","newsAboutMetronicOnPartnerProductsAndOtherServices","tipsOnMetronicBusinessProducts","communication","sms","address","addressLine","city","postCode","socialNetworks","linkedIn","facebook","twitter","instagram","_marked","rootSaga","rootReducer","combineReducers","auth","all","sagaMiddleware","createSagaMiddleware","middleware","getDefaultMiddleware","immutableCheck","serializableCheck","thunk","store","configureStore","reducer","devTools","enhancers","reduxBatch","persistor","persistStore","run","withTracker","WrappedComponent","trackPage","ReactGA","pageview","HOC","_Component","_inherits","_super","_createSuper","_classCallCheck","_createClass","pathname","nextProps","currentPage","nextPage","Component","emailObj","templateId","fromId","toId","ccId","bccId","ReplyModal","_props$viewModelCompa","_props$viewModelCompa2","_props$viewModelCompa3","_props$viewModelCompa4","_props$viewModelCompa5","_props$viewModelCompa6","_props$item3","_find","_props$viewModelCompa7","_props$viewModelCompa8","_props$item5","_props$viewModelCompa9","_props$viewModelCompa10","_props$item6","_props$item7","_props$contactList$co","_props$contactList","_props$contactList2","_props$contactList$co2","_props$contactList3","_props$contactList4","_props$item8","_props$item9","SchemaEmail","Yup","shape","loaderBtn","setLoaderBtn","setprovider","datahtml","setdatahtml","isCC","BCCvalue","setBCCvalue","CCvalue","setCCvalue","setBody","dateSent","setDateSent","ShowPreview","setShowPreview","trackOpen","trackClick","trackValues","setTrackValues","modalReply","formikEmail","useFormik","enableReinitialize","validationSchema","onSubmit","_props$item","_props$item2","setModalReply","_formikEmail$values","providers","businessId","displayLabel","isExpired","_props$item4","_formikEmail$values2","DatePicker","selected","showTimeSelect","timeFormat","dateFormat","isMulti","isCompany","CKEditor","_event$editor","_event$editor2","editor","getData","config","versionCheck","extraPlugins","filebrowserUploadUrl","fileTools_requestHeaders","onPluginsLoaded","ui","addRichCombo","toolbar","panel","css","multiSelect","attributes","_this","focus","insertHtml","signature","Footer","Button","_props$item10","_trackValues$trackOpe","_trackValues$trackCli","reportId","handleGetUbniBox","InboxDetails","_props$dataTable4","_props$dataTable5","setLoaderRefreshMain","setViewModel","LoadingForwardEmail","setLoadingForwardEmail","activeStatusReply","setActiveStatusReply","providerId","toEmails","forwardObjectData","setforwardObjectData","SpinnerValue","setSpinnerValue","_useState27","_useState28","_useState29","_useState30","setList","_useState31","_useState32","pushing","setPushing","_useState33","_useState34","showForwardEmail","setshowForwardEmail","_currentRow$provider","paddingRight","fontWeight","attachments","_x$fileName","_x$fileName2","_x$fileName3","_x$fileName4","_x$fileName5","_x$fileName6","_x$fileName7","_x$fileName8","_x$fileName9","internalLink","fileName","endsWith","_x$contactFirstName","_x$contactLastName","replyType","getClassNameActive","compainId","handleGetList","currentIdDetails","toggleModal","_useState35","_useState36","setCurrentIdDetails","handleKeyDown","_props$dataTable","myArray","previousIndex","previousItem","_props$dataTable2","myArray2","_currentIndex","nextIndex","nextItem","dataTable","inbox","addEventListener","removeEventListener","setToggleModal","OverlayTrigger","placement","Tooltip","_props$dataTable3","_callee4","_context4","index","note","showConfirmButton","timer","_i","_Object$entries","entries","_Object$entries$_i","ids","_data$3","_data$4","_i2","_Object$entries2","_Object$entries2$_i","handlePushToPipeDrive","_data$5","_data$6","errorCode","handlePushToSalesForce","replyTypes","Creatable","float","_forwardObjectData$to","_i3","_Object$entries3","_Object$entries3$_i","_ref5","_props$dataTable6","_x5","aria-labelledby","Header","closeButton","Title","Body","InputSpinner","precision","max","min","step","num","continued","numberOfDays","Unibox","_unibox$replyTypes","_unibox$inbox","_unibox$inbox3","_unibox$inbox4","_unibox$inbox5","_unibox$inbox6","_unibox$replyTypes2","_unibox$replyTypes2$f","suhbeader","useSubheader","setTitle","handleClose","unibox","setUniBox","Removing","setIsRemoving","paginationData","setPaginationData","setIds","setProviders","modalType","setModalType","itemId","setItemId","setCompainId","classifyType","setClassifyType","setProviderId","providerId2","setProviderId2","setCurrentPage","isLoading","setIsLoading","_useState37","_useState38","_useState39","_useState40","typeCampaign","setTypeCampaign","_useState41","_useState42","startDate","setStartDate","_useState43","_useState44","endDate","setEndDate","_useState45","_useState46","typeReply","setTypeReply","_useState47","_useState48","search","setSearch","_useState49","_useState50","_useState51","_useState52","TemplateViewModel","setTemplateViewModel","_useState53","_useState54","setItem","_useState55","_useState56","loaderData","setLoaderData","pagination","campaignId","handleGetViewModel","_data$2$providers","timeout","clearTimeout","handleIconColor","handleLink","Container","fluid","DropdownFilter","count","data-inbox","_unibox$inbox2","htmlFor","showCancelButton","confirmButtonColor","cancelButtonColor","isConfirmed","_item$firstName","_item$firstName$subst","_item$lastName","_item$lastName$substr","_item$provider","_item$provider$substr","isInterested","stippedBody","campaignName","DropdownCustomToggler","marginTop","pageNumber","totalItemCount","hasPreviousPage","hasNextPage","isSearchable","WebFormThankYouPage","lazy","WebFormSlugPage","UnsbscribePage","GlobalSearch","GlobalNotification","DashboardExamplePage","GlobalDashboard","FormBuilderPage","FormDtailPage","AddCampaigns","PeoplePage","BusinessesPage","AgenciesPage","PeopleDetailPage","QueryQueryPageV2","NylasCallBack","EmailCampaignPage","CompanyDetailPage","TargetList","IndexTasks","IndexStaff","Opportunities","EditCampaign","DetailsTargetList","PersonaDetail","AddNewsletter","NewsLetterPage","FormEdit","AddForm","TemplatePage","UserProfilepage","SettingsMainPage","EditNewsLetter","CampaignsPage","CompaniesPage","Chats","CompaniesEditPage","GlobalImportpage","Example","BasePage","Suspense","fallback","LayoutSplashScreen","Switch","Redirect","exact","from","ContentRoute","path","component","Route","ErrorPage1","backgroundImage","ErrorPage2","ErrorPage3","ErrorPage4","ErrorPage5","ErrorPage6","ErrorsPage","Routes","isAuthorized","useSelector","user","shallowEqual","AuthPage","Logout","Layout","ErrorBoundary","_React$Component","hasError","errorInfo","ga","exDescription","componentStack","exFatal","left","objectFit","children","I18N_CONFIG_KEY","REACT_APP_I18N_CONFIG_KEY","App","basename","initialize","i18n","changeLanguage","selectedLang","Provider","PersistGate","loading","BrowserRouter","MaterialThemeProvider","I18nProvider","resources","en","translation","translationEN","es","translationES","use","languageDetector","initReactI18next","lng","interpolation","escapeValue","react","useSuspense","TimeAgo","addDefaultLocale","addLocale","ru","axios","mock","MockAdapter","delayResponse","generateUserId","userTableMock","onPost","LOGIN_URL","Allow","_data$1$profilePictur","dataUser","removeItem","sendingTimeZone","sendingTimeZoneValue","profilePicture","toString","REGISTER_URL","_JSON$parse2","random","REQUEST_PASSWORD_URL","onGet","ME_URL","startsWith","mockAuth","_redux","interceptors","request","authToken","getState","reject","ReactDOM","render","MetronicI18nProvider","MetronicLayoutProvider","MetronicSubheaderProvider","MetronicSplashScreenProvider","CustomerlyProvider","appId","DropdownMenu1","DropdownMenu3","forwardRef","DropdownTopbarItemToggler","DropdownItemToggler","data-offset","login","post","getUserByToken","KTCookie","getCookie","matches","cookie","decodeURIComponent","setCookie","expires","updatedCookie","encodeURIComponent","optionKey","optionValue","deleteCookie","initialState","getConfig","ls","er","reload","I18nContext","createContext","useContext","Consumer","allMessages","de","fr","ja","zh","locale","messages","IntlProvider","_props$item11","_props$item12","_props$item$clickCoun","_props$item13","_props$item14","_props$item15","_props$item16","_props$item$clickCoun2","_props$item17","_props$item18","_props$item19","_props$item20","_props$item21","_React$useState","_React$useState2","dataClicked","setDataClicked","_React$useState3","_React$useState4","modalClick","setModalDetailsClicked","isDetails","clicked","isNewsletters","replyCount","scope","rel","CardFooter","DropdownDate","_Filter$StartDate","_Filter$EndDate","Filter","setFilter","StartDate","_e$target","aa","EndDate","_e$target2","startOfMonth","startOf","endOfMonth","endOf","Element","msMatchesSelector","webkitMatchesSelector","closest","ancestor","documentElement","contains","parentElement","elem","parentNode","removeChild","lastTime","vendors","requestAnimationFrame","cancelAnimationFrame","callback","currTime","getTime","timeToCall","Document","DocumentFragment","argArr","docFrag","createDocumentFragment","argItem","isNode","Node","appendChild","createTextNode","insertBefore","firstChild","getAttributeNames","KTUtilElementDataStore","KTUtilElementDataStoreID","KTUtilDelegatedEventHandlers","resizeHandlers","breakpoints","sm","_windowResizeHandler","throttle","_runResizeHandlers","settings","addResizeHandler","removeResizeHandler","runResizeHandlers","resize","Event","dispatchEvent","evt","createEvent","initUIEvent","getURLParam","paramName","val","unescape","isMobileDevice","getViewPort","getBreakpoint","navigator","userAgent","isDesktopDevice","isInResponsiveRange","breakpoint","isBreakpointUp","isBreakpointDown","getUniqueID","prefix","isset","stone","shift","getHighestZindex","hasFixedPositionedParent","sleep","milliseconds","start","getRandomInt","isAngularVersion","Zone","out","extend","getByTag","query","getElementsByTagName","getByTagName","getByClass","getElementsByClassName","hasClasses","classes","classesArr","trim","classList","classNames","triggerCustomEvent","eventName","CustomEvent","detail","initCustomEvent","triggerEvent","node","doc","ownerDocument","nodeType","eventClass","bubbles","initEvent","synthetic","fireEvent","createEventObject","eventTriggered","currentTarget","dataset","triggered","parent","querySelector","findAll","querySelectorAll","referenceNode","nextSibling","parents","selector","matchesSelector","mozMatchesSelector","oMatchesSelector","childNodes","l","tagName","customDataTag","outerWidth","margin","offsetWidth","offset","rect","win","getClientRects","getBoundingClientRect","defaultView","top","pageYOffset","pageXOffset","outerHeight","withMargin","offsetHeight","getComputedStyle","marginBottom","visible","getAttribute","setAttribute","hasAttr","removeAttribute","animate","duration","update","easing","easings","linear","rAF","change","performance","loop","timestamp","time","actualCss","prop","cache","HTMLElement","cssText","actualHeight","actualWidth","getScroll","self","browserSupportsBoxModel","styleProp","getPropertyValue","currentStyle","letter","oldLeft","oldRsLeft","runtimeStyle","pixelLeft","slide","dir","speed","recalcMaxHeight","calcHeight","calcPaddingTop","calcPaddingBottom","paddingTop","paddingBottom","display","overflow","slideUp","slideDown","removeEvent","eventId","targets","j","off","callee","hash","charCodeAt","animateClass","animationName","animations","OAnimation","MozAnimation","WebkitAnimation","msAnimation","transitionEnd","transition","transitions","OTransition","MozTransition","WebkitTransition","msTransition","animationEnd","animateDelay","animateDuration","scrollTo","targetPos","scrollPos","scrollTop","ready","attachEvent","readyState","isEmpty","numberString","nStr","x1","x2","rgx","detectIE","ua","msie","rv","edge","isRTL","scrollInit","wheelSpeed","swipeEasing","wheelPropagation","minScrollbarLength","maxScrollbarLength","suppressScrollX","handleWindowResize","ps","attrs","attrName","optionName","filterBoolean","Function","mobileHeight","mobileNativeScroll","disableForMobile","desktopNativeScroll","windowScroll","PerfectScrollbar","uid","rememberPosition","pos","resetHeightOnDestroy","destroy","scrollDestroy","scrollUpdate","scrollUpdateAll","scrollers","len","resetAll","setProperty","setHTML","getHTML","getDocumentHeight","scrollHeight","clientHeight","getScrollTop","scrollingElement","changeColor","col","amt","usePound","func","delay","debounce","btnWait","cls","disable","caption","btnRelease","isOffscreen","direction","windowWidth","windowHeight","KTAppSettings","HtmlClassService","layoutConfig","preInit","header","header_container","header_mobile","header_menu","aside","aside_menu","subheader","subheader_container","content","content_container","footer_container","initLoader","initLayout","initHeader","initSubheader","initContent","initAside","initFooter","updateLayoutConfig","objectPath","fixed","logo","getLogo","selfBodyBackgroundImage","backgroundImageUrl","_selfBodyClass","cssClass","subheaderStyle","subheaderClass","asideSelfDisplay","asideMenuDropdown","asideSubmenuDHoverTimeout","LAYOUT_CONFIG_KEY","REACT_APP_LAYOUT_CONFIG_KEY","demo","js","xxl","colors","theme","base","white","primary","secondary","success","info","warning","danger","light","dark","inverse","gray","gray100","gray200","gray300","gray400","gray500","gray600","gray700","gray800","gray900","fontFamily","layout","loader","enabled","mobile","displayDesc","displayDaterangepicker","breadcrumb","minimize","default","menu","dropdown","scroll","submenu","accordion","footer","extras","offcanvas","notifications","cart","chat","scrolltop","HtmlClassServiceContext","useHtmlClassService","lc","hcs","service","setConfig","Brand","UserProfileDropdown","uiService","layoutProps","QuickUserToggler","_props$tabs","showPassword","Username","handelQuickUser","history","useHistory","LoginBussnisAdmin","_data$1$profilePictur2","activeTab","tabs","tabId9","data-container","data-boundary","_props$tabs2","handleTabChange","ProgressBar","animated","Formik","handleSubmit","Field","autoFocus","ErrorMessage","Aside","setMenu","asideClassesFromConfig","getClasses","asideSecondaryDisplay","asideSelfMinimizeToggle","extrasSearchDisplay","extrasNotificationsDisplay","extrasQuickActionsDisplay","extrasQuickPanelDisplay","extrasLanguagesDisplay","extrasUserDisplay","tabId1","tabId2","tabId3","tabId4","tabId5","tabId6","tabId7","tabId8","tabId10","tabId11","tabId12","tabId13","tabId14","tabId15","setActiveTab","asideWorkspace","handleMenu","permissions","tabId","hidden","data-target","hostname","caches","names","_step","_iterator","_createForOfIteratorHelper","delete","QuickActions","QuickUser","setReloadData","fullName","currentProfilePicture","load","useCustomerly","interval","setInterval","ele","clearInterval","chatId","ele2","LoadChats","wordBreak","Close","ScrollTop","StickyToolbar","today","footerLayout","footerClasses","footerContainerClasses","HeaderMobile","asideDisplay","headerMobileCssClasses","headerMobileAttributes","getAttributes","KTLayoutAside","_element","_offcanvasObject","offcanvasClass","_init","asideNav","asideBrand","asideFooter","_initNav","asideTabs","asideSecondary","$","_initWorkspace","getElement","getOffcanvas","KTLayoutAsideMenu","_menuObject","KTMenu","desktop","tablet","expandAll","getMenu","pauseDropdownHover","closeMobileOffcanvas","KTLayoutSubheader","isFixed","getHeight","_getHeight","KTLayoutFooter","KTLayoutContent","KTLayoutScrolltop","KTScrolltop","KTLayoutStickyCard","_object","KTLayoutHeader","KTCard","sticky","zIndex","isFixedForMobile","getHeightForMobile","card","right","cardWidth","initSticky","updateSticky","KTLayoutStretchedCard","cardBody","cardHeader","KTLayoutQuickPanel","_notificationsElement","_logsElement","_settingsElement","_getContentHeight","KTLayoutQuickUser","KTLayoutHeaderMobile","getHeader","KTLayoutAsideToggle","_body","_toggleObject","KTToggle","targetState","toggleState","KTLayoutHeaderMenu","getToggle","onToggle","KTLayoutQuickSearch","form","results","KTLayoutQuickNotifications","KTLayoutQuickActions","LayoutInit","useLayoutEffect","getBreadcrumbsAndTitle","menuId","pathName","breadcrumbs","activeLinks","titleSpans","titleSpan","breadCrumbs","getTitle","SubheaderContext","setBreadcrumbs","childrenItem","setChildrenItem","BreadCrumbs","items","perfectScrollbarOptions","generateIcone","classe","SearchResult","searchValue","setSearchValue","maxHeight","entity","controller","AbortController","SearchDropdown","timeoutId","setLoading","getQuickSearchReselt","myHeaders","Headers","append","requestOptions","redirect","Message","datas","handleSearchChange","abort","autoComplete","getNotificqtions","isRead","UserNotificationsDropdown","_chat$filter","setKey","bgImage","connection","setConnection","setChat","setChatFromApi","latestChat","_getNotificqtions","newConnection","HubConnectionBuilder","withUrl","withAutomaticReconnect","_connection$connectio","ConnexionId","connectionId","updatedChat","onreconnected","paddingLeft","Tab","defaultActiveKey","Nav","onSelect","_key","eventKey","Content","Pane","m","SubHeader","useLocation","subheaderFixed","subheaderMobileToggle","subheaderCssClasses","subheaderContainerCssClasses","open","selfLayout","subheaderDisplay","contentCssClasses","contentContainerClasses","contentExtended","AnimateLoading","useRouteMatch","cssClassesState","setCssClassesState","fullClasses","startAnimation","timeOutId","url","routeProps","MetronicSplashScreenContext","setCount","splashScreen","_ref2$visible","createMuiTheme","typography","palette","main","MuiButtonBase","disableRipple","MuiPopover","elevation","ThemeProvider","_props$variables2","_props$variables","ReactSelect","_props$variables3","CardHeaderTitle","_ref4$sticky","labelRef","_excluded3","setTop","setWindowHeight","handleResize","innerWidth","headerElement","subheaderElement","headerMobileElement","nextMarginTop","backgroundColor","isFragment","fit","_excluded4","_ref6","_excluded5","fluidHeight","_excluded6","_len","routeChanged","scrollToTop","scrollToTopBtn","_this2","animateTimeout","stopAnimate","_this3","animateInterval","stopAnimateTimeout","withRouter","ModalProgressBar","_ref$variant","KTCodeBlock","codeShown","customStyle","isCodeBlockShown","setTabId","SyntaxHighlighter","highlightStyle","code","aria-selected","shortCode","background","CodeBlockToolbar","_ref$showViewCode","showViewCode","setIsCodeBlockShown","isCopySucceed","setIsCopySucceed","copy","KTCodeExample","jsCode","beforeCodeTitle","codeBlockHeight","defaultLanguages","setCustomStyle","styles","overflowX","controls","lazyload","nav","mouseDrag","autoplay","autoplayTimeout","autoplayButton","Slide","TinySlider","injectIntl","connect","intl","LoginSchema","formatMessage","disableLoading","setStatus","setSubmitting","getFieldProps","isSubmitting","confirmPassword","phoneNumber","site","address1","address2","zipCode","acceptTerms","inviteLink","URLSearchParams","extractCodeFromURL","URL","RegistrationSchema","when","is","oneOf","isRequested","setIsRequested","isLoader","setIsLoader","ForgotPasswordSchema","handleForgotPassword","isFunction","Activationemail","_url$searchParams","searchParams","accountverified","setaccountverified","raw","Code","sendCodeFunction","url2","param","description","handleResetPassword","maxWidth","HistoryPage","appSumoCode1","appSumoCode2","appSumoCode3","valueAppSumo","setValueAppSumo","dataUpdated","tier","appSumoCode4","appSumoCode5","listAppSumo","defaultValue","Login","Registration","RegistrationAppSumo","ResetPassword","ForgotPassword","TermsAndCondition","logout","hasAuthToken","Boolean","Schema","_viewModel$providers","_viewModel$providers2","_viewModel$templates","_viewModel$templates2","_formikEmail$values4","technologies","setError","showEmails","setshowEmails","setcontactList","objList","indexes","initvariables","isMain","emails","setEmails","phoneNumbers","setPhoneNumbers","socials","setSocials","jobTitle","setSubject","setBasicsData","resetForm","setinitVariables","companyId","setCompanyId","Subject","source","emailDomain","industry","jobLevel","sicCode","naicsCode","seoDescription","annualRevenue","isAb","Fields","setInitialValues","pageSize","sortField","sortOrder","SinatureList","setSinatureList","BasicsData","handleGettContact","filterParams","setFieldError","handlePutContact","handlePostContact","EmailSignature","selectedContactEmail","Accordion","_formikEmail$values3","_SinatureList$find","_event$editor3","Preview","formaterFunction","currentContent","_props$currentRow","_props$currentRow2","_props$currentRow3","_props$currentRow4","_props$currentRow5","_props$currentRow5$si","_props$currentRow6","getSubmenuMode","hideDropdowns","slideSpeed","autoScroll","autoScrollSpeed","eventHandlers","pauseDropdownHoverTime","resetSubmenuProps","handleSubmenuAccordion","isConditionalSubmenuDropdown","handleSubmenuDrodownHoverEnter","handleSubmenuDrodownHoverExit","handleSubmenuDropdownClick","handleSubmenuDropdownTabClick","handleLinkClick","submenus","hasAttribute","resumeDropdownHover","showSubmenuDropdown","hideSubmenuDropdown","hideSubmenuDropdowns","handleSubmenuDropdownClose","shown","li","subnav","closables","el_","submenu_","scrollToItem","classAlso","cnt","createSubmenuDropdownClickDropoff","dropoff","stopPropagation","resetActiveItem","i_","len_","setActiveItem","getBreadcrumbs","submenuLink","getPageTitle","scrollReInit","hideDropdown","toggleSpeed","releseOnReverse","onScrollSticky","st","resetSticky","setContent","getSelf","expand","collapse","destroySticky","toggleElement","targetElement","targetToggleMode","toggleOn","toggleOff","url_string","isloadingPost","setisloadingPost","isUnsubscribed","setisUnsubscribed","clasName","_document$location$pa","setLoader","element1","element2","element3","bodyElement","withCredentials","slug","setFormBuilderStyle","pageColor","formColor","textColor","buttonColor","thanksPageTitle","thanksPageDescription","isLink","JsonQestion","questions","setJsonQestion","fieldJson","eee","FormBuilderStyle","showloadingpost","setshowloadingpost","ReactFormGenerator","form_action","form_method","objPost","answers","_FormBuilderStyle$Jso","questionId","postAnswer","task_id","authenticity_token","inputProps","submitButton","backButton","useParams","ThankyoupageData","setThankyoupageData","idForm","pageTitle","pageDescription","IntroJs","_localStorage5","steps","showStep","currentStep","setCurrentStep","showIntro","setShowIntro","listEmails","setlistEmails","getPath","setPath","stepss","setstepss","intro","_window","_window$location","skipButton","handleSkipIntro","_localStorage2","chacke","Steps","showSkipButton","initialStep","onBeforeChange","nextStep","_window2","_window2$location","_window3","_window3$location","_window4","_window4$location","_window5","_window5$location","_window6","_window6$location","_window7","_window7$location","_window8","_window8$location","_window9","_window9$location","button","resume","exitOnOverlayClick","showBullets","showButtons","skipLabel","onComplete","_localStorage3","_localStorage4","onExit","saga","actionTypes","initialAuthState","persistReducer","storage","whitelist","action","payload","actions","register","requestUser","fulfillUser","setUser","takeLatest","loginSaga","put","registerSaga","userRequested","_yield$getUserByToken"],"mappings":";6mEACAA,EAAA,kBAAAC,GAAA,IAAAC,EAAAD,EAAA,GAAAE,EAAAC,OAAAC,UAAAC,EAAAH,EAAAI,eAAAC,EAAAJ,OAAAK,gBAAA,SAAAP,EAAAD,EAAAE,GAAAD,EAAAD,GAAAE,EAAAO,OAAAC,EAAA,mBAAAC,cAAA,GAAAC,EAAAF,EAAAG,UAAA,aAAAC,EAAAJ,EA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AAAmI,EAAA9J,MAAA,OAC3D,OAD2D8J,EAAA9J,KAAA,EACrD6wE,YAAIP,EAAQE,eAAe,KAAD,mBAAA1mE,EAAAhI,UADegvE,OAE9C,KAAD,EAEF,OAFEj4C,EAAA74B,KAAA,EAEI2wE,YAAWZ,EAAyBh0E,IAAAmF,MAAE,SAAU6vE,IAAa,IAAAC,EAAAjrC,EAAA,OAAAhqC,IAAAuB,MAAC,SAAD+T,GAAA,cAAAA,EAAA1P,KAAA0P,EAAArR,MAAA,OAC1C,OAD0CqR,EAAArR,KAAA,EACpC6rC,cAAiB,KAAD,EAE7C,OAF6CmlC,EAAA3/D,EAAA5R,KAA/BsmC,EAAIirC,EAAVvuE,KAAI4O,EAAArR,KAAA,EAEN6wE,YAAIP,EAAQG,YAAY1qC,IAAO,KAAD,mBAAA10B,EAAAvP,UAHgBivE,OAInD,KAAD,mBAAAl4C,EAAA/2B,UAAAqpB,M","file":"static/js/main.b476829a.chunk.js","sourcesContent":["/* eslint-disable react/prop-types */\r\n/* eslint-disable react-hooks/exhaustive-deps */\r\nimport {\r\n Fragment,\r\n useCallback,\r\n useEffect,\r\n useMemo,\r\n useRef,\r\n useState,\r\n} from \"react\";\r\nimport React from \"react\";\r\nimport { Row, Form, Col, Modal, Dropdown, Spinner } from \"react-bootstrap\";\r\nimport CreatableSelect from \"react-select/creatable\";\r\n// import { Form } from \"formik\";\r\nimport Swal from \"sweetalert2\";\r\nimport { TimelineHorizontal, toAbsoluteUrl } from \"../../_metronic/_helpers\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport Papa from \"papaparse\";\r\nimport Select from \"react-select\";\r\nimport * as FileSaver from \"file-saver\";\r\nimport * as XLSX from \"xlsx\";\r\nimport moment from \"moment\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../../_metronic/_partials/controls\";\r\nimport ReplyForm from \"../pages/EmailCampaigns/Box/replyForm\";\r\nimport { Link } from \"react-router-dom/cjs/react-router-dom.min\";\r\nimport { ABMPage } from \"../pages/companies/ABMPage\";\r\nimport { v4 as uuidv4 } from 'uuid';\r\n\r\nexport const timeOptions = [\r\n { value: 24, label: '12:00 AM' },\r\n { value: 1, label: '1:00 AM' },\r\n { value: 2, label: '2:00 AM' },\r\n { value: 3, label: '3:00 AM' },\r\n { value: 4, label: '4:00 AM' },\r\n { value: 5, label: '5:00 AM' },\r\n { value: 6, label: '6:00 AM' },\r\n { value: 7, label: '7:00 AM' },\r\n { value: 8, label: '8:00 AM' },\r\n { value: 9, label: '9:00 AM' },\r\n { value: 10, label: '10:00 AM' },\r\n { value: 11, label: '11:00 AM' },\r\n { value: 12, label: '12:00 PM' },\r\n { value: 13, label: '1:00 PM' },\r\n { value: 14, label: '2:00 PM' },\r\n { value: 15, label: '3:00 PM' },\r\n { value: 16, label: '4:00 PM' },\r\n { value: 17, label: '5:00 PM' },\r\n { value: 18, label: '6:00 PM' },\r\n { value: 19, label: '7:00 PM' },\r\n { value: 20, label: '8:00 PM' },\r\n { value: 21, label: '9:00 PM' },\r\n { value: 22, label: '10:00 PM' },\r\n { value: 23, label: '11:00 PM' },\r\n];\r\n\r\nexport function addIdToListElements(list) {\r\n let data = [...list];\r\n for (let i = 0; i < data.length; i++) {\r\n data[i].id = `element-${uuidv4()}-${i + 1}`;\r\n }\r\n return data;\r\n}\r\nexport function ScheduleComponent(props) {\r\n var dataSchedule = props?.dataSchedule;\r\n var setDataSchedule = props?.setDataSchedule;\r\n const [selectedFromTime, setSelectedFromTime] = useState({}); // Store selected \"From time\" for each day\r\n useEffect(() => {\r\n if(!!dataSchedule === true){\r\n dataSchedule.forEach((d) => {\r\n console.log(\"🚀 ~ file: globals.js:76 ~ dataSchedule.forEach ~ d:\", d)\r\n var e = {\r\n value:\r\n d?.fromTime,\r\n label:\r\n d?.textFrom,\r\n };\r\n setSelectedFromTime((prevSelected) => ({\r\n ...prevSelected,\r\n [d?.dayNumber]: e,\r\n }));\r\n })\r\n }\r\n },[dataSchedule]);\r\n function GetFromToTime({ day }) {\r\n // Filter \"To time\" options based on the selected \"From time\"\r\n const toTimeOptions = timeOptions.filter((option) => {\r\n if (selectedFromTime[day]) {\r\n if (selectedFromTime[day].value === 24) {\r\n return option.value < 24; // Allow all options less than 24\r\n }\r\n return option.value === 24 ? option.value < selectedFromTime[day].value : option.value > selectedFromTime[day].value;\r\n }else{\r\n if(!!dataSchedule[dataSchedule.findIndex((d) => d?.dayNumber === day)]\r\n ?.fromTime === true){\r\n return (\r\n option.value >\r\n dataSchedule[dataSchedule.findIndex((d) => d?.dayNumber === day)]\r\n ?.fromTime\r\n );\r\n }\r\n }\r\n return true;\r\n });\r\n return !!props?.dataSchedule === false ? (\r\n \"...\"\r\n ) : (\r\n \r\n
\r\n d?.dayNumber === day)\r\n ]?.fromTime === true &&\r\n !!dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].textFrom === true\r\n ? {\r\n value:\r\n dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].fromTime,\r\n label:\r\n dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].textFrom,\r\n }\r\n : null\r\n }\r\n onChange={(e) => {\r\n const value = e?.value;\r\n var data = [...dataSchedule];\r\n if (value) {\r\n setSelectedFromTime((prevSelected) => ({\r\n ...prevSelected,\r\n [day]: e,\r\n }));\r\n if (data.some((d) => d?.dayNumber === day)) {\r\n data[\r\n data.findIndex((d) => d?.dayNumber === day)\r\n ].fromTime = value;\r\n data[data.findIndex((d) => d?.dayNumber === day)].textFrom =\r\n e?.label;\r\n } else {\r\n data.push({\r\n dayNumber: day,\r\n fromTime: value,\r\n textFrom: e?.label,\r\n });\r\n }\r\n } else {\r\n setSelectedFromTime((prevSelected) => ({\r\n ...prevSelected,\r\n [day]: null,\r\n }));\r\n data = data?.filter((s) => s?.dayNumber !== day);\r\n }\r\n setDataSchedule(data);\r\n }}\r\n options={timeOptions}\r\n id={`selectFrom-${day}`}\r\n />\r\n
\r\n
\r\n d?.dayNumber === day)\r\n ]?.fromTime === false\r\n }\r\n placeholder={\"To time\"}\r\n options={toTimeOptions}\r\n value={\r\n !!dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ]?.toTime === true &&\r\n !!dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].textTo === true\r\n ? {\r\n value:\r\n dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].toTime,\r\n label:\r\n dataSchedule[\r\n dataSchedule.findIndex((d) => d?.dayNumber === day)\r\n ].textTo,\r\n }\r\n : null\r\n }\r\n onChange={(e) => {\r\n const value = e?.value;\r\n var data = [...dataSchedule];\r\n if (value) {\r\n if (data.some((d) => d?.dayNumber === day)) {\r\n data[\r\n data.findIndex((d) => d?.dayNumber === day)\r\n ].toTime = value;\r\n data[data.findIndex((d) => d?.dayNumber === day)].textTo =\r\n e?.label;\r\n } else {\r\n data.push({\r\n dayNumber: day,\r\n toTime: value,\r\n textTo: e?.label,\r\n });\r\n }\r\n } else {\r\n data = data?.filter((s) => s?.dayNumber !== day);\r\n }\r\n setDataSchedule(data);\r\n }}\r\n id={`selectTo-${day}`}\r\n />\r\n
\r\n
\r\n );\r\n }\r\n\r\n return (\r\n \r\n \r\n \r\n
\r\n \r\n Monday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Tuesday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Wednesday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Thursday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Friday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Saturday\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n \r\n Sunday\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nexport function ToggleTrackingOnOff(props) {\r\n return (\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nexport function validateEmail(email) {\r\n if (email === \"\") return true;\r\n // Regular expression pattern for email validation\r\n const emailPattern = /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/;\r\n\r\n // Test the email against the pattern\r\n return emailPattern.test(email);\r\n}\r\n\r\nexport function ABMSendingEmail(props) {\r\n return (\r\n \r\n );\r\n}\r\n\r\nexport function formatDateV2(dateValue) {\r\n var date = new Date(dateValue);\r\n var year = date.getFullYear();\r\n var month = (date.getMonth() + 1).toString().padStart(2, \"0\");\r\n var day = date\r\n .getDate()\r\n .toString()\r\n .padStart(2, \"0\");\r\n\r\n return year + \"-\" + month + \"-\" + day;\r\n}\r\n\r\nexport function removeDuplicates(arr, prop) {\r\n const uniqueItems = new Map();\r\n return arr.filter((item) => {\r\n if (!uniqueItems.has(item[prop])) {\r\n uniqueItems.set(item[prop], true);\r\n return true;\r\n }\r\n return false;\r\n });\r\n}\r\n\r\nexport function truncateString(str, maxLength) {\r\n try {\r\n if (str.length > maxLength) {\r\n return str.substring(0, maxLength) + \"...\";\r\n }\r\n return str;\r\n } catch (err) {\r\n console.log(\"err :\", err);\r\n }\r\n return \"\";\r\n}\r\n\r\nfunction escapeRegExp(str) {\r\n return str.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, \"\\\\$&\");\r\n}\r\n\r\nfunction removeSpecialCharacters(str) {\r\n return str.replace(/[.*+\\-?^${}()|[\\]\\\\]/g, \"\");\r\n}\r\n\r\nexport function checkMappedField(str, phrase) {\r\n const escapedPhrase = escapeRegExp(phrase);\r\n const strWithoutSpecialChars = removeSpecialCharacters(str);\r\n if (\r\n strWithoutSpecialChars.match(\r\n new RegExp(escapedPhrase.split(/\\W/).join(\"[\\\\W]*\"), \"i\")\r\n )\r\n ) {\r\n return true;\r\n }\r\n return false;\r\n}\r\n\r\nexport function PoweredByStripe(props) {\r\n return (\r\n
\r\n \r\n
\r\n );\r\n}\r\n\r\nexport function capitalizeFirstLastName(string) {\r\n return string\r\n .toLowerCase()\r\n .split(\" \")\r\n .map((s, i) =>\r\n i === 0\r\n ? s.charAt(0).toLowerCase() + s.substring(1)\r\n : s.charAt(0).toUpperCase() + s.substring(1)\r\n )\r\n .join(\"\");\r\n}\r\n\r\nexport function EmailModalReply(props) {\r\n const [loaderDetail, setLoaderDetail] = useState(true);\r\n const [replyForm, setReplyForm] = useState(false);\r\n const [loaderRefresh, setLoaderRefresh] = useState(false);\r\n const [currentRow, setCurrentRow] = useState(null);\r\n const [variables, setVariables] = useState([]);\r\n async function getDataItem(id) {\r\n await apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/EmailDetails/${id}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setCurrentRow(dataResult[1] ?? null);\r\n setLoaderDetail(false);\r\n }\r\n } catch (err) {\r\n setLoaderDetail(false);\r\n }\r\n });\r\n }\r\n const [viewModelCompanies, setViewModelCompanies] = useState([]);\r\n const bodyTemplate = useMemo(() => {\r\n return (\r\n
\r\n
\r\n \r\n \r\n {!!currentRow?.sentDate\r\n ? moment(\r\n ConvertToDateCurrentTimeZoneV2(currentRow?.sentDate)\r\n ).format(getFromatdate() + \" hh:mm A\")\r\n : \"\"}\r\n \r\n
\r\n {!currentRow?.isReply ? (\r\n
\r\n \r\n {currentRow?.provider}\r\n
\r\n ) : (\r\n
\r\n \r\n \r\n {`${currentRow?.firstName ?? \"-\"} ${currentRow?.lastName ??\r\n \"-\"}`}{\" \"}\r\n \r\n {currentRow?.toEmail && (\r\n \r\n {\"<\"}\r\n {`${currentRow?.toEmail}`}\r\n {\">\"}\r\n \r\n )}\r\n
\r\n )}\r\n\r\n {currentRow?.isReply ? (\r\n
\r\n \r\n {currentRow?.provider}\r\n
\r\n ) : (\r\n
\r\n \r\n \r\n {`${currentRow?.firstName ?? \"-\"} ${currentRow?.lastName ??\r\n \"-\"}`}{\" \"}\r\n \r\n {currentRow?.toEmail && (\r\n \r\n {\"<\"}\r\n {`${currentRow?.toEmail}`}\r\n {\">\"}\r\n \r\n )}\r\n
\r\n )}\r\n\r\n {currentRow?.ccs.length === 0 && currentRow?.bccs.length === 0 ? (\r\n \"\"\r\n ) : (\r\n <>\r\n {/* Your layout content goes here */}\r\n {currentRow?.ccs.length === 0 ? (\r\n \"\"\r\n ) : (\r\n <>\r\n {currentRow?.ccs?.map((item) => {\r\n return (\r\n
\r\n \r\n {\r\n props?.setShow(false);\r\n }}\r\n >\r\n {item?.firstName} {item?.lastName}{\" \"}\r\n \r\n
\r\n \r\n {\" \"}\r\n {\" <\"}\r\n {`${item?.email}`}\r\n {\">\"}\r\n \r\n
\r\n
\r\n );\r\n })}\r\n \r\n )}\r\n {currentRow?.bccs.length === 0 ? (\r\n \"\"\r\n ) : (\r\n <>\r\n {currentRow?.bccs?.map((item) => {\r\n return (\r\n
\r\n \r\n \r\n {item?.firstName} {item?.lastName}{\" \"}\r\n \r\n
\r\n \r\n {\"<\"}\r\n {`${item?.email}`}\r\n {\">\"}\r\n \r\n
\r\n
\r\n );\r\n })}\r\n \r\n )}\r\n \r\n )}\r\n\r\n
\r\n \r\n {replaceValues(currentRow?.subject ?? \"-\", variables)}\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n }, [currentRow, variables]);\r\n\r\n const bodyTemplateReplied = useMemo(() => {\r\n return !!currentRow?.reply && currentRow?.reply?.length > 0\r\n ? currentRow?.reply\r\n ?.map(\r\n (x, i) =>\r\n `
\r\n ${\r\n !!x?.replaceBody === false\r\n ? `\r\n Message has been queued and will be sent shortly...\r\n `\r\n : \"\"\r\n }\r\n ${\r\n x?.isReply\r\n ? `
\r\n \r\n ${moment(ConvertToDateCurrentTimeZoneV2(x?.replyDate)).format(\r\n getFromatdate() + \" hh:mm A\"\r\n )}\r\n
`\r\n : \"\"\r\n }\r\n ${\r\n currentRow?.bounce\r\n ? \"\"\r\n : `
\r\n \r\n ${\r\n x.isReply === true\r\n ? `${x?.contactFirstName} ${x?.contactLastName}`\r\n : `${x?.provider}`\r\n }\r\n
`\r\n }\r\n
\r\n \r\n ${\r\n !x.isReply === true\r\n ? `${x?.contactFirstName} ${x?.contactLastName}`\r\n : `${x?.provider}`\r\n }\r\n
\r\n
\r\n ${replaceValues(x?.replyBody, variables)}\r\n
\r\n ${\r\n !!x?.isReply === false\r\n ? `
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n ${\r\n x.isOpen\r\n ? `
${x.openCount}
`\r\n : \"\"\r\n }\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n ${\r\n x.isClicked\r\n ? `
${x.clickCount ?? 0}
`\r\n : \"\"\r\n }\r\n \r\n \r\n \r\n \r\n \r\n `\r\n : \"\"\r\n }\r\n\r\n \r\n `\r\n )\r\n .join(\"\")\r\n : \"\";\r\n }, [currentRow, variables]);\r\n const viewModel = [];\r\n const [contacts, setContacts] = useState([]);\r\n\r\n //useEffect\r\n useEffect(() => {\r\n if (!!props?.email && !!currentRow === false) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/EmailDetails/${props?.email?.id}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setCurrentRow(dataResult[1] ?? null);\r\n setLoaderDetail(false);\r\n }\r\n } catch (err) {\r\n setLoaderDetail(false);\r\n }\r\n });\r\n\r\n if (!!props?.id) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/GetContactIdsByCampain?campaignId=${props?.id}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setContacts(dataResult[1] || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Companies/GetViewModel`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setViewModelCompanies(data[1]);\r\n }\r\n });\r\n }\r\n }, [props]);\r\n useEffect(() => {\r\n if (!!currentRow) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetVariables?contactId=${currentRow?.contactId}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setVariables(dataResult[1]?.variables || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n }, [currentRow]);\r\n return (\r\n \r\n \r\n \r\n
\r\n props?.setShow(false)}\r\n className=\"float-right\"\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n {loaderDetail || !!currentRow === false ? (\r\n
\r\n
\r\n

Loading

\r\n \r\n
\r\n
\r\n ) : (\r\n \r\n
{bodyTemplate}
\r\n
\r\n {replyForm ? (\r\n {\r\n e.preventDefault();\r\n setReplyForm(false);\r\n }}\r\n >\r\n \r\n Close\r\n \r\n ) : (\r\n {\r\n e.preventDefault();\r\n setReplyForm(true);\r\n setTimeout(() => {\r\n try {\r\n document\r\n .getElementById(\"bottomContent\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n } catch (err) {}\r\n }, 300);\r\n }}\r\n >\r\n \r\n Reply\r\n \r\n )}\r\n {\r\n e.preventDefault();\r\n setLoaderRefresh(true);\r\n await getDataItem(currentRow?.id);\r\n setLoaderRefresh(false);\r\n }}\r\n >\r\n {!loaderRefresh && (\r\n \r\n )}\r\n Refresh\r\n {loaderRefresh && (\r\n \r\n )}\r\n \r\n
\r\n \r\n
\r\n
\r\n {replyForm && (\r\n \r\n \r\n \"\"}\r\n key={currentRow?.id}\r\n item={currentRow}\r\n viewModelCompanies={viewModelCompanies}\r\n templates={props?.templates}\r\n to={`${currentRow?.firstName} ${currentRow?.lastName}`}\r\n subject={replaceValues(currentRow?.subject, variables)}\r\n getDataItem={() => getDataItem(currentRow?.id)}\r\n body={\r\n \r\n }\r\n setReplyForm={setReplyForm}\r\n variables={variables}\r\n contactList={contacts}\r\n viewModel={viewModel}\r\n />\r\n \r\n \r\n )}\r\n {!!currentRow?.reply && currentRow?.reply?.length > 0 && (\r\n \r\n \r\n \r\n
\r\n

Replies

\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n {\" \"}\r\n {currentRow?.reply?.length}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\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 function LoaderGlobal(props) {\r\n return props?.isCard ? (\r\n \r\n \r\n
\r\n \r\n Loading ...\r\n \r\n
\r\n
\r\n
\r\n ) : (\r\n
\r\n \r\n Loading ...\r\n \r\n
\r\n );\r\n}\r\nexport function ExportGlobal(props) {\r\n function Export(Type) {\r\n props.setExporting(true);\r\n apiCall({\r\n method: \"GET\",\r\n link: props?.link,\r\n })\r\n .then(async (result) => {\r\n if (!!result && result.length > 0 && result[0] === 200) {\r\n var data = result[1];\r\n let dataResult = [...data[props?.fieldName]];\r\n if (props?.deletedFields?.length > 0) {\r\n props.deletedFields.forEach((x) => {\r\n dataResult\r\n .map((s) => {\r\n delete s[x];\r\n return s;\r\n })\r\n .join(\"\");\r\n });\r\n }\r\n ExportAs(dataResult, Type, props?.fieldName);\r\n props.setExporting(false);\r\n }\r\n })\r\n .catch((error) => {\r\n props.setExporting(false);\r\n console.log(\"error\", error);\r\n });\r\n }\r\n return (\r\n \r\n \r\n Export as\r\n \r\n \r\n {\r\n Export(\"excel\");\r\n }}\r\n href={\"#\"}\r\n >\r\n Excel\r\n \r\n {\r\n Export(\"csv\");\r\n }}\r\n href=\"#\"\r\n >\r\n Csv\r\n \r\n {\r\n Export(\"json\");\r\n }}\r\n href=\"#\"\r\n >\r\n Json\r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport function getBase64(file, setState) {\r\n var reader = new FileReader();\r\n reader.readAsDataURL(file);\r\n reader.onload = function() {\r\n setState(reader.result);\r\n console.log(reader.result);\r\n };\r\n reader.onerror = function(error) {\r\n console.log(\"Error: \", error);\r\n };\r\n}\r\n\r\nexport function groupByKey(array, key) {\r\n return array.reduce((hash, obj) => {\r\n if (obj[key] === undefined) return hash;\r\n return Object.assign(hash, {\r\n [obj[key]]: (hash[obj[key]] || []).concat(obj),\r\n });\r\n }, {});\r\n}\r\n\r\nexport function useIsMounted() {\r\n const isMountedRef = useRef(true);\r\n const isMounted = useCallback(() => isMountedRef.current, []);\r\n\r\n useEffect(() => {\r\n return () => void (isMountedRef.current = false);\r\n }, []);\r\n\r\n return isMounted;\r\n}\r\nexport function getFirstParagraph(html) {\r\n if (!!html) {\r\n const first200 = html.substring(0, 240);\r\n const split = first200.split(\"

\");\r\n return split[1] ? split[1] + \"...\" : \"...\";\r\n } else {\r\n return \"...\";\r\n }\r\n}\r\nexport function RemoveDollar(str = \"\") {\r\n try {\r\n return parseInt(str.replaceAll(\"$\", \"\"));\r\n } catch (e) {\r\n return 0;\r\n }\r\n}\r\n\r\nexport function timeSince(dt) {\r\n var date = new Date(moment(Number(dt)).format(\"lll\"));\r\n var seconds = Math.floor((new Date() - date) / 1000);\r\n\r\n var interval = seconds / 31536000;\r\n\r\n if (interval > 1) {\r\n return Math.floor(interval) + \" year\";\r\n }\r\n interval = seconds / 2592000;\r\n if (interval > 1) {\r\n return Math.floor(interval) + \" month\";\r\n }\r\n interval = seconds / 86400;\r\n if (interval >= 1 && interval < 2) {\r\n return Math.floor(interval) + \" day\";\r\n } else if (interval > 2) {\r\n return Math.floor(interval) + \" days\";\r\n }\r\n interval = seconds / 3600;\r\n if (interval >= 1 && interval < 2) {\r\n return Math.floor(interval) + \" hr\";\r\n } else if (interval > 2) {\r\n return Math.floor(interval) + \" hrs\";\r\n }\r\n interval = seconds / 60;\r\n if (interval > 1) {\r\n return Math.floor(interval) + \" min\";\r\n }\r\n return \"just now\";\r\n}\r\n\r\nexport function formatDateCustom(date) {\r\n if (date) {\r\n var d = new Date(date),\r\n month = \"\" + (d.getMonth() + 1),\r\n day = \"\" + d.getDate(),\r\n year = d.getFullYear();\r\n\r\n if (month.length < 2) month = \"0\" + month;\r\n if (day.length < 2) day = \"0\" + day;\r\n\r\n const result = [year, month, day].join(\"-\");\r\n if (result !== \"NaN/NaN/NaN\") {\r\n return result;\r\n } else {\r\n return \"\";\r\n }\r\n } else {\r\n return \"\";\r\n }\r\n}\r\nexport function arrayInsertAt(destArray, pos, arrayToInsert) {\r\n var args = [];\r\n args.push(pos); // where to insert\r\n args.push(0); // nothing to remove\r\n args = args.concat(arrayToInsert); // add on array to insert\r\n destArray.splice.apply(destArray, args); // splice it in\r\n}\r\nexport function replaceValues(parameters, array) {\r\n try {\r\n var tt = parameters;\r\n if (!!parameters) {\r\n array.forEach((element) => {\r\n tt = tt.replaceAll(element.name, element.value);\r\n });\r\n }\r\n return tt;\r\n } catch (err) {\r\n console.log(\"err\", err);\r\n }\r\n}\r\n\r\nexport const containsHTML = (str) => /<[a-z][\\s\\S]*>/i.test(str);\r\n\r\nexport function stripHtml(html) {\r\n let tmp = document.createElement(\"DIV\");\r\n tmp.innerHTML = html;\r\n return tmp.textContent || tmp.innerText || \"\";\r\n}\r\n\r\nfunction returncsv(values) {\r\n var json = values;\r\n var fields = Object.keys(json[0]);\r\n var replacer = function(key, value) {\r\n return value === null ? \"\" : value;\r\n };\r\n var csv = json.map(function(row) {\r\n return fields\r\n .map(function(fieldName) {\r\n return JSON.stringify(row[fieldName], replacer);\r\n })\r\n .join(\",\");\r\n });\r\n csv.unshift(fields.join(\",\")); // add header columnmoment\r\n csv = csv.join(\"\\r\\n\");\r\n return csv;\r\n}\r\n\r\nexport function capitalizeCustom(s) {\r\n return s?.length > 0 ? s[0].toUpperCase() + s.slice(1) : \"\";\r\n}\r\nexport function DynamicModal(props) {\r\n return (\r\n {\r\n props.setShow(false);\r\n }}\r\n >\r\n {props?.child}\r\n \r\n );\r\n}\r\n\r\nexport function createMarkup(dataString) {\r\n return { __html: dataString };\r\n}\r\nexport function InputPassword(props) {\r\n const [isShowPassword, setShowPassword] = useState(false);\r\n\r\n return (\r\n

\r\n
\r\n \r\n setShowPassword(!isShowPassword)}>\r\n {!isShowPassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
\r\n
\r\n );\r\n}\r\n\r\nexport function getFromatdate() {\r\n try {\r\n if (\r\n localStorage.getItem(\"dateFormat\") === null ||\r\n localStorage.getItem(\"dateFormat\") === \"null\" ||\r\n localStorage.getItem(\"dateFormat\") === undefined ||\r\n localStorage.getItem(\"dateFormat\") === \"\" ||\r\n localStorage.getItem(\"dateFormat\") === \"string\"\r\n ) {\r\n return \"MM/DD/YYYY\";\r\n } else {\r\n return localStorage.getItem(\"dateFormat\");\r\n }\r\n } catch (err) {\r\n console.log(\"err\", err);\r\n }\r\n}\r\n\r\nexport const RequiredHtml = () => {\r\n return (\r\n \r\n );\r\n};\r\nexport const getInputClasses = (fieldname, formik) => {\r\n try {\r\n if (formik.touched[fieldname] && formik.errors[fieldname]) {\r\n return \"is-invalid\";\r\n }\r\n\r\n if (formik.touched[fieldname] && !formik.errors[fieldname]) {\r\n return \"is-valid\";\r\n }\r\n\r\n return \"\";\r\n } catch (err) {\r\n console.log(\"err\", err);\r\n }\r\n};\r\nexport function InputItem(props) {\r\n return (\r\n \r\n \r\n {props?.label}\r\n {props?.isRequired && }\r\n {\r\n if (!!props?.onChange) props.onChange(e);\r\n }}\r\n value={props?.value ?? \"\"}\r\n size=\"sm\"\r\n // {...props?.formik?.getFieldProps(props?.name)}\r\n />\r\n {props?.formik?.touched[props?.name] &&\r\n props?.formik?.errors[props?.name] ? (\r\n
\r\n {props?.formik?.errors[props?.name]}\r\n
\r\n ) : null}\r\n
\r\n {/*
\r\n
\r\n
\r\n {props?.label}\r\n
\r\n
\r\n
\r\n \r\n {props?.typeInput === \"phone\" ? (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n {props?.formik.touched[props?.name] &&\r\n props?.formik.errors[props?.name] ? (\r\n
\r\n {props?.formik.errors[props?.name]}\r\n
\r\n ) : null}\r\n
\r\n
\r\n ) : props?.typeInput === \"email\" ? (\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n \r\n {props?.formik.touched[props?.name] &&\r\n props?.formik.errors[props?.name] ? (\r\n
\r\n {props?.formik.errors[props?.name]}\r\n
\r\n ) : null}\r\n
\r\n
\r\n ) : (\r\n
\r\n \r\n {props?.formik.touched[props?.name] &&\r\n props?.formik.errors[props?.name] ? (\r\n
\r\n {props?.formik.errors[props?.name]}\r\n
\r\n ) : null}\r\n
\r\n )}\r\n
*/}\r\n
\r\n );\r\n}\r\nexport function ItemLabel({ title, value }) {\r\n return (\r\n \r\n \r\n {title}: \r\n {value}\r\n \r\n \r\n );\r\n}\r\nexport const BASE_URL = process.env.REACT_APP_BASE_URL;\r\nexport const token =\r\n localStorage?.getItem(\"user\") !== null\r\n ? JSON.parse(localStorage.getItem(\"user\") ?? \"\").token\r\n : \"\";\r\n\r\nexport async function apiCall(props) {\r\n const currentlang = localStorage.getItem(\"i18nConfig\");\r\n const token =\r\n (typeof localStorage.getItem(\"user\")?.token ?? \"\") === \"string\"\r\n ? localStorage.getItem(\"user\")?.token ?? \"\"\r\n : JSON.parse(localStorage.getItem(\"user\"))?.token ?? \"\";\r\n return await fetch(`${BASE_URL}${props?.link}`, {\r\n method: props?.method,\r\n headers: props?.isFormData\r\n ? {\r\n Authorization: \"Bearer \" + token,\r\n \"Accept-Language\": currentlang || \"en\",\r\n }\r\n : {\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n \"Accept-Language\": currentlang || \"en\",\r\n },\r\n signal: props?.signal,\r\n body: props?.isFormData ? props?.data : JSON.stringify(props?.data),\r\n })\r\n .then(async (response) => {\r\n const statusCode = response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n return data;\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n}\r\n\r\nexport function ItemNumberStep(props) {\r\n return (\r\n
\r\n
\r\n \r\n {props?.number}\r\n
\r\n
\r\n
\r\n \r\n {props?.title}\r\n \r\n
\r\n \r\n );\r\n}\r\n\r\nexport const handleParse = (file, setData) => {\r\n if (!file) return false;\r\n const reader = new FileReader();\r\n reader.onload = async ({ target }) => {\r\n const csv = Papa.parse(target.result, { header: true });\r\n const parsedData = csv?.data;\r\n const columns = Object.keys(parsedData[0]);\r\n var a = columns.filter((x) => x !== \"\");\r\n setData(a);\r\n };\r\n reader.readAsText(file);\r\n};\r\n\r\nexport const handleParseCsv = (file, setData) => {\r\n if (!file) return false;\r\n if (!file.type.match(\"csv.*\")) {\r\n Swal.fire(\"Oops?\", \"Accept only file CSV\", \"error\");\r\n return false;\r\n }\r\n\r\n const reader = new FileReader();\r\n reader.onload = async ({ target }) => {\r\n const csv = Papa.parse(target.result, {});\r\n var list = [];\r\n (csv?.data ?? []).forEach((element) => {\r\n list = list.concat(element);\r\n });\r\n var a = list.filter((x) => x !== \"\");\r\n setData(a);\r\n };\r\n reader.readAsText(file);\r\n};\r\n\r\nexport function creditCardTypeFromNumber(number) {\r\n try {\r\n // visa\r\n var re = new RegExp(\"^4\");\r\n if (number.match(re) != null) return \"Visa\";\r\n\r\n // Mastercard\r\n // Updated for Mastercard 2017 BINs expansion\r\n if (\r\n /^(5[1-5][0-9]{14}|2(22[1-9][0-9]{12}|2[3-9][0-9]{13}|[3-6][0-9]{14}|7[0-1][0-9]{13}|720[0-9]{12}))$/.test(\r\n number\r\n )\r\n )\r\n return \"MasterCard\";\r\n\r\n // AMEX\r\n re = new RegExp(\"^3[47]\");\r\n if (number.match(re) != null) return \"Amex\";\r\n\r\n // Discover\r\n re = new RegExp(\r\n \"^(6011|622(12[6-9]|1[3-9][0-9]|[2-8][0-9]{2}|9[0-1][0-9]|92[0-5]|64[4-9])|65)\"\r\n );\r\n if (number.match(re) != null) return \"Discover\";\r\n\r\n // Diners\r\n re = new RegExp(\"^36\");\r\n if (number.match(re) != null) return \"Diners\";\r\n\r\n // Diners - Carte Blanche\r\n re = new RegExp(\"^30[0-5]\");\r\n if (number.match(re) != null) return \"Diners - Carte Blanche\";\r\n\r\n // JCB\r\n re = new RegExp(\"^35(2[89]|[3-8][0-9])\");\r\n if (number.match(re) != null) return \"JCB\";\r\n\r\n // Visa Electron\r\n re = new RegExp(\"^(4026|417500|4508|4844|491(3|7))\");\r\n if (number.match(re) != null) return \"Visa Electron\";\r\n\r\n // Union Pay\r\n if (number.match(/^(62[0-9]{14,17})$/)) return \"Union Pay\";\r\n return \"\";\r\n } catch (err) {\r\n console.log(\"~err\", err);\r\n }\r\n}\r\n\r\nexport function setValueField(data, setData, value, column) {\r\n try {\r\n let dataSet = Array.isArray(data) ? [...data] : { ...data };\r\n dataSet[column] = value;\r\n setData(dataSet);\r\n } catch (err) {}\r\n}\r\nexport function setValueFieldArray(data, setData, value, column, index) {\r\n try {\r\n let dataSet = [...data];\r\n dataSet[index][column] = value;\r\n setData(dataSet);\r\n } catch (err) {}\r\n}\r\nexport function ModelStateMessage(result) {\r\n try {\r\n if (\r\n result[1].modelState !== null &&\r\n result[1].modelState !== undefined &&\r\n result[1].modelState !== \"\"\r\n ) {\r\n let modelState = result[1].modelState;\r\n if (modelState)\r\n Object.keys(modelState).forEach(function(k) {\r\n modelState[k].forEach((element) => {\r\n Swal.fire(\"Oops?\", element, \"error\");\r\n });\r\n });\r\n } else if (result[0] === 402) {\r\n Swal.fire(\"Oops?\", \"You have to subscribe first\", \"error\");\r\n } else if (\r\n result[0] === 401 &&\r\n result[1].message !== null &&\r\n result[1].message !== undefined &&\r\n result[1].message !== \"\"\r\n ) {\r\n Swal.fire(\"Oops?\", result[1].message, \"error\");\r\n setTimeout(() => {\r\n localStorage.clear();\r\n window.location.href = \"/auth/login\";\r\n }, 1000);\r\n } else if (\r\n result[1].message !== null &&\r\n result[1].message !== undefined &&\r\n result[1].message !== \"\"\r\n ) {\r\n Swal.fire(\r\n \"Oops?\",\r\n typeof result[1].message !== \"string\"\r\n ? result[1].message?.value\r\n : result[1]?.message,\r\n \"error\"\r\n );\r\n } else if (\r\n result[1].error_description !== null &&\r\n result[1].error_description !== undefined &&\r\n result[1].error_description !== \"\"\r\n ) {\r\n Swal.fire(\"Oops?\", result[1].error_description, \"error\");\r\n } else if (typeof result[1] === \"string\") {\r\n Swal.fire(\"Oops?\", result[1], \"error\");\r\n } else if (result[0] === 400) {\r\n ModelStateMessage400(result);\r\n } else {\r\n Swal.fire(\"Oops?\", \"Bad request\", \"error\");\r\n }\r\n } catch (err) {}\r\n}\r\n\r\nexport function ImageCardNumber({ value }) {\r\n return (\r\n \r\n );\r\n}\r\nexport function getImageSvgByName(value) {\r\n switch (value) {\r\n case \"Visa\":\r\n return \"/media/svg/card-logos/visa.svg\";\r\n case \"MasterCard\":\r\n return \"/media/svg/card-logos/mastercard.svg\";\r\n case \"Amex\":\r\n case \"American Express\":\r\n return \"/media/svg/card-logos/american-express.svg\";\r\n case \"Discover\":\r\n return \"/media/svg/card-logos/discover.png\";\r\n case \"UnionPay\":\r\n case \"Union Pay\":\r\n return \"/media/svg/card-logos/union-pay.png\";\r\n case \"JCB\":\r\n return \"/media/svg/card-logos/jcb.png\";\r\n case \"Diners\":\r\n return \"/media/svg/card-logos/diners-club.png\";\r\n case \"Diners Club\":\r\n return \"/media/svg/card-logos/diners-club.png\";\r\n default:\r\n return \"\";\r\n }\r\n}\r\nexport function ImageCardNumberByName({ value }) {\r\n return (\r\n \r\n );\r\n}\r\nexport function CheckboxLargeWB({\r\n field,\r\n label,\r\n required,\r\n text,\r\n textSmall = \"\",\r\n color = \"success\",\r\n disabled,\r\n Size,\r\n isTms,\r\n ...props\r\n}) {\r\n const RequiredHtml = () => {\r\n return (\r\n \r\n );\r\n };\r\n const inputEl = useRef(null);\r\n const [colorStat, setColorStat] = useState(\"success\");\r\n useEffect(() => {\r\n setColorStat(disabled ? \"secondary\" : color);\r\n }, [disabled]);\r\n return (\r\n <>\r\n {label && (\r\n \r\n )}\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n false}\r\n className=\"text-dark-75 text-hover-primary font-weight-bold font-size-md mb-0 ml-2\"\r\n style={{ fontSize: Size }}\r\n onClick={() => inputEl.current.click()}\r\n >\r\n {text} {textSmall}\r\n \r\n
\r\n
\r\n \r\n );\r\n}\r\nexport function CheckboxLargeOppotunities({\r\n field,\r\n label,\r\n required,\r\n text,\r\n color = \"success\",\r\n disabled,\r\n Size,\r\n isTms,\r\n ...props\r\n}) {\r\n const RequiredHtml = () => {\r\n return (\r\n \r\n );\r\n };\r\n const inputEl = useRef(null);\r\n const [colorStat, setColorStat] = useState(\"success\");\r\n useEffect(() => {\r\n setColorStat(disabled ? \"secondary\" : color);\r\n }, [disabled]);\r\n return (\r\n <>\r\n {label && (\r\n \r\n )}\r\n\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n false}\r\n className=\"text-dark-75 text-hover-primary font-weight-bold font-size-md mb-1\"\r\n style={{ fontSize: Size }}\r\n onClick={() => inputEl.current.click()}\r\n >\r\n {text}\r\n \r\n
\r\n
\r\n \r\n );\r\n}\r\nexport function CountryStateGlobal({ values, setFieldValue, className = \"\" }) {\r\n const [countires, setCountries] = useState([]);\r\n const [states, setStates] = useState([]);\r\n useEffect(() => {\r\n handleGetCoutries();\r\n }, []);\r\n\r\n const handleGetCoutries = () => {\r\n apiCall({\r\n method: \"GET\",\r\n link: \"/api/Generic/Countries\",\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n const countriesList = data[1]?.countries?.map((country) => {\r\n return { value: country?.name, label: country?.name };\r\n });\r\n setCountries(countriesList);\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n };\r\n\r\n const handleGetStates = (value) => {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Generic/States?name=${value}`,\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n const stateList = data[1]?.states?.map((state) => {\r\n return { value: state?.name, label: state?.name };\r\n });\r\n setStates(stateList);\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n if (\r\n values.country !== \"\" &&\r\n values.country !== null &&\r\n values.country !== undefined\r\n ) {\r\n handleGetStates(values.country);\r\n }\r\n }, [values.country]);\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n Country\r\n obj.value === values.country)}\r\n onChange={(e) => {\r\n setFieldValue(\"country\", e.value);\r\n setTimeout(() => {\r\n setFieldValue(\"state\", \"\");\r\n }, 500);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n State\r\n obj.value === values.state) || {\r\n value: values.state,\r\n label: values.state,\r\n }\r\n : null\r\n }\r\n onChange={(e) => {\r\n setFieldValue(\"state\", e.value);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nexport function ExportAs(List, Type, Entity) {\r\n function capitalizeFirstLetter(string) {\r\n return string.charAt(0).toUpperCase() + string.slice(1);\r\n }\r\n\r\n List.forEach((o) => {\r\n Object.keys(o).forEach((k) => {\r\n o[capitalizeFirstLetter(k)] = o[k];\r\n delete o[k];\r\n });\r\n });\r\n try {\r\n var dataExportList = JSON.parse(JSON.stringify(List));\r\n // make dataExportList all the names of the columns in the table capitalized\r\n dataExportList.forEach((o) => {\r\n Object.keys(o).forEach((k) => {\r\n if (containsHTML(o[k])) {\r\n o[k] = stripHtml(o[k]);\r\n }\r\n if (\r\n moment(\r\n o[k] !== null ? String(o[k]).slice(0, 10) : \"\",\r\n \"YYYY-MM-DD\",\r\n true\r\n ).isValid()\r\n ) {\r\n o[k] = new Date(o[k]);\r\n }\r\n });\r\n });\r\n var date = new Date(Date.now());\r\n var dateformat =\r\n (\"0\" + (date.getMonth() + 1)).slice(-2) +\r\n \"\" +\r\n date.getDate() +\r\n \"\" +\r\n date.getFullYear() +\r\n \"\" +\r\n date.getHours() +\r\n \"\" +\r\n date.getMinutes() +\r\n \"\" +\r\n date.getSeconds();\r\n if (Type === \"excel\") {\r\n const fileType =\r\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8\";\r\n const fileExtension = \".xlsx\";\r\n const ws = XLSX.utils.json_to_sheet(dataExportList, {\r\n cellDates: true,\r\n dateNF: \"mm/dd/yyyy\",\r\n });\r\n const wb = { Sheets: { data: ws }, SheetNames: [\"data\"] };\r\n const excelBuffer = XLSX.write(wb, { bookType: \"xlsx\", type: \"array\" });\r\n const data = new Blob([excelBuffer], { type: fileType });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n } else if (Type === \"csv\") {\r\n const data2 = returncsv(dataExportList);\r\n const fileType = \"text/csv;charset=utf-8\";\r\n const fileExtension = \".csv\";\r\n const data = new Blob([data2], { type: fileType });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n } else if (Type === \"json\") {\r\n const fileType = \"application/json\";\r\n const fileExtension = \".json\";\r\n const data = new Blob([JSON.stringify(dataExportList)], {\r\n type: fileType,\r\n });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n}\r\n\r\nexport function ExportFormBuilderAs(List, Type, Entity) {\r\n try {\r\n var dataExportList = JSON.parse(JSON.stringify(List));\r\n // make dataExportList all the names of the columns in the table capitalized\r\n dataExportList.forEach((o) => {\r\n Object.keys(o).forEach((k) => {\r\n if (containsHTML(o[k])) {\r\n o[k] = stripHtml(o[k]);\r\n }\r\n if (\r\n moment(\r\n o[k] !== null ? String(o[k]).slice(0, 10) : \"\",\r\n \"YYYY-MM-DD\",\r\n true\r\n ).isValid()\r\n ) {\r\n o[k] = new Date(o[k]);\r\n }\r\n });\r\n });\r\n var date = new Date(Date.now());\r\n var dateformat =\r\n (\"0\" + (date.getMonth() + 1)).slice(-2) +\r\n \"\" +\r\n date.getDate() +\r\n \"\" +\r\n date.getFullYear() +\r\n \"\" +\r\n date.getHours() +\r\n \"\" +\r\n date.getMinutes() +\r\n \"\" +\r\n date.getSeconds();\r\n if (Type === \"excel\") {\r\n const fileType =\r\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8\";\r\n const fileExtension = \".xlsx\";\r\n const ws = XLSX.utils.json_to_sheet(dataExportList, {\r\n cellDates: true,\r\n dateNF: \"mm/dd/yyyy\",\r\n });\r\n const wb = { Sheets: { data: ws }, SheetNames: [\"data\"] };\r\n const excelBuffer = XLSX.write(wb, { bookType: \"xlsx\", type: \"array\" });\r\n const data = new Blob([excelBuffer], { type: fileType });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n } else if (Type === \"csv\") {\r\n const data2 = returncsv(dataExportList);\r\n const fileType = \"text/csv;charset=utf-8\";\r\n const fileExtension = \".csv\";\r\n const data = new Blob([data2], { type: fileType });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n } else if (Type === \"json\") {\r\n const fileType = \"application/json\";\r\n const fileExtension = \".json\";\r\n const data = new Blob([JSON.stringify(dataExportList)], {\r\n type: fileType,\r\n });\r\n FileSaver.saveAs(data, Entity + \"_\" + dateformat + fileExtension);\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n}\r\nexport function ConvertToDateCurrentTimeZone(params) {\r\n if (params === null || params === \"\" || params === undefined) {\r\n return \"\";\r\n } else {\r\n //params = params.replace(\"GMT\", \"\");\r\n\r\n let newDate = moment(params).format(getFromatdate() + \" hh:mm A [GMT]\");\r\n let dateConverted = new Date(newDate).toLocaleString(\"en-US\", {\r\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n });\r\n return dateConverted;\r\n }\r\n}\r\nexport function ConvertToDateCurrentTimeZoneForNotInput(params) {\r\n if (params === null || params === \"\" || params === undefined) {\r\n return \"\";\r\n } else {\r\n //params = params.replace(\"GMT\", \"\");\r\n\r\n let newDate = moment(params).format(getFromatdate() + \" hh:mm A [GMT]\");\r\n let dateConverted = new Date(newDate).toLocaleString(\"en-US\", {\r\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n });\r\n return moment(dateConverted).format(`${getFromatdate()}, h:mm:ss A`);\r\n }\r\n}\r\n\r\nexport function CheckisRequredApi(\r\n a,\r\n cell,\r\n indexRow,\r\n errorList,\r\n setInfoJsonResult\r\n) {\r\n var isTrue = false;\r\n try {\r\n errorList.forEach((x) => {\r\n var y = (x?.key ?? \"\").split(\"[\")[1];\r\n var b = y.split(\"].\");\r\n if (\r\n parseInt(b[0]) === indexRow &&\r\n RemoveSpace(a) === RemoveSpace(b[1]) &&\r\n !cell\r\n ) {\r\n if (!isTrue) isTrue = true;\r\n }\r\n });\r\n\r\n /* if (a.includes(\"*\") && !cell) {\r\n setInfoJsonResult((x) => {\r\n x.forEach((y) => {\r\n if (!y[a]) y[a] = \"\";\r\n });\r\n return x;\r\n });\r\n } */\r\n return isTrue || (a.includes(\"*\") && !cell);\r\n } catch (error) {\r\n return isTrue;\r\n }\r\n}\r\n\r\nexport function RemoveSpace(str) {\r\n str = str.replace(/\\s/g, \"\");\r\n str = str.replace(/\\*/g, \"\");\r\n str = str.toLowerCase();\r\n return str;\r\n}\r\n\r\nexport function ModelStateMessage400(result, setListFun) {\r\n try {\r\n /* if (!!result[1]) {\r\n Swal.fire(\"Oops?\", result[1], \"error\");\r\n return false;\r\n } */\r\n if (!!result[1]?.message) {\r\n Swal.fire(\r\n \"Oops?\",\r\n typeof result[1].message !== \"string\"\r\n ? result[1].message?.value\r\n : result[1]?.message,\r\n \"error\"\r\n );\r\n return false;\r\n }\r\n if (!result[1]?.errors) result[1] = JSON.parse(result[1]);\r\n if (!!result[1]?.errors) {\r\n var p = result[1]?.errors;\r\n var list = [];\r\n var list2 = [];\r\n for (var key in p) {\r\n if (p.hasOwnProperty(key)) {\r\n list2.push({ key: key, value: p[key] });\r\n\r\n var a = list.findIndex(\r\n // eslint-disable-next-line no-loop-func\r\n (x) => x === `
${p[key]}
`\r\n );\r\n if (a === -1) list.push(`
${p[key]}
`);\r\n }\r\n }\r\n if (!!setListFun) setListFun(list2);\r\n\r\n Swal.fire({\r\n title:\r\n ' Required',\r\n icon: \"error\",\r\n html: `
${list.join(\" \")}
`,\r\n showCloseButton: true,\r\n confirmButtonText: \"OK!\",\r\n });\r\n } else if (typeof result[1] === \"string\") {\r\n Swal.fire(\"Oops?\", result[1], \"error\");\r\n } else {\r\n Swal.fire(\"Oops?\", \"Bad_request\", \"error\");\r\n }\r\n } catch (err) {\r\n Swal.fire(\"Oops?\", \"Bad_request\", \"error\");\r\n }\r\n}\r\n\r\nfunction numberFormat(no) {\r\n var str = no + \"\";\r\n var ar = [];\r\n var i = str.length - 1;\r\n while (i >= 0) {\r\n ar.push((str[i - 2] || \"\") + (str[i - 1] || \"\") + (str[i] || \"\"));\r\n i = i - 3;\r\n }\r\n return ar.reverse().join(\",\");\r\n}\r\nexport function NumberFormat(no) {\r\n if (no === null) {\r\n no = 0;\r\n }\r\n var ar = (+no).toFixed(2).split(\".\");\r\n return [numberFormat(ar[0] | 0)].join(\"\");\r\n}\r\n\r\nexport function PercentCalcule(n1, n2) {\r\n if (n2 === null || n2 === undefined || n2 === \"\" || n2 === 0) {\r\n return 0;\r\n }\r\n\r\n return (n1 / n2) * 100;\r\n}\r\n\r\nexport function handleTimeZone(date) {\r\n var moment = require(\"moment-timezone\");\r\n const currentUser = localStorage.getItem(\"user\");\r\n const timeZone = currentUser && JSON.parse(currentUser).timeZoneValue;\r\n if (timeZone) {\r\n var tt = moment(date)\r\n .tz(timeZone)\r\n .format(\"YYYY-MM-DD[T]HH:mm:ss\");\r\n return tt;\r\n }\r\n return date;\r\n}\r\n\r\nexport function handleTimeZoneToUTC(date) {\r\n var moment = require(\"moment-timezone\");\r\n const currentUser = localStorage.getItem(\"user\");\r\n const timeZone = currentUser && JSON.parse(currentUser).timeZoneValue;\r\n const ofsset = currentUser && JSON.parse(currentUser).timeZone;\r\n if (timeZone) {\r\n var tt = moment(date)\r\n .utcOffset(ofsset)\r\n .format(\"YYYY-MM-DD[T]HH:mm:ss\");\r\n return tt;\r\n }\r\n return date;\r\n}\r\n\r\nexport function ConvertIntFormat(number) {\r\n var a = parseFloat(number);\r\n try {\r\n if (a < 1000) {\r\n if (isFloat(a)) {\r\n a = a.toFixed(2);\r\n }\r\n return a;\r\n }\r\n return Intl.NumberFormat(\"en-US\", {\r\n notation: \"compact\",\r\n }).format(a);\r\n } catch (error) {\r\n return 0;\r\n }\r\n}\r\n\r\nfunction isFloat(n) {\r\n return n === +n && n !== (n | 0);\r\n}\r\n\r\nexport function ConvertToDateCurrentTimeZoneV2(params) {\r\n if (params === null || params === \"\" || params === undefined) {\r\n return \"\";\r\n } else {\r\n const currentUser = localStorage.getItem(\"user\");\r\n const timeZone = currentUser && JSON.parse(currentUser).timeZone;\r\n if (timeZone !== null && timeZone !== \"\" && timeZone !== undefined) {\r\n var dateConverted = moment(params)\r\n .add(timeZone, \"hours\")\r\n .format(\"MM/DD/YYYY hh:mm A\");\r\n return dateConverted;\r\n } else {\r\n let newDate = moment(params).format(\"YYYY/MM/DD HH:mm:ss [GMT]\");\r\n let dateConverted = new Date(newDate).toLocaleString(\"en-US\", {\r\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n });\r\n return moment(dateConverted).format(\"MM/DD/YYYY hh:mm A\");\r\n }\r\n }\r\n}\r\n\r\nexport function ConvertToTimeZoneSendingPost(params) {\r\n try {\r\n if (params === null || params === \"\" || params === undefined) {\r\n return \"\";\r\n } else {\r\n // const currentUser = localStorage.getItem(\"user\");\r\n const timeZone = localStorage.getItem(\"sendingTimeZone\");\r\n\r\n if (timeZone !== null && timeZone !== \"\" && timeZone !== undefined) {\r\n var dateConverted = moment(params)\r\n .subtract(timeZone, \"hours\")\r\n .format(\"YYYY-MM-DD[T]HH:mm\");\r\n return dateConverted;\r\n } else {\r\n let newDate = moment(params).format(\"YYYY/MM/DD HH:mm:ss [GMT]\");\r\n let dateConverted = new Date(newDate).toLocaleString(\"en-US\", {\r\n timeZone: Intl.DateTimeFormat().resolvedOptions().timeZone,\r\n });\r\n return moment(dateConverted).format(\"YYYY-MM-DD[T]HH:mm\");\r\n }\r\n }\r\n } catch (err) {\r\n console.log(\r\n \"🚀 ~ file: globals.js:2057 ~ ConvertToDateCurrentTimeZoneSending ~ err:\",\r\n err\r\n );\r\n }\r\n}\r\n\r\nexport function ConvertToDateGMTV2(params) {\r\n if (params === null || params === \"\" || params === undefined) {\r\n return \"\";\r\n } else {\r\n const currentUser = localStorage.getItem(\"user\");\r\n const timeZone = currentUser && JSON.parse(currentUser).timeZone;\r\n if (timeZone !== null && timeZone !== \"\" && timeZone !== undefined) {\r\n var dateConverted = moment(params)\r\n .add(-timeZone, \"hours\")\r\n .format(\"YYYY-MM-DD[T]HH:mm:ss\");\r\n return dateConverted;\r\n } else {\r\n let UTCDate = new Date(params).toUTCString();\r\n let DateFormater = moment.utc(UTCDate).format(\"YYYY-MM-DD[T]HH:mm:ss\");\r\n return DateFormater;\r\n }\r\n }\r\n}\r\nexport const numbers = [\r\n 1,\r\n 2,\r\n 3,\r\n 4,\r\n 5,\r\n 6,\r\n 7,\r\n 8,\r\n 9,\r\n 10,\r\n 11,\r\n 12,\r\n 13,\r\n 14,\r\n 15,\r\n 16,\r\n 17,\r\n 18,\r\n 19,\r\n 20,\r\n 21,\r\n 22,\r\n 23,\r\n 24,\r\n 25,\r\n 26,\r\n 27,\r\n 28,\r\n 29,\r\n 30,\r\n];\r\n","/* Pagination Helprs */\r\nimport React from \"react\";\r\n\r\nexport const getPagesCount = (totalSize, sizePerPage) => {\r\n return Math.ceil(totalSize / sizePerPage);\r\n};\r\n\r\nexport const getPages = (page, pagesCount, paginationSize) => {\r\n const result = [];\r\n if (!page) {\r\n return result;\r\n }\r\n\r\n if (pagesCount === 1) {\r\n result.push(1);\r\n return result;\r\n }\r\n\r\n if (pagesCount < page) {\r\n return result;\r\n }\r\n\r\n if (pagesCount < paginationSize + 1) {\r\n for (let i = 1; i < pagesCount + 1; i++) {\r\n result.push(i);\r\n }\r\n return result;\r\n }\r\n\r\n if (page === 1) {\r\n for (let i = 1; i < paginationSize + 1; i++) {\r\n if (i < pagesCount) {\r\n result.push(i);\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n if (page === pagesCount) {\r\n for (let i = pagesCount - paginationSize + 1; i <= pagesCount; i++) {\r\n if (i <= pagesCount) {\r\n result.push(i);\r\n }\r\n }\r\n return result;\r\n }\r\n\r\n const shiftCount = Math.floor(paginationSize / 2);\r\n if (shiftCount < 1) {\r\n result.push(page);\r\n return result;\r\n }\r\n\r\n //\r\n if (page < shiftCount + 2) {\r\n for (let i = 1; i < paginationSize + 1; i++) {\r\n result.push(i);\r\n }\r\n return result;\r\n }\r\n\r\n if (pagesCount - page < shiftCount + 2) {\r\n for (let i = pagesCount - paginationSize; i < pagesCount + 1; i++) {\r\n result.push(i);\r\n }\r\n return result;\r\n }\r\n\r\n for (let i = page - shiftCount; i < page; i++) {\r\n if (i > 0) {\r\n result.push(i);\r\n }\r\n }\r\n result.push(page);\r\n for (let i = page + 1; i < page + shiftCount + 1; i++) {\r\n if (i <= pagesCount) {\r\n result.push(i);\r\n }\r\n }\r\n\r\n return result;\r\n};\r\n\r\nexport function getHandlerTableChange(setQueryParams) {\r\n return (type, { page, sizePerPage, sortField, sortOrder, data }) => {\r\n const pageNumber = page || 1;\r\n setQueryParams((prev) =>\r\n type === \"sort\"\r\n ? { ...prev, sortOrder, sortField }\r\n : type === \"pagination\"\r\n ? { ...prev, pageNumber, pageSize: sizePerPage }\r\n : prev\r\n );\r\n };\r\n}\r\n\r\nexport function PleaseWaitMessage({ entities }) {\r\n return <>{entities === null &&
Please wait...
};\r\n}\r\n\r\nexport function NoRecordsFoundMessage({ entities }) {\r\n const customersList = entities === null ? [] : entities;\r\n return (\r\n <>\r\n {customersList.length === 0 && entities !== null && (\r\n
No records found
\r\n )}\r\n \r\n );\r\n}\r\n","/* Pagination Helprs */\r\nimport React from \"react\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { toAbsoluteUrl } from \"./AssetsHelpers\";\r\n\r\nexport const sortCaret = (order, column) => {\r\n if (!order) return (\r\n \r\n \r\n \r\n );\r\n else if (order === \"asc\")\r\n return (\r\n \r\n \r\n \r\n );\r\n else if (order === \"desc\")\r\n return (\r\n \r\n \r\n \r\n );\r\n return null;\r\n};\r\n\r\nexport const headerSortingClasses = (column, sortOrder, isLastSorting, colIndex) => (\r\n (sortOrder === 'asc' || sortOrder === \"desc\") ? 'sortable-active' : ''\r\n);","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { Dropdown } from \"react-bootstrap\";\r\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\r\nimport { useLang, setLanguage } from \"../../../../i18n\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nconst languages = [\r\n {\r\n lang: \"en\",\r\n name: \"English\",\r\n flag: toAbsoluteUrl(\"/media/svg/flags/226-united-states.svg\"),\r\n },\r\n {\r\n lang: \"es\",\r\n name: \"Spanish\",\r\n flag: toAbsoluteUrl(\"/media/svg/flags/128-spain.svg\"),\r\n },\r\n // {\r\n // lang: \"zh\",\r\n // name: \"Mandarin\",\r\n // flag: toAbsoluteUrl(\"/media/svg/flags/015-china.svg\"),\r\n // },\r\n\r\n // {\r\n // lang: \"ja\",\r\n // name: \"Japanese\",\r\n // flag: toAbsoluteUrl(\"/media/svg/flags/063-japan.svg\"),\r\n // },\r\n // {\r\n // lang: \"de\",\r\n // name: \"German\",\r\n // flag: toAbsoluteUrl(\"/media/svg/flags/162-germany.svg\"),\r\n // },\r\n // {\r\n // lang: \"fr\",\r\n // name: \"French\",\r\n // flag: toAbsoluteUrl(\"/media/svg/flags/195-france.svg\"),\r\n // },\r\n];\r\n\r\nexport function LanguageSelectorDropdown() {\r\n const [t, i18n] = useTranslation();\r\n const lang = useLang();\r\n const currentLanguage = languages.find((x) => x.lang === lang);\r\n return (\r\n \r\n \r\n
    \r\n {languages.map((language) => (\r\n \r\n setLanguage(language.lang)}\r\n className=\"navi-link\"\r\n >\r\n \r\n {language.name}\r\n \r\n {language.name}\r\n \r\n \r\n ))}\r\n
\r\n
\r\n
\r\n );\r\n}\r\n","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./util\";\r\n\r\n// Component Definition\r\nvar KTOffcanvas = function(elementId, options) {\r\n // Main object\r\n var the = this;\r\n var init = false;\r\n\r\n // Get element object\r\n var element = KTUtil.getById(elementId);\r\n var body = KTUtil.getBody();\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Default options\r\n var defaultOptions = {\r\n attrCustom: ''\r\n };\r\n\r\n ////////////////////////////\r\n // ** Private Methods ** //\r\n ////////////////////////////\r\n\r\n var Plugin = {\r\n construct: function(options) {\r\n if (KTUtil.data(element).has('offcanvas')) {\r\n the = KTUtil.data(element).get('offcanvas');\r\n } else {\r\n // Reset offcanvas\r\n Plugin.init(options);\r\n\r\n // Build offcanvas\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('offcanvas', the);\r\n }\r\n\r\n return the;\r\n },\r\n\r\n init: function(options) {\r\n the.events = [];\r\n\r\n // merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n\r\n the.classBase = the.options.baseClass;\r\n the.attrCustom = the.options.attrCustom;\r\n the.classShown = the.classBase + '-on';\r\n the.classOverlay = the.classBase + '-overlay';\r\n the.target;\r\n\r\n the.state = KTUtil.hasClass(element, the.classShown) ? 'shown' : 'hidden';\r\n },\r\n\r\n build: function() {\r\n // offcanvas toggle\r\n if (the.options.toggleBy) {\r\n if (typeof the.options.toggleBy === 'string') {\r\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy), 'click', function(e) {\r\n e.preventDefault();\r\n the.target = this;\r\n Plugin.toggle();\r\n });\r\n } else if (the.options.toggleBy && the.options.toggleBy[0]) {\r\n if (the.options.toggleBy[0].target) {\r\n for (var i in the.options.toggleBy) {\r\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy[i].target), 'click', function(e) {\r\n e.preventDefault();\r\n the.target = this;\r\n Plugin.toggle();\r\n });\r\n }\r\n } else {\r\n for (var i in the.options.toggleBy) {\r\n KTUtil.addEvent(KTUtil.getById(the.options.toggleBy[i]), 'click', function(e) {\r\n e.preventDefault();\r\n the.target = this;\r\n Plugin.toggle();\r\n });\r\n }\r\n }\r\n\r\n } else if (the.options.toggleBy && the.options.toggleBy.target) {\r\n KTUtil.addEvent( KTUtil.getById(the.options.toggleBy.target), 'click', function(e) {\r\n e.preventDefault();\r\n the.target = this;\r\n Plugin.toggle();\r\n });\r\n }\r\n }\r\n\r\n // offcanvas close\r\n var closeBy = KTUtil.getById(the.options.closeBy);\r\n if (closeBy) {\r\n KTUtil.addEvent(closeBy, 'click', function(e) {\r\n e.preventDefault();\r\n the.target = this;\r\n Plugin.hide();\r\n });\r\n }\r\n },\r\n\r\n isShown: function() {\r\n return (the.state == 'shown' ? true : false);\r\n },\r\n\r\n toggle: function() {;\r\n Plugin.eventTrigger('toggle');\r\n\r\n if (the.state == 'shown') {\r\n Plugin.hide();\r\n } else {\r\n Plugin.show();\r\n }\r\n },\r\n\r\n show: function() {\r\n if (the.state == 'shown') {\r\n return;\r\n }\r\n\r\n Plugin.eventTrigger('beforeShow');\r\n\r\n Plugin.toggleClass('show');\r\n\r\n // Offcanvas panel\r\n KTUtil.attr(body, 'data-offcanvas-' + the.classBase, 'on');\r\n KTUtil.addClass(element, the.classShown);\r\n\r\n if (the.attrCustom.length > 0) {\r\n KTUtil.attr(body, 'data-offcanvas-' + the.classCustom, 'on');\r\n //KTUtil.addClass(body, the.classCustom);\r\n }\r\n\r\n the.state = 'shown';\r\n\r\n if (the.options.overlay) {\r\n the.overlay = KTUtil.insertAfter(document.createElement('DIV') , element );\r\n KTUtil.addClass(the.overlay, the.classOverlay);\r\n\r\n KTUtil.addEvent(the.overlay, 'click', function(e) {\r\n //e.stopPropagation();\r\n e.preventDefault();\r\n Plugin.hide(the.target);\r\n });\r\n }\r\n\r\n Plugin.eventTrigger('afterShow');\r\n },\r\n\r\n hide: function() {\r\n if (the.state == 'hidden') {\r\n return;\r\n }\r\n\r\n Plugin.eventTrigger('beforeHide');\r\n\r\n Plugin.toggleClass('hide');\r\n\r\n KTUtil.removeAttr(body, 'data-offcanvas-' + the.classBase);\r\n KTUtil.removeClass(element, the.classShown);\r\n\r\n if (the.attrCustom.length > 0) {\r\n KTUtil.removeAttr(body, 'data-offcanvas-' + the.attrCustom);\r\n }\r\n\r\n the.state = 'hidden';\r\n\r\n if (the.options.overlay && the.overlay) {\r\n KTUtil.remove(the.overlay);\r\n }\r\n\r\n Plugin.eventTrigger('afterHide');\r\n },\r\n\r\n toggleClass: function(mode) {\r\n var id = KTUtil.attr(the.target, 'id');\r\n var toggleBy;\r\n\r\n if (the.options.toggleBy && the.options.toggleBy[0] && the.options.toggleBy[0].target) {\r\n for (var i in the.options.toggleBy) {\r\n if (the.options.toggleBy[i].target === id) {\r\n toggleBy = the.options.toggleBy[i];\r\n }\r\n }\r\n } else if (the.options.toggleBy && the.options.toggleBy.target) {\r\n toggleBy = the.options.toggleBy;\r\n }\r\n\r\n if (toggleBy) {\r\n var el = KTUtil.getById(toggleBy.target);\r\n\r\n if (mode === 'show') {\r\n KTUtil.addClass(el, toggleBy.state);\r\n }\r\n\r\n if (mode === 'hide') {\r\n KTUtil.removeClass(el, toggleBy.state);\r\n }\r\n }\r\n },\r\n\r\n eventTrigger: function(name, args) {\r\n for (var i = 0; i < the.events.length; i++) {\r\n var event = the.events[i];\r\n if (event.name == name) {\r\n if (event.one == true) {\r\n if (event.fired == false) {\r\n the.events[i].fired = true;\r\n return event.handler.call(this, the, args);\r\n }\r\n } else {\r\n return event.handler.call(this, the, args);\r\n }\r\n }\r\n }\r\n },\r\n\r\n addEvent: function(name, handler, one) {\r\n the.events.push({\r\n name: name,\r\n handler: handler,\r\n one: one,\r\n fired: false\r\n });\r\n }\r\n };\r\n\r\n //////////////////////////\r\n // ** Public Methods ** //\r\n //////////////////////////\r\n\r\n /**\r\n * Set default options\r\n * @param options\r\n */\r\n the.setDefaults = function(options) {\r\n defaultOptions = options;\r\n };\r\n\r\n /**\r\n * Check if canvas is shown\r\n * @returns {boolean}\r\n */\r\n the.isShown = function() {\r\n return Plugin.isShown();\r\n };\r\n\r\n /**\r\n * Set to hide the canvas\r\n */\r\n the.hide = function() {\r\n return Plugin.hide();\r\n };\r\n\r\n /**\r\n * Set to show the canvas\r\n */\r\n the.show = function() {\r\n return Plugin.show();\r\n };\r\n\r\n /**\r\n * Attach event\r\n * @param name\r\n * @param handler\r\n */\r\n the.on = function(name, handler) {\r\n return Plugin.addEvent(name, handler);\r\n };\r\n\r\n /**\r\n * Attach event that will be fired once\r\n * @param name\r\n * @param handler\r\n */\r\n the.one = function(name, handler) {\r\n return Plugin.addEvent(name, handler, true);\r\n };\r\n\r\n ///////////////////////////////\r\n // ** Plugin Construction ** //\r\n ///////////////////////////////\r\n\r\n // Run plugin\r\n Plugin.construct.apply(the, [options]);\r\n\r\n // Init done\r\n init = true;\r\n\r\n // Return plugin instance\r\n return the;\r\n};\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTOffcanvas;\r\n}\r\n\r\nexport default KTOffcanvas;","import { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\n\r\nexport default [\r\n {\r\n id: 1,\r\n username: \"admin\",\r\n password: \"demo\",\r\n email: \"admin@demo.com\",\r\n accessToken: \"access-token-8f3ae836da744329a6f93bf20594b5cc\",\r\n refreshToken: \"access-token-f8c137a2c98743f48b643e71161d90aa\",\r\n roles: [1], // Administrator\r\n pic: toAbsoluteUrl(\"/media/users/300_21.jpg\"),\r\n fullname: \"Sean S\",\r\n firstname: \"Sean\",\r\n lastname: \"Stark\",\r\n occupation: \"CEO\",\r\n companyName: \"Keenthemes\",\r\n phone: \"456669067890\",\r\n language: \"en\",\r\n timeZone: \"International Date Line West\",\r\n website: \"https://keenthemes.com\",\r\n emailSettings: {\r\n emailNotification: true,\r\n sendCopyToPersonalEmail: false,\r\n activityRelatesEmail: {\r\n youHaveNewNotifications: false,\r\n youAreSentADirectMessage: false,\r\n someoneAddsYouAsAsAConnection: true,\r\n uponNewOrder: false,\r\n newMembershipApproval: false,\r\n memberRegistration: true,\r\n },\r\n updatesFromKeenthemes: {\r\n newsAboutKeenthemesProductsAndFeatureUpdates: false,\r\n tipsOnGettingMoreOutOfKeen: false,\r\n thingsYouMissedSindeYouLastLoggedIntoKeen: true,\r\n newsAboutMetronicOnPartnerProductsAndOtherServices: true,\r\n tipsOnMetronicBusinessProducts: true,\r\n },\r\n },\r\n communication: {\r\n email: true,\r\n sms: true,\r\n phone: false,\r\n },\r\n address: {\r\n addressLine: \"L-12-20 Vertex, Cybersquare\",\r\n city: \"San Francisco\",\r\n state: \"California\",\r\n postCode: \"45000\",\r\n },\r\n socialNetworks: {\r\n linkedIn: \"https://linkedin.com/admin\",\r\n facebook: \"https://facebook.com/admin\",\r\n twitter: \"https://twitter.com/admin\",\r\n instagram: \"https://instagram.com/admin\",\r\n },\r\n },\r\n {\r\n id: 2,\r\n username: \"user\",\r\n password: \"demo\",\r\n email: \"user@demo.com\",\r\n accessToken: \"access-token-6829bba69dd3421d8762-991e9e806dbf\",\r\n refreshToken: \"access-token-f8e4c61a318e4d618b6c199ef96b9e55\",\r\n roles: [2], // Manager\r\n pic: toAbsoluteUrl(\"/media/users/100_2.jpg\"),\r\n fullname: \"Megan F\",\r\n firstname: \"Megan\",\r\n lastname: \"Fox\",\r\n occupation: \"Deputy Head of Keenthemes in New York office\",\r\n companyName: \"Keenthemes\",\r\n phone: \"456669067891\",\r\n language: \"en\",\r\n timeZone: \"International Date Line West\",\r\n communication: {\r\n email: true,\r\n sms: true,\r\n phone: false,\r\n },\r\n emailSettings: {\r\n emailNotification: true,\r\n sendCopyToPersonalEmail: false,\r\n activityRelatesEmail: {\r\n youHaveNewNotifications: false,\r\n youAreSentADirectMessage: false,\r\n someoneAddsYouAsAsAConnection: true,\r\n uponNewOrder: false,\r\n newMembershipApproval: false,\r\n memberRegistration: true,\r\n },\r\n updatesFromKeenthemes: {\r\n newsAboutKeenthemesProductsAndFeatureUpdates: false,\r\n tipsOnGettingMoreOutOfKeen: false,\r\n thingsYouMissedSindeYouLastLoggedIntoKeen: true,\r\n newsAboutMetronicOnPartnerProductsAndOtherServices: true,\r\n tipsOnMetronicBusinessProducts: true,\r\n },\r\n },\r\n address: {\r\n addressLine: \"3487 Ingram Road\",\r\n city: \"Greensboro\",\r\n state: \"North Carolina\",\r\n postCode: \"27409\",\r\n },\r\n socialNetworks: {\r\n linkedIn: \"https://linkedin.com/user\",\r\n facebook: \"https://facebook.com/user\",\r\n twitter: \"https://twitter.com/user\",\r\n instagram: \"https://instagram.com/user\",\r\n },\r\n },\r\n {\r\n id: 3,\r\n username: \"guest\",\r\n password: \"demo\",\r\n email: \"guest@demo.com\",\r\n accessToken: \"access-token-d2dff7b82f784de584b60964abbe45b9\",\r\n refreshToken: \"access-token-c999ccfe74aa40d0aa1a64c5e620c1a5\",\r\n roles: [3], // Guest\r\n pic: toAbsoluteUrl(\"/media/users/default.jpg\"),\r\n fullname: \"Manu G\",\r\n firstname: \"Manu\",\r\n lastname: \"Ginobili\",\r\n occupation: \"CFO\",\r\n companyName: \"Keenthemes\",\r\n phone: \"456669067892\",\r\n language: \"en\",\r\n timeZone: \"International Date Line West\",\r\n communication: {\r\n email: true,\r\n sms: true,\r\n phone: false,\r\n },\r\n emailSettings: {\r\n emailNotification: true,\r\n sendCopyToPersonalEmail: false,\r\n activityRelatesEmail: {\r\n youHaveNewNotifications: false,\r\n youAreSentADirectMessage: false,\r\n someoneAddsYouAsAsAConnection: true,\r\n uponNewOrder: false,\r\n newMembershipApproval: false,\r\n memberRegistration: true,\r\n },\r\n updatesFromKeenthemes: {\r\n newsAboutKeenthemesProductsAndFeatureUpdates: false,\r\n tipsOnGettingMoreOutOfKeen: false,\r\n thingsYouMissedSindeYouLastLoggedIntoKeen: true,\r\n newsAboutMetronicOnPartnerProductsAndOtherServices: true,\r\n tipsOnMetronicBusinessProducts: true,\r\n },\r\n },\r\n address: {\r\n addressLine: \"1467 Griffin Street\",\r\n city: \"Phoenix\",\r\n state: \"Arizona\",\r\n postCode: \"85012\",\r\n },\r\n socialNetworks: {\r\n linkedIn: \"https://linkedin.com/guest\",\r\n facebook: \"https://facebook.com/guest\",\r\n twitter: \"https://twitter.com/guest\",\r\n instagram: \"https://instagram.com/guest\",\r\n },\r\n },\r\n];\r\n","import {\r\n LOGIN_URL,\r\n ME_URL,\r\n REGISTER_URL,\r\n REQUEST_PASSWORD_URL\r\n} from \"../_redux/authCrud\";\r\nimport userTableMock from \"./userTableMock\";\r\nimport Swal from \"sweetalert2\";\r\nconst BASE_URL = process.env.REACT_APP_BASE_URL;\r\n\r\nexport default function mockAuth(mock) {\r\n\r\n\r\n mock.onPost(LOGIN_URL).reply(({ data }) => {\r\n \r\n const { email, password } = JSON.parse(data);\r\n\r\n return fetch(`${BASE_URL}/api/Account/Token`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n },\r\n Allow: \"POST\",\r\n body: JSON.stringify({\r\n username: email,\r\n password: password,\r\n }),\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n var dataUser = data[1];\r\n localStorage.removeItem(\"tnsApp\");\r\n localStorage.removeItem(\"tC\");\r\n localStorage.removeItem(\"tPL\");\r\n localStorage.removeItem(\"tMQ\");\r\n localStorage.removeItem(\"tTf\");\r\n localStorage.removeItem(\"t3D\");\r\n localStorage.removeItem(\"tTDu\");\r\n localStorage.removeItem(\"tTDe\");\r\n localStorage.removeItem(\"tADu\");\r\n localStorage.removeItem(\"tADe\");\r\n localStorage.removeItem(\"tTE\");\r\n localStorage.removeItem(\"tAE\");\r\n localStorage.setItem(\"user\", JSON.stringify(data[1]));\r\n localStorage.setItem(\"sendingTimeZone\", dataUser?.sendingTimeZone);\r\n localStorage.setItem(\"sendingTimeZoneValue\", dataUser?.sendingTimeZoneValue);\r\n\r\n localStorage.setItem(\"ProfilePicture\", data[1].profilePicture?.toString());\r\n localStorage.setItem(\r\n \"dateFormat\",\r\n data[1]?.dateFormat !== null &&\r\n data[1]?.dateFormat !== undefined &&\r\n data[1]?.dateFormat !== \"\"\r\n ? data[1]?.dateFormat\r\n : \"DD/MM/YYYY\"\r\n );\r\n if(data[1].roles[0]==\"Super Admin\"){localStorage.setItem(\"IconShow\",false)}else{localStorage.setItem(\"IconShow\",\"\")};\r\n localStorage.setItem(\"UserEmail\",email)\r\n \r\n const user = {\r\n accessToken: \"access-token-8f3ae836da744329a6f93bf20594b5cc\",\r\n refreshToken: \"access-token-f8c137a2c98743f48b643e71161d90aa\",\r\n };\r\n if (user) {\r\n return [200, { ...user, password: undefined }];\r\n }\r\n } else if (data[0] === 400 && data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n return [400];\r\n } else if (data[0] === 400 && data[1].errors) {\r\n for (const [key, value] of Object.entries(data[1].errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n return [400];\r\n }\r\n })\r\n .catch((error) => {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n console.log(error);\r\n return [400];\r\n });\r\n });\r\n\r\n mock.onPost(REGISTER_URL).reply(({ data }) => {\r\n const { email, fullname, username, password } = JSON.parse(data);\r\n\r\n if (email && fullname && username && password) {\r\n const user = {\r\n id: generateUserId(),\r\n email,\r\n fullname,\r\n username,\r\n password,\r\n roles: [2], // Manager\r\n accessToken: \"access-token-\" + Math.random(),\r\n refreshToken: \"access-token-\" + Math.random(),\r\n pic: process.env.PUBLIC_URL + \"/media/users/default.jpg\"\r\n };\r\n\r\n userTableMock.push(user);\r\n\r\n return [200, { ...user, password: undefined }];\r\n }\r\n\r\n return [400];\r\n });\r\n\r\n mock.onPost(REQUEST_PASSWORD_URL).reply(({ data }) => {\r\n const { email } = JSON.parse(data);\r\n\r\n if (email) {\r\n const user = userTableMock.find(\r\n x => x.email.toLowerCase() === email.toLowerCase()\r\n );\r\n\r\n if (user) {\r\n user.password = undefined;\r\n\r\n return [200, { ...user, password: undefined }];\r\n }\r\n }\r\n\r\n return [400];\r\n });\r\n\r\n mock.onGet(ME_URL).reply(({ headers: { Authorization } }) => {\r\n const accessToken =\r\n Authorization &&\r\n Authorization.startsWith(\"Bearer \") &&\r\n Authorization.slice(\"Bearer \".length);\r\n\r\n if (accessToken) {\r\n const user = userTableMock.find(x => x.accessToken === accessToken);\r\n\r\n if (user) {\r\n return [200, { ...user, password: undefined }];\r\n }\r\n }\r\n\r\n return [401];\r\n });\r\n\r\n function generateUserId() {\r\n const ids = userTableMock.map(el => el.id);\r\n const maxId = Math.max(...ids);\r\n return maxId + 1;\r\n }\r\n \r\n}\r\n","import {all} from \"redux-saga/effects\";\r\nimport {combineReducers} from \"redux\";\r\n\r\nimport * as auth from \"../app/modules/Auth/_redux/authRedux\";\r\n\r\nexport const rootReducer = combineReducers({\r\n auth: auth.reducer,\r\n});\r\n\r\nexport function* rootSaga() {\r\n yield all([auth.saga()]);\r\n}\r\n","import {configureStore, getDefaultMiddleware} from \"@reduxjs/toolkit\";\r\nimport createSagaMiddleware from \"redux-saga\";\r\nimport {reduxBatch} from \"@manaflair/redux-batch\";\r\nimport {persistStore} from \"redux-persist\";\r\nimport {rootReducer, rootSaga} from \"./rootReducer\";\r\n\r\nconst sagaMiddleware = createSagaMiddleware();\r\nconst middleware = [\r\n ...getDefaultMiddleware({\r\n immutableCheck: false,\r\n serializableCheck: false,\r\n thunk: true\r\n }),\r\n sagaMiddleware\r\n];\r\n\r\nconst store = configureStore({\r\n reducer: rootReducer,\r\n middleware,\r\n devTools: process.env.NODE_ENV !== \"production\",\r\n enhancers: [reduxBatch]\r\n});\r\n\r\n/**\r\n * @see https://github.com/rt2zz/redux-persist#persiststorestore-config-callback\r\n * @see https://github.com/rt2zz/redux-persist#persistor-object\r\n */\r\nexport const persistor = persistStore(store);\r\n\r\nsagaMiddleware.run(rootSaga);\r\n\r\nexport default store;\r\n","import React, { Component } from 'react';\r\nimport ReactGA from 'react-ga';\r\n\r\n\r\nexport default function withTracker(WrappedComponent, options = {}) {\r\n const trackPage = (page) => {\r\n ReactGA.set({\r\n page,\r\n ...options\r\n });\r\n ReactGA.pageview(page);\r\n };\r\n\r\n const HOC = class extends Component {\r\n componentDidMount() {\r\n const {\r\n location: { pathname: page }\r\n } = this.props;\r\n trackPage(page);\r\n }\r\n\r\n // eslint-disable-next-line camelcase\r\n UNSAFE_componentWillReceiveProps(nextProps) {\r\n const {\r\n location: { pathname: currentPage }\r\n } = this.props;\r\n const nextPage = nextProps.location.pathname;\r\n\r\n if (currentPage !== nextPage) {\r\n trackPage(nextPage);\r\n }\r\n }\r\n\r\n render() {\r\n return ;\r\n }\r\n };\r\n\r\n return HOC;\r\n}","import CKEditor from \"ckeditor4-react\";\r\nimport React, { Fragment, useEffect, useMemo, useState } from \"react\";\r\nimport {\r\n DynamicModal,\r\n ModelStateMessage,\r\n RequiredHtml,\r\n ToggleTrackingOnOff,\r\n apiCall,\r\n replaceValues,\r\n setValueField,\r\n} from \"../../helpers/globals\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../../../_metronic/_partials/controls\";\r\nimport { Col, Form, Row, Spinner, Button, Modal } from \"react-bootstrap\";\r\nimport Select from \"react-select\";\r\nimport Swal from \"sweetalert2\";\r\nimport { useFormik } from \"formik\";\r\nimport * as Yup from \"yup\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport moment from \"moment\";\r\n\r\nexport const BASE_URL = process.env.REACT_APP_BASE_URL;\r\nexport const token =\r\n localStorage?.getItem(\"user\") !== null\r\n ? JSON.parse(localStorage.getItem(\"user\") ?? \"\").token\r\n : \"\";\r\n\r\nconst emailObj = {\r\n templateId: [0],\r\n fromId: 0,\r\n toId: [0],\r\n ccId: [0],\r\n bccId: [0],\r\n subject: \"\",\r\n body: \"\",\r\n};\r\n\r\nconst ReplyModal = (props) => {\r\n const SchemaEmail = Yup.object().shape({});\r\n const [loaderBtn, setLoaderBtn] = useState(false);\r\n const [provider, setprovider] = useState({});\r\n const [datahtml, setdatahtml] = useState({ subject: \"\", body: \"\" });\r\n const [isCC, setisCC] = useState(false);\r\n const [BCCvalue, setBCCvalue] = useState([]);\r\n const [variables, setVariables] = useState([]);\r\n const [CCvalue, setCCvalue] = useState([]);\r\n const [body, setBody] = useState(\"\");\r\n const [dateSent, setDateSent] = useState(new Date());\r\n const [ShowPreview, setShowPreview] = useState(false);\r\n const [trackValues, setTrackValues] = useState({\r\n trackOpen: true,\r\n trackClick: true,\r\n });\r\n useEffect(() => {\r\n if(!props?.modalReply) setBody(\"\")\r\n }, [props]);\r\n const formikEmail = useFormik({\r\n initialValues: emailObj,\r\n enableReinitialize: true,\r\n validationSchema: SchemaEmail,\r\n onSubmit: (values) => {},\r\n });\r\n\r\n const bodyTemplate = useMemo(() => {\r\n return replaceValues(body, variables);\r\n }, [body, variables]);\r\n\r\n useEffect(() => {\r\n if (props?.modalReply && !!props?.item?.contactId) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetVariables?contactId=${props?.item?.contactId}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setVariables(dataResult[1]?.variables || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n }, [props?.modalReply, props.item.contactId]);\r\n\r\n return (\r\n
\r\n {props?.modalReply && (\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n
\r\n props?.setModalReply(false)}\r\n className=\"float-right\"\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n \r\n \r\n Template\r\n \r\n {\r\n return {\r\n value: x?.id,\r\n label: x?.name,\r\n };\r\n })}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"templateId\"\r\n value={(\r\n props?.viewModelCompanies?.templates ?? []\r\n ).find(\r\n (obj) =>\r\n obj.value ===\r\n formikEmail?.values?.templateId[0]\r\n )}\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"templateId\", [\r\n e.value,\r\n ]);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n var obj = { ...datahtml };\r\n obj.subject = data[1].subject;\r\n // setSubject(data[1].subject);\r\n setBody(data[1].body);\r\n setdatahtml(obj);\r\n\r\n formikEmail.setFieldValue(\r\n \"subject\",\r\n data[1].subject\r\n );\r\n formikEmail.setFieldValue(\r\n \"body\",\r\n data[1].body\r\n );\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n \r\n From\r\n \r\n {\r\n const label =\r\n a.businessId === null\r\n ? `${a.name}`\r\n : a.name;\r\n\r\n const displayLabel = a.isExpired\r\n ? `${label} - Expired`\r\n : label;\r\n\r\n return {\r\n value: a.id,\r\n label: displayLabel,\r\n isDisabled: a.isExpired,\r\n };\r\n })}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"fromId\"\r\n value={\r\n !!props?.item?.provider\r\n ? {\r\n value: (\r\n props?.viewModelCompanies\r\n ?.providers ?? []\r\n ).find(\r\n (obj) =>\r\n obj.name === props?.item?.provider\r\n )?.id,\r\n label: props?.item?.provider,\r\n }\r\n : (\r\n props?.viewModelCompanies?.providers ??\r\n []\r\n ).find(\r\n (obj) =>\r\n obj.value ===\r\n formikEmail?.values?.fromId\r\n )\r\n }\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"fromId\", e.value);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Providers/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setprovider(data[1].provider);\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n \r\n To\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n Sent Date\r\n \r\n setDateSent(date)}\r\n showTimeSelect\r\n className=\"form-control\"\r\n timeFormat=\"h:mm aa\"\r\n dateFormat=\"MM/dd/yyyy h:mm aa\"\r\n />\r\n \r\n
\r\n
\r\n {/* \r\n
\r\n {\r\n setisCC((x) => !x);\r\n }}\r\n >\r\n {\" \"}\r\n CC && BCC\r\n \r\n
\r\n */}\r\n\r\n {isCC && (\r\n <>\r\n \r\n \r\n \r\n CC\r\n \r\n {\r\n return {\r\n value: x?.contactId,\r\n label: `${x?.firstName} ${x?.lastName}`,\r\n };\r\n })}\r\n value={CCvalue}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"ccId\"\r\n onChange={(e) => {\r\n setCCvalue(e);\r\n let result = e.map((a) => a.value);\r\n formikEmail.setFieldValue(\"ccId\", result);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n BCC\r\n \r\n {\r\n return {\r\n value: x?.contactId,\r\n label: `${x?.firstName} ${x?.lastName}`,\r\n };\r\n })}\r\n value={BCCvalue}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"bccId\"\r\n onChange={(e) => {\r\n setBCCvalue(e);\r\n let result = e.map((a) => a.value);\r\n formikEmail.setFieldValue(\r\n \"bccId\",\r\n result\r\n );\r\n }}\r\n />\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n
\r\n Re: {props?.item?.subject}\r\n
\r\n \r\n
\r\n\r\n {/* Second row */}\r\n \r\n \r\n \r\n {variables?.length > 0 && (\r\n {\r\n setBody(event?.editor?.getData());\r\n formikEmail.setFieldValue(\r\n \"body\",\r\n event?.editor?.getData()\r\n );\r\n }}\r\n config={{\r\n versionCheck: false,\r\n extraPlugins: \"uploadimage,autolink\",\r\n filebrowserUploadUrl: `${BASE_URL}/api/Generic/uploadCK?isckEditor=true`,\r\n fileTools_requestHeaders: {\r\n \"X-Requested-With\": \"XMLHttpRequest\",\r\n Authorization: `Bearer ${token}`,\r\n },\r\n }}\r\n onPluginsLoaded={(args) => {\r\n const editor = args.editor;\r\n editor.ui.addRichCombo(\"my-combo\", {\r\n label: \"Add variables\",\r\n title: \"Add variables\",\r\n toolbar: \"basicstyles,0\",\r\n className: \"CkeATClass\",\r\n panel: {\r\n // css: [ CKEDITOR.skin.getPath( 'editor' ) ].concat( config.contentsCss ),\r\n css: [\r\n \"https://cdn.ckeditor.com/4.16.2/standard-all/skins/moono-lisa/editor.css?t=L7C8\",\r\n \"https://cdn.ckeditor.com/4.4.0/standard/contents.css?t=E3OD\",\r\n \"./styles.css\",\r\n ],\r\n multiSelect: false,\r\n attributes: {\r\n \"aria-label\": \"Merge Codes\",\r\n },\r\n },\r\n init: function() {\r\n (variables ?? []).forEach((x) => {\r\n this.add(x?.name, x?.name);\r\n });\r\n },\r\n onClick: function(value) {\r\n editor.focus();\r\n editor.fire(\"saveSnapshot\");\r\n editor.insertHtml(value);\r\n editor.fire(\"saveSnapshot\");\r\n },\r\n });\r\n }}\r\n />\r\n )}\r\n \r\n\r\n \r\n {ShowPreview && (\r\n \r\n \r\n
\r\n
\r\n Subject:\r\n
\r\n \r\n {replaceValues(\r\n props?.item?.subject,\r\n variables\r\n )}\r\n \r\n\r\n
\r\n Body\r\n
\r\n \r\n\r\n {!!provider?.signature && (\r\n <>\r\n \r\n \r\n )}\r\n
\r\n \r\n
\r\n )}\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackOpen\"\r\n )\r\n }\r\n label=\"Track open\"\r\n name=\"trackOpen\"\r\n />\r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackClick\"\r\n )\r\n }\r\n label=\"Track click\"\r\n name=\"trackClick\"\r\n />\r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n e.preventDefault();\r\n props?.setModalReply(false);\r\n }}\r\n >\r\n Close\r\n \r\n {\r\n setShowPreview((x) => !x);\r\n }}\r\n >\r\n {\" \"}\r\n Preview\r\n \r\n {\r\n e.preventDefault();\r\n if (!!body === false) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Body is required\",\r\n });\r\n return false;\r\n }\r\n setLoaderBtn(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Sending/Reply`,\r\n data: {\r\n reportId: props?.item?.id,\r\n body: body,\r\n trackOpen: trackValues.trackOpen ?? true,\r\n trackClick: trackValues.trackClick ?? true,\r\n date: moment(dateSent, \"YYYY-MM-DD[T]HH:mm\"),\r\n },\r\n }).then((data) => {\r\n setLoaderBtn(false);\r\n if (data[0] === 200) {\r\n props?.setModalReply(false);\r\n props?.handleGetUbniBox();\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text: \"Email has been sent successfully\",\r\n });\r\n // setshowEmails(false);\r\n } else {\r\n ModelStateMessage(data);\r\n setLoaderBtn(false);\r\n }\r\n });\r\n }}\r\n >\r\n Reply now\r\n {loaderBtn && (\r\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 ReplyModal;\r\n","import React, { Fragment, useEffect, useMemo, useState } from \"react\";\r\nimport {\r\n ConvertToDateCurrentTimeZoneV2,\r\n DynamicModal,\r\n ModelStateMessage,\r\n apiCall,\r\n createMarkup,\r\n getFromatdate,\r\n replaceValues,\r\n} from \"../../helpers/globals\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Creatable from \"react-select/creatable\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../../../_metronic/_partials/controls\";\r\nimport { Button, Col, Dropdown, Form, Modal, Row, Spinner } from \"react-bootstrap\";\r\nimport moment from \"moment\";\r\nimport ReplyForm from \"../EmailCampaigns/Box/replyForm\";\r\nimport Swal from \"sweetalert2\";\r\nimport InputSpinner from \"react-bootstrap-input-spinner\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\n\r\nconst InboxDetails = (props) => {\r\n const [loaderDetail, setLoaderDetail] = useState(true);\r\n const [contacts, setContacts] = useState([]);\r\n const [variables, setVariables] = useState([]);\r\n const [viewModelCompanies, setViewModelCompanies] = useState([]);\r\n const [currentRow, setCurrentRow] = useState(null);\r\n const [replyForm, setReplyForm] = useState(false);\r\n const [loaderRefresh, setLoaderRefresh] = useState(false);\r\n const [loaderRefreshMain, setLoaderRefreshMain] = useState(false);\r\n const [viewModel, setViewModel] = useState([]);\r\n const [LoadingForwardEmail, setLoadingForwardEmail] = useState(false);\r\n const [activeStatusReply, setActiveStatusReply] = useState(\"\");\r\n const [forwardObjectData, setforwardObjectData] = useState({\r\n reportId: null,\r\n providerId: null,\r\n toEmails: [],\r\n date: moment(),\r\n });\r\n const [SpinnerValue, setSpinnerValue] = useState(null);\r\n const [show, setShow] = useState(false);\r\n\r\n const [list, setList] = useState([]);\r\n const [pushing, setPushing] = useState(false);\r\n const [showForwardEmail, setshowForwardEmail] = useState(false);\r\n const bodyTemplate = useMemo(() => {\r\n return (\r\n \r\n
\r\n
\r\n \r\n \r\n {!!currentRow?.replyDate\r\n ? moment(\r\n ConvertToDateCurrentTimeZoneV2(currentRow?.replyDate)\r\n ).format(getFromatdate() + \" hh:mm A\")\r\n : \"\"}\r\n \r\n
\r\n {currentRow?.bounce ? (\r\n \"\"\r\n ) : (\r\n
\r\n \r\n \r\n {`${currentRow?.firstName} ${currentRow?.lastName}`}{\" \"}\r\n \r\n {currentRow?.toEmail && (\r\n \r\n {\"<\"}\r\n {`${currentRow?.toEmail}`}\r\n {\">\"}\r\n \r\n )}\r\n
\r\n )}\r\n
\r\n \r\n {currentRow?.provider ?? \"-\"}\r\n
\r\n
\r\n \r\n {replaceValues(currentRow?.subject ?? \"-\", variables)}\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n {currentRow?.attachments.map((x) => {\r\n return `
\r\n \r\n ${\r\n x?.fileName?.endsWith(\".png\") ||\r\n x?.fileName?.endsWith(\".jpg\") ||\r\n x?.fileName?.endsWith(\".jpeg\")\r\n ? ``\r\n : x?.fileName?.endsWith(\".pdf\")\r\n ? ``\r\n : x?.fileName?.endsWith(\".docx\")\r\n ? ``\r\n : x?.fileName?.endsWith(\".xlsx\")\r\n ? ``\r\n : x?.fileName?.endsWith(\".csv\")\r\n ? ``\r\n : ``\r\n }\r\n ${\r\n x?.fileName?.length > 10\r\n ? x?.fileName?.substring(0, 10) + \"...\"\r\n : x?.fileName\r\n }\r\n \r\n
`;\r\n })}\r\n
\r\n
\r\n );\r\n }, [currentRow, variables]);\r\n\r\n const bodyTemplateReplied = useMemo(() => {\r\n return !!currentRow?.reply && currentRow?.reply?.length > 0\r\n ? currentRow?.reply\r\n ?.map(\r\n (x, i) =>\r\n `
\r\n ${\r\n !!x?.replaceBody === false\r\n ? `\r\n Message has been queued and will be sent shortly...\r\n `\r\n : \"\"\r\n }\r\n ${\r\n x?.isReply\r\n ? `
\r\n \r\n ${moment(ConvertToDateCurrentTimeZoneV2(x?.replyDate)).format(\r\n getFromatdate() + \" hh:mm A\"\r\n )}\r\n
`\r\n : \"\"\r\n }\r\n
\r\n \r\n ${x?.provider}\r\n
\r\n
\r\n \r\n ${x?.contactFirstName ?? \"-\"} ${x?.contactLastName ?? \"-\"}\r\n
\r\n
\r\n ${replaceValues(x?.replyBody, variables)}\r\n
\r\n
`\r\n )\r\n .join(\"\")\r\n : \"\";\r\n }, [currentRow, variables]);\r\n\r\n useEffect(() => {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Companies/GetViewModel`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setViewModelCompanies(data[1]);\r\n }\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/GetViewModel`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setViewModel(data[1]);\r\n }\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (!!props?.compainId) {\r\n apiCall({\r\n method: \"GET\",\r\n link: props?.isCompany\r\n ? `/api/Contacts/ContactsDropDown?CompanyId=${props?.compainId}&pageNumber=1&pageSize=10000&sortOrder=desc`\r\n : `/api/Campaigns/GetContactIdsByCampain?campaignId=${props?.compainId}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setContacts(dataResult[1] || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n }, [props.compainId]);\r\n\r\n async function getDataItem(id) {\r\n await apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/EmailDetails/${id}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setCurrentRow(dataResult[1] ?? null);\r\n setLoaderDetail(false);\r\n setActiveStatusReply(dataResult[1]?.replyType);\r\n }\r\n } catch (err) {\r\n setLoaderDetail(false);\r\n }\r\n });\r\n }\r\n\r\n function getClassNameActive(isValid) {\r\n return isValid ? \"btn-primary\" : \"btn-light-primary\";\r\n }\r\n const handlePushToHubspot = () => {\r\n setPushing(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Integrations/hubspot/note/${currentRow?.id}`,\r\n data: {\r\n note: \"\",\r\n },\r\n }).then((data) => {\r\n if (data[0] === 200 && data[1]?.length === 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"Reply added Successfully\",\r\n icon: \"success\",\r\n showConfirmButton: false,\r\n timer: 1500,\r\n });\r\n } else if (data[0] === 200 && data[1]?.length > 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Info\",\r\n text: data[1],\r\n icon: \"info\",\r\n confirmButtonText: \"Ok\",\r\n });\r\n } else if (data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n setPushing(false);\r\n } else if (data[0] === 400 && data[1]) {\r\n Swal.fire({\r\n icon: \"info\",\r\n title: \"Oops...\",\r\n text: data[1],\r\n });\r\n setPushing(false);\r\n } else if (data[0] !== 200) {\r\n let tt = JSON.parse(data[1]);\r\n setPushing(false);\r\n for (const [key, value] of Object.entries(tt.errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n }\r\n });\r\n };\r\n const handleGetList = async () => {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Integrations/list`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setList(data[1]);\r\n }\r\n });\r\n };\r\n const handlePushToPipeDrive = () => {\r\n setPushing(true);\r\n const data = {\r\n ids: 784,\r\n };\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Integrations/pipedrive/note/${currentRow?.id}`,\r\n data: data,\r\n }).then((data) => {\r\n if (data[0] === 200 && data[1]?.length === 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"reply added Successfully\",\r\n icon: \"success\",\r\n showConfirmButton: false,\r\n timer: 1500,\r\n });\r\n } else if (data[0] === 200 && data[1]?.length > 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Info\",\r\n text: data[1],\r\n icon: \"info\",\r\n confirmButtonText: \"Ok\",\r\n });\r\n } else if (data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n setPushing(false);\r\n } else if (data[0] === 400 && data[1]) {\r\n Swal.fire({\r\n icon: \"info\",\r\n title: \"Oops...\",\r\n text: data[1],\r\n });\r\n setPushing(false);\r\n } else if (data[0] !== 200) {\r\n let tt = JSON.parse(data[1]);\r\n setPushing(false);\r\n for (const [key, value] of Object.entries(tt.errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n }\r\n });\r\n };\r\n const handlePushToSalesForce = () => {\r\n setPushing(true);\r\n const data = {\r\n ids: 784,\r\n };\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Integrations/salesforce/note/${currentRow?.id}`,\r\n data: data,\r\n }).then((data) => {\r\n if (data[0] === 200 && data[1]?.length === 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"reply added Successfully\",\r\n icon: \"success\",\r\n showConfirmButton: false,\r\n timer: 1500,\r\n });\r\n } else if (data[0] === 200 && data[1]?.length > 0) {\r\n setPushing(false);\r\n Swal.fire({\r\n title: \"Info\",\r\n text: data[1],\r\n icon: \"info\",\r\n confirmButtonText: \"Ok\",\r\n });\r\n } else if (data[0] === 400 && data[1]) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1],\r\n });\r\n setPushing(false);\r\n } else if (data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n setPushing(false);\r\n } else if (data[0] !== 200) {\r\n let tt = JSON.parse(data[1]);\r\n setPushing(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: tt[0].errorCode,\r\n });\r\n }\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n handleGetList();\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (!!props?.id) {\r\n getDataItem(!!currentIdDetails === true ? currentIdDetails : props?.id);\r\n }\r\n }, [props, currentIdDetails]);\r\n\r\n useEffect(() => {\r\n if (props?.toggleModal && !!currentRow?.contactId) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetVariables?contactId=${currentRow?.contactId}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setVariables(dataResult[1]?.variables || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n }, [props?.toggleModal, currentRow]);\r\n const handlDeletReplay = () => {\r\n console.log(\"🚀 ~ handlDeletReplay ~ currentRow:\", currentRow)\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Campaigns/RemoveReply`,\r\n data: {\r\n reportId: currentRow?.id,\r\n continued: true,\r\n numberOfDays: SpinnerValue,\r\n },\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setShow(false);\r\n setSpinnerValue(7);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"Step resend successfully\",\r\n icon: \"success\",\r\n confirmButtonText: \"Ok\",\r\n });\r\n } else if (data[0] === 400 && data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 402) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Payment Required \",\r\n });\r\n }\r\n });\r\n };\r\n const [currentIdDetails, setCurrentIdDetails] = useState(null);\r\n const handleKeyDown = async (event) => {\r\n // Check for the left arrow key\r\n if (event.key === 'ArrowLeft') {\r\n var myArray = props?.dataTable?.inbox;\r\n const currentIndex = myArray.findIndex(item => item.id === currentRow?.id);\r\n\r\n if (currentIndex !== -1) {\r\n // Get the next and previous objects based on the current index\r\n const previousIndex = (currentIndex - 1 + myArray.length) % myArray.length;\r\n\r\n const previousItem = myArray[previousIndex];\r\n setCurrentIdDetails(previousItem?.id);\r\n await getDataItem(previousItem?.id);\r\n }\r\n }\r\n\r\n // Check for the right arrow key\r\n if (event.key === 'ArrowRight') {\r\n var myArray2 = props?.dataTable?.inbox;\r\n const currentIndex = myArray2.findIndex(item => item.id === currentRow?.id);\r\n\r\n if (currentIndex !== -1) {\r\n // Get the next and previous objects based on the current index\r\n const nextIndex = (currentIndex + 1) % myArray2.length;\r\n\r\n const nextItem = myArray2[nextIndex];\r\n setCurrentIdDetails(nextItem?.id);\r\n\r\n await getDataItem(nextItem?.id);\r\n }\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n // Attach the event listener when the component mounts\r\n window.addEventListener('keydown', handleKeyDown);\r\n\r\n // Detach the event listener when the component unmounts\r\n return () => {\r\n window.removeEventListener('keydown', handleKeyDown);\r\n };\r\n }, [props, currentRow]);\r\n return (\r\n <>\r\n \r\n \r\n \r\n
\r\n false}\r\n onClick={() => props?.setToggleModal(false)}\r\n className=\"float-right\"\r\n >\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n \r\n Previous\r\n \r\n }\r\n >\r\n \r\n\r\n false}\r\n className=\"\"\r\n onClick={async (e) => {\r\n e.preventDefault();\r\n var myArray = props?.dataTable?.inbox;\r\n const currentIndex = myArray.findIndex(item => item.id === currentRow?.id);\r\n\r\n if (currentIndex !== -1) {\r\n // Get the next and previous objects based on the current index\r\n const previousIndex = (currentIndex - 1 + myArray.length) % myArray.length;\r\n\r\n const previousItem = myArray[previousIndex];\r\n setCurrentIdDetails(previousItem?.id);\r\n\r\n await getDataItem(previousItem?.id);\r\n }\r\n }}>\r\n \r\n \r\n\r\n \r\n \r\n \r\n {loaderDetail ? (\r\n
\r\n
\r\n

Loading

\r\n \r\n
\r\n
\r\n ) : (\r\n \r\n
{bodyTemplate}
\r\n
\r\n
\r\n {\r\n setShow(true);\r\n }}\r\n >\r\n \r\n\r\n Resend step\r\n \r\n {replyForm ? (\r\n {\r\n e.preventDefault();\r\n setReplyForm(false);\r\n }}\r\n >\r\n \r\n Close\r\n \r\n ) : (\r\n {\r\n e.preventDefault();\r\n setReplyForm(true);\r\n setTimeout(() => {\r\n try {\r\n document\r\n .getElementById(\"bottomContent\")\r\n .scrollIntoView({ behavior: \"smooth\" });\r\n } catch (err) {}\r\n }, 300);\r\n }}\r\n >\r\n \r\n Reply\r\n \r\n )}\r\n {showForwardEmail === true ? (\r\n {\r\n e.preventDefault();\r\n setforwardObjectData({\r\n reportId: null,\r\n providerId: null,\r\n toEmails: [],\r\n date: moment(),\r\n });\r\n setshowForwardEmail(false);\r\n }}\r\n >\r\n \r\n Close\r\n \r\n ) : (\r\n {\r\n setshowForwardEmail(true);\r\n setReplyForm(false);\r\n }}\r\n >\r\n \r\n Forward\r\n \r\n )}\r\n {\r\n e.preventDefault();\r\n setLoaderRefresh(true);\r\n await getDataItem(currentRow?.id);\r\n setLoaderRefresh(false);\r\n }}\r\n >\r\n {!loaderRefresh && (\r\n \r\n )}\r\n Refresh\r\n {loaderRefresh && (\r\n \r\n )}\r\n \r\n {pushing ? (\r\n \r\n \r\n \r\n Pushing...\r\n \r\n \r\n ) : (\r\n \r\n \r\n \r\n Push to CRM\r\n \r\n \r\n {list?.map(\r\n (item, index) =>\r\n item?.title === \"HubSpot\" &&\r\n item?.active && (\r\n {\r\n handlePushToHubspot();\r\n }}\r\n >\r\n \r\n Push to HubSpot\r\n \r\n )\r\n )}\r\n {list?.map(\r\n (item, index) =>\r\n item?.title === \"PipeDrive\" &&\r\n item?.active && (\r\n {\r\n handlePushToPipeDrive();\r\n }}\r\n >\r\n \r\n Push to PipeDrive\r\n \r\n )\r\n )}\r\n {list?.map(\r\n (item, index) =>\r\n item?.title === \"SalesForce\" &&\r\n item.active && (\r\n {\r\n handlePushToSalesForce();\r\n }}\r\n >\r\n \r\n Push to Salesforce\r\n \r\n )\r\n )}\r\n \r\n \r\n )}\r\n
\r\n
\r\n \r\n
\r\n {!!props?.dataTable?.replyTypes &&\r\n props?.dataTable.replyTypes.length > 0 &&\r\n props?.dataTable.replyTypes\r\n .slice(0, 4)\r\n .map((x, i) => (\r\n \r\n {\r\n e.preventDefault();\r\n setActiveStatusReply(x?.name);\r\n // setLoaderBtn(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Campaigns/ClassifyType`,\r\n data: {\r\n id: currentRow?.id,\r\n type: x?.name,\r\n },\r\n }).then((data) => {\r\n // setLoaderBtn(false);\r\n if (data[0] === 200) {\r\n // setToggleModal(false)\r\n setLoaderRefreshMain(true);\r\n props?.handleGetUbniBox();\r\n setLoaderRefreshMain(false);\r\n\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n });\r\n } else {\r\n ModelStateMessage(data);\r\n // setLoaderBtn(false);\r\n }\r\n });\r\n }}\r\n >\r\n {x?.name}\r\n \r\n \r\n ))}\r\n
\r\n
\r\n {!!props?.dataTable?.replyTypes &&\r\n props?.dataTable.replyTypes.length > 0 &&\r\n props?.dataTable.replyTypes\r\n .slice(4)\r\n .map((x, i) => (\r\n \r\n {\r\n e.preventDefault();\r\n setActiveStatusReply(x?.name);\r\n // setLoaderBtn(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Campaigns/ClassifyType`,\r\n data: {\r\n id: currentRow?.id,\r\n type: x?.name,\r\n },\r\n }).then((data) => {\r\n // setLoaderBtn(false);\r\n if (data[0] === 200) {\r\n // setToggleModal(false)\r\n setLoaderRefreshMain(true);\r\n props?.handleGetUbniBox();\r\n setLoaderRefreshMain(false);\r\n\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n });\r\n } else {\r\n ModelStateMessage(data);\r\n // setLoaderBtn(false);\r\n }\r\n });\r\n }}\r\n >\r\n {x?.name}\r\n \r\n \r\n ))}\r\n
\r\n \r\n
\r\n
\r\n {showForwardEmail === true ? (\r\n <>\r\n
\r\n \r\n \r\n {\r\n var obj = { ...forwardObjectData };\r\n obj.toEmails = e;\r\n setforwardObjectData(obj);\r\n }}\r\n />\r\n
\r\n \r\n \r\n {\r\n setLoadingForwardEmail(true);\r\n var row = {}; // {...forwardObjectData}\r\n row.reportId = currentRow?.id;\r\n row.providerId = props?.providerId;\r\n row.toEmails = forwardObjectData?.toEmails?.map(\r\n (a) => a.label\r\n );\r\n row.date = moment();\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Sending/Forward`,\r\n data: row,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text:\r\n \"Message has been forwarded successfully\",\r\n });\r\n setforwardObjectData({\r\n reportId: null,\r\n providerId: null,\r\n toEmails: [],\r\n date: moment(),\r\n });\r\n setshowForwardEmail(false);\r\n } else if (data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n let tt = JSON.parse(data[1]);\r\n for (const [key, value] of Object.entries(\r\n tt.errors\r\n )) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n } else if (data[0] === 500) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Something went wrong\",\r\n });\r\n }\r\n setLoadingForwardEmail(false);\r\n });\r\n }}\r\n >\r\n \r\n Forward\r\n {LoadingForwardEmail && (\r\n \r\n )}\r\n \r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n {replyForm && (\r\n \r\n \r\n props?.handleGetUbniBox()}\r\n key={currentRow?.id}\r\n item={currentRow}\r\n viewModelCompanies={viewModelCompanies}\r\n templates={props?.templates}\r\n to={`${currentRow?.firstName} ${currentRow?.lastName}`}\r\n subject={replaceValues(\r\n currentRow?.subject,\r\n variables\r\n )}\r\n getDataItem={() => getDataItem(currentRow?.id)}\r\n body={\r\n \r\n }\r\n setReplyForm={setReplyForm}\r\n variables={variables}\r\n contactList={contacts}\r\n viewModel={viewModel}\r\n />\r\n \r\n \r\n )}\r\n {!!currentRow?.reply && currentRow?.reply?.length > 0 && (\r\n \r\n \r\n \r\n
\r\n

Replies

\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n {\" \"}\r\n {currentRow?.reply?.length}\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n )}\r\n
\r\n )}\r\n \r\n \r\n Next\r\n \r\n }\r\n >\r\n \r\n false} className=\"\"\r\n onClick={async (e) => {\r\n e.preventDefault();\r\n var myArray = props?.dataTable?.inbox;\r\n const currentIndex = myArray.findIndex(item => item.id === currentRow?.id);\r\n\r\n if (currentIndex !== -1) {\r\n // Get the next and previous objects based on the current index\r\n const nextIndex = (currentIndex + 1) % myArray.length;\r\n\r\n const nextItem = myArray[nextIndex];\r\n setCurrentIdDetails(nextItem?.id);\r\n\r\n await getDataItem(nextItem?.id);\r\n }\r\n }}>\r\n \r\n \r\n\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n }\r\n />\r\n setShow(false)}\r\n aria-labelledby=\"example-modal-sizes-title-lg\"\r\n >\r\n {/*begin::Loading*/}\r\n\r\n {/*end::Loading*/}\r\n \r\n \r\n Resend step\r\n \r\n \r\n\r\n \r\n \r\n {`We will send you a email after ${SpinnerValue} days`}\r\n \r\n
\r\n setSpinnerValue(num)}\r\n variant={\"primary\"}\r\n />\r\n
\r\n
\r\n\r\n \r\n \r\n {\"Save\"}\r\n \r\n {\r\n setShow(false);\r\n setSpinnerValue(7);\r\n }}\r\n className=\"btn btn-light btn-elevate\"\r\n >\r\n {\"Cancel\"}\r\n \r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default InboxDetails;\r\n","import React, { Fragment, useEffect, useState } from \"react\";\r\nimport {\r\n Button,\r\n Col,\r\n Container,\r\n Dropdown,\r\n Form,\r\n Modal,\r\n OverlayTrigger,\r\n Row,\r\n Spinner,\r\n Tooltip,\r\n} from \"react-bootstrap\";\r\nimport { useSubheader } from \"../../../_metronic/layout\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport {\r\n DropdownCustomToggler,\r\n DropdownFilter,\r\n} from \"../../../_metronic/_partials/dropdowns\";\r\nimport Select from \"react-select\";\r\nimport {\r\n ConvertToDateCurrentTimeZoneV2,\r\n DynamicModal,\r\n ModelStateMessage,\r\n apiCall,\r\n getFromatdate,\r\n} from \"../../helpers/globals\";\r\nimport moment from \"moment\";\r\nimport { Link } from \"react-router-dom\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../../../_metronic/_partials/controls\";\r\nimport Swal from \"sweetalert2\";\r\nimport ReplyModal from \"./ReplyModal\";\r\nimport InboxDetails from \"./InboxDetails\";\r\nimport InputSpinner from \"react-bootstrap-input-spinner\";\r\nexport default function Unibox() {\r\n const suhbeader = useSubheader();\r\n useEffect(() => {\r\n suhbeader.setTitle(\"Unibox\");\r\n }, [suhbeader]);\r\n\r\n const options = [\r\n { value: 1, label: \"Sequences\" },\r\n // { value: 2, label: \"Newsletters\" },\r\n { value: 3, label: \"ABM\" },\r\n { value: 4, label: \"Manual Replies\" },\r\n ];\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n const [unibox, setUniBox] = useState([]);\r\n const [toggleModal, setToggleModal] = useState(false);\r\n const [Removing, setIsRemoving] = useState(false);\r\n const [paginationData, setPaginationData] = useState([]);\r\n const [ids, setIds] = useState([]);\r\n const [providers, setProviders] = useState([]);\r\n const [modalType, setModalType] = useState(false);\r\n const [loaderBtn, setLoaderBtn] = useState(false);\r\n const [modalReply, setModalReply] = useState(false);\r\n const [itemId, setItemId] = useState(\"\");\r\n const [compainId, setCompainId] = useState(\"\");\r\n const [contacts, setContacts] = useState([]);\r\n const [classifyType, setClassifyType] = useState(\"\");\r\n const [providerId, setProviderId] = useState(\"\");\r\n const [providerId2, setProviderId2] = useState(\"\");\r\n const [currentPage, setCurrentPage] = useState(1);\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [SpinnerValue, setSpinnerValue] = useState(7);\r\n const [typeCampaign, setTypeCampaign] = useState(\"\");\r\n const [startDate, setStartDate] = useState(\"\");\r\n const [endDate, setEndDate] = useState(\"\");\r\n const [typeReply, setTypeReply] = useState(\"\");\r\n const [search, setSearch] = useState(\"\");\r\n const [viewModelCompanies, setViewModelCompanies] = useState([]);\r\n const [TemplateViewModel, setTemplateViewModel] = useState(null);\r\n const [item, setItem] = useState(null);\r\n const [loaderData, setLoaderData] = useState(false);\r\n const handleGetUbniBox = async () => {\r\n setIsLoading(true);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Unibox/GlobalReply?typeCampaign=${typeCampaign}&typeReply=${typeReply}&pageNumber=${currentPage}&pageSize=10&search=${search}&endDate=${endDate}&startDate=${startDate}&providerId=${providerId}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setIsLoading(false);\r\n console.log(\"unitBox\", data[1]);\r\n setUniBox(data[1]);\r\n setPaginationData(data[1]?.pagination);\r\n } else {\r\n setIsLoading(false);\r\n }\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n if (!!item?.campaignId) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/GetContactIdsByCampain?campaignId=${item?.campaignId}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setContacts(dataResult[1] || []);\r\n }\r\n } catch (err) {}\r\n });\r\n }\r\n }, [item]);\r\n\r\n function MarkAsIterested() {\r\n Swal.fire({\r\n title: \"Are you sure?\",\r\n text: `You want to mark this email as interested`,\r\n icon: \"warning\",\r\n showCancelButton: true,\r\n confirmButtonColor: \"#d33\",\r\n cancelButtonColor: \"#3085d6\",\r\n confirmButtonText: \"Yes\",\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n setLoaderData(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Campaigns/MarkInterested`,\r\n data: {\r\n ids: ids,\r\n mark: true,\r\n },\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n Swal.fire({\r\n title: \"Success\",\r\n icon: \"success\",\r\n showConfirmButton: false,\r\n timer: 1500,\r\n });\r\n setIds([]);\r\n handleGetUbniBox();\r\n setLoaderData(false);\r\n } else {\r\n ModelStateMessage(data);\r\n setLoaderData(false);\r\n }\r\n });\r\n }\r\n });\r\n }\r\n\r\n const handleResendStep = () => {\r\n setIsRemoving(true);\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Unibox/BulkRemoveReply`,\r\n data: {\r\n reportId: ids,\r\n continued: true,\r\n numberOfDays: SpinnerValue,\r\n },\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setIsRemoving(false);\r\n handleClose();\r\n setIds([]);\r\n handleGetUbniBox();\r\n setSpinnerValue(7);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"Step Resended Successfully\",\r\n icon: \"success\",\r\n confirmButtonText: \"Ok\",\r\n });\r\n } else if (data[0] === 400 && data[1].message) {\r\n setIsRemoving(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 402) {\r\n setIsRemoving(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Payment Required \",\r\n });\r\n }\r\n });\r\n };\r\n\r\n function getViewModelFunction() {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetViewModel`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n console.log(\"setTemplateViewModel\", dataResult[1]);\r\n\r\n setTemplateViewModel(dataResult[1]);\r\n }\r\n } catch (err) {}\r\n });\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Companies/GetViewModel`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n console.log(\"setViewModelCompanies\", data[1]);\r\n setViewModelCompanies(data[1]);\r\n }\r\n });\r\n }\r\n const handleGetViewModel = async () => {\r\n setIsLoading(true);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Unibox/GetViewModel`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n console.log(\"ViewModel\", data[1]);\r\n const options = data[1]?.providers?.map((item, index) => {\r\n return { value: item?.id, label: item?.name };\r\n });\r\n setProviders(options);\r\n }\r\n });\r\n };\r\n useEffect(() => {\r\n handleGetUbniBox();\r\n }, [currentPage, typeCampaign, typeReply, startDate, endDate, providerId]);\r\n useEffect(() => {\r\n const timeout = setTimeout(() => {\r\n handleGetUbniBox();\r\n }, 500);\r\n return () => clearTimeout(timeout);\r\n }, [search]);\r\n useEffect(() => {\r\n handleGetViewModel();\r\n getViewModelFunction();\r\n }, []);\r\n\r\n const handlePreviousPage = () => {\r\n if (paginationData.hasPreviousPage) {\r\n setCurrentPage(currentPage - 1);\r\n }\r\n };\r\n\r\n const handleNextPage = () => {\r\n if (paginationData.hasNextPage) {\r\n setCurrentPage(currentPage + 1);\r\n }\r\n };\r\n\r\n function removeNewlinesAndCarriageReturns(text) {\r\n const withoutNewlinesAndCarriageReturns = text.replace(/\\\\[nr]/g, \"\");\r\n return withoutNewlinesAndCarriageReturns;\r\n }\r\n\r\n const handleIcon = (type) => {\r\n if (type === \"Sequences\") {\r\n return ;\r\n } else if (type === \"ABM\") {\r\n return ;\r\n } else if (type === \"Manual Replies\") {\r\n return (\r\n \r\n \r\n \r\n );\r\n } else if (type === \"Newsletter\") {\r\n return (\r\n \r\n );\r\n }\r\n };\r\n const handleIconColor = (type) => {\r\n if (type === \"Sequences\") {\r\n return \"info\";\r\n } else if (type === \"ABM\") {\r\n return \"warning\";\r\n } else if (type === \"Manual Replies\") {\r\n return \"primary\";\r\n } else if (type === \"Newsletter\") {\r\n return \"success\";\r\n }\r\n };\r\n\r\n const handleLink = (type, campaignId) => {\r\n if (type === \"Sequences\") {\r\n return `/Sequences/edit/${campaignId}/basics`;\r\n } else if (type === \"ABM\") {\r\n return \"\";\r\n } else if (type === \"Manual Replies\") {\r\n return \"\";\r\n } else if (type === \"Newsletter\") {\r\n return `/Newsletters/edit/${campaignId}/basics`;\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n \r\n
\r\n {/*begin::List*/}\r\n
\r\n {/*begin::Card*/}\r\n
\r\n {/*begin::Header*/}\r\n
\r\n {/*begin::Toolbar*/}\r\n\r\n
\r\n
\r\n
\r\n {\r\n setSearch(e.target.value);\r\n }}\r\n />\r\n
\r\n\r\n
\r\n \r\n \r\n Refresh data\r\n \r\n \r\n }\r\n >\r\n {\r\n handleGetUbniBox();\r\n }}\r\n className=\"btn btn-sm btn-outline-primary mr-2 px-2\"\r\n >\r\n \r\n \r\n \r\n
\r\n obj.value === typeCampaign\r\n )}\r\n onChange={(e) => {\r\n if (e) {\r\n setTypeCampaign(e.value);\r\n } else {\r\n setTypeCampaign(\"\");\r\n }\r\n }}\r\n isClearable={true}\r\n />\r\n
\r\n
\r\n obj.value === providerId\r\n )}\r\n onChange={(e) => {\r\n if (e) {\r\n setProviderId(e.value);\r\n } else {\r\n setProviderId(\"\");\r\n }\r\n }}\r\n />\r\n
\r\n \r\n \r\n \r\n \r\n {\" \"}\r\n \r\n \r\n\r\n \r\n Custom Date\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n From\r\n {\r\n setStartDate(e.target.value);\r\n }}\r\n />\r\n
\r\n
\r\n To\r\n {\r\n setEndDate(e.target.value);\r\n }}\r\n />\r\n
\r\n
\r\n\r\n {/* Or */}\r\n {/* \r\n This Week\r\n This Month\r\n This Year */}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {/*end::Search*/}\r\n\r\n
\r\n
\r\n {/*begin::Item*/}\r\n {\r\n setTypeReply(\"\");\r\n setCurrentPage(1);\r\n }}\r\n >\r\n \r\n \r\n All\r\n \r\n \r\n \r\n {unibox?.all}\r\n \r\n \r\n \r\n
\r\n\r\n {unibox?.replyTypes?.map((item, index) => {\r\n return (\r\n {\r\n setTypeReply(item.name);\r\n setCurrentPage(1);\r\n }}\r\n key={index}\r\n >\r\n \r\n \r\n {item.name}\r\n \r\n \r\n \r\n {item.count}\r\n \r\n \r\n \r\n
\r\n );\r\n })}\r\n
\r\n
\r\n
\r\n {/*end::Header*/}\r\n {/*begin::Body*/}\r\n {!isLoading ? (\r\n
\r\n {/*begin::Items*/}\r\n \r\n {/*begin::Item*/}\r\n
\r\n {unibox?.inbox?.length > 0 && (\r\n
\r\n {\r\n if (e.target.checked) {\r\n setIds(unibox?.inbox?.map((x) => x?.id));\r\n } else {\r\n setIds([]);\r\n }\r\n }}\r\n checked={\r\n unibox?.inbox?.length > 0 &&\r\n ids.length === unibox?.inbox?.length\r\n }\r\n />\r\n \r\n
\r\n )}\r\n {ids.length > 0 && (\r\n
\r\n {\r\n setModalType(true);\r\n }}\r\n >\r\n Classify type\r\n \r\n {\r\n handleShow();\r\n }}\r\n >\r\n Resend Step\r\n \r\n {\r\n MarkAsIterested();\r\n }}\r\n >\r\n Mark as Interested\r\n \r\n
\r\n )}\r\n
\r\n {unibox?.inbox?.map((item, index) => {\r\n return (\r\n \r\n
\r\n
\r\n {\r\n if (e.target.checked) {\r\n setIds([...ids, item?.id]);\r\n } else {\r\n setIds(ids.filter((x) => x !== item?.id));\r\n }\r\n }}\r\n />\r\n \r\n
\r\n {/*begin::Actions*/}\r\n \r\n \r\n \r\n {item?.type}\r\n \r\n \r\n }\r\n >\r\n \r\n {handleIcon(item?.type)}\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n {item?.firstName\r\n ?.substring(0, 1)\r\n ?.toUpperCase()}\r\n {item?.lastName\r\n ?.substring(0, 1)\r\n ?.toUpperCase()}\r\n \r\n
\r\n \r\n {item?.firstName} {item?.lastName}\r\n \r\n {item?.isInterested && (\r\n \r\n \r\n \r\n Interested\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n
\r\n )}\r\n
\r\n \r\n {\r\n setToggleModal(true);\r\n setItemId(item?.id);\r\n setCompainId(item?.campaignId);\r\n setProviderId2(item?.providerId);\r\n }}\r\n >\r\n
\r\n \r\n {item?.subject || \"No subject\"} -{\" \"}\r\n \r\n \r\n \r\n \r\n ...\r\n
\r\n
\r\n {item?.campaignName && (\r\n \r\n \r\n {item?.campaignName}\r\n \r\n \r\n }\r\n >\r\n \r\n {item?.campaignName}\r\n \r\n \r\n )}\r\n {item?.type !== \"ABM\" && (\r\n \r\n Step {item?.step}\r\n \r\n )}\r\n {item?.type === \"ABM\" && (\r\n \r\n ABM\r\n \r\n )}\r\n {item?.variant !== \"A\" &&\r\n item?.variant !== null && (\r\n \r\n Variant {item?.variant}\r\n \r\n )}\r\n
\r\n \r\n \r\n {moment(\r\n ConvertToDateCurrentTimeZoneV2(item?.replyDate)\r\n ).format(getFromatdate() + \" hh:mm A\")}\r\n\r\n \r\n \r\n {item?.provider}\r\n \r\n \r\n }\r\n >\r\n \r\n {item?.provider?.substring(0, 2)?.toUpperCase()}\r\n \r\n \r\n \r\n \r\n Actions\r\n \r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
    \r\n
  • \r\n \r\n Actions\r\n \r\n
  • \r\n
  • \r\n {\r\n setModalReply(true);\r\n setItem(item);\r\n }}\r\n >\r\n Reply\r\n \r\n {\r\n setModalType(true);\r\n setIds([item?.id]);\r\n }}\r\n >\r\n \r\n Classify type\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n );\r\n })}\r\n {unibox?.inbox?.length === 0 && !isLoading && (\r\n \r\n

No Records

\r\n \r\n )}\r\n \r\n {/*end::Items*/}\r\n \r\n ) : (\r\n \r\n
\r\n
\r\n
\r\n \r\n )}\r\n {/*end::Body*/}\r\n {isLoading ? (\r\n
\r\n
\r\n \r\n Loading...\r\n \r\n
\r\n
\r\n ) : (\r\n
\r\n
\r\n \r\n {paginationData.count === 0\r\n ? \"No records\"\r\n : `${paginationData.pageNumber} - ${paginationData.count} of ${paginationData.totalItemCount}`}\r\n \r\n
\r\n {/* Render dropdown items based on your preference */}\r\n
\r\n {\r\n handlePreviousPage();\r\n }}\r\n >\r\n \r\n \r\n {\r\n handleNextPage();\r\n }}\r\n >\r\n \r\n \r\n
\r\n
\r\n )}\r\n \r\n {/*end::Card*/}\r\n \r\n {/*end::List*/}\r\n \r\n
\r\n\r\n {modalType && (\r\n \r\n \r\n \r\n {\" \"}\r\n \r\n
\r\n setModalType(false)}\r\n className=\"float-right\"\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n {\r\n return {\r\n value: x?.id,\r\n label: x?.name,\r\n };\r\n })\r\n : []\r\n }\r\n value={\r\n !!classifyType\r\n ? {\r\n value: unibox?.replyTypes?.find(\r\n (x) => x.name === classifyType\r\n )?.id,\r\n label: classifyType,\r\n }\r\n : null\r\n }\r\n onChange={(e) => {\r\n setClassifyType(e?.label);\r\n }}\r\n />\r\n \r\n \r\n \r\n
\r\n \r\n {\r\n e.preventDefault();\r\n setModalType(false);\r\n }}\r\n >\r\n Close\r\n \r\n {\r\n e.preventDefault();\r\n setLoaderBtn(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Unibox/BulkClassifyType`,\r\n data: {\r\n id: ids,\r\n type: classifyType,\r\n },\r\n }).then((data) => {\r\n setLoaderBtn(false);\r\n if (data[0] === 200) {\r\n setModalType(false);\r\n setClassifyType(\"\");\r\n setIds([]);\r\n handleGetUbniBox();\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n });\r\n // setshowEmails(false);\r\n } else {\r\n ModelStateMessage(data);\r\n setLoaderBtn(false);\r\n }\r\n });\r\n }}\r\n >\r\n Submit\r\n {loaderBtn && (\r\n \r\n )}\r\n \r\n \r\n \r\n }\r\n />\r\n )}\r\n {item && (\r\n \r\n )}\r\n \r\n\r\n \r\n {/*begin::Loading*/}\r\n\r\n {/*end::Loading*/}\r\n \r\n \r\n Resend Step\r\n \r\n \r\n\r\n \r\n \r\n {`We will send an email after ${SpinnerValue} days`}\r\n \r\n
\r\n setSpinnerValue(num)}\r\n variant={\"primary\"}\r\n />\r\n
\r\n
\r\n\r\n \r\n {\r\n handleClose();\r\n setSpinnerValue(7);\r\n }}\r\n className=\"btn btn-light btn-elevate\"\r\n >\r\n {\"Cancel\"}\r\n \r\n \r\n {Removing ? \"Resending...\" : \"Resend step\"}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import React, { lazy, Suspense } from \"react\";\r\nimport { Redirect, Route, Switch } from \"react-router-dom\";\r\nimport { ContentRoute, LayoutSplashScreen } from \"../_metronic/layout\";\r\nimport withTracker from \"./withTracker\";\r\nimport Unibox from \"./pages/Unibox/Unibox\";\r\n\r\n//lazy imports\r\nconst WebFormThankYouPage = lazy(() =>\r\n import(\"./pages/WebForm/WebFormThankYouPage\")\r\n);\r\nconst WebFormSlugPage = lazy(() =>\r\n import(\"./pages/WebForm/WebFormSlug\")\r\n);\r\nconst UnsbscribePage = lazy(() => import(\"./pages/Unsbscribe/Unsbscribe\"));\r\nconst GlobalSearch = lazy(() => import(\"./pages/GlobalSearch\"));\r\nconst GlobalNotification = lazy(() =>\r\n import(\"./pages/GlobalUserNotifications\")\r\n);\r\nconst DashboardExamplePage = lazy(() =>\r\n import(\"./pages/Dashboard/DashboardExample\")\r\n);\r\nconst GlobalDashboard = lazy(() =>\r\n import(\"./pages/Dashboard/GlobalDashboard\")\r\n);\r\nconst FormBuilderPage = lazy(() =>\r\n import(\"./pages/FormBuilder/FormBuilderPage\")\r\n);\r\nconst FormDtailPage = lazy(() =>\r\n import(\"./pages/FormBuilder/FormDetailPage\")\r\n);\r\nconst AddCampaigns = lazy(() => import(\"./pages/Campaigns/AddCampaigns\"));\r\nconst PeoplePage = lazy(() => import(\"./pages/People/Main\"));\r\nconst BusinessesPage = lazy(() => import(\"./pages/Businesses/BusinessesList\"));\r\nconst AgenciesPage = lazy(() => import(\"./pages/Agencies/AgenciesList\"));\r\nconst DashboardPage = lazy(() => import(\"./pages/Dashboard\"));\r\nconst PeopleDetailPage = lazy(() => import(\"./pages/People/people-detail\"));\r\nconst QueryQueryPageV2 = lazy(() =>\r\n import(\"./pages/QueryBuilderV2/QueryQueryPage\")\r\n);\r\nconst NylasCallBack = lazy(() =>\r\n import(\"./pages/CallBackUrl.js/NylasCallBack\")\r\n);\r\nconst EmailCampaignPage = lazy(() => import(\"./pages/EmailCampaigns\"));\r\nconst CompanyDetailPage = lazy(() =>\r\n import(\"./pages/companies/company-detail\")\r\n);\r\nconst TargetList = lazy(() => import(\"./pages/Target-list/Index\"));\r\nconst IndexTasks = lazy(() => import(\"./pages/Tasks/IndexTasks\"));\r\nconst IndexStaff = lazy(() => import(\"./pages/Staff/IndexStaff\"));\r\nconst Opportunities = lazy(() =>\r\n import(\"./pages/Opportunities/OpportunitiesIndex\")\r\n);\r\nconst EditCampaign = lazy(() => import(\"./pages/Campaigns/EditCampaigns\"));\r\nconst DetailsTargetList = lazy(() =>\r\n import(\"./pages/Target-list/Target-List-Details\")\r\n);\r\nconst PersonaDetail = lazy(() => import(\"./pages/Target-list/PersonaDetail\"));\r\nconst AddNewsletter = lazy(() => import(\"./pages/Newsletter/AddNewsletter\"));\r\nconst NewsLetterPage = lazy(() => import(\"./pages/Newsletter/NewsLetterPage\"));\r\nconst FormEdit = lazy(() => import(\"./pages/Templates/formEdit\"));\r\nconst AddForm = lazy(() => import(\"./pages/Templates/addForm\"));\r\nconst TemplatePage = lazy(() => import(\"./pages/Templates\"));\r\nconst UserProfilepage = lazy(() =>\r\n import(\"./modules/UserProfile/UserProfilePage\")\r\n);\r\nconst SettingsMainPage = lazy(() => import(\"./pages/Settings/Index\"));\r\nconst EditNewsLetter = lazy(() => import(\"./pages/Newsletter/EditNewsLetter\"));\r\nconst CampaignsPage = lazy(() => import(\"./pages/Campaigns/Index\"));\r\nconst CompaniesPage = lazy(() => import(\"./pages/companies/Index\"));\r\nconst Chats = lazy(() => import(\"./pages/Chats/Index\"));\r\nconst CompaniesEditPage = lazy(() =>\r\n import(\"./pages/companies/EditCompany/Index\")\r\n);\r\nconst GlobalImportpage = lazy(() => import(\"./pages/Imports/GlobalImport\"));\r\nconst Example = lazy(() => import(\"./pages/EmailTemplate\"));\r\n\r\nexport default function BasePage() {\r\n return (\r\n }>\r\n \r\n {\r\n /* Redirect from root URL to /dashboard. */\r\n \r\n }\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n {/* */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport {toAbsoluteUrl} from \"../../../_metronic/_helpers\";\r\n\r\nexport function ErrorPage1() {\r\n return (\r\n
\r\n \r\n \r\n 404\r\n \r\n

\r\n OOPS! Something went wrong here\r\n

\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport {toAbsoluteUrl} from \"../../../_metronic/_helpers\";\r\n\r\nexport function ErrorPage2() {\r\n return (\r\n
\r\n \r\n
\r\n

OOPS!

\r\n \r\n Something went wrong here\r\n \r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport {toAbsoluteUrl} from \"../../../_metronic/_helpers\";\r\nimport \"../../../_metronic/_assets/sass/pages/error/error-3.scss\";\r\n\r\nexport function ErrorPage3() {\r\n return (\r\n
\r\n \r\n
\r\n

404

\r\n

\r\n How did you get here\r\n

\r\n

\r\n Sorry we can't seem to find the page you're looking for.\r\n

\r\n

\r\n There may be a misspelling in the URL entered,\r\n
\r\n or the page you are looking for may no longer exist.\r\n

\r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport \"../../../_metronic/_assets/sass/pages/error/error-4.scss\";\r\n\r\nexport function ErrorPage4() {\r\n return (\r\n
\r\n \r\n
\r\n

\r\n 404\r\n

\r\n

\r\n ERROR\r\n

\r\n

\r\n Nothing left to do here.\r\n

\r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport \"../../../_metronic/_assets/sass/pages/error/error-5.scss\";\r\n\r\nexport function ErrorPage5() {\r\n return (\r\n
\r\n \r\n
\r\n

\r\n Oops!\r\n

\r\n

\r\n Something went wrong here.\r\n

\r\n

\r\n We're working on it and we'll get it fixed\r\n
\r\n as soon possible.\r\n
\r\n You can back or use our Help Center.\r\n

\r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport \"../../../_metronic/_assets/sass/pages/error/error-6.scss\";\r\n\r\nexport function ErrorPage6() {\r\n return (\r\n
\r\n \r\n
\r\n \r\n Oops...\r\n \r\n

\r\n Looks like something went wrong.\r\n
\r\n We're working on it\r\n

\r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React from \"react\";\r\nimport { Redirect, Route, Switch } from \"react-router-dom\";\r\nimport { ErrorPage1 } from \"./ErrorPage1\";\r\nimport { ErrorPage2 } from \"./ErrorPage2\";\r\nimport { ErrorPage3 } from \"./ErrorPage3\";\r\nimport { ErrorPage4 } from \"./ErrorPage4\";\r\nimport { ErrorPage5 } from \"./ErrorPage5\";\r\nimport { ErrorPage6 } from \"./ErrorPage6\";\r\n\r\nexport default function ErrorsPage() {\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 * High level router.\r\n *\r\n * Note: It's recommended to compose related routes in internal router\r\n * components (e.g: `src/app/modules/Auth/pages/AuthPage`, `src/app/BasePage`).\r\n */\r\n\r\nimport React from \"react\";\r\nimport { shallowEqual, useSelector } from \"react-redux\";\r\nimport { Redirect, Route, Switch } from \"react-router-dom\";\r\nimport { Layout } from \"../_metronic/layout\";\r\nimport BasePage from \"./BasePage\";\r\nimport { AuthPage, Logout } from \"./modules/Auth\";\r\nimport ErrorsPage from \"./modules/ErrorsExamples/ErrorsPage\";\r\n\r\nexport function Routes() {\r\n const { isAuthorized } = useSelector(\r\n ({ auth }) => ({\r\n isAuthorized: auth.user != null,\r\n }),\r\n shallowEqual\r\n );\r\n\r\n return (\r\n \r\n {!isAuthorized ? (\r\n /*Render auth page when user at `/auth` and not authorized.*/\r\n <>\r\n \r\n \r\n \r\n \r\n ) : (\r\n /*Otherwise redirect to root page (`/`)*/\r\n \r\n )}\r\n\r\n \r\n \r\n\r\n\r\n {!isAuthorized ? (\r\n /*Redirect to `/auth` when user is not authorized*/\r\n \r\n ) : (\r\n \r\n \r\n \r\n )}\r\n \r\n );\r\n}\r\n","\r\nimport React from \"react\";\r\nimport { Button, Container } from \"react-bootstrap\";\r\nimport { ga } from \"react-ga\";\r\nimport { toAbsoluteUrl } from \"../_metronic/_helpers\";\r\nexport class ErrorBoundary extends React.Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = { hasError: false, errors: \"\" };\r\n }\r\n\r\n static getDerivedStateFromError(error) {\r\n return { hasError: true };\r\n }\r\n\r\n componentDidCatch(error, errorInfo) {\r\n //log the error to an error reporting service\r\n ga(\"send\", \"exception\", {\r\n exDescription: `UserEmail:${\r\n localStorage.getItem(\"user\") !== null\r\n ? JSON.parse(localStorage.getItem(\"user\") ?? \"\").email\r\n : \"\"\r\n } has an error: ${String(error)} at ${String(errorInfo?.componentStack)}`,\r\n exFatal: false,\r\n });\r\n this.setState({\r\n errors: `${String(error)} at ${String(errorInfo?.componentStack)}`,\r\n });\r\n }\r\n\r\n render() {\r\n if (this.state.hasError) {\r\n return (\r\n \r\n );\r\n }\r\n return this.props.children;\r\n }\r\n}\r\n","/**\r\n * Entry application component used to compose providers and render Routes.\r\n * */\r\n\r\nimport React, { useState,useEffect } from \"react\";\r\nimport { Provider } from \"react-redux\";\r\nimport { BrowserRouter } from \"react-router-dom\";\r\nimport { PersistGate } from \"redux-persist/integration/react\";\r\nimport { Routes } from \"../app/Routes\";\r\nimport { I18nProvider } from \"../_metronic/i18n\";\r\nimport { LayoutSplashScreen, MaterialThemeProvider } from \"../_metronic/layout\";\r\nimport ReactGA from \"react-ga4\";\r\nimport { ErrorBoundary } from \"./ErrorBoundary\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport 'react-rangeslider/lib/index.css'\r\nconst I18N_CONFIG_KEY = process.env.REACT_APP_I18N_CONFIG_KEY || \"i18nConfig\";\r\n\r\nexport default function App({ store, persistor, basename }) {\r\n const TRACKING_ID = process.env.REACT_APP_TRACKING_ID; // YOUR_OWN_TRACKING_ID\r\n ReactGA.initialize(TRACKING_ID);\r\n const [lang,setLang]=useState(JSON.parse(localStorage.getItem(\"i18nConfig\")))\r\n\r\n const [t,i18n ]=useTranslation();\r\n useEffect(() => {\r\n \r\n if(i18n.changeLanguage(lang?.selectedLang)===undefined)\r\n {localStorage.setItem(I18N_CONFIG_KEY, JSON.stringify({ selectedLang: \"en\" }));\r\n }else{ i18n.changeLanguage(lang?.selectedLang)\r\n }\r\n }, []);\r\n return (\r\n /* Provide Redux store */\r\n \r\n {/* Asynchronously persist redux stores and show `SplashScreen` while it's loading. */}\r\n }>\r\n {/* Add high level `Suspense` in case if was not handled inside the React tree. */}\r\n }>\r\n {/* Override `basename` (e.g: `homepage` in `package.json`) */}\r\n \r\n {/*This library only returns the location that has been active before the recent location change in the current window lifetime.*/}\r\n \r\n {/* Provide `react-intl` context synchronized with Redux state. */}\r\n \r\n \r\n {/* Render routes with provided `Layout`. */}\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import i18n from \"i18next\";\r\nimport { initReactI18next } from \"react-i18next\";\r\nimport translationEN from \"./locale/en/translation.json\"\r\nimport translationES from \"./locale/es/translation.json\"\r\nimport languageDetector from \"i18next-browser-languagedetector\"\r\n// the translations\r\n// (tip move them in a JSON file and import them,\r\n// or even better, manage them separated from your code: https://react.i18next.com/guides/multiple-translation-files)\r\nconst resources = {\r\n en: {\r\n translation: translationEN\r\n },\r\n es: {\r\n translation: translationES\r\n }\r\n};\r\n\r\ni18n\r\n .use(languageDetector)\r\n .use(initReactI18next) // passes i18n down to react-i18next\r\n .init({\r\n resources,\r\n lng: \"en\", // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources\r\n // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage\r\n // if you're using a language detector, do not define the lng option\r\n\r\n interpolation: {\r\n escapeValue: false // react already safes from xss\r\n },\r\n react:{\r\n useSuspense:false\r\n }\r\n });\r\n\r\n export default i18n;\r\n","/**\r\n * Create React App entry point. This and `public/index.html` files can not be\r\n * changed or moved.\r\n */\r\nimport \"react-app-polyfill/ie11\";\r\nimport \"react-app-polyfill/stable\";\r\nimport React from \"react\";\r\n// import ReactDOM from \"react-dom/client\";\r\nimport ReactDOM from \"react-dom\";\r\nimport axios from \"axios\";\r\nimport * as _redux from \"./redux\";\r\nimport store, { persistor } from \"./redux/store\";\r\nimport App from \"./app/App\";\r\nimport \"./index.scss\"; // Standard version\r\n// import \"./sass/style.react.rtl.css\"; // RTL version\r\nimport \"./_metronic/_assets/plugins/keenthemes-icons/font/ki.css\";\r\nimport \"socicon/css/socicon.css\";\r\nimport \"@fortawesome/fontawesome-free/css/all.min.css\";\r\nimport \"./_metronic/_assets/plugins/flaticon/flaticon.css\";\r\nimport \"./_metronic/_assets/plugins/flaticon2/flaticon.css\";\r\n// Datepicker\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport \"react-google-flight-datepicker/dist/main.css\";\r\nimport {\r\n MetronicLayoutProvider,\r\n MetronicSplashScreenProvider,\r\n MetronicSubheaderProvider,\r\n} from \"./_metronic/layout\";\r\nimport { MetronicI18nProvider } from \"./_metronic/i18n\";\r\nimport TimeAgo from \"javascript-time-ago\";\r\nimport en from \"javascript-time-ago/locale/en.json\";\r\nimport ru from \"javascript-time-ago/locale/ru.json\";\r\nimport { CustomerlyProvider } from \"react-live-chat-customerly\";\r\nimport \"./i18n\";\r\n\r\nTimeAgo.addDefaultLocale(en);\r\nTimeAgo.addLocale(ru);\r\n/**\r\n * Base URL of the website.\r\n *\r\n * @see https://facebook.github.io/create-react-app/docs/using-the-public-folder\r\n */\r\nconst { PUBLIC_URL } = process.env;\r\n\r\n/**\r\n * Creates `axios-mock-adapter` instance for provided `axios` instance, add\r\n * basic Metronic mocks and returns it.\r\n *\r\n * @see https://github.com/ctimmerm/axios-mock-adapter\r\n */\r\n/* const mock = */ _redux.mockAxios(axios);\r\n\r\n/**\r\n * Inject metronic interceptors for axios.\r\n *\r\n * @see https://github.com/axios/axios#interceptors\r\n */\r\n_redux.setupAxios(axios, store);\r\n\r\n// ReactDOM.createRoot(document.getElementById(\"root\")).render(\r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// \r\n// );\r\n\r\nReactDOM.render(\r\n \r\n \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","export default function setupAxios(axios, store) {\r\n axios.interceptors.request.use(\r\n config => {\r\n const {\r\n auth: { authToken }\r\n } = store.getState();\r\n\r\n if (authToken) {\r\n config.headers.Authorization = `Bearer ${authToken}`;\r\n }\r\n\r\n return config;\r\n },\r\n err => Promise.reject(err)\r\n );\r\n}\r\n","import MockAdapter from \"axios-mock-adapter\";\r\nimport mockAuth from \"../../app/modules/Auth/__mocks__/mockAuth\";\r\n\r\nexport default function mockAxios(axios) {\r\n const mock = new MockAdapter(axios, { delayResponse: 300 });\r\n\r\n mockAuth(mock);\r\n\r\n return mock;\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\n\r\nexport function DropdownMenu1() {\r\n return (<>\r\n {/*begin::Navigation*/}\r\n \r\n {/*end::Navigation*/}\r\n );\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\n\r\nexport function DropdownMenu3() {\r\n return <>\r\n {/*begin::Naviigation*/}\r\n \r\n {/*end::Naviigation*/}\r\n \r\n}\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\n\r\nexport const DropdownCustomToggler = React.forwardRef((props, ref) => {\r\n return (\r\n {\r\n e.preventDefault();\r\n props.onClick(e);\r\n }}\r\n >\r\n {props.children}\r\n \r\n );\r\n});\r\n","import React from \"react\";\r\n\r\nexport const DropdownTopbarItemToggler = React.forwardRef((props, ref) => {\r\n return (\r\n {\r\n e.preventDefault();\r\n props.onClick(e);\r\n }}\r\n >\r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nDropdownTopbarItemToggler.displayName = 'DropdownTopbarItemToggler';\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\n\r\nexport const DropdownCustom = React.forwardRef((props, ref) => {\r\n return (\r\n {\r\n e.preventDefault();\r\n props.onClick(e);\r\n }}\r\n >\r\n {props.children}\r\n \r\n );\r\n});\r\n","import React from \"react\";\r\n\r\nexport const DropdownItemToggler = React.forwardRef((props, ref) => {\r\n return (\r\n {\r\n e.preventDefault();\r\n props.onClick(e);\r\n }}\r\n >\r\n {props.children}\r\n \r\n );\r\n});\r\n\r\nDropdownItemToggler.displayName = 'DropdownItemToggler';\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\n\r\nexport const DropdownFilter = React.forwardRef((props, ref) => {\r\n return (\r\n {\r\n e.preventDefault();\r\n props.onClick(e);\r\n }}\r\n >\r\n {props.children}\r\n \r\n );\r\n});\r\n","import axios from \"axios\";\r\n\r\nexport const LOGIN_URL = \"api/auth/login\";\r\nexport const REGISTER_URL = \"api/auth/register\";\r\nexport const REQUEST_PASSWORD_URL = \"api/auth/forgot-password\";\r\n\r\nexport const ME_URL = \"api/me\";\r\n\r\nexport function login(email, password) {\r\n return axios.post(LOGIN_URL, { email, password });\r\n}\r\n\r\nexport function register(email, fullname, username, password) {\r\n return axios.post(REGISTER_URL, { email, fullname, username, password });\r\n}\r\n\r\nexport function requestPassword(email) {\r\n return axios.post(REQUEST_PASSWORD_URL, { email });\r\n}\r\n\r\nexport function getUserByToken() {\r\n // Authorization head should be fulfilled in interceptor.\r\n return axios.get(ME_URL);\r\n}\r\n","/* eslint-disable */\r\n\"use strict\";\r\n// DOCS: https://javascript.info/cookie\r\n\r\n// Component Definition\r\nexport var KTCookie = function() {\r\n return {\r\n // returns the cookie with the given name,\r\n // or undefined if not found\r\n getCookie: function(name) {\r\n var matches = document.cookie.match(new RegExp(\r\n \"(?:^|; )\" + name.replace(/([\\.$?*|{}\\(\\)\\[\\]\\\\\\/\\+^])/g, '\\\\$1') + \"=([^;]*)\"\r\n ));\r\n return matches ? decodeURIComponent(matches[1]) : undefined;\r\n },\r\n // Please note that a cookie value is encoded,\r\n // so getCookie uses a built-in decodeURIComponent function to decode it.\r\n setCookie: function(name, value, options) {\r\n if (!options) {\r\n options = {};\r\n }\r\n\r\n options = Object.assign({}, {path: '/'}, options);\r\n\r\n if (options.expires instanceof Date) {\r\n options.expires = options.expires.toUTCString();\r\n }\r\n\r\n var updatedCookie = encodeURIComponent(name) + \"=\" + encodeURIComponent(value);\r\n\r\n for (var optionKey in options) {\r\n if (!options.hasOwnProperty(optionKey)) {\r\n continue;\r\n }\r\n updatedCookie += \"; \" + optionKey;\r\n var optionValue = options[optionKey];\r\n if (optionValue !== true) {\r\n updatedCookie += \"=\" + optionValue;\r\n }\r\n }\r\n\r\n document.cookie = updatedCookie;\r\n },\r\n // To delete a cookie, we can call it with a negative expiration date:\r\n deleteCookie: function(name) {\r\n setCookie(name, \"\", {\r\n 'max-age': -1\r\n })\r\n }\r\n }\r\n}();\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTCookie;\r\n}\r\n","import React, {createContext} from \"react\";\r\nimport {useMemo} from \"react\";\r\nimport {useContext} from \"react\";\r\n\r\nconst I18N_CONFIG_KEY = process.env.REACT_APP_I18N_CONFIG_KEY || \"i18nConfig\";\r\nconst initialState = {\r\n selectedLang: \"en\"\r\n };\r\n\r\nfunction getConfig() {\r\n const ls = localStorage.getItem(I18N_CONFIG_KEY);\r\n if (ls) {\r\n try {\r\n return JSON.parse(ls);\r\n } catch (er) {\r\n console.error(er);\r\n }\r\n }\r\n return initialState;\r\n}\r\n\r\n// Side effect\r\nexport function setLanguage(lang) {\r\n localStorage.setItem(I18N_CONFIG_KEY, JSON.stringify({ selectedLang: lang }));\r\n window.location.reload();\r\n}\r\n\r\nconst I18nContext = createContext();\r\n\r\nexport function useLang() {\r\n return useContext(I18nContext).selectedLang;\r\n}\r\n\r\nexport function withI18n(Component) {\r\n class WithI18n extends React.Component {\r\n static displayName = `WithI18n(${Component.displayName || Component.name})`;\r\n\r\n static contextType = I18nContext;\r\n\r\n render() {\r\n return ;\r\n }\r\n }\r\n\r\n return WithI18n;\r\n}\r\n\r\nexport const I18nConsumer = I18nContext.Consumer;\r\n\r\nexport function MetronicI18nProvider({ children }) {\r\n const lang = useMemo(getConfig, []);\r\n\r\n return {children};\r\n}\r\n","import React from \"react\";\r\nimport {useLang} from \"./Metronici18n\";\r\nimport {IntlProvider} from \"react-intl\";\r\nimport \"@formatjs/intl-relativetimeformat/polyfill\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/en\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/de\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/es\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/fr\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/ja\";\r\nimport \"@formatjs/intl-relativetimeformat/dist/locale-data/zh\";\r\n\r\nimport deMessages from \"./messages/de\";\r\nimport enMessages from \"./messages/en\";\r\nimport esMessages from \"./messages/es\";\r\nimport frMessages from \"./messages/fr\";\r\nimport jaMessages from \"./messages/ja\";\r\nimport zhMessages from \"./messages/zh\";\r\n\r\nconst allMessages = {\r\n de: deMessages,\r\n en: enMessages,\r\n es: esMessages,\r\n fr: frMessages,\r\n ja: jaMessages,\r\n zh: zhMessages\r\n};\r\n\r\nexport function I18nProvider({ children }) {\r\n const locale = useLang();\r\n const messages = allMessages[locale];\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n","import React, { Fragment, useEffect } from \"react\";\r\nimport { Button, Dropdown } from \"react-bootstrap\";\r\nimport { DropdownFilter } from \"../_partials/dropdowns\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\nimport moment from \"moment\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { DynamicModal, apiCall } from \"../../app/helpers/globals\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardFooter,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../_partials/controls\";\r\nexport function removeCSSClass(ele, cls) {\r\n const reg = new RegExp(\"(\\\\s|^)\" + cls + \"(\\\\s|$)\");\r\n ele.className = ele.className.replace(reg, \" \");\r\n}\r\n\r\nexport function addCSSClass(ele, cls) {\r\n ele.classList.add(cls);\r\n}\r\n\r\nexport const toAbsoluteUrl = (pathname) => process.env.PUBLIC_URL + pathname;\r\n\r\nexport function TimelineHorizontal(props) {\r\n const [dataClicked, setDataClicked] = React.useState([]);\r\n const [modalClick, setModalDetailsClicked] = React.useState(false);\r\n useEffect(() => {\r\n if (!!props?.item?.id === true && dataClicked.length === 0 && props?.isDetails) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Campaigns/LinksClicked/${props?.item?.id}`,\r\n }).then((dataResult) => {\r\n try {\r\n if (dataResult[0] === 200) {\r\n setDataClicked(dataResult[1]?.clicked || []);\r\n } else {\r\n setDataClicked([]);\r\n }\r\n } catch (err) {\r\n console.log(err);\r\n }\r\n });\r\n }\r\n }, [props]);\r\n // eslint-disable-next-line no-unused-expressions\r\n return (\r\n <>\r\n
\r\n
\r\n \r\n \r\n \r\n Sent\r\n \r\n }\r\n >\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n {props?.item?.bounce === true ? (\r\n
\r\n \r\n Bounced\r\n \r\n }\r\n >\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n Opened\r\n \r\n }\r\n >\r\n \r\n \r\n \r\n {props?.item?.isOpen && (\r\n
\r\n {props?.item?.openCount}\r\n
\r\n )}\r\n \r\n \r\n \r\n \r\n {!!props?.isModal === true ? (\r\n \r\n {\r\n e.preventDefault();\r\n setModalDetailsClicked(true);\r\n }}\r\n >\r\n Show details\r\n \r\n \r\n }\r\n >\r\n {\r\n e.preventDefault();\r\n if (\r\n dataClicked.length > 0 &&\r\n !!props?.isModal === true\r\n ) {\r\n setModalDetailsClicked(true);\r\n }\r\n }}\r\n style={{\r\n cursor: dataClicked.length > 0 ? \"pointer\" : \"inherit\",\r\n }}\r\n >\r\n \r\n \r\n \r\n {props?.item?.isClicked && (\r\n
\r\n {props?.item?.clickCount ?? 0}\r\n
\r\n )}\r\n \r\n \r\n \r\n \r\n ) : (\r\n {\r\n e.preventDefault();\r\n if (dataClicked.length > 0 && !!props?.isModal === true) {\r\n setModalDetailsClicked(true);\r\n }\r\n }}\r\n style={{\r\n cursor: dataClicked.length > 0 ? \"pointer\" : \"inherit\",\r\n }}\r\n >\r\n \r\n \r\n \r\n {props?.item?.isClicked && (\r\n
\r\n {props?.item?.clickCount ?? 0}\r\n
\r\n )}\r\n \r\n \r\n \r\n )}\r\n\r\n {props.isNewsletters ? (\r\n \"\"\r\n ) : (\r\n \r\n Replied\r\n \r\n }\r\n >\r\n \r\n \r\n \r\n \r\n {props?.item?.isReply && (\r\n
\r\n {props?.item?.replyCount}\r\n
\r\n )}\r\n \r\n \r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {(dataClicked ?? [])?.map((item, index) => (\r\n \r\n \r\n \r\n \r\n ))}\r\n \r\n
LinkClick Count
\r\n \r\n {item?.link}\r\n \r\n \r\n \r\n {item?.clickCount}\r\n \r\n
\r\n
\r\n
\r\n \r\n {\r\n e.preventDefault();\r\n setModalDetailsClicked(false);\r\n }}\r\n >\r\n Close\r\n \r\n \r\n \r\n }\r\n />\r\n \r\n );\r\n}\r\n\r\nexport function DropdownDate({ Filter, setFilter }) {\r\n return (\r\n <>\r\n {/*
\r\n \r\n
\r\n {}}\r\n />\r\n
\r\n
\r\n {}}\r\n />\r\n
\r\n
*/}\r\n \r\n \r\n false()}\r\n className=\"btn btn-light btn-sm font-weight-bold\"\r\n >\r\n \r\n {\" \"}\r\n \r\n \r\n\r\n \r\n {!!Filter.Type ? Filter.Type : \"Custom Date\"}\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n From\r\n {\r\n var aa = e.target?.value;\r\n setFilter((x) => {\r\n x.StartDate = aa;\r\n x.Type = null;\r\n return { ...x };\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n To\r\n {\r\n var aa = e.target?.value;\r\n setFilter((x) => {\r\n x.EndDate = aa;\r\n x.Type = null;\r\n return { ...x };\r\n });\r\n }}\r\n />\r\n
\r\n
\r\n\r\n {/* Or */}\r\n\r\n {\r\n const startOfMonth = moment()\r\n .startOf(\"week\")\r\n .format(\"YYYY-MM-DD\");\r\n const endOfMonth = moment()\r\n .endOf(\"week\")\r\n .format(\"YYYY-MM-DD\");\r\n setFilter({\r\n StartDate: startOfMonth,\r\n EndDate: endOfMonth,\r\n Type: \"week\",\r\n });\r\n }}\r\n >\r\n This Week\r\n \r\n {\r\n const startOfMonth = moment()\r\n .startOf(\"month\")\r\n .format(\"YYYY-MM-DD\");\r\n const endOfMonth = moment()\r\n .endOf(\"month\")\r\n .format(\"YYYY-MM-DD\");\r\n setFilter({\r\n StartDate: startOfMonth,\r\n EndDate: endOfMonth,\r\n Type: \"month\",\r\n });\r\n }}\r\n >\r\n This Month\r\n \r\n {/* \r\n setFilter({ StartDate: null, EndDate: null, Type: \"week\" })\r\n }\r\n >\r\n This Quarter\r\n */}\r\n {\r\n const startOfMonth = moment()\r\n .startOf(\"year\")\r\n .format(\"YYYY-MM-DD\");\r\n const endOfMonth = moment()\r\n .endOf(\"year\")\r\n .format(\"YYYY-MM-DD\");\r\n setFilter({\r\n StartDate: startOfMonth,\r\n EndDate: endOfMonth,\r\n Type: \"year\",\r\n });\r\n }}\r\n >\r\n This Year\r\n \r\n
\r\n
\r\n {/*
\r\n
*/}\r\n \r\n );\r\n}\r\n","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport PerfectScrollbar from \"perfect-scrollbar\";\r\n\r\nimport { KTCookie } from \"./cookie.js\";\r\n\r\n/**\r\n * @class KTUtil base utilize class that privides helper functions\r\n */\r\n\r\n// Polyfills\r\n/**\r\n * Element.matches() polyfill (simple version)\r\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill\r\n */\r\nif (!Element.prototype.matches) {\r\n\tElement.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\r\n}\r\n\r\n/**\r\n * Element.closest() polyfill\r\n * https://developer.mozilla.org/en-US/docs/Web/API/Element/closest#Polyfill\r\n */\r\nif (!Element.prototype.closest) {\r\n\tif (!Element.prototype.matches) {\r\n\t\tElement.prototype.matches = Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector;\r\n\t}\r\n\tElement.prototype.closest = function (s) {\r\n\t\tvar el = this;\r\n\t\tvar ancestor = this;\r\n\t\tif (!document.documentElement.contains(el)) return null;\r\n\t\tdo {\r\n\t\t\tif (ancestor.matches(s)) return ancestor;\r\n\t\t\tancestor = ancestor.parentElement;\r\n\t\t} while (ancestor !== null);\r\n\t\treturn null;\r\n\t};\r\n}\r\n\r\n/**\r\n * ChildNode.remove() polyfill\r\n * https://gomakethings.com/removing-an-element-from-the-dom-the-es6-way/\r\n * @author Chris Ferdinandi\r\n * @license MIT\r\n */\r\n(function (elem) {\r\n\tfor (var i = 0; i < elem.length; i++) {\r\n\t\tif (!window[elem[i]] || 'remove' in window[elem[i]].prototype) continue;\r\n\t\twindow[elem[i]].prototype.remove = function () {\r\n\t\t\tthis.parentNode.removeChild(this);\r\n\t\t};\r\n\t}\r\n})(['Element', 'CharacterData', 'DocumentType']);\r\n\r\n\r\n//\r\n// requestAnimationFrame polyfill by Erik Möller.\r\n// With fixes from Paul Irish and Tino Zijdel\r\n//\r\n// http://paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n// http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating\r\n//\r\n// MIT license\r\n//\r\n(function() {\r\n var lastTime = 0;\r\n var vendors = ['webkit', 'moz'];\r\n for (var x = 0; x < vendors.length && !window.requestAnimationFrame; ++x) {\r\n window.requestAnimationFrame = window[vendors[x] + 'RequestAnimationFrame'];\r\n window.cancelAnimationFrame =\r\n window[vendors[x] + 'CancelAnimationFrame'] || window[vendors[x] + 'CancelRequestAnimationFrame'];\r\n }\r\n\r\n if (!window.requestAnimationFrame)\r\n window.requestAnimationFrame = function(callback) {\r\n var currTime = new Date().getTime();\r\n var timeToCall = Math.max(0, 16 - (currTime - lastTime));\r\n var id = window.setTimeout(function() {\r\n callback(currTime + timeToCall);\r\n }, timeToCall);\r\n lastTime = currTime + timeToCall;\r\n return id;\r\n };\r\n\r\n if (!window.cancelAnimationFrame)\r\n window.cancelAnimationFrame = function(id) {\r\n clearTimeout(id);\r\n };\r\n}());\r\n\r\n// Source: https://github.com/jserz/js_piece/blob/master/DOM/ParentNode/prepend()/prepend().md\r\n(function(arr) {\r\n arr.forEach(function(item) {\r\n if (item.hasOwnProperty('prepend')) {\r\n return;\r\n }\r\n Object.defineProperty(item, 'prepend', {\r\n configurable: true,\r\n enumerable: true,\r\n writable: true,\r\n value: function prepend() {\r\n var argArr = Array.prototype.slice.call(arguments),\r\n docFrag = document.createDocumentFragment();\r\n\r\n argArr.forEach(function(argItem) {\r\n var isNode = argItem instanceof Node;\r\n docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));\r\n });\r\n\r\n this.insertBefore(docFrag, this.firstChild);\r\n }\r\n });\r\n });\r\n})([Element.prototype, Document.prototype, DocumentFragment.prototype]);\r\n\r\n// getAttributeNames\r\nif (Element.prototype.getAttributeNames == undefined) {\r\n Element.prototype.getAttributeNames = function () {\r\n var attributes = this.attributes;\r\n var length = attributes.length;\r\n var result = new Array(length);\r\n for (var i = 0; i < length; i++) {\r\n result[i] = attributes[i].name;\r\n }\r\n return result;\r\n };\r\n}\r\n\r\n// Global variables\r\nwindow.KTUtilElementDataStore = {};\r\nwindow.KTUtilElementDataStoreID = 0;\r\nwindow.KTUtilDelegatedEventHandlers = {};\r\n\r\nexport var KTUtil = function() {\r\n var resizeHandlers = [];\r\n\r\n /** @type {object} breakpoints The device width breakpoints **/\r\n var breakpoints = {\r\n sm: 544, // Small screen / phone\r\n md: 768, // Medium screen / tablet\r\n lg: 992, // Large screen / desktop\r\n xl: 1200 // Extra large screen / wide desktop\r\n };\r\n\r\n /**\r\n * Handle window resize event with some\r\n * delay to attach event handlers upon resize complete\r\n */\r\n var _windowResizeHandler = function() {\r\n var _runResizeHandlers = function() {\r\n // reinitialize other subscribed elements\r\n for (var i = 0; i < resizeHandlers.length; i++) {\r\n var each = resizeHandlers[i];\r\n each.call();\r\n }\r\n };\r\n\r\n var timer;\r\n\r\n window.addEventListener('resize', function() {\r\n KTUtil.throttle(timer, function() {\r\n _runResizeHandlers();\r\n }, 200);\r\n });\r\n };\r\n\r\n return {\r\n /**\r\n * Class main initializer.\r\n * @param {object} settings.\r\n * @returns null\r\n */\r\n //main function to initiate the theme\r\n init: function(settings) {\r\n if (settings && settings.breakpoints) {\r\n breakpoints = settings.breakpoints;\r\n }\r\n\r\n _windowResizeHandler();\r\n },\r\n\r\n /**\r\n * Adds window resize event handler.\r\n * @param {function} callback function.\r\n */\r\n addResizeHandler: function(callback) {\r\n resizeHandlers.push(callback);\r\n },\r\n\r\n /**\r\n * Removes window resize event handler.\r\n * @param {function} callback function.\r\n */\r\n removeResizeHandler: function(callback) {\r\n for (var i = 0; i < resizeHandlers.length; i++) {\r\n if (callback === resizeHandlers[i]) {\r\n delete resizeHandlers[i];\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Trigger window resize handlers.\r\n */\r\n runResizeHandlers: function() {\r\n _runResizeHandlers();\r\n },\r\n\r\n resize: function() {\r\n if (typeof(Event) === 'function') {\r\n // modern browsers\r\n window.dispatchEvent(new Event('resize'));\r\n } else {\r\n // for IE and other old browsers\r\n // causes deprecation warning on modern browsers\r\n var evt = window.document.createEvent('UIEvents');\r\n evt.initUIEvent('resize', true, false, window, 0);\r\n window.dispatchEvent(evt);\r\n }\r\n },\r\n\r\n /**\r\n * Get GET parameter value from URL.\r\n * @param {string} paramName Parameter name.\r\n * @returns {string}\r\n */\r\n getURLParam: function(paramName) {\r\n var searchString = window.location.search.substring(1),\r\n i, val, params = searchString.split(\"&\");\r\n\r\n for (i = 0; i < params.length; i++) {\r\n val = params[i].split(\"=\");\r\n if (val[0] == paramName) {\r\n return unescape(val[1]);\r\n }\r\n }\r\n\r\n return null;\r\n },\r\n\r\n /**\r\n * Checks whether current device is mobile touch.\r\n * @returns {boolean}\r\n */\r\n isMobileDevice: function() {\r\n var test = (this.getViewPort().width < this.getBreakpoint('lg') ? true : false);\r\n\r\n if (test === false) {\r\n // For use within normal web clients\r\n test = navigator.userAgent.match(/iPad/i) != null;\r\n }\r\n\r\n return test;\r\n },\r\n\r\n /**\r\n * Checks whether current device is desktop.\r\n * @returns {boolean}\r\n */\r\n isDesktopDevice: function() {\r\n return KTUtil.isMobileDevice() ? false : true;\r\n },\r\n\r\n /**\r\n * Gets browser window viewport size. Ref:\r\n * http://andylangton.co.uk/articles/javascript/get-viewport-size-javascript/\r\n * @returns {object}\r\n */\r\n getViewPort: function() {\r\n var e = window,\r\n a = 'inner';\r\n if (!('innerWidth' in window)) {\r\n a = 'client';\r\n e = document.documentElement || document.body;\r\n }\r\n\r\n return {\r\n width: e[a + 'Width'],\r\n height: e[a + 'Height']\r\n };\r\n },\r\n\r\n /**\r\n * Checks whether given device mode is currently activated.\r\n * @param {string} mode Responsive mode name(e.g: desktop,\r\n * desktop-and-tablet, tablet, tablet-and-mobile, mobile)\r\n * @returns {boolean}\r\n */\r\n isInResponsiveRange: function(mode) {\r\n var breakpoint = this.getViewPort().width;\r\n\r\n if (mode == 'general') {\r\n return true;\r\n } else if (mode == 'desktop' && breakpoint >= (this.getBreakpoint('lg') + 1)) {\r\n return true;\r\n } else if (mode == 'tablet' && (breakpoint >= (this.getBreakpoint('md') + 1) && breakpoint < this.getBreakpoint('lg'))) {\r\n return true;\r\n } else if (mode == 'mobile' && breakpoint <= this.getBreakpoint('md')) {\r\n return true;\r\n } else if (mode == 'desktop-and-tablet' && breakpoint >= (this.getBreakpoint('md') + 1)) {\r\n return true;\r\n } else if (mode == 'tablet-and-mobile' && breakpoint <= this.getBreakpoint('lg')) {\r\n return true;\r\n } else if (mode == 'minimal-desktop-and-below' && breakpoint <= this.getBreakpoint('xl')) {\r\n return true;\r\n }\r\n\r\n return false;\r\n },\r\n\r\n\t\t/**\r\n * Checks whether given device mode is currently activated.\r\n * @param {string} mode Responsive mode name(e.g: desktop,\r\n * desktop-and-tablet, tablet, tablet-and-mobile, mobile)\r\n * @returns {boolean}\r\n */\r\n isBreakpointUp: function(mode) {\r\n var width = this.getViewPort().width;\r\n\t\t\tvar breakpoint = this.getBreakpoint(mode);\r\n\r\n\t\t\treturn (width >= breakpoint);\r\n },\r\n\r\n\t\tisBreakpointDown: function(mode) {\r\n var width = this.getViewPort().width;\r\n\t\t\tvar breakpoint = this.getBreakpoint(mode);\r\n\r\n\t\t\treturn (width < breakpoint);\r\n },\r\n\r\n /**\r\n * Generates unique ID for give prefix.\r\n * @param {string} prefix Prefix for generated ID\r\n * @returns {boolean}\r\n */\r\n getUniqueID: function(prefix) {\r\n return prefix + Math.floor(Math.random() * (new Date()).getTime());\r\n },\r\n\r\n /**\r\n * Gets window width for give breakpoint mode.\r\n * @param {string} mode Responsive mode name(e.g: xl, lg, md, sm)\r\n * @returns {number}\r\n */\r\n getBreakpoint: function(mode) {\r\n return breakpoints[mode];\r\n },\r\n\r\n /**\r\n * Checks whether object has property matchs given key path.\r\n * @param {object} obj Object contains values paired with given key path\r\n * @param {string} keys Keys path seperated with dots\r\n * @returns {object}\r\n */\r\n isset: function(obj, keys) {\r\n var stone;\r\n\r\n keys = keys || '';\r\n\r\n if (keys.indexOf('[') !== -1) {\r\n throw new Error('Unsupported object path notation.');\r\n }\r\n\r\n keys = keys.split('.');\r\n\r\n do {\r\n if (obj === undefined) {\r\n return false;\r\n }\r\n\r\n stone = keys.shift();\r\n\r\n if (!obj.hasOwnProperty(stone)) {\r\n return false;\r\n }\r\n\r\n obj = obj[stone];\r\n\r\n } while (keys.length);\r\n\r\n return true;\r\n },\r\n\r\n /**\r\n * Gets highest z-index of the given element parents\r\n * @param {object} el jQuery element object\r\n * @returns {number}\r\n */\r\n getHighestZindex: function(el) {\r\n var position, value;\r\n\r\n while (el && el !== document) {\r\n // Ignore z-index if position is set to a value where z-index is ignored by the browser\r\n // This makes behavior of this function consistent across browsers\r\n // WebKit always returns auto if the element is positioned\r\n position = KTUtil.css(el, 'position');\r\n\r\n if (position === \"absolute\" || position === \"relative\" || position === \"fixed\") {\r\n // IE returns 0 when zIndex is not specified\r\n // other browsers return a string\r\n // we ignore the case of nested elements with an explicit value of 0\r\n //
\r\n value = parseInt(KTUtil.css(el, 'z-index'));\r\n\r\n if (!isNaN(value) && value !== 0) {\r\n return value;\r\n }\r\n }\r\n\r\n el = el.parentNode;\r\n }\r\n\r\n return null;\r\n },\r\n\r\n /**\r\n * Checks whether the element has any parent with fixed positionfreg\r\n * @param {object} el jQuery element object\r\n * @returns {boolean}\r\n */\r\n hasFixedPositionedParent: function(el) {\r\n var position;\r\n\r\n while (el && el !== document) {\r\n position = KTUtil.css(el, 'position');\r\n\r\n if (position === \"fixed\") {\r\n return true;\r\n }\r\n\r\n el = el.parentNode;\r\n }\r\n\r\n return false;\r\n },\r\n\r\n /**\r\n * Simulates delay\r\n */\r\n sleep: function(milliseconds) {\r\n var start = new Date().getTime();\r\n for (var i = 0; i < 1e7; i++) {\r\n if ((new Date().getTime() - start) > milliseconds) {\r\n break;\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Gets randomly generated integer value within given min and max range\r\n * @param {number} min Range start value\r\n * @param {number} max Range end value\r\n * @returns {number}\r\n */\r\n getRandomInt: function(min, max) {\r\n return Math.floor(Math.random() * (max - min + 1)) + min;\r\n },\r\n\r\n /**\r\n * Checks whether Angular library is included\r\n * @returns {boolean}\r\n */\r\n isAngularVersion: function() {\r\n return window.Zone !== undefined ? true : false;\r\n },\r\n\r\n // Deep extend: $.extend(true, {}, objA, objB);\r\n deepExtend: function(out) {\r\n out = out || {};\r\n\r\n for (var i = 1; i < arguments.length; i++) {\r\n var obj = arguments[i];\r\n if (!obj) continue;\r\n\r\n for (var key in obj) {\r\n if (!obj.hasOwnProperty(key)) {\r\n continue;\r\n }\r\n\r\n // based on https://javascriptweblog.wordpress.com/2011/08/08/fixing-the-javascript-typeof-operator/\r\n if ( Object.prototype.toString.call(obj[key]) === '[object Object]' ) {\r\n out[key] = KTUtil.deepExtend(out[key], obj[key]);\r\n continue;\r\n }\r\n\r\n out[key] = obj[key];\r\n }\r\n }\r\n\r\n return out;\r\n },\r\n\r\n // extend: $.extend({}, objA, objB);\r\n extend: function(out) {\r\n out = out || {};\r\n\r\n for (var i = 1; i < arguments.length; i++) {\r\n if (!arguments[i])\r\n continue;\r\n\r\n for (var key in arguments[i]) {\r\n if (arguments[i].hasOwnProperty(key))\r\n out[key] = arguments[i][key];\r\n }\r\n }\r\n\r\n return out;\r\n },\r\n\r\n getById: function(el) {\r\n if (typeof el === 'string') {\r\n return document.getElementById(el);\r\n } else {\r\n return el;\r\n }\r\n },\r\n\r\n getByTag: function(query) {\r\n return document.getElementsByTagName(query);\r\n },\r\n\r\n getByTagName: function(query) {\r\n return document.getElementsByTagName(query);\r\n },\r\n\r\n getByClass: function(query) {\r\n return document.getElementsByClassName(query);\r\n },\r\n\r\n getBody: function() {\r\n return document.getElementsByTagName('body')[0];\r\n },\r\n\r\n /**\r\n * Checks whether the element has given classes\r\n * @param {object} el jQuery element object\r\n * @param {string} Classes string\r\n * @returns {boolean}\r\n */\r\n hasClasses: function(el, classes) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n var classesArr = classes.split(\" \");\r\n\r\n for (var i = 0; i < classesArr.length; i++) {\r\n if (KTUtil.hasClass(el, KTUtil.trim(classesArr[i])) == false) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n },\r\n\r\n hasClass: function(el, className) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n return el.classList ? el.classList.contains(className) : new RegExp('\\\\b' + className + '\\\\b').test(el.className);\r\n },\r\n\r\n addClass: function(el, className) {\r\n if (!el || typeof className === 'undefined') {\r\n return;\r\n }\r\n\r\n var classNames = className.split(' ');\r\n\r\n if (el.classList) {\r\n for (var i = 0; i < classNames.length; i++) {\r\n if (classNames[i] && classNames[i].length > 0) {\r\n el.classList.add(KTUtil.trim(classNames[i]));\r\n }\r\n }\r\n } else if (!KTUtil.hasClass(el, className)) {\r\n for (var x = 0; x < classNames.length; x++) {\r\n el.className += ' ' + KTUtil.trim(classNames[x]);\r\n }\r\n }\r\n },\r\n\r\n removeClass: function(el, className) {\r\n if (!el || typeof className === 'undefined') {\r\n return;\r\n }\r\n\r\n var classNames = className.split(' ');\r\n\r\n if (el.classList) {\r\n for (var i = 0; i < classNames.length; i++) {\r\n el.classList.remove(KTUtil.trim(classNames[i]));\r\n }\r\n } else if (KTUtil.hasClass(el, className)) {\r\n for (var x = 0; x < classNames.length; x++) {\r\n el.className = el.className.replace(new RegExp('\\\\b' + KTUtil.trim(classNames[x]) + '\\\\b', 'g'), '');\r\n }\r\n }\r\n },\r\n\r\n triggerCustomEvent: function(el, eventName, data) {\r\n var event;\r\n if (window.CustomEvent) {\r\n event = new CustomEvent(eventName, {\r\n detail: data\r\n });\r\n } else {\r\n event = document.createEvent('CustomEvent');\r\n event.initCustomEvent(eventName, true, true, data);\r\n }\r\n\r\n el.dispatchEvent(event);\r\n },\r\n\r\n triggerEvent: function(node, eventName) {\r\n // Make sure we use the ownerDocument from the provided node to avoid cross-window problems\r\n var doc;\r\n if (node.ownerDocument) {\r\n doc = node.ownerDocument;\r\n } else if (node.nodeType == 9) {\r\n // the node may be the document itself, nodeType 9 = DOCUMENT_NODE\r\n doc = node;\r\n } else {\r\n throw new Error(\"Invalid node passed to fireEvent: \" + node.id);\r\n }\r\n\r\n if (node.dispatchEvent) {\r\n // Gecko-style approach (now the standard) takes more work\r\n var eventClass = \"\";\r\n\r\n // Different events have different event classes.\r\n // If this switch statement can't map an eventName to an eventClass,\r\n // the event firing is going to fail.\r\n switch (eventName) {\r\n case \"click\": // Dispatching of 'click' appears to not work correctly in Safari. Use 'mousedown' or 'mouseup' instead.\r\n case \"mouseenter\":\r\n case \"mouseleave\":\r\n case \"mousedown\":\r\n case \"mouseup\":\r\n eventClass = \"MouseEvents\";\r\n break;\r\n\r\n case \"focus\":\r\n case \"change\":\r\n case \"blur\":\r\n case \"select\":\r\n eventClass = \"HTMLEvents\";\r\n break;\r\n\r\n default:\r\n throw \"fireEvent: Couldn't find an event class for event '\" + eventName + \"'.\";\r\n break;\r\n }\r\n var event = doc.createEvent(eventClass);\r\n\r\n var bubbles = eventName == \"change\" ? false : true;\r\n event.initEvent(eventName, bubbles, true); // All events created as bubbling and cancelable.\r\n\r\n event.synthetic = true; // allow detection of synthetic events\r\n // The second parameter says go ahead with the default action\r\n node.dispatchEvent(event, true);\r\n } else if (node.fireEvent) {\r\n // IE-old school style\r\n var event = doc.createEventObject();\r\n event.synthetic = true; // allow detection of synthetic events\r\n node.fireEvent(\"on\" + eventName, event);\r\n }\r\n },\r\n\r\n index: function( el ){\r\n var c = el.parentNode.children, i = 0;\r\n for(; i < c.length; i++ )\r\n if( c[i] == el ) return i;\r\n },\r\n\r\n trim: function(string) {\r\n return string.trim();\r\n },\r\n\r\n eventTriggered: function(e) {\r\n if (e.currentTarget.dataset.triggered) {\r\n return true;\r\n } else {\r\n e.currentTarget.dataset.triggered = true;\r\n\r\n return false;\r\n }\r\n },\r\n\r\n remove: function(el) {\r\n if (el && el.parentNode) {\r\n el.parentNode.removeChild(el);\r\n }\r\n },\r\n\r\n find: function(parent, query) {\r\n parent = KTUtil.getById(parent);\r\n if (parent) {\r\n return parent.querySelector(query);\r\n }\r\n },\r\n\r\n findAll: function(parent, query) {\r\n parent = KTUtil.getById(parent);\r\n if (parent) {\r\n return parent.querySelectorAll(query);\r\n }\r\n },\r\n\r\n insertAfter: function(el, referenceNode) {\r\n return referenceNode.parentNode.insertBefore(el, referenceNode.nextSibling);\r\n },\r\n\r\n parents: function(elem, selector) {\r\n // Element.matches() polyfill\r\n if (!Element.prototype.matches) {\r\n Element.prototype.matches =\r\n Element.prototype.matchesSelector ||\r\n Element.prototype.mozMatchesSelector ||\r\n Element.prototype.msMatchesSelector ||\r\n Element.prototype.oMatchesSelector ||\r\n Element.prototype.webkitMatchesSelector ||\r\n function(s) {\r\n var matches = (this.document || this.ownerDocument).querySelectorAll(s),\r\n i = matches.length;\r\n while (--i >= 0 && matches.item(i) !== this) {}\r\n return i > -1;\r\n };\r\n }\r\n\r\n // Set up a parent array\r\n var parents = [];\r\n\r\n // Push each parent element to the array\r\n for ( ; elem && elem !== document; elem = elem.parentNode ) {\r\n if (selector) {\r\n if (elem.matches(selector)) {\r\n parents.push(elem);\r\n }\r\n continue;\r\n }\r\n parents.push(elem);\r\n }\r\n\r\n // Return our parent array\r\n return parents;\r\n },\r\n\r\n children: function(el, selector, log) {\r\n if (!el || !el.childNodes) {\r\n return;\r\n }\r\n\r\n var result = [],\r\n i = 0,\r\n l = el.childNodes.length;\r\n\r\n for (var i; i < l; ++i) {\r\n if (el.childNodes[i].nodeType == 1 && KTUtil.matches(el.childNodes[i], selector, log)) {\r\n result.push(el.childNodes[i]);\r\n }\r\n }\r\n\r\n return result;\r\n },\r\n\r\n child: function(el, selector, log) {\r\n var children = KTUtil.children(el, selector, log);\r\n\r\n return children ? children[0] : null;\r\n },\r\n\r\n matches: function(el, selector, log) {\r\n var p = Element.prototype;\r\n var f = p.matches || p.webkitMatchesSelector || p.mozMatchesSelector || p.msMatchesSelector || function(s) {\r\n return [].indexOf.call(document.querySelectorAll(s), this) !== -1;\r\n };\r\n\r\n if (el && el.tagName) {\r\n return f.call(el, selector);\r\n } else {\r\n return false;\r\n }\r\n },\r\n\r\n data: function(el) {\r\n return {\r\n set: function(name, data) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n if (el.customDataTag === undefined) {\r\n window.KTUtilElementDataStoreID++;\r\n el.customDataTag = window.KTUtilElementDataStoreID;\r\n }\r\n\r\n if (window.KTUtilElementDataStore[el.customDataTag] === undefined) {\r\n window.KTUtilElementDataStore[el.customDataTag] = {};\r\n }\r\n\r\n window.KTUtilElementDataStore[el.customDataTag][name] = data;\r\n },\r\n\r\n get: function(name) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n if (el.customDataTag === undefined) {\r\n return null;\r\n }\r\n\r\n return this.has(name) ? window.KTUtilElementDataStore[el.customDataTag][name] : null;\r\n },\r\n\r\n has: function(name) {\r\n if (!el) {\r\n return false;\r\n }\r\n\r\n if (el.customDataTag === undefined) {\r\n return false;\r\n }\r\n\r\n return (window.KTUtilElementDataStore[el.customDataTag] && window.KTUtilElementDataStore[el.customDataTag][name]) ? true : false;\r\n },\r\n\r\n remove: function(name) {\r\n if (el && this.has(name)) {\r\n delete window.KTUtilElementDataStore[el.customDataTag][name];\r\n }\r\n }\r\n };\r\n },\r\n\r\n outerWidth: function(el, margin) {\r\n var width;\r\n\r\n if (margin === true) {\r\n width = parseFloat(el.offsetWidth);\r\n width += parseFloat(KTUtil.css(el, 'margin-left')) + parseFloat(KTUtil.css(el, 'margin-right'));\r\n\r\n return parseFloat(width);\r\n } else {\r\n width = parseFloat(el.offsetWidth);\r\n\r\n return width;\r\n }\r\n },\r\n\r\n offset: function(el) {\r\n var rect, win;\r\n\r\n if ( !el ) {\r\n return;\r\n }\r\n\r\n // Return zeros for disconnected and hidden (display: none) elements (gh-2310)\r\n // Support: IE <=11 only\r\n // Running getBoundingClientRect on a\r\n // disconnected node in IE throws an error\r\n\r\n if ( !el.getClientRects().length ) {\r\n return { top: 0, left: 0 };\r\n }\r\n\r\n // Get document-relative position by adding viewport scroll to viewport-relative gBCR\r\n rect = el.getBoundingClientRect();\r\n win = el.ownerDocument.defaultView;\r\n\r\n return {\r\n top: rect.top + win.pageYOffset,\r\n left: rect.left + win.pageXOffset\r\n };\r\n },\r\n\r\n height: function(el) {\r\n return KTUtil.css(el, 'height');\r\n },\r\n\r\n outerHeight: function(el, withMargin) {\r\n var height = el.offsetHeight;\r\n var style;\r\n\r\n if (typeof withMargin !== 'undefined' && withMargin === true) {\r\n style = getComputedStyle(el);\r\n height += parseInt(style.marginTop) + parseInt(style.marginBottom);\r\n\r\n return height;\r\n } else {\r\n return height;\r\n }\r\n },\r\n\r\n visible: function(el) {\r\n return !(el.offsetWidth === 0 && el.offsetHeight === 0);\r\n },\r\n\r\n attr: function(el, name, value) {\r\n if (el == undefined) {\r\n return;\r\n }\r\n\r\n if (value !== undefined) {\r\n el.setAttribute(name, value);\r\n } else {\r\n return el.getAttribute(name);\r\n }\r\n },\r\n\r\n hasAttr: function(el, name) {\r\n if (el == undefined) {\r\n return;\r\n }\r\n\r\n return el.getAttribute(name) ? true : false;\r\n },\r\n\r\n removeAttr: function(el, name) {\r\n if (el == undefined) {\r\n return;\r\n }\r\n\r\n el.removeAttribute(name);\r\n },\r\n\r\n animate: function(from, to, duration, update, easing, done) {\r\n /**\r\n * TinyAnimate.easings\r\n * Adapted from jQuery Easing\r\n */\r\n var easings = {};\r\n var easing;\r\n\r\n easings.linear = function(t, b, c, d) {\r\n return c * t / d + b;\r\n };\r\n\r\n easing = easings.linear;\r\n\r\n // Early bail out if called incorrectly\r\n if (typeof from !== 'number' ||\r\n typeof to !== 'number' ||\r\n typeof duration !== 'number' ||\r\n typeof update !== 'function') {\r\n return;\r\n }\r\n\r\n // Create mock done() function if necessary\r\n if (typeof done !== 'function') {\r\n done = function() {};\r\n }\r\n\r\n // Pick implementation (requestAnimationFrame | setTimeout)\r\n var rAF = window.requestAnimationFrame || function(callback) {\r\n window.setTimeout(callback, 1000 / 50);\r\n };\r\n\r\n // Animation loop\r\n var canceled = false;\r\n var change = to - from;\r\n\r\n function loop(timestamp) {\r\n var time = (timestamp || +new Date()) - start;\r\n\r\n if (time >= 0) {\r\n update(easing(time, from, change, duration));\r\n }\r\n if (time >= 0 && time >= duration) {\r\n update(to);\r\n done();\r\n } else {\r\n rAF(loop);\r\n }\r\n }\r\n\r\n update(from);\r\n\r\n // Start animation loop\r\n var start = window.performance && window.performance.now ? window.performance.now() : +new Date();\r\n\r\n rAF(loop);\r\n },\r\n\r\n actualCss: function(el, prop, cache) {\r\n var css = '';\r\n\r\n if (el instanceof HTMLElement === false) {\r\n return;\r\n }\r\n\r\n if (!el.getAttribute('kt-hidden-' + prop) || cache === false) {\r\n var value;\r\n\r\n // the element is hidden so:\r\n // making the el block so we can meassure its height but still be hidden\r\n css = el.style.cssText;\r\n el.style.cssText = 'position: absolute; visibility: hidden; display: block;';\r\n\r\n if (prop == 'width') {\r\n value = el.offsetWidth;\r\n } else if (prop == 'height') {\r\n value = el.offsetHeight;\r\n }\r\n\r\n el.style.cssText = css;\r\n\r\n // store it in cache\r\n el.setAttribute('kt-hidden-' + prop, value);\r\n\r\n return parseFloat(value);\r\n } else {\r\n // store it in cache\r\n return parseFloat(el.getAttribute('kt-hidden-' + prop));\r\n }\r\n },\r\n\r\n actualHeight: function(el, cache) {\r\n return KTUtil.actualCss(el, 'height', cache);\r\n },\r\n\r\n actualWidth: function(el, cache) {\r\n return KTUtil.actualCss(el, 'width', cache);\r\n },\r\n\r\n getScroll: function(element, method) {\r\n // The passed in `method` value should be 'Top' or 'Left'\r\n method = 'scroll' + method;\r\n return (element == window || element == document) ? (\r\n self[(method == 'scrollTop') ? 'pageYOffset' : 'pageXOffset'] ||\r\n (browserSupportsBoxModel && document.documentElement[method]) ||\r\n document.body[method]\r\n ) : element[method];\r\n },\r\n\r\n css: function(el, styleProp, value) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n if (value !== undefined) {\r\n el.style[styleProp] = value;\r\n } else {\r\n var defaultView = (el.ownerDocument || document).defaultView;\r\n // W3C standard way:\r\n if (defaultView && defaultView.getComputedStyle) {\r\n // sanitize property name to css notation\r\n // (hyphen separated words eg. font-Size)\r\n styleProp = styleProp.replace(/([A-Z])/g, \"-$1\").toLowerCase();\r\n return defaultView.getComputedStyle(el, null).getPropertyValue(styleProp);\r\n } else if (el.currentStyle) { // IE\r\n // sanitize property name to camelCase\r\n styleProp = styleProp.replace(/\\-(\\w)/g, function(str, letter) {\r\n return letter.toUpperCase();\r\n });\r\n value = el.currentStyle[styleProp];\r\n // convert other units to pixels on IE\r\n if (/^\\d+(em|pt|%|ex)?$/i.test(value)) {\r\n return (function(value) {\r\n var oldLeft = el.style.left,\r\n oldRsLeft = el.runtimeStyle.left;\r\n el.runtimeStyle.left = el.currentStyle.left;\r\n el.style.left = value || 0;\r\n value = el.style.pixelLeft + \"px\";\r\n el.style.left = oldLeft;\r\n el.runtimeStyle.left = oldRsLeft;\r\n return value;\r\n })(value);\r\n }\r\n return value;\r\n }\r\n }\r\n },\r\n\r\n slide: function(el, dir, speed, callback, recalcMaxHeight) {\r\n if (!el || (dir == 'up' && KTUtil.visible(el) === false) || (dir == 'down' && KTUtil.visible(el) === true)) {\r\n return;\r\n }\r\n\r\n speed = (speed ? speed : 600);\r\n var calcHeight = KTUtil.actualHeight(el);\r\n var calcPaddingTop = false;\r\n var calcPaddingBottom = false;\r\n\r\n if (KTUtil.css(el, 'padding-top') && KTUtil.data(el).has('slide-padding-top') !== true) {\r\n KTUtil.data(el).set('slide-padding-top', KTUtil.css(el, 'padding-top'));\r\n }\r\n\r\n if (KTUtil.css(el, 'padding-bottom') && KTUtil.data(el).has('slide-padding-bottom') !== true) {\r\n KTUtil.data(el).set('slide-padding-bottom', KTUtil.css(el, 'padding-bottom'));\r\n }\r\n\r\n if (KTUtil.data(el).has('slide-padding-top')) {\r\n calcPaddingTop = parseInt(KTUtil.data(el).get('slide-padding-top'));\r\n }\r\n\r\n if (KTUtil.data(el).has('slide-padding-bottom')) {\r\n calcPaddingBottom = parseInt(KTUtil.data(el).get('slide-padding-bottom'));\r\n }\r\n\r\n if (dir == 'up') { // up\r\n el.style.cssText = 'display: block; overflow: hidden;';\r\n\r\n if (calcPaddingTop) {\r\n KTUtil.animate(0, calcPaddingTop, speed, function(value) {\r\n el.style.paddingTop = (calcPaddingTop - value) + 'px';\r\n }, 'linear');\r\n }\r\n\r\n if (calcPaddingBottom) {\r\n KTUtil.animate(0, calcPaddingBottom, speed, function(value) {\r\n el.style.paddingBottom = (calcPaddingBottom - value) + 'px';\r\n }, 'linear');\r\n }\r\n\r\n KTUtil.animate(0, calcHeight, speed, function(value) {\r\n el.style.height = (calcHeight - value) + 'px';\r\n }, 'linear', function() {\r\n el.style.height = '';\r\n el.style.display = 'none';\r\n\r\n if (typeof callback === 'function') {\r\n callback();\r\n }\r\n });\r\n\r\n\r\n } else if (dir == 'down') { // down\r\n el.style.cssText = 'display: block; overflow: hidden;';\r\n\r\n if (calcPaddingTop) {\r\n KTUtil.animate(0, calcPaddingTop, speed, function(value) {//\r\n el.style.paddingTop = value + 'px';\r\n }, 'linear', function() {\r\n el.style.paddingTop = '';\r\n });\r\n }\r\n\r\n if (calcPaddingBottom) {\r\n KTUtil.animate(0, calcPaddingBottom, speed, function(value) {\r\n el.style.paddingBottom = value + 'px';\r\n }, 'linear', function() {\r\n el.style.paddingBottom = '';\r\n });\r\n }\r\n\r\n KTUtil.animate(0, calcHeight, speed, function(value) {\r\n el.style.height = value + 'px';\r\n }, 'linear', function() {\r\n el.style.height = '';\r\n el.style.display = '';\r\n el.style.overflow = '';\r\n\r\n if (typeof callback === 'function') {\r\n callback();\r\n }\r\n });\r\n }\r\n },\r\n\r\n slideUp: function(el, speed, callback) {\r\n KTUtil.slide(el, 'up', speed, callback);\r\n },\r\n\r\n slideDown: function(el, speed, callback) {\r\n KTUtil.slide(el, 'down', speed, callback);\r\n },\r\n\r\n show: function(el, display) {\r\n if (typeof el !== 'undefined') {\r\n el.style.display = (display ? display : 'block');\r\n }\r\n },\r\n\r\n hide: function(el) {\r\n if (typeof el !== 'undefined') {\r\n el.style.display = 'none';\r\n }\r\n },\r\n\r\n addEvent: function(el, type, handler, one) {\r\n if (typeof el !== 'undefined' && el !== null) {\r\n el.addEventListener(type, handler);\r\n }\r\n },\r\n\r\n removeEvent: function(el, type, handler) {\r\n if (el !== null) {\r\n el.removeEventListener(type, handler);\r\n }\r\n },\r\n\r\n on: function(element, selector, event, handler) {\r\n if (!selector) {\r\n return;\r\n }\r\n\r\n var eventId = KTUtil.getUniqueID('event');\r\n\r\n window.KTUtilDelegatedEventHandlers[eventId] = function(e) {\r\n var targets = element.querySelectorAll(selector);\r\n var target = e.target;\r\n\r\n while (target && target !== element) {\r\n for (var i = 0, j = targets.length; i < j; i++) {\r\n if (target === targets[i]) {\r\n handler.call(target, e);\r\n }\r\n }\r\n\r\n target = target.parentNode;\r\n }\r\n }\r\n\r\n KTUtil.addEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]);\r\n\r\n return eventId;\r\n },\r\n\r\n off: function(element, event, eventId) {\r\n if (!element || !window.KTUtilDelegatedEventHandlers[eventId]) {\r\n return;\r\n }\r\n\r\n KTUtil.removeEvent(element, event, window.KTUtilDelegatedEventHandlers[eventId]);\r\n\r\n delete window.KTUtilDelegatedEventHandlers[eventId];\r\n },\r\n\r\n one: function onetime(el, type, callback) {\r\n el.addEventListener(type, function callee(e) {\r\n // remove event\r\n if (e.target && e.target.removeEventListener) {\r\n e.target.removeEventListener(e.type, callee);\r\n }\r\n\r\n // need to verify from https://themeforest.net/author_dashboard#comment_23615588\r\n if (el && el.removeEventListener) {\r\n\t\t\t\t e.currentTarget.removeEventListener(e.type, callee);\r\n\t\t\t }\r\n\r\n // call handler\r\n return callback(e);\r\n });\r\n },\r\n\r\n hash: function(str) {\r\n var hash = 0,\r\n i, chr;\r\n\r\n if (str.length === 0) return hash;\r\n for (i = 0; i < str.length; i++) {\r\n chr = str.charCodeAt(i);\r\n hash = ((hash << 5) - hash) + chr;\r\n hash |= 0; // Convert to 32bit integer\r\n }\r\n\r\n return hash;\r\n },\r\n\r\n animateClass: function(el, animationName, callback) {\r\n var animation;\r\n var animations = {\r\n animation: 'animationend',\r\n OAnimation: 'oAnimationEnd',\r\n MozAnimation: 'mozAnimationEnd',\r\n WebkitAnimation: 'webkitAnimationEnd',\r\n msAnimation: 'msAnimationEnd',\r\n };\r\n\r\n for (var t in animations) {\r\n if (el.style[t] !== undefined) {\r\n animation = animations[t];\r\n }\r\n }\r\n\r\n KTUtil.addClass(el, 'animated ' + animationName);\r\n\r\n KTUtil.one(el, animation, function() {\r\n KTUtil.removeClass(el, 'animated ' + animationName);\r\n });\r\n\r\n if (callback) {\r\n KTUtil.one(el, animation, callback);\r\n }\r\n },\r\n\r\n transitionEnd: function(el, callback) {\r\n var transition;\r\n var transitions = {\r\n transition: 'transitionend',\r\n OTransition: 'oTransitionEnd',\r\n MozTransition: 'mozTransitionEnd',\r\n WebkitTransition: 'webkitTransitionEnd',\r\n msTransition: 'msTransitionEnd'\r\n };\r\n\r\n for (var t in transitions) {\r\n if (el.style[t] !== undefined) {\r\n transition = transitions[t];\r\n }\r\n }\r\n\r\n KTUtil.one(el, transition, callback);\r\n },\r\n\r\n animationEnd: function(el, callback) {\r\n var animation;\r\n var animations = {\r\n animation: 'animationend',\r\n OAnimation: 'oAnimationEnd',\r\n MozAnimation: 'mozAnimationEnd',\r\n WebkitAnimation: 'webkitAnimationEnd',\r\n msAnimation: 'msAnimationEnd'\r\n };\r\n\r\n for (var t in animations) {\r\n if (el.style[t] !== undefined) {\r\n animation = animations[t];\r\n }\r\n }\r\n\r\n KTUtil.one(el, animation, callback);\r\n },\r\n\r\n animateDelay: function(el, value) {\r\n var vendors = ['webkit-', 'moz-', 'ms-', 'o-', ''];\r\n for (var i = 0; i < vendors.length; i++) {\r\n KTUtil.css(el, vendors[i] + 'animation-delay', value);\r\n }\r\n },\r\n\r\n animateDuration: function(el, value) {\r\n var vendors = ['webkit-', 'moz-', 'ms-', 'o-', ''];\r\n for (var i = 0; i < vendors.length; i++) {\r\n KTUtil.css(el, vendors[i] + 'animation-duration', value);\r\n }\r\n },\r\n\r\n scrollTo: function(target, offset, duration) {\r\n var duration = duration ? duration : 500;\r\n var targetPos = target ? KTUtil.offset(target).top : 0;\r\n var scrollPos = window.pageYOffset || document.documentElement.scrollTop || document.body.scrollTop || 0;\r\n var from, to;\r\n\r\n if (offset) {\r\n scrollPos += offset;\r\n }\r\n\r\n from = scrollPos;\r\n to = targetPos;\r\n\r\n KTUtil.animate(from, to, duration, function(value) {\r\n document.documentElement.scrollTop = value;\r\n document.body.parentNode.scrollTop = value;\r\n document.body.scrollTop = value;\r\n }); //, easing, done\r\n },\r\n\r\n scrollTop: function(offset, duration) {\r\n KTUtil.scrollTo(null, offset, duration);\r\n },\r\n\r\n isArray: function(obj) {\r\n return obj && Array.isArray(obj);\r\n },\r\n\r\n ready: function(callback) {\r\n if (document.attachEvent ? document.readyState === \"complete\" : document.readyState !== \"loading\") {\r\n callback();\r\n } else {\r\n document.addEventListener('DOMContentLoaded', callback);\r\n }\r\n },\r\n\r\n isEmpty: function(obj) {\r\n for (var prop in obj) {\r\n if (obj.hasOwnProperty(prop)) {\r\n return false;\r\n }\r\n }\r\n\r\n return true;\r\n },\r\n\r\n numberString: function(nStr) {\r\n nStr += '';\r\n var x = nStr.split('.');\r\n var x1 = x[0];\r\n var x2 = x.length > 1 ? '.' + x[1] : '';\r\n var rgx = /(\\d+)(\\d{3})/;\r\n while (rgx.test(x1)) {\r\n x1 = x1.replace(rgx, '$1' + ',' + '$2');\r\n }\r\n return x1 + x2;\r\n },\r\n\r\n detectIE: function() {\r\n var ua = window.navigator.userAgent;\r\n\r\n // Test values; Uncomment to check result …\r\n\r\n // IE 10\r\n // ua = 'Mozilla/5.0 (compatible; MSIE 10.0; Windows NT 6.2; Trident/6.0)';\r\n\r\n // IE 11\r\n // ua = 'Mozilla/5.0 (Windows NT 6.3; Trident/7.0; rv:11.0) like Gecko';\r\n\r\n // Edge 12 (Spartan)\r\n // ua = 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/39.0.2171.71 Safari/537.36 Edge/12.0';\r\n\r\n // Edge 13\r\n // ua = 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2486.0 Safari/537.36 Edge/13.10586';\r\n\r\n var msie = ua.indexOf('MSIE ');\r\n if (msie > 0) {\r\n // IE 10 or older => return version number\r\n return parseInt(ua.substring(msie + 5, ua.indexOf('.', msie)), 10);\r\n }\r\n\r\n var trident = ua.indexOf('Trident/');\r\n if (trident > 0) {\r\n // IE 11 => return version number\r\n var rv = ua.indexOf('rv:');\r\n return parseInt(ua.substring(rv + 3, ua.indexOf('.', rv)), 10);\r\n }\r\n\r\n var edge = ua.indexOf('Edge/');\r\n if (edge > 0) {\r\n // Edge (IE 12+) => return version number\r\n return parseInt(ua.substring(edge + 5, ua.indexOf('.', edge)), 10);\r\n }\r\n\r\n // other browser\r\n return false;\r\n },\r\n\r\n isRTL: function() {\r\n var html = KTUtil.getByTagName('html')[0];\r\n\r\n if (html) {\r\n return (KTUtil.attr(html, 'direction') == 'rtl');\r\n }\r\n },\r\n\r\n // Scroller\r\n scrollInit: function(element, options) {\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Learn more: https://github.com/mdbootstrap/perfect-scrollbar#options\r\n var pluginDefOptions = {\r\n wheelSpeed: 0.5,\r\n swipeEasing: true,\r\n wheelPropagation: false,\r\n minScrollbarLength: 40,\r\n maxScrollbarLength: 300,\r\n suppressScrollX: true\r\n };\r\n\r\n options = KTUtil.deepExtend({}, pluginDefOptions, options);\r\n\r\n // Define init function\r\n function init() {\r\n var ps;\r\n var height;\r\n\r\n // Get extra options via data attributes\r\n var attrs = element.getAttributeNames();\r\n if (attrs.length > 0) {\r\n attrs.forEach(function(attrName) {\r\n \t\t\t// more options; https://github.com/ganlanyuan/tiny-slider#options\r\n \t\t\tif ((/^data-.*/g).test(attrName)) {\r\n if (['scroll', 'height', 'mobile-height'].includes(optionName) == false) {\r\n var optionName = attrName.replace('data-', '').toLowerCase().replace(/(?:[\\s-])\\w/g, function(match) {\r\n \t\t\t\t\treturn match.replace('-', '').toUpperCase();\r\n \t\t\t\t});\r\n\r\n options[optionName] = KTUtil.filterBoolean(element.getAttribute(attrName));\r\n }\r\n \t\t\t}\r\n \t\t});\r\n }\r\n\r\n if (options.height instanceof Function) {\r\n height = options.height.call();\r\n } else {\r\n if (KTUtil.isMobileDevice() === true && options.mobileHeight) {\r\n height = parseInt(options.mobileHeight);\r\n } else if (options.height) {\r\n height = parseInt(options.height);\r\n } else {\r\n height = parseInt(KTUtil.css(element, 'height'));\r\n }\r\n }\r\n\r\n if (height === false) {\r\n KTUtil.scrollDestroy(element, true);\r\n\r\n return;\r\n }\r\n\r\n height = parseInt(height);\r\n\r\n // Destroy scroll on table and mobile modes\r\n if ((options.mobileNativeScroll || options.disableForMobile) && KTUtil.isMobileDevice() === true) {\r\n ps = KTUtil.data(element).get('ps');\r\n if (ps) {\r\n if (options.resetHeightOnDestroy) {\r\n KTUtil.css(element, 'height', 'auto');\r\n } else {\r\n KTUtil.css(element, 'overflow', 'auto');\r\n if (height > 0) {\r\n KTUtil.css(element, 'height', height + 'px');\r\n }\r\n }\r\n\r\n ps.destroy();\r\n ps = KTUtil.data(element).remove('ps');\r\n } else if (height > 0){\r\n KTUtil.css(element, 'overflow', 'auto');\r\n KTUtil.css(element, 'height', height + 'px');\r\n }\r\n\r\n return;\r\n }\r\n\r\n if (height > 0) {\r\n KTUtil.css(element, 'height', height + 'px');\r\n }\r\n\r\n if (options.desktopNativeScroll) {\r\n KTUtil.css(element, 'overflow', 'auto');\r\n return;\r\n }\r\n\r\n // Pass options via HTML Attributes\r\n if (KTUtil.attr(element, 'data-window-scroll') == 'true') {\r\n options.windowScroll = true;\r\n }\r\n\r\n // Init scroll\r\n ps = KTUtil.data(element).get('ps');\r\n\r\n if (ps) {\r\n ps.update();\r\n } else {\r\n KTUtil.css(element, 'overflow', 'hidden');\r\n KTUtil.addClass(element, 'scroll');\r\n\r\n ps = new PerfectScrollbar(element, options);\r\n\r\n KTUtil.data(element).set('ps', ps);\r\n }\r\n\r\n // Remember scroll position in cookie\r\n var uid = KTUtil.attr(element, 'id');\r\n try {\r\n if (uid) {\r\n var cookie = KTCookie.getCookie(uid);\r\n if (options.rememberPosition === true && cookie) {\r\n var pos = parseInt(cookie);\r\n if (pos > 0) {\r\n element.scrollTop = pos;\r\n }\r\n element.addEventListener('ps-scroll-y', function() {\r\n KTCookie.setCookie(uid, element.scrollTop, {});\r\n });\r\n }\r\n }\r\n }\r\n catch (e) {\r\n console.error(e);\r\n }\r\n\r\n // Todo:Consider using Localstorage\r\n if (options.rememberPosition === true && KTCookie && uid) {\r\n if (KTCookie.getCookie(uid)) {\r\n var pos = parseInt(KTCookie.getCookie(uid));\r\n\r\n if (pos > 0) {\r\n element.scrollTop = pos;\r\n }\r\n }\r\n\r\n element.addEventListener('ps-scroll-y', function() {\r\n KTCookie.setCookie(uid, element.scrollTop);\r\n });\r\n }\r\n }\r\n\r\n // Init\r\n init();\r\n\r\n // Handle window resize\r\n if (options.handleWindowResize) {\r\n KTUtil.addResizeHandler(function() {\r\n init();\r\n });\r\n }\r\n },\r\n\r\n scrollUpdate: function(element) {\r\n var ps = KTUtil.data(element).get('ps');\r\n if (ps) {\r\n ps.update();\r\n }\r\n },\r\n\r\n scrollUpdateAll: function(parent) {\r\n var scrollers = KTUtil.findAll(parent, '.ps');\r\n for (var i = 0, len = scrollers.length; i < len; i++) {\r\n KTUtil.scrollUpdate(scrollers[i]);\r\n }\r\n },\r\n\r\n scrollDestroy: function(element, resetAll) {\r\n var ps = KTUtil.data(element).get('ps');\r\n\r\n if (ps) {\r\n ps.destroy();\r\n ps = KTUtil.data(element).remove('ps');\r\n }\r\n\r\n if (element && resetAll) {\r\n element.style.setProperty('overflow', '');\r\n element.style.setProperty('height', '');\r\n }\r\n },\r\n\r\n filterBoolean: function(val) {\r\n // Convert string boolean\r\n\t\t\tif (val === true || val === 'true') {\r\n\t\t\t\treturn true;\r\n\t\t\t}\r\n\r\n\t\t\tif (val === false || val === 'false') {\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\r\n return val;\r\n },\r\n\r\n setHTML: function(el, html) {\r\n el.innerHTML = html;\r\n },\r\n\r\n getHTML: function(el) {\r\n if (el) {\r\n return el.innerHTML;\r\n }\r\n },\r\n\r\n getDocumentHeight: function() {\r\n var body = document.body;\r\n var html = document.documentElement;\r\n\r\n return Math.max( body.scrollHeight, body.offsetHeight, html.clientHeight, html.scrollHeight, html.offsetHeight );\r\n },\r\n\r\n getScrollTop: function() {\r\n return (document.scrollingElement || document.documentElement).scrollTop;\r\n },\r\n\r\n changeColor: function(col, amt) {\r\n\r\n var usePound = false;\r\n\r\n if (col[0] == \"#\") {\r\n col = col.slice(1);\r\n usePound = true;\r\n }\r\n\r\n var num = parseInt(col,16);\r\n\r\n var r = (num >> 16) + amt;\r\n\r\n if (r > 255) r = 255;\r\n else if (r < 0) r = 0;\r\n\r\n var b = ((num >> 8) & 0x00FF) + amt;\r\n\r\n if (b > 255) b = 255;\r\n else if (b < 0) b = 0;\r\n\r\n var g = (num & 0x0000FF) + amt;\r\n\r\n if (g > 255) g = 255;\r\n else if (g < 0) g = 0;\r\n\r\n return (usePound?\"#\":\"\") + (g | (b << 8) | (r << 16)).toString(16);\r\n\r\n },\r\n\r\n // Throttle function: Input as function which needs to be throttled and delay is the time interval in milliseconds\r\n throttle: function (timer, func, delay) {\r\n \t// If setTimeout is already scheduled, no need to do anything\r\n \tif (timer) {\r\n \t\treturn;\r\n \t}\r\n\r\n \t// Schedule a setTimeout after delay seconds\r\n \ttimer = setTimeout(function () {\r\n \t\tfunc();\r\n\r\n \t\t// Once setTimeout function execution is finished, timerId = undefined so that in
\r\n \t\t// the next scroll event function execution can be scheduled by the setTimeout\r\n \t\ttimer = undefined;\r\n \t}, delay);\r\n },\r\n\r\n // Debounce function: Input as function which needs to be debounced and delay is the debounced time in milliseconds\r\n debounce: function (timer, func, delay) {\r\n \t// Cancels the setTimeout method execution\r\n \tclearTimeout(timer)\r\n\r\n \t// Executes the func after delay time.\r\n \ttimer = setTimeout(func, delay);\r\n },\r\n\r\n btnWait: function(el, cls, message, disable) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n if (typeof disable !== 'undefined' && disable === true) {\r\n KTUtil.attr(el, \"disabled\", true);\r\n }\r\n\r\n if (cls) {\r\n KTUtil.addClass(el, cls);\r\n KTUtil.attr(el, \"wait-class\", cls);\r\n }\r\n\r\n if (message) {\r\n var caption = KTUtil.find(el, '.btn-caption');\r\n\r\n if (caption) {\r\n KTUtil.data(caption).set('caption', KTUtil.getHTML(caption));\r\n KTUtil.setHTML(caption, message);\r\n } else {\r\n KTUtil.data(el).set('caption', KTUtil.getHTML(el));\r\n KTUtil.setHTML(el, message);\r\n }\r\n }\r\n },\r\n\r\n btnRelease: function(el) {\r\n if (!el) {\r\n return;\r\n }\r\n\r\n /// Show loading state on button\r\n KTUtil.removeAttr(el, \"disabled\");\r\n\r\n if (KTUtil.hasAttr(el, \"wait-class\")) {\r\n KTUtil.removeClass(el, KTUtil.attr(el, \"wait-class\"));\r\n }\r\n\r\n var caption = KTUtil.find(el, '.btn-caption');\r\n\r\n if (caption && KTUtil.data(caption).has('caption')) {\r\n KTUtil.setHTML(caption, KTUtil.data(caption).get('caption'));\r\n } else if (KTUtil.data(el).has('caption')) {\r\n KTUtil.setHTML(el, KTUtil.data(el).get('caption'));\r\n }\r\n },\r\n\r\n isOffscreen: function(el, direction, offset) {\r\n offset = offset || 0;\r\n\r\n var windowWidth = KTUtil.getViewPort().width;\r\n var windowHeight = KTUtil.getViewPort().height;\r\n\r\n var top = KTUtil.offset(el).top;\r\n var height = KTUtil.outerHeight(el) + offset;\r\n var left = KTUtil.offset(el).left;\r\n var width = KTUtil.outerWidth(el) + offset;\r\n\r\n if (direction == 'bottom') {\r\n if (windowHeight < top + height) {\r\n return true;\r\n } else if (windowHeight > top + height * 1.5) {\r\n return true;\r\n }\r\n }\r\n\r\n if (direction == 'top') {\r\n if (top < 0) {\r\n return true;\r\n } else if (top > height) {\r\n return true;\r\n }\r\n }\r\n\r\n if (direction == 'left') {\r\n if (left < 0) {\r\n return true;\r\n } else if (left * 2 > width) {\r\n //console.log('left 2');\r\n //return true;\r\n }\r\n }\r\n\r\n if (direction == 'right') {\r\n if (windowWidth < left + width) {\r\n return true;\r\n } else {\r\n //console.log('right 2');\r\n //return true;\r\n }\r\n }\r\n\r\n return false;\r\n }\r\n }\r\n}();\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTUtil;\r\n}\r\n\r\n// Initialize KTUtil class on document ready\r\nKTUtil.ready(function() {\r\n\tif (typeof KTAppSettings !== 'undefined') {\r\n\t\tKTUtil.init(KTAppSettings);\r\n\t} else {\r\n\t\tKTUtil.init();\r\n\t}\r\n});\r\n\r\n// CSS3 Transitions only after page load(.page-loading class added to body tag and remove with JS on page load)\r\nwindow.onload = function() {\r\n var result = KTUtil.getByTagName('body');\r\n if (result && result[0]) {\r\n KTUtil.removeClass(result[0], 'page-loading');\r\n }\r\n}\r\n","import objectPath from \"object-path\";\r\nimport {toAbsoluteUrl} from \"../../_helpers\";\r\n\r\nexport class HtmlClassService {\r\n // Public properties\r\n config;\r\n classes;\r\n attributes;\r\n\r\n /**\r\n * Build html element classes from layout config\r\n * @param layoutConfig\r\n */\r\n setConfig(layoutConfig) {\r\n this.config = this.preInit(layoutConfig);\r\n\r\n // scope list of classes\r\n this.classes = {\r\n header: [],\r\n header_container: [],\r\n header_mobile: [],\r\n header_menu: [],\r\n aside: [],\r\n aside_menu: [],\r\n subheader: [],\r\n subheader_container: [],\r\n content: [],\r\n content_container: [],\r\n footer_container: []\r\n };\r\n\r\n this.attributes = {\r\n aside_menu: {},\r\n header_mobile: {},\r\n header_menu: {}\r\n };\r\n\r\n // init base layout\r\n this.initLoader();\r\n this.initLayout();\r\n\r\n // init header and subheader menu\r\n this.initHeader();\r\n this.initSubheader();\r\n\r\n this.initContent();\r\n // init aside and aside menu\r\n this.initAside();\r\n\r\n // init footer\r\n this.initFooter();\r\n }\r\n\r\n preInit(layoutConfig) {\r\n const updateLayoutConfig = Object.assign({}, layoutConfig);\r\n const subheaderFixed = objectPath.get(layoutConfig, \"subheader.fixed\");\r\n if (subheaderFixed) {\r\n updateLayoutConfig.subheader.style = \"solid\";\r\n } else {\r\n updateLayoutConfig.subheader.fixed = true;\r\n }\r\n return updateLayoutConfig;\r\n }\r\n\r\n /**\r\n * Returns Classes\r\n *\r\n * @param path: string\r\n * @param toString boolean\r\n */\r\n getClasses(path, toString) {\r\n if (path) {\r\n const classes = objectPath.get(this.classes, path) || \"\";\r\n if (toString && Array.isArray(classes)) {\r\n return classes.join(\" \");\r\n }\r\n return classes.toString();\r\n }\r\n return this.classes;\r\n }\r\n\r\n getAttributes(path) {\r\n if (path) {\r\n const attributes = objectPath.get(this.attributes, path) || [];\r\n return attributes;\r\n }\r\n return [];\r\n }\r\n\r\n getLogo() {\r\n const brandSkin = objectPath.get(this.config, \"brand.self.theme\");\r\n if (brandSkin === \"light\") {\r\n return toAbsoluteUrl(\"/media/logos/logo-dark.png\");\r\n } else {\r\n return toAbsoluteUrl(\"/media/logos/logo-light.png\");\r\n }\r\n }\r\n\r\n getStickyLogo() {\r\n let logo = objectPath.get(this.config, \"self.logo.sticky\");\r\n if (typeof logo === \"undefined\") {\r\n logo = this.getLogo();\r\n }\r\n return logo + \"\";\r\n }\r\n\r\n /**\r\n * Init Layout\r\n */\r\n initLayout() {\r\n const selfBodyBackgroundImage = objectPath.get(this.config, \"self.body.backgroundImage\");\r\n if (selfBodyBackgroundImage) {\r\n const backgroundImageUrl = `${toAbsoluteUrl(\"/media/\" + selfBodyBackgroundImage)}`;\r\n document.body.style.backgroundImage = `url(\"${backgroundImageUrl}\")`;\r\n }\r\n\r\n const _selfBodyClass = objectPath.get(this.config, \"self.body.class\");\r\n if (_selfBodyClass) {\r\n const bodyClasses = _selfBodyClass.toString().split(\" \");\r\n bodyClasses.forEach(cssClass => document.body.classList.add(cssClass));\r\n }\r\n }\r\n\r\n /**\r\n * Init Loader\r\n */\r\n initLoader() {}\r\n\r\n /**\r\n * Init Header\r\n */\r\n initHeader() {\r\n const headerSelfFixedMobile = objectPath.get(this.config, \"header.self.fixed.mobile\");\r\n if (headerSelfFixedMobile) {\r\n document.body.classList.add(\"header-mobile-fixed\");\r\n }\r\n }\r\n\r\n /**\r\n * Init Subheader\r\n */\r\n initSubheader() {\r\n const subheaderDisplay = objectPath.get(this.config, \"subheader.display\");\r\n if (subheaderDisplay) {\r\n document.body.classList.add(\"subheader-enabled\");\r\n } else {\r\n return;\r\n }\r\n\r\n // Fixed content head\r\n const subheaderFixed = objectPath.get(this.config, \"subheader.fixed\");\r\n if (subheaderFixed ) {\r\n document.body.classList.add(\"subheader-fixed\");\r\n }\r\n\r\n const subheaderStyle = objectPath.get(this.config, \"subheader.style\");\r\n if (subheaderStyle) {\r\n const subheaderClass = `subheader-${subheaderStyle}`;\r\n objectPath.push(this.classes, \"subheader\", subheaderClass);\r\n }\r\n\r\n const subheaderWidth = objectPath.get(this.config, \"subheader.width\");\r\n if (subheaderWidth === \"fluid\") {\r\n objectPath.push(this.classes, \"subheader_container\", \"container\");\r\n } else {\r\n objectPath.push(this.classes, \"subheader_container\", \"container-fluid\");\r\n }\r\n\r\n const subheaderClear = objectPath.get(this.config, \"subheader.clear\");\r\n if (subheaderClear) {\r\n objectPath.push(this.classes, \"subheader\", \"mb-0\");\r\n }\r\n }\r\n\r\n /**\r\n * Init Content\r\n */\r\n initContent() {\r\n if (objectPath.get(this.config, \"content.fit-top\")) {\r\n objectPath.push(this.classes, \"content\", \"pt-0\");\r\n }\r\n\r\n if (objectPath.get(this.config, \"content.fit-bottom\")) {\r\n objectPath.push(this.classes, \"content\", \"pb-0\");\r\n }\r\n\r\n if (objectPath.get(this.config, \"content.width\") === \"fluid\") {\r\n objectPath.push(this.classes, \"content_container\", \"container\");\r\n } else {\r\n objectPath.push(this.classes, \"content_container\", \"container-fluid\");\r\n }\r\n }\r\n\r\n /**\r\n * Init Aside\r\n */\r\n initAside() {\r\n // Check Aside\r\n const asideSelfDisplay = objectPath.get(this.config, \"aside.self.display\");\r\n if (!asideSelfDisplay) {\r\n return;\r\n }\r\n\r\n // Enable Aside\r\n document.body.classList.add(\"aside-enabled\");\r\n\r\n // Fixed Aside\r\n const asideSelfFixed = objectPath.get(this.config, \"aside.self.fixed\");\r\n if (asideSelfFixed) {\r\n document.body.classList.add(\"aside-fixed\");\r\n objectPath.push(this.classes, \"aside\", \"aside-fixed\");\r\n } else {\r\n document.body.classList.add(\"aside-static\");\r\n }\r\n\r\n\t\t// Aside Secondary\r\n const asideSecondaryDisplay = objectPath.get(this.config, \"aside.secondary.display\");\r\n if (asideSecondaryDisplay) {\r\n document.body.classList.add(\"aside-secondary-disabled\");\r\n } else {\r\n document.body.classList.add(\"aside-secondary-enabled\");\r\n }\r\n\r\n // Check Aside\r\n if (!asideSelfDisplay) {\r\n return;\r\n }\r\n\r\n // Default fixed\r\n const asideSelfMinimizeDefault = objectPath.get(this.config, \"aside.self.minimize.default\");\r\n if (asideSelfMinimizeDefault) {\r\n document.body.classList.add(\"aside-minimize\");\r\n }\r\n\r\n // Menu\r\n // Dropdown Submenu\r\n const asideMenuDropdown = objectPath.get(this.config, \"aside.menu.dropdown\");\r\n if (asideMenuDropdown) {\r\n objectPath.push(this.classes, \"aside_menu\", \"aside-menu-dropdown\");\r\n this.attributes.aside_menu[\"data-menu-dropdown\"] = \"1\";\r\n }\r\n\r\n // Scrollable Menu\r\n this.attributes.aside_menu[\"data-menu-scroll\"] = asideMenuDropdown ? \"0\" : \"1\";\r\n\r\n const asideSubmenuDHoverTimeout = objectPath.get(\r\n this.config,\r\n \"aside.menu.submenu.dropdown.hover-timeout\"\r\n );\r\n if (asideSubmenuDHoverTimeout) {\r\n this.attributes.aside_menu[\r\n \"data-menu-dropdown-timeout\"\r\n ] = asideSubmenuDHoverTimeout;\r\n }\r\n }\r\n\r\n /**\r\n * Init Footer\r\n */\r\n initFooter() {\r\n const footerFixed = objectPath.get(this.config, \"footer.fixed\");\r\n if (footerFixed) {\r\n document.body.classList.add(\"footer-fixed\");\r\n objectPath.push(this.classes, \"footer\", \"bg-white\");\r\n }\r\n\r\n if (objectPath.get(this.config, \"footer.width\") === \"fluid\") {\r\n objectPath.push(this.classes, \"footer_container\", \"container\");\r\n } else {\r\n objectPath.push(this.classes, \"footer_container\", \"container-fluid\");\r\n }\r\n }\r\n}\r\n","import React, { createContext, useContext, useMemo } from \"react\";\r\nimport { getInitLayoutConfig } from \"./LayoutConfig\";\r\nimport { HtmlClassService } from \"./HTMLClassService\";\r\n\r\nconst LAYOUT_CONFIG_KEY =\r\n process.env.REACT_APP_LAYOUT_CONFIG_KEY || \"LayoutConfig\";\r\n\r\nfunction getConfig() {\r\n const ls = localStorage.getItem(LAYOUT_CONFIG_KEY);\r\n if (ls) {\r\n try {\r\n return JSON.parse(ls);\r\n } catch (er) {\r\n console.error(er);\r\n }\r\n }\r\n return getInitLayoutConfig();\r\n}\r\n\r\n// Side effect\r\nexport function setLayoutConfig(config) {\r\n localStorage.setItem(LAYOUT_CONFIG_KEY, JSON.stringify(config));\r\n window.location.reload();\r\n}\r\n\r\nconst HtmlClassServiceContext = createContext();\r\n\r\n/**\r\n *\r\n *\r\n * @export\r\n * @returns Layout context from 'localStorage'\r\n */\r\nexport function useHtmlClassService() {\r\n return useContext(HtmlClassServiceContext);\r\n}\r\n\r\nexport function withHtmlClassService(Component) {\r\n class WithHtmlClassService extends React.Component {\r\n static displayName = `WithHtmlClassService(${Component.displayName ||\r\n Component.name})`;\r\n\r\n static contextType = HtmlClassServiceContext;\r\n\r\n render() {\r\n return ;\r\n }\r\n }\r\n\r\n return WithHtmlClassService;\r\n}\r\n\r\nexport const HtmlClassServiceConsumer = HtmlClassServiceContext.Consumer;\r\n\r\nexport function MetronicLayoutProvider({ children }) {\r\n const lc = useMemo(getConfig, []);\r\n const hcs = useMemo(() => {\r\n const service = new HtmlClassService();\r\n\r\n service.setConfig(lc);\r\n\r\n return service;\r\n }, [lc]);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n","import { toAbsoluteUrl } from \"../../_helpers\";\r\nexport function getInitLayoutConfig() {\r\n return {\r\n demo: \"demo3\",\r\n // Javascript Settings\r\n js: {\r\n breakpoints: {\r\n sm: 576,\r\n md: 768,\r\n lg: 992,\r\n xl: 1200,\r\n xxl: 1200,\r\n },\r\n colors: {\r\n theme: {\r\n base: {\r\n white: \"#ffffff\",\r\n primary: \"#1BC5BD\",\r\n secondary: \"#E5EAEE\",\r\n success: \"#1BC5BD\",\r\n info: \"#6993FF\",\r\n warning: \"#FFA800\",\r\n danger: \"#F64E60\",\r\n light: \"#F3F6F9\",\r\n dark: \"#212121\",\r\n },\r\n light: {\r\n white: \"#ffffff\",\r\n primary: \"#1BC5BD\",\r\n secondary: \"#ECF0F3\",\r\n success: \"#C9F7F5\",\r\n info: \"#E1E9FF\",\r\n warning: \"#FFF4DE\",\r\n danger: \"#FFE2E5\",\r\n light: \"#F3F6F9\",\r\n dark: \"#D6D6E0\",\r\n },\r\n inverse: {\r\n white: \"#ffffff\",\r\n primary: \"#ffffff\",\r\n secondary: \"#212121\",\r\n success: \"#ffffff\",\r\n info: \"#ffffff\",\r\n warning: \"#ffffff\",\r\n danger: \"#ffffff\",\r\n light: \"#464E5F\",\r\n dark: \"#ffffff\",\r\n },\r\n },\r\n gray: {\r\n gray100: \"#F3F6F9\",\r\n gray200: \"#ECF0F3\",\r\n gray300: \"#E5EAEE\",\r\n gray400: \"#D6D6E0\",\r\n gray500: \"#B5B5C3\",\r\n gray600: \"#80808F\",\r\n gray700: \"#464E5F\",\r\n gray800: \"#1B283F\",\r\n gray900: \"#212121\",\r\n },\r\n },\r\n fontFamily: \"Poppins\",\r\n },\r\n // Base Settins\r\n self: {\r\n layout: \"default\", // blank/default page mode\r\n body: {},\r\n },\r\n // == Page Splash Screen loading\r\n loader: {\r\n enabled: true,\r\n type: \"\", // default|spinner-message|spinner-logo\r\n logo: toAbsoluteUrl(\"/media/logos/logo-dark-sm.png\"),\r\n message: \"Please wait...\",\r\n },\r\n header: {\r\n self: {\r\n fixed: {\r\n mobile: true,\r\n },\r\n }\r\n },\r\n subheader: {\r\n display: true,\r\n displayDesc: false,\r\n displayDaterangepicker: true,\r\n breadcrumb: {\r\n display: true,\r\n },\r\n layout: \"subheader-v6\",\r\n fixed: false,\r\n width: \"fixed\", // fixed/fluid,\r\n clear: false,\r\n style: \"transparent\", // solid/transparent\r\n },\r\n content: {\r\n width: \"fixed\", // fluid|fixed\r\n },\r\n aside: {\r\n self: {\r\n display: true,\r\n fixed: true,\r\n minimize: {\r\n toggle: true,\r\n default: false\r\n }\r\n },\r\n secondary: {\r\n display: true\r\n },\r\n menu: {\r\n dropdown: false, // ok\r\n scroll: false, // ok\r\n \"icon-style\": \"duotone\", // duotone, line, bold, solid\r\n submenu: {\r\n accordion: true,\r\n },\r\n },\r\n },\r\n footer: {\r\n width: \"fixed\", // fixed|fluid\r\n fixed: false\r\n },\r\n extras: {\r\n search: {\r\n display: false,\r\n layout: \"offcanvas\", // offcanvas, dropdown\r\n offcanvas: {\r\n direction: \"right\",\r\n },\r\n },\r\n notifications: {\r\n display: false,\r\n layout: \"offcanvas\", // offcanvas, dropdown\r\n dropdown: {\r\n style: \"dark\", // light, dark\r\n },\r\n offcanvas: {\r\n direction: \"right\",\r\n },\r\n },\r\n \"quick-actions\": {\r\n display: true,\r\n layout: \"offcanvas\", // offcanvas, dropdown,\r\n dropdown: {\r\n style: \"dark\", // light, dark\r\n },\r\n offcanvas: {\r\n direction: \"left\",\r\n },\r\n },\r\n cart: {\r\n display: false,\r\n layout: \"dropdown\", // offcanvas, dropdown\r\n offcanvas: {\r\n direction: \"dark\", // ligth, dark\r\n },\r\n },\r\n chat: {\r\n display: true,\r\n },\r\n user: {\r\n display: true,\r\n layout: \"offcanvas\", // offcanvas, dropdown\r\n dropdown: {\r\n style: \"light\", // light|dark\r\n },\r\n offcanvas: {\r\n direction: \"left\",\r\n },\r\n },\r\n languages: {\r\n display: false,\r\n },\r\n \"quick-panel\": {\r\n display: true,\r\n offcanvas: {\r\n direction: \"left\",\r\n },\r\n },\r\n\r\n toolbar: {\r\n display: true,\r\n },\r\n scrolltop: {\r\n display: true,\r\n },\r\n },\r\n };\r\n}\r\n","import React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { toAbsoluteUrl } from \"../../../_helpers\";\r\n\r\nexport function Brand() {\r\n return (\r\n <>\r\n {/* begin::Brand */}\r\n \r\n {/* begin::Logo */}\r\n \r\n \r\n \r\n {/* end::Logo */}\r\n \r\n {/* end::Brand */}\r\n \r\n );\r\n}\r\n","/* eslint-disable no-restricted-imports */\r\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React, { useMemo } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Dropdown from \"react-bootstrap/Dropdown\";\r\nimport { useSelector } from \"react-redux\";\r\nimport objectPath from \"object-path\";\r\nimport { useHtmlClassService } from \"../../../_core/MetronicLayout\";\r\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\r\nimport { DropdownTopbarItemToggler } from \"../../../../_partials/dropdowns\";\r\n\r\nexport function UserProfileDropdown() {\r\n const { user } = useSelector((state) => state.auth);\r\n const uiService = useHtmlClassService();\r\n const layoutProps = useMemo(() => {\r\n return {\r\n light:\r\n objectPath.get(uiService.config, \"extras.user.dropdown.style\") ===\r\n \"light\",\r\n };\r\n }, [uiService]);\r\n\r\n const currentUser = useMemo(() => {\r\n return localStorage.getItem('user');\r\n }, []);\r\n return (\r\n \r\n \r\n \r\n \r\n Hi,\r\n {\" \"}\r\n \r\n {currentUser?.firstName} {currentUser?.lastName}\r\n \r\n \r\n \r\n {user.firstname[0]}\r\n \r\n \r\n \r\n \r\n \r\n <>\r\n {/** ClassName should be 'dropdown-menu p-0 m-0 dropdown-menu-right dropdown-menu-anim dropdown-menu-top-unround dropdown-menu-xl' */}\r\n {layoutProps.light && (\r\n <>\r\n
\r\n
\r\n \"\"\r\n
\r\n
\r\n {currentUser?.firstName} {currentUser?.lastName}\r\n
\r\n \r\n 3 messages\r\n \r\n
\r\n
\r\n \r\n )}\r\n\r\n {!layoutProps.light && (\r\n \r\n
\r\n \r\n {user.firstname[0]}\r\n \r\n {/*\"Pic\"*/}\r\n
\r\n
\r\n {currentUser?.firstName} {currentUser?.lastName}\r\n
\r\n \r\n 3 messages\r\n \r\n \r\n )}\r\n \r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n My Profile\r\n
\r\n
\r\n Account settings and more\r\n \r\n update\r\n \r\n
\r\n
\r\n
\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
My Messages
\r\n
Inbox and tasks
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
My Activities
\r\n
Logs and notifications
\r\n
\r\n
\r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
My Tasks
\r\n
latest tasks and projects
\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n Sign Out\r\n \r\n \r\n Upgrade Plan\r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n","/* eslint-disable no-restricted-imports */\r\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React, { useEffect, useMemo, useState } from \"react\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\n// import { useSelector } from \"react-redux\";\r\nimport { ErrorMessage, Field, Form, Formik } from \"formik\";\r\nimport objectPath from \"object-path\";\r\nimport { Modal, ProgressBar } from \"react-bootstrap\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { Link } from \"react-router-dom\";\r\nimport Swal from \"sweetalert2\";\r\nimport { toAbsoluteUrl } from \"../../../_helpers\";\r\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\r\nimport { UserProfileDropdown } from \"./dropdowns/UserProfileDropdown\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nconst BASE_URL = process.env.REACT_APP_BASE_URL;\r\nexport function QuickUserToggler(props) {\r\n const token = JSON.parse(localStorage.getItem(\"user\")).token;\r\n const [show, setShow] = useState(false);\r\n const [showPassword, setShowPassword] = React.useState(false);\r\n const handleShow = () => setShow(true);\r\n const handleClose = () => setShow(false);\r\n const uiService = useHtmlClassService();\r\n const layoutProps = useMemo(() => {\r\n return {\r\n offcanvas:\r\n objectPath.get(uiService.config, \"extras.user.layout\") === \"offcanvas\",\r\n };\r\n }, [uiService]);\r\n const Username = localStorage.getItem(\"UserEmail\");\r\n const handelQuickUser = async () => {\r\n handleShow();\r\n };\r\n const [isLoading, setIsLoading] = useState(false);\r\n const history = useHistory();\r\n const LoginBussnisAdmin = async (values) => {\r\n await fetch(`${BASE_URL}/api/Account/Token`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n Authorization: `bearer ${token}`,\r\n },\r\n body: JSON.stringify({\r\n username: Username,\r\n password: values.password,\r\n }),\r\n Allow: \"POST\",\r\n })\r\n .then(async (response) => {\r\n const statusCode = response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n var dataUser = data[1];\r\n handleClose();\r\n history.push(\"/dashboard\");\r\n window.location.reload();\r\n localStorage.removeItem(\"user\");\r\n localStorage.removeItem(\"ProfilePicture\");\r\n localStorage.removeItem(\"dateFormat\");\r\n localStorage.removeItem(\"IconShow\");\r\n localStorage.removeItem(\"sendingTimeZoneValue\");\r\n localStorage.removeItem(\"sendingTimeZone\");\r\n\r\n localStorage.setItem(\"fullName\", `${data[1].firstName} ${data[1].lastName}`);\r\n localStorage.setItem(\"user\", JSON.stringify(data[1]));\r\n localStorage.setItem(\"sendingTimeZone\", dataUser?.sendingTimeZone);\r\n localStorage.setItem(\"sendingTimeZoneValue\", dataUser?.sendingTimeZoneValue);\r\n localStorage.setItem(\"ProfilePicture\", data[1].profilePicture?.toString());\r\n if (document.getElementById(\"backgroundProfileGlobal\")) {\r\n document.getElementById(\r\n \"backgroundProfileGlobal\"\r\n ).style.backgroundImage = `url(\"${data[1].profilePicture?.toString()}\")`;\r\n }\r\n localStorage.setItem(\r\n \"dateFormat\",\r\n data[1]?.dateFormat !== null &&\r\n data[1]?.dateFormat !== undefined &&\r\n data[1]?.dateFormat !== \"\"\r\n ? data[1]?.dateFormat\r\n : \"DD/MM/YYYY\"\r\n );\r\n localStorage.setItem(\"IconShow\", false);\r\n\r\n const user = {\r\n accessToken: \"access-token-8f3ae836da744329a6f93bf20594b5cc\",\r\n refreshToken: \"access-token-f8c137a2c98743f48b643e71161d90aa\",\r\n };\r\n if (user) {\r\n return [200, { ...user, password: undefined }];\r\n }\r\n } else if (data[0] === 400 && data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n\r\n return [400];\r\n } else if (data[0] === 400 && data[1].errors) {\r\n for (const [key, value] of Object.entries(data[1].errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n\r\n return [400];\r\n }\r\n })\r\n .catch((error) => {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n\r\n return [400];\r\n });\r\n };\r\n useEffect(() => { }, []);\r\n\r\n return (\r\n <>\r\n {layoutProps.offcanvas && (\r\n
\r\n
\r\n {props.menu.map((item, index) => {\r\n if (item.position < 0) {\r\n return (\r\n {item.name}\r\n }\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n } else {\r\n return \"\"\r\n }\r\n })}\r\n
\r\n\r\n
\r\n User Profile}\r\n >\r\n props.handleTabChange(props.tabs?.tabId9)}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n <>\r\n {localStorage.getItem(\"IconShow\") === \"true\" ? (\r\n
\r\n Cancel Login\r\n }\r\n >\r\n {\r\n handelQuickUser();\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n ) : (\r\n \"\"\r\n )}\r\n \r\n \r\n )}\r\n \r\n {isLoading && (\r\n \r\n )}\r\n {\r\n LoginBussnisAdmin(values);\r\n }}\r\n >\r\n {({ handleSubmit, setFieldValue, values }) => (\r\n <>\r\n <>\r\n \r\n \r\n Login : {Username}\r\n \r\n \r\n \r\n \r\n {isLoading && (\r\n
\r\n
\r\n
\r\n )}\r\n
\r\n\r\n \r\n
\r\n \r\n setShowPassword(!showPassword)}\r\n className=\"svg-icon svg-icon-md svg-icon-primary position-absolute right-0 mr-5 pr-3\"\r\n >\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n \r\n {\"Cancel\"}\r\n \r\n <> \r\n handleSubmit()}\r\n\r\n className=\"btn btn-primary btn-elevate outline-primary\"\r\n\r\n >\r\n {\"Login\"}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n {!layoutProps.offcanvas && }\r\n \r\n );\r\n}\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\n/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport objectPath from \"object-path\";\r\nimport React, { useEffect, useMemo, useState } from \"react\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { toAbsoluteUrl } from \"../../../_helpers\";\r\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\r\nimport { Brand } from \"../brand/Brand\";\r\nimport { QuickUserToggler } from \"../extras/QuickUserToggler\";\r\nimport { KTUtil } from \"./../../../_assets/js/components/util\";\r\nimport { apiCall } from \"../../../../app/helpers/globals\";\r\nimport { LanguageSelectorDropdown } from \"../extras/dropdowns/LanguageSelectorDropdown\";\r\nimport Swal from \"sweetalert2\";\r\nimport IntroJs from \"../extras/IntroJs\"\r\nexport function Aside() {\r\n\r\n const uiService = useHtmlClassService();\r\n const BASE_URL = process.env.REACT_APP_BASE_URL;\r\n const { token } = JSON.parse(localStorage.getItem(\"user\"));\r\n const [menu, setMenu] = useState([]);\r\n\r\n const layoutProps = useMemo(() => {\r\n return {\r\n asideClassesFromConfig: uiService.getClasses(\"aside\", true),\r\n asideSecondaryDisplay: objectPath.get(\r\n uiService.config,\r\n \"aside.secondary.display\"\r\n ),\r\n asideSelfMinimizeToggle: objectPath.get(\r\n uiService.config,\r\n \"aside.self.minimize.toggle\"\r\n ),\r\n extrasSearchDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.search.display\"\r\n ),\r\n extrasNotificationsDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.notifications.display\"\r\n ),\r\n extrasQuickActionsDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.quick-actions.display\"\r\n ),\r\n extrasQuickPanelDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.quick-panel.display\"\r\n ),\r\n extrasLanguagesDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.languages.display\"\r\n ),\r\n extrasUserDisplay: objectPath.get(\r\n uiService.config,\r\n \"extras.user.display\"\r\n ),\r\n };\r\n }, [uiService]);\r\n\r\n const tabs = {\r\n tabId1: \"kt_aside_tab_1\",\r\n tabId2: \"kt_aside_tab_2\",\r\n tabId3: \"kt_aside_tab_3\",\r\n tabId4: \"kt_aside_tab_4\",\r\n tabId5: \"kt_aside_tab_5\",\r\n tabId6: \"kt_aside_tab_6\",\r\n tabId7: \"kt_aside_tab_7\",\r\n tabId8: \"kt_aside_tab_8\",\r\n tabId9: \"kt_aside_tab_9\",\r\n tabId10: \"kt_aside_tab_10\",\r\n tabId11: \"kt_aside_tab_11\",\r\n tabId12: \"kt_aside_tab_12\",\r\n tabId13: \"kt_aside_tab_13\",\r\n tabId14: \"kt_aside_tab_14\",\r\n tabId15: \"kt_aside_tab_15\",\r\n };\r\n const [activeTab, setActiveTab] = useState(false);\r\n const handleTabChange = (id) => {\r\n setActiveTab(id);\r\n const asideWorkspace = KTUtil.find(\r\n document.getElementById(\"kt_aside\"),\r\n \".aside-secondary .aside-workspace\"\r\n );\r\n if (asideWorkspace) {\r\n KTUtil.scrollUpdate(asideWorkspace);\r\n }\r\n };\r\n\r\n const handleMenu = () => {\r\n fetch(BASE_URL + \"/api/Generic/Menu\", {\r\n method: \"GET\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n Authorization: \"Bearer \" + token,\r\n },\r\n Allow: \"GET\",\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n setMenu(data[1]?.permissions);\r\n }\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n handleMenu();\r\n }, []);\r\n\r\n function checkLinkIncluded(value, element) {\r\n var currentLink = window.location.pathname;\r\n if (currentLink.includes(value)) {\r\n handleTabChange(element);\r\n }\r\n }\r\n\r\n function checkBuilder() {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Generic/AppVersion`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n if (String(window.location.hostname) !== \"localhost\") {\r\n if (String(process.env.REACT_APP_VERSION) !== String(data[1])) {\r\n Swal.fire({\r\n position: \"center\",\r\n icon: \"info\",\r\n title: \"New Build Version Released. Clearing Cache now ...\",\r\n showConfirmButton: false,\r\n timer: 5000,\r\n });\r\n setTimeout(function () {\r\n if (caches) {\r\n caches.keys().then((names) => {\r\n for (const name of names) {\r\n caches.delete(name);\r\n }\r\n });\r\n }\r\n window.location.reload(true);\r\n }, 2000);\r\n };\r\n }\r\n }\r\n return data;\r\n });\r\n }\r\n\r\n useEffect(() => {\r\n\r\n var currentLink = window.location.pathname;\r\n switch (currentLink) {\r\n case \"/Sequences/management\": {\r\n setActiveTab(tabs.tabId1);\r\n break;\r\n }\r\n case \"/templatesList\": {\r\n setActiveTab(tabs.tabId2);\r\n break;\r\n }\r\n case \"/search\": {\r\n setActiveTab(tabs.tabId3);\r\n break;\r\n }\r\n case \"/Leadlist\": {\r\n setActiveTab(tabs.tabId4);\r\n break;\r\n }\r\n case \"/Contacts\": {\r\n setActiveTab(tabs.tabId6);\r\n break;\r\n }\r\n case \"/Opportunities\": {\r\n setActiveTab(tabs.tabId7);\r\n break;\r\n }\r\n case \"/tasks\": {\r\n setActiveTab(tabs.tabId1);\r\n break;\r\n }\r\n case \"/GlobalImport\": {\r\n setActiveTab(tabs.tabId12);\r\n break;\r\n }\r\n case \"/Staff\": {\r\n setActiveTab(tabs.tabId10);\r\n break;\r\n }\r\n case \"/Companies\": {\r\n setActiveTab(tabs.tabId11);\r\n break;\r\n }\r\n case \"/settings/custom-fields\": {\r\n setActiveTab(tabs.tabId13);\r\n break;\r\n }\r\n case \"/settings/mailbox\": {\r\n setActiveTab(tabs.tabId13);\r\n break;\r\n }\r\n case \"/settings/blacklist\": {\r\n setActiveTab(tabs.tabId13);\r\n break;\r\n }\r\n case \"/settings/schedule\": {\r\n setActiveTab(tabs.tabId13);\r\n break;\r\n }\r\n case \"/Agencies\": {\r\n setActiveTab(tabs.tabId14);\r\n break;\r\n }\r\n case \"/Businesses\": {\r\n setActiveTab(tabs.tabId15);\r\n break;\r\n }\r\n default: {\r\n setActiveTab(tabs.tabId1);\r\n }\r\n }\r\n menu.length > 0 &&\r\n menu.forEach((x, i) => {\r\n if (x.position > 0) {\r\n checkLinkIncluded(x?.link, tabs.tabId + i);\r\n }\r\n });\r\n }, [tabs, menu]);\r\n// const steps = [\r\n// {\r\n// element: '.asideintro',\r\n// title: 'Aside bar',\r\n// intro: 'Aside bar',\r\n// },\r\n \r\n// {\r\n// element: '.asidemune',\r\n// title: 'Aside menu',\r\n// intro: 'Menu',\r\n// },\r\n// {\r\n// element: '.Dashboard',\r\n// title: 'Aside menu',\r\n// intro: 'Menu',\r\n// },\r\n// {\r\n// element: '.Search',\r\n// title: 'Aside search',\r\n// intro: 'Search',\r\n// },\r\n// {\r\n// element: '.Sequences',\r\n// title: 'Aside sequences',\r\n// intro: 'Sequences',\r\n// },\r\n// {\r\n// element: '.Newsletters',\r\n// title: 'Aside newsletters',\r\n// intro: 'Newsletters',\r\n// },\r\n// {\r\n// element: '.ProspectLists',\r\n// title: 'Aside Prospect Lists',\r\n// intro: 'Prospect lists',\r\n// },\r\n// {\r\n// element: '.Contacts',\r\n// title: 'Aside contacts',\r\n// intro: 'Contacts',\r\n// },\r\n// {\r\n// element: '.Companies',\r\n// title: 'Aside companies',\r\n// intro: 'Contacts',\r\n// },\r\n// {\r\n// element: '.ABCompanies',\r\n// title: 'Aside AB Companies',\r\n// intro: 'ABCompanies',\r\n// },\r\n// {\r\n// element: '.Opportunities',\r\n// title: 'Aside opportunities',\r\n// intro: 'Opportunities',\r\n// },{\r\n// element: '.Tasks',\r\n// title: 'Aside tasks',\r\n// intro: 'Tasks',\r\n// },\r\n\r\n// {\r\n// element: '.Settings',\r\n// title: 'Aside settings',\r\n// intro: 'Settings',\r\n// },\r\n// {\r\n// element: '.UserProfile',\r\n// title: 'Aside user profile',\r\n// intro: 'User profile',\r\n// },\r\n// ];\r\n return (\r\n <>\r\n {/* begin::Aside */}\r\n \r\n \r\n {/* */}\r\n \r\n {/* begin::Primary */}\r\n
\r\n \r\n {/* begin::Nav Wrapper */}\r\n
\r\n {/* begin::Nav */}\r\n
    \r\n {menu.map((item, index) => {\r\n if (item.position > 0) {\r\n\r\n return (\r\n \r\n {item?.name}\r\n }\r\n >\r\n { checkBuilder(); handleTabChange(tabs.tabId + index) }}\r\n role=\"tab\"\r\n >\r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n } else {\r\n return \"\";\r\n }\r\n })}\r\n
\r\n {/* end::Nav */}\r\n
\r\n {/* end::Nav Wrapper */}\r\n\r\n {/* begin::Footer */}\r\n {/* begin::Languages*/}\r\n {layoutProps.extrasLanguagesDisplay && }\r\n {/* end::Languages */}\r\n
\r\n {/* begin::User*/}\r\n {layoutProps.extrasUserDisplay && (\r\n \r\n )}\r\n {/* end::User */}\r\n
\r\n {/* end::Footer */}\r\n
\r\n {/* end::Primary */}\r\n\r\n {layoutProps.asideSecondaryDisplay && (\r\n <>\r\n {/* begin::Secondary */}\r\n
\r\n {/* begin::Workspace */}\r\n
\r\n
\r\n {/* \r\n */}\r\n
\r\n
\r\n {/* end::Workspace */}\r\n
\r\n {/* end::Secondary */}\r\n \r\n )}\r\n
\r\n {/* end::Aside */}\r\n \r\n );\r\n}\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\r\n\r\nexport function QuickActions() {\r\n return (\r\n <>\r\n {/* begin::Quick Actions Panel */}\r\n
\r\n {/* begin::Header */}\r\n
\r\n

\r\n Quick Actions\r\n \r\n finance & reports\r\n \r\n

\r\n \r\n \r\n \r\n
\r\n {/* end::Header */}\r\n\r\n {/* begin::Content */}\r\n
\r\n
\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Accounting\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Members\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n
\r\n
\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Projects\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Customers\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n
\r\n
\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Email\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Settings\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n
\r\n
\r\n {/* begin::Item */}\r\n
\r\n \r\n \r\n \r\n \r\n \r\n Orders\r\n \r\n \r\n
\r\n {/* end::Item */}\r\n
\r\n
\r\n {/* end::Content */}\r\n
\r\n {/* end::Quick Actions Panel */}\r\n \r\n );\r\n}\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React, { useEffect, useMemo, useState } from \"react\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { shallowEqual, useSelector } from \"react-redux\";\r\nimport { Link, useHistory } from \"react-router-dom\";\r\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\r\nimport { useCustomerly } from \"react-live-chat-customerly\";\r\n\r\nexport function QuickUser() {\r\n const history = useHistory();\r\n const user = useSelector((state) => state.auth.user, shallowEqual);\r\n const [ReloadData, setReloadData] = useState(0);\r\n\r\n const logoutClick = () => {\r\n localStorage.removeItem(\"fullName\");\r\n localStorage.removeItem(\"ProfilePicture\");\r\n localStorage.removeItem(\"IconShow\");\r\n localStorage.removeItem(\"UserEmail\");\r\n localStorage.removeItem(\"dateFormat\");\r\n localStorage.removeItem(\"customerly_messenger/i18next/en-translation\");\r\n localStorage.removeItem(\"i18nextLng\");\r\n localStorage.removeItem(\"user\");\r\n localStorage.removeItem(\"customerly_messenger/stats\");\r\n localStorage.removeItem(\"customerly_messenger/welcome-lead/sent\");\r\n\r\n const toggle = document.getElementById(\"kt_quick_user_toggle\");\r\n if (toggle) {\r\n toggle.click();\r\n }\r\n history.push(\"/logout\");\r\n };\r\n\r\n const currentUser = useMemo(() => {\r\n return JSON.parse(localStorage.getItem(\"user\"));\r\n }, []);\r\n const fullName = useMemo(() => {\r\n return localStorage.getItem(\"fullName\");\r\n }, []);\r\n const currentProfilePicture = useMemo(() => {\r\n return localStorage.getItem(\"ProfilePicture\");\r\n }, []);\r\n\r\n const { load } = useCustomerly();\r\n useEffect(() => {\r\n LoadChats(load);\r\n }, []);\r\n\r\n return (\r\n
\r\n
\r\n

\r\n User Profile\r\n {/* 12 messages */}\r\n

\r\n \r\n \r\n \r\n
\r\n\r\n {\r\n setReloadData((x) => x + 1);\r\n }}\r\n />\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n {!!fullName\r\n ? fullName\r\n : `${currentUser.firstName} ${currentUser.lastName}`}\r\n \r\n {/*
\r\n {currentUser?.roles?.length > 0 ? currentUser?.roles[0] : \"\"}\r\n
*/}\r\n \r\n {/* \r\n Sign Out\r\n */}\r\n \r\n Sign out\r\n \r\n
\r\n
\r\n\r\n
\r\n\r\n
\r\n {\r\n const Close = document.getElementById(\"kt_quick_user_close\");\r\n if (Close) {\r\n Close.click();\r\n }\r\n }}>\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
My Profile
\r\n
Account settings and more
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n );\r\n}\r\n\r\nfunction LoadChats(load) {\r\n load();\r\n var count = 0;\r\n try {\r\n var interval = setInterval(doStuff, 1000);\r\n function doStuff() {\r\n count++;\r\n var ele = document.querySelector(\"#customerly-container .gQkKzL\");\r\n if (!!ele || count > 15) {\r\n ele.setAttribute(\"style\", \"display: none !important;\");\r\n clearInterval(interval);\r\n\r\n var chatId = document.querySelector(\"#ChatId\");\r\n if (!!chatId) chatId.removeAttribute(\"style\");\r\n }\r\n\r\n var ele2 = document.querySelector(\"#customerly-container\");\r\n if (!!ele2) ele2.style.opacity = 1;\r\n }\r\n } catch (error) { }\r\n}\r\n","import React from \"react\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport {toAbsoluteUrl} from \"../../../_helpers\";\r\n\r\nexport function ScrollTop() {\r\n return (\r\n
\r\n \r\n \r\n {\" \"}\r\n
\r\n );\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\nimport { toAbsoluteUrl } from \"../../../_helpers\";\r\nimport SVG from \"react-inlinesvg\";\r\n\r\nexport function StickyToolbar() {\r\n return (\r\n <>\r\n \r\n Chat}\r\n >\r\n
  • \r\n {\r\n try {\r\n document\r\n .querySelector(\"#customerly-container .giyoEQ\")\r\n .click();\r\n } catch (error) { }\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n
  • \r\n \r\n \r\n \r\n );\r\n}\r\n","import React, { useMemo } from \"react\";\r\nimport objectPath from \"object-path\";\r\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\r\nimport preval from 'preval.macro'\r\nimport moment from \"moment\";\r\nimport {getFromatdate } from '../../../../app/helpers/globals';\r\n\r\nexport function Footer() {\r\n const today = new Date().getFullYear();\r\n const uiService = useHtmlClassService();\r\n\r\n const layoutProps = useMemo(() => {\r\n return {\r\n footerLayout: objectPath.get(uiService.config, \"footer.layout\"),\r\n footerClasses: uiService.getClasses(\"footer\", true),\r\n footerContainerClasses: uiService.getClasses(\"footer_container\", true),\r\n };\r\n }, [uiService]);\r\n\r\n return (\r\n <>\r\n {/* begin::Footer */}\r\n {/* doc: add \"bg-white\" class to have footer with solod background color */}\r\n \r\n {/* begin::Container */}\r\n \r\n {/* begin::Copyright */}\r\n
    \r\n \r\n {today} ©\r\n \r\n {` `}\r\n \r\n SalesProphet\r\n \r\n\r\n \r\n Build Version{\" \"}\r\n \r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / Build Date:{\" \"}\r\n {moment(preval`module.exports = new Date().toLocaleDateString(\"en-US\");`).format(getFromatdate())}\r\n\r\n \r\n
    \r\n
    \r\n \r\n \r\n );\r\n}\r\n","import React, { useMemo } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport objectPath from \"object-path\";\r\nimport {toAbsoluteUrl} from \"../../../_helpers\";\r\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\r\n\r\nexport function HeaderMobile() {\r\n const uiService = useHtmlClassService();\r\n\r\n const layoutProps = useMemo(() => {\r\n return {\r\n asideDisplay: objectPath.get(uiService.config, \"aside.self.display\"),\r\n headerMobileCssClasses: uiService.getClasses(\"header_mobile\", true),\r\n headerMobileAttributes: uiService.getAttributes(\"header_mobile\"),\r\n };\r\n }, [uiService]);\r\n\r\n return (\r\n <>\r\n {/*begin::Header Mobile*/}\r\n \r\n {/* begin::Logo */}\r\n \r\n \r\n \r\n {/* end::Logo */}\r\n\r\n {/* begin::Toolbar */}\r\n
    \r\n {layoutProps.asideDisplay && (\r\n \r\n \r\n \r\n )}\r\n
    \r\n {/* end::Toolbar */}\r\n \r\n {/* end::Header Mobile */}\r\n \r\n );\r\n}\r\n","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutAside = function() {\r\n // Private properties\r\n var _body;\r\n var _element;\r\n var _offcanvasObject;\r\n\r\n // Private functions\r\n\t// Initialize\r\n\tvar _init = function() {\r\n\t\tvar offcanvasClass = KTUtil.hasClass(_element, 'aside-offcanvas-default') ? 'aside-offcanvas-default' : 'aside';\r\n\r\n // Initialize mobile aside offcanvas\r\n\t\t_offcanvasObject = new KTOffcanvas(_element, {\r\n\t\t\tbaseClass: offcanvasClass,\r\n\t\t\toverlay: true,\r\n\t\t\tcloseBy: 'kt_aside_close_btn',\r\n\t\t\ttoggleBy: {\r\n\t\t\t\ttarget: 'kt_aside_mobile_toggle',\r\n\t\t\t\tstate: 'mobile-toggle-active'\r\n\t\t\t}\r\n\t\t});\r\n\t}\r\n\r\n var _initNav = function() {\r\n var asideNav = KTUtil.find(_element, '.aside-primary .aside-nav');\r\n\r\n if (!asideNav) {\r\n return;\r\n }\r\n\r\n KTUtil.scrollInit(asideNav, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n var asideBrand = KTUtil.find(_element, '.aside-primary .aside-brand');\r\n var asideFooter = KTUtil.find(_element, '.aside-primary .aside-footer');\r\n\r\n height = height - (parseInt(KTUtil.css(asideBrand, 'height')));\r\n height = height - (parseInt(KTUtil.css(asideBrand, 'marginBottom')) + parseInt(KTUtil.css(asideBrand, 'marginTop')));\r\n\r\n height = height - (parseInt(KTUtil.css(asideFooter, 'height')));\r\n height = height - (parseInt(KTUtil.css(asideFooter, 'marginBottom')) + parseInt(KTUtil.css(asideFooter, 'marginTop')));\r\n\r\n return height;\r\n }\r\n });\r\n }\r\n\r\n var _initWorkspace = function() {\r\n var asideTabs = KTUtil.find(_element, '.aside-primary .aside-nav .nav');\r\n var asideWorkspace = KTUtil.find(_element, '.aside-secondary .aside-workspace');\r\n\r\n if (!asideWorkspace) {\r\n return;\r\n }\r\n\r\n KTUtil.scrollInit(asideWorkspace, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n var asideSecondary = KTUtil.find(_element, '.aside-secondary');\r\n\r\n height = height - (parseInt(KTUtil.css(asideWorkspace, 'marginBottom')) + parseInt(KTUtil.css(asideWorkspace, 'marginTop')));\r\n height = height - (parseInt(KTUtil.css(asideSecondary, 'paddingBottom')) + parseInt(KTUtil.css(asideSecondary, 'paddingTop')));\r\n\r\n return height;\r\n }\r\n });\r\n\r\n if (asideTabs) {\r\n $(asideTabs).find('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\r\n KTUtil.scrollUpdate(asideWorkspace);\r\n });\r\n }\r\n }\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n _body = KTUtil.getBody();\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n _initNav();\r\n _initWorkspace();\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n },\r\n\r\n getOffcanvas: function() {\r\n return _offcanvasObject;\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutAside;\r\n}\r\n\r\nexport default KTLayoutAside;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport KTMenu from \"./../../components/menu.js\";\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTLayoutAside from \"./aside.js\";\r\n\r\nvar KTLayoutAsideMenu = function() {\r\n // Private properties\r\n var _element;\r\n var _menuObject;\r\n\r\n\t// Initialize\r\n\tvar _init = function() {\r\n\t\t_menuObject = new KTMenu(_element, {\r\n\t\t\t// Submenu setup\r\n\t\t\tsubmenu: {\r\n\t\t\t\tdesktop: 'accordion',\r\n\t\t\t\ttablet: 'accordion', // menu set to accordion in tablet mode\r\n\t\t\t\tmobile: 'accordion' // menu set to accordion in mobile mode\r\n\t\t\t},\r\n\r\n\t\t\t// Accordion setup\r\n\t\t\taccordion: {\r\n\t\t\t\texpandAll: false // allow having multiple expanded accordions in the menu\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t // Close aside offcanvas panel before page reload On tablet and mobile\r\n _menuObject.on('linkClick', function(menu) {\r\n if (KTUtil.isBreakpointDown('lg')) { // Tablet and mobile mode\r\n KTLayoutAside.getOffcanvas().hide(); // Hide offcanvas after general link click\r\n }\r\n });\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize menu\r\n _init();\r\n\t\t},\r\n\r\n\t\tgetElement: function() {\r\n\t\t\treturn _element;\r\n\t\t},\r\n\r\n getMenu: function() {\r\n\t\t\treturn _menuObject;\r\n\t\t},\r\n\r\n pauseDropdownHover: function(time) {\r\n\t\t\tif (_menuObject) {\r\n\t\t\t\t_menuObject.pauseDropdownHover(time);\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tcloseMobileOffcanvas: function() {\r\n\t\t\tif (_menuObject && KTUtil.isMobileDevice()) {\r\n\t\t\t\t_menuObject.hide();\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutAsideMenu;\r\n}\r\n\r\nexport default KTLayoutAsideMenu;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\n\r\nvar KTLayoutSubheader = function() {\r\n // Private properties\r\n var _element;\r\n\r\n // Private functions\r\n var _getHeight = function() {\r\n var height = 0;\r\n\r\n if (_element) {\r\n height = KTUtil.actualHeight(_element);\r\n }\r\n\r\n return height;\r\n }\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\t\t},\r\n\r\n isFixed: function() {\r\n return KTUtil.hasClass(KTUtil.getBody(), 'subheader-fixed');\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n },\r\n\r\n getHeight: function() {\r\n return _getHeight();\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutSubheader;\r\n}\r\n\r\nexport default KTLayoutSubheader;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\n\r\nvar KTLayoutFooter = function() {\r\n // Private properties\r\n var _element;\r\n\r\n\t// Private functions\r\n\tvar _getHeight = function() {\r\n\t\tvar height = 0;\r\n\r\n if (_element) {\r\n height = KTUtil.actualHeight(_element);\r\n }\r\n\r\n\t\treturn height;\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\t\t},\r\n\r\n\t\tgetHeight: function() {\r\n\t\t\treturn _getHeight();\r\n\t\t},\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutFooter;\r\n}\r\n\r\nexport default KTLayoutFooter;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTLayoutSubheader from \"./subheader.js\";\r\nimport KTLayoutFooter from \"./footer.js\";\r\n\r\nvar KTLayoutContent = function() {\r\n // Private properties\r\n var _element;\r\n\r\n\t// Private functions\r\n\tvar _getHeight = function() {\r\n\t\tvar height;\r\n\r\n\t\theight = KTUtil.getViewPort().height;\r\n\r\n if (_element) {\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop')) - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n }\r\n\r\n height = height - KTLayoutSubheader.getHeight();\r\n height = height - KTLayoutFooter.getHeight();\r\n\r\n\t\treturn height;\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\t\t},\r\n\r\n\t\tgetHeight: function() {\r\n\t\t\treturn _getHeight();\r\n\t\t},\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutContent;\r\n}\r\n\r\nexport default KTLayoutContent;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport KTScrolltop from \"./../../components/scrolltop.js\";\r\nimport { KTUtil } from \"./../../components/util.js\";\r\n\r\nvar KTLayoutScrolltop = function() {\r\n // Private properties\r\n var _element;\r\n var _object;\r\n\r\n // Private functions\r\n var _init = function() {\r\n _object = new KTScrolltop(_element, {\r\n offset: 300,\r\n speed: 600,\r\n });\r\n }\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n\t\t},\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutScrolltop;\r\n}\r\n\r\nexport default KTLayoutScrolltop;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport KTCard from \"./../../components/card.js\";\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTLayoutSubheader from \"./subheader.js\";\r\n\r\nvar KTLayoutStickyCard = function() {\r\n // Private properties\r\n\tvar _element;\r\n var _object;\r\n\r\n\t// Private functions\r\n\tvar _init = function() {\r\n\t\tvar offset = 300;\r\n\r\n\t\tif (typeof KTLayoutHeader !== 'undefined') {\r\n\t\t\toffset = KTLayoutHeader.getHeight();\r\n\t\t}\r\n\r\n _object = new KTCard(_element, {\r\n\t\t\tsticky: {\r\n\t\t\t\toffset: offset,\r\n\t\t\t\tzIndex: 90,\r\n\t\t\t\tposition: {\r\n\t\t\t\t\ttop: function() {\r\n\t\t\t\t\t\tvar pos = 0;\r\n var body = KTUtil.getBody();\r\n\r\n\t\t\t\t\t\tif (KTUtil.isBreakpointUp('lg')) {\r\n\t\t\t\t\t\t\tif (typeof KTLayoutHeader !== 'undefined' && KTLayoutHeader.isFixed()) {\r\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutHeader.getHeight();\r\n\t\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t\tif (typeof KTLayoutSubheader !== 'undefined' && KTLayoutSubheader.isFixed()) {\r\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutSubheader.getHeight();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t} else {\r\n\t\t\t\t\t\t\tif (typeof KTLayoutHeader !== 'undefined' && KTLayoutHeader.isFixedForMobile()) {\r\n\t\t\t\t\t\t\t\tpos = pos + KTLayoutHeader.getHeightForMobile();\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tpos = pos - 1; // remove header border width\r\n\r\n\t\t\t\t\t\treturn pos;\r\n\t\t\t\t\t},\r\n\t\t\t\t\tleft: function(card) {\r\n\t\t\t\t\t\treturn KTUtil.offset(_element).left;\r\n\t\t\t\t\t},\r\n\t\t\t\t\tright: function(card) {\r\n\t\t\t\t\t\tvar body = KTUtil.getBody();\r\n\r\n\t\t\t\t\t\tvar cardWidth = parseInt(KTUtil.css(_element, 'width'));\r\n\t\t\t\t\t\tvar bodyWidth = parseInt(KTUtil.css(body, 'width'));\r\n\t\t\t\t\t\tvar cardOffsetLeft = KTUtil.offset(_element).left;\r\n\r\n\t\t\t\t\t\treturn bodyWidth - cardWidth - cardOffsetLeft;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t_object.initSticky();\r\n\r\n\t\tKTUtil.addResizeHandler(function() {\r\n\t\t\t_object.updateSticky();\r\n\t\t});\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n\t\t\t_init();\r\n\t\t},\r\n\r\n\t\tupdate: function() {\r\n\t\t\tif (_object) {\r\n\t\t\t\t_object.updateSticky();\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutStickyCard;\r\n}\r\n\r\nexport default KTLayoutStickyCard;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTLayoutContent from \"./content.js\";\r\n\r\nvar KTLayoutStretchedCard = function() {\r\n // Private properties\r\n\tvar _element;\r\n\r\n\t// Private functions\r\n\tvar _init = function() {\r\n\t\tvar scroll = KTUtil.find(_element, '.card-scroll');\r\n\t\tvar cardBody = KTUtil.find(_element, '.card-body');\r\n\t\tvar cardHeader = KTUtil.find(_element, '.card-header');\r\n\r\n\t\tvar height = KTLayoutContent.getHeight();\r\n\r\n\t\theight = height - parseInt(KTUtil.actualHeight(cardHeader));\r\n\r\n\t\theight = height - parseInt(KTUtil.css(_element, 'marginTop')) - parseInt(KTUtil.css(_element, 'marginBottom'));\r\n\t\theight = height - parseInt(KTUtil.css(_element, 'paddingTop')) - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n\t\theight = height - parseInt(KTUtil.css(cardBody, 'paddingTop')) - parseInt(KTUtil.css(cardBody, 'paddingBottom'));\r\n\t\theight = height - parseInt(KTUtil.css(cardBody, 'marginTop')) - parseInt(KTUtil.css(cardBody, 'marginBottom'));\r\n\r\n\t\theight = height - 3;\r\n\r\n\t\tKTUtil.css(scroll, 'height', height + 'px');\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n\t\t\t_init();\r\n\r\n // Re-calculate on window resize\r\n KTUtil.addResizeHandler(function() {\r\n\t\t\t\t_init();\r\n\t\t\t});\r\n\t\t},\r\n\r\n\t\tupdate: function() {\r\n\t\t\t_init();\r\n\t\t}\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutStretchedCard;\r\n}\r\n\r\nexport default KTLayoutStretchedCard;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutQuickPanel = function() {\r\n // Private properties\r\n var _element;\r\n var _offcanvasObject;\r\n var _notificationsElement;\r\n var _logsElement;\r\n var _settingsElement;\r\n\r\n // Private functions\r\n var _getContentHeight = function() {\r\n var height;\r\n\r\n var header = KTUtil.find(_element, '.offcanvas-header');\r\n var content = KTUtil.find(_element, '.offcanvas-content');\r\n\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n\r\n if (header) {\r\n height = height - parseInt(KTUtil.actualHeight(header));\r\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\r\n }\r\n\r\n if (content) {\r\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\r\n }\r\n\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\r\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n height = height - 2;\r\n\r\n return height;\r\n }\r\n\r\n var _init = function() {\r\n _offcanvasObject = new KTOffcanvas(_element, {\r\n overlay: true,\r\n baseClass: 'offcanvas',\r\n placement: 'right',\r\n closeBy: 'kt_quick_panel_close',\r\n toggleBy: 'kt_quick_panel_toggle'\r\n });\r\n }\r\n\r\n var _initNotifications = function() {\r\n KTUtil.scrollInit(_notificationsElement, {\r\n mobileNativeScroll: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n return _getContentHeight();\r\n }\r\n });\r\n }\r\n\r\n var _initLogs = function() {\r\n KTUtil.scrollInit(_logsElement, {\r\n mobileNativeScroll: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n return _getContentHeight();\r\n }\r\n });\r\n }\r\n\r\n var _initSettings = function() {\r\n KTUtil.scrollInit(_settingsElement, {\r\n mobileNativeScroll: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n return _getContentHeight();\r\n }\r\n });\r\n }\r\n\r\n var _updateScrollbars = function() {\r\n $(_element).find('a[data-toggle=\"tab\"]').on('shown.bs.tab', function (e) {\r\n KTUtil.scrollUpdate(_notificationsElement);\r\n KTUtil.scrollUpdate(_logsElement);\r\n KTUtil.scrollUpdate(_settingsElement);\r\n });\r\n }\r\n\r\n // Public methods\r\n return {\r\n init: function(id) {\r\n _element = KTUtil.getById(id);\r\n _notificationsElement = KTUtil.getById('kt_quick_panel_notifications');\r\n _logsElement = KTUtil.getById('kt_quick_panel_logs');\r\n _settingsElement = KTUtil.getById('kt_quick_panel_settings');\r\n\r\n _init();\r\n _initNotifications();\r\n _initLogs();\r\n _initSettings();\r\n\r\n \r\n }\r\n };\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutQuickPanel;\r\n}\r\n\r\nexport default KTLayoutQuickPanel;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutQuickUser = function() {\r\n // Private properties\r\n var _element;\r\n var _offcanvasObject;\r\n\r\n // Private functions\r\n var _init = function() {\r\n var header = KTUtil.find(_element, '.offcanvas-header');\r\n var content = KTUtil.find(_element, '.offcanvas-content');\r\n\r\n _offcanvasObject = new KTOffcanvas(_element, {\r\n overlay: true,\r\n baseClass: 'offcanvas',\r\n placement: 'right',\r\n closeBy: 'kt_quick_user_close',\r\n toggleBy: 'kt_quick_user_toggle'\r\n });\r\n\r\n KTUtil.scrollInit(content, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n\r\n if (header) {\r\n height = height - parseInt(KTUtil.actualHeight(header));\r\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\r\n }\r\n\r\n if (content) {\r\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\r\n }\r\n\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\r\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n height = height - 2;\r\n\r\n return height;\r\n }\r\n });\r\n }\r\n\r\n // Public methods\r\n return {\r\n init: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n };\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutQuickUser;\r\n}\r\n\r\nexport default KTLayoutQuickUser;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\n\r\nvar KTLayoutHeaderMobile = function() {\r\n // Private properties\r\n var _element;\r\n var _object;\r\n\r\n // Get height\r\n var _getHeight = function() {\r\n var height;\r\n\r\n height = KTUtil.actualHeight(_element);\r\n\r\n return height;\r\n }\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n\t\t},\r\n\r\n isFixed: function() {\r\n return KTUtil.hasClass(KTUtil.getBody(), 'header-mobile-fixed')\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n },\r\n\r\n getHeader: function() {\r\n return _object;\r\n },\r\n\r\n getHeight: function() {\r\n return _getHeight();\r\n }\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutHeaderMobile;\r\n}\r\n\r\nexport default KTLayoutHeaderMobile;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport KTToggle from \"./../../components/toggle.js\";\r\nimport KTLayoutStickyCard from \"./sticky-card.js\";\r\nimport KTLayoutAsideMenu from \"./aside-menu.js\";\r\nimport { KTCookie } from \"./../../components/cookie.js\";\r\nimport { KTUtil } from \"./../../components/util.js\";\r\n\r\nvar KTLayoutAsideToggle = function() {\r\n // Private properties\r\n var _body;\r\n var _element;\r\n var _toggleObject;\r\n\r\n\t// Initialize\r\n\tvar _init = function() {\r\n\t\t_toggleObject = new KTToggle(_element, _body, {\r\n\t\t\ttargetState: 'aside-minimize',\r\n\t\t\ttoggleState: 'aside-toggle-active'\r\n\t\t});\r\n\r\n\t\t_toggleObject.on('toggle', function(toggle) {\r\n // Update sticky card\r\n if (typeof KTLayoutStickyCard !== 'undefined') {\r\n setTimeout(function() {\r\n KTLayoutStickyCard.update();\r\n }, 500);\r\n }\r\n\r\n // Pause header menu dropdowns\r\n if (typeof KTLayoutHeaderMenu !== 'undefined') {\r\n KTLayoutHeaderMenu.pauseDropdownHover(800);\r\n }\r\n\r\n // Pause aside menu dropdowns\r\n if (typeof KTLayoutAsideMenu !== 'undefined') {\r\n KTLayoutAsideMenu.pauseDropdownHover(800);\r\n }\r\n\r\n // Remember state in cookie\r\n\t\t\tKTCookie.setCookie('kt_aside_toggle_state', toggle.getState());\r\n\t\t\t// to set default minimized left aside use this cookie value in your\r\n\t\t\t// server side code and add \"kt-primary--minimize aside-minimize\" classes to\r\n\t\t\t// the body tag in order to initialize the minimized left aside mode during page loading.\r\n\t\t});\r\n\r\n\t\t_toggleObject.on('beforeToggle', function(toggle) {\r\n\t\t\t//if (KTUtil.hasClass(_body, 'aside-minimize') === false && KTUtil.hasClass(_body, 'aside-minimize-hover')) {\r\n\t\t\t//\tKTUtil.removeClass(_body, 'aside-minimize-hover');\r\n\t\t\t//}\r\n\t\t});\r\n\t}\r\n\r\n // Public methods\r\n\treturn {\r\n\t\tinit: function(id) {\r\n _element = KTUtil.getById(id);\r\n _body = KTUtil.getBody();\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n\t\t},\r\n\r\n getElement: function() {\r\n return _element;\r\n },\r\n\r\n getToggle: function() {\r\n\t\t\treturn _toggleObject;\r\n\t\t},\r\n\r\n\t\tonToggle: function(handler) {\r\n\t\t\tif (typeof _toggleObject.element !== 'undefined') {\r\n\t\t\t\t_toggleObject.on('toggle', handler);\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutAsideToggle;\r\n}\r\n\r\nexport default KTLayoutAsideToggle;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutQuickSearch = function() {\r\n // Private properties\r\n var _element;\r\n var _offcanvasObject;\r\n\r\n // Private functions\r\n var _init = function() {\r\n var header = KTUtil.find(_element, '.offcanvas-header');\r\n var content = KTUtil.find(_element, '.offcanvas-content');\r\n var form = KTUtil.find(_element, '.quick-search-form');\r\n var results = KTUtil.find(_element, '.quick-search-wrapper');\r\n\r\n _offcanvasObject = new KTOffcanvas(_element, {\r\n overlay: true,\r\n baseClass: 'offcanvas',\r\n placement: 'right',\r\n closeBy: 'kt_quick_search_close',\r\n toggleBy: 'kt_quick_search_toggle'\r\n });\r\n\r\n KTUtil.scrollInit(results, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n\r\n if (header) {\r\n height = height - parseInt(KTUtil.actualHeight(header));\r\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\r\n }\r\n\r\n if (content) {\r\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\r\n }\r\n\r\n if (results) {\r\n height = height - parseInt(KTUtil.actualHeight(form));\r\n height = height - parseInt(KTUtil.css(form, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(form, 'marginBottom'));\r\n\r\n height = height - parseInt(KTUtil.css(results, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(results, 'marginBottom'));\r\n }\r\n\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\r\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n height = height - 2;\r\n\r\n return height;\r\n }\r\n });\r\n }\r\n\r\n // Public methods\r\n return {\r\n init: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n };\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutQuickSearch;\r\n}\r\n\r\nexport default KTLayoutQuickSearch;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutQuickNotifications = function() {\r\n // Private properties\r\n var _element;\r\n var _offcanvasObject;\r\n\r\n // Private functions\r\n var _init = function() {\r\n var header = KTUtil.find(_element, '.offcanvas-header');\r\n var content = KTUtil.find(_element, '.offcanvas-content');\r\n\r\n _offcanvasObject = new KTOffcanvas(_element, {\r\n overlay: true,\r\n baseClass: 'offcanvas',\r\n placement: 'right',\r\n closeBy: 'kt_quick_notifications_close',\r\n toggleBy: 'kt_quick_notifications_toggle'\r\n });\r\n\r\n KTUtil.scrollInit(content, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n\r\n if (header) {\r\n height = height - parseInt(KTUtil.actualHeight(header));\r\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\r\n }\r\n\r\n if (content) {\r\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\r\n }\r\n\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\r\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n height = height - 2;\r\n\r\n return height;\r\n }\r\n });\r\n }\r\n\r\n // Public methods\r\n return {\r\n init: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n };\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutQuickNotifications;\r\n}\r\n\r\nexport default KTLayoutQuickNotifications;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./../../components/util.js\";\r\nimport KTOffcanvas from \"./../../components/offcanvas.js\";\r\n\r\nvar KTLayoutQuickActions = function() {\r\n // Private properties\r\n var _element;\r\n var _offcanvasObject;\r\n\r\n // Private functions\r\n var _init = function() {\r\n var header = KTUtil.find(_element, '.offcanvas-header');\r\n var content = KTUtil.find(_element, '.offcanvas-content');\r\n\r\n _offcanvasObject = new KTOffcanvas(_element, {\r\n overlay: true,\r\n baseClass: 'offcanvas',\r\n placement: 'right',\r\n closeBy: 'kt_quick_actions_close',\r\n toggleBy: 'kt_quick_actions_toggle'\r\n });\r\n\r\n KTUtil.scrollInit(content, {\r\n disableForMobile: true,\r\n resetHeightOnDestroy: true,\r\n handleWindowResize: true,\r\n height: function() {\r\n var height = parseInt(KTUtil.getViewPort().height);\r\n\r\n if (header) {\r\n height = height - parseInt(KTUtil.actualHeight(header));\r\n height = height - parseInt(KTUtil.css(header, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(header, 'marginBottom'));\r\n }\r\n\r\n if (content) {\r\n height = height - parseInt(KTUtil.css(content, 'marginTop'));\r\n height = height - parseInt(KTUtil.css(content, 'marginBottom'));\r\n }\r\n\r\n height = height - parseInt(KTUtil.css(_element, 'paddingTop'));\r\n height = height - parseInt(KTUtil.css(_element, 'paddingBottom'));\r\n\r\n height = height - 2;\r\n\r\n return height;\r\n }\r\n });\r\n }\r\n\r\n // Public methods\r\n return {\r\n init: function(id) {\r\n _element = KTUtil.getById(id);\r\n\r\n if (!_element) {\r\n return;\r\n }\r\n\r\n // Initialize\r\n _init();\r\n },\r\n\r\n getElement: function() {\r\n return _element;\r\n }\r\n };\r\n}();\r\n\r\n// Webpack support\r\nif (typeof module !== 'undefined') {\r\n\t// module.exports = KTLayoutQuickActions;\r\n}\r\n\r\nexport default KTLayoutQuickActions;","import React, { useLayoutEffect } from \"react\";\r\nimport { KTUtil } from \"../../_assets/js/components/util\";\r\nimport KTLayoutAside from \"../../_assets/js/layout/base/aside\";\r\nimport KTLayoutAsideMenu from \"../../_assets/js/layout/base/aside-menu\";\r\nimport KTLayoutContent from \"../../_assets/js/layout/base/content\";\r\nimport KTLayoutFooter from \"../../_assets/js/layout/base/footer\";\r\nimport KTLayoutSubheader from \"../../_assets/js/layout/base/subheader\";\r\nimport KTLayoutScrolltop from \"../../_assets/js/layout/extended/scrolltop\";\r\nimport KTLayoutStickyCard from \"../../_assets/js/layout/base/sticky-card\";\r\nimport KTLayoutStretchedCard from \"../../_assets/js/layout/base/stretched-card\";\r\nimport KTLayoutQuickPanel from \"../../_assets/js/layout/extended/quick-panel\";\r\nimport KTLayoutQuickUser from \"../../_assets/js/layout/extended/quick-user\";\r\nimport KTLayoutHeaderMobile from \"../../_assets/js/layout/base/header-mobile\";\r\nimport KTLayoutAsideToggle from \"../../_assets/js/layout/base/aside-toggle\";\r\nimport KTLayoutQuickSearch from \"../../_assets/js/layout/extended/quick-search\";\r\nimport KTLayoutQuickNotifications from \"../../_assets/js/layout/extended/quick-notifications\";\r\nimport KTLayoutQuickActions from \"../../_assets/js/layout/extended/quick-actions\";\r\n\r\nexport function LayoutInit() {\r\n useLayoutEffect(() => {\r\n // Initialization\r\n KTUtil.ready(function() {\r\n ////////////////////////////////////////////////////\r\n // Layout Base Partials(mandatory for core layout)//\r\n ////////////////////////////////////////////////////\r\n\r\n // Init Mobile Header\r\n KTLayoutHeaderMobile.init(\"kt_header_mobile\");\r\n\r\n // Init Aside\r\n KTLayoutAside.init(\"kt_aside\");\r\n\r\n // Init Aside Toggle\r\n KTLayoutAsideToggle.init(\"kt_aside_toggle\");\r\n\r\n // Init Aside Menu\r\n KTLayoutAsideMenu.init(\"kt_aside_menu\");\r\n\r\n // Init Content\r\n KTLayoutContent.init(\"kt_content\");\r\n\r\n // Init Footer\r\n KTLayoutFooter.init(\"kt_footer\");\r\n\r\n //////////////////////////////////////////////\r\n // Layout Extended Partials(optional to use)//\r\n //////////////////////////////////////////////\r\n\r\n // Init subheader\r\n KTLayoutSubheader.init(\"kt_subheader\");\r\n\r\n // Init Scrolltop\r\n KTLayoutScrolltop.init(\"kt_scrolltop\");\r\n\r\n // Init Sticky Card\r\n KTLayoutStickyCard.init(\"kt_page_sticky_card\");\r\n\r\n // Init Stretched Card\r\n KTLayoutStretchedCard.init(\"kt_page_stretched_card\");\r\n\r\n // Init Quick Actions Offcanvas Panel\r\n KTLayoutQuickActions.init(\"kt_quick_actions\");\r\n\r\n // Init Quick Offcanvas Panel\r\n KTLayoutQuickPanel.init(\"kt_quick_panel\");\r\n\r\n // Init Quick User Panel\r\n KTLayoutQuickUser.init(\"kt_quick_user\");\r\n\r\n // Init Quick Search Panel\r\n KTLayoutQuickSearch.init(\"kt_quick_search\");\r\n\r\n // Init Quick Notifications Offcanvas Panel\r\n KTLayoutQuickNotifications.init(\"kt_quick_notifications\");\r\n });\r\n }, []);\r\n return <>;\r\n}\r\n","import React, { createContext, useState, useContext, useEffect } from \"react\";\r\n\r\nexport function getBreadcrumbsAndTitle(menuId, pathName) {\r\n const result = {\r\n breadcrumbs: [],\r\n title: \"\",\r\n };\r\n const menu = document.getElementById(menuId);\r\n if (!menu) {\r\n return result;\r\n }\r\n\r\n const activeLinksArray = Array.from(\r\n menu.getElementsByClassName(\"active\") || []\r\n );\r\n const activeLinks = activeLinksArray.filter((el) => el.tagName === \"A\");\r\n if (!activeLinks) {\r\n return result;\r\n }\r\n\r\n activeLinks.forEach((link) => {\r\n const titleSpans = link.getElementsByClassName(\"menu-text\");\r\n\r\n if (titleSpans) {\r\n const titleSpan = Array.from(titleSpans).find(\r\n (t) => t.innerHTML && t.innerHTML.trim().length > 0\r\n );\r\n if (titleSpan) {\r\n result.breadcrumbs.push({\r\n pathname: link.pathname.replace(process.env.PUBLIC_URL, \"\"),\r\n title: titleSpan.innerHTML,\r\n });\r\n }\r\n }\r\n });\r\n result.title = getTitle(result.breadcrumbs, pathName);\r\n return result;\r\n}\r\n\r\nexport function getTitle(breadCrumbs, pathname) {\r\n if (!breadCrumbs || !pathname) {\r\n return \"\";\r\n }\r\n\r\n const length = breadCrumbs.length;\r\n if (!length) {\r\n return \"\";\r\n }\r\n\r\n return breadCrumbs[length - 1].title;\r\n}\r\n\r\nconst SubheaderContext = createContext();\r\nexport const SubheaderConsumer = SubheaderContext.Consumer;\r\n\r\nexport function useSubheader() {\r\n return useContext(SubheaderContext);\r\n}\r\n\r\n\r\nexport function MetronicSubheaderProvider({ children }) {\r\n const [title, setTitle] = useState(\"\");\r\n const [breadcrumbs, setBreadcrumbs] = useState([]);\r\n const [childrenItem, setChildrenItem] = useState();\r\n useEffect(() => {\r\n if(!!children) setChildrenItem(children);\r\n }, [children])\r\n return (\r\n \r\n {childrenItem}\r\n \r\n );\r\n}\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\n\r\nexport function BreadCrumbs({ items }) {\r\n if (!items || !items.length) {\r\n return \"\";\r\n }\r\n\r\n return (\r\n
      \r\n \r\n Dashboard\r\n \r\n {items.map((item, index) => (\r\n
    • \r\n \r\n {item.title}\r\n \r\n
    • \r\n ))}\r\n
    \r\n );\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { toAbsoluteUrl } from \"../../../../../_helpers\";\r\n\r\nconst perfectScrollbarOptions = {\r\n wheelSpeed: 2,\r\n wheelPropagation: false,\r\n};\r\nfunction generateIcone(Entity) {\r\n var classe = \"\";\r\n switch (Entity) {\r\n case \"Companies\":\r\n classe = \"/media/svg/icons/Home/Building.svg\";\r\n break;\r\n case \"Contacts\":\r\n classe = \"/media/svg/icons/Communication/Group.svg\";\r\n break;\r\n case \"Opportunities\":\r\n classe = \"/media/svg/icons/Shopping/Dollar.svg\";\r\n break;\r\n case \"Tasks\":\r\n classe = \"/media/svg/icons/Files/File-done.svg\";\r\n break;\r\n default:\r\n classe = \"flaticon2-supermarket\";\r\n }\r\n return classe;\r\n}\r\nexport function SearchResult({ data, searchValue, setSearchValue }) {\r\n if (!data) {\r\n return null;\r\n }\r\n\r\n if (data.length === 0) {\r\n return (\r\n \r\n
    \r\n
    No record found
    \r\n
    \r\n \r\n );\r\n }\r\n\r\n return (\r\n \r\n \r\n
    \r\n {/* begin: Section */}\r\n
    \r\n Results\r\n
    \r\n
    \r\n {data.map((item, index) => (\r\n \r\n
    \r\n
    \r\n \r\n {/* */}\r\n
    \r\n
    \r\n
    \r\n \r\n {item.entity} ({item.number} results)\r\n \r\n
    \r\n
    \r\n ))}\r\n
    \r\n \r\n \r\n \r\n );\r\n}\r\n","import React, { useEffect, useState, useMemo } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport { Dropdown, OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport objectPath from \"object-path\";\r\nimport { useHtmlClassService } from \"../../../../_core/MetronicLayout\";\r\nimport { SearchResult } from \"./SearchResult\";\r\nimport { toAbsoluteUrl } from \"../../../../../_helpers\";\r\nimport { DropdownItemToggler } from \"../../../../../_partials/dropdowns\";\r\nimport { BASE_URL, token } from \"../../../../../../app/helpers/globals\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nlet controller = new AbortController();\r\nexport function SearchDropdown() {\r\n const history = useHistory();\r\n const [loading, setLoading] = useState(false);\r\n const [data, setData] = useState(null);\r\n const [searchValue, setSearchValue] = useState(\"\");\r\n let timeoutId;\r\n\r\n const clearTimeout = () => {\r\n if (timeoutId) {\r\n clearTimeout(timeoutId);\r\n timeoutId = undefined;\r\n }\r\n };\r\n function getQuickSearchReselt(params) {\r\n const signal = controller.signal;\r\n setLoading(true);\r\n var myHeaders = new Headers();\r\n myHeaders.append(\"Authorization\", `Bearer ${token}`);\r\n\r\n var requestOptions = {\r\n method: \"GET\",\r\n headers: myHeaders,\r\n signal: signal,\r\n redirect: \"follow\",\r\n };\r\n\r\n return fetch(\r\n `${BASE_URL}/api/GlobalSearch/SmallSearch?query=${params}&entity=global`,\r\n requestOptions\r\n )\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((text) => [statusCode, { Message: \"\" }]);\r\n }\r\n })\r\n .then(async (result) => {\r\n if (result[0] === 200) {\r\n var datas = result[1];\r\n setData(datas?.results || []);\r\n setLoading(false);\r\n }\r\n })\r\n .catch((error) => {\r\n setData([]);\r\n setLoading(false);\r\n console.log(\"error\", error);\r\n });\r\n }\r\n const handleSearchChange = async (event) => {\r\n setData(null);\r\n setSearchValue(event.target.value);\r\n\r\n if (event.target.value.length > 2) {\r\n controller.abort();\r\n controller = new AbortController();\r\n await getQuickSearchReselt(event.target.value);\r\n }\r\n };\r\n\r\n const clear = () => {\r\n setData(null);\r\n setSearchValue(\"\");\r\n };\r\n\r\n useEffect(() => {\r\n return () => {\r\n clearTimeout();\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const uiService = useHtmlClassService();\r\n const layoutProps = useMemo(() => {\r\n return {\r\n offcanvas:\r\n objectPath.get(uiService.config, \"extras.search.layout\") ===\r\n \"offcanvas\",\r\n };\r\n }, [uiService]);\r\n\r\n return (\r\n <>\r\n {!layoutProps.offcanvas && (\r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n )}\r\n {layoutProps.offcanvas && (\r\n {\r\n setData(null);\r\n setLoading(false);\r\n setSearchValue(\"\");\r\n }}\r\n id=\"kt_quick_search_toggle\"\r\n >\r\n \r\n Quick search\r\n }\r\n >\r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n \r\n {\r\n e.preventDefault();\r\n if (\r\n searchValue === \"\" ||\r\n searchValue === null ||\r\n searchValue === undefined\r\n ) {\r\n return;\r\n }\r\n history.push(`/global-search?entity=&key=${searchValue}`);\r\n }}\r\n >\r\n
    \r\n
    \r\n {\r\n history.push(`/global-search?entity=&key=${searchValue}`);\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n\r\n \r\n \r\n 0\r\n ? \"none\"\r\n : \"flex\",\r\n }}\r\n onClick={clear}\r\n className=\"quick-search-close ki ki-close icon-sm text-muted\"\r\n />\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n
    \r\n \r\n )}\r\n \r\n );\r\n}\r\n","\r\nimport moment from 'moment';\r\nimport React from 'react';\r\nimport SVG from \"react-inlinesvg\";\r\nimport { useHistory } from 'react-router-dom';\r\nimport ReactTimeAgo from 'react-time-ago';\r\nimport { toAbsoluteUrl } from '../../../_metronic/_helpers';\r\nimport { apiCall, ConvertToDateCurrentTimeZoneV2, getFromatdate } from '../../helpers/globals';\r\n\r\nconst Message = (props) => {\r\n const history = useHistory();\r\n\r\n return (\r\n <>\r\n
    {\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Notifications/MarkAsRead?id=${props.id}`,\r\n }).then((dataResult) => {\r\n props.getNotificqtions()\r\n });\r\n if (props.link !== null && props.link !== \"\" && props.link !== undefined) {\r\n history.push(props.link);\r\n }\r\n }}>\r\n
    \r\n \r\n \r\n \r\n {props.isRead !== true ? : \"\"}\r\n\r\n
    \r\n
    \r\n false}\r\n className=\"text-dark text-hover-primary mb-1 font-size-lg\"\r\n >\r\n {props.title}\r\n \r\n \r\n {/* {props.message} */}\r\n \r\n \r\n {moment(ConvertToDateCurrentTimeZoneV2(props.date)).format(getFromatdate() + \" hh:mm A\")}\r\n \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n )\r\n};\r\n\r\nexport default Message;","/* eslint-disable no-unused-vars */\r\n/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React, { useState, useMemo, useRef, useEffect, Fragment } from \"react\";\r\nimport { Nav, Tab, Dropdown, OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport objectPath from \"object-path\";\r\nimport { useHtmlClassService } from \"../../../_core/MetronicLayout\";\r\nimport { toAbsoluteUrl } from \"../../../../_helpers\";\r\nimport { DropdownItemToggler } from \"../../../../_partials/dropdowns\";\r\nimport { apiCall, BASE_URL } from \"../../../../../app/helpers/globals\";\r\nimport Message from \"../../../../../app/pages/Notifications/Message\";\r\nimport { HubConnectionBuilder } from '@microsoft/signalr';\r\nimport { Link } from \"react-router-dom\";\r\n\r\nconst perfectScrollbarOptions = {\r\n wheelSpeed: 2,\r\n wheelPropagation: false,\r\n};\r\n\r\nexport function UserNotificationsDropdown() {\r\n const [key, setKey] = useState(\"Alerts\");\r\n const bgImage = toAbsoluteUrl(\"/media/misc/bg-1.jpg\");\r\n\r\n const uiService = useHtmlClassService();\r\n const layoutProps = useMemo(() => {\r\n return {\r\n offcanvas:\r\n objectPath.get(uiService.config, \"extras.notifications.layout\") ===\r\n \"offcanvas\",\r\n };\r\n }, [uiService]);\r\n const [connection, setConnection] = useState(null);\r\n const [chat, setChat] = useState([]);\r\n const [chatFromApi, setChatFromApi] = useState([]);\r\n const latestChat = useRef(null);\r\n\r\n latestChat.current = chat;\r\n\r\n useEffect(() => {\r\n getNotificqtions()\r\n\r\n const newConnection = new HubConnectionBuilder()\r\n .withUrl(`${BASE_URL}/Hubs/chat`)\r\n .withAutomaticReconnect()\r\n .build();\r\n\r\n setConnection(newConnection);\r\n }, []);\r\n async function getNotificqtions() {\r\n await apiCall({\r\n method: \"GET\",\r\n link: `/api/Notifications?isRead=&pageNumber=${1}&pageSize=${5}&search=&sortField=&sortOrder=desc`,\r\n }).then((dataResult) => {\r\n if (!!dataResult && dataResult?.length > 0 && dataResult[0] === 200) {\r\n var array = dataResult[1]?.notifications || [];\r\n setChatFromApi([...array]);\r\n setChat([...array]);\r\n }\r\n });\r\n }\r\n useEffect(() => {\r\n if (connection) {\r\n connection.start()\r\n .then(result => {\r\n var ConnexionId = connection?.connection?.connectionId;\r\n if (ConnexionId) {\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Notifications/SetConnectionId`,\r\n data: {\r\n \"id\": ConnexionId\r\n },\r\n });\r\n }\r\n\r\n connection.on('ReceiveMessage', message => {\r\n const updatedChat = [...latestChat.current];\r\n // updatedChat.push(message);\r\n\r\n setChat([message, ...updatedChat]);\r\n });\r\n })\r\n .catch(e => console.log('Connection failed: ', e));\r\n connection.onreconnected((connectionId) => {\r\n if (connectionId) {\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Notifications/SetConnectionId`,\r\n data: {\r\n \"id\": connectionId\r\n },\r\n });\r\n }\r\n });\r\n }\r\n }, [connection]);\r\n\r\n\r\n return (\r\n <>\r\n \r\n {!layoutProps.offcanvas && (\r\n
    \r\n \r\n \r\n 5\r\n \r\n \r\n \r\n
    \r\n
    \r\n )}\r\n {layoutProps.offcanvas && (\r\n \r\n \r\n \r\n User Notifications\r\n \r\n }\r\n >\r\n\r\n \r\n\r\n \r\n \r\n\r\n \r\n\r\n {chat.filter(a => a.isRead !== true).length > 0 ? ({chat.filter(a => a.isRead !== true)?.length}) : \"\"}\r\n {chat.filter(a => a.isRead !== true).length > 0 ? () : \"\"}\r\n\r\n \r\n \r\n\r\n \r\n\r\n \r\n
    \r\n {/** Head */}\r\n \r\n

    \r\n User Notifications\r\n \r\n {chat.filter(a => a.isRead !== true).length || 0} new\r\n \r\n

    \r\n\r\n \r\n setKey(_key)}\r\n >\r\n \r\n \r\n Events\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n {chat.length > 0 ? (\r\n \r\n {chat\r\n .map((m, i) => (\r\n \r\n\r\n ))}\r\n \r\n ) :

    No results found.

    }\r\n \r\n
    \r\n See All\r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n
    \r\n )}\r\n \r\n );\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport objectPath from \"object-path\";\r\nimport React, { useEffect, useLayoutEffect, useMemo } from \"react\";\r\nimport { useLocation } from \"react-router-dom\";\r\nimport { useHtmlClassService } from \"../../_core/MetronicLayout\";\r\nimport { LanguageSelectorDropdown } from \"../extras/dropdowns/LanguageSelectorDropdown\";\r\nimport {\r\n getBreadcrumbsAndTitle,\r\n useSubheader\r\n} from \"../../_core/MetronicSubheader\";\r\nimport { BreadCrumbs } from \"./components/BreadCrumbs\";\r\nimport { SearchDropdown } from \"../extras/dropdowns/search/SearchDropdown\";\r\nimport { UserNotificationsDropdown } from \"../extras/dropdowns/UserNotificationsDropdown\";\r\nimport { toAbsoluteUrl } from \"../../../_helpers\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { OverlayTrigger, Tooltip } from \"react-bootstrap\";\r\n\r\nexport function SubHeader() {\r\n const uiService = useHtmlClassService();\r\n const location = useLocation();\r\n const subheader = useSubheader();\r\n\r\n const layoutProps = useMemo(() => {\r\n return {\r\n config: uiService.config,\r\n subheaderFixed: objectPath.get(uiService.config, \"subheader.fixed\"),\r\n subheaderMobileToggle: objectPath.get(\r\n uiService.config,\r\n \"subheader.mobile-toggle\"\r\n ),\r\n subheaderCssClasses: uiService.getClasses(\"subheader\", true),\r\n subheaderContainerCssClasses: uiService.getClasses(\r\n \"subheader_container\",\r\n true\r\n ),\r\n };\r\n }, [uiService]);\r\n\r\n useLayoutEffect(() => {\r\n const aside = getBreadcrumbsAndTitle(\"kt_aside_menu\", location.pathname);\r\n const header = getBreadcrumbsAndTitle(\"kt_header_menu\", location.pathname);\r\n const breadcrumbs =\r\n aside && aside.breadcrumbs.length > 0\r\n ? aside.breadcrumbs\r\n : header.breadcrumbs;\r\n subheader.setBreadcrumbs(breadcrumbs);\r\n subheader.setTitle(\r\n aside && aside.title && aside.title.length > 0\r\n ? aside.title\r\n : header.title\r\n );\r\n // eslint-disable-next-line\r\n }, [location.pathname]);\r\n\r\n // Do not remove this useEffect, need from update title/breadcrumbs outside (from the page)\r\n useEffect(() => { }, [subheader]);\r\n\r\n return (\r\n \r\n \r\n {/* Info */}\r\n
    \r\n {/* begin::Mobile Toggle */}\r\n {layoutProps.subheaderMobileToggle && (\r\n \r\n \r\n \r\n )}\r\n {/* end::Mobile Toggle */}\r\n\r\n {/* begin::Heading */}\r\n
    \r\n {/* begin::Title */}\r\n

    \r\n {subheader.title}\r\n

    \r\n {/* end::Title */}\r\n\r\n \r\n
    \r\n {/* end::Heading */}\r\n
    \r\n {/* Info */}\r\n\r\n {/* Toolbar */}\r\n
    \r\n
    \r\n {\r\n e.preventDefault();\r\n const link = \"https://sales-prophet.canny.io/roadmap\"; // Replace this with the URL you want to open\r\n window.open(link, \"_blank\");\r\n }}\r\n >\r\n \r\n \r\n \r\n \r\n
    \r\n {\r\n e.preventDefault();\r\n const link = \"https://sales-prophet.canny.io/roadmap\"; // Replace this with the URL you want to open\r\n window.open(link, \"_blank\");\r\n }}\r\n >Product Roadmap\r\n
    \r\n
    \r\n {\r\n e.preventDefault();\r\n const link = \"https://salesprophet.customerly.help/en\"; // Replace this with the URL you want to open\r\n window.open(link, \"_blank\");\r\n }}\r\n >\r\n \r\n \r\n \r\n
    \r\n {\r\n e.preventDefault();\r\n const link = \"https://salesprophet.customerly.help/en\"; // Replace this with the URL you want to open\r\n window.open(link, \"_blank\");\r\n }}\r\n >Help Desk\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","import objectPath from \"object-path\";\r\nimport React, { useMemo } from \"react\";\r\n// LayoutContext\r\nimport { useHtmlClassService } from \"../_core/MetronicLayout\";\r\n// Import Layout components\r\nimport { AnimateLoading } from \"../../_partials/controls\";\r\nimport { Aside } from \"./aside/Aside\";\r\nimport { QuickActions } from \"./extras/offcanvas/QuickActions\";\r\nimport { QuickUser } from \"./extras/offcanvas/QuickUser\";\r\nimport { ScrollTop } from \"./extras/ScrollTop\";\r\nimport { StickyToolbar } from \"./extras/StickyToolbar\";\r\nimport { Footer } from \"./footer/Footer\";\r\nimport { HeaderMobile } from \"./header-mobile/HeaderMobile\";\r\nimport { LayoutInit } from \"./LayoutInit\";\r\nimport { SubHeader } from \"./subheader/SubHeader\";\r\n\r\nexport function Layout({ children }) {\r\n const uiService = useHtmlClassService();\r\n // Layout settings (cssClasses/cssAttributes)\r\n const layoutProps = useMemo(() => {\r\n return {\r\n selfLayout: objectPath.get(uiService.config, \"self.layout\"),\r\n subheaderDisplay: objectPath.get(uiService.config, \"subheader.display\"),\r\n contentCssClasses: uiService.getClasses(\"content\", true),\r\n contentContainerClasses: uiService.getClasses(\"content_container\", true),\r\n contentExtended: objectPath.get(uiService.config, \"content.extended\"),\r\n };\r\n }, [uiService]);\r\n\r\n return layoutProps.selfLayout !== \"blank\" ? (\r\n <>\r\n {/*begin::Main*/}\r\n \r\n\r\n
    \r\n {/*begin::Page*/}\r\n
    \r\n
    \r\n {/*end::Content*/}\r\n
    \r\n
    \r\n {/*end::Wrapper*/}\r\n \r\n {/*end::Page*/}\r\n \r\n \r\n {/* \r\n */}\r\n \r\n \r\n \r\n {/*end::Main*/}\r\n \r\n \r\n ) : (\r\n // BLANK LAYOUT\r\n
    {children}
    \r\n );\r\n}\r\n","import React, {useEffect, useState} from \"react\";\r\nimport {useRouteMatch} from \"react-router-dom\";\r\n\r\nexport function Content({ children }) {\r\n const match = useRouteMatch() || {};\r\n const animationEndClass = \"grid-animateContent-finished\";\r\n const [cssClassesState, setCssClassesState] = useState([\r\n \"grid-animateContent\",\r\n animationEndClass\r\n ]);\r\n\r\n useEffect(() => {\r\n // for animation start should toggle 'grid-animateContent-finished' css class\r\n // TODO: change useMemo\r\n const fullClasses = [...cssClassesState];\r\n const startAnimation = fullClasses.filter(el => el !== animationEndClass);\r\n setCssClassesState(startAnimation);\r\n const timeOutId = setTimeout(() => {\r\n setCssClassesState(fullClasses);\r\n }, 200);\r\n\r\n return () => {\r\n clearTimeout(timeOutId);\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [match.url]);\r\n\r\n return <>{children};\r\n}\r\n","import React from \"react\";\r\nimport {Route} from \"react-router-dom\";\r\nimport {Content} from \"./Content\";\r\n\r\nexport function ContentRoute({ children, component, render, ...props }) {\r\n return (\r\n \r\n {routeProps => {\r\n if (typeof children === \"function\") {\r\n return {children(routeProps)};\r\n }\r\n\r\n if (!routeProps.match) {\r\n return null;\r\n }\r\n\r\n if (children) {\r\n return {children};\r\n }\r\n\r\n if (component) {\r\n return (\r\n {React.createElement(component, routeProps)}\r\n );\r\n }\r\n\r\n if (render) {\r\n return {render(routeProps)};\r\n }\r\n\r\n return null;\r\n }}\r\n \r\n );\r\n}\r\n","import React, {createContext, useContext, useState, useEffect} from \"react\";\r\n\r\nconst MetronicSplashScreenContext = createContext();\r\n\r\nexport function MetronicSplashScreenProvider({ children }) {\r\n const [count, setCount] = useState(0);\r\n let visible = count > 0;\r\n\r\n useEffect(() => {\r\n const splashScreen = document.getElementById(\"splash-screen\");\r\n\r\n // Show SplashScreen\r\n if (splashScreen && visible) {\r\n splashScreen.classList.remove(\"hidden\");\r\n\r\n return () => {\r\n splashScreen.classList.add(\"hidden\");\r\n };\r\n }\r\n\r\n // Hide SplashScreen\r\n let timeout;\r\n if (splashScreen && !visible) {\r\n timeout = setTimeout(() => {\r\n splashScreen.classList.add(\"hidden\");\r\n }, 3000);\r\n }\r\n\r\n return () => {\r\n clearTimeout(timeout);\r\n };\r\n }, [visible]);\r\n\r\n return (\r\n \r\n {children}\r\n \r\n );\r\n}\r\n\r\nexport function LayoutSplashScreen({ visible = true }) {\r\n // Everything are ready - remove splashscreen\r\n const setCount = useContext(MetronicSplashScreenContext);\r\n\r\n useEffect(() => {\r\n if (!visible) {\r\n return;\r\n }\r\n\r\n setCount(prev => {\r\n return prev + 1;\r\n });\r\n\r\n return () => {\r\n setCount(prev => {\r\n return prev - 1;\r\n });\r\n };\r\n }, [setCount, visible]);\r\n\r\n return null;\r\n}\r\n","import React from \"react\";\r\nimport {createMuiTheme, ThemeProvider} from \"@material-ui/core\";\r\n\r\nconst theme = createMuiTheme(\r\n /**\r\n * @see https://material-ui.com/customization/themes/#theme-configuration-variables\r\n */\r\n {\r\n // direction: \"rtl\",\r\n typography: {\r\n fontFamily: [\"Poppins\"].join(\",\")\r\n },\r\n\r\n palette: {\r\n primary: {\r\n // light: will be calculated from palette.primary.main,\r\n main: \"#17c191\",\r\n // dark: will be calculated from palette.primary.main,\r\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\r\n },\r\n secondary: {\r\n // light: will be calculated from palette.primary.main,\r\n main: \"#3783e7\",\r\n // dark: will be calculated from palette.primary.main,\r\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\r\n },\r\n error: {\r\n // light: will be calculated from palette.primary.main,\r\n main: \"#f018a6\",\r\n // dark: will be calculated from palette.primary.main,\r\n // contrastText: \"#fff\" //will be calculated to contrast with palette.primary.main\r\n }\r\n },\r\n\r\n /**\r\n * @see https://material-ui.com/customization/globals/#default-props\r\n */\r\n props: {\r\n // Name of the component ⚛️\r\n MuiButtonBase: {\r\n // The properties to apply\r\n disableRipple: false // No more ripple, on the whole application 💣!\r\n },\r\n\r\n // Set default elevation to 1 for popovers.\r\n MuiPopover: {\r\n elevation: 1\r\n }\r\n }\r\n }\r\n);\r\n\r\nexport function MaterialThemeProvider(props) {\r\n const { children } = props;\r\n\r\n return {children};\r\n}\r\n","import CKEditor from \"ckeditor4-react\";\r\nimport { useFormik } from \"formik\";\r\nimport moment from \"moment\";\r\nimport React, { useMemo, useState } from \"react\";\r\nimport { Button, Col, Form, Row, Spinner } from \"react-bootstrap\";\r\nimport ReactSelect from \"react-select\";\r\nimport Swal from \"sweetalert2\";\r\nimport * as Yup from \"yup\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nimport {\r\n apiCall,\r\n ConvertToTimeZoneSendingPost,\r\n ModelStateMessage,\r\n replaceValues,\r\n RequiredHtml,\r\n setValueField,\r\n ToggleTrackingOnOff,\r\n token,\r\n} from \"../../../helpers/globals\";\r\n\r\nfunction ReplyForm(props) {\r\n const emailObj = {\r\n templateId: [0],\r\n fromId: 0,\r\n toId: [0],\r\n ccId: [0],\r\n bccId: [0],\r\n subject: \"\",\r\n body: \"\",\r\n };\r\n // const Schema = Yup.object().shape({\r\n // firstName: Yup.string().required(\"* First name is required\"),\r\n // lastName: Yup.string().required(\"* Last name is required\"),\r\n // });\r\n const BASE_URL = process.env.REACT_APP_BASE_URL;\r\n const SchemaEmail = Yup.object().shape({});\r\n const [dateSent, setDateSent] = useState(new Date());\r\n const [loaderBtn, setLoaderBtn] = useState(false);\r\n const [body, setBody] = useState(\"\");\r\n const [provider, setprovider] = useState({});\r\n const [datahtml, setdatahtml] = useState({ subject: \"\", body: \"\" });\r\n const [isCC, setisCC] = useState(false);\r\n const [CCvalue, setCCvalue] = useState([]);\r\n const [ShowPreview, setShowPreview] = useState(false);\r\n const [BCCvalue, setBCCvalue] = useState([]);\r\n const [trackValues, setTrackValues] = useState({\r\n trackOpen: true,\r\n trackClick: true,\r\n });\r\n\r\n const formikEmail = useFormik({\r\n initialValues: emailObj,\r\n enableReinitialize: true,\r\n validationSchema: SchemaEmail,\r\n onSubmit: (values) => {},\r\n });\r\n\r\n const bodyTemplate = useMemo(() => {\r\n return replaceValues(body, props?.variables ?? []);\r\n }, [body, props]);\r\n return (\r\n
    \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n Template\r\n \r\n {\r\n return {\r\n value: x?.id,\r\n label: x?.name,\r\n };\r\n }\r\n )}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"templateId\"\r\n value={(props?.viewModelCompanies?.templates ?? []).find(\r\n (obj) => obj.value === formikEmail?.values?.templateId[0]\r\n )}\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"templateId\", [e.value]);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n var obj = { ...datahtml };\r\n obj.subject = data[1].subject;\r\n setBody(data[1].body);\r\n setdatahtml(obj);\r\n\r\n formikEmail.setFieldValue(\"subject\", data[1].subject);\r\n formikEmail.setFieldValue(\"body\", data[1].body);\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n From\r\n {\r\n return {\r\n value: x?.id,\r\n label: x?.name,\r\n };\r\n }\r\n )}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"fromId\"\r\n value={\r\n !!props?.item?.provider\r\n ? {\r\n value: (\r\n props?.viewModelCompanies?.providers ?? []\r\n ).find((obj) => obj.name === props?.item?.provider)\r\n ?.id,\r\n label: props?.item?.provider,\r\n }\r\n : (props?.viewModelCompanies?.providers ?? []).find(\r\n (obj) => obj.value === formikEmail?.values?.fromId\r\n )\r\n }\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"fromId\", e.value);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Providers/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setprovider(data[1].provider);\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n To\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n Sent Date\r\n \r\n setDateSent(date)}\r\n showTimeSelect\r\n className=\"form-control\"\r\n timeFormat=\"h:mm aa\"\r\n dateFormat=\"MM/dd/yyyy h:mm aa\"\r\n />\r\n \r\n
    \r\n
    \r\n {/* \r\n
    \r\n {\r\n setisCC((x) => !x);\r\n }}\r\n >\r\n CC\r\n && BCC\r\n \r\n
    \r\n */}\r\n\r\n {isCC && (\r\n <>\r\n \r\n \r\n CC\r\n 0\r\n ? props?.contactList?.map((x) => {\r\n return {\r\n value: x?.contactId,\r\n label: `${x?.firstName} ${x?.lastName}`,\r\n };\r\n })\r\n : []\r\n }\r\n value={CCvalue}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"ccId\"\r\n onChange={(e) => {\r\n setCCvalue(e);\r\n let result = e.map((a) => a.value);\r\n formikEmail.setFieldValue(\"ccId\", result);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n BCC\r\n 0\r\n ? props?.contactList?.map((x) => {\r\n return {\r\n value: x?.contactId,\r\n label: `${x?.firstName} ${x?.lastName}`,\r\n };\r\n })\r\n : []\r\n }\r\n value={BCCvalue}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"bccId\"\r\n onChange={(e) => {\r\n setBCCvalue(e);\r\n let result = e.map((a) => a.value);\r\n formikEmail.setFieldValue(\"bccId\", result);\r\n }}\r\n />\r\n \r\n \r\n \r\n )}\r\n\r\n \r\n
    \r\n Re: {props?.item?.subject}\r\n
    \r\n \r\n
    \r\n\r\n {/* Second row */}\r\n \r\n \r\n \r\n {!!props?.variables && props?.variables?.length > 0 && (\r\n {\r\n setBody(event?.editor?.getData());\r\n formikEmail.setFieldValue(\r\n \"body\",\r\n event?.editor?.getData()\r\n );\r\n }}\r\n config={{\r\n versionCheck: false,\r\n extraPlugins: \"uploadimage,autolink\",\r\n filebrowserUploadUrl: `${BASE_URL}/api/Generic/uploadCK?isckEditor=true`,\r\n fileTools_requestHeaders: {\r\n \"X-Requested-With\": \"XMLHttpRequest\",\r\n Authorization: `Bearer ${token}`,\r\n },\r\n }}\r\n onPluginsLoaded={(args) => {\r\n const editor = args.editor;\r\n editor.ui.addRichCombo(\"my-combo\", {\r\n label: \"Add variables\",\r\n title: \"Add variables\",\r\n toolbar: \"basicstyles,0\",\r\n className: \"CkeATClass\",\r\n panel: {\r\n // css: [ CKEDITOR.skin.getPath( 'editor' ) ].concat( config.contentsCss ),\r\n css: [\r\n \"https://cdn.ckeditor.com/4.16.2/standard-all/skins/moono-lisa/editor.css?t=L7C8\",\r\n \"https://cdn.ckeditor.com/4.4.0/standard/contents.css?t=E3OD\",\r\n \"./styles.css\",\r\n ],\r\n multiSelect: false,\r\n attributes: {\r\n \"aria-label\": \"Merge Codes\",\r\n },\r\n },\r\n init: function() {\r\n (props.variables ?? []).forEach((x) => {\r\n this.add(x?.name, x?.name);\r\n });\r\n },\r\n onClick: function(value) {\r\n editor.focus();\r\n editor.fire(\"saveSnapshot\");\r\n editor.insertHtml(value);\r\n editor.fire(\"saveSnapshot\");\r\n },\r\n });\r\n }}\r\n />\r\n )}\r\n \r\n\r\n \r\n {ShowPreview && (\r\n \r\n \r\n
    \r\n
    \r\n Subject:\r\n
    \r\n \r\n {replaceValues(\r\n props?.item?.subject,\r\n props?.variables\r\n )}\r\n \r\n\r\n
    \r\n Body\r\n
    \r\n \r\n\r\n {!!provider?.signature && (\r\n <>\r\n \r\n \r\n )}\r\n
    \r\n \r\n
    \r\n )}\r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackOpen\"\r\n )\r\n }\r\n label=\"Track open\"\r\n name=\"trackOpen\"\r\n />\r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackClick\"\r\n )\r\n }\r\n label=\"Track click\"\r\n name=\"trackClick\"\r\n />\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {\r\n setShowPreview((x) => !x);\r\n }}\r\n >\r\n Preview\r\n \r\n {\r\n e.preventDefault();\r\n setLoaderBtn(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Sending/Reply`,\r\n data: {\r\n reportId: props?.item?.id,\r\n body: body,\r\n trackOpen: trackValues.trackOpen ?? true,\r\n trackClick: trackValues.trackClick ?? true,\r\n date: ConvertToTimeZoneSendingPost(dateSent),\r\n },\r\n }).then((data) => {\r\n setLoaderBtn(false);\r\n if (data[0] === 200) {\r\n props.GetData();\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text: \"Email has been sent successfully\",\r\n });\r\n props.getDataItem();\r\n props.setReplyForm(false);\r\n // setshowEmails(false);\r\n } else {\r\n ModelStateMessage(data);\r\n }\r\n });\r\n }}\r\n >\r\n Reply now\r\n {loaderBtn && (\r\n \r\n )}\r\n \r\n
    \r\n
    \r\n );\r\n}\r\n\r\nexport default ReplyForm;\r\n","import React, { forwardRef, useEffect, useState } from \"react\";\r\nimport clsx from \"clsx\";\r\nimport {isFragment} from \"react-is\";\r\n\r\nexport const CardHeaderIcon = forwardRef(({ className }, ref) => (\r\n \r\n));\r\n\r\nexport const CardHeaderTitle = forwardRef(({ className, ...props }, ref) => (\r\n // eslint-disable-next-line jsx-a11y/heading-has-content\r\n

    \r\n));\r\n\r\nexport const CardHeaderToolbar = forwardRef(\r\n ({ children, className, ...props }, ref) => (\r\n
    \r\n {children}\r\n
    \r\n )\r\n);\r\n\r\nexport const CardHeader = forwardRef(\r\n (\r\n {\r\n children,\r\n icon,\r\n title,\r\n toolbar,\r\n className,\r\n sticky = false,\r\n labelRef,\r\n ...props\r\n },\r\n ref\r\n ) => {\r\n const [top, setTop] = useState(0);\r\n const [windowHeight, setWindowHeight] = useState(0);\r\n\r\n useEffect(() => {\r\n handleResize();\r\n\r\n function handleResize() {\r\n setWindowHeight(window.innerWidth);\r\n }\r\n\r\n window.addEventListener(\"resize\", handleResize);\r\n\r\n return () => {\r\n window.removeEventListener(\"resize\", handleResize);\r\n };\r\n });\r\n\r\n useEffect(() => {\r\n // Skip if sticky is disabled or on initial render when we don't know about window height.\r\n if (!sticky || windowHeight === 0) {\r\n return;\r\n }\r\n\r\n const headerElement = document.querySelector(\".header\");\r\n const subheaderElement = document.querySelector(\".subheader\");\r\n const headerMobileElement = document.querySelector(\".header-mobile\");\r\n\r\n let nextMarginTop = 0;\r\n\r\n // mobile header\r\n if (window.getComputedStyle(headerElement).height === \"0px\") {\r\n nextMarginTop = headerMobileElement.offsetHeight;\r\n } else {\r\n // desktop header\r\n if (document.body.classList.contains(\"header-minimize-topbar\")) {\r\n // hardcoded minimized header height\r\n nextMarginTop = 60;\r\n } else {\r\n // normal fixed header\r\n if (document.body.classList.contains(\"header-fixed\")) {\r\n nextMarginTop += headerElement.offsetHeight;\r\n }\r\n\r\n if (document.body.classList.contains(\"subheader-fixed\")) {\r\n nextMarginTop += subheaderElement.offsetHeight;\r\n }\r\n }\r\n }\r\n\r\n setTop(nextMarginTop);\r\n }, [sticky, windowHeight]);\r\n\r\n return (\r\n \r\n {title != null && (\r\n
    \r\n {icon}\r\n\r\n {/* Wrap string and fragments in CardHeaderTitle */\r\n typeof title === \"string\" || isFragment(title) ? (\r\n {title}\r\n ) : (\r\n title\r\n )}\r\n
    \r\n )}\r\n\r\n {toolbar}\r\n {children}\r\n \r\n );\r\n }\r\n);\r\n\r\nexport const CardBody = forwardRef(\r\n ({ fit, fluid, className, ...props }, ref) => (\r\n \r\n )\r\n);\r\n\r\nexport const CardFooter = forwardRef(({ className, ...props }, ref) => (\r\n
    \r\n));\r\n\r\nexport const Card = forwardRef(({ fluidHeight, className, ...props }, ref) => (\r\n \r\n));\r\n\r\n// Set display names for debugging.\r\nif (process.env.NODE_ENV !== \"production\") {\r\n Card.displayName = \"Card\";\r\n\r\n CardHeader.displayName = \"CardHeader\";\r\n CardHeaderIcon.displayName = \"CardHeaderIcon\";\r\n CardHeaderTitle.displayName = \"CardHeaderTitle\";\r\n CardHeaderToolbar.displayName = \"CardHeaderToolbar\";\r\n\r\n CardBody.displayName = \"CardBody\";\r\n CardFooter.displayName = \"CardFooter\";\r\n}\r\n","import React from \"react\";\r\nimport {withRouter} from \"react-router-dom\";\r\nimport {ProgressBar} from \"react-bootstrap\";\r\n\r\n// TODO: Should be rewrited to pure function\r\nclass AnimateLoading extends React.Component {\r\n animateTimeout;\r\n stopAnimateTimeout;\r\n state = {\r\n width: 0,\r\n routeChanged: false\r\n };\r\n\r\n componentDidUpdate(nextProps) {\r\n if (this.props.location.pathname !== nextProps.location.pathname) {\r\n this.animate();\r\n this.scrollToTop();\r\n }\r\n }\r\n\r\n scrollToTop() {\r\n const scrollToTopBtn = document.getElementById(\"kt_scrolltop\");\r\n if (scrollToTopBtn) {\r\n scrollToTopBtn.click();\r\n }\r\n }\r\n\r\n animate() {\r\n this.animateTimeout = setTimeout(() => {\r\n if (this.state.width <= 100) {\r\n this.setState({ width: this.state.width + 10 });\r\n this.animate();\r\n } else {\r\n this.stopAnimate();\r\n }\r\n }, 30);\r\n }\r\n stopAnimate() {\r\n clearTimeout(this.animateInterval);\r\n this.stopAnimateTimeout = setTimeout(() => {\r\n this.setState({ width: 0 });\r\n }, 300);\r\n }\r\n componentWillUnmount() {\r\n if (this.stopAnimateTimeout) {\r\n clearTimeout(this.stopAnimateTimeout);\r\n }\r\n if (this.animateTimeout) {\r\n clearTimeout(this.animateTimeout);\r\n }\r\n }\r\n render() {\r\n return (\r\n \r\n {this.state.width > 0 && (\r\n \r\n )}\r\n
    \r\n );\r\n }\r\n}\r\n\r\nexport default withRouter(AnimateLoading);\r\n","import React from \"react\";\r\nimport { ProgressBar } from \"react-bootstrap\";\r\n\r\nexport function ModalProgressBar({variant = \"success\"}) {\r\n return (\r\n \r\n );\r\n}\r\n","/* eslint-disable jsx-a11y/aria-proptypes */\r\n/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport clsx from \"clsx\";\r\n// https://github.com/conorhastings/react-syntax-highlighter#prism\r\nimport {Prism as SyntaxHighlighter} from \"react-syntax-highlighter\";\r\n// See https://github.com/PrismJS/prism-themes\r\nimport {coy as highlightStyle} from \"react-syntax-highlighter/dist/esm/styles/prism\";\r\n\r\nexport const KTCodeBlock = ({ languages, tabs, codeShown, customStyle }) => {\r\n const { isCodeBlockShown } = codeShown;\r\n const { tabId, setTabId } = tabs;\r\n return (\r\n <>\r\n {languages.length === 0 && <>}\r\n {languages.length === 1 && (\r\n \r\n
    \r\n \r\n {languages[0].code}\r\n \r\n
    \r\n \r\n )}\r\n {languages.length > 1 && (\r\n <>\r\n \r\n \r\n {languages.map((lang, index) => (\r\n
  • \r\n setTabId(index)}\r\n >\r\n {lang.shortCode}\r\n \r\n
  • \r\n ))}\r\n \r\n
    \r\n {languages.map((lang, index) => (\r\n \r\n \r\n \r\n {lang.code}\r\n \r\n
    \r\n \r\n ))}\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n );\r\n};\r\n","import React, {useState} from \"react\";\r\nimport clsx from \"clsx\";\r\nimport copy from \"clipboard-copy\";\r\nimport {Tooltip} from \"@material-ui/core\";\r\n\r\nexport function CodeBlockToolbar({\r\n showViewCode = false,\r\n code,\r\n isCodeBlockShown,\r\n setIsCodeBlockShown\r\n}) {\r\n const [isCopySucceed, setIsCopySucceed] = useState(false);\r\n const copyCode = () => {\r\n copy(code).then(() => {\r\n setIsCopySucceed(true);\r\n setTimeout(() => {\r\n setIsCopySucceed(false);\r\n }, 2000);\r\n });\r\n };\r\n\r\n const toggleShowCode = () => {\r\n setIsCodeBlockShown(!isCodeBlockShown);\r\n };\r\n\r\n return (\r\n <>\r\n {showViewCode && (\r\n \r\n \r\n \r\n )}\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n","/* eslint-disable no-script-url,jsx-a11y/anchor-is-valid */\r\nimport React, {useState, useEffect} from \"react\";\r\nimport {KTCodeBlock} from \"./KTCodeBlock\";\r\nimport {Card, CardBody, CardHeader} from \"../Card\";\r\nimport {CodeBlockToolbar} from \"../code-examples/CodeBlockToolbar\";\r\n\r\nexport function KTCodeExample({\r\n jsCode,\r\n children,\r\n beforeCodeTitle,\r\n languages,\r\n codeBlockHeight\r\n}) {\r\n const defaultLanguages = !languages\r\n ? [\r\n {\r\n code: jsCode,\r\n language: \"javascript\",\r\n shortCode: \"JS\"\r\n }\r\n ]\r\n : languages;\r\n const [isCodeBlockShown, setIsCodeBlockShown] = useState(false);\r\n const [tabId, setTabId] = useState(0);\r\n const [customStyle, setCustomStyle] = useState({});\r\n useEffect(() => {\r\n const styles = {};\r\n\r\n if (codeBlockHeight) {\r\n styles.height = codeBlockHeight;\r\n styles.overflowX = \"auto\";\r\n }\r\n\r\n if (defaultLanguages.length > 1) {\r\n styles.background = `none transparent !important`;\r\n }\r\n\r\n setCustomStyle(styles);\r\n }, [codeBlockHeight, defaultLanguages.length]);\r\n\r\n const toolbar = (\r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n\r\n return (\r\n \r\n \r\n \r\n <>{children}\r\n \r\n \r\n \r\n );\r\n}\r\n","import React from 'react'\r\nimport TinySlider from \"tiny-slider-react\";\r\nimport 'tiny-slider/dist/tiny-slider.css';\r\nimport { toAbsoluteUrl } from '../../../_metronic/_helpers';\r\n\r\nconst settings = {\r\n controls:false,\r\n lazyload: true,\r\n nav: false,\r\n mouseDrag: false,\r\n autoplay: true,\r\n autoplayTimeout: 3500,\r\n autoplayButton:false\r\n};\r\n\r\nexport function Slide() {\r\n return (\r\n <>\r\n \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n “We saved 9 hrs/week for each salesperson, 70% of deals closed are a result of SalesProphet campaign.“\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n “9 meetings set just TODAY with prospective clients. Brands like MGM Resorts…“\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n “SalesProphet Automation has really helped me generate new interest and potential new business opportunities.“\r\n
    \r\n \r\n
    \r\n
    \r\n \r\n )\r\n}\r\n","import React, { Fragment, useState } from \"react\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useFormik } from \"formik\";\r\nimport * as Yup from \"yup\";\r\nimport { connect } from \"react-redux\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport { login } from \"../_redux/authCrud\";\r\nimport { InputPassword } from \"../../../helpers/globals\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\n/*\r\n Formik+YUP:\r\n https://jaredpalmer.com/formik/docs/tutorial#getfieldprops\r\n*/\r\n\r\nconst initialValues = {\r\n email: \"\",\r\n password: \"\",\r\n};\r\n\r\nfunction Login(props) {\r\n const today = new Date().getFullYear();\r\n const [t,i18n] = useTranslation();\r\n const { intl } = props;\r\n const [loading, setLoading] = useState(false);\r\n const LoginSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .email(\"Wrong email format\")\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\r\n intl.formatMessage({\r\n id: \"AUTH.VALIDATION.REQUIRED_FIELD\",\r\n })\r\n ),\r\n password: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\r\n intl.formatMessage({\r\n id: \"AUTH.VALIDATION.REQUIRED_FIELD\",\r\n })\r\n ),\r\n });\r\n\r\n const enableLoading = () => {\r\n setLoading(true);\r\n };\r\n\r\n const disableLoading = () => {\r\n setLoading(false);\r\n };\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: LoginSchema,\r\n onSubmit: (values, { setStatus, setSubmitting }) => {\r\n enableLoading();\r\n setTimeout(() => {\r\n login(values.email, values.password)\r\n .then(({ data: { accessToken } }) => {\r\n disableLoading();\r\n props.login(accessToken);\r\n })\r\n .catch(() => {\r\n disableLoading();\r\n setSubmitting(false);\r\n setStatus(\r\n intl.formatMessage({\r\n id: \"AUTH.VALIDATION.INVALID_LOGIN\",\r\n })\r\n );\r\n });\r\n }, 1000);\r\n },\r\n });\r\n\r\n return (\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n {/* begin::Head */}\r\n
    \r\n

    {t(\"Sign in to your account\")}

    \r\n

    \r\n \r\n {t(\"Don't have an account yet?\")}\r\n \r\n \r\n {t(\"Sign Up!\")}\r\n \r\n

    \r\n
    \r\n {/* end::Head */}\r\n\r\n {/*begin::Form*/}\r\n \r\n {formik.status ? (\r\n
    \r\n
    {formik.status}
    \r\n
    \r\n ) : (\r\n //\r\n \"\"\r\n )}\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n
    \r\n
    */}\r\n \r\n \r\n {t(\"Forgot Password\")}\r\n \r\n
    \r\n \r\n {t(\"Login\")}\r\n {loading && }\r\n {\" \"}\r\n {\r\n props.history.push(\"/auth/registration\");\r\n }}\r\n className={`btn btn-primary font-weight-bold px-9 py-3 my-3 w-100`}\r\n >\r\n {t(\"Sign Up\")}\r\n \r\n \r\n {/*end::Form*/}\r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n );\r\n}\r\n\r\nexport default injectIntl(connect(null, auth.actions)(Login));\r\n","import { useFormik } from \"formik\";\r\nimport React, { useState } from \"react\";\r\nimport { Button, Modal } from \"react-bootstrap\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport { connect } from \"react-redux\";\r\nimport Swal from \"sweetalert2\";\r\nimport * as Yup from \"yup\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\nimport { Link } from \"react-router-dom\";\r\nconst perfectScrollbarOptions = {\r\n wheelSpeed: 2,\r\n wheelPropagation: false,\r\n};\r\nconst BASE_URL = process.env.REACT_APP_BASE_URL;\r\n\r\nconst initialValues = {\r\n email: \"\",\r\n companyName: \"\",\r\n firstName: \"\",\r\n lastName: \"\",\r\n password: \"\",\r\n confirmPassword: \"\",\r\n phoneNumber: \"\",\r\n site: \"\",\r\n address1: \"\",\r\n address2: \"\",\r\n city: \"\",\r\n state: \"\",\r\n zipCode: \"\",\r\n country: \"\",\r\n acceptTerms: false,\r\n};\r\n\r\nfunction Registration(props) {\r\n const today = new Date().getFullYear();\r\n const [loading, setLoading] = useState(false);\r\n const [show, setShow] = useState(false);\r\n const handleShow = () => setShow(true);\r\n const handleClose = () => setShow(false);\r\n const [isShowPassword, setShowPassword] = useState(false);\r\n const [t, i18n] = useTranslation();\r\n\r\n const url = new URL(window.location.href);\r\n function extractCodeFromURL(url) {\r\n try {\r\n const urlParams = new URLSearchParams(url.search);\r\n const code = urlParams.get('c');\r\n return code;\r\n } catch (error) {\r\n console.error(`Error extracting code from URL: ${error}`);\r\n return null;\r\n }\r\n }\r\n const inviteLink = extractCodeFromURL(url);\r\n\r\n const RegistrationSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .email(\"Wrong email format\")\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Email is required\"),\r\n companyName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Company is required\"),\r\n firstName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"First name is required\"),\r\n lastName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Last name is required\"),\r\n password: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .matches(\r\n /^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$/,\r\n \"Must Contain 8 Characters, One Uppercase, One Lowercase, One Number and one special case Character\"\r\n )\r\n .required(\"Password is required\"),\r\n confirmPassword: Yup.string()\r\n .required(\"Confirm password is required\")\r\n .when(\"password\", {\r\n is: (val) => (val && val.length > 0 ? true : false),\r\n then: Yup.string().oneOf(\r\n [Yup.ref(\"password\")],\r\n \"Password and Confirm Password didn't match\"\r\n ),\r\n }),\r\n acceptTerms: Yup.bool().oneOf(\r\n [true],\r\n \"You must accept the terms and conditions\"\r\n ),\r\n });\r\n\r\n function handleRegister(data) {\r\n setLoading(true);\r\n fetch(`${BASE_URL}/api/Account/Register`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n Allow: \"POST\",\r\n body: JSON.stringify(data),\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const data = await response.json();\r\n return [statusCode, data];\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n setLoading(false);\r\n props.history.push(\"/activateaccount\");\r\n } else if (data[0] === 400 && data[1].message) {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n setLoading(false);\r\n for (const [key, value] of Object.entries(data[1].errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n }\r\n })\r\n .catch((error) => {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n });\r\n }\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: RegistrationSchema,\r\n onSubmit: (values) => {\r\n if (inviteLink) {\r\n values.inviteLink = inviteLink;\r\n }\r\n handleRegister(values);\r\n },\r\n });\r\n\r\n return (\r\n <>\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n \r\n
    \r\n

    \r\n {t(\"Sign up for a SalesProphet\")}\r\n

    \r\n

    \r\n {t(\"Enter your details to create your account\")}\r\n

    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n \r\n {formik.touched.firstName && formik.errors.firstName ? (\r\n
    \r\n
    \r\n {formik.errors.firstName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.lastName && formik.errors.lastName ? (\r\n
    \r\n
    \r\n {formik.errors.lastName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n
    \r\n \r\n {formik.touched.companyName && formik.errors.companyName ? (\r\n
    \r\n
    \r\n {formik.errors.companyName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.email ? (\r\n
    \r\n
    {formik.errors.email}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n
    \r\n \r\n setShowPassword(!isShowPassword)}\r\n >\r\n {!isShowPassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
    \r\n {formik.touched.password && formik.errors.password ? (\r\n
    \r\n
    \r\n {formik.errors.password}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.confirmPassword &&\r\n formik.errors.confirmPassword ? (\r\n
    \r\n
    \r\n {formik.errors.confirmPassword}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n \r\n {formik.touched.acceptTerms && formik.errors.acceptTerms ? (\r\n
    \r\n
    \r\n {formik.errors.acceptTerms}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {t(\"Sign Up\")}\r\n {loading && (\r\n \r\n )}\r\n \r\n props.history.push(\"/auth/login\")}\r\n >\r\n {t(\"Cancel\")}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n \r\n \r\n Terms and conditions\r\n \r\n\r\n \r\n
    \r\n \r\n
    \r\n \r\n <>\r\n
    \r\n

    \r\n Welcome to SalesProphet.\r\n

    \r\n

    \r\n These terms and conditions outline the rules and regulations for the use of\r\n SalesProphet's website.\r\n

    \r\n

    \r\n By accessing this website, we assume that you accept these terms and\r\n conditions in full. If you do not accept all of the terms and conditions\r\n stated on this page, please do not continue to use SalesProphet's website.\r\n

    \r\n

    \r\n The following terminology applies to these Terms and Conditions, Privacy\r\n Statement, and Disclaimer Notice, and any or all agreements: \"Client,\"\r\n \"you,\" and \"your\" refer to you, the person accessing this website and\r\n accepting the company's terms and conditions. \"The Company,\" \"ourselves,\"\r\n \"we,\" \"our,\" and \"us\" refer to our company. \"Party,\" \"Parties,\" or \"us\"\r\n refer to both the client and ourselves, or either the client or ourselves.\r\n All terms refer to the offer, acceptance, and consideration of payment\r\n necessary to undertake the process of our assistance to the client in the\r\n most appropriate manner, whether by formal meetings of a fixed duration or\r\n any other means, for the express purpose of meeting the client's needs in\r\n respect of the provision of the company's stated services/products, in\r\n accordance with and subject to the prevailing law of the United States. Any\r\n use of the above terminology or other words in the singular, plural,\r\n capitalization, and/or he/she or they are taken as interchangeable and\r\n therefore as referring to the same.\r\n

    \r\n

    \r\n Cookies:\r\n

    \r\n

    \r\n We employ the use of cookies. By using SalesProphet's website, you consent\r\n to the use of cookies in accordance with SalesProphet's privacy policy.\r\n

    \r\n

    \r\n Most of the modern-day interactive websites use cookies to enable us to\r\n retrieve user details for each visit. Cookies are used in some areas of our\r\n site to enable the functionality of this area and ease of use for those\r\n people visiting. Some of our affiliate/advertising partners may also use\r\n cookies.\r\n

    \r\n

    \r\n License:\r\n

    \r\n

    \r\n Unless otherwise stated, SalesProphet and/or its licensors own the\r\n intellectual property rights for all materials on SalesProphet. All\r\n intellectual property rights are reserved. You may view and/or print pages\r\n from{\" \"}\r\n \r\n https://SalesProphet.io\r\n {\" \"}\r\n for your own personal use subject to restrictions set in these terms and\r\n conditions.\r\n

    \r\n

    You must not:

    \r\n \r\n
    \r\n
    Hyperlinking to our Content
    \r\n

    \r\n The following organizations may link to our website without prior written\r\n approval: government agencies, search engines, news organizations, and\r\n online directory distributors. When listing us in a directory, they may link\r\n to our website in the same way they hyperlink to other listed businesses.\r\n Systemwide accredited businesses are also allowed to link, except for\r\n soliciting non-profit organizations, charity shopping malls, and charity\r\n fundraising groups, which are not allowed to hyperlink to our website. These\r\n organizations may link to our home page, publications, or other website\r\n information, as long as the link:\r\n

    \r\n

         (a) is not in any way misleading.

    \r\n

    \r\n       (b) does not falsely imply sponsorship,\r\n endorsement, or approval of the linking party and its products or services.\r\n

    \r\n

    \r\n       (c) fits within the context of the\r\n linking party's site.\r\n

    \r\n

    \r\n We may consider and approve, at our sole discretion, other link requests\r\n from the following types of organizations: commonly-known consumer and/or\r\n business information sources such as Chambers of Commerce, American\r\n Automobile Association, AARP, and Consumers Union; dot-com community sites;\r\n associations or other groups representing charities, including charity\r\n giving sites; online directory distributors; internet portals; accounting,\r\n law, and consulting firms whose primary clients are businesses; and\r\n educational institutions and trade associations.\r\n

    \r\n

    \r\n We will approve link requests from these organizations if we determine that:\r\n

    \r\n

    \r\n (a) the link would not reflect unfavorably on us or our accredited\r\n businesses (for example, trade associations or other organizations\r\n representing inherently suspect types of business, such as work-at-home\r\n opportunities, shall not be allowed to link).\r\n

    \r\n

    (b) the organization does not have an unsatisfactory record with us.

    \r\n

    \r\n (c) the benefit to us from the visibility associated with the hyperlink\r\n outweighs the absence of SalesProphet.\r\n

    \r\n

    \r\n (d) where the link is in the context of general resource information or is\r\n otherwise consistent with editorial content in a newsletter or similar\r\n product furthering the mission of the organization.\r\n

    \r\n

    \r\n These organizations may link to our home page, publications, or other\r\n website information, as long as the link:\r\n

    \r\n

    (a) is not in any way misleading

    \r\n

    \r\n (b) does not falsely imply sponsorship, endorsement, or approval of the\r\n linking party and its products or services\r\n

    \r\n

    (c) fits within the context of the linking party's site.

    \r\n

    \r\n If you are among the organizations listed in paragraph 2 above and are\r\n interested in linking to our website, you must notify us by sending an email\r\n to{\" \"}\r\n \r\n info@salesprophet.io\r\n \r\n . Please include your name, your organization name, contact information\r\n (such as a phone number and/or email address) as well as the URL of your\r\n site, a list of any URLs from which you intend to link to our website, and a\r\n list of the URL(s) on our site to which you would like to link. Allow 2-3\r\n weeks for a response. Approved organizations may hyperlink to our website as\r\n follows:\r\n

    \r\n

    Approved organizations may hyperlink to our Web site as follows:

    \r\n

    -By use of our corporate name

    \r\n

    -By use of the uniform resource locator (Web address) being linked to

    \r\n

    \r\n -By use of any other description of our website or material being linked to\r\n that makes sense within the context and format of content on the linking\r\n party's site.\r\n

    \r\n

    \r\n No use of SalesProphet's logo or other artwork will be allowed for linking\r\n absent a trademark license agreement.\r\n

    \r\n
    Iframes
    \r\n

    \r\n Without prior approval and express written permission, you may not create\r\n frames around our web pages or use other techniques that alter in any way\r\n the visual presentation or appearance of our website.\r\n

    \r\n
    Reservation of Rights
    \r\n

    \r\n We reserve the right at any time and in our sole discretion to request that\r\n you remove all links or any particular link to our website. You agree to\r\n immediately remove all links to our website upon such request. We also\r\n reserve the right to amend these terms and conditions and its linking policy\r\n at any time. By continuing to link to our website, you agree to be bound by\r\n and abide by these linking terms and conditions.\r\n

    \r\n
    Removal of links from our website
    \r\n

    \r\n If you find any link on our website or any linked website objectionable for\r\n any reason, you may contact us about this. We will consider requests to\r\n remove links but will have no obligation to do so or to respond directly to\r\n you.\r\n

    \r\n

    \r\n Whilst we endeavor to ensure that the information on this website is\r\n correct, we do not warrant its completeness or accuracy; nor do we commit to\r\n ensuring that the website remains available or that the material on the\r\n website is kept up to date.\r\n

    \r\n
    Content Liability
    \r\n

    \r\n We shall have no responsibility or liability for any content appearing on\r\n your website. You agree to indemnify and defend us against all claims\r\n arising out of or based upon your website. No link(s) may appear on any page\r\n on your website or within any context containing content or materials that\r\n may be interpreted as libelous, obscene, or criminal, or which infringes,\r\n otherwise violates, or advocates the infringement or other violation of any\r\n third-party rights.\r\n

    \r\n
    Disclaimer
    \r\n

    \r\n To the maximum extent permitted by applicable law, we exclude all\r\n representations, warranties, and conditions relating to our website and the\r\n use of this website (including, without limitation, any warranties implied\r\n by law in respect of satisfactory quality, fitness for purpose and/or the\r\n use of reasonable care and skill). Nothing in this disclaimer will:\r\n

    \r\n
      \r\n
    • \r\n limit or exclude our or your liability for death or personal injury\r\n resulting from negligence.\r\n
    • \r\n
    • \r\n limit or exclude our or your liability for fraud or fraudulent\r\n misrepresentation.\r\n
    • \r\n
    • \r\n limit any of our or your liabilities in any way that is not permitted\r\n under applicable law.\r\n
    • \r\n
    • \r\n exclude any of our or your liabilities that may not be excluded under\r\n applicable law.\r\n
    • \r\n
    \r\n

    \r\n The limitations and exclusions of liability set out in this section and\r\n elsewhere in this disclaimer: (a) are subject to the preceding paragraph;\r\n and (b) govern all liabilities arising under the disclaimer or in relation\r\n to the subject matter of this disclaimer, including liabilities arising in\r\n contract, in tort (including negligence), and for breach of statutory duty.\r\n

    \r\n

    \r\n To the extent that the website and the information and services on the\r\n website are provided free of charge, we will not be liable for any loss or\r\n damage of any nature.\r\n

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

    Updated: February 28, 2020.

    \r\n

    \r\n Welcome to the SalesProphet service (\"Service\" or \"Services\"). These\r\n SalesProphet Service Terms (these \"Terms\") explain the relationship between\r\n SalesProphet (\"SalesProphet\", \"we\" or \"us\") and you, when you access and use\r\n SalesProphet and its related domains (together, the \"Website\") and/or (ii)\r\n download, install, use and in some cases purchase SalesProphet's proprietary\r\n email software applications (including all related documentation, updates\r\n and upgrades) and any other services offered by SalesProphet Service.\r\n

    \r\n \r\n

    \r\n You may use the Services only in accordance with these Terms and Usage\r\n Policy. We may make changes to these Terms from time to time. When we do, we\r\n will revise the \"last updated\" date given above. It is your responsibility\r\n to review these Terms frequently and to remain informed of any changes to\r\n them. The then-current version of these Terms will supersede all earlier\r\n versions. You agree that your continued use of the Website after such\r\n changes have been published to our Services will constitute your acceptance\r\n of such revised Terms. We may terminate, suspend, or modify the Services, in\r\n general, or with respect to you, from time to time without cause or prior\r\n notice. We may also delete any content or data from the Services at our\r\n discretion.\r\n
    ‍\r\n

    \r\n

    \r\n These terms, together with our privacy policy and usage policy, form an\r\n agreement between you and SalesProphet. By using the SalesProphet Services,\r\n you represent to us that you are legally competent to enter into this\r\n agreement.\r\n

    \r\n \r\n

    \r\n You may use the Services only if you have the legal power and capacity to\r\n form a contract with SalesProphet. If you are using the SalesProphet\r\n Services on behalf of your employer, your acceptance of these terms has\r\n deemed an agreement between your employer and SalesProphet and you represent\r\n and warrant that you have the authority to bind your employer to these\r\n terms. SalesProphet reserves the right to change these terms and conditions\r\n at any time. The date of this agreement’s last update shall be displayed at\r\n the top of this agreement. Continued use of the SalesProphet services is\r\n deemed your conclusive acceptance of any changes to these terms. If you do\r\n not agree to these terms, you are not permitted to use the SalesProphet\r\n Services.\r\n

    \r\n \r\n

    \r\n You may not access the SalesProphet Services if you are our direct\r\n competitor, except with our prior written consent. In addition, you may not\r\n access the SalesProphet Services for purposes of monitoring their\r\n availability, performance or functionality, or for any other benchmarking or\r\n competitive purposes.\r\n

    \r\n \r\n \r\n
    Your Data
    \r\n

    \r\n “Your Data” means any data and content stored or transmitted via the\r\n Services by or on behalf of you or your end-users (which may include data\r\n you elect to import from third-party services you use). This includes\r\n messages you send, files you upload, comments on files, and anything else\r\n you enter or upload into SalesProphet.\r\n

    \r\n \r\n

    \r\n In order to use our SalesProphet Services, you must link a 3rd party email\r\n account to your SalesProphet Services account, and we require that you grant\r\n us certain rights with respect to Your Data. For example, with your\r\n permission (which you are granting by using the Services), the SalesProphet\r\n Service’s software will obtain access to your email account in order for you\r\n to be able to send emails via SalesProphet Service and for the Service to\r\n check for replies on emails you sent. You retain full ownership of Your\r\n Data. We do not claim any ownership to any of it.\r\n

    \r\n \r\n

    \r\n As well, we need to be able to transmit, store, and copy Your Data in order\r\n to display it to you and your teammates, to index it so you are able to\r\n search it, to make backups to prevent data loss, and so on. Your acceptance\r\n of this TOS gives us permission to do so and grants us any such rights\r\n necessary to provide the service to you, only for the purpose of providing\r\n the service (and for no other purpose). This permission includes allowing us\r\n to use third-party service providers (such as Microsoft Azure Services) in\r\n the operation and administration of the service, and the rights granted to\r\n us are extended to these third parties to the degree necessary to provide\r\n the service.\r\n

    \r\n \r\n

    \r\n You are solely responsible for your conduct, the content of Your Data, and\r\n your communications with others while using the Services.{\" \"}\r\n

    \r\n

    \r\n For example, it’s your responsibility to ensure that you have all rights and\r\n permissions needed to comply with these Terms and to avoid infringement or\r\n violation of any rights of others. You will be responsible for your users’\r\n compliance with these Terms and will use commercially reasonable efforts to\r\n prevent unauthorized access to or use of Services and notify us promptly of\r\n any such unauthorized access or use.\r\n

    \r\n \r\n

    \r\n You acknowledge that SalesProphet has no obligation to monitor any\r\n information on the Services, and that we are not responsible for the\r\n accuracy, completeness, appropriateness, safety, or legality of Your Data or\r\n any other information or content you may be able to access using the\r\n Services.\r\n

    \r\n \r\n
    Your SalesProphet Account
    \r\n

    \r\n You are responsible for maintaining the security of your account, and you\r\n are fully responsible for all activities that occur under the account and\r\n any other actions taken in connection with your account. You must\r\n immediately notify SalesProphet of any unauthorized uses of your account or\r\n any other breaches of security. You are not allowed to send spam messages\r\n via SalesProphet Services. SalesProphet will not be liable for any acts or\r\n omissions by you, including any damages of any kind incurred as a result of\r\n such acts or omissions. SalesProphet is passing all liability for any spam\r\n or other lawsuits that could occur as a result of your activity within\r\n SalesProphet Services to you.\r\n

    \r\n \r\n

    \r\n You will use the Services only for your internal business purposes and in\r\n accordance with applicable laws, rules, and regulations. You are responsible\r\n for all of your activities that occur within, through, or as a result of\r\n your use of the Services. You agree that you will not use the Services for\r\n unlawful purposes or to engage in any illegal, offensive, indecent, or\r\n objectionable conduct, including violation of any third-party privacy or\r\n other rights.\r\n

    \r\n \r\n

    You hereby warrant, represent, and agree that:

    \r\n
      \r\n
    1. \r\n The Service may not be used for the sending of unsolicited commercial\r\n email (as such term is defined in the CAN-SPAM Act of 2003 and any rules\r\n adopted under such act – sometimes called “spam”).\r\n
    2. \r\n
    3. \r\n You acknowledge that you are the sole or designated “sender” (as such term\r\n is defined in the CAN-SPAM Act of 2003 (the “Act”) and any rules adopted\r\n under the Act) of any email message sent by you using the Service.\r\n
    4. \r\n
    5. The Service may only be used for lawful purposes.
    6. \r\n
    7. \r\n You agree you will not access or otherwise use third-party mailing lists\r\n or otherwise prepare or distribute mass unsolicited commercial email (as\r\n such term is defined in the CAN-SPAM Act of 2003 and any rules adopted\r\n under such act), in connection with the Service. You will import, access,\r\n or otherwise use only lists for which all listed parties have consented to\r\n receive correspondence from you in connection with your use of the\r\n Service.\r\n
    8. \r\n
    9. \r\n You acknowledge and agree that not all email messages sent through the use\r\n of the Service will be received by their intended recipients.\r\n
    10. \r\n
    11. \r\n The “from” line of any email message sent by you using the Service will\r\n accurately and in a non-deceptive manner identify your organization, your\r\n product, or your service.\r\n
    12. \r\n
    13. \r\n The “subject” line of any email message sent by you using the Service will\r\n not contain any deceptive or misleading content regarding the overall\r\n subject matter of the email message.\r\n
    14. \r\n
    15. \r\n You will include in any email message sent by you using the Products your\r\n valid physical address, if required by law, which may be a valid post\r\n office box meeting the registration requirements established by the United\r\n States Postal Service.\r\n
    16. \r\n
    17. \r\n The Service may not be used for hosting content, including images and\r\n documents, that knowingly infringes on the intellectual property rights of\r\n others, including copyright, trademark, and patent infringement, or that\r\n includes any obscene or libelous material or other material that violates\r\n any applicable law or regulation.\r\n
    18. \r\n
    \r\n \r\n \r\n

    \r\n You are solely responsible for all activities that occur in your account(s)\r\n and for the security of your passwords. Notwithstanding anything to the\r\n contrary herein, SalesProphet has no liability of any kind (whether by\r\n contract, tort, or otherwise) for any unauthorized access to your or your\r\n users’ accounts as a result of your actions or inactions\r\n

    \r\n \r\n
    Sharing Your Data and Your Privacy
    \r\n

    \r\n Subject to the limited exceptions specified in our Privacy Policy, until you\r\n choose otherwise, all of your data remains visible only to you. However, the\r\n Services do allow you to share your data with others. If you choose to share\r\n your data, we cannot be responsible for what those other users do with your\r\n data, so please carefully consider what you share and with whom you share\r\n it.\r\n

    \r\n \r\n

    \r\n We will maintain administrative, physical, and technical safeguards for the\r\n  protection of the security, confidentiality, and integrity of your\r\n data as described in our Privacy Policy. We do not guarantee that your data\r\n will be free from loss, theft, misuse, or unauthorized access, disclosure,\r\n alteration or destruction. You acknowledge that it is your responsibility to\r\n use a secure encrypted connection if you wish to protect your data when you\r\n are transmitting it to us and to keep your own backup copies of your data.\r\n You are solely responsible for protecting your passwords, limiting access to\r\n your computers and devices, and signing out of the SalesProphet Services\r\n when you are not using them.\r\n

    \r\n \r\n
    Disclaimer of Warranties
    \r\n

    \r\n Your use of the services and the service content is at your sole risk. The\r\n services and the service content each are provided on an \"as is\" and \"as\r\n available\" basis. We and our suppliers and licensors expressly disclaim all\r\n warranties of any kind, whether express or implied, including, but not\r\n limited to the implied warranties of merchantability, fitness for a\r\n particular purpose, title, and non-infringement. We do not guarantee the\r\n accuracy, completeness, or usefulness of the services or any service\r\n content, and you rely on the services and service content at your own risk.\r\n Any material that you access or obtain through our services is done at your\r\n own discretion and risk, and you will be solely responsible for any damage\r\n to your computer or loss of data that results from the download of any\r\n material through our services. No advice or information, whether oral or\r\n written, obtained by you from us or through or from our services will create\r\n any warranty not expressly stated in this agreement. Some states may\r\n prohibit a disclaimer of warranties, and you may have other rights that vary\r\n from state to state.\r\n

    \r\n \r\n
    Your Responsibilities
    \r\n

    \r\n Information and content accessible through the Services may be protected by\r\n intellectual property rights of others. Please do not copy, upload,\r\n download, or share any information or content unless you have the right to\r\n do so. You, not SalesProphet, will be fully responsible and liable for what\r\n you copy, share, upload, download, or otherwise use while using the\r\n Services. You must not upload spyware or any other malicious software to the\r\n Service or use the Service to spam others.\r\n

    \r\n \r\n

    \r\n You, and not SalesProphet, are responsible for maintaining and protecting\r\n all of your data. SalesProphet will not be liable for any loss or corruption\r\n of your data, or for any costs, fees, or expenses associated with backing up\r\n or restoring your data.\r\n

    \r\n \r\n

    \r\n If any information related to your account changes, you must notify us\r\n promptly and keep your information current. The Services are not intended\r\n for use by you if you are under 18 years of age. By agreeing to these Terms,\r\n you are representing to us that you are over 18.\r\n

    \r\n \r\n

    \r\n You will not engage in activity that would cause SalesProphet to violate any\r\n of these laws and regulations, and you agree that you will indemnify\r\n SalesProphet for any fines, penalties, or other liabilities incurred by\r\n SalesProphet for your failure to comply with these provisions.\r\n

    \r\n \r\n

    \r\n You shall pay all fees for the SalesProphet Services as specified in the\r\n billing section of the SalesProphet Services or Order Form, if applicable.\r\n Our fees do not include any taxes, levies, duties, or similar governmental\r\n assessments of any nature, including, for example, value-added, sales, use,\r\n or withholding taxes, assessable by any jurisdiction whatsoever. You are\r\n responsible for paying all taxes associated with your purchases. You agree\r\n that your purchases are not contingent on the delivery of any future\r\n functionality or features, nor dependent on any oral or written public\r\n comments made by us regarding future functionality or features.\r\n

    \r\n \r\n
    Copyright Infringement and DMCA Policy
    \r\n

    \r\n If you believe that material located on or linked to by SalesProphet\r\n violates your copyright, you are encouraged to notify SalesProphet in\r\n accordance with the DMCA Policy.\r\n

    \r\n \r\n
    Cancelling Your Account
    \r\n

    \r\n The SalesProphet Service is billed in advance in accordance with our pricing\r\n schedule, and all monthly payments are nonrefundable. All subscriptions,\r\n whether monthly or annual, will auto-renew on the scheduled renewal date\r\n unless a cancellation is requested by the customer before the renewal date.\r\n There will be no refunds or credits for partial months of service,\r\n upgrade/downgrade refunds, or refunds for months unused with an open\r\n account. If you cancel, you will not receive a refund for any service\r\n already paid for.\r\n

    \r\n \r\n

    \r\n You can stop using our Services at any time, and we reserve the right to\r\n suspend or end the Services to you in whole or in part at any time, with or\r\n without cause, and with or without notice, without incurring the liability\r\n of any kind. Without limitation, we may suspend or terminate your use if you\r\n are not complying with these Terms or if you use the Services in any way\r\n that may cause us legal liability or disrupt others' use of the SalesProphet\r\n Services or damage to our business or reputation, or for any other reason.\r\n If we suspend or terminate your use, we will try to let you know in advance\r\n and help you retrieve data, though there may be some cases (for example,\r\n repeatedly or flagrantly violating these Terms, a court order, or danger to\r\n other users) where we may suspend or terminate your account and access to\r\n the SalesProphet Services immediately. You acknowledge that if your access\r\n to the Service is suspended or terminated, you may no longer have access to\r\n Your Data that is stored with the Service. To cancel an account, you should\r\n send a request to our support team via support chat in your customer portal\r\n or via the SalesProphet.io email.\r\n

    \r\n \r\n

    \r\n The SalesProphet Service is billed in advance in accordance with our pricing\r\n schedule, and all monthly payments are nonrefundable. There will be no\r\n refunds or credits for partial months of service, upgrade/downgrade refunds,\r\n or refunds for months unused with an open account. If you cancel, you will\r\n not receive a refund for any service already paid for.\r\n

    \r\n \r\n
    Indemnification
    \r\n

    \r\n You shall indemnify, defend, and hold harmless the SalesProphet parties from\r\n any and all third-party claims and related losses, liability, damages,\r\n and/or costs (including attorneys’ fees and costs) arising from (i) any\r\n Content, (ii) your use of the Services, or (iii) breach by you or your\r\n Content of any Law or this Agreement. We shall indemnify, defend, and hold\r\n you harmless from any and all third-party claims and related losses,\r\n liability, damages, and/or costs (including attorneys’ fees and costs)\r\n arising from an allegation that the SalesProphet Services infringe or\r\n misappropriate any third-party intellectual property right.\r\n

    \r\n \r\n
    Limitation of Liability
    \r\n

    \r\n To the fullest extent permitted by law, in no event will SalesProphet, Alpha\r\n Flexi Sarl, or either of their subsidiaries, affiliates, officers,\r\n employees, agents, suppliers, or licensors be liable for (a) any indirect,\r\n special, incidental, punitive, exemplary, or consequential (including loss\r\n of use, data, business, or profits) damages, regardless of legal theory,\r\n whether or not SalesProphet has been warned of the possibility of such\r\n damages, and even if a remedy fails of its essential purpose; (b) aggregate\r\n liability for all claims relating to the services more than the greater of\r\n $20 or the amounts paid by you to SalesProphet for the past three months of\r\n the services in question.\r\n

    \r\n \r\n
    Miscellaneous
    \r\n

    \r\n This Agreement constitutes the entire agreement between SalesProphet and you\r\n concerning the subject matter hereof, and it may only be modified by a\r\n written amendment signed by an authorized executive of SalesProphet or by\r\n the posting by SalesProphet of a revised version.\r\n

    \r\n \r\n

    \r\n Except to the extent applicable law, if any, provides otherwise, this\r\n Agreement, any access to or use of the Website will be governed by the laws\r\n of the state of British Columbia, Canada, excluding its conflict of law\r\n provisions, and the proper venue for any disputes arising out of or relating\r\n to any of the same will be the state and provincial courts located in\r\n Vancouver, Canada. Except for claims for injunctive or equitable relief or\r\n claims regarding intellectual property rights (which may be brought in any\r\n competent court without the posting of a bond), any dispute arising under\r\n this Agreement shall be finally settled in accordance with the Comprehensive\r\n Arbitration Rules of the Judicial Arbitration and Mediation Service, Inc.\r\n (“JAMS”) by three arbitrators appointed in accordance with such Rules. The\r\n arbitration shall take place in Vancouver, Canada, in the English language,\r\n and the arbitral decision may be enforced in any court. The prevailing party\r\n in any action or proceeding to enforce this Agreement shall be entitled to\r\n costs and attorneys’ fees.\r\n

    \r\n \r\n

    \r\n If any part of this Agreement is held invalid or unenforceable, that part\r\n will be construed to reflect the parties’ original intent, and the remaining\r\n portions will remain in full force and effect. A waiver by either party of\r\n any term or condition of this Agreement or any breach thereof, in any one\r\n instance, will not waive such term or condition or any subsequent breach\r\n thereof.\r\n

    \r\n \r\n

    \r\n You may not assign your rights under this Agreement to any other party\r\n without SalesProphet's express written consent; SalesProphet may assign its\r\n rights under this Agreement without condition. This Agreement will be\r\n binding upon and will inure to the benefit of the parties, their successors\r\n and permitted assigns.\r\n

    \r\n \r\n
    SalesProphet Anti-Spam Requirements
    \r\n

    \r\n As an email service provider, we take spam law seriously, not only for our\r\n sake but for yours as well. Spam negatively impacts deliverability rates,\r\n and we want to make sure your emails reach their intended recipients as\r\n often as possible. We have some very strict rules that must be adhered to in\r\n all countries, but you may find that your country has additional\r\n requirements.\r\n

    \r\n \r\n

    \r\n Below you will find a list (conveniently ordered alphabetically) of\r\n countries with specific anti-spam legislation as well as our overall rules\r\n to help maintain platform integrity.\r\n

    \r\n \r\n
    Requirements for All SalesProphet Campaigns
    \r\n
      \r\n
    1. You must agree to our Terms of Service.
    2. \r\n
    3. \r\n We recommend including an opt-out link into your email templates and\r\n outreach campaigns for audiences you haven't contacted previously.\r\n
    4. \r\n
    5. \r\n You must include your contact information inside every email promotion*\r\n that you send, including a physical mailing address or PO Box where you\r\n can receive mail. (Not a website or email address.)\r\n
    6. \r\n
    \r\n
      \r\n
    • \r\n An email promotion is usually a broadcast with a low ratio of text to\r\n image area offering discounts or other incentives to purchase a product or\r\n service, or to subscribe, register, download, or perform some other action\r\n intended to drive revenue for the vendor.\r\n
    • \r\n
    \r\n
      \r\n
    1. Your contact information and subject line must be 100% accurate.
    2. \r\n
    3. \r\n If you regularly use an integrated service or CRM platform, you need to\r\n abide by their terms of use, in addition to our own.\r\n
    4. \r\n
    5. \r\n It is strongly recommended that your emails comply with the US CAN-SPAM\r\n Act. If you break the rules, you could be liable for hundreds of dollars\r\n for each recipient that you sent non-compliant messages to.\r\n
    6. \r\n
    7. \r\n In addition to CAN-SPAM rules, you must comply with the anti-spam laws of\r\n the countries your recipients live in. So if you're sending to EU\r\n residents and US residents, check the EU spam laws to make sure you're\r\n also EU compliant.\r\n
    8. \r\n
    \r\n \r\n \r\n
    International Requirements By Country
    \r\n

    \r\n Here are links to the Anti-Spam legislation in countries outside of the US:\r\n

    \r\n \r\n
    Australia
    \r\n

    Spam Act 2003, Act No. 129 of 2003 as amended.

    \r\n \r\n
    Austria
    \r\n

    Telecommunications Act 2003.

    \r\n \r\n
    Belgium
    \r\n

    \r\n Commission de la protection de la vie privée, Le spam en Belgique Etat des\r\n lieux en juillet 2003, July 4, 2003.\r\n

    \r\n \r\n
    Canada
    \r\n

    Canada’s Anti-Spam Legislation (CASL).

    \r\n \r\n
    China
    \r\n

    Measures for Administration of E-Mail Service on Internet (2006)

    \r\n

    (Unofficial English Translation).

    \r\n \r\n
    Cyprus
    \r\n

    \r\n Section 06 of the Regulation of Electronic Communications and Postal\r\n Services Law of 2004 (Law 12 (I) / 2004 deals with unsolicited\r\n communications (spam).\r\n

    \r\n \r\n
    Czech Republic
    \r\n

    Act No. 480/2004 Coll., on Certain Information Society Services.

    \r\n \r\n
    Estonia
    \r\n

    Information Society Service Act.

    \r\n \r\n
    EU
    \r\n

    \r\n Article 13 of DIRECTIVE 2002/58/EC OF THE EUROPEAN PARLIAMENT AND OF THE\r\n COUNCIL of 12 July 2002\r\n

    \r\n

    \r\n The EU body that addresses spam is The Contact Network of Spam Enforcement\r\n Authorities (CNSA).\r\n

    \r\n

    \r\n The Directive is implemented by each member state independently so you will\r\n want to check with your particular country law for specific details.\r\n

    \r\n \r\n
    France
    \r\n

    CNIL Guidelines on email marketing.

    \r\n \r\n
    Germany
    \r\n

    \r\n Art. 7 German Unfair Competition Law (Gesetz gegen Unlauteren Wettbewerb)\r\n (UWG)\r\n

    \r\n

    \r\n Art. 202a, 263, 303a, 303b of the German Criminal Code Art. 6 of the German\r\n Law regarding Information Society Services Art. 28 Par. 4 of the German Data\r\n Protection Act.\r\n

    \r\n
    India
    \r\n

    Information Technology Act of 2000.

    \r\n
    Italy
    \r\n

    \r\n Italy’s anti-spam laws are some of the strictest, even to the point of\r\n potential imprisonment for sending spam. If you’re sending to Italian\r\n recipients, follow these guidelines to the letter.\r\n

    \r\n

    Personal Data Protection Code (legislative decree no. 196/2003)

    \r\n

    DL 196/2003 Personal Data Protection Code.

    \r\n
    Netherlands
    \r\n

    \r\n Dutch law requires very explicit permission and heavily protects data and\r\n privacy.\r\n

    \r\n
    New Zealand
    \r\n

    \r\n The Unsolicited Electronic Messages Act 2007. The Department of Internal\r\n Affairs provides detailed guidelines on the anti-spam laws.\r\n

    \r\n
    South Africa
    \r\n

    Regulation of Spam in South Africa – South African Law.

    \r\n
    Sweden
    \r\n

    Swedish Marketing Act (Swedish Code of Statutes, SFS 1995:450).

    \r\n

    \r\n Personal Data Act (Swedish Code of Statutes, SFS 1998:204), in so far as\r\n spam activities involve processing of personal data.\r\n

    \r\n
    UK
    \r\n

    The Privacy and Electronic Communications (EC Directive) Regulations.

    \r\n

    \r\n If you are sending to a country not on this list, please inform our support\r\n and they will look into updating this page.\r\n

    \r\n

    \r\n If any of the preceding requirements is not met we reserve the right to\r\n suspend any campaign or account without warning.\r\n

    \r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\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 injectIntl(connect(null, auth.actions)(Registration));\r\n","import React, { useState } from \"react\";\r\nimport { useFormik } from \"formik\";\r\nimport { connect } from \"react-redux\";\r\nimport { Link, Redirect } from \"react-router-dom\";\r\nimport * as Yup from \"yup\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport Swal from \"sweetalert2\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\nconst BASE_URL = process.env.REACT_APP_BASE_URL;\r\n\r\nconst initialValues = {\r\n email: \"\",\r\n};\r\n\r\nfunction ForgotPassword(props) {\r\n const today = new Date().getFullYear();\r\n const [t, i18n] = useTranslation();\r\n const [isRequested, setIsRequested] = useState(false);\r\n const [isLoader, setIsLoader] = useState(false);\r\n const ForgotPasswordSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .email(\"Wrong email format\")\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Email is required\"),\r\n });\r\n\r\n const handleForgotPassword = (values) => {\r\n setIsLoader(true);\r\n //setLoading(true);\r\n fetch(`${BASE_URL}/api/Account/ForgetPassword`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n Allow: \"POST\",\r\n body: JSON.stringify(values),\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"success\",\r\n text:\r\n \"We have sent you an email with a link to reset your password\",\r\n });\r\n // setLoading(false);\r\n setIsLoader(true);\r\n setIsRequested(true);\r\n } else if (data[0] === 400 && data[1]?.message) {\r\n // setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1]?.message,\r\n });\r\n } else if (data[0] === 500) {\r\n // setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Something went wrong!. Please try again later\",\r\n });\r\n }\r\n })\r\n .catch((error) => {\r\n //setLoading(false);\r\n setIsLoader(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n });\r\n setIsLoader(false);\r\n };\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: ForgotPasswordSchema,\r\n onSubmit: (values) => {\r\n handleForgotPassword(values);\r\n },\r\n });\r\n\r\n return (\r\n <>\r\n {isRequested && }\r\n {!isRequested && (\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n
    \r\n

    {t(\"Forgotten Password ?\")}

    \r\n
    \r\n {t(\"Enter your email to reset your password\")}\r\n
    \r\n
    \r\n \r\n
    \r\n \r\n {formik.touched.email && formik.errors.email ? (\r\n
    \r\n
    {formik.errors.email}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {t(\"Submit\")}\r\n \r\n {props?.isFunction ? (\r\n \r\n {t(\"Cancel\")}\r\n \r\n ) : (\r\n \r\n \r\n {t(\"Cancel\")}\r\n \r\n \r\n )}\r\n
    \r\n \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n
    \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n )}\r\n \r\n );\r\n}\r\n\r\nexport default injectIntl(connect(null, auth.actions)(ForgotPassword));\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\nexport default function Activationemail() {\r\n const today = new Date().getFullYear();\r\n const BASE_URL = process.env.REACT_APP_BASE_URL;\r\n var url = new URL(window.location.href);\r\n var code = url?.searchParams?.get(\"code\");\r\n const [accountverified, setaccountverified] = useState(false);\r\n const [t, i18n] = useTranslation();\r\n useEffect(() => {\r\n sendCodeFunction(code);\r\n }, [code]);\r\n\r\n function sendCodeFunction(params) {\r\n if (params !== null && params !== \"\" && params !== undefined) {\r\n var myHeaders = new Headers();\r\n myHeaders.append(\"Content-Type\", \"application/json\");\r\n var raw = JSON.stringify({\r\n Code: params,\r\n });\r\n\r\n var requestOptions = {\r\n method: \"POST\",\r\n headers: myHeaders,\r\n body: raw,\r\n redirect: \"follow\",\r\n };\r\n\r\n fetch(`${BASE_URL}/api/Account/ConfirmEmail`, requestOptions)\r\n .then((response) => response.text())\r\n .then((result) => {\r\n setaccountverified(true);\r\n })\r\n .catch((error) => console.log(\"error\", error));\r\n }\r\n }\r\n\r\n return (\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Login Header*/}\r\n
    \r\n \r\n \r\n \r\n
    \r\n {/*end::Login Header*/}\r\n {/*begin::Login Sign in form*/}\r\n
    \r\n
    \r\n
    \r\n {!accountverified ? (\r\n <>\r\n

    \r\n {t(\" Verify your email\")}\r\n

    \r\n \r\n ) : (\r\n <>\r\n

    \r\n {t(\"Welcome To SalesProphet\")}\r\n

    \r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {!accountverified ? (\r\n <>\r\n
    \r\n {t(\"We have sent an email from\")}{\" \"}\r\n \r\n {t(\" support@mail.salesprophet.com\")}\r\n \r\n
    \r\n {t(\"to verify email\")}\r\n
    \r\n {t(\"If you didn't receive any email. Please\")}{\" \"}\r\n Contact us\r\n
    \r\n
    \r\n \r\n {t(\"Log In\")}\r\n \r\n
    \r\n \r\n ) : (\r\n <>\r\n
    \r\n \r\n {t(\"Your account is ready\")}\r\n \r\n
    \r\n {t(\"Please click login to access your account\")}\r\n
    \r\n
    \r\n \r\n {t(\"Log In\")}\r\n \r\n
    \r\n \r\n )}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {/*end::Login*/}\r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n );\r\n}\r\n","import React, { useState } from \"react\";\r\nimport { useFormik } from \"formik\";\r\nimport { connect } from \"react-redux\";\r\nimport { Link, Redirect } from \"react-router-dom\";\r\nimport * as Yup from \"yup\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport Swal from \"sweetalert2\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\n\r\nfunction ResetPassword(props) {\r\n const today = new Date().getFullYear();\r\n const BASE_URL = process.env.REACT_APP_BASE_URL;\r\n const [isRequested, setIsRequested] = useState(false);\r\n const [loading, setLoading] = useState(false);\r\n const [isShowPassword, setShowPassword] = useState(false);\r\n var url2 = window.location.search;\r\n let param = url2?.replace(\"?code=\", \"\");\r\n let token = param?.split(\",,,\")[0];\r\n var email = param?.split(\",,,\")[1];\r\n const [t, i18n] = useTranslation();\r\n\r\n\r\n const ForgotPasswordSchema = Yup.object().shape({\r\n password: Yup.string()\r\n .min(8, \"Minimum 8 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .matches(\r\n /^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$/,\r\n \"Must Contain 8 Characters, One Uppercase, One Lowercase, One Number and one special case Character\"\r\n )\r\n .required(\"Password is required\"),\r\n confirmPassword: Yup.string()\r\n .oneOf([Yup.ref(\"password\"), null], \"Passwords must match\")\r\n .required(\"Confirm Password is required\"),\r\n });\r\n\r\n const initialValues = {\r\n email: email,\r\n password: \"\",\r\n token: token,\r\n confirmPassword: \"\",\r\n };\r\n\r\n\r\n const handleResetPassword = (values) => {\r\n setLoading(true);\r\n fetch(`${BASE_URL}/api/Account/ResetPassword`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n Allow: \"POST\",\r\n body: JSON.stringify(values),\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text: \"Password reset successfully\",\r\n });\r\n setLoading(false);\r\n setIsRequested(true);\r\n } else if (data[0] === 400 && data[1].errors) {\r\n setLoading(false);\r\n for (var i = 0; i < data[1].errors.length; i++) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].errors[i].description,\r\n });\r\n }\r\n setIsRequested(false);\r\n } else if (data[0] === 500) {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Something went wrong!. Please try again later\",\r\n });\r\n setIsRequested(false);\r\n }\r\n })\r\n .catch((error) => {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n });\r\n };\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: ForgotPasswordSchema,\r\n onSubmit: (values) => {\r\n handleResetPassword(values);\r\n },\r\n });\r\n\r\n return (\r\n <>\r\n {isRequested && }\r\n {!isRequested && (\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n
    \r\n

    {t(\"Reset Password !\")}

    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n setShowPassword(!isShowPassword)}>\r\n {!isShowPassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
    \r\n {formik.touched.password && formik.errors.password ? (\r\n
    \r\n
    * {formik.errors.password}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.confirmPassword &&\r\n formik.errors.confirmPassword ? (\r\n
    \r\n
    \r\n * {formik.errors.confirmPassword}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {t(\"Submit\")}\r\n \r\n \r\n \r\n {t(\"Cancel\")}\r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n
    \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n )}\r\n \r\n );\r\n}\r\n\r\nexport default injectIntl(connect(null, auth.actions)(ResetPassword));\r\n","import React from \"react\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport { connect } from \"react-redux\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { useTranslation } from \"react-i18next\";\r\nfunction TermsAndCondition() {\r\n const today = new Date().getFullYear();\r\n const [t, i18n] = useTranslation();\r\n return (<>\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n
    \r\n \r\n
    \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n

    Terms ans conditions

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

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n

    Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source. Lorem Ipsum comes from sections 1.10.32 and 1.10.33 of \"de Finibus Bonorum et Malorum\" (The Extremes of Good and Evil) by Cicero, written in 45 BC. This book is a treatise on the theory of ethics, very popular during the Renaissance. The first line of Lorem Ipsum, \"Lorem ipsum dolor sit amet..\", comes from a line in section 1.10.32.

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n
    \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n );\r\n}\r\nexport default injectIntl(connect(null, auth.actions)(TermsAndCondition));","import React from \"react\";\r\nimport { Button } from \"react-bootstrap\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport { Card, CardBody, CardHeader, CardHeaderToolbar } from \"../../../_metronic/_partials/controls\";\r\nimport preval from \"preval.macro\";\r\n\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { Link } from \"react-router-dom\";\r\nimport { Slide } from \"../../modules/Slide/Slide\";\r\nexport default function HistoryPage() {\r\n const today = new Date().getFullYear();\r\n const [t, i18n] = useTranslation();\r\n return (\r\n <>\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n \r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n \r\n \r\n
    \r\n

    SalesProphet Scheduler booking e-mails aren't being sent

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

    \r\n Identified - We have received reports of booking e-mails not being sent for appointments booked through the SalesProphet Scheduler. We have correlated this issue with a problem with the 3rd-party provider we are using for this i.e. Mailgun. You can subscribe to updates on their status page: URL. Thank you for your patience.\r\n Feb 22, 2023 - 11:39 PST\r\n

    \r\n
    \r\n
    \r\n\r\n
    \r\n \r\n About This Site\r\n \r\n \r\n Seeing issues that aren't reflected on this page? Contact us at \r\n support@slaesprophet.com\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n API\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Dashboard\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Developer Console\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Sync Status\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Webhooks\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n AWS route53\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Scheduler\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n Streams\r\n
    \r\n
    \r\n

    Operational\r\n

    \r\n
    \r\n
    \r\n
    \r\n
    \r\n \r\n Past Incidents\r\n \r\n
    \r\n
    \r\n \r\n Feb 24, 2023\r\n \r\n \r\n No incidents reported today.\r\n \r\n
    \r\n
    \r\n \r\n Feb 23, 2023\r\n \r\n \r\n No incidents reported.\r\n \r\n
    \r\n
    \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n
    \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n \r\n );\r\n}\r\n","import { useFormik } from \"formik\";\r\nimport React, { useState } from \"react\";\r\nimport { Button, Modal } from \"react-bootstrap\";\r\nimport SVG from \"react-inlinesvg\";\r\nimport { injectIntl } from \"react-intl\";\r\nimport { connect } from \"react-redux\";\r\nimport Swal from \"sweetalert2\";\r\nimport * as Yup from \"yup\";\r\nimport { toAbsoluteUrl } from \"../../../../_metronic/_helpers\";\r\nimport * as auth from \"../_redux/authRedux\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport preval from \"preval.macro\";\r\nimport { LanguageSelectorDropdown } from \"../../../../_metronic/layout/components/extras/dropdowns/LanguageSelectorDropdown\";\r\nimport { Slide } from \"../../Slide/Slide\";\r\nimport { Link } from \"react-router-dom\";\r\nimport ReactSelect from \"react-select\";\r\nconst perfectScrollbarOptions = {\r\n wheelSpeed: 2,\r\n wheelPropagation: false,\r\n};\r\nconst BASE_URL = process.env.REACT_APP_BASE_URL;\r\n\r\nconst initialValues = {\r\n email: \"\",\r\n companyName: \"\",\r\n appSumoCode1: \"\",\r\n appSumoCode2: \"\",\r\n appSumoCode3: \"\",\r\n firstName: \"\",\r\n lastName: \"\",\r\n password: \"\",\r\n confirmPassword: \"\",\r\n phoneNumber: \"\",\r\n site: \"\",\r\n address1: \"\",\r\n address2: \"\",\r\n city: \"\",\r\n state: \"\",\r\n zipCode: \"\",\r\n country: \"\",\r\n acceptTerms: false,\r\n};\r\n\r\nfunction Registration(props) {\r\n const today = new Date().getFullYear();\r\n const [loading, setLoading] = useState(false);\r\n const [show, setShow] = useState(false);\r\n const handleShow = () => setShow(true);\r\n const handleClose = () => setShow(false);\r\n const [isShowPassword, setShowPassword] = useState(false);\r\n const [valueAppSumo, setValueAppSumo] = useState({value : \"1\", label : \"License Tier 1 - $99\"});\r\n const [t, i18n] = useTranslation();\r\n\r\n const url = new URL(window.location.href);\r\n function extractCodeFromURL(url) {\r\n try {\r\n const urlParams = new URLSearchParams(url.search);\r\n const code = urlParams.get('c');\r\n return code;\r\n } catch (error) {\r\n console.error(`Error extracting code from URL: ${error}`);\r\n return null;\r\n }\r\n }\r\n const inviteLink = extractCodeFromURL(url);\r\n\r\n const RegistrationSchema = Yup.object().shape({\r\n email: Yup.string()\r\n .email(\"Wrong email format\")\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Email is required\"),\r\n companyName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Company is required\"),\r\n firstName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"First name is required\"),\r\n lastName: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .required(\"Last name is required\"),\r\n password: Yup.string()\r\n .min(3, \"Minimum 3 symbols\")\r\n .max(50, \"Maximum 50 symbols\")\r\n .matches(\r\n /^(?=.*[a-z])(?=.*[A-Z])(?=.*\\d)(?=.*[@$!%*?&])[A-Za-z\\d@$!%*?&]{8,}$/,\r\n \"Must Contain 8 Characters, One Uppercase, One Lowercase, One Number and one special case Character\"\r\n )\r\n .required(\"Password is required\"),\r\n confirmPassword: Yup.string()\r\n .required(\"Confirm password is required\")\r\n .when(\"password\", {\r\n is: (val) => (val && val.length > 0 ? true : false),\r\n then: Yup.string().oneOf(\r\n [Yup.ref(\"password\")],\r\n \"Password and Confirm Password didn't match\"\r\n ),\r\n }),\r\n acceptTerms: Yup.bool().oneOf(\r\n [true],\r\n \"You must accept the terms and conditions\"\r\n ),\r\n });\r\n\r\n function handleRegister(data) {\r\n setLoading(true);\r\n fetch(`${BASE_URL}/api/Account/AppSumo`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n Allow: \"POST\",\r\n body: JSON.stringify(data),\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n const data = await response.json();\r\n return [statusCode, data];\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n setLoading(false);\r\n props.history.push(\"/activateaccount\");\r\n } else if (data[0] === 400 && data[1].message) {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n setLoading(false);\r\n for (const [key, value] of Object.entries(data[1].errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n }\r\n })\r\n .catch((error) => {\r\n setLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: error,\r\n });\r\n });\r\n }\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n validationSchema: RegistrationSchema,\r\n onSubmit: (values) => {\r\n if (inviteLink) {\r\n values.inviteLink = inviteLink;\r\n }\r\n let dataUpdated = {...values};\r\n dataUpdated.tier = parseInt(valueAppSumo.value);\r\n\r\n //validation \r\n if(dataUpdated.tier === 1 && !!dataUpdated.appSumoCode1 === false){\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"AppSumo Code 1 is required\",\r\n });\r\n return false;\r\n }\r\n else if(dataUpdated.tier === 2 && (!!dataUpdated.appSumoCode1 === false || !!dataUpdated.appSumoCode2 === false)){\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"AppSumo Code 1 and AppSumo Code 2 are required\",\r\n });\r\n return false;\r\n } else if(dataUpdated.tier === 3 && (!!dataUpdated.appSumoCode1 === false || !!dataUpdated.appSumoCode2 === false || !!dataUpdated.appSumoCode3 === false)){\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"AppSumo Code 1, AppSumo Code 2, AppSumo Code 3 are required\",\r\n });\r\n return false;\r\n } else if(dataUpdated.tier === 4 && (!!dataUpdated.appSumoCode1 === false || !!dataUpdated.appSumoCode2 === false || !!dataUpdated.appSumoCode3 === false || !!dataUpdated.appSumoCode4 === false)){\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"AppSumo Code 1, AppSumo Code 2, AppSumo Code 3, AppSumo Code 4 are required\",\r\n });\r\n return false;\r\n } else if(dataUpdated.tier === 5 && (!!dataUpdated.appSumoCode1 === false || !!dataUpdated.appSumoCode2 === false || !!dataUpdated.appSumoCode3 === false || !!dataUpdated.appSumoCode4 === false || !!dataUpdated.appSumoCode5 === false)){\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"AppSumo Code 1, AppSumo Code 2, AppSumo Code 3, AppSumo Code 4, AppSumo Code 5 are required\",\r\n });\r\n return false;\r\n }\r\n handleRegister(dataUpdated);\r\n },\r\n });\r\n const listAppSumo = [\r\n {value : \"1\", label : \"License Tier 1\"},\r\n {value : \"2\", label : \"License Tier 2\"},\r\n {value : \"3\", label : \"License Tier 3\"},\r\n {value : \"4\", label : \"License Tier 4\"},\r\n {value : \"5\", label : \"License Tier 5\"},\r\n ];\r\n return (\r\n <>\r\n
    \r\n {/*begin::Login*/}\r\n \r\n {/*begin::Content*/}\r\n
    \r\n {/*
    \r\n \r\n
    */}\r\n {/*begin::Content header*/}\r\n {/*
    \r\n \r\n Don't have an account yet?\r\n \r\n \r\n Sign Up!\r\n \r\n
    */}\r\n {/*end::Content header*/}\r\n\r\n {/* begin::Content body */}\r\n
    \r\n \r\n
    \r\n

    \r\n {t(\"Sign up for a SalesProphet\")}\r\n

    \r\n

    \r\n {t(\"Enter your details to create your account\")}\r\n

    \r\n
    \r\n\r\n \r\n
    \r\n
    \r\n \r\n {formik.touched.firstName && formik.errors.firstName ? (\r\n
    \r\n
    \r\n {formik.errors.firstName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.lastName && formik.errors.lastName ? (\r\n
    \r\n
    \r\n {formik.errors.lastName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n
    \r\n \r\n {formik.touched.companyName && formik.errors.companyName ? (\r\n
    \r\n
    \r\n {formik.errors.companyName}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.email ? (\r\n
    \r\n
    {formik.errors.email}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n
    \r\n \r\n setShowPassword(!isShowPassword)}\r\n >\r\n {!isShowPassword ? (\r\n \r\n ) : (\r\n \r\n )}\r\n \r\n
    \r\n {formik.touched.password && formik.errors.password ? (\r\n
    \r\n
    \r\n {formik.errors.password}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.confirmPassword &&\r\n formik.errors.confirmPassword ? (\r\n
    \r\n
    \r\n {formik.errors.confirmPassword}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n {\r\n formik.setFieldValue(\"appSumoCode1\", \"\");\r\n formik.setFieldValue(\"appSumoCode2\", \"\");\r\n formik.setFieldValue(\"appSumoCode3\", \"\");\r\n formik.setFieldValue(\"appSumoCode4\", \"\");\r\n formik.setFieldValue(\"appSumoCode5\", \"\");\r\n setValueAppSumo(e);\r\n }}\r\n />\r\n
    \r\n {valueAppSumo?.value === \"1\" &&
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode1 ? (\r\n
    \r\n
    {formik.errors.appSumoCode1}
    \r\n
    \r\n ) : null}\r\n
    }\r\n {valueAppSumo?.value === \"2\" && (\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode1 ? (\r\n
    \r\n
    {formik.errors.appSumoCode1}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode2 ? (\r\n
    \r\n
    {formik.errors.appSumoCode2}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n )}\r\n \r\n {/* Tier 3 */}\r\n {valueAppSumo?.value === \"3\" && (\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode1 ? (\r\n
    \r\n
    {formik.errors.appSumoCode1}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode2 ? (\r\n
    \r\n
    {formik.errors.appSumoCode2}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode3 ? (\r\n
    \r\n
    {formik.errors.appSumoCode3}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n )}\r\n {/* Tier 4 */}\r\n {valueAppSumo?.value === \"4\" && (\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode1 ? (\r\n
    \r\n
    {formik.errors.appSumoCode1}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode2 ? (\r\n
    \r\n
    {formik.errors.appSumoCode2}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode3 ? (\r\n
    \r\n
    {formik.errors.appSumoCode3}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode4 ? (\r\n
    \r\n
    {formik.errors.appSumoCode4}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n )}\r\n {/* Tier 5 */}\r\n {valueAppSumo?.value === \"5\" && (\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode1 ? (\r\n
    \r\n
    {formik.errors.appSumoCode1}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode2 ? (\r\n
    \r\n
    {formik.errors.appSumoCode2}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode3 ? (\r\n
    \r\n
    {formik.errors.appSumoCode3}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode4 ? (\r\n
    \r\n
    {formik.errors.appSumoCode4}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {formik.touched.email && formik.errors.appSumoCode5 ? (\r\n
    \r\n
    {formik.errors.appSumoCode5}
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n )}\r\n
    \r\n \r\n \r\n {formik.touched.acceptTerms && formik.errors.acceptTerms ? (\r\n
    \r\n
    \r\n {formik.errors.acceptTerms}\r\n
    \r\n
    \r\n ) : null}\r\n
    \r\n
    \r\n \r\n {t(\"Sign Up\")}\r\n {loading && (\r\n \r\n )}\r\n \r\n props.history.push(\"/auth/login\")}\r\n >\r\n {t(\"Cancel\")}\r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {/*end::Content body*/}\r\n\r\n {/* begin::Mobile footer */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end::Mobile footer */}\r\n
    \r\n {/*end::Content*/}\r\n {/*begin::Aside*/}\r\n \r\n {/*begin: Aside Container*/}\r\n
    \r\n {/* start:: Aside header */}\r\n \r\n \r\n \r\n {/* end:: Aside header */}\r\n\r\n {/* start:: Aside content */}\r\n
    \r\n \r\n
    \r\n {/* end:: Aside content */}\r\n\r\n {/* start:: Aside footer for desktop */}\r\n
    \r\n
    \r\n © {today} SalesProphet\r\n \r\n {t(\"Build Version\")}{\" \"}\r\n false}\r\n target=\"_blank\"\r\n rel=\"noopener noreferrer\"\r\n className=\"font-weight-bolder text-muted\"\r\n >\r\n {process.env.REACT_APP_VERSION}\r\n {\" \"}\r\n / {t(\"Build Date:\")}{\" \"}\r\n {preval`module.exports = new Date().toLocaleDateString(\"en-US\");`}\r\n \r\n
    \r\n
    \r\n {/* end:: Aside footer for desktop */}\r\n
    \r\n {/*end: Aside Container*/}\r\n \r\n {/*begin::Aside*/}\r\n \r\n {/*end::Login*/}\r\n \r\n \r\n \r\n Terms and conditions\r\n \r\n\r\n \r\n
    \r\n \r\n
    \r\n \r\n <>\r\n
    \r\n

    \r\n Welcome to SalesProphet.\r\n

    \r\n

    \r\n These terms and conditions outline the rules and regulations for the use of\r\n SalesProphet's website.\r\n

    \r\n

    \r\n By accessing this website, we assume that you accept these terms and\r\n conditions in full. If you do not accept all of the terms and conditions\r\n stated on this page, please do not continue to use SalesProphet's website.\r\n

    \r\n

    \r\n The following terminology applies to these Terms and Conditions, Privacy\r\n Statement, and Disclaimer Notice, and any or all agreements: \"Client,\"\r\n \"you,\" and \"your\" refer to you, the person accessing this website and\r\n accepting the company's terms and conditions. \"The Company,\" \"ourselves,\"\r\n \"we,\" \"our,\" and \"us\" refer to our company. \"Party,\" \"Parties,\" or \"us\"\r\n refer to both the client and ourselves, or either the client or ourselves.\r\n All terms refer to the offer, acceptance, and consideration of payment\r\n necessary to undertake the process of our assistance to the client in the\r\n most appropriate manner, whether by formal meetings of a fixed duration or\r\n any other means, for the express purpose of meeting the client's needs in\r\n respect of the provision of the company's stated services/products, in\r\n accordance with and subject to the prevailing law of the United States. Any\r\n use of the above terminology or other words in the singular, plural,\r\n capitalization, and/or he/she or they are taken as interchangeable and\r\n therefore as referring to the same.\r\n

    \r\n

    \r\n Cookies:\r\n

    \r\n

    \r\n We employ the use of cookies. By using SalesProphet's website, you consent\r\n to the use of cookies in accordance with SalesProphet's privacy policy.\r\n

    \r\n

    \r\n Most of the modern-day interactive websites use cookies to enable us to\r\n retrieve user details for each visit. Cookies are used in some areas of our\r\n site to enable the functionality of this area and ease of use for those\r\n people visiting. Some of our affiliate/advertising partners may also use\r\n cookies.\r\n

    \r\n

    \r\n License:\r\n

    \r\n

    \r\n Unless otherwise stated, SalesProphet and/or its licensors own the\r\n intellectual property rights for all materials on SalesProphet. All\r\n intellectual property rights are reserved. You may view and/or print pages\r\n from{\" \"}\r\n \r\n https://SalesProphet.io\r\n {\" \"}\r\n for your own personal use subject to restrictions set in these terms and\r\n conditions.\r\n

    \r\n

    You must not:

    \r\n \r\n
    \r\n
    Hyperlinking to our Content
    \r\n

    \r\n The following organizations may link to our website without prior written\r\n approval: government agencies, search engines, news organizations, and\r\n online directory distributors. When listing us in a directory, they may link\r\n to our website in the same way they hyperlink to other listed businesses.\r\n Systemwide accredited businesses are also allowed to link, except for\r\n soliciting non-profit organizations, charity shopping malls, and charity\r\n fundraising groups, which are not allowed to hyperlink to our website. These\r\n organizations may link to our home page, publications, or other website\r\n information, as long as the link:\r\n

    \r\n

         (a) is not in any way misleading.

    \r\n

    \r\n       (b) does not falsely imply sponsorship,\r\n endorsement, or approval of the linking party and its products or services.\r\n

    \r\n

    \r\n       (c) fits within the context of the\r\n linking party's site.\r\n

    \r\n

    \r\n We may consider and approve, at our sole discretion, other link requests\r\n from the following types of organizations: commonly-known consumer and/or\r\n business information sources such as Chambers of Commerce, American\r\n Automobile Association, AARP, and Consumers Union; dot-com community sites;\r\n associations or other groups representing charities, including charity\r\n giving sites; online directory distributors; internet portals; accounting,\r\n law, and consulting firms whose primary clients are businesses; and\r\n educational institutions and trade associations.\r\n

    \r\n

    \r\n We will approve link requests from these organizations if we determine that:\r\n

    \r\n

    \r\n (a) the link would not reflect unfavorably on us or our accredited\r\n businesses (for example, trade associations or other organizations\r\n representing inherently suspect types of business, such as work-at-home\r\n opportunities, shall not be allowed to link).\r\n

    \r\n

    (b) the organization does not have an unsatisfactory record with us.

    \r\n

    \r\n (c) the benefit to us from the visibility associated with the hyperlink\r\n outweighs the absence of SalesProphet.\r\n

    \r\n

    \r\n (d) where the link is in the context of general resource information or is\r\n otherwise consistent with editorial content in a newsletter or similar\r\n product furthering the mission of the organization.\r\n

    \r\n

    \r\n These organizations may link to our home page, publications, or other\r\n website information, as long as the link:\r\n

    \r\n

    (a) is not in any way misleading

    \r\n

    \r\n (b) does not falsely imply sponsorship, endorsement, or approval of the\r\n linking party and its products or services\r\n

    \r\n

    (c) fits within the context of the linking party's site.

    \r\n

    \r\n If you are among the organizations listed in paragraph 2 above and are\r\n interested in linking to our website, you must notify us by sending an email\r\n to{\" \"}\r\n \r\n info@salesprophet.io\r\n \r\n . Please include your name, your organization name, contact information\r\n (such as a phone number and/or email address) as well as the URL of your\r\n site, a list of any URLs from which you intend to link to our website, and a\r\n list of the URL(s) on our site to which you would like to link. Allow 2-3\r\n weeks for a response. Approved organizations may hyperlink to our website as\r\n follows:\r\n

    \r\n

    Approved organizations may hyperlink to our Web site as follows:

    \r\n

    -By use of our corporate name

    \r\n

    -By use of the uniform resource locator (Web address) being linked to

    \r\n

    \r\n -By use of any other description of our website or material being linked to\r\n that makes sense within the context and format of content on the linking\r\n party's site.\r\n

    \r\n

    \r\n No use of SalesProphet's logo or other artwork will be allowed for linking\r\n absent a trademark license agreement.\r\n

    \r\n
    Iframes
    \r\n

    \r\n Without prior approval and express written permission, you may not create\r\n frames around our web pages or use other techniques that alter in any way\r\n the visual presentation or appearance of our website.\r\n

    \r\n
    Reservation of Rights
    \r\n

    \r\n We reserve the right at any time and in our sole discretion to request that\r\n you remove all links or any particular link to our website. You agree to\r\n immediately remove all links to our website upon such request. We also\r\n reserve the right to amend these terms and conditions and its linking policy\r\n at any time. By continuing to link to our website, you agree to be bound by\r\n and abide by these linking terms and conditions.\r\n

    \r\n
    Removal of links from our website
    \r\n

    \r\n If you find any link on our website or any linked website objectionable for\r\n any reason, you may contact us about this. We will consider requests to\r\n remove links but will have no obligation to do so or to respond directly to\r\n you.\r\n

    \r\n

    \r\n Whilst we endeavor to ensure that the information on this website is\r\n correct, we do not warrant its completeness or accuracy; nor do we commit to\r\n ensuring that the website remains available or that the material on the\r\n website is kept up to date.\r\n

    \r\n
    Content Liability
    \r\n

    \r\n We shall have no responsibility or liability for any content appearing on\r\n your website. You agree to indemnify and defend us against all claims\r\n arising out of or based upon your website. No link(s) may appear on any page\r\n on your website or within any context containing content or materials that\r\n may be interpreted as libelous, obscene, or criminal, or which infringes,\r\n otherwise violates, or advocates the infringement or other violation of any\r\n third-party rights.\r\n

    \r\n
    Disclaimer
    \r\n

    \r\n To the maximum extent permitted by applicable law, we exclude all\r\n representations, warranties, and conditions relating to our website and the\r\n use of this website (including, without limitation, any warranties implied\r\n by law in respect of satisfactory quality, fitness for purpose and/or the\r\n use of reasonable care and skill). Nothing in this disclaimer will:\r\n

    \r\n
      \r\n
    • \r\n limit or exclude our or your liability for death or personal injury\r\n resulting from negligence.\r\n
    • \r\n
    • \r\n limit or exclude our or your liability for fraud or fraudulent\r\n misrepresentation.\r\n
    • \r\n
    • \r\n limit any of our or your liabilities in any way that is not permitted\r\n under applicable law.\r\n
    • \r\n
    • \r\n exclude any of our or your liabilities that may not be excluded under\r\n applicable law.\r\n
    • \r\n
    \r\n

    \r\n The limitations and exclusions of liability set out in this section and\r\n elsewhere in this disclaimer: (a) are subject to the preceding paragraph;\r\n and (b) govern all liabilities arising under the disclaimer or in relation\r\n to the subject matter of this disclaimer, including liabilities arising in\r\n contract, in tort (including negligence), and for breach of statutory duty.\r\n

    \r\n

    \r\n To the extent that the website and the information and services on the\r\n website are provided free of charge, we will not be liable for any loss or\r\n damage of any nature.\r\n

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

    Updated: February 28, 2020.

    \r\n

    \r\n Welcome to the SalesProphet service (\"Service\" or \"Services\"). These\r\n SalesProphet Service Terms (these \"Terms\") explain the relationship between\r\n SalesProphet (\"SalesProphet\", \"we\" or \"us\") and you, when you access and use\r\n SalesProphet and its related domains (together, the \"Website\") and/or (ii)\r\n download, install, use and in some cases purchase SalesProphet's proprietary\r\n email software applications (including all related documentation, updates\r\n and upgrades) and any other services offered by SalesProphet Service.\r\n

    \r\n \r\n

    \r\n You may use the Services only in accordance with these Terms and Usage\r\n Policy. We may make changes to these Terms from time to time. When we do, we\r\n will revise the \"last updated\" date given above. It is your responsibility\r\n to review these Terms frequently and to remain informed of any changes to\r\n them. The then-current version of these Terms will supersede all earlier\r\n versions. You agree that your continued use of the Website after such\r\n changes have been published to our Services will constitute your acceptance\r\n of such revised Terms. We may terminate, suspend, or modify the Services, in\r\n general, or with respect to you, from time to time without cause or prior\r\n notice. We may also delete any content or data from the Services at our\r\n discretion.\r\n
    ‍\r\n

    \r\n

    \r\n These terms, together with our privacy policy and usage policy, form an\r\n agreement between you and SalesProphet. By using the SalesProphet Services,\r\n you represent to us that you are legally competent to enter into this\r\n agreement.\r\n

    \r\n \r\n

    \r\n You may use the Services only if you have the legal power and capacity to\r\n form a contract with SalesProphet. If you are using the SalesProphet\r\n Services on behalf of your employer, your acceptance of these terms has\r\n deemed an agreement between your employer and SalesProphet and you represent\r\n and warrant that you have the authority to bind your employer to these\r\n terms. SalesProphet reserves the right to change these terms and conditions\r\n at any time. The date of this agreement’s last update shall be displayed at\r\n the top of this agreement. Continued use of the SalesProphet services is\r\n deemed your conclusive acceptance of any changes to these terms. If you do\r\n not agree to these terms, you are not permitted to use the SalesProphet\r\n Services.\r\n

    \r\n \r\n

    \r\n You may not access the SalesProphet Services if you are our direct\r\n competitor, except with our prior written consent. In addition, you may not\r\n access the SalesProphet Services for purposes of monitoring their\r\n availability, performance or functionality, or for any other benchmarking or\r\n competitive purposes.\r\n

    \r\n \r\n \r\n
    Your Data
    \r\n

    \r\n “Your Data” means any data and content stored or transmitted via the\r\n Services by or on behalf of you or your end-users (which may include data\r\n you elect to import from third-party services you use). This includes\r\n messages you send, files you upload, comments on files, and anything else\r\n you enter or upload into SalesProphet.\r\n

    \r\n \r\n

    \r\n In order to use our SalesProphet Services, you must link a 3rd party email\r\n account to your SalesProphet Services account, and we require that you grant\r\n us certain rights with respect to Your Data. For example, with your\r\n permission (which you are granting by using the Services), the SalesProphet\r\n Service’s software will obtain access to your email account in order for you\r\n to be able to send emails via SalesProphet Service and for the Service to\r\n check for replies on emails you sent. You retain full ownership of Your\r\n Data. We do not claim any ownership to any of it.\r\n

    \r\n \r\n

    \r\n As well, we need to be able to transmit, store, and copy Your Data in order\r\n to display it to you and your teammates, to index it so you are able to\r\n search it, to make backups to prevent data loss, and so on. Your acceptance\r\n of this TOS gives us permission to do so and grants us any such rights\r\n necessary to provide the service to you, only for the purpose of providing\r\n the service (and for no other purpose). This permission includes allowing us\r\n to use third-party service providers (such as Microsoft Azure Services) in\r\n the operation and administration of the service, and the rights granted to\r\n us are extended to these third parties to the degree necessary to provide\r\n the service.\r\n

    \r\n \r\n

    \r\n You are solely responsible for your conduct, the content of Your Data, and\r\n your communications with others while using the Services.{\" \"}\r\n

    \r\n

    \r\n For example, it’s your responsibility to ensure that you have all rights and\r\n permissions needed to comply with these Terms and to avoid infringement or\r\n violation of any rights of others. You will be responsible for your users’\r\n compliance with these Terms and will use commercially reasonable efforts to\r\n prevent unauthorized access to or use of Services and notify us promptly of\r\n any such unauthorized access or use.\r\n

    \r\n \r\n

    \r\n You acknowledge that SalesProphet has no obligation to monitor any\r\n information on the Services, and that we are not responsible for the\r\n accuracy, completeness, appropriateness, safety, or legality of Your Data or\r\n any other information or content you may be able to access using the\r\n Services.\r\n

    \r\n \r\n
    Your SalesProphet Account
    \r\n

    \r\n You are responsible for maintaining the security of your account, and you\r\n are fully responsible for all activities that occur under the account and\r\n any other actions taken in connection with your account. You must\r\n immediately notify SalesProphet of any unauthorized uses of your account or\r\n any other breaches of security. You are not allowed to send spam messages\r\n via SalesProphet Services. SalesProphet will not be liable for any acts or\r\n omissions by you, including any damages of any kind incurred as a result of\r\n such acts or omissions. SalesProphet is passing all liability for any spam\r\n or other lawsuits that could occur as a result of your activity within\r\n SalesProphet Services to you.\r\n

    \r\n \r\n

    \r\n You will use the Services only for your internal business purposes and in\r\n accordance with applicable laws, rules, and regulations. You are responsible\r\n for all of your activities that occur within, through, or as a result of\r\n your use of the Services. You agree that you will not use the Services for\r\n unlawful purposes or to engage in any illegal, offensive, indecent, or\r\n objectionable conduct, including violation of any third-party privacy or\r\n other rights.\r\n

    \r\n \r\n

    You hereby warrant, represent, and agree that:

    \r\n
      \r\n
    1. \r\n The Service may not be used for the sending of unsolicited commercial\r\n email (as such term is defined in the CAN-SPAM Act of 2003 and any rules\r\n adopted under such act – sometimes called “spam”).\r\n
    2. \r\n
    3. \r\n You acknowledge that you are the sole or designated “sender” (as such term\r\n is defined in the CAN-SPAM Act of 2003 (the “Act”) and any rules adopted\r\n under the Act) of any email message sent by you using the Service.\r\n
    4. \r\n
    5. The Service may only be used for lawful purposes.
    6. \r\n
    7. \r\n You agree you will not access or otherwise use third-party mailing lists\r\n or otherwise prepare or distribute mass unsolicited commercial email (as\r\n such term is defined in the CAN-SPAM Act of 2003 and any rules adopted\r\n under such act), in connection with the Service. You will import, access,\r\n or otherwise use only lists for which all listed parties have consented to\r\n receive correspondence from you in connection with your use of the\r\n Service.\r\n
    8. \r\n
    9. \r\n You acknowledge and agree that not all email messages sent through the use\r\n of the Service will be received by their intended recipients.\r\n
    10. \r\n
    11. \r\n The “from” line of any email message sent by you using the Service will\r\n accurately and in a non-deceptive manner identify your organization, your\r\n product, or your service.\r\n
    12. \r\n
    13. \r\n The “subject” line of any email message sent by you using the Service will\r\n not contain any deceptive or misleading content regarding the overall\r\n subject matter of the email message.\r\n
    14. \r\n
    15. \r\n You will include in any email message sent by you using the Products your\r\n valid physical address, if required by law, which may be a valid post\r\n office box meeting the registration requirements established by the United\r\n States Postal Service.\r\n
    16. \r\n
    17. \r\n The Service may not be used for hosting content, including images and\r\n documents, that knowingly infringes on the intellectual property rights of\r\n others, including copyright, trademark, and patent infringement, or that\r\n includes any obscene or libelous material or other material that violates\r\n any applicable law or regulation.\r\n
    18. \r\n
    \r\n \r\n \r\n

    \r\n You are solely responsible for all activities that occur in your account(s)\r\n and for the security of your passwords. Notwithstanding anything to the\r\n contrary herein, SalesProphet has no liability of any kind (whether by\r\n contract, tort, or otherwise) for any unauthorized access to your or your\r\n users’ accounts as a result of your actions or inactions\r\n

    \r\n \r\n
    Sharing Your Data and Your Privacy
    \r\n

    \r\n Subject to the limited exceptions specified in our Privacy Policy, until you\r\n choose otherwise, all of your data remains visible only to you. However, the\r\n Services do allow you to share your data with others. If you choose to share\r\n your data, we cannot be responsible for what those other users do with your\r\n data, so please carefully consider what you share and with whom you share\r\n it.\r\n

    \r\n \r\n

    \r\n We will maintain administrative, physical, and technical safeguards for the\r\n  protection of the security, confidentiality, and integrity of your\r\n data as described in our Privacy Policy. We do not guarantee that your data\r\n will be free from loss, theft, misuse, or unauthorized access, disclosure,\r\n alteration or destruction. You acknowledge that it is your responsibility to\r\n use a secure encrypted connection if you wish to protect your data when you\r\n are transmitting it to us and to keep your own backup copies of your data.\r\n You are solely responsible for protecting your passwords, limiting access to\r\n your computers and devices, and signing out of the SalesProphet Services\r\n when you are not using them.\r\n

    \r\n \r\n
    Disclaimer of Warranties
    \r\n

    \r\n Your use of the services and the service content is at your sole risk. The\r\n services and the service content each are provided on an \"as is\" and \"as\r\n available\" basis. We and our suppliers and licensors expressly disclaim all\r\n warranties of any kind, whether express or implied, including, but not\r\n limited to the implied warranties of merchantability, fitness for a\r\n particular purpose, title, and non-infringement. We do not guarantee the\r\n accuracy, completeness, or usefulness of the services or any service\r\n content, and you rely on the services and service content at your own risk.\r\n Any material that you access or obtain through our services is done at your\r\n own discretion and risk, and you will be solely responsible for any damage\r\n to your computer or loss of data that results from the download of any\r\n material through our services. No advice or information, whether oral or\r\n written, obtained by you from us or through or from our services will create\r\n any warranty not expressly stated in this agreement. Some states may\r\n prohibit a disclaimer of warranties, and you may have other rights that vary\r\n from state to state.\r\n

    \r\n \r\n
    Your Responsibilities
    \r\n

    \r\n Information and content accessible through the Services may be protected by\r\n intellectual property rights of others. Please do not copy, upload,\r\n download, or share any information or content unless you have the right to\r\n do so. You, not SalesProphet, will be fully responsible and liable for what\r\n you copy, share, upload, download, or otherwise use while using the\r\n Services. You must not upload spyware or any other malicious software to the\r\n Service or use the Service to spam others.\r\n

    \r\n \r\n

    \r\n You, and not SalesProphet, are responsible for maintaining and protecting\r\n all of your data. SalesProphet will not be liable for any loss or corruption\r\n of your data, or for any costs, fees, or expenses associated with backing up\r\n or restoring your data.\r\n

    \r\n \r\n

    \r\n If any information related to your account changes, you must notify us\r\n promptly and keep your information current. The Services are not intended\r\n for use by you if you are under 18 years of age. By agreeing to these Terms,\r\n you are representing to us that you are over 18.\r\n

    \r\n \r\n

    \r\n You will not engage in activity that would cause SalesProphet to violate any\r\n of these laws and regulations, and you agree that you will indemnify\r\n SalesProphet for any fines, penalties, or other liabilities incurred by\r\n SalesProphet for your failure to comply with these provisions.\r\n

    \r\n \r\n

    \r\n You shall pay all fees for the SalesProphet Services as specified in the\r\n billing section of the SalesProphet Services or Order Form, if applicable.\r\n Our fees do not include any taxes, levies, duties, or similar governmental\r\n assessments of any nature, including, for example, value-added, sales, use,\r\n or withholding taxes, assessable by any jurisdiction whatsoever. You are\r\n responsible for paying all taxes associated with your purchases. You agree\r\n that your purchases are not contingent on the delivery of any future\r\n functionality or features, nor dependent on any oral or written public\r\n comments made by us regarding future functionality or features.\r\n

    \r\n \r\n
    Copyright Infringement and DMCA Policy
    \r\n

    \r\n If you believe that material located on or linked to by SalesProphet\r\n violates your copyright, you are encouraged to notify SalesProphet in\r\n accordance with the DMCA Policy.\r\n

    \r\n \r\n
    Cancelling Your Account
    \r\n

    \r\n The SalesProphet Service is billed in advance in accordance with our pricing\r\n schedule, and all monthly payments are nonrefundable. All subscriptions,\r\n whether monthly or annual, will auto-renew on the scheduled renewal date\r\n unless a cancellation is requested by the customer before the renewal date.\r\n There will be no refunds or credits for partial months of service,\r\n upgrade/downgrade refunds, or refunds for months unused with an open\r\n account. If you cancel, you will not receive a refund for any service\r\n already paid for.\r\n

    \r\n \r\n

    \r\n You can stop using our Services at any time, and we reserve the right to\r\n suspend or end the Services to you in whole or in part at any time, with or\r\n without cause, and with or without notice, without incurring the liability\r\n of any kind. Without limitation, we may suspend or terminate your use if you\r\n are not complying with these Terms or if you use the Services in any way\r\n that may cause us legal liability or disrupt others' use of the SalesProphet\r\n Services or damage to our business or reputation, or for any other reason.\r\n If we suspend or terminate your use, we will try to let you know in advance\r\n and help you retrieve data, though there may be some cases (for example,\r\n repeatedly or flagrantly violating these Terms, a court order, or danger to\r\n other users) where we may suspend or terminate your account and access to\r\n the SalesProphet Services immediately. You acknowledge that if your access\r\n to the Service is suspended or terminated, you may no longer have access to\r\n Your Data that is stored with the Service. To cancel an account, you should\r\n send a request to our support team via support chat in your customer portal\r\n or via the SalesProphet.io email.\r\n

    \r\n \r\n

    \r\n The SalesProphet Service is billed in advance in accordance with our pricing\r\n schedule, and all monthly payments are nonrefundable. There will be no\r\n refunds or credits for partial months of service, upgrade/downgrade refunds,\r\n or refunds for months unused with an open account. If you cancel, you will\r\n not receive a refund for any service already paid for.\r\n

    \r\n \r\n
    Indemnification
    \r\n

    \r\n You shall indemnify, defend, and hold harmless the SalesProphet parties from\r\n any and all third-party claims and related losses, liability, damages,\r\n and/or costs (including attorneys’ fees and costs) arising from (i) any\r\n Content, (ii) your use of the Services, or (iii) breach by you or your\r\n Content of any Law or this Agreement. We shall indemnify, defend, and hold\r\n you harmless from any and all third-party claims and related losses,\r\n liability, damages, and/or costs (including attorneys’ fees and costs)\r\n arising from an allegation that the SalesProphet Services infringe or\r\n misappropriate any third-party intellectual property right.\r\n

    \r\n \r\n
    Limitation of Liability
    \r\n

    \r\n To the fullest extent permitted by law, in no event will SalesProphet, Alpha\r\n Flexi Sarl, or either of their subsidiaries, affiliates, officers,\r\n employees, agents, suppliers, or licensors be liable for (a) any indirect,\r\n special, incidental, punitive, exemplary, or consequential (including loss\r\n of use, data, business, or profits) damages, regardless of legal theory,\r\n whether or not SalesProphet has been warned of the possibility of such\r\n damages, and even if a remedy fails of its essential purpose; (b) aggregate\r\n liability for all claims relating to the services more than the greater of\r\n $20 or the amounts paid by you to SalesProphet for the past three months of\r\n the services in question.\r\n

    \r\n \r\n
    Miscellaneous
    \r\n

    \r\n This Agreement constitutes the entire agreement between SalesProphet and you\r\n concerning the subject matter hereof, and it may only be modified by a\r\n written amendment signed by an authorized executive of SalesProphet or by\r\n the posting by SalesProphet of a revised version.\r\n

    \r\n \r\n

    \r\n Except to the extent applicable law, if any, provides otherwise, this\r\n Agreement, any access to or use of the Website will be governed by the laws\r\n of the state of British Columbia, Canada, excluding its conflict of law\r\n provisions, and the proper venue for any disputes arising out of or relating\r\n to any of the same will be the state and provincial courts located in\r\n Vancouver, Canada. Except for claims for injunctive or equitable relief or\r\n claims regarding intellectual property rights (which may be brought in any\r\n competent court without the posting of a bond), any dispute arising under\r\n this Agreement shall be finally settled in accordance with the Comprehensive\r\n Arbitration Rules of the Judicial Arbitration and Mediation Service, Inc.\r\n (“JAMS”) by three arbitrators appointed in accordance with such Rules. The\r\n arbitration shall take place in Vancouver, Canada, in the English language,\r\n and the arbitral decision may be enforced in any court. The prevailing party\r\n in any action or proceeding to enforce this Agreement shall be entitled to\r\n costs and attorneys’ fees.\r\n

    \r\n \r\n

    \r\n If any part of this Agreement is held invalid or unenforceable, that part\r\n will be construed to reflect the parties’ original intent, and the remaining\r\n portions will remain in full force and effect. A waiver by either party of\r\n any term or condition of this Agreement or any breach thereof, in any one\r\n instance, will not waive such term or condition or any subsequent breach\r\n thereof.\r\n

    \r\n \r\n

    \r\n You may not assign your rights under this Agreement to any other party\r\n without SalesProphet's express written consent; SalesProphet may assign its\r\n rights under this Agreement without condition. This Agreement will be\r\n binding upon and will inure to the benefit of the parties, their successors\r\n and permitted assigns.\r\n

    \r\n \r\n
    SalesProphet Anti-Spam Requirements
    \r\n

    \r\n As an email service provider, we take spam law seriously, not only for our\r\n sake but for yours as well. Spam negatively impacts deliverability rates,\r\n and we want to make sure your emails reach their intended recipients as\r\n often as possible. We have some very strict rules that must be adhered to in\r\n all countries, but you may find that your country has additional\r\n requirements.\r\n

    \r\n \r\n

    \r\n Below you will find a list (conveniently ordered alphabetically) of\r\n countries with specific anti-spam legislation as well as our overall rules\r\n to help maintain platform integrity.\r\n

    \r\n \r\n
    Requirements for All SalesProphet Campaigns
    \r\n
      \r\n
    1. You must agree to our Terms of Service.
    2. \r\n
    3. \r\n We recommend including an opt-out link into your email templates and\r\n outreach campaigns for audiences you haven't contacted previously.\r\n
    4. \r\n
    5. \r\n You must include your contact information inside every email promotion*\r\n that you send, including a physical mailing address or PO Box where you\r\n can receive mail. (Not a website or email address.)\r\n
    6. \r\n
    \r\n
      \r\n
    • \r\n An email promotion is usually a broadcast with a low ratio of text to\r\n image area offering discounts or other incentives to purchase a product or\r\n service, or to subscribe, register, download, or perform some other action\r\n intended to drive revenue for the vendor.\r\n
    • \r\n
    \r\n
      \r\n
    1. Your contact information and subject line must be 100% accurate.
    2. \r\n
    3. \r\n If you regularly use an integrated service or CRM platform, you need to\r\n abide by their terms of use, in addition to our own.\r\n
    4. \r\n
    5. \r\n It is strongly recommended that your emails comply with the US CAN-SPAM\r\n Act. If you break the rules, you could be liable for hundreds of dollars\r\n for each recipient that you sent non-compliant messages to.\r\n
    6. \r\n
    7. \r\n In addition to CAN-SPAM rules, you must comply with the anti-spam laws of\r\n the countries your recipients live in. So if you're sending to EU\r\n residents and US residents, check the EU spam laws to make sure you're\r\n also EU compliant.\r\n
    8. \r\n
    \r\n \r\n \r\n
    International Requirements By Country
    \r\n

    \r\n Here are links to the Anti-Spam legislation in countries outside of the US:\r\n

    \r\n \r\n
    Australia
    \r\n

    Spam Act 2003, Act No. 129 of 2003 as amended.

    \r\n \r\n
    Austria
    \r\n

    Telecommunications Act 2003.

    \r\n \r\n
    Belgium
    \r\n

    \r\n Commission de la protection de la vie privée, Le spam en Belgique Etat des\r\n lieux en juillet 2003, July 4, 2003.\r\n

    \r\n \r\n
    Canada
    \r\n

    Canada’s Anti-Spam Legislation (CASL).

    \r\n \r\n
    China
    \r\n

    Measures for Administration of E-Mail Service on Internet (2006)

    \r\n

    (Unofficial English Translation).

    \r\n \r\n
    Cyprus
    \r\n

    \r\n Section 06 of the Regulation of Electronic Communications and Postal\r\n Services Law of 2004 (Law 12 (I) / 2004 deals with unsolicited\r\n communications (spam).\r\n

    \r\n \r\n
    Czech Republic
    \r\n

    Act No. 480/2004 Coll., on Certain Information Society Services.

    \r\n \r\n
    Estonia
    \r\n

    Information Society Service Act.

    \r\n \r\n
    EU
    \r\n

    \r\n Article 13 of DIRECTIVE 2002/58/EC OF THE EUROPEAN PARLIAMENT AND OF THE\r\n COUNCIL of 12 July 2002\r\n

    \r\n

    \r\n The EU body that addresses spam is The Contact Network of Spam Enforcement\r\n Authorities (CNSA).\r\n

    \r\n

    \r\n The Directive is implemented by each member state independently so you will\r\n want to check with your particular country law for specific details.\r\n

    \r\n \r\n
    France
    \r\n

    CNIL Guidelines on email marketing.

    \r\n \r\n
    Germany
    \r\n

    \r\n Art. 7 German Unfair Competition Law (Gesetz gegen Unlauteren Wettbewerb)\r\n (UWG)\r\n

    \r\n

    \r\n Art. 202a, 263, 303a, 303b of the German Criminal Code Art. 6 of the German\r\n Law regarding Information Society Services Art. 28 Par. 4 of the German Data\r\n Protection Act.\r\n

    \r\n
    India
    \r\n

    Information Technology Act of 2000.

    \r\n
    Italy
    \r\n

    \r\n Italy’s anti-spam laws are some of the strictest, even to the point of\r\n potential imprisonment for sending spam. If you’re sending to Italian\r\n recipients, follow these guidelines to the letter.\r\n

    \r\n

    Personal Data Protection Code (legislative decree no. 196/2003)

    \r\n

    DL 196/2003 Personal Data Protection Code.

    \r\n
    Netherlands
    \r\n

    \r\n Dutch law requires very explicit permission and heavily protects data and\r\n privacy.\r\n

    \r\n
    New Zealand
    \r\n

    \r\n The Unsolicited Electronic Messages Act 2007. The Department of Internal\r\n Affairs provides detailed guidelines on the anti-spam laws.\r\n

    \r\n
    South Africa
    \r\n

    Regulation of Spam in South Africa – South African Law.

    \r\n
    Sweden
    \r\n

    Swedish Marketing Act (Swedish Code of Statutes, SFS 1995:450).

    \r\n

    \r\n Personal Data Act (Swedish Code of Statutes, SFS 1998:204), in so far as\r\n spam activities involve processing of personal data.\r\n

    \r\n
    UK
    \r\n

    The Privacy and Electronic Communications (EC Directive) Regulations.

    \r\n

    \r\n If you are sending to a country not on this list, please inform our support\r\n and they will look into updating this page.\r\n

    \r\n

    \r\n If any of the preceding requirements is not met we reserve the right to\r\n suspend any campaign or account without warning.\r\n

    \r\n
    \r\n\r\n \r\n \r\n
    \r\n\r\n
    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\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 injectIntl(connect(null, auth.actions)(Registration));\r\n","/* eslint-disable jsx-a11y/anchor-is-valid */\r\nimport React from \"react\";\r\nimport { Switch, Redirect } from \"react-router-dom\";\r\nimport { ContentRoute } from \"../../../../_metronic/layout\";\r\nimport Login from \"./Login\";\r\nimport Registration from \"./Registration\";\r\nimport ForgotPassword from \"./ForgotPassword\";\r\nimport \"../../../../_metronic/_assets/sass/pages/login/classic/login-1.scss\";\r\nimport Activationemail from \"./Activationemail\";\r\nimport ResetPassword from \"./ResetPassword\";\r\nimport TermsAndCondition from \"./Terms\";\r\nimport UnsbscribePage from \"../../../pages/Unsbscribe/Unsbscribe\";\r\n\r\nimport HistoryPage from \"../../../pages/History/History\";\r\nimport WebFormSlugPage from \"../../../pages/WebForm/WebFormSlug\";\r\nimport WebFormThankYouPage from \"../../../pages/WebForm/WebFormThankYouPage\";\r\nimport RegistrationAppSumo from \"./RegistrationAppSumo\";\r\n\r\nexport function AuthPage() {\r\n\r\n return (\r\n <>\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n\r\n \r\n );\r\n}\r\n","import React, {Component} from \"react\";\r\nimport {connect} from \"react-redux\";\r\nimport {Redirect} from \"react-router-dom\";\r\nimport {LayoutSplashScreen} from \"../../../../_metronic/layout\";\r\nimport * as auth from \"../_redux/authRedux\";\r\n\r\nclass Logout extends Component {\r\n componentDidMount() {\r\n this.props.logout();\r\n }\r\n\r\n render() {\r\n const { hasAuthToken } = this.props;\r\n return hasAuthToken ? : ;\r\n }\r\n}\r\n\r\nexport default connect(\r\n ({ auth }) => ({ hasAuthToken: Boolean(auth.authToken) }),\r\n auth.actions\r\n)(Logout);\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useEffect, useState } from \"react\";\r\nimport { Accordion, Button, Col, Form, Modal, Row } from \"react-bootstrap\";\r\nimport \"react-phone-input-2/lib/style.css\";\r\n/* import { Filter } from \"./Filter\"; */\r\nimport { useFormik } from \"formik\";\r\nimport PerfectScrollbar from \"react-perfect-scrollbar\";\r\nimport Select from \"react-select\";\r\nimport Swal from \"sweetalert2\";\r\nimport {\r\n apiCall,\r\n ConvertToDateCurrentTimeZoneSending,\r\n ConvertToDateCurrentTimeZoneV2,\r\n ConvertToTimeZoneSendingPost,\r\n ModelStateMessage,\r\n RequiredHtml,\r\n setValueField,\r\n ToggleTrackingOnOff,\r\n} from \"../../helpers/globals\";\r\n/* import ContactCustomField, { GetApiChange } from \"../ContactCustomField\"; */\r\nimport CKEditor from \"ckeditor4-react\";\r\nimport moment from \"moment\";\r\nimport * as Yup from \"yup\";\r\nimport ReactSelect from \"react-select\";\r\nimport { Preview } from \"../Templates/preview\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport \"react-datepicker/dist/react-datepicker.css\";\r\nconst perfectScrollbarOptions = {\r\n wheelSpeed: 2,\r\n wheelPropagation: false,\r\n};\r\n\r\nconst Schema = Yup.object().shape({\r\n firstName: Yup.string().required(\"* First name is required\"),\r\n lastName: Yup.string().required(\"* Last name is required\"),\r\n});\r\n\r\nconst SchemaEmail = Yup.object().shape({});\r\n\r\nexport function ABMPage({\r\n id = \"\",\r\n idsTable,\r\n rows,\r\n setIdsTable,\r\n setLoaderTable,\r\n ContactSelectedSendEmail,\r\n isAbmAuthorized,\r\n ...props\r\n}) {\r\n const BASE_URL = process.env.REACT_APP_BASE_URL;\r\n const token = JSON.parse(localStorage.getItem(\"user\")).token;\r\n const [show, setShow] = useState(false);\r\n const handleClose = () => setShow(false);\r\n\r\n /* const [rows, setRows] = useState(rowsRef.current); */\r\n const [technologies, setTechnologies] = useState([]);\r\n const [dateSent, setDateSent] = useState(new Date());\r\n const [error, setError] = useState(false);\r\n const [isLoading, setIsLoading] = useState(false);\r\n const [showEmails, setshowEmails] = useState(false);\r\n const [ShowPreview, setShowPreview] = useState(false);\r\n const [contactList, setcontactList] = useState([]);\r\n const [CCvalue, setCCvalue] = useState([]);\r\n const [BCCvalue, setBCCvalue] = useState([]);\r\n\r\n useEffect(() => {\r\n setVariables([]);\r\n var objList = [];\r\n var indexes = 1;\r\n contactList.map((a, i) => {\r\n if (idsTable.includes(a.value)) {\r\n objList.push({\r\n name: `{{Influencer${indexes}}}`,\r\n value: String(a.label.split(\"-\")[0]).trim() || a.label,\r\n });\r\n indexes++;\r\n }\r\n return objList;\r\n });\r\n setTimeout(() => {\r\n setVariables([...initvariables, ...objList]);\r\n }, 50);\r\n }, [idsTable]);\r\n\r\n const [emails, setEmails] = useState([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n\r\n const [phoneNumbers, setPhoneNumbers] = useState([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n const [socials, setSocials] = useState([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n\r\n useEffect(() => {\r\n var a = [];\r\n\r\n if (!!rows === true && rows.length > 0) {\r\n rows.forEach((x) => {\r\n a.push({\r\n value: x?.id,\r\n label: x?.firstName + \" \" + x?.lastName + \" - \" + x?.jobTitle,\r\n });\r\n });\r\n }\r\n setcontactList(a);\r\n }, [rows]);\r\n\r\n function GetContactTo() {\r\n return !!props?.selectedContactEmail\r\n ? props?.selectedContactEmail\r\n : contactList\r\n .filter((x) => x.value === ContactSelectedSendEmail)\r\n .map((x) => x.label)\r\n .join(\" , \");\r\n }\r\n\r\n useEffect(() => {\r\n setCCvalue([]);\r\n setBCCvalue([]);\r\n setSubject(\"\");\r\n setBody(\"\");\r\n setBasicsData();\r\n formikEmail.resetForm();\r\n\r\n if (!!ContactSelectedSendEmail) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetVariables?contactId=${ContactSelectedSendEmail}`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setVariables(data[1][\"variables\"]);\r\n setinitVariables(data[1][\"variables\"]);\r\n }\r\n });\r\n }\r\n }, [ContactSelectedSendEmail]);\r\n\r\n const [companyId, setCompanyId] = useState([]);\r\n const [datahtml, setdatahtml] = useState({ subject: \"\", body: \"\" });\r\n const [Subject, setSubject] = useState(\"\");\r\n const [provider, setprovider] = useState({});\r\n const [trackValues, setTrackValues] = useState({\r\n trackOpen: true,\r\n trackClick: true,\r\n });\r\n const [initialValues, setInitialValues] = useState({\r\n firstName: \"\",\r\n lastName: \"\",\r\n jobTitle: \"\",\r\n companyId: null,\r\n source: \"\",\r\n emailDomain: \"\",\r\n industry: \"\",\r\n jobLevel: \"\",\r\n sicCode: \"\",\r\n naicsCode: \"\",\r\n seoDescription: \"\",\r\n annualRevenue: \"\",\r\n isAb: true,\r\n Fields: [],\r\n });\r\n\r\n const [filter, setFilter] = useState({\r\n pageNumber: 1,\r\n pageSize: 10,\r\n sortField: \"Id\",\r\n sortOrder: \"desc\",\r\n search: \"\",\r\n });\r\n\r\n const [viewModel, setViewModel] = useState([]);\r\n const [variables, setVariables] = useState([]);\r\n const [initvariables, setinitVariables] = useState([]);\r\n const [body, setBody] = useState(\"\");\r\n const [SinatureList, setSinatureList] = useState([]);\r\n const [BasicsData, setBasicsData] = useState(null);\r\n\r\n const handleGettContact = async (filterParams) => {\r\n /* return await apiCall({\r\n method: \"GET\",\r\n link: `/api/Contacts?CompanyId=${id}&pageNumber=${filterParams.pageNumber}&pageSize=${filterParams.pageSize}&search=${filterParams.search}&sortField=${filterParams.sortField}&sortOrder=${filterParams.sortOrder}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setRows(data[1]?.contacts);\r\n setTotalRows(data[1]?.pagination?.totalItemCount);\r\n }\r\n\r\n return data;\r\n }); */\r\n };\r\n\r\n useEffect(() => {\r\n getSignatureTemplate();\r\n }, []);\r\n function getSignatureTemplate() {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/Signature`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setSinatureList(data[1]?.signature || []);\r\n }\r\n return data;\r\n });\r\n }\r\n\r\n const handlePutContact = (values) => {\r\n setIsLoading(true);\r\n apiCall({\r\n method: \"PUT\",\r\n link: `/api/Contacts/${companyId}`,\r\n data: values,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setIsLoading(false);\r\n handleClose();\r\n setCompanyId(null);\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"Company updated Successfully\",\r\n icon: \"success\",\r\n confirmButtonText: \"Ok\",\r\n }).then((result) => {\r\n if (result.isConfirmed) {\r\n handleGettContact(filter);\r\n }\r\n });\r\n } else if (data[0] === 400 && data[1].message) {\r\n setIsLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n setIsLoading(false);\r\n let tt = JSON.parse(data[1]);\r\n for (const [key, value] of Object.entries(tt.errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n } else if (data[0] === 500) {\r\n setIsLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Something went wrong\",\r\n });\r\n }\r\n });\r\n };\r\n\r\n const handlePostContact = (values) => {\r\n setIsLoading(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Contacts`,\r\n data: values,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setIsLoading(false);\r\n handleClose();\r\n handleGettContact(filter);\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text: \"Contact Created Successfully\",\r\n });\r\n } else if (data[0] === 400 && data[1].message) {\r\n setIsLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n setIsLoading(false);\r\n let tt = JSON.parse(data[1]);\r\n for (const [key, value] of Object.entries(tt.errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n } else if (data[0] === 500) {\r\n setIsLoading(false);\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"Something went wrong\",\r\n });\r\n }\r\n });\r\n };\r\n\r\n useEffect(() => {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Companies/GetViewModel`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setViewModel(data[1]);\r\n }\r\n });\r\n\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/GetVariables?contactId=`,\r\n }).then((data) => {\r\n if (data?.length > 0 && data[0] === 200) {\r\n setVariables(data[1][\"variables\"]);\r\n setinitVariables(data[1][\"variables\"]);\r\n }\r\n });\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (!show) {\r\n setCompanyId(null);\r\n setInitialValues({\r\n firstName: \"\",\r\n lastName: \"\",\r\n jobTitle: \"\",\r\n companyId: null,\r\n source: \"\",\r\n emailDomain: \"\",\r\n industry: \"\",\r\n jobLevel: \"\",\r\n sicCode: \"\",\r\n naicsCode: \"\",\r\n seoDescription: \"\",\r\n annualRevenue: \"\",\r\n isAb: true,\r\n });\r\n setEmails([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n setPhoneNumbers([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n setSocials([\r\n {\r\n isMain: true,\r\n value: \"\",\r\n type: \"\",\r\n state: \"\",\r\n },\r\n ]);\r\n formik.resetForm();\r\n }\r\n }, [show]);\r\n\r\n useEffect(() => {\r\n setCCvalue([]);\r\n setBCCvalue([]);\r\n setSubject(\"\");\r\n setBody(\"\");\r\n setBasicsData();\r\n formikEmail.resetForm();\r\n }, [showEmails]);\r\n\r\n const formik = useFormik({\r\n initialValues,\r\n enableReinitialize: true,\r\n validationSchema: Schema,\r\n onSubmit: (values) => {\r\n values.emails = emails;\r\n values.phoneNumbers = phoneNumbers;\r\n values.socials = socials;\r\n values.technologies = technologies;\r\n\r\n // values.emails = values.emails.filter((item) => item.value !== \"\");\r\n values.phoneNumbers = values.phoneNumbers.filter(\r\n (item) => item.value !== \"\"\r\n );\r\n values.socials = values.socials.filter((item) => item.value !== \"\");\r\n\r\n // loop through email and if item.value is empty setErrors for that item\r\n values.emails.forEach((item, index) => {\r\n if (item.value === \"\" || item.type === \"\") {\r\n formik.setFieldError(\r\n `emails[${index}].value`,\r\n \"* Please fill these fields\"\r\n );\r\n setError(true);\r\n } else {\r\n setError(false);\r\n }\r\n });\r\n\r\n if (companyId) {\r\n handlePutContact(values);\r\n } else {\r\n handlePostContact(values);\r\n }\r\n },\r\n });\r\n\r\n const emailObj = {\r\n templateId: [],\r\n provider: 0,\r\n toId: [],\r\n ccId: [],\r\n bccId: [],\r\n subject: \"\",\r\n body: \"\",\r\n EmailSignature: null,\r\n trackOpen: true,\r\n trackClick: true,\r\n };\r\n\r\n const formikEmail = useFormik({\r\n initialValues: emailObj,\r\n enableReinitialize: true,\r\n validationSchema: SchemaEmail,\r\n onSubmit: (values) => {\r\n if (ContactSelectedSendEmail === null) {\r\n Swal.fire(\"Oops?\", \"Please select to\", \"error\");\r\n return false;\r\n }\r\n if (values.body === \"\") {\r\n Swal.fire(\"Oops?\", \"Body is required\", \"error\");\r\n return false;\r\n }\r\n if (values.subject === \"\") {\r\n Swal.fire(\"Oops?\", \"Subject is required\", \"error\");\r\n return false;\r\n }\r\n if (values.provider === 0) {\r\n Swal.fire(\"Oops?\", \"Please select from\", \"error\");\r\n return false;\r\n }\r\n values.date = ConvertToTimeZoneSendingPost(dateSent);\r\n values.ccId = idsTable;\r\n values.subject = Subject;\r\n values.toId = [ContactSelectedSendEmail];\r\n values.signature = BasicsData?.signature;\r\n //track values\r\n values.trackClick = trackValues?.trackClick;\r\n values.trackOpen = trackValues?.trackOpen;\r\n\r\n setIsLoading(true);\r\n apiCall({\r\n method: \"POST\",\r\n link: `/api/Companies/Email`,\r\n data: values,\r\n }).then((data) => {\r\n setIsLoading(false);\r\n if (data[0] === 200) {\r\n Swal.fire({\r\n icon: \"success\",\r\n title: \"Success\",\r\n text: \"Email Sent Successfully\",\r\n });\r\n if (!!props?.onHide) {\r\n props.onHide();\r\n } else {\r\n document.getElementById(\"ClicktoremoveSelection\").click();\r\n setLoaderTable(true);\r\n setIdsTable([]);\r\n\r\n setTimeout(() => {\r\n setLoaderTable(false);\r\n }, 500);\r\n }\r\n setshowEmails(false);\r\n } else ModelStateMessage(data);\r\n });\r\n },\r\n });\r\n return (\r\n <>\r\n \r\n {/*begin::Header*/}\r\n
    \r\n
    \r\n
    \r\n {!!props?.selectedContactEmail\r\n ? \"Send Email\"\r\n : \"Account Based Email\"}\r\n
    \r\n
    \r\n
    \r\n {\r\n if (!!props.onHide) {\r\n props.onHide();\r\n } else {\r\n document.getElementById(\"ClicktoremoveSelection\").click();\r\n setLoaderTable(true);\r\n setIdsTable([]);\r\n\r\n setTimeout(() => {\r\n setLoaderTable(false);\r\n }, 500);\r\n }\r\n }}\r\n >\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n From \r\n \r\n {\r\n const label =\r\n a?.businessId === null\r\n ? `${a?.name} (Costs $0.005 per send)`\r\n : a?.name;\r\n\r\n const displayLabel = a?.isExpired\r\n ? `${label} - Expired`\r\n : label;\r\n\r\n return {\r\n value: a?.id,\r\n label: displayLabel,\r\n isDisabled: a?.isExpired,\r\n };\r\n })}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"provider\"\r\n value={\r\n formikEmail?.values?.provider &&\r\n (viewModel?.providers ?? []).find(\r\n (obj) =>\r\n obj.value === formikEmail?.values?.provider\r\n )\r\n }\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"provider\", e.value);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Providers/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setprovider(data[1].provider);\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n\r\n \r\n \r\n \r\n To\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n CC\r\n \r\n \r\n formikEmail.values.ccId.includes(a.value)\r\n )\r\n : contactList.filter((a) =>\r\n idsTable.includes(a.value)\r\n )\r\n }\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"ccId\"\r\n onChange={(e) => {\r\n setCCvalue(e ?? []);\r\n let result = (e ?? []).map((a) => a.value);\r\n formikEmail.setFieldValue(\"ccId\", result);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n BCC\r\n \r\n {\r\n setBCCvalue(e ?? []);\r\n let result = (e ?? []).map((a) => a.value);\r\n formikEmail.setFieldValue(\"bccId\", result);\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n Subject\r\n \r\n {\r\n setSubject(e.target.value);\r\n formikEmail.setFieldValue(\r\n \"subject\",\r\n e.target.value\r\n );\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n \r\n Template\r\n \r\n {\r\n return {\r\n value: x?.id,\r\n label: x?.name,\r\n };\r\n })}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n name=\"templateId\"\r\n value={(viewModel?.templates ?? []).find(\r\n (obj) =>\r\n obj.value === formikEmail?.values?.templateId[0]\r\n )}\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"templateId\", [e.value]);\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Templates/${e.value}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n var obj = { ...datahtml };\r\n obj.subject = data[1].subject;\r\n setSubject(\r\n !!data[1].subject ? data[1].subject : Subject\r\n );\r\n setBody(data[1].body);\r\n setdatahtml(obj);\r\n\r\n formikEmail.setFieldValue(\r\n \"subject\",\r\n data[1].subject\r\n );\r\n formikEmail.setFieldValue(\"body\", data[1].body);\r\n }\r\n });\r\n }}\r\n />\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n \r\n Sent Date\r\n \r\n {\r\n console.log(\r\n \"🚀 ~ file: ABMPage.js:726 ~ date:\",\r\n date\r\n );\r\n setDateSent(date);\r\n }}\r\n showTimeSelect\r\n className=\"form-control\"\r\n timeFormat=\"h:mm aa\"\r\n dateFormat=\"MM/dd/yyyy h:mm aa\"\r\n />\r\n \r\n
    \r\n
    \r\n \r\n \r\n \r\n {variables?.length > 0 && (\r\n {\r\n setBody(event?.editor?.getData());\r\n formikEmail.setFieldValue(\r\n \"body\",\r\n event?.editor?.getData()\r\n );\r\n }}\r\n config={{\r\n versionCheck: false,\r\n extraPlugins: \"uploadimage,autolink\",\r\n filebrowserUploadUrl: `${BASE_URL}/api/Generic/uploadCK?isckEditor=true`,\r\n fileTools_requestHeaders: {\r\n \"X-Requested-With\": \"XMLHttpRequest\",\r\n Authorization: `Bearer ${token}`,\r\n },\r\n }}\r\n onPluginsLoaded={(args) => {\r\n const editor = args.editor;\r\n editor.ui.addRichCombo(\"my-combo\", {\r\n label: \"Add variables\",\r\n title: \"Add variables\",\r\n toolbar: \"basicstyles,0\",\r\n className: \"CkeATClass\",\r\n panel: {\r\n // css: [ CKEDITOR.skin.getPath( 'editor' ) ].concat( config.contentsCss ),\r\n css: [\r\n \"https://cdn.ckeditor.com/4.16.2/standard-all/skins/moono-lisa/editor.css?t=L7C8\",\r\n \"https://cdn.ckeditor.com/4.4.0/standard/contents.css?t=E3OD\",\r\n \"./styles.css\",\r\n ],\r\n multiSelect: false,\r\n attributes: { \"aria-label\": \"Merge Codes\" },\r\n },\r\n init: function() {\r\n variables.forEach((x) => {\r\n this.add(x?.name, x?.name);\r\n });\r\n },\r\n onClick: function(value) {\r\n editor.focus();\r\n editor.fire(\"saveSnapshot\");\r\n editor.insertHtml(value);\r\n editor.fire(\"saveSnapshot\");\r\n },\r\n });\r\n }}\r\n />\r\n )}\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n
    \r\n {\r\n return { label: a.name, value: a.id };\r\n })}\r\n classNamePrefix=\"react-select\"\r\n size=\"sm\"\r\n placeholder=\"Select signature template\"\r\n name=\"country\"\r\n value={formikEmail?.values?.EmailSignature}\r\n onChange={(e) => {\r\n formikEmail.setFieldValue(\"EmailSignature\", e);\r\n var obj = { ...BasicsData };\r\n obj.signature = SinatureList?.find(\r\n (a) => a.id === e?.value\r\n )?.body;\r\n setBasicsData(obj);\r\n }}\r\n />\r\n
    \r\n
    \r\n {\r\n var obj = { ...BasicsData };\r\n obj.signature = event?.editor?.getData();\r\n setBasicsData(obj);\r\n }}\r\n config={{\r\n versionCheck: false,\r\n height: 120,\r\n extraPlugins: \"uploadimage,autolink\",\r\n filebrowserUploadUrl: `${BASE_URL}/api/Generic/uploadCK?isckEditor=true`,\r\n fileTools_requestHeaders: {\r\n \"X-Requested-With\": \"XMLHttpRequest\",\r\n Authorization: `Bearer ${token}`,\r\n },\r\n }}\r\n />\r\n
    \r\n \r\n
    \r\n \r\n \r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackOpen\"\r\n )\r\n }\r\n label=\"Track open\"\r\n name=\"trackOpen\"\r\n />\r\n \r\n \r\n \r\n setValueField(\r\n trackValues,\r\n setTrackValues,\r\n e,\r\n \"trackClick\"\r\n )\r\n }\r\n label=\"Track click\"\r\n name=\"trackClick\"\r\n />\r\n \r\n \r\n \r\n \r\n
    \r\n \r\n
    \r\n \r\n
    \r\n {/* Date */}\r\n {\r\n setShowPreview((x) => !x);\r\n }}\r\n >\r\n {\" \"}\r\n Preview\r\n \r\n {\r\n if (!isAbmAuthorized) {\r\n Swal.fire({\r\n title: \"Error\",\r\n text: `You need a Growth plan to use this feature`,\r\n icon: \"error\",\r\n });\r\n } else {\r\n formikEmail.setFieldValue(\"separately\", false);\r\n formikEmail.handleSubmit();\r\n }\r\n }}\r\n disabled={isLoading}\r\n >\r\n Send\r\n \r\n
    \r\n
    \r\n {/*end::Content*/}\r\n \r\n {ShowPreview && (\r\n \r\n )}\r\n setshowEmails(false)} size=\"lg\">\r\n \r\n Bulk Email\r\n \r\n {/* */}\r\n \r\n \r\n\r\n {\r\n setShowPreview((x) => !x);\r\n }}\r\n >\r\n {\" \"}\r\n Preview\r\n \r\n {idsTable.length > 1 && (\r\n {\r\n formikEmail.setFieldValue(\"separately\", true);\r\n formikEmail.handleSubmit();\r\n }}\r\n disabled={isLoading}\r\n >\r\n Send Separately\r\n \r\n )}\r\n {\r\n formikEmail.setFieldValue(\"separately\", false);\r\n formikEmail.handleSubmit();\r\n }}\r\n disabled={isLoading}\r\n >\r\n Send\r\n \r\n \r\n \r\n \r\n );\r\n}\r\n\r\nfunction formaterFunction(parameters, variables) {\r\n var tt = parameters;\r\n if (variables.length > 0) {\r\n variables.forEach((element) => {\r\n tt = tt?.split(element.name).join(element.value);\r\n });\r\n }\r\n return tt;\r\n}\r\n","/* eslint-disable react-hooks/exhaustive-deps */\r\nimport React, { useMemo } from \"react\";\r\nimport { useEffect } from \"react\";\r\nimport { Col, Row } from \"react-bootstrap\";\r\nimport {\r\n Card,\r\n CardBody,\r\n CardHeader,\r\n CardHeaderToolbar,\r\n} from \"../../../_metronic/_partials/controls\";\r\nimport { DynamicModal } from \"../../helpers/globals\";\r\n\r\nexport function Preview(props) {\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n function formaterFunction(parameters) {\r\n try {\r\n var tt = parameters;\r\n if (!!parameters) {\r\n (!!props.variables.variables\r\n ? props.variables.variables\r\n : props.variables\r\n ).forEach((element) => {\r\n tt = tt.replace(element.name, element.value);\r\n });\r\n }\r\n return tt;\r\n } catch (err) {}\r\n }\r\n\r\n let currentContent = useMemo(() => {\r\n return (\r\n \r\n \r\n {\" \"}\r\n \r\n
    \r\n false}\r\n onClick={() => props.setShow(false)}\r\n className=\"float-right\"\r\n >\r\n \r\n \r\n
    \r\n
    \r\n
    \r\n \r\n \r\n \r\n {/*begin::Page Title*/}\r\n \r\n Subject\r\n \r\n \r\n {formaterFunction(props?.currentRow?.subject)}\r\n \r\n \r\n \r\n \r\n \r\n \r\n Body\r\n \r\n
    \r\n {props?.currentRow?.type === \"LinkedIn\" ? (\r\n
    \r\n                    {formaterFunction(props?.currentRow?.body)}\r\n                  
    \r\n ) : (\r\n \r\n )}\r\n {props?.currentRow?.signature?.length > 0 && (\r\n \r\n )}\r\n
    \r\n \r\n
    \r\n
    \r\n
    \r\n );\r\n }, [props]);\r\n return (\r\n <>\r\n \r\n \r\n );\r\n}\r\n","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./util\";\r\n\r\n// Component Definition\r\nvar KTMenu = function(elementId, options) {\r\n // Main object\r\n var the = this;\r\n var init = false;\r\n\r\n // Get element object\r\n var element = KTUtil.getById(elementId);\r\n var body = KTUtil.getBody();\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Default options\r\n var defaultOptions = {\r\n // scrollable area with Perfect Scroll\r\n scroll: {\r\n rememberPosition: false\r\n },\r\n\r\n // accordion submenu mode\r\n accordion: {\r\n slideSpeed: 200, // accordion toggle slide speed in milliseconds\r\n autoScroll: false, // enable auto scrolling(focus) to the clicked menu item\r\n autoScrollSpeed: 1200,\r\n expandAll: true // allow having multiple expanded accordions in the menu\r\n },\r\n\r\n // dropdown submenu mode\r\n dropdown: {\r\n timeout: 500 // timeout in milliseconds to show and hide the hoverable submenu dropdown\r\n }\r\n };\r\n\r\n ////////////////////////////\r\n // ** Private Methods ** //\r\n ////////////////////////////\r\n\r\n var Plugin = {\r\n /**\r\n * Run plugin\r\n * @returns {KTMenu}\r\n */\r\n construct: function(options) {\r\n if (KTUtil.data(element).has('menu')) {\r\n the = KTUtil.data(element).get('menu');\r\n } else {\r\n // reset menu\r\n Plugin.init(options);\r\n\r\n // reset menu\r\n Plugin.reset();\r\n\r\n // build menu\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('menu', the);\r\n }\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Handles submenu click toggle\r\n * @returns {KTMenu}\r\n */\r\n init: function(options) {\r\n the.events = [];\r\n\r\n the.eventHandlers = {};\r\n\r\n // merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n\r\n // pause menu\r\n the.pauseDropdownHoverTime = 0;\r\n\r\n the.uid = KTUtil.getUniqueID();\r\n },\r\n\r\n update: function(options) {\r\n // merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n\r\n // pause menu\r\n the.pauseDropdownHoverTime = 0;\r\n\r\n // reset menu\r\n Plugin.reset();\r\n\r\n the.eventHandlers = {};\r\n\r\n // build menu\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('menu', the);\r\n },\r\n\r\n reload: function() {\r\n // reset menu\r\n Plugin.reset();\r\n\r\n // build menu\r\n Plugin.build();\r\n\r\n // reset submenu props\r\n Plugin.resetSubmenuProps();\r\n },\r\n\r\n /**\r\n * Reset menu\r\n * @returns {KTMenu}\r\n */\r\n build: function() {\r\n // General accordion submenu toggle\r\n the.eventHandlers['event_1'] = KTUtil.on( element, '.menu-toggle', 'click', Plugin.handleSubmenuAccordion);\r\n\r\n // Dropdown mode(hoverable)\r\n if (Plugin.getSubmenuMode() === 'dropdown' || Plugin.isConditionalSubmenuDropdown()) {\r\n // dropdown submenu - hover toggle\r\n the.eventHandlers['event_2'] = KTUtil.on( element, '[data-menu-toggle=\"hover\"]', 'mouseover', Plugin.handleSubmenuDrodownHoverEnter);\r\n the.eventHandlers['event_3'] = KTUtil.on( element, '[data-menu-toggle=\"hover\"]', 'mouseout', Plugin.handleSubmenuDrodownHoverExit);\r\n\r\n // dropdown submenu - click toggle\r\n the.eventHandlers['event_4'] = KTUtil.on( element, '[data-menu-toggle=\"click\"] > .menu-toggle, [data-menu-toggle=\"click\"] > .menu-link .menu-toggle', 'click', Plugin.handleSubmenuDropdownClick);\r\n the.eventHandlers['event_5'] = KTUtil.on( element, '[data-menu-toggle=\"tab\"] > .menu-toggle, [data-menu-toggle=\"tab\"] > .menu-link .menu-toggle', 'click', Plugin.handleSubmenuDropdownTabClick);\r\n }\r\n\r\n // Handle general link click\r\n the.eventHandlers['event_6'] = KTUtil.on(element, '.menu-item > .menu-link:not(.menu-toggle):not(.menu-link-toggle-skip)', 'click', Plugin.handleLinkClick);\r\n\r\n // Init scrollable menu\r\n if (the.options.scroll && the.options.scroll.height) {\r\n Plugin.scrollInit();\r\n }\r\n },\r\n\r\n /**\r\n * Reset menu\r\n * @returns {KTMenu}\r\n */\r\n reset: function() {\r\n KTUtil.off( element, 'click', the.eventHandlers['event_1']);\r\n\r\n // dropdown submenu - hover toggle\r\n KTUtil.off( element, 'mouseover', the.eventHandlers['event_2']);\r\n KTUtil.off( element, 'mouseout', the.eventHandlers['event_3']);\r\n\r\n // dropdown submenu - click toggle\r\n KTUtil.off( element, 'click', the.eventHandlers['event_4']);\r\n KTUtil.off( element, 'click', the.eventHandlers['event_5']);\r\n\r\n // handle link click\r\n KTUtil.off(element, 'click', the.eventHandlers['event_6']);\r\n },\r\n\r\n /**\r\n * Init scroll menu\r\n *\r\n */\r\n scrollInit: function() {\r\n if ( the.options.scroll && the.options.scroll.height ) {\r\n KTUtil.scrollDestroy(element, true);\r\n KTUtil.scrollInit(element, {mobileNativeScroll: true, windowScroll: false, resetHeightOnDestroy: true, handleWindowResize: true, height: the.options.scroll.height, rememberPosition: the.options.scroll.rememberPosition});\r\n } else {\r\n KTUtil.scrollDestroy(element, true);\r\n }\r\n },\r\n\r\n /**\r\n * Update scroll menu\r\n */\r\n scrollUpdate: function() {\r\n if ( the.options.scroll && the.options.scroll.height ) {\r\n KTUtil.scrollUpdate(element);\r\n }\r\n },\r\n\r\n /**\r\n * Scroll top\r\n */\r\n scrollTop: function() {\r\n if ( the.options.scroll && the.options.scroll.height ) {\r\n KTUtil.scrollTop(element);\r\n }\r\n },\r\n\r\n /**\r\n * Get submenu mode for current breakpoint and menu state\r\n * @returns {KTMenu}\r\n */\r\n getSubmenuMode: function(el) {\r\n if ( KTUtil.isBreakpointUp('lg') ) {\r\n if (el && KTUtil.hasAttr(el, 'data-menu-toggle') && KTUtil.attr(el, 'data-menu-toggle') == 'hover') {\r\n return 'dropdown';\r\n }\r\n\r\n if ( KTUtil.isset(the.options.submenu, 'desktop.state.body') ) {\r\n if ( KTUtil.hasClasses(body, the.options.submenu.desktop.state.body) ) {\r\n return the.options.submenu.desktop.state.mode;\r\n } else {\r\n return the.options.submenu.desktop.default;\r\n }\r\n } else if ( KTUtil.isset(the.options.submenu, 'desktop') ) {\r\n return the.options.submenu.desktop;\r\n }\r\n } else if ( KTUtil.isBreakpointUp('md') && KTUtil.isBreakpointDown('lg') && KTUtil.isset(the.options.submenu, 'tablet') ) {\r\n return the.options.submenu.tablet;\r\n } else if ( KTUtil.isBreakpointDown('md') && KTUtil.isset(the.options.submenu, 'mobile') ) {\r\n return the.options.submenu.mobile;\r\n } else {\r\n return false;\r\n }\r\n },\r\n\r\n /**\r\n * Get submenu mode for current breakpoint and menu state\r\n * @returns {KTMenu}\r\n */\r\n isConditionalSubmenuDropdown: function() {\r\n if ( KTUtil.isBreakpointUp('lg') && KTUtil.isset(the.options.submenu, 'desktop.state.body') ) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n },\r\n\r\n\r\n /**\r\n * Reset submenu attributes\r\n * @returns {KTMenu}\r\n */\r\n resetSubmenuProps: function(e) {\r\n var submenus = KTUtil.findAll(element, '.menu-submenu');\r\n if ( submenus ) {\r\n for (var i = 0, len = submenus.length; i < len; i++) {\r\n var submenu = submenus[0];\r\n\r\n KTUtil.css(submenu, 'display', '');\r\n KTUtil.css(submenu, 'overflow', '');\r\n\r\n if (submenu.hasAttribute('data-hor-direction')) {\r\n KTUtil.removeClass(submenu, 'menu-submenu-left');\r\n KTUtil.removeClass(submenu, 'menu-submenu-right');\r\n KTUtil.addClass(submenu, submenu.getAttribute('data-hor-direction'));\r\n }\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Handles submenu hover toggle\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuDrodownHoverEnter: function(e) {\r\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\r\n return;\r\n }\r\n\r\n if ( the.resumeDropdownHover() === false ) {\r\n return;\r\n }\r\n\r\n var item = this;\r\n\r\n if ( item.getAttribute('data-hover') == '1' ) {\r\n item.removeAttribute('data-hover');\r\n clearTimeout( item.getAttribute('data-timeout') );\r\n item.removeAttribute('data-timeout');\r\n }\r\n\r\n Plugin.showSubmenuDropdown(item);\r\n },\r\n\r\n /**\r\n * Handles submenu hover toggle\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuDrodownHoverExit: function(e) {\r\n if ( the.resumeDropdownHover() === false ) {\r\n return;\r\n }\r\n\r\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\r\n return;\r\n }\r\n\r\n var item = this;\r\n var time = the.options.dropdown.timeout;\r\n\r\n var timeout = setTimeout(function() {\r\n if ( item.getAttribute('data-hover') == '1' ) {\r\n Plugin.hideSubmenuDropdown(item, true);\r\n }\r\n }, time);\r\n\r\n item.setAttribute('data-hover', '1');\r\n item.setAttribute('data-timeout', timeout);\r\n },\r\n\r\n /**\r\n * Handles submenu click toggle\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuDropdownClick: function(e) {\r\n if ( Plugin.getSubmenuMode(this) === 'accordion' ) {\r\n return;\r\n }\r\n\r\n var item = this.closest('.menu-item');\r\n\r\n // Trigger click event handlers\r\n var result = Plugin.eventTrigger('submenuToggle', this, e);\r\n if (result === false) {\r\n return;\r\n }\r\n\r\n if ( item.getAttribute('data-menu-submenu-mode') == 'accordion' ) {\r\n return;\r\n }\r\n\r\n if ( KTUtil.hasClass(item, 'menu-item-hover') === false ) {\r\n KTUtil.addClass(item, 'menu-item-open-dropdown');\r\n Plugin.showSubmenuDropdown(item);\r\n } else {\r\n KTUtil.removeClass(item, 'menu-item-open-dropdown' );\r\n Plugin.hideSubmenuDropdown(item, true);\r\n }\r\n\r\n e.preventDefault();\r\n },\r\n\r\n /**\r\n * Handles tab click toggle\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuDropdownTabClick: function(e) {\r\n if (Plugin.getSubmenuMode(this) === 'accordion') {\r\n return;\r\n }\r\n var item = this.closest('.menu-item');\r\n\r\n // Trigger click event handlers\r\n var result = Plugin.eventTrigger('submenuToggle', this, e);\r\n if (result === false) {\r\n return;\r\n }\r\n\r\n if (item.getAttribute('data-menu-submenu-mode') == 'accordion') {\r\n return;\r\n }\r\n\r\n if (KTUtil.hasClass(item, 'menu-item-hover') == false) {\r\n KTUtil.addClass(item, 'menu-item-open-dropdown');\r\n Plugin.showSubmenuDropdown(item);\r\n }\r\n\r\n e.preventDefault();\r\n },\r\n\r\n /**\r\n * Handles link click\r\n * @returns {KTMenu}\r\n */\r\n handleLinkClick: function(e) {\r\n var submenu = this.closest('.menu-item.menu-item-submenu');\r\n\r\n // Trigger click event handlers\r\n var result = Plugin.eventTrigger('linkClick', this, e);\r\n if (result === false) {\r\n return;\r\n }\r\n\r\n if ( submenu && Plugin.getSubmenuMode(submenu) === 'dropdown' ) {\r\n Plugin.hideSubmenuDropdowns();\r\n }\r\n },\r\n\r\n /**\r\n * Handles submenu dropdown close on link click\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuDropdownClose: function(e, el) {\r\n // exit if its not submenu dropdown mode\r\n if (Plugin.getSubmenuMode(el) === 'accordion') {\r\n return;\r\n }\r\n\r\n var shown = element.querySelectorAll('.menu-item.menu-item-submenu.menu-item-hover:not(.menu-item-tabs)');\r\n\r\n // check if currently clicked link's parent item ha\r\n if (shown.length > 0 && KTUtil.hasClass(el, 'menu-toggle') === false && el.querySelectorAll('.menu-toggle').length === 0) {\r\n // close opened dropdown menus\r\n for (var i = 0, len = shown.length; i < len; i++) {\r\n Plugin.hideSubmenuDropdown(shown[0], true);\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * helper functions\r\n * @returns {KTMenu}\r\n */\r\n handleSubmenuAccordion: function(e, el) {\r\n var query;\r\n var item = el ? el : this;\r\n\r\n // Trigger click event handlers\r\n var result = Plugin.eventTrigger('submenuToggle', this, e);\r\n if (result === false) {\r\n return;\r\n }\r\n\r\n if ( Plugin.getSubmenuMode(el) === 'dropdown' && (query = item.closest('.menu-item') ) ) {\r\n if (query.getAttribute('data-menu-submenu-mode') != 'accordion' ) {\r\n e.preventDefault();\r\n return;\r\n }\r\n }\r\n\r\n var li = item.closest('.menu-item');\r\n var submenu = KTUtil.child(li, '.menu-submenu, .menu-inner');\r\n\r\n if (KTUtil.hasClass(item.closest('.menu-item'), 'menu-item-open-always')) {\r\n return;\r\n }\r\n\r\n if ( li && submenu ) {\r\n e.preventDefault();\r\n var speed = the.options.accordion.slideSpeed;\r\n var hasClosables = false;\r\n\r\n if ( KTUtil.hasClass(li, 'menu-item-open') === false ) {\r\n // hide other accordions\r\n if ( the.options.accordion.expandAll === false ) {\r\n var subnav = item.closest('.menu-nav, .menu-subnav');\r\n var closables = KTUtil.children(subnav, '.menu-item.menu-item-open.menu-item-submenu:not(.menu-item-here):not(.menu-item-open-always)');\r\n\r\n if ( subnav && closables ) {\r\n for (var i = 0, len = closables.length; i < len; i++) {\r\n var el_ = closables[0];\r\n var submenu_ = KTUtil.child(el_, '.menu-submenu');\r\n if ( submenu_ ) {\r\n KTUtil.slideUp(submenu_, speed, function() {\r\n Plugin.scrollUpdate();\r\n KTUtil.removeClass(el_, 'menu-item-open');\r\n });\r\n }\r\n }\r\n }\r\n }\r\n\r\n KTUtil.slideDown(submenu, speed, function() {\r\n Plugin.scrollToItem(item);\r\n Plugin.scrollUpdate();\r\n\r\n Plugin.eventTrigger('submenuToggle', submenu, e);\r\n });\r\n\r\n KTUtil.addClass(li, 'menu-item-open');\r\n\r\n } else {\r\n KTUtil.slideUp(submenu, speed, function() {\r\n Plugin.scrollToItem(item);\r\n Plugin.scrollUpdate();\r\n Plugin.eventTrigger('submenuToggle', submenu, e);\r\n });\r\n\r\n KTUtil.removeClass(li, 'menu-item-open');\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * scroll to item function\r\n * @returns {KTMenu}\r\n */\r\n scrollToItem: function(item) {\r\n // handle auto scroll for accordion submenus\r\n if ( KTUtil.isBreakpointUp('lg') && the.options.accordion.autoScroll && element.getAttribute('data-menu-scroll') !== '1' ) {\r\n KTUtil.scrollTo(item, the.options.accordion.autoScrollSpeed);\r\n }\r\n },\r\n\r\n /**\r\n * Hide submenu dropdown\r\n * @returns {KTMenu}\r\n */\r\n hideSubmenuDropdown: function(item, classAlso) {\r\n // remove submenu activation class\r\n if ( classAlso ) {\r\n KTUtil.removeClass(item, 'menu-item-hover');\r\n KTUtil.removeClass(item, 'menu-item-active-tab');\r\n }\r\n\r\n // clear timeout\r\n item.removeAttribute('data-hover');\r\n\r\n if ( item.getAttribute('data-menu-toggle-class') ) {\r\n KTUtil.removeClass(body, item.getAttribute('data-menu-toggle-class'));\r\n }\r\n\r\n var timeout = item.getAttribute('data-timeout');\r\n item.removeAttribute('data-timeout');\r\n clearTimeout(timeout);\r\n },\r\n\r\n /**\r\n * Hide submenu dropdowns\r\n * @returns {KTMenu}\r\n */\r\n hideSubmenuDropdowns: function() {\r\n var items;\r\n if ( items = element.querySelectorAll('.menu-item-submenu.menu-item-hover:not(.menu-item-tabs):not([data-menu-toggle=\"tab\"])') ) {\r\n for (var j = 0, cnt = items.length; j < cnt; j++) {\r\n Plugin.hideSubmenuDropdown(items[j], true);\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * helper functions\r\n * @returns {KTMenu}\r\n */\r\n showSubmenuDropdown: function(item) {\r\n // close active submenus\r\n var list = element.querySelectorAll('.menu-item-submenu.menu-item-hover, .menu-item-submenu.menu-item-active-tab');\r\n\r\n if ( list ) {\r\n for (var i = 0, len = list.length; i < len; i++) {\r\n var el = list[i];\r\n if ( item !== el && el.contains(item) === false && item.contains(el) === false ) {\r\n Plugin.hideSubmenuDropdown(el, true);\r\n }\r\n }\r\n }\r\n\r\n // add submenu activation class\r\n KTUtil.addClass(item, 'menu-item-hover');\r\n\r\n // Change the alignment of submenu is offscreen.\r\n var submenu = KTUtil.find(item, '.menu-submenu');\r\n\r\n if (submenu && submenu.hasAttribute('data-hor-direction') === false) {\r\n if (KTUtil.hasClass(submenu, 'menu-submenu-left')) {\r\n submenu.setAttribute('data-hor-direction', 'menu-submenu-left');\r\n } else if (KTUtil.hasClass(submenu, 'menu-submenu-right')) {\r\n submenu.setAttribute('data-hor-direction', 'menu-submenu-right');\r\n }\r\n }\r\n\r\n if ( submenu && KTUtil.isOffscreen(submenu, 'left', 15) === true ) {\r\n KTUtil.removeClass(submenu, 'menu-submenu-left');\r\n KTUtil.addClass(submenu, 'menu-submenu-right');\r\n } else if ( submenu && KTUtil.isOffscreen(submenu, 'right', 15) === true ) {\r\n KTUtil.removeClass(submenu, 'menu-submenu-right');\r\n KTUtil.addClass(submenu, 'menu-submenu-left');\r\n }\r\n\r\n if ( item.getAttribute('data-menu-toggle-class') ) {\r\n KTUtil.addClass(body, item.getAttribute('data-menu-toggle-class'));\r\n }\r\n },\r\n\r\n /**\r\n * Handles submenu slide toggle\r\n * @returns {KTMenu}\r\n */\r\n createSubmenuDropdownClickDropoff: function(el) {\r\n var query;\r\n var zIndex = (query = KTUtil.child(el, '.menu-submenu') ? KTUtil.css(query, 'z-index') : 0) - 1;\r\n\r\n var dropoff = document.createElement('
    ');\r\n\r\n body.appendChild(dropoff);\r\n\r\n KTUtil.addEvent(dropoff, 'click', function(e) {\r\n e.stopPropagation();\r\n e.preventDefault();\r\n KTUtil.remove(this);\r\n Plugin.hideSubmenuDropdown(el, true);\r\n });\r\n },\r\n\r\n /**\r\n * Handles submenu hover toggle\r\n * @returns {KTMenu}\r\n */\r\n pauseDropdownHover: function(time) {\r\n var date = new Date();\r\n\r\n the.pauseDropdownHoverTime = date.getTime() + time;\r\n },\r\n\r\n /**\r\n * Handles submenu hover toggle\r\n * @returns {KTMenu}\r\n */\r\n resumeDropdownHover: function() {\r\n var date = new Date();\r\n\r\n return (date.getTime() > the.pauseDropdownHoverTime ? true : false);\r\n },\r\n\r\n /**\r\n * Reset menu's current active item\r\n * @returns {KTMenu}\r\n */\r\n resetActiveItem: function(item) {\r\n var list;\r\n var parents;\r\n\r\n list = element.querySelectorAll('.menu-item-active');\r\n\r\n for (var i = 0, len = list.length; i < len; i++) {\r\n var el = list[0];\r\n KTUtil.removeClass(el, 'menu-item-active');\r\n KTUtil.hide( KTUtil.child(el, '.menu-submenu') );\r\n parents = KTUtil.parents(el, '.menu-item-submenu') || [];\r\n\r\n for (var i_ = 0, len_ = parents.length; i_ < len_; i_++) {\r\n var el_ = parents[i];\r\n KTUtil.removeClass(el_, 'menu-item-open');\r\n KTUtil.hide( KTUtil.child(el_, '.menu-submenu') );\r\n }\r\n }\r\n\r\n // close open submenus\r\n if ( the.options.accordion.expandAll === false ) {\r\n if ( list = element.querySelectorAll('.menu-item-open') ) {\r\n for (var i = 0, len = list.length; i < len; i++) {\r\n KTUtil.removeClass(parents[0], 'menu-item-open');\r\n }\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Sets menu's active item\r\n * @returns {KTMenu}\r\n */\r\n setActiveItem: function(item) {\r\n // reset current active item\r\n Plugin.resetActiveItem();\r\n\r\n var parents = KTUtil.parents(item, '.menu-item-submenu') || [];\r\n for (var i = 0, len = parents.length; i < len; i++) {\r\n KTUtil.addClass(parents[i], 'menu-item-open');\r\n }\r\n\r\n KTUtil.addClass(item, 'menu-item-active');\r\n },\r\n\r\n /**\r\n * Returns page breadcrumbs for the menu's active item\r\n * @returns {KTMenu}\r\n */\r\n getBreadcrumbs: function(item) {\r\n var query;\r\n var breadcrumbs = [];\r\n var link = KTUtil.child(item, '.menu-link');\r\n\r\n breadcrumbs.push({\r\n text: (query = KTUtil.child(link, '.menu-text') ? query.innerHTML : ''),\r\n title: link.getAttribute('title'),\r\n href: link.getAttribute('href')\r\n });\r\n\r\n var parents = KTUtil.parents(item, '.menu-item-submenu');\r\n for (var i = 0, len = parents.length; i < len; i++) {\r\n var submenuLink = KTUtil.child(parents[i], '.menu-link');\r\n\r\n breadcrumbs.push({\r\n text: (query = KTUtil.child(submenuLink, '.menu-text') ? query.innerHTML : ''),\r\n title: submenuLink.getAttribute('title'),\r\n href: submenuLink.getAttribute('href')\r\n });\r\n }\r\n\r\n return breadcrumbs.reverse();\r\n },\r\n\r\n /**\r\n * Returns page title for the menu's active item\r\n * @returns {KTMenu}\r\n */\r\n getPageTitle: function(item) {\r\n var query;\r\n\r\n return (query = KTUtil.child(item, '.menu-text') ? query.innerHTML : '');\r\n },\r\n\r\n /**\r\n * Trigger events\r\n */\r\n eventTrigger: function(name, target, e) {\r\n for (var i = 0; i < the.events.length; i++ ) {\r\n var event = the.events[i];\r\n if ( event.name == name ) {\r\n if ( event.one == true ) {\r\n if ( event.fired == false ) {\r\n the.events[i].fired = true;\r\n return event.handler.call(this, target, e);\r\n }\r\n } else {\r\n return event.handler.call(this, target, e);\r\n }\r\n }\r\n }\r\n },\r\n\r\n addEvent: function(name, handler, one) {\r\n the.events.push({\r\n name: name,\r\n handler: handler,\r\n one: one,\r\n fired: false\r\n });\r\n },\r\n\r\n removeEvent: function(name) {\r\n if (the.events[name]) {\r\n delete the.events[name];\r\n }\r\n }\r\n };\r\n\r\n //////////////////////////\r\n // ** Public Methods ** //\r\n //////////////////////////\r\n\r\n /**\r\n * Set default options\r\n */\r\n\r\n the.setDefaults = function(options) {\r\n defaultOptions = options;\r\n };\r\n\r\n /**\r\n * Update scroll\r\n */\r\n the.scrollUpdate = function() {\r\n return Plugin.scrollUpdate();\r\n };\r\n\r\n /**\r\n * Re-init scroll\r\n */\r\n the.scrollReInit = function() {\r\n return Plugin.scrollInit();\r\n };\r\n\r\n /**\r\n * Scroll top\r\n */\r\n the.scrollTop = function() {\r\n return Plugin.scrollTop();\r\n };\r\n\r\n /**\r\n * Set active menu item\r\n */\r\n the.setActiveItem = function(item) {\r\n return Plugin.setActiveItem(item);\r\n };\r\n\r\n the.reload = function() {\r\n return Plugin.reload();\r\n };\r\n\r\n the.update = function(options) {\r\n return Plugin.update(options);\r\n };\r\n\r\n /**\r\n * Set breadcrumb for menu item\r\n */\r\n the.getBreadcrumbs = function(item) {\r\n return Plugin.getBreadcrumbs(item);\r\n };\r\n\r\n /**\r\n * Set page title for menu item\r\n */\r\n the.getPageTitle = function(item) {\r\n return Plugin.getPageTitle(item);\r\n };\r\n\r\n /**\r\n * Get submenu mode\r\n */\r\n the.getSubmenuMode = function(el) {\r\n return Plugin.getSubmenuMode(el);\r\n };\r\n\r\n /**\r\n * Hide dropdown\r\n * @returns {Object}\r\n */\r\n the.hideDropdown = function(item) {\r\n Plugin.hideSubmenuDropdown(item, true);\r\n };\r\n\r\n /**\r\n * Hide dropdowns\r\n * @returns {Object}\r\n */\r\n the.hideDropdowns = function() {\r\n Plugin.hideSubmenuDropdowns();\r\n };\r\n\r\n /**\r\n * Disable menu for given time\r\n * @returns {Object}\r\n */\r\n the.pauseDropdownHover = function(time) {\r\n Plugin.pauseDropdownHover(time);\r\n };\r\n\r\n /**\r\n * Disable menu for given time\r\n * @returns {Object}\r\n */\r\n the.resumeDropdownHover = function() {\r\n return Plugin.resumeDropdownHover();\r\n };\r\n\r\n /**\r\n * Register event\r\n */\r\n the.on = function(name, handler) {\r\n return Plugin.addEvent(name, handler);\r\n };\r\n\r\n the.off = function(name) {\r\n return Plugin.removeEvent(name);\r\n };\r\n\r\n the.one = function(name, handler) {\r\n return Plugin.addEvent(name, handler, true);\r\n };\r\n\r\n ///////////////////////////////\r\n // ** Plugin Construction ** //\r\n ///////////////////////////////\r\n\r\n // Run plugin\r\n Plugin.construct.apply(the, [options]);\r\n\r\n // Handle plugin on window resize\r\n KTUtil.addResizeHandler(function() {\r\n if (init) {\r\n the.reload();\r\n }\r\n });\r\n\r\n // Init done\r\n init = true;\r\n\r\n // Return plugin instance\r\n return the;\r\n};\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTMenu;\r\n}\r\n\r\n// Plugin global lazy initialization\r\ndocument.addEventListener(\"click\", function (e) {\r\n var body = KTUtil.getByTagName('body')[0];\r\n var query;\r\n if ( query = body.querySelectorAll('.menu-nav .menu-item.menu-item-submenu.menu-item-hover:not(.menu-item-tabs)[data-menu-toggle=\"click\"]') ) {\r\n for (var i = 0, len = query.length; i < len; i++) {\r\n var element = query[i].closest('.menu-nav').parentNode;\r\n\r\n if ( element ) {\r\n var the = KTUtil.data(element).get('menu');\r\n\r\n if ( !the ) {\r\n break;\r\n }\r\n\r\n if ( !the || the.getSubmenuMode() !== 'dropdown' ) {\r\n break;\r\n }\r\n\r\n if ( e.target !== element && element.contains(e.target) === false ) {\r\n the.hideDropdowns();\r\n }\r\n }\r\n }\r\n }\r\n});\r\n\r\nexport default KTMenu;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./util\";\r\n\r\n// Component Definition\r\nvar KTScrolltop = function(elementId, options) {\r\n // Main object\r\n var the = this;\r\n var init = false;\r\n\r\n // Get element object\r\n var element = KTUtil.getById(elementId);\r\n var body = KTUtil.getBody();\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Default options\r\n var defaultOptions = {\r\n offset: 300,\r\n speed: 6000\r\n };\r\n\r\n ////////////////////////////\r\n // ** Private Methods ** //\r\n ////////////////////////////\r\n\r\n var Plugin = {\r\n /**\r\n * Run plugin\r\n * @returns {mscrolltop}\r\n */\r\n construct: function(options) {\r\n if (KTUtil.data(element).has('scrolltop')) {\r\n the = KTUtil.data(element).get('scrolltop');\r\n } else {\r\n // reset scrolltop\r\n Plugin.init(options);\r\n\r\n // build scrolltop\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('scrolltop', the);\r\n }\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Handles subscrolltop click toggle\r\n * @returns {mscrolltop}\r\n */\r\n init: function(options) {\r\n the.events = [];\r\n\r\n // merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n },\r\n\r\n build: function() {\r\n var timer;\r\n\r\n window.addEventListener('scroll', function() {\r\n KTUtil.throttle(timer, function() {\r\n Plugin.handle();\r\n }, 200);\r\n });\r\n\r\n // handle button click\r\n KTUtil.addEvent(element, 'click', Plugin.scroll);\r\n },\r\n\r\n /**\r\n * Handles scrolltop click scrollTop\r\n */\r\n handle: function() {\r\n var pos = KTUtil.getScrollTop(); // current vertical position\r\n\r\n if (pos > the.options.offset) {\r\n if (body.hasAttribute('data-scrolltop') === false) {\r\n body.setAttribute('data-scrolltop', 'on');\r\n }\r\n } else {\r\n if (body.hasAttribute('data-scrolltop') === true) {\r\n body.removeAttribute('data-scrolltop');\r\n }\r\n }\r\n },\r\n\r\n /**\r\n * Handles scrolltop click scrollTop\r\n */\r\n scroll: function(e) {\r\n e.preventDefault();\r\n\r\n KTUtil.scrollTop(0, the.options.speed);\r\n },\r\n\r\n\r\n /**\r\n * Trigger events\r\n */\r\n eventTrigger: function(name, args) {\r\n for (var i = 0; i < the.events.length; i++) {\r\n var event = the.events[i];\r\n if (event.name == name) {\r\n if (event.one == true) {\r\n if (event.fired == false) {\r\n the.events[i].fired = true;\r\n return event.handler.call(this, the, args);\r\n }\r\n } else {\r\n return event.handler.call(this, the, args);\r\n }\r\n }\r\n }\r\n },\r\n\r\n addEvent: function(name, handler, one) {\r\n the.events.push({\r\n name: name,\r\n handler: handler,\r\n one: one,\r\n fired: false\r\n });\r\n }\r\n };\r\n\r\n //////////////////////////\r\n // ** Public Methods ** //\r\n //////////////////////////\r\n\r\n /**\r\n * Set default options\r\n */\r\n\r\n the.setDefaults = function(options) {\r\n defaultOptions = options;\r\n };\r\n\r\n /**\r\n * Get subscrolltop mode\r\n */\r\n the.on = function(name, handler) {\r\n return Plugin.addEvent(name, handler);\r\n };\r\n\r\n /**\r\n * Set scrolltop content\r\n * @returns {mscrolltop}\r\n */\r\n the.one = function(name, handler) {\r\n return Plugin.addEvent(name, handler, true);\r\n };\r\n\r\n ///////////////////////////////\r\n // ** Plugin Construction ** //\r\n ///////////////////////////////\r\n\r\n // Run plugin\r\n Plugin.construct.apply(the, [options]);\r\n\r\n // Init done\r\n init = true;\r\n\r\n // Return plugin instance\r\n return the;\r\n};\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTScrolltop;\r\n}\r\n\r\nexport default KTScrolltop;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./util\";\r\n\r\n// Component Definition\r\nvar KTCard = function(elementId, options) {\r\n // Main object\r\n var the = this;\r\n var init = false;\r\n\r\n // Get element object\r\n var element = KTUtil.getById(elementId);\r\n var body = KTUtil.getBody();\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Default options\r\n var defaultOptions = {\r\n toggleSpeed: 400,\r\n sticky: {\r\n releseOnReverse: false,\r\n offset: 300,\r\n zIndex: 101\r\n }\r\n };\r\n\r\n ////////////////////////////\r\n // ** Private Methods ** //\r\n ////////////////////////////\r\n\r\n var Plugin = {\r\n /**\r\n * Construct\r\n */\r\n\r\n construct: function(options) {\r\n if (KTUtil.data(element).has('card')) {\r\n the = KTUtil.data(element).get('card');\r\n } else {\r\n // reset menu\r\n Plugin.init(options);\r\n\r\n // build menu\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('card', the);\r\n }\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Init card\r\n */\r\n init: function(options) {\r\n the.element = element;\r\n the.events = [];\r\n\r\n // merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n the.header = KTUtil.child(element, '.card-header');\r\n the.footer = KTUtil.child(element, '.card-footer');\r\n\r\n if (KTUtil.child(element, '.card-body')) {\r\n the.body = KTUtil.child(element, '.card-body');\r\n } else if (KTUtil.child(element, '.form')) {\r\n the.body = KTUtil.child(element, '.form');\r\n }\r\n },\r\n\r\n /**\r\n * Build Form Wizard\r\n */\r\n build: function() {\r\n // Remove\r\n var remove = KTUtil.find(the.header, '[data-card-tool=remove]');\r\n if (remove) {\r\n KTUtil.addEvent(remove, 'click', function(e) {\r\n e.preventDefault();\r\n Plugin.remove();\r\n });\r\n }\r\n\r\n // Reload\r\n var reload = KTUtil.find(the.header, '[data-card-tool=reload]');\r\n if (reload) {\r\n KTUtil.addEvent(reload, 'click', function(e) {\r\n e.preventDefault();\r\n Plugin.reload();\r\n });\r\n }\r\n\r\n // Toggle\r\n var toggle = KTUtil.find(the.header, '[data-card-tool=toggle]');\r\n if (toggle) {\r\n KTUtil.addEvent(toggle, 'click', function(e) {\r\n e.preventDefault();\r\n Plugin.toggle();\r\n });\r\n }\r\n },\r\n\r\n /**\r\n * Enable stickt mode\r\n */\r\n initSticky: function() {\r\n var lastScrollTop = 0;\r\n var offset = the.options.sticky.offset;\r\n\r\n if (!the.header) {\r\n return;\r\n }\r\n\r\n\t window.addEventListener('scroll', Plugin.onScrollSticky);\r\n },\r\n\r\n\t /**\r\n\t * Window scroll handle event for sticky card\r\n\t */\r\n\t onScrollSticky: function(e) {\r\n\t\t var offset = the.options.sticky.offset;\r\n\r\n\t\t if(isNaN(offset)) return;\r\n\r\n\t\t var st = KTUtil.getScrollTop();\r\n\r\n\t\t if (st >= offset && KTUtil.hasClass(body, 'card-sticky-on') === false) {\r\n\t\t\t Plugin.eventTrigger('stickyOn');\r\n\r\n\t\t\t KTUtil.addClass(body, 'card-sticky-on');\r\n\r\n\t\t\t Plugin.updateSticky();\r\n\r\n\t\t } else if ((st*1.5) <= offset && KTUtil.hasClass(body, 'card-sticky-on')) {\r\n\t\t\t // Back scroll mode\r\n\t\t\t Plugin.eventTrigger('stickyOff');\r\n\r\n\t\t\t KTUtil.removeClass(body, 'card-sticky-on');\r\n\r\n\t\t\t Plugin.resetSticky();\r\n\t\t }\r\n\t },\r\n\r\n updateSticky: function() {\r\n if (!the.header) {\r\n return;\r\n }\r\n\r\n var top;\r\n\r\n if (KTUtil.hasClass(body, 'card-sticky-on')) {\r\n if (the.options.sticky.position.top instanceof Function) {\r\n top = parseInt(the.options.sticky.position.top.call(this, the));\r\n } else {\r\n top = parseInt(the.options.sticky.position.top);\r\n }\r\n\r\n var left;\r\n if (the.options.sticky.position.left instanceof Function) {\r\n left = parseInt(the.options.sticky.position.left.call(this, the));\r\n } else {\r\n left = parseInt(the.options.sticky.position.left);\r\n }\r\n\r\n var right;\r\n if (the.options.sticky.position.right instanceof Function) {\r\n right = parseInt(the.options.sticky.position.right.call(this, the));\r\n } else {\r\n right = parseInt(the.options.sticky.position.right);\r\n }\r\n\r\n KTUtil.css(the.header, 'z-index', the.options.sticky.zIndex);\r\n KTUtil.css(the.header, 'top', top + 'px');\r\n KTUtil.css(the.header, 'left', left + 'px');\r\n KTUtil.css(the.header, 'right', right + 'px');\r\n }\r\n },\r\n\r\n resetSticky: function() {\r\n if (!the.header) {\r\n return;\r\n }\r\n\r\n if (KTUtil.hasClass(body, 'card-sticky-on') === false) {\r\n KTUtil.css(the.header, 'z-index', '');\r\n KTUtil.css(the.header, 'top', '');\r\n KTUtil.css(the.header, 'left', '');\r\n KTUtil.css(the.header, 'right', '');\r\n }\r\n },\r\n\r\n /**\r\n * Remove card\r\n */\r\n remove: function() {\r\n if (Plugin.eventTrigger('beforeRemove') === false) {\r\n return;\r\n }\r\n\r\n KTUtil.remove(element);\r\n\r\n Plugin.eventTrigger('afterRemove');\r\n },\r\n\r\n /**\r\n * Set content\r\n */\r\n setContent: function(html) {\r\n if (html) {\r\n the.body.innerHTML = html;\r\n }\r\n },\r\n\r\n /**\r\n * Get body\r\n */\r\n getBody: function() {\r\n return the.body;\r\n },\r\n\r\n /**\r\n * Get self\r\n */\r\n getSelf: function() {\r\n return element;\r\n },\r\n\r\n /**\r\n * Reload\r\n */\r\n reload: function() {\r\n Plugin.eventTrigger('reload');\r\n },\r\n\r\n /**\r\n * Toggle\r\n */\r\n toggle: function() {\r\n if (KTUtil.hasClass(element, 'card-collapse') || KTUtil.hasClass(element, 'card-collapsed')) {\r\n Plugin.expand();\r\n } else {\r\n Plugin.collapse();\r\n }\r\n },\r\n\r\n /**\r\n * Collapse\r\n */\r\n collapse: function() {\r\n if (Plugin.eventTrigger('beforeCollapse') === false) {\r\n return;\r\n }\r\n\r\n KTUtil.slideUp(the.body, the.options.toggleSpeed, function() {\r\n Plugin.eventTrigger('afterCollapse');\r\n });\r\n\r\n KTUtil.addClass(element, 'card-collapse');\r\n },\r\n\r\n /**\r\n * Expand\r\n */\r\n expand: function() {\r\n if (Plugin.eventTrigger('beforeExpand') === false) {\r\n return;\r\n }\r\n\r\n KTUtil.slideDown(the.body, the.options.toggleSpeed, function() {\r\n Plugin.eventTrigger('afterExpand');\r\n });\r\n\r\n KTUtil.removeClass(element, 'card-collapse');\r\n KTUtil.removeClass(element, 'card-collapsed');\r\n },\r\n\r\n /**\r\n * Trigger events\r\n */\r\n eventTrigger: function(name) {\r\n //KTUtil.triggerCustomEvent(name);\r\n for (var i = 0; i < the.events.length; i++) {\r\n var event = the.events[i];\r\n if (event.name == name) {\r\n if (event.one == true) {\r\n if (event.fired == false) {\r\n the.events[i].fired = true;\r\n return event.handler.call(this, the);\r\n }\r\n } else {\r\n return event.handler.call(this, the);\r\n }\r\n }\r\n }\r\n },\r\n\r\n addEvent: function(name, handler, one) {\r\n the.events.push({\r\n name: name,\r\n handler: handler,\r\n one: one,\r\n fired: false\r\n });\r\n\r\n return the;\r\n }\r\n };\r\n\r\n //////////////////////////\r\n // ** Public Methods ** //\r\n //////////////////////////\r\n\r\n /**\r\n * Set default options\r\n */\r\n\r\n the.setDefaults = function(options) {\r\n defaultOptions = options;\r\n };\r\n\r\n /**\r\n * Remove card\r\n */\r\n the.remove = function() {\r\n return Plugin.remove(html);\r\n };\r\n\r\n /**\r\n * Init sticky card\r\n */\r\n the.initSticky = function() {\r\n return Plugin.initSticky();\r\n };\r\n\r\n /**\r\n * Rerender sticky layout\r\n */\r\n the.updateSticky = function() {\r\n return Plugin.updateSticky();\r\n };\r\n\r\n /**\r\n * Reset the sticky\r\n */\r\n the.resetSticky = function() {\r\n return Plugin.resetSticky();\r\n };\r\n\r\n\t/**\r\n\t * Destroy sticky card\r\n\t */\r\n\tthe.destroySticky = function() {\r\n\t\tPlugin.resetSticky();\r\n\t\twindow.removeEventListener('scroll', Plugin.onScrollSticky);\r\n\t};\r\n\r\n /**\r\n * Reload card\r\n */\r\n the.reload = function() {\r\n return Plugin.reload();\r\n };\r\n\r\n /**\r\n * Set card content\r\n */\r\n the.setContent = function(html) {\r\n return Plugin.setContent(html);\r\n };\r\n\r\n /**\r\n * Toggle card\r\n */\r\n the.toggle = function() {\r\n return Plugin.toggle();\r\n };\r\n\r\n /**\r\n * Collapse card\r\n */\r\n the.collapse = function() {\r\n return Plugin.collapse();\r\n };\r\n\r\n /**\r\n * Expand card\r\n */\r\n the.expand = function() {\r\n return Plugin.expand();\r\n };\r\n\r\n /**\r\n * Get cardbody\r\n * @returns {jQuery}\r\n */\r\n the.getBody = function() {\r\n return Plugin.getBody();\r\n };\r\n\r\n /**\r\n * Get cardbody\r\n * @returns {jQuery}\r\n */\r\n the.getSelf = function() {\r\n return Plugin.getSelf();\r\n };\r\n\r\n /**\r\n * Attach event\r\n */\r\n the.on = function(name, handler) {\r\n return Plugin.addEvent(name, handler);\r\n };\r\n\r\n /**\r\n * Attach event that will be fired once\r\n */\r\n the.one = function(name, handler) {\r\n return Plugin.addEvent(name, handler, true);\r\n };\r\n\r\n // Construct plugin\r\n Plugin.construct.apply(the, [options]);\r\n\r\n return the;\r\n};\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTCard;\r\n}\r\n\r\nexport default KTCard;","/* eslint-disable */\r\n\"use strict\";\r\n\r\nimport { KTUtil } from \"./util\";\r\n\r\n// Component Definition\r\nvar KTToggle = function(toggleElement, targetElement, options) {\r\n // Main object\r\n var the = this;\r\n var init = false;\r\n\r\n // Get element object\r\n var element = toggleElement;\r\n var target = targetElement;\r\n\r\n if (!element) {\r\n return;\r\n }\r\n\r\n // Default options\r\n var defaultOptions = {\r\n targetToggleMode: 'class' // class|attribute\r\n };\r\n\r\n ////////////////////////////\r\n // ** Private Methods ** //\r\n ////////////////////////////\r\n\r\n var Plugin = {\r\n /**\r\n * Construct\r\n */\r\n\r\n construct: function(options) {\r\n if (KTUtil.data(element).has('toggle')) {\r\n the = KTUtil.data(element).get('toggle');\r\n } else {\r\n // reset menu\r\n Plugin.init(options);\r\n\r\n // build menu\r\n Plugin.build();\r\n\r\n KTUtil.data(element).set('toggle', the);\r\n }\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Handles subtoggle click toggle\r\n */\r\n init: function(options) {\r\n the.element = element;\r\n the.events = [];\r\n\r\n // Merge default and user defined options\r\n the.options = KTUtil.deepExtend({}, defaultOptions, options);\r\n\r\n //alert(the.options.target.tagName);\r\n the.target = target;\r\n\r\n the.targetState = the.options.targetState;\r\n the.toggleState = the.options.toggleState;\r\n\r\n if (the.options.targetToggleMode == 'class') {\r\n the.state = KTUtil.hasClasses(the.target, the.targetState) ? 'on' : 'off';\r\n } else {\r\n the.state = KTUtil.hasAttr(the.target, 'data-' + the.targetState) ? KTUtil.attr(the.target, 'data-' + the.targetState) : 'off';\r\n }\r\n },\r\n\r\n /**\r\n * Setup toggle\r\n */\r\n build: function() {\r\n KTUtil.addEvent(element, 'mouseup', Plugin.toggle);\r\n },\r\n\r\n /**\r\n * Handles offcanvas click toggle\r\n */\r\n toggle: function(e) {\r\n Plugin.eventTrigger('beforeToggle');\r\n\r\n if (the.state == 'off') {\r\n Plugin.toggleOn();\r\n } else {\r\n Plugin.toggleOff();\r\n }\r\n\r\n Plugin.eventTrigger('afterToggle');\r\n\r\n e.preventDefault();\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Handles toggle click toggle\r\n */\r\n toggleOn: function() {\r\n Plugin.eventTrigger('beforeOn');\r\n\r\n if (the.options.targetToggleMode == 'class') {\r\n KTUtil.addClass(the.target, the.targetState);\r\n } else {\r\n KTUtil.attr(the.target, 'data-' + the.targetState, 'on');\r\n }\r\n\r\n if (the.toggleState) {\r\n KTUtil.addClass(element, the.toggleState);\r\n }\r\n\r\n the.state = 'on';\r\n\r\n Plugin.eventTrigger('afterOn');\r\n\r\n Plugin.eventTrigger('toggle');\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Handles toggle click toggle\r\n */\r\n toggleOff: function() {\r\n Plugin.eventTrigger('beforeOff');\r\n\r\n if (the.options.targetToggleMode == 'class') {\r\n KTUtil.removeClass(the.target, the.targetState);\r\n } else {\r\n KTUtil.removeAttr(the.target, 'data-' + the.targetState);\r\n }\r\n\r\n if (the.toggleState) {\r\n KTUtil.removeClass(element, the.toggleState);\r\n }\r\n\r\n the.state = 'off';\r\n\r\n Plugin.eventTrigger('afterOff');\r\n\r\n Plugin.eventTrigger('toggle');\r\n\r\n return the;\r\n },\r\n\r\n /**\r\n * Trigger events\r\n */\r\n eventTrigger: function(name) {\r\n for (var i = 0; i < the.events.length; i++) {\r\n var event = the.events[i];\r\n\r\n if (event.name == name) {\r\n if (event.one == true) {\r\n if (event.fired == false) {\r\n the.events[i].fired = true;\r\n return event.handler.call(this, the);\r\n }\r\n } else {\r\n return event.handler.call(this, the);\r\n }\r\n }\r\n }\r\n },\r\n\r\n addEvent: function(name, handler, one) {\r\n the.events.push({\r\n name: name,\r\n handler: handler,\r\n one: one,\r\n fired: false\r\n });\r\n\r\n return the;\r\n }\r\n };\r\n\r\n //////////////////////////\r\n // ** Public Methods ** //\r\n //////////////////////////\r\n\r\n /**\r\n * Set default options\r\n */\r\n\r\n the.setDefaults = function(options) {\r\n defaultOptions = options;\r\n };\r\n\r\n /**\r\n * Get toggle state\r\n */\r\n the.getState = function() {\r\n return the.state;\r\n };\r\n\r\n /**\r\n * Toggle\r\n */\r\n the.toggle = function() {\r\n return Plugin.toggle();\r\n };\r\n\r\n /**\r\n * Toggle on\r\n */\r\n the.toggleOn = function() {\r\n return Plugin.toggleOn();\r\n };\r\n\r\n /**\r\n * Toggle off\r\n */\r\n the.toggleOff = function() {\r\n return Plugin.toggleOff();\r\n };\r\n\r\n /**\r\n * Attach event\r\n * @returns {KTToggle}\r\n */\r\n the.on = function(name, handler) {\r\n return Plugin.addEvent(name, handler);\r\n };\r\n\r\n /**\r\n * Attach event that will be fired once\r\n * @returns {KTToggle}\r\n */\r\n the.one = function(name, handler) {\r\n return Plugin.addEvent(name, handler, true);\r\n };\r\n\r\n // Construct plugin\r\n Plugin.construct.apply(the, [options]);\r\n\r\n return the;\r\n};\r\n\r\n// webpack support\r\nif (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {\r\n // module.exports = KTToggle;\r\n}\r\n\r\nexport default KTToggle;","import React from \"react\";\r\nimport { useState } from \"react\";\r\nimport { Button, Spinner } from \"react-bootstrap\";\r\nimport { toAbsoluteUrl } from \"../../../_metronic/_helpers\";\r\nimport { BASE_URL, ModelStateMessage } from \"../../../app/helpers/globals\";\r\nimport Swal from \"sweetalert2\";\r\nimport { useTranslation } from \"react-i18next\";\r\nexport default function UnsbscribePage() {\r\n const [t, i18n] = useTranslation();\r\n var url_string = window.location.href; //window.location.href\r\n url_string = String(url_string).replace(\"+\", \"%2B\");\r\n var url = new URL(url_string);\r\n var code = url?.searchParams?.get(\"code\");\r\n const { id } = code;\r\n const [isloadingPost, setisloadingPost] = useState(false);\r\n const [isUnsubscribed, setisUnsubscribed] = useState(false);\r\n\r\n function SendCodeToApi() {\r\n if (id === \"\" || id === null || id === undefined) {\r\n }\r\n setisloadingPost(true);\r\n fetch(`${BASE_URL}/api/Unsubscribe/Report`, {\r\n method: \"Post\",\r\n headers: {\r\n \"Content-Type\": \"application/json; charset=utf-8\",\r\n },\r\n body: JSON.stringify({\r\n Code: code,\r\n }),\r\n })\r\n .then(async (response) => {\r\n const statusCode = response.status;\r\n const contentType = response.headers.get(\"content-type\");\r\n if (contentType && contentType.indexOf(\"application/json\") !== -1) {\r\n return response.json().then((data) => [statusCode, data]);\r\n } else {\r\n return response.text().then((data) => [statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (!!data && data.length > 0 && data[0] === 200) {\r\n Swal.fire({\r\n title: \"Success\",\r\n text: \"you have unsubscribed Successfully\",\r\n icon: \"success\",\r\n });\r\n setisloadingPost(false);\r\n setisUnsubscribed(true);\r\n } else{\r\n ModelStateMessage(data);\r\n setisloadingPost(false);\r\n }\r\n })\r\n .catch((error) => {\r\n setisloadingPost(false);\r\n\r\n console.log(error);\r\n });\r\n }\r\n return (\r\n <>\r\n\r\n
    \r\n {/*begin::Content*/}\r\n
    \r\n

    \r\n Unsubscribe\r\n

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

    \r\n We're sad to see you go!\r\n

    \r\n
    \r\n {isUnsubscribed === false ? (\r\n
    \r\n Please confirm that you want to proceed.\r\n
    \r\n ) : (\r\n
    \r\n You have been unsubscribed successfully and will no longer\r\n receive emails of this sequence. Thank you!\r\n
    \r\n )}\r\n\r\n {isUnsubscribed === true ? (\r\n \"\"\r\n ) : (\r\n {\r\n SendCodeToApi();\r\n }}\r\n >\r\n Confirm\r\n {isloadingPost && (\r\n \r\n )}\r\n \r\n )}\r\n
    \r\n
    \r\n {/*end::Content*/}\r\n
    \r\n\r\n \r\n );\r\n}\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Col, Spinner } from \"react-bootstrap\";\r\nimport { ReactFormGenerator } from \"react-form-builder2\";\r\nimport \"react-form-builder2/dist/app.css\";\r\nimport {\r\n BASE_URL,\r\n ModelStateMessage,\r\n useIsMounted,\r\n} from \"../../helpers/globals\";\r\nimport Swal from \"sweetalert2\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { element } from \"prop-types\";\r\n\r\nvar code = document.location.pathname?.replace(\"/Form/\",\"\");\r\nexport default function WebFormSlugPage() {\r\n const history = useHistory();\r\n const [loader, setLoader] = useState(false);\r\n const isMounted = useIsMounted();\r\n var element1 = document.getElementById(\"kt_aside\");\r\n if(!!element1) element1.className = \"d-none\";\r\n var element2 = document.getElementById(\"kt_subheader\");\r\n if(!!element2) element2.className = \"d-none\"; \r\n var element3 = document.getElementById(\"kt_footer\");\r\n if(!!element3) element3.className = \"d-none\";\r\n var bodyElement = document.querySelector(\"body\");\r\n if(!!bodyElement) bodyElement.style.backgroundColor = \"white\";\r\n\r\n useEffect(() => {\r\n if (isMounted()) {\r\n getFormInfo(code);\r\n }\r\n }, [code]);\r\n const [FormBuilderStyle, setFormBuilderStyle] = useState({\r\n slug: \"\",\r\n name: \"\",\r\n pageColor: \"#ffffff\",\r\n formColor: \"light\",\r\n textColor: \"dark\",\r\n buttonColor: \"primary\",\r\n thanksPageTitle: \"\",\r\n thanksPageDescription: \"\",\r\n link: \"\",\r\n isLink: false,\r\n });\r\n const [showloadingpost, setshowloadingpost] = useState(false);\r\n function postAnswer(params) {\r\n var objPost = {\r\n id: FormBuilderStyle?.id,\r\n answers: params.map((a) => {\r\n return {\r\n questionId: FormBuilderStyle?.JsonQestion.find(\r\n (x) => x.name === a.name\r\n )?.id,\r\n name: a.name,\r\n value: String(a.value),\r\n };\r\n }),\r\n };\r\n setshowloadingpost(true);\r\n\r\n fetch(`${BASE_URL}/api/Forms/Answer`, {\r\n method: \"POST\",\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n body: JSON.stringify(objPost), // body data type must match \"Content-Type\" header\r\n })\r\n .then(async (response) => {\r\n const statusCode = await response.status;\r\n if (statusCode === 200) {\r\n return Promise.all([statusCode, \"\"]);\r\n } else {\r\n const data = await response.json();\r\n return Promise.all([statusCode, data]);\r\n }\r\n })\r\n .then((data) => {\r\n if (data[0] === 200) {\r\n if (!FormBuilderStyle.isLink) {\r\n // history.push(FormBuilderStyle.link)\r\n window.location.href = FormBuilderStyle.link;\r\n } else {\r\n history.push(`/ThankYouPage/${FormBuilderStyle?.id}`);\r\n }\r\n } else if (data[0] === 400 && data[1].message) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: data[1].message,\r\n });\r\n } else if (data[0] === 400) {\r\n let tt = JSON.parse(data[1]);\r\n for (const [key, value] of Object.entries(tt.errors)) {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: value,\r\n });\r\n }\r\n } else {\r\n ModelStateMessage(data);\r\n }\r\n setshowloadingpost(false);\r\n });\r\n }\r\n const [JsonQestion, setJsonQestion] = useState([]);\r\n function getFormInfo() {\r\n setLoader(true);\r\n fetch(`${BASE_URL}/api/Forms/slug`, {\r\n method: \"POST\",\r\n withCredentials: true,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n },\r\n body: JSON.stringify({\r\n slug: code,\r\n }),\r\n })\r\n .then(async (response) => {\r\n const statusCode = response.status;\r\n const data = await response.json();\r\n return Promise.all([statusCode, data]);\r\n })\r\n .then((data) => {\r\n try {\r\n if (!!data && data?.length > 0 && data[0] === 200) {\r\n setFormBuilderStyle({\r\n id: data[1].id,\r\n slug: data[1].slug,\r\n name: data[1].name,\r\n pageColor: data[1].pageColor,\r\n formColor: data[1].formColor,\r\n textColor: data[1].textColor,\r\n buttonColor: data[1].buttonColor,\r\n thanksPageTitle: data[1].thanksPageTitle,\r\n thanksPageDescription: data[1].thanksPageDescription,\r\n link: data[1].link,\r\n isLink: data[1].isLink,\r\n JsonQestion: data[1].questions,\r\n });\r\n setJsonQestion(\r\n data[1].questions.map((a) => JSON.parse(a.fieldJson))\r\n );\r\n } else {\r\n Swal.fire({\r\n icon: \"error\",\r\n title: \"Oops...\",\r\n text: \"URL Not Found\",\r\n });\r\n }\r\n setLoader(false);\r\n } catch (eee) {\r\n console.log(\"eee\", eee);\r\n }\r\n });\r\n }\r\n return (\r\n \r\n {/*begin::Content*/}\r\n
    \r\n \r\n
    \r\n
    \r\n {!loader ? (\r\n \r\n \r\n {\r\n console.log(\"eventSubmit\", e);\r\n postAnswer(e);\r\n }}\r\n // read_only={true}\r\n task_id={12} // Used to submit a hidden variable with the id to the form from the database.\r\n //answer_data={JsonAnswer} // Answer data, only used if loading a pre-existing form with values.\r\n authenticity_token={\"AUTH_TOKEN\"} // If using Rails and need an auth token to submit form.\r\n data={JsonQestion} // Question data\r\n inputProps={{\r\n className: \"form-control form-control-sm\",\r\n }}\r\n submitButton={\r\n \r\n Submit\r\n {showloadingpost && (\r\n \r\n )}\r\n \r\n }\r\n backButton={\r\n \r\n Back\r\n \r\n }\r\n />\r\n
    \r\n
    \r\n ) : (\r\n
    \r\n
    Loading...
    \r\n
    \r\n
    \r\n )}\r\n
    \r\n
    \r\n \r\n \r\n \r\n );\r\n}\r\n","import React, { useEffect, useState } from \"react\";\r\nimport { Col } from \"react-bootstrap\";\r\nimport 'react-form-builder2/dist/app.css';\r\nimport { useParams } from \"react-router-dom\";\r\nimport { apiCall } from \"../../helpers/globals\";\r\n\r\nexport default function WebFormThankYouPage() {\r\n const params = useParams();\r\n const { id } = params;\r\n var element1 = document.getElementById(\"kt_aside\");\r\n if(!!element1) element1.className = \"d-none\";\r\n var element2 = document.getElementById(\"kt_subheader\");\r\n if(!!element2) element2.className = \"d-none\"; \r\n var element3 = document.getElementById(\"kt_footer\");\r\n if(!!element3) element3.className = \"d-none\";\r\n var bodyElement = document.querySelector(\"body\");\r\n if(!!bodyElement) bodyElement.style.backgroundColor = \"white\";\r\n const [ThankyoupageData, setThankyoupageData] = useState(null);\r\n useEffect(() => {\r\n getThankyoupageData(id);\r\n }, [id]);\r\n function getThankyoupageData(idForm) {\r\n apiCall({\r\n method: \"GET\",\r\n link: `/api/Forms/ThanksPage/${idForm}`,\r\n }).then((data) => {\r\n if (data[0] === 200) {\r\n setThankyoupageData(data[1])\r\n }\r\n });\r\n }\r\n return (\r\n\r\n
    \r\n {/*begin::Content*/}\r\n
    \r\n \r\n
    \r\n
    \r\n

    {ThankyoupageData?.pageTitle}

    \r\n

    \r\n
    \r\n
    \r\n \r\n
    \r\n
    \r\n );\r\n \r\n}\r\n","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { Steps, Hints } from \"intro.js-react\";\r\nimport { useHistory } from \"react-router-dom\";\r\n\r\nimport \"intro.js/introjs.css\";\r\n\r\nexport default function IntroJs({ steps }) {\r\n const history = useHistory();\r\n const [showStep, setShowStep] = useState(false);\r\n const [currentStep, setCurrentStep] = useState(0);\r\n const [showIntro, setShowIntro] = useState(false);\r\n const [listEmails, setlistEmails] = useState([]);\r\n const [getPath, setPath] = useState(null);\r\n const [stepss, setstepss] = useState([]);\r\n const intro = useRef(null);\r\n useEffect(() => {\r\n if (typeof localStorage.getItem(\"hasSeenIntro\") == \"undefined\") {\r\n console.log(\"\");\r\n } else {\r\n setlistEmails(String(localStorage.getItem(\"hasSeenIntro\")).split(\"/\"));\r\n }\r\n setPath(String(window?.location?.pathname).split(\"/\"));\r\n setstepss(steps);\r\n const timeoutId = setTimeout(() => {\r\n setShowIntro(true);\r\n }, 1500); // Set timeout to 2 seconds\r\n\r\n return () => {\r\n clearTimeout(timeoutId);\r\n };\r\n }, []);\r\n useEffect(() => {\r\n console.log(currentStep)\r\n }, [currentStep]);\r\n\r\n useEffect(() => {\r\n setTimeout(() => {\r\n const skipButton = document.querySelector('.introjs-skipbutton');\r\n if (skipButton) {\r\n skipButton.addEventListener('click', handleSkipIntro);\r\n }\r\n return () => {\r\n if (skipButton) {\r\n skipButton.removeEventListener('click', handleSkipIntro);\r\n }\r\n }\r\n }, 1000);\r\n \r\n }, [intro, handleSkipIntro]);\r\n const handleBeforeChange = (nextStep,targetElement) => {\r\n setCurrentStep(nextStep)\r\n const buttons = document.querySelectorAll(\".introjs-skipbutton\");\r\n buttons.forEach((button) => {\r\n button.addEventListener(\"click\", () => {\r\n // Call your function here\r\n handleSkipIntro();\r\n });\r\n });\r\n\r\n if (nextStep === 3 && String(window?.location?.pathname) === \"/dashboard\") {\r\n history.push(\"/user-profile/personal-information\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 1 &&\r\n String(window?.location?.pathname) ===\r\n \"/user-profile/personal-information\"\r\n ) {\r\n history.push(\"/user-profile/billing\");\r\n setCurrentStep(1);\r\n } else if (\r\n nextStep === 3 &&\r\n String(window?.location?.pathname) === \"/user-profile/billing\"\r\n ) {\r\n history.push(\"/settings\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 1 &&\r\n String(window?.location?.pathname) === \"/settings\"\r\n ) {\r\n history.push(\"/search\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 7 &&\r\n String(window?.location?.pathname) === \"/search\"\r\n ) {\r\n history.push(\"/Leadlist\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 4 &&\r\n String(window?.location?.pathname) === \"/Leadlist\"\r\n ) {\r\n history.push(\"/Sequences/management\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 2 &&\r\n String(window?.location?.pathname) === \"/Sequences/management\"\r\n ) {\r\n history.push(\"/Newsletters/Management\");\r\n intro.current.resume();\r\n } else if (\r\n nextStep === 2 &&\r\n String(window?.location?.pathname) === \"/Newsletters/Management\"\r\n ) {\r\n history.push(\"/Companies-AccountBased\");\r\n intro.current.resume();\r\n } else if (nextStep === 3 && getPath[3] === \"Details\") {\r\n history.push(\"/Companies\");\r\n intro.current.resume();\r\n } else {\r\n setCurrentStep(nextStep);\r\n }\r\n };\r\n\r\n function handleSkipIntro() {\r\n setShowIntro(false);\r\n var chacke = String(localStorage?.getItem(\"hasSeenIntro\"));\r\n localStorage.removeItem(\"hasSeenIntro\");\r\n localStorage.setItem(\r\n \"hasSeenIntro\",\r\n chacke + \"/\" + String(localStorage?.getItem(\"UserEmail\"))\r\n );\r\n // Your code to handle skipping the intro\r\n }\r\n // useEffect(() => {\r\n // const hasSeenIntro = localStorage.getItem('hasSeenIntro');\r\n // if (!hasSeenIntro) {\r\n // setShowIntro(true);\r\n // localStorage.setItem('hasSeenIntro', true);\r\n // }\r\n // }, []);\r\n function onComplete() {\r\n var chacke =String(localStorage?.getItem(\"hasSeenIntro\"));\r\n localStorage.removeItem(\"hasSeenIntro\");\r\n localStorage.setItem('hasSeenIntro', chacke+\"/\"+String(localStorage?.getItem(\"UserEmail\")));\r\n }\r\n\r\n return (\r\n <>\r\n {showIntro && (\r\n <>\r\n {listEmails?.includes(String(localStorage?.getItem(\"UserEmail\")))?\"\": \r\n\r\n {\r\n if (targetElement.classList.contains('introjs-skipbutton')) {\r\n handleSkipIntro();\r\n }\r\n setShowIntro(true);\r\n }}\r\n ref={intro}\r\n />\r\n \r\n } \r\n\r\n \r\n )}\r\n \r\n );\r\n}\r\n","import { persistReducer } from \"redux-persist\";\r\nimport storage from \"redux-persist/lib/storage\";\r\nimport { put, takeLatest } from \"redux-saga/effects\";\r\nimport { getUserByToken } from \"./authCrud\";\r\n\r\nexport const actionTypes = {\r\n Login: \"[Login] Action\",\r\n Logout: \"[Logout] Action\",\r\n Register: \"[Register] Action\",\r\n UserRequested: \"[Request User] Action\",\r\n UserLoaded: \"[Load User] Auth API\",\r\n SetUser: \"[Set User] Action\",\r\n};\r\n\r\nconst initialAuthState = {\r\n user: undefined,\r\n authToken: undefined,\r\n};\r\n\r\nexport const reducer = persistReducer(\r\n { storage, key: \"v713-demo1-auth\", whitelist: [\"user\", \"authToken\"] },\r\n (state = initialAuthState, action) => {\r\n switch (action.type) {\r\n case actionTypes.Login: {\r\n const { authToken } = action.payload;\r\n\r\n return { authToken, user: undefined };\r\n }\r\n\r\n case actionTypes.Register: {\r\n const { authToken } = action.payload;\r\n\r\n return { authToken, user: undefined };\r\n }\r\n\r\n case actionTypes.Logout: {\r\n // TODO: Change this code. Actions in reducer aren't allowed.\r\n return initialAuthState;\r\n }\r\n\r\n case actionTypes.UserLoaded: {\r\n const { user } = action.payload;\r\n return { ...state, user };\r\n }\r\n\r\n case actionTypes.SetUser: {\r\n const { user } = action.payload;\r\n return { ...state, user };\r\n }\r\n\r\n default:\r\n return state;\r\n }\r\n }\r\n);\r\n\r\nexport const actions = {\r\n login: (authToken) => ({ type: actionTypes.Login, payload: { authToken } }),\r\n register: (authToken) => ({\r\n type: actionTypes.Register,\r\n payload: { authToken },\r\n }),\r\n logout: () => ({ type: actionTypes.Logout }),\r\n requestUser: (user) => ({\r\n type: actionTypes.UserRequested,\r\n payload: { user },\r\n }),\r\n fulfillUser: (user) => ({ type: actionTypes.UserLoaded, payload: { user } }),\r\n setUser: (user) => ({ type: actionTypes.SetUser, payload: { user } }),\r\n};\r\n\r\nexport function* saga() {\r\n yield takeLatest(actionTypes.Login, function* loginSaga() {\r\n yield put(actions.requestUser());\r\n });\r\n\r\n yield takeLatest(actionTypes.Register, function* registerSaga() {\r\n yield put(actions.requestUser());\r\n });\r\n\r\n yield takeLatest(actionTypes.UserRequested, function* userRequested() {\r\n const { data: user } = yield getUserByToken();\r\n\r\n yield put(actions.fulfillUser(user));\r\n });\r\n}\r\n"],"sourceRoot":""}