{"version":3,"sources":["modules/backendModule.js","components/customComponents/ButtonSmall/index.js","components/customComponents/CustomInput/index.js","components/customComponents/Spinner/index.js","modules/animateModule.js","components/customComponents/Progressbar/index.js","components/customComponents/Table/index.js","modules/countryModule.js","components/customComponents/Radio/index.js","components/customComponents/Button/index.js","components/customComponents/DropBox/index.js","modules/urlModule.js","components/customComponents/Dropdown/index.js","routes/Dashboard/admin/Users/index.js","routes/Dashboard/admin/Advertisers/index.js","routes/Dashboard/admin/Domains/index.js","routes/Dashboard/admin/Offers/index.js","routes/Dashboard/admin/Offers/AddOffer.js","routes/Dashboard/AdvertiserManager/Dashboard/index.js","routes/Dashboard/PublisherManager/Dashboard/index.js","components/Hamburger/index.js","components/Header/index.js","components/ContentWrapper/index.js","components/Footer/index.js","routes/LandingPage/index.js","routes/Login/index.js","actions/timestampActions.js","routes/AboutUs/index.js","routes/Publishers/index.js","routes/Advertisers/index.js","actions/userDataActions.js","routes/Dashboard/Publisher/Domains/index.js","routes/Dashboard/Advertiser/Register/registerAdvertizer.js","routes/Profile/index.js","routes/Dashboard/Advertiser/CRM/index.js","routes/Dashboard/Publisher/Postbacks/index.js","components/customComponents/FilterPanel/index.js","routes/Dashboard/Publisher/Offers/index.js","routes/Dashboard/Advertiser/Offers/advertiserOffers.js","routes/Dashboard/Publisher/SingleArticle/index.js","modules/componentAnimation.js","modules/leadModule.js","components/LeadCRMInfo/index.js","routes/Dashboard/Publisher/Leads/index.js","routes/Dashboard/Advertiser/Leads/leadsAdvertisert.js","modules/dateModule.js","components/customComponents/Chart/index.js","components/customComponents/KPI/index.js","components/customComponents/CustomTabs/index.js","routes/Dashboard/admin/Dashboard/index.js","routes/Dashboard/admin/PublisherStats/index.js","components/filters/FilterByDate/index.js","routes/Dashboard/admin/LeadStats/index.js","routes/Dashboard/admin/Invoices/index.js","routes/Dashboard/admin/ApiTokens/index.js","routes/Dashboard/admin/CustomPayouts/index.js","modules/hooks/useOnScreen.js","routes/Dashboard/admin/BlockedLeads/index.js","routes/Dashboard/admin/Leads/index.js","routes/Dashboard/admin/Websites/AddWebsite.js","routes/Dashboard/admin/Websites/index.js","routes/Dashboard/Publisher/Dashboard/index.js","routes/Dashboard/Advertiser/Dashboard/index.js","routes/Dashboard/Publisher/Payments/index.js","routes/Dashboard/Advertiser/Payments/index.js","routes/Dashboard/admin/Payments/index.js","routes/Dashboard/admin/Logs/index.js","routes/Dashboard/Advertiser/Statistic/index.js","routes/Dashboard/Publisher/Stats/index.js","routes/Dashboard/Referrals/Overview.js","routes/Dashboard/Referrals/Advertiser.js","routes/Dashboard/Referrals/Publisher.js","routes/Dashboard/index.js","routes/Register/index.js","routes/previousConference/index.js","components/SideBar/index.js","actions/themeActions.js","routes/ResetPassword/index.js","routes/TermsAndConditions/index.js","routes/PrivacyPolicy/index.js","App.js","reducers/themeReducer.js","reducers/timeStampReducer.js","reducers/userDataReducer.js","reducers/index.js","index.js"],"names":["store","getStore","setStore","s","setCSRF","axios","url","backendURL","method","axiosConfig","then","res","defaults","headers","common","data","catch","parseData","undefined","decodeURI","Number","Array","map","item","final","Object","keys","forEach","String","setAxiosDataHandler","interceptors","response","use","status","err","Promise","reject","withCredentials","genericError","CustomButtonSmall","React","forwardRef","props","ref","className","value","CustomInput","defaultData","defaultValue","type","autoComplete","placeholder","placeholder1","Spinner","src","alt","style","width","spinnerWidth","height","spinnerHeight","position","spinnerPosition","margin","spinnerMargin","navigateFunc","to","componentToAnimate","resolve","animate","opacity","getComputedStyle","duration","iterations","fill","easing","onfinish","setImmediate","Progressbar","propColor","color","styles","cur","finalOffset","maximum","align","viewBox","pathLength","strokeDashoffset","stroke","cx","cy","r","strokeWidth","internalObjectToString","obj","isArray","keyID","text","join","group","toString","FilterCustomTableItem","customOutput","startRow","useState","dropdownTriggers","setDropdownTriggers","isPhone","useRef","window","innerWidth","internalRef","wasAnimated","useImperativeHandle","current","useEffect","overflow","padding","maxHeight","internalComputed","createTriggerDiv","index","div","gridRow","gridColumn","length","setTimeout","tmp","querySelector","toggleTriggerDiv","a","tmpDropdown","elem","backgroundColor","cItem","columns","filter","push","accent","progressMax","progressVal","minWidth","onClick","e","buttonIndex","item2","item2Index","customOutput2","elemIndex","triggerDropdown","triggerData","elem2","elem2index","childKey","FilterTablePill","cmp","maxWidth","paddingRight","paddingLeft","marginRight","parseType","t","varType","ID","removeFilterItem","friendlyName","friendlyValue","filterType","FilteredCustomTable","userData","useSelector","state","UserInfo","Flags","theme","filterList","setFilterList","oldFilterList","setOldFilterList","curFilter","setCurFilter","tableData","setTableData","filterValueRef","filterTypeBox","setFilterTypeBox","filterValueBox","setFilterValueBox","themeData","gTimeout","clearTimeout","animateIndexes","found","internalStringItem","newData","curElement","computed","curHeight","getBoundingClientRect","allSettled","addFilter","addFilterItem","fi","fl","id","curTarget","shouldCall","find","filterCB","name","op","borderLeftColor","filters","curElem","classList","toggle","marginLeft","Dropdown","selected","selectText","onChange","val","_","Date","now","final2","isNaN","final3","tmpDate","finaldate","toISOString","toLocaleDateString","final4","finalKey","colors","max","countries","Radio","setActive","add","remove","functionYes","valueyes","functionNo","valueno","Button","CustomDropbox","setSelected","DropBox","searchInput","setSearchInput","dropboxOpen","selectedStringify","JSON","stringify","reset","listenClick","document","body","addEventListener","curDropBox","target","openDropbox","removeEventListener","element","overflowY","getSelected","parentNode","image","stopPropagation","toLowerCase","includes","display","getSelectedItem","getParamsFromURL","firstPart","split","secondPart","tmp2","visible","setVisible","visibleData","setVisibleData","search","setSearch","dropdownRef","searchArr","finalOut","fltVisible","flt","alwaysVisible","onReset","cb","parentRect","dropdownRect","finalX","x","top","y","left","boxShadow","clientX","clientY","placeholderStyle","showValue","dropdownStyle","saveValue","AdminUsers","setUserData","loadingSpinner","setLoadingSpinner","updateFilters","firstTime","setFirstTime","canPaginate","setCanPaginate","setAddFilterItem","location","useLocation","navigate","useNavigate","isAdmin","curPagination","continueUsers","backendModule","paginationOffset","Filters","DBData","finally","DisplayUserInfo","aInfo","setAInfo","user","AssignedManagerID","FirstName","LastName","lastLocation","parse","LastKnownLocation","Username","Email","Country","ZIP","Experience","PaymentMethod","ContactWhatsapp","ContactSkype","ContactTelegram","city","code","country","createdAt","toLocaleString","VerifyPublisher","spinner","setSpinner","finalData","setFinalData","c","onUpdate","EditUser","curCountry","setCountry","AutoPayoutInterval","autoPayoutInterval","setAutoPayoutInterval","isRefferalEnabled","fReferralEnabled","fSetReferralEnabled","fAdmin","setFAdmin","isManager","fManager","setFManager","isPublisherManager","pManager","setPManager","isAdvertiserManager","aManager","setAManager","isVerified","fVerified","setFVerified","isPublisherHidden","fPublisherHidden","setFPublisherHidden","isCRMInfoAllowed","fcrmInfoAllowed","setFCrmInfoAllowed","firstNameRef","lastNameRef","emailRef","PasswordRef","ZIPRef","ExperienceRef","ContactWhatsappRef","ContactSkypeRef","ContactTelegramRef","PaymentMethodRef","ReferralPercentEarningsRef","CountryDropbox","getData","showPayment","r2","ReferralPercentEarnings","cIndex","newEmail","newPassword","newFlags","DeleteUser","CreatePayoutForUser","canCreatePayout","setCanCreatePayout","paymentMethod","BoundUser","PaginationUser","tmpRef","observer","IntersectionObserver","entries","entry","intersectionRatio","unobserve","observe","fn","usr","index2","AdvertiserID","encodeURI","AnimateModule","AdminAdvertisers","continueAdvertisers","DisplayAdvertiserInfo","CompanyName","isInfiniteCredits","creditBalance","minBalance","CompanyAddress","CompanyCity","CompanyZipCode","TaxVatNumber","PaginationAdvertiser","VerifyAdvertiser","verifyStatus","DeleteAdvertiser","SetCreditBalance","countAsRef","setCountAsRef","balanceType","setBalanceType","newBalanceRef","commentRef","calculatedBalance","comment","advertiserID","balance","countAsReferral","Comment","finalUser","EditAdvertiser","companyNameRef","companyAddressRef","companyCityRef","companyZipCodeRef","TaxVatNumberRef","minBalanceRef","creditBalanceRef","CreateInvoice","amountRef","finalAmount","BoundAdvertiser","Amount","toFixed","AdminDomains","addDomainVisible","setAddDomainVisible","addDomainError","setAddDomainError","addDomainRef","curUser","continueDomain","getDomains","PaginationDomain","DeleteDomain","fontFamily","EditDomain","oldData","setOldData","domainNameRef","DomainName","marginBottom","URL","isInternal","addDomain","AdminOffers","addOfferC","setAddOfferC","continueOffer","timestamp","getOffers","PaginationOffer","DeleteOffer","EditOffer","advertiserData","setAdvertiserData","countryList","setCountryList","countryListVisible","setCountryListVisible","curCountryList","CustomDropBox","offerActive","setOfferActive","oldImage","setOldImage","curImage","setCurImage","offerDescription","setOfferDescription","offerNameRef","offerProductBrandRef","offerProductNameRef","offerPayoutRef","platformTaxRef","offerLimitRef","offerProductPriceRef","refferalPayoutRef","offerType","selectedCRM","crmIDRef","finalCalculationsRef","res2","OfferCountry","OfferActive","OfferImages","OfferDescription","OfferName","OfferProductName","OfferPayout","PlatformTax","OfferLimit","OfferProductPrice","OfferProductBrand","ReferralPayout","CRMID","performFinalCalculations","performVerify","OfferType","SelectedCRM","File","fd","FormData","append","finalImage","toDelete","FileName","tax","payout","platformTakes","publisherGets","innerHTML","cItem2","replace","info","CRMInfo","curIndex","eC","eI","crm","eClick","click","eFile","fr","FileReader","onload","eR","result","readAsDataURL","files","accept","marginTop","modules","toolbar","formats","active","OfferMonthlyConversionRatio","AddOffer","selectedAdvertiser","setSelectedAdvertiser","setSelectedCRM","offerCountries","setOfferCountries","offerCountriesVisible","setOfferCountriesVisible","infoP","setInfoP","boundAdvertiser","boundCRM","offerCountryList","verifyAndSendData","eDiv","eData","DashboardAdvertiserManager","moreInfo","setMoreInfo","totalLeadCount","totalConvertedLeadsCount","totalEarned","PublisherManager","leads","LeadDate","LeadCount","Hamburger","hamby","div1","div2","div3","hamburger","sidebar","dashboard","header","transform","bottom","change","Header","headerMobileRef","activePage","setActivePage","assignedManagerVisible","setAssignedManagerVisible","curLocation","animateNavigate","temp","pathname","endsWith","animWrap","managerWrap","backgroundImage","backgroundRepeat","backgroundSize","transition","handler","scrollY","clickListen","modalDialog","openHamburger","hamburgerMenu","href","textTransform","currentTarget","contains","charAt","AssignedManager","open","EstimatedEarnings","RefferalInfo","RefferalEarnings","AdvertiserInfo","Credits","ButtonSmall","ContentWrapper","children","Footer","onSubmit","preventDefault","inputs","querySelectorAll","Name","EMail","Message","sendData","required","LandingPage","scrollIntoView","behavior","block","Login","userDataDispatch","useDispatch","isLoggedIn","username","password","textAlign","AboutUs","Title","Image","sliders","activeSlider","setActiveSlider","moveActiveSlide","counter1","counter2","positions","positionsTablet","positionsMobile","visibility","slTemp","dots","zIndex","i","border","touchstartX","touchendX","onTouchStart","changedTouches","screenX","onTouchEnd","Publishers","Advertisers","payload","setLoginStatus","Domains","userInfo","openAddContainer","container","offsetHeight","getLeads","showInternal","input","closeEditContainer","editDomain","deleteDomain","RegisterAdvertiser","companyName","companyAdress","companyCity","vat","Profile","parentRef","selectedSetting","setSelectedSetting","advertiserInfo","preferredPaymentMethod","settingsDispatch","animateSettingsChange","parentComputed","toggleMobileOpen","inp","startsWith","parent","onFinish","SelectSetting","justifyContent","alignItems","GeneralSettings","showSpinner","setShowSpinner","selectedChatService","setSelectedChatService","curChatService","setCurChatService","userID","zipRef","contactRef","dp","indexOf","curContact","fontWeight","fontSize","editUser","ChangePasswordSettings","passwordRef","newPasswordRef","confirmNewPasswordRef","oldPassword","AdvertiserSettings","companyTaxRef","companyVatRef","taxVatObj","Tax","Vat","Company","PaypalSettings","ownerRef","pm","setPaymentInfo","WireSettings","bankNameRef","accountHolderRef","ibanRef","switftRef","AdvertiserCRM","crmData","setCrmData","addCRMVisible","setAddCRMVisible","addCRMSelected","setAddCRMSelected","addCRMSpinner","setAddCRMSpinner","addCRMDivRef","crmFriendlyNameRef","bitrix24InboundRef","bitrix24OutboundRef","crmkmaInboundRef","crmkmaOutboundRef","leadvertexInboundRef","leadvertexOutboundRef","leadvertexWebmasterID","scaleCRMUrl","scaleCRMToken","scaleCRMSecret","timeStamp","crmDispatch","timeout","DeleteCRM","error","setError","EditCRM","friendlyNameRef","b24InboundRef","b24OutboundRef","vertexInboundRef","vertexOutboundRef","vertexWebmasterID","scalecrmUrl","scalecrmToken","scalecrmSecret","inboundURL","apiToken","postbackSecret","outboundToken","webmasterID","toSend","CRMFriendlyName","CRMData","GetCRMIntegrationLink","setInfo","tIndex","CRMName","flexDirection","curCrm","curCrmIndex","Postbacks","postbackData","setPostbackData","addPostback","setAddPostback","addPostbackSpinner","setAddPostbackSpinner","addPostbackError","setAddPostbackError","showHelp","setShowHelp","postbackNameRef","postbackURLRef","postbackTypeBox","postbackEvent","curTheme","getPostbacks","EditPostback","addPostbackNameRef","addPostbackURLRef","addPostbackTypeBox","addPostbackEvent","postbackName","postbackURL","postbackType","postbackTrigger","event","postbackID","onClose","DeletePostback","curDiv","borderRadius","tmpData","FilterPillItem","memo","FilterPanel","filterNameBox","SingleOfferItem","singleOfferRef","threshold","trackVisibiity","onError","onerror","isPromoted","moment","isBefore","OffersPublisher","filters2","updateFilters2","setAddFilter","takenOffers","setTakenOffers","allOffers","setAllOffers","setDomains","showPromotedOffers","setShowPromotedOffers","localStorage","getItem","setItem","getTakenOffers","reduce","acc","delay","showNewOffers","getAllOffers","domainsTemp","generateLink","authUser","getElementById","alltakenOffers","FriendlyName","TakenOfferName","deleteOffer","AdvertiserOffers","continueLeads","Paginationleads","Article","articleData","setArticleData","domains","prelandings","setPrelandings","landings","setLandings","choosenLanding","setChosenLanding","choosenPrelanding","setChosenPrelanding","chosenDomain","setChosenDomain","getAllWebSites","offerData","landingsTemp","prelandingsTemp","BoundOffer","WebsiteType","hash","getAllDomains","selectPreLanding","link","takeOffer","BoundDomain","BoundLandingWebsite","BoundPreLandingWebsite","animateModule","dangerouslySetInnerHTML","__html","selectDomain","WebsiteName","selectLanding","openModals","animateBox","box","childElem","animID","cloned","cloneNode","transformOrigin","setAttribute","appendChild","bnd","offsetX","Math","floor","clientWidth","round","offsetY","clientHeight","cmpCloned","clonedHTML","close","closeModal","ReactDOM","render","cloneElement","original","clone","origElem","removeAttribute","getLeadColor","statusCode","LeadCRMInfo","setData","convertDuration","dur","hours","minutes","seconds","Status","Comments","toDate","AgentID","Type","audioDuration","PublisherLeads","statusCodes","setStatusCodes","ProductName","PurchaseDomain","background","LeadMoneyWithdrawn","PublisherPaid","CRMType","LeadPrice","PurchaseLocation","countryCode","PurchaseIsPhone","utc","format","PurchaseDetails","k","AdvertiserLeads","toLocaleTimeString","AdvertiserPaid","months","spliceDateForCharts","date","substring","getIntFromMonthName","month","openModalsList","createModal","seriesIndex","iRef","filterData","letters","pBounding","tmpElem","createElement","nameSpan","textContent","valueSpan","filterText","filterTextBtn","onFilter","closeAllModals","animateCharts","dataLength","_node","fillOpacity","getTotalLength","strokeDasharray","animSpeed","y2","from","y1","curChart","Chartist","Line","labels","series","showArea","fullWidth","axisX","showGrid","axisY","offset","labelInterpolationFnc","suffix","scaleMinSpace","onlyInteger","showPoint","plugins","legend","Legend","legendNames","on","detach","axis","counterUnits","dir","circle","Svg","dataPoint","tmpLeaveListen","inProcess","drawEvent","data2","off","totalWidth","curSvg","labelList","boundingRectSvg","isFullWidth","options","update","shouldUpdate","seriesItem","valueItem","valueIndex","curPromises","svg","overflowX","Bar","elemLength","Pie","donut","donutWidth","donutSolid","startAngle","showLabel","labelOffset","labelDirection","allSlices","animTime","KPI","CustomTabs","activeTab","setActiveTab","curContent","itarations","autoScroll","tabs","activeTabs","DashboardAdmin","spinnerVisible","setSpinnerVisible","publisherData","setPublisherData","setFilters","advertiserSelector","timestampSelector","publisherDispatch","addNewFilter","nd","finalD","silent","ct","leadLabels","allSuccededLeadsPerDate","allFailedLeadsPerDate","allLeads","leadEarnings","leadUniqueIP","waitingLeads","ConvertedLeads","LeadWaiting","LeadEarnings","UniqueIPAddresses","uniqCityNames","uniqCityCounts","uniqContryNames","uniqContryCounts","uniqueCities","count","uniqueCountryCodes","conversionRatio","totalPhoneCount","totalLeadOfferNames","d","uniqueDomains","PublisherStats","users","setUsers","offers","setOffers","curNavigate","stats","limit","offer","stat","User","Total","Good","PercentGood","FilterByDate","dropdownVisible","setDropdownVisible","selectedDateType","setSelectedDateType","start","end","customDates","setCustomDates","curMaxHeightRef","startDateRef","endDateRef","onApplyClick","isValid","isAfter","startOf","endOf","prepareDate","startDate","endDate","rect","windowClickHandler","dv","disableAll","disable24h","onKeyDown","key","curSpan","curTimeout","GeneralReport","curID","calculateAR","total","converted","isFinite","l","UniqueLeads","LeadInfo","changeLeadsShown","getAttribute","totals","BadLeads","calculateTotals","OfferDayReport","selectedDate","setSelectedDate","getDates","dates","datesObj","getTime","resetShownLeads","gridTemplateColumns","LeadList","out","IP","Generated","Approved","Rejected","prepareLeads","LeadStats","selectedPublisher","setSelectedPublisher","shownLeads","setShownLeads","leadsShown","setLeadsShown","dropdownActive","setDropdownActive","statusFilters","setStatusFilters","timestampRef","mainRef","ts","utcOffset","getTimezoneOffset","tmpRanges","ds","de","getDateRanges","sort","b","aDate","bDate","getDateDiff","diff","sf","sff","checked","Invoices","secondarySpinner","setSecondarySpinner","curPaginationTimestamp","curTimestampSelector","PaginationData","old","continueData","DisplayInvoiceInfo","InvoiceID","Advertiser","isPaid","f","ViewApiToken","token","setToken","RemoveAPIToken","AddAPIToken","flags","setFlags","selectedUser","setSelectedUser","finalFlags","setFinalFlags","themeSelector","nameRef","isActive","pointerEvents","flg","UserID","ApiTokens","setAdd","class","foundFlag","AddCustomPayout","selectedOffer","setSelectedOffer","autoCalculateTax","setAutoCalculateTax","payoutRef","autoTaxCalc","price","curOffer","o","OfferID","Payout","EditPayout","newPayout","setNewPayout","RemovePayout","CustomPayouts","useOnScreen","root","rootMargin","setOserver","isIntersecting","setIntersecting","measureRef","useCallback","node","AdminBlockedLeads","kpiData","setKPIData","dateFilters","setDateFilters","curOnScreen","finalDateFilters","getKPI","Count","BlockedReason","PurchaseIP","AdminLeads","confirmSpinner","setConfirmSpinner","SetLeadStatus","newStatus","PlatformEarnedAmount","tempData","resendLead","AddWebsite","curFile","setCurFile","offersDropBox","websiteTypeDropBox","webbsiteNameRef","websiteEntryFileRef","websitePurchaseCompleteFileRef","WebsiteEntryFile","WebsitePurchaseCompleteFile","CurFile","AdminWebsites","offerNames","setOfferNames","addWebsiteVisible","setAddWebsiteVisible","continueWebsites","getWebsites","oRes","PaginationWebsite","DeleteWebsite","EntryFile","PurchaseCompleteFile","focus","DashboardPublisher","userSelector","DashboardAdvertiser","PaymentPublisher","Description","PaymentAdvertiser","PaymentAdmin","payoutCreating","setPayoutCreating","continuePayouts","getPayouts","getCanCreatePayout","PerformPaymentProcess","finalState","setFinalState","processedLeads","skippedLeads","processedReferrals","skippedReferrals","TotalPaidOut","Processed","newState","responseType","createObjectURL","Blob","LogDump","syntaxHighlight","json","match","cls","test","RemoveLogs","minHeight","Logs","addFilters","setAddFilters","pagination","processLeadStatusCode","logLevel","stages","fillLines","addFn","additionalInfo","params","testData","Log","workingItem","trim","arr","shift","LogLevelName","LogLevel","pi","Context","context","contextIndex","tmpContext","ti","LogDumpPresent","AdvertiserStats","ReferralOverview","referralRegisterData","setReferralRegisterData","curUserID","serData","referralLinkID","RefferalLink","onCLick","overtime","label","curDate","Publisher","unique","ReferralAdvertiser","table","EarnedAmount","ReferralPublisher","Earned","Dashboard","loginCheck","setLoginCheck","publisherHiddenSelector","advertiser","cursor","path","Register","CountryList","publisherForm","advertiserForm1","advertiserForm2","registerModal","setRegisterModal","signupType","setSignupType","advertiserPage","setAdvertiserPage","refID","passwordC","firstName","lastName","email","zip","experience","skype","telegram","ContactWhatsApp","removeItem","check","userDataActions","registerPublisher","isPublisherVisible","registerPublisher2","registerAdvertiser","Meeting","setDate","dropbox","order","head","Previous","URLSearchParams","get","previous","head1","head2","text1","text2","text3","headsuper1","headsuper2","SideBar","themeDispatch","matchLocationClass","openSubmenu","parag","childNodes","arrow","menus","j","parag1","arrow1","Fragment","parentElement","header1","logOut","ResetPassword","setEmail","Token","NewPassword","sendMail","TermsAndConditions","translate","PrivacyPolicy","lang","App","initialState","combineReducers","action","createStore","allReducers","composeWithDevTools"],"mappings":"idAEIA,EAAQ,KACCC,EAAW,kBAAMD,GACjBE,EAAW,SAAAC,GAAC,OAAIH,EAAQG,GAExBC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7C,MACS,qBADDA,EAAOl7C,KACqB,CAACkvB,UAAWnkB,KAAKC,OACjCrD,GECvBF,SDHc,WAAmC,IAAlCE,EAAiC,uDAAzBqzC,GAAcE,EAAW,uCAC7C,OAAQA,EAAOl7C,MACX,IAAK,eACD,OAAO,2BACA2H,GADP,IAEIF,SAASyzC,EAAO7xB,QAAQ5hB,WAEhC,IAAK,mBACD,OAAO,2BACAE,GADP,IAEI4f,WAAY2zB,EAAO7xB,QAAQ9B,aAEnC,QACI,OAAO5f,M,mBEJHuG,YAAiBrK,OAAOgN,SAASzN,YACvC1E,SAAQ,SAAA0G,GACG,SAAX,OAAJA,QAAI,IAAJA,OAAA,EAAAA,EAAM6E,OACRpG,OAAO6wB,aAAaE,QAAQ,iBAAkBxvB,EAAKxF,UAIvDhB,gCACA,IAAI7B,GAAQo+C,uBAAYC,GAAaC,kCACrCp+C,mBAASF,IACTu8B,IAASC,OACP,cAAC,IAAD,CAAUx8B,MAAOA,GAAjB,SACE,cAAC,KAAD,UACE,cAAC,GAAD,QAGJkQ,SAASqoB,eAAe,W","file":"static/js/main.daee0c37.chunk.js","sourcesContent":["import axios from \"axios\";\r\n\r\nlet store = null;\r\nexport const getStore = () => store;\r\nexport const setStore = s => store = s;\r\n\r\nexport const setCSRF = () => {\r\n return axios({\r\n url: `${backendURL}/api/csrf`,\r\n method: \"PUT\",\r\n ...axiosConfig,\r\n })\r\n .then((res) => (axios.defaults.headers.common[\"X-XSRF-TOKEN\"] = res.data))\r\n .catch(() => {});\r\n};\r\n\r\nconst parseData = (data) => {\r\n if (data === null || data === undefined) return data;\r\n switch (typeof data) {\r\n case \"string\": return decodeURI(data);\r\n case \"number\": return Number(data);\r\n case \"object\":\r\n if (data instanceof Array) {\r\n return data.map(item => parseData(item));\r\n } else {\r\n let final = {};\r\n Object.keys(data).forEach(item => {\r\n final[item] = parseData(data[item]);\r\n });\r\n return final;\r\n };\r\n case \"boolean\": return (String(data) === \"true\") ? true : false;\r\n default: return data;\r\n };\r\n};\r\n\r\nexport const setAxiosDataHandler = () => {\r\n axios.interceptors.response.use((res) => {\r\n if (res.data.status === \"ok\") {\r\n res.data.data = parseData(res.data.data);\r\n return res;\r\n } else {\r\n return res;\r\n };\r\n }, err => {\r\n return Promise.reject(err);\r\n })\r\n};\r\n\r\n//dev\r\n//export const backendURL = \"http://localhost:5000\";\r\n\r\n// prod\r\n export const backendURL = \"https://api.scale-lead.com:5000\";\r\n\r\nexport const axiosConfig = {\r\n withCredentials: true,\r\n headers: {\r\n \"Content-Type\": \"application/json\",\r\n \"Access-Control-Allow-Origin\": \"http://localhost:3000\",\r\n \"Access-Control-Allow-Methods\": \"GET,PUT,POST,DELETE\",\r\n },\r\n};\r\n\r\nexport const genericError = {status: \"error\", data: \"SERVER_ERROR\"};","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst CustomButtonSmall = React.forwardRef((props, ref) => {\r\n return \r\n});\r\n\r\nexport default CustomButtonSmall","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst CustomInput = React.forwardRef((props, ref) => {\r\n let defaultData = {...props};\r\n if (defaultData.value) {\r\n defaultData.defaultValue = defaultData.value;\r\n delete defaultData.value;\r\n };\r\n return
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n});\r\n\r\nexport default CustomInput","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst Spinner = React.forwardRef((props, ref) => {\r\n return
\r\n \"\"\r\n
\r\n});\r\n\r\nexport default Spinner","export default (navigateFunc, to, componentToAnimate) => {\r\n return new Promise(resolve => {\r\n if (!componentToAnimate) {\r\n navigateFunc(to);\r\n return resolve();\r\n };\r\n componentToAnimate.animate([\r\n {opacity: getComputedStyle(componentToAnimate).opacity},\r\n {opacity: 0}\r\n ],{\r\n duration: 300,\r\n iterations: 1,\r\n fill: \"both\",\r\n easing: \"ease-in-out\"\r\n }).onfinish = () => {\r\n navigateFunc(to);\r\n setImmediate(() => {\r\n componentToAnimate.animate([\r\n {opacity: getComputedStyle(componentToAnimate).opacity},\r\n {opacity: 1}\r\n ],{\r\n duration: 300,\r\n iterations: 1,\r\n fill: \"both\",\r\n easing: \"ease-in-out\"\r\n }).onfinish = () => {\r\n resolve();\r\n };\r\n });\r\n };\r\n });\r\n};","import React from \"react\";\r\nimport \"./index.scss\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Progressbar = (props) => {\r\n const propColor = props.color ?? \"#00A3FF\";\r\n const styles = {};\r\n\r\n const cur = props.value ?? 0;\r\n const max = props.maximum ?? 100;\r\n const maxOffset = 100;\r\n\r\n const finalOffset = (maxOffset / max) * cur;\r\n\r\n switch (props.align) {\r\n case \"left\": break;\r\n case \"center\": {\r\n styles[\"margin\"] = \"0 auto\";\r\n styles[\"maxWidth\"] = \"100%\";\r\n styles[\"width\"] = \"100%\";\r\n break;\r\n }\r\n case \"right\": {\r\n styles[\"left\"] = \"auto\";\r\n }\r\n default: break;\r\n }\r\n\r\n return \r\n \r\n \r\n};\r\n\r\nProgressbar.propTypes = {\r\n color: PropTypes.string,\r\n align: PropTypes.oneOf([\"left\", \"center\", \"right\"]),\r\n maximum: PropTypes.number,\r\n value: PropTypes.number\r\n}\r\n\r\nexport default Progressbar;","import React, { useImperativeHandle } from \"react\";\r\nimport \"./index.scss\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nimport CustomButtonSmall from \"../Button\";\r\nimport CustomInput from \"../CustomInput\";\r\nimport Dropdown from \"../Dropdown\";\r\nimport Spinner from \"../Spinner\";\r\nimport Progressbar from \"../Progressbar\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\n\r\nconst internalObjectToString = (obj) => {\r\n if (Array.isArray(obj)) {\r\n return `[${obj.map(item => internalObjectToString(item))}]`;\r\n } else if (typeof (obj) === \"object\") {\r\n if (obj.keyID) return obj.keyID;\r\n switch (obj.type) {\r\n case \"buttom\":\r\n case \"text\":\r\n if (typeof (obj?.text) === \"string\") {\r\n return `{${obj.type}:${obj.text}}`;\r\n } else if (typeof (obj?.text) === \"object\") {\r\n if (obj?.text?.props) {\r\n return `${obj.text.props}-${obj.text.type}`\r\n } else {\r\n return `Object[${Object.keys(obj.text).map(item => obj.text[item]).join(\"\")}]`;\r\n };\r\n } else {\r\n return \"{UnknownTypeObject}\";\r\n };\r\n case \"group\":\r\n case \"groupNewLine\":\r\n return `[${obj.group.map(item => internalObjectToString(item))}]`;\r\n case \"custom\":\r\n return `{custom: A custom component ${obj.data?.type}}`;\r\n case \"spinner\":\r\n return \"{spinner!}\"\r\n default: return \"?!?!\"\r\n };\r\n } else {\r\n try {\r\n return obj.toString();\r\n } catch {\r\n return \"?!\";\r\n };\r\n };\r\n};\r\n\r\n/*\r\ndata:\r\n{type: \"button\", text:\"\", onClick: () => {}}\r\n{type: \"button\", text: \"\", onClick: () => {}, triggerDropdown: true | false, triggerData: (closeCB) =>

}\r\n{type: \"text\", text: \"\"}\r\n{type: \"custom\", data:

} za cijeli red\r\n{type: \"group\", group: [...sve ovo gore]}\r\n{type: \"groupNewline\", group: [...sve ovo gore sem grupe]}\r\n{type: \"spinner\" color: \"\"}\r\n*/\r\n\r\n// --------------------------------------------------------\r\n\r\n// {name: \"FirstName\", friendlyName: \"First name\", type: \"string\"}\r\n// {name: \"FirstName\", friendlyName: \"First name\", type: \"custom\", varType: \"number\", data:[\r\n// {value: 1, text: \"asd\"}, {value:2, text: \"dsa\"}\r\n//]}\r\n\r\nconst FilterCustomTableItem = React.forwardRef((props, ref) => {\r\n let customOutput = [];\r\n let startRow = 1;\r\n\r\n let [dropdownTriggers, setDropdownTriggers] = React.useState({});\r\n\r\n let isPhone = React.useRef(window.innerWidth >= 600 ? false : true);\r\n const internalRef = React.useRef();\r\n const wasAnimated = React.useRef();\r\n useImperativeHandle(ref, () => internalRef.current);\r\n\r\n React.useEffect(() => {\r\n if (!internalRef?.current) return;\r\n if (wasAnimated.current) {\r\n internalRef.current.style.overflow = null;\r\n internalRef.current.style.padding = null;\r\n internalRef.current.style.opacity = null;\r\n internalRef.current.animate([{ height: \"auto\", maxHeight: \"none\", padding: \"20px 40px\" }, { height: \"auto\", maxHeight: \"none\", padding: \"20px 40px\" }], {\r\n duration: 0,\r\n iterations: 1,\r\n easing: \"linear\",\r\n fill: \"both\"\r\n });\r\n };\r\n });\r\n\r\n React.useEffect(() => {\r\n if (!internalRef?.current) return;\r\n let internalComputed = getComputedStyle(internalRef.current);\r\n internalRef.current.style.height = \"auto\";\r\n internalRef.current.style.padding = \"0 40px\";\r\n internalRef.current.style.overflow = \"hidden\";\r\n internalRef.current.style.opacity = 1;\r\n\r\n internalRef.current.animate([\r\n {\r\n maxHeight: internalComputed.maxHeight ?? \"0px\",\r\n padding: internalComputed.padding ?? \"0px\"\r\n },\r\n {\r\n maxHeight: `300px`,\r\n padding: \"20px 40px\"\r\n }\r\n ], {\r\n duration: 300,\r\n iterations: 1,\r\n fill: \"both\",\r\n easing: \"ease-in-out\",\r\n }).onfinish = () => {\r\n if (!internalRef?.current) return;\r\n internalRef.current.animate([{ height: \"auto\", maxHeight: \"none\", padding: \"20px 40px\" }, { height: \"auto\", maxHeight: \"none\", padding: \"20px 40px\" }], {\r\n duration: 0,\r\n iterations: 1,\r\n easing: \"linear\",\r\n fill: \"both\"\r\n });\r\n internalRef.current.style.overflow = null;\r\n internalRef.current.style.padding = null;\r\n internalRef.current.style.opacity = null;\r\n if (!wasAnimated.current) wasAnimated.current = true;\r\n };\r\n return () => wasAnimated.current = false;\r\n }, []);\r\n\r\n const createTriggerDiv = (index, data) => {\r\n startRow += 1;\r\n let div =
{dropdownTriggers[index] ? (() => {\r\n setTimeout(() => {\r\n let tmp = internalRef?.current?.querySelector(`.customComponents__table__data__dropdown${index}`);\r\n if (tmp) {\r\n tmp.animate([\r\n { maxHeight: getComputedStyle(tmp).maxHeight },\r\n { maxHeight: \"1500px\" }\r\n ], { duration: 300, iterations: 1, fill: \"both\", easing: \"ease-in-out\" }).onfinish = () => {\r\n tmp.style.overflow = \"initial\";\r\n };\r\n };\r\n }, 0);\r\n return data(() => toggleTriggerDiv(index));\r\n })() :
}
;\r\n return {\r\n div,\r\n index\r\n };\r\n };\r\n const toggleTriggerDiv = (index) => {\r\n return new Promise(async r => {\r\n let tmpDropdown = {};\r\n if (!dropdownTriggers[index] === true) {\r\n for (let elem of Object.keys(dropdownTriggers)) {\r\n if (dropdownTriggers[elem] === true) {\r\n await toggleTriggerDiv(elem);\r\n tmpDropdown[elem] = false;\r\n };\r\n };\r\n } else {\r\n tmpDropdown = { ...dropdownTriggers };\r\n };\r\n if (!internalRef?.current) return;\r\n if (dropdownTriggers[index] === true) {\r\n let tmp = internalRef?.current?.querySelector(`.customComponents__table__data__dropdown${index}`);\r\n if (tmp) {\r\n tmp.style.overflow = \"hidden\";\r\n tmp.animate([\r\n { maxHeight: getComputedStyle(tmp).height },\r\n { maxHeight: 0 }\r\n ], { duration: 300, iterations: 1, fill: \"both\", easing: \"ease-in-out\" }).onfinish = () => {\r\n setDropdownTriggers({\r\n ...tmpDropdown,\r\n [index]: false\r\n });\r\n r();\r\n };\r\n } else {\r\n setDropdownTriggers({\r\n ...tmpDropdown,\r\n [index]: false\r\n });\r\n r();\r\n }\r\n } else {\r\n setDropdownTriggers({\r\n ...tmpDropdown,\r\n [index]: true\r\n });\r\n r();\r\n };\r\n });\r\n };\r\n return (\r\n
\r\n {(() => {\r\n const finalArr = (() => {\r\n if (props.cItem instanceof Array) return props.cItem;\r\n if (props.cItem?.columns instanceof Array) return props.cItem.columns;\r\n return [];\r\n })()\r\n finalArr.filter(tmp => tmp !== undefined && tmp !== null).forEach((item, index) => {\r\n if (!(typeof item === \"object\")) return null;\r\n switch (true) {\r\n case item.type === \"spinner\":\r\n customOutput.push(

\r\n {isPhone.current && props.headers[index] !== undefined && {props.headers[index]}}\r\n \r\n

);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case item.type === \"progressbar\":\r\n customOutput.push(

\r\n {isPhone.current && props.headers[index] !== undefined && {props.headers[index]}}\r\n \r\n

);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case item.type === \"custom\":\r\n customOutput.push(
\r\n {isPhone.current && props.headers[index] !== undefined &&

{props.headers[index]}

}\r\n {item.data ?? null}\r\n
);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case item.type === \"text\":\r\n customOutput.push(

\r\n {isPhone.current && props.headers[index] !== undefined && {props.headers[index]}}\r\n {item.text}\r\n

);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case item.type === \"button\":\r\n if (isPhone.current) {\r\n customOutput.push(
\r\n {props.headers[index]}\r\n {\r\n if (item.onClick) item.onClick(e);\r\n if (item.buttonIndex) toggleTriggerDiv(item.buttonIndex);\r\n }} value={item.text} accent={props.accent ?? null} />\r\n
);\r\n startRow += 1;\r\n } else {\r\n customOutput.push( {\r\n if (item.onClick) item.onClick(e);\r\n if (item.buttonIndex) toggleTriggerDiv(item.buttonIndex);\r\n }} value={item.text} accent={props.accent ?? null} />);\r\n };\r\n break;\r\n case item.type === \"group\" || item.type === \"groupNewline\":\r\n if (item.type === \"groupNewline\") startRow += 1;\r\n if (isPhone.current) startRow += 1;\r\n customOutput.push(\r\n
\r\n {isPhone.current && item.type === \"group\" && props.headers[index] !== undefined && {props.headers[index]}}\r\n {item.group.filter((tmp) => tmp !== undefined && tmp !== null).map((item2, item2Index) => {\r\n let customOutput2 = [];\r\n if (!(typeof item2 === \"object\")) return null;\r\n switch (item2.type) {\r\n case \"spinner\":\r\n customOutput2.push(

\r\n {isPhone.current && props.headers[index] !== undefined && {props.headers[index]}}\r\n \r\n

);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case \"progressbar\":\r\n customOutput2.push(

\r\n {isPhone.current && props.headers[index] !== undefined && {props.headers[index]}}\r\n \r\n

);\r\n if (isPhone.current) startRow += 1;\r\n break;\r\n case \"custom\":\r\n customOutput2.push(
\r\n {item2.data ?? null}\r\n
);\r\n break;\r\n case \"text\":\r\n customOutput2.push(

{item2.text}

);\r\n break;\r\n case \"button\":\r\n customOutput2.push( {\r\n if (item2.onClick) item2.onClick(e);\r\n if (item2.buttonIndex) toggleTriggerDiv(item2.buttonIndex);\r\n }} value={item2.text} accent={props.accent ?? null} />);\r\n break;\r\n default:\r\n break;\r\n }\r\n return customOutput2;\r\n })}\r\n
\r\n )\r\n break;\r\n default:\r\n break;\r\n }\r\n });\r\n if (props.cItem instanceof Array) {\r\n props.cItem.filter(tmp => tmp !== undefined && tmp !== null).forEach((elem, elemIndex) => {\r\n if (!(typeof (elem) === \"object\")) return;\r\n if (elem.type === \"button\") {\r\n if (elem.triggerDropdown === true && elem.triggerData !== undefined) {\r\n let tmp = createTriggerDiv(`${props.index}_${elemIndex}`, elem.triggerData);\r\n customOutput.push(tmp.div);\r\n elem.buttonIndex = tmp.index;\r\n };\r\n } else if (elem.type === \"group\" || elem.type === \"groupNewline\") {\r\n elem.group.filter(tmp => tmp !== undefined && tmp !== null).forEach((elem2, elem2index) => {\r\n if (!(typeof (elem2) === \"object\")) return;\r\n if (elem2.type === \"button\") {\r\n if (elem2.triggerDropdown === true && elem2.triggerData !== undefined) {\r\n let tmp = createTriggerDiv(`${props.index}${elemIndex}_${elem2index}`, elem2.triggerData);\r\n customOutput.push(tmp.div);\r\n elem2.buttonIndex = tmp.index;\r\n };\r\n };\r\n });\r\n };\r\n });\r\n }\r\n return customOutput;\r\n })()}\r\n
\r\n );\r\n});\r\n\r\nconst FilterTablePill = (props) => {\r\n let internalRef = React.useRef();\r\n\r\n React.useEffect(() => {\r\n if (!internalRef.current) return;\r\n\r\n let cmp = getComputedStyle(internalRef.current);\r\n if (!internalRef.current) return;\r\n internalRef.current.animate([\r\n { maxWidth: cmp.maxWidth ? cmp.maxWidth : 0, padding: cmp.padding ? `10px ${cmp.paddingRight} 10px ${cmp.paddingLeft}` : 0, marginRight: cmp.marginRight ? cmp.marginRight : 0 },\r\n { maxWidth: \"100%\", padding: \"10px\", marginRight: \"10px\" }\r\n ], { duration: 300, iterations: 1, fill: \"both\", easing: \"ease-in-out\" });\r\n }, [internalRef.current]);\r\n\r\n const parseType = (t) => {\r\n switch (t) {\r\n case \"eq\": return \"equals\";\r\n case \"deq\": return \"equals\";\r\n case \"neq\": return \"not equals\";\r\n case \"dneq\": return \"not equals\";\r\n case \"gt\": return \"greater than\";\r\n case \"dgt\": return \"greater than\";\r\n case \"lt\": return \"less than\";\r\n case \"dlt\": return \"less than\";\r\n case \"geq\": return \"greater or equals\";\r\n case \"dgeq\": return \"greater or equals\";\r\n case \"leq\": return \"less or equals\"\r\n case \"dleq\": return \"less or equals\"\r\n case \"like\": return \"contains\";\r\n case \"startsWith\": return \"starts with\";\r\n case \"endsWith\": return \"ends with\";\r\n default: return t;\r\n };\r\n };\r\n switch (props.data.varType) {\r\n case \"string\":\r\n case \"date\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)} ${props.data.value ? `'${props.data.friendlyValue ? props.data.friendlyValue : props.data.value}'` : \"empty string\"}`}\r\n \r\n \r\n case \"number\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)} ${props.data.value ? `${props.data.value}` : 0}`}\r\n \r\n \r\n case \"boolean\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)} `}{props.data.value ? Yes : No}\r\n \r\n \r\n case \"custom\": return (() => {\r\n switch (props.data.filterType) {\r\n case \"string\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)} ${props.data.value ? `'${props.data.value}'` : \"empty string\"}`}\r\n \r\n \r\n case \"number\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)} ${props.data.value ? `${props.data.value}` : 0}`}\r\n \r\n \r\n case \"boolean\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)}`}{props.data.value ? Yes : No}\r\n \r\n \r\n case \"custom\":\r\n return props.removeFilterItem(props.data.ID)}>\r\n {props.data.friendlyName}{` ${parseType(props.data.type)}`}{props.data.value ? Yes : No}\r\n \r\n \r\n };\r\n })()\r\n };\r\n};\r\n\r\nconst FilteredCustomTable = (props) => {\r\n let userData = useSelector((state) => state?.userData?.userData?.UserInfo?.Flags?.theme ?? 'dark')\r\n const internalRef = React.useRef();\r\n let [filterList, setFilterList] = React.useState([]);\r\n let [oldFilterList, setOldFilterList] = React.useState([]);\r\n let [curFilter, setCurFilter] = React.useState(null);\r\n let [tableData, setTableData] = React.useState([]);\r\n let filterValueRef = React.useRef();\r\n let [filterTypeBox, setFilterTypeBox] = React.useState();\r\n let [filterValueBox, setFilterValueBox] = React.useState();\r\n let themeData = userData\r\n let gTimeout = null;\r\n\r\n React.useEffect(() => {\r\n clearTimeout(gTimeout);\r\n gTimeout = setTimeout(async () => {\r\n if (!(props.data?.length > 0)) {\r\n return;\r\n };\r\n if (tableData.length === 0) {\r\n setTableData(props.data);\r\n return;\r\n };\r\n\r\n let animateIndexes = [];\r\n\r\n tableData.forEach((item, index) => {\r\n let found = false;\r\n let internalStringItem = internalObjectToString([item]);\r\n for (let newData of props.data) {\r\n if (internalStringItem === internalObjectToString([newData])) {\r\n found = true;\r\n break;\r\n };\r\n };\r\n if (!found) {\r\n animateIndexes.push(index);\r\n };\r\n });\r\n animateIndexes = animateIndexes.map(item => {\r\n return new Promise(r => {\r\n if (!internalRef?.current) return r();\r\n let curElement = internalRef.current.querySelector(`.customComponents__table__data[data-index=\"${item}\"]`);\r\n if (!curElement) return r();\r\n let computed = getComputedStyle(curElement);\r\n let curHeight = curElement.getBoundingClientRect().height + \"px\";\r\n curElement.style.overflow = \"hidden\";\r\n curElement.animate([\r\n { height: curHeight, padding: computed.padding, overflow: \"hidden\" },\r\n { height: 0, padding: \"0 40px\", overflow: \"hidden\" }\r\n ], { duration: 200, iterations: 1, fill: \"both\", easing: \"ease-in-out\" }).onfinish = () => {\r\n curElement.style.overflow = null;\r\n r();\r\n };\r\n });\r\n });\r\n await Promise.allSettled(animateIndexes);\r\n setTableData(props.data);\r\n }, 400);\r\n }, [props.data]);\r\n\r\n React.useEffect(() => {\r\n if (props.addFilter) props.addFilter(() => {\r\n return (data) => data ? addFilterItem(data) : null;\r\n });\r\n if (!internalRef.current) return;\r\n internalRef.current.animate([\r\n { opacity: getComputedStyle(internalRef.current).opacity },\r\n { opacity: 1 }\r\n ], { duration: 300, iterations: 1, easing: \"ease-in-out\", fill: \"both\" });\r\n }, []);\r\n\r\n const callCB = () => {\r\n if (props.filterCB) props.filterCB(filterList.map(elem => {\r\n return {\r\n name: elem.name,\r\n op: elem.type,\r\n value: elem.value\r\n };\r\n }));\r\n };\r\n const addFilterItem = async (fi) => {\r\n setFilterList(fl => [...fl, fi]);\r\n };\r\n const removeFilterItem = async (id) => {\r\n let curTarget = internalRef?.current?.querySelector(`.customComponents__table__filterHead__addFilterWrap__item${id}`);\r\n if (curTarget) {\r\n let cmp = getComputedStyle(curTarget);\r\n curTarget.animate([\r\n { width: cmp.width ? cmp.width : 0, padding: cmp.padding ? cmp.padding : 0, marginRight: cmp.marginRight ? cmp.marginRight : 0 },\r\n { width: 0, padding: \"10px 0\", marginRight: 0 }\r\n ], { duration: 300, iterations: 1, easing: \"ease-in-out\", fill: \"both\" }).onfinish = () => {\r\n setFilterList(fl => fl.filter(item => item.ID !== id));\r\n };\r\n } else {\r\n setFilterList(fl => fl.filter(item => item.ID !== id));\r\n };\r\n };\r\n\r\n React.useEffect(() => {\r\n let shouldCall = false;\r\n for (let item of filterList) {\r\n let found = oldFilterList.find(elem => elem.ID === item.ID);\r\n if (!found) {\r\n shouldCall = true;\r\n break;\r\n };\r\n };\r\n for (let item of oldFilterList) {\r\n let found = filterList.find(elem => elem.ID === item.ID);\r\n if (!found) {\r\n shouldCall = true;\r\n break;\r\n };\r\n };\r\n if (shouldCall) {\r\n setOldFilterList([...filterList]);\r\n callCB();\r\n };\r\n }, [filterList]);\r\n\r\n if (!props) return null;\r\n return
\r\n
\r\n {props.filters &&
\r\n

{\r\n let curElem = internalRef?.current?.querySelector(\".customComponents__table__filterHead__addFilterWrap\");\r\n if (curElem) {\r\n curElem.classList.toggle(\"customComponents__table__filterHead__addFilterWrap--active\");\r\n };\r\n }}>+ Add filter  

\r\n {filterList.map((fi) => {\r\n return \r\n })}\r\n
}\r\n
\r\n {props.filters &&
\r\n {\r\n if (index === 0 && !curFilter) setCurFilter(item);\r\n return {\r\n name: item.friendlyName,\r\n value: index\r\n }\r\n })} onChange={val => {\r\n setCurFilter(props.filters.find((_, index) => String(index) === String(val.value)));\r\n }} />\r\n {(() => {\r\n switch (curFilter?.type) {\r\n case \"string\": return setFilterTypeBox(e)} />\r\n case \"number\": return setFilterTypeBox(e)} />\r\n case \"date\": return setFilterTypeBox(e)} />\r\n case \"boolean\": return setFilterTypeBox(e)} />\r\n case \"custom\": return (() => {\r\n switch (curFilter?.varType) {\r\n case \"string\": return setFilterTypeBox(e)} />\r\n case \"number\": return setFilterTypeBox(e)} />\r\n case \"date\": return setFilterTypeBox(e)} />\r\n case \"boolean\": return setFilterTypeBox(e)} />\r\n case \"custom\": return setFilterTypeBox(e)} />\r\n default: return null;\r\n };\r\n })()\r\n default: return null;\r\n };\r\n })()}\r\n {(() => {\r\n switch (curFilter?.type) {\r\n case \"date\": return \r\n case \"string\": return \r\n case \"number\": return \r\n case \"boolean\": return setFilterValueBox(e)} />\r\n case \"custom\": return {\r\n return { value: item.value, name: item.text }\r\n })} selected={0} onChange={e => setFilterValueBox(e)} />\r\n default: return null;\r\n };\r\n })()}\r\n {\r\n switch (curFilter?.type) {\r\n case \"string\":\r\n try {\r\n let final = {\r\n ID: Date.now(),\r\n name: curFilter.name,\r\n friendlyName: curFilter.friendlyName,\r\n type: filterTypeBox !== null ? filterTypeBox.value : null,\r\n value: filterValueRef.current.value,\r\n varType: \"string\",\r\n filterType: curFilter.varType\r\n };\r\n addFilterItem(final);\r\n filterValueRef.current.value = \"\";\r\n break;\r\n } catch { };\r\n case \"number\":\r\n try {\r\n let final2 = {\r\n ID: Date.now(),\r\n name: curFilter.name,\r\n friendlyName: curFilter.friendlyName,\r\n type: filterTypeBox !== null ? filterTypeBox.value : null,\r\n value: isNaN(Number(filterValueRef.current.value)) ? 0 : Number(filterValueRef.current.value),\r\n varType: \"number\",\r\n filterType: curFilter.varType\r\n };\r\n addFilterItem(final2);\r\n filterValueRef.current.value = \"\";\r\n } catch { };\r\n break;\r\n case \"boolean\":\r\n try {\r\n let final3 = {\r\n ID: Date.now(),\r\n name: curFilter.name,\r\n friendlyName: curFilter.friendlyName,\r\n type: filterTypeBox !== null ? filterTypeBox.value : null,\r\n value: filterValueBox.value ? true : false,\r\n varType: \"boolean\",\r\n filterType: curFilter.varType\r\n };\r\n addFilterItem(final3);\r\n } catch { };\r\n break;\r\n case \"date\":\r\n try {\r\n let tmpDate = new Date(filterValueRef.current.value);\r\n let finaldate = {\r\n ID: Date.now(),\r\n name: curFilter.name,\r\n friendlyName: curFilter.friendlyName,\r\n type: filterTypeBox !== null ? filterTypeBox.value : null,\r\n value: tmpDate.toISOString(),\r\n varType: \"date\",\r\n filterType: curFilter.varType,\r\n friendlyValue: tmpDate.toLocaleDateString()\r\n };\r\n addFilterItem(finaldate);\r\n } catch { };\r\n break;\r\n case \"custom\":\r\n try {\r\n let final4 = {\r\n ID: Date.now(),\r\n name: curFilter.name,\r\n friendlyName: curFilter.friendlyName,\r\n type: filterTypeBox !== null ? filterTypeBox.value : null,\r\n value: (() => {\r\n if (curFilter.varType === \"boolean\") return (String(filterValueBox.value) === \"true\") ? true : false;\r\n if (curFilter.varType === \"number\") return Number(filterValueBox.value);\r\n if (curFilter.varType === \"string\") return String(filterValueBox.value);\r\n if (curFilter.varType === \"date\") return new Date(filterValueBox.value).toISOString();\r\n if (curFilter.varType === \"custom\") return filterValueBox.value;\r\n })(),\r\n varType: curFilter.type,\r\n filterType: curFilter.varType\r\n };\r\n addFilterItem(final4);\r\n } catch { };\r\n break;\r\n };\r\n let curElem = internalRef?.current?.querySelector(\".customComponents__table__filterHead__addFilterWrap\");\r\n if (curElem) {\r\n curElem.classList.toggle(\"customComponents__table__filterHead__addFilterWrap--active\");\r\n };\r\n }} />\r\n
}\r\n
{props.headers && props.headers.filter(tmp => tmp !== undefined && tmp !== null).map((item, index) =>

{item}

)}
\r\n {tableData.map((cItem, index) => {\r\n let finalKey = \"\";\r\n if (cItem instanceof Array) {\r\n cItem.forEach(elem => elem.keyID ? finalKey += elem.keyID : null);\r\n } else if (cItem?.columns instanceof Array) {\r\n cItem.columns.forEach(elem => elem.keyID ? finalKey += elem.keyID : null);\r\n } else {\r\n finalKey = index\r\n };\r\n if (!finalKey) finalKey = index;\r\n return \r\n })}\r\n
\r\n};\r\n\r\nFilteredCustomTable.propTypes = {\r\n headers: PropTypes.arrayOf(PropTypes.string),\r\n theme: PropTypes.oneOf([\"light\", \"dark\"]),\r\n filters: PropTypes.arrayOf(PropTypes.shape({\r\n name: PropTypes.string,\r\n friendlyName: PropTypes.string,\r\n type: PropTypes.oneOf([\"string\", \"number\", \"boolean\", \"date\", \"custom\"]),\r\n varType: PropTypes.oneOf([\"string\", \"number\", \"boolean\", \"date\", \"custom\"]),\r\n data: PropTypes.arrayOf(PropTypes.shape({\r\n text: PropTypes.string,\r\n value: PropTypes.string\r\n }))\r\n })),\r\n data: PropTypes.arrayOf(PropTypes.oneOfType([\r\n PropTypes.arrayOf(PropTypes.shape({\r\n keyID: PropTypes.string,\r\n type: PropTypes.oneOf([\"text\", \"button\", \"group\", \"groupNewline\", \"custom\", \"spinner\", \"progressbar\"]),\r\n onClick: PropTypes.func,\r\n text: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n progressMax: PropTypes.number,\r\n progressVal: PropTypes.number,\r\n data: PropTypes.any,\r\n group: PropTypes.arrayOf(PropTypes.shape({\r\n keyID: PropTypes.string,\r\n type: PropTypes.oneOf([\"text\", \"button\", \"group\", \"groupNewline\", \"custom\", \"spinner\", \"progressbar\"]),\r\n onClick: PropTypes.func,\r\n text: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n style: PropTypes.object\r\n }))\r\n })),\r\n PropTypes.shape({\r\n backgroundColor: PropTypes.string,\r\n color: PropTypes.string,\r\n columns: PropTypes.arrayOf(PropTypes.shape({\r\n keyID: PropTypes.string,\r\n type: PropTypes.oneOf([\"text\", \"button\", \"group\", \"groupNewline\", \"custom\", \"spinner\", \"progressbar\"]),\r\n onClick: PropTypes.func,\r\n text: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n progressMax: PropTypes.number,\r\n progressVal: PropTypes.number,\r\n data: PropTypes.any,\r\n group: PropTypes.arrayOf(PropTypes.shape({\r\n keyID: PropTypes.string,\r\n type: PropTypes.oneOf([\"text\", \"button\", \"group\", \"groupNewline\", \"custom\", \"spinner\", \"progressbar\"]),\r\n onClick: PropTypes.func,\r\n text: PropTypes.oneOfType([\r\n PropTypes.string,\r\n PropTypes.number\r\n ]),\r\n style: PropTypes.object\r\n }))\r\n }))\r\n })\r\n ])),\r\n filterCB: PropTypes.func,\r\n addFilter: PropTypes.func,\r\n style: PropTypes.instanceOf(React.CSSProperties),\r\n accent: PropTypes.string,\r\n colors: PropTypes.arrayOf(PropTypes.string)\r\n}\r\n\r\nexport { FilteredCustomTable };\r\n","export const countries=[ \r\n {\"name\": \"Afghanistan\", \"code\": \"AF\"}, \r\n {\"name\": \"Åland Islands\", \"code\": \"AX\"}, \r\n {\"name\": \"Albania\", \"code\": \"AL\"}, \r\n {\"name\": \"Algeria\", \"code\": \"DZ\"}, \r\n {\"name\": \"American Samoa\", \"code\": \"AS\"}, \r\n {\"name\": \"AndorrA\", \"code\": \"AD\"}, \r\n {\"name\": \"Angola\", \"code\": \"AO\"}, \r\n {\"name\": \"Anguilla\", \"code\": \"AI\"}, \r\n {\"name\": \"Antarctica\", \"code\": \"AQ\"}, \r\n {\"name\": \"Antigua and Barbuda\", \"code\": \"AG\"}, \r\n {\"name\": \"Argentina\", \"code\": \"AR\"}, \r\n {\"name\": \"Armenia\", \"code\": \"AM\"}, \r\n {\"name\": \"Aruba\", \"code\": \"AW\"}, \r\n {\"name\": \"Australia\", \"code\": \"AU\"}, \r\n {\"name\": \"Austria\", \"code\": \"AT\"}, \r\n {\"name\": \"Azerbaijan\", \"code\": \"AZ\"}, \r\n {\"name\": \"Bahamas\", \"code\": \"BS\"}, \r\n {\"name\": \"Bahrain\", \"code\": \"BH\"}, \r\n {\"name\": \"Bangladesh\", \"code\": \"BD\"}, \r\n {\"name\": \"Barbados\", \"code\": \"BB\"}, \r\n {\"name\": \"Belarus\", \"code\": \"BY\"}, \r\n {\"name\": \"Belgium\", \"code\": \"BE\"}, \r\n {\"name\": \"Belize\", \"code\": \"BZ\"}, \r\n {\"name\": \"Benin\", \"code\": \"BJ\"}, \r\n {\"name\": \"Bermuda\", \"code\": \"BM\"}, \r\n {\"name\": \"Bhutan\", \"code\": \"BT\"}, \r\n {\"name\": \"Bolivia\", \"code\": \"BO\"}, \r\n {\"name\": \"Bosnia and Herzegovina\", \"code\": \"BA\"}, \r\n {\"name\": \"Botswana\", \"code\": \"BW\"}, \r\n {\"name\": \"Bouvet Island\", \"code\": \"BV\"}, \r\n {\"name\": \"Brazil\", \"code\": \"BR\"}, \r\n {\"name\": \"British Indian Ocean Territory\", \"code\": \"IO\"}, \r\n {\"name\": \"Brunei Darussalam\", \"code\": \"BN\"}, \r\n {\"name\": \"Bulgaria\", \"code\": \"BG\"}, \r\n {\"name\": \"Burkina Faso\", \"code\": \"BF\"}, \r\n {\"name\": \"Burundi\", \"code\": \"BI\"}, \r\n {\"name\": \"Cambodia\", \"code\": \"KH\"}, \r\n {\"name\": \"Cameroon\", \"code\": \"CM\"}, \r\n {\"name\": \"Canada\", \"code\": \"CA\"}, \r\n {\"name\": \"Cape Verde\", \"code\": \"CV\"}, \r\n {\"name\": \"Cayman Islands\", \"code\": \"KY\"}, \r\n {\"name\": \"Central African Republic\", \"code\": \"CF\"}, \r\n {\"name\": \"Chad\", \"code\": \"TD\"}, \r\n {\"name\": \"Chile\", \"code\": \"CL\"}, \r\n {\"name\": \"China\", \"code\": \"CN\"}, \r\n {\"name\": \"Christmas Island\", \"code\": \"CX\"}, \r\n {\"name\": \"Cocos (Keeling) Islands\", \"code\": \"CC\"}, \r\n {\"name\": \"Colombia\", \"code\": \"CO\"}, \r\n {\"name\": \"Comoros\", \"code\": \"KM\"}, \r\n {\"name\": \"Congo\", \"code\": \"CG\"}, \r\n {\"name\": \"Congo, The Democratic Republic of the\", \"code\": \"CD\"}, \r\n {\"name\": \"Cook Islands\", \"code\": \"CK\"}, \r\n {\"name\": \"Costa Rica\", \"code\": \"CR\"}, \r\n {\"name\": \"Cote D\\\"Ivoire\", \"code\": \"CI\"}, \r\n {\"name\": \"Croatia\", \"code\": \"HR\"}, \r\n {\"name\": \"Cuba\", \"code\": \"CU\"}, \r\n {\"name\": \"Cyprus\", \"code\": \"CY\"}, \r\n {\"name\": \"Czech Republic\", \"code\": \"CZ\"}, \r\n {\"name\": \"Denmark\", \"code\": \"DK\"}, \r\n {\"name\": \"Djibouti\", \"code\": \"DJ\"}, \r\n {\"name\": \"Dominica\", \"code\": \"DM\"}, \r\n {\"name\": \"Dominican Republic\", \"code\": \"DO\"}, \r\n {\"name\": \"Ecuador\", \"code\": \"EC\"}, \r\n {\"name\": \"Egypt\", \"code\": \"EG\"}, \r\n {\"name\": \"El Salvador\", \"code\": \"SV\"}, \r\n {\"name\": \"Equatorial Guinea\", \"code\": \"GQ\"}, \r\n {\"name\": \"Eritrea\", \"code\": \"ER\"}, \r\n {\"name\": \"Estonia\", \"code\": \"EE\"}, \r\n {\"name\": \"Ethiopia\", \"code\": \"ET\"}, \r\n {\"name\": \"Falkland Islands (Malvinas)\", \"code\": \"FK\"}, \r\n {\"name\": \"Faroe Islands\", \"code\": \"FO\"}, \r\n {\"name\": \"Fiji\", \"code\": \"FJ\"}, \r\n {\"name\": \"Finland\", \"code\": \"FI\"}, \r\n {\"name\": \"France\", \"code\": \"FR\"}, \r\n {\"name\": \"French Guiana\", \"code\": \"GF\"}, \r\n {\"name\": \"French Polynesia\", \"code\": \"PF\"}, \r\n {\"name\": \"French Southern Territories\", \"code\": \"TF\"}, \r\n {\"name\": \"Gabon\", \"code\": \"GA\"}, \r\n {\"name\": \"Gambia\", \"code\": \"GM\"}, \r\n {\"name\": \"Georgia\", \"code\": \"GE\"}, \r\n {\"name\": \"Germany\", \"code\": \"DE\"}, \r\n {\"name\": \"Ghana\", \"code\": \"GH\"}, \r\n {\"name\": \"Gibraltar\", \"code\": \"GI\"}, \r\n {\"name\": \"Greece\", \"code\": \"GR\"}, \r\n {\"name\": \"Greenland\", \"code\": \"GL\"}, \r\n {\"name\": \"Grenada\", \"code\": \"GD\"}, \r\n {\"name\": \"Guadeloupe\", \"code\": \"GP\"}, \r\n {\"name\": \"Guam\", \"code\": \"GU\"}, \r\n {\"name\": \"Guatemala\", \"code\": \"GT\"}, \r\n {\"name\": \"Guernsey\", \"code\": \"GG\"}, \r\n {\"name\": \"Guinea\", \"code\": \"GN\"}, \r\n {\"name\": \"Guinea-Bissau\", \"code\": \"GW\"}, \r\n {\"name\": \"Guyana\", \"code\": \"GY\"}, \r\n {\"name\": \"Haiti\", \"code\": \"HT\"}, \r\n {\"name\": \"Heard Island and Mcdonald Islands\", \"code\": \"HM\"}, \r\n {\"name\": \"Holy See (Vatican City State)\", \"code\": \"VA\"}, \r\n {\"name\": \"Honduras\", \"code\": \"HN\"}, \r\n {\"name\": \"Hong Kong\", \"code\": \"HK\"}, \r\n {\"name\": \"Hungary\", \"code\": \"HU\"}, \r\n {\"name\": \"Iceland\", \"code\": \"IS\"}, \r\n {\"name\": \"India\", \"code\": \"IN\"}, \r\n {\"name\": \"Indonesia\", \"code\": \"ID\"}, \r\n {\"name\": \"Iran, Islamic Republic Of\", \"code\": \"IR\"}, \r\n {\"name\": \"Iraq\", \"code\": \"IQ\"}, \r\n {\"name\": \"Ireland\", \"code\": \"IE\"}, \r\n {\"name\": \"Isle of Man\", \"code\": \"IM\"}, \r\n {\"name\": \"Israel\", \"code\": \"IL\"}, \r\n {\"name\": \"Italy\", \"code\": \"IT\"}, \r\n {\"name\": \"Jamaica\", \"code\": \"JM\"}, \r\n {\"name\": \"Japan\", \"code\": \"JP\"}, \r\n {\"name\": \"Jersey\", \"code\": \"JE\"}, \r\n {\"name\": \"Jordan\", \"code\": \"JO\"}, \r\n {\"name\": \"Kazakhstan\", \"code\": \"KZ\"}, \r\n {\"name\": \"Kenya\", \"code\": \"KE\"}, \r\n {\"name\": \"Kiribati\", \"code\": \"KI\"}, \r\n {\"name\": \"Korea, Democratic People\\\"S Republic of\", \"code\": \"KP\"}, \r\n {\"name\": \"Korea, Republic of\", \"code\": \"KR\"}, \r\n {\"name\": \"Kuwait\", \"code\": \"KW\"}, \r\n {\"name\": \"Kyrgyzstan\", \"code\": \"KG\"}, \r\n {\"name\": \"Lao People\\\"S Democratic Republic\", \"code\": \"LA\"}, \r\n {\"name\": \"Latvia\", \"code\": \"LV\"}, \r\n {\"name\": \"Lebanon\", \"code\": \"LB\"}, \r\n {\"name\": \"Lesotho\", \"code\": \"LS\"}, \r\n {\"name\": \"Liberia\", \"code\": \"LR\"}, \r\n {\"name\": \"Libyan Arab Jamahiriya\", \"code\": \"LY\"}, \r\n {\"name\": \"Liechtenstein\", \"code\": \"LI\"}, \r\n {\"name\": \"Lithuania\", \"code\": \"LT\"}, \r\n {\"name\": \"Luxembourg\", \"code\": \"LU\"}, \r\n {\"name\": \"Macao\", \"code\": \"MO\"}, \r\n {\"name\": \"Macedonia, The Former Yugoslav Republic of\", \"code\": \"MK\"}, \r\n {\"name\": \"Madagascar\", \"code\": \"MG\"}, \r\n {\"name\": \"Malawi\", \"code\": \"MW\"}, \r\n {\"name\": \"Malaysia\", \"code\": \"MY\"}, \r\n {\"name\": \"Maldives\", \"code\": \"MV\"}, \r\n {\"name\": \"Mali\", \"code\": \"ML\"}, \r\n {\"name\": \"Malta\", \"code\": \"MT\"}, \r\n {\"name\": \"Marshall Islands\", \"code\": \"MH\"}, \r\n {\"name\": \"Martinique\", \"code\": \"MQ\"}, \r\n {\"name\": \"Mauritania\", \"code\": \"MR\"}, \r\n {\"name\": \"Mauritius\", \"code\": \"MU\"}, \r\n {\"name\": \"Mayotte\", \"code\": \"YT\"}, \r\n {\"name\": \"Mexico\", \"code\": \"MX\"}, \r\n {\"name\": \"Micronesia, Federated States of\", \"code\": \"FM\"}, \r\n {\"name\": \"Moldova, Republic of\", \"code\": \"MD\"}, \r\n {\"name\": \"Monaco\", \"code\": \"MC\"}, \r\n {\"name\": \"Mongolia\", \"code\": \"MNG\"}, \r\n {\"name\": \"Montserrat\", \"code\": \"MS\"}, \r\n {\"name\": \"Morocco\", \"code\": \"MA\"}, \r\n {\"name\": \"Mozambique\", \"code\": \"MZ\"}, \r\n {\"name\": \"Myanmar\", \"code\": \"MM\"}, \r\n {\"name\": \"Namibia\", \"code\": \"NA\"}, \r\n {\"name\": \"Nauru\", \"code\": \"NR\"}, \r\n {\"name\": \"Nepal\", \"code\": \"NP\"}, \r\n {\"name\": \"Netherlands\", \"code\": \"NL\"}, \r\n {\"name\": \"Netherlands Antilles\", \"code\": \"AN\"}, \r\n {\"name\": \"New Caledonia\", \"code\": \"NC\"}, \r\n {\"name\": \"New Zealand\", \"code\": \"NZ\"}, \r\n {\"name\": \"Nicaragua\", \"code\": \"NI\"}, \r\n {\"name\": \"Niger\", \"code\": \"NE\"}, \r\n {\"name\": \"Nigeria\", \"code\": \"NG\"}, \r\n {\"name\": \"Niue\", \"code\": \"NU\"}, \r\n {\"name\": \"Norfolk Island\", \"code\": \"NF\"}, \r\n {\"name\": \"Northern Mariana Islands\", \"code\": \"MP\"}, \r\n {\"name\": \"Norway\", \"code\": \"NO\"}, \r\n {\"name\": \"Oman\", \"code\": \"OM\"}, \r\n {\"name\": \"Pakistan\", \"code\": \"PK\"}, \r\n {\"name\": \"Palau\", \"code\": \"PW\"}, \r\n {\"name\": \"Palestinian Territory, Occupied\", \"code\": \"PS\"}, \r\n {\"name\": \"Panama\", \"code\": \"PA\"}, \r\n {\"name\": \"Papua New Guinea\", \"code\": \"PG\"}, \r\n {\"name\": \"Paraguay\", \"code\": \"PY\"}, \r\n {\"name\": \"Peru\", \"code\": \"PE\"}, \r\n {\"name\": \"Philippines\", \"code\": \"PH\"}, \r\n {\"name\": \"Pitcairn\", \"code\": \"PN\"}, \r\n {\"name\": \"Poland\", \"code\": \"PL\"}, \r\n {\"name\": \"Portugal\", \"code\": \"PT\"}, \r\n {\"name\": \"Puerto Rico\", \"code\": \"PR\"}, \r\n {\"name\": \"Qatar\", \"code\": \"QA\"}, \r\n {\"name\": \"Reunion\", \"code\": \"RE\"}, \r\n {\"name\": \"Romania\", \"code\": \"RO\"}, \r\n {\"name\": \"Russian Federation\", \"code\": \"RU\"}, \r\n {\"name\": \"RWANDA\", \"code\": \"RW\"}, \r\n {\"name\": \"Saint Helena\", \"code\": \"SH\"}, \r\n {\"name\": \"Saint Kitts and Nevis\", \"code\": \"KN\"}, \r\n {\"name\": \"Saint Lucia\", \"code\": \"LC\"}, \r\n {\"name\": \"Saint Pierre and Miquelon\", \"code\": \"PM\"}, \r\n {\"name\": \"Saint Vincent and the Grenadines\", \"code\": \"VC\"}, \r\n {\"name\": \"Samoa\", \"code\": \"WS\"}, \r\n {\"name\": \"San Marino\", \"code\": \"SM\"}, \r\n {\"name\": \"Sao Tome and Principe\", \"code\": \"ST\"}, \r\n {\"name\": \"Saudi Arabia\", \"code\": \"SA\"}, \r\n {\"name\": \"Senegal\", \"code\": \"SN\"}, \r\n {\"name\": \"Serbia\", \"code\": \"RS\"},\r\n {\"name\": \"Serbia and Montenegro\", \"code\": \"CS\"}, \r\n {\"name\": \"Seychelles\", \"code\": \"SC\"}, \r\n {\"name\": \"Sierra Leone\", \"code\": \"SL\"}, \r\n {\"name\": \"Singapore\", \"code\": \"SG\"}, \r\n {\"name\": \"Slovakia\", \"code\": \"SK\"}, \r\n {\"name\": \"Slovenia\", \"code\": \"SI\"}, \r\n {\"name\": \"Solomon Islands\", \"code\": \"SB\"}, \r\n {\"name\": \"Somalia\", \"code\": \"SO\"}, \r\n {\"name\": \"South Africa\", \"code\": \"ZA\"}, \r\n {\"name\": \"South Georgia and the South Sandwich Islands\", \"code\": \"GS\"}, \r\n {\"name\": \"Spain\", \"code\": \"ES\"}, \r\n {\"name\": \"Sri Lanka\", \"code\": \"LK\"}, \r\n {\"name\": \"Sudan\", \"code\": \"SD\"}, \r\n {\"name\": \"Suriname\", \"code\": \"SR\"}, \r\n {\"name\": \"Svalbard and Jan Mayen\", \"code\": \"SJ\"}, \r\n {\"name\": \"Swaziland\", \"code\": \"SZ\"}, \r\n {\"name\": \"Sweden\", \"code\": \"SE\"}, \r\n {\"name\": \"Switzerland\", \"code\": \"CH\"}, \r\n {\"name\": \"Syrian Arab Republic\", \"code\": \"SY\"}, \r\n {\"name\": \"Taiwan, Province of China\", \"code\": \"TW\"}, \r\n {\"name\": \"Tajikistan\", \"code\": \"TJ\"}, \r\n {\"name\": \"Tanzania, United Republic of\", \"code\": \"TZ\"}, \r\n {\"name\": \"Thailand\", \"code\": \"TH\"}, \r\n {\"name\": \"Timor-Leste\", \"code\": \"TL\"}, \r\n {\"name\": \"Togo\", \"code\": \"TG\"}, \r\n {\"name\": \"Tokelau\", \"code\": \"TK\"}, \r\n {\"name\": \"Tonga\", \"code\": \"TO\"}, \r\n {\"name\": \"Trinidad and Tobago\", \"code\": \"TT\"}, \r\n {\"name\": \"Tunisia\", \"code\": \"TN\"}, \r\n {\"name\": \"Turkey\", \"code\": \"TR\"}, \r\n {\"name\": \"Turkmenistan\", \"code\": \"TM\"}, \r\n {\"name\": \"Turks and Caicos Islands\", \"code\": \"TC\"}, \r\n {\"name\": \"Tuvalu\", \"code\": \"TV\"}, \r\n {\"name\": \"Uganda\", \"code\": \"UG\"}, \r\n {\"name\": \"Ukraine\", \"code\": \"UA\"}, \r\n {\"name\": \"United Arab Emirates\", \"code\": \"AE\"}, \r\n {\"name\": \"United Kingdom\", \"code\": \"GB\"}, \r\n {\"name\": \"United States\", \"code\": \"US\"}, \r\n {\"name\": \"United States Minor Outlying Islands\", \"code\": \"UM\"}, \r\n {\"name\": \"Uruguay\", \"code\": \"UY\"}, \r\n {\"name\": \"Uzbekistan\", \"code\": \"UZ\"}, \r\n {\"name\": \"Vanuatu\", \"code\": \"VU\"}, \r\n {\"name\": \"Venezuela\", \"code\": \"VE\"}, \r\n {\"name\": \"Viet Nam\", \"code\": \"VN\"}, \r\n {\"name\": \"Virgin Islands, British\", \"code\": \"VG\"}, \r\n {\"name\": \"Virgin Islands, U.S.\", \"code\": \"VI\"}, \r\n {\"name\": \"Wallis and Futuna\", \"code\": \"WF\"}, \r\n {\"name\": \"Western Sahara\", \"code\": \"EH\"}, \r\n {\"name\": \"Yemen\", \"code\": \"YE\"}, \r\n {\"name\": \"Zambia\", \"code\": \"ZM\"}, \r\n {\"name\": \"Zimbabwe\", \"code\": \"ZW\"} ,\r\n {\"name\": \"Kosovo\", \"code\": \"XK\"},\r\n {\"name\": \"Montenegro\", \"code\": \"MN\"}\r\n ]","\r\nimport React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst Radio = React.forwardRef((props, ref) => {\r\n const internalRef = React.useRef();\r\n React.useImperativeHandle(ref, () => internalRef.current);\r\n\r\n const setActive=(elem)=>{\r\n if (!internalRef?.current) return;\r\n if(elem===true){\r\n internalRef.current.querySelector('.customComponents__radio__yes').classList.add('activeRadio')\r\n internalRef.current.querySelector('.customComponents__radio__no').classList.remove('activeRadio')\r\n }else{\r\n internalRef.current.querySelector('.customComponents__radio__no').classList.add('activeRadio')\r\n internalRef.current.querySelector('.customComponents__radio__yes').classList.remove('activeRadio')\r\n }\r\n }\r\n React.useEffect(()=>{\r\n if (!internalRef.current) return;\r\n if (props.selected !== undefined) setActive(props.selected);\r\n })\r\n return
\r\n
{setActive(true); props.functionYes && props.functionYes()}} className=\"customComponents__radio__yes activeRadio\">\r\n {props.valueyes}\r\n
\r\n
{setActive(false); props.functionNo && props.functionNo()}} className=\"customComponents__radio__no \">\r\n {props.valueno}\r\n
\r\n \r\n
\r\n});\r\nexport default Radio","import React from \"react\";\r\nimport \"./index.scss\";\r\nimport PropTypes from \"prop-types\";\r\n\r\nconst Button = React.forwardRef((props, ref) => {\r\n return \r\n});\r\n\r\nButton.propTypes = {\r\n value: PropTypes.string,\r\n accent: PropTypes.string,\r\n}\r\n\r\nexport default Button","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst CustomDropbox = () => {\r\n const [selected, setSelected] = React.useState(null);\r\n //data-niz objekata {name: '',value:'' }\r\n //getSelected() null || data[elem].value\r\n\r\n return {\r\n DropBox: React.forwardRef((props, ref) => {\r\n const [searchInput, setSearchInput] = React.useState('')\r\n let internalRef = React.useRef();\r\n let dropboxOpen = false\r\n\r\n React.useImperativeHandle(ref, () => internalRef.current);\r\n\r\n React.useEffect(() => {\r\n if (selected === null || selected === undefined) return;\r\n let selectedStringify = JSON.stringify(selected);\r\n let found = props.data.find(item => JSON.stringify(item) === selectedStringify);\r\n if (!found) {\r\n if (props.selected !== null && props.selected !== undefined) {\r\n if (props.data[props.selected]) {\r\n setSelected(props.data[props.selected]);\r\n } else {\r\n setSelected(null);\r\n };\r\n } else {\r\n setSelected(null);\r\n };\r\n };\r\n }, [props.data]);\r\n React.useEffect(() => {\r\n if (!selected) {\r\n if (props.selected !== null && props.selected !== undefined) setSelected(props.data[props.selected]);\r\n };\r\n }, []);\r\n React.useEffect(() => {\r\n if (!selected) return;\r\n if (props.onChange) props.onChange(selected);\r\n if (props.reset === true) setSelected(null);\r\n }, [selected])\r\n React.useEffect(() => {\r\n let listenClick = document.body.addEventListener(\"click\", (e) => {\r\n let curDropBox = internalRef?.current?.querySelector(\".customComponents__dropBox__selected\");\r\n if (!curDropBox) return;\r\n if (e.target === curDropBox) return;\r\n if (dropboxOpen) openDropbox();\r\n });\r\n return () => document.body.removeEventListener(\"click\", listenClick);\r\n });\r\n\r\n const openDropbox = (e) => {\r\n if (!internalRef?.current) return;\r\n let element = internalRef.current.querySelector('.customComponents__dropBox__all')\r\n if (dropboxOpen === false) {\r\n element.style.height = '200px'\r\n element.style.overflowY = 'scroll'\r\n dropboxOpen = true\r\n } else {\r\n element.style.height = '0px'\r\n element.style.overflow = 'hidden'\r\n dropboxOpen = false\r\n }\r\n }\r\n const getSelected = (item, e) => {\r\n setSelected(item)\r\n let element = e.target.parentNode\r\n element.style.height = '0px'\r\n element.style.overflow = 'hidden'\r\n dropboxOpen = false\r\n }\r\n return
\r\n

{ openDropbox(e) }}>{(() => {\r\n if (selected) {\r\n return <>{selected.image && } {selected.name}\r\n } else {\r\n return props.selectText\r\n }\r\n })()}    

\r\n
e.stopPropagation()} className='customComponents__dropBox__all'>\r\n { setSearchInput(e.target.value); }} />\r\n {props.data !== undefined ? props.data.map(item => {\r\n if (item.name.toLowerCase().includes(searchInput.toLowerCase())===false) {\r\n return

{ getSelected(item.value, e) }} className='customComponents__dropBox__all__single'> {item.image && } {item.name}

\r\n }else{\r\n return

{ getSelected(item, e) }} className='customComponents__dropBox__all__single'> {item.image && } {item.name}

\r\n\r\n }\r\n }) : null}\r\n
\r\n
\r\n }),\r\n getSelectedItem: () => {\r\n return selected\r\n }\r\n }\r\n\r\n};\r\n\r\nexport default CustomDropbox","export const getParamsFromURL = (url) => {\r\n let firstPart = url.split(\"?\");\r\n if (firstPart.length !== 2) return [];\r\n let secondPart = firstPart[1].split(\"&\");\r\n let final = [];\r\n for (let item of secondPart) {\r\n let tmp = item.split(\"=\").filter(tmp2 => tmp2);\r\n if (tmp.length === 2) {\r\n final.push({name: decodeURI(tmp[0]), value: decodeURI(tmp[1])});\r\n };\r\n };\r\n return final;\r\n};","import React from \"react\";\r\nimport \"./index.scss\";\r\nimport PropTypes from \"prop-types\";\r\n\r\n/*\r\ndata: [\r\n {name: \"...\", value: \"...\", image?: \"...link...\"}\r\n]\r\n*/\r\n\r\nconst Dropdown = (props) => {\r\n const themeData = (props.theme === \"dark\" || props.theme === \"light\") ? props.theme : \"light\";\r\n const [selected, setSelected] = React.useState({});\r\n const [visible, setVisible] = React.useState(null);\r\n const [visibleData, setVisibleData] = React.useState([]);\r\n const [search, setSearch] = React.useState(\"\");\r\n\r\n const dropdownRef = React.useRef();\r\n\r\n const parseData = () => {\r\n if (!props.data) return setVisibleData([]);\r\n if (!Array.isArray(props.data)) return setVisibleData([]);\r\n let searchArr = search ? search.split(\" \") : [];\r\n let finalOut = [];\r\n if (searchArr.length > 0) {\r\n for (let item of props.data) {\r\n let fltVisible = true;\r\n for (let flt of searchArr) {\r\n if (item.alwaysVisible) continue;\r\n if (!item.name.toLowerCase().includes(flt.toLowerCase())) {\r\n fltVisible = false;\r\n break;\r\n };\r\n };\r\n if (fltVisible) finalOut.push(item);\r\n };\r\n } else {\r\n finalOut.push(...props.data);\r\n };\r\n setVisibleData(finalOut);\r\n };\r\n\r\n React.useEffect(() => {\r\n if (props.selected !== null && props.selected !== undefined) {\r\n if (props.data[props.selected]) {\r\n setSelected(props.data[props.selected]);\r\n if (props.onChange) props.onChange(props.data[props.selected])\r\n };\r\n };\r\n }, [props.selected]);\r\n\r\n React.useEffect(() => {\r\n parseData();\r\n }, [props.data, search]);\r\n\r\n React.useEffect(() => {\r\n if (props.onReset) props.onReset(() => {\r\n setSelected({});\r\n })\r\n }, []);\r\n\r\n React.useEffect(() => {\r\n let cb = () => {\r\n if (visible !== null) setVisible(null);\r\n };\r\n document.body.addEventListener(\"click\", cb);\r\n return () => document.body.removeEventListener(\"click\", cb);\r\n });\r\n\r\n React.useEffect(() => {\r\n if (visible === null) return;\r\n if (!dropdownRef.current) return;\r\n let parentRect = document.body.getBoundingClientRect();\r\n let dropdownRect = dropdownRef.current.getBoundingClientRect();\r\n let finalX = 0;\r\n if ((visible.x + dropdownRect.width > parentRect.width)) {\r\n finalX = visible.x - (visible.x + dropdownRect.width - parentRect.width);\r\n } else {\r\n finalX = visible.x\r\n };\r\n if (finalX < 0) {\r\n finalX = 0;\r\n }\r\n dropdownRef.current.style.top = `${visible?.y}px`;\r\n dropdownRef.current.style.left = `${finalX}px`;\r\n }, [visible]);\r\n\r\n return
{\r\n e.stopPropagation();\r\n if (visible === null) {\r\n setVisible({x: e.clientX, y: e.clientY});\r\n } else {\r\n setVisible(null);\r\n };\r\n }} >\r\n {props.placeholder ?

{props.placeholder}

: null}\r\n

{selected.name ? selected.name : \"\"} {selected.showValue ? `(${selected.value})` : \"\"}

\r\n \r\n\r\n
e.stopPropagation()} style={{\r\n ...(props.dropdownStyle ?? {}),\r\n boxShadow: props.accent ? `0px 0px 2px ${props.accent}, 0px 0px 4px ${props.accent}` : (props.dropdownStyle?.boxShadow ?? null)\r\n }} >\r\n {\r\n setSearch(e.target.value);\r\n }} type=\"text\" placeholder=\"Search...\" className=\"component__customComponent__dropbox__dropdown__searchBox\" />\r\n {visibleData?.length > 0 ? visibleData.map((item, index) => {\r\n return

{\r\n setSelected(item);\r\n if (item.saveValue) item.value = search;\r\n if (props.onChange) props.onChange(item);\r\n setVisible(null);\r\n }}>{item.name}

\r\n }) :

No data to show

}\r\n
\r\n
\r\n};\r\n\r\nDropdown.propTypes = {\r\n data: PropTypes.arrayOf(PropTypes.shape({\r\n name: PropTypes.any,\r\n value: PropTypes.any,\r\n saveValue: PropTypes.bool,\r\n showValue: PropTypes.bool\r\n })),\r\n selected: PropTypes.number,\r\n onChange: PropTypes.func,\r\n style: PropTypes.object,\r\n dropdownStyle: PropTypes.object,\r\n theme: PropTypes.oneOf([\"light\", \"dark\"]),\r\n accent: PropTypes.string,\r\n placeholder: PropTypes.string\r\n}\r\n\r\nexport default Dropdown;","import React from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport { countries } from \"../../../../modules/countryModule\";\r\nimport { getParamsFromURL } from \"../../../../modules/urlModule\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\nimport { FilteredCustomTable } from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport CustomDropbox from \"../../../../components/customComponents/DropBox\";\r\nimport CustomRadio from \"../../../../components/customComponents/Radio\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\n\r\nconst AdminUsers = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n\r\n let isAdmin = useSelector(state => state?.userData?.userData?.UserInfo?.Flags?.isAdmin);\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueUsers = () => {\r\n if (curPagination.current === -1) return;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getAllUsers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({ status: \"ok\", data: [...userData.data, ...res.data.data.DBData] });\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getUsers = () => {\r\n curPagination.current = 0;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getAllUsers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({ status: \"ok\", data: res.data.data.DBData });\r\n } else {\r\n setUserData({ status: \"error\", data: \"There was an error while getting users\" });\r\n };\r\n }).catch(() => {\r\n setUserData({ status: \"error\", data: \"Server timed out!\" });\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const DisplayUserInfo = (props) => {\r\n let [aInfo, setAInfo] = React.useState(null);\r\n\r\n React.useEffect(() => {\r\n if (!props.user.AssignedManagerID) {\r\n setAInfo(\"No manager assigned\");\r\n } else {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.user.AssignedManagerID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"error\") {\r\n setAInfo(\"Assigned manager not found\");\r\n } else {\r\n setAInfo(`${res.data.data.FirstName} ${res.data.data.LastName}`);\r\n }\r\n }).catch(() => {\r\n setAInfo(\"Can't fetch assigned manager\");\r\n });\r\n };\r\n }, []);\r\n let lastLocation = JSON.parse(props.user.LastKnownLocation);\r\n return
\r\n

UserID: {props.user.ID}

\r\n

Username: {props.user.Username}

\r\n

Email: {props.user.Email}

\r\n

First name: {props.user.FirstName}

\r\n

Last name: {props.user.LastName}

\r\n

Country: {props.user.Country}

\r\n

ZIP: {props.user.ZIP}

\r\n

Experience: {props.user.Experience} years

\r\n

Payment method: {props.user.PaymentMethod}

\r\n

Contact Whatsapp: {props.user.ContactWhatsapp}

\r\n

Contact Skype: {props.user.ContactSkype}

\r\n

Contact Telegram: {props.user.ContactTelegram}

\r\n

Assigned manager: {(() => {\r\n if (!aInfo) return \r\n if (aInfo) return {aInfo}\r\n })()}

\r\n

\r\n Last known location: \r\n City: {lastLocation.city}, Country: {countries.find(item => item.code === lastLocation.country)?.name ?? \"?\"}\r\n

\r\n
\r\n

Created at: {new Date(props.user.createdAt).toLocaleString()}

\r\n
\r\n

Flags:


{(() => {\r\n return Object.keys(props.user.Flags).map(elem => {\r\n if (typeof props.user.Flags[elem] === \"object\") return null;\r\n return <>\r\n {elem}: {(() => {\r\n if (props.user.Flags[elem] === true || props.user.Flags[elem] === false) {\r\n return props.user.Flags[elem] ? \"Yes\" : \"No\"\r\n } else return props.user.Flags[elem];\r\n })()}\r\n
\r\n });\r\n })()}

\r\n
\r\n };\r\n\r\n const VerifyPublisher = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/verifyPublisher`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to verify publisher!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will verify the publisher and allow it to take offers

\r\n

Are you sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const EditUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [curCountry, setCountry] = React.useState(null);\r\n let [autoPayoutInterval, setAutoPayoutInterval] = React.useState(props.user.AutoPayoutInterval ?? 0);\r\n let [fReferralEnabled, fSetReferralEnabled] = React.useState(props.user.Flags.isRefferalEnabled);\r\n let [fAdmin, setFAdmin] = React.useState(props.user.Flags.isAdmin);\r\n let [fManager, setFManager] = React.useState(props.user.Flags.isManager);\r\n let [pManager, setPManager] = React.useState(props.user.Flags.isPublisherManager);\r\n let [aManager, setAManager] = React.useState(props.user.Flags.isAdvertiserManager)\r\n let [fVerified, setFVerified] = React.useState(props.user.Flags.isVerified);\r\n let [fPublisherHidden, setFPublisherHidden] = React.useState(props.user.Flags.isPublisherHidden ?? false);\r\n let [fcrmInfoAllowed, setFCrmInfoAllowed] = React.useState(props.user.Flags.isCRMInfoAllowed ?? false);\r\n\r\n let firstNameRef = React.useRef();\r\n let lastNameRef = React.useRef();\r\n let emailRef = React.useRef();\r\n let PasswordRef = React.useRef();\r\n let ZIPRef = React.useRef();\r\n let ExperienceRef = React.useRef();\r\n let ContactWhatsappRef = React.useRef();\r\n let ContactSkypeRef = React.useRef();\r\n let ContactTelegramRef = React.useRef();\r\n let PaymentMethodRef = React.useRef();\r\n let ReferralPercentEarningsRef = React.useRef();\r\n let CountryDropbox = CustomDropbox();\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.ID,\r\n showPayment: true\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n setSpinner(false);\r\n while (!firstNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n firstNameRef.current.value = res.data.data.FirstName;\r\n lastNameRef.current.value = res.data.data.LastName;\r\n emailRef.current.value = res.data.data.Email;\r\n ZIPRef.current.value = res.data.data.ZIP;\r\n ExperienceRef.current.value = res.data.data.Experience;\r\n ContactWhatsappRef.current.value = res.data.data.ContactWhatsapp;\r\n ContactSkypeRef.current.value = res.data.data.ContactSkype;\r\n ContactTelegramRef.current.value = res.data.data.ContactTelegram;\r\n PaymentMethodRef.current.value = res.data.data.PaymentMethod;\r\n ReferralPercentEarningsRef.current.value = res.data.data.ReferralPercentEarnings\r\n\r\n let cIndex = -1;\r\n countries.forEach((elem, index) => {\r\n if (elem.code === res.data.data.Country) cIndex = index;\r\n });\r\n if (cIndex !== -1) setCountry(cIndex);\r\n } else {\r\n setFinalData(\"Failed to get publisher info!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = () => {\r\n let FirstName = firstNameRef.current.value;\r\n let LastName = lastNameRef.current.value;\r\n let newEmail = emailRef.current.value;\r\n let newPassword = PasswordRef.current.value;\r\n let ZIP = ZIPRef.current.value;\r\n let Experience = ExperienceRef.current.value;\r\n let ContactWhatsapp = ContactWhatsappRef.current.value;\r\n let ContactSkype = ContactSkypeRef.current.value;\r\n let ContactTelegram = ContactTelegramRef.current.value;\r\n let PaymentMethod = PaymentMethodRef.current.value;\r\n let Country = CountryDropbox.getSelectedItem().value;\r\n let ReferralPercentEarnings = Number(ReferralPercentEarningsRef.current.value);\r\n\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/editUser`,\r\n data: {\r\n id: props.ID,\r\n FirstName: FirstName ? FirstName : null,\r\n LastName: LastName ? LastName : null,\r\n newEmail: newEmail ? newEmail : null,\r\n newPassword: newPassword ? newPassword : null,\r\n ZIP: ZIP ? Number(ZIP) : null,\r\n Experience: Number(Experience) ? Experience : null,\r\n ContactWhatsapp: ContactWhatsapp ? ContactWhatsapp : null,\r\n ContactSkype: ContactSkype ? ContactSkype : null,\r\n ContactTelegram: ContactTelegram ? ContactTelegram : null,\r\n PaymentMethod: PaymentMethod ? PaymentMethod : null,\r\n Country: Country ? Country : null,\r\n ReferralPercentEarnings,\r\n AutoPayoutInterval: autoPayoutInterval ? autoPayoutInterval : null,\r\n newFlags: isAdmin ? JSON.stringify({ isAdmin: fAdmin, isManager: fManager, isPublisherManager: pManager, isAdvertiserManager: aManager, isVerified: fVerified, isRefferalEnabled: fReferralEnabled, isPublisherHidden: fPublisherHidden, isCRMInfoAllowed: fcrmInfoAllowed }) : null\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.data.status === \"error\") {\r\n setFinalData(\"Failed to get the new edited user!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n });\r\n };\r\n }).catch(() => {\r\n setFinalData(\"Failed to get the new user\");\r\n setSpinner(false);\r\n })\r\n } else {\r\n setFinalData(\"Failed to edit user!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [firstNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n {\r\n return {\r\n name: item.name,\r\n value: item.code\r\n };\r\n })} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n {isAdmin &&
\r\n Automatic payout inverval:\r\n
setAutoPayoutInterval(0)} className={`route__adminUsers__addUser__userInfo__autoPayouts__payout ${autoPayoutInterval === 0 ? \"route__adminUsers__addUser__userInfo__autoPayouts__payout--active\" : \"\"}`}>None
\r\n
setAutoPayoutInterval(7)} className={`route__adminUsers__addUser__userInfo__autoPayouts__payout ${autoPayoutInterval === 7 ? \"route__adminUsers__addUser__userInfo__autoPayouts__payout--active\" : \"\"}`}>7 days
\r\n
setAutoPayoutInterval(14)} className={`route__adminUsers__addUser__userInfo__autoPayouts__payout ${autoPayoutInterval === 14 ? \"route__adminUsers__addUser__userInfo__autoPayouts__payout--active\" : \"\"}`}>14 days
\r\n
setAutoPayoutInterval(30)} className={`route__adminUsers__addUser__userInfo__autoPayouts__payout ${autoPayoutInterval === 30 ? \"route__adminUsers__addUser__userInfo__autoPayouts__payout--active\" : \"\"}`}>30 days
\r\n
}\r\n {isAdmin &&
\r\n

Flags:

\r\n

Admin Yes

} valueno={

No

} functionYes={() => setFAdmin(true)} functionNo={() => setFAdmin(false)} />

\r\n

Manager Yes

} valueno={

No

} functionYes={() => setFManager(true)} functionNo={() => setFManager(false)} />

\r\n

Publisher manager Yes

} valueno={

No

} functionYes={() => setPManager(true)} functionNo={() => setPManager(false)} />

\r\n

Advertiser manager Yes

} valueno={

No

} functionYes={() => setAManager(true)} functionNo={() => setAManager(false)} />

\r\n

Verified Yes

} valueno={

No

} functionYes={() => setFVerified(true)} functionNo={() => setFVerified(false)} />

\r\n

Referral Yes

} valueno={

No

} functionYes={() => fSetReferralEnabled(true)} functionNo={() => fSetReferralEnabled(false)} />

\r\n

Publisher hidden Yes

} valueno={

No

} functionYes={() => setFPublisherHidden(true)} functionNo={() => setFPublisherHidden(false)} />

\r\n

Can see CRM info Yes

} valueno={

No

} functionYes={() => setFCrmInfoAllowed(true)} functionNo={() => setFCrmInfoAllowed(false)} />

\r\n
}\r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n const DeleteUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/deleteUser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete user!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the user and ALL OF HIS DATA

