"use strict";
const AT_NONE = 0;
const AT_ANALIZE = 1;
const AT_ANALIZE_AND_SYNC = 2;
const AT_SYNC_ONLY = 3;
const JS_TWO_WAY = 0;
const JS_LEFT_TO_RIGHT = 1;
const JS_RIGHT_TO_LEFT = 2;
const JS_TEMPLATE = 3;
const JS_UNDEFINDED = 4;
const RUN_result_null = 0;
const RUN_result_ok = 1;
const RUN_result_nonterm_errors = 2;
const RUN_result_term_error = 3;
const RUN_result_user_stop = 4;
const VM_ALL_LIVE = 0;
const VM_PROPOSED_CHANGES = 1;
const VM_CONFLICTS = 2;
const VM_ERRORS = 3;
const VM_INCLUDED = 4;
const VM_EXCLUDED = 5;
const VM_TO_CREATE = 6;
const VM_TO_OVERWRITE = 7;
const VM_TO_DELETE = 8;
const VM_COPY_FILE_LTOR = 9;
const VM_COPY_FILE_RTOL = 10;
const VM_DELETE_FILE_LTOR = 11;
const VM_DELETE_FILE_RTOL = 12;
const VM_RENAME_MOVE_LTOR = 13;
const VM_RENAME_MOVE_RTOL = 14;
const VM_COPYTIME_LTOR = 15;
const VM_COPYTIME_RTOL = 16;
const VM_NAMECASE_LTOR = 17;
const VM_NAMECASE_RTOL = 18;
const VM_UPD_STATE_MERGE = 19;
const VM_SAMELEN_DIFFTIME = 20;
const VM_COUNTABLE_CHANGES = 21;
const VM_CHANGES_TOSYNC = 22;
const VM_ALL_TOSYNC = 23;
const VM_ALL_ALL = 24;
const _LAST_VIEW_MODE = 25;
const DRAG_OFFSET = -6;
const MIN_WIN_SIZE = 10;
const MIN_LOG_WIN_HEIGHT = 25;
const JOB_COMMAND_NONE = 0;
const JOB_COMMAND_ANALIZE = 1;
const JOB_COMMAND_ANALIZE_AND_SYNC = 2;
const JOB_COMMAND_SYNC = 3;
const _EA_CENTER = 0x10;
const _EA_LEFT = 0x20;
const _EA_RIGHT = 0x40;
const EA_USESYSTEM = 0;
const EA_NO_COPY = _EA_CENTER | 1;
const EA_UPD_STATE_MERGE_GENS = _EA_CENTER | 2;
const EA_CONFLICT = _EA_CENTER | 3;
const EA_ERROR = _EA_CENTER | 4;
const EA_COPY_FILE_RTOL = _EA_LEFT | 1;
const EA_COPY_FILE_LTOR = _EA_RIGHT | 1;
const EA_COPY_NAME_CASE_RTOL = _EA_LEFT | 2;
const EA_COPY_NAME_CASE_LTOR = _EA_RIGHT | 2;
const EA_COPY_TIME_ATTR_RTOL = _EA_LEFT | 3;
const EA_COPY_TIME_ATTR_LTOR = _EA_RIGHT | 3;
const _ESS_UNDEFINED_ = 0;
const ESS_ANALYZED_OK = 1;
const ESS_ANALYZED_ERR = 2;
const ESS_SYNCING = 3;
const ESS_SYNCED_OK = 4;
const ESS_SYNCED_ERR = 5;
const _ESS_LAST_ = 6;
const DT_FORMAT_FULL = 0;
const DT_FORMAT_DATE = 1;
const DT_FORMAT_TIME = 2;
const LOG_ACT_NOTHING = -1;
const LOG_ACT_START_DWNLD = 0;
const LOG_ACT_SCROLL_STORE = 1;
const LOG_ACT_DELETE_OLD_LOGS = 2;
const LOG_ACT_COUNT_OLD_LOGS = 3;
const LOG_ACT_OUTPUT_OLD_LOG_LIST = 4;
const SpOp_None = 0;
const SpOp_DeleteStateFiles = 1;
const SpOp_DeleteRecycledAndHistory = 2;
const SpOp_DeleteGsData_Left = 3;
const SpOp_DeleteGsData_Right = 4;
const SpOp_DeleteGsData_Both = 5;
const SpOp_DeleteFolder_Left = 6;
const SpOp_DeleteFolder_Right = 7;
const SpOp_CleanupRecycled = 8;
const SpOp_DeleteItems_Left = 9;
const SpOp_DeleteItems_Right = 10;
const SpOp_DeleteItems_Both = 11;
const SpOp_CompareItems = 12;
const SpOp_DeleteRecycledFileMarker = 13;
const SpOp_ChangeItemActionHereAndBelow = 14;
const SpOp_ResolveConflicts_NewerWins = 16;
const SpOp_ResolveConflicts_LeftToRight = 17;
const SpOp_ResolveConflicts_RightToLeft = 18;
const GS_AB_CANNOT_HAVE_FILES = 1;
const GS_AB_CANNOT_CREATE_FOLDERS = 2;
const GS_AB_IS_DISK = 4;
const GS_AB_CANNOT_MOVE = 8;
const GS_AB_DISK_FIXED = 256;
const GS_AB_DISK_REMOVABLE = 512;
const GS_AB_DISK_REMOTE = 1024;
const GS_AB_DISK_READ_ONLY = 2048;
const GROUP_TYPE_ALL = 1;
const GROUP_TYPE_SYNC = 2;
const GROUP_TYPE_BACK = 3;
const GROUP_TYPE_USER = 4;
const aJobFieldsForTable = [
    "$[\"jobs\"][*][\"opt\"][\"sName\",\"eJobDirection\",\"tTimeStamp\",\"atOnFileChange\",\"atOnFolderConnect\",\"atOnStart\",\"atOnTimer\",\"atOnLogout\",\"atOnSchedule\",\"bAutoUnattended\",\"nOnFileChangeDelay\",\"nAutoStartDelay\",\"sPreAnalyzeProgram\",\"sPostAnalyzeEmailOrProgram\",\"sPostSyncEmailOrProgram\",\"iEveryHour\",\"iEveryMinute\"]",
    "$[\"jobs\"][*][\"opt\"][\"side_coords\"][*][\"conn\"][\"sUrlA\"]",
    "$[\"next_name\"]"
];
const aJobFieldsForScedule = [
    "$[\"jobs\"][*][\"opt\"][\"sName\"]",
    "$[\"jobs\"][*][\"opt\"][\"schedule\"]",
    "$[\"next_name\"]",
];
const aJobFieldsForSideCoords = [
    "$[\"jobs\"][*][\"opt\"][\"side_coords\"]",
];
const MAX_TREE_MODE = 24;
const DEF_TREE_MODE = 1;
