PageSourceSearch

https://asce7tsunami.online/app/js/config/config.js?0.1.40

js asce7tsunami.online collected 2026-10-04 13:25:34 UTC 10,352 bytes, 215 lines download raw bytes

1define(['exports', 'esri/geometry/Extent'], function (exports, _esriGeometryExtent) {
2  'use strict';
3
4  Object.defineProperty(exports, '__esModule', {
5    value: true
6  });
7
8  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; }
9
10  var _Extent = _interopRequireDefault(_esriGeometryExtent);
11
12  var minScale = 900000;
13
14  exports['default'] = {
15    application_title: 'ASCE Tsunami Hazard Tool',
16    application_data_version: 'ASCE Tsunami Design Geodatabase Version 2022-1.0',
17
18    widgets: {
19      search: {
20        enableHighlight: true,
21        enableInfoWindow: false,
22        locationToAddressDistance: 30
23      },
24      basemapGallery: {
25        showArcGISBasemaps: true,
26        title: 'Basemap Gallery'
27      }
28    },
29    symbols: {
30      location: 'http://js.arcgis.com/3.36/esri/dijit/Search/images/search-pointer.png',
31      protractor: 'app/images/protractor.png'
32    },
33
34    reverseGeocoderURL: 'https://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer/reverseGeocode',
35    'inudationQueryURL_7-16': 'https://gis.asce.org/arcgis/rest/services/ASCE/Tsunami_FeatureServices/MapServer',
36    'inudationQueryURL_7-22': 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_Tsunami_Feature_Services/MapServer',
37    'groundSubsidenceQueryURL_7-16': 'https://gis.asce.org/arcgis/rest/services/ASCE/ground_subsidence/ImageServer',
38    'groundSubsidenceQueryURL_7-22': 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_ground_subsidence/ImageServer',
39    disagFigureURL: 'https://gis.asce.org/disag/',
40    'pointElevationURL_7-16': 'https://gis.asce.org/arcgis/rest/services/ASCE/DEM_Mosaic/ImageServer',
41    'pointElevationURL_7-22': 'https://gis.asce.org/arcgis/rest/services/ASCE722/DEM_Mosaic_722/ImageServer',
42    'navd88URL_7-16': 'https://gis.asce.org/arcgis/rest/services/ASCE/NAVD88_vdatum/ImageServer',
43    'navd88URL_7-22': 'https://gis.asce.org/arcgis/rest/services/ASCE722/NAVD88_vdatum_722/ImageServer',
44    transectUrls: {
45      'demBoundary_7-16': 'https://gis.asce.org/arcgis/rest/services/ASCE/DEM_Footprint/MapServer',
46      'demBoundary_7-22': 'https://gis.asce.org/arcgis/rest/services/ASCE722/DEM_Footprint_722/MapServer'
47    },
48
49    map: {
50      id: 'ASCEmap',
51      options: {
52        extent: new _Extent['default']({
53          'xmin': -21018272.17,
54          'ymin': -1241643.25,
55          'xmax': -7340324.59,
56          'ymax': 10499084.30,
57          'spatialReference': {
58            'wkid': 102100
59          }
60        }),
61        basemap: 'topo',
62        autoResize: true,
63        smartNavigation: false,
64        sliderPosition: 'top-right',
65        maxZoom: 19
66      }
67    },
68
69    layers: [{
70      type: 'dynamic',
71      url: 'https://gis.asce.org/arcgis/rest/services/ASCE/Tsunami_FeatureServices/MapServer',
72      visibleLayers: [4],
73      options: {
74        id: 'tsunami-zone_7-16',
75        opacity: .50
76      }
77    }, {
78      type: 'dynamic',
79      url: 'https://gis.asce.org/arcgis/rest/services/ASCE/Tsunami_FeatureServices/MapServer',
80      visibleLayers: [7],
81      options: {
82        id: 'subsidenceAndContour_7-16',
83        minScale: minScale
84      }
85    }, {
86      type: 'dynamic',
87      url: 'https://gis.asce.org/arcgis/rest/services/ASCE/Tsunami_FeatureServices/MapServer',
88      visibleLayers: [0, 1, 3],
89      options: {
90        id: 'feature-points_7-16',
91        minScale: minScale
92      }
93    }, {
94      type: 'dynamic',
95      url: 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_Tsunami_Feature_Services/MapServer',
96      visibleLayers: [4],
97      options: {
98        id: 'tsunami-zone_7-22',
99        opacity: .50
100      }
101    }, {
102      type: 'dynamic',
103      url: 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_Tsunami_Feature_Services/MapServer',
104      visibleLayers: [7],
105      options: {
106        id: 'subsidenceAndContour_7-22',
107        minScale: minScale
108      }
109    }, {
110      type: 'dynamic',
111      url: 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_Tsunami_Feature_Services/MapServer',
112      visibleLayers: [0, 1, 3, 5, 15],
113      options: {
114        id: 'feature-points_7-22',
115        minScale: minScale
116      }
117    }, {
118      type: 'dynamic',
119      url: 'https://gis.asce.org/arcgis/rest/services/ASCE722/ts2022_Tsunami_Feature_Services/MapServer',
120      visibleLayers: [11, 13],
121      options: {
122        id: 'bore-sites_7-22',
123        minScale: minScale
124      }
125    }],
126
127    strings: {
128      inundationSelectTransect: 'Select a transect to run',
129      locationSelectionLabel: 'Enter Structure Information',
130      criteriaSelectionLabel: 'Select Criteria',
131      selectTransectTypeLabel: 'Select Data Type for Analysis',
132      riskDropdownLabel: 'Select Risk Category',
133      riskLevelLabel: 'Risk Category',
134      measurementsLabel: 'Measurements',
135      imperial: 'Customary',
136      si: 'SI',
137      standardsVersionLabel: 'Standard Version',
138      standardsVersionMoreInfo: 'Select the Standard you wish to use for this report. Users who are unsure which building code reference document and version govern their project type and location should contact their local building department.',
139      invalidCriteriaNotNeeded: 'No Analysis Needed',
140      outsideTsunamiDesignZone: 'Area selected is not in the Tsunami Design Zone',
141      selectRisk: 'Please select a Risk Category.',
142      selectLocation: 'Please select a location for analysis',
143      disclaimerText: 'The ASCE Tsunami Design Geodatabase version 2022-1.0 of geocoded reference points of Runup and associated Inundation Limits of the Tsunami Design Zone is an integral part of the tsunami loads provisions of Standard ASCE/SEI 7-22. It is not intended to be used for evacuation or emergency management planning. By using this site, you agree to be bound by the Terms of Service.',
144      leftPanelDisclaimerText: 'All data are per the requirements of the ASCE/SEI 7 standard; local requirements may vary.',
145
146      popupRunupDataTextNote: ['The digital elevation model (DEM) data included in the ASCE Tsunami Hazard Tool is provided as a resource along with the tsunami Runup data. In the case where the site topographic elevation shown in the Tool is inconsistent with site survey results based on the same reference datum, the survey results are permitted to be used for finding the average elevation at the building footprint. The discrepancy is to be reported to ASCE for evaluation of possible DEM errata. The ASCE 7 Tsunami Design Geodatabase data for the Runups and any Inundation Depth Points shall be used to determine the tsunami water surface even in locations where topographic elevations appear inconsistent.', 'The ASCE Tsunami Hazard Tool Runup points prescribe the Runup Elevation at which the tsunami inundation terminates. With detailed map data, the position of the Runup should be placed at the corresponding topographic elevation, as that is where the tsunami water depth becomes zero at the Inundation Limit.'],
147
148      // Invalid Risk
149      invalidRiskTitle: function invalidRiskTitle(version) {
150        return 'Tsunami Risk Category: See ASCE ' + version + ' Sections 1.5, 6.1, 6.2, and 6.4.';
151      },
152      invalidRiskI: function invalidRiskI(version) {
153        return 'See ASCE ' + version + ' Section 6.1.1.';
154      },
155      invalidRiskII: function invalidRiskII(version) {
156        return 'Tsunami Risk Category II buildings and other structures located within the Tsunami Design Zone shall include design for tsunami effects as required by the state or locally adopted building code; See ASCE ' + version + ' Section 6.1.1.';
157      },
158      invalidRiskIII: function invalidRiskIII(version) {
159        return 'Tsunami Risk Category III buildings and other structures with inundation depth greater than 3 ft (0.914 m) at any location within the intended footprint of the structure shall include design for tsunami effects; See ASCE ' + version + ' Section 6.1.1.';
160      },
161      invalidRiskIV: function invalidRiskIV(version) {
162        return 'Tsunami Risk Category IV buildings and other structures shall include design for tsunami effects; See ASCE ' + version + ' Section 6.1.1.';
163      },
164
165      // Note Text
166      tsunamiAmplitude: 'Note: Offshore Tsunami Amplitude points may be some distance off-shore so zooming out may be required.',
167
168      // Information Text
169      locationInfo: 'Use the tabs below to enter a specific street address or latitude and longitude (to 5 decimal places), or to select a site by clicking directly on the map. Address location gives street location and user needs to confirm precise location of structure as necessary to comply with standard requirements.',
170      addShapeInfo: 'Press down to start and let go to finish drawing box',
171      noLegendInfo: 'Select data to display',
172      asceInfo: 'About This Site',
173      emailInfo: 'Feedback or questions? Contact ASCE',
174      termsInfo: 'Terms and Conditions',
175
176      measureArea: 'Click once on map to set one corner of the area you wish to measure. Continue clicking to set additional corners. Double-click to stop drawing.',
177      measureDistance: 'Click once on map to set beginning of the distance you wish to measure. Continue clicking to add additional waypoints. Double-click to stop drawing.'
178    },
179
180    riskLevelRange: 4,
181
182    elevation: {
183      label: 'Elevation',
184      checked: '',
185      sampleData: {
186        label: 'Elevation Load',
187        value: ['Calculating']
188      },
189      layer: {
190        id: 'Elevation',
191        queryURL: 'https://services.nationalmap.gov/arcgis/rest/services/SmallScale100Meter/SmallScaleElevationWMS/MapServer',
192        displayURL: 'https://services.nationalmap.gov/arcgis/rest/services/SmallScale100Meter/SmallScaleElevationWMS/MapServer',
193        type: 'tile',
194        visibleLayers: [0, 1, 2, 3],
195        visible: false
196      }
197    },
198    alphabet: 'ABCDEFGHIJKLMNOPQRSTUVWXYZ', // use for default placeholder name transects
199    colors: {
200      transects: [[67, 160, 71], [51, 105, 30], [38, 166, 154], [0, 121, 107], [48, 79, 254], [1, 87, 155], [40, 53, 147], [123, 31, 162], [136, 14, 79]]
201    }
202  };
203  var shareMeta = {
204    twitter: {
205      link: 'Twiter link test',
206      pageDescription: 'test1'
207    },
208    facebook: {
209      link: 'Twiter link test',
210      pageDescription: 'test1'
211    }
212  };
213  exports.shareMeta = shareMeta;
214});
215//# sourceMappingURL=config.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.