\r\n

(Advertiser account, offers, taken offers, leads....etc)

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n }\r\n const CreatePayoutForUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n const [canCreatePayout, setCanCreatePayout] = React.useState(false);\r\n\r\n\r\n\r\n const getCanCreatePayout = () => {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/payouts/checkPayoutPending`,\r\n\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n setCanCreatePayout(true)\r\n } else {\r\n setCanCreatePayout(false)\r\n }\r\n }).catch(() => {\r\n setCanCreatePayout(false)\r\n })\r\n }\r\n React.useEffect(() => {\r\n if (props.paymentMethod === null) return\r\n getCanCreatePayout()\r\n }, [])\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/payouts/createPlatformPayout`,\r\n data: {\r\n BoundUser: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to create payout!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n if (props.paymentMethod === null) {\r\n return
\r\n

Payout can't be created.

\r\n

User need to add payment method!

\r\n \r\n
\r\n }\r\n if (!canCreatePayout) return
\r\n

Payout can't be created.

\r\n

There are payouts that still haven't been processed!

\r\n \r\n
\r\n \r\n return
\r\n

This will create a payout for this user.

\r\n

NOTE: You still need to go to 'Payments' and process the payout

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n\r\n\r\n };\r\n\r\n const PaginationUser = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n canPaginate && setTimeout(continueUsers, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n React.useEffect(() => {\r\n if (!addFilterItem) return;\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n } else if (elem.name === \"Username\") {\r\n addFilterItem({\r\n name: \"Username\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"Username\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n React.useEffect(() => {\r\n getUsers();\r\n }, [filters]);\r\n\r\n return
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Username\", \"Email\", \"Verified\"]} data={(() => {\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n { keyID: item.ID, type: \"text\", text: item.Username },\r\n { keyID: item.ID, type: \"text\", text: item.Email },\r\n {\r\n keyID: item.ID, type: \"group\", group: [\r\n {\r\n keyID: item.ID, type: \"text\", text: (() => {\r\n let final = [];\r\n final.push(

{item.Flags.isVerified ? \"Yes\" : \"No\"}

);\r\n return final;\r\n })()\r\n },\r\n ]\r\n },\r\n {\r\n keyID: item.ID, type: \"groupNewline\", group: [\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n usr.Flags = JSON.parse(usr.Flags);\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n };\r\n }} />\r\n }\r\n },\r\n isAdmin ? {\r\n keyID: item.ID, type: \"button\", text: \"Delete\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n } : null,\r\n isAdmin ? {\r\n keyID: item.ID, type: \"button\", text: \"Create payout\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n\r\n }} />\r\n }\r\n } : null,\r\n {\r\n keyID: item.ID, type: \"button\", text: \"More info\", triggerDropdown: true, triggerData: () => {\r\n return \r\n }\r\n },\r\n item.AdvertiserID ? { keyID: item.ID, type: \"button\", text: \"Go to advertiser account\", onClick: () => animateNavigate(`/dashboard/admin-advertisers?ID=${encodeURI(item.AdvertiserID)}`) } : null,\r\n (item.Flags.isVerified) ? null : {\r\n keyID: item.ID, type: \"button\", text: \"Verify publisher\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n item.Flags.isVerified = true;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n item,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n }\r\n ]\r\n }\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{ keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{ keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n { name: \"ID\", friendlyName: \"ID\", type: \"string\" },\r\n { name: \"Username\", friendlyName: \"Username\", type: \"string\" },\r\n { name: \"Email\", friendlyName: \"E-mail\", type: \"string\" },\r\n { name: \"FirstName\", friendlyName: \"First name\", type: \"string\" },\r\n { name: \"LastName\", friendlyName: \"Last name\", type: \"string\" },\r\n {\r\n name: \"Country\", friendlyName: \"Country\", type: \"custom\", varType: \"string\", data: countries.map(country => {\r\n return {\r\n text: country.name,\r\n value: country.code\r\n };\r\n })\r\n },\r\n { name: \"ZIP\", friendlyName: \"ZIP\", type: \"number\" },\r\n { name: \"Experience\", friendlyName: \"Experience\", type: \"number\" },\r\n { name: \"Flags:isAdmin\", friendlyName: \"Is admin\", type: \"boolean\" },\r\n { name: \"Flags:isManager\", friendlyName: \"Is manager\", type: \"boolean\" },\r\n { name: \"Flags:isVerified\", friendlyName: \"Is verified\", type: \"boolean\" },\r\n { name: \"Flags:isCRMInfoAllowed\", friendlyName: \"Is CRM info visible\", type: \"boolean\" },\r\n { name: \"AdvertiserID\", friendlyName: \"Is advertiser\", type: \"custom\", data: [{ value: null, text: \"No\" }], varType: \"custom\" }\r\n ]} />\r\n };\r\n })()}\r\n
\r\n};\r\n\r\nexport default AdminUsers;","import React, { useState } from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport { getParamsFromURL } from \"../../../../modules/urlModule\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport Radio from \"../../../../components/customComponents/Radio\";\r\n\r\nimport { FilteredCustomTable } from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\n\r\nconst AdminAdvertisers = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueAdvertisers = () => {\r\n if (curPagination.current === -1) return;\r\n setCanPaginate(false);\r\n setLoadingSpinner(true);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAllAdvertisers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({ status: \"ok\", data: [...userData.data, ...res.data.data.DBData] });\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getAdvertisers = () => {\r\n curPagination.current = 0;\r\n setCanPaginate(false);\r\n setLoadingSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAllAdvertisers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({ status: \"ok\", data: res.data.data.DBData });\r\n } else {\r\n setUserData({ status: \"error\", data: \"There was an error while getting advertisers\" });\r\n };\r\n }).catch(() => {\r\n setUserData({ status: \"error\", data: \"Server timed out!\" });\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const DisplayAdvertiserInfo = (props) => {\r\n return
\r\n

