{"version":3,"sources":["Firebase/config.js","Firebase/apis.js","utils/data.js","components/common/Spinner.jsx","hooks/isMobileScreen.jsx","utils/date.js","assets/notiSound.mp3","components/AdminSidebar/index.jsx","routes/AdminRoutes.jsx","components/sidebar/index.jsx","routes/PortalRoutes.jsx","routes/ClientRoutes.jsx","routes/index.jsx","App.js","reportWebVitals.js","index.js","store/store.js","assets/logo.webp","assets/placeholder.webp"],"names":["__webpack_require__","d","__webpack_exports__","auth","firestore","storageRef","firebase_compat_app__WEBPACK_IMPORTED_MODULE_0__","firebase","initializeApp","apiKey","authDomain","projectId","storageBucket","messagingSenderId","appId","measurementId","analytics","storage","getCountryOrClub","id","data","i","findIndex","item","docId","uploadEmailFromAuth","_ref","Object","E_Infusible_Coder_FansSpot_local_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_asyncToGenerator__WEBPACK_IMPORTED_MODULE_2__","_regeneratorRuntime","mark","_callee","email","newEmail","pass","userCredential","wrap","_context","prev","next","signInWithEmailAndPassword","sent","user","updateEmail","stop","_x","_x2","_x3","apply","this","arguments","uploadPDF","_ref2","_callee2","image","uid","storageRefrence","uploadedFile","imageUrl","_context2","Date","now","ref","child","put","getDownloadURL","abrupt","_x4","uploadFile","_ref3","_callee3","_context3","_x5","loginAdmin","_ref4","_callee4","authRes","res","_context4","password","collection","doc","get","exists","alert","sessionStorage","setItem","JSON","stringify","_x6","loginVenuePortal","_ref5","_callee5","venueData","collectionRef","subscriptionExpiryDate","subscriptionBundle","subscriptions","_context5","status","isDeleted","DateDifference","inDays","SUBSCRIPTIONS","name","setFullYear","getFullYear","toLocaleDateString","update","E_Infusible_Coder_FansSpot_local_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_objectSpread__WEBPACK_IMPORTED_MODULE_1__","_x7","registerVenuePortal","_ref6","_callee6","isAddedByAdmin","accDetailsRef","accDetails","_data","dataCopy","picsCopy","url","_args6","_context6","length","undefined","where","docs","userId","adminVerified","createUserWithEmailAndPassword","sendEmailVerification","venuePhoneNumber","website","menue","facebookLink","instagramLink","twitterLink","snapchatLink","numberOfScreens","wifi","commentry","projector","servesFood","outdoorSeating","tableBooking","shisha","privateRoom","servesCofee","seatBooking","workingHours","WORKING_HOURS","isTrialReqTaken","logo","pictures","size","E_Infusible_Coder_FansSpot_local_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_toConsumableArray__WEBPACK_IMPORTED_MODULE_0__","Math","random","set","_x8","getRegions","_ref8","_callee8","_context8","adminUpdatedVenuePortal","_ref9","_callee9","_context9","_x10","updatedVenuePortalImages","_ref10","_callee10","_context10","_x11","updatedVenuePortalInfo","_ref11","_callee11","_context11","type","includes","_x12","updatedVenuePortalFeatures","_ref12","_callee12","_context12","_x13","verifyUser","_ref13","_callee13","_context13","isVerified","_x14","_x15","bookingBlock","_ref14","_callee14","_context14","_x16","_x17","verifyPortal","_ref15","_callee15","_context15","_x18","_x19","blockPortalHandler","_ref16","_callee16","_context16","_x20","_x21","getVenueByEmail","_ref20","_callee20","_context20","map","_x22","deletePortalMenue","_ref21","_callee21","_context21","refFromURL","delete","_x23","_x24","updateVenuePass","_ref22","_callee22","_context22","_x25","_x26","getAllPortals","_ref23","_callee23","_context23","getCountries","_ref24","_callee24","_context24","registerCountry","_ref25","_callee25","_context25","_x27","updateCountry","_ref26","_callee26","_context26","_x28","deleteCountry","_ref27","_callee27","_context27","_x29","getLeagues","_ref28","_callee28","_context28","getClubss","_ref29","_callee29","countries","_context29","orderBy","country","countryId","registerClub","_ref30","_callee30","_context30","_x30","updateClub","_ref31","_callee31","_context31","_x31","deleteClub","_ref32","_callee32","_context32","_x32","approveRestReq","_ref33","_callee33","offerReq","_context33","_x33","_x34","getAllTeams","_ref34","_callee34","_context34","getTeams","_ref35","_callee35","clubs","_context35","countryOrClub","countryOrClubId","getTeamsAndClubsForMatches","_ref36","_callee36","allClubs","_context36","filter","isNationalTeam","getAllLeagues","_ref37","_callee37","teamsRef","_context37","leagues","sort","a","b","localeCompare","teams","getTeamsAndClubs","_ref38","_callee38","_context38","registerTeam","_ref39","_callee39","_context39","_x35","updateteam","_ref40","_callee40","_context40","_x36","deleteTeam","_ref41","_callee41","_context41","_x37","getAllMatches","_ref42","_callee42","result","matches","_context42","firstTeam","firstTeamId","isNationalMatch","secondTeam","secondTeamId","getMatches","_ref43","_callee43","leaguesRef","_context43","it","league","find","clubId","updateReservation","_ref44","_callee44","reservations","_context44","_x38","_x39","registerMatch","_ref45","_callee45","_context45","_x40","updateMatch","_ref46","_callee46","_context46","_x41","deleteMatch","_ref47","_callee47","_context47","_x42","getRestaurants","_ref48","_callee48","_context48","addRestaurant","_ref49","_callee49","_context49","images","_x43","updateRestaurant","_ref50","_callee50","_context50","_x44","deleteRestaurant","_ref52","_callee52","_context52","_x45","getOffers","_ref53","_callee53","portal","_context53","parse","getItem","addOffer","_ref54","_callee54","_context54","docID","_x46","updateOffer","_ref55","_callee55","_context55","_x47","deleteOffer","_ref56","_callee56","_context56","_x48","getTableBookings","_ref57","_callee57","settingref","bookings","match","_context57","getMatch","matchId","getSingleUSer","userID","push","setting","getUltrasBookings","_ref58","_callee58","_context58","getVisitedVenues","_ref59","_callee59","_context59","getRecentReviews","_ref60","_callee60","today","tenDaysAgo","_context60","setDate","getDate","getTime","getUpcommingBooking","_ref61","_callee61","_context61","getAllOffers","_ref62","_callee62","_context62","getBookings","_ref63","_callee63","_context63","_ref64","_callee64","_context64","_x49","tablebookingSetting","_ref68","_callee68","_context68","_x52","getReviews","_ref69","_callee69","userref","_context69","giveByID","_x53","setReviewReply","_ref70","_callee70","reply","_context70","_x54","_x55","getVenueSuggestions","_ref71","_callee71","_context71","submitMessageToUser","_ref72","_callee72","_context72","_x56","_x57","deleteSuggestion","_ref73","_callee73","_context73","_x58","suggestionHandlerInDb","_ref74","_callee74","_context74","_x59","_x60","updateAccountSetting","_ref75","_callee75","upportal","_context75","_x61","sendPassMail","_ref76","_callee76","_context76","sendPasswordResetEmail","_x62","deleteAccountHandler","_ref77","_callee77","reason","_context77","_x63","rejectDeleteAccountReq","_ref78","_callee78","_context78","_x64","getDeleteAccountReq","_ref79","_callee79","_context79","_x65","deleteAccountReq","_ref80","_callee80","verifiedVenue","_context80","_x66","_x67","addContactUs","_ref81","_callee81","createdDate","_context81","venueId","_x68","getVenueContactUs","_ref82","_callee82","_context82","_x69","getStatesData","_ref86","_callee86","checkref","venueref","venueMapref","rateReviewref","offerClaimedRef","searchRef","venuebookingData","_context86","chekins","venuesVisited","venuesVisitedMap","rateReviews","offerClaimed","venueSearch","_x72","getStatesForAdminData","_ref87","_callee87","bookingCollectionRef","_context87","getUsers","_ref88","_callee88","_context88","addUser","_ref89","_callee89","_data2","_context89","_x73","updateUser","_ref90","_callee90","_context90","_x74","deleteUser","_ref91","_callee91","_context91","_x75","deleteClientMessages","_ref93","_callee93","_context93","_x77","addUserMessage","_ref94","_callee94","values","_context94","_x78","deletePortalMessageInDB","_ref95","_callee95","_context95","_x79","getClientMessages","_ref96","_callee96","ref1","_context96","users","portals","getPortalMessage","_ref97","_callee97","_context97","submitSupportMessageToUser","_ref98","_callee98","message","_context98","_x80","_x81","_x82","getPredictions","_ref99","_callee99","_context99","getClientPredictions","_ref100","_callee100","_context100","getSingleMatch","matchID","getTeam","firstTeamID","secondTeamID","_ref101","_callee101","_context101","leagueID","_x83","_ref102","_callee102","_context102","_x84","getFaqs","_ref103","_callee103","_context103","getClientsFaqs","_ref104","_callee104","faqs","_context104","appearIn","setFAQanswer","_ref105","_callee105","answer","answerInArrabic","_context105","_x85","_x86","_x87","updateFAQ","_ref106","_callee106","_context106","_x88","_x89","deleteFAQ","_ref107","_callee107","_context107","_x90","updateFaq","_ref108","_callee108","question","questionInArrabic","_context108","_x91","_x92","_x93","addFaq","_ref109","_callee109","_context109","time","_x94","_x95","addMembershipReq","_ref110","_callee110","_context110","addNotificationForAdmin","_x96","_x97","getMembershipReq","_ref111","_callee111","_context111","approveReqHandler","_ref112","_callee112","venueRef","venuePortal","_context112","venueName","mangerPhoneNumber","paymentFrequency","_x98","changeSubscriptionOfPortal","_ref113","_callee113","bundle","_context113","_x99","_x100","getVenueForDeletion","_ref114","_callee114","_context114","_x101","sendMessageToVenueHandler","_ref115","_callee115","_context115","_x102","_x103","addCreditToVenueHandler","_ref116","_callee116","credit","_context116","parseInt","_x104","_x105","updateToken","_ref117","_callee117","token","_context117","deviceTokens","_x106","_x107","deleteAdminMessageInPortal","_ref118","_callee118","_context118","_x108","getAdminMessages","_ref119","_callee119","_context119","_x109","getEvents","_ref120","_callee120","events","reslt","_context120","createEvent","_ref121","_callee121","_context121","_x110","_x111","updateEvent","_ref122","_callee122","_context122","_x112","_x113","_x114","_x115","deleteEvent","_ref123","_callee123","_context123","_x116","_ref124","_callee124","route","_context124","isRead","_x117","_x118","addNotificationForVenue","_ref125","_callee125","_context125","venueid","_x119","_x120","_x121","getUser","_ref127","_callee127","_context127","_x125","getAllTokens","_ref128","_callee128","_context128","_x126","getUserToken","_ref129","_callee129","_context129","_x127","sendNotificationToUsers","_ref130","_callee130","headers","requestBody","response","_context130","Authorization","concat","Content-Type","app_id","include_player_ids","tokens","contents","en","body","heading","ios_badgeType","ios_badgeCount","subtitle","title","custom_data","axios","post","console","log","statusText","t0","error","_x128","sendNotificationToUser","_ref131","_callee131","msg","notibody","_context131","_x129","_x130","uploadLocale","_ref133","_callee133","locale","_context133","englishLocale","arrabicLocale","_x132","_x133","getLocale","_ref134","_callee134","_context134","SUBSCRIPTIONS_PACKAGES","TIMINGS","TIMINGS_DATA","days","getMonthDates","CHANNELS","getSubscriptions","getContactTypes","COUNTRIES","userStatus","userStatusforStandard","userStatusforPremium","foodsVarities","downloadExcel","getCurrentDate","checkPastDate","months","FILTER_NOTIFICATIONS_CATEGORIES","file_saver__WEBPACK_IMPORTED_MODULE_0__","sheetjs_style__WEBPACK_IMPORTED_MODULE_1__","sheetjs_style__WEBPACK_IMPORTED_MODULE_1___default","n","BASIC","STANDARD","PREMIUM","dayNames","eng","ar","currentDate","futureTwentyNineDate","futureTwentyEightDate","futureTwentySevenDate","futureTwentysixDate","futureTwentyfiveDate","futureTwentfourDate","futureTwentythreeDate","futureTwentytwoDate","futureTwentyoneDate","futureTwentyDate","futureNineteenDate","futureEighteenDate","futureSeventeenDate","futureSixteenDate","futureFifteenDate","futurefourteenDate","futureThriteenDate","futureTwelveDate","futureElevenDate","futureTenDate","futureNineDate","futureEightDate","futureSevenDate","futureSixDate","futureFiveDate","futureFourDate","futureThreeDate","futureTwoDate","futureOneDate","date","fullDate","day","getDay","label","value","subscription_basic","subscription_standard","subscription_premium","portal_subscription_request_option_inquiry","portal_subscription_request_option_request","portal_subscription_request_option_complain","portal_subscription_request_option_suggest","startTime","endTime","arrabic","sheetName","wb","XLSX","utils","book_new","wsData","json_to_sheet","book_append_sheet","excelBuffer","write","bookType","data1","Blob","FileSaver","getMonth","givenDate","setHours","react__WEBPACK_IMPORTED_MODULE_0__","react__WEBPACK_IMPORTED_MODULE_0___default","react_lottie_player__WEBPACK_IMPORTED_MODULE_1__","_spinner_json__WEBPACK_IMPORTED_MODULE_2__","Spinner","createElement","className","loop","animationData","SpinnerJSon","play","style","width","height","isMobileScreen","_useState","useState","window","innerWidth","_useState2","E_Infusible_Coder_FansSpot_local_node_modules_babel_preset_react_app_node_modules_babel_runtime_helpers_esm_slicedToArray__WEBPACK_IMPORTED_MODULE_0__","setWidth","handleWindowSizeChange","useEffect","addEventListener","removeEventListener","exports","d1","d2","t2","t1","inWeeks","inHours","deltaHours","abs","deltaMinuts","deltaDays","floor","hours","minutes","inMonths","d1Y","d2Y","d1M","inYears","convert","constructor","Array","Number","String","year","month","NaN","inRange","start","end","isFinite","valueOf","calculateAge","birthday","dobDate","ageDifMs","ageDate","getUTCFullYear","monthNames","checkDateIsGreaterThanToday","q","c","qDate","cDate","qMonth","cMonth","module","p","Index","props","slicedToArray","isActive","setIsActive","_useState3","_useState4","notifications","setNotifications","navigate","useNavigate","_useStore","useStore","st","setLocale","onSnapshot","querySnapShot","forEach","asyncToGenerator","objectSpread","notificationClickedHandler","isAdmin","react_default","Navbar","expand","Brand","onClick","md","src","alt","Collapse","Nav","margin","onChange","e","target","enLocale","change_language","dist","to","AdminImage","Dropdown","Toggle","background","border","bi","Menu","maxHeight","overflow","Item","display","transition","marginTop","key","path","location","pathname","padding","Icon","logoutHandler","logout","children","VenuePortals","lazy","Promise","all","then","bind","default","Countries","CountryForm","Clubs","ClubForm","Matches","MatchForm","Teams","TeamForm","Restaurants","AddRestaurant","Users","VenuesSuggestions","PortalForm","UserForm","Support","Settings","Predictions","Ultras","FAQS","VenueStats","MembershipRequests","Dashboard","Login","Notifications","SIDEBAR_LINKS","fa","tb","ri","io","io5","AdminRoutes","admin","setData","state","isAdminPortal","setIsmAdminPortal","getData","AdminRoutes_regeneratorRuntime","AdminSidebar","confirm","removeItem","replace","react","fallback","react_router_dist","element","isVenuePortal","setIsVenuePortal","isMobile","setLanguage","_useState5","_useState6","sidebar_regeneratorRuntime","checkActive","clickHandler","aria-controls","dashboard","profile","fixtures","reviews","table_booking_managment","social_managment","offers","statistics","membership","contact_us","inbox","settings","Profile","Register","ForgotPassword","Fixtures","AdminMessages","TableManagement","Offers","OfferForm","SocialManagement","SocialManagment","Reviews","Memberships","ContactUs","Statistics","PortalRoutes","sidebar","are_you_sure_to_logout","PortalRoutes_Dashboard","PortalRoutes_Settings","PortalRoutes_Login","Landing","Buisness","Pricing","ClientRoutes","appLocale","_React$useState","React","_React$useState2","loading","setLoading","setAppLocale","catch","err","routes_ClientRoutes","routes_PortalRoutes","routes_AdminRoutes","App","routes","react_toastify_esm","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","ReactDOM","createRoot","document","getElementById","render","Fragment","src_App","store","create","activeLanguage","setUsers","language","deleteVenue","editVenue","portalCopy","index","addVenue"],"mappings":"0FAAAA,EAAAC,EAAAC,EAAA,sBAAAC,IAAAH,EAAAC,EAAAC,EAAA,sBAAAE,IAAAJ,EAAAC,EAAAC,EAAA,sBAA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EvgB,QAASugB,EAAMvgB,QAAQ3T,OAAO,SAACzR,GAAD,OAAUA,EAAKwG,SAAW5G,SAI9D8rC,UAAW,SAAC7rC,GACV0I,EAAI,SAACo9B,GACH,IAAMgG,EAAUvrC,OAAAgI,EAAA,EAAAhI,CAAOulC,EAAMvgB,SACvBwmB,EAAQD,EAAW5rC,UAAU,SAACC,GAAD,OAAUA,EAAKwG,SAAW3G,EAAK2G,SAIlE,OAHIolC,GAAS,IACXD,EAAWC,GAAS/rC,GAEfO,OAAAkF,EAAA,EAAAlF,CAAA,GACFulC,EADL,CAEEvgB,QAASumB,OAIfE,SAAU,SAAChsC,GACT0I,EAAI,SAACo9B,GACH,IAAMgG,EAAUvrC,OAAAgI,EAAA,EAAAhI,CAAOulC,EAAMvgB,SAE7B,OADAumB,EAAWlyB,KAAK5Z,GACTO,OAAAkF,EAAA,EAAAlF,CAAA,GACFulC,EADL,CAEEvgB,QAASumB,UAMFP,0BCvFfjM,EAAA9C,QAAiB59B,EAAA2gC,EAAuB,sDCAxCD,EAAA9C,QAAiB59B,EAAA2gC,EAAuB","file":"static/js/main.017c2988.chunk.js","sourcesContent":["import firebase from \"firebase/compat/app\";\r\nimport \"firebase/compat/auth\";\r\nimport \"firebase/compat/firestore\";\r\nimport \"firebase/compat/storage\";\r\nimport \"firebase/compat/analytics\";\r\n\r\nconst firebaseConfig = {\r\n apiKey: \"AIzaSyBCH3Pf_JOZFZ3htX5vR-vPRj83DR5nu_Q\",\r\n authDomain: \"fanspot-a4a50.firebaseapp.com\",\r\n projectId: \"fanspot-a4a50\",\r\n storageBucket: \"fanspot-a4a50.appspot.com\",\r\n messagingSenderId: \"376274774396\",\r\n appId: \"1:376274774396:web:af4b2a4cf2211a81115cf9\",\r\n measurementId: \"G-7831WN1947\"\r\n};\r\n// Initialize Firebase\r\nfirebase.initializeApp(firebaseConfig);\r\nexport const analytics = firebase.analytics();\r\nexport const auth = firebase.auth();\r\nexport const firestore = firebase.firestore();\r\nexport const storageRef = firebase.storage();\r\n","import { SUBSCRIPTIONS, WORKING_HOURS } from \"../utils/data\";\r\nimport { DateDifference } from \"../utils/date\";\r\nimport { auth, firestore, storageRef } from \"./config\";\r\nimport axios from 'axios';\r\n\r\nconst getCountryOrClub = (id, data) => {\r\n const i = data.findIndex((item) => item.docId === id);\r\n return data[i];\r\n};\r\n\r\nexport const uploadEmailFromAuth = async (email, newEmail, pass) => {\r\n const userCredential = await auth.signInWithEmailAndPassword(email, pass);\r\n await userCredential.user.updateEmail(newEmail);\r\n};\r\nexport const uploadPDF = async (image) => {\r\n const uid = Date.now();\r\n const storageRefrence = storageRef.ref(\"/Fanspot/menue\").child(\"/\" + uid + \".pdf\");\r\n const uploadedFile = await storageRefrence.put(image);\r\n const imageUrl = await uploadedFile.ref.getDownloadURL();\r\n return imageUrl;\r\n};\r\nexport const uploadFile = async (image) => {\r\n const uid = Date.now();\r\n const storageRefrence = storageRef.ref(\"/Fanspot\").child(\"/\" + uid + \".png\");\r\n const uploadedFile = await storageRefrence.put(image);\r\n const imageUrl = await uploadedFile.ref.getDownloadURL();\r\n return imageUrl;\r\n};\r\n\r\nexport const loginAdmin = async (data) => {\r\n const authRes = await auth.signInWithEmailAndPassword(\r\n data.email,\r\n data.password\r\n );\r\n const res = await firestore\r\n .collection(\"admins\")\r\n .doc(authRes.user.uid)\r\n .get();\r\n if (!res.exists) {\r\n alert(\"Invalid Admin\");\r\n return false;\r\n }\r\n sessionStorage.setItem(\"fanspot-admin\", JSON.stringify(res.data()));\r\n return true;\r\n};\r\nexport const loginVenuePortal = async (data) => {\r\n const authRes = await auth.signInWithEmailAndPassword(\r\n data.email,\r\n data.password\r\n );\r\n // if (!authRes.user.emailVerified) {\r\n // alert(\r\n // \"Your email isn't verified, please open your mail and verify your account!\"\r\n // );\r\n // return false;\r\n // }\r\n const res = await firestore\r\n .collection(\"venuePortals\")\r\n .doc(authRes.user.uid)\r\n .get();\r\n if (!res.exists) {\r\n alert(\"Invalid Credentials\");\r\n return false;\r\n }\r\n if (!res.data().status) {\r\n alert(\"Your account is blocked from admin.\");\r\n return false;\r\n }\r\n if (res.data().isDeleted) {\r\n alert(\"Your account is Deleted.\");\r\n return false;\r\n }\r\n const venueData = res.data();\r\n if (\r\n DateDifference.inDays(\r\n new Date(),\r\n venueData.subscriptionExpiryDate\r\n ? new Date(venueData.subscriptionExpiryDate)\r\n : new Date()\r\n ) <= 0\r\n ) {\r\n const collectionRef = firestore\r\n .collection(\"venuePortals\")\r\n .doc(authRes.user.uid);\r\n let subscriptionExpiryDate = new Date();\r\n const subscriptionBundle = SUBSCRIPTIONS[0].name;\r\n const subscriptions = [SUBSCRIPTIONS[0].name];\r\n subscriptionExpiryDate = new Date(\r\n subscriptionExpiryDate.setFullYear(\r\n subscriptionExpiryDate.getFullYear() + 1\r\n )\r\n ).toLocaleDateString();\r\n await collectionRef.update({\r\n subscriptionExpiryDate,\r\n subscriptions,\r\n subscriptionBundle,\r\n });\r\n sessionStorage.setItem(\r\n \"fanspot-portal\",\r\n JSON.stringify({\r\n ...venueData,\r\n subscriptionExpiryDate,\r\n subscriptions,\r\n subscriptionBundle,\r\n })\r\n );\r\n return true;\r\n } else {\r\n sessionStorage.setItem(\"fanspot-portal\", JSON.stringify(res.data()));\r\n return true;\r\n }\r\n};\r\n\r\nexport const registerVenuePortal = async (data, isAddedByAdmin = false) => {\r\n const accDetailsRef = firestore\r\n .collection(\"venuePortals\")\r\n .where(\"email\", \"==\", data.email);\r\n let accDetails = await accDetailsRef.get();\r\n if (accDetails.docs.length > 0) {\r\n const data = accDetails.docs[0].data();\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(data.userId)\r\n .update({\r\n isDeleted: false,\r\n adminVerified: false,\r\n subscriptionBundle: \"Basic\",\r\n subscriptions: [\"Basic\"],\r\n });\r\n alert(\r\n \"Your account was already registered, we activate your account and now you can login. \"\r\n );\r\n } else {\r\n // Register\r\n const authRes = await auth.createUserWithEmailAndPassword(\r\n data.email,\r\n data.password\r\n );\r\n await authRes.user.sendEmailVerification();\r\n const ref = firestore.collection(\"venuePortals\").doc(authRes.user.uid);\r\n delete data[\"confirmPassword\"];\r\n let dataCopy = { ...data };\r\n if (!isAddedByAdmin) {\r\n dataCopy = {\r\n ...data,\r\n venuePhoneNumber: \"\",\r\n website: \"\",\r\n menue: null,\r\n facebookLink: \"\",\r\n instagramLink: \"\",\r\n twitterLink: \"\",\r\n snapchatLink: \"\",\r\n numberOfScreens: 1,\r\n wifi: false,\r\n commentry: false,\r\n projector: false,\r\n servesFood: false,\r\n outdoorSeating: false,\r\n tableBooking: false,\r\n shisha: false,\r\n privateRoom: false,\r\n servesCofee: false,\r\n seatBooking: false,\r\n workingHours: WORKING_HOURS,\r\n logo: null,\r\n pictures: [],\r\n };\r\n } else {\r\n dataCopy = {\r\n ...data,\r\n venuePhoneNumber: \"\",\r\n website: \"\",\r\n menue: null,\r\n facebookLink: \"\",\r\n instagramLink: \"\",\r\n twitterLink: \"\",\r\n snapchatLink: \"\",\r\n numberOfScreens: 1,\r\n wifi: false,\r\n commentry: false,\r\n projector: false,\r\n servesFood: false,\r\n outdoorSeating: false,\r\n tableBooking: false,\r\n shisha: false,\r\n privateRoom: false,\r\n servesCofee: false,\r\n seatBooking: false,\r\n workingHours: WORKING_HOURS,\r\n isTrialReqTaken: false,\r\n };\r\n }\r\n if (dataCopy.logo && dataCopy.logo.size) {\r\n dataCopy.logo = await uploadFile(dataCopy.logo);\r\n }\r\n let picsCopy = [];\r\n if (dataCopy.pictures && dataCopy.pictures.length) {\r\n picsCopy = [...dataCopy.pictures];\r\n for (let i = 0; i < dataCopy.pictures.length; i++) {\r\n const item = picsCopy[i];\r\n if (item.image.size) {\r\n const url = await uploadFile(item.image);\r\n picsCopy[i] = {\r\n image: url,\r\n id: Math.random(),\r\n };\r\n }\r\n }\r\n }\r\n dataCopy.pictures = picsCopy;\r\n await ref.set({ ...dataCopy, userId: authRes.user.uid });\r\n\r\n sessionStorage.setItem(\r\n \"fanspot-portal\",\r\n JSON.stringify({ ...dataCopy, userId: authRes.user.uid })\r\n );\r\n return { ...dataCopy, userId: authRes.user.uid };\r\n }\r\n};\r\nexport const uploadToDb = async (results) => {\r\n await firestore\r\n .collection(\"settings\")\r\n .doc(\"settings\")\r\n .set({\r\n resgions: results,\r\n });\r\n};\r\nexport const getRegions = async () => {\r\n const res = await firestore\r\n .collection(\"settings\")\r\n .doc(\"settings\")\r\n .get();\r\n return res.data();\r\n};\r\nexport const adminUpdatedVenuePortal = async (data) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(data.userId);\r\n const dataCopy = { ...data };\r\n if (dataCopy.logo && dataCopy.logo.size) {\r\n dataCopy.logo = await uploadFile(dataCopy.logo);\r\n }\r\n let picsCopy = [];\r\n if (dataCopy.pictures) {\r\n picsCopy = [...dataCopy.pictures];\r\n for (let i = 0; i < dataCopy.pictures.length; i++) {\r\n const item = picsCopy[i];\r\n if (item.image.size) {\r\n const url = await uploadFile(item.image);\r\n picsCopy[i] = {\r\n image: url,\r\n id: Math.random(),\r\n };\r\n }\r\n }\r\n }\r\n dataCopy.pictures = picsCopy;\r\n await ref.update(dataCopy);\r\n};\r\nexport const updatedVenuePortalImages = async (data) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(data.userId);\r\n const dataCopy = { ...data };\r\n if (dataCopy.logo && dataCopy.logo.size) {\r\n dataCopy.logo = await uploadFile(dataCopy.logo);\r\n }\r\n let picsCopy = [];\r\n if (dataCopy.pictures) {\r\n picsCopy = [...dataCopy.pictures];\r\n for (let i = 0; i < dataCopy.pictures.length; i++) {\r\n const item = picsCopy[i];\r\n if (item.image.size) {\r\n const url = await uploadFile(item.image);\r\n picsCopy[i] = {\r\n image: url,\r\n id: Math.random(),\r\n };\r\n }\r\n }\r\n }\r\n dataCopy.pictures = picsCopy;\r\n await ref.update(dataCopy);\r\n const user = await ref.get();\r\n sessionStorage.setItem(\"fanspot-portal\", JSON.stringify(user.data()));\r\n};\r\n\r\nexport const updatedVenuePortalInfo = async (data) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(data.userId);\r\n const dataCopy = { ...data };\r\n if (dataCopy.menue && dataCopy.menue.size) {\r\n if (dataCopy.menue.type.includes(\"application/pdf\")) {\r\n dataCopy.menue = await uploadPDF(dataCopy.menue);\r\n } else {\r\n dataCopy.menue = await uploadFile(dataCopy.menue);\r\n }\r\n }\r\n await ref.update(dataCopy);\r\n const user = await ref.get();\r\n sessionStorage.setItem(\"fanspot-portal\", JSON.stringify(user.data()));\r\n};\r\nexport const updatedVenuePortalFeatures = async (data) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(data.userId);\r\n const dataCopy = { ...data };\r\n delete dataCopy[\"menue\"];\r\n delete dataCopy[\"logo\"];\r\n delete dataCopy[\"pictures\"];\r\n await ref.update(dataCopy);\r\n const user = await ref.get();\r\n sessionStorage.setItem(\"fanspot-portal\", JSON.stringify(user.data()));\r\n};\r\n\r\nexport const verifyUser = async (id, status) => {\r\n await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(id)\r\n .update({ isVerified: status });\r\n};\r\nexport const bookingBlock = async (id, status) => {\r\n await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(id)\r\n .update({ bookingBlock: status });\r\n};\r\nexport const verifyPortal = async (id, status) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({ adminVerified: status });\r\n};\r\nexport const blockPortalHandler = async (id, status) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({ status });\r\n};\r\nexport const getUnverifiedPortals = async () => {\r\n const ref = firestore\r\n .collection(\"venuePortals\")\r\n .where(\"adminVerified\", \"==\", false);\r\n const res = await ref.get();\r\n return res.docs.map((item) => ({ ...item.data(), docId: item.id }));\r\n};\r\nexport const getVerifiedPortals = async () => {\r\n const ref = firestore.collection(\"venuePortals\");\r\n const res = await ref.get();\r\n const countries = await getCountries();\r\n const verified = [];\r\n for (let i = 0; i < res.docs.length; i++) {\r\n const item = res.docs[i].data();\r\n item.country = getCountryOrClub(item.country, countries);\r\n if (item.adminVerified) {\r\n verified.push(item);\r\n }\r\n }\r\n return verified;\r\n};\r\nexport const getPortals = async () => {\r\n const ref = firestore.collection(\"venuePortals\");\r\n const res = await ref.get();\r\n const unVerified = [];\r\n const verified = [];\r\n for (let i = 0; i < res.docs.length; i++) {\r\n const item = res.docs[i].data();\r\n if (!item.adminVerified) {\r\n unVerified.push(item);\r\n } else {\r\n verified.push(item);\r\n }\r\n }\r\n return {\r\n unVerified,\r\n verified,\r\n };\r\n};\r\nexport const getVenueByEmail = async (email) => {\r\n const ref = firestore.collection(\"venuePortals\").where(\"email\", '==', email);\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data())[0];\r\n};\r\nexport const deletePortalMenue = async (id, menue) => {\r\n await storageRef.refFromURL(menue).delete();\r\n await firestore.collection(\"venuePortals\").doc(id).update({ menue: null });\r\n};\r\nexport const updateVenuePass = async (id, password) => {\r\n await firestore.collection(\"venuePortals\").doc(id).update({ password });\r\n};\r\nexport const getAllPortals = async () => {\r\n const ref = firestore.collection(\"venuePortals\");\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\n\r\nexport const getCountries = async () => {\r\n const ref = firestore.collection(\"countries\");\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\n\r\nexport const registerCountry = async (data) => {\r\n const ref = firestore.collection(\"countries\").doc();\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\n\r\nexport const updateCountry = async (data) => {\r\n const ref = firestore.collection(\"countries\").doc(data.id);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteCountry = async (id) => {\r\n await firestore\r\n .collection(\"countries\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const getLeagues = async () => {\r\n const ref = firestore.collection(\"clubs\");\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\nexport const getClubss = async () => {\r\n const ref = firestore.collection(\"clubs\").orderBy('sortIndex');\r\n const res = await ref.get();\r\n const countries = await getCountries();\r\n\r\n return res.docs.map((item) => ({\r\n ...item.data(),\r\n country: getCountryOrClub(item.data().countryId, countries),\r\n }));\r\n};\r\n\r\nexport const registerClub = async (data) => {\r\n const ref = firestore.collection(\"clubs\").doc();\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\n\r\nexport const updateClub = async (data) => {\r\n const ref = firestore.collection(\"clubs\").doc(data.id);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteClub = async (id) => {\r\n await firestore\r\n .collection(\"clubs\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const approveRestReq = async (id, offerReq) => {\r\n await firestore\r\n .collection(\"restaurantCollection\")\r\n .doc(id)\r\n .update({ offerReq });\r\n};\r\nexport const getAllTeams = async () => {\r\n const ref = firestore.collection(\"teams\");\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\nexport const getTeams = async () => {\r\n const ref = firestore.collection(\"teams\");\r\n const res = await ref.get();\r\n const clubs = await getClubss();\r\n\r\n return res.docs.map((item) => ({\r\n ...item.data(),\r\n countryOrClub: getCountryOrClub(item.data().countryOrClubId, clubs),\r\n }));\r\n};\r\nexport const getTeamsAndClubsForMatches = async () => {\r\n let countries = [];\r\n let clubs = [];\r\n const res = await getTeams();\r\n const allClubs = await getClubss();\r\n countries = res.filter((item) => item.isNationalTeam);\r\n clubs = res.filter((item) => !item.isNationalTeam);\r\n\r\n return { countries, clubs, allClubs };\r\n};\r\n\r\nexport const getAllLeagues = async () => {\r\n const ref = await firestore.collection(\"clubs\").get();\r\n const teamsRef = await firestore.collection(\"teams\").get();\r\n return {\r\n leagues: ref.docs.map((item) => item.data()).sort((a, b) => a.name.localeCompare(b.name)),\r\n teams: teamsRef.docs.map((item) => item.data()).sort((a, b) => a.name.localeCompare(b.name)),\r\n };\r\n};\r\n\r\nexport const getTeamsAndClubs = async () => {\r\n const countries = await getCountries();\r\n const allClubs = await getClubss();\r\n\r\n return { countries, clubs: allClubs, allClubs };\r\n};\r\n\r\nexport const registerTeam = async (data) => {\r\n const ref = firestore.collection(\"teams\").doc();\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\n\r\nexport const updateteam = async (data) => {\r\n const ref = firestore.collection(\"teams\").doc(data.id);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteTeam = async (id) => {\r\n await firestore\r\n .collection(\"teams\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getAllMatches = async () => {\r\n const ref = firestore.collection(\"matches\");\r\n const res = await ref.get();\r\n const result = await getTeamsAndClubsForMatches();\r\n\r\n const matches = res.docs.map((item) => {\r\n return {\r\n ...item.data(),\r\n firstTeam: getCountryOrClub(\r\n item.data().firstTeamId,\r\n item.data().isNationalMatch ? result.countries : result.clubs\r\n ),\r\n secondTeam: getCountryOrClub(\r\n item.data().secondTeamId,\r\n item.data().isNationalMatch ? result.countries : result.clubs\r\n ),\r\n };\r\n });\r\n return matches;\r\n};\r\nexport const getMatches = async () => {\r\n const ref = firestore.collection(\"matches\");\r\n const res = await ref.get();\r\n const leaguesRef = await firestore.collection(\"clubs\").get();\r\n const teamsRef = await firestore.collection(\"teams\").get();\r\n const leagues = leaguesRef.docs.map((it) => it.data());\r\n const teams = teamsRef.docs.map((it) => it.data());\r\n return res.docs.map((item) => ({\r\n ...item.data(),\r\n league: leagues.find((it) => it.docId === item.data().clubId),\r\n firstTeam: teams.find((it) => it.docId === item.data().firstTeamId),\r\n secondTeam: teams.find((it) => it.docId === item.data().secondTeamId),\r\n }));\r\n};\r\n\r\nexport const updateReservation = async (id, reservations) => {\r\n const ref = firestore.collection(\"matches\").doc(id);\r\n await ref.update({ reservations });\r\n};\r\n\r\nexport const registerMatch = async (data) => {\r\n const ref = firestore.collection(\"matches\").doc();\r\n await ref.set({ ...data, docId: ref.id, reservations: [] });\r\n};\r\n\r\nexport const updateMatch = async (data) => {\r\n const ref = firestore.collection(\"matches\").doc(data.id);\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteMatch = async (id) => {\r\n await firestore\r\n .collection(\"matches\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getRestaurants = async () => {\r\n const ref = firestore.collection(\"restaurantCollection\");\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\n\r\nexport const addRestaurant = async (data) => {\r\n const ref = firestore.collection(\"restaurantCollection\").doc();\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n\r\n let picsCopy = [];\r\n if (data.images) {\r\n picsCopy = [...data.images];\r\n for (let i = 0; i < data.images.length; i++) {\r\n const item = picsCopy[i];\r\n if (item.image.size) {\r\n const url = await uploadFile(item.image);\r\n picsCopy[i] = {\r\n image: url,\r\n id: Math.random(),\r\n };\r\n }\r\n }\r\n }\r\n data.images = picsCopy;\r\n\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\n\r\nexport const updateRestaurant = async (data) => {\r\n const ref = firestore.collection(\"restaurantCollection\").doc(data.docId);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n let picsCopy = [];\r\n if (data.images) {\r\n picsCopy = [...data.images];\r\n for (let i = 0; i < data.images.length; i++) {\r\n const item = picsCopy[i];\r\n if (item.image.size) {\r\n const url = await uploadFile(item.image);\r\n picsCopy[i] = {\r\n image: url,\r\n id: Math.random(),\r\n };\r\n }\r\n }\r\n }\r\n data.images = picsCopy;\r\n await ref.update(data);\r\n};\r\n\r\nexport const getHomeData = async () => {\r\n const matches = await getMatches();\r\n const vanuues = await getVerifiedPortals();\r\n return { matches, vanuues };\r\n};\r\n\r\nexport const deleteRestaurant = async (id) => {\r\n await firestore\r\n .collection(\"restaurantCollection\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getOffers = async () => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = firestore\r\n .collection(\"offersCollection\")\r\n .where(\"venueID\", \"==\", portal.userId);\r\n const res = await ref.get();\r\n return res.docs.map((item) => item.data());\r\n};\r\n\r\nexport const addOffer = async (data) => {\r\n const ref = firestore.collection(\"offersCollection\").doc();\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.set({ ...data, docID: ref.id });\r\n};\r\n\r\nexport const updateOffer = async (data) => {\r\n const ref = firestore.collection(\"offersCollection\").doc(data.docID);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteOffer = async (id) => {\r\n await firestore\r\n .collection(\"offersCollection\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getTableBookings = async () => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const settingref = await firestore\r\n .collection(\"tableBookingManagement\")\r\n .doc(portal.userId)\r\n .get();\r\n const ref = firestore\r\n .collection(\"bookingCollection\")\r\n .where(\"venueID\", \"==\", portal.userId);\r\n const res = await ref.get();\r\n const bookings = [];\r\n for (let i = 0; i < res.docs.length; i++) {\r\n const item = res.docs[i].data();\r\n const match = await getMatch(item.matchId);\r\n const user = await getSingleUSer(item.userID);\r\n bookings.push({\r\n ...item,\r\n match: match,\r\n user,\r\n });\r\n }\r\n return {\r\n bookings,\r\n setting: settingref.data(),\r\n };\r\n};\r\n\r\nexport const getUltrasBookings = async () => {\r\n const ref = firestore\r\n .collection(\"ultraBookingCollection\");\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\nexport const getVisitedVenues = async () => {\r\n const ref = firestore\r\n .collection(\"venueVisitCollection\");\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\nexport const getRecentReviews = async () => {\r\n const today = new Date();\r\n const tenDaysAgo = new Date();\r\n tenDaysAgo.setDate(today.getDate() - 10);\r\n const ref = firestore\r\n .collection(\"ratingReviewCollection\")\r\n .where(\"time\", \">\", tenDaysAgo.getTime());\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\nexport const getUpcommingBooking = async () => {\r\n const ref = firestore\r\n .collection(\"bookingCollection\")\r\n .where(\"time\", \">\", new Date().getTime());\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\nexport const getAllOffers = async () => {\r\n const ref = firestore\r\n .collection(\"offersCollection\");\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\nexport const getBookings = async () => {\r\n const ref = firestore\r\n .collection(\"bookingCollection\");\r\n const res = await ref.get();\r\n return res.docs.map((it) => it.data())\r\n}\r\n\r\nconst getMatch = async (id) => {\r\n const ref = await firestore\r\n .collection(\"matches\")\r\n .doc(id)\r\n .get();\r\n if (!ref.data()) return null;\r\n const firstTeam = await firestore\r\n .collection(\"teams\")\r\n .doc(ref.data().firstTeamId)\r\n .get();\r\n const secondTeam = await firestore\r\n .collection(\"teams\")\r\n .doc(ref.data().secondTeamId)\r\n .get();\r\n return {\r\n ...ref.data(),\r\n firstTeam: firstTeam.data(),\r\n secondTeam: secondTeam.data(),\r\n };\r\n};\r\n\r\nexport const getDashboardData = async () => {\r\n const ref = firestore.collection(\"venuePortals\");\r\n const res = await ref.get();\r\n const ref1 = firestore.collection(\"fanspotUserCollection\");\r\n const res1 = await ref1.get();\r\n return {\r\n venues: res.docs.map((item) => item.data()),\r\n users: res1.docs.map((item) => item.data()),\r\n };\r\n};\r\n\r\nexport const registerUser = async (values) => {\r\n const authRef = await auth.createUserWithEmailAndPassword(\r\n values.email,\r\n values.password\r\n );\r\n if (values.image && values.image.size) {\r\n values.image = await uploadFile(values.image);\r\n }\r\n const ref1 = firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(authRef.user.uid);\r\n\r\n await ref1.set({ ...values, userID: authRef.user.uid });\r\n sessionStorage.setItem(\r\n \"fanspot-user\",\r\n JSON.stringify({ ...values, userID: authRef.user.uid })\r\n );\r\n};\r\n\r\nexport const loginUser = async (data) => {\r\n const authRes = await auth.signInWithEmailAndPassword(\r\n data.email,\r\n data.password\r\n );\r\n const res = await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(authRes.user.uid)\r\n .get();\r\n if (!res.exists) {\r\n alert(\"Invalid User\");\r\n return false;\r\n }\r\n if (!res.data().status) {\r\n alert(\"Your acccound is blocked from admin.\");\r\n return false;\r\n }\r\n sessionStorage.setItem(\"fanspot-user\", JSON.stringify(res.data()));\r\n return true;\r\n};\r\n\r\nexport const tablebookingSetting = async (data) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = firestore.collection(\"tableBookingManagement\").doc(portal.userId);\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\n\r\nexport const getReviews = async (data) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = await firestore\r\n .collection(\"ratingReviewCollection\")\r\n .where(\"giveToID\", \"==\", portal.userId)\r\n .get();\r\n\r\n const res = [];\r\n for (let i = 0; i < ref.docs.length; i++) {\r\n const item = ref.docs[i];\r\n const userref = await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(item.data().giveByID)\r\n .get();\r\n res.push({\r\n ...item.data(),\r\n user: userref.data(),\r\n });\r\n }\r\n return res;\r\n};\r\n\r\nexport const setReviewReply = async (id, reply) => {\r\n await firestore\r\n .collection(\"ratingReviewCollection\")\r\n .doc(id)\r\n .update({ reply });\r\n};\r\nexport const getVenueSuggestions = async () => {\r\n const res = await firestore.collection(\"missingVenueCollection\").get();\r\n return res.docs.map((item) => item.data());\r\n};\r\nexport const submitMessageToUser = async (id, reply) => {\r\n await firestore\r\n .collection(\"missingVenueCollection\")\r\n .doc(id)\r\n .update({ reply });\r\n};\r\nexport const deleteSuggestion = async (id) => {\r\n await firestore\r\n .collection(\"missingVenueCollection\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const suggestionHandlerInDb = async (id, data) => {\r\n await firestore\r\n .collection(\"matches\")\r\n .doc(id)\r\n .update({ ...data });\r\n};\r\nexport const updateAccountSetting = async (data) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const upportal = { ...portal, ...data };\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(portal.userId)\r\n .update({ ...data });\r\n sessionStorage.setItem(\"fanspot-portal\", JSON.stringify(upportal));\r\n};\r\nexport const sendPassMail = async (email) => {\r\n const ref = firestore.collection(\"venuePortals\").where(\"email\", '==', email);\r\n const res = await ref.get();\r\n if (res.docs.length < 1) {\r\n alert(\"There is no user with this email\");\r\n return false;\r\n } else {\r\n await auth.sendPasswordResetEmail(email);\r\n return true;\r\n };\r\n};\r\nexport const deleteAccountHandler = async (reason) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n await firestore\r\n .collection(\"deleteAccountReqs\")\r\n .doc(portal.userId)\r\n .set({ reason, isDeleted: false });\r\n};\r\nexport const rejectDeleteAccountReq = async (id) => {\r\n await firestore\r\n .collection(\"deleteAccountReqs\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const getDeleteAccountReq = async (id) => {\r\n const res = await firestore.collection(\"deleteAccountReqs\").get();\r\n return res.docs.map((it) => ({ id: it.id, ...it.data() }));\r\n};\r\nexport const deleteAccountReq = async (id, verifiedVenue) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({\r\n isDeleted: true,\r\n });\r\n if (!verifiedVenue) {\r\n await firestore\r\n .collection(\"deleteAccountReqs\")\r\n .doc(id)\r\n .update({\r\n isDeleted: true,\r\n });\r\n }\r\n};\r\n\r\nexport const addContactUs = async (data) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = firestore.collection(\"cotactUs\").doc();\r\n const createdDate = Date.now();\r\n await ref.set({\r\n ...data,\r\n docId: ref.id,\r\n venueId: portal.userId,\r\n createdDate,\r\n });\r\n};\r\nexport const getVenueContactUs = async (data) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = await firestore\r\n .collection(\"cotactUs\")\r\n .where(\"venueId\", \"==\", portal.userId)\r\n .get();\r\n return ref.docs\r\n .map((it) => it.data())\r\n .sort((a, b) => new Date(b.createdDate) - new Date(a.createdDate));\r\n};\r\nexport const deleteContactUs = async (id) => {\r\n await firestore\r\n .collection(\"cotactUs\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getContactUs = async () => {\r\n const ref = await firestore.collection(\"cotactUs\").get();\r\n return ref.docs.map((it) => it.data());\r\n};\r\nexport const placeOffer = async (data) => {\r\n const ref = firestore.collection(\"clientOffers\").doc();\r\n await ref.set({ ...data, docId: ref.id });\r\n};\r\nexport const getStatesData = async (portal) => {\r\n const checkref = await firestore\r\n .collection(\"checkInCollection\")\r\n .where(\"venueID\", \"==\", portal.userId)\r\n .get();\r\n const venueref = await firestore\r\n .collection(\"venueVisitCollection\")\r\n .where(\"venueID\", \"==\", portal.userId)\r\n .get();\r\n const venueMapref = await firestore\r\n .collection(\"venueMapVisitCollection\")\r\n .where(\"venueID\", \"==\", portal.userId)\r\n .get();\r\n const rateReviewref = await firestore\r\n .collection(\"ratingReviewCollection\")\r\n .where(\"giveToID\", \"==\", portal.userId)\r\n .get();\r\n const offerClaimedRef = await firestore\r\n .collection(\"offerClaimedCollection\")\r\n .where(\"venueID\", \"==\", portal.userId)\r\n .get();\r\n const searchRef = await firestore\r\n .collection(\"venueSearchCollection\")\r\n .where(\"venueID\", \"==\", portal.userId)\r\n .get();\r\n const venuebookingData = await getTableBookings();\r\n\r\n return {\r\n chekins: checkref.docs.map((item) => item.data()),\r\n venuesVisited: venueref.docs.map((item) => item.data()),\r\n venuesVisitedMap: venueMapref.docs.map((item) => item.data()),\r\n rateReviews: rateReviewref.docs.map((item) => item.data()),\r\n offerClaimed: offerClaimedRef.docs.map((item) => item.data()),\r\n venueSearch: searchRef.docs.map((item) => item.data()),\r\n bookings: venuebookingData.bookings,\r\n };\r\n};\r\nexport const getStatesForAdminData = async () => {\r\n const checkref = await firestore.collection(\"checkInCollection\").get();\r\n const bookingCollectionRef = await firestore\r\n .collection(\"bookingCollection\")\r\n .get();\r\n const venueref = await firestore.collection(\"venueVisitCollection\").get();\r\n const venueMapref = await firestore\r\n .collection(\"venueMapVisitCollection\")\r\n .get();\r\n const rateReviewref = await firestore\r\n .collection(\"ratingReviewCollection\")\r\n .get();\r\n const offerClaimedRef = await firestore\r\n .collection(\"offerClaimedCollection\")\r\n .get();\r\n const searchRef = await firestore.collection(\"venueSearchCollection\").get();\r\n\r\n return {\r\n chekins: checkref.docs.map((item) => item.data()),\r\n venuesVisited: venueref.docs.map((item) => item.data()),\r\n venuesVisitedMap: venueMapref.docs.map((item) => item.data()),\r\n rateReviews: rateReviewref.docs.map((item) => item.data()),\r\n offerClaimed: offerClaimedRef.docs.map((item) => item.data()),\r\n venueSearch: searchRef.docs.map((item) => item.data()),\r\n bookings: bookingCollectionRef.docs.map((item) => item.data()),\r\n };\r\n};\r\n\r\nexport const getUsers = async () => {\r\n const res = await firestore.collection(\"fanspotUserCollection\").get();\r\n return res.docs.map((item) => item.data());\r\n};\r\n\r\nexport const addUser = async (data) => {\r\n const accDetailsRef = firestore\r\n .collection(\"fanspotUserCollection\")\r\n .where(\"email\", \"==\", data.email);\r\n let accDetails = await accDetailsRef.get();\r\n if (accDetails.docs.length > 0) {\r\n const data = accDetails.docs[0].data();\r\n await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(data.userId)\r\n .update({\r\n isDeleted: false,\r\n });\r\n alert(\r\n \"This account was already registered, we activate this account and now you he/she can login. \"\r\n );\r\n } else {\r\n const authRes = await auth.createUserWithEmailAndPassword(\r\n data.email,\r\n data.password\r\n );\r\n const ref = firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(authRes.user.uid);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.set({ ...data, userID: ref.id });\r\n }\r\n};\r\n\r\nexport const updateUser = async (data) => {\r\n const ref = firestore.collection(\"fanspotUserCollection\").doc(data.userID);\r\n if (data.image && data.image.size) {\r\n data.image = await uploadFile(data.image);\r\n }\r\n await ref.update(data);\r\n};\r\n\r\nexport const deleteUser = async (id) => {\r\n await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(id)\r\n .update({ isDeleted: true });\r\n};\r\nexport const deleteVenue = async (id) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const deleteClientMessages = async (id) => {\r\n await firestore\r\n .collection(\"contactCollection\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const addUserMessage = async (values) => {\r\n const ref = firestore.collection(\"contactCollection\").doc();\r\n\r\n await ref.set({\r\n docID: ref.id,\r\n ...values,\r\n });\r\n};\r\nexport const deletePortalMessageInDB = async (id) => {\r\n await firestore\r\n .collection(\"cotactUs\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const getClientMessages = async () => {\r\n const ref = await firestore.collection(\"contactCollection\").get();\r\n const ref1 = await firestore.collection(\"cotactUs\").get();\r\n return {\r\n users: ref.docs.map((it) => it.data()),\r\n portals: ref1.docs.map((it) => it.data()),\r\n };\r\n};\r\nexport const getPortalMessage = async () => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const ref = await firestore\r\n .collection(\"cotactUs\")\r\n .doc(portal.userId)\r\n .get();\r\n return ref.data();\r\n};\r\nexport const submitSupportMessageToUser = async (id, message, collection) => {\r\n await firestore\r\n .collection(collection)\r\n .doc(id)\r\n .update({ message });\r\n};\r\nexport const getPredictions = async () => {\r\n const ref = await firestore.collection(\"predictionCollection\").get();\r\n return ref.docs.map((it) => it.data())\r\n}\r\nexport const getClientPredictions = async () => {\r\n const ref = await firestore.collection(\"predictionCollection\").get();\r\n const teams = await getTeams();\r\n const matches = [];\r\n for (let i = 0; i < ref.docs.length; i++) {\r\n const item = ref.docs[i];\r\n const match = await getSingleMatch(item.data().matchID);\r\n const user = await getSingleUSer(item.data().userID);\r\n matches.push({\r\n ...item.data(),\r\n match,\r\n user,\r\n firstTeam: getTeam(item.data().firstTeamID, teams),\r\n secondTeam: getTeam(item.data().secondTeamID, teams),\r\n });\r\n }\r\n return matches;\r\n};\r\n\r\nconst getTeam = (id, teams) => {\r\n const i = teams.findIndex((it) => it.docId === id);\r\n return teams[i];\r\n};\r\nconst getSingleMatch = async (id) => {\r\n const ref = await firestore\r\n .collection(\"matches\")\r\n .doc(id)\r\n .get();\r\n const match = ref.data();\r\n let league = null;\r\n if (match) {\r\n const ref1 = await firestore\r\n .collection(\"clubs\")\r\n .doc(match.leagueID)\r\n .get();\r\n league = ref1.data();\r\n }\r\n return match && { ...match, league };\r\n};\r\nconst getSingleUSer = async (id) => {\r\n const ref = await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .doc(id)\r\n .get();\r\n return ref.data();\r\n};\r\n\r\nexport const getFaqs = async () => {\r\n const ref = await firestore.collection(\"faqCollection\").get();\r\n return ref.docs.map((item) => item.data());\r\n};\r\n\r\nexport const getClientsFaqs = async () => {\r\n const ref = await firestore.collection(\"faqCollection\").get();\r\n\r\n const faqs = ref.docs.map((it) => it.data());\r\n return faqs.filter(\r\n (item) => item.appearIn === \"Both\" || item.appearIn === \"Portal\"\r\n );\r\n};\r\nexport const setFAQanswer = async (id, answer, answerInArrabic) => {\r\n await firestore\r\n .collection(\"faqCollection\")\r\n .doc(id)\r\n .update({\r\n answer,\r\n answerInArrabic,\r\n });\r\n};\r\nexport const updateFAQ = async (id, appearIn) => {\r\n await firestore\r\n .collection(\"faqCollection\")\r\n .doc(id)\r\n .update({\r\n appearIn,\r\n });\r\n};\r\nexport const deleteFAQ = async (id) => {\r\n await firestore\r\n .collection(\"faqCollection\")\r\n .doc(id)\r\n .delete();\r\n};\r\n\r\nexport const updateFaq = async (id, question, questionInArrabic) => {\r\n const ref = firestore.collection(\"faqCollection\").doc(id);\r\n await ref.update({\r\n question,\r\n questionInArrabic,\r\n });\r\n};\r\nexport const addFaq = async (question, questionInArrabic) => {\r\n const ref = firestore.collection(\"faqCollection\").doc();\r\n await ref.set({\r\n question,\r\n questionInArrabic,\r\n answer: \"\",\r\n answerInArrabic: \"\",\r\n time: Date.now(),\r\n docID: ref.id,\r\n });\r\n};\r\nexport const addMembershipReq = async (values, userId) => {\r\n const res = await firestore\r\n .collection(\"membershipRequests\")\r\n .where(\"userId\", \"==\", userId)\r\n .get();\r\n if (res.docs.length) {\r\n alert(\"You already have a request in progress, please check with support”\");\r\n return false;\r\n } else {\r\n const ref = firestore.collection(\"membershipRequests\").doc();\r\n await ref.set({\r\n ...values,\r\n userId,\r\n docID: ref.id,\r\n });\r\n const message =\r\n \"New Subscription request has been Added, Please have a look!\";\r\n const route = \"admin/membershipreqs\";\r\n await addNotificationForAdmin(message, route);\r\n return true;\r\n }\r\n};\r\n\r\nexport const getMembershipReq = async () => {\r\n const ref = await firestore.collection(\"membershipRequests\").get();\r\n return ref.docs.map((item) => item.data());\r\n};\r\n\r\nexport const approveReqHandler = async (item) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(item.userId);\r\n const venueRef = await ref.get();\r\n const venuePortal = venueRef.data();\r\n venuePortal.venueName = item.venueName ? item.venueName : \"\";\r\n venuePortal.subscriptionExpiryDate = item.subscriptionExpiryDate\r\n ? item.subscriptionExpiryDate\r\n : \"\";\r\n venuePortal.mangerPhoneNumber = item.mangerPhoneNumber\r\n ? item.mangerPhoneNumber\r\n : \"\";\r\n venuePortal.paymentFrequency = item.paymentFrequency\r\n ? item.paymentFrequency\r\n : \"\";\r\n venuePortal.subscriptionBundle = item.subscriptionBundle\r\n ? item.subscriptionBundle\r\n : \"\";\r\n venuePortal.isTrialReqTaken = item.isTrialReqTaken\r\n ? item.isTrialReqTaken\r\n : false;\r\n venuePortal.subscriptions = [\r\n item.subscriptionBundle ? item.subscriptionBundle : \"\",\r\n ];\r\n await ref.update(venuePortal);\r\n await firestore\r\n .collection(\"membershipRequests\")\r\n .doc(item.docID)\r\n .delete();\r\n};\r\n\r\nexport const changeSubscriptionOfPortal = async (userId, bundle) => {\r\n const ref = firestore.collection(\"venuePortals\").doc(userId);\r\n const venueRef = await ref.get();\r\n const venuePortal = venueRef.data();\r\n venuePortal.subscriptionBundle = bundle;\r\n venuePortal.subscriptions = [bundle];\r\n let subscriptionExpiryDate = new Date();\r\n venuePortal.subscriptionExpiryDate = subscriptionExpiryDate = new Date(\r\n subscriptionExpiryDate.setFullYear(subscriptionExpiryDate.getFullYear() + 1)\r\n ).toLocaleDateString();\r\n await ref.update(venuePortal);\r\n};\r\n\r\nexport const getVenueForDeletion = async (userId) => {\r\n const ref = await firestore\r\n .collection(\"venuePortals\")\r\n .doc(userId)\r\n .get();\r\n return ref.data();\r\n};\r\n\r\nexport const sendMessageToVenueHandler = async (id, message) => {\r\n await firestore\r\n .collection(\"adminMessages\")\r\n .doc()\r\n .set({ venueId: id, message });\r\n};\r\nexport const addCreditToVenueHandler = async (id, credit) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({ credit: parseInt(credit) });\r\n};\r\nexport const updateToken = async (id, token) => {\r\n await firestore\r\n .collection(\"deviceTokens\")\r\n .doc(id)\r\n .set({ deviceTokens: token });\r\n};\r\nexport const deleteAdminMessageInPortal = async (id) => {\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({ message: null });\r\n};\r\n\r\nexport const getAdminMessages = async (id) => {\r\n const portal = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n const res = await firestore\r\n .collection(\"adminMessages\")\r\n .where(\"venueId\", \"==\", portal.userId)\r\n .get();\r\n return res.docs.map((item) => item.data());\r\n};\r\nexport const getEvents = async () => {\r\n const res = await firestore.collection(\"ultraEvents\").get();\r\n const events = [];\r\n for (let i = 0; i < res.docs.length; i++) {\r\n const item = res.docs[i].data();\r\n const reslt = await firestore\r\n .collection(\"ultraBookingCollection\")\r\n .where(\"ultraID\", \"==\", item.docId)\r\n .get();\r\n events.push({\r\n ...item,\r\n users: reslt.docs.map((it) => it.data()),\r\n });\r\n }\r\n return events;\r\n};\r\n\r\nexport const createEvent = async (data, logo) => {\r\n const ref = firestore.collection(\"ultraEvents\").doc();\r\n if (logo) {\r\n logo = await uploadFile(logo);\r\n }\r\n await ref.set({\r\n ...data,\r\n docId: ref.id,\r\n users: [],\r\n logo,\r\n });\r\n return {\r\n ...data,\r\n docId: ref.id,\r\n users: [],\r\n logo,\r\n };\r\n};\r\nexport const updateEvent = async (data, logo, id, users) => {\r\n const ref = firestore.collection(\"ultraEvents\").doc(id);\r\n if (logo && logo.size) {\r\n logo = await uploadFile(logo);\r\n }\r\n await ref.update({\r\n ...data,\r\n logo,\r\n });\r\n return {\r\n ...data,\r\n logo,\r\n docId: id,\r\n users,\r\n };\r\n};\r\nexport const deleteEvent = async (id) => {\r\n await firestore\r\n .collection(\"ultraEvents\")\r\n .doc(id)\r\n .delete();\r\n};\r\nexport const addNotificationForAdmin = async (message, route) => {\r\n const ref = firestore.collection(\"adminNotifications\").doc();\r\n await ref.set({\r\n docId: ref.id,\r\n message,\r\n route,\r\n isRead: false,\r\n });\r\n};\r\nexport const addNotificationForVenue = async (message, route, venueId) => {\r\n const ref = firestore.collection(\"venueNotifications\").doc();\r\n await ref.set({\r\n docId: ref.id,\r\n message,\r\n route,\r\n venueid: venueId,\r\n isRead: false,\r\n });\r\n};\r\nexport const addNotificationForUser = async (message, route, userId) => {\r\n const ref = firestore.collection(\"userNotifications\").doc();\r\n await ref.set({\r\n docId: ref.id,\r\n message,\r\n route,\r\n userId,\r\n isRead: false,\r\n });\r\n};\r\nexport const getUser = async (email) => {\r\n const res = await firestore\r\n .collection(\"fanspotUserCollection\")\r\n .where(\"email\", \"==\", email)\r\n .get();\r\n return res.docs[0] ? res.docs[0].data() : null;\r\n};\r\nexport const getAllTokens = async (id) => {\r\n const res = await firestore\r\n .collection(\"deviceTokens\")\r\n .get();\r\n return res.docs.map(it => ({ ...it.data(), id: it.id }));\r\n};\r\nexport const getUserToken = async (id) => {\r\n const res = await firestore\r\n .collection(\"deviceTokens\")\r\n .doc(id)\r\n .get();\r\n return res.data();\r\n};\r\nexport const sendNotificationToUsers = async (data) => {\r\n const ONESIGNAL_API_KEY = \"ZTcyNDA1NWQtN2RmMS00ZmI0LWE2NDQtNzcyMDg0NjQxNWUx\";\r\n const ONESIGNAL_APP_ID = \"117ff847-181f-4d42-a79c-ff8cd8403da2\";\r\n const headers = {\r\n 'Authorization': `Bearer ${ONESIGNAL_API_KEY}`,\r\n 'Content-Type': 'application/json',\r\n };\r\n\r\n const requestBody = {\r\n app_id: ONESIGNAL_APP_ID,\r\n include_player_ids: data.tokens,\r\n contents: {\r\n en: data.body,\r\n },\r\n heading: { en: 'Fanspot' },\r\n ios_badgeType: 'Increase',\r\n ios_badgeCount: 1,\r\n subtitle: { en: data.title },\r\n data: {\r\n custom_data: null,\r\n },\r\n };\r\n\r\n try {\r\n const response = await axios.post('https://onesignal.com/api/v1/notifications', requestBody, {\r\n headers: headers,\r\n });\r\n\r\n if (response.status === 200) {\r\n console.log(response.data);\r\n } else {\r\n console.log(response.statusText);\r\n }\r\n } catch (error) {\r\n console.error(error);\r\n }\r\n};\r\nexport const sendNotificationToUser = async (token, msg) => {\r\n let notibody = \"Fanspot Admin responded to yur query.\";\r\n if (msg) {\r\n notibody = msg;\r\n }\r\n const notititle = \"Query Response\";\r\n const ONESIGNAL_API_KEY = \"ZTcyNDA1NWQtN2RmMS00ZmI0LWE2NDQtNzcyMDg0NjQxNWUx\";\r\n const ONESIGNAL_APP_ID = \"117ff847-181f-4d42-a79c-ff8cd8403da2\";\r\n const headers = {\r\n 'Authorization': `Bearer ${ONESIGNAL_API_KEY}`,\r\n 'Content-Type': 'application/json',\r\n };\r\n\r\n const requestBody = {\r\n app_id: ONESIGNAL_APP_ID,\r\n include_player_ids: [token],\r\n contents: {\r\n en: notibody,\r\n },\r\n heading: { en: 'Fanspot' },\r\n ios_badgeType: 'Increase',\r\n ios_badgeCount: 1,\r\n subtitle: { en: notititle },\r\n data: {\r\n custom_data: null,\r\n },\r\n };\r\n\r\n try {\r\n const response = await axios.post('https://onesignal.com/api/v1/notifications', requestBody, {\r\n headers: headers,\r\n });\r\n\r\n if (response.status === 200) {\r\n console.log(response.data);\r\n } else {\r\n console.log(response.statusText);\r\n }\r\n } catch (error) {\r\n console.error(error.message);\r\n }\r\n};\r\n\r\nexport const reneveVenueMatches = async (id) => {\r\n const matches = await firestore\r\n .collection(\"matches\")\r\n .where(\"reservations\", \"array-contains\", id)\r\n .get();\r\n console.log(matches);\r\n for (let i = 0; i < matches.docs.length; i++) {\r\n const match = matches.docs[i].data();\r\n let reservationsCopy = [...match.reservations];\r\n reservationsCopy = reservationsCopy.filter((item) => item !== id);\r\n await firestore\r\n .collection(\"matches\")\r\n .doc(match.docId)\r\n .update({\r\n reservations: reservationsCopy,\r\n });\r\n }\r\n const date = new Date();\r\n date.setMonth(date.getMonth() + 1);\r\n await firestore\r\n .collection(\"venuePortals\")\r\n .doc(id)\r\n .update({\r\n renevalPortalDate: date.toISOString(),\r\n });\r\n};\r\n\r\nexport const uploadLocale = async (locale, type) => {\r\n const ref = firestore.collection(\"admins\").doc(\"locale\");\r\n const data = (await ref.get()).data();\r\n if (!type.includes(\"english\")) {\r\n await ref.set({\r\n englishLocale: data.englishLocale,\r\n arrabicLocale: locale,\r\n });\r\n } else {\r\n await ref.set({\r\n arrabicLocale: data.arrabicLocale,\r\n englishLocale: locale,\r\n });\r\n }\r\n};\r\nexport const getLocale = async () => {\r\n return (\r\n await firestore\r\n .collection(\"admins\")\r\n .doc(\"locale\")\r\n .get()\r\n ).data();\r\n};\r\n","import * as FileSaver from \"file-saver\";\r\nimport XLSX from \"sheetjs-style\";\r\nimport NotiSound from \"../assets/notiSound.mp3\";\r\nconst subscription_basic = \"Basic - Free\";\r\nconst subscription_standard = \"Standard - SAR 1,530\";\r\nconst subscription_premium = \"Premium - SAR 2,400\";\r\n\r\nexport const SUBSCRIPTIONS_PACKAGES = {\r\n BASIC: 0,\r\n STANDARD: 10,\r\n PREMIUM: 100000000\r\n};\r\n\r\nexport const TIMINGS = [\r\n \"01 AM\",\r\n \"02 AM\",\r\n \"03 AM\",\r\n \"04 AM\",\r\n \"05 AM\",\r\n \"06 AM\",\r\n \"07 AM\",\r\n \"08 AM\",\r\n \"09 AM\",\r\n \"10 AM\",\r\n \"11 AM\",\r\n \"12 PM\",\r\n \"01 PM\",\r\n \"02 PM\",\r\n \"03 PM\",\r\n \"04 PM\",\r\n \"05 PM\",\r\n \"06 PM\",\r\n \"07 PM\",\r\n \"08 PM\",\r\n \"09 PM\",\r\n \"10 PM\",\r\n \"11 PM\",\r\n \"12 AM\",\r\n];\r\nexport const TIMINGS_DATA = [\r\n { name: \"01 AM\" },\r\n { name: \"02 AM\" },\r\n { name: \"03 AM\" },\r\n { name: \"04 AM\" },\r\n { name: \"05 AM\" },\r\n { name: \"06 AM\" },\r\n { name: \"07 AM\" },\r\n { name: \"08 AM\" },\r\n { name: \"09 AM\" },\r\n { name: \"10 AM\" },\r\n { name: \"11 AM\" },\r\n { name: \"12 PM\" },\r\n { name: \"01 PM\" },\r\n { name: \"02 PM\" },\r\n { name: \"03 PM\" },\r\n { name: \"04 PM\" },\r\n { name: \"05 PM\" },\r\n { name: \"06 PM\" },\r\n { name: \"07 PM\" },\r\n { name: \"08 PM\" },\r\n { name: \"09 PM\" },\r\n { name: \"10 PM\" },\r\n { name: \"11 PM\" },\r\n { name: \"12 AM\" },\r\n];\r\n\r\nexport const dayNames = [\r\n { eng: \"Sunday\", ar: \"الاحد\" },\r\n { eng: \"Monday\", ar: \"الاثنين\" },\r\n { eng: \"Tuesday\", ar: \"الثلاثاء\" },\r\n { eng: \"Wednesday\", ar: \"الاربعاء\" },\r\n { eng: \"Thursday\", ar: \"الخميس\" },\r\n { eng: \"Friday\", ar: \"الجمعه\" },\r\n { eng: \"Saturday\", ar: \"السبت\" },\r\n];\r\nexport const days = [\r\n \"Sunday\",\r\n \"Monday\",\r\n \"Tuesday\",\r\n \"Wednesday\",\r\n \"Thursday\",\r\n \"Friday\",\r\n \"Saturday\",\r\n];\r\n\r\nexport const getWeekDates = () => {\r\n const currentDate = new Date();\r\n const pastThreeDate = new Date(new Date().setDate(new Date().getDate() - 3));\r\n const pastTwoDate = new Date(new Date().setDate(new Date().getDate() - 2));\r\n const pastOneDate = new Date(new Date().setDate(new Date().getDate() - 1));\r\n const futureThreeDate = new Date(\r\n new Date().setDate(new Date().getDate() + 3)\r\n );\r\n const futureTwoDate = new Date(new Date().setDate(new Date().getDate() + 2));\r\n const futureOneDate = new Date(new Date().setDate(new Date().getDate() + 1));\r\n return [\r\n { date: pastThreeDate.getDate(), day: days[pastThreeDate.getDay()] },\r\n { date: pastTwoDate.getDate(), day: days[pastTwoDate.getDay()] },\r\n { date: pastOneDate.getDate(), day: days[pastOneDate.getDay()] },\r\n { date: currentDate.getDate(), day: days[currentDate.getDay()] },\r\n { date: futureOneDate.getDate(), day: days[futureOneDate.getDay()] },\r\n { date: futureTwoDate.getDate(), day: days[futureTwoDate.getDay()] },\r\n { date: futureThreeDate.getDate(), day: days[futureThreeDate.getDay()] },\r\n ];\r\n};\r\nexport const getMonthDates = () => {\r\n const currentDate = new Date();\r\n const futureTwentyNineDate = new Date(\r\n new Date().setDate(new Date().getDate() + 29)\r\n );\r\n const futureTwentyEightDate = new Date(\r\n new Date().setDate(new Date().getDate() + 28)\r\n );\r\n const futureTwentySevenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 27)\r\n );\r\n const futureTwentysixDate = new Date(\r\n new Date().setDate(new Date().getDate() + 26)\r\n );\r\n const futureTwentyfiveDate = new Date(\r\n new Date().setDate(new Date().getDate() + 25)\r\n );\r\n const futureTwentfourDate = new Date(\r\n new Date().setDate(new Date().getDate() + 24)\r\n );\r\n const futureTwentythreeDate = new Date(\r\n new Date().setDate(new Date().getDate() + 23)\r\n );\r\n const futureTwentytwoDate = new Date(\r\n new Date().setDate(new Date().getDate() + 22)\r\n );\r\n const futureTwentyoneDate = new Date(\r\n new Date().setDate(new Date().getDate() + 21)\r\n );\r\n const futureTwentyDate = new Date(\r\n new Date().setDate(new Date().getDate() + 20)\r\n );\r\n const futureNineteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 19)\r\n );\r\n const futureEighteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 18)\r\n );\r\n const futureSeventeenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 17)\r\n );\r\n const futureSixteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 16)\r\n );\r\n const futureFifteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 15)\r\n );\r\n const futurefourteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 14)\r\n );\r\n const futureThriteenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 13)\r\n );\r\n const futureTwelveDate = new Date(\r\n new Date().setDate(new Date().getDate() + 12)\r\n );\r\n const futureElevenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 11)\r\n );\r\n const futureTenDate = new Date(new Date().setDate(new Date().getDate() + 10));\r\n const futureNineDate = new Date(new Date().setDate(new Date().getDate() + 9));\r\n const futureEightDate = new Date(\r\n new Date().setDate(new Date().getDate() + 8)\r\n );\r\n const futureSevenDate = new Date(\r\n new Date().setDate(new Date().getDate() + 7)\r\n );\r\n const futureSixDate = new Date(new Date().setDate(new Date().getDate() + 6));\r\n const futureFiveDate = new Date(new Date().setDate(new Date().getDate() + 5));\r\n const futureFourDate = new Date(new Date().setDate(new Date().getDate() + 4));\r\n const futureThreeDate = new Date(\r\n new Date().setDate(new Date().getDate() + 3)\r\n );\r\n const futureTwoDate = new Date(new Date().setDate(new Date().getDate() + 2));\r\n const futureOneDate = new Date(new Date().setDate(new Date().getDate() + 1));\r\n return [\r\n {\r\n date: currentDate.getDate(),\r\n fullDate: currentDate,\r\n day: dayNames[currentDate.getDay()],\r\n },\r\n {\r\n date: futureOneDate.getDate(),\r\n fullDate: futureOneDate,\r\n day: dayNames[futureOneDate.getDay()],\r\n },\r\n {\r\n date: futureTwoDate.getDate(),\r\n fullDate: futureTwoDate,\r\n day: dayNames[futureTwoDate.getDay()],\r\n },\r\n {\r\n date: futureThreeDate.getDate(),\r\n fullDate: futureThreeDate,\r\n day: dayNames[futureThreeDate.getDay()],\r\n },\r\n {\r\n date: futureFourDate.getDate(),\r\n fullDate: futureFourDate,\r\n day: dayNames[futureFourDate.getDay()],\r\n },\r\n {\r\n fullDate: futureFiveDate,\r\n date: futureFiveDate.getDate(),\r\n day: dayNames[futureFiveDate.getDay()],\r\n },\r\n {\r\n fullDate: futureSixDate,\r\n date: futureSixDate.getDate(),\r\n day: dayNames[futureSixDate.getDay()],\r\n },\r\n {\r\n fullDate: futureSevenDate,\r\n date: futureSevenDate.getDate(),\r\n day: dayNames[futureSevenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureEightDate,\r\n date: futureEightDate.getDate(),\r\n day: dayNames[futureEightDate.getDay()],\r\n },\r\n {\r\n fullDate: futureNineDate,\r\n date: futureNineDate.getDate(),\r\n day: dayNames[futureNineDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTenDate,\r\n date: futureTenDate.getDate(),\r\n day: dayNames[futureTenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureElevenDate,\r\n date: futureElevenDate.getDate(),\r\n day: dayNames[futureElevenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwelveDate,\r\n date: futureTwelveDate.getDate(),\r\n day: dayNames[futureTwelveDate.getDay()],\r\n },\r\n {\r\n date: futureThriteenDate.getDate(),\r\n fullDate: futureThriteenDate,\r\n day: dayNames[futureThriteenDate.getDay()],\r\n },\r\n {\r\n date: futurefourteenDate.getDate(),\r\n day: dayNames[futurefourteenDate.getDay()],\r\n fullDate: futurefourteenDate,\r\n },\r\n {\r\n fullDate: futureFifteenDate,\r\n date: futureFifteenDate.getDate(),\r\n day: dayNames[futureFifteenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureSixteenDate,\r\n date: futureSixteenDate.getDate(),\r\n day: dayNames[futureSixteenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureSeventeenDate,\r\n date: futureSeventeenDate.getDate(),\r\n day: dayNames[futureThreeDate.getDay()],\r\n },\r\n {\r\n fullDate: futureEighteenDate,\r\n date: futureEighteenDate.getDate(),\r\n day: dayNames[futureEighteenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureNineteenDate,\r\n date: futureNineteenDate.getDate(),\r\n day: dayNames[futureNineteenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentyDate,\r\n date: futureTwentyDate.getDate(),\r\n day: dayNames[futureTwentyDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentyoneDate,\r\n date: futureTwentyoneDate.getDate(),\r\n day: dayNames[futureTwentyoneDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentytwoDate,\r\n date: futureTwentytwoDate.getDate(),\r\n day: dayNames[futureTwentytwoDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentythreeDate,\r\n date: futureTwentythreeDate.getDate(),\r\n day: dayNames[futureTwentythreeDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentfourDate,\r\n date: futureTwentfourDate.getDate(),\r\n day: dayNames[futureTwentfourDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentyfiveDate,\r\n date: futureTwentyfiveDate.getDate(),\r\n day: dayNames[futureTwentyfiveDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentysixDate,\r\n date: futureTwentysixDate.getDate(),\r\n day: dayNames[futureTwentysixDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentySevenDate,\r\n date: futureTwentySevenDate.getDate(),\r\n day: dayNames[futureTwentySevenDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentyEightDate,\r\n date: futureTwentyEightDate.getDate(),\r\n day: dayNames[futureTwentyEightDate.getDay()],\r\n },\r\n {\r\n fullDate: futureTwentyNineDate,\r\n date: futureTwentyNineDate.getDate(),\r\n day: dayNames[futureTwentyNineDate.getDay()],\r\n },\r\n ];\r\n};\r\n\r\nexport const CHANNELS = [\r\n {\r\n label: \"Bein Sports\",\r\n value: \"Bein Sports\",\r\n },\r\n {\r\n label: \"Abu Dhabi Sports\",\r\n value: \"Abu Dhabi Sports\",\r\n },\r\n {\r\n label: \"SSC Sports\",\r\n value: \"SSC Sports\",\r\n },\r\n];\r\nexport const SUBSCRIPTIONS = [\r\n { id: 1, name: subscription_basic },\r\n { id: 2, name: subscription_standard },\r\n { id: 3, name: subscription_premium },\r\n];\r\n\r\nexport const getSubscriptions = (locale) => {\r\n return [\r\n {\r\n id: 1,\r\n name: locale.subscription_basic\r\n ? locale.subscription_basic\r\n : subscription_basic,\r\n },\r\n {\r\n id: 2,\r\n name: locale.subscription_standard\r\n ? locale.subscription_standard\r\n : subscription_standard,\r\n },\r\n {\r\n id: 3,\r\n name: locale.subscription_premium\r\n ? locale.subscription_premium\r\n : subscription_premium,\r\n },\r\n ];\r\n};\r\nexport const getContactTypes = (locale) => {\r\n return [\r\n {\r\n id: 1,\r\n name: locale.portal_subscription_request_option_inquiry\r\n ? locale.portal_subscription_request_option_inquiry\r\n : \"Inquiry\",\r\n },\r\n {\r\n id: 2,\r\n name: locale.portal_subscription_request_option_request\r\n ? locale.portal_subscription_request_option_request\r\n : \"Request\",\r\n },\r\n {\r\n id: 3,\r\n name: locale.portal_subscription_request_option_complain\r\n ? locale.portal_subscription_request_option_complain\r\n : \"Complain\",\r\n },\r\n {\r\n id: 3,\r\n name: locale.portal_subscription_request_option_suggest\r\n ? locale.portal_subscription_request_option_suggest\r\n : \"Suggest\",\r\n },\r\n ];\r\n};\r\n\r\nexport const MEMBERSHIP_REQUESTS = [\r\n { id: 1, name: \"Trial\" },\r\n { id: 2, name: \"Renew\" },\r\n { id: 3, name: \"Upgrade\" },\r\n];\r\nexport const PAYMENTS_TYPES = [\r\n { id: 2, name: \"Monthly\" },\r\n { id: 3, name: \"Yearly\" },\r\n];\r\nexport const CONTACT_REQUESTS = [\r\n { id: 2, name: \"Inquiry\" },\r\n { id: 3, name: \"Request\" },\r\n { id: 4, name: \"Complain\" },\r\n { id: 5, name: \"Suggest\" },\r\n];\r\n\r\nexport const COUNTRIES = [{ id: 1, name: \"Saudi Arabia\" }];\r\n\r\nexport const readRegionsAndCities = () => {\r\n // const results = [];\r\n // for (let i = 0; i < res.length; i++) {\r\n // const ele = res[i];\r\n // if (i > 1) {\r\n // const index = results.findIndex((item) => item.province.eng === ele[0]);\r\n // if (index >= 0) {\r\n // const cCopy = [...results[index].cities];\r\n // cCopy.push({\r\n // eng: ele[2],\r\n // ar: ele[3],\r\n // });\r\n // results[index].cities = cCopy;\r\n // } else {\r\n // const obj = {\r\n // province: {\r\n // eng: ele[0],\r\n // ar: ele[1],\r\n // },\r\n // cities: [\r\n // {\r\n // eng: ele[2],\r\n // ar: ele[3],\r\n // },\r\n // ],\r\n // };\r\n // results.push(obj);\r\n // }\r\n // }\r\n // }\r\n};\r\n\r\nconst user = JSON.parse(sessionStorage.getItem(\"fanspot-portal\"));\r\n\r\nexport const userStatus =\r\n user &&\r\n user.subscriptions &&\r\n user.subscriptions.find((item) => item !== SUBSCRIPTIONS[0].name)\r\n ? true\r\n : false;\r\n\r\nexport const userStatusforStandard =\r\n user &&\r\n user.subscriptions &&\r\n user.subscriptions.find((item) => item !== SUBSCRIPTIONS[1].name)\r\n ? true\r\n : false;\r\nexport const userStatusforPremium =\r\n user &&\r\n user.subscriptions &&\r\n user.subscriptions.find((item) => item === SUBSCRIPTIONS[2].name)\r\n ? true\r\n : false;\r\n\r\nexport const WORKING_HOURS = [\r\n {\r\n day: {\r\n eng: \"sunday\",\r\n ar: \"الاحد\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"monday\",\r\n ar: \"الاثنين\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"tuesday\",\r\n ar: \"الثلاثاء\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"wednesday\",\r\n ar: \"الاربعاء\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"thursday\",\r\n ar: \"الخميس\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"friday\",\r\n ar: \"الجمعه\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n {\r\n day: {\r\n eng: \"saturday\",\r\n ar: \"السبت\",\r\n },\r\n startTime: \"09PM\",\r\n status: false,\r\n endTime: \"11PM\",\r\n },\r\n];\r\n\r\nexport const foodsVarities = [\r\n {\r\n label: \"Fast Food\",\r\n value: \"Fast Food\",\r\n arrabic: \"مأكولات سريعة\",\r\n },\r\n {\r\n label: \"Sandwiches\",\r\n value: \"Sandwiches\",\r\n arrabic: \"شطائر\",\r\n },\r\n {\r\n label: \"Arabic\",\r\n value: \"Arabic\",\r\n arrabic: \"عربي\",\r\n },\r\n {\r\n label: \"Desserts\",\r\n value: \"Desserts\",\r\n arrabic: \"حلويات\",\r\n },\r\n {\r\n label: \"American\",\r\n value: \"American\",\r\n arrabic: \"أمريكي\",\r\n },\r\n {\r\n label: \"Beverages\",\r\n value: \"Beverages\",\r\n arrabic: \"مشروبات\",\r\n },\r\n {\r\n label: \"Coffee\",\r\n value: \"Coffee\",\r\n arrabic: \"قهوة\",\r\n },\r\n {\r\n label: \"International\",\r\n value: \"International\",\r\n arrabic: \"عالمي\",\r\n },\r\n {\r\n label: \"Shawarma\",\r\n value: \"Shawarma\",\r\n arrabic: \"شاورما\",\r\n },\r\n {\r\n label: \"Italian\",\r\n value: \"Italian\",\r\n arrabic: \"إيطالي\",\r\n },\r\n {\r\n label: \"Bakery\",\r\n value: \"Bakery\",\r\n arrabic: \"مخبوزات\",\r\n },\r\n {\r\n label: \"Grill\",\r\n value: \"Grill\",\r\n arrabic: \"مشاوي\",\r\n },\r\n {\r\n label: \"Seafood\",\r\n value: \"Seafood\",\r\n arrabic: \"بحري\",\r\n },\r\n {\r\n label: \"Juices\",\r\n value: \"Juices\",\r\n arrabic: \"عصيرات\",\r\n },\r\n {\r\n label: \"Asian\",\r\n value: \"Asian\",\r\n arrabic: \"آسيوي\",\r\n },\r\n {\r\n label: \"Healthy Food\",\r\n value: \"Healthy Food\",\r\n arrabic: \"مأكولات صحية\",\r\n },\r\n {\r\n label: \"Indian\",\r\n value: \"Indian\",\r\n arrabic: \"هندي\",\r\n },\r\n {\r\n label: \"Mexican\",\r\n value: \"Mexican\",\r\n arrabic: \"مكسيكي\",\r\n },\r\n {\r\n label: \"Burgers\",\r\n value: \"Burgers\",\r\n arrabic: \"برجر\",\r\n },\r\n {\r\n label: \"Saudi\",\r\n value: \"Saudi\",\r\n arrabic: \"سعودي\",\r\n },\r\n {\r\n label: \"Sushi\",\r\n value: \"Sushi\",\r\n arrabic: \"سوشي\",\r\n },\r\n {\r\n label: \"Pasta\",\r\n value: \"Pasta\",\r\n arrabic: \"باستا\",\r\n },\r\n {\r\n label: \"Japanese\",\r\n value: \"Japanese\",\r\n arrabic: \"ياباني\",\r\n },\r\n {\r\n label: \"Vegetarian\",\r\n value: \"Vegetarian\",\r\n arrabic: \"نباتي\",\r\n },\r\n {\r\n label: \"Lebanese\",\r\n value: \"Lebanese\",\r\n arrabic: \"لبناني\",\r\n },\r\n {\r\n label: \"Salads\",\r\n value: \"Salads\",\r\n arrabic: \"سلطات\",\r\n },\r\n {\r\n label: \"Falafel\",\r\n value: \"Falafel\",\r\n arrabic: \"فلافل\",\r\n },\r\n {\r\n label: \"Breakfast\",\r\n value: \"Breakfast\",\r\n arrabic: \"فطور\",\r\n },\r\n {\r\n label: \"Noodles\",\r\n value: \"Noodles\",\r\n arrabic: \"نودلز\",\r\n },\r\n {\r\n label: \"Middle eastern\",\r\n value: \"Middle eastern\",\r\n arrabic: \"طعام شرق أوسطي\",\r\n },\r\n {\r\n label: \"Lunch\",\r\n value: \"Lunch\",\r\n arrabic: \"غذاء\",\r\n },\r\n];\r\n\r\nexport function downloadExcel(data, sheetName) {\r\n const wb = XLSX.utils.book_new();\r\n /* create a worksheet for data */\r\n const wsData = XLSX.utils.json_to_sheet(data);\r\n /* Add the worksheet to the workbook */\r\n XLSX.utils.book_append_sheet(wb, wsData, sheetName);\r\n const fileType =\r\n \"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;charset=UTF-8\";\r\n const excelBuffer = XLSX.write(wb, { bookType: \"xlsx\", type: \"array\" });\r\n const data1 = new Blob([excelBuffer], { type: fileType });\r\n FileSaver.saveAs(data1, sheetName + \".xlsx\");\r\n}\r\n\r\nexport function getRandomInt(max) {\r\n return Math.floor(Math.random() * max);\r\n}\r\n\r\nexport function get_current_month_dates() {\r\n const cDate = new Date();\r\n const year = cDate.getFullYear();\r\n const month = cDate.getMonth();\r\n let date = new Date(year, month, 1);\r\n let dates = [];\r\n while (date.getMonth() === month) {\r\n const nDate = new Date(date);\r\n dates.push({\r\n date: nDate.getDate(),\r\n fullDate: nDate,\r\n day: days[nDate.getDay()],\r\n });\r\n date.setDate(date.getDate() + 1);\r\n }\r\n return dates;\r\n}\r\n\r\nexport const getCurrentDate = (date) => {\r\n let d = new Date();\r\n if (date) {\r\n d = new Date(date);\r\n }\r\n return (\r\n d.getFullYear() +\r\n \"-\" +\r\n (d.getMonth() <= 8 ? \"0\" + (d.getMonth() + 1) : +(d.getMonth() + 1)) +\r\n \"-\" +\r\n (d.getDate() <= 9 ? \"0\" + d.getDate() : d.getDate())\r\n );\r\n};\r\nexport const checkPastDate = (date) => {\r\n const givenDate = new Date(date);\r\n const currentDate = new Date();\r\n givenDate.setHours(0, 0, 0, 0);\r\n currentDate.setHours(0, 0, 0, 0);\r\n if (givenDate < currentDate) {\r\n return true;\r\n }\r\n\r\n return false;\r\n};\r\n\r\nexport const months = [\r\n \"Jan\",\r\n \"Feb\",\r\n \"Mar\",\r\n \"Apr\",\r\n \"May\",\r\n \"Jun\",\r\n \"Jul\",\r\n \"Aug\",\r\n \"Sep\",\r\n \"Oct\",\r\n \"Nov\",\r\n \"Dec\",\r\n];\r\nexport const FILTER_NOTIFICATIONS_CATEGORIES = [\r\n { name: \"Region\" },\r\n { name: \"City\" },\r\n { name: \"Clubs followed\" },\r\n { name: \"National teams followed\" },\r\n { name: \"Leagues followed\" },\r\n { name: \"Most active users\" },\r\n { name: \"Recently inactive users\" },\r\n { name: \"Users with upcoming bookings\" },\r\n { name: \"Users who often book venues\" },\r\n { name: \"Customers interested in offers and discounts\" },\r\n { name: \"Customers who participated in score prediction games\" },\r\n { name: \"Customers who have recently visited a venue\" },\r\n { name: \"Customers who have recently rated a venue\" },\r\n { name: \"Users who often book for major events\" },\r\n];\r\n\r\nexport const playSound = () => {\r\n let audio = new Audio(NotiSound);\r\n audio.play();\r\n};\r\n","import React from \"react\";\nimport Lottie from \"react-lottie-player\";\nimport SpinnerJSon from \"./spinner.json\";\n\nconst Spinner = () => {\n return (\n