function _getInitialState() {
    // Does the toolbar eventually fade out, or is it always visible?
    let alwaysVisible = false;

    // Toolbar (initial) visibility.
    let visible = false;

    // Hangup (initial) visibility.
    let hangupVisible = false;

    // Default toolbox timeout for mobile app.
    let timeoutMS = 5000;

    if (typeof interfaceConfig !== 'undefined') {
        if (interfaceConfig.INITIAL_TOOLBAR_TIMEOUT) {
            timeoutMS = interfaceConfig.INITIAL_TOOLBAR_TIMEOUT;
        }
        if (typeof interfaceConfig.TOOLBAR_ALWAYS_VISIBLE !== 'undefined') {
            alwaysVisible = interfaceConfig.TOOLBAR_ALWAYS_VISIBLE;
        }
    }

    // When the toolbar is always visible, it must initially be visible too.
    if (alwaysVisible === true) {
        visible = true;
    }

    return {
        /**
         * The indicator which determines whether the Toolbox should always be
         * visible. When false, the toolbar will fade out after timeoutMS.
         *
         * @type {boolean}
         */
        alwaysVisible,

        /**
         * The indicator which determines whether the Toolbox is enabled.
         *
         * @type {boolean}
         */
        enabled: true,

        /**
         * The indicator which determines whether a Toolbar in the Toolbox is
         * hovered.
         *
         * @type {boolean}
         */
        hovered: false,

        /**
         * The indicator which determines whether the OverflowMenu is visible.
         *
         * @type {boolean}
         */
        overflowMenuVisible: false,

        /**
         * A number, non-zero value which identifies the timer created by a call
         * to setTimeout() with timeoutMS.
         *
         * @type {number|null}
         */
        timeoutID: null,

        /**
         * The delay in milliseconds before timeoutID executes (after its
         * initialization).
         *
         * @type {number}
         */
        timeoutMS,

        /**
         * The indicator which determines whether the Toolbox is visible.
         *
         * @type {boolean}
         */
        visible,
        /**
         * The indicator which determines whether the Hangup menu is visible.
         *
         * @type {boolean}
         */
        overflowMenuHangupVisible: false,
    };
}
/**
 * Returns initial state for toolbox's part of Redux store.
 *
 * @private
 * @returns {{
 *     alwaysVisible: boolean,
 *     enabled: boolean,
 *     hovered: boolean,
 *     overflowMenuVisible: boolean,
 *     timeoutID: number,
 *     timeoutMS: number,
 *     visible: boolean,
 *     overflowMenuHangupVisible: boolean
 * }}
 */
Returns initial state for toolbox's part of Redux store.
Returns initial state for toolbox ' s part of Redux store .
function _getInitialState() {
    let alwaysVisible = false;
    let visible = false;
    let hangupVisible = false;
    let timeoutMS = 5000;
    if (typeof interfaceConfig !== 'undefined') {
        if (interfaceConfig.INITIAL_TOOLBAR_TIMEOUT) {
            timeoutMS = interfaceConfig.INITIAL_TOOLBAR_TIMEOUT;
        }
        if (typeof interfaceConfig.TOOLBAR_ALWAYS_VISIBLE !== 'undefined') {
            alwaysVisible = interfaceConfig.TOOLBAR_ALWAYS_VISIBLE;
        }
    }
    if (alwaysVisible === true) {
        visible = true;
    }
    return {
        alwaysVisible,
        enabled: true,
        hovered: false,
        overflowMenuVisible: false,
        timeoutID: null,
        timeoutMS,
        visible,
        overflowMenuHangupVisible: false,
    };
}
function _getInitialState ( ) { let alwaysVisible = false ; let visible = false ; let hangupVisible = false ; let timeoutMS = 5000 ; if ( typeof interfaceConfig !== 'undefined' ) { if ( interfaceConfig . INITIAL_TOOLBAR_TIMEOUT ) { timeoutMS = interfaceConfig . INITIAL_TOOLBAR_TIMEOUT ; } if ( typeof interfaceConfig . TOOLBAR_ALWAYS_VISIBLE !== 'undefined' ) { alwaysVisible = interfaceConfig . TOOLBAR_ALWAYS_VISIBLE ; } } if ( alwaysVisible === true ) { visible = true ; } return { alwaysVisible , enabled : true , hovered : false , overflowMenuVisible : false , timeoutID : null , timeoutMS , visible , overflowMenuHangupVisible : false , } ; }
Returns initial state for toolbox's part of Redux store.
Returns initial state for toolbox ' s part of Redux store .
// Does the toolbar eventually fade out, or is it always visible? // Toolbar (initial) visibility. // Hangup (initial) visibility. // Default toolbox timeout for mobile app. // When the toolbar is always visible, it must initially be visible too. /**
         * The indicator which determines whether the Toolbox should always be
         * visible. When false, the toolbar will fade out after timeoutMS.
         *
         * @type {boolean}
         */ /**
         * The indicator which determines whether the Toolbox is enabled.
         *
         * @type {boolean}
         */ /**
         * The indicator which determines whether a Toolbar in the Toolbox is
         * hovered.
         *
         * @type {boolean}
         */ /**
         * The indicator which determines whether the OverflowMenu is visible.
         *
         * @type {boolean}
         */ /**
         * A number, non-zero value which identifies the timer created by a call
         * to setTimeout() with timeoutMS.
         *
         * @type {number|null}
         */ /**
         * The delay in milliseconds before timeoutID executes (after its
         * initialization).
         *
         * @type {number}
         */ /**
         * The indicator which determines whether the Toolbox is visible.
         *
         * @type {boolean}
         */ /**
         * The indicator which determines whether the Hangup menu is visible.
         *
         * @type {boolean}
         */