AdvertiserID: {props.user.ID}

\r\n

Company name: {props.user.CompanyName}

\r\n

Credit balance: {props.user.isInfiniteCredits ? Infinite : `${props.user.creditBalance} $`}

\r\n

Minimum allowed balance: {props.user.minBalance} $

\r\n

Company address: {props.user.CompanyAddress}

\r\n

Company City: {props.user.CompanyCity}

\r\n

Company ZIP: {props.user.CompanyZipCode}

\r\n

Tax / VAT number: {props.user.TaxVatNumber}

\r\n

Has infinite credits: {props.user.isInfiniteCredits ? Yes : No}

\r\n
\r\n

Flags:


{(() => {\r\n return Object.keys(props.user.Flags).map(elem => {\r\n return <>\r\n {elem}: {(() => {\r\n if (props.user.Flags[elem] === true || props.user.Flags[elem] === false) {\r\n return props.user.Flags[elem] ? \"Yes\" : \"No\"\r\n } else return props.user.Flags[elem];\r\n })()}\r\n
\r\n });\r\n })()}

\r\n
\r\n };\r\n\r\n const PaginationAdvertiser = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n canPaginate && setTimeout(continueAdvertisers, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n const VerifyAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/verifyAdvertiser`,\r\n data: {\r\n ID: props.ID,\r\n verifyStatus: true\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to verify advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will verify the advertiser

\r\n

Are you sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const DeleteAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/deleteAdvertiser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete advertiser!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the advertiser and ALL OF HIS DATA

\r\n

(Advertiser offers, taken offers from other users, CRMs...etc)

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const SetCreditBalance = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [countAsRef, setCountAsRef] = React.useState(true);\r\n let [balanceType, setBalanceType] = React.useState(props.user.isInfiniteCredits);\r\n let newBalanceRef = React.useRef();\r\n let commentRef = React.useRef();\r\n\r\n const performVerify = () => {\r\n let calculatedBalance = 0;\r\n let comment = null;\r\n if (!props.user.ID) return;\r\n if (!balanceType) {\r\n if (isNaN(Number(newBalanceRef.current?.value))) {\r\n setFinalData(\"New credit balance must be a number\");\r\n setSpinner(false);\r\n return;\r\n } else {\r\n calculatedBalance = Number(newBalanceRef.current.value);\r\n comment = commentRef.current.value;\r\n };\r\n };\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.user.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/${(res.data.data.isInfiniteCredits || balanceType) ? \"setCreditBalance\" : \"setCreditBalanceDynamic\"}`,\r\n data: {\r\n advertiserID: res.data.data.ID,\r\n balance: balanceType ? \"infinite\" : calculatedBalance,\r\n countAsReferral: countAsRef,\r\n Comment: comment\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.data.status === \"ok\") {\r\n props.c().then(() => {\r\n let finalUser = props.user;\r\n if (balanceType) {\r\n finalUser.creditBalance = 0;\r\n finalUser.isInfiniteCredits = true;\r\n } else {\r\n finalUser.creditBalance = Number(res.data.data.creditBalance) + calculatedBalance;\r\n finalUser.isInfiniteCredits = false;\r\n };\r\n setSpinner(false);\r\n if (props.onUpdate) props.onUpdate(finalUser ? finalUser : null);\r\n })\r\n } else {\r\n setFinalData(\"Failed to set new balance!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to find advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch((e) => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user ? props.user : null);\r\n });;\r\n }} />\r\n
\r\n }\r\n return
\r\n

Enter the amount of credits to add or remove

\r\n

for instance -200 to remove 200 credits from advertiser...etc

\r\n

Or set the balance as infinite

\r\n

NOTE: Setting the balance as infinite will internally reset the balance to 0 !!!!!

\r\n
\r\n Infinite

} valueno={

Not infinite

} functionYes={() => setBalanceType(true)} functionNo={() => setBalanceType(false)} />\r\n Count as referral

} valueno={

DO NOT count as referral

} functionYes={() => setCountAsRef(true)} functionNo={() => setCountAsRef(false)} />\r\n {!balanceType && <>\r\n \r\n \r\n }\r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n const EditAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n let companyNameRef = React.useRef();\r\n let companyAddressRef = React.useRef();\r\n let companyCityRef = React.useRef();\r\n let companyZipCodeRef = React.useRef();\r\n let TaxVatNumberRef = React.useRef();\r\n let minBalanceRef = React.useRef();\r\n let creditBalanceRef = React.useRef();\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n setSpinner(false);\r\n while (!companyNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n companyNameRef.current.value = res.data.data.CompanyName;\r\n companyAddressRef.current.value = res.data.data.CompanyAddress;\r\n companyCityRef.current.value = res.data.data.CompanyCity;\r\n companyZipCodeRef.current.value = res.data.data.CompanyZipCode;\r\n TaxVatNumberRef.current.value = res.data.data.TaxVatNumber;\r\n minBalanceRef.current.value = res.data.data.minBalance;\r\n creditBalanceRef.current.value = res.data.data.creditBalance;\r\n } else {\r\n setFinalData(\"Failed to get user data!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = () => {\r\n let CompanyName = companyNameRef.current.value;\r\n let CompanyAddress = companyAddressRef.current.value;\r\n let CompanyCity = companyCityRef.current.value;\r\n let CompanyZipCode = companyZipCodeRef.current.value;\r\n let TaxVatNumber = TaxVatNumberRef.current.value;\r\n let minBalance = minBalanceRef.current.value;\r\n let creditBalance = creditBalanceRef.current.value;\r\n\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/editAdvertiser`,\r\n data: {\r\n ID: props.ID,\r\n CompanyName: CompanyName ? CompanyName : null,\r\n CompanyAddress: CompanyAddress ? CompanyAddress : null,\r\n CompanyCity: CompanyCity ? CompanyCity : null,\r\n CompanyZipCode: CompanyZipCode ? Number(CompanyZipCode) : null,\r\n TaxVatNumber: TaxVatNumber ? TaxVatNumber : null,\r\n minBalance: minBalance ? Number(minBalance) : null,\r\n creditBalance: creditBalance ? Number(creditBalance) : null\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.status === \"error\") {\r\n setFinalData(\"There was an error while getting the new advertiser!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n setSpinner(false);\r\n });\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to edit advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [companyNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n\r\n const CreateInvoice = props => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const amountRef = React.useRef();\r\n\r\n const createInvoice = () => {\r\n let finalAmount = Number(amountRef.current.value);\r\n\r\n if (isNaN(finalAmount)) return setFinalData(\"Amount must be a number!\");\r\n if (finalAmount <= 0) return setFinalData(\"Amount must be greater than 0\");\r\n\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/invoices/createInvoice`,\r\n data: {\r\n BoundAdvertiser: props.data.ID,\r\n Amount: finalAmount\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n return setFinalData(`Invoice created, amount: ${finalAmount.toFixed(2)} $`);\r\n } else {\r\n return setFinalData(\"Failed to create an invoice!\\nThis could also mean that the advertiser is missing his/hers TAX/VAT numbers!\");\r\n };\r\n }).catch(() => {\r\n return setFinalData(\"Server timed out!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

Create invoice

\r\n

NOTE: Invoice will be sent to the advertisers e-mail!

\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n\r\n React.useEffect(() => {\r\n getAdvertisers();\r\n }, [filters]);\r\n\r\n React.useEffect(() => {\r\n if (!addFilterItem) return;\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n return
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Company name\", \"Username\", \"Verified\"]} data={(() => {\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n { keyID: item.ID, type: \"text\", text: item.CompanyName },\r\n { keyID: item.ID, type: \"text\", text: item.Username },\r\n {\r\n keyID: item.ID, type: \"group\", group: [\r\n {\r\n keyID: item.ID, type: \"text\", text: (() => {\r\n let final = [];\r\n final.push(

{item.Flags.isVerified ? \"Yes\" : \"No\"}

);\r\n return final;\r\n })()\r\n },\r\n ]\r\n },\r\n {\r\n keyID: item.ID, type: \"groupNewline\", group: [\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n usr.Flags = JSON.parse(usr.Flags);\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n };\r\n }} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Delete\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Add balance\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (!usr) return;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n })} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"More info\", triggerDropdown: true, triggerData: () => {\r\n return \r\n }\r\n },\r\n { keyID: item.ID, type: \"button\", text: \"Go to user account\", onClick: () => animateNavigate(`/dashboard/admin-users?Username=${encodeURI(item.Username)}`) },\r\n (item.Flags.isVerified) ? null : {\r\n keyID: item.ID, type: \"button\", text: \"Verify advertiser\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n item.Flags.isVerified = true;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n item,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n },\r\n {keyID: item.ID, type: \"button\", text: \"Create invoice\", triggerDropdown: true, triggerData: c => }\r\n ]\r\n }\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{ keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{ keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n { name: \"ID\", friendlyName: \"ID\", type: \"string\" },\r\n { name: \"CompanyName\", friendlyName: \"Company name\", type: \"string\" },\r\n { name: \"Username\", friendlyName: \"Username\", type: \"string\" },\r\n { name: \"CompanyAddress\", friendlyName: \"Company address\", type: \"string\" },\r\n { name: \"CompanyCity\", friendlyName: \"Company city\", type: \"string\" },\r\n { name: \"CompanyZipCode\", friendlyName: \"Company ZIP code\", type: \"number\" },\r\n { name: \"TaxVatNumber\", friendlyName: \"TAX / VAT number\", type: \"string\" },\r\n { name: \"isInfiniteCredits\", friendlyName: \"Infinite credits\", type: \"boolean\" },\r\n { name: \"creditBalance\", friendlyName: \"Credit Balance\", type: \"number\" },\r\n { name: \"minBalance\", friendlyName: \"Minimum balance\", type: \"number\" },\r\n { name: \"isInfiniteCredits\", friendlyName: \"Has infinite balance\", type: \"boolean\" },\r\n { name: \"Flags:isVerified\", friendlyName: \"Is verified\", type: \"boolean\" }\r\n ]} />\r\n };\r\n })()}\r\n
\r\n};\r\n\r\nexport default AdminAdvertisers;","import React, { useState } from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport {getParamsFromURL} from \"../../../../modules/urlModule\";\r\nimport {useLocation, useNavigate} from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport {useSelector} from \"react-redux\";\r\n\r\nimport {FilteredCustomTable} from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomButton from \"../../../../components/customComponents/Button\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\n\r\nconst AdminDomains = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n\r\n let [addDomainVisible, setAddDomainVisible] = React.useState(false);\r\n let [addDomainError, setAddDomainError] = React.useState(\"\");\r\n let addDomainRef = React.useRef();\r\n\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n let curUser = useSelector(state => state.userData?.userData?.UserInfo?.ID);\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueDomain = () => {\r\n if (curPagination.current === -1) return;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/getInternalDomains`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({status: \"ok\", data: [...userData.data, ...res.data.data.DBData]});\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getDomains = () => {\r\n curPagination.current = 0;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/getInternalDomains`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({status: \"ok\", data: res.data.data.DBData});\r\n } else {\r\n setUserData({status: \"error\", data: \"There was an error while getting internal domains\"});\r\n };\r\n }).catch(() => {\r\n setUserData({status: \"error\", data: \"Server timed out!\"});\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const PaginationDomain = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try{observer.unobserve(tmpRef.current);} catch{};\r\n canPaginate && setTimeout(continueDomain, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try{observer.unobserve(tmpRef.current);} catch{};\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n const addDomain = (DomainName) => {\r\n setAddDomainError(\"\");\r\n if (!curUser) {\r\n setAddDomainError(\"Something happened... are you logged in?!\");\r\n return;\r\n }\r\n if (!DomainName) {\r\n setAddDomainError(\"Domain name can't be empty!\");\r\n return;\r\n };\r\n try {\r\n new URL(`http://${DomainName}`);\r\n } catch {\r\n setAddDomainError(\"Domain is not valid!\");\r\n return;\r\n };\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/addDomain`,\r\n data: {\r\n DomainName: `http://${DomainName}`,\r\n BoundUser: curUser,\r\n isInternal: true\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n setAddDomainVisible(false);\r\n getDomains();\r\n } else {\r\n setAddDomainError(\"There was an error while adding domain!\");\r\n };\r\n }).catch(() => {\r\n setAddDomainError(\"A server error occured while trying to add a domain!\");\r\n });\r\n };\r\n\r\n const DeleteDomain = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/deleteDomain`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete domain!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the internal domain

\r\n

It cant be used anymoe, this might cause issues for people who are using it to get links.

\r\n

Existing links will still work!

\r\n \r\n \r\n
\r\n };\r\n\r\n const EditDomain = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [oldData, setOldData] = React.useState({});\r\n\r\n let domainNameRef = React.useRef();\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url:`${backendModule.backendURL}/domains/getDomainByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n setSpinner(false);\r\n setOldData(res.data.data);\r\n while (!domainNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n domainNameRef.current.value = res.data.data.DomainName\r\n } else {\r\n setFinalData(\"Failed to get domain data!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = () => {\r\n let DomainName = domainNameRef.current.value;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/editDomain`,\r\n data: {\r\n ...oldData,\r\n DomainName: `http://${DomainName}`\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/domains/getDomainByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.status === \"error\") {\r\n setFinalData(\"There was an error while getting the new domain!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n setSpinner(false);\r\n });\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to edit domain!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [domainNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n\r\n React.useEffect(() => {\r\n getDomains();\r\n }, [filters]);\r\n \r\n React.useEffect(() => {\r\n if (!addFilterItem) return;\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n return
\r\n

NOTE: Domains added here will be available to ANYONE.

\r\n

Its more of a way to add some domains that can be used from the beginning.

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

Add a new domain

\r\n

Don't start the domain with HTTP://, that is automatically added.

\r\n \r\n addDomain(addDomainRef.current?.value)} />\r\n

