WRMCB=function(e){var c=console;if(c&&c.log&&c.error){c.log('Error running batched script.');c.error(e);}}
;
try {
/* module-key = 'com.tempoplugin.tempo-accounts:accounts-global-constants-resource', location = '/com/tempoplugin/accounts/accounts-constants.js' */
define('tempo-accounts/constants', [], function () {
    var Currency = {
        defaultCode: 'USD'
    };

    var DocumentationLinks = {
        accounts: 'https://tempo.io/wiki/',
        teams: 'https://tempo.io/wiki/'
    };

    var Events = {
        accountCreated: 'accountCreated',
        categoryDeleted: 'categoryDeleted',
        currencyChanged: 'currencyChanged',
        filterUpdated: 'filterUpdated',
        queryUpdated: 'queryUpdated',
        rateTableCreated: 'rateTableCreated',
        pageUpdated: 'pageUpdated'
    };

    var Filter = {};
    Filter.Type = {
        lead: 'lead',
        category: 'category',
        categoryType: 'categoryType',
        customer: 'customer',
        status: 'status',
        project: 'project',
        pricetable: 'pricetable',
        freetext: 'freetext'
    };

    Filter.noValue = 'unassigned';
    Filter.global = 'global';
    Filter.Quick = {
        openAndClosed: 'openAndClosed',
        leadByMe: 'leadByMe',
        archived: 'archived',
        global: 'global',
        unassignedProject: 'unassignedProject',
        unassignedCustomer: 'unassignedCustomer',
        unassignedCategory: 'unassignedCategory'
    };
    Filter.orderBy = 'orderBy';

    var LinkType = {
        imported: 'IMPORTED',
        manual: 'MANUAL'
    };

    var Rate = {
        LinkType: {
            defaultRate: 'DEFAULT_RATE',
            teamRole: 'TEAM_ROLE'
        }
    };

    var ScopeType = {
        account: 'ACCOUNT',
        project: 'PROJECT'
    };

    var SortType = {
        CATEGORY: 'CATEGORY',
        CATEGORYTYPE: 'CATEGORYTYPE',
        CONTACT: 'CONTACT',
        CUSTOMER: 'CUSTOMER',
        KEY: 'KEY',
        LEAD: 'LEAD',
        NAME: 'NAME',
        STATUS: 'STATUS'
    };

    var SortOrder = {
        ASC: 'ASC',
        DESC: 'DESC'
    };

    var Status = {
        OPEN: {
            status: 'OPEN',
            className: 'aui-lozenge-success',
            translation: "\u041e\u0442\u043a\u0440\u044b\u0442"
        },
        CLOSED: {
            status: 'CLOSED',
            className: 'aui-lozenge-error',
            translation: "\u0417\u0430\u043a\u0440\u044b\u0442"
        },
        ARCHIVED: {
            status: 'ARCHIVED',
            className: 'aui-lozenge-current',
            translation: "\u0412 \u0430\u0440\u0445\u0438\u0432\u0435"
        }
    };

    return {
        Currency: Currency,
        DocumentationLinks: DocumentationLinks,
        Events: Events,
        Filter: Filter,
        LinkType: LinkType,
        Rate: Rate,
        ScopeType: ScopeType,
        SortOrder: SortOrder,
        SortType: SortType,
        Status: Status
    };
});

}catch(e){WRMCB(e)};
;
try {
/* module-key = 'com.tempoplugin.tempo-accounts:accounts-global-constants-resource', location = '/com/tempoplugin/accounts/accounts-global.js' */
define('tempo-accounts/accounts',
    ['jquery',
        'underscore',
        'tempo-core/number-format'],
    function ($, _, NumberFormat) {
        var Accounts = window.Accounts || {};

        // Backwards compatibility
        Accounts.Format = _.extend(Accounts.Format || {}, NumberFormat || {});

        window.Accounts = Accounts;
        return Accounts;
    }
);

}catch(e){WRMCB(e)};