text: // All material copyright ESRI, All Rights Reserved, unless otherwise specified.
  // See http://js.arcgis.com/3.15/esri/copyright.txt and http://www.arcgis.com/apps/webappbuilder/copyright.txt for details.
  
  //>>built
  define(["dojo/_base/lang","dojo/_base/array"],function(g,d){var c={},a=0,e=[{id:a++,dijitID:"esri/dijit/analysis/AggregatePoints",name:"AggregatePoints",title:"aggregateTool",imgDisplay:"images/aggregate-points.png",usage:"aggregatePointsUsage",analysisLayer:{name:"pointLayer",geomTypes:["esriGeometryPoint","esriGeometryMultipoint"]},requiredParam:{name:"polygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]},icon:"images/AggregatePoints32.png"},{id:a++,dijitID:"esri/dijit/analysis/CalculateDensity",
  name:"CalculateDensity",title:"calculateDensity",imgDisplay:"images/calculate-density.png",usage:"calculateDensityUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline"]},optionalParams:[{name:"boundingPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/CreateDensitySurface32.png",privileges:["svradvanced"]},{id:a++,dijitID:"esri/dijit/analysis/ChooseBestFacilities",name:"ChooseBestFacilities",title:"chooseBestFacilities",
  imgDisplay:"images/choose-best-facilities.png",analysisLayer:{name:"demandLocationLayer",geomTypes:["esriGeometryPoint","esriGeometryMultipoint"]},optionalParams:[{name:"demandLocationLayers",isArray:!0,geomTypes:["esriGeometryPoint","esriGeometryMultipoint"]},{name:"featureLayers",isArray:!0,geomTypes:["*"]},{name:"pointBarriers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"lineBarriers",isArray:!0,geomTypes:["esriGeometryPolyline"]},{name:"polygonBarriers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],
  icon:"images/ChooseBestFacilities32.png",privileges:["loc"]},{id:a++,dijitID:"esri/dijit/analysis/ConnectOriginsToDestinations",name:"ConnectOriginsToDestinations",title:"connectOriginsToDestinations",imgDisplay:"images/connect-origins-to-destinations.png",usage:"connectOriginsToDestinationsUsage",analysisLayer:{name:"originsLayer",geomTypes:["esriGeometryPoint"]},requiredParam:{name:"featureLayers",isArray:!0,geomTypes:["esriGeometryPoint"]},optionalParams:[{name:"pointBarriers",isArray:!0,geomTypes:["esriGeometryPoint"]},
  {name:"lineBarriers",isArray:!0,geomTypes:["esriGeometryPolyline"]},{name:"polygonBarriers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/ConnectOriginstoDestinations32.png",privileges:["od"]},{id:a++,dijitID:"esri/dijit/analysis/CreateBuffers",name:"CreateBuffers",title:"createBuffers",imgDisplay:"images/create-buffers.png",usage:"createBuffersUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},icon:"images/CreateBuffers32.png"},{id:a++,dijitID:"esri/dijit/analysis/CreateDriveTimeAreas",
  name:"CreateDriveTimeAreas",title:"createDriveTimeAreas",imgDisplay:"images/create-drivetime.png",usage:"createDriveTimeAreasUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPoint"]},optionalParams:[{name:"pointBarriers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"lineBarriers",isArray:!0,geomTypes:["esriGeometryPolyline"]},{name:"polygonBarriers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/CreateDriveTimeAreas32.png",cannotCancel:!0,privileges:["drivetimearea"]},
  {id:a++,dijitID:"esri/dijit/analysis/CreateViewshed",name:"CreateViewshed",title:"createViewshed",imgDisplay:"images/create-viewshed.png",usage:"createViewshedUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPoint"]},icon:"images/Viewshed32.png",privileges:["elevation"]},{id:a++,dijitID:"esri/dijit/analysis/CreateWatersheds",name:"CreateWatersheds",title:"createWatershed",imgDisplay:"images/create-watersheds.png",usage:"createWatershedsUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPoint"]},
  icon:"images/Watershed32.png",privileges:["hydro"]},{id:a++,dijitID:"esri/dijit/analysis/DeriveNewLocations",name:"DeriveNewLocations",title:"deriveNewLocations",imgDisplay:"images/derive-new-locations.png",usage:"deriveNewLocationsUsage",analysisLayer:{name:"analysisLayer",geomTypes:["*"]},optionalParams:[{name:"inputLayers",isArray:!0,geomTypes:["*"]}],icon:"images/FindNewLocations32.png"},{id:a++,dijitID:"esri/dijit/analysis/DissolveBoundaries",name:"DissolveBoundaries",title:"dissolveBoundaries",
  imgDisplay:"images/dissolve-boundaries.png",usage:"dissolveBoundariesUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPolygon"]},icon:"images/DissolveBoundaries32.png"},{id:a++,dijitID:"esri/dijit/analysis/EnrichLayer",name:"EnrichLayer",title:"enrichLayer",imgDisplay:"images/enrich-layer.png",usage:"enrichLayerUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},icon:"images/GeoenrichFeatures32.png",privileges:["geoenrichment"]},{id:a++,dijitID:"esri/dijit/analysis/ExtractData",
  name:"ExtractData",title:"extractData",imgDisplay:"images/extract-data.png",usage:"extractDataDesc",optionalParams:[{name:"featureLayers",isArray:!0,geomTypes:["*"]}],icon:"images/ClipAndShip32.png"},{id:a++,dijitID:"esri/dijit/analysis/FindCentroids",name:"FindCentroids",title:"findCentroids",imgDisplay:"images/find-centroids.png",usage:"findCentroidsUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},optionalParams:[{name:"inputLayers",isArray:!0,geomTypes:["*"]}],icon:"images/FindCentroid32.png",
  privileges:["svradvanced"]},{id:a++,dijitID:"esri/dijit/analysis/FindExistingLocations",name:"FindExistingLocations",title:"findExistingLocations",imgDisplay:"images/find-existing-locations.png",usage:"findExistingLocationsUsage",analysisLayer:{name:"analysisLayer",geomTypes:["*"]},optionalParams:[{name:"inputLayers",isArray:!0,geomTypes:["*"]}],icon:"images/FindExistingLocations32.png"},{id:a++,dijitID:"esri/dijit/analysis/FindHotSpots",name:"FindHotSpots",title:"findHotSpots",imgDisplay:"images/find-hot-spots.png",
  usage:"findHotSpotsUsage",analysisLayer:{name:"analysisLayer",geomTypes:["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolygon"]},optionalParams:[{name:"aggregationPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]},{name:"boundingPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/FindHotSpots32.png"},{id:a++,dijitID:"esri/dijit/analysis/FindNearest",name:"FindNearest",title:"findNearest",imgDisplay:"images/find-nearest.png",usage:"findNearestUsage",analysisLayer:{name:"analysisLayer",
  geomTypes:["*"]},requiredParam:{name:"nearLayers",isArray:!0,geomTypes:["*"]},optionalParams:[{name:"pointBarriers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"lineBarriers",isArray:!0,geomTypes:["esriGeometryPolyline"]},{name:"polygonBarriers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/FindNearest32.png",cannotCancel:!0,privileges:["svradvanced"]},{id:a++,dijitID:"esri/dijit/analysis/FindOutliers",name:"FindOutliers",title:"findOutliers",imgDisplay:"images/find-outliers.png",
  usage:"findOutliersUsage",analysisLayer:{name:"analysisLayer",geomTypes:["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolygon"]},optionalParams:[{name:"aggregationPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]},{name:"boundingPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/FindOutliers32.png"},{id:a++,dijitID:"esri/dijit/analysis/FindPointClusters",name:"FindPointClusters",title:"findPointClusters",imgDisplay:"images/find-point-clusters.png",usage:"findPointClustersUsage",
  analysisLayer:{name:"analysisLayer",geomTypes:["esriGeometryPoint"]},optionalParams:[{name:"analysisLayers",isArray:!0,geomTypes:["esriGeometryPoint"]}],icon:"images/FindPointClusters32.png"},{id:a++,dijitID:"esri/dijit/analysis/FindSimilarLocations",name:"FindSimilarLocations",title:"findSimilarLocations",imgDisplay:"images/find-similar-locations.png",usage:"findSimilarLocationsUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},optionalParams:[{name:"searchLayers",isArray:!0,geomTypes:["*"]}],
  icon:"images/FindSimilarLocations32.png"},{id:a++,dijitID:"esri/dijit/analysis/GeocodeLocationsFromTable",name:"GeocodeLocationsFromTable",title:"geocodeLocations",imgDisplay:"images/geocode-locations-from-table.png",usage:"geocodeLocationsUsage",icon:"images/GeocodeLocationsFromTable32.png",portalOnly:!0},{id:a++,dijitID:"esri/dijit/analysis/InterpolatePoints",name:"InterpolatePoints",title:"interpolatePoints",imgDisplay:"images/interpolate-points.png",usage:"interpolatePointsUsage",analysisLayer:{name:"inputLayer",
  geomTypes:["esriGeometryPoint","esriGeometryMultipoint"]},optionalParams:[{name:"boundingPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]},{name:"predictAtPointLayers",isArray:!0,geomTypes:["esriGeometryPoint"]}],icon:"images/CreateInterpolatedSurface32.png",privileges:["svradvanced"]},{id:a++,dijitID:"esri/dijit/analysis/JoinFeatures",name:"JoinFeatures",title:"joinFeatures",imgDisplay:"images/join-features.png",usage:"joinFeaturesUsage",analysisLayer:{name:"targetLayer",geomTypes:["*"]},
  optionalParams:[{name:"targetLayers",isArray:!0,geomTypes:["*"]},{name:"joinLayers",isArray:!0,geomTypes:["*"]}],icon:"images/JoinFeatures32.png"},{id:a++,dijitID:"esri/dijit/analysis/MergeLayers",name:"MergeLayers",title:"mergeLayers",imgDisplay:"images/merge-layers.png",usage:"mergeLayersUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},requiredParam:{name:"mergeLayers",isArray:!0,geomTypes:["*"]},icon:"images/MergeLayers32.png"},{id:a++,dijitID:"esri/dijit/analysis/OverlayLayers",name:"OverlayLayers",
  title:"overlayLayers",imgDisplay:"images/overlay-layers.png",usage:"overlayLayersUsage",analysisLayer:{name:"inputLayer",geomTypes:["*"]},requiredParam:{name:"overlayLayer",isArray:!0,geomTypes:["*"]},optionalParams:[{name:"overlayLayers",isArray:!0,geomTypes:["*"]}],icon:"images/OverlayLayers32.png"},{id:a++,dijitID:"esri/dijit/analysis/PlanRoutes",name:"PlanRoutes",title:"planRoutes",imgDisplay:"images/plan-routes.png",usage:"planRoutesUsage",analysisLayer:{name:"stopsLayer",geomTypes:["esriGeometryPoint"]},
  optionalParams:[{name:"featureLayers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"stopsLayers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"pointBarriers",isArray:!0,geomTypes:["esriGeometryPoint"]},{name:"lineBarriers",isArray:!0,geomTypes:["esriGeometryPolyline"]},{name:"polygonBarriers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/PlanRoutes32.png",cannotCancel:!0,privileges:["planroutes"]},{id:a++,dijitID:"esri/dijit/analysis/SummarizeCenterAndDispersion",name:"SummarizeCenterAndDispersion",
  title:"summarizeCenterAndDispersion",imgDisplay:"images/summarize-center-dispersion.png",usage:"summarizeCenterAndDispersionUsage",analysisLayer:{name:"analysisLayer",geomTypes:["esriGeometryPoint"]},optionalParams:[{name:"inputLayers",isArray:!0,geomTypes:["*"]}],icon:"images/SummarizeCenterAndDispersion32.png"},{id:a++,dijitID:"esri/dijit/analysis/SummarizeNearby",name:"SummarizeNearby",title:"summarizeNearby",imgDisplay:"images/summarize-nearby.png",usage:"summarizeNearbyUsage",analysisLayer:{name:"sumNearbyLayer",
  geomTypes:["*"]},requiredParam:{name:"summaryLayers",isArray:!0,geomTypes:["*"]},icon:"images/SummarizeNearby32.png"},{id:a++,dijitID:"esri/dijit/analysis/SummarizeWithin",name:"SummarizeWithin",title:"summarizeWithin",imgDisplay:"images/summarize-within.png",usage:"summarizeWithinUsage",analysisLayer:{name:"sumWithinLayer",geomTypes:["esriGeometryPolygon"]},requiredParam:{name:"summaryLayers",isArray:!0,geomTypes:["*"]},icon:"images/SummarizeWithin32.png"},{id:a++,dijitID:"esri/dijit/analysis/TraceDownstream",
  name:"TraceDownstream",title:"traceDownstream",imgDisplay:"images/trace-downstream.png",usage:"traceDownstreamUsage",analysisLayer:{name:"inputLayer",geomTypes:["esriGeometryPoint"]},optionalParams:[{name:"boundingPolygonLayers",isArray:!0,geomTypes:["esriGeometryPolygon"]}],icon:"images/TraceDownstream32.png",privileges:["hydro"]}];c.findToolSetting=function(a){var b=null;d.some(e,function(f){if(f.name===a)return b=f,!0});return b};c.getAllSettings=function(a){var b=g.clone(e);return d.filter(b,
  function(b){return!0!==b.portalOnly||!0===a})};return c});