{addDomainError}

\r\n
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Domain name\"]} data={(()=>{\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n {keyID: item.ID, type: \"text\", text:item.DomainName},\r\n {keyID: item.ID, type: \"groupNewline\", group: [\r\n {keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n setUserData({status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]});\r\n };\r\n }} />\r\n }},\r\n {keyID: item.ID, type: \"button\", text: \"Delete\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n setUserData({status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]});\r\n }} />\r\n }},\r\n ]}\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n {name: \"DomainName\", friendlyName: \"Domain name\", type: \"string\"},\r\n ]}/>\r\n };\r\n })()}\r\n
\r\n};\r\n\r\nexport default AdminDomains;","import ReactQuill from 'react-quill';\r\nimport 'react-quill/dist/quill.snow.css';\r\n\r\nimport React, { useState } from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport { getParamsFromURL } from \"../../../../modules/urlModule\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport { countries } from \"../../../../modules/countryModule\";\r\n\r\nimport { FilteredCustomTable } from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomButton from \"../../../../components/customComponents/Button\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport CustomDropBox from \"../../../../components/customComponents/DropBox\";\r\nimport CustomRadio from \"../../../../components/customComponents/Radio\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\nimport AddOffer from './AddOffer';\r\n\r\nconst AdminOffers = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n\r\n let [addOfferC, setAddOfferC] = React.useState(false);\r\n\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueOffer = () => {\r\n if (curPagination.current === -1) return;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/getAllOffers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({ status: \"ok\", data: [...userData.data, ...res.data.data.DBData], timestamp: Date.now() });\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getOffers = () => {\r\n curPagination.current = 0;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/getAllOffers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({ status: \"ok\", data: res.data.data.DBData, timestamp: Date.now() });\r\n } else {\r\n setUserData({ status: \"error\", data: \"There was an error while getting offers\" });\r\n };\r\n }).catch(() => {\r\n setUserData({ status: \"error\", data: \"Server timed out!\" });\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const PaginationOffer = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n canPaginate && setTimeout(continueOffer, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n const DeleteOffer = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/deleteOffer`,\r\n data: {\r\n ID: props.ID,\r\n BoundAdvertiser: props.user.BoundAdvertiser\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete offer!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the offer

