// dojo globals
var dojoConfig = {
    async: true,
    packages: [
        {
            name: "app",
            location: "/app/public/login/scripts-1772113632"
        },
        {
            name: "@login",
            location: "/app/public/login/scripts-1772113632"
        },
        {
            name: "intuit",
            location: "https://appcenter.intuit.com/Content/IA/"
        },
        {
            name: "base",
            location: "/app/public/login/scripts-1772113632"
        },
        {
            name: "core",
            location: "/app/public/scripts-1766414853"
        },
        {
            name: "@core",
            location: "/app/public/scripts-1766414853"
        },
        {
            name: "react",
            location: '/static/react@16.14.0/umd',
            main: 'react.production.min'
        },
        {
            name: "react-dom",
            location: '/static/react-dom@16.14.0/umd',
            main: 'react-dom.production.min'
        },
        {
            name: "react-is",
            location: '/static',
            main: "react-is@16.7.0-production.min"
        },
        {
            name: "material-ui",
            location: "/static",
            main: "material-ui-@3.7.0-production.min"
        },
        {
            name: "@material-ui",
            location: "/static",
            main: "material-ui-@3.7.0-production.min"
        },
        {
            name: "react-select",
            location: '/static/react-select@2.0.0',
            main: 'react-select.min'
        },
        {
            name: "react-text-mask",
            location: '/static/react-text-mask@5.4.3',
            main: 'reactTextMask'
        },
        {
            name: "react-password-mask",
            location: '/static/react-password-mask@5.4.3',
            main: 'reactPasswordMask'
        },
        {
            name: "emotion",
            location: '/static/emotion@9.2.8',
            main: 'emotion.umd.min'
        },
        {
            name: "react-input-autosize",
            location: '/static/react-input-autosize@2.2.1',
            main: 'react-input-autosize.min'
        },
        {
            name: "prop-types",
            location: '/static/prop-types@15.6.2',
            main: 'prop-types.min'
        },
        {
            name: "material-ui-pickers",
            location: '/static/material-ui-pickers@2.2.4',
            main: 'material-ui-pickers.umd.min'
        },
        {
            name: "moment",
            location: '/static',
            main: 'moment'
        },
        {
            name: "moment-timezone",
            location: '/static',
            main: 'moment-timezone'
        },
        {
            name: "date-fns",
            location: '/static/date-fns@2.0.0',
            main: 'date_fns'
        },
        {
            name: "react-router-dom",
            location: '/static/react-router-dom@4.3.1',
            main: 'react-router-dom.min'
        },
        {
            name: "typestyle",
            location: '/static/typestyle@2.0.1/umd',
            main:'typestyle'
        },
        {
            name: "immutable",
            location: '/static/immutable@3.8.2/dist',
            main:'immutable'
        },
        {
            name: "signature_pad",
            location: '/static/signature_pad@2.3.2',
            main:'signature_pad.min'
        },
        {
            name: "material-ui-upload",
            location: '/static',
            main: 'material-ui-upload'
        },
        {
            name: "clipboard",
            location: '/static',
            main: "clipboard"
        },
        {
            name: "dompurify",
            location: '/static',
            main: "dom-purify"
        },
        {
            name: "react-number-format",
            location: '/static',
            main: "react-number-format.v1"
        },
        {
            name: "currency",
            location: '/static/currency@2.0.4',
            main: "currency.min"
        },
    ],
        parseOnLoad: true,
    isDebug: false,
    "dojo-debug-messages": false
};

// app globals
        
                                                                                
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        
            
var _app = _app || {};

// pace options
paceOptions = {
    restartOnPushState: false
}

// trackJs globals
var _trackJs = {
    consoleDisplay: 'true',
    trackAjaxFail: false,
    globalAlias: false
};

Number.prototype.pad = function (size) {
    var s = String(this);
    while (s.length < (
        size || 2
    ))
    {
        s = "0" + s;
    }
    return s;
}

process = {
    env: {}
};

_Promise = Promise;

if(typeof Object.values !== "function")
{

    Object.values = function(obj)
    {

        return Object.keys(obj).map(
            function(key)
            {

                return obj[key];
            }
        )
    };
}

if(typeof Object.assign !== "function")
{

    Object.assign = function(target)
    {
        for (var i = 1; i < arguments.length; i++)
        {

            var source = arguments[i];

            for (var key in source)
            {

                if (source.hasOwnProperty(key))
                {
                    target[key] = source[key];
                }
            }
        }

        return target;
    };
}