PageSourceSearch

https://ssurgoqt.com/assets/validateNetworkTopology-CJWVmSmF.js

js ssurgoqt.com collected 2026-10-04 05:50:26 UTC 1,391 bytes, 1 lines download raw bytes

1import{s as k,a3 as n,a4 as l,a5 as u,a6 as c,fz as v}from"./index-tMz818nX.js";async function g(t,e,d){const a=n(t),i=e.toJSON();e.validationSet&&(i.validationSet=JSON.stringify(e.validationSet));const r={...i,returnEdits:!0,f:"json"},o=u({...a.query,...r}),s=l(o,{...d,method:"post"}),p=`${a.path}/validateNetworkTopology`,{data:f}=await c(p,s);return v.fromJSON(w(f))}async function S(t,e,d){if(!e.gdbVersion)throw new k("submit-validate-network-topology-job:missing-gdb-version","version is missing");const a=n(t),i=e.toJSON();e.validationSet&&(i.validationSet=JSON.stringify(e.validationSet));const r=l(a.query,{query:u({...i,returnEdits:!0,async:!0,f:"json"}),...d,method:"post"}),o=`${a.path}/validateNetworkTopology`,{data:s}=await c(o,r);return s?s.statusUrl:null}function w(t){return t.serviceEdits&&(t.serviceEdits=t.serviceEdits.map(e=>(e.editedFeatures.spatialReference&&(e.editedFeatures.spatialReference={wkid:e.editedFeatures.spatialReference.wkid,wkt:e.editedFeatures.spatialReference.wkt,wkt2:e.editedFeatures.spatialReference.wkt2,latestWkid:e.editedFeatures.spatialReference.latestWkid,latestVcsWkid:e.editedFeatures.spatialReference.latestVcsWkid,vcsWkid:e.editedFeatures.spatialReference.vcsWkid}),e={layerId:e.id,editedFeatures:e.editedFeatures}))),t}export{w as handleValidateNetworkTopologyResult,S as submitValidateNetworkTopologyJob,g as validateNetworkTopology};

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.