{"version":3,"sources":["webpack:///webpack/runtime/chunk loaded","webpack:///webpack/runtime/create fake namespace object","webpack:///webpack/runtime/load script","webpack:///webpack/runtime/css loading","webpack:///./components/Authenticate/index.js","webpack:///./pages/index.js","webpack:///./app/components/App.js","webpack:///./app/i18n.js","webpack:///./app/index.js","webpack:///./common/components/Checkbox/checkbox.module.scss","webpack:///./common/components/Checkbox/Checkbox.js","webpack:///./common/components/ErrorMessage/errorMessage.module.scss","webpack:///./common/components/ErrorMessage/index.js","webpack:///./common/components/InputField/inputField.module.scss","webpack:///./common/components/InputField/index.js","webpack:///./common/components/DynamicTags/dynamicTags.module.scss","webpack:///./common/components/DynamicTags/DynamicTags.js","webpack:///./common/components/Button/buttons.module.scss","webpack:///./common/components/Button/Buttons.js","webpack:///./common/components/Header/header.module.scss","webpack:///./common/components/Header/Header.js","webpack:///./common/components/Layout/layout.module.scss","webpack:///./common/components/MobileFooter/mobileFooter.module.scss","webpack:///./common/components/MobileFooter/MobileFooter.js","webpack:///./common/components/Layout/Layout.js","webpack:///./common/components/InfiniteScroller/infiniteScroller.module.scss","webpack:///./common/components/InfiniteScroller/InfiniteScroller.js","webpack:///./common/components/Modal/modal.module.scss","webpack:///./common/components/Modal/Modal.js","webpack:///./common/components/Select/select.module.scss","webpack:///./common/components/Select/Select.js","webpack:///./common/components/DateRangeSelector/dateRangeSelector.module.scss","webpack:///./common/components/DateRangeSelector/DateSelector.js","webpack:///./common/components/Notification/notification.module.scss","webpack:///./common/components/Notification/Notification.js","webpack:///./common/style/colors/index.js","webpack:///./common/components/Notification/toast.js","webpack:///./common/components/MobileSideBar/mobileSideBar.module.scss","webpack:///./common/components/MobileSideBar/MobileSideBar.js","webpack:///./common/components/EmptyLayout/emptyLayout.module.scss","webpack:///./common/components/EmptyLayout/EmptyLayout.js","webpack:///./common/components/NoData/NoData.js","webpack:///./common/components/NoDefaultSearch/NoDefaultSearch.js","webpack:///./common/components/Loader/loader.module.scss","webpack:///./common/components/Loader/loader.js","webpack:///./common/components/AdminSideBar/adminSideBar.module.scss","webpack:///./common/components/AdminSideBar/AdminSideBar.js","webpack:///./common/components/AdminLayout/adminLayout.module.scss","webpack:///./common/components/AdminLayout/AdminLayout.js","webpack:///./common/components/Spinner/Spinner.js","webpack:///./common/components/RadioGroup/radioGroup.module.scss","webpack:///./common/components/RadioGroup/index.js","webpack:///./common/components/Alert/alert.module.scss","webpack:///./common/components/Alert/index.js","webpack:///./common/components/Popover/Popover.js","webpack:///./common/components/Charts/BarChart/barChart.module.scss","webpack:///./common/components/Charts/BarChart/BarChart.js","webpack:///./common/components/Charts/StackedBarChart/stackedChart.module.scss","webpack:///./common/components/Charts/StackedBarChart/Bar/bar.module.scss","webpack:///./common/components/Charts/StackedBarChart/Bar/index.js","webpack:///./common/components/Charts/StackedBarChart/StackedBarChart.js","webpack:///./common/components/TimePicker/timePicker.module.scss","webpack:///./common/components/TimePicker/index.js","webpack:///./common/components/Switch/switch.module.scss","webpack:///./common/components/Switch/index.js","webpack:///./common/components/Carousel/carousel.module.scss","webpack:///./common/components/Carousel/Carousel.js","webpack:///./common/components/WordCloud/wordCloud.module.scss","webpack:///./common/components/WordCloud/WordCloud.js","webpack:///./common/constants/app.constants.js","webpack:///./common/constants/app.routes.js","webpack:///./common/constants/api.constants.js","webpack:///./common/utils/api/request.js","webpack:///./common/utils/helpers/commonHelpers.js","webpack:///./common/utils/helpers/authHelpers.js","webpack:///./common/utils/helpers/httpMethods.js","webpack:///./common/utils/helpers/useApiService.js","webpack:///./common/utils/services/configServices.js","webpack:///./common/utils/services/savedSearchService.js","webpack:///./common/utils/services/dashBoardService.js","webpack:///./common/utils/services/loginService.js","webpack:///./common/utils/services/userService.js","webpack:///./common/utils/services/adminServices.js","webpack:///./common/utils/services/accountServices.js","webpack:///./common/utils/services/reportsServices.js","webpack:///./common/validations/validationRules.js","webpack:///./components/DashBoardCard/dashBoardCard.module.scss","webpack:///./components/DashBoardCard/DashBoardCard.js","webpack:///./components/DashBoardCard/CardSkeleton.js","webpack:///./components/DashBoard/SaveSearchPopUp/saveSearchPopUp.module.scss","webpack:///./components/DashBoard/SaveSearchPopUp/SaveSearchPopUp.js","webpack:///./components/DashBoard/MobileTopPanel/mobileTopPanel.module.scss","webpack:///./components/DashBoard/MobileTopPanel/FiltersAndSort/filtersAndSort.module.scss","webpack:///./components/DashBoard/MobileTopPanel/FiltersAndSort/index.js","webpack:///./components/DashBoard/MobileTopPanel/index.js","webpack:///./components/AdvancedSearch/Step1/step1.module.scss","webpack:///./components/AdvancedSearch/Step1/Step1.js","webpack:///./components/AdvancedSearch/Step2/step2.module.scss","webpack:///./components/AdvancedSearch/Step2/Step2.js","webpack:///./components/AdvancedSearch/advancedSearch.module.scss","webpack:///./components/MatchReportSearch/MatchReportSearch.module.scss","webpack:///./components/MatchReportSearch/MatchReportSearch.js","webpack:///./components/AdvancedSearch/index.js","webpack:///./components/Reports/SourceAndWriterReport/sourceAndWriterReport.module.scss","webpack:///./components/Reports/SourceAndWriterReport/SourceAndWriterReport.js","webpack:///./components/Reports/KeyWordReport/keyWordReport.module.scss","webpack:///./components/Reports/KeyWordReport/KeyWordReport.js","webpack:///./components/Reports/SearchReport/searchreport.module.scss","webpack:///./components/Reports/SearchReport/SearchReport.js","webpack:///./components/Reports/SourceReport/sourceReport.module.scss","webpack:///./components/Reports/SourceReport/SourceReport.js","webpack:///./components/Story/story.module.scss","webpack:///./components/DashBoard/StoryItemsTable/storyItemsTable.module.scss","webpack:///./components/DashBoard/StoryItemsTable/StoryItemsTable.js","webpack:///./components/Story/Story.js","webpack:///./components/StorySuccessLoader/storySuccessLoader.module.scss","webpack:///./components/StorySuccessLoader/StorySuccessLoader.js","webpack:///./store/actionTypes/config.actionType.js","webpack:///./store/actionTypes/login.actionType.js","webpack:///./store/actionTypes/search.actionType.js","webpack:///./store/actions/config.action.js","webpack:///./store/actions/login.action.js","webpack:///./store/actions/search.action.js","webpack:///./store/reducers/searchFilters.reducer.js","webpack:///./store/reducers/searchResults.reducer.js","webpack:///./store/reducers/login.reducer.js","webpack:///./store/reducers/config.reducer.js","webpack:///./store/reducers/index.js","webpack:///./store/index.js","webpack:///../node_modules/moment/locale|sync|/^/.*$","webpack:///webpack/bootstrap","webpack:///webpack/runtime/amd define","webpack:///webpack/runtime/amd options","webpack:///webpack/runtime/compat get default export","webpack:///webpack/runtime/define property getters","webpack:///webpack/runtime/ensure chunk","webpack:///webpack/runtime/get javascript chunk filename","webpack:///webpack/runtime/get mini-css chunk filename","webpack:///webpack/runtime/global","webpack:///webpack/runtime/harmony module decorator","webpack:///webpack/runtime/hasOwnProperty shorthand","webpack:///webpack/runtime/make namespace object","webpack:///webpack/runtime/node module decorator","webpack:///webpack/runtime/publicPath","webpack:///webpack/runtime/jsonp chunk loading","webpack:///webpack/startup"],"names":["deferred","leafPrototypes","getProto","inProgress","loadStylesheet","installedCssChunks","dispatch","useDispatch","profile","useSelector","state","login","useApiService","LoginServices","isFetchMeSuccess","loading","isSuccess","fetchMeResponse","data","isMeError","isError","meError","error","fetchMeService","callService","resetFetchMeServiceState","resetServiceState","useEffect","token","setUser","logout","console","log","timeout","enabled","callback","Login","React","NotFound404","DefaultLayout","LoginRoute","Component","component","isLoggedIn","rest","render","props","to","AppRoutes","checkUserLoggedIn","then","user","fallback","path","exact","i18n","initReactI18next","init","lng","fallbackLng","debug","resources","en","common","page404","nav","AppTitle","search","results","test","namespace2","key","he","hello","heading","label1","label2","label3","label4","showPassword","hidePassword","forgotMyPass","btnLogin","oops","lockedOut","btnUnlock","request","sentSuccessfully","requestReceived","willSend","connect","click","gotIt","userNotFound","forgot","restoreHere","restore","restoreMessage","restoreSent","toYourMail","didNotReceive","resend","almostThere","addOtp","addReceivedOtp","didNotReceiveOtp","resendSuccessful","btnOtp","oneMinute","resetPassword","password","repeatPassword","noPasswordMatch","dashboard","searchPlaceholder","editSearchText","emptyHeading","emptySubHeading1","emptySubHeading2","button","addToSaveText","inputFieldLabel","checkboxLabel","saveButtonText","sortHeading","heartText","allText","appropriateResultsText","selectPlaceholder","clearFilterText","applyFiltersBtn","saveNotAllowed","exportNotAllowed","exportExcelLoadingText","downloadingText","title","keywordFetchError","noDefaultSearch","subHeading1","subHeading2","noOSearch","noData","tab","ifat","accountDetails","mySearches","controlPanel","welcome","welcomeAgain","savedSearches","saved","history","searchDeleted","cancel","toSearch","deletedSearch","deletionError","updatedAlert","updatedCLS","updatedDefault","updateError","extraText","rename","renameError","save","alertsNotAllowed","customerSearches","advancedSearch","list","searchTags","subTitle","text1","subText1","text2","subText2","nextBtn","text3","subText3","text4","subText4","text5","subText5","showAll","searchBtn","prevBtn","fromDate","toDate","noSourceText","noDynamicDateTypeError","zeroLengthOrAndSourcesError","sortAndFilterText","topKeywords","showMoreText","showLess","matchReport","mobile","home","mobileSideBar","info","account","accountTitle","details","emailAlerts","smsAlerts","emailLabel","changeUserLabel","editTitle","firstName","surName","department","jobTitle","employeeNum","phoneNum","saveChanges","passwordLabel","password1","password2","changePassword","addName","addNumber","addPhone","passwordTooLong","savedToast","passwordToast","adminText","generalAlerts","active","inactive","addNew","timingLabel","realTime","custom","badEmail","badPhone","searchFields","index","source","publishDate","hour","subSource","writer","sentiment","link","reports","exportAndPrint","resetBtn","keyWords","leadingWord","adminDashboard","userAdd","groupEdit","filter","newUsers","adminUserColumns","status","email","userInformation","authGroup","recent","actions","activeText","blockedText","adminGroups","groupAdd","filterPerm","export","groupItemTitle","newGroup","permissions","editBtnText","nameMissing","adminHistory","sort","adminLogs","adminGroupColumns","groupName","users","activityReportColumns","select","date","sources","range","keywords","seeAll","permissionsColumns","name","edit","searchHistoryColumns","includes","notIncludes","searchLogColumns","actionName","actionValue","adminSideBar","userInterface","permissionGroups","searchHistory","records","usersEditPopup","dropdownLabel","dropdownPlaceholder","radioLabel","radioOption1","radioOption2","selectLabel","selectOption","adminUsersTotal","totalUsers","totalGroups","totalBlockedUsers","addEditUser","subHeading","lastName","platoon","role","workerNumber","phone","dialCode","selectText","viewText","addBtn","editUserHeading","editEmail","editBtn","setUserSuccessToast","setUserErrorToast","deletedSuccess","deltedError","passwordResetSuccess","passwordResetError","editUsersInBulkPopup","obstruction","deletion","deleteAllText","dynamicTags","addBtnText","alertSchedular","customAlert1","customAlert2","everyDayAlertText","saturdayAndHolidayText","saveBtn","story","interpolation","escapeValue","App","require","store","document","getElementById","label","value","onChange","labelClassName","checkmarkClassName","className","styles","type","checked","overrideClassName","InputField","classNames","fieldName","rules","onKeyDown","register","inputOverideClassName","style","push","join","PhoneField","containerOverrideClassName","defaultProps","options","setOptions","containerOverideClassName","optionTagOverideClassName","operationName","buttonText","placeholder","t","useTranslation","useState","input","setInput","onAddBtnClick","inputs","split","newOptions","i","length","trim","e","target","onKeyUp","keyCode","onClick","map","option","OperationsEnum","stopPropagation","optionIndex","onDeleteIconClick","textDecoration","Button","text","icon","selectedTab","setSelectedTab","showSearchModal","setShowSearchModal","showSideBarModal","setShowSideBarModal","welcomeMessage","setWelcomeMessage","useHistory","location","tabs","insProductID","pathName","pathname","message","show","closeModal","modalContentClassname","closeSearchModal","closeBtnStyle","right","left","MobileSideBar","src","Logo","alt","Search","item","selected","User","cursor","fullName","Menu","setSelected","icons","MobileHomeSelected","default","MobileHome","MobileSaveSelected","MobileSave","MobileHistorySelected","MobileHistory","MobileProfileSelected","MobileProfile","handleClick","opacity","children","hideRightPanel","topPanel","contentWidth","width","service","totalData","reqParams","reqBody","setData","hasMore","pageCount","propsLoading","propsSetLoading","setLoading","useWindow","fetchResponse","fetchService","initialLoad","loadMore","pageNum","Math","ceil","setHasMore","pageStart","modalOverrideStyle","showHideClassName","modalRef","useRef","window","addEventListener","htmlTag","getElementsByTagName","classList","add","removeEventListener","remove","current","contains","ref","Select","allOptions","selectedKey","selectedSubOptions","propsOnSelect","onSelect","propsOnDeselect","onDeselect","overideClassName","overRideSelectBoxClassName","singleSelectClassName","isDropDownOpen","setIsDropDownOpen","searchText","setSearchText","activeIndexOnKeyUpDown","setActiveIndexOnKeyUpDown","selectBoxRef","handleOutsideClick","newIndex","id","elem","scrollIntoView","block","tabIndex","find","matchingOptGroup","subOptions","some","toLowerCase","startsWith","isEqual","subOption","onSubOptionCheckboxValueChange","onOptionClick","onMouseOver","control","field","registerLocale","propsOnChange","startDate","beginningDate","endDate","endingDate","selectsStart","selectsEnd","disabled","datePickerClassName","isOpen","setIsOpen","datePickerRef","returnDateString","locale","convertToDateInsatnce","changeToUTCFormat","onClickOutside","parentNode","maxDate","Date","inline","toastClassName","bodyClassName","progressClassName","position","autoClose","hideProgressBar","newestOnTop","closeOnClick","rtl","pauseOnFocusLoss","draggable","pauseOnHover","TOAST_ICONS","success","color","warning","MessageWithIcon","openNotification","toast","allowAlerts","setAllowAlerts","menu","MobileHomeSideBarSelected","MobileHomeSideBar","ProfileSideBarSelected","ProfileSideBar","MailSideBarSelected","MailSideBar","VibrateSideBarSelected","VibrateSideBar","LogoutSideBar","allowAlert","checkPermission","Permissions","useLocation","showSearchReportModal","setShowSearchReportModal","isReportsPath","isMatchReportPath","list1","orText","firstWordList","list2","secondWordList","NoData","translation","NoDefaultSearch","closeEditForm","setActiveText","normal","AdminUsers","AdminUsersSelected","AdminPermissions","AdminPermissionsSelected","AdminHistory","AdminHistorySelected","AdminRecords","AdminRecordsSelected","AdminLogout","Divider","action","height","radioItems","fieldValue","horizontal","onClose","time","setTimeout","content","containerStyles","isPopoverOpen","setIsPopoverOpen","onMouseEnter","onMouseLeave","Popover","containerStyle","zIndex","positions","CustomizedTooltip","showToolTip","payload","count","VerticalBarChart","dataKey","fetchReports","currentReportFilter","useDimensions","focusBar","setFocusBar","setShowToolTip","currentSlideIndex","setCurrentSlideIndex","totalSlides","setTotalSlides","maxBarsInView","CustomAxisTick","x","y","activeLabelIndex","dy","textAnchor","fontSize","fill","fontWeight","getHebrewWeekDay","getDateReports","ResponsiveContainer","BarChart","subarray","getCurrentSlideData","barGap","CartesianGrid","vertical","stroke","colors","XAxis","tick","interval","reversed","YAxis","dx","orientation","tickCount","axisLine","Tooltip","Bar","barSize","radius","val","mouseEnterOnBar","entry","Cell","clickedBar","params","dDay","yyyymmdd","Week","Month","m","onBarClick","total","popoverFromRight","isHovered","setIsHovered","StackedBarChart","sentimentData","useMemo","transformSentimentsData","max","returnMax","calculateRangeObject","min","upperRange","returnRangeArray","arr","returnSentiment","returnPopoverFromRight","sum","percentageToLeave","returnTransFormX","strValue","toString","Positive","Neutral","Negative","positive","neutral","negative","marginBottom","transform","minTime","maxTime","excludeTime","setStartDate","returnTime","setHours","setMinutes","parseInt","minutes","convertToDateInstance","wrapperClassName","showTimeSelect","showTimeSelectOnly","timeIntervals","timeCaption","dateFormat","timeFormat","placeholderText","dataToShow","setDataToShow","animation","setAnimation","indexRef","skipIndex","slice","empty","pointerEvents","words","enableTooltip","deterministic","fontFamily","fontSizes","fontStyle","padding","rotations","rotationAngles","scale","spiral","transitionDuration","random","SOCIAL_MEDIA_ICON","1","Blog","2","Forum","3","TalkBack","4","Twitter","5","Facebook","6","7","Youtube","8","BlogComments","10","Internet","11","Instagram","15","Tiktok","16","InstagramStory","17","Telegram","SOCIAL_MEDIA_COMMENT_ICON","TwitterComment","FacebookComment","YoutubeComment","InstagramComment","sourceColors","sourceReportColors","בלוג","פורום","טוויטר","פייסבוק","יוטיוב","אינסטגרם","forum","twitter","facebook","youTube","tiktok","instagram","טיקטוק","טלגרם","sourceHebrewMapping","dynamicDateTypes","initialSearchFiltersValue","searchID","andText","notText","subSources","dynamicDateType","searchType","generalError","userType","admin","standard","userStatus","new","deleted","locked","OR","AND","NOT","searchColumns","storyColumns","usersColumns","activityHistoryColumns","hebrewWeekdayMapping","0","groupsColumns","notificationText","updateSuccess","savedSuccess","exportError","addSuccess","noReports","saveSearchToExportExcel","fetchStories","sortOptions","reportOptions","Sentiments","img","NegativeSentiment","PositiveSentiment","NeutralSentiment","saveSearch","alerts","reportTypes","initialReports","sourceAndWriterReport","sourceReport","keyWordReport","sentimentReport","dayReport","weekReport","monthReport","initialFetchReportsParams","iSource","Writer","LOGIN","DASHBOARD","REPORTS","MATCH_REPORTS","SAVED_SEARCHES","CUSTOMER_SAVED_SEARCHES","SEARCH_HISTORY","ACCOUNT","NOT_FOUND","ADMIN_DASHBOARD","ADMIN_GROUPS","ADMIN_HISTORY","ADMIN_LOGS","ApiUrls","RELEASE","RESTORE","CHANGE_PASSWORD","CHECK_OTP","GET_NEW_AUTHCODE","USER","SET_USER","SET_PASSWORD","SET_USER_STATUS","GET_ALERTS","SET_SMS_ALERTS","SET_EMAIL_ALERTS","ME","GET_ALL_SOURCES","GET_DEFAULT_SEARCH","SEARCH_RESULTS","ADD_SEARCH","UPDATE_SEARCH","EXPORT_EXCEL","GET_STORIES","ADD_ITEM_LOG","GET_KEYWORDS","GET_TOTAL_ROWS","SAVED_SEARCH_RESULTS","SAVED_SEARCH_HISTORY","SET_ALERT","SET_DEFAULT","DELETE_SEARCH","RENAME_SEARCH","UPDATE_CLS","CUSTOMER_SAVED_SEARCH_RESULTS","GET_REPORTS","GET_MATCH_REPORT","SEARCH_REPORT","GET_KEY_WORD_REPORT","ADMIN","GET_USERS","GET_USERS_TOTAL","ADD_USER","EDIT_USER","BULK_EDIT","DEL_USER","GET_USER_SEARCHES","RESET_PASSWORD","GET_GROUPS","GET_AUTHS","ADD_GROUP","EDIT_GROUP","EXPORT_GROUPS","GET_SEARCH_HISTORY","EXPORT_SEARCHES","GET_USAGE_LOG","EXPORT_LOGS","EXPORT_EDIT_SEARCH","GET_USER_SMS_ALERTS","GET_USER_MAIL_ALERTS","SAVE_USER_SMS_ALERTS","SAVE_USER_MAIL_ALERTS","servicesAccessibleWithoutToken","Object","values","axiosInst","axios","baseURL","process","interceptors","use","requestConfig","isApiAccessibleWithoutToken","url","headers","Authorization","getUser","Promise","reject","response","isTokenExpired","makeMultipleRequests","reqParamsArray","promiseArray","promise","all","res","makeRequestGenerator","makeRequest","onSuccess","onError","throwErrorOnFailure","cancelToken","getListQueryParams","searchParams","queryString","keys","forEach","JSON","stringify","encodeURIComponent","getQueryParams","getDate","moment","utc","format","day","getDay","hhmm1","getDateTimeFormat","hhmm2","formattedDate","fetchSearchResults","searchFilters","isNewSearch","updateCLS","promises","scrollTo","fetchSearchResultsReqBody","omit","fetchSearchResultsReqParams","DashboardServices","freeText","getTotalRows","fetchSearchResultsResponse","get","getTotalRowsResponse","saveSearchFilters","setSearchResults","posts","oPosts","totalRows","totalComments","totalLikes","totalShares","showCLS","getDynamicDateTypeString","numberWithCommas","replace","sentimentsData","obj","sentiments","getDimensions","innerWidth","innerHeight","dimensions","setDimensions","handle","rows","str","firstTwo","substr","maximumRange","pow","validateSearchParams","requestedFilter","checkIsValidEndTime","from","parse","localStorage","getItem","setItem","removeItem","logoutAction","errors","getAllSources","ConfigServices","getAllSourcesResponse","setSources","requestUrl","requestUrlWithoutQueryString","checkIsAdminUser","permission","perm","auths","auth","authTypeID","authTypeValue","POST","GET","PUT","DELETE","initialState","undefined","ACTIONS","reducer","useReducer","sourceRef","useCallback","extraInputs","cancelService","method","HttpMethods","getSavedSearches","queryParams","getCustomerSavedSearches","getHistory","setAlert","setDefault","deleteSearch","renameSavedSearch","getDefaultSearch","getSearchResults","addSearch","updateSearch","exportExcel","addItemLog","getKeyWords","releaseRequest","restoreRequest","checkOtpStatus","getNewAuthCode","me","setPassword","setUserStatus","getUserAlerts","setSmsAlerts","setEmailAlerts","getUsersList","getUsersTotal","addUser","editUser","deleteUser","getGroupsList","getAuthsList","addGroup","editGroup","exportGroups","getSearchHistory","bulkEdit","getUserSearches","exportSearches","getUsageLog","exportLogs","exportEditSearches","getUserAlertSMS","getUserAlertMail","saveUserAlertsSMS","saveUserAlertsMail","getReports","getMatchReports","getReportSearchResults","getKeyWordReport","Regex","Password","PersonName","Mobile","Email","requiredRuleForInputField","required","validationRules","pattern","minLength","contactNumber","maxLength","userGroupID","searchName","SOURCES","isComment","returnSocialIcon","isSocialMedia","req","open","Clock","userLinkTypeID","fulltext","dangerouslySetInnerHTML","__html","substring","likeCount","commentCount","shareCount","Like","Message","Share","circle","marginTop","setAddSearchLoading","isMobile","alert","saveSearchPopupRef","useForm","mode","defaultValues","saveAsDefaultSearch","handleSubmit","formState","useWatch","handler","event","addSearchLoading","isAddSearchSuccess","addSearchResponse","isAddSearchError","addSearchError","addSearchService","resetAddSearchServiceState","searchId","toggleCheckboxState","DefaultSearch","searchResults","config","selectedFilters","setSelectedFilters","selectAll","setSelectAll","errorMessage","setErrorMessage","showMoreKeywords","setShowMoreKeywords","getKeywordFilterActiveClassName","keyWordID","findIndex","keyword","applySearch","toggleShowMoreKeywords","getKeywords","indexOf","splice","keyWordeName","sourceID","sourceId","onSourceBtnClick","sourceName","editSearchService","isSearchFilterUpdated","isSaveSearchPopUpOpen","setIsSaveSearchPopUpOpen","isFiltersAndSortModalOpen","setIsFiltersAndSortModalOpen","fetchSearchResultsLoading","closeSaveSearchModal","closeFiltersAndSortModal","changeStep","setSearchFilters","setError","onDynamicDateTypeSelect","onFromDateChange","onToDateChange","OpenMatchReportSearch","isDefaultSearch","onSearchBtnClick","setStories","ind","allSources","setSubSources","showTitle","customStyle","isPartOfAdvancedSearch","defaultSearchFilters","updatedSearchFilter","reportsSearchFilters","setReportsSearchFilters","disableGetMatchReportsBtn","prev","onSearch","step","setStep","labels","SourceAndWriterReport","sourceAndWriterReportData","handleOutSideClick","setShowAll","onWriterClick","returnRow","word","counter","KeyWordReport","wordList","isMatchReport","setTab","changeTab","tabName","ReportsServices","keyWordsError","keyWordsService","resetkeyWordsServiceState","week","month","columnBreakIndex","tabItem","display","placeItems","idx","NoDataContainer","EmptyBox","setRows","setPosts","totalRowsRef","newParams","reportsServices","result","fetchReportSearch","rowColumn","column","newPosts","bool","idxx","backgroundColor","marginRight","textAlign","SourceReport","activeIndex","setActiveIndex","setTotal","totalValue","reduce","acc","removeToolTip","PieChart","Pie","cx","cy","innerRadius","outerRadius","paddingAngle","_","activeShape","RADIAN","PI","midAngle","startAngle","endAngle","sin","cos","letterSpacing","Sector","isPopupOpen","setIsPopupOpen","itemCount","storyName","marginLeft","top","storyItems","visible","setVisible","scrollY","SET_SOURCES","RESET","SET_KEYWORDS","LOGOUT","SET_SEARCH_FILTERS","SET_SEARCH_RESULTS","SET_LOADING","SET_SEARCH_TEXT","SET_HAS_MORE","SET_STORIES","setKeywords","checkOtp","reset","stories","allReducers","combineReducers","otpStatus","middlewares","thunk","createStore","compose","applyMiddleware","webpackContext","webpackContextResolve","__webpack_require__","o","Error","code","resolve","module","exports","__webpack_module_cache__","moduleId","cachedModule","loaded","__webpack_modules__","call","amdD","amdO","O","chunkIds","fn","priority","notFulfilled","Infinity","fulfilled","j","every","n","getter","__esModule","d","a","getPrototypeOf","this","ns","create","r","def","getOwnPropertyNames","definition","defineProperty","enumerable","f","chunkId","u","miniCssF","g","globalThis","Function","hmd","set","prop","prototype","hasOwnProperty","l","done","script","needAttach","scripts","s","getAttribute","createElement","charset","nc","setAttribute","onScriptComplete","onerror","onload","clearTimeout","doneFns","removeChild","bind","head","appendChild","Symbol","toStringTag","nmd","paths","p","href","fullhref","existingLinkTags","dataHref","tag","rel","existingStyleTags","findStylesheet","linkTag","errorType","realHref","err","createStylesheet","179","miniCss","installedChunks","installedChunkData","realSrc","webpackJsonpCallback","parentChunkLoadingFunction","moreModules","runtime","chunkLoadingGlobal","self","__webpack_exports__"],"mappings":"UAAIA,ECCAC,EADAC,ECAAC,ECyCAC,EASAC,E,gMCaJ,QAvDqB,SAAC,IAAO,UAC3B,IAAMC,GAAWC,UACTC,GAAYC,SAAY,SAACC,GAAD,OAAWA,EAAMC,SAAzCH,QAER,GAUII,QAAcC,SAVlB,IACEH,MAEaI,GAHf,EAEIC,QAFJ,EAGIC,WACMC,EAJV,EAIIC,KACSC,EALb,EAKIC,QACOC,EANX,EAMIC,MAEWC,EARf,EAQEC,YACmBC,EATrB,EASEC,kBAiCF,OAxBAC,gBAAU,WACJb,GAAoBG,IACRA,EAAgBW,OAG5BtB,GAASK,QAAMM,KAEfY,QAAQZ,KAERa,aAKH,CAAChB,EAAkBG,KAEtBU,gB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,EAAEqF,I","file":"main.7528dff0f4bf4f6439dc.bundle.js","sourcesContent":["var deferred = [];\n__webpack_require__.O = (result, chunkIds, fn, priority) => {\n\tif(chunkIds) {\n\t\tpriority = priority || 0;\n\t\tfor(var i = deferred.length; i > 0 && deferred[i - 1][2] > priority; i--) deferred[i] = deferred[i - 1];\n\t\tdeferred[i] = [chunkIds, fn, priority];\n\t\treturn;\n\t}\n\tvar notFulfilled = Infinity;\n\tfor (var i = 0; i < deferred.length; i++) {\n\t\tvar [chunkIds, fn, priority] = deferred[i];\n\t\tvar fulfilled = true;\n\t\tfor (var j = 0; j < chunkIds.length; j++) {\n\t\t\tif ((priority & 1 === 0 || notFulfilled >= priority) && Object.keys(__webpack_require__.O).every((key) => (__webpack_require__.O[key](chunkIds[j])))) {\n\t\t\t\tchunkIds.splice(j--, 1);\n\t\t\t} else {\n\t\t\t\tfulfilled = false;\n\t\t\t\tif(priority < notFulfilled) notFulfilled = priority;\n\t\t\t}\n\t\t}\n\t\tif(fulfilled) {\n\t\t\tdeferred.splice(i--, 1)\n\t\t\tresult = fn();\n\t\t}\n\t}\n\treturn result;\n};","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\n// data-webpack is not used as build has no uniqueName\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t}\n\t;\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","var createStylesheet = (chunkId, fullhref, resolve, reject) => {\n\tvar linkTag = document.createElement(\"link\");\n\n\tlinkTag.rel = \"stylesheet\";\n\tlinkTag.type = \"text/css\";\n\tvar onLinkComplete = (event) => {\n\t\t// avoid mem leaks.\n\t\tlinkTag.onerror = linkTag.onload = null;\n\t\tif (event.type === 'load') {\n\t\t\tresolve();\n\t\t} else {\n\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\tvar realHref = event && event.target && event.target.href || fullhref;\n\t\t\tvar err = new Error(\"Loading CSS chunk \" + chunkId + \" failed.\\n(\" + realHref + \")\");\n\t\t\terr.code = \"CSS_CHUNK_LOAD_FAILED\";\n\t\t\terr.type = errorType;\n\t\t\terr.request = realHref;\n\t\t\tlinkTag.parentNode.removeChild(linkTag)\n\t\t\treject(err);\n\t\t}\n\t}\n\tlinkTag.onerror = linkTag.onload = onLinkComplete;\n\tlinkTag.href = fullhref;\n\n\tdocument.head.appendChild(linkTag);\n\treturn linkTag;\n};\nvar findStylesheet = (href, fullhref) => {\n\tvar existingLinkTags = document.getElementsByTagName(\"link\");\n\tfor(var i = 0; i < existingLinkTags.length; i++) {\n\t\tvar tag = existingLinkTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\") || tag.getAttribute(\"href\");\n\t\tif(tag.rel === \"stylesheet\" && (dataHref === href || dataHref === fullhref)) return tag;\n\t}\n\tvar existingStyleTags = document.getElementsByTagName(\"style\");\n\tfor(var i = 0; i < existingStyleTags.length; i++) {\n\t\tvar tag = existingStyleTags[i];\n\t\tvar dataHref = tag.getAttribute(\"data-href\");\n\t\tif(dataHref === href || dataHref === fullhref) return tag;\n\t}\n};\nvar loadStylesheet = (chunkId) => {\n\treturn new Promise((resolve, reject) => {\n\t\tvar href = __webpack_require__.miniCssF(chunkId);\n\t\tvar fullhref = __webpack_require__.p + href;\n\t\tif(findStylesheet(href, fullhref)) return resolve();\n\t\tcreateStylesheet(chunkId, fullhref, resolve, reject);\n\t});\n}\n// object to store loaded CSS chunks\nvar installedCssChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.miniCss = (chunkId, promises) => {\n\tvar cssChunks = {\"70\":1,\"95\":1,\"458\":1,\"520\":1,\"582\":1,\"620\":1,\"692\":1,\"716\":1,\"725\":1,\"733\":1,\"744\":1,\"870\":1};\n\tif(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);\n\telse if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {\n\t\tpromises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(() => {\n\t\t\tinstalledCssChunks[chunkId] = 0;\n\t\t}, (e) => {\n\t\t\tdelete installedCssChunks[chunkId];\n\t\t\tthrow e;\n\t\t}));\n\t}\n};\n\n// no hmr","import React, { useEffect } from \"react\";\r\nimport { useSelector, useDispatch } from \"react-redux\";\r\nimport { useApiService, logout } from \"common/utils/helpers\";\r\nimport { LoginServices } from \"common/utils/services\";\r\nimport { login } from \"store/actions\";\r\nimport ReactInterval from \"react-interval\";\r\nimport { setUser } from \"../../common/utils/helpers\";\r\n\r\nconst Authenticate = ({}) => {\r\n const dispatch = useDispatch();\r\n const { profile } = useSelector((state) => state.login);\r\n\r\n const {\r\n state: {\r\n loading: fetchMeLoading,\r\n isSuccess: isFetchMeSuccess,\r\n data: fetchMeResponse,\r\n isError: isMeError,\r\n error: meError,\r\n },\r\n callService: fetchMeService,\r\n resetServiceState: resetFetchMeServiceState,\r\n } = useApiService(LoginServices.me);\r\n\r\n const validate = () => {\r\n if (profile && profile.token) {\r\n fetchMeService();\r\n }\r\n };\r\n \r\n useEffect(() => {\r\n if (isFetchMeSuccess && fetchMeResponse) {\r\n const token = fetchMeResponse.token;\r\n if (token) {\r\n //refresh state user\r\n dispatch(login(fetchMeResponse));\r\n //refresh localStorage \r\n setUser(fetchMeResponse)\r\n } else {\r\n logout();\r\n }\r\n // } else {\r\n // logout();\r\n }\r\n }, [isFetchMeSuccess, fetchMeResponse]);\r\n\r\n useEffect(() => {\r\n if (isMeError) {\r\n console.log('error', meError)\r\n resetFetchMeServiceState()\r\n logout()\r\n }\r\n }, [isMeError, meError])\r\n \r\n return <>\r\n validate()}\r\n />\r\n \r\n}\r\n\r\nexport default Authenticate;\r\n","import React, { useEffect } from \"react\";\r\nimport { Redirect, Route, Switch } from \"react-router-dom\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { checkUserLoggedIn } from \"common/utils/helpers\";\r\nimport { login } from \"store/actions\";\r\nimport { AppRoutes } from \"common/constants\";\r\nimport { Loader } from \"common/components\";\r\nimport Authenticate from \"components/Authenticate\";\r\n\r\nconst Login = React.lazy(() => import(\"pages/Login\"));\r\n//const UserLocked = React.lazy(() => import(\"pages/Login/UserLocked\"));\r\n//const Restore = React.lazy(() => import(\"pages/Login/Restore\"));\r\n//const CheckOtp = React.lazy(() => import(\"pages/Login/CheckOtp\"));\r\nconst NotFound404 = React.lazy(() => import(\"pages/notFound404\"));\r\nconst DefaultLayout = React.lazy(() => import(\"containers/DefaultLayout\"));\r\n\r\nconst LoginRoute = ({ component: Component, isLoggedIn, ...rest }) => {\r\n return (\r\n {\r\n if (isLoggedIn) {\r\n return ;\r\n } else {\r\n return ;\r\n }\r\n }}\r\n />\r\n );\r\n};\r\n\r\nconst Pages = ({}) => {\r\n const { profile } = useSelector((state) => state.login);\r\n let isLoggedIn = profile ? profile.token : false;\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n checkUserLoggedIn().then((user) => {\r\n dispatch(login(user));\r\n });\r\n }, [dispatch]);\r\n\r\n return (\r\n }>\r\n \r\n \r\n {profile === null && }\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 Pages;\r\n","import React from \"react\";\r\nimport Pages from \"pages\";\r\nimport { BrowserRouter } from \"react-router-dom\";\r\n\r\nconst App = () => {\r\n return (\r\n \r\n \r\n \r\n );\r\n};\r\nexport default App;\r\n","import i18n from \"i18next\";\r\nimport { initReactI18next } from \"react-i18next\";\r\n\r\n//import Backend from 'i18next-xhr-backend'\r\n//import LanguageDetector from 'i18next-browser-languagedetector'\r\n// not like to use this?\r\n// have a look at the Quick start guide\r\n// for passing in lng and translations on init\r\n\r\ni18n\r\n // load translation using xhr -> see /public/locales (i.e. https://github.com/i18next/react-i18next/tree/master/example/react/public/locales)\r\n // learn more: https://github.com/i18next/i18next-xhr-backend\r\n //.use(Backend)\r\n // detect user language\r\n // learn more: https://github.com/i18next/i18next-browser-languageDetector\r\n //.use(LanguageDetector)\r\n // pass the i18n instance to react-i18next.\r\n .use(initReactI18next)\r\n // init i18next\r\n // for all options read: https://www.i18next.com/overview/configuration-options\r\n .init({\r\n lng: \"he\",\r\n fallbackLng: \"en\",\r\n debug: true,\r\n resources: {\r\n en: {\r\n common: {\r\n page404: \"Page not found\"\r\n },\r\n nav: {\r\n AppTitle: \"New Site\",\r\n search: \"Search\",\r\n results: \"Results\",\r\n test: \"Test\"\r\n },\r\n namespace2: {\r\n key: \"hello from namespace 2\"\r\n }\r\n },\r\n he: {\r\n common: {\r\n page404: \"העמוד לא נמצא\"\r\n },\r\n nav: {\r\n AppTitle: \"אתר חדש\",\r\n search: \"חיפוש\",\r\n results: \"תוצאות\",\r\n test: \"טסט\"\r\n },\r\n namespace2: {\r\n key: \"שלום 2\"\r\n },\r\n login: {\r\n hello: \"שלום.\",\r\n heading: \"כאן מתחברים\",\r\n label1: \"שם משתמש / כתובת דוא'ל\",\r\n label2: \"סיסמה\",\r\n label3: \"שם משתמש\",\r\n label4: \"כתובת דוא'ל\",\r\n showPassword: \"הצגת סיסמה\",\r\n hidePassword: \"הסתרת סיסמה\",\r\n forgotMyPass: \"שכחתי את הסיסמה שלי\",\r\n btnLogin: \"כניסה\",\r\n oops: \"אופס...\",\r\n lockedOut: \"נשארתם בחוץ\",\r\n btnUnlock: \"הגשת בקשה\",\r\n request: \"הבקשה\",\r\n sentSuccessfully: \"נשלחה בהצלחה!\",\r\n requestReceived: \"מנהל המערכת קיבל את פנייתך.\",\r\n willSend: \"הודעה עם כלל הפרטים תישלח אליכם\",\r\n connect: \"ליצירת קשר עם מנהל המערכת\",\r\n click: \"יש ללחוץ כאן\",\r\n gotIt: \"תודה, הבנתי\",\r\n userNotFound: \"לא נמצא משתמש מחובר לכתובת מייל זו\",\r\n forgot: \"שכחתם?\",\r\n restoreHere: \"כאן משחזרים\",\r\n restore: \"שחזור סיסמה\",\r\n restoreMessage: \"ההודעה\",\r\n restoreSent: \"הודעת עם קישור לאיפוס פרטיכם נשלחה\",\r\n toYourMail: 'אל תיבת הדוא\"ל שלכם',\r\n didNotReceive: \"לא קיבלת את ההודעה?\",\r\n resend: \"לחצו כאן לשליחה הודעה חוזרת\",\r\n almostThere: \"כמעט שם,\",\r\n addOtp: \"הזינו קוד אימות\",\r\n addReceivedOtp: \"יש להזין את הקוד שקיבלת בהודעת SMS\",\r\n didNotReceiveOtp: \"לא קיבלתי SMS, שלחו לי שוב\",\r\n resendSuccessful: \"הקוד נשלח בהצלחה\",\r\n btnOtp: \"ביצוע אימות\",\r\n oneMinute: \"עוד רגע...\",\r\n resetPassword: \"יש לאפס סיסמה\",\r\n password: \"בחר סיסמה\",\r\n repeatPassword: \"הזנת הסיסמה שוב\",\r\n noPasswordMatch: \"יש להזין סיסמה ולאמת אותה, בדקו אם הסיסמאות תואמות\"\r\n },\r\n dashboard: {\r\n searchPlaceholder: \"חיפוש...\",\r\n editSearchText: \"עריכת חיפוש\",\r\n emptyHeading: \"עדיין לא קבעת את עמוד הבית שלך\",\r\n emptySubHeading1: \"על מנת לקבוע עמוד בית, יש לבצע חיפוש, ללחוץ על\",\r\n emptySubHeading2: \"כפתור שמירת החיפוש ולבחור בעמוד הבית\",\r\n button: \"חיפוש חדש\",\r\n addToSaveText: \"הוספה לשמורים\",\r\n inputFieldLabel: \"בחירת שם החיפוש\",\r\n checkboxLabel: \"קביעת חיפוש לעמוד הראשי\",\r\n saveButtonText: \"שמירה\",\r\n sortHeading: \"סדר תוצאות לפי\",\r\n heartText: \"ניטראלי\",\r\n allText: \"הצג הכל\",\r\n appropriateResultsText: \"תוצאות מתאימות\",\r\n selectPlaceholder: \"בחר דוחות\",\r\n clearFilterText: \"נקה הכל\",\r\n applyFiltersBtn: \"החל מסננים\",\r\n saveNotAllowed: \"אין הרשאה לשמירת חיפוש, פנה למנהל מערכת\",\r\n exportNotAllowed: \"אין הרשאה לייצוא, פנה למנהל מערכת\",\r\n exportExcelLoadingText: \"מייצא ...\",\r\n downloadingText: \"מוריד ...\",\r\n title: \"כל התוצאות\",\r\n keywordFetchError: \"לא מצליח להביא מילות מפתח\",\r\n },\r\n noDefaultSearch: {\r\n heading: \"עדיין לא קבעת את עמוד הבית שלך\",\r\n subHeading1: \"להגדרת דף בית, בצע חיפוש ולחץ\",\r\n subHeading2: \"כפתור שמור חיפוש ובחר את דף הבית\",\r\n button: \"חיפוש חדש\"\r\n },\r\n noOSearch: {\r\n heading: \"עדיין לא בחרת חיפוש\",\r\n subHeading1: \"כדי לקבל את הדוחות\",\r\n subHeading2: \"עבור אל לוח המחוונים ולחץ על הדוחות\",\r\n button: \"עבור אל לוח המחוונים\"\r\n },\r\n noData: {\r\n heading: \"לצערנו לא מצאנו תוצאות מתאימות\",\r\n subHeading1: \"המערכת לא מצאה תוצאות תואמות למונחי החיפוש שלך\",\r\n subHeading2: \"יש לבצע חיפוש חדש עם מונחים חדשים\",\r\n button: \"חיפוש חדש\"\r\n },\r\n tab: {\r\n ifat: \"מקבוצת יפעת\",\r\n accountDetails: \"פרטי חשבון\",\r\n mySearches: \"החיפושים שלי\",\r\n controlPanel: \"לוח בקרה\",\r\n welcome: \"ברוך הבא\",\r\n welcomeAgain: \"כיף שחזרת אלינו\"\r\n },\r\n savedSearches: {\r\n title: \"החיפושים שלי\",\r\n saved: \"רשימת המועדפים שלי\",\r\n history: \"היסטורית חיפושים\",\r\n searchDeleted: \"החיפוש נמחק בהצלחה\",\r\n cancel: \"ביטול הפעולה\",\r\n toSearch: \"הצגת חיפוש\",\r\n deletedSearch: \"החיפוש נמחק בהצלחה\",\r\n deletionError: \"חלה שגיאה במחיקת החיפוש\",\r\n updatedAlert: \"ההתראה עודכנה בהצלחה\",\r\n updatedCLS: \"עודכן בהצלחה\",\r\n updatedDefault: \"הגדרת דף הבית עודכנה בהצלחה\",\r\n updateError: \"חלה שגיאה בעדכון\",\r\n extraText: \"ועוד {{more}} מילים נוספות\",\r\n rename: \"שונה שם בהצלחה\",\r\n renameError: \"שגיאה בעדכון השם\",\r\n save: \"לשמור\",\r\n alertsNotAllowed: \"אין הרשאה להגדרת התראות, פנה למנהל מערכת\",\r\n customerSearches: \"חיפושי לקוח\"\r\n },\r\n advancedSearch: {\r\n title: \"חיפוש מתקדם\",\r\n list: \"רשימה\",\r\n searchTags: \"מילות חיפוש\",\r\n subTitle: \"יש להוסיף את מילות החיפוש והביטויים שיוצגו בתוצאות\",\r\n text1: \"הצג תוכן הכולל את המלים\",\r\n subText1: \"אנו נציג לכם רק תכנים הכוללים את המילים הבאות\",\r\n text2: \"הצג תוכן שלא כולל את המלים\",\r\n subText2: \"אנו לא נציג לכם תכנים הכוללים את המילים הבאות\",\r\n nextBtn: \"הבא\",\r\n text3: \"מקורות מידע\",\r\n subText3: \"יש לבחור את מקורות המידע שיוצגו בתוצאות החיפוש\",\r\n text4: \"מקורות משנה\",\r\n subText4: \"התאם אישית את מקורות המשנה מתוך מקורות המידע\",\r\n text5: \"טווח תאריכים\",\r\n subText5: \"הצג תוצאות שפורסמו בטווח התאריכים שנבחר\",\r\n showAll: \"הצג הכל\",\r\n searchBtn: \"חיפוש\",\r\n prevBtn: \"הקודם\",\r\n fromDate: \"מתאריך\",\r\n toDate: \"עד תאריך\",\r\n selectPlaceholder: \"בחר\",\r\n noSourceText: \" אנא בחר לפחות מקור אחד לבחירת מקור משנה\",\r\n noDynamicDateTypeError: \"אנא בחר תאריך כלשהו\",\r\n zeroLengthOrAndSourcesError:\r\n \"יש להוסיף טקסט לחיפוש במסך הקודם, או לבחור לפחות מקור מידע אחד\",\r\n sortAndFilterText: \"סינון ומיון\",\r\n topKeywords: \"מילות חיפוש מובילות\",\r\n showMoreText: \"הצג מילות חיפוש נוספות\",\r\n showLess: \"הצג פחות\",\r\n matchReport: \"דוח השוואה\",\r\n },\r\n mobile: {\r\n home: \"לוח בקרה\",\r\n saved: \"שמורים\",\r\n history: \"היסטוריה\",\r\n profile: \"פרטי חשבון\"\r\n },\r\n mobileSideBar: {\r\n home: \"לוח הבקרה\",\r\n profile: \"פרטים אישיים\",\r\n info: 'התראות דוא\"ל',\r\n mobile: \"התראות SMS\",\r\n logout: \"התנתק\",\r\n alertsNotAllowed: \"אין הרשאה להגדרת התראות, פנה למנהל מערכת\"\r\n },\r\n account: {\r\n accountTitle: \"פרטי חשבון\",\r\n details: \"פרטים אישיים\",\r\n emailAlerts: 'התראות דוא\"ל',\r\n smsAlerts: \"התראות SMS\",\r\n logout: \"התנתק\",\r\n emailLabel: 'כתובת דוא\"ל / שם משתמש',\r\n changeUserLabel: \"להחלפת שם המשתמש יש לפנות למנהל המערכת\",\r\n editTitle: \"עריכת פרטים\",\r\n firstName: \"שם פרטי\",\r\n surName: \"שם משפחה\",\r\n department: \"מחלקה\",\r\n jobTitle: \"תפקיד\",\r\n employeeNum: \"מספר עובד\",\r\n phoneNum: \"מספר הטלפון שלך\",\r\n saveChanges: \"שמירת שינויים\",\r\n passwordLabel: \"החלפת סיסמה\",\r\n password1: \"בחר סיסמה\",\r\n password2: \"הזנת הסיסמה שוב\",\r\n changePassword: \"איפוס סיסמה\",\r\n addName: \"יש להזין שם פרטי; \",\r\n addNumber: \"יש להזין מספר עובד; \",\r\n addPhone: \"יש להזין מס' טלפון חוקי\",\r\n noPasswordMatch: \"* סיסמאות לא תואמות\",\r\n passwordTooLong: \"* הסיסמה ארוכה מדי\",\r\n savedToast: \"נשמר בהצלחה!\",\r\n passwordToast: \"הסיסמה עודכנה בהצלחה!\",\r\n adminText: \"תצוגת מנהל מערכת\",\r\n alertsNotAllowed: \"אין הרשאה להגדרת התראות, פנה למנהל מערכת\"\r\n },\r\n emailAlerts: {\r\n title: 'התראות דוא\"ל',\r\n generalAlerts: \"הפעלת התראות כלליות\",\r\n active: \"פעיל\",\r\n inactive: \"כבוי\",\r\n addNew: 'הוספת כתובת דוא\"ל חדשה',\r\n timingLabel: \"תזמון קבלת התראות\",\r\n realTime: \"זמן אמת\",\r\n custom: \"מותאם אישית\",\r\n badEmail: \"יש להזין כתובת מייל חוקית\"\r\n },\r\n smsAlerts: {\r\n title: \"התראות SMS\",\r\n generalAlerts: \"הפעלת התראות כלליות\",\r\n active: \"פעיל\",\r\n inactive: \"כבוי\",\r\n addNew: \"הוספת מס' חדש\",\r\n timingLabel: \"תזמון קבלת התראות\",\r\n realTime: \"זמן אמת\",\r\n custom: \"מותאם אישית\",\r\n badPhone: \"יש להזין מס' טלפון חוקי\"\r\n },\r\n searchFields: {\r\n index: \"מס'\",\r\n source: \"מקור\",\r\n publishDate: \"תאריך\",\r\n hour: \"שעה\",\r\n subSource: \"מקור משנה\",\r\n writer: \"כותב\",\r\n title: \"תקציר\",\r\n sentiment: \"סנטימנט\",\r\n link: \"קישור למקור\"\r\n },\r\n reports: {\r\n title: \"כמות תוצאות לפי זמן\",\r\n exportAndPrint: \"ייצוא והדפסת נתונים\",\r\n resetBtn: \"אתחול\",\r\n keyWords: \"מילות חיפוש מובילות לפי אזכורים\",\r\n leadingWord: \"המילה המובילה עם {{count}} אזכורים\"\r\n },\r\n adminDashboard: {\r\n title: \"משתמשים\",\r\n userAdd: \"הוספת משתמש חדש\",\r\n groupEdit: \"עריכה קבוצתית\",\r\n filter: \"סינון לפי קבוצת הרשאות\",\r\n newUsers: \"משתמשים חדשים קודם\"\r\n },\r\n adminUserColumns: {\r\n status: \"סטאטוס\",\r\n email: 'כתובת דוא\"ל',\r\n userInformation: \"פרטי משתמש\",\r\n authGroup: \"קבוצת הרשאה\",\r\n recent: \"פעילות אחרונה\",\r\n actions: \"פעולות\",\r\n activeText: \"פעיל\",\r\n blockedText: \"חסום\"\r\n },\r\n adminGroups: {\r\n title: \"קבוצות הרשאה\",\r\n groupAdd: \"הוספת קבוצה חדשה\",\r\n filterPerm: \"סינון לפי הרשאה\",\r\n export: \"ייצוא\",\r\n filter: \"לפי תאריך יצירה\",\r\n search: \"חיפוש קבוצה\",\r\n groupItemTitle: \"הוספת קבוצה חדשה\",\r\n newGroup: \"שם הקבוצה\",\r\n permissions: \"הרשאות\",\r\n editBtnText: \"הוספה\",\r\n nameMissing: \"יש להזין לפחות שם\"\r\n },\r\n adminHistory: {\r\n title: \"היסטוריית חיפושים\",\r\n sort: \"סידור לפי תאריך\",\r\n export: \"CSV\",\r\n search: \"חיפוש רשומה\"\r\n },\r\n adminLogs: {\r\n title: \"רשומות\",\r\n sort: \"סידור לפי תאריך\",\r\n export: \"CSV\",\r\n search: \"חיפוש רשומה\"\r\n },\r\n adminGroupColumns: {\r\n groupName: \"שם קבוצה\",\r\n users: \"משתמשים\",\r\n permissions: \"הרשאות\",\r\n actions: \"פעולות\"\r\n },\r\n activityReportColumns: {\r\n select: \"הכל\",\r\n date: \"תאריך\",\r\n hour: \"שעה\",\r\n sources: \"מקורות\",\r\n range: \"טווח תאריכים\",\r\n keywords: \"מילות מפתח\",\r\n title: \"היסטורית פעילות\",\r\n seeAll: \"הצגת פריטים קודמים\"\r\n },\r\n permissionsColumns: {\r\n name: \"שם הקבוצה\",\r\n users: \"משתמשים\",\r\n permissions: \"הרשאות\",\r\n edit: \"פעולות\"\r\n },\r\n searchHistoryColumns: {\r\n select: \"סמן הכל\",\r\n date: \"תאריך\",\r\n hour: \"שעה\",\r\n email: \"משתמש\",\r\n name: \"שם חיפוש\",\r\n range: \"טווח תאריכים\",\r\n sources: \"מקורות\",\r\n keywords: \"מילות מפתח\",\r\n includes: \"חיפוש שכולל את המילים\",\r\n notIncludes: \"חיפוש שלא כולל את המילים\"\r\n },\r\n searchLogColumns: {\r\n select: \"סמן הכל\",\r\n date: \"תאריך\",\r\n hour: \"שעה\",\r\n email: \"משתמש\",\r\n name: \"שם מלא\",\r\n actionName: \"שם הפעולה\",\r\n actionValue: \"ערך הפעולה\"\r\n },\r\n adminSideBar: {\r\n ifat: \"מקבוצת יפעת\",\r\n button: \"לממשק המשתמש\",\r\n userInterface: \"משתמשים\",\r\n permissionGroups: \"קבוצות הרשאה\",\r\n searchHistory: \"היסטוריית חיפושים\",\r\n records: \"רשומות\",\r\n logout: \"התנתק\"\r\n },\r\n usersEditPopup: {\r\n title: \"עריכה קבוצתית\",\r\n dropdownLabel: \"שיוך לקבוצת הרשאות\",\r\n dropdownPlaceholder: \"ברירת מחדל\",\r\n radioLabel: \"חסימה\",\r\n radioOption1: \"חסום את כולם\",\r\n radioOption2: \"שחרר את כולם\",\r\n selectLabel: \"מחיקה\",\r\n selectOption: \"מחק את כולם\"\r\n },\r\n adminUsersTotal: {\r\n totalUsers: \"משתמשים\",\r\n totalGroups: \"קבוצות הרשאה\",\r\n totalBlockedUsers: \"חסומים\"\r\n },\r\n addEditUser: {\r\n heading: \"הוספת משתמש חדש\",\r\n subHeading: \"פרטי משתמש\",\r\n email: 'כתובת דוא\"ל (ישמש כשם המשתמש)',\r\n firstName: \"שם פרטי\",\r\n lastName: \"שם משפחה\",\r\n platoon: \"מחלקה\",\r\n role: \"תפקיד\",\r\n workerNumber: \"מספר עובד\",\r\n phone: \"מספר הטלפון\",\r\n dialCode: \"972+\",\r\n selectText: \"קבוצת הרשאות גבוהות\",\r\n selectPlaceholder: \"שיוך לקבוצת הרשאות\",\r\n viewText: \"לצפייה בקבוצות ההרשאה ובתנאים\",\r\n addBtn: \"הוספה\",\r\n editUserHeading: \"עריכת פרטים\",\r\n changePassword: \"אפס סיסמא\",\r\n editEmail: `כתובת דוא\"ל / שם משתמש`,\r\n editBtn: \"שמירת שינויים\",\r\n setUserSuccessToast: \"הסטטוס עודכן בהצלחה\",\r\n setUserErrorToast: \"עדכון הסטטוס נכשל\",\r\n deletedSuccess: \"המשתמש נמחק בהצלחה\",\r\n deltedError: \"המחיקה נכשלה\",\r\n passwordResetSuccess: 'קישור איפוס הסיסמה נשלח לדוא\"ל שלך',\r\n passwordResetError: \"משהו השתבש\",\r\n activeText: \"פעיל\",\r\n blockedText: \"חסום\"\r\n },\r\n editUsersInBulkPopup: {\r\n heading: \"עריכה קבוצתית\",\r\n selectText: \"קבוצת הרשאות גבוהות\",\r\n selectPlaceholder: \"ברירת מחדל\",\r\n obstruction: \"חסימה\",\r\n deletion: \"מחיקה\",\r\n deleteAllText: \"מחק את כולם\",\r\n editBtnText: \"ביצוע עריכה\"\r\n },\r\n dynamicTags: {\r\n addBtnText: \"הוספה\"\r\n },\r\n alertSchedular: {\r\n title: \"תזמון קבלת התראות\",\r\n customAlert1: \"בחרת התראות מותאמות אישית.\",\r\n customAlert2: \"התראות יישלחו אליך באופן מרוכז פעם ביום ובמועד שתבחר.\",\r\n everyDayAlertText: \"קבל התראות כל יום בשעה\",\r\n saturdayAndHolidayText: \"שבתות וחגים\",\r\n saveBtn: \"שמור\"\r\n },\r\n story: {\r\n button: \"צפייה בסיפורים\",\r\n title: \"הסיפורים החמים מוכנים!\",\r\n subTitle:\r\n \"ריכזנו עבורכם את כל הסיפורים החמים מתוצאות החיפוש, לחצו לצפייה\"\r\n }\r\n }\r\n },\r\n interpolation: {\r\n escapeValue: false // not needed for react as it escapes by default\r\n }\r\n });\r\n\r\nexport default i18n;\r\n","import \"react-hot-loader/patch\";\r\nimport React from \"react\";\r\nimport { render } from \"react-dom\";\r\nimport { AppContainer } from \"react-hot-loader\";\r\nimport store from \"store\";\r\nimport { Provider } from \"react-redux\";\r\nimport \"./i18n\";\r\nimport \"./global.scss\";\r\nimport { Notification } from \"common/components\";\r\nimport \"react-toastify/dist/ReactToastify.css\";\r\n\r\nfunction mount() {\r\n const App = require(\"./components/App\").default;\r\n render(\r\n \r\n \r\n \r\n \r\n \r\n ,\r\n document.getElementById(\"root\")\r\n );\r\n}\r\n\r\nif (module.hot) {\r\n module.hot.accept(\"./components/App\", mount);\r\n}\r\nmount();\r\n","// extracted by mini-css-extract-plugin\nexport default {\"checkboxContainer\":\"src-common-components-Checkbox-___checkbox-module__checkboxContainer___1mdfY\",\"label\":\"src-common-components-Checkbox-___checkbox-module__label___3a1ZS\",\"checkbox\":\"src-common-components-Checkbox-___checkbox-module__checkbox___122Xp\",\"checkmark\":\"src-common-components-Checkbox-___checkbox-module__checkmark___1iKdX\"};","import React from \"react\";\r\nimport styles from \"./checkbox.module.scss\";\r\n\r\nconst CheckBox = ({\r\n name = \"\",\r\n label,\r\n value,\r\n onChange,\r\n labelClassName,\r\n checkmarkClassName,\r\n}) => {\r\n return (\r\n
\r\n \r\n {label && (\r\n
{label}
\r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default CheckBox;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"error\":\"src-common-components-ErrorMessage-___errorMessage-module__error___2_NVI\"};","import React from \"react\";\r\nimport styles from \"./errorMessage.module.scss\";\r\n\r\nconst ErrorMessage = ({ error, overrideClassName }) => {\r\n return (\r\n <>\r\n {error && (\r\n
\r\n {error}\r\n
\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default ErrorMessage;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"inputWithLabel\":\"src-common-components-InputField-___inputField-module__inputWithLabel___2pMva\",\"label\":\"src-common-components-InputField-___inputField-module__label___3a8RT\",\"input\":\"src-common-components-InputField-___inputField-module__input___101Pm\",\"phoneField\":\"src-common-components-InputField-___inputField-module__phoneField___2kQcy\",\"inputAndDialCode\":\"src-common-components-InputField-___inputField-module__inputAndDialCode___2bXap\",\"dialCode\":\"src-common-components-InputField-___inputField-module__dialCode___30es8\",\"invalid\":\"src-common-components-InputField-___inputField-module__invalid___2Qnd2\"};","import React from \"react\";\r\nimport ErrorMessage from \"../ErrorMessage\";\r\nimport styles from \"./inputField.module.scss\";\r\n\r\nexport const InputField = ({\r\n label,\r\n fieldName,\r\n value,\r\n error,\r\n type,\r\n rules,\r\n onChange,\r\n onKeyDown,\r\n register,\r\n className,\r\n inputOverideClassName,\r\n style,\r\n}) => {\r\n const getInputClassNames = () => {\r\n let classNames = [styles.input];\r\n if (inputOverideClassName) {\r\n classNames.push(inputOverideClassName);\r\n }\r\n if (error) {\r\n classNames.push(styles.invalid);\r\n }\r\n return classNames.join(\" \");\r\n };\r\n return (\r\n
\r\n
{label}
\r\n \r\n \r\n
\r\n );\r\n};\r\n\r\nexport const PhoneField = ({\r\n label,\r\n fieldName,\r\n value,\r\n rules,\r\n error,\r\n register,\r\n containerOverrideClassName,\r\n}) => {\r\n return (\r\n
\r\n
{label}
\r\n \r\n \r\n
{\"972+\"}
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nInputField.defaultProps = {\r\n error: \"\",\r\n type: \"text\",\r\n rules: {},\r\n onChange: null,\r\n register: () => {},\r\n style: {},\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"multipleInput\":\"src-common-components-DynamicTags-___dynamicTags-module__multipleInput___2tQ8K\",\"inputWithAddBtn\":\"src-common-components-DynamicTags-___dynamicTags-module__inputWithAddBtn___2JPls\",\"input\":\"src-common-components-DynamicTags-___dynamicTags-module__input___29oOd\",\"addBtn\":\"src-common-components-DynamicTags-___dynamicTags-module__addBtn___uT79f\",\"tagsList\":\"src-common-components-DynamicTags-___dynamicTags-module__tagsList___1P7kf\",\"tagContainer\":\"src-common-components-DynamicTags-___dynamicTags-module__tagContainer___3ZTBM\",\"operation\":\"src-common-components-DynamicTags-___dynamicTags-module__operation___3VqgP\",\"tag\":\"src-common-components-DynamicTags-___dynamicTags-module__tag___2-EuF\",\"text\":\"src-common-components-DynamicTags-___dynamicTags-module__text___1xYo_\"};","import React, { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport styles from \"./dynamicTags.module.scss\";\r\nimport { OperationsEnum } from \"common/constants\";\r\n\r\nconst DynamicTags = ({\r\n options = [],\r\n setOptions,\r\n containerOverideClassName,\r\n inputOverideClassName,\r\n optionTagOverideClassName,\r\n operationName = \"\",\r\n buttonText,\r\n placeholder,\r\n}) => {\r\n const { t } = useTranslation(\"dynamicTags\");\r\n const [input, setInput] = useState(\"\");\r\n\r\n const handleInputChange = (e) => {\r\n const { value } = e.target;\r\n setInput(value);\r\n };\r\n\r\n const onAddBtnClick = () => {\r\n if (input) {\r\n const inputs = input.split(\",\");\r\n let newOptions = [];\r\n for (let i = 0; i < inputs.length; i++) {\r\n const value = inputs[i].trim();\r\n if (!options.includes(value)) {\r\n newOptions.push(value);\r\n }\r\n }\r\n setOptions([...options, ...newOptions]);\r\n }\r\n setInput(\"\");\r\n };\r\n\r\n const onKeyUp = (e) => {\r\n if (e && e.keyCode === 13) {\r\n onAddBtnClick();\r\n }\r\n };\r\n\r\n const onDeleteIconClick = (e, index) => {\r\n e && e.stopPropagation();\r\n const newOptions = options.filter(\r\n (option, optionIndex) => index !== optionIndex\r\n );\r\n setOptions(newOptions);\r\n };\r\n\r\n return (\r\n \r\n
\r\n \r\n
\r\n {buttonText ? buttonText : t(\"addBtnText\")}\r\n
\r\n
\r\n {options && (\r\n
\r\n {options.map((option, index) => (\r\n
\r\n {(operationName === OperationsEnum.NOT ||\r\n operationName === OperationsEnum.AND) && (\r\n
{operationName}
\r\n )}\r\n \r\n onDeleteIconClick(e, index)}\r\n />\r\n \r\n {option}\r\n \r\n
\r\n {index !== options.length - 1 &&\r\n operationName === OperationsEnum.OR && (\r\n
{operationName}
\r\n )}\r\n
\r\n ))}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default DynamicTags;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"button\":\"src-common-components-Button-___buttons-module__button___2qdhE\",\"spin\":\"src-common-components-Button-___buttons-module__spin___1d9vf\",\"spinner\":\"src-common-components-Button-___buttons-module__spinner___133nq\",\"disabledPointerEvents\":\"src-common-components-Button-___buttons-module__disabledPointerEvents___2ovMH\",\"fadeIn\":\"src-common-components-Button-___buttons-module__fadeIn___3LVmO\"};","import React from \"react\";\r\nimport styles from \"./buttons.module.scss\";\r\n\r\nexport const Button = ({ text, className, onClick, icon, loading }) => {\r\n const getClassNames = () => {\r\n let classNames = [styles.button];\r\n if (className) {\r\n classNames.push(className);\r\n }\r\n if (loading) {\r\n classNames.push(styles.disabledPointerEvents);\r\n }\r\n return classNames.join(\" \");\r\n };\r\n\r\n return (\r\n
\r\n {icon && typeof icon === \"string\" ? : icon}\r\n {text &&
{text}
}\r\n {loading &&
}\r\n
\r\n );\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-Header-___header-module__container___1JGBL\",\"searchModal\":\"src-common-components-Header-___header-module__searchModal___2Od6v\",\"sideBarModal\":\"src-common-components-Header-___header-module__sideBarModal___37nxp\",\"headerContainer\":\"src-common-components-Header-___header-module__headerContainer___2Dn5w\",\"icon\":\"src-common-components-Header-___header-module__icon___1N5PY\",\"logo\":\"src-common-components-Header-___header-module__logo___2EIpu\",\"logoHeading\":\"src-common-components-Header-___header-module__logoHeading___2ZTxC\",\"heading\":\"src-common-components-Header-___header-module__heading___zBnUU\",\"subHeading\":\"src-common-components-Header-___header-module__subHeading____Rk2Q\",\"searchAndTabContainer\":\"src-common-components-Header-___header-module__searchAndTabContainer___34-8z\",\"search\":\"src-common-components-Header-___header-module__search___1n35Q\",\"tabsContainer\":\"src-common-components-Header-___header-module__tabsContainer___1bcYf\",\"tab\":\"src-common-components-Header-___header-module__tab___u-BHq\",\"active\":\"src-common-components-Header-___header-module__active___1W7GR\",\"text\":\"src-common-components-Header-___header-module__text___2mCZz\",\"borderBottom\":\"src-common-components-Header-___header-module__borderBottom___3kxUk\",\"profile\":\"src-common-components-Header-___header-module__profile___lyWvq\",\"mobileHeader\":\"src-common-components-Header-___header-module__mobileHeader___2ctYd\",\"menu\":\"src-common-components-Header-___header-module__menu___20yT1\",\"mobileSearch\":\"src-common-components-Header-___header-module__mobileSearch___3CeOl\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useSelector } from \"react-redux\";\r\nimport styles from \"./header.module.scss\";\r\nimport { LogoPng as Logo, Search, Menu, User } from \"common/style/img\";\r\nimport { Modal, MobileSideBar } from \"common/components\";\r\nimport { AdvancedSearch } from \"components\";\r\nimport { AppRoutes } from \"../../constants/app.routes\";\r\n\r\nconst Header = (props) => {\r\n const [selectedTab, setSelectedTab] = useState(\"controlPanel\");\r\n const [showSearchModal, setShowSearchModal] = useState(false);\r\n const [showSideBarModal, setShowSideBarModal] = useState(false);\r\n const [welcomeMessage, setWelcomeMessage] = useState(\"\");\r\n const { t } = useTranslation(\"tab\");\r\n const history = useHistory();\r\n const { profile } = useSelector((state) => state.login);\r\n let type = history.location.state ? history.location.state.type : \"\";\r\n\r\n const tabs = [\r\n { name: \"controlPanel\", path: AppRoutes.DASHBOARD },\r\n {\r\n name: \"mySearches\",\r\n path: profile.insProductID\r\n ? AppRoutes.CUSTOMER_SAVED_SEARCHES\r\n : AppRoutes.SAVED_SEARCHES\r\n },\r\n { name: \"accountDetails\", path: AppRoutes.ACCOUNT }\r\n ];\r\n\r\n const handleTabClick = (selected) => {\r\n history.push(selected.path);\r\n };\r\n\r\n const handlelogoClick = () => {\r\n history.push(AppRoutes.DASHBOARD);\r\n };\r\n\r\n const goToAccount = () => {\r\n history.push(AppRoutes.ACCOUNT);\r\n };\r\n\r\n useEffect(() => {\r\n let pathName = history.location.pathname;\r\n tabs.map((tab) => {\r\n let path = tab.path;\r\n if (pathName === AppRoutes.SEARCH_HISTORY) {\r\n pathName = AppRoutes.SAVED_SEARCHES;\r\n }\r\n if (path === pathName) {\r\n setSelectedTab(tab.name);\r\n }\r\n const message = profile.status == 0 ? t(\"welcome\") : t(\"welcomeAgain\");\r\n setWelcomeMessage(message);\r\n });\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n useEffect(() => {\r\n setShowSideBarModal(false);\r\n }, [type]);\r\n\r\n return (\r\n
\r\n {showSearchModal && (\r\n setShowSearchModal(false)}\r\n modalContentClassname={styles.searchModal}\r\n >\r\n setShowSearchModal(false)} />\r\n \r\n )}\r\n {showSideBarModal && (\r\n setShowSideBarModal(false)}\r\n modalContentClassname={styles.sideBarModal}\r\n closeBtnStyle={{ right: \"2rem\", left: \"0rem\" }}\r\n >\r\n \r\n \r\n )}\r\n setShowSearchModal(true)}\r\n >\r\n \r\n
\r\n
\r\n
\r\n
\r\n \"logo\"\r\n
\r\n
\r\n
Social Intelligence
\r\n
{t(\"ifat\")}
\r\n
\r\n
\r\n
\r\n setShowSearchModal(true)}\r\n >\r\n \"search\"\r\n
\r\n
\r\n {tabs.map((item, index) => {\r\n return (\r\n
\r\n handleTabClick(item)}\r\n className={\r\n item.name === selectedTab ? styles.active : styles.text\r\n }\r\n key={item.name}\r\n >\r\n {t(item.name)}\r\n
\r\n {item.name === selectedTab && (\r\n
\r\n )}\r\n
\r\n );\r\n })}\r\n
\r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n {profile ? `${profile.fullName}, ${welcomeMessage}` : null}\r\n
\r\n
\r\n \r\n
\r\n
setShowSideBarModal(true)}>\r\n \r\n
\r\n
\r\n history.push(AppRoutes.DASHBOARD)}\r\n >\r\n
Social Intelligence
\r\n
{t(\"ifat\")}
\r\n
\r\n
\r\n \"logo\"\r\n
\r\n
\r\n \r\n \r\n );\r\n};\r\n\r\nexport default Header;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"layoutContainer\":\"src-common-components-Layout-___layout-module__layoutContainer___1NUwf\",\"left\":\"src-common-components-Layout-___layout-module__left___3Pv52\",\"content\":\"src-common-components-Layout-___layout-module__content___x9yjj\",\"right\":\"src-common-components-Layout-___layout-module__right___3zBs4\",\"bottom\":\"src-common-components-Layout-___layout-module__bottom___2nT8a\"};","// extracted by mini-css-extract-plugin\nexport default {\"mobileFooterContainer\":\"src-common-components-MobileFooter-___mobileFooter-module__mobileFooterContainer___38InD\",\"iconContainer\":\"src-common-components-MobileFooter-___mobileFooter-module__iconContainer___3m8TU\",\"name\":\"src-common-components-MobileFooter-___mobileFooter-module__name___3r-o0\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport styles from \"./mobileFooter.module.scss\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport {\r\n MobileHistory,\r\n MobileHistorySelected,\r\n MobileHome,\r\n MobileHomeSelected,\r\n MobileProfile,\r\n MobileProfileSelected,\r\n MobileSave,\r\n MobileSaveSelected,\r\n} from \"common/style/img\";\r\nimport { AppRoutes } from \"../../constants/app.routes\";\r\n\r\nconst MobileFooter = () => {\r\n const { t } = useTranslation(\"mobile\");\r\n const [selected, setSelected] = useState(\"home\");\r\n const history = useHistory();\r\n\r\n const icons = [\r\n {\r\n name: \"home\",\r\n selected: MobileHomeSelected,\r\n default: MobileHome,\r\n link: AppRoutes.DASHBOARD,\r\n },\r\n {\r\n name: \"saved\",\r\n selected: MobileSaveSelected,\r\n default: MobileSave,\r\n link: AppRoutes.SAVED_SEARCHES,\r\n },\r\n {\r\n name: \"history\",\r\n selected: MobileHistorySelected,\r\n default: MobileHistory,\r\n link: AppRoutes.SEARCH_HISTORY,\r\n },\r\n {\r\n name: \"profile\",\r\n selected: MobileProfileSelected,\r\n default: MobileProfile,\r\n link: AppRoutes.ACCOUNT,\r\n },\r\n ];\r\n\r\n const handleClick = (item) => {\r\n history.push(item.link);\r\n };\r\n\r\n useEffect(() => {\r\n let pathName = history.location.pathname;\r\n icons.map((tab) => {\r\n if (tab.link === pathName) {\r\n setSelected(tab.name);\r\n }\r\n });\r\n }, []);\r\n\r\n return (\r\n
\r\n {icons.map((item) => {\r\n return (\r\n {\r\n handleClick(item);\r\n }}\r\n >\r\n
\r\n \r\n
\r\n \r\n {t(item.name)}\r\n
\r\n \r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default MobileFooter;\r\n","import React from \"react\";\r\nimport Header from \"../Header\";\r\nimport styles from \"./layout.module.scss\";\r\nimport MobileFooter from \"../MobileFooter\";\r\n\r\nconst Layout = ({\r\n children,\r\n right,\r\n hideRightPanel = false,\r\n topPanel,\r\n contentWidth,\r\n}) => {\r\n return (\r\n
\r\n
\r\n \r\n {topPanel}\r\n \r\n {children}\r\n
\r\n \r\n {!hideRightPanel &&
{right}
}\r\n
\r\n \r\n
\r\n \r\n );\r\n};\r\n\r\nexport default Layout;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"infinite_scroller\":\"src-common-components-InfiniteScroller-___infiniteScroller-module__infinite_scroller___3wz8z\",\"infinite_scroller_2\":\"src-common-components-InfiniteScroller-___infiniteScroller-module__infinite_scroller_2___HKCr9\"};","import React, { useEffect } from \"react\";\r\nimport { useDispatch } from \"react-redux\";\r\nimport { useApiService } from \"common/utils/helpers\";\r\nimport InfiniteScroll from \"react-infinite-scroller\";\r\nimport styles from \"./infiniteScroller.module.scss\";\r\nimport { setHasMore } from \"store/actions\";\r\n\r\nconst InfiniteScroller = ({\r\n children,\r\n service,\r\n totalData,\r\n reqParams = {},\r\n reqBody,\r\n data = [],\r\n setData,\r\n hasMore,\r\n pageCount = 0,\r\n loading: propsLoading,\r\n setLoading: propsSetLoading,\r\n useWindow,\r\n}) => {\r\n const {\r\n state: { loading, isSuccess, data: fetchResponse, isError, error },\r\n callService: fetchService,\r\n resetServiceState: resetfetchServiceState,\r\n } = useApiService(service);\r\n\r\n const dispatch = useDispatch();\r\n\r\n useEffect(() => {\r\n if (isSuccess && fetchResponse) {\r\n setData(fetchResponse);\r\n propsSetLoading?.(false)\r\n }\r\n }, [isSuccess, fetchResponse]);\r\n\r\n useEffect(() => {\r\n if (isError) {\r\n console.log(error, \"error\");\r\n }\r\n }, [isError, error]);\r\n\r\n const handleOnLoad = () => {\r\n if (data) {\r\n if (data.length < totalData) {\r\n propsSetLoading(true);\r\n const pageNum = Math.ceil(data.length / pageCount) + 1;\r\n if (reqBody) {\r\n fetchService(reqBody, { ...reqParams, pageNum });\r\n } else {\r\n fetchService({ ...reqParams, pageNum });\r\n }\r\n } else {\r\n dispatch(setHasMore(false));\r\n }\r\n }\r\n };\r\n\r\n return (\r\n
\r\n \r\n {children}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default InfiniteScroller;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"modal\":\"src-common-components-Modal-___modal-module__modal___jeaJ7\",\"modalContent\":\"src-common-components-Modal-___modal-module__modalContent___i6LVI\",\"closeBtn\":\"src-common-components-Modal-___modal-module__closeBtn___1giXt\",\"display_block\":\"src-common-components-Modal-___modal-module__display_block___I1D_8\",\"display_none\":\"src-common-components-Modal-___modal-module__display_none___19Ac3\"};","import React, { useRef, useEffect } from \"react\";\r\nimport styles from \"./modal.module.scss\";\r\n\r\nconst Modal = ({\r\n show,\r\n closeModal,\r\n children,\r\n modalOverrideStyle,\r\n modalContentClassname,\r\n closeBtnStyle = {},\r\n}) => {\r\n const showHideClassName = show ? styles.display_block : styles.display_none;\r\n const modalRef = useRef();\r\n useEffect(() => {\r\n window.addEventListener(\"click\", handleClick, false);\r\n const htmlTag = document.getElementsByTagName(\"html\")[0];\r\n htmlTag?.classList?.add(\"no-scroll\");\r\n return () => {\r\n window.removeEventListener(\"click\", handleClick, false);\r\n htmlTag?.classList?.remove(\"no-scroll\");\r\n };\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const handleClick = (e) => {\r\n if (\r\n modalRef &&\r\n modalRef.current &&\r\n (modalRef.current === e.target || !modalRef.current.contains(e.target))\r\n ) {\r\n e && e.stopPropagation();\r\n closeModal();\r\n }\r\n };\r\n\r\n const onCloseBtnClick = (e) => {\r\n e && e.stopPropagation();\r\n closeModal();\r\n };\r\n\r\n return (\r\n \r\n
\r\n \r\n \r\n
\r\n {children}\r\n \r\n \r\n );\r\n};\r\nexport default Modal;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-Select-___select-module__container___kUekZ\",\"selectBox\":\"src-common-components-Select-___select-module__selectBox___3UpE8\",\"text\":\"src-common-components-Select-___select-module__text___lWd-G\",\"invalid\":\"src-common-components-Select-___select-module__invalid___1ieoQ\",\"multiSelectDropDown\":\"src-common-components-Select-___select-module__multiSelectDropDown___1cDBW\",\"searchContainer\":\"src-common-components-Select-___select-module__searchContainer___2hwkF\",\"line\":\"src-common-components-Select-___select-module__line____2m_7\",\"input\":\"src-common-components-Select-___select-module__input___id_y4\",\"optGroup\":\"src-common-components-Select-___select-module__optGroup___36LJF\",\"notFound\":\"src-common-components-Select-___select-module__notFound___3h-tV\",\"option\":\"src-common-components-Select-___select-module__option___2VmaE\",\"label\":\"src-common-components-Select-___select-module__label___3e4iV\",\"subOption\":\"src-common-components-Select-___select-module__subOption___RI5BM\",\"subOptionText\":\"src-common-components-Select-___select-module__subOptionText___3ZJRh\",\"singleSelectDropDown\":\"src-common-components-Select-___select-module__singleSelectDropDown___3A4LM\",\"active\":\"src-common-components-Select-___select-module__active___1GUIn\",\"selectedSubMenuList\":\"src-common-components-Select-___select-module__selectedSubMenuList___-_EhO\"};","import React, { useState, useEffect, useRef } from \"react\";\r\nimport { isEqual } from \"lodash\";\r\nimport styles from \"./select.module.scss\";\r\nimport { CheckBox, ErrorMessage } from \"common/components\";\r\nimport { Controller } from \"react-hook-form\";\r\n\r\nconst WrapperSelect = ({ control, name, rules = {}, ...rest }) => {\r\n if (name && control) {\r\n return (\r\n (\r\n ;\r\n }\r\n};\r\n\r\nconst Select = ({\r\n type,\r\n options: allOptions,\r\n selectedKey,\r\n selectedSubOptions,\r\n onSelect: propsOnSelect,\r\n onDeselect: propsOnDeselect,\r\n overideClassName,\r\n overRideSelectBoxClassName,\r\n singleSelectClassName,\r\n error = \"\",\r\n placeholder,\r\n}) => {\r\n const [isDropDownOpen, setIsDropDownOpen] = useState(false);\r\n const [searchText, setSearchText] = useState(\"\");\r\n const [options, setOptions] = useState();\r\n const [activeIndexOnKeyUpDown, setActiveIndexOnKeyUpDown] = useState(-1);\r\n const selectBoxRef = useRef();\r\n\r\n const handleOutsideClick = (e) => {\r\n if (selectBoxRef.current && !selectBoxRef.current.contains(e.target)) {\r\n setIsDropDownOpen(false);\r\n }\r\n };\r\n\r\n useEffect(() => {\r\n window.addEventListener(\"click\", handleOutsideClick);\r\n return () => window.removeEventListener(\"click\", handleOutsideClick);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const onDeselect = (subOption, e) => {\r\n e && e.stopPropagation();\r\n propsOnDeselect(subOption);\r\n };\r\n\r\n const onSubOptionCheckboxValueChange = (e, subOption) => {\r\n e && e.stopPropagation();\r\n if (!selectedSubOptions.some((item) => item.id === subOption.id)) {\r\n propsOnSelect(subOption);\r\n } else {\r\n propsOnDeselect(subOption);\r\n }\r\n };\r\n\r\n const toggleIsOpenDropDown = (e) => {\r\n if (isDropDownOpen) {\r\n setIsDropDownOpen(false);\r\n } else if (allOptions && allOptions.length) {\r\n setOptions(allOptions);\r\n searchText && setSearchText(\"\");\r\n setIsDropDownOpen(true);\r\n }\r\n };\r\n\r\n const onSearch = () => {\r\n if (searchText) {\r\n const matchingOptGroup = allOptions.filter((option) =>\r\n option.subOptions.some((item) =>\r\n item.text.toLowerCase().startsWith(searchText.toLowerCase())\r\n )\r\n );\r\n if (!isEqual(options, matchingOptGroup)) {\r\n setOptions(matchingOptGroup);\r\n }\r\n } else {\r\n if (!isEqual(options, allOptions)) {\r\n setOptions(allOptions);\r\n }\r\n }\r\n };\r\n\r\n const onOptionClick = (e, option) => {\r\n e && e.stopPropagation();\r\n propsOnSelect && propsOnSelect(option);\r\n setIsDropDownOpen(false);\r\n };\r\n\r\n const getSelectBoxPlaceholder = () => {\r\n if (type === \"multi\") {\r\n return \"הצג הכל\";\r\n } else {\r\n const text =\r\n allOptions.find((option) => option.key === selectedKey)?.text ||\r\n placeholder;\r\n return text;\r\n }\r\n };\r\n\r\n const scrollToOption = (id) => {\r\n const elem = document.getElementById(`option-${id}`);\r\n if (elem) {\r\n elem.scrollIntoView({ block: \"center\" });\r\n }\r\n };\r\n\r\n const onKeyDown = ({ keyCode }) => {\r\n if (type === \"single\" && (keyCode === 38 || keyCode === 40)) {\r\n let newIndex;\r\n if (keyCode === 38) {\r\n if (activeIndexOnKeyUpDown !== 0) {\r\n newIndex = activeIndexOnKeyUpDown - 1;\r\n } else {\r\n newIndex = allOptions.length - 1;\r\n }\r\n } else if (keyCode === 40) {\r\n if (activeIndexOnKeyUpDown !== allOptions.length - 1) {\r\n newIndex = activeIndexOnKeyUpDown + 1;\r\n } else {\r\n newIndex = 0;\r\n }\r\n }\r\n scrollToOption(newIndex);\r\n propsOnSelect(allOptions[newIndex]);\r\n setActiveIndexOnKeyUpDown(newIndex);\r\n }\r\n };\r\n\r\n return (\r\n
\r\n \r\n
{getSelectBoxPlaceholder()}
\r\n \r\n
\r\n {isDropDownOpen &&\r\n (type === \"multi\" ? (\r\n
\r\n e.stopPropagation()}\r\n >\r\n \r\n setSearchText(e.target.value)}\r\n className={styles.input}\r\n />\r\n setIsDropDownOpen(false)}\r\n />\r\n\r\n
\r\n
\r\n e.stopPropagation()}\r\n >\r\n {options.length > 0 ? (\r\n options.map((option, index) => (\r\n
\r\n
{option.source}
\r\n {option.subOptions.map((subOption, index) => (\r\n
\r\n item.id === subOption.id\r\n )}\r\n onChange={(e) =>\r\n onSubOptionCheckboxValueChange(e, subOption)\r\n }\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.stopPropagation()}\r\n >\r\n {allOptions.map((option, index) => (\r\n onOptionClick(e, option)}\r\n onMouseOver={() => setActiveIndexOnKeyUpDown(index)}\r\n >\r\n {option?.icon && }\r\n {option.text}\r\n \r\n ))}\r\n \r\n ))}\r\n \r\n {selectedSubOptions && (\r\n
\r\n {selectedSubOptions.map((subOption, index) => (\r\n
\r\n onDeselect(subOption, e)}\r\n />\r\n {subOption.text}\r\n
\r\n ))}\r\n
\r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default WrapperSelect;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-DateRangeSelector-___dateRangeSelector-module__container___Lyd_B\",\"text\":\"src-common-components-DateRangeSelector-___dateRangeSelector-module__text___311ZB\",\"active\":\"src-common-components-DateRangeSelector-___dateRangeSelector-module__active___z82i6\",\"datePicker\":\"src-common-components-DateRangeSelector-___dateRangeSelector-module__datePicker___F8NtA\"};","import React, { useState, useRef } from \"react\";\r\nimport DatePicker, { registerLocale } from \"react-datepicker\";\r\nimport he from \"date-fns/locale/he\";\r\nimport {\r\n returnDateString,\r\n convertToDateInsatnce,\r\n changeToUTCFormat,\r\n} from \"common/utils/helpers\";\r\nimport styles from \"./dateRangeSelector.module.scss\";\r\n\r\nregisterLocale(\"he\", he);\r\n\r\nconst DateRangeSelector = ({\r\n onChange: propsOnChange,\r\n beginningDate: startDate,\r\n endingDate: endDate,\r\n containerOverrideClassName,\r\n selectsStart=false,\r\n selectsEnd=false,\r\n value,\r\n disabled=false,\r\n datePickerClassName = \"\"\r\n}) => {\r\n const [isOpen, setIsOpen] = useState(false);\r\n const datePickerRef = useRef();\r\n\r\n const onClick = (e) => {\r\n e && e.stopPropagation();\r\n if (!datePickerRef.current.contains(e.target) && !disabled) {\r\n setIsOpen(!isOpen);\r\n }\r\n };\r\n\r\n const onClickOutside = (e) => {\r\n if (!datePickerRef.current.parentNode.contains(e.target)) {\r\n setIsOpen(false);\r\n }\r\n };\r\n\r\n const getContainerClassNames = () => {\r\n let classNames = [styles.container];\r\n if (containerOverrideClassName) {\r\n classNames.push(containerOverrideClassName);\r\n }\r\n if (value) {\r\n classNames.push(styles.active);\r\n }\r\n\r\n return classNames.join(\" \");\r\n };\r\n\r\n const onChange = (date) => {\r\n propsOnChange(changeToUTCFormat(date))\r\n setIsOpen(false)\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {returnDateString(value)}\r\n
\r\n \r\n
\r\n {isOpen && (\r\n \r\n )}\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default DateRangeSelector;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-Notification-___notification-module__container___U8vOm\",\"toastClassName\":\"src-common-components-Notification-___notification-module__toastClassName___xOpys\",\"bodyClassName\":\"src-common-components-Notification-___notification-module__bodyClassName___3LJDR\",\"progressClassName\":\"src-common-components-Notification-___notification-module__progressClassName___KT0OP\",\"notificationBody\":\"src-common-components-Notification-___notification-module__notificationBody___2Cykb\"};","import { ToastContainer } from \"react-toastify\";\r\nimport React from \"react\";\r\nimport styles from \"./notification.module.scss\";\r\n\r\nconst NotificationComponent = () => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default NotificationComponent;\r\n","export default {\r\n green: \"#52c41a\",\r\n blue: \"#1890ff\",\r\n orange: \"#faad14\",\r\n red: \"#ff4d4f\",\r\n greyShade1: \"#DDDDDD\",\r\n greyShade2: \"#3B4148\",\r\n greyShade3: \"#E3E6EA\",\r\n fadedGray: \"#f0f0f5\",\r\n gray: \"#B7B7B7\",\r\n};\r\n","import React from \"react\";\r\nimport { toast } from \"react-toastify\";\r\nimport colors from \"common/style/colors\";\r\nimport styles from \"./notification.module.scss\";\r\n\r\nconst TOAST_ICONS = {\r\n success: { color: colors.green, icon: \"fa fa-check-circle-o\" },\r\n info: { color: colors.blue, icon: \"fa fa-info\" },\r\n warning: { color: colors.orange, icon: \"fa fa-exclamation-circle\" },\r\n error: { color: colors.red, icon: \"fa fa-times-circle-o\" },\r\n};\r\n\r\nconst MessageWithIcon = ({ message, type }) => {\r\n return (\r\n
\r\n \r\n {message}\r\n
\r\n );\r\n};\r\n\r\nexport const openNotification = (message, type) => {\r\n return toast();\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"mobileSideBar\":\"src-common-components-MobileSideBar-___mobileSideBar-module__mobileSideBar___1d5sQ\",\"iconContainer\":\"src-common-components-MobileSideBar-___mobileSideBar-module__iconContainer___37ZRr\",\"name\":\"src-common-components-MobileSideBar-___mobileSideBar-module__name___2tgwS\",\"border\":\"src-common-components-MobileSideBar-___mobileSideBar-module__border___2m70M\"};","import React, { useState, useEffect } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport {\r\n MailSideBar,\r\n MailSideBarSelected,\r\n LogoutSideBar,\r\n ProfileSideBar,\r\n VibrateSideBar,\r\n VibrateSideBarSelected,\r\n ProfileSideBarSelected,\r\n MobileHomeSideBar,\r\n MobileHomeSideBarSelected,\r\n} from \"common/style/img\";\r\nimport styles from \"./mobileSideBar.module.scss\";\r\nimport { AppRoutes, Permissions } from \"common/constants\";\r\nimport { logout, checkPermission } from \"common/utils/helpers\";\r\nimport { openNotification } from \"common/components\";\r\nimport get from \"lodash/get\";\r\n\r\nconst MobileSideBarComponent = () => {\r\n const { t } = useTranslation(\"mobileSideBar\");\r\n const [selected, setSelected] = useState(\"home\");\r\n const [allowAlerts, setAllowAlerts] = useState(false);\r\n const history = useHistory();\r\n\r\n const menu = [\r\n {\r\n name: \"home\",\r\n selected: MobileHomeSideBarSelected,\r\n default: MobileHomeSideBar,\r\n path: AppRoutes.DASHBOARD,\r\n onClick: () => {\r\n history.push(AppRoutes.DASHBOARD);\r\n },\r\n },\r\n {\r\n name: \"profile\",\r\n selected: ProfileSideBarSelected,\r\n default: ProfileSideBar,\r\n path: AppRoutes.ACCOUNT,\r\n onClick: () => {\r\n history.push(AppRoutes.ACCOUNT);\r\n },\r\n },\r\n {\r\n name: \"info\",\r\n selected: MailSideBarSelected,\r\n default: MailSideBar,\r\n path: AppRoutes.ACCOUNT,\r\n onClick: () => {\r\n allowAlerts\r\n ? history.push({\r\n pathname: AppRoutes.ACCOUNT,\r\n state: { type: \"email\" },\r\n })\r\n : openNotification(t(\"alertsNotAllowed\"), \"error\");\r\n },\r\n },\r\n {\r\n name: \"mobile\",\r\n selected: VibrateSideBarSelected,\r\n default: VibrateSideBar,\r\n path: AppRoutes.ACCOUNT,\r\n onClick: () => {\r\n allowAlerts\r\n ? history.push({\r\n pathname: AppRoutes.ACCOUNT,\r\n state: { type: \"sms\" },\r\n })\r\n : openNotification(t(\"alertsNotAllowed\"), \"error\");\r\n },\r\n },\r\n { name: \"logout\", default: LogoutSideBar, onClick: logout },\r\n ];\r\n\r\n useEffect(() => {\r\n const pathName = history.location.pathname;\r\n menu.map((tab) => {\r\n if (tab.path === pathName) {\r\n if (pathName === AppRoutes.ACCOUNT) {\r\n let state = history.location.state ? history.location.state.type : \"\";\r\n if (state === \"email\") {\r\n setSelected(\"info\");\r\n } else if (state === \"sms\") {\r\n setSelected(\"mobile\");\r\n } else {\r\n setSelected(\"profile\");\r\n }\r\n } else {\r\n setSelected(tab.name);\r\n }\r\n }\r\n });\r\n const allowAlert = checkPermission(Permissions.alerts);\r\n setAllowAlerts(allowAlert);\r\n }, []);\r\n\r\n return (\r\n
\r\n {menu.map((item, index) => {\r\n return (\r\n \r\n setSelected(item.name)}\r\n onClick={item.onClick}\r\n >\r\n
\r\n \r\n
\r\n \r\n {t(item.name)}\r\n
\r\n \r\n
\r\n \r\n );\r\n })}\r\n \r\n );\r\n};\r\n\r\nexport default MobileSideBarComponent;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"emptyContainer\":\"src-common-components-EmptyLayout-___emptyLayout-module__emptyContainer___1477m\",\"heading\":\"src-common-components-EmptyLayout-___emptyLayout-module__heading___mLVl8\",\"subHeading\":\"src-common-components-EmptyLayout-___emptyLayout-module__subHeading___2uRPR\",\"button\":\"src-common-components-EmptyLayout-___emptyLayout-module__button___368MO\",\"searchModal\":\"src-common-components-EmptyLayout-___emptyLayout-module__searchModal___1zj6O\"};","import React, { useState } from \"react\";\r\nimport { useHistory, useLocation } from \"react-router-dom\";\r\nimport { Button } from \"../Button\";\r\nimport Modal from \"../Modal\";\r\nimport { AdvancedSearch, MatchReportSearch } from \"components\";\r\nimport styles from \"./emptyLayout.module.scss\";\r\nimport { AppRoutes } from \"common/constants\";\r\n\r\nconst EmptyLayout = ({\r\n src,\r\n heading,\r\n subHeading1,\r\n subHeading2,\r\n buttonText,\r\n}) => {\r\n const history = useHistory();\r\n const location = useLocation()\r\n const [showSearchModal, setShowSearchModal] = useState(false);\r\n const [showSearchReportModal, setShowSearchReportModal] = useState(false);\r\n\r\n const isReportsPath = history.location.pathname === AppRoutes.REPORTS;\r\n const isMatchReportPath =\r\n history.location.pathname === AppRoutes.MATCH_REPORTS;\r\n\r\n const handleButtonClick = () => {\r\n if (isReportsPath) {\r\n history.push(AppRoutes.DASHBOARD);\r\n } else if (isMatchReportPath) {\r\n setShowSearchReportModal(true);\r\n } else {\r\n setShowSearchModal(true);\r\n }\r\n };\r\n\r\n return (\r\n
\r\n {showSearchModal && (\r\n setShowSearchModal(false)}\r\n modalContentClassname={styles.searchModal}\r\n >\r\n setShowSearchModal(false)} />\r\n \r\n )}\r\n {showSearchReportModal && (\r\n setShowSearchReportModal(false)}\r\n modalContentClassname={styles.searchModal}\r\n >\r\n setShowSearchReportModal(false)}\r\n list1={{orText: location.state?.firstWordList ?? []}}\r\n list2={{orText: location.state?.secondWordList ?? []}}\r\n />\r\n \r\n )}\r\n
\r\n \r\n
\r\n
{heading}
\r\n
\r\n
{subHeading1}
\r\n
{subHeading2}
\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default EmptyLayout;\r\n","import React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { NoData } from \"common/style/img\";\r\nimport { EmptyLayout } from \"common/components\";\r\n\r\nconst NoDataComponent = () => {\r\n const { t } = useTranslation(\"noData\");\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default NoDataComponent;\r\n","import React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { NoDefaultSearch } from \"common/style/img\";\r\nimport { EmptyLayout } from \"common/components\";\r\n\r\nconst NoDataComponent = ({ translation }) => {\r\n const { t } = useTranslation(translation);\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default NoDataComponent;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"loading\":\"src-common-components-Loader-___loader-module__loading___2qqLe\",\"spinner\":\"src-common-components-Loader-___loader-module__spinner___3aenF\"};","import React from \"react\";\r\nimport styles from \"./loader.module.scss\";\r\n\r\nconst Loader = ({ text }) => {\r\n return
{text &&
{text}
}
;\r\n};\r\n\r\nexport default Loader;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"adminSideBarContainer\":\"src-common-components-AdminSideBar-___adminSideBar-module__adminSideBarContainer___S0n6W\",\"logo\":\"src-common-components-AdminSideBar-___adminSideBar-module__logo___1Wjxd\",\"text\":\"src-common-components-AdminSideBar-___adminSideBar-module__text___3Dibb\",\"subText\":\"src-common-components-AdminSideBar-___adminSideBar-module__subText___Aa9d0\",\"button\":\"src-common-components-AdminSideBar-___adminSideBar-module__button___3AswR\",\"actionsContainer\":\"src-common-components-AdminSideBar-___adminSideBar-module__actionsContainer___33L6v\",\"action\":\"src-common-components-AdminSideBar-___adminSideBar-module__action___2eo1d\",\"activeText\":\"src-common-components-AdminSideBar-___adminSideBar-module__activeText___eJ2YM\",\"icon\":\"src-common-components-AdminSideBar-___adminSideBar-module__icon___1Z-y-\",\"divider\":\"src-common-components-AdminSideBar-___adminSideBar-module__divider___30YI_\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport { logout } from \"common/utils/helpers\";\r\nimport {\r\n AdminHistory,\r\n AdminHistorySelected,\r\n AdminLogout,\r\n AdminPermissions,\r\n AdminPermissionsSelected,\r\n AdminRecords,\r\n AdminRecordsSelected,\r\n AdminUsers,\r\n AdminUsersSelected,\r\n Logo,\r\n} from \"common/style/img\";\r\nimport { AppRoutes } from \"../../constants/app.routes\";\r\nimport styles from \"./adminSideBar.module.scss\";\r\n\r\nconst AdminSideBar = ({ closeEditForm }) => {\r\n const { t } = useTranslation(\"adminSideBar\");\r\n const history = useHistory();\r\n const [activeText, setActiveText] = useState(\"userInterface\");\r\n\r\n const actions = [\r\n {\r\n key: \"userInterface\",\r\n normal: AdminUsers,\r\n active: AdminUsersSelected,\r\n path: \"/adminDashboard\",\r\n },\r\n {\r\n key: \"permissionGroups\",\r\n normal: AdminPermissions,\r\n active: AdminPermissionsSelected,\r\n path: \"/adminGroups\",\r\n },\r\n {\r\n key: \"searchHistory\",\r\n normal: AdminHistory,\r\n active: AdminHistorySelected,\r\n path: \"/adminHistory\",\r\n },\r\n {\r\n key: \"records\",\r\n normal: AdminRecords,\r\n active: AdminRecordsSelected,\r\n path: \"/adminLogs\",\r\n },\r\n {\r\n key: \"logout\",\r\n normal: AdminLogout,\r\n path: \"/logout\",\r\n },\r\n ];\r\n\r\n const goTo = (path) => {\r\n if (path === \"/adminDashboard\") {\r\n closeEditForm && closeEditForm();\r\n }\r\n path !== \"/logout\" ? history.push(path) : logout();\r\n };\r\n\r\n useEffect(() => {\r\n //set current active by current route.\r\n switch (history.location.pathname) {\r\n case \"/adminDashboard\":\r\n setActiveText(\"userInterface\");\r\n break;\r\n case \"/adminGroups\":\r\n setActiveText(\"permissionGroups\");\r\n break;\r\n case \"/adminHistory\":\r\n setActiveText(\"searchHistory\");\r\n break;\r\n case \"/adminLogs\":\r\n setActiveText(\"records\");\r\n break;\r\n default:\r\n break;\r\n }\r\n }, []);\r\n\r\n const openDashboard = () => {\r\n history.push(AppRoutes.DASHBOARD);\r\n };\r\n\r\n const Divider = () => {\r\n return
;\r\n };\r\n return (\r\n
\r\n
\r\n
\r\n \r\n
\r\n
Social Intelligence
\r\n
{t(\"ifat\")}
\r\n
\r\n
\r\n {t(\"button\")}\r\n
\r\n
\r\n {actions.map((action, index) => {\r\n return (\r\n \r\n
goTo(action.path)} className={styles.action}>\r\n \r\n {t(action.key)}\r\n
\r\n
\r\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 AdminSideBar;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"adminContainer\":\"src-common-components-AdminLayout-___adminLayout-module__adminContainer___oO1qL\",\"left\":\"src-common-components-AdminLayout-___adminLayout-module__left___3HytG\",\"innerContainer\":\"src-common-components-AdminLayout-___adminLayout-module__innerContainer___WstlH\",\"right\":\"src-common-components-AdminLayout-___adminLayout-module__right___31Ym1\"};","import React from \"react\";\r\nimport AdminSideBar from \"../AdminSideBar\";\r\nimport styles from \"./adminLayout.module.scss\";\r\n\r\nconst AdminLayout = ({ children, closeEditForm }) => {\r\n return (\r\n
\r\n
\r\n
{children}
\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default AdminLayout;\r\n","import React from 'react'\r\nimport Loader from \"react-loader-spinner\";\r\n\r\nconst Spinner = () => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Spinner;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"radioGroup\":\"src-common-components-RadioGroup-___radioGroup-module__radioGroup___mOagt\",\"radioItem\":\"src-common-components-RadioGroup-___radioGroup-module__radioItem___15nVQ\"};","import React from \"react\";\r\nimport styles from \"./radioGroup.module.scss\";\r\n\r\nconst RadioGroup = ({\r\n radioItems,\r\n onChange,\r\n fieldValue,\r\n horizontal = false,\r\n}) => {\r\n return (\r\n
\r\n {radioItems.map((item, index) => (\r\n
\r\n \r\n \r\n
\r\n ))}\r\n
\r\n );\r\n};\r\n\r\nexport default RadioGroup;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"alert\":\"src-common-components-Alert-___alert-module__alert___1Ld7M\"};","import React, { useEffect } from \"react\";\r\nimport styles from \"./alert.module.scss\";\r\n\r\nconst Alert = ({ message, onClose, time = 5000 }) => {\r\n useEffect(() => {\r\n setTimeout(onClose, time);\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n const closeAlert = (e) => {\r\n e?.stopPropagation();\r\n onClose();\r\n };\r\n\r\n return (\r\n
\r\n \r\n
{message}
\r\n
\r\n );\r\n};\r\nexport default Alert;\r\n","import React, { useState } from \"react\";\r\nimport { Popover } from \"react-tiny-popover\";\r\n\r\nconst CustomPopover = ({ children, content, containerStyles = {} }) => {\r\n const [isPopoverOpen, setIsPopoverOpen] = useState(false);\r\n\r\n return (\r\n {\r\n setIsPopoverOpen(true);\r\n }}\r\n onMouseLeave={() => {\r\n setIsPopoverOpen(false);\r\n }}\r\n >\r\n (\r\n
\r\n {content}\r\n
\r\n
\r\n )}\r\n >\r\n {children}\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default CustomPopover;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"tooltip\":\"src-common-components-Charts-BarChart-___barChart-module__tooltip___3akHZ\",\"barchart\":\"src-common-components-Charts-BarChart-___barChart-module__barchart___33ILa\",\"nextArrow\":\"src-common-components-Charts-BarChart-___barChart-module__nextArrow___9S0AN\",\"prevArrow\":\"src-common-components-Charts-BarChart-___barChart-module__prevArrow___1PzLX\"};","import React, { useEffect, useState } from \"react\";\r\nimport {\r\n BarChart,\r\n Bar,\r\n XAxis,\r\n YAxis,\r\n CartesianGrid,\r\n ResponsiveContainer,\r\n Tooltip,\r\n Cell,\r\n} from \"recharts\";\r\nimport colors from \"common/style/colors\";\r\nimport styles from \"./barChart.module.scss\";\r\nimport {\r\n yyyymmdd,\r\n getHebrewWeekDay,\r\n useDimensions,\r\n getDateReports,\r\n} from \"common/utils/helpers\";\r\nimport { isEqual } from \"lodash\";\r\n\r\nconst barGap = 86,\r\n barSize = 15;\r\n\r\nconst CustomizedTooltip = ({ showToolTip, payload }) => {\r\n return (\r\n <>\r\n {showToolTip && payload ? (\r\n
{payload[0]?.payload.count || 490}
\r\n ) : (\r\n <>\r\n )}\r\n \r\n );\r\n};\r\n\r\nconst VerticalBarChart = ({\r\n dataKey,\r\n data,\r\n type,\r\n fetchReports,\r\n currentReportFilter,\r\n}) => {\r\n const { width } = useDimensions();\r\n const [focusBar, setFocusBar] = useState(null);\r\n const [showToolTip, setShowToolTip] = useState(false);\r\n const [currentSlideIndex, setCurrentSlideIndex] = useState(0);\r\n const [totalSlides, setTotalSlides] = useState();\r\n const maxBarsInView = width > 767 ? 8 : width > 450 ? 3 : width > 350 ? 2 : 1;\r\n\r\n useEffect(() => {\r\n if (data.length) {\r\n setCurrentSlideIndex(0);\r\n if (data.length > maxBarsInView) {\r\n setTotalSlides(Math.ceil(data.length / maxBarsInView) - 1);\r\n } else {\r\n setTotalSlides(1);\r\n }\r\n }\r\n }, [data, maxBarsInView]);\r\n\r\n const mouseEnterOnBar = (index) => {\r\n setFocusBar(index);\r\n setShowToolTip(true);\r\n };\r\n\r\n const mouseLeaveOnBar = () => {\r\n setFocusBar(null);\r\n setShowToolTip(false);\r\n };\r\n\r\n const CustomAxisTick = ({ x, y, index, payload, activeLabelIndex }) => {\r\n return (\r\n \r\n 767 ? \"1.8rem\" : \"1.5rem\"}\r\n fill={\"#3B4148\"}\r\n fontWeight={index === activeLabelIndex ? 500 : \"normal\"}\r\n >\r\n {dataKey === \"day\" ? getHebrewWeekDay(payload.value) : payload.value}\r\n \r\n {dataKey === \"day\" && (\r\n 767 ? \"1.2rem\" : \"1.1rem\"}\r\n fill={\"#3B4148\"}\r\n opacity={0.75}\r\n >\r\n {getDateReports(payload.value)}\r\n \r\n )}\r\n \r\n );\r\n };\r\n\r\n const onNextClick = () => {\r\n if (currentSlideIndex < totalSlides) {\r\n setCurrentSlideIndex(currentSlideIndex + 1);\r\n } else {\r\n setCurrentSlideIndex(totalSlides);\r\n }\r\n };\r\n\r\n const onPrevClick = () => {\r\n if (currentSlideIndex !== 0) {\r\n setCurrentSlideIndex(currentSlideIndex - 1);\r\n }\r\n };\r\n\r\n const getCurrentSlideData = () => {\r\n let subarray = [];\r\n let i = currentSlideIndex * maxBarsInView;\r\n for (\r\n let count = 0;\r\n count < maxBarsInView && i < data.length;\r\n count++, i++\r\n ) {\r\n subarray.push(data[i]);\r\n }\r\n return subarray;\r\n };\r\n\r\n const onBarClick = (clickedBar, e) => {\r\n e && e.stopPropagation();\r\n let params = {};\r\n if (dataKey === \"day\") {\r\n params.dDay = yyyymmdd(clickedBar[dataKey]);\r\n } else if (dataKey == \"weekNumber\") {\r\n params.Week = `${clickedBar[dataKey]}/${clickedBar.y}`;\r\n } else if (dataKey === \"month\") {\r\n params.Month = `${clickedBar.m}/${clickedBar.y}`;\r\n }\r\n if (!isEqual(params, currentReportFilter?.current)) {\r\n if (showToolTip || focusBar) {\r\n setShowToolTip(false);\r\n setFocusBar(false);\r\n }\r\n fetchReports?.(params);\r\n }\r\n };\r\n\r\n const getResponsiveContainerHeightWidth = () => {\r\n if (type === \"pdf\") {\r\n return { height: 500, width: (45 * width) / 100 };\r\n } else {\r\n return { height: \"100%\", width: \"100%\" };\r\n }\r\n };\r\n\r\n const getXaxisHeight = () => {\r\n if (width > 767 && width < 1600) {\r\n return 35;\r\n } else {\r\n return 45;\r\n }\r\n };\r\n\r\n return (\r\n <>\r\n {data.length > 0 ? (\r\n
\r\n {currentSlideIndex !== totalSlides && data.length > maxBarsInView && (\r\n
\r\n \r\n
\r\n )}\r\n {currentSlideIndex !== 0 && (\r\n
\r\n \r\n
\r\n )}\r\n \r\n \r\n \r\n }\r\n interval={0}\r\n stroke={colors.greyShade1}\r\n reversed={true}\r\n height={getXaxisHeight()}\r\n />\r\n \r\n }\r\n />\r\n mouseEnterOnBar(index)}\r\n onMouseLeave={mouseLeaveOnBar}\r\n >\r\n {data.map((entry, index) => (\r\n onBarClick(entry, e)}\r\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 React.memo(VerticalBarChart);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__container___3HjNk\",\"topStrip\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__topStrip___24pRH\",\"sentiments\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__sentiments___3n5o_\",\"sentiment\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__sentiment___G9IKY\",\"text\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__text___1e6Da\",\"title\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__title___ZjL6U\",\"gridAndSourceContainer\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__gridAndSourceContainer___3dJCT\",\"innerContainer\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__innerContainer___1dCdl\",\"chart\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__chart___8svOe\",\"barSourceContainer\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__barSourceContainer___2ilOQ\",\"bar\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__bar___3eis-\",\"positive\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__positive___fbZx9\",\"neutral\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__neutral___14jZn\",\"negative\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__negative___T3d5N\",\"source\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__source___3blS_\",\"gridContainer\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__gridContainer___n6R9n\",\"grid\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__grid___3_MaP\",\"gridLine\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__gridLine___2Io34\",\"label\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__label___1YOOD\",\"ranges\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__ranges___2Pn5I\",\"range\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__range___1ts6E\",\"sources\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__sources___3ApzP\",\"arrow\":\"src-common-components-Charts-StackedBarChart-___stackedChart-module__arrow___svF6_\"};","// extracted by mini-css-extract-plugin\nexport default {\"popOverContainer\":\"src-common-components-Charts-StackedBarChart-Bar-___bar-module__popOverContainer___1qdsG\",\"value\":\"src-common-components-Charts-StackedBarChart-Bar-___bar-module__value___3RJuc\",\"positive\":\"src-common-components-Charts-StackedBarChart-Bar-___bar-module__positive___33MLJ\",\"neutral\":\"src-common-components-Charts-StackedBarChart-Bar-___bar-module__neutral___uLd83\",\"negative\":\"src-common-components-Charts-StackedBarChart-Bar-___bar-module__negative___1bLiX\"};","import React, { useState } from \"react\";\r\nimport styles from \"./bar.module.scss\";\r\n\r\nconst Bar = ({ value, total, type, popoverFromRight }) => {\r\n const [isHovered, setIsHovered] = useState(false);\r\n return (\r\n
\r\n {isHovered && (\r\n
\r\n {value}\r\n
\r\n )}\r\n {\r\n setIsHovered(true);\r\n }}\r\n onMouseLeave={() => setIsHovered(false)}\r\n >
\r\n \r\n );\r\n};\r\n\r\nexport default Bar;\r\n","import React, { useMemo } from \"react\";\r\nimport {\r\n transformSentimentsData,\r\n calculateRangeObject,\r\n} from \"common/utils/helpers\";\r\nimport styles from \"./stackedChart.module.scss\";\r\nimport { Negative, Positive, Neutral } from \"common/style/img\";\r\nimport Bar from \"./Bar\";\r\n\r\nconst StackedBarChart = ({ data = [], containerStyle = \"\" }) => {\r\n const sentimentData = useMemo(() => {\r\n return transformSentimentsData(data);\r\n }, [data]);\r\n\r\n const returnMax = () => {\r\n let max = 0;\r\n\r\n sentimentData.map((item) => {\r\n max = Math.max(\r\n max,\r\n (item[\"חיובי\"] || 0) + (item[\"נייטרלי\"] || 0) + (item[\"שלילי\"] || 0)\r\n );\r\n });\r\n return max;\r\n };\r\n\r\n const max = returnMax();\r\n let { min, upperRange, range } = calculateRangeObject(max, 10);\r\n\r\n const returnRangeArray = () => {\r\n let arr = [];\r\n let margin = max / 10;\r\n for (let i = min; i <= upperRange; i += range) {\r\n // arr.push(Math.round(margin * i));\r\n arr.push(i);\r\n }\r\n return arr;\r\n };\r\n\r\n const returnSentiment = (icon, text) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{text}
\r\n
\r\n
\r\n );\r\n };\r\n\r\n const returnPopoverFromRight = (right, current, sum, percentageToLeave) => {\r\n return `${(right / upperRange + current / upperRange / 2) * 100}%`;\r\n };\r\n\r\n const returnTransFormX = (value) => {\r\n let strValue = value.toString();\r\n if (strValue.length == 2) {\r\n return `translateX(${\"-3px\"})`;\r\n } else if (strValue.length === 3) {\r\n return `translateX(${\"-5px\"})`;\r\n } else if (strValue.length === 4) {\r\n return `translateX(${\"-7px\"})`;\r\n } else if (strValue.length === 5) {\r\n return `translateX(${\"-11px\"})`;\r\n } else if (strValue.length === 6) {\r\n return `translateX(${\"-12px\"})`;\r\n } else if (strValue.length > 6) {\r\n return `translateX(${\"-13px\"})`;\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n {returnSentiment(Positive, \"חיובי\")}\r\n {returnSentiment(Neutral, \"ניטראלי\")}\r\n {returnSentiment(Negative, \"שלילי\")}\r\n
\r\n
תוצאות לפי סנטימנט
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {returnRangeArray().map((value, index) => {\r\n return (\r\n
\r\n
\r\n {/*
{value}
*/}\r\n
\r\n );\r\n })}\r\n
\r\n
\r\n {sentimentData.map((item, index) => {\r\n const positive = item[\"חיובי\"] || 0;\r\n const neutral = item[\"נייטרלי\"] || 0;\r\n const negative = item[\"שלילי\"] || 0;\r\n const sum = positive + negative + neutral;\r\n const percentageToLeave = (upperRange - sum) / upperRange;\r\n\r\n return (\r\n \r\n
{item.name}
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n );\r\n })}\r\n
\r\n
\r\n
\r\n {returnRangeArray().map((value, index) => {\r\n return (\r\n \r\n {value}\r\n
\r\n );\r\n })}\r\n
\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default React.memo(StackedBarChart);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"timePicker\":\"src-common-components-TimePicker-___timePicker-module__timePicker___1UwCS\"};","import React, { useEffect, useState } from \"react\";\r\nimport DatePicker from \"react-datepicker\";\r\nimport styles from \"./timePicker.module.scss\";\r\nimport setHours from \"date-fns/setHours\";\r\nimport setMinutes from \"date-fns/setMinutes\";\r\n\r\nconst TimePicker = ({\r\n overideClassName = \"\",\r\n time,\r\n disabled = false,\r\n onChange: propsOnChange,\r\n minTime = \"\",\r\n maxTime = \"\",\r\n excludeTime = \"\",\r\n}) => {\r\n const [startDate, setStartDate] = useState();\r\n\r\n const returnTime = (time) => {\r\n return setHours(\r\n setMinutes(new Date(), parseInt(time.split(\":\")[1])),\r\n parseInt(time.split(\":\")[0])\r\n );\r\n };\r\n\r\n useEffect(() => {\r\n if (time) {\r\n setStartDate(convertToDateInstance(time));\r\n } else {\r\n setStartDate(\"\");\r\n }\r\n }, [time]);\r\n\r\n return (\r\n \r\n );\r\n};\r\n\r\nfunction convertToDateInstance(time) {\r\n const [hour, minutes] = time.split(\":\");\r\n const date = new Date().setHours(hour, minutes);\r\n return date;\r\n}\r\n\r\nexport default TimePicker;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"switch\":\"src-common-components-Switch-___switch-module__switch___331DE\",\"slider\":\"src-common-components-Switch-___switch-module__slider___3SLYr\"};","import React from \"react\";\r\nimport styles from \"./switch.module.scss\";\r\n\r\nconst Switch = ({ checked, onChange, fieldName }) => {\r\n return (\r\n \r\n );\r\n};\r\n\r\nexport default Switch;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"sliderContainer\":\"src-common-components-Carousel-___carousel-module__sliderContainer___1EGn0\",\"wrapper\":\"src-common-components-Carousel-___carousel-module__wrapper___2ids7\",\"prevBtn\":\"src-common-components-Carousel-___carousel-module__prevBtn___1agLp\",\"nextBtn\":\"src-common-components-Carousel-___carousel-module__nextBtn___1FlGu\",\"outerContainer\":\"src-common-components-Carousel-___carousel-module__outerContainer___2shOU\",\"container\":\"src-common-components-Carousel-___carousel-module__container___3QxgZ\",\"slideInFromRight\":\"src-common-components-Carousel-___carousel-module__slideInFromRight___1MRrE\",\"arrows\":\"src-common-components-Carousel-___carousel-module__arrows___1JkkM\",\"nextArrow\":\"src-common-components-Carousel-___carousel-module__nextArrow___3kSd0\",\"slideInFromLeft\":\"src-common-components-Carousel-___carousel-module__slideInFromLeft___8cgYb\"};","import React, { useEffect, useState, useRef } from \"react\";\r\nimport styles from \"./carousel.module.scss\";\r\nimport { Story } from \"components\";\r\nimport { useDimensions } from \"common/utils/helpers\";\r\n\r\nconst Carousel = ({ data }) => {\r\n const [dataToShow, setDataToShow] = useState([]);\r\n const { width } = useDimensions();\r\n const [animation, setAnimation] = useState(\"\");\r\n const indexRef = useRef(0);\r\n const skipIndex = width > 767 ? 3 : 1;\r\n\r\n useEffect(() => {\r\n if (data && data.length) {\r\n setDataToShow(data.slice(indexRef.current, indexRef.current + 3));\r\n }\r\n }, []);\r\n\r\n const onPrevClick = () => {\r\n if (indexRef.current) {\r\n indexRef.current -= 1;\r\n setDataToShow(data.slice(indexRef.current, indexRef.current + skipIndex));\r\n setAnimation(\"prev\");\r\n }\r\n };\r\n const onNextClick = () => {\r\n if (indexRef.current === data.length - skipIndex) {\r\n indexRef.current += 1;\r\n setDataToShow([\r\n ...data.slice(indexRef.current, indexRef.current + skipIndex),\r\n { empty: true },\r\n ]);\r\n setAnimation(\"next\");\r\n }\r\n if (indexRef.current < data.length - skipIndex) {\r\n indexRef.current += 1;\r\n setDataToShow(data.slice(indexRef.current, indexRef.current + skipIndex));\r\n setAnimation(\"next\");\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {dataToShow.map((item, index) => {\r\n if (item.empty) {\r\n return ;\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\nexport default Carousel;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-common-components-WordCloud-___wordCloud-module__container___xR1CQ\"};","import React, { useMemo } from \"react\";\r\nimport styles from \"./wordCloud.module.scss\";\r\nimport ReactWordcloud from \"react-wordcloud\";\r\nimport \"tippy.js/dist/tippy.css\";\r\nimport \"tippy.js/animations/scale.css\";\r\n\r\nconst wordColor = (value) => {\r\n if ((value >= 0) & (value < 10)) {\r\n return { color: \"#3B4148\", fontSize: \"1.7rem\" };\r\n } else if (value >= 10 && value < 30) {\r\n return { color: \"#747F8B\", fontSize: \"2.5rem\" };\r\n } else if (value >= 30 && value < 50) {\r\n return { color: \"#3B4148\", fontSize: \"3.5rem\", fontWeight: \"bold\" };\r\n } else if (value >= 50) {\r\n return { color: \"#F5BE64\", fontSize: \"5rem\", fontWeight: \"bold\" };\r\n }\r\n};\r\n\r\nconst WordCloud = ({ words }) => {\r\n const options = useMemo(() => {\r\n return {\r\n colors: [\"#3B4148\", \"#747F8B\", \"#F5BE64\"],\r\n enableTooltip: true,\r\n deterministic: false,\r\n fontFamily: \"Rubik\",\r\n fontSizes: [17, 50],\r\n fontStyle: \"normal\",\r\n fontWeight: \"bold\",\r\n padding: 3,\r\n rotations: 0,\r\n rotationAngles: [0, 90],\r\n scale: \"sqrt\",\r\n spiral: \"archimedean\",\r\n transitionDuration: 1000,\r\n };\r\n }, []);\r\n let randomisedWords = words.sort(() => Math.random() - 0.5);\r\n return (\r\n
\r\n \r\n
\r\n\r\n //
\r\n // {randomisedWords.map((word, index) => {\r\n // return (\r\n // \r\n // {word.text}\r\n //
\r\n // );\r\n // })}\r\n // \r\n );\r\n};\r\n\r\nexport default WordCloud;\r\n","import {\r\n Instagram,\r\n Facebook,\r\n Twitter,\r\n Blog,\r\n BlogComments,\r\n Youtube,\r\n TalkBack,\r\n Forum,\r\n PositiveSentiment,\r\n NegativeSentiment,\r\n NeutralSentiment,\r\n Internet,\r\n FacebookComment,\r\n InstagramComment,\r\n TwitterComment,\r\n YoutubeComment,\r\n Tiktok,\r\n InstagramStory,\r\n Telegram,\r\n} from \"common/style/img\";\r\n\r\nexport const SOCIAL_MEDIA_ICON = {\r\n 1: Blog,\r\n 2: Forum,\r\n 3: TalkBack,\r\n 4: Twitter,\r\n 5: Facebook,\r\n 6: Facebook,\r\n 7: Youtube,\r\n 8: BlogComments,\r\n 10: Internet,\r\n 11: Instagram,\r\n 15: Tiktok,\r\n 16: InstagramStory,\r\n 17: Telegram\r\n};\r\n\r\nexport const SOCIAL_MEDIA_COMMENT_ICON = {\r\n 4: TwitterComment,\r\n 5: FacebookComment,\r\n 6: FacebookComment,\r\n 7: YoutubeComment,\r\n 11: InstagramComment,\r\n};\r\n\r\nexport const sourceColors = {\r\n 1: \"green\",\r\n 2: \"orange\",\r\n 3: \"grey\",\r\n 4: \"#00ACEE\",\r\n 5: \"#4267B2\",\r\n 6: \"#4267B2\",\r\n 7: \"#FF0000\",\r\n 8: \"pink\",\r\n 10: \"#FFFF00\",\r\n 11: \"#bc2a8d\",\r\n 15: \"#848de7\",\r\n 16: \"#bc2a8d\",\r\n 17: \"#84dfe7\"\r\n};\r\n\r\nexport const sourceReportColors = {\r\n בלוג: \"green\",\r\n פורום: \"orange\",\r\n TalkBack: \"grey\",\r\n טוויטר: \"#00ACEE\",\r\n פייסבוק: \"#4267B2\",\r\n יוטיוב: \"#FF0000\",\r\n \"תגובות לבלוג\": \"pink\",\r\n \"תוכן מערכתי\": \"#FFFF00\",\r\n אינסטגרם: \"#bc2a8d\",\r\n \"אינסטגרם סטורי\": \"#E14674\",\r\n forum: \"orange\",\r\n twitter: \"#00ACEE\",\r\n facebook: \"#4267B2\",\r\n youTube: \"#FF0000\",\r\n tiktok: \"#848de7\",\r\n instagram: \"#bc2a8d\",\r\n טיקטוק: \"#848de7\",\r\n טלגרם: \"#84dfe7\", \r\n};\r\n\r\nexport const sourceHebrewMapping = {\r\n 1: \"בלוג\",\r\n 2: \"פורום\",\r\n 3: \"TalkBack\",\r\n 4: \"טוויטר\",\r\n 5: \"פייסבוק\",\r\n 6: \"פייסבוק\",\r\n 7: \"יוטיוב\",\r\n 8: \"תגובות לבלוג\",\r\n 10: \"תוכן מערכתי\",\r\n 11: \"אינסטגרם\",\r\n 15: \"טיקטוק\",\r\n 16: \"אינסטגרם סטורי\",\r\n 17: \"טלגרם\",\r\n};\r\n\r\nexport const dynamicDateTypes = [\r\n { key: 1, text: \"היום\" },\r\n { key: 2, text: \"אתמול\" },\r\n {\r\n key: 3,\r\n text: \"השבוע\",\r\n },\r\n { key: 4, text: \"החודש\" },\r\n { key: 0, text: \"מותאם אישית \" },\r\n];\r\n\r\nexport const initialSearchFiltersValue = {\r\n searchID: \"\",\r\n name: \"\",\r\n orText: [],\r\n andText: [],\r\n notText: [],\r\n sources: [],\r\n subSources: [],\r\n dynamicDateType: null,\r\n fromDate: null,\r\n toDate: null,\r\n sort: \"publish_date desc\",\r\n searchType: 1,\r\n};\r\n\r\nexport const generalError = \"חלה שגיאה כללית בתוכנה: \";\r\n\r\nexport const userType = {\r\n admin: 0,\r\n standard: 1,\r\n};\r\n\r\nexport const userStatus = {\r\n new: 0,\r\n active: 1,\r\n deleted: 2,\r\n locked: 3,\r\n};\r\n\r\nexport const OperationsEnum = {\r\n OR: \"או\",\r\n AND: \"וגם\",\r\n NOT: \"וללא\",\r\n};\r\n\r\nexport const searchColumns = [\r\n {\r\n key: \"index\",\r\n width: \"5%\",\r\n },\r\n {\r\n key: \"source\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"publishDate\",\r\n width: \"10%\",\r\n },\r\n {\r\n key: \"hour\",\r\n width: \"5%\",\r\n },\r\n {\r\n key: \"subSource\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"writer\",\r\n width: \"10%\",\r\n },\r\n {\r\n key: \"title\",\r\n width: \"25%\",\r\n },\r\n {\r\n key: \"sentiment\",\r\n width: \"10%\",\r\n },\r\n {\r\n key: \"link\",\r\n width: \"5%\",\r\n },\r\n];\r\n\r\nexport const storyColumns = [\r\n {\r\n key: \"index\",\r\n width: \"5%\",\r\n },\r\n {\r\n key: \"source\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"writer\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"title\",\r\n width: \"50%\",\r\n },\r\n {\r\n key: \"link\",\r\n width: \"15%\",\r\n },\r\n];\r\n\r\nexport const adminActivityHistoryColumns = [\r\n {\r\n key: \"everything\",\r\n width: \"5%\",\r\n },\r\n {\r\n key: \"date\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"hour\",\r\n width: \"10%\",\r\n },\r\n {\r\n key: \"sources\",\r\n width: \"15%\",\r\n },\r\n {\r\n key: \"range\",\r\n width: \"40%\",\r\n },\r\n {\r\n key: \"keywords\",\r\n width: \"15%\",\r\n },\r\n];\r\n\r\nexport const usersColumns = {\r\n status: \"10%\",\r\n email: \"20%\",\r\n userInformation: \"20%\",\r\n authGroup: \"15%\",\r\n recent: \"15%\",\r\n actions: \"20%\",\r\n};\r\n\r\nexport const activityHistoryColumns = {\r\n select: \"10%\",\r\n date: \"15%\",\r\n hour: \"10%\",\r\n sources: \"10%\",\r\n range: \"33%\",\r\n keywords: \"23%\",\r\n};\r\n\r\nexport const permissionsColumns = {\r\n name: \"20%\",\r\n users: \"10%\",\r\n permissions: \"50%\",\r\n edit: \"20%\",\r\n};\r\n\r\nexport const searchHistoryColumns = {\r\n select: \"7%\",\r\n date: \"5%\",\r\n hour: \"5%\",\r\n email: \"6%\",\r\n name: \"6%\",\r\n range: \"15%\",\r\n sources: \"12%\",\r\n keywords: \"16%\",\r\n includes: \"14%\",\r\n notIncludes: \"14%\",\r\n};\r\n\r\nexport const searchLogColumns = {\r\n select: \"5%\",\r\n date: \"5%\",\r\n hour: \"5%\",\r\n email: \"15%\",\r\n actionName: \"35%\",\r\n actionValue: \"35%\",\r\n};\r\n\r\nexport const hebrewWeekdayMapping = {\r\n 0: \"ראשון\",\r\n 1: \"שני\",\r\n 2: \"שלישי\",\r\n 3: \"רביעי\",\r\n 4: \"חמישי\",\r\n 5: \"שישי\",\r\n 6: \"שבת\",\r\n};\r\n\r\nexport const hebrewWeekdayMappingReversed = {\r\n 0: \"ןושאר\",\r\n 1: \"ינש\",\r\n 2: \"ישילש\",\r\n 3: \"יעיבר\",\r\n 4: \"ישימח\",\r\n 5: \"ישיש\",\r\n 6: \"תבש\",\r\n};\r\n\r\nexport const groupsColumns = {\r\n groupName: \"30%\",\r\n users: \"15%\",\r\n permissions: \"45%\",\r\n actions: \"10%\",\r\n};\r\n\r\nexport const notificationText = {\r\n updateSuccess: \"עודכן בהצלחה !!\",\r\n updateError: \"לא ניתן לערוך !!\",\r\n savedSuccess: \"נשמר בהצלחה !!\",\r\n exportError: \"לא ניתן לייצא !!\",\r\n addSuccess: \"נוסף בהצלחה !!\",\r\n noReports: \"לא נמצאו דיווחים !!\",\r\n saveSearchToExportExcel: \"שמור תחילה את החיפוש כדי לייצא Excel\",\r\n fetchStories: \"הבאת הסיפורים נכשלה\",\r\n};\r\n\r\nexport const sortOptions = [\r\n {\r\n key: 1,\r\n text: \"מהחדש לישן\",\r\n value: \"publish_date desc\",\r\n },\r\n {\r\n key: 2,\r\n text: \"לפי מקור\",\r\n value: \"source_information_name asc\",\r\n },\r\n];\r\n\r\nexport const reportOptions = [\r\n {\r\n key: 1,\r\n text: \"דוח מפורט\",\r\n value: \"דוח מפורט\",\r\n icon: \"fa fa-bar-chart\",\r\n },\r\n {\r\n key: 2,\r\n text: \"דוח השוואה\",\r\n value: \"דוח השוואה\",\r\n icon: \"fa fa-bar-chart\",\r\n },\r\n];\r\n\r\nexport const Sentiments = {\r\n 0: { img: NegativeSentiment, text: \"שלילי\" },\r\n 1: { img: PositiveSentiment, text: \"חיובי\" }, //חִיוּבִי\r\n 2: { img: NeutralSentiment, text: \"ניטראלי\" },\r\n};\r\n\r\nexport const Permissions = {\r\n saveSearch: 1,\r\n alerts: 2,\r\n export: 3,\r\n};\r\nexport const reportTypes = [\r\n { key: 1, text: \"יומי\", dataKey: \"day\" },\r\n {\r\n key: 2,\r\n text: \"שבועי\",\r\n dataKey: \"weekNumber\",\r\n },\r\n {\r\n key: 3,\r\n text: \"חודשי\",\r\n dataKey: \"month\",\r\n },\r\n];\r\n\r\nexport const initialReports = {\r\n sourceAndWriterReport: [],\r\n sourceReport: [],\r\n keyWordReport: [],\r\n sentimentReport: [],\r\n dayReport: [],\r\n weekReport: [],\r\n monthReport: [],\r\n};\r\n\r\nexport const initialFetchReportsParams = {\r\n dDay: \"\",\r\n Week: \"\",\r\n Month: \"\",\r\n iSource: \"\",\r\n Writer: \"\",\r\n};\r\n","export const AppRoutes = {\r\n LOGIN: \"/login\",\r\n DASHBOARD: \"/dashboard\",\r\n REPORTS: \"/reports\",\r\n MATCH_REPORTS: \"/matchReports\",\r\n SAVED_SEARCHES: \"/savedSearches\",\r\n CUSTOMER_SAVED_SEARCHES: \"/customerSavedSearches\",\r\n SEARCH_HISTORY: \"/searchHistory\",\r\n ACCOUNT: \"/account\",\r\n NOT_FOUND: \"/notFound\",\r\n ADMIN_DASHBOARD: \"/adminDashboard\",\r\n ADMIN_GROUPS: \"/adminGroups\",\r\n ADMIN_HISTORY: \"/adminHistory\",\r\n ADMIN_LOGS: \"/adminLogs\",\r\n};\r\n","export const ApiUrls = {\r\n LOGIN: {\r\n LOGIN: \"api/Account/Login\",\r\n RELEASE: \"api/Account/SendReleaseRequest\",\r\n RESTORE: \"api/Account/RequestPasswordRestore\",\r\n CHANGE_PASSWORD: \"api/Account/ChangePassword\",\r\n CHECK_OTP: \"api/Account/CheckOTP\",\r\n GET_NEW_AUTHCODE: \"api/Account/GetNewAuthCode\"\r\n },\r\n USER: {\r\n SET_USER: \"api/Account/SetUser\",\r\n SET_PASSWORD: \"api/Account/SetPassword\",\r\n SET_USER_STATUS: \"api/Account/SetUserStatus\",\r\n GET_ALERTS: \"api/Account/GetUserAlerts\",\r\n SET_SMS_ALERTS: \"api/Account/UpdateSmsAlerts\",\r\n SET_EMAIL_ALERTS: \"api/Account/UpdateEmailAlerts\"\r\n },\r\n ME: \"api/Account/Me\",\r\n GET_ALL_SOURCES: \"api/search/GetSources\",\r\n\r\n DASHBOARD: {\r\n GET_DEFAULT_SEARCH: \"api/Search/GetDefaultSearch\",\r\n SEARCH_RESULTS: \"api/Search/Search\",\r\n ADD_SEARCH: \"api/Search/AddSearch\",\r\n UPDATE_SEARCH: \"api/Search/UpdateSearch\",\r\n EXPORT_EXCEL: \"api/Search/Export\",\r\n GET_STORIES: \"api/Search/GetStories\",\r\n ADD_ITEM_LOG: \"api/Search/AddItemLog\",\r\n GET_KEYWORDS: \"api/Search/GetKeywords\",\r\n GET_TOTAL_ROWS: \"api/Search/SearchKWTotalRows\"\r\n },\r\n SAVED_SEARCHES: {\r\n SAVED_SEARCH_RESULTS: \"/api/Search/GetSaveSearches\",\r\n SAVED_SEARCH_HISTORY: \"/api/Search/GetHistorySearches\",\r\n SET_ALERT: \"/api/Search/SetAlertSearch\",\r\n SET_DEFAULT: \"/api/Search/SetDefaultSearch\",\r\n DELETE_SEARCH: \"/api/Search/DelSearch\",\r\n RENAME_SEARCH: \"api/Search/RenameSearch\",\r\n UPDATE_CLS: \"api/Search/SetUpdateCLS\",\r\n CUSTOMER_SAVED_SEARCH_RESULTS: \"/api/search/GetCustomerSaveSearches\"\r\n },\r\n REPORTS: {\r\n GET_REPORTS: \"api/Reports/GetReports\",\r\n GET_MATCH_REPORT:\"api/Reports/GetMatchReport\",\r\n SEARCH_REPORT: \"api/Reports/Search\",\r\n GET_KEY_WORD_REPORT: \"api/Reports/GetWordCloud\",\r\n },\r\n ADMIN: {\r\n GET_USERS: \"api/Admin/GetUsersList\",\r\n GET_USERS_TOTAL: \"api/Admin/GetUsersTotals\",\r\n ADD_USER: \"api/Admin/AddUser\",\r\n EDIT_USER: \"api/Admin/SetUser\",\r\n BULK_EDIT: \"api/Admin/SetGroupUserStatus\",\r\n SET_USER_STATUS: \"api/Account/SetUserStatus\",\r\n DEL_USER: \"api/Admin/DelUser\",\r\n GET_USER_SEARCHES: \"api/Admin/GetUserSearches\",\r\n RESET_PASSWORD: \"api/Admin/ResetPassword\",\r\n GET_GROUPS: \"api/Admin/GetGroupsList\",\r\n GET_AUTHS: \"api/Admin/GetAuthsList\",\r\n ADD_GROUP: \"api/Admin/AddGroup\",\r\n EDIT_GROUP: \"api/Admin/SetGroup\",\r\n EXPORT_GROUPS: \"api/Admin/ExportGroups\",\r\n GET_SEARCH_HISTORY: \"api/Admin/GetUserSearchHistory\",\r\n EXPORT_SEARCHES: \"api/Admin/ExportSearches\",\r\n GET_USAGE_LOG: \"api/Admin/GetUsageLog\",\r\n EXPORT_LOGS: \"api/Admin/ExportUsageLog\",\r\n EXPORT_EDIT_SEARCH: \"api/Admin/ExportUserSearches\"\r\n },\r\n ACCOUNT: {\r\n GET_USER_SMS_ALERTS: \"api/Account/GetUserAlertSMS\",\r\n GET_USER_MAIL_ALERTS: \"api/Account/GetUserAlertMail\",\r\n SAVE_USER_SMS_ALERTS: \"api/Account/SaveUserAlertsSMS\",\r\n SAVE_USER_MAIL_ALERTS: \"api/Account/SaveUserAlertsMail\"\r\n }\r\n};\r\n\r\nexport const servicesAccessibleWithoutToken = [...Object.values(ApiUrls.LOGIN)];\r\n","import {\r\n getUser,\r\n isApiAccessibleWithoutToken,\r\n isTokenExpired,\r\n} from \"../helpers\";\r\n\r\nimport axios from \"axios\";\r\n\r\nconst axiosInst = axios.create({\r\n baseURL: process.env.API_BASEURL,\r\n});\r\n\r\naxiosInst.interceptors.request.use(\r\n (requestConfig) => {\r\n if (!isApiAccessibleWithoutToken(requestConfig.url)) {\r\n requestConfig.headers.Authorization = `bearer ${getUser().token}`;\r\n }\r\n if (!requestConfig.headers[\"Content-Type\"]) {\r\n requestConfig.headers[\"Content-Type\"] = \"application/json\";\r\n }\r\n return requestConfig;\r\n },\r\n (error) => Promise.reject(error)\r\n);\r\n\r\naxiosInst.interceptors.response.use(\r\n (response) => {\r\n return response;\r\n },\r\n (error) => {\r\n return isTokenExpired(error);\r\n }\r\n);\r\n\r\nexport const makeMultipleRequests = async (reqParamsArray) => {\r\n let promiseArray = [];\r\n for (let reqParams of reqParamsArray) {\r\n const promise = axiosInst(reqParams);\r\n promiseArray.push(promise);\r\n }\r\n return Promise.all(promiseArray)\r\n .then((res) => {\r\n return res;\r\n })\r\n .catch((error) => {\r\n return error.response.data;\r\n });\r\n};\r\n\r\nexport const makeRequestGenerator = () => {\r\n const CancelToken = axios.CancelToken;\r\n const source = CancelToken.source();\r\n return {\r\n source,\r\n makeRequest,\r\n };\r\n};\r\n\r\nconst makeRequest = async (\r\n reqParams,\r\n { onSuccess, onError, throwErrorOnFailure = true ,source={}} = {}\r\n) => {\r\n console.log(reqParams);\r\n console.log(\"The source value is\", source)\r\n try {\r\n // let response = await axiosInst(reqParams,{cancelToken:source.token});\r\n let response = await axiosInst({...reqParams,cancelToken:source.token});\r\n\r\n onSuccess && onSuccess(response);\r\n return response;\r\n } catch (error) {\r\n onError && onError(error.response);\r\n if (throwErrorOnFailure) {\r\n throw error;\r\n }\r\n }\r\n};\r\n\r\n\r\nexport default makeRequest;\r\n","import { useState, useEffect, useRef } from \"react\";\r\nimport store from \"store\";\r\nimport { setSearchResults, setLoading, saveSearchFilters } from \"store/actions\";\r\nimport makeRequest, { makeMultipleRequests } from \"../api/request\";\r\nimport { DashboardServices } from \"../services\";\r\nimport {\r\n dynamicDateTypes,\r\n hebrewWeekdayMapping,\r\n /*hebrewWeekdayMappingReversed,*/\r\n} from \"common/constants\";\r\nimport moment from \"moment\";\r\nimport { omit, get } from \"lodash\";\r\n\r\nexport const getListQueryParams = (searchParams) => {\r\n let queryString = \"\";\r\n Object.keys(searchParams).forEach((key, index) => {\r\n if (index === 0) {\r\n queryString += \"?\";\r\n } else if (index > 0) {\r\n queryString += \"&\";\r\n }\r\n const val =\r\n typeof searchParams[key] === \"string\"\r\n ? searchParams[key]\r\n : JSON.stringify(searchParams[key]);\r\n console.log(val);\r\n queryString += `${key}=${encodeURIComponent(val)}`;\r\n });\r\n return queryString;\r\n};\r\n\r\nexport const getQueryParams = (searchParams) => {\r\n let queryString = \"\";\r\n Object.keys(searchParams).forEach((key, index) => {\r\n if (index === 0) {\r\n queryString += \"?\";\r\n } else if (index > 0) {\r\n queryString += \"&\";\r\n }\r\n const val =\r\n typeof searchParams[key] === \"string\"\r\n ? searchParams[key]\r\n : JSON.stringify(searchParams[key]);\r\n queryString += `${key}=${val}`;\r\n });\r\n return queryString;\r\n};\r\n\r\nexport const hhmm = (time) => {\r\n let hands = time.split(\":\");\r\n return `${hands[0]}:${hands[1]}`;\r\n};\r\n\r\nconst getMonthInHebrew = (month) => {\r\n let numberToHebrewMonthMap = {\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 };\r\n return numberToHebrewMonthMap[parseInt(month)];\r\n};\r\n\r\nexport const getCompleteDateStringWithTime = (date) => {\r\n const formattedDate = moment(date).format(\"MM-YYYY-DD\");\r\n const formats = formattedDate.split(\"-\");\r\n return `${getMonthInHebrew(formats[0])} ${formats[1]} ${formats[2]} ${moment(\r\n date\r\n ).format(\"hh:mm:ss\")}`;\r\n};\r\n\r\nexport const getDate = (date) => {\r\n if (date) {\r\n return moment(date).utc().format(\"DD/MM/YYYY\");\r\n } else {\r\n return \"\";\r\n }\r\n};\r\n\r\nexport const getDateReports = (date) => {\r\n if (date) {\r\n return moment(date).format(\"DD/MM/YYYY\");\r\n } else {\r\n return \"\";\r\n }\r\n};\r\n\r\nexport const yyyymmdd = (date) => {\r\n if (date) {\r\n return moment(date).format(\"YYYY-MM-DD\");\r\n }\r\n return \"\";\r\n};\r\n\r\nexport const getDay = (date) => {\r\n if (date) {\r\n return moment(date).day();\r\n }\r\n return \"\";\r\n};\r\n\r\nexport const getHebrewWeekDay = (date) => {\r\n if (date) {\r\n return hebrewWeekdayMapping[getDay(date)]; //return hebrewWeekdayMappingReversed[getDay(date)];\r\n } else {\r\n return \"\";\r\n }\r\n};\r\n\r\nexport const hhmm1 = (date) => {\r\n if (date) {\r\n return moment(date).format(\"HH:mm\");\r\n }\r\n};\r\n\r\nexport const getDateTimeFormat = (date) => {\r\n if (date) {\r\n return moment(date).utc().format(\"h:mm:ss DD/MM/YYYY\");\r\n } else {\r\n return \"\";\r\n }\r\n};\r\n\r\nexport const hhmm2 = (date) => {\r\n if (date) {\r\n return moment(date).utc().format(\"HH:mm\");\r\n }\r\n};\r\n\r\nexport const hhmmss = (date) => {\r\n if (date) {\r\n return moment(date).utc().format(\"h:mm:ss\");\r\n }\r\n};\r\n\r\nexport const convertToDateInsatnce = (date) => {\r\n if (date) {\r\n return moment(date).toDate();\r\n }\r\n return \"\";\r\n};\r\n\r\n//Changing time to UTC format , we don't need the time ,we just need the date\r\nexport const changeToUTCFormat = (date) => {\r\n if (date) {\r\n let formattedDate = moment(date).format(\"YYYY-MM-DD\");\r\n return `${formattedDate}T00:00:00Z`;\r\n }\r\n return \"\";\r\n};\r\n\r\nexport const returnDateRangeString = (fromDate, toDate) => {\r\n if (fromDate && toDate) {\r\n return `${getDate(toDate)}-${getDate(fromDate)}`;\r\n } else {\r\n return \"DD/MM/YYYY-DD/MM/YYYY\";\r\n }\r\n};\r\n\r\nexport const returnDateString = (date) => {\r\n return date ? getDate(date) : \"DD/MM/YYYY\";\r\n};\r\n\r\nexport const fetchSearchResults = (\r\n searchFilters,\r\n isNewSearch = false,\r\n updateCLS = 0\r\n) => {\r\n const promises = [];\r\n window.scrollTo(0, 0);\r\n store.dispatch(setLoading(true));\r\n const { searchText } = store.getState().searchFilters;\r\n const fetchSearchResultsReqBody = searchFilters.searchID\r\n ? searchFilters\r\n : omit(searchFilters, [\"searchID\"]);\r\n const fetchSearchResultsReqParams = DashboardServices.getSearchResults(\r\n fetchSearchResultsReqBody,\r\n { pageNum: 1, freeText: isNewSearch ? \"\" : searchText }\r\n );\r\n promises.push(fetchSearchResultsReqParams);\r\n if (searchFilters.searchType === 2) {\r\n let getTotalRows = DashboardServices.getTotalRows(searchFilters);\r\n promises.push(getTotalRows);\r\n }\r\n return makeMultipleRequests(promises)\r\n .then((res) => {\r\n const fetchSearchResultsResponse = get(res[0], \"data\") || [];\r\n const getTotalRowsResponse = get(res[1], \"data\");\r\n store.dispatch(saveSearchFilters(searchFilters));\r\n store.dispatch(\r\n setSearchResults({\r\n loading: false,\r\n posts: fetchSearchResultsResponse.oPosts,\r\n totalRows:\r\n searchFilters.searchType === 2\r\n ? getTotalRowsResponse.totalRows\r\n : fetchSearchResultsResponse.totalRows,\r\n hasMore: true,\r\n totalComments: fetchSearchResultsResponse.totalComments,\r\n totalLikes: fetchSearchResultsResponse.totalLikes,\r\n totalShares: fetchSearchResultsResponse.totalShares,\r\n showCLS: updateCLS,\r\n })\r\n );\r\n return true;\r\n })\r\n .catch((error) => {\r\n console.log(error);\r\n store.dispatch(\r\n setSearchResults({\r\n loading: false,\r\n posts: null,\r\n totalRows: 0,\r\n totalComments: 0,\r\n totalLikes: 0,\r\n totalShares: 0,\r\n })\r\n );\r\n return false;\r\n });\r\n};\r\n\r\nexport const scrollPostsContainerToTop = () => {\r\n const postsContainers = document.getElementById(\"posts-container\");\r\n if (postsContainers) {\r\n postsContainers.scrollIntoView(true);\r\n window.scrollTo(0, 0);\r\n }\r\n};\r\n\r\nexport const checkIsEqualDates = (date1, date2) => {\r\n return moment(date1).isSame(date2);\r\n};\r\n\r\nexport const getDynamicDateTypeString = (searchFilters) => {\r\n if (searchFilters.dynamicDateType !== null) {\r\n if (searchFilters.dynamicDateType === 0) {\r\n return `${getDate(searchFilters.fromDate)}-${getDate(\r\n searchFilters.toDate\r\n )}`;\r\n } else {\r\n const dynamicDate = dynamicDateTypes.find(\r\n (item) => item.key === searchFilters.dynamicDateType\r\n );\r\n return dynamicDate.text;\r\n }\r\n }\r\n};\r\n\r\nexport const numberWithCommas = (x) => {\r\n return x?.toString().replace(/\\B(?=(\\d{3})+(?!\\d))/g, \",\");\r\n};\r\n\r\nexport const transformSentimentsData = (data) => {\r\n const sentimentsData = [];\r\n if (data && data.length) {\r\n data.map((item) => {\r\n let obj = {};\r\n obj[\"name\"] = item.source;\r\n item.sentiments.map((data) => {\r\n if (data.sentiment != \"לא ידוע\") {\r\n obj[data.sentiment] = data.count;\r\n }\r\n });\r\n sentimentsData.push(obj);\r\n });\r\n }\r\n return sentimentsData;\r\n};\r\n\r\nconst getDimensions = () => {\r\n const { innerWidth: width, innerHeight: height } = window;\r\n return {\r\n width,\r\n height,\r\n };\r\n};\r\n\r\nexport const useDimensions = () => {\r\n const [dimensions, setDimensions] = useState(getDimensions());\r\n useEffect(() => {\r\n const handle = () => {\r\n setDimensions(getDimensions());\r\n };\r\n window.addEventListener(\"resize\", handle);\r\n return () => window.removeEventListener(\"resize\", handle);\r\n }, []);\r\n return dimensions;\r\n};\r\n\r\nexport const calculateRangeObject = (max, rows) => {\r\n let str = max.toString();\r\n if (str.length > 2) {\r\n let firstTwo = parseInt(str.substr(0, 2));\r\n\r\n let rem = firstTwo % rows;\r\n let toAdd = rows - rem;\r\n let newNumber = firstTwo + toAdd;\r\n let maximumRange = newNumber * Math.pow(10, str.length - 2);\r\n return { min: 0, upperRange: maximumRange, range: maximumRange / 5 };\r\n } else if (str.length == 2) {\r\n return { min: 0, upperRange: 100, range: 20 };\r\n } else if (str.length == 1) {\r\n return { min: 0, upperRange: 10, range: 2 };\r\n }\r\n};\r\nexport const shouldSlideUpdate = (\r\n lastTimeSlideUpdated,\r\n currentTime,\r\n seconds = 0.9\r\n) => {\r\n const diff = currentTime - lastTimeSlideUpdated;\r\n const diffInSeconds = Math.abs(diff / 1000);\r\n return !lastTimeSlideUpdated || diffInSeconds >= seconds;\r\n};\r\n\r\nexport const validateSearchParams = (requestedFilter) => {\r\n if (\r\n !requestedFilter.orText &&\r\n !requestedFilter.andText &&\r\n !requestedFilter.sources\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n};\r\n\r\nexport const checkIsValidEndTime = (to, from) => {\r\n if (Date.parse(`01/01/2011 ${to}`) > Date.parse(`01/01/2011 ${from}`)) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n};\r\n","import store from \"store\";\r\nimport {\r\n servicesAccessibleWithoutToken,\r\n generalError,\r\n userType,\r\n} from \"common/constants\";\r\nimport { openNotification } from \"common/components\";\r\nimport { logout as logoutAction, setSources } from \"store/actions\";\r\nimport makeRequest from \"../api/request\";\r\nimport { ConfigServices } from \"../services\";\r\nimport find from 'lodash/find'\r\n\r\nexport const getUser = () => {\r\n return JSON.parse(localStorage.getItem(\"UserData\")) || {};\r\n};\r\n\r\nexport const setUser = (user) => {\r\n localStorage.setItem(\"UserData\", JSON.stringify(user));\r\n};\r\n\r\nexport const logout = () => {\r\n localStorage.removeItem(\"UserData\");\r\n store.dispatch(logoutAction());\r\n};\r\n\r\nexport const isTokenExpired = (error) => {\r\n const { response } = error;\r\n if (response) {\r\n if (response.status === 401) {\r\n logout();\r\n } else if (response.status === 400) {\r\n const errors =\r\n response.data.errors || response.data.message || response.data;\r\n openNotification(`${generalError} ${errors}`, \"error\");\r\n }\r\n // else if (response.status === 400) {\r\n // const errors = response.data.errors || response.data;\r\n // openNotification(`${generalError} ${errors}`, \"error\");\r\n // }\r\n return Promise.reject(error);\r\n }\r\n};\r\n\r\nexport const getAllSources = async () => {\r\n const getAllSourcesResponse = await makeRequest(\r\n ConfigServices.getAllSources()\r\n );\r\n const sources = (getAllSourcesResponse && getAllSourcesResponse.data) || [];\r\n store.dispatch(setSources(sources));\r\n return;\r\n};\r\n\r\nexport const checkUserLoggedIn = async () => {\r\n let user = getUser();\r\n if (user.token) {\r\n await getAllSources();\r\n }\r\n return user;\r\n};\r\n\r\nexport const isApiAccessibleWithoutToken = (requestUrl) => {\r\n let requestUrlWithoutQueryString = requestUrl.split(\"?\")[0];\r\n return servicesAccessibleWithoutToken.includes(requestUrlWithoutQueryString);\r\n};\r\n\r\nexport const checkIsAdminUser = () => {\r\n const profileType = getUser().type;\r\n if (profileType === userType.admin) {\r\n return true;\r\n } else {\r\n return false;\r\n }\r\n};\r\n\r\nexport const checkPermission = (permission) => {\r\n const user = getUser();\r\n const perm = find(\r\n user.auths, (auth) => auth.authTypeID === permission\r\n );\r\n return perm && perm.authTypeValue\r\n}","const HttpMethods = {\r\n POST: \"POST\",\r\n GET: \"GET\",\r\n PUT: \"PUT\",\r\n DELETE: \"DELETE\",\r\n};\r\n\r\nexport default HttpMethods;\r\n","import { useCallback, useReducer, useRef } from \"react\";\r\nimport axios from \"axios\";\r\nimport get from \"lodash/get\";\r\nimport { makeRequestGenerator } from \"../api/request\";\r\n\r\nconst initialState = {\r\n loading: false,\r\n isSuccess: undefined,\r\n data: undefined,\r\n isError: undefined,\r\n error: undefined\r\n};\r\n\r\nconst ACTIONS = {\r\n LOADING: \"loading\",\r\n SUCCESS: \"success\",\r\n FAILED: \"failed\",\r\n RESET: \"reset\"\r\n};\r\n\r\nfunction reducer(state, action) {\r\n switch (action.type) {\r\n case ACTIONS.LOADING:\r\n return { ...state, loading: action.payload.loading };\r\n case ACTIONS.SUCCESS:\r\n return {\r\n ...state,\r\n loading: false,\r\n isSuccess: true,\r\n data: get(action, \"payload.data\", null)\r\n };\r\n case ACTIONS.FAILED:\r\n return {\r\n ...state,\r\n loading: false,\r\n isError: true,\r\n error: action.error.data\r\n };\r\n case ACTIONS.RESET:\r\n return { ...initialState };\r\n default:\r\n return state;\r\n }\r\n}\r\n\r\nfunction useApiService(service, { throwErrorOnFailure = false } = {}) {\r\n const [state, dispatch] = useReducer(reducer, initialState);\r\n const sourceRef = useRef(null);\r\n\r\n const onSuccess = useCallback(\r\n (response) => {\r\n dispatch({ type: ACTIONS.SUCCESS, payload: response });\r\n },\r\n [dispatch]\r\n );\r\n\r\n const onError = useCallback(\r\n (error) => {\r\n dispatch({ type: ACTIONS.FAILED, error });\r\n },\r\n [dispatch]\r\n );\r\n\r\n const resetServiceState = useCallback(() => {\r\n dispatch({ type: ACTIONS.RESET });\r\n }, [dispatch]);\r\n\r\n const callService = useCallback(\r\n (inputs, extraInputs) => {\r\n let reqParams = service(inputs, extraInputs);\r\n dispatch({ type: ACTIONS.LOADING, payload: { loading: true } });\r\n const { makeRequest, source } = makeRequestGenerator();\r\n sourceRef.current = source;\r\n\r\n return makeRequest(reqParams, {\r\n onSuccess,\r\n onError,\r\n throwErrorOnFailure,\r\n source\r\n });\r\n },\r\n [service, onSuccess, onError, throwErrorOnFailure]\r\n );\r\n\r\n const cancelService = () => {\r\n sourceRef.current?.cancel();\r\n };\r\n\r\n return { state, callService, resetServiceState, cancelService };\r\n}\r\n\r\nexport default useApiService;\r\n","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\nimport { getListQueryParams } from \"common/utils/helpers\";\r\n\r\nexport default {\r\n getAllSources: () => {\r\n return {\r\n url: ApiUrls.GET_ALL_SOURCES,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n};\r\n","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\nimport { getListQueryParams } from \"common/utils/helpers\";\r\n\r\nexport default {\r\n getSavedSearches: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.SAVED_SEARCH_RESULTS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n getCustomerSavedSearches: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.CUSTOMER_SAVED_SEARCH_RESULTS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n getHistory: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.SAVED_SEARCH_HISTORY}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n setAlert: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.SET_ALERT}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n setDefault: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.SET_DEFAULT}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n deleteSearch: (searchParams) => {\r\n return {\r\n url: ApiUrls.SAVED_SEARCHES.DELETE_SEARCH,\r\n method: HttpMethods.POST,\r\n data: searchParams\r\n };\r\n },\r\n renameSavedSearch: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.RENAME_SEARCH}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n updateCLS: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.SAVED_SEARCHES.UPDATE_CLS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n }\r\n};\r\n","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\nimport { getListQueryParams } from \"common/utils/helpers\";\r\n\r\nexport default {\r\n getDefaultSearch: () => {\r\n return {\r\n url: ApiUrls.DASHBOARD.GET_DEFAULT_SEARCH,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n getSearchResults: (input, params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.DASHBOARD.SEARCH_RESULTS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input\r\n };\r\n },\r\n addSearch: (input, params = {}) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.DASHBOARD.ADD_SEARCH}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input\r\n };\r\n },\r\n updateSearch: (input, params = {}) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.DASHBOARD.UPDATE_SEARCH}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input\r\n };\r\n },\r\n exportExcel: (input) => {\r\n return {\r\n url: ApiUrls.DASHBOARD.EXPORT_EXCEL,\r\n method: HttpMethods.POST,\r\n data: input\r\n };\r\n },\r\n fetchStories: (input) => {\r\n let url = ApiUrls.DASHBOARD.GET_STORIES;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input\r\n };\r\n },\r\n addItemLog: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.DASHBOARD.ADD_ITEM_LOG}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n getKeyWords: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.DASHBOARD.GET_KEYWORDS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET\r\n };\r\n },\r\n getTotalRows: (data) => ({\r\n url: ApiUrls.DASHBOARD.GET_TOTAL_ROWS,\r\n method: HttpMethods.POST,\r\n data\r\n })\r\n};\r\n","import { HttpMethods, getListQueryParams } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\n\r\nexport default {\r\n login: (inputs) => {\r\n return {\r\n url: ApiUrls.LOGIN.LOGIN,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n releaseRequest: (inputs) => {\r\n let url = `${ApiUrls.LOGIN.RELEASE}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n restoreRequest: (inputs) => {\r\n let url = `${ApiUrls.LOGIN.RESTORE}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n changePassword: (inputs) => {\r\n let url = `${ApiUrls.LOGIN.CHANGE_PASSWORD}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n checkOtpStatus: (inputs) => { \r\n return {\r\n url: ApiUrls.LOGIN.CHECK_OTP,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n getNewAuthCode: (inputs) => { \r\n return {\r\n url: ApiUrls.LOGIN.GET_NEW_AUTHCODE,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n me: () => {\r\n let url = `${ApiUrls.ME}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n};\r\n","import { HttpMethods, getListQueryParams } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\n\r\nexport default {\r\n setUser: (inputs) => {\r\n return {\r\n url: ApiUrls.USER.SET_USER,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n }, \r\n setPassword: (inputs) => {\r\n let url = `${ApiUrls.USER.SET_PASSWORD}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n setUserStatus: (inputs) => {\r\n let url = `${ApiUrls.USER.SET_USER_STATUS}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getUserAlerts: () => {\r\n let url = `${ApiUrls.USER.GET_ALERTS}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n setSmsAlerts: (inputs) => {\r\n let url = `${ApiUrls.USER.SET_SMS_ALERTS}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n setEmailAlerts: (inputs) => {\r\n let url = `${ApiUrls.USER.SET_EMAIL_ALERTS}${getListQueryParams(inputs)}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n };\r\n ","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\nimport { getListQueryParams } from \"common/utils/helpers\";\r\n\r\nexport default {\r\n getUsersList: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.GET_USERS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getUsersTotal: () => {\r\n return {\r\n url: ApiUrls.ADMIN.GET_USERS_TOTAL,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n addUser: (input) => {\r\n return {\r\n url: ApiUrls.ADMIN.ADD_USER,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n editUser: (input) => {\r\n return {\r\n url: ApiUrls.ADMIN.EDIT_USER,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n setUserStatus: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.SET_USER_STATUS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n deleteUser: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.DEL_USER}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getGroupsList: () => {\r\n return {\r\n url: ApiUrls.ADMIN.GET_GROUPS,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getAuthsList: () => {\r\n return {\r\n url: ApiUrls.ADMIN.GET_AUTHS,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n addGroup: (groupName, inputs) => {\r\n return {\r\n url: `${ApiUrls.ADMIN.ADD_GROUP}?GroupName=${groupName}`,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n editGroup: (params, inputs) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.EDIT_GROUP}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n exportGroups: (inputs) => {\r\n return {\r\n url: ApiUrls.ADMIN.EXPORT_GROUPS,\r\n method: HttpMethods.POST,\r\n data: inputs,\r\n };\r\n },\r\n getSearchHistory: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.GET_SEARCH_HISTORY}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n bulkEdit: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.BULK_EDIT}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getUserSearches: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.GET_USER_SEARCHES}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n exportSearches: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.EXPORT_SEARCHES}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getUsageLog: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.GET_USAGE_LOG}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n exportLogs: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.EXPORT_LOGS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n resetPassword: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.RESET_PASSWORD}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n exportEditSearches: (params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.ADMIN.EXPORT_EDIT_SEARCH}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n};\r\n","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\n\r\nexport default {\r\n getUserAlertSMS: () => {\r\n return {\r\n url: ApiUrls.ACCOUNT.GET_USER_SMS_ALERTS,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n getUserAlertMail: () => {\r\n return {\r\n url: ApiUrls.ACCOUNT.GET_USER_MAIL_ALERTS,\r\n method: HttpMethods.GET,\r\n };\r\n },\r\n saveUserAlertsSMS: (input) => {\r\n return {\r\n url: ApiUrls.ACCOUNT.SAVE_USER_SMS_ALERTS,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n saveUserAlertsMail: (input) => {\r\n return {\r\n url: ApiUrls.ACCOUNT.SAVE_USER_MAIL_ALERTS,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n};\r\n","import { HttpMethods } from \"../helpers\";\r\nimport { ApiUrls } from \"common/constants\";\r\nimport { getListQueryParams, getQueryParams } from \"common/utils/helpers\";\r\n\r\nexport default {\r\n getReports: (input, params) => {\r\n let queryParams = getListQueryParams(params);\r\n let url = `${ApiUrls.REPORTS.GET_REPORTS}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n getMatchReports: (input, params) => {\r\n let queryParams = getQueryParams(params);\r\n let url = `${ApiUrls.REPORTS.GET_MATCH_REPORT}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n getReportSearchResults: (input, params) => {\r\n const queryParams = getListQueryParams(params);\r\n const url = `${ApiUrls.REPORTS.SEARCH_REPORT}${queryParams}`;\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n getKeyWordReport: (input, params) => {\r\n let url = ApiUrls.REPORTS.GET_KEY_WORD_REPORT;\r\n if (params) {\r\n const queryParams = getListQueryParams(params);\r\n url = `${ApiUrls.REPORTS.GET_KEY_WORD_REPORT}${queryParams}`;\r\n }\r\n return {\r\n url,\r\n method: HttpMethods.POST,\r\n data: input,\r\n };\r\n },\r\n};\r\n","export const Regex = {\r\n Password: /^.{6,}$/,\r\n PersonName: /^[a-zA-Z]+(([',. -][a-zA-Z ])?[a-zA-Z]*)*$/,\r\n Mobile: /^(\\+\\d{1,3}[- ]?)?\\d{10}$/,\r\n Email: /^[A-Z0-9._%+-]+@[A-Z0-9.-]+\\.[A-Z]{2,}$/i,\r\n};\r\n\r\nconst requiredRuleForInputField = (label) => ({\r\n required: `בבקשה היכנס ${label || \"שדה\"}`,\r\n});\r\n\r\nconst requiredRuleForSelectField = (label) => ({\r\n required: `בבקשה תבחר ${label || \"שדה\"}`,\r\n});\r\n\r\nexport const validationRules = {\r\n firstName: {\r\n ...requiredRuleForInputField(\"שם פרטי\"),\r\n pattern: {\r\n value: Regex.PersonName,\r\n message: \"אנא הזן שם פרטי חוקי\",\r\n },\r\n minLength: {\r\n value: 2,\r\n message: \"שם פרטי צריך להכיל לפחות שתי תווים\",\r\n },\r\n },\r\n lastName: {\r\n pattern: {\r\n value: Regex.PersonName,\r\n message: \"אנא הזן שם משפחה חוקי\",\r\n },\r\n minLength: {\r\n value: 2,\r\n message: \"שם משפחה צריך להכיל לפחות שתי תווים\",\r\n },\r\n },\r\n email: {\r\n ...requiredRuleForInputField(\"אימייל\"),\r\n pattern: {\r\n value: Regex.Email,\r\n message: 'אנא הכנס דוא\"ל תקף',\r\n },\r\n },\r\n contactNumber: {\r\n ...requiredRuleForInputField(\"מספר איש קשר\"),\r\n pattern: {\r\n value: Regex.Mobile,\r\n message: \"אנא הזן מספר איש קשר תקף\",\r\n },\r\n },\r\n platoon: {\r\n // ...requiredRuleForInputField(\"platoon\"),\r\n },\r\n role: {\r\n // ...requiredRuleForInputField(\"role\"),\r\n },\r\n workerNumber: {\r\n maxLength: {\r\n value: 9,\r\n message: \"מספר העובד צריך להכיל 9 ספרות לכל היותר\",\r\n },\r\n },\r\n status: {\r\n required: \"אנא בחר קבוצת משתמשים או כל מכשול או מחק את כל האפשרויות\",\r\n },\r\n userGroupID: {\r\n ...requiredRuleForSelectField(\"קבוצת משתמשים מזהה\"),\r\n },\r\n searchName: {\r\n ...requiredRuleForInputField(\"searchName\"),\r\n },\r\n};\r\n","// extracted by mini-css-extract-plugin\nexport default {\"cardContainer\":\"src-components-DashBoardCard-___dashBoardCard-module__cardContainer___1pXkT\",\"subContainer\":\"src-components-DashBoardCard-___dashBoardCard-module__subContainer___3481l\",\"heading\":\"src-components-DashBoardCard-___dashBoardCard-module__heading___23vRF\",\"skeletonheading\":\"src-components-DashBoardCard-___dashBoardCard-module__skeletonheading___35ySI\",\"clock\":\"src-components-DashBoardCard-___dashBoardCard-module__clock___UfnN0\",\"headingTitle\":\"src-components-DashBoardCard-___dashBoardCard-module__headingTitle___2y_k6\",\"img\":\"src-components-DashBoardCard-___dashBoardCard-module__img___3rBJy\",\"popover\":\"src-components-DashBoardCard-___dashBoardCard-module__popover___1ub0w\",\"content\":\"src-components-DashBoardCard-___dashBoardCard-module__content___31Ps2\",\"text\":\"src-components-DashBoardCard-___dashBoardCard-module__text___2s97k\",\"title\":\"src-components-DashBoardCard-___dashBoardCard-module__title___3YiyP\",\"titleSkeleton\":\"src-components-DashBoardCard-___dashBoardCard-module__titleSkeleton___1OFGs\",\"paraSkeleton\":\"src-components-DashBoardCard-___dashBoardCard-module__paraSkeleton___2Zdtl\",\"buttons\":\"src-components-DashBoardCard-___dashBoardCard-module__buttons___3XHwf\",\"source\":\"src-components-DashBoardCard-___dashBoardCard-module__source___swY6F\",\"social\":\"src-components-DashBoardCard-___dashBoardCard-module__social___2pzyl\",\"writerAndIconContainer\":\"src-components-DashBoardCard-___dashBoardCard-module__writerAndIconContainer___1ortc\",\"writer\":\"src-components-DashBoardCard-___dashBoardCard-module__writer___2Dga1\",\"icons\":\"src-components-DashBoardCard-___dashBoardCard-module__icons___9G83C\",\"heartText\":\"src-components-DashBoardCard-___dashBoardCard-module__heartText___2SjM_\",\"iconContainer\":\"src-components-DashBoardCard-___dashBoardCard-module__iconContainer___aRE7p\",\"heartIcon\":\"src-components-DashBoardCard-___dashBoardCard-module__heartIcon___3eQrJ\",\"value\":\"src-components-DashBoardCard-___dashBoardCard-module__value___3gOgx\",\"icon\":\"src-components-DashBoardCard-___dashBoardCard-module__icon___N_fFu\"};","import React from \"react\";\r\nimport styles from \"./dashBoardCard.module.scss\";\r\nimport { getDate, hhmm2 } from \"common/utils/helpers\";\r\nimport { DashboardServices } from \"common/utils/services\";\r\nimport makeRequest from \"common/utils/api/request\";\r\nimport {\r\n SOCIAL_MEDIA_ICON,\r\n sourceHebrewMapping,\r\n Sentiments,\r\n} from \"common/constants\";\r\nimport { Popover } from \"common/components\";\r\nimport { Clock, Like, Share, Message } from \"common/style/img\";\r\nimport { SOCIAL_MEDIA_COMMENT_ICON } from \"../../common/constants/app.constants\";\r\n\r\nconst SOURCES = [\"facebook\", \"twitter\", \"instagram\", \"tiktok\"];\r\n\r\nconst DashBoardCard = ({ details, t, showCLS }) => {\r\n const openLink = () => {\r\n if (details.link) {\r\n const req = DashboardServices.addItemLog({ link: details.link });\r\n makeRequest(req);\r\n window.open(details.link, \"_blank\");\r\n }\r\n };\r\n\r\n const returnSocialIcon = (value, icon) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
{value}
\r\n
\r\n );\r\n };\r\n\r\n const getIcon = (id, isComment) => {\r\n if (\r\n isComment &&\r\n (id === 4 || id === 5 || id === 6 || id === 7 || id === 11)\r\n ) {\r\n return SOCIAL_MEDIA_COMMENT_ICON[id];\r\n }\r\n return SOCIAL_MEDIA_ICON[id];\r\n };\r\n\r\n const isSocialMedia = SOURCES.includes(details.source);\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 {getDate(details.publishDate)}\r\n {hhmm2(details.publishDate)}\r\n
\r\n
\r\n \r\n
{sourceHebrewMapping[details.userLinkTypeID]}
\r\n {/*
*/}\r\n
\r\n }\r\n >\r\n
e.stopPropagation()}>\r\n \r\n {/*
\r\n
\r\n {sourceHebrewMapping[details.userLinkTypeID]}\r\n
\r\n
*/}\r\n
\r\n \r\n
\r\n {isSocialMedia ? (\r\n \r\n
{details.fulltext}
\r\n {/*
*/}\r\n
\r\n }\r\n >\r\n \r\n \r\n ) : (\r\n \r\n )}\r\n
\r\n
\r\n
\r\n {details.subSource || details.source}\r\n
\r\n
\r\n
\r\n
\r\n
\r\n {(showCLS && details.likeCount > 0) ||\r\n details.commentCount > 0 ||\r\n (details.shareCount > 0 && (\r\n
\r\n {returnSocialIcon(details.likeCount, Like)}\r\n {returnSocialIcon(details.commentCount, Message)}\r\n {returnSocialIcon(details.shareCount, Share)}\r\n
\r\n ))}\r\n
{details.writer}
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n {Sentiments[details.sentiment].text}\r\n
\r\n
\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default DashBoardCard;\r\n","import React from \"react\";\r\nimport styles from \"./dashBoardCard.module.scss\";\r\nimport Skeleton from \"react-loading-skeleton\";\r\n\r\nconst returnSocialIcon = (value, icon) => {\r\n return (\r\n
\r\n
\r\n \r\n
\r\n
{value}
\r\n
\r\n );\r\n};\r\n\r\nconst DashBoardCardSkeleton = ({ details = {} }) => {\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\nexport default DashBoardCardSkeleton;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"saveSearchBox\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__saveSearchBox___2pX5t\",\"headingContainer\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__headingContainer___1zaSs\",\"text\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__text___1UM7l\",\"closeBtn\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__closeBtn___3-hiH\",\"inputField\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__inputField___2a_b1\",\"checkbox\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__checkbox___1ewZe\",\"defaultSearchCheckboxLabel\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__defaultSearchCheckboxLabel___2x8jO\",\"saveBtn\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__saveBtn___3z4kI\",\"mobileSaveSearchBox\":\"src-components-DashBoard-SaveSearchPopUp-___saveSearchPopUp-module__mobileSaveSearchBox___17NRf\"};","import React, { useState, useEffect } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useForm, useWatch, Controller } from \"react-hook-form\";\r\nimport { DashboardServices } from \"common/utils/services\";\r\nimport { useApiService } from \"common/utils/helpers\";\r\nimport { validationRules } from \"common/validations\";\r\nimport {\r\n InputField,\r\n CheckBox,\r\n Button,\r\n openNotification,\r\n Alert,\r\n} from \"common/components\";\r\nimport { saveSearchFilters } from \"store/actions\";\r\nimport { omit } from \"lodash\";\r\nimport styles from \"./saveSearchPopUp.module.scss\";\r\nimport { notificationText } from \"common/constants\";\r\nimport { useRef } from \"react\";\r\n\r\nconst SaveSearchPopUp = ({\r\n onClose,\r\n setAddSearchLoading,\r\n isMobile = false,\r\n}) => {\r\n const { t } = useTranslation(\"dashboard\");\r\n const dispatch = useDispatch();\r\n const { searchFilters } = useSelector((state) => state.searchFilters);\r\n const [alert, setAlert] = useState(\"\");\r\n const saveSearchPopupRef = useRef(null);\r\n const {\r\n register,\r\n control,\r\n handleSubmit,\r\n formState: { errors },\r\n } = useForm({ mode: \"onSubmit\", defaultValues: { saveAsDefaultSearch: 0 } });\r\n const data = useWatch({ control });\r\n\r\n useEffect(() => {\r\n const handler = (event) => {\r\n if (!saveSearchPopupRef.current?.contains(event.target)) {\r\n onClose();\r\n }\r\n };\r\n document.addEventListener(\"mousedown\", handler);\r\n document.addEventListener(\"touchstart\", handler);\r\n\r\n return () => {\r\n document.removeEventListener(\"mousedown\", handler);\r\n document.removeEventListener(\"touchstart\", handler);\r\n };\r\n }, []);\r\n\r\n const {\r\n state: {\r\n loading: addSearchLoading,\r\n isSuccess: isAddSearchSuccess,\r\n data: addSearchResponse,\r\n isError: isAddSearchError,\r\n error: addSearchError,\r\n },\r\n callService: addSearchService,\r\n resetServiceState: resetAddSearchServiceState,\r\n } = useApiService(DashboardServices.addSearch);\r\n\r\n useEffect(() => {\r\n if (isAddSearchSuccess && addSearchResponse) {\r\n const payload = {\r\n searchID: addSearchResponse.searchId,\r\n name: data.name,\r\n };\r\n dispatch(saveSearchFilters(payload));\r\n resetAddSearchServiceState();\r\n openNotification(notificationText.savedSuccess, \"success\");\r\n setAddSearchLoading && setAddSearchLoading(false);\r\n onClose();\r\n }\r\n }, [isAddSearchSuccess, addSearchResponse]);\r\n\r\n useEffect(() => {\r\n if (isAddSearchError) {\r\n console.log(addSearchError);\r\n setAlert(\"Unable to save !!\");\r\n resetAddSearchServiceState();\r\n setAddSearchLoading(false);\r\n }\r\n }, [isAddSearchError, addSearchError]);\r\n\r\n const addSearch = () => {\r\n setAddSearchLoading && setAddSearchLoading(true);\r\n const reqBody = {\r\n ...omit(searchFilters, \"searchID\"),\r\n name: data.name,\r\n };\r\n addSearchService(reqBody, { DefaultSearch: data.saveAsDefaultSearch });\r\n };\r\n\r\n const toggleCheckboxState = (onChange) => {\r\n if (data.saveAsDefaultSearch) {\r\n onChange(0);\r\n } else {\r\n onChange(1);\r\n }\r\n };\r\n\r\n const getContainerClassName = () => {\r\n if (isMobile) {\r\n return styles.mobileSaveSearchBox;\r\n } else {\r\n return styles.saveSearchBox;\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
{t(\"addToSaveText\")}
\r\n \r\n
\r\n {alert && setAlert(\"\")} />}\r\n \r\n
\r\n (\r\n toggleCheckboxState(onChange)}\r\n labelClassName={styles.defaultSearchCheckboxLabel}\r\n />\r\n )}\r\n />\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nexport default SaveSearchPopUp;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"topPanelContainer\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__topPanelContainer___ahavK\",\"saveSearchModal\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__saveSearchModal___80JAt\",\"filtersAndSortModal\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__filtersAndSortModal___n40ih\",\"iconsContainer\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__iconsContainer___uctse\",\"right\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__right___3qSNv\",\"count\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__count___1sWLh\",\"text\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__text___12rsa\",\"searchName\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__searchName___3R-a-\",\"dateRange\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__dateRange___1JdaZ\",\"disable\":\"src-components-DashBoard-MobileTopPanel-___mobileTopPanel-module__disable___Zv7tU\"};","// extracted by mini-css-extract-plugin\nexport default {\"filterAndSortContainer\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__filterAndSortContainer___1uD16\",\"heading\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__heading___2KKfy\",\"title\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__title___116HH\",\"subTitle\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__subTitle___1cRmB\",\"sortSelect\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__sortSelect___2_9CK\",\"dateRange\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__dateRange___ErEmW\",\"datePickerContainer\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__datePickerContainer___3wlo7\",\"datePicker\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__datePicker___3JnJv\",\"tag\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__tag___2F_td\",\"showMoreContainer\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__showMoreContainer___1Ce9s\",\"count\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__count___14HJn\",\"showLess\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__showLess___ozy6u\",\"sourcesList\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__sourcesList___lUPmr\",\"source\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__source___gnJRh\",\"active\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__active___x4FrP\",\"applyBtn\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__applyBtn___2GNND\",\"error\":\"src-components-DashBoard-MobileTopPanel-FiltersAndSort-___filtersAndSort-module__error___18T9S\"};","import React, { useState, useEffect } from \"react\";\r\nimport { useLocation } from \"react-router\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useSelector } from \"react-redux\";\r\nimport {\r\n sortOptions,\r\n dynamicDateTypes,\r\n OperationsEnum\r\n} from \"common/constants\";\r\nimport {\r\n Select,\r\n DateRangeSelector,\r\n DynamicTags,\r\n Button,\r\n ErrorMessage\r\n} from \"common/components\";\r\nimport { fetchSearchResults } from \"common/utils/helpers\";\r\nimport { isEqual } from \"lodash\";\r\nimport styles from \"./filtersAndSort.module.scss\";\r\n\r\nconst FiltersAndSort = ({ onSuccess }) => {\r\n const { t } = useTranslation([\"dashboard\", \"advancedSearch\"]);\r\n const { searchFilters } = useSelector((state) => state.searchFilters);\r\n const { loading } = useSelector((state) => state.searchResults);\r\n const { sources, keyWords } = useSelector((state) => state.config);\r\n const [selectedFilters, setSelectedFilters] = useState({ ...searchFilters });\r\n const [selectAll, setSelectAll] = useState(true);\r\n const [errorMessage, setErrorMessage] = useState(\"\");\r\n const [showMoreKeywords, setShowMoreKeywords] = useState(false);\r\n const { state } = useLocation();\r\n\r\n useEffect(() => {\r\n if (!isEqual(selectedFilters, searchFilters)) {\r\n setSelectedFilters({ ...searchFilters });\r\n }\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, []);\r\n\r\n useEffect(() => {\r\n if (selectedFilters.sources?.length === 0) {\r\n setSelectAll(true);\r\n } else {\r\n selectAll && setSelectAll(false);\r\n }\r\n }, [selectedFilters.sources]);\r\n\r\n useEffect(() => {\r\n const { orText, andText, sources } = selectedFilters;\r\n if (orText.length || andText.length || sources?.length) {\r\n errorMessage && setErrorMessage(\"\");\r\n }\r\n }, [\r\n selectedFilters.orText,\r\n selectedFilters.andText,\r\n selectedFilters.sources\r\n ]);\r\n\r\n const onSortSelect = (option) => {\r\n if (selectedFilters.sort !== option.value) {\r\n setSelectedFilters({ ...selectedFilters, sort: option.value });\r\n }\r\n };\r\n\r\n const onDynamicDateTypeSelect = ({ key }) => {\r\n setSelectedFilters({ ...selectedFilters, dynamicDateType: key });\r\n };\r\n\r\n const onFromDateChange = (fromDate) => {\r\n setSelectedFilters({...selectedFilters,fromDate});\r\n }\r\n\r\n const onToDateChange = (toDate) => {\r\n setSelectedFilters({...selectedFilters,toDate: toDate, dynamicDateType: 0});\r\n }\r\n\r\n const onSelectAllBtnClick = () => {\r\n if (!selectAll) {\r\n if (selectedFilters.sources.length) {\r\n setSelectedFilters({ ...selectedFilters, sources: [] });\r\n setSelectAll(true);\r\n }\r\n }\r\n };\r\n\r\n const onSourceBtnClick = (sourceId) => {\r\n const index = selectedFilters.sources.findIndex(\r\n (source) => source.sourceID === sourceId\r\n );\r\n if (index === -1) {\r\n setSelectedFilters({\r\n ...selectedFilters,\r\n sources: [\r\n ...selectedFilters.sources,\r\n { sourceID: sourceId, subSource: [] }\r\n ]\r\n });\r\n } else {\r\n selectedFilters.sources.splice(index, 1);\r\n setSelectedFilters({\r\n ...selectedFilters,\r\n sources: [...selectedFilters.sources]\r\n });\r\n }\r\n selectAll && setSelectAll(false);\r\n };\r\n\r\n const onKeywordFilterClick = (keyWordID) => {\r\n const index = selectedFilters.keyWords.indexOf(keyWordID);\r\n if (index === -1) {\r\n setSelectedFilters({\r\n ...selectedFilters,\r\n keyWords: [...selectedFilters.keyWords, keyWordID]\r\n });\r\n } else {\r\n selectedFilters.keyWords.splice(index, 1);\r\n setSelectedFilters({\r\n ...selectedFilters,\r\n keyWords: [...selectedFilters.keyWords]\r\n });\r\n }\r\n };\r\n\r\n const getActiveClassname = (sourceID) => {\r\n const element = selectedFilters.sources?.find(\r\n (source) => source.sourceID === sourceID\r\n );\r\n if (element) {\r\n return styles.active;\r\n } else {\r\n return \"\";\r\n }\r\n };\r\n\r\n const getKeywordFilterActiveClassName = (keyWordID) => {\r\n let classNames = [styles.source];\r\n if (selectedFilters.keyWords.length) {\r\n const index = selectedFilters.keyWords.findIndex(\r\n (keyword) => keyword === keyWordID\r\n );\r\n if (index !== -1) {\r\n classNames.push(styles.active);\r\n }\r\n }\r\n return classNames.join(\" \");\r\n };\r\n\r\n const applySearch = async () => {\r\n if (!isEqual(selectedFilters, searchFilters)) {\r\n if (\r\n !selectedFilters.orText.length &&\r\n !selectedFilters.andText.length &&\r\n !selectedFilters.sources.length\r\n ) {\r\n setErrorMessage(t(\"advancedSearch:zeroLengthOrAndSourcesError\"));\r\n } else {\r\n const fetchSearchResultsResponse = await fetchSearchResults(\r\n selectedFilters\r\n );\r\n if (fetchSearchResultsResponse) {\r\n onSuccess();\r\n }\r\n }\r\n }\r\n };\r\n\r\n const toggleShowMoreKeywords = () => setShowMoreKeywords(!showMoreKeywords);\r\n\r\n const getUpdatedKeyWords = () => {\r\n if (keyWords?.length > 8) {\r\n if (!showMoreKeywords) {\r\n return keyWords?.slice(0, 8);\r\n } else {\r\n return keyWords;\r\n }\r\n }\r\n return keyWords;\r\n };\r\n\r\n return (\r\n
\r\n
\r\n {t(\"advancedSearch:sortAndFilterText\")}\r\n
\r\n
{t(\"dashboard:sortHeading\")}
\r\n option.value === selectedFilters.sort)\r\n ?.key\r\n }\r\n overideClassName={styles.sortSelect}\r\n onSelect={onSortSelect}\r\n />\r\n
{t(\"advancedSearch:text5\")}
\r\n
{t(\"advancedSearch:subText5\")}
\r\n \r\n {\r\n selectedFilters.dynamicDateType === 0 && (\r\n
\r\n \r\n\r\n \r\n
\r\n )\r\n }\r\n
{t(\"advancedSearch:searchTags\")}
\r\n
{t(\"advancedSearch:subTitle\")}
\r\n \r\n setSelectedFilters({ ...selectedFilters, orText: options })\r\n }\r\n operationName={OperationsEnum.OR}\r\n />\r\n
{t(\"advancedSearch:text1\")}
\r\n
{t(\"advancedSearch:subText1\")}
\r\n \r\n setSelectedFilters({ ...selectedFilters, andText: options })\r\n }\r\n operationName={OperationsEnum.AND}\r\n optionTagOverideClassName={styles.tag}\r\n />\r\n
{t(\"advancedSearch:text2\")}
\r\n
{t(\"advancedSearch:subText2\")}
\r\n \r\n setSelectedFilters({ ...selectedFilters, notText: options })\r\n }\r\n operationName={OperationsEnum.NOT}\r\n optionTagOverideClassName={styles.tag}\r\n />\r\n {state?.getKeywords && !!keyWords.length && (\r\n <>\r\n
{t(\"advancedSearch:topKeywords\")}
\r\n
\r\n {getUpdatedKeyWords().map((keyword) => (\r\n onKeywordFilterClick(keyword.keyWordID)}\r\n >\r\n {keyword.keyWordeName}\r\n
\r\n ))}\r\n
\r\n {keyWords.length > 8 && (\r\n \r\n {!showMoreKeywords ? (\r\n <>\r\n
{`${\r\n keyWords.length - 8\r\n } +`}
\r\n \r\n {t(\"advancedSearch:showMoreText\")}\r\n \r\n \r\n ) : (\r\n <>\r\n \r\n \r\n {t(\"advancedSearch:showLess\")}\r\n \r\n \r\n )}\r\n \r\n )}\r\n \r\n )}\r\n
{t(\"advancedSearch:text3\")}
\r\n
\r\n \r\n {t(\"advancedSearch:showAll\")}\r\n
\r\n {sources.map((source, index) => (\r\n onSourceBtnClick(source.sourceID)}\r\n >\r\n {source.sourceName}\r\n \r\n ))}\r\n \r\n
{t(\"advancedSearch:text4\")}
\r\n
{t(\"advancedSearch:subText4\")}
\r\n \r\n setSelectedFilters({ ...selectedFilters, subSources: options })\r\n }\r\n />\r\n \r\n \r\n \r\n );\r\n};\r\n\r\nexport default FiltersAndSort;\r\n","import React, { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { Modal, openNotification } from \"common/components\";\r\nimport {\r\n numberWithCommas,\r\n getDynamicDateTypeString,\r\n} from \"common/utils/helpers\";\r\nimport SaveSearchPopUp from \"../SaveSearchPopUp\";\r\nimport styles from \"./mobileTopPanel.module.scss\";\r\nimport FiltersAndSort from \"./FiltersAndSort\";\r\nimport { Permissions } from \"common/constants\";\r\nimport { checkPermission } from \"../../../common/utils/helpers\";\r\n\r\nconst TopPanel = ({ editSearchService, isSearchFilterUpdated }) => {\r\n const { t } = useTranslation(\"dashboard\");\r\n const [isSaveSearchPopUpOpen, setIsSaveSearchPopUpOpen] = useState(false);\r\n const [isFiltersAndSortModalOpen, setIsFiltersAndSortModalOpen] =\r\n useState(false);\r\n const { searchFilters } = useSelector((state) => state.searchFilters);\r\n const { loading: fetchSearchResultsLoading, totalRows } = useSelector(\r\n (state) => state.searchResults\r\n );\r\n\r\n const getContainerClassNames = () => {\r\n let classNames = [styles.topPanelContainer];\r\n if (fetchSearchResultsLoading) {\r\n classNames.push(styles.disable);\r\n }\r\n return classNames.join(\" \");\r\n };\r\n\r\n const closeSaveSearchModal = () => {\r\n setIsSaveSearchPopUpOpen(false);\r\n };\r\n\r\n const SaveOrEditSearch = () => {\r\n if (checkPermission(Permissions.saveSearch)) {\r\n if (searchFilters.searchID) {\r\n isSearchFilterUpdated.current && editSearchService(searchFilters);\r\n } else {\r\n setIsSaveSearchPopUpOpen(true);\r\n }\r\n }\r\n else {\r\n openNotification(t(\"saveNotAllowed\"), \"error\");\r\n }\r\n };\r\n\r\n const closeFiltersAndSortModal = () => {\r\n setIsFiltersAndSortModalOpen(false);\r\n };\r\n\r\n const openFiltersAndSortModal = () => {\r\n setIsFiltersAndSortModalOpen(true);\r\n };\r\n\r\n const onFilteringAndSortingSuccess = () => {\r\n isSearchFilterUpdated.current = true;\r\n closeFiltersAndSortModal();\r\n };\r\n\r\n return (\r\n
\r\n {isSaveSearchPopUpOpen && (\r\n \r\n \r\n \r\n )}\r\n {isFiltersAndSortModalOpen && (\r\n \r\n \r\n \r\n )}\r\n
\r\n
\r\n \r\n {/* */}\r\n
\r\n \r\n
\r\n
{numberWithCommas(totalRows)}
\r\n
{t(\"appropriateResultsText\")}
\r\n
{searchFilters.name}
\r\n
\r\n {getDynamicDateTypeString(searchFilters)}\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default TopPanel;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"innerContainer\":\"src-components-AdvancedSearch-Step1-___step1-module__innerContainer___2rlSR\",\"searchFilters\":\"src-components-AdvancedSearch-Step1-___step1-module__searchFilters___3HK3O\",\"dynamicTagsContainer\":\"src-components-AdvancedSearch-Step1-___step1-module__dynamicTagsContainer___3qXvM\",\"searchTags\":\"src-components-AdvancedSearch-Step1-___step1-module__searchTags___2ZmbI\",\"subTitle\":\"src-components-AdvancedSearch-Step1-___step1-module__subTitle___3aSZF\",\"line\":\"src-components-AdvancedSearch-Step1-___step1-module__line___22hob\",\"filters\":\"src-components-AdvancedSearch-Step1-___step1-module__filters___135lX\",\"filter\":\"src-components-AdvancedSearch-Step1-___step1-module__filter___2hscd\",\"tag\":\"src-components-AdvancedSearch-Step1-___step1-module__tag___18QSn\",\"btnDiv\":\"src-components-AdvancedSearch-Step1-___step1-module__btnDiv___1FYLh\",\"nextBtn\":\"src-components-AdvancedSearch-Step1-___step1-module__nextBtn___1j9kF\",\"dateFilter\":\"src-components-AdvancedSearch-Step1-___step1-module__dateFilter___1NtmO\",\"dynamicDateTypeContainer\":\"src-components-AdvancedSearch-Step1-___step1-module__dynamicDateTypeContainer___1VJLi\",\"date\":\"src-components-AdvancedSearch-Step1-___step1-module__date___2ihny\",\"dateRanges\":\"src-components-AdvancedSearch-Step1-___step1-module__dateRanges___3Wda_\",\"datePicker\":\"src-components-AdvancedSearch-Step1-___step1-module__datePicker___vbItY\",\"activeDate\":\"src-components-AdvancedSearch-Step1-___step1-module__activeDate___3zb4k\",\"customDateFilter\":\"src-components-AdvancedSearch-Step1-___step1-module__customDateFilter___3Jwo7\",\"datePickerContainer\":\"src-components-AdvancedSearch-Step1-___step1-module__datePickerContainer___3TU5H\",\"dateFilterSelect\":\"src-components-AdvancedSearch-Step1-___step1-module__dateFilterSelect___1ljI6\",\"error\":\"src-components-AdvancedSearch-Step1-___step1-module__error___1ZX7g\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport styles from \"./step1.module.scss\";\r\nimport {\r\n DynamicTags,\r\n Button,\r\n Select,\r\n ErrorMessage,\r\n DateRangeSelector,\r\n} from \"common/components\";\r\nimport { dynamicDateTypes, OperationsEnum } from \"common/constants\";\r\n\r\nconst Step1 = ({ changeStep, searchFilters, setSearchFilters }) => {\r\n const { t } = useTranslation(\"advancedSearch\");\r\n const [error, setError] = useState(\"\");\r\n\r\n useEffect(() => {\r\n if (searchFilters.dynamicDateType !== null) {\r\n error && setError(\"\");\r\n }\r\n }, [searchFilters.dynamicDateType]);\r\n\r\n const onDynamicDateTypeSelect = (selectedKey) => {\r\n if (selectedKey !== searchFilters.dynamicDateType) {\r\n setSearchFilters({\r\n ...searchFilters,\r\n fromDate: null,\r\n toDate: null,\r\n dynamicDateType: selectedKey,\r\n });\r\n }\r\n };\r\n\r\n const onFromDateChange = (fromDate) => {\r\n setSearchFilters({...searchFilters, fromDate: fromDate });\r\n }\r\n\r\n const onToDateChange = (toDate) => {\r\n setSearchFilters({...searchFilters, toDate: toDate, dynamicDateType: 0 });\r\n if(error) {\r\n setError(\"\")\r\n }\r\n }\r\n\r\n const setOrText = (options) => {\r\n setSearchFilters({ ...searchFilters, orText: options });\r\n };\r\n\r\n const setAndText = (options) => {\r\n setSearchFilters({ ...searchFilters, andText: options });\r\n };\r\n\r\n const setNotText = (options) => {\r\n setSearchFilters({ ...searchFilters, notText: options });\r\n };\r\n\r\n const onNextBtnClick = (e) => {\r\n const { dynamicDateType, fromDate, toDate } = searchFilters;\r\n if (\r\n dynamicDateType === null ||\r\n (dynamicDateType === 0 && (!fromDate || !toDate))\r\n ) {\r\n setError(t(\"noDynamicDateTypeError\"));\r\n } else {\r\n changeStep(e);\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
{t(\"text5\")}
\r\n
{t(\"subText5\")}
\r\n
\r\n {dynamicDateTypes.map((filter, index) =>\r\n filter.key !== 0 ? (\r\n onDynamicDateTypeSelect(filter.key)}\r\n >\r\n {filter.text}\r\n
\r\n ) : (\r\n
\r\n \r\n\r\n \r\n
\r\n )\r\n )}\r\n
\r\n
\r\n onDynamicDateTypeSelect(key)}\r\n placeholder={t(\"selectPlaceholder\")}\r\n />\r\n
\r\n {\r\n searchFilters.dynamicDateType === 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
{t(\"searchTags\")}
\r\n
{t(\"subTitle\")}
\r\n \r\n
\r\n
\r\n
\r\n
{t(\"text1\")}
\r\n
{t(\"subText1\")}
\r\n \r\n
\r\n
\r\n
{t(\"text2\")}
\r\n
{t(\"subText2\")}
\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 Step1;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"innerContainer\":\"src-components-AdvancedSearch-Step2-___step2-module__innerContainer___3OyTm\",\"sourcesFilter\":\"src-components-AdvancedSearch-Step2-___step2-module__sourcesFilter___2_WJF\",\"sourcesList\":\"src-components-AdvancedSearch-Step2-___step2-module__sourcesList___3TKRH\",\"source\":\"src-components-AdvancedSearch-Step2-___step2-module__source___3YcX0\",\"active\":\"src-components-AdvancedSearch-Step2-___step2-module__active___3hvEs\",\"subSourcesFilters\":\"src-components-AdvancedSearch-Step2-___step2-module__subSourcesFilters___1SGsA\",\"title\":\"src-components-AdvancedSearch-Step2-___step2-module__title___2oWtU\",\"subTitle\":\"src-components-AdvancedSearch-Step2-___step2-module__subTitle___1kn70\",\"noSourceText\":\"src-components-AdvancedSearch-Step2-___step2-module__noSourceText___23tgc\",\"error\":\"src-components-AdvancedSearch-Step2-___step2-module__error___2xg-l\",\"buttonsContainer\":\"src-components-AdvancedSearch-Step2-___step2-module__buttonsContainer___1XNeI\",\"matchReportBtn\":\"src-components-AdvancedSearch-Step2-___step2-module__matchReportBtn___1gSYx\",\"prevBtn\":\"src-components-AdvancedSearch-Step2-___step2-module__prevBtn___1701j\",\"searchBtn\":\"src-components-AdvancedSearch-Step2-___step2-module__searchBtn___HUDdT\",\"mobilePrevBtn\":\"src-components-AdvancedSearch-Step2-___step2-module__mobilePrevBtn___3rLNh\",\"marginTop\":\"src-components-AdvancedSearch-Step2-___step2-module__marginTop___1MoqT\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useHistory } from \"react-router-dom\";\r\nimport {\r\n saveSearchFilters,\r\n setSearchText,\r\n setSearchResults,\r\n setStories,\r\n} from \"store/actions\";\r\nimport { Button, DynamicTags, ErrorMessage } from \"common/components\";\r\nimport {\r\n AppRoutes,\r\n initialSearchFiltersValue,\r\n sourceHebrewMapping,\r\n} from \"common/constants\";\r\nimport { fetchSearchResults } from \"common/utils/helpers\";\r\nimport styles from \"./step2.module.scss\";\r\nimport { isEqual } from \"lodash\";\r\nimport { cancelRequest } from \"common/utils/api/request\";\r\n\r\nconst Step2 = ({\r\n changeStep,\r\n searchFilters,\r\n setSearchFilters,\r\n closeSearchModal,\r\n OpenMatchReportSearch\r\n}) => {\r\n const { t } = useTranslation(\"advancedSearch\");\r\n const dispatch = useDispatch();\r\n const history = useHistory();\r\n const { sources } = useSelector((state) => state.config);\r\n const { loading, isDefaultSearch } = useSelector(\r\n (state) => state.searchResults\r\n );\r\n const [selectAll, setSelectAll] = useState(true);\r\n const [errorMessage, setErrorMessage] = useState(\"\");\r\n\r\n useEffect(() => {\r\n if (searchFilters.sources.length === 0) {\r\n setSelectAll(true);\r\n } else {\r\n errorMessage && setErrorMessage(\"\");\r\n }\r\n }, [searchFilters.sources]);\r\n\r\n const onSourceBtnClick = (sourceId) => {\r\n const index = searchFilters.sources.findIndex(\r\n (source) => source.sourceID === sourceId\r\n );\r\n if (index === -1) {\r\n setSearchFilters({\r\n ...searchFilters,\r\n sources: [\r\n ...searchFilters.sources,\r\n { sourceID: sourceId, subSource: [] },\r\n ],\r\n });\r\n } else {\r\n searchFilters.sources.splice(index, 1);\r\n setSearchFilters({\r\n ...searchFilters,\r\n sources: [...searchFilters.sources],\r\n });\r\n }\r\n selectAll && setSelectAll(false);\r\n };\r\n\r\n const onSelectAllBtnClick = () => {\r\n if (!selectAll) {\r\n if (searchFilters.sources.length) {\r\n setSearchFilters({ ...searchFilters, sources: [] });\r\n setSelectAll(true);\r\n }\r\n }\r\n };\r\n\r\n const onSearchBtnClick = async () => {\r\n if (!isEqual(searchFilters, initialSearchFiltersValue)) {\r\n if (\r\n !searchFilters.orText.length &&\r\n !searchFilters.andText.length &&\r\n !searchFilters.sources.length\r\n ) {\r\n setErrorMessage(t(\"zeroLengthOrAndSourcesError\"));\r\n } else {\r\n setErrorMessage(\"\");\r\n dispatch(setStories(null));\r\n // cancelRequest();\r\n const fetchSearchResultsResponse = await fetchSearchResults(\r\n searchFilters,\r\n true\r\n );\r\n if (fetchSearchResultsResponse) {\r\n dispatch(saveSearchFilters(searchFilters));\r\n dispatch(setSearchText(\"\"));\r\n isDefaultSearch &&\r\n dispatch(setSearchResults({ isDefaultSearch: false }));\r\n if (window.location.pathname !== AppRoutes.DASHBOARD) {\r\n history.push(AppRoutes.DASHBOARD);\r\n } else {\r\n closeSearchModal();\r\n }\r\n }\r\n }\r\n }\r\n };\r\n\r\n const setSubSources = (sourceId, options) => {\r\n let allSources = [...searchFilters.sources];\r\n let index = allSources.findIndex((source) => source.sourceID === sourceId);\r\n if (index !== -1) {\r\n allSources[index] = { sourceID: sourceId, subSource: options };\r\n }\r\n\r\n setSearchFilters({ ...searchFilters, sources: allSources });\r\n };\r\n\r\n const getActiveClassname = (sourceID) => {\r\n const element = searchFilters.sources.find(\r\n (source) => source.sourceID === sourceID\r\n );\r\n if (element) {\r\n return styles.active;\r\n } else {\r\n return \"\";\r\n }\r\n };\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
{t(\"text3\")}
\r\n
{t(\"subText3\")}
\r\n
\r\n \r\n {t(\"showAll\")}\r\n
\r\n {sources.map((source, index) => (\r\n onSourceBtnClick(source.sourceID)}\r\n >\r\n {source.sourceName}\r\n
\r\n ))}\r\n
\r\n
\r\n {/* {searchFilters.sources.length > 0 ? (\r\n
\r\n
{t(\"text4\")}
\r\n
{t(\"subText4\")}
\r\n \r\n
\r\n ) : (\r\n
{t(\"noSourceText\")}
\r\n )} */}\r\n\r\n {searchFilters.sources.length > 0 ? (\r\n
\r\n {searchFilters.sources.map((source, ind) => {\r\n return (\r\n
\r\n
\r\n {`${t(\"text4\")} ${sourceHebrewMapping[source.sourceID]}`}\r\n
\r\n \r\n setSubSources(source.sourceID, options)\r\n }\r\n containerOverideClassName={styles.marginTop}\r\n\r\n // onChange={(options) =>\r\n // onSubSourceFilterClick(source.sourceID, options)\r\n // }\r\n />\r\n
\r\n );\r\n })}\r\n
\r\n ) : (\r\n
{t(\"noSourceText\")}
\r\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 Step2;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"advancedSearchContainer\":\"src-components-AdvancedSearch-___advancedSearch-module__advancedSearchContainer___2rTjR\",\"title\":\"src-components-AdvancedSearch-___advancedSearch-module__title___35JaW\",\"matchReportSearch\":\"src-components-AdvancedSearch-___advancedSearch-module__matchReportSearch___1u__Z\"};","// extracted by mini-css-extract-plugin\nexport default {\"matchReportSearchContainer\":\"src-components-MatchReportSearch-___MatchReportSearch-module__matchReportSearchContainer___PQJi1\",\"title\":\"src-components-MatchReportSearch-___MatchReportSearch-module__title___2N5ia\",\"header\":\"src-components-MatchReportSearch-___MatchReportSearch-module__header___2FKmA\",\"matchReportTitle\":\"src-components-MatchReportSearch-___MatchReportSearch-module__matchReportTitle___3CJzZ\",\"horizntalLine\":\"src-components-MatchReportSearch-___MatchReportSearch-module__horizntalLine___1I_Cf\",\"subHeading\":\"src-components-MatchReportSearch-___MatchReportSearch-module__subHeading___PpbAy\",\"lists\":\"src-components-MatchReportSearch-___MatchReportSearch-module__lists___zD8y8\",\"differenceText\":\"src-components-MatchReportSearch-___MatchReportSearch-module__differenceText___3qVY6\",\"dynamicTagsContainer\":\"src-components-MatchReportSearch-___MatchReportSearch-module__dynamicTagsContainer___16l4-\",\"searchBtn\":\"src-components-MatchReportSearch-___MatchReportSearch-module__searchBtn___1eOmV\"};","import React, { useState } from \"react\";\r\nimport { useSelector } from \"react-redux\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useHistory } from \"react-router\";\r\nimport { DynamicTags, Button } from \"common/components\";\r\nimport {\r\n OperationsEnum,\r\n initialSearchFiltersValue,\r\n AppRoutes,\r\n} from \"common/constants\";\r\nimport styles from \"./MatchReportSearch.module.scss\";\r\n\r\nconst MatchReportSearch = ({\r\n closeSearchModal,\r\n list1,\r\n list2,\r\n showTitle = true,\r\n customStyle,\r\n searchFilters,\r\n isPartOfAdvancedSearch = false,\r\n}) => {\r\n const { t } = useTranslation(\"advancedSearch\");\r\n const history = useHistory();\r\n const { searchFilters: defaultSearchFilters } = useSelector(\r\n (state) => state.searchFilters\r\n );\r\n const { totalRows } = useSelector((state) => state.searchResults);\r\n\r\n const updatedSearchFilter = isPartOfAdvancedSearch\r\n ? searchFilters\r\n : defaultSearchFilters;\r\n\r\n const [reportsSearchFilters, setReportsSearchFilters] = useState({\r\n list1: { ...initialSearchFiltersValue, ...list1 },\r\n list2: { ...initialSearchFiltersValue, ...list2 },\r\n });\r\n\r\n const setOrTextForList1 = (options) => {\r\n setReportsSearchFilters((prev) => ({\r\n ...prev,\r\n list1: { ...reportsSearchFilters.list1, orText: options },\r\n }));\r\n };\r\n const setOrTextForList2 = (options) => {\r\n setReportsSearchFilters((prev) => ({\r\n ...prev,\r\n list2: { ...reportsSearchFilters.list2, orText: options },\r\n }));\r\n };\r\n\r\n const onSearchBtnClick = () => {\r\n history.replace(AppRoutes.MATCH_REPORTS, {\r\n searchFilters: updatedSearchFilter,\r\n firstWordList: reportsSearchFilters.list1.orText,\r\n secondWordList: reportsSearchFilters.list2.orText,\r\n totalRows: totalRows,\r\n });\r\n closeSearchModal();\r\n };\r\n const disableGetMatchReportsBtn =\r\n reportsSearchFilters.list1.orText?.length > 0 &&\r\n reportsSearchFilters.list2.orText.length > 0;\r\n return (\r\n
\r\n {showTitle &&
{t(\"title\")}
}\r\n
\r\n
השוואה
\r\n
\r\n
\r\n
\r\n השוואה בין שתי קבוצות תכנים לפי מילות חיפוש\r\n
\r\n
\r\n \r\n
אל מול המילים
\r\n \r\n
\r\n \r\n
\r\n );\r\n};\r\nexport default MatchReportSearch;\r\n","import React, { useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport Step1 from \"./Step1\";\r\nimport Step2 from \"./Step2\";\r\nimport { initialSearchFiltersValue } from \"common/constants\";\r\nimport styles from \"./advancedSearch.module.scss\";\r\nimport MatchReportSearch from \"../MatchReportSearch/MatchReportSearch\";\r\n\r\nconst AdvancedSearch = ({ closeSearchModal, onSearch }) => {\r\n const { t } = useTranslation(\"advancedSearch\");\r\n const [step, setStep] = useState(1);\r\n const [searchFilters, setSearchFilters] = useState({\r\n ...initialSearchFiltersValue,\r\n });\r\n\r\n const changeStep = (e) => {\r\n e && e.stopPropagation();\r\n if (step === 1) {\r\n setStep(2);\r\n } else {\r\n setStep(1);\r\n }\r\n };\r\n\r\n const goToMatchReportSearch = (e) => {\r\n e && e.stopPropagation();\r\n setStep(3);\r\n };\r\n\r\n return (\r\n
\r\n
{t(\"title\")}
\r\n {step === 1 && (\r\n \r\n )}\r\n {step === 2 && (\r\n \r\n )}\r\n {step === 3 && (\r\n \r\n )}\r\n
\r\n );\r\n};\r\n\r\nexport default AdvancedSearch;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"reportsContainer\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__reportsContainer___1LVgb\",\"innerContainer\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__innerContainer___1v59e\",\"labelContainer\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__labelContainer___2KjHS\",\"row\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__row___2wcN8\",\"title\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__title___OlZGb\",\"boldText\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__boldText___IZmYz\",\"count\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__count___UbgGi\",\"author\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__author___2djiF\",\"source\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__source___aHfXW\",\"loadMore\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__loadMore___1gJqV\",\"divider\":\"src-components-Reports-SourceAndWriterReport-___sourceAndWriterReport-module__divider___3939T\"};","import React, { useEffect, useState } from \"react\";\r\nimport styles from \"./sourceAndWriterReport.module.scss\";\r\nimport { Popover } from \"common/components\";\r\n\r\nconst labels = [\r\n { name: \"מקור מידע\", width: \"40%\" },\r\n { name: \"תוצאות\", width: \"20%\" },\r\n { name: \"כותב\", width: \"40%\" }\r\n];\r\n\r\nconst Divider = () => {\r\n return
;\r\n};\r\n\r\nconst SourceAndWriterReport = ({\r\n content = \"\",\r\n data: sourceAndWriterReportData,\r\n containerStyle,\r\n fetchReports,\r\n handleOutSideClick\r\n}) => {\r\n const [dataToShow, setDataToShow] = useState([]);\r\n const [showAll, setShowAll] = useState(\"none\");\r\n\r\n useEffect(() => {\r\n if (sourceAndWriterReportData.length < 7) {\r\n setDataToShow(sourceAndWriterReportData);\r\n }\r\n setDataToShow(sourceAndWriterReportData.slice(0, 6));\r\n setShowAll(\"more\");\r\n }, [sourceAndWriterReportData]);\r\n\r\n const showDataVisibility = () => {\r\n if (showAll === \"less\") {\r\n setDataToShow(sourceAndWriterReportData.slice(0, 6));\r\n setShowAll(\"more\");\r\n } else {\r\n setDataToShow(sourceAndWriterReportData);\r\n setShowAll(\"less\");\r\n }\r\n };\r\n\r\n const onWriterClick = (writer, e) => {\r\n e && e.stopPropagation();\r\n if (sourceAndWriterReportData.length > 1) {\r\n fetchReports({ Writer: writer });\r\n }\r\n };\r\n\r\n return (\r\n handleOutSideClick(\"Writer\")}\r\n >\r\n {content !== \"none\" && (\r\n <>\r\n
כותבים מובילים
\r\n
\r\n {labels.map((item, index) => {\r\n return (\r\n \r\n {item.name}\r\n
\r\n );\r\n })}\r\n \r\n \r\n
\r\n {dataToShow.map((item, index) => {\r\n return (\r\n \r\n
\r\n
{item.source}
\r\n
{item.count}
\r\n
\r\n \r\n
{item.writer}
\r\n
\r\n
\r\n }\r\n >\r\n
\r\n onWriterClick(item.writer, e)}>\r\n {item.writer}\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n );\r\n })}\r\n
\r\n {sourceAndWriterReportData.length > 10 && (\r\n
\r\n \r\n {showAll === \"less\"\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 React.memo(SourceAndWriterReport);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"reportsContainer\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__reportsContainer___1bDlX\",\"innerContainer\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__innerContainer___EYOMu\",\"left\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__left___12_wk\",\"right\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__right___1k7xz\",\"labelContainer\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__labelContainer___3Z5we\",\"header\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__header___2U45h\",\"row\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__row___3D3xW\",\"tabContainer\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__tabContainer___2keBI\",\"tab\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__tab___1mlLX\",\"active\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__active___wmsHC\",\"title\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__title___2CygX\",\"subTitle\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__subTitle___Fpd5Q\",\"heading\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__heading___2ZfSO\",\"boldText\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__boldText___1GAgJ\",\"index\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__index___2BsM2\",\"count\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__count___iDUcQ\",\"divider\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__divider___2ZvAR\",\"noData\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__noData___2zEKd\",\"noDataContainer\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__noDataContainer___13Q2_\",\"noDataText\":\"src-components-Reports-KeyWordReport-___keyWordReport-module__noDataText___25Ch-\"};","import React, { useEffect, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useLocation } from \"react-router\";\r\nimport { WordCloud, Spinner } from \"common/components\";\r\nimport styles from \"./keyWordReport.module.scss\";\r\nimport { ReportsServices } from \"common/utils/services\";\r\nimport { useApiService } from \"common/utils/helpers\";\r\nimport { EmptyBox } from \"common/style/img\";\r\n\r\nconst Divider = () => {\r\n return
;\r\n};\r\n\r\nconst returnRow = (item, index) => {\r\n return (\r\n \r\n
\r\n
\r\n
{index + 1}.
\r\n {item.word}\r\n
\r\n
{item.counter}
\r\n
\r\n \r\n
\r\n );\r\n};\r\n\r\nconst KeyWordReport = ({\r\n content = \"\",\r\n containerStyle = {},\r\n params,\r\n wordList = [],\r\n isMatchReport = false,\r\n}) => {\r\n const { t } = useTranslation(\"reports\");\r\n const [tab, setTab] = useState(\"tabular\");\r\n\r\n const { state: { searchFilters } = {} } = useLocation();\r\n\r\n const changeTab = (tabName) => {\r\n if (tab !== tabName) {\r\n setTab(tabName);\r\n }\r\n };\r\n\r\n const tabs = [\r\n {\r\n name: \"tabular\",\r\n text: \"רשימה\",\r\n onClick: () => changeTab(\"tabular\"),\r\n },\r\n {\r\n name: \"word-cloud\",\r\n text: \"מילול\",\r\n onClick: () => changeTab(\"word-cloud\"),\r\n },\r\n ];\r\n\r\n const {\r\n state: { loading, data: keyWords, isError: keyWordsError },\r\n callService: keyWordsService,\r\n resetServiceState: resetkeyWordsServiceState,\r\n } = useApiService(ReportsServices.getKeyWordReport);\r\n\r\n\r\n useEffect(() => {\r\n const reqBody = {\r\n ...searchFilters,\r\n searchID: searchFilters?.searchID ? searchFilters.searchID : 0,\r\n day: params?.dDay ?? null,\r\n week: params?.Week ?? null,\r\n month: params?.Month ?? null,\r\n source: params?.iSource ?? null,\r\n writer: params?.Writer ?? null,\r\n };\r\n\r\n const getParams = () => {\r\n if (wordList.length > 0 && isMatchReport) {\r\n const params = {\r\n wordList: wordList,\r\n isMatchReport: isMatchReport,\r\n };\r\n return params;\r\n }\r\n return null;\r\n };\r\n keyWordsService(reqBody, getParams());\r\n }, [params]);\r\n\r\n useEffect(() => {\r\n if (keyWordsError) {\r\n resetkeyWordsServiceState();\r\n }\r\n }, []);\r\n\r\n let columnBreakIndex = 0;\r\n if (keyWords) columnBreakIndex = Math.ceil(keyWords?.length / 2);\r\n\r\n return (\r\n
\r\n {content !== \"none\" && (\r\n <>\r\n
\r\n
{t(\"keyWords\")}
\r\n {keyWords?.length !== 0 && (\r\n
\r\n {tabs.map((tabItem) => (\r\n \r\n {tabItem.text}\r\n
\r\n ))}\r\n
\r\n )}\r\n
\r\n {loading ? (\r\n \r\n \r\n \r\n ) : (\r\n keyWords &&\r\n (tab === \"tabular\" ? (\r\n <>\r\n
{keyWords[0]?.word}
\r\n
\r\n {t(\"leadingWord\", { count: keyWords[0]?.counter })}\r\n
\r\n {columnBreakIndex !== 0 && (\r\n
\r\n
\r\n \r\n {keyWords.length &&\r\n keyWords\r\n .slice(0, columnBreakIndex)\r\n .map((item, index) => {\r\n return returnRow(item, index);\r\n })}\r\n
\r\n
\r\n \r\n {keyWords.length &&\r\n keyWords\r\n .slice(columnBreakIndex, keyWords.length)\r\n .map((item, idx) => {\r\n return returnRow(item, idx + columnBreakIndex);\r\n })}\r\n
\r\n
\r\n )}\r\n \r\n ) : (\r\n \r\n ))\r\n )}\r\n {!loading && keyWords?.length === 0 && (\r\n \r\n )}\r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nfunction transformToWordCloudWords(data) {\r\n return data.map((item) => ({ text: item.word, value: item.counter }));\r\n}\r\n\r\nexport const NoDataContainer = () => {\r\n return (\r\n
\r\n
\r\n \r\n לא נמצאו מילות מפתח\r\n
\r\n
\r\n );\r\n};\r\n\r\nexport default React.memo(KeyWordReport);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"searchTableContainer\":\"src-components-Reports-SearchReport-___searchreport-module__searchTableContainer___2PgGo\",\"title\":\"src-components-Reports-SearchReport-___searchreport-module__title___3edxd\",\"spinnerContainer\":\"src-components-Reports-SearchReport-___searchreport-module__spinnerContainer___1UGRr\",\"headerContainer\":\"src-components-Reports-SearchReport-___searchreport-module__headerContainer___1i8ja\",\"boldText\":\"src-components-Reports-SearchReport-___searchreport-module__boldText___3fzdl\",\"rowContainer\":\"src-components-Reports-SearchReport-___searchreport-module__rowContainer___3b_kY\",\"row\":\"src-components-Reports-SearchReport-___searchreport-module__row___3fAui\",\"value\":\"src-components-Reports-SearchReport-___searchreport-module__value___2vGyW\",\"link\":\"src-components-Reports-SearchReport-___searchreport-module__link___3Hgeh\",\"innerContainer\":\"src-components-Reports-SearchReport-___searchreport-module__innerContainer___kd4eX\",\"labelContainer\":\"src-components-Reports-SearchReport-___searchreport-module__labelContainer___hkUlX\",\"loadMore\":\"src-components-Reports-SearchReport-___searchreport-module__loadMore___hVZtX\",\"divider\":\"src-components-Reports-SearchReport-___searchreport-module__divider___SQxtE\",\"sourceContainer\":\"src-components-Reports-SearchReport-___searchreport-module__sourceContainer___nWs9m\",\"color\":\"src-components-Reports-SearchReport-___searchreport-module__color___3ykoI\"};","import React, { useEffect, useRef, useState } from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport { useLocation } from \"react-router\";\r\nimport { searchColumns, sourceColors, Sentiments } from \"common/constants\";\r\nimport { InfiniteScroller, Spinner } from \"common/components\";\r\nimport styles from \"./searchreport.module.scss\";\r\nimport { getDate, hhmm2 } from \"common/utils/helpers\";\r\nimport omit from \"lodash/omit\";\r\nimport { Share } from \"common/style/img\";\r\nimport makeRequest from \"common/utils/api/request\";\r\nimport reportsServices from \"common/utils/services/reportsServices\";\r\n\r\nconst pageCount = 50;\r\n\r\nconst SearchReport = ({ containerStyle = {}, params, setRows }) => {\r\n const { t } = useTranslation(\"searchFields\");\r\n const { state: { searchFilters } = {} } = useLocation();\r\n const [loading, setLoading] = useState(false);\r\n const [posts, setPosts] = useState([]);\r\n const totalRowsRef = useRef(0);\r\n\r\n useEffect(() => {\r\n const newParams = {\r\n ...searchFilters,\r\n searchID: searchFilters?.searchID ? searchFilters.searchID : 0,\r\n day: params?.dDay ?? null,\r\n week: params?.Week ?? null,\r\n month: params?.Month ?? null,\r\n source: params?.iSource ?? null,\r\n writer: params?.Writer ?? null,\r\n };\r\n const fetchReportSearch = async () => {\r\n const reqParams = reportsServices.getReportSearchResults(newParams, {\r\n pageNum: 1,\r\n });\r\n try {\r\n setLoading(true);\r\n const result = await makeRequest(reqParams);\r\n setPosts(result.data.oPosts);\r\n setRows(result.data.totalRows);\r\n totalRowsRef.current = result.data.totalRows;\r\n } catch (error) {\r\n console.error(error);\r\n } finally {\r\n setLoading(false);\r\n }\r\n };\r\n\r\n fetchReportSearch();\r\n // eslint-disable-next-line react-hooks/exhaustive-deps\r\n }, [params]);\r\n\r\n const Divider = () => {\r\n return
;\r\n };\r\n\r\n const rowColumn = (column, key, value = \"-\") => {\r\n return (\r\n
\r\n
{value}
\r\n
\r\n );\r\n };\r\n\r\n const returnSentiment = (column, key, value) => {\r\n return (\r\n \r\n \r\n
{Sentiments[value].text}
\r\n
\r\n );\r\n };\r\n\r\n const updatePosts = (data) => {\r\n const newPosts = [...posts, ...data.oPosts];\r\n setPosts(newPosts);\r\n };\r\n \r\n const reqBody = {\r\n ...searchFilters,\r\n searchID: searchFilters?.searchID ? searchFilters.searchID : 0,\r\n day: params?.dDay ?? null,\r\n week: params?.Week ?? null,\r\n month: params?.Month ?? null,\r\n source: params?.iSource ?? null,\r\n writer: params?.Writer ?? null,\r\n };\r\n\r\n const hasMore = posts.length < totalRowsRef.current;\r\n\r\n return (\r\n <>\r\n
\r\n
רשימת תוצאות
\r\n {loading && posts.length === 0 ? (\r\n
\r\n \r\n
\r\n ) : (\r\n <>\r\n \r\n
\r\n {searchColumns.map((column, index) => {\r\n return (\r\n \r\n {t(column.key)}\r\n
\r\n );\r\n })}\r\n
\r\n \r\n
\r\n setLoading(bool)}\r\n >\r\n <>\r\n {posts &&\r\n posts.map((item, idx) => {\r\n return (\r\n \r\n
\r\n {searchColumns.map((column, idxx) => {\r\n if (column.key === \"index\") {\r\n {\r\n return rowColumn(column, idxx, idx + 1);\r\n }\r\n } else if (column.key === \"publishDate\") {\r\n {\r\n return rowColumn(\r\n column,\r\n idxx,\r\n getDate(item[column.key])\r\n );\r\n }\r\n } else if (column.key === \"hour\") {\r\n return rowColumn(\r\n column,\r\n idxx,\r\n hhmm2(item[\"publishDate\"])\r\n );\r\n } else if (column.key === \"link\") {\r\n return (\r\n \r\n \r\n window.open(item.link, \"_blank\")\r\n }\r\n >\r\n \r\n
\r\n
\r\n );\r\n } else if (column.key === \"source\") {\r\n return (\r\n \r\n \r\n \r\n {item[column.key]}\r\n \r\n \r\n );\r\n } else if (column.key === \"sentiment\") {\r\n return returnSentiment(\r\n column,\r\n idxx,\r\n item[column.key]\r\n );\r\n } else if (column.key === \"title\") {\r\n return (\r\n \r\n );\r\n } else {\r\n return rowColumn(\r\n column,\r\n idxx,\r\n item[column.key]\r\n );\r\n }\r\n })}\r\n \r\n \r\n \r\n );\r\n })}\r\n {loading && hasMore && (\r\n
\r\n \r\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 SearchReport;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"sourceReportContainer\":\"src-components-Reports-SourceReport-___sourceReport-module__sourceReportContainer___3ZPIK\",\"tooltip\":\"src-components-Reports-SourceReport-___sourceReport-module__tooltip___3Ur0e\",\"centerTextContainer\":\"src-components-Reports-SourceReport-___sourceReport-module__centerTextContainer___1I6uh\",\"centerLabel\":\"src-components-Reports-SourceReport-___sourceReport-module__centerLabel___H8yGo\",\"centerText\":\"src-components-Reports-SourceReport-___sourceReport-module__centerText___FJHfj\",\"title\":\"src-components-Reports-SourceReport-___sourceReport-module__title___3aHAv\",\"chartContainer\":\"src-components-Reports-SourceReport-___sourceReport-module__chartContainer___2h0vd\",\"chart\":\"src-components-Reports-SourceReport-___sourceReport-module__chart___3sFhq\",\"legendsContainer\":\"src-components-Reports-SourceReport-___sourceReport-module__legendsContainer___3ZGSR\",\"legends\":\"src-components-Reports-SourceReport-___sourceReport-module__legends___KZwok\",\"text\":\"src-components-Reports-SourceReport-___sourceReport-module__text___3_Qp5\",\"count\":\"src-components-Reports-SourceReport-___sourceReport-module__count___3tubl\",\"color\":\"src-components-Reports-SourceReport-___sourceReport-module__color___KTqve\"};","import React, { useEffect, useState } from \"react\";\r\nimport styles from \"./sourceReport.module.scss\";\r\nimport {\r\n PieChart,\r\n Pie,\r\n Sector,\r\n Cell,\r\n ResponsiveContainer,\r\n Tooltip,\r\n} from \"recharts\";\r\nimport { sourceReportColors, sourceHebrewMapping } from \"common/constants\";\r\n\r\nconst SourceReport = ({\r\n data,\r\n type = \"\",\r\n containerStyle = {},\r\n fetchReports,\r\n handleOutSideClick,\r\n}) => {\r\n const [activeIndex, setActiveIndex] = useState(0);\r\n const [showToolTip, setShowToolTip] = useState(false);\r\n const [total, setTotal] = useState(0);\r\n\r\n useEffect(() => {\r\n const totalValue = data.reduce((acc, elem) => {\r\n return acc + elem.count;\r\n }, 0);\r\n setTotal(totalValue);\r\n });\r\n\r\n const onPieEnter = (_, index) => {\r\n setShowToolTip(true);\r\n setActiveIndex(index);\r\n };\r\n\r\n const removeToolTip = () => {\r\n setShowToolTip(false);\r\n };\r\n\r\n const onSourceCellClick = ({ payload: { payload } }) => {\r\n if (data?.length > 1) {\r\n const source = Object.keys(sourceHebrewMapping).find(\r\n (key) => sourceHebrewMapping[key] === payload.source\r\n );\r\n fetchReports?.({ iSource: source });\r\n }\r\n };\r\n\r\n const stopPropagation = (e) => {\r\n e && e.stopPropagation();\r\n };\r\n\r\n const renderActiveShape = (props) => {\r\n const RADIAN = Math.PI / 180;\r\n const {\r\n cx,\r\n cy,\r\n midAngle,\r\n innerRadius,\r\n outerRadius,\r\n startAngle,\r\n endAngle,\r\n fill,\r\n payload,\r\n } = props;\r\n\r\n const sin = Math.sin(-RADIAN * midAngle);\r\n const cos = Math.cos(-RADIAN * midAngle);\r\n const sx = cx + (outerRadius + 10) * cos;\r\n const sy = cy + (outerRadius + 10) * sin;\r\n const mx = cx + (outerRadius + 30) * cos;\r\n const my = cy + (outerRadius + 30) * sin;\r\n const ex = mx + (cos >= 0 ? 1 : -1) * 22;\r\n const ey = my;\r\n const textAnchor = cos >= 0 ? \"start\" : \"end\";\r\n\r\n return (\r\n \r\n \r\n {payload.source}\r\n \r\n \r\n {`${payload.count} \\u00A0 תוצאות`}\r\n \r\n \r\n {`${Math.ceil((payload.count / total) * 100)}%`}\r\n \r\n \r\n \r\n );\r\n };\r\n\r\n const CustomizedTooltip = ({ showToolTip, payload }) => {\r\n return (\r\n <>\r\n {showToolTip ? (\r\n
\r\n {payload[0] ? `${Math.ceil((payload[0].value / total) * 100)}%` : 0}\r\n
\r\n ) : (\r\n <>\r\n )}\r\n \r\n );\r\n };\r\n return (\r\n handleOutSideClick?.(\"iSource\")}\r\n >\r\n
תוצאות לפי מקור
\r\n
\r\n
\r\n \r\n \r\n }\r\n />\r\n \r\n {data.map((entry, index) => (\r\n \r\n ))}\r\n \r\n \r\n \r\n
\r\n
\r\n {data.map((item, index) => (\r\n
\r\n \r\n
{item.source}
\r\n
{`(${item.count})`}
\r\n
\r\n ))}\r\n
\r\n
\r\n \r\n );\r\n};\r\n\r\nexport default React.memo(SourceReport);\r\n","// extracted by mini-css-extract-plugin\nexport default {\"story\":\"src-components-Story-___story-module__story___2BOH2\",\"emptyTitle\":\"src-components-Story-___story-module__emptyTitle___11lh1\",\"countContainer\":\"src-components-Story-___story-module__countContainer___3hc5V\",\"count\":\"src-components-Story-___story-module__count___2Y9sZ\",\"text\":\"src-components-Story-___story-module__text___UPuGr\",\"left\":\"src-components-Story-___story-module__left___3tIob\",\"paragraph\":\"src-components-Story-___story-module__paragraph___1LJA3\",\"title\":\"src-components-Story-___story-module__title___2mmHP\",\"storyModal\":\"src-components-Story-___story-module__storyModal___1-YPe\",\"closeBtn\":\"src-components-Story-___story-module__closeBtn___3Se17\"};","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__container___3i7lV\",\"title\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__title___2Igt7\",\"headerContainer\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__headerContainer___fePuj\",\"boldText\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__boldText___3OyMk\",\"rowContainer\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__rowContainer___NBMEf\",\"row\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__row___3l8aH\",\"value\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__value___1iLcl\",\"link\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__link___3Z2QZ\",\"innerContainer\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__innerContainer___3CoVV\",\"labelContainer\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__labelContainer___250t6\",\"loadMore\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__loadMore___1ce77\",\"divider\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__divider___1-rAc\",\"sourceContainer\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__sourceContainer___1pBCC\",\"color\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__color___3advN\",\"popoverContent\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__popoverContent___18LAs\",\"arrow\":\"src-components-DashBoard-StoryItemsTable-___storyItemsTable-module__arrow___3pO0C\"};","import React from \"react\";\r\nimport { useTranslation } from \"react-i18next\";\r\nimport {\r\n sourceColors,\r\n storyColumns,\r\n sourceHebrewMapping,\r\n} from \"common/constants\";\r\nimport styles from \"./storyItemsTable.module.scss\";\r\nimport { Share } from \"common/style/img\";\r\nimport { Popover } from \"common/components\";\r\n\r\nconst StoryItemsTable = ({ containerStyle = {}, data }) => {\r\n const { t } = useTranslation(\"searchFields\");\r\n\r\n const Divider = () => {\r\n return
;\r\n };\r\n\r\n const rowColumn = (column, key, value = \"-\") => {\r\n return (\r\n
\r\n
{value}
\r\n
\r\n );\r\n };\r\n\r\n return (\r\n <>\r\n
\r\n
\r\n {storyColumns.map((column, index) => {\r\n return (\r\n \r\n {t(column.key)}\r\n
\r\n );\r\n })}\r\n
\r\n \r\n
\r\n <>\r\n {data &&\r\n data.map((item, idx) => {\r\n return (\r\n \r\n
\r\n {storyColumns.map((column, idxx) => {\r\n if (column.key === \"index\") {\r\n {\r\n return rowColumn(column, idxx, idx + 1);\r\n }\r\n } else if (column.key === \"link\") {\r\n return (\r\n \r\n window.open(item.link, \"_blank\")}\r\n >\r\n \r\n
\r\n
\r\n );\r\n } else if (column.key === \"source\") {\r\n return (\r\n \r\n \r\n \r\n {sourceHebrewMapping[item.userLinkTypeID]}\r\n
\r\n \r\n );\r\n } else if (column.key === \"title\") {\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 } else {\r\n return rowColumn(column, idxx, item[column.key]);\r\n }\r\n })}\r\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 StoryItemsTable;\r\n","import React, { useState } from \"react\";\r\nimport styles from \"./story.module.scss\";\r\nimport { Modal, Popover } from \"common/components\";\r\n\r\nimport StoryItemsTable from \"../DashBoard/StoryItemsTable/StoryItemsTable\";\r\n\r\nconst Story = ({ data = {}, type = \"\", index }) => {\r\n const [isPopupOpen, setIsPopupOpen] = useState(false);\r\n if (type === \"blank\") {\r\n return (\r\n
\r\n
אין עוד נתונים לגלילה משמאל
\r\n
\r\n );\r\n }\r\n return (\r\n {\r\n if (index !== 2) {\r\n setIsPopupOpen(true);\r\n }\r\n }}\r\n >\r\n
\r\n
{data.itemCount}
\r\n
אזכורים
\r\n
\r\n
\r\n {index !== 2 ? (\r\n \r\n
{data.storyName}
\r\n
\r\n
\r\n }\r\n >\r\n
\r\n {data.storyName.slice(0, 75)}\r\n
\r\n \r\n ) : (\r\n
{data.storyName.slice(0, 75)}
\r\n )}\r\n\r\n
\r\n
\r\n \r\n
\r\n
הסיפורים החמים
\r\n
\r\n
\r\n\r\n {isPopupOpen && (\r\n setIsPopupOpen(false)}\r\n modalContentClassname={styles.storyModal}\r\n closeBtnStyle={{ top: \"2rem\" }}\r\n >\r\n \r\n \r\n )}\r\n \r\n );\r\n};\r\n\r\nexport default Story;\r\n","// extracted by mini-css-extract-plugin\nexport default {\"container\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__container___3xBDW\",\"left\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__left___m6vR5\",\"icon\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__icon___2y20s\",\"buttonContainer\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__buttonContainer___2y0aM\",\"button\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__button___R00f2\",\"clickBtn\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__clickBtn___2I4oe\",\"closeBtn\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__closeBtn___1bOaA\",\"right\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__right___1Atcl\",\"title\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__title___1eAnf\",\"subTitle\":\"src-components-StorySuccessLoader-___storySuccessLoader-module__subTitle___3O1cm\"};","import React, { useState } from \"react\";\r\nimport styles from \"./storySuccessLoader.module.scss\";\r\nimport { Button } from \"common/components\";\r\nimport { useTranslation } from \"react-i18next\";\r\n\r\nconst StorySuccessLoader = () => {\r\n const [visible, setVisible] = useState(true);\r\n const { t } = useTranslation(\"story\");\r\n\r\n const handleButtonClick = () => {\r\n window.scrollTo(0, 0);\r\n setVisible(false);\r\n };\r\n\r\n return (\r\n visible &&\r\n window.scrollY !== 0 && (\r\n
\r\n
\r\n
setVisible(false)}>\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n setVisible(false)}\r\n />\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
{t(\"title\")}
\r\n
{t(\"subTitle\")}
\r\n
\r\n
\r\n
\r\n )\r\n );\r\n};\r\n\r\nexport default StorySuccessLoader;\r\n","export const SET_SOURCES = \"SET_SOURCES\";\r\nexport const RESET = \"RESET\";\r\nexport const SET_KEYWORDS = \"SET_KEYWORDS\";\r\n","export const LOGIN = \"LOGIN\";\r\nexport const CHECK_OTP = \"CHECK_OTP\";\r\nexport const LOGOUT = \"LOGOUT\";\r\n","export const SET_SEARCH_FILTERS = \"SET_SEARCH_FILTERS\";\r\nexport const SET_SEARCH_RESULTS = \"SET_SEARCH_RESULTS\";\r\nexport const SET_POSTS = \"SET_POSTS\";\r\nexport const SET_LOADING = \"SET_LOADING\";\r\nexport const SET_SEARCH_TEXT = \"SET_SEARCH_TEXT\";\r\nexport const SET_HAS_MORE = \"SET_HAS_MORE\";\r\nexport const SET_STORIES = \"SET_STORIES\";\r\n","import { SET_SOURCES, SET_KEYWORDS } from \"../actionTypes\";\r\n\r\nexport const setSources = (payload) => {\r\n return {\r\n type: SET_SOURCES,\r\n payload\r\n };\r\n};\r\n\r\nexport const setKeywords = (payload) => {\r\n return {\r\n type: SET_KEYWORDS,\r\n payload\r\n };\r\n};\r\n","import { LOGIN, CHECK_OTP, LOGOUT } from \"../actionTypes\";\r\n\r\nexport const login = (payload) => {\r\n return {\r\n type: LOGIN,\r\n payload,\r\n };\r\n};\r\n\r\nexport const checkOtp = (payload) => {\r\n return {\r\n type: CHECK_OTP,\r\n payload,\r\n };\r\n};\r\n\r\nexport const logout = () => {\r\n return {\r\n type: LOGOUT,\r\n };\r\n};\r\n","import {\r\n SET_LOADING,\r\n SET_POSTS,\r\n SET_SEARCH_FILTERS,\r\n SET_SEARCH_RESULTS,\r\n SET_SEARCH_TEXT,\r\n SET_HAS_MORE,\r\n RESET,\r\n SET_STORIES,\r\n} from \"../actionTypes\";\r\n\r\nexport const saveSearchFilters = (payload) => {\r\n return {\r\n type: SET_SEARCH_FILTERS,\r\n payload,\r\n };\r\n};\r\n\r\nexport const setSearchText = (payload) => {\r\n return {\r\n type: SET_SEARCH_TEXT,\r\n payload,\r\n };\r\n};\r\n\r\nexport const setSearchResults = (payload) => {\r\n return {\r\n type: SET_SEARCH_RESULTS,\r\n payload,\r\n };\r\n};\r\n\r\nexport const reset = () => {\r\n return {\r\n type: RESET,\r\n };\r\n};\r\n\r\nexport const setPosts = (payload) => {\r\n return {\r\n type: SET_POSTS,\r\n payload,\r\n };\r\n};\r\n\r\nexport const setLoading = (payload) => {\r\n return {\r\n type: SET_LOADING,\r\n payload,\r\n };\r\n};\r\n\r\nexport const setHasMore = (payload) => {\r\n return {\r\n type: SET_HAS_MORE,\r\n payload,\r\n };\r\n};\r\n\r\nexport const setStories = (payload) => {\r\n return {\r\n type: SET_STORIES,\r\n payload,\r\n };\r\n};\r\n","import { SET_SEARCH_FILTERS, SET_SEARCH_TEXT, RESET } from \"../actionTypes\";\r\n\r\nconst initialState = {\r\n searchFilters: {\r\n searchID: \"\",\r\n name: \"\",\r\n orText: [],\r\n andText: [],\r\n notText: [],\r\n sources: null,\r\n subSources: [],\r\n dynamicDateType: null,\r\n fromDate: null,\r\n toDate: null,\r\n keyWords: null,\r\n sort: \"publish_date desc\"\r\n },\r\n searchText: \"\"\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n switch (type) {\r\n case SET_SEARCH_FILTERS:\r\n return {\r\n ...state,\r\n searchFilters: {\r\n ...state.searchFilters,\r\n ...payload\r\n }\r\n };\r\n case SET_SEARCH_TEXT:\r\n return { ...state, searchText: payload };\r\n case RESET:\r\n return initialState;\r\n default:\r\n return state;\r\n }\r\n};\r\n","import {\r\n SET_SEARCH_RESULTS,\r\n SET_LOADING,\r\n SET_HAS_MORE,\r\n RESET,\r\n SET_STORIES\r\n} from \"../actionTypes\";\r\n\r\nconst initialState = {\r\n posts: null,\r\n totalRows: 0,\r\n isDefaultSearch: true,\r\n loading: false,\r\n hasMore: true,\r\n stories: null,\r\n showCLS:false\r\n};\r\n\r\nexport default (state = initialState, { type, payload }) => {\r\n switch (type) {\r\n case SET_LOADING:\r\n return { ...state, loading: payload };\r\n case SET_SEARCH_RESULTS:\r\n return { ...state, ...payload };\r\n case RESET:\r\n return initialState;\r\n case SET_HAS_MORE:\r\n return { ...state, hasMore: payload };\r\n case SET_STORIES:\r\n return { ...state, stories: payload };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { LOGIN, CHECK_OTP } from \"../actionTypes\";\r\n\r\nconst initialState = {\r\n profile: null,\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case LOGIN:\r\n return {\r\n ...state,\r\n profile: action.payload,\r\n };\r\n case CHECK_OTP:\r\n return {\r\n ...state,\r\n otpStatus: action.payload,\r\n };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { SET_SOURCES, SET_KEYWORDS } from \"../actionTypes\";\r\n\r\nconst initialState = {\r\n sources: [],\r\n keyWords: []\r\n};\r\n\r\nexport default (state = initialState, action) => {\r\n switch (action.type) {\r\n case SET_SOURCES:\r\n return { ...state, sources: action.payload };\r\n case SET_KEYWORDS:\r\n return { ...state, keyWords: action.payload };\r\n default:\r\n return state;\r\n }\r\n};\r\n","import { combineReducers } from \"redux\";\r\nimport searchFilters from \"./searchFilters.reducer\";\r\nimport searchResults from \"./searchResults.reducer\";\r\nimport login from \"./login.reducer\";\r\nimport config from \"./config.reducer\";\r\nimport { LOGOUT } from \"../actionTypes\";\r\n\r\nconst allReducers = combineReducers({\r\n login,\r\n searchFilters,\r\n searchResults,\r\n config,\r\n});\r\n\r\nexport default (state, action) => {\r\n if (action.type === LOGOUT)\r\n state = {\r\n login: { profile: {} },\r\n searchFilters: undefined,\r\n searchFilters: undefined,\r\n config: undefined,\r\n };\r\n return allReducers(state, action);\r\n};\r\n","import { createStore, applyMiddleware, compose } from \"redux\";\r\nimport thunk from \"redux-thunk\";\r\nimport logger from \"redux-logger\";\r\nimport reducers from \"./reducers\";\r\n\r\nconst middlewares = [thunk];\r\n\r\nif (process.env.NODE_ENV === \"development\") {\r\n middlewares.push(logger);\r\n}\r\n\r\nexport default createStore(reducers, compose(applyMiddleware(...middlewares)));\r\n","var map = {\n\t\"./af\": 1009,\n\t\"./af.js\": 1009,\n\t\"./ar\": 88769,\n\t\"./ar-dz\": 23739,\n\t\"./ar-dz.js\": 23739,\n\t\"./ar-kw\": 93745,\n\t\"./ar-kw.js\": 93745,\n\t\"./ar-ly\": 99576,\n\t\"./ar-ly.js\": 99576,\n\t\"./ar-ma\": 67408,\n\t\"./ar-ma.js\": 67408,\n\t\"./ar-sa\": 48781,\n\t\"./ar-sa.js\": 48781,\n\t\"./ar-tn\": 87856,\n\t\"./ar-tn.js\": 87856,\n\t\"./ar.js\": 88769,\n\t\"./az\": 2030,\n\t\"./az.js\": 2030,\n\t\"./be\": 56476,\n\t\"./be.js\": 56476,\n\t\"./bg\": 25304,\n\t\"./bg.js\": 25304,\n\t\"./bm\": 48125,\n\t\"./bm.js\": 48125,\n\t\"./bn\": 34,\n\t\"./bn-bd\": 29835,\n\t\"./bn-bd.js\": 29835,\n\t\"./bn.js\": 34,\n\t\"./bo\": 64082,\n\t\"./bo.js\": 64082,\n\t\"./br\": 8317,\n\t\"./br.js\": 8317,\n\t\"./bs\": 93107,\n\t\"./bs.js\": 93107,\n\t\"./ca\": 68272,\n\t\"./ca.js\": 68272,\n\t\"./cs\": 98567,\n\t\"./cs.js\": 98567,\n\t\"./cv\": 61583,\n\t\"./cv.js\": 61583,\n\t\"./cy\": 10076,\n\t\"./cy.js\": 10076,\n\t\"./da\": 31760,\n\t\"./da.js\": 31760,\n\t\"./de\": 8973,\n\t\"./de-at\": 63214,\n\t\"./de-at.js\": 63214,\n\t\"./de-ch\": 74728,\n\t\"./de-ch.js\": 74728,\n\t\"./de.js\": 8973,\n\t\"./dv\": 54053,\n\t\"./dv.js\": 54053,\n\t\"./el\": 7499,\n\t\"./el.js\": 7499,\n\t\"./en-au\": 67876,\n\t\"./en-au.js\": 67876,\n\t\"./en-ca\": 47010,\n\t\"./en-ca.js\": 47010,\n\t\"./en-gb\": 34239,\n\t\"./en-gb.js\": 34239,\n\t\"./en-ie\": 99830,\n\t\"./en-ie.js\": 99830,\n\t\"./en-il\": 28438,\n\t\"./en-il.js\": 28438,\n\t\"./en-in\": 25322,\n\t\"./en-in.js\": 25322,\n\t\"./en-nz\": 43264,\n\t\"./en-nz.js\": 43264,\n\t\"./en-sg\": 55449,\n\t\"./en-sg.js\": 55449,\n\t\"./eo\": 39486,\n\t\"./eo.js\": 39486,\n\t\"./es\": 32430,\n\t\"./es-do\": 16310,\n\t\"./es-do.js\": 16310,\n\t\"./es-mx\": 27038,\n\t\"./es-mx.js\": 27038,\n\t\"./es-us\": 73099,\n\t\"./es-us.js\": 73099,\n\t\"./es.js\": 32430,\n\t\"./et\": 34975,\n\t\"./et.js\": 34975,\n\t\"./eu\": 87063,\n\t\"./eu.js\": 87063,\n\t\"./fa\": 68073,\n\t\"./fa.js\": 68073,\n\t\"./fi\": 50957,\n\t\"./fi.js\": 50957,\n\t\"./fil\": 8764,\n\t\"./fil.js\": 8764,\n\t\"./fo\": 81775,\n\t\"./fo.js\": 81775,\n\t\"./fr\": 74179,\n\t\"./fr-ca\": 14306,\n\t\"./fr-ca.js\": 14306,\n\t\"./fr-ch\": 73791,\n\t\"./fr-ch.js\": 73791,\n\t\"./fr.js\": 74179,\n\t\"./fy\": 47014,\n\t\"./fy.js\": 47014,\n\t\"./ga\": 46911,\n\t\"./ga.js\": 46911,\n\t\"./gd\": 62958,\n\t\"./gd.js\": 62958,\n\t\"./gl\": 87344,\n\t\"./gl.js\": 87344,\n\t\"./gom-deva\": 33161,\n\t\"./gom-deva.js\": 33161,\n\t\"./gom-latn\": 35798,\n\t\"./gom-latn.js\": 35798,\n\t\"./gu\": 68485,\n\t\"./gu.js\": 68485,\n\t\"./he\": 27917,\n\t\"./he.js\": 27917,\n\t\"./hi\": 52159,\n\t\"./hi.js\": 52159,\n\t\"./hr\": 95842,\n\t\"./hr.js\": 95842,\n\t\"./hu\": 30005,\n\t\"./hu.js\": 30005,\n\t\"./hy-am\": 51312,\n\t\"./hy-am.js\": 51312,\n\t\"./id\": 60781,\n\t\"./id.js\": 60781,\n\t\"./is\": 64101,\n\t\"./is.js\": 64101,\n\t\"./it\": 43467,\n\t\"./it-ch\": 4759,\n\t\"./it-ch.js\": 4759,\n\t\"./it.js\": 43467,\n\t\"./ja\": 44164,\n\t\"./ja.js\": 44164,\n\t\"./jv\": 70079,\n\t\"./jv.js\": 70079,\n\t\"./ka\": 57036,\n\t\"./ka.js\": 57036,\n\t\"./kk\": 92022,\n\t\"./kk.js\": 92022,\n\t\"./km\": 63418,\n\t\"./km.js\": 63418,\n\t\"./kn\": 43655,\n\t\"./kn.js\": 43655,\n\t\"./ko\": 30986,\n\t\"./ko.js\": 30986,\n\t\"./ku\": 91902,\n\t\"./ku.js\": 91902,\n\t\"./ky\": 4604,\n\t\"./ky.js\": 4604,\n\t\"./lb\": 99026,\n\t\"./lb.js\": 99026,\n\t\"./lo\": 20537,\n\t\"./lo.js\": 20537,\n\t\"./lt\": 22288,\n\t\"./lt.js\": 22288,\n\t\"./lv\": 1495,\n\t\"./lv.js\": 1495,\n\t\"./me\": 60690,\n\t\"./me.js\": 60690,\n\t\"./mi\": 2571,\n\t\"./mi.js\": 2571,\n\t\"./mk\": 93959,\n\t\"./mk.js\": 93959,\n\t\"./ml\": 97225,\n\t\"./ml.js\": 97225,\n\t\"./mn\": 88,\n\t\"./mn.js\": 88,\n\t\"./mr\": 46622,\n\t\"./mr.js\": 46622,\n\t\"./ms\": 11070,\n\t\"./ms-my\": 48899,\n\t\"./ms-my.js\": 48899,\n\t\"./ms.js\": 11070,\n\t\"./mt\": 63931,\n\t\"./mt.js\": 63931,\n\t\"./my\": 95393,\n\t\"./my.js\": 95393,\n\t\"./nb\": 4274,\n\t\"./nb.js\": 4274,\n\t\"./ne\": 8914,\n\t\"./ne.js\": 8914,\n\t\"./nl\": 33114,\n\t\"./nl-be\": 68479,\n\t\"./nl-be.js\": 68479,\n\t\"./nl.js\": 33114,\n\t\"./nn\": 4513,\n\t\"./nn.js\": 4513,\n\t\"./oc-lnc\": 46549,\n\t\"./oc-lnc.js\": 46549,\n\t\"./pa-in\": 28264,\n\t\"./pa-in.js\": 28264,\n\t\"./pl\": 32848,\n\t\"./pl.js\": 32848,\n\t\"./pt\": 90899,\n\t\"./pt-br\": 55077,\n\t\"./pt-br.js\": 55077,\n\t\"./pt.js\": 90899,\n\t\"./ro\": 92512,\n\t\"./ro.js\": 92512,\n\t\"./ru\": 21753,\n\t\"./ru.js\": 21753,\n\t\"./sd\": 16840,\n\t\"./sd.js\": 16840,\n\t\"./se\": 78362,\n\t\"./se.js\": 78362,\n\t\"./si\": 50464,\n\t\"./si.js\": 50464,\n\t\"./sk\": 66324,\n\t\"./sk.js\": 66324,\n\t\"./sl\": 41963,\n\t\"./sl.js\": 41963,\n\t\"./sq\": 53039,\n\t\"./sq.js\": 53039,\n\t\"./sr\": 93454,\n\t\"./sr-cyrl\": 10466,\n\t\"./sr-cyrl.js\": 10466,\n\t\"./sr.js\": 93454,\n\t\"./ss\": 95158,\n\t\"./ss.js\": 95158,\n\t\"./sv\": 28859,\n\t\"./sv.js\": 28859,\n\t\"./sw\": 57594,\n\t\"./sw.js\": 57594,\n\t\"./ta\": 26915,\n\t\"./ta.js\": 26915,\n\t\"./te\": 15677,\n\t\"./te.js\": 15677,\n\t\"./tet\": 92154,\n\t\"./tet.js\": 92154,\n\t\"./tg\": 74098,\n\t\"./tg.js\": 74098,\n\t\"./th\": 89071,\n\t\"./th.js\": 89071,\n\t\"./tk\": 49381,\n\t\"./tk.js\": 49381,\n\t\"./tl-ph\": 1869,\n\t\"./tl-ph.js\": 1869,\n\t\"./tlh\": 92346,\n\t\"./tlh.js\": 92346,\n\t\"./tr\": 71483,\n\t\"./tr.js\": 71483,\n\t\"./tzl\": 30266,\n\t\"./tzl.js\": 30266,\n\t\"./tzm\": 33138,\n\t\"./tzm-latn\": 32960,\n\t\"./tzm-latn.js\": 32960,\n\t\"./tzm.js\": 33138,\n\t\"./ug-cn\": 29456,\n\t\"./ug-cn.js\": 29456,\n\t\"./uk\": 50805,\n\t\"./uk.js\": 50805,\n\t\"./ur\": 61127,\n\t\"./ur.js\": 61127,\n\t\"./uz\": 29628,\n\t\"./uz-latn\": 80840,\n\t\"./uz-latn.js\": 80840,\n\t\"./uz.js\": 29628,\n\t\"./vi\": 56962,\n\t\"./vi.js\": 56962,\n\t\"./x-pseudo\": 49257,\n\t\"./x-pseudo.js\": 49257,\n\t\"./yo\": 62423,\n\t\"./yo.js\": 62423,\n\t\"./zh-cn\": 61002,\n\t\"./zh-cn.js\": 61002,\n\t\"./zh-hk\": 6046,\n\t\"./zh-hk.js\": 6046,\n\t\"./zh-mo\": 36903,\n\t\"./zh-mo.js\": 36903,\n\t\"./zh-tw\": 24710,\n\t\"./zh-tw.js\": 24710\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 95126;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\tid: moduleId,\n\t\tloaded: false,\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Flag the module as loaded\n\tmodule.loaded = true;\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","__webpack_require__.amdD = function () {\n\tthrow new Error('define cannot be used indirect');\n};","__webpack_require__.amdO = {};","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"70\":\"96deb821d70059ebe936\",\"95\":\"694b61b0afb5d8d302ee\",\"260\":\"375da953240876b082fe\",\"320\":\"317ac8d4906661484a45\",\"458\":\"bee6cebedc70569c8644\",\"520\":\"990d17e17bfe57e67e3c\",\"580\":\"20349c8ffbaafd0087d3\",\"582\":\"f93dc471067b2c1c6714\",\"620\":\"245d67c99464cfba5a08\",\"638\":\"3c3bad3762ea076b5484\",\"692\":\"0a51f68ccde95306bf34\",\"699\":\"12d4e47d8ca17fedf39e\",\"716\":\"ac67be26f8879ea3491c\",\"725\":\"e760cac3dd285019094d\",\"733\":\"298fd709dd3edc0da7dd\",\"744\":\"3f5a94752714d376c219\",\"870\":\"a326f0be4a0f5db74e78\"}[chunkId] + \".bundle.js\";\n};","// This function allow to reference all chunks\n__webpack_require__.miniCssF = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".\" + {\"70\":\"b8c8e1dff34d8e1ab8bd\",\"95\":\"c2351341b488fb10d5c7\",\"458\":\"adeb1ad4ce8d2a0d8b71\",\"520\":\"a084801c4f3a3d5ae38e\",\"582\":\"d3d42184dc6baefa7bd2\",\"620\":\"f359d8e858cf8eede680\",\"692\":\"8e8ec02b7ba870ef5751\",\"716\":\"d71700d6a590c9c678b5\",\"725\":\"fbe7c74d14c1c5b7155c\",\"733\":\"f870b776c5358b9a2fb4\",\"744\":\"7a4a4970805826621361\",\"870\":\"5389130c73cc8779f77c\"}[chunkId] + \".css\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.hmd = (module) => {\n\tmodule = Object.create(module);\n\tif (!module.children) module.children = [];\n\tObject.defineProperty(module, 'exports', {\n\t\tenumerable: true,\n\t\tset: () => {\n\t\t\tthrow new Error('ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: ' + module.id);\n\t\t}\n\t});\n\treturn module;\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\n};","__webpack_require__.p = \"/\";","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t179: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n__webpack_require__.O.j = (chunkId) => (installedChunks[chunkId] === 0);\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tfor(moduleId in moreModules) {\n\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t}\n\t}\n\tif(runtime) runtime(__webpack_require__);\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkIds[i]] = 0;\n\t}\n\t__webpack_require__.O();\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunk\"] = self[\"webpackChunk\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","// startup\n// Load entry module and return exports\n// This entry module depends on other loaded chunks and execution need to be delayed\nvar __webpack_exports__ = __webpack_require__.O(undefined, [482], () => (__webpack_require__(12923)))\n__webpack_exports__ = __webpack_require__.O(__webpack_exports__);\n"],"sourceRoot":""}