\r\n

Any taken offers will be permanently deleted!

\r\n

Leads will stay

\r\n \r\n \r\n
\r\n };\r\n\r\n const EditOffer = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [oldData, setOldData] = React.useState({});\r\n let [advertiserData, setAdvertiserData] = React.useState(null);\r\n\r\n let [countryList, setCountryList] = React.useState([]);\r\n let [countryListVisible, setCountryListVisible] = React.useState(false);\r\n let curCountryList = CustomDropBox();\r\n let [offerActive, setOfferActive] = React.useState(false);\r\n\r\n let [oldImage, setOldImage] = React.useState(null);\r\n let [curImage, setCurImage] = React.useState(null);\r\n\r\n let [offerDescription, setOfferDescription] = React.useState(\"\");\r\n\r\n let offerNameRef = React.useRef();\r\n let offerProductBrandRef = React.useRef();\r\n let offerProductNameRef = React.useRef();\r\n let offerPayoutRef = React.useRef();\r\n let platformTaxRef = React.useRef();\r\n let offerLimitRef = React.useRef();\r\n let offerProductPriceRef = React.useRef();\r\n let refferalPayoutRef = React.useRef();\r\n let offerType = CustomDropBox();\r\n let selectedCRM = CustomDropBox();\r\n let crmIDRef = React.useRef();\r\n let finalCalculationsRef = React.useRef();\r\n\r\n const modules = {\r\n toolbar: [\r\n [{ 'header': [1, 2, false] }],\r\n ['bold', 'italic', 'underline', 'strike', 'blockquote'],\r\n [{ 'list': 'ordered' }, { 'list': 'bullet' }, { 'indent': '-1' }, { 'indent': '+1' }],\r\n ['link', 'image'],\r\n ['clean']\r\n ],\r\n };\r\n\r\n const formats = [\r\n 'header',\r\n 'bold', 'italic', 'underline', 'strike', 'blockquote',\r\n 'list', 'bullet', 'indent',\r\n 'link', 'image'\r\n ];\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/getOfferByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: res.data.data.BoundAdvertiser\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res2 => {\r\n if (res2.data.status === \"ok\") {\r\n setOldData(res.data.data);\r\n setAdvertiserData(res2.data.data);\r\n setCountryList(res.data.data.OfferCountry.split(\"~\").filter(tmp => tmp));\r\n setOfferActive(res.data.data.OfferActive);\r\n setOldImage(res.data.data.OfferImages);\r\n setCurImage(res.data.data.OfferImages);\r\n setOfferDescription(res.data.data.OfferDescription);\r\n setSpinner(false);\r\n while (!offerNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n\r\n offerNameRef.current.value = res.data.data.OfferName;\r\n offerProductNameRef.current.value = res.data.data.OfferProductName;\r\n offerPayoutRef.current.value = res.data.data.OfferPayout;\r\n platformTaxRef.current.value = res.data.data.PlatformTax;\r\n offerLimitRef.current.value = res.data.data.OfferLimit;\r\n offerProductPriceRef.current.value = res.data.data.OfferProductPrice;\r\n offerProductBrandRef.current.value = res.data.data.OfferProductBrand;\r\n refferalPayoutRef.current.value = res.data.data.ReferralPayout ?? 0;\r\n crmIDRef.current.value = res.data.data.CRMID;\r\n performFinalCalculations();\r\n } else {\r\n setFinalData(\"Failed to get advertiser data!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n })\r\n } else {\r\n setFinalData(\"Failed to get offer data!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = async () => {\r\n let OfferName = offerNameRef.current.value;\r\n let OfferProductName = offerProductNameRef.current.value;\r\n let OfferPayout = offerPayoutRef.current.value;\r\n let PlatformTax = platformTaxRef.current.value;\r\n let OfferLimit = offerLimitRef.current.value;\r\n let OfferProductPrice = offerProductPriceRef.current.value;\r\n let OfferImages = \"\";\r\n let OfferType = offerType.getSelectedItem().value;\r\n let SelectedCRM = selectedCRM.getSelectedItem().value;\r\n let OfferProductBrand = offerProductBrandRef.current.value;\r\n let ReferralPayout = refferalPayoutRef.current.value;\r\n let CRMID = crmIDRef.current.value;\r\n\r\n setSpinner(true);\r\n\r\n if (oldImage !== curImage) {\r\n if (curImage instanceof File) {\r\n let fd = new FormData();\r\n fd.append(\"image\", curImage);\r\n fd.append(\"ImageName\", OfferName);\r\n fd.append(\"tag\", \"Offer\")\r\n try {\r\n let finalImage = await axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/images/uploadImage`,\r\n data: fd,\r\n ...backendModule.axiosConfig\r\n });\r\n if (finalImage.data.status === \"error\") {\r\n setFinalData(\"Error while uploading image\");\r\n setSpinner(false);\r\n return;\r\n } else {\r\n OfferImages = finalImage.data.data;\r\n let toDelete = oldImage.split(\"/\");\r\n try {\r\n let deletedFile = await axios({\r\n method: \"POST\",\r\n url: `${backendModule}/images/deleteImageByFilename`,\r\n data: {\r\n FileName: toDelete[toDelete.length - 1]\r\n },\r\n ...backendModule.axiosConfig\r\n });\r\n } catch { };\r\n };\r\n } catch {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n return;\r\n };\r\n };\r\n } else {\r\n OfferImages = oldImage;\r\n };\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/editOffer`,\r\n data: {\r\n ...oldData,\r\n OfferCountry: countryList,\r\n OfferName,\r\n OfferImages,\r\n OfferDescription: offerDescription,\r\n OfferPayout: Number(OfferPayout),\r\n OfferType,\r\n OfferActive: offerActive,\r\n PlatformTax,\r\n SelectedCRM,\r\n OfferLimit,\r\n OfferProductPrice,\r\n OfferProductName,\r\n OfferProductBrand,\r\n ReferralPayout: Number(ReferralPayout) > 0 ? Number(ReferralPayout) : 0,\r\n CRMID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/getOfferByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.status === \"error\") {\r\n setFinalData(\"There was an error while getting the new offer!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n final.data.data.OfferCountry = final.data.data.OfferCountry.split(\"~\").filter(tmp => tmp);\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n setSpinner(false);\r\n });\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to edit offer!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n const performFinalCalculations = () => {\r\n if (!finalCalculationsRef?.current) return;\r\n if (!offerPayoutRef?.current) return;\r\n if (!platformTaxRef?.current) return;\r\n \r\n let tax = Number(platformTaxRef.current.value);\r\n let payout = Number(offerPayoutRef.current.value);\r\n \r\n if (isNaN(tax) || isNaN(payout)) return;\r\n \r\n let platformTakes = payout * (tax / 100);\r\n let publisherGets = payout - platformTakes;\r\n \r\n finalCalculationsRef.current.innerHTML = `\r\n

Advertiser pays: ${Number(payout).toFixed(2)} $

\r\n

Platform takes: ${Number(platformTakes).toFixed(2)} $

\r\n

Publisher gets: ${Number(publisherGets).toFixed(2)} $

\r\n `;\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [offerNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n
\r\n

Countries

\r\n {countryList.map(cItem =>
{\r\n setCountryList(countryList.filter(cItem2 => cItem2 !== cItem));\r\n }}>\r\n \r\n \r\n
)}\r\n {countryListVisible && {\r\n return { name: item.name, value: item.code }\r\n })} onChange={() => {\r\n setCountryList([...countryList, curCountryList.getSelectedItem().value]);\r\n setCountryListVisible(false);\r\n }} />}\r\n {
setCountryListVisible(!countryListVisible)} className=\"route__adminOffers__addUser__addCountries__pill\">\r\n {countryListVisible ? \"Close\" : \"Add\"}\r\n
}\r\n
\r\n
\r\n

Selected CRM

\r\n {advertiserData && {\r\n let info = JSON.parse(advertiserData.CRMInfo);\r\n let curIndex = -1;\r\n info.forEach((eC, eI) => {\r\n if (eC.ID === oldData.SelectedCRM) curIndex = eI;\r\n });\r\n if (curIndex !== -1) return curIndex;\r\n })()} data={JSON.parse(advertiserData.CRMInfo).map(crm => {\r\n return {\r\n name: crm.friendlyName,\r\n value: crm.ID\r\n }\r\n })} />}\r\n
\r\n
\r\n

Offer type

\r\n {\r\n switch (oldData.OfferType) {\r\n case \"CPL\": return 0;\r\n case \"CPA\": return 1;\r\n };\r\n })()} data={[\r\n { name: \"Cost per lead (CPL)\", value: \"CPL\" },\r\n { name: \"Cost per action (CPA)\", value: \"CPA\" }\r\n ]} />\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Offer active: Active

} valueno={

Inactive

} functionYes={() => setOfferActive(true)} functionNo={() => setOfferActive(false)} />\r\n
\r\n
{\r\n eClick?.target?.querySelector(\"input[type=file]\")?.click();\r\n }}>\r\n \r\n
\r\n

Press to change image

\r\n {\r\n let fr = new FileReader();\r\n fr.onload = eR => {\r\n eFile.target.parentNode.parentNode.querySelector(\"img\").src = eR.target.result;\r\n };\r\n fr.readAsDataURL(eFile.target.files[0]);\r\n setCurImage(eFile.target.files[0]);\r\n }} type=\"file\" accept=\"image/*\" style={{ display: \"none\" }} />\r\n
\r\n
\r\n\r\n
\r\n

Final calculations:

\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n \r\n\r\n React.useEffect(() => {\r\n getOffers();\r\n }, [filters]);\r\n\r\n React.useEffect(() => {\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (!addFilterItem) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n return
\r\n \r\n\r\n
\r\n {\r\n setAddOfferC(false);\r\n getOffers();\r\n }} />\r\n
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Name\", \"Product\", \"Type\"]} data={(() => {\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n { keyID: item.ID, type: \"text\", text: item.OfferName },\r\n {\r\n keyID: item.ID, type: \"group\", group: [\r\n { type: \"text\", text: item.OfferProductBrand },\r\n { type: \"text\", text: item.OfferProductName }\r\n ]\r\n },\r\n { keyID: item.ID, type: \"text\", text: item.OfferType },\r\n\r\n {\r\n keyID: item.ID, type: \"groupNewline\", group: [\r\n {\r\n keyID: item.ID, type: 'button', text: 'More info', triggerDropdown: true, triggerData: c => {\r\n return
\r\n

Offer ID:
{item.ID}

\r\n

Platform tax:
{item.PlatformTax} %

\r\n

Countries:
\r\n {item.OfferCountry.map(elem => {\r\n return   {decodeURI(elem.replace(/\"/g, \"\"))}\r\n })}\r\n

\r\n

Active:
{item.OfferActive ? Yes : No}

\r\n

Limit:
{item.OfferLimit}

\r\n

Coversion ration:
{item.OfferMonthlyConversionRatio === -1 ? \"?\" : item.OfferMonthlyConversionRatio}

\r\n

Payout:
{item.OfferPayout} $

\r\n

Product price:
{item.OfferProductPrice}

\r\n

Referral payout:
{item.ReferralPayout} $

\r\n
\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n };\r\n }} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Delete\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n },\r\n ]\r\n }\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{ keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{ keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n { name: \"ID\", friendlyName: \"ID\", type: \"string\" },\r\n { name: \"BoundAdvertiser\", friendlyName: \"Advertiser ID\", type: \"string\" },\r\n { name: \"OfferName\", friendlyName: \"Offer name\", type: \"string\" },\r\n { name: \"OfferProductName\", friendlyName: \"Product name\", type: \"string\" },\r\n { name: \"OfferProductBrand\", friendlyName: \"Product brand\", type: \"string\" },\r\n {\r\n name: \"OfferCountry\", friendlyName: \"Country\", type: \"custom\", varType: \"string\", data: countries.map(cItem => {\r\n return { text: cItem.name, value: cItem.code };\r\n })\r\n },\r\n {\r\n name: \"OfferType\", friendlyName: \"Offer type\", type: \"custom\", varType: \"string\", data: [\r\n { text: \"Cost per action (CPA)\", value: \"CPA\" },\r\n { text: \"Cost per lead (CPL)\", value: \"CPL\" }\r\n ]\r\n },\r\n { name: \"OfferPayout\", friendlyName: \"Offer payout ($)\", type: \"number\" },\r\n { name: \"OfferLimit\", friendlyName: \"Offer lead limit\", type: \"number\" },\r\n { name: \"OfferProductPrice\", friendlyName: \"Product price\", type: \"string\" },\r\n { name: \"OfferMonthlyConversionRatio\", friendlyName: \"Offer conversions (%)\", type: \"number\" },\r\n { name: \"OfferActive\", friendlyName: \"Offer active\", type: \"boolean\" },\r\n { name: \"PlatformTax\", friendlyName: \"Platform tax (%)\", type: \"number\" }\r\n ]} />\r\n };\r\n })()}\r\n
\r\n};\r\n\r\nexport default AdminOffers;","import React from \"react\";\r\n\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport {countries} from \"../../../../modules/countryModule\";\r\nimport ReactQuill from \"react-quill\";\r\n\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport CustomDropbox from \"../../../../components/customComponents/DropBox\";\r\nimport CustomRadio from \"../../../../components/customComponents/Radio\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\nimport CustomButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\n\r\nconst AddOffer = (props) => {\r\n const [advertiserData, setAdvertiserData] = React.useState(null);\r\n const [selectedAdvertiser, setSelectedAdvertiser] = React.useState(null);\r\n const [selectedCRM, setSelectedCRM] = React.useState(null);\r\n\r\n const [offerCountries, setOfferCountries] = React.useState([]);\r\n const [offerCountriesVisible, setOfferCountriesVisible] = React.useState(false);\r\n\r\n const [offerActive, setOfferActive] = React.useState(true);\r\n const [curImage, setCurImage] = React.useState(null);\r\n const [offerDescription, setOfferDescription] = React.useState(null);\r\n\r\n const [infoP, setInfoP] = React.useState(null);\r\n const [spinner, setSpinner] = React.useState(false);\r\n\r\n const offerNameRef = React.useRef();\r\n const offerProductBrandRef = React.useRef();\r\n const offerProductNameRef = React.useRef();\r\n const offerPayoutRef = React.useRef();\r\n const platformTaxRef = React.useRef();\r\n const offerLimitRef = React.useRef();\r\n const offerProductPriceRef = React.useRef();\r\n const refferalPayoutRef = React.useRef();\r\n const crmIDRef = React.useRef();\r\n const finalCalculationsRef = React.useRef();\r\n\r\n const modules = {\r\n toolbar: [\r\n [{ 'header': [1, 2, false] }],\r\n ['bold', 'italic', 'underline','strike', 'blockquote'],\r\n [{'list': 'ordered'}, {'list': 'bullet'}, {'indent': '-1'}, {'indent': '+1'}],\r\n ['link', 'image'],\r\n ['clean']\r\n ],\r\n };\r\n \r\n const formats = [\r\n 'header',\r\n 'bold', 'italic', 'underline', 'strike', 'blockquote',\r\n 'list', 'bullet', 'indent',\r\n 'link', 'image'\r\n ];\r\n\r\n let boundAdvertiser = CustomDropbox();\r\n let boundCRM = CustomDropbox();\r\n let offerCountryList = CustomDropbox();\r\n let offerType = CustomDropbox();\r\n\r\n const performFinalCalculations = () => {\r\n if (!finalCalculationsRef?.current) return;\r\n if (!offerPayoutRef?.current) return;\r\n if (!platformTaxRef?.current) return;\r\n\r\n let tax = Number(platformTaxRef.current.value);\r\n let payout = Number(offerPayoutRef.current.value);\r\n\r\n if (isNaN(tax) || isNaN(payout)) return;\r\n\r\n let platformTakes = payout * (tax / 100);\r\n let publisherGets = payout - platformTakes;\r\n\r\n finalCalculationsRef.current.innerHTML = `\r\n

Advertiser pays: ${Number(payout).toFixed(2)} $

\r\n

Platform takes: ${Number(platformTakes).toFixed(2)} $

\r\n

Publisher gets: ${Number(publisherGets).toFixed(2)} $

\r\n `;\r\n };\r\n\r\n React.useEffect(() => {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAllAdvertisersWithCRM`,\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n setAdvertiserData(res.data);\r\n } else {\r\n setAdvertiserData({status: \"error\", data: \"Cant get advertisers\"});\r\n };\r\n }).catch(() => {\r\n setAdvertiserData({status: \"error\", data: \"Cannot connect to server\"});\r\n });\r\n }, []);\r\n\r\n const verifyAndSendData = async () => {\r\n setInfoP(null);\r\n let BoundAdvertiser = selectedAdvertiser;\r\n let SelectedCRM = selectedCRM;\r\n let OfferCountry = offerCountries; \r\n let OfferName = offerNameRef.current.value;\r\n let OfferProductName = offerProductNameRef.current.value;\r\n let OfferType = offerType.getSelectedItem()?.value;\r\n let OfferPayout = offerPayoutRef.current.value;\r\n let PlatformTax = platformTaxRef.current.value;\r\n let OfferLimit = offerLimitRef.current.value;\r\n let OfferProductPrice = offerProductPriceRef.current.value;\r\n let OfferActive = offerActive;\r\n let OfferImages = curImage;\r\n let OfferDescription = offerDescription;\r\n let OfferProductBrand = offerProductBrandRef.current.value;\r\n let ReferralPayout = refferalPayoutRef.current.value;\r\n let CRMID = crmIDRef.current.value;\r\n\r\n if (!BoundAdvertiser) return setInfoP(\"Advertiser not selected\");\r\n if (!SelectedCRM) return setInfoP(\"CRM for advertiser not selected\");\r\n if (OfferCountry.length === 0) return setInfoP(\"No countries selected\");\r\n if (!OfferName) return setInfoP(\"Offer name missing\");\r\n if (!OfferProductBrand) return setInfoP(\"Product brand missing\");\r\n if (!OfferProductName) return setInfoP(\"Product name missing\");\r\n if (OfferType !== \"CPA\" && OfferType !== \"CPL\") return setInfoP(\"Offer type not selected\");\r\n if (isNaN(Number(OfferPayout))) return setInfoP(\"Offer payout invalid\");\r\n if (isNaN(Number(PlatformTax))) return setInfoP(\"Platform tax invalid\");\r\n if (isNaN(Number(OfferLimit))) return setInfoP(\"Offer limit invalid\");\r\n if (isNaN(Number(ReferralPayout))) return setInfoP(\"Refferal payout must be a number (0.00)\");\r\n if (OfferProductPrice.split(\" \").length !== 2) return setInfoP(\"Product price invalid, it should look like this: 50,00 KM or 20,00 EUR...etc\");\r\n if (!OfferImages) return setInfoP(\"Image missing\");\r\n if (!OfferDescription) return setInfoP(\"Offer description can't be empty!\");\r\n\r\n setSpinner(true);\r\n\r\n // upload image\r\n let fd = new FormData();\r\n fd.append(\"image\", OfferImages);\r\n fd.append(\"ImageName\", OfferName);\r\n fd.append(\"tag\", \"Offer\");\r\n try {\r\n let finalImage = await axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/images/uploadImage`,\r\n data: fd,\r\n ...backendModule.axiosConfig\r\n });\r\n if (finalImage.data.status === \"error\") {\r\n setInfoP(\"Failed to upload image!\");\r\n return setSpinner(false);\r\n } else {\r\n OfferImages = finalImage.data.data;\r\n }\r\n } catch {\r\n setInfoP(\"Server timed out while uploading image!\");\r\n return setSpinner(false);\r\n };\r\n\r\n // Add offer\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/offers/addOffer`,\r\n data: {\r\n BoundAdvertiser,\r\n SelectedCRM,\r\n OfferCountry,\r\n OfferName,\r\n OfferProductName,\r\n OfferType,\r\n OfferPayout,\r\n PlatformTax,\r\n OfferLimit,\r\n OfferProductPrice,\r\n OfferActive,\r\n OfferImages,\r\n OfferDescription,\r\n OfferProductBrand,\r\n ReferralPayout,\r\n CRMID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n } else {\r\n setInfoP(\"An error occured while adding offer\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setInfoP(\"Server timed out!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n return
\r\n {spinner &&
\r\n \r\n
}\r\n {(() => {\r\n if (!advertiserData) return \r\n if (advertiserData.status === \"error\") return

{advertiserData.data}

\r\n if (advertiserData.status === \"ok\") return <>\r\n
\r\n Advertiser\r\n {\r\n return {name: elem.Username, value: elem.ID};\r\n })} onChange={() => setSelectedAdvertiser(boundAdvertiser.getSelectedItem().value)} />\r\n
\r\n {selectedAdvertiser && <>\r\n
\r\n CRM\r\n item.ID === selectedAdvertiser).CRMInfo).map(elem =>{\r\n return {name: elem.friendlyName, value: elem.ID};\r\n })} onChange={() => setSelectedCRM(boundCRM.getSelectedItem().value)} />\r\n
\r\n }\r\n {selectedCRM && <>\r\n
\r\n {offerCountries.map(cItem => {\r\n return
{\r\n setOfferCountries(offerCountries.filter(item => item !== cItem));\r\n }}>\r\n \r\n \r\n
\r\n })}\r\n {offerCountriesVisible && {\r\n return {name: elem.name, value: elem.code};\r\n })} onChange={() => {\r\n setOfferCountries([...offerCountries, offerCountryList.getSelectedItem().value]);\r\n setOfferCountriesVisible(false);\r\n }} />}\r\n {!offerCountriesVisible &&
setOfferCountriesVisible(!offerCountriesVisible)}>\r\n Add country\r\n
}\r\n
\r\n \r\n \r\n \r\n
\r\n Offer Type\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n Offer active\r\n Yes

}\r\n valueno={

No

}\r\n functionYes={() => setOfferActive(true)}\r\n functionNo={() => setOfferActive(false)}\r\n />\r\n
\r\n
eDiv?.target?.querySelector(\"input[type=file]\")?.click()} className=\"route__adminOffers__addOffer__image\">\r\n \r\n {!curImage ?
\r\n Click to add image\r\n
:
\r\n Click to change image\r\n
}\r\n {\r\n let fr = new FileReader();\r\n fr.onload = eData => {\r\n eFile.target.parentNode.querySelector(\"img\").src = eData.target.result;\r\n };\r\n fr.readAsDataURL(eFile.target.files[0]);\r\n setCurImage(eFile.target.files[0]);\r\n }} />\r\n
\r\n\r\n
\r\n

Final calculations:

\r\n
\r\n\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n \r\n props.setActive(false)} style={{marginLeft: \"5px\"}} value=\"Cancel\" />\r\n
\r\n
\r\n {infoP &&

{infoP}

}\r\n
\r\n }\r\n \r\n })()}\r\n
\r\n};\r\n\r\nexport default AddOffer","import React, { useState } from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport { getParamsFromURL } from \"../../../../modules/urlModule\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport Radio from \"../../../../components/customComponents/Radio\";\r\n\r\nimport { FilteredCustomTable } from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\n\r\n\r\nconst DashboardAdvertiserManager = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueAdvertisers = () => {\r\n if (curPagination.current === -1) return;\r\n setCanPaginate(false);\r\n setLoadingSpinner(true);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAllAdvertisers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({ status: \"ok\", data: [...userData.data, ...res.data.data.DBData] });\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getAdvertisers = () => {\r\n curPagination.current = 0;\r\n setCanPaginate(false);\r\n setLoadingSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAllAdvertisers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({ status: \"ok\", data: res.data.data.DBData });\r\n\r\n } else {\r\n setUserData({ status: \"error\", data: \"There was an error while getting advertisers\" });\r\n };\r\n }).catch(() => {\r\n setUserData({ status: \"error\", data: \"Server timed out!\" });\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n const DisplayAdvertiserInfo = (props) => {\r\n const [moreInfo, setMoreInfo]=React.useState()\r\n const getMoreInfo=()=>{\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/leads/getLeadsForAdvertiserDashboard`,\r\n data: {\r\n BoundAdvertiser: props.user.ID\r\n },\r\n\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if(res.data.status==='ok'){\r\n setMoreInfo(res.data.data)\r\n }\r\n })\r\n }\r\n React.useEffect(()=>{\r\n getMoreInfo()\r\n }, [])\r\n return
\r\n

