123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356 |
- import {
- g
- } from "./chunk-RZFGRBD7.js";
- import {
- B
- } from "./chunk-PUSPZYFZ.js";
- import {
- j2
- } from "./chunk-EN7YGJWG.js";
- import {
- l as l2
- } from "./chunk-3D3QEPRE.js";
- import {
- r as r3
- } from "./chunk-7ZIDBK7B.js";
- import {
- m2 as m,
- v2 as v
- } from "./chunk-OWVBLVP3.js";
- import {
- o as o2
- } from "./chunk-PDKDCAAD.js";
- import {
- j2 as j,
- o
- } from "./chunk-ECW2QABR.js";
- import {
- r as r2
- } from "./chunk-MRJEICT6.js";
- import {
- d,
- e,
- l3 as l,
- n2 as n
- } from "./chunk-Y3WMVFTW.js";
- import {
- e as e2,
- r,
- t
- } from "./chunk-GZT4BVFP.js";
- // node_modules/@arcgis/core/rest/support/networkEnums.js
- var i = o2()({ esriCentimeters: "centimeters", esriDecimalDegrees: "decimal-degrees", esriDecimeters: "decimeters", esriFeet: "feet", esriInches: "inches", esriKilometers: "kilometers", esriMeters: "meters", esriMiles: "miles", esriMillimeters: "millimeters", esriNauticalMiles: "nautical-miles", esriPoints: "points", esriUnknownUnits: "unknown", esriYards: "yards" });
- var r4 = o2()({ esriNAUCentimeters: "centimeters", esriNAUDecimalDegrees: "decimal-degrees", esriNAUDecimeters: "decimeters", esriNAUFeet: "feet", esriNAUInches: "inches", esriNAUKilometers: "kilometers", esriNAUMeters: "meters", esriNAUMiles: "miles", esriNAUMillimeters: "millimeters", esriNAUNauticalMiles: "nautical-miles", esriNAUPoints: "points", esriNAUYards: "yards" });
- var t2 = o2()({ esriNAUDays: "days", esriNAUHours: "hours", esriNAUMinutes: "minutes", esriNAUSeconds: "seconds" });
- var s = o2()({ esriDOTComplete: "complete", esriDOTCompleteNoEvents: "complete-no-events", esriDOTFeatureSets: "featuresets", esriDOTInstructionsOnly: "instructions-only", esriDOTStandard: "standard", esriDOTSummaryOnly: "summary-only" });
- var o3 = o2()({ esriNAOutputLineNone: "none", esriNAOutputLineStraight: "straight", esriNAOutputLineTrueShape: "true-shape", esriNAOutputLineTrueShapeWithMeasure: "true-shape-with-measure" });
- var a = o2()({ esriNAOutputPolygonNone: "none", esriNAOutputPolygonSimplified: "simplified", esriNAOutputPolygonDetailed: "detailed" });
- var n2 = o2()({ esriNFSBAllowBacktrack: "allow-backtrack", esriNFSBAtDeadEndsOnly: "at-dead-ends-only", esriNFSBNoBacktrack: "no-backtrack", esriNFSBAtDeadEndsAndIntersections: "at-dead-ends-and-intersections" });
- var l3 = o2()({ esriNATravelDirectionFromFacility: "from-facility", esriNATravelDirectionToFacility: "to-facility" });
- var d2 = o2()({ esriNATimeOfDayNotUsed: "not-used", esriNATimeOfDayUseAsStartTime: "start", esriNATimeOfDayUseAsEndTime: "end" });
- var c = o2()({ AUTOMOBILE: "automobile", TRUCK: "truck", WALK: "walk", OTHER: "other" });
- var u = o2()({ 0: "either-side-of-vehicle", 1: "right-side-of-vehicle", 2: "left-side-of-vehicle", 3: "no-u-turn" }, { useNumericKeys: true });
- var m2 = o2()({ 0: "stop", 1: "waypoint", 2: "break" }, { useNumericKeys: true });
- var h = o2()({ 0: "ok", 1: "not-located", 2: "network-element-not-located", 3: "element-not-traversable", 4: "invalid-field-values", 5: "not-reached", 6: "time-window-violation", 7: "not-located-on-closest" }, { useNumericKeys: true });
- var p = o2()({ 1: "right", 2: "left" }, { useNumericKeys: true });
- var v2 = o2()({ 0: "restriction", 1: "added-cost" }, { useNumericKeys: true });
- var g2 = o2()({ 0: "permit", 1: "restrict" }, { useNumericKeys: true });
- var A = o2()({ 1: "header", 50: "arrive", 51: "depart", 52: "straight", 100: "on-ferry", 101: "off-ferry", 102: "central-fork", 103: "roundabout", 104: "u-turn", 150: "door", 151: "stairs", 152: "elevator", 153: "escalator", 154: "pedestrian-ramp", 200: "left-fork", 201: "left-ramp", 202: "clockwise-roundabout", 203: "left-handed-u-turn", 204: "bear-left", 205: "left-turn", 206: "sharp-left", 207: "left-turn-and-immediate-left-turn", 208: "left-turn-and-immediate-right-turn", 300: "right-fork", 301: "right-ramp", 302: "counter-clockwise-roundabout", 303: "right-handed-u-turn", 304: "bear-right", 305: "right-turn", 306: "sharp-right", 307: "right-turn-and-immediate-left-turn", 308: "right-turn-and-immediate-right-turn", 400: "up-elevator", 401: "up-escalator", 402: "up-stairs", 500: "down-elevator", 501: "down-escalator", 502: "down-stairs", 1e3: "general-event", 1001: "landmark", 1002: "time-zone-change", 1003: "traffic-event", 1004: "scaled-cost-barrier-event", 1005: "boundary-crossing", 1006: "restriction-violation" }, { useNumericKeys: true });
- var f = o2()({ 0: "unknown", 1: "segment", 2: "maneuver-segment", 3: "restriction-violation", 4: "scaled-cost-barrier", 5: "heavy-traffic", 6: "slow-traffic", 7: "moderate-traffic" }, { useNumericKeys: true });
- var k = o2()({ "NA Campus": "campus", "NA Desktop": "desktop", "NA Navigation": "navigation" });
- var N = o2()({ Kilometers: "kilometers", Miles: "miles" }, { ignoreUnknown: false });
- var y = o2()({ Minutes: "minutes", TimeAt1KPH: "time-at-1-kph", TravelTime: "travel-time", TruckMinutes: "truck-minutes", TruckTravelTime: "truck-travel-time", WalkTime: "walk-time" }, { ignoreUnknown: false });
- var T = o2()({ Kilometers: "kilometers", Miles: "miles", Minutes: "minutes", TimeAt1KPH: "time-at-1-kph", TravelTime: "travel-time", TruckMinutes: "truck-minutes", TruckTravelTime: "truck-travel-time", WalkTime: "walk-time" }, { ignoreUnknown: false });
- var U = o2()({ "Any Hazmat Prohibited": "any-hazmat-prohibited", "Avoid Carpool Roads": "avoid-carpool-roads", "Avoid Express Lanes": "avoid-express-lanes", "Avoid Ferries": "avoid-ferries", "Avoid Gates": "avoid-gates", "Avoid Limited Access Roads": "avoid-limited-access-roads", "Avoid Private Roads": "avoid-private-roads", "Avoid Roads Unsuitable for Pedestrians": "avoid-roads-unsuitable-for-pedestrians", "Avoid Stairways": "avoid-stairways", "Avoid Toll Roads": "avoid-toll-roads", "Avoid Toll Roads for Trucks": "avoid-toll-roads-for-trucks", "Avoid Truck Restricted Roads": "avoid-truck-restricted-roads", "Avoid Unpaved Roads": "avoid-unpaved-roads", "Axle Count Restriction": "axle-count-restriction", "Driving a Bus": "driving-a-bus", "Driving a Taxi": "driving-a-taxi", "Driving a Truck": "driving-a-truck", "Driving an Automobile": "driving-an-automobile", "Driving an Emergency Vehicle": "driving-an-emergency-vehicle", "Height Restriction": "height-restriction", "Kingpin to Rear Axle Length Restriction": "kingpin-to-rear-axle-length-restriction", "Length Restriction": "length-restriction", "Preferred for Pedestrians": "preferred-for-pedestrians", "Riding a Motorcycle": "riding-a-motorcycle", "Roads Under Construction Prohibited": "roads-under-construction-prohibited", "Semi or Tractor with One or More Trailers Prohibited": "semi-or-tractor-with-one-or-more-trailers-prohibited", "Single Axle Vehicles Prohibited": "single-axle-vehicles-prohibited", "Tandem Axle Vehicles Prohibited": "tandem-axle-vehicles-prohibited", "Through Traffic Prohibited": "through-traffic-prohibited", "Truck with Trailers Restriction": "truck-with-trailers-restriction", "Use Preferred Hazmat Routes": "use-preferred-hazmat-routes", "Use Preferred Truck Routes": "use-preferred-truck-routes", Walking: "walking", "Weight Restriction": "weight-restriction" }, { ignoreUnknown: false });
- var R = o2()({ esriSpatialRelIntersects: "intersects", esriSpatialRelContains: "contains", esriSpatialRelCrosses: "crosses", esriSpatialRelEnvelopeIntersects: "envelope-intersects", esriSpatialRelIndexIntersects: "index-intersects", esriSpatialRelOverlaps: "overlaps", esriSpatialRelTouches: "touches", esriSpatialRelWithin: "within", esriSpatialRelRelation: "relation" });
- var w = o2()({ esriGeometryPoint: "point", esriGeometryPolyline: "polyline", esriGeometryPolygon: "polygon", esriGeometryEnvelope: "envelope", esriGeometryMultipoint: "multipoint" });
- var b = o2()({ esriNAUTCost: "cost", esriNAUTDescriptor: "descriptor", esriNAUTRestriction: "restriction", esriNAUTHierarchy: "hierarchy" });
- // node_modules/@arcgis/core/rest/support/DirectionLine.js
- var c2;
- var u2 = c2 = class extends l2(l) {
- constructor(e4) {
- super(e4), this.directionLineType = null, this.directionPointId = null, this.distance = null, this.duration = null, this.fromLevel = null, this.geometry = null, this.objectId = null, this.popupTemplate = null, this.symbol = null, this.toLevel = null, this.type = "direction-line";
- }
- static fromGraphic(e4) {
- return new c2({ directionLineType: f.fromJSON(e4.attributes.DirectionLineType), directionPointId: e4.attributes.DirectionPointID, distance: e4.attributes.Meters, duration: e4.attributes.Minutes, fromLevel: e4.attributes.FromLevel ?? null, geometry: e4.geometry, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, symbol: e4.symbol, toLevel: e4.attributes.ToLevel ?? null });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), DirectionLineType: r(this.directionLineType) ? f.toJSON(this.directionLineType) : null, DirectionPointID: e2(this.directionPointId), Meters: e2(this.distance), Minutes: e2(this.duration) };
- return r(this.fromLevel) && (e4.FromLevel = this.fromLevel), r(this.toLevel) && (e4.ToLevel = this.toLevel), new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- u2.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "DirectionLineType", alias: "Line Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriDirectionsLineType", codedValues: [{ name: "Unknown", code: 0 }, { name: "Segment", code: 1 }, { name: "Maneuver Segment", code: 2 }, { name: "Restriction violation", code: 3 }, { name: "Scale cost barrier crossing", code: 4 }, { name: "Heavy Traffic", code: 5 }, { name: "Slow Traffic", code: 6 }, { name: "Moderate Traffic", code: 7 }] } }, { name: "DirectionPointID", alias: "Direction Point ID", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: false }, { name: "FromLevel", alias: "Start from 3D Level", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: false }, { name: "Meters", alias: "Length in Meters", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "Minutes", alias: "Duration in Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "ToLevel", alias: "End at 3D Level", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: false }], u2.popupInfo = { title: "Direction Lines", fieldInfos: [{ fieldName: "DirectionLineType", label: "Line Type", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "Meters", label: "Length in Meters", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Minutes", label: "Duration in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "DirectionPointID", label: "Direction Point ID", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "FromLevel", label: "Start from 3D Level", isEditable: false, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ToLevel", label: "End at 3D Level", isEditable: false, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ type: f.apiValues, json: { read: { source: "attributes.DirectionLineType", reader: f.read } } })], u2.prototype, "directionLineType", void 0), e([d({ json: { read: { source: "attributes.DirectionPointID" } } })], u2.prototype, "directionPointId", void 0), e([d({ json: { read: { source: "attributes.Meters" } } })], u2.prototype, "distance", void 0), e([d({ json: { read: { source: "attributes.Minutes" } } })], u2.prototype, "duration", void 0), e([d({ json: { read: { source: "attributes.FromLevel" } } })], u2.prototype, "fromLevel", void 0), e([d({ type: m })], u2.prototype, "geometry", void 0), e([d({ json: { read: { source: "attributes.ObjectID" } } })], u2.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], u2.prototype, "popupTemplate", void 0), e([d({ types: j2, json: { read: false } })], u2.prototype, "symbol", void 0), e([d({ json: { read: { source: "attributes.ToLevel" } } })], u2.prototype, "toLevel", void 0), e([d({ readOnly: true, json: { read: false } })], u2.prototype, "type", void 0), u2 = c2 = e([n("esri.rest.support.DirectionLine")], u2);
- var b2 = u2;
- // node_modules/@arcgis/core/rest/support/DirectionPoint.js
- var c3;
- var b3 = c3 = class extends l2(l) {
- constructor(e4) {
- super(e4), this.alternateName = null, this.arrivalTime = null, this.arrivalTimeOffset = null, this.azimuth = null, this.branchName = null, this.directionPointType = null, this.displayText = null, this.exitName = null, this.geometry = null, this.intersectingName = null, this.level = null, this.name = null, this.objectId = null, this.popupTemplate = null, this.sequence = null, this.shortVoiceInstruction = null, this.stopId = null, this.symbol = null, this.towardName = null, this.type = "direction-point", this.voiceInstruction = null;
- }
- readArrivalTime(e4, t3) {
- return r(t3.attributes.ArrivalTime) ? new Date(t3.attributes.ArrivalTime) : null;
- }
- static fromGraphic(e4) {
- return new c3({ alternateName: e4.attributes.AlternateName ?? null, arrivalTime: r(e4.attributes.ArrivalTime) ? new Date(e4.attributes.ArrivalTime) : null, arrivalTimeOffset: e4.attributes.ArrivalUTCOffset ?? null, azimuth: e4.attributes.Azimuth ?? null, branchName: e4.attributes.BranchName ?? null, directionPointType: A.fromJSON(e4.attributes.DirectionPointType), displayText: e4.attributes.DisplayText ?? null, exitName: e4.attributes.ExitName ?? null, geometry: e4.geometry, intersectingName: e4.attributes.IntersectingName ?? null, level: e4.attributes.Level ?? null, name: e4.attributes.Name ?? null, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, sequence: e4.attributes.Sequence, shortVoiceInstruction: e4.attributes.ShortVoiceInstruction ?? null, stopId: e4.attributes.StopID ?? null, symbol: e4.symbol, towardName: e4.attributes.TowardName ?? null, voiceInstruction: e4.attributes.VoiceInstruction ?? null });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), DirectionPointType: r(this.directionPointType) ? A.toJSON(this.directionPointType) : null, Sequence: e2(this.sequence), StopID: this.stopId };
- return r(this.alternateName) && (e4.AlternateName = this.alternateName), r(this.arrivalTime) && (e4.ArrivalTime = this.arrivalTime.getTime()), r(this.arrivalTimeOffset) && (e4.ArrivalUTCOffset = this.arrivalTimeOffset), r(this.azimuth) && (e4.Azimuth = this.azimuth), r(this.branchName) && (e4.BranchName = this.branchName), r(this.displayText) && (e4.DisplayText = this.displayText), r(this.exitName) && (e4.ExitName = this.exitName), r(this.intersectingName) && (e4.IntersectingName = this.intersectingName), r(this.level) && (e4.Level = this.level), r(this.name) && (e4.Name = this.name), r(this.shortVoiceInstruction) && (e4.ShortVoiceInstruction = this.shortVoiceInstruction), r(this.towardName) && (e4.TowardName = this.towardName), r(this.voiceInstruction) && (e4.VoiceInstruction = this.voiceInstruction), new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- b3.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "AlternateName", alias: "Alternative Feature Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "ArrivalTime", alias: "Maneuver Starts at", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: true }, { name: "ArrivalUTCOffset", alias: "Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "Azimuth", alias: "Azimuth", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "BranchName", alias: "Signpost Branch Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "DirectionPointType", alias: "Directions Item Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriDirectionPointType", codedValues: [{ name: "Unknown", code: 0 }, { name: "", code: 1 }, { name: "Arrive at stop", code: 50 }, { name: "Depart at stop", code: 51 }, { name: "Go straight", code: 52 }, { name: "Take ferry", code: 100 }, { name: "Take off ferry", code: 101 }, { name: "Keep center at fork", code: 102 }, { name: "Take roundabout", code: 103 }, { name: "Make U-Turn", code: 104 }, { name: "Pass the door", code: 150 }, { name: "Take stairs", code: 151 }, { name: "", code: 152 }, { name: "Take escalator", code: 153 }, { name: "Take pedestrian ramp", code: 154 }, { name: "Keep left at fork", code: 200 }, { name: "Ramp left", code: 201 }, { name: "Take left-handed roundabout", code: 202 }, { name: "Make left-handed U-Turn", code: 203 }, { name: "Bear left", code: 204 }, { name: "Turn left", code: 205 }, { name: "Make sharp left", code: 206 }, { name: "Turn left, followed by turn left", code: 207 }, { name: "Turn left, followed by turn right", code: 208 }, { name: "Keep right at fork", code: 300 }, { name: "Ramp right", code: 301 }, { name: "Take right-handed roundabout", code: 302 }, { name: "Make right-handed U-Turn", code: 303 }, { name: "Bear right", code: 304 }, { name: "Turn right", code: 305 }, { name: "Make sharp right", code: 306 }, { name: "Turn right, followed by turn left", code: 307 }, { name: "Turn right, followed by turn right", code: 308 }, { name: "Indicates up direction of elevator", code: 400 }, { name: "Indicates up direction of escalator", code: 401 }, { name: "Take up-stairs", code: 402 }, { name: "Indicates down direction of elevator", code: 500 }, { name: "Indicates down direction of escalator", code: 501 }, { name: "Take down-stairs", code: 502 }, { name: "General event", code: 1e3 }, { name: "Landmark", code: 1001 }, { name: "Time zone change", code: 1002 }, { name: "Heavy traffic segment", code: 1003 }, { name: "Scale cost barrier crossing", code: 1004 }, { name: "Administrative Border crossing", code: 1005 }, { name: "Restriction violation", code: 1006 }] } }, { name: "DisplayText", alias: "Text to Display", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "ExitName", alias: "Highway Exit Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "IntersectingName", alias: "Intersecting Feature Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "Level", alias: "3D Logical Level", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "Name", alias: "Primary Feature Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "Sequence", alias: "Sequence", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "ShortVoiceInstruction", alias: "Voice Instruction", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "StopID", alias: "Stop ID", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "TowardName", alias: "Signpost Toward Name", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }, { name: "VoiceInstruction", alias: "Voice Full Instruction", type: "esriFieldTypeString", length: 2048, editable: true, nullable: true, visible: true, domain: null }], b3.popupInfo = { title: "{DisplayText}", fieldInfos: [{ fieldName: "DirectionPointType", label: "Directions Item Type", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "DisplayText", label: "Text to Display", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "Sequence", label: "Sequence", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "StopID", label: "Stop ID", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ArrivalTime", label: "Maneuver Starts at", isEditable: true, tooltip: "", visible: true, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "ArrivalUTCOffset", label: "Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Azimuth", label: "Azimuth", isEditable: false, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Name", label: "Primary Feature Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "AlternateName", label: "Alternative Feature Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "ExitName", label: "Highway Exit Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "IntersectingName", label: "Intersecting Feature Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "BranchName", label: "Signpost Branch Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "TowardName", label: "Signpost Toward Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "ShortVoiceInstruction", label: "Voice Instruction", isEditable: false, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "VoiceInstruction", label: "Voice Full Instruction", isEditable: false, tooltip: "", visible: false, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ json: { read: false } })], b3.prototype, "alternateName", void 0), e([d()], b3.prototype, "arrivalTime", void 0), e([o("arrivalTime", ["attributes.ArrivalTime"])], b3.prototype, "readArrivalTime", null), e([d({ json: { read: { source: "attributes.ArrivalUTCOffset" } } })], b3.prototype, "arrivalTimeOffset", void 0), e([d({ json: { read: { source: "attributes.Azimuth" } } })], b3.prototype, "azimuth", void 0), e([d({ json: { read: { source: "attributes.BranchName" } } })], b3.prototype, "branchName", void 0), e([d({ type: A.apiValues, json: { read: { source: "attributes.DirectionPointType", reader: A.read } } })], b3.prototype, "directionPointType", void 0), e([d({ json: { read: { source: "attributes.DisplayText" } } })], b3.prototype, "displayText", void 0), e([d({ json: { read: { source: "attributes.ExitName" } } })], b3.prototype, "exitName", void 0), e([d({ type: j })], b3.prototype, "geometry", void 0), e([d({ json: { read: false } })], b3.prototype, "intersectingName", void 0), e([d({ json: { read: false } })], b3.prototype, "level", void 0), e([d({ json: { read: { source: "attributes.Name" } } })], b3.prototype, "name", void 0), e([d({ json: { read: { source: "attributes.ObjectID" } } })], b3.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], b3.prototype, "popupTemplate", void 0), e([d({ json: { read: { source: "attributes.Sequence" } } })], b3.prototype, "sequence", void 0), e([d({ json: { read: false } })], b3.prototype, "shortVoiceInstruction", void 0), e([d({ json: { read: { source: "attributes.StopID" } } })], b3.prototype, "stopId", void 0), e([d({ types: j2, json: { read: false } })], b3.prototype, "symbol", void 0), e([d({ json: { read: { source: "attributes.TowardName" } } })], b3.prototype, "towardName", void 0), e([d({ readOnly: true, json: { read: false } })], b3.prototype, "type", void 0), e([d({ json: { read: false } })], b3.prototype, "voiceInstruction", void 0), b3 = c3 = e([n("esri.rest.support.DirectionPoint")], b3);
- var h2 = b3;
- // node_modules/@arcgis/core/rest/route/utils.js
- function e3(e4, o5) {
- if (t(e4))
- return null;
- const i3 = {}, s3 = new RegExp(`^${o5}`, "i");
- for (const t3 of Object.keys(e4))
- if (s3.test(t3)) {
- const s4 = t3.substring(o5.length);
- i3[T.fromJSON(s4)] = e4[t3];
- }
- return i3;
- }
- function o4(e4, o5, i3) {
- if (!t(e4)) {
- o5.attributes || (o5.attributes = {});
- for (const t3 in e4) {
- const s3 = T.toJSON(t3);
- o5.attributes[`${i3}${s3}`] = e4[t3];
- }
- }
- }
- function i2(t3) {
- const e4 = {};
- for (const o5 of Object.keys(t3)) {
- const i3 = o5;
- e4[T.fromJSON(i3)] = t3[o5];
- }
- return e4;
- }
- function s2(t3) {
- const e4 = {};
- for (const o5 of Object.keys(t3)) {
- const i3 = o5;
- e4[T.toJSON(i3)] = t3[o5];
- }
- return e4;
- }
- function n3(r5, e4) {
- return t(r5) || t(e4) ? null : Math.round((r5 - e4) / 6e4);
- }
- function u3(t3) {
- const r5 = t3.toJSON(), e4 = r5;
- return e4.accumulateAttributeNames && (e4.accumulateAttributeNames = r5.accumulateAttributeNames.join()), e4.attributeParameterValues && (e4.attributeParameterValues = JSON.stringify(r5.attributeParameterValues)), e4.barriers && (e4.barriers = JSON.stringify(r5.barriers)), e4.outSR && (e4.outSR = r5.outSR.wkid), e4.overrides && (e4.overrides = JSON.stringify(r5.overrides)), e4.polygonBarriers && (e4.polygonBarriers = JSON.stringify(r5.polygonBarriers)), e4.polylineBarriers && (e4.polylineBarriers = JSON.stringify(r5.polylineBarriers)), e4.restrictionAttributeNames && (e4.restrictionAttributeNames = r5.restrictionAttributeNames.join()), e4.stops && (e4.stops = JSON.stringify(r5.stops)), e4.travelMode && (e4.travelMode = JSON.stringify(r5.travelMode)), e4;
- }
- // node_modules/@arcgis/core/rest/support/PointBarrier.js
- var S;
- var N2 = S = class extends l2(l) {
- constructor(e4) {
- super(e4), this.addedCost = null, this.barrierType = null, this.costs = null, this.curbApproach = null, this.fullEdge = null, this.geometry = null, this.name = null, this.objectId = null, this.popupTemplate = null, this.sideOfEdge = null, this.sourceId = null, this.sourceOid = null, this.status = null, this.symbol = null, this.type = "point-barrier";
- }
- readCosts(e4, t3) {
- return e3(t3.attributes, "Attr_");
- }
- writeCosts(e4, t3) {
- o4(e4, t3, "Attr_");
- }
- static fromGraphic(e4) {
- return new S({ addedCost: e4.attributes.AddedCost ?? null, barrierType: r(e4.attributes.BarrierType) ? v2.fromJSON(e4.attributes.BarrierType) : null, costs: r(e4.attributes.Costs) ? i2(JSON.parse(e4.attributes.Costs)) : null, curbApproach: r(e4.attributes.CurbApproach) ? u.fromJSON(e4.attributes.CurbApproach) : null, fullEdge: r(e4.attributes.FullEdge) ? g2.fromJSON(e4.attributes.FullEdge) : null, geometry: e4.geometry, name: e4.attributes.Name ?? null, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, status: r(e4.attributes.Status) ? h.fromJSON(e4.attributes.Status) : null, symbol: e4.symbol });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), AddedCost: this.addedCost, BarrierType: r(this.barrierType) ? v2.toJSON(this.barrierType) : null, Costs: r(this.costs) ? JSON.stringify(s2(this.costs)) : null, CurbApproach: r(this.curbApproach) ? u.toJSON(this.curbApproach) : null, FullEdge: r(this.fullEdge) ? g2.toJSON(this.fullEdge) : null, Name: this.name, Status: r(this.status) ? h.toJSON(this.status) : null };
- return new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- N2.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "AddedCost", alias: "Added Cost", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true, domain: null }, { name: "BarrierType", alias: "Barrier Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNABarrierType", codedValues: [{ name: "Restriction", code: 0 }, { name: "Scaled Cost", code: 1 }, { name: "Added Cost", code: 2 }] } }, { name: "Costs", alias: "Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "CurbApproach", alias: "Curb Approach", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: false, domain: { type: "codedValue", name: "esriNACurbApproachType", codedValues: [{ name: "Either side", code: 0 }, { name: "From the right", code: 1 }, { name: "From the left", code: 2 }, { name: "Depart in the same direction", code: 3 }] } }, { name: "FullEdge", alias: "Full Edge", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNAIntYesNo", codedValues: [{ name: "No", code: 0 }, { name: "Yes", code: 1 }] } }, { name: "Name", alias: "Name", type: "esriFieldTypeString", length: 255, editable: true, nullable: true, visible: true }, { name: "Status", alias: "Status", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNAObjectStatus", codedValues: [{ name: "OK", code: 0 }, { name: "Not Located on Network", code: 1 }, { name: "Network Unbuilt", code: 2 }, { name: "Prohibited Street", code: 3 }, { name: "Invalid Field Values", code: 4 }, { name: "Cannot Reach", code: 5 }, { name: "Time Window Violation", code: 6 }] } }], N2.popupInfo = { title: "Point Barriers", fieldInfos: [{ fieldName: "Name", label: "Name", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "BarrierType", label: "Barrier Type", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "AddedCost", label: "Added Cost", isEditable: true, tooltip: "", visible: true, format: { places: 3, digitSeparator: true }, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ json: { read: false } })], N2.prototype, "addedCost", void 0), e([d({ type: v2.apiValues, json: { name: "attributes.BarrierType", read: { reader: v2.read }, write: { writer: v2.write } } })], N2.prototype, "barrierType", void 0), e([d()], N2.prototype, "costs", void 0), e([o("costs", ["attributes"])], N2.prototype, "readCosts", null), e([r2("costs")], N2.prototype, "writeCosts", null), e([d({ type: u.apiValues, json: { read: { source: "attributes.CurbApproach", reader: u.read } } })], N2.prototype, "curbApproach", void 0), e([d({ type: g2.apiValues, json: { name: "attributes.FullEdge", read: { reader: g2.read }, write: { writer: g2.write } } })], N2.prototype, "fullEdge", void 0), e([d({ type: j, json: { write: true } })], N2.prototype, "geometry", void 0), e([d({ json: { name: "attributes.Name" } })], N2.prototype, "name", void 0), e([d({ json: { name: "attributes.ObjectID" } })], N2.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], N2.prototype, "popupTemplate", void 0), e([d({ type: p.apiValues, json: { read: { source: "attributes.SideOfEdge", reader: p.read } } })], N2.prototype, "sideOfEdge", void 0), e([d({ json: { read: { source: "attributes.SourceID" } } })], N2.prototype, "sourceId", void 0), e([d({ json: { read: { source: "attributes.SourceOID" } } })], N2.prototype, "sourceOid", void 0), e([d({ type: h.apiValues, json: { read: { source: "attributes.Status", reader: h.read } } })], N2.prototype, "status", void 0), e([d({ types: j2, json: { read: false } })], N2.prototype, "symbol", void 0), e([d({ readOnly: true, json: { read: false } })], N2.prototype, "type", void 0), N2 = S = e([n("esri.rest.support.PointBarrier")], N2);
- var O = N2;
- // node_modules/@arcgis/core/rest/support/PolygonBarrier.js
- var f2;
- var h3 = f2 = class extends l2(l) {
- constructor(e4) {
- super(e4), this.barrierType = null, this.costs = null, this.geometry = null, this.name = null, this.objectId = null, this.popupTemplate = null, this.scaleFactor = null, this.symbol = null, this.type = "polygon-barrier";
- }
- readCosts(e4, t3) {
- return e3(t3.attributes, "Attr_");
- }
- writeCosts(e4, t3) {
- o4(e4, t3, "Attr_");
- }
- static fromGraphic(e4) {
- return new f2({ barrierType: r(e4.attributes.BarrierType) ? v2.fromJSON(e4.attributes.BarrierType) : null, costs: r(e4.attributes.Costs) ? i2(JSON.parse(e4.attributes.Costs)) : null, geometry: e4.geometry, name: e4.attributes.Name ?? null, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, scaleFactor: e4.attributes.ScaleFactor ?? null, symbol: e4.symbol });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), BarrierType: r(this.barrierType) ? v2.toJSON(this.barrierType) : null, Costs: r(this.costs) ? JSON.stringify(s2(this.costs)) : null, Name: this.name ?? null, ScaleFactor: this.scaleFactor ?? null };
- return new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- h3.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "BarrierType", alias: "Barrier Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNABarrierType", codedValues: [{ name: "Restriction", code: 0 }, { name: "Scaled Cost", code: 1 }, { name: "Added Cost", code: 2 }] } }, { name: "Costs", alias: "Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "Name", alias: "Name", type: "esriFieldTypeString", length: 255, editable: true, nullable: true, visible: true }, { name: "ScaleFactor", alias: "Scale Factor", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }], h3.popupInfo = { title: "Polygon Barriers", fieldInfos: [{ fieldName: "Name", label: "Name", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "BarrierType", label: "Barrier Type", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "ScaleFactor", isEditable: true, tooltip: "", visible: true, format: { places: 3, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Costs", label: "Costs", isEditable: true, tooltip: "", visible: false, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ type: v2.apiValues, json: { name: "attributes.BarrierType", read: { reader: v2.read }, write: { writer: v2.write } } })], h3.prototype, "barrierType", void 0), e([d()], h3.prototype, "costs", void 0), e([o("costs", ["attributes"])], h3.prototype, "readCosts", null), e([r2("costs")], h3.prototype, "writeCosts", null), e([d({ type: v, json: { write: true } })], h3.prototype, "geometry", void 0), e([d({ json: { name: "attributes.Name" } })], h3.prototype, "name", void 0), e([d({ json: { name: "attributes.ObjectID" } })], h3.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], h3.prototype, "popupTemplate", void 0), e([d({ json: { read: false } })], h3.prototype, "scaleFactor", void 0), e([d({ types: j2, json: { read: false } })], h3.prototype, "symbol", void 0), e([d({ readOnly: true, json: { read: false } })], h3.prototype, "type", void 0), h3 = f2 = e([n("esri.rest.support.PolygonBarrier")], h3);
- var g3 = h3;
- // node_modules/@arcgis/core/rest/support/PolylineBarrier.js
- var T2;
- var j3 = T2 = class extends l2(l) {
- constructor(e4) {
- super(e4), this.barrierType = null, this.costs = null, this.geometry = null, this.name = null, this.objectId = null, this.popupTemplate = null, this.scaleFactor = null, this.symbol = null, this.type = "polyline-barrier";
- }
- readCosts(e4, t3) {
- return e3(t3.attributes, "Attr_");
- }
- static fromGraphic(e4) {
- return new T2({ barrierType: r(e4.attributes.BarrierType) ? v2.fromJSON(e4.attributes.BarrierType) : null, costs: r(e4.attributes.Costs) ? i2(JSON.parse(e4.attributes.Costs)) : null, geometry: e4.geometry, name: e4.attributes.Name ?? null, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, scaleFactor: e4.attributes.ScaleFactor ?? null, symbol: e4.symbol });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), BarrierType: r(this.barrierType) ? v2.toJSON(this.barrierType) : null, Costs: r(this.costs) ? JSON.stringify(s2(this.costs)) : null, Name: this.name, ScaleFactor: this.scaleFactor };
- return new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- j3.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "BarrierType", alias: "Barrier Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNABarrierType", codedValues: [{ name: "Restriction", code: 0 }, { name: "Scaled Cost", code: 1 }, { name: "Added Cost", code: 2 }] } }, { name: "Costs", alias: "Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "Name", alias: "Name", type: "esriFieldTypeString", length: 255, editable: true, nullable: true, visible: true }, { name: "ScaleFactor", alias: "Scale Factor", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }], j3.popupInfo = { title: "Line Barriers", fieldInfos: [{ fieldName: "Name", label: "Name", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "BarrierType", label: "Barrier Type", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "ScaleFactor", isEditable: true, tooltip: "", visible: true, format: { places: 3, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Costs", label: "Costs", isEditable: true, tooltip: "", visible: false, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ type: v2.apiValues, json: { read: { source: "attributes.BarrierType", reader: v2.read } } })], j3.prototype, "barrierType", void 0), e([d()], j3.prototype, "costs", void 0), e([o("costs", ["attributes"])], j3.prototype, "readCosts", null), e([d({ type: m, json: { write: true } })], j3.prototype, "geometry", void 0), e([d({ json: { name: "attributes.Name" } })], j3.prototype, "name", void 0), e([d({ json: { name: "attributes.ObjectID" } })], j3.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], j3.prototype, "popupTemplate", void 0), e([d({ json: { read: false } })], j3.prototype, "scaleFactor", void 0), e([d({ types: j2, json: { read: false } })], j3.prototype, "symbol", void 0), e([d({ readOnly: true, json: { read: false } })], j3.prototype, "type", void 0), j3 = T2 = e([n("esri.rest.support.PolylineBarrier")], j3);
- var h4 = j3;
- // node_modules/@arcgis/core/rest/support/TravelMode.js
- var j4 = class extends l2(l) {
- constructor(t3) {
- super(t3), this.attributeParameterValues = null, this.description = null, this.distanceAttributeName = null, this.id = null, this.impedanceAttributeName = null, this.name = null, this.restrictionAttributeNames = null, this.simplificationTolerance = null, this.simplificationToleranceUnits = null, this.timeAttributeName = null, this.type = null, this.useHierarchy = null, this.uturnAtJunctions = null;
- }
- readRestrictionAttributes(t3, r5) {
- const { restrictionAttributeNames: e4 } = r5;
- return t(e4) ? null : e4.map((t4) => U.fromJSON(t4));
- }
- writeRestrictionAttributes(t3, r5, e4) {
- !t(t3) && t3.length && (r5[e4] = t3.map((t4) => U.toJSON(t4)));
- }
- };
- e([d({ type: [Object], json: { write: true } })], j4.prototype, "attributeParameterValues", void 0), e([d({ type: String, json: { write: true } })], j4.prototype, "description", void 0), e([r3(N, { ignoreUnknown: false })], j4.prototype, "distanceAttributeName", void 0), e([d({ type: String, json: { write: true } })], j4.prototype, "id", void 0), e([r3(T, { ignoreUnknown: false })], j4.prototype, "impedanceAttributeName", void 0), e([d({ type: String, json: { write: true } })], j4.prototype, "name", void 0), e([d({ type: [String], json: { write: true } })], j4.prototype, "restrictionAttributeNames", void 0), e([o("restrictionAttributeNames")], j4.prototype, "readRestrictionAttributes", null), e([r2("restrictionAttributeNames")], j4.prototype, "writeRestrictionAttributes", null), e([d({ type: Number, json: { write: { allowNull: true } } })], j4.prototype, "simplificationTolerance", void 0), e([r3(i)], j4.prototype, "simplificationToleranceUnits", void 0), e([r3(y, { ignoreUnknown: false })], j4.prototype, "timeAttributeName", void 0), e([r3(c)], j4.prototype, "type", void 0), e([d({ type: Boolean, json: { write: true } })], j4.prototype, "useHierarchy", void 0), e([r3(n2)], j4.prototype, "uturnAtJunctions", void 0), j4 = e([n("esri.rest.support.TravelMode")], j4);
- var h5 = j4;
- // node_modules/@arcgis/core/rest/support/RouteSettings.js
- var c4 = class extends l {
- constructor(t3) {
- super(t3), this.accumulateAttributes = null, this.directionsLanguage = null, this.findBestSequence = null, this.preserveFirstStop = null, this.preserveLastStop = null, this.startTimeIsUTC = null, this.timeWindowsAreUTC = null, this.travelMode = null;
- }
- readAccumulateAttributes(t3) {
- return t(t3) ? null : t3.map((t4) => T.fromJSON(t4));
- }
- writeAccumulateAttributes(t3, e4, o5) {
- !t(t3) && t3.length && (e4[o5] = t3.map((t4) => T.toJSON(t4)));
- }
- };
- e([d({ type: [String], json: { name: "accumulateAttributeNames", write: true } })], c4.prototype, "accumulateAttributes", void 0), e([o("accumulateAttributes")], c4.prototype, "readAccumulateAttributes", null), e([r2("accumulateAttributes")], c4.prototype, "writeAccumulateAttributes", null), e([d({ type: String, json: { write: true } })], c4.prototype, "directionsLanguage", void 0), e([d({ type: Boolean, json: { write: true } })], c4.prototype, "findBestSequence", void 0), e([d({ type: Boolean, json: { write: true } })], c4.prototype, "preserveFirstStop", void 0), e([d({ type: Boolean, json: { write: true } })], c4.prototype, "preserveLastStop", void 0), e([d({ type: Boolean, json: { write: true } })], c4.prototype, "startTimeIsUTC", void 0), e([d({ type: Boolean, json: { write: true } })], c4.prototype, "timeWindowsAreUTC", void 0), e([d({ type: h5, json: { write: true } })], c4.prototype, "travelMode", void 0), c4 = e([n("esri.layers.support.RouteSettings")], c4);
- var l4 = c4;
- // node_modules/@arcgis/core/rest/support/RouteInfo.js
- var S2;
- var g4 = S2 = class extends l2(l) {
- constructor(t3) {
- super(t3), this.analysisSettings = null, this.endTime = null, this.endTimeOffset = null, this.firstStopId = null, this.geometry = null, this.lastStopId = null, this.messages = null, this.name = null, this.objectId = null, this.popupTemplate = null, this.startTime = null, this.startTimeOffset = null, this.stopCount = null, this.symbol = null, this.totalCosts = null, this.totalDistance = null, this.totalDuration = null, this.totalLateDuration = null, this.totalViolations = null, this.totalWait = null, this.totalWaitDuration = null, this.type = "route-info", this.version = "1.0.0";
- }
- readEndTime(t3, e4) {
- return r(e4.attributes.EndTimeUTC) ? new Date(e4.attributes.EndTimeUTC) : null;
- }
- readEndTimeOffset(t3, e4) {
- return n3(e4.attributes.EndTime, e4.attributes.EndTimeUTC);
- }
- readStartTime(t3, e4) {
- return r(e4.attributes.StartTimeUTC) ? new Date(e4.attributes.StartTimeUTC) : null;
- }
- readStartTimeOffset(t3, e4) {
- return n3(e4.attributes.StartTime, e4.attributes.StartTimeUTC);
- }
- readTotalCosts(t3, e4) {
- return e3(e4.attributes, "Total_");
- }
- readTotalViolations(t3, e4) {
- return e3(e4.attributes, "TotalViolation_");
- }
- readTotalWait(t3, e4) {
- return e3(e4.attributes, "TotalWait_");
- }
- static fromGraphic(t3) {
- return new S2({ analysisSettings: r(t3.attributes.AnalysisSettings) ? l4.fromJSON(JSON.parse(t3.attributes.AnalysisSettings)) : null, endTime: r(t3.attributes.EndTime) ? new Date(t3.attributes.EndTime) : null, endTimeOffset: t3.attributes.EndUTCOffset ?? null, geometry: t3.geometry, messages: r(t3.attributes.Messages) ? JSON.parse(t3.attributes.Messages) : null, name: t3.attributes.RouteName, objectId: t3.attributes.__OBJECTID, popupTemplate: t3.popupTemplate, startTime: r(t3.attributes.StartTime) ? new Date(t3.attributes.StartTime) : null, startTimeOffset: t3.attributes.StartUTCOffset ?? null, symbol: t3.symbol, totalCosts: r(t3.attributes.TotalCosts) ? i2(JSON.parse(t3.attributes.TotalCosts)) : null, totalDistance: t3.attributes.TotalMeters ?? null, totalDuration: t3.attributes.TotalMinutes ?? null, totalLateDuration: t3.attributes.TotalLateMinutes ?? null, totalWaitDuration: t3.attributes.TotalWaitMinutes ?? null, version: t3.attributes.Version });
- }
- toGraphic() {
- const t3 = { __OBJECTID: e2(this.objectId), AnalysisSettings: r(this.analysisSettings) ? JSON.stringify(this.analysisSettings.toJSON()) : null, EndTime: r(this.endTime) ? this.endTime.getTime() : null, EndUTCOffset: this.endTimeOffset, Messages: r(this.messages) ? JSON.stringify(this.messages) : null, RouteName: e2(this.name), StartTime: r(this.startTime) ? this.startTime.getTime() : null, StartUTCOffset: this.startTimeOffset, TotalCosts: r(this.totalCosts) ? JSON.stringify(s2(this.totalCosts)) : null, TotalLateMinutes: this.totalLateDuration, TotalMeters: this.totalDistance, TotalMinutes: this.totalDuration, TotalWaitMinutes: this.totalWaitDuration, Version: e2(this.version) };
- return new g({ geometry: this.geometry, attributes: t3, symbol: this.symbol, popupTemplate: e2(this.popupTemplate) });
- }
- };
- g4.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "AnalysisSettings", alias: "Analysis Settings", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "EndTime", alias: "End Time", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: true }, { name: "EndUTCOffset", alias: "End Time: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "Messages", alias: "Analysis Messages", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "RouteName", alias: "Route Name", type: "esriFieldTypeString", length: 1024, editable: true, nullable: true, visible: true, domain: null }, { name: "StartTime", alias: "Start Time", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: true }, { name: "StartUTCOffset", alias: "Start Time: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "TotalCosts", alias: "Total Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "TotalLateMinutes", alias: "Total Late Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }, { name: "TotalMeters", alias: "Total Meters", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "TotalMinutes", alias: "Total Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "TotalWaitMinutes", alias: "Total Wait Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }, { name: "Version", alias: "Version", type: "esriFieldTypeString", length: 16, editable: true, nullable: true, visible: true, domain: null }], g4.popupInfo = { title: "Route Details", fieldInfos: [{ fieldName: "RouteName", label: "Route Name", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "TotalMinutes", label: "Total Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TotalMeters", label: "Total Meters", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TotalLateMinutes", label: "Total Late Minutes", isEditable: false, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TotalWaitMinutes", label: "Total Wait Minutes", isEditable: false, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TotalCosts", label: "Total Costs", isEditable: false, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "StartTime", label: "Start Time", isEditable: false, tooltip: "", visible: true, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "StartUTCOffset", label: "Start Time: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "EndTime", label: "End Time", isEditable: false, tooltip: "", visible: true, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "EndUTCOffset", label: "End Time: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Messages", label: "Analysis Messages", isEditable: false, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "AnalysisSettings", isEditable: false, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "Version", label: "Version", isEditable: false, tooltip: "", visible: true, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ json: { read: false } })], g4.prototype, "analysisSettings", void 0), e([d()], g4.prototype, "endTime", void 0), e([o("endTime", ["attributes.EndTimeUTC"])], g4.prototype, "readEndTime", null), e([d()], g4.prototype, "endTimeOffset", void 0), e([o("endTimeOffset", ["attributes.EndTime", "attributes.EndTimeUTC"])], g4.prototype, "readEndTimeOffset", null), e([d({ json: { read: { source: "attributes.FirstStopID" } } })], g4.prototype, "firstStopId", void 0), e([d({ type: m })], g4.prototype, "geometry", void 0), e([d({ json: { read: { source: "attributes.LastStopID" } } })], g4.prototype, "lastStopId", void 0), e([d({ json: { read: false } })], g4.prototype, "messages", void 0), e([d({ json: { read: { source: "attributes.Name" } } })], g4.prototype, "name", void 0), e([d({ json: { read: { source: "attributes.ObjectID" } } })], g4.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], g4.prototype, "popupTemplate", void 0), e([d()], g4.prototype, "startTime", void 0), e([o("startTime", ["attributes.StartTimeUTC"])], g4.prototype, "readStartTime", null), e([d()], g4.prototype, "startTimeOffset", void 0), e([o("startTimeOffset", ["attributes.StartTime", "attributes.StartTimeUTC"])], g4.prototype, "readStartTimeOffset", null), e([d({ json: { read: { source: "attributes.StopCount" } } })], g4.prototype, "stopCount", void 0), e([d({ types: j2, json: { read: false } })], g4.prototype, "symbol", void 0), e([d()], g4.prototype, "totalCosts", void 0), e([o("totalCosts", ["attributes"])], g4.prototype, "readTotalCosts", null), e([d({ json: { read: false } })], g4.prototype, "totalDistance", void 0), e([d({ json: { read: false } })], g4.prototype, "totalDuration", void 0), e([d({ json: { read: false } })], g4.prototype, "totalLateDuration", void 0), e([d()], g4.prototype, "totalViolations", void 0), e([o("totalViolations", ["attributes"])], g4.prototype, "readTotalViolations", null), e([d()], g4.prototype, "totalWait", void 0), e([o("totalWait", ["attributes"])], g4.prototype, "readTotalWait", null), e([d({ json: { read: false } })], g4.prototype, "totalWaitDuration", void 0), e([d({ readOnly: true, json: { read: false } })], g4.prototype, "type", void 0), e([d({ json: { read: false } })], g4.prototype, "version", void 0), g4 = S2 = e([n("esri.rest.support.RouteInfo")], g4);
- var h6 = g4;
- // node_modules/@arcgis/core/rest/support/Stop.js
- var g5;
- var w2 = g5 = class extends l2(l) {
- constructor(e4) {
- super(e4), this.arriveCurbApproach = null, this.arriveTime = null, this.arriveTimeOffset = null, this.bearing = null, this.bearingTol = null, this.cumulativeCosts = null, this.cumulativeDistance = null, this.cumulativeDuration = null, this.curbApproach = null, this.departCurbApproach = null, this.departTime = null, this.departTimeOffset = null, this.distanceToNetworkInMeters = null, this.geometry = null, this.lateDuration = null, this.locationType = null, this.name = null, this.navLatency = null, this.objectId = null, this.popupTemplate = null, this.posAlong = null, this.routeName = null, this.serviceCosts = null, this.serviceDistance = null, this.serviceDuration = null, this.sequence = null, this.sideOfEdge = null, this.snapX = null, this.snapY = null, this.snapZ = null, this.sourceId = null, this.sourceOid = null, this.status = null, this.symbol = null, this.timeWindowEnd = null, this.timeWindowEndOffset = null, this.timeWindowStart = null, this.timeWindowStartOffset = null, this.type = "stop", this.violations = null, this.waitDuration = null, this.wait = null;
- }
- readArriveTimeOffset(e4, t3) {
- return n3(t3.attributes.ArriveTime, t3.attributes.ArriveTimeUTC);
- }
- readCumulativeCosts(e4, t3) {
- return e3(t3.attributes, "Cumul_");
- }
- readDepartTimeOffset(e4, t3) {
- return n3(t3.attributes.DepartTime, t3.attributes.DepartTimeUTC);
- }
- readServiceCosts(e4, t3) {
- return e3(t3.attributes, "Attr_");
- }
- writeServiceCosts(e4, t3) {
- o4(e4, t3, "Attr_");
- }
- writeTimeWindowEnd(e4, t3) {
- t(e4) || (t3.attributes || (t3.attributes = {}), t3.attributes.TimeWindowEnd = e4.getTime());
- }
- writeTimeWindowStart(e4, t3) {
- t(e4) || (t3.attributes || (t3.attributes = {}), t3.attributes.TimeWindowStart = e4.getTime());
- }
- readViolations(e4, t3) {
- return e3(t3.attributes, "Violation_");
- }
- readWait(e4, t3) {
- return e3(t3.attributes, "Wait_");
- }
- static fromGraphic(e4) {
- return new g5({ arriveCurbApproach: r(e4.attributes.ArrivalCurbApproach) ? u.fromJSON(e4.attributes.ArrivalCurbApproach) : null, arriveTime: r(e4.attributes.ArrivalTime) ? new Date(e4.attributes.ArrivalTime) : null, arriveTimeOffset: e4.attributes.ArrivalUTCOffset, cumulativeCosts: r(e4.attributes.CumulativeCosts) ? i2(JSON.parse(e4.attributes.CumulativeCosts)) : null, cumulativeDistance: e4.attributes.CumulativeMeters ?? null, cumulativeDuration: e4.attributes.CumulativeMinutes ?? null, curbApproach: r(e4.attributes.CurbApproach) ? u.fromJSON(e4.attributes.CurbApproach) : null, departCurbApproach: r(e4.attributes.DepartureCurbApproach) ? u.fromJSON(e4.attributes.DepartureCurbApproach) : null, departTime: r(e4.attributes.DepartureTime) ? new Date(e4.attributes.DepartureTime) : null, departTimeOffset: e4.attributes.DepartureUTCOffset ?? null, geometry: e4.geometry, lateDuration: e4.attributes.LateMinutes ?? null, locationType: r(e4.attributes.LocationType) ? m2.fromJSON(e4.attributes.LocationType) : null, name: e4.attributes.Name, objectId: e4.attributes.__OBJECTID, popupTemplate: e4.popupTemplate, routeName: e4.attributes.RouteName, sequence: e4.attributes.Sequence ?? null, serviceCosts: r(e4.attributes.ServiceCosts) ? i2(JSON.parse(e4.attributes.ServiceCosts)) : null, serviceDistance: e4.attributes.ServiceMeters ?? null, serviceDuration: e4.attributes.ServiceMinutes ?? null, status: r(e4.attributes.Status) ? h.fromJSON(e4.attributes.Status) : null, symbol: e4.symbol, timeWindowEnd: r(e4.attributes.TimeWindowEnd) ? new Date(e4.attributes.TimeWindowEnd) : null, timeWindowEndOffset: e4.attributes.TimeWindowEndUTCOffset ?? null, timeWindowStart: r(e4.attributes.TimeWindowStart) ? new Date(e4.attributes.TimeWindowStart) : null, timeWindowStartOffset: e4.attributes.TimeWindowStartUTCOffset ?? null, waitDuration: e4.attributes.WaitMinutes ?? null });
- }
- toGraphic() {
- const e4 = { __OBJECTID: e2(this.objectId), ArrivalCurbApproach: r(this.arriveCurbApproach) ? u.toJSON(this.arriveCurbApproach) : null, ArrivalTime: r(this.arriveTime) ? this.arriveTime.getTime() : null, ArrivalUTCOffset: this.arriveTimeOffset, CumulativeCosts: r(this.cumulativeCosts) ? JSON.stringify(s2(this.cumulativeCosts)) : null, CumulativeMeters: this.cumulativeDistance, CumulativeMinutes: this.cumulativeDuration, CurbApproach: r(this.curbApproach) ? u.toJSON(this.curbApproach) : null, DepartureCurbApproach: r(this.departCurbApproach) ? u.toJSON(this.departCurbApproach) : null, DepartureTime: r(this.departTime) ? this.departTime.getTime() : null, DepartureUTCOffset: this.departTimeOffset, LateMinutes: this.lateDuration, LocationType: r(this.locationType) ? m2.toJSON(this.locationType) : null, Name: e2(this.name), RouteName: e2(this.routeName), Sequence: this.sequence, ServiceCosts: r(this.serviceCosts) ? JSON.stringify(s2(this.serviceCosts)) : null, ServiceMeters: this.serviceDistance, ServiceMinutes: this.serviceDuration, Status: r(this.status) ? h.toJSON(this.status) : null, TimeWindowEnd: r(this.timeWindowEnd) ? this.timeWindowEnd.getTime() : null, TimeWindowEndUTCOffset: this.timeWindowEndOffset ?? this.arriveTimeOffset, TimeWindowStart: r(this.timeWindowStart) ? this.timeWindowStart.getTime() : null, TimeWindowStartUTCOffset: this.timeWindowEndOffset ?? this.arriveTimeOffset, WaitMinutes: this.waitDuration };
- return new g({ geometry: this.geometry, attributes: e4, symbol: this.symbol, popupTemplate: this.popupTemplate });
- }
- };
- w2.fields = [{ name: "__OBJECTID", alias: "OBJECTID", type: "esriFieldTypeOID", editable: false, nullable: false, domain: null }, { name: "ArrivalCurbApproach", alias: "Arrival Curb Approach", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNACurbApproachType", codedValues: [{ name: "Either side", code: 0 }, { name: "From the right", code: 1 }, { name: "From the left", code: 2 }, { name: "Depart in the same direction", code: 3 }] } }, { name: "ArrivalTime", alias: "Arrival Time", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: true }, { name: "ArrivalUTCOffset", alias: "Arrival Time: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "CumulativeCosts", alias: "Cumulative Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "CumulativeMeters", alias: "Cumulative Meters", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "CumulativeMinutes", alias: "Cumulative Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: true }, { name: "CurbApproach", alias: "Curb Approach", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: false, domain: { type: "codedValue", name: "esriNACurbApproachType", codedValues: [{ name: "Either side", code: 0 }, { name: "From the right", code: 1 }, { name: "From the left", code: 2 }, { name: "Depart in the same direction", code: 3 }] } }, { name: "DepartureCurbApproach", alias: "Departure Curb Approach", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNACurbApproachType", codedValues: [{ name: "Either side", code: 0 }, { name: "From the right", code: 1 }, { name: "From the left", code: 2 }, { name: "Depart in the same direction", code: 3 }] } }, { name: "DepartureTime", alias: "Departure Time", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: true }, { name: "DepartureUTCOffset", alias: "Departure Time: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "LateMinutes", alias: "Minutes Late", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }, { name: "LocationType", alias: "Location Type", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNALocationType", codedValues: [{ name: "Stop", code: 0 }, { name: "Waypoint", code: 1 }] } }, { name: "Name", alias: "Name", type: "esriFieldTypeString", length: 255, editable: true, nullable: true, visible: true }, { name: "RouteName", alias: "Route Name", type: "esriFieldTypeString", length: 255, editable: true, nullable: true, visible: true }, { name: "Sequence", alias: "Sequence", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "ServiceCosts", alias: "Service Costs", type: "esriFieldTypeString", length: 1048576, editable: true, nullable: true, visible: false, domain: null }, { name: "ServiceMeters", alias: "Service Meters", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }, { name: "ServiceMinutes", alias: "Service Minutes", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }, { name: "Status", alias: "Status", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true, domain: { type: "codedValue", name: "esriNAObjectStatus", codedValues: [{ name: "OK", code: 0 }, { name: "Not Located on Network", code: 1 }, { name: "Network Unbuilt", code: 2 }, { name: "Prohibited Street", code: 3 }, { name: "Invalid Field Values", code: 4 }, { name: "Cannot Reach", code: 5 }, { name: "Time Window Violation", code: 6 }] } }, { name: "TimeWindowEnd", alias: "Time Window End", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: false }, { name: "TimeWindowEndUTCOffset", alias: "Time Window End: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "TimeWindowStart", alias: "Time Window Start", type: "esriFieldTypeDate", length: 36, editable: true, nullable: true, visible: false }, { name: "TimeWindowStartUTCOffset", alias: "Time Window Start: Offset from UTC in Minutes", type: "esriFieldTypeInteger", editable: true, nullable: true, visible: true }, { name: "WaitMinutes", alias: "Minutes Early", type: "esriFieldTypeDouble", editable: true, nullable: true, visible: false }], w2.popupInfo = { title: "{Name}", fieldInfos: [{ fieldName: "Name", label: "Name", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "RouteName", label: "Route Name", isEditable: true, tooltip: "", visible: true, stringFieldOption: "textbox" }, { fieldName: "Sequence", label: "Sequence", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ArrivalTime", label: "Arrival Time", isEditable: true, tooltip: "", visible: true, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "ArrivalUTCOffset", label: "Arrival Time: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "DepartureTime", label: "Departure Time", isEditable: true, tooltip: "", visible: true, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "DepartureUTCOffset", label: "Departure Time: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "CurbApproach", label: "Curb Approach", isEditable: true, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ArrivalCurbApproach", label: "Arrival Curb Approach", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "DepartureCurbApproach", label: "Departure Curb Approach", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "Status", label: "Status", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "LocationType", label: "Location Type", isEditable: false, tooltip: "", visible: true, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TimeWindowStart", label: "Time Window Start", isEditable: true, tooltip: "", visible: false, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "TimeWindowStartUTCOffset", label: "Time Window Start: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "TimeWindowEnd", label: "Time Window End", isEditable: true, tooltip: "", visible: false, format: { dateFormat: "shortDateShortTime24" }, stringFieldOption: "textbox" }, { fieldName: "TimeWindowEndUTCOffset", label: "Time Window End: Offset from UTC in Minutes", isEditable: false, tooltip: "", visible: false, format: { places: 0, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ServiceMinutes", label: "Service Minutes", isEditable: true, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ServiceMeters", label: "Service Meters", isEditable: true, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "ServiceCosts", label: "Service Costs", isEditable: true, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "CumulativeMinutes", label: "Cumulative Minutes", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "CumulativeMeters", label: "Cumulative Meters", isEditable: false, tooltip: "", visible: true, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "CumulativeCosts", label: "Cumulative Costs", isEditable: true, tooltip: "", visible: false, stringFieldOption: "textbox" }, { fieldName: "LateMinutes", label: "Minutes Late", isEditable: false, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }, { fieldName: "WaitMinutes", label: "Minutes Early", isEditable: false, tooltip: "", visible: false, format: { places: 2, digitSeparator: true }, stringFieldOption: "textbox" }], description: null, showAttachments: false, mediaInfos: [] }, e([d({ type: u.apiValues, json: { read: { source: "attributes.ArrivalCurbApproach", reader: u.read } } })], w2.prototype, "arriveCurbApproach", void 0), e([d({ type: Date, json: { read: { source: "attributes.ArriveTimeUTC" } } })], w2.prototype, "arriveTime", void 0), e([d()], w2.prototype, "arriveTimeOffset", void 0), e([o("arriveTimeOffset", ["attributes.ArriveTime", "attributes.ArriveTimeUTC"])], w2.prototype, "readArriveTimeOffset", null), e([d({ json: { name: "attributes.Bearing", read: false, write: true } })], w2.prototype, "bearing", void 0), e([d({ json: { name: "attributes.BearingTol", read: false, write: true } })], w2.prototype, "bearingTol", void 0), e([d()], w2.prototype, "cumulativeCosts", void 0), e([o("cumulativeCosts", ["attributes"])], w2.prototype, "readCumulativeCosts", null), e([d({ json: { read: false } })], w2.prototype, "cumulativeDistance", void 0), e([d({ json: { read: false } })], w2.prototype, "cumulativeDuration", void 0), e([d({ type: u.apiValues, json: { name: "attributes.CurbApproach", read: { reader: u.read }, write: { writer: u.write } } })], w2.prototype, "curbApproach", void 0), e([d({ type: u.apiValues, json: { read: { source: "attributes.DepartCurbApproach", reader: u.read } } })], w2.prototype, "departCurbApproach", void 0), e([d({ type: Date, json: { read: { source: "attributes.DepartTimeUTC" } } })], w2.prototype, "departTime", void 0), e([d()], w2.prototype, "departTimeOffset", void 0), e([o("departTimeOffset", ["attributes.DepartTime", "attributes.DepartTimeUTC"])], w2.prototype, "readDepartTimeOffset", null), e([d({ json: { read: { source: "attributes.DistanceToNetworkInMeters" } } })], w2.prototype, "distanceToNetworkInMeters", void 0), e([d({ type: j, json: { write: true } })], w2.prototype, "geometry", void 0), e([d({ json: { name: "attributes.LateMinutes", read: false } })], w2.prototype, "lateDuration", void 0), e([d({ type: m2.apiValues, json: { name: "attributes.LocationType", read: { reader: m2.read }, write: { writer: m2.write } } })], w2.prototype, "locationType", void 0), e([d({ json: { name: "attributes.Name" } })], w2.prototype, "name", void 0), e([d({ json: { read: { source: "attributes.NavLatency" } } })], w2.prototype, "navLatency", void 0), e([d({ json: { name: "attributes.ObjectID" } })], w2.prototype, "objectId", void 0), e([d({ type: B, json: { read: false } })], w2.prototype, "popupTemplate", void 0), e([d({ json: { read: { source: "attributes.PosAlong" } } })], w2.prototype, "posAlong", void 0), e([d({ json: { name: "attributes.RouteName" } })], w2.prototype, "routeName", void 0), e([d()], w2.prototype, "serviceCosts", void 0), e([o("serviceCosts", ["attributes"])], w2.prototype, "readServiceCosts", null), e([r2("serviceCosts")], w2.prototype, "writeServiceCosts", null), e([d({ json: { read: false } })], w2.prototype, "serviceDistance", void 0), e([d({ json: { read: false } })], w2.prototype, "serviceDuration", void 0), e([d({ json: { name: "attributes.Sequence" } })], w2.prototype, "sequence", void 0), e([d({ type: p.apiValues, json: { read: { source: "attributes.SideOfEdge", reader: p.read } } })], w2.prototype, "sideOfEdge", void 0), e([d({ json: { read: { source: "attributes.SnapX" } } })], w2.prototype, "snapX", void 0), e([d({ json: { read: { source: "attributes.SnapY" } } })], w2.prototype, "snapY", void 0), e([d({ json: { read: { source: "attributes.SnapZ" } } })], w2.prototype, "snapZ", void 0), e([d({ json: { read: { source: "attributes.SourceID" } } })], w2.prototype, "sourceId", void 0), e([d({ json: { read: { source: "attributes.SourceOID" } } })], w2.prototype, "sourceOid", void 0), e([d({ type: h.apiValues, json: { read: { source: "attributes.Status", reader: h.read } } })], w2.prototype, "status", void 0), e([d({ types: j2, json: { read: false } })], w2.prototype, "symbol", void 0), e([d({ type: Date, json: { name: "attributes.TimeWindowEnd" } })], w2.prototype, "timeWindowEnd", void 0), e([r2("timeWindowEnd")], w2.prototype, "writeTimeWindowEnd", null), e([d({ json: { read: false } })], w2.prototype, "timeWindowEndOffset", void 0), e([d({ type: Date, json: { name: "attributes.TimeWindowStart" } })], w2.prototype, "timeWindowStart", void 0), e([r2("timeWindowStart")], w2.prototype, "writeTimeWindowStart", null), e([d({ json: { read: false } })], w2.prototype, "timeWindowStartOffset", void 0), e([d({ readOnly: true, json: { read: false } })], w2.prototype, "type", void 0), e([d()], w2.prototype, "violations", void 0), e([o("violations", ["attributes"])], w2.prototype, "readViolations", null), e([d({ json: { read: false } })], w2.prototype, "waitDuration", void 0), e([d()], w2.prototype, "wait", void 0), e([o("wait", ["attributes"])], w2.prototype, "readWait", null), w2 = g5 = e([n("esri.rest.support.Stop")], w2);
- var D = w2;
- export {
- i,
- r4 as r,
- t2 as t,
- s,
- o3 as o,
- n2 as n,
- k,
- y,
- T,
- U,
- R,
- w,
- b,
- h5 as h,
- u3 as u,
- b2,
- h2,
- O,
- g3 as g,
- h4 as h3,
- l4 as l,
- h6 as h4,
- D
- };
- //# sourceMappingURL=chunk-HDAG7QRR.js.map
|