/**
 * Constant定義ファイル
 */
const readyState = {
  UNINITIALIZED: 0,
  LOADING: 1,
  LOADED: 2,
  INTERACTIVE: 3,
  COMPLETED: 4,
};

const MessageType = {
  TEXT: 0,
  IMAGE: 1,
  VIDEO: 2,
  SYSTEM: 3,
  COMMUNICATIONSTART: 4,
  COMMUNICATIONEND: 5,
};

const ChatRoomType = {
  DM: "1",
  GROUP: "0",
  ALL: "2",
};

const CollaborationTypeKey = {
  AUDIO: "audio",
  CAMERA: "camera",
  VIDEO: "video",
  DOCUMENT: "document",
  BOARD: "board",
};

const COLLABORATION_TYPE = {
  AUDIO: 0,
  CAMERA: 2,
  VIDEO: 3,
  DOCUMENT: 4,
  BOARD: 5,
};

const MakeRoomFlag = {
  NAME_CARD: 0,
  MAKE_ROOM: 1,
};

const ANDROID_SDK_VERSION = {
  O: 26,
};

const HostRequestFlag = {
  DONE: 0,
  DOING: 1,
};

const messageSeperator = "<::split>";
const dataMessageScheme = "::NOT_MESSAGE";

const TemplateURL = {
  GROUP_PATH: "./template/template_group_path.html",
  GROUP_LIST: "./template/template_group_list.html",
  ARCHIVE_LIST: "./template/template_archive_list.html",
  MAKE_ROOM_GROUP_LIST: "./template/template_make_room_group_list.html",
  GROUP_USER_LIST: "./template/template_group_user_list.html",
  ROOM_LIST: "./template/template_room_list.html",
  SYSTEM_MESSAGE: "./template/template_system_message.html",
  USER_LIST: "./template/template_user_list.html",
  USER_NAME_CARD: "./template/template_user_name_card.html",
  USER_MESSAGE: "./template/template_user_message.html",
  MY_NAME_CARD: "./template/template_my_name_card.html",
  MY_MESSAGE: "./template/template_my_message.html",
  OPEN_COLLABORATION_MESSAGE:
    "./template/template_open_collaboration_message.html",
  CHATROOM_USER_LIST: "./template/template_chatroom_user_list.html",
  CHATROOM_USER_FILTER_LIST:
    "./template/template_chatroom_user_filter_list.html",
  MAKE_ROOM_USER_LIST: "./template/template_make_room_user_list.html",
  MAKE_ROOM_GROUP_USER_LIST:
    "./template/template_make_room_group_user_list.html",
  MAKE_ROOM_GROUP_PATH: "./template/template_make_room_group_path.html",
  MAKE_ROOM_CONFIRM_USER_LIST:
    "./template/template_make_room_confirm_user_list.html",
  ADD_USER_CONFIRM_USER_LIST:
    "./template/template_add_user_confirm_user_list.html",
  ADD_USER_USER_LIST: "./template/template_add_user_user_list.html",
  ADD_USER_USER_LIST_IN_COLLABORATION:
    "./template/template_add_user_user_list_in_collaboration.html",
  ADD_USER_GROUP_PATH: "./template/template_add_user_group_path.html",
  ADD_USER_GROUP_LIST: "./template/template_add_user_group_list.html",
  ADD_USER_GROUP_LIST_IN_COLLABORATION:
    "./template/template_add_user_group_list_in_collaboration.html",
  ADD_USER_GROUP_USER_LIST: "./template/template_add_user_group_user_list.html",
  ADD_USER_GROUP_USER_LIST_IN_COLLABORATION:
    "./template/template_add_user_group_user_list_in_collaboration.html",
  ADD_USER_GROUP_PATH_IN_COLLABORATION:
    "./template/template_add_user_group_path_in_collaboration.html",
};
