/***********************************************************************/
/*                                                                     */
/*                      ADOBE CONFIDENTIAL                             */
/*                   _ _ _ _ _ _ _ _ _ _ _ _ _                         */
/*                                                                     */
/*  Copyright 2016 Adobe Systems Incorporated                          */
/*  All Rights Reserved.                                               */
/*                                                                     */
/* NOTICE:  All information contained herein is, and remains           */
/* the property of Adobe Systems Incorporated and its suppliers,       */
/* if any.  The intellectual and technical concepts contained          */
/* herein are proprietary to Adobe Systems Incorporated and its        */
/* suppliers and are protected by all applicable intellectual property */
/* laws, including trade secret and copyright laws.                    */
/* Dissemination of this information or reproduction of this material  */
/* is strictly forbidden unless prior written permission is obtained   */
/* from Adobe Systems Incorporated.                                    */
/*                                                                     */
/***********************************************************************/

// global controller
var gCtrl = null;

// global broadcaster
var gBroadcaster = null;

var gUseRemoteWorkflowStorage 	= true;	    // use remote workflows
var gUseRemoteContentStorage 	= true;	    // use remote content
var gCacheRemoteContent			= false;	// cache remote stuff in file cache

var gIgnoreContentBlackList     = false;    // if true then ignore content blacklist

//var REMOTE_URL_DEBUG					= 'https://download.adobe.com/pub/adobe/audition/onboarding/';
var REMOTE_URL_RELEASE					= 'https://download.adobe.com/pub/adobe/audition/onboarding/';

var PANELSURFACE_WORKFLOW_LIST			= 'workflowlist';
var PANELSURFACE_WORKFLOW				= 'workflow';
var PANELSURFACE_WORKFLOW_SUCCEEDED		= 'workflowsucceeded';
var PANELSURFACE_WORKFLOW_CANCELED		= 'workflowcanceled';
var PANELSURFACE_WORKFLOW_STEP			= 'workflowstep';
var PANELSURFACE_WORKFLOW_STEP_FAILURE	= 'workflowstepfailure';
var PANELSURFACE_WORKFLOW_STEP_SUCCESS	= 'workflowstepsuccess';
var PANELSURFACE_WORKFLOW_STEP_TIMEOUT	= 'workflowsteptimeout';

var CONTENTLOCATOR_WORKFLOW_LIST		= 'workflows';
var CONTENTLOCATOR_WORKFLOW_TITLE		= 'wf_title';
var CONTENTLOCATOR_WORKFLOW_LIST_TITLE	= 'list_title';
var CONTENTLOCATOR_STEP_GOOD_BAD		= 'step_success_failure';
var CONTENTLOCATOR_PROGRESS     		= 'progress';

var CLICKEVENT_WORKFLOW_SUCCESS_COMMIT	= 'workflow_succeeded_commit';
var CLICKEVENT_WORKFLOW_CANCEL_COMMIT	= 'workflow_canceled_commit';
var CLICKEVENT_WORKFLOW_START			= 'workflow_start';
var CLICKEVENT_WORKFLOW_CANCEL			= 'workflow_cancel';
var CLICKEVENT_WORKFLOW_STEP_REPEAT		= 'workflow_step_repeat';
var CLICKEVENT_WORKFLOW_STEP_BACK		= 'workflow_step_back';
var CLICKEVENT_WORKFLOW_STEP_NEXT		= 'workflow_step_next';
var CLICKEVENT_WORKFLOW_STEP_SKIP		= 'workflow_step_skip';
var CLICKEVENT_WORKFLOW_STEP_JUMP		= "workflow_step_jump";

var TIMEOUT_STEP_TIMER					= 250;
var TIMEOUT_SWITCH_NEXT_STEP			= 2500;

var NEGATIVE_TRIGGER_FILENAME			= 'ntrigger.json';

var SETTINGS_FILENAME                   = 'onboarding.settings';

var FONT_WIN							= 'Tahoma';
var FONT_MAC							= 'LucidaGrande';

//var __debug__ = true;
var __debuglog__ = true;

var __loglevel__ = DebugLog.LOGLEVEL_NONE;	// DebugLog.LOGLEVEL_INFO / DebugLog.LOGLEVEL_ERROR / DebugLog.LOGLEVEL_FATAL
var __logoutput__ = 0;	// DebugLog.LOGOUTPUT_FILE | DebugLog.LOGOUTPUT_CONSOLE | DebugLog.LOGOUTPUT_ALERT;