import 'package:hmg_patient_app/config/config.dart';
import 'package:hmg_patient_app/pages/AlHabibMedicalService/health-weather/health-weather-indicator.dart';
import 'package:hmg_patient_app/pages/DrawerPages/family/add-family-member.dart';
import 'package:hmg_patient_app/pages/DrawerPages/family/add-family_type.dart';
import 'package:hmg_patient_app/pages/DrawerPages/family/my-family.dart';
import 'package:hmg_patient_app/pages/TestPage.dart';
import 'package:hmg_patient_app/pages/appUpdatePage/app_update_page.dart';
import 'package:hmg_patient_app/pages/conference/zoom/call_screen.dart';
import 'package:hmg_patient_app/pages/landing/landing_page.dart';
import 'package:hmg_patient_app/pages/livecare/incoming_call.dart';
import 'package:hmg_patient_app/pages/livecare/livecare_home.dart';
import 'package:hmg_patient_app/pages/login/confirm-login.dart';
import 'package:hmg_patient_app/pages/login/forgot-password.dart';
import 'package:hmg_patient_app/pages/login/login-type.dart';
import 'package:hmg_patient_app/pages/login/login.dart';
import 'package:hmg_patient_app/pages/login/register-info.dart';
import 'package:hmg_patient_app/pages/login/register.dart';
import 'package:hmg_patient_app/pages/login/welcome.dart';
import 'package:hmg_patient_app/pages/packages_offers/OfferAndPackagesCartPage.dart';
import 'package:hmg_patient_app/pages/packages_offers/PackageOrderCompletedPage.dart';
import 'package:hmg_patient_app/pages/pharmacies/screens/cart-page/cart-order-page.dart';
import 'package:hmg_patient_app/pages/settings/settings.dart';
import 'package:hmg_patient_app/pages/symptom-checker/info.dart';
import 'package:hmg_patient_app/pages/symptom-checker/select-gender.dart';
import 'package:hmg_patient_app/pages/symptom-checker/symtom-checker.dart';
import 'package:hmg_patient_app/pages/webRTC/OpenTok/OpenTok.dart';
import 'package:hmg_patient_app/pages/webRTC/call_page.dart';
import 'package:hmg_patient_app/pages/webRTC/call_page_bkp.dart';
import 'package:hmg_patient_app/splashPage.dart';

import 'models/Appointments/DoctorListResponse.dart';
import 'pages/BookAppointment/SearchResultsByRegion.dart';

const String INIT_ROUTE = '/';
const String HOME = 'home';
const String SPLASH = '/';
const String LOGIN = 'login';
const String WELCOME_LOGIN = 'welcome-login';
const String LOGIN_TYPE = 'login-type';
const String LOGIN_PAGE = 'login-page';
const String FORGOT_PASSWORD = 'forgot-password';
const String REGISTER = 'register';
const String CONFIRM_LOGIN = 'confrim-login';
const String REGISTER_INFO = 'register-info';
const String MY_FAMILIY = 'my-family';
const String ADD_FAMILY_MEMBER_TYPE = 'add-family-member-type';
const String ADD_FAMILY_MEMBER = 'add-family-member';
const String LIVE_CARE = 'live-care';
const String SYMPTOM_CHECKER = 'symptom-checker';
const String SYMPTOM_CHECKER_INFO = 'symptom-checker-info';
const String SELECT_GENDER = 'select-gender';
const String SETTINGS = 'settings';
const String PACKAGES_OFFERS = 'packages-offers';
const String PACKAGES_OFFERS_CART = 'packages-offers-cart';
const String PACKAGES_ORDER_COMPLETED = 'packages-offers-cart';
const String TEST_PAGE = 'test-page';
const String OPENTOK_CALL_PAGE = 'OPENTOK_CALL_PAGE';
const String CART_ORDER_PAGE = 'cart-order-page';
const String CALL_PAGE = 'CALL_PAGE';
const String INCOMING_CALL_PAGE = 'INCOMING_CALL_PAGE';

const String HEALTH_WEATHER = 'health-weather';
const APP_UPDATE = 'app-update';

const ZOOM_CALL_PAGE = 'zoom_call_page';

var routes = {
  SPLASH: (_) => SplashScreen(),
  HOME: (_) => LandingPage(),
  WELCOME_LOGIN: (_) => WelcomeLogin(),
  LOGIN_TYPE: (_) => LoginType(),
  LOGIN_PAGE: (_) => Login(),
  FORGOT_PASSWORD: (_) => ForgotPassword(),
  REGISTER: (_) => Register(),
  CONFIRM_LOGIN: (_) => ConfirmLogin(),
  REGISTER_INFO: (_) => RegisterInfo(),
  MY_FAMILIY: (_) => MyFamily(),
  ADD_FAMILY_MEMBER_TYPE: (_) => AddFamilyMemberType(),
  ADD_FAMILY_MEMBER: (_) => AddMember(),
  LIVE_CARE: (_) => LiveCareHome(),
  SYMPTOM_CHECKER: (_) => SymptomChecker(),
  SYMPTOM_CHECKER_INFO: (_) => SymptomInfo(),
  SELECT_GENDER: (_) => SelectGender(),
  SETTINGS: (_) => Settings(),
  PACKAGES_OFFERS_CART: (_) => PackagesCartPage(),
  PACKAGES_ORDER_COMPLETED: (_) => PackageOrderCompletedPage(),
  TEST_PAGE: (_) => TestPage(),
  HEALTH_WEATHER: (_) => HealthWeatherIndicator(),
  APP_UPDATE: (_) => AppUpdatePage(appUpdateText: '',),
  SETTINGS: (_) => Settings(),
  CART_ORDER_PAGE: (_) => CartOrderPage(),
  // CALL_PAGE: (_) => CallPage(),
  INCOMING_CALL_PAGE: (_) => IncomingCall(),

  ZOOM_CALL_PAGE: (_) => CallScreen(),

  OPENTOK_CALL_PAGE: (_) => OpenTokConnectCallPage(
      apiKey: OPENTOK_API_KEY,
      sessionId: '1_MX40NjIwOTk2Mn5-MTY0NzE3MzcwNjA0MH55RUJoZnd0ZGh2U3BPc01ENVZBelQvT1Z-fg',
      token: 'T1==cGFydG5lcl9pZD00NjIwOTk2MiZzaWc9M2I4ODYxYTIzMGQ0ZDA3OTYyNDhkODIxNzI5ZjIzODM1NjY2YzExMzpzZXNzaW9uX2lkPTFfTVg0ME5qSXdPVGsyTW41LU1UWTBOekUzTXpjd05qQTBNSDU1UlVKb1puZDBaR2gyVTNCUGMwMUVOVlpCZWxRdlQxWi1mZyZjcmVhdGVfdGltZT0xNjQ3MTczNzA2Jm5vbmNlPTAuMjA3NDI0MzA1NzcwMzY4MiZyb2xlPW1vZGVyYXRvciZleHBpcmVfdGltZT0xNjQ3MjYwMTA2JmluaXRpYWxfbGF5b3V0X2NsYXNzX2xpc3Q9'
  ),
};