AdvertiserID: {props.user.ID}

\r\n

Company name: {props.user.CompanyName}

\r\n

Credit balance: {props.user.isInfiniteCredits ? Infinite : `${props.user.creditBalance} $`}

\r\n

Minimum allowed balance: {props.user.minBalance} $

\r\n

Company address: {props.user.CompanyAddress}

\r\n

Company City: {props.user.CompanyCity}

\r\n

Company ZIP: {props.user.CompanyZipCode}

\r\n

Tax / VAT number: {props.user.TaxVatNumber}

\r\n

Has infinite credits: {props.user.isInfiniteCredits ? Yes : No}

\r\n

Total number of leads: {moreInfo?.totalLeadCount}

\r\n

Total number of converted Leads: {moreInfo?.totalConvertedLeadsCount}

\r\n

Total spent: {moreInfo?.totalEarned}

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

Flags:


{(() => {\r\n return Object.keys(props.user.Flags).map(elem => {\r\n return <>\r\n {elem}: {(() => {\r\n if (props.user.Flags[elem] === true || props.user.Flags[elem] === false) {\r\n return props.user.Flags[elem] ? \"Yes\" : \"No\"\r\n } else return props.user.Flags[elem];\r\n })()}\r\n
\r\n });\r\n })()}

\r\n
\r\n };\r\n\r\n const PaginationAdvertiser = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n canPaginate && setTimeout(continueAdvertisers, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n const VerifyAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/verifyAdvertiser`,\r\n data: {\r\n ID: props.ID,\r\n verifyStatus: true\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to verify advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will verify the advertiser

\r\n

Are you sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const DeleteAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/deleteAdvertiser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete advertiser!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the advertiser and ALL OF HIS DATA

\r\n

(Advertiser offers, taken offers from other users, CRMs...etc)

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const SetCreditBalance = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [countAsRef, setCountAsRef] = React.useState(true);\r\n let [balanceType, setBalanceType] = React.useState(props.user.isInfiniteCredits);\r\n let newBalanceRef = React.useRef();\r\n\r\n const performVerify = () => {\r\n let calculatedBalance = 0;\r\n if (!props.user.ID) return;\r\n if (!balanceType) {\r\n if (isNaN(Number(newBalanceRef.current?.value))) {\r\n setFinalData(\"New credit balance must be a number\");\r\n setSpinner(false);\r\n return;\r\n } else {\r\n calculatedBalance = Number(newBalanceRef.current.value);\r\n };\r\n };\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.user.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/${(res.data.data.isInfiniteCredits || balanceType) ? \"setCreditBalance\" : \"setCreditBalanceDynamic\"}`,\r\n data: {\r\n advertiserID: res.data.data.ID,\r\n balance: balanceType ? \"infinite\" : calculatedBalance,\r\n countAsReferral: countAsRef\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.data.status === \"ok\") {\r\n props.c().then(() => {\r\n let finalUser = props.user;\r\n if (balanceType) {\r\n finalUser.creditBalance = 0;\r\n finalUser.isInfiniteCredits = true;\r\n } else {\r\n finalUser.creditBalance = Number(res.data.data.creditBalance) + calculatedBalance;\r\n finalUser.isInfiniteCredits = false;\r\n };\r\n setSpinner(false);\r\n if (props.onUpdate) props.onUpdate(finalUser ? finalUser : null);\r\n })\r\n } else {\r\n setFinalData(\"Failed to set new balance!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to find advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch((e) => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user ? props.user : null);\r\n });;\r\n }} />\r\n
\r\n }\r\n return
\r\n

Enter the amount of credits to add or remove

\r\n

for instance -200 to remove 200 credits from advertiser...etc

\r\n

Or set the balance as infinite

\r\n

NOTE: Setting the balance as infinite will internally reset the balance to 0 !!!!!

\r\n
\r\n Infinite

} valueno={

Not infinite

} functionYes={() => setBalanceType(true)} functionNo={() => setBalanceType(false)} />\r\n Count as referral

} valueno={

DO NOT count as referral

} functionYes={() => setCountAsRef(true)} functionNo={() => setCountAsRef(false)} />\r\n {!balanceType && <>\r\n \r\n }\r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n const EditAdvertiser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n let companyNameRef = React.useRef();\r\n let companyAddressRef = React.useRef();\r\n let companyCityRef = React.useRef();\r\n let companyZipCodeRef = React.useRef();\r\n let TaxVatNumberRef = React.useRef();\r\n let minBalanceRef = React.useRef();\r\n let creditBalanceRef = React.useRef();\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n setSpinner(false);\r\n while (!companyNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n companyNameRef.current.value = res.data.data.CompanyName;\r\n companyAddressRef.current.value = res.data.data.CompanyAddress;\r\n companyCityRef.current.value = res.data.data.CompanyCity;\r\n companyZipCodeRef.current.value = res.data.data.CompanyZipCode;\r\n TaxVatNumberRef.current.value = res.data.data.TaxVatNumber;\r\n minBalanceRef.current.value = res.data.data.minBalance;\r\n creditBalanceRef.current.value = res.data.data.creditBalance;\r\n } else {\r\n setFinalData(\"Failed to get user data!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = () => {\r\n let CompanyName = companyNameRef.current.value;\r\n let CompanyAddress = companyAddressRef.current.value;\r\n let CompanyCity = companyCityRef.current.value;\r\n let CompanyZipCode = companyZipCodeRef.current.value;\r\n let TaxVatNumber = TaxVatNumberRef.current.value;\r\n let minBalance = minBalanceRef.current.value;\r\n let creditBalance = creditBalanceRef.current.value;\r\n\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/editAdvertiser`,\r\n data: {\r\n ID: props.ID,\r\n CompanyName: CompanyName ? CompanyName : null,\r\n CompanyAddress: CompanyAddress ? CompanyAddress : null,\r\n CompanyCity: CompanyCity ? CompanyCity : null,\r\n CompanyZipCode: CompanyZipCode ? Number(CompanyZipCode) : null,\r\n TaxVatNumber: TaxVatNumber ? TaxVatNumber : null,\r\n minBalance: minBalance ? Number(minBalance) : null,\r\n creditBalance: creditBalance ? Number(creditBalance) : null\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/partners/getAdvertiserByID`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.status === \"error\") {\r\n setFinalData(\"There was an error while getting the new advertiser!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n setSpinner(false);\r\n });\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to edit advertiser!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [companyNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n\r\n\r\n React.useEffect(() => {\r\n getAdvertisers();\r\n }, [filters]);\r\n\r\n React.useEffect(() => {\r\n if (!addFilterItem) return;\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n return
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Company name\", \"Username\", \"Verified\"]} data={(() => {\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n { keyID: item.ID, type: \"text\", text: item.CompanyName },\r\n { keyID: item.ID, type: \"text\", text: item.Username },\r\n {\r\n keyID: item.ID, type: \"group\", group: [\r\n {\r\n keyID: item.ID, type: \"text\", text: (() => {\r\n let final = [];\r\n final.push(

{item.Flags.isVerified ? \"Yes\" : \"No\"}

);\r\n return final;\r\n })()\r\n },\r\n ]\r\n },\r\n {\r\n keyID: item.ID, type: \"groupNewline\", group: [\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n usr.Flags = JSON.parse(usr.Flags);\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n };\r\n }} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Add balance\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (!usr) return;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n })} />\r\n }\r\n },\r\n {\r\n keyID: item.ID, type: \"button\", text: \"More info\", triggerDropdown: true, triggerData: () => {\r\n return \r\n }\r\n },\r\n { keyID: item.ID, type: \"button\", text: \"Go to user account\", onClick: () => animateNavigate(`/dashboard/admin-users?Username=${encodeURI(item.Username)}`) },\r\n (item.Flags.isVerified) ? null : {\r\n keyID: item.ID, type: \"button\", text: \"Verify advertiser\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n item.Flags.isVerified = true;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n item,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n }\r\n ]\r\n }\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{ keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{ keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n { name: \"CompanyName\", friendlyName: \"Company name\", type: \"string\" },\r\n { name: \"Username\", friendlyName: \"Username\", type: \"string\" },\r\n { name: \"CompanyAddress\", friendlyName: \"Company address\", type: \"string\" },\r\n { name: \"CompanyCity\", friendlyName: \"Company city\", type: \"string\" },\r\n { name: \"CompanyZipCode\", friendlyName: \"Company ZIP code\", type: \"number\" },\r\n { name: \"TaxVatNumber\", friendlyName: \"TAX / VAT number\", type: \"string\" },\r\n { name: \"isInfiniteCredits\", friendlyName: \"Infinite credits\", type: \"boolean\" },\r\n { name: \"creditBalance\", friendlyName: \"Credit Balance\", type: \"number\" },\r\n { name: \"minBalance\", friendlyName: \"Minimum balance\", type: \"number\" },\r\n { name: \"isInfiniteCredits\", friendlyName: \"Has infinite balance\", type: \"boolean\" },\r\n { name: \"Flags:isVerified\", friendlyName: \"Is verified\", type: \"boolean\" }\r\n ]} />\r\n };\r\n })()}\r\n
\r\n};\r\n\r\n\r\nexport default DashboardAdvertiserManager;","import React from \"react\";\r\nimport \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport moment from \"moment\";\r\nimport * as backendModule from \"../../../../modules/backendModule\";\r\nimport { countries } from \"../../../../modules/countryModule\";\r\nimport { getParamsFromURL } from \"../../../../modules/urlModule\";\r\nimport { useLocation, useNavigate } from \"react-router-dom\";\r\nimport AnimateModule from \"../../../../modules/animateModule\";\r\nimport { useSelector } from \"react-redux\";\r\n\r\nimport { FilteredCustomTable } from \"../../../../components/customComponents/Table\";\r\nimport ButtonSmall from \"../../../../components/customComponents/ButtonSmall\";\r\nimport CustomInput from \"../../../../components/customComponents/CustomInput\";\r\nimport CustomDropbox from \"../../../../components/customComponents/DropBox\";\r\nimport CustomRadio from \"../../../../components/customComponents/Radio\";\r\nimport Spinner from \"../../../../components/customComponents/Spinner\";\r\n\r\nconst PublisherManager = () => {\r\n let [userData, setUserData] = React.useState(null);\r\n let [loadingSpinner, setLoadingSpinner] = React.useState(false);\r\n let [filters, updateFilters] = React.useState([]);\r\n let [firstTime, setFirstTime] = React.useState(true);\r\n let [canPaginate, setCanPaginate] = React.useState(false);\r\n let [addFilterItem, setAddFilterItem] = React.useState(null);\r\n let location = useLocation();\r\n let navigate = useNavigate();\r\n\r\n let isAdmin = useSelector(state => state?.userData?.userData?.UserInfo?.Flags?.isAdmin);\r\n\r\n let curPagination = React.useRef();\r\n\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n\r\n const continueUsers = () => {\r\n if (curPagination.current === -1) return;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getAllUsers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n };\r\n setUserData({ status: \"ok\", data: [...userData.data, ...res.data.data.DBData] });\r\n } else {\r\n curPagination.current = -1;\r\n };\r\n }).catch(() => {\r\n curPagination.current = -1;\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const getUsers = () => {\r\n curPagination.current = 0;\r\n setLoadingSpinner(true);\r\n setCanPaginate(false);\r\n\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getAllUsers`,\r\n data: {\r\n paginationOffset: curPagination.current,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n if (res.data.data.DBData.length === 0) {\r\n curPagination.current = -1;\r\n } else {\r\n curPagination.current += res.data.data.DBData.length;\r\n if (curPagination.current < 20) curPagination.current = -1;\r\n };\r\n setUserData({ status: \"ok\", data: res.data.data.DBData });\r\n } else {\r\n setUserData({ status: \"error\", data: \"There was an error while getting users\" });\r\n };\r\n }).catch(() => {\r\n setUserData({ status: \"error\", data: \"Server timed out!\" });\r\n }).finally(() => {\r\n setLoadingSpinner(false);\r\n setCanPaginate(true);\r\n });\r\n };\r\n\r\n const DisplayUserInfo = (props) => {\r\n let [aInfo, setAInfo] = React.useState(null);\r\n\r\n React.useEffect(() => {\r\n if (!props.user.AssignedManagerID) {\r\n setAInfo(\"No manager assigned\");\r\n } else {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.user.AssignedManagerID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"error\") {\r\n setAInfo(\"Assigned manager not found\");\r\n } else {\r\n setAInfo(`${res.data.data.FirstName} ${res.data.data.LastName}`);\r\n }\r\n }).catch(() => {\r\n setAInfo(\"Can't fetch assigned manager\");\r\n });\r\n };\r\n }, []);\r\n const [moreInfo, setMoreInfo] = React.useState()\r\n const getMoreInfo = () => {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/leads/getLeadsForPublisherDashboard`,\r\n data: {\r\n BoundUser: props.user.ID,\r\n Filters: filters\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === 'ok') {\r\n setMoreInfo(res.data.data)\r\n }\r\n })\r\n }\r\n React.useEffect(() => {\r\n getMoreInfo()\r\n }, [])\r\n let lastLocation = JSON.parse(props.user.LastKnownLocation);\r\n return
\r\n

