define([
    'dojo/has',

    'esri/symbols/SimpleFillSymbol',
    'esri/symbols/SimpleLineSymbol',
    'esri/symbols/SimpleMarkerSymbol'
], function (
    has,

    SimpleFillSymbol,
    SimpleLineSymbol,
    SimpleMarkerSymbol
) {
    var agol = 'http://www.arcgis.com';

    var config = {
        appName: 'daq-web',
        appId: 'Rngn0PfKFjvT2p26',
        version: '1.9.0',
        maxResult: 1000,
        fields: {
            uniqueId: 'OBJECTID',
            locks: ['AI_Number', 'SITE_ID'],
            lock: null,
            operator: 'Operator_N',
            facilityId: 'facility_i'
        },
        queries: {
            well: {
                wellName: {
                    field: 'WELL_NAME',
                    type: 'string'
                },
                apiNumber: {
                    field: 'F2015_DOGM_',
                    type: 'number'
                },
                operatorName: {
                    field: 'CO_NAME',
                    type: 'string'
                }
            },
            facility: {
                facilityName: {
                    field: 'facility_n',
                    type: 'string'
                },
                operatorName: {
                    field: 'Operator_N',
                    type: 'string'
                },
                permitNumber: {
                    field: 'facility_p',
                    type: 'string'
                },
                aiNumber: {
                    field: 'AI_Number',
                    type: 'number'
                },
                inspector: {
                    field: 'Inspector',
                    type: 'string'
                }
            },
            permit: {
                facilityName: {
                    field: 'Site_Name',
                    type: 'string'
                },
                aiNumber: {
                    field: 'SITE_ID',
                    type: 'number'
                },
                permitNumber: {
                    field: 'Permit_ID',
                    type: 'string'
                }
            }
        },
        topics: {
            addAi: '1',
            toast: '2',
            graphics: {
                highlight: '3',
                clear: '4'
            },
            identify: '5',
            dirtyAssets: '6'
        },
        urls: {
            webapi: 'http://localhost/daq',
            webMap: '54525aa512544213adf194303769b643',
            agol: agol + '/sharing',
            agolHome: agol
        },
        symbols: {
            point: new SimpleMarkerSymbol({
                color: [1, 255, 12, 200], // eslint-disable-line no-magic-numbers
                size: 7.5,
                angle: 0,
                xoffset: 0,
                yoffset: 0,
                type: 'esriSMS',
                style: 'esriSMSCircle',
                outline: {
                    color: [0, 31, 63, 255], // eslint-disable-line no-magic-numbers
                    width: 0.5,
                    type: 'esriSLS',
                    style: 'esriSLSSolid'
                }
            }),
            line: {},
            poly: new SimpleFillSymbol({
                color: [240, 28, 190, 200], // eslint-disable-line no-magic-numbers
                outline: {
                    color: [0, 31, 63, 255], // eslint-disable-line no-magic-numbers
                    width: 0.5,
                    type: 'esriSLS',
                    style: 'esriSLSSolid'
                },
                type: 'esriSFS',
                style: 'esriSFSSolid'
            }),
            trs: new SimpleFillSymbol({
                color: [0, 0, 0, 64], // eslint-disable-line no-magic-numbers
                outline: {
                    color: [255, 65, 54, 200], // eslint-disable-line no-magic-numbers
                    width: 3,
                    type: 'esriSLS',
                    style: 'esriSLSShortDot'
                },
                type: 'esriSFS',
                style: 'esriSFSNull'
            })
        }
    };

    if (has('agrc-build') === 'prod' || has('agrc-build') === 'stage') {
        config.urls.webapi = '/daq';
        config.apiKey = 'AGRC-AC122FA9671436';
    } else {
        // localhost
        config.apiKey = 'AGRC-E5B94F99865799';
    }

    return config;
});

@@ -2704,10 +2704,9 @@
 ze: 
-7.
+2
 5,%0A 
@@ -2910,33 +2910,35 @@
     color: %5B
-0, 31, 63
+255, 220, 0
 , 255%5D, // e
@@ -2992,35 +2992,33 @@
          width: 
-0.5
+2
 ,%0A              

make highlight graphic bigger!