import 'package:mohem_flutter_app/ui/marathon/widgets/question_card.dart';

class ApiConsts {
  // static String baseUrl = "http://10.200.204.11"; // Local server
  // static String baseUrl = "https://erptstapp.srca.org.sa"; // SRCA server
  // static String baseUrl = "https://uat.hmgwebservices.com"; // UAT ser343622ver
 // static String baseUrl = "http://10.201.204.101:2024";
  // static String baseUrl = "https://webservices.hmg.com"; // PreProd
  // static String baseUrl = "https://hmgwebservices.com"; // Live server

  static String baseUrl = "https://mohemm.hmg.com"; // New Live server

  static String baseUrlServices = baseUrl + "/Services/"; // server
  // static String baseUrlServices = "https://api.cssynapses.com/tangheem/"; // Live server
  static String utilitiesRest = baseUrlServices + "Utilities.svc/REST/";
  static String authenticationRest = baseUrlServices + "Authentication.svc/REST/";
  static String erpRest = baseUrlServices + "ERP.svc/REST/";
  static String swpRest = baseUrlServices + "SWP.svc/REST/";
  static String user = baseUrlServices + "api/User/";
  static String cocRest = baseUrlServices + "COCWS.svc/REST/";

  //Chat
  static String chatServerBaseUrl = "https://apiderichat.hmg.com/";
  static String chatServerBaseApiUrl = chatServerBaseUrl + "api/";
  static String chatLoginTokenUrl = chatServerBaseApiUrl + "user/";
  static String chatHubConnectionUrl = chatServerBaseUrl + "ConnectionChatHub";

  //Groups
  static String getGroupByUserId = chatServerBaseApiUrl + "group/getgroupsbyuserid/";
  static String deleteGroup = chatServerBaseApiUrl + "group/updateGroupIsDeleted/";
  static String updateGroupAdmin = chatServerBaseApiUrl + "group/updateGroupAdmin/";
  static String getGroupChatHistoryAsync = chatServerBaseApiUrl + "GroupChat/GetGroupChatHistoryAsync/";
  static String addGroupsAndUsers = chatServerBaseApiUrl + "group/addgroupandusers/";
  static String updateGroupsAndUsers = chatServerBaseApiUrl + "group/updategroupandusers/";

  // static String chatSearchMember = chatLoginTokenUrl + "user/";
  static String chatRecentUrl = chatServerBaseApiUrl + "UserChatHistory/"; //For a Mem
  static String chatSingleUserHistoryUrl = chatServerBaseApiUrl + "UserChatHistory/";
  static String chatMediaImageUploadUrl = chatServerBaseApiUrl + "shared/";
  static String chatFavUser = chatServerBaseApiUrl + "FavUser/";
  static String chatUserImages = chatServerBaseUrl + "empservice/api/employee/";

  //Brain Marathon Constants
  static String marathonBaseUrlLive = "https://marathoon.com/service/api/";
  static String marathonBaseUrlUAT = "https://marathoon.com/uatservice/api/";

  static String marathonBaseUrl = marathonBaseUrlLive;
  // static String marathonBaseUrl = marathonBaseUrlUAT;
  static String marathonBaseUrlServices = "https://marathoon.com/service/";
  static String marathonParticipantLoginUrl = marathonBaseUrl + "auth/participantlogin";
  static String marathonProjectGetUrl = marathonBaseUrl + "Project/Project_Get";
  static String marathonUpcomingUrl = marathonBaseUrl + "marathon/upcoming/";
  static String marathonJoinParticipantUrl = marathonBaseUrl + "participant/join";
  static String marathonNextQuestionUrl = marathonBaseUrl + "question/next";
  static String marathonSubmitAnswerUrl = marathonBaseUrl + "question/submit";
  static String marathonQualifiersUrl = marathonBaseUrl + "winner/getWinner/";
  static String marathonSelectedWinner = marathonBaseUrl + "winner/getSelectedWinner/";
  static String marathonGetMarathonersCount = marathonBaseUrl + "Participant/GetRemainingParticipants";
  static String marathonGetTutorial = marathonBaseUrl + "tutorial/GetTutorialNotification";

  //DummyCards for the UI

  static int tabletMinLength = 500;
}

class SharedPrefsConsts {
  static String isRememberMe = "remember_me";
  static String username = "username";
  static String password = "password";
  static String privilegeList = "privilegeList";
  static String firebaseToken = "firebaseToken";
  static String memberInformation = "memberInformation";
  static String welcomeVideoUrl = "welcomeVideoUrl";
  static String doNotShowWelcomeVideo = "doNotShowWelcomeVideo";
  static String mohemmWifiSSID = "mohemmWifiSSID";
  static String mohemmWifiPassword = "mohemmWifiPassword";
  static String editItemForSale = "editItemForSale";
}