UserID: {props.user.ID}

\r\n

Username: {props.user.Username}

\r\n

Email: {props.user.Email}

\r\n

First name: {props.user.FirstName}

\r\n

Last name: {props.user.LastName}

\r\n

Country: {props.user.Country}

\r\n

ZIP: {props.user.ZIP}

\r\n

Experience: {props.user.Experience} years

\r\n

Payment method: {props.user.PaymentMethod}

\r\n

Contact Whatsapp: {props.user.ContactWhatsapp}

\r\n

Contact Skype: {props.user.ContactSkype}

\r\n

Contact Telegram: {props.user.ContactTelegram}

\r\n

Assigned manager: {(() => {\r\n if (!aInfo) return \r\n if (aInfo) return {aInfo}\r\n })()}

\r\n

\r\n Last known location: \r\n City: {lastLocation.city}, Country: {countries.find(item => item.code === lastLocation.country)?.name ?? \"?\"}\r\n

\r\n
\r\n

Created at: {new Date(props.user.createdAt).toLocaleString()}

\r\n
\r\n

Flags:


{(() => {\r\n return Object.keys(props.user.Flags).map(elem => {\r\n if (typeof props.user.Flags[elem] === \"object\") return null;\r\n return <>\r\n {elem}: {(() => {\r\n if (props.user.Flags[elem] === true || props.user.Flags[elem] === false) {\r\n return props.user.Flags[elem] ? \"Yes\" : \"No\"\r\n } else return props.user.Flags[elem];\r\n })()}\r\n
\r\n });\r\n })()}

\r\n

Total leads: {moreInfo?.totalLeadCount}

\r\n

Converted Leads: {moreInfo?.totalConvertedLeadsCount}

\r\n
\r\n

Number of leads in last five days:

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

{moreInfo?.leads[0]?.LeadDate}

\r\n

{moreInfo?.leads[0]?.LeadCount}

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

{moreInfo?.leads[1]?.LeadDate}

\r\n

{moreInfo?.leads[1]?.LeadCount}

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

{moreInfo?.leads[2]?.LeadDate}

\r\n

{moreInfo?.leads[2]?.LeadCount}

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

{moreInfo?.leads[3]?.LeadDate}

\r\n

{moreInfo?.leads[3]?.LeadCount}

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

{moreInfo?.leads[4]?.LeadDate}

\r\n

{moreInfo?.leads[4]?.LeadCount}

\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n };\r\n\r\n const VerifyPublisher = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/verifyPublisher`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to verify publisher!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will verify the publisher and allow it to take offers

\r\n

Are you sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const EditUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n let [curCountry, setCountry] = React.useState(null);\r\n let [fReferralEnabled, fSetReferralEnabled] = React.useState(props.user.Flags.isRefferalEnabled);\r\n let [fAdmin, setFAdmin] = React.useState(props.user.Flags.isAdmin);\r\n let [fManager, setFManager] = React.useState(props.user.Flags.isManager);\r\n let [pManager, setPManager] = React.useState(props.user.Flags.isPublisherManager);\r\n let [aManager, setAManager] = React.useState(props.user.Flags.isAdvertiserManager);\r\n let [fVerified, setFVerified] = React.useState(props.user.Flags.isVerified);\r\n\r\n let firstNameRef = React.useRef();\r\n let lastNameRef = React.useRef();\r\n let emailRef = React.useRef();\r\n let PasswordRef = React.useRef();\r\n let ZIPRef = React.useRef();\r\n let ExperienceRef = React.useRef();\r\n let ContactWhatsappRef = React.useRef();\r\n let ContactSkypeRef = React.useRef();\r\n let ContactTelegramRef = React.useRef();\r\n let PaymentMethodRef = React.useRef();\r\n let ReferralPercentEarningsRef = React.useRef();\r\n let CountryDropbox = CustomDropbox();\r\n\r\n const getData = () => {\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.ID,\r\n showPayment: true\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(async res => {\r\n if (res.data.status === \"ok\") {\r\n setSpinner(false);\r\n while (!firstNameRef.current) {\r\n await new Promise(r2 => setTimeout(() => r2(), 50));\r\n };\r\n firstNameRef.current.value = res.data.data.FirstName;\r\n lastNameRef.current.value = res.data.data.LastName;\r\n emailRef.current.value = res.data.data.Email;\r\n ZIPRef.current.value = res.data.data.ZIP;\r\n ExperienceRef.current.value = res.data.data.Experience;\r\n ContactWhatsappRef.current.value = res.data.data.ContactWhatsapp;\r\n ContactSkypeRef.current.value = res.data.data.ContactSkype;\r\n ContactTelegramRef.current.value = res.data.data.ContactTelegram;\r\n PaymentMethodRef.current.value = res.data.data.PaymentMethod;\r\n ReferralPercentEarningsRef.current.value = res.data.data.ReferralPercentEarnings\r\n\r\n let cIndex = -1;\r\n countries.forEach((elem, index) => {\r\n if (elem.code === res.data.data.Country) cIndex = index;\r\n });\r\n if (cIndex !== -1) setCountry(cIndex);\r\n } else {\r\n setFinalData(\"Failed to get publisher info!\");\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n }).finally(() => {\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n\r\n const performVerify = () => {\r\n let FirstName = firstNameRef.current.value;\r\n let LastName = lastNameRef.current.value;\r\n let newEmail = emailRef.current.value;\r\n let newPassword = PasswordRef.current.value;\r\n let ZIP = ZIPRef.current.value;\r\n let Experience = ExperienceRef.current.value;\r\n let ContactWhatsapp = ContactWhatsappRef.current.value;\r\n let ContactSkype = ContactSkypeRef.current.value;\r\n let ContactTelegram = ContactTelegramRef.current.value;\r\n let PaymentMethod = PaymentMethodRef.current.value;\r\n let Country = CountryDropbox.getSelectedItem().value;\r\n let ReferralPercentEarnings = Number(ReferralPercentEarningsRef.current.value);\r\n\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/editUser`,\r\n data: {\r\n id: props.ID,\r\n FirstName: FirstName ? FirstName : null,\r\n LastName: LastName ? LastName : null,\r\n newEmail: newEmail ? newEmail : null,\r\n newPassword: newPassword ? newPassword : null,\r\n ZIP: ZIP ? Number(ZIP) : null,\r\n Experience: Number(Experience) ? Experience : null,\r\n ContactWhatsapp: ContactWhatsapp ? ContactWhatsapp : null,\r\n ContactSkype: ContactSkype ? ContactSkype : null,\r\n ContactTelegram: ContactTelegram ? ContactTelegram : null,\r\n PaymentMethod: PaymentMethod ? PaymentMethod : null,\r\n Country: Country ? Country : null,\r\n ReferralPercentEarnings,\r\n newFlags: isAdmin ? JSON.stringify({ isAdmin: fAdmin, isManager: fManager,isPublisherManager: pManager, isAdvertiserManager: aManager, isVerified: fVerified, isRefferalEnabled: fReferralEnabled }) : null\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/getSingleUser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(final => {\r\n if (final.data.status === \"error\") {\r\n setFinalData(\"Failed to get the new edited user!\");\r\n setSpinner(false);\r\n } else {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(final.data.data);\r\n });\r\n };\r\n }).catch(() => {\r\n setFinalData(\"Failed to get the new user\");\r\n setSpinner(false);\r\n })\r\n } else {\r\n setFinalData(\"Failed to edit user!\");\r\n setSpinner(false);\r\n };\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n React.useEffect(() => {\r\n setImmediate(getData);\r\n }, [firstNameRef]);\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate(props.user);\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n
\r\n {\r\n return {\r\n name: item.name,\r\n value: item.code\r\n };\r\n })} />\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n {isAdmin &&
\r\n

Flags:

\r\n

Admin Yes

} valueno={

No

} functionYes={() => setFAdmin(true)} functionNo={() => setFAdmin(false)} />

\r\n

Manager Yes

} valueno={

No

} functionYes={() => setFManager(true)} functionNo={() => setFManager(false)} />

\r\n

Publisher manager Yes

} valueno={

No

} functionYes={() => setPManager(true)} functionNo={() => setPManager(false)} />

\r\n

Advertiser manager Yes

} valueno={

No

} functionYes={() => setAManager(true)} functionNo={() => setAManager(false)} />

\r\n

Verified Yes

} valueno={

No

} functionYes={() => setFVerified(true)} functionNo={() => setFVerified(false)} />

\r\n

Referral Yes

} valueno={

No

} functionYes={() => fSetReferralEnabled(true)} functionNo={() => fSetReferralEnabled(false)} />

\r\n
}\r\n
\r\n \r\n \r\n
\r\n };\r\n\r\n const DeleteUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/users/deleteUser`,\r\n data: {\r\n ID: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to delete user!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n return
\r\n

This will delete the user and ALL OF HIS DATA

\r\n

(Advertiser account, offers, taken offers, leads....etc)

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n };\r\n const CreatePayoutForUser = (props) => {\r\n let [spinner, setSpinner] = React.useState(false);\r\n let [finalData, setFinalData] = React.useState(null);\r\n const [canCreatePayout, setCanCreatePayout] = React.useState(false)\r\n const getCanCreatePayout = () => {\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/payouts/checkPayoutPending`,\r\n\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n setCanCreatePayout(true)\r\n } else {\r\n setCanCreatePayout(false)\r\n }\r\n }).catch(() => {\r\n setCanCreatePayout(false)\r\n })\r\n }\r\n React.useEffect(() => {\r\n getCanCreatePayout()\r\n }, [])\r\n\r\n const performVerify = () => {\r\n if (!props.ID) return;\r\n setSpinner(true);\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/payouts/createPlatformPayout`,\r\n data: {\r\n BoundUser: props.ID\r\n },\r\n ...backendModule.axiosConfig\r\n }).then(res => {\r\n if (res.data.status === \"ok\") {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n setSpinner(false);\r\n });\r\n } else {\r\n setFinalData(\"Failed to create payout!\");\r\n setSpinner(false);\r\n }\r\n }).catch(() => {\r\n setFinalData(\"There was an error while connecting to the server!\");\r\n setSpinner(false);\r\n });\r\n };\r\n\r\n if (spinner) return \r\n if (finalData) {\r\n return
\r\n

{finalData}

\r\n {\r\n props.c().then(() => {\r\n if (props.onUpdate) props.onUpdate();\r\n });\r\n }} />\r\n
\r\n }\r\n if (!canCreatePayout) return
\r\n

Payout can't be created.

\r\n

There are payouts that still haven't been processed!

\r\n \r\n
\r\n return
\r\n

This will create a payout for this user.

\r\n

NOTE: You still need to go to 'Payments' and process the payout

\r\n

Are you REALLY sure?

\r\n \r\n \r\n
\r\n };\r\n\r\n const PaginationUser = () => {\r\n let tmpRef = React.useRef();\r\n React.useEffect(() => {\r\n if (!tmpRef?.current) return;\r\n let observer = new IntersectionObserver((entries) => {\r\n entries.forEach(entry => {\r\n if (entry.intersectionRatio > 0) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n canPaginate && setTimeout(continueUsers, 200);\r\n };\r\n });\r\n });\r\n observer.observe(tmpRef.current);\r\n return () => {\r\n if (tmpRef?.current) {\r\n try { observer.unobserve(tmpRef.current); } catch { };\r\n };\r\n };\r\n }, tmpRef);\r\n\r\n return
\r\n\r\n
\r\n };\r\n\r\n React.useEffect(() => {\r\n if (!addFilterItem) return;\r\n if (!firstTime) return;\r\n if (!userData) return;\r\n if (userData.status === \"error\") return;\r\n if (location.search) {\r\n let parsedSearch = getParamsFromURL(location.search);\r\n parsedSearch.forEach(elem => {\r\n if (elem.name === \"ID\") {\r\n addFilterItem({\r\n name: \"ID\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"User ID\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n } else if (elem.name === \"Username\") {\r\n addFilterItem({\r\n name: \"Username\",\r\n filterType: \"string\",\r\n varType: \"string\",\r\n friendlyName: \"Username\",\r\n value: elem.value,\r\n type: \"eq\"\r\n });\r\n };\r\n });\r\n setFirstTime(false);\r\n };\r\n }, [userData, addFilterItem]);\r\n\r\n React.useEffect(() => {\r\n getUsers();\r\n }, [filters]);\r\n\r\n return
\r\n {(() => {\r\n if (!userData) return \r\n if (userData.status === \"error\") {\r\n return

{userData.data}

\r\n } else {\r\n return setAddFilterItem(fn)} filterCB={(data) => updateFilters(data)} headers={[\"Username\", \"Email\", \"Verified\"]} data={(() => {\r\n let tmp = userData.data.map((item, index) => {\r\n return [\r\n { keyID: item.ID, type: \"text\", text: item.Username },\r\n { keyID: item.ID, type: \"text\", text: item.Email },\r\n {\r\n keyID: item.ID, type: \"group\", group: [\r\n {\r\n keyID: item.ID, type: \"text\", text: (() => {\r\n let final = [];\r\n final.push(

{item.Flags.isVerified ? \"Yes\" : \"No\"}

);\r\n return final;\r\n })()\r\n },\r\n ]\r\n },\r\n {\r\n keyID: item.ID, type: \"groupNewline\", group: [\r\n {\r\n keyID: item.ID, type: \"button\", text: \"Edit\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n if (usr) {\r\n usr.Flags = JSON.parse(usr.Flags);\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n usr,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n };\r\n }} />\r\n }\r\n },\r\n isAdmin ? {\r\n keyID: item.ID, type: \"button\", text: \"Create payout\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n\r\n }} />\r\n }\r\n } : null,\r\n {\r\n keyID: item.ID, type: \"button\", text: \"More info\", triggerDropdown: true, triggerData: () => {\r\n return \r\n }\r\n },\r\n\r\n (item.Flags.isVerified) ? null : {\r\n keyID: item.ID, type: \"button\", text: \"Verify publisher\", triggerDropdown: true, triggerData: c => {\r\n return {\r\n item.Flags.isVerified = true;\r\n setUserData({\r\n status: \"ok\", data: [\r\n ...userData.data.filter((_, index2) => index2 < index),\r\n item,\r\n ...userData.data.filter((_, index2) => index2 > index)\r\n ]\r\n });\r\n }} />\r\n }\r\n }\r\n ]\r\n }\r\n ];\r\n });\r\n if (userData.data.length === 0) {\r\n tmp.push([{ keyID: \"customText\", type: \"custom\", data:
Currently no data to display
}])\r\n\r\n }\r\n if (loadingSpinner) tmp.push([{ keyID: \"customSpinner\", type: \"custom\", data: }]);\r\n if (curPagination.current !== -1) tmp.push([{ keyID: \"customPagination\", type: \"custom\", data: }])\r\n\r\n return tmp;\r\n })()} filters={[\r\n { name: \"Username\", friendlyName: \"Username\", type: \"string\" },\r\n { name: \"Email\", friendlyName: \"E-mail\", type: \"string\" },\r\n { name: \"FirstName\", friendlyName: \"First name\", type: \"string\" },\r\n { name: \"LastName\", friendlyName: \"Last name\", type: \"string\" },\r\n {\r\n name: \"Country\", friendlyName: \"Country\", type: \"custom\", varType: \"string\", data: countries.map(country => {\r\n return {\r\n text: country.name,\r\n value: country.code\r\n };\r\n })\r\n },\r\n { name: \"ZIP\", friendlyName: \"ZIP\", type: \"number\" },\r\n { name: \"Experience\", friendlyName: \"Experience\", type: \"number\" },\r\n { name: \"Flags:isAdmin\", friendlyName: \"Is admin\", type: \"boolean\" },\r\n { name: \"Flags:isManager\", friendlyName: \"Is manager\", type: \"boolean\" },\r\n { name: \"Flags:isVerified\", friendlyName: \"Is verified\", type: \"boolean\" },\r\n { name: \"AdvertiserID\", friendlyName: \"Is advertiser\", type: \"custom\", data: [{ value: null, text: \"No\" }], varType: \"custom\" }\r\n ]} />\r\n };\r\n })()}\r\n
\r\n};\r\n\r\nexport default PublisherManager;","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nconst Hamburger = React.forwardRef((props, ref) => {\r\n let hamby = true\r\n const change = () => {\r\n let div1 = document.querySelector('.div1')\r\n let div2 = document.querySelector('.div2')\r\n let div3 = document.querySelector('.div3')\r\n let hamburger = document.querySelector('.customComponents__hamburger')\r\n let sidebar = document.querySelector('.component__sidebar')\r\n let dashboard = document.querySelector('.dashboard')\r\n let header = document.querySelector('.component__headerLoged')\r\n if (hamby === true) {\r\n div2.style.opacity = '0'\r\n div1.style.transform = 'rotate(40deg)'\r\n div3.style.transform = 'rotate(-40deg)'\r\n div1.style.height = '3px'\r\n div3.style.height = '3px'\r\n div1.style.top = '9px'\r\n div3.style.bottom = '8px'\r\n sidebar.style.width = '250px'\r\n sidebar.style.padding = '40px'\r\n \r\n if (window.innerWidth > 1024) {\r\n hamburger.style.left = '290px'\r\n dashboard.style.paddingLeft = '270px'\r\n header.style.paddingLeft = '270px'\r\n }\r\n hamby = false\r\n } else {\r\n div2.style.opacity = '1'\r\n div1.style.transform = 'rotate(0)'\r\n div3.style.transform = 'rotate(0)'\r\n div1.style.height = '2px'\r\n div3.style.height = '2px'\r\n div1.style.top = '0'\r\n div3.style.bottom = '0'\r\n sidebar.style.width = '0'\r\n sidebar.style.padding = '0'\r\n\r\n if (window.innerWidth > 1024) {\r\n dashboard.style.paddingLeft = '10px'\r\n hamburger.style.left = '20px'\r\n header.style.paddingLeft = '20px'\r\n }\r\n hamby = true\r\n }\r\n }\r\n return
{ change() }}>\r\n
\r\n
\r\n
\r\n
\r\n});\r\n\r\nexport default Hamburger","import React from \"react\";\r\nimport \"./index.scss\";\r\n\r\nimport axios from \"axios\";\r\nimport * as backendModule from '../../modules/backendModule'\r\nimport AnimateModule from '../../modules/animateModule'\r\nimport { useNavigate } from 'react-router-dom';\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { updateTimestamp } from \"../../actions/timestampActions\";\r\nimport { useLocation } from \"react-router-dom\";\r\n\r\nimport ButtonSmall from \"../customComponents/ButtonSmall\"\r\nimport Hamburger from \"../Hamburger\";\r\n\r\n\r\nconst Header = () => {\r\n const internalRef = React.useRef();\r\n const headerMobileRef = React.useRef();\r\n const [activePage, setActivePage] = React.useState();\r\n const [assignedManagerVisible, setAssignedManagerVisible] = React.useState(false);\r\n\r\n const navigate = useNavigate();\r\n const curLocation = useLocation();\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n let userData = useSelector((state) => state.userData);\r\n\r\n React.useEffect(() => {\r\n let temp = curLocation.pathname\r\n\r\n if (temp.includes('offer') || temp.includes('article')) {\r\n setActivePage('Offers')\r\n } else if (temp.includes('domains')) {\r\n setActivePage('Domains')\r\n } else if (temp.includes('admin-blockedLeads')) {\r\n setActivePage('Blocked Leads')\r\n } else if (temp.includes('leads')) {\r\n setActivePage('Leads')\r\n } else if (temp.includes('payments')) {\r\n setActivePage('Payments')\r\n } else if (temp.includes('crm')) {\r\n setActivePage('CRM')\r\n } else if (temp.includes('admin-users')) {\r\n setActivePage('Users')\r\n } else if (temp.includes('admin-advertisers')) {\r\n setActivePage('Advertisers')\r\n } else if (temp.includes('websites')) {\r\n setActivePage('Websites')\r\n } else if (temp.includes('profile')) {\r\n setActivePage('Settings')\r\n } else if (temp.endsWith(\"/postback\")) {\r\n setActivePage(\"Postback\")\r\n } else if (temp.endsWith(\"/referral-overview\")) {\r\n setActivePage(\"Overview\");\r\n } else if (temp.endsWith(\"/referral-publisher\")) {\r\n setActivePage(\"Publisher referrals\");\r\n } else if (temp.endsWith(\"/referral-advertiser\")) {\r\n setActivePage(\"Advertiser referrals\");\r\n } else if (temp.endsWith(\"/admin-invoices\")) {\r\n setActivePage(\"Invoices\");\r\n } else if (temp.endsWith(\"/admin-apitokens\")) {\r\n setActivePage(\"API Tokens\");\r\n } else if (temp.endsWith(\"/admin-customPayouts\")) {\r\n setActivePage(\"Custom payouts\");\r\n } else if (temp.endsWith(\"/admin-publisherStats\")) {\r\n setActivePage(\"Publisher Statistics\");\r\n } else {\r\n setActivePage('Dashboard')\r\n }\r\n })\r\n\r\n React.useEffect(() => {\r\n if (!internalRef?.current) return;\r\n\r\n let animWrap = internalRef.current.querySelector(\".component__headerLoged__user__modal__animWrapInfo\");\r\n let managerWrap = internalRef.current.querySelector(\".component__headerLoged__user__modal__animWrapManager\");\r\n if (!animWrap || !managerWrap) return;\r\n\r\n animWrap.animate(assignedManagerVisible ? [\r\n { maxHeight: getComputedStyle(animWrap).height },\r\n { maxHeight: 0 }\r\n ] : [\r\n { maxHeight: getComputedStyle(animWrap).height },\r\n { maxHeight: \"250px\" }\r\n ], {\r\n duration: 300,\r\n iterations: 1,\r\n fill: \"both\",\r\n easing: \"ease-in-out\"\r\n });\r\n managerWrap.animate(!assignedManagerVisible ? [\r\n { maxHeight: getComputedStyle(managerWrap).height, marginTop: getComputedStyle(managerWrap).marginTop },\r\n { maxHeight: 0, marginTop: 0 }\r\n ] : [\r\n { maxHeight: getComputedStyle(managerWrap).height, marginTop: getComputedStyle(managerWrap).marginTop },\r\n { maxHeight: \"250px\", marginTop: \"20px\" }\r\n ], {\r\n duration: 300,\r\n iterations: 1,\r\n fill: \"both\",\r\n easing: \"ease-in-out\"\r\n });\r\n }, [assignedManagerVisible]);\r\n\r\n React.useEffect(() => {\r\n if (assignedManagerVisible) setAssignedManagerVisible(false);\r\n }, [userData.userData]);\r\n\r\n React.useEffect(() => {\r\n if (!headerMobileRef.current) return;\r\n headerMobileRef.current.style.backgroundImage = \"linear-gradient(90.04deg, #4462E7 0.04%, #5173FF 44.83%, #C06AF2 99.98%)\";\r\n headerMobileRef.current.style.backgroundRepeat = \"no-repeat\";\r\n headerMobileRef.current.style.backgroundSize = \"100% 0%\";\r\n headerMobileRef.current.style.boxShadow = \"none\";\r\n headerMobileRef.current.style.transition = \"background-size 0.3s ease, box-shadow 0.3s ease\";\r\n \r\n const handler = e => {\r\n if (!headerMobileRef.current) return;\r\n if (window.scrollY > 20) {\r\n headerMobileRef.current.style.transition = \"background-size 0.3s ease, box-shadow 0.3s 0.2s ease\";\r\n headerMobileRef.current.style.boxShadow = \"1px 2px 5px 0px rgba(0,0,0,0.75)\";\r\n headerMobileRef.current.style.backgroundSize = \"100% 100%\";\r\n } else {\r\n headerMobileRef.current.style.transition = \"background-size 0.3s 0.2s ease, box-shadow 0.3s ease\";\r\n headerMobileRef.current.style.boxShadow = \"none\";\r\n headerMobileRef.current.style.backgroundSize = \"100% 0%\";\r\n };\r\n };\r\n\r\n window.addEventListener(\"scroll\", handler);\r\n\r\n return () => window.removeEventListener(\"scroll\", handler);\r\n }, [headerMobileRef]);\r\n\r\n React.useEffect(() => {\r\n try {\r\n let clickListen = () => {\r\n if (!internalRef.current) return;\r\n let modalDialog = internalRef.current.querySelector(\".component__headerLoged__user--active\");\r\n if (modalDialog) modalDialog.click();\r\n };\r\n document.body.addEventListener(\"click\", clickListen);\r\n return () => document.body.removeEventListener(\"click\", clickListen);\r\n } catch { };\r\n }, []);\r\n\r\n let hamburger = false\r\n const openHamburger = () => {\r\n let hamburgerMenu = document.querySelector('.component__headerMobile__menu')\r\n if (hamburger === false) {\r\n hamburgerMenu.style.height = '500px'\r\n hamburgerMenu.style.padding = '20px'\r\n hamburger = true\r\n } else {\r\n hamburgerMenu.style.height = '0px'\r\n hamburgerMenu.style.padding = '0px'\r\n hamburger = false\r\n }\r\n }\r\n\r\n return <>{(window.location.href.includes('dashboard') && userData.userData !== null) ?
\r\n \r\n

{activePage}

\r\n
{\r\n e.stopPropagation();\r\n if (e.currentTarget.classList.contains(\"component__headerLoged__user--active\")) {\r\n if (assignedManagerVisible) setAssignedManagerVisible(!assignedManagerVisible);\r\n };\r\n e.currentTarget.classList.toggle(\"component__headerLoged__user--active\")\r\n }}>\r\n
\r\n {userData?.userData?.UserInfo?.FirstName?.charAt(0) ?? \"N\"}\r\n {userData?.userData?.UserInfo?.LastName?.charAt(0) ?? \"A\"}\r\n
\r\n

{userData?.userData?.UserInfo?.FirstName ?? \"\"} {userData?.userData?.UserInfo?.LastName ?? \"\"}

\r\n \r\n
e.stopPropagation()}>\r\n {userData?.userData?.AssignedManager ?
{\r\n setAssignedManagerVisible(!assignedManagerVisible);\r\n }}>\r\n
\r\n {userData?.userData?.AssignedManager?.FirstName?.charAt(0) ?? \"N\"}\r\n {userData?.userData?.AssignedManager?.LastName?.charAt(0) ?? \"A\"}\r\n
\r\n
\r\n {userData?.userData?.AssignedManager.FirstName ?? \"NA\"} \r\n {userData?.userData?.AssignedManager.LastName ?? \"NA\"}\r\n

Your manager

\r\n
\r\n \r\n
: null}\r\n\r\n
\r\n\r\n {userData?.userData?.AssignedManager?.ContactSkype ?

{\r\n window.location = `skype:${userData?.userData?.AssignedManager?.ContactSkype}?chat`;\r\n }}>\r\n \r\n {userData?.userData?.AssignedManager?.ContactSkype}\r\n

: null}\r\n\r\n {userData?.userData?.AssignedManager?.ContactTelegram ?

{\r\n window.open(`https://telegram.me/${userData?.userData?.AssignedManager?.ContactTelegram}`);\r\n }}>\r\n \r\n {userData?.userData?.AssignedManager?.ContactTelegram}\r\n

: null}\r\n\r\n {userData?.userData?.AssignedManager?.ContactWhatsapp ?

{\r\n window.open(`https://wa.me/${userData?.userData?.AssignedManager?.ContactWhatsapp}`);\r\n }}>\r\n \r\n {userData?.userData?.AssignedManager?.ContactWhatsapp}\r\n

: null}\r\n\r\n {userData?.userData?.AssignedManager?.Email ?

{\r\n window.location = `mailto:${userData?.userData?.AssignedManager?.Email}?chat`;\r\n }}>\r\n \r\n {userData?.userData?.AssignedManager?.Email}\r\n

: null}\r\n\r\n
\r\n\r\n
\r\n {userData?.userData?.UserInfo?.EstimatedEarnings ?

\r\n Earnings:\r\n {Number(userData?.userData?.UserInfo?.EstimatedEarnings).toFixed(2)} $\r\n

: null}\r\n {userData?.userData?.RefferalInfo ?

\r\n Referral earnings:\r\n {Number(userData?.userData?.RefferalInfo?.RefferalEarnings).toFixed(2)} $\r\n

: null}\r\n {userData?.userData?.AdvertiserInfo?.Credits ?

\r\n Credits:\r\n {Number(userData?.userData?.AdvertiserInfo?.Credits).toFixed(2)} $\r\n

: null}\r\n

{\r\n try {\r\n document.querySelector(\".component__sidebar__logout--settings\").click();\r\n document.querySelector(\".component__headerLoged__user\").classList.remove(\"component__headerLoged__user--active\");\r\n } catch { };\r\n }}>\r\n \r\n Settings\r\n

\r\n

{\r\n try {\r\n document.querySelector(\".component__sidebar__logout--logout\").click();\r\n document.querySelector(\".component__headerLoged__user\").classList.remove(\"component__headerLoged__user--active\");\r\n } catch { };\r\n }}>\r\n \r\n Log out\r\n

\r\n
\r\n
\r\n
\r\n
: <>\r\n
\r\n
\r\n { animateNavigate('/') }} style={{ 'height': '50px' }} className=\"logoTablet\" />\r\n { animateNavigate('/') }} className=\"logoMobile\" >\r\n
\r\n
\r\n { animateNavigate(\"/login\"); }} />\r\n { openHamburger() }} />\r\n
\r\n
\r\n
\r\n { animateNavigate('/') }} style={{ 'height': '50px' }}>\r\n\r\n

{ openHamburger() }} >✕

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

{ openHamburger(); animateNavigate(\"/\"); }} >Home

\r\n

{ openHamburger(); animateNavigate(\"/publishers\"); }}>Publishers

\r\n

{ openHamburger(); animateNavigate(\"/advertisers\"); }}>Advertisers

\r\n

{ openHamburger(); animateNavigate(\"/aboutus\"); }}>Our culture

\r\n {userData.userData !== null ?\r\n

{ openHamburger(); animateNavigate(\"/dashboard\"); }} >Dashboard

:\r\n

{ openHamburger(); animateNavigate(\"/login\"); }} >Log in

\r\n }\r\n\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n\r\n\r\n
\r\n { animateNavigate('/') }} style={{ 'height': '50px' }} />\r\n
\r\n
\r\n

{ animateNavigate(\"/\"); }} >Home

\r\n

{ animateNavigate(\"/publishers\"); }}>Publishers

\r\n

{ animateNavigate(\"/advertisers\"); }}>Advertisers

\r\n

{ animateNavigate(\"/aboutus\"); }}>Our culture

\r\n {userData.userData !== null ?\r\n { animateNavigate(\"/dashboard\"); }} /> :\r\n <>\r\n { animateNavigate(\"/login\"); }} />\r\n { animateNavigate(\"/register\"); }} />\r\n \r\n\r\n }\r\n\r\n {/* { animateNavigate(\"/register\"); }} /> */}\r\n
\r\n\r\n
}\r\n};\r\n\r\nexport default Header;","import \"./index.scss\";\r\n\r\nconst ContentWrapper = (props) => {\r\n return
\r\n {props.children}\r\n
\r\n};\r\n\r\nexport default ContentWrapper;","import \"./index.scss\";\r\nimport axios from \"axios\";\r\nimport * as backendModule from '../../modules/backendModule'\r\nimport AnimateModule from '../../modules/animateModule'\r\nimport { useNavigate } from 'react-router-dom';\r\n\r\nconst Footer = () => {\r\n const navigate = useNavigate();\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n const sendData = (e) => {\r\n e.preventDefault()\r\n let inputs = e.target.querySelectorAll('input')\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/email/contact`,\r\n data: {\r\n Name: inputs[0].value,\r\n EMail: inputs[1].value,\r\n Message: e.target.querySelector('textarea').value\r\n },\r\n ...backendModule.axiosConfig\r\n }).then((e) => {\r\n document.querySelector('.component__footer__contact__form__msg').style.opacity = '1'\r\n inputs[0].value = ''\r\n inputs[1].value = ''\r\n e.target.querySelector('textarea').value = ''\r\n }).catch((e) => {\r\n })\r\n }\r\n\r\n return
\r\n \r\n\r\n \r\n
\r\n
\r\n

Contact us

\r\n
\r\n
\r\n
Company name
\r\n\r\n

\r\n FZC Scale

\r\n
\r\n\r\n
\r\n
Licence No.:
\r\n

4201920.01

\r\n
\r\n
\r\n
Formation Number:
\r\n

4201920

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Email
\r\n

info@scale-lead.com

\r\n
\r\n
\r\n
Address
\r\n

Business Centre,Sharjah Publishing City Free Zone, Sharjah,\r\n United Arab Emirates

\r\n
\r\n
\r\n {/*
\r\n
\r\n
Company name
\r\n\r\n

SCALE LEAD D.O.O.

\r\n
\r\n \r\n
\r\n
TAX (PIB):
\r\n

114553755

\r\n
\r\n
\r\n\r\n
\r\n
\r\n
Email
\r\n

info@scale-lead.com

\r\n
\r\n
\r\n
Address
\r\n

BEOGRAD (STARI GRAD) , KNEZ MIHAILA 3, SERBIA

\r\n
\r\n
*/}\r\n\r\n\r\n
\r\n
{ sendData(e) }} >\r\n

Get in touch

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

Your form has been successfully submitted

\r\n
\r\n
\r\n
\r\n { animateNavigate('/') }} src=\"/images/logoNewWhite.svg\" style={{ 'width': '190px' }} >\r\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 Footer;","\r\nimport \"./index.scss\";\r\nimport React from \"react\";\r\nimport Footer from \"../../components/Footer\";\r\n\r\nconst LandingPage = () => {\r\n React.useEffect(() => {\r\n document.querySelector('body').classList.remove('dark')\r\n }, [])\r\n const findOut = () => {\r\n document.querySelector('.landingPage__table').scrollIntoView({ behavior: \"smooth\", block: \"start\" });\r\n }\r\n return
\r\n
\r\n \r\n \r\n
\r\n

\r\n Tailored CPA Network Experience\r\n

\r\n

\r\n The secret of successful affiliate marketers is implementing a plan of action that supports your strengths.

\r\n

Level up your affiliate marketing strategy with guaranteed the best conversion rates and CPA supported by customizable payouts and high-speed lead processing.\r\n

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

Scale Lead

\r\n

Our company has everything you need

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

Our vision

\r\n

\r\n Creating triple win-win-win network excellence that connects great advertisers, publishers & target audiences.\r\n

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

Our mission

\r\n

\r\n We provide the best matchmaking service for advertisers and publishers.\r\n

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

Why choose us

\r\n

\r\n We've done it all. We started with e-commerce, became publishers, and ended as software developers and advertisers.\r\n

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

What we bring to your digital table\r\n

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

Extra offers

\r\n

Best CPA offers on the market. As simple as that. If you find a better one, we'll match it.\r\n

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

Vetted publishers

\r\n

Our programming team and anti-fraud AI scanning system make sure fraudulent web pages are off the menu\r\n

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

Vetted advertisers

\r\n

Publishers depend on high-quality advertisers. There is nothing worse than spending your time and money acquiring leads that don't get proper attention. Most affiliate marketers settle up with a conversion rate of 60%. We like to keep that number closer to 80%\r\n

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

High-speed lead processing

\r\n

Most of our advertisers have a 7 day 08 AM - 10PM local time sales support team that quickly processes the leads. That allows you to align your strategy fast according to feedback and make more money.\r\n

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

Net 30/ net 15/ payouts

\r\n

Choose an option that matches your cash flow strategy\r\n

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

Dedicated affiliate manager

\r\n

We prefer a human touch. That's why you get your dedicated affiliate manager equipped with top-notch analytical tools to develop the best strategy for you\r\n

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

Our Partners

\r\n

Respected colleagues within the spheres of Perfomance Based Marketing

\r\n
\r\n \r\n \r\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 LandingPage;","\r\nimport \"./index.scss\";\r\nimport CustomInput from '../../components/customComponents/CustomInput'\r\nimport Spinner from '../../components/customComponents/Spinner'\r\nimport Button from '../../components/customComponents/Button'\r\nimport axios from \"axios\";\r\nimport * as backendModule from '../../modules/backendModule'\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport * as timestampActions from \"../../actions/timestampActions\";\r\nimport AnimateModule from '../../modules/animateModule'\r\nimport { useNavigate } from \"react-router-dom\";\r\nimport React from \"react\";\r\n\r\n\r\nconst Login = () => {\r\n let userDataDispatch = useDispatch();\r\n let userData = useSelector((state) => state.userData);\r\n const navigate = useNavigate();\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n const [spinner, setSpinner] = React.useState(false)\r\n const sendData = (e) => {\r\n setSpinner(true)\r\n e.preventDefault()\r\n let inputs = e.target.querySelectorAll('input')\r\n axios({\r\n method: \"POST\",\r\n url: `${backendModule.backendURL}/auth/login`,\r\n data: {\r\n username: inputs[0].value,\r\n password: inputs[1].value,\r\n },\r\n ...backendModule.axiosConfig\r\n }).then((e) => {\r\n if (e.data.status === 'ok') {\r\n userDataDispatch(timestampActions.updateTimestamp());\r\n animateNavigate('/dashboard/publisher')\r\n } else {\r\n document.querySelector('.login__form__errorMsg').style.display = 'block'\r\n setSpinner(false)\r\n }\r\n }).catch((e) => {\r\n document.querySelector('.login__form__errorMsg').style.display = 'block'\r\n setSpinner(false)\r\n });\r\n }\r\n\r\n React.useEffect(() => {\r\n if (userData.isLoggedIn === true) animateNavigate('/dashboard/publisher');\r\n }, [userData]);\r\n React.useEffect(()=>{\r\n document.querySelector('body').classList.remove('dark')\r\n }, [])\r\n return
\r\n {spinner ? : ''}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n

\r\n Log in\r\n

\r\n
{ sendData(e) }} autoComplete=\"off\">\r\n \r\n \r\n

{ animateNavigate('/resetPassword') }}>Forgot password?

\r\n

Username or password is incorrect

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

Don’t have an account? { animateNavigate('/register') }}>Sign up

\r\n
\r\n
\r\n
\r\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 Login;","export const updateTimestamp = () => {\r\n return {\r\n type: \"UPDATE_TIMESTAMP\"\r\n };\r\n};","\r\nimport \"./index.scss\";\r\nimport React from \"react\";\r\nimport Footer from \"../../components/Footer\";\r\nimport AnimateModule from '../../modules/animateModule'\r\nimport { useNavigate } from 'react-router-dom';\r\nimport { useDispatch, useSelector } from \"react-redux\";\r\nimport { useLocation } from \"react-router-dom\";\r\n\r\n\r\nconst AboutUs = () => {\r\n const navigate = useNavigate();\r\n const curLocation = useLocation();\r\n const animateNavigate = to => {\r\n AnimateModule(navigate, to, document.querySelector(\".component__contentWrapper\"));\r\n };\r\n const [sliders, setSliders] = React.useState([\r\n {\r\n Name: 'Senad Bećirović',\r\n Title: 'CEO & co-founder',\r\n Image: '/images/aboutus/senad.png'\r\n }, {\r\n Name: 'Ešef Ćosić',\r\n Title: 'CEO & co-founder',\r\n Image: '/images/aboutus/esef.png'\r\n }, {\r\n Name: 'Sulejman Hodžić',\r\n Title: 'Full-stack developer & team leader',\r\n Image: '/images/aboutus/suljo.png'\r\n },\r\n {\r\n Name: 'Nevzet Šabanovski',\r\n Title: 'Full-stack developer',\r\n Image: '/images/aboutus/nevzet.png'\r\n }, {\r\n Name: 'Aldina Čizmić',\r\n Title: 'Affiliate manager',\r\n Image: '/images/aboutus/aldina.png'\r\n }, {\r\n Name: 'Zoriana Myronchuk',\r\n Title: 'Account manager',\r\n Image: '/images/aboutus/zoriana.png'\r\n }, {\r\n Name: 'Vladanka Teovanović',\r\n Title: 'Affiliate manager',\r\n Image: '/images/aboutus/vladanka.png'\r\n },\r\n ])\r\n\r\n const [activeSlider, setActiveSlider] = React.useState(0)\r\n\r\n React.useEffect(() => {\r\n moveActiveSlide(0)\r\n }, [])\r\n const moveActiveSlide = (id) => {\r\n if (id === -1) {\r\n id = sliders.length - 1\r\n }\r\n if (id === sliders.length) {\r\n id = 0\r\n }\r\n let counter1 = 0\r\n let counter2 = id\r\n let positions = ['34%', '75%', '100%', '100%', '-100%', '-100%', '0px']\r\n let positionsTablet = ['0%', '60%', '100%', '100%', '-100%', '-100%', '-100%']\r\n let positionsMobile = ['calc(50% - 140px )', '100%', '100%', '100%', '-100%', '-100%', '-100%']\r\n let visibility = [1, 1, 1, 0, 0, 1, 1]\r\n let slTemp = document.querySelectorAll('.custom__carousel__container__slide')\r\n let dots = document.querySelectorAll('.custom__carousel__container__dots__dot')\r\n while (counter1 < sliders.length) {\r\n if (window.innerWidth > 1024) {\r\n slTemp[counter2].style.left = positions[counter1]\r\n } else if (window.innerWidth > 700) {\r\n slTemp[counter2].style.left = positionsTablet[counter1]\r\n } else {\r\n slTemp[counter2].style.left = positionsMobile[counter1]\r\n }\r\n\r\n slTemp[counter2].style.opacity = visibility[counter1]\r\n if (counter1 === 0) {\r\n if (window.innerWidth > 1024) {\r\n slTemp[counter2].style.width = '32%'\r\n } else if (window.innerWidth > 700) {\r\n slTemp[counter2].style.width = '45%'\r\n slTemp[counter2].querySelector('.custom__carousel__container__slide__head__image').style.height = 'auto'\r\n } else {\r\n slTemp[counter2].style.width = '280px'\r\n }\r\n\r\n slTemp[counter2].style.filter = 'grayscale(0)'\r\n slTemp[counter2].style.zIndex = '5'\r\n } else {\r\n slTemp[counter2].style.filter = 'grayscale(1)'\r\n\r\n slTemp[counter2].style.zIndex = '1'\r\n if (window.innerWidth > 1024) {\r\n slTemp[counter2].style.width = '25%'\r\n } else if (window.innerWidth > 700) {\r\n slTemp[counter2].querySelector('.custom__carousel__container__slide__head__image').style.height = 'auto'\r\n slTemp[counter2].style.width = '40%'\r\n }\r\n }\r\n if (counter2 === sliders.length - 1) {\r\n counter2 = 0\r\n } else {\r\n counter2++\r\n }\r\n counter1++\r\n\r\n }\r\n setActiveSlider(id)\r\n\r\n for (let i = 0; i < dots.length; i++) {\r\n if (i !== id) {\r\n dots[i].style.backgroundColor = 'AF6CF4'\r\n dots[i].style.border = 'none'\r\n } else {\r\n dots[i].style.backgroundColor = 'white'\r\n dots[i].style.border = '1px solid #6664E5'\r\n }\r\n }\r\n\r\n\r\n }\r\n const setActive = (id) => {\r\n let slideTemp = activeSlider\r\n let counter = 0\r\n if (id > slideTemp) {\r\n while (slideTemp !== id) {\r\n\r\n moveActiveSlide(slideTemp + 1)\r\n slideTemp++\r\n counter++\r\n }\r\n\r\n } else if (id < slideTemp) {\r\n while (slideTemp !== id) {\r\n moveActiveSlide(slideTemp - 1)\r\n slideTemp--\r\n counter++\r\n }\r\n }\r\n\r\n }\r\n let touchstartX = 0;\r\n let touchendX = 0;\r\n let container\r\n React.useEffect(() => {\r\n document.querySelector('.component__footer__contact').style.display = 'none'\r\n }, [])\r\n function handleGesure() {\r\n if (touchendX < touchstartX - 100) {\r\n moveActiveSlide(activeSlider + 1)\r\n }\r\n if (touchendX > touchstartX + 100) {\r\n moveActiveSlide(activeSlider - 1)\r\n }\r\n\r\n }\r\n\r\n return
\r\n \r\n \r\n \r\n
\r\n

Upcoming Conferences

\r\n
\r\n
\r\n {animateNavigate('/conference?city=barcelona')}}\r\n className=\"aboutus__affiliate__upcoming__single__top\" style={{ 'backgroundImage': `url(/images/barcelona.jpg)` }}>\r\n
\r\n

EUROPE

\r\n

6-7 July 2022

\r\n

BARCELONA, SPAIN

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

AFFILIATE WORLD EUROPE

\r\n

BARCELONA

\r\n

You will network with the industry’s brightest minds,\r\n absorb mastermind-level content on stage, and be exposed\r\n to an exhibition floor overflowing with opportunities to\r\n push your career forward

\r\n \r\n
\r\n
\r\n
\r\n {animateNavigate('/conference?city=bangkok')}}\r\n className=\"aboutus__affiliate__upcoming__single__top\" style={{ 'backgroundImage': `url(/images/bangkok.jpg)` }}>\r\n
\r\n

ASIA

\r\n

30 Nov - 1 Dec 2022

\r\n

BANGKOK, THAILAND

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

AFFILIATE WORLD ASIA

\r\n

BANGKOK

\r\n

Affiliate World is the world’s premier gathering of influential performance and ecommerce marketers.

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

Previous Conferences

\r\n
\r\n\r\n
\r\n
{animateNavigate('/conference?city=dubai')}}\r\n className=\"aboutus__affiliate__upcoming__single__top\" style={{ 'backgroundImage': `url(/images/dubai.jpg)` }}>\r\n
\r\n

DUBAI

\r\n

28 February - 1 March 2022

\r\n

DUBAI, UAE

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

AFFILIATE WORLD GLOBAL

\r\n

DUBAI

\r\n

For the first time ever, two Affiliate World events will collide for the largest gathering of\r\n the world’s top affiliate marketers and ecommerce entrepreneurs.

\r\n \r\n
\r\n
\r\n
\r\n {animateNavigate('/conference?city=moscow')}}\r\n className=\"aboutus__affiliate__upcoming__single__top\" style={{ 'backgroundImage': `url(/images/moscow.jpg)` }}>\r\n
\r\n

MOSCOW

\r\n

5-6 October 2021

\r\n

MOSCOW, RUSSIA

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

MOSCOW AFFILIATE CONFERENCE

\r\n

MOSCOW

\r\n

Moscow Affiliate Conference or MAC is the biggest marketing event in CIS, with more than 50 countries participating this year.\r\n It is a grand opportunity to network and learn new ways to monetize content with 3000 participants and 30 reports to boost yields.

\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n { moveActiveSlide(activeSlider + 1) }} />\r\n

Meet our team

\r\n
{ touchstartX = e.changedTouches[0].screenX }} onTouchEnd={(e) => { touchendX = e.changedTouches[0].screenX; handleGesure() }}>\r\n\r\n {/*
{ moveActiveSlide(activeSlider - 1) }}>\r\n \r\n
\r\n
{ moveActiveSlide(activeSlider + 1) }}>\r\n \r\n
*/}\r\n {sliders.map((item, index) => {\r\n return
\r\n
\r\n
\r\n

{item.Name}

\r\n

{item.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\n