{"version":3,"sources":["webpack:///./node_modules/@arcgis/core/rest/support/ProjectParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/utils.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/project.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/areasAndLengths.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/autoComplete.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/buffer.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/convexHull.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/cut.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/densify.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/difference.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/distance.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/units.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/fromGeoCoordinateString.js","webpack:///./node_modules/@arcgis/core/rest/operations/generalize.js","webpack:///./node_modules/@arcgis/core/rest/support/GeneralizeParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/generalize.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/intersect.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/labelPoints.js","webpack:///./node_modules/@arcgis/core/rest/operations/lengths.js","webpack:///./node_modules/@arcgis/core/rest/support/LengthsParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/lengths.js","webpack:///./node_modules/@arcgis/core/rest/operations/offset.js","webpack:///./node_modules/@arcgis/core/rest/support/OffsetParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/offset.js","webpack:///./node_modules/@arcgis/core/rest/operations/relation.js","webpack:///./node_modules/@arcgis/core/rest/support/RelationParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/relation.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/reshape.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/simplify.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/toGeoCoordinateString.js","webpack:///./node_modules/@arcgis/core/rest/operations/trimExtend.js","webpack:///./node_modules/@arcgis/core/rest/support/TrimExtendParameters.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/trimExtend.js","webpack:///./node_modules/@arcgis/core/rest/geometryService/union.js","webpack:///./node_modules/@arcgis/core/tasks/GeometryService.js"],"names":["i","r","super","this","geometries","outSpatialReference","transformation","transformForward","map","toJSON","t","o","outSR","wkid","JSON","stringify","inSR","spatialReference","geometryType","prototype","json","read","source","a","e","n","fromJSON","async","m","u","c","query","f","j","path","then","data","s","p","g","sr","polygons","polylines","y","rings","geometry","set","target","cutter","cutIndexes","distance","_","MGRS","USNG","UTM","GeoRef","GARS","DMS","DDM","DD","strings","conversionType","conversionMode","coordinates","109006","9102","109005","9002","109009","9036","9001","9035","109007","109012","9096","deviationUnit","maxDeviation","length","write","type","String","reader","writer","Number","from","l","labelPoints","preserveShape","lengthUnit","geodesic","calculationType","Boolean","esriGeometryOffsetBevelled","esriGeometryOffsetMitered","esriGeometryOffsetRounded","9093","109001","bevelRatio","offsetDistance","offsetHow","offsetUnit","esriGeometryRelationCross","esriGeometryRelationDisjoint","esriGeometryRelationIn","esriGeometryRelationInteriorIntersection","esriGeometryRelationIntersection","esriGeometryRelationLineCoincidence","esriGeometryRelationLineTouch","esriGeometryRelationOverlap","esriGeometryRelationPointTouch","esriGeometryRelationTouch","esriGeometryRelationWithin","esriGeometryRelationRelation","geometries1","geometries2","relation","relationParameter","relationParam","relations","reshaper","d","numOfDigits","rounding","addSpaces","0","1","2","4","8","16","extendHow","trimExtendTo","paths","C","url","UNIT_METER","UNIT_GERMAN_METER","UNIT_FOOT","UNIT_SURVEY_FOOT","UNIT_CLARKE_FOOT","UNIT_FATHOM","UNIT_NAUTICAL_MILE","UNIT_SURVEY_CHAIN","UNIT_SURVEY_LINK","UNIT_SURVEY_MILE","UNIT_KILOMETER","UNIT_CLARKE_YARD","UNIT_CLARKE_CHAIN","UNIT_CLARKE_LINK","UNIT_SEARS_YARD","UNIT_SEARS_FOOT","UNIT_SEARS_CHAIN","UNIT_SEARS_LINK","UNIT_BENOIT_1895A_YARD","UNIT_BENOIT_1895A_FOOT","UNIT_BENOIT_1895A_CHAIN","UNIT_BENOIT_1895A_LINK","UNIT_BENOIT_1895B_YARD","UNIT_BENOIT_1895B_FOOT","UNIT_BENOIT_1895B_CHAIN","UNIT_BENOIT_1895B_LINK","UNIT_INDIAN_FOOT","UNIT_INDIAN_1937_FOOT","UNIT_INDIAN_1962_FOOT","UNIT_INDIAN_1975_FOOT","UNIT_INDIAN_YARD","UNIT_INDIAN_1937_YARD","UNIT_INDIAN_1962_YARD","UNIT_INDIAN_1975_YARD","UNIT_FOOT_1865","UNIT_RADIAN","UNIT_DEGREE","UNIT_ARCMINUTE","UNIT_ARCSECOND","UNIT_GRAD","UNIT_GON","UNIT_MICRORADIAN","UNIT_ARCMINUTE_CENTESIMAL","UNIT_ARCSECOND_CENTESIMAL","UNIT_MIL6400","UNIT_BRITISH_1936_FOOT","UNIT_GOLDCOAST_FOOT","UNIT_INTERNATIONAL_CHAIN","UNIT_INTERNATIONAL_LINK","UNIT_INTERNATIONAL_YARD","UNIT_STATUTE_MILE","UNIT_SURVEY_YARD","UNIT_50KILOMETER_LENGTH","UNIT_150KILOMETER_LENGTH","UNIT_DECIMETER","UNIT_CENTIMETER","UNIT_MILLIMETER","UNIT_INTERNATIONAL_INCH","UNIT_US_SURVEY_INCH","UNIT_INTERNATIONAL_ROD","UNIT_US_SURVEY_ROD","UNIT_US_NAUTICAL_MILE","UNIT_UK_NAUTICAL_MILE","UNIT_SQUARE_INCHES","UNIT_SQUARE_FEET","UNIT_SQUARE_YARDS","UNIT_ACRES","UNIT_SQUARE_MILES","UNIT_SQUARE_MILLIMETERS","UNIT_SQUARE_CENTIMETERS","UNIT_SQUARE_DECIMETERS","UNIT_SQUARE_METERS","UNIT_ARES","UNIT_HECTARES","UNIT_SQUARE_KILOMETERS"],"mappings":"kHAAA,kIAI8a,IAAIA,EAAE,cAAc,OAAE,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mBAAmB,mBAAmBjE,GAAEkE,iBAAiB,iBAAiBlE,GAAEmE,kBAAkB,kBAAkBnE,GAAEoE,WAAW,YAAYpE,GAAEqE,kBAAkB,kBAAkBrE,GAAEsE,wBAAwB,wBAAwBtE,GAAEuE,wBAAwB,wBAAwBvE,GAAEwE,uBAAuB,uBAAuBxE,GAAEyE,mBAAmB,mBAAmBzE,GAAE0E,UAAU,WAAW1E,GAAE2E,cAAc,eAAe3E,GAAE4E,uBAAuB,uBAAuB,eAAE,CAAC,kBAAK5E,GAAElH,UAAU,WAAM,GAAQkH,GAAE,eAAE,CAAC,eAAE,+BAA+BA,IAAG,MAAM,GAAEA","file":"js/chunk-5f77cfd5.9c8a2ae0.js","sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../chunks/tslib.es6.js\";import{JSONSupport as t}from\"../../core/JSONSupport.js\";import{property as o}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import\"../../core/accessorSupport/ensureType.js\";import{subclass as e}from\"../../core/accessorSupport/decorators/subclass.js\";import{getJsonType as s}from\"../../geometry/support/jsonUtils.js\";let i=class extends t{constructor(r){super(r),this.geometries=null,this.outSpatialReference=null,this.transformation=null,this.transformForward=null}toJSON(){const r=this.geometries.map((function(r){return r.toJSON()})),t=this.geometries[0],o={};return o.outSR=this.outSpatialReference.wkid||JSON.stringify(this.outSpatialReference.toJSON()),o.inSR=t.spatialReference.wkid||JSON.stringify(t.spatialReference.toJSON()),o.geometries=JSON.stringify({geometryType:s(t),geometries:r}),this.transformation&&(o.transformation=this.transformation.wkid||JSON.stringify(this.transformation)),null!=this.transformForward&&(o.transformForward=this.transformForward),o}};r([o()],i.prototype,\"geometries\",void 0),r([o({json:{read:{source:\"outSR\"}}})],i.prototype,\"outSpatialReference\",void 0),r([o()],i.prototype,\"transformation\",void 0),r([o()],i.prototype,\"transformForward\",void 0),i=r([e(\"esri.rest.support.ProjectParameters\")],i);const a=i;export{a as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{getJsonType as e,getGeometryType as t}from\"../../geometry/support/jsonUtils.js\";function r(t){return{geometryType:e(t[0]),geometries:t.map((e=>e.toJSON()))}}function o(e,r,o){const n=t(r);return e.map((e=>{const t=n.fromJSON(e);return t.spatialReference=o,t}))}export{o as decodeGeometries,r as encodeGeometries};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport r from\"../../request.js\";import{ensureType as o}from\"../../core/accessorSupport/ensureType.js\";import{getJsonType as t}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as e,asValidOptions as s}from\"../utils.js\";import{decodeGeometries as p}from\"./utils.js\";import m from\"../support/ProjectParameters.js\";const i=o(m);async function n(o,m,n){m=i(m);const u=e(o),c={...u.query,f:\"json\",...m.toJSON()},j=m.outSpatialReference,a=t(m.geometries[0]),f=s(c,n);return r(u.path+\"/project\",f).then((({data:{geometries:r}})=>p(r,a,j)))}export{n as project};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{parseUrl as r,asValidOptions as n}from\"../utils.js\";async function o(o,s,e){const a=r(o),u={...a.query,f:\"json\",...s.toJSON()},f=n(u,e);return t(a.path+\"/areasAndLengths\",f).then((t=>t.data))}export{o as areasAndLengths};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import e from\"../../request.js\";import{parseUrl as t,asValidOptions as r}from\"../utils.js\";import{encodeGeometries as o}from\"./utils.js\";import s from\"../../geometry/Polygon.js\";async function i(i,n,m,p){const g=n[0].spatialReference,f=t(i),a={...f.query,f:\"json\",sr:JSON.stringify(g.toJSON()),polygons:JSON.stringify(o(n).geometries),polylines:JSON.stringify(o(m).geometries)},y=r(a,p);return e(f.path+\"/autoComplete\",y).then((({data:e})=>(e.geometries||[]).map((({rings:e})=>new s({spatialReference:g,rings:e})))))}export{i as autoComplete};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import e from\"../../request.js\";import{parseUrl as r,asValidOptions as t}from\"../utils.js\";import o from\"../../geometry/Polygon.js\";async function s(s,n,i){const m=r(s),a={...m.query,f:\"json\",...n.toJSON()},f=n.outSpatialReference||n.geometries[0].spatialReference,p=t(a,i);return e(m.path+\"/buffer\",p).then((e=>(e.data.geometries||[]).map((({rings:e})=>new o({spatialReference:f,rings:e})))))}export{s as buffer};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{fromJSON as e}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as r,asValidOptions as s}from\"../utils.js\";import{encodeGeometries as o}from\"./utils.js\";async function i(i,n,m){const f=n[0].spatialReference,p=r(i),a={...p.query,f:\"json\",sr:JSON.stringify(f.toJSON()),geometries:JSON.stringify(o(n))},u=s(a,m);return t(p.path+\"/convexHull\",u).then((({data:t})=>e(t.geometry).set({spatialReference:f})))}export{i as convexHull};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import e from\"../../request.js\";import{getJsonType as t,fromJSON as r}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as s}from\"../utils.js\";async function o(o,i,n,m){const a=s(o),p=i[0].spatialReference,u={...m,query:{...a.query,f:\"json\",sr:JSON.stringify(p),target:JSON.stringify({geometryType:t(i[0]),geometries:i}),cutter:JSON.stringify(n)}},c=await e(a.path+\"/cut\",u),{cutIndexes:f,geometries:g=[]}=c.data;return{cutIndexes:f,geometries:g.map((e=>{const t=r(e);return t.spatialReference=p,t}))}}export{o as cut};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{fromJSON as t}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as r,asValidOptions as s}from\"../utils.js\";async function o(o,i,n){const m=i.geometries[0].spatialReference,p=r(o),a={...p.query,f:\"json\",...i.toJSON()},f=s(a,n);return e(p.path+\"/densify\",f).then((({data:e})=>(e.geometries||[]).map((e=>t(e).set({spatialReference:m})))))}export{o as densify};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{getJsonType as t,fromJSON as r}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as o}from\"../utils.js\";import{encodeGeometries as s}from\"./utils.js\";async function i(i,m,n,f){const p=m[0].spatialReference,y=o(i);let a={query:{...y.query,f:\"json\",sr:JSON.stringify(p.toJSON()),geometries:JSON.stringify(s(m)),geometry:JSON.stringify({geometryType:t(n),geometry:n.toJSON()})}};return f&&(a={...f,...a}),e(y.path+\"/difference\",a).then((({data:e})=>(e.geometries||[]).map((e=>r(e).set({spatialReference:p})))))}export{i as difference};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{parseUrl as n,asValidOptions as o}from\"../utils.js\";async function r(r,s,e){const a=n(r),i={...a.query,f:\"json\",...s.toJSON()},c=o(i,e);return t(a.path+\"/distance\",c).then((({data:t})=>t&&t.distance))}export{r as distance};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as I}from\"../../core/jsonMap.js\";const _=new I({MGRS:\"mgrs\",USNG:\"usng\",UTM:\"utm\",GeoRef:\"geo-ref\",GARS:\"gars\",DMS:\"dms\",DDM:\"ddm\",DD:\"dd\"}),N={UNIT_METER:9001,UNIT_GERMAN_METER:9031,UNIT_FOOT:9002,UNIT_SURVEY_FOOT:9003,UNIT_CLARKE_FOOT:9005,UNIT_FATHOM:9014,UNIT_NAUTICAL_MILE:9030,UNIT_SURVEY_CHAIN:9033,UNIT_SURVEY_LINK:9034,UNIT_SURVEY_MILE:9035,UNIT_KILOMETER:9036,UNIT_CLARKE_YARD:9037,UNIT_CLARKE_CHAIN:9038,UNIT_CLARKE_LINK:9039,UNIT_SEARS_YARD:9040,UNIT_SEARS_FOOT:9041,UNIT_SEARS_CHAIN:9042,UNIT_SEARS_LINK:9043,UNIT_BENOIT_1895A_YARD:9050,UNIT_BENOIT_1895A_FOOT:9051,UNIT_BENOIT_1895A_CHAIN:9052,UNIT_BENOIT_1895A_LINK:9053,UNIT_BENOIT_1895B_YARD:9060,UNIT_BENOIT_1895B_FOOT:9061,UNIT_BENOIT_1895B_CHAIN:9062,UNIT_BENOIT_1895B_LINK:9063,UNIT_INDIAN_FOOT:9080,UNIT_INDIAN_1937_FOOT:9081,UNIT_INDIAN_1962_FOOT:9082,UNIT_INDIAN_1975_FOOT:9083,UNIT_INDIAN_YARD:9084,UNIT_INDIAN_1937_YARD:9085,UNIT_INDIAN_1962_YARD:9086,UNIT_INDIAN_1975_YARD:9087,UNIT_FOOT_1865:9070,UNIT_RADIAN:9101,UNIT_DEGREE:9102,UNIT_ARCMINUTE:9103,UNIT_ARCSECOND:9104,UNIT_GRAD:9105,UNIT_GON:9106,UNIT_MICRORADIAN:9109,UNIT_ARCMINUTE_CENTESIMAL:9112,UNIT_ARCSECOND_CENTESIMAL:9113,UNIT_MIL6400:9114,UNIT_BRITISH_1936_FOOT:9095,UNIT_GOLDCOAST_FOOT:9094,UNIT_INTERNATIONAL_CHAIN:109003,UNIT_INTERNATIONAL_LINK:109004,UNIT_INTERNATIONAL_YARD:109001,UNIT_STATUTE_MILE:9093,UNIT_SURVEY_YARD:109002,UNIT_50KILOMETER_LENGTH:109030,UNIT_150KILOMETER_LENGTH:109031,UNIT_DECIMETER:109005,UNIT_CENTIMETER:109006,UNIT_MILLIMETER:109007,UNIT_INTERNATIONAL_INCH:109008,UNIT_US_SURVEY_INCH:109009,UNIT_INTERNATIONAL_ROD:109010,UNIT_US_SURVEY_ROD:109011,UNIT_US_NAUTICAL_MILE:109012,UNIT_UK_NAUTICAL_MILE:109013,UNIT_SQUARE_INCHES:\"esriSquareInches\",UNIT_SQUARE_FEET:\"esriSquareFeet\",UNIT_SQUARE_YARDS:\"esriSquareYards\",UNIT_ACRES:\"esriAcres\",UNIT_SQUARE_MILES:\"esriSquareMiles\",UNIT_SQUARE_MILLIMETERS:\"esriSquareMillimeters\",UNIT_SQUARE_CENTIMETERS:\"esriSquareCentimeters\",UNIT_SQUARE_DECIMETERS:\"esriSquareDecimeters\",UNIT_SQUARE_METERS:\"esriSquareMeters\",UNIT_ARES:\"esriAres\",UNIT_HECTARES:\"esriHectares\",UNIT_SQUARE_KILOMETERS:\"esriSquareKilometers\"};export{_ as conversionTypeKebabDict,N as units};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport o from\"../../request.js\";import{parseUrl as r,asValidOptions as s}from\"../utils.js\";import{conversionTypeKebabDict as n}from\"./units.js\";async function t(t,i,e){const c={};null!=i.sr&&\"object\"==typeof i.sr?c.sr=i.sr.wkid||JSON.stringify(i.sr):c.sr=i.sr,c.strings=JSON.stringify(i.strings);const f=i.conversionType||\"mgrs\";c.conversionType=n.toJSON(f),c.conversionMode=i.conversionMode;const m=r(t),p={...m.query,f:\"json\",...c},u=s(p,e);return o(m.path+\"/fromGeoCoordinateString\",u).then((({data:o})=>o.coordinates))}export{t as fromGeoCoordinateString};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as e}from\"../../core/jsonMap.js\";import{getJsonType as t}from\"../../geometry/support/jsonUtils.js\";const i=new e({109006:\"centimeters\",9102:\"decimal-degrees\",109005:\"decimeters\",9002:\"feet\",109009:\"inches\",9036:\"kilometers\",9001:\"meters\",9035:\"miles\",109007:\"millimeters\",109012:\"nautical-miles\",9096:\"yards\"});function r(e){const{geometries:r,deviationUnit:s,maxDeviation:o}=e.toJSON(),n={maxDeviation:o};return r&&r.length&&(n.geometries=JSON.stringify({geometryType:t(r[0]),geometries:r}),n.sr=JSON.stringify(r[0].spatialReference)),i.write(s,n,\"deviationUnit\"),n}export{r as generalizeToRESTParameters};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../chunks/tslib.es6.js\";import{JSONSupport as o}from\"../../core/JSONSupport.js\";import{property as e}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import{ensureType as t}from\"../../core/accessorSupport/ensureType.js\";import{subclass as s}from\"../../core/accessorSupport/decorators/subclass.js\";import{fromJSON as i}from\"../../geometry/support/jsonUtils.js\";let p=class extends o{constructor(r){super(r),this.deviationUnit=null,this.geometries=null,this.maxDeviation=null}};r([e({type:String,json:{write:!0}})],p.prototype,\"deviationUnit\",void 0),r([e({json:{read:{reader:r=>r?r.map((r=>i(r))):null},write:{writer:(r,o)=>{o.geometries=r.map((r=>r.toJSON()))}}}})],p.prototype,\"geometries\",void 0),r([e({type:Number,json:{write:!0}})],p.prototype,\"maxDeviation\",void 0),p=r([s(\"esri.rest.support.GeneralizeParameters\")],p),p.from=t(p);const a=p;export{a as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{fromJSON as r}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as t,asValidOptions as o}from\"../utils.js\";import{generalizeToRESTParameters as s}from\"../operations/generalize.js\";import i from\"../support/GeneralizeParameters.js\";async function m(m,a,p){const n=(a=i.from(a)).toJSON(),f=s(a),j=t(m),l={...j.query,f:\"json\",...f},u=n.geometries[0].spatialReference,c=o(l,p);return e(j.path+\"/generalize\",c).then((({data:e})=>(e.geometries||[]).map((e=>r(e).set({spatialReference:u})))))}export{m as generalize};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{getJsonType as t,fromJSON as r}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as s,asValidOptions as o}from\"../utils.js\";import{encodeGeometries as i}from\"./utils.js\";async function m(m,n,p,f){const y=n[0].spatialReference,a=s(m),g={...a.query,f:\"json\",sr:JSON.stringify(y.toJSON()),geometries:JSON.stringify(i(n)),geometry:JSON.stringify({geometryType:t(p),geometry:p.toJSON()})},u=o(g,f);return e(a.path+\"/intersect\",u).then((({data:e})=>(e.geometries||[]).map((e=>r(e).set({spatialReference:y})))))}export{m as intersect};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{fromJSON as e}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as o,asValidOptions as s}from\"../utils.js\";function r(r,i,n){const p=i.map((t=>t.toJSON())),a=i[0].spatialReference,f=o(r),l={...f.query,f:\"json\",sr:a.wkid?a.wkid:JSON.stringify(a.toJSON()),polygons:JSON.stringify(p)},m=s(l,n);return t(f.path+\"/labelPoints\",m).then((({data:t})=>(t.labelPoints||[]).map((t=>e(t).set({spatialReference:a})))))}export{r as labelPoints};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as e}from\"../../core/jsonMap.js\";const n=new e({preserveShape:\"preserve-shape\"});function o(e){const{polylines:o,lengthUnit:t,geodesic:i,calculationType:s}=e.toJSON(),r={};r.polylines=JSON.stringify(o);const l=e.polylines[0].spatialReference;return r.sr=l.wkid?l.wkid:JSON.stringify(l.toJSON()),t&&(r.lengthUnit=t),i&&(r.geodesic=i),s&&(r.calculationType=n.toJSON(s)),r}export{o as lengthsToRESTParameters};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as o}from\"../../chunks/tslib.es6.js\";import\"../../geometry.js\";import{JSONSupport as r}from\"../../core/JSONSupport.js\";import{property as t}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import{ensureType as e}from\"../../core/accessorSupport/ensureType.js\";import{subclass as s}from\"../../core/accessorSupport/decorators/subclass.js\";import{fromJSON as p}from\"../../geometry/support/jsonUtils.js\";import i from\"../../geometry/Polyline.js\";let l=class extends r{constructor(o){super(o),this.calculationType=null,this.geodesic=null,this.lengthUnit=null,this.polylines=null}};o([t({type:String,json:{write:!0}})],l.prototype,\"calculationType\",void 0),o([t({type:Boolean,json:{write:!0}})],l.prototype,\"geodesic\",void 0),o([t({json:{write:!0}})],l.prototype,\"lengthUnit\",void 0),o([t({type:[i],json:{read:{reader:o=>o?o.map((o=>p(o))):null},write:{writer:(o,r)=>{r.polylines=o.map((o=>o.toJSON()))}}}})],l.prototype,\"polylines\",void 0),l=o([s(\"esri.rest.support.LengthsParameters\")],l),l.from=e(l);const n=l;export{n as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{parseUrl as r,asValidOptions as o}from\"../utils.js\";import{lengthsToRESTParameters as s}from\"../operations/lengths.js\";import e from\"../support/LengthsParameters.js\";async function n(n,m,p){m=e.from(m);const a=s(m),f=r(n),i={...f.query,f:\"json\",...a},u=o(i,p);return t(f.path+\"/lengths\",u).then((({data:t})=>t))}export{n as lengths};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as e}from\"../../core/jsonMap.js\";import{getJsonType as t}from\"../../geometry/support/jsonUtils.js\";const o=new e({esriGeometryOffsetBevelled:\"bevelled\",esriGeometryOffsetMitered:\"mitered\",esriGeometryOffsetRounded:\"rounded\"}),s=new e({9001:\"meters\",9002:\"feet\",9036:\"kilometers\",9093:\"miles\",109012:\"nautical-miles\",109001:\"yards\"});function r(e){const{geometries:r,bevelRatio:i,offsetDistance:f,offsetHow:n,offsetUnit:m}=e.toJSON(),l={bevelRatio:i,offsetDistance:f};return r&&r.length&&(l.geometries=JSON.stringify({geometryType:t(r[0]),geometries:r}),l.sr=JSON.stringify(r[0].spatialReference)),n&&(l.offsetHow=o.toJSON(n)),m&&(l.offsetUnit=s.toJSON(m)),l}export{r as offsetToRESTParameters};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as o}from\"../../chunks/tslib.es6.js\";import{JSONSupport as t}from\"../../core/JSONSupport.js\";import{property as e}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import{ensureType as r}from\"../../core/accessorSupport/ensureType.js\";import{subclass as s}from\"../../core/accessorSupport/decorators/subclass.js\";import{fromJSON as p}from\"../../geometry/support/jsonUtils.js\";let i=class extends t{constructor(o){super(o),this.bevelRatio=null,this.geometries=null,this.offsetDistance=null,this.offsetHow=null,this.offsetUnit=null}};o([e({type:Number,json:{write:!0}})],i.prototype,\"bevelRatio\",void 0),o([e({json:{read:{reader:o=>o?o.map((o=>p(o))):null},write:{writer:(o,t)=>{t.geometries=o.map((o=>o.toJSON()))}}}})],i.prototype,\"geometries\",void 0),o([e({type:Number,json:{write:!0}})],i.prototype,\"offsetDistance\",void 0),o([e({type:String,json:{write:!0}})],i.prototype,\"offsetHow\",void 0),o([e({type:String,json:{write:!0}})],i.prototype,\"offsetUnit\",void 0),i=o([s(\"esri.rest.support.OffsetParameters\")],i),i.from=r(i);const m=i;export{m as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{fromJSON as t}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as r,asValidOptions as o}from\"../utils.js\";import{offsetToRESTParameters as s}from\"../operations/offset.js\";import f from\"../support/OffsetParameters.js\";async function m(m,p,i){p=f.from(p);const a=s(p),n=r(m),j={...n.query,f:\"json\",...a},u=p.geometries[0].spatialReference,c=o(j,i);return e(n.path+\"/offset\",c).then((({data:e})=>(e.geometries||[]).map((e=>t(e).set({spatialReference:u})))))}export{m as offset};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as e}from\"../../core/jsonMap.js\";import{getJsonType as i}from\"../../geometry/support/jsonUtils.js\";const t=new e({esriGeometryRelationCross:\"cross\",esriGeometryRelationDisjoint:\"disjoint\",esriGeometryRelationIn:\"in\",esriGeometryRelationInteriorIntersection:\"interior-intersection\",esriGeometryRelationIntersection:\"intersection\",esriGeometryRelationLineCoincidence:\"line-coincidence\",esriGeometryRelationLineTouch:\"line-touch\",esriGeometryRelationOverlap:\"overlap\",esriGeometryRelationPointTouch:\"point-touch\",esriGeometryRelationTouch:\"touch\",esriGeometryRelationWithin:\"within\",esriGeometryRelationRelation:\"relation\"});function o(e){const{geometries1:o,geometries2:r,relation:n,relationParameter:s}=e.toJSON(),a={};if(o&&o.length){a.geometries1=JSON.stringify({geometryType:i(o[0]),geometries:o});const e=o[0].spatialReference;a.sr=e.wkid?e.wkid:JSON.stringify(e)}return r&&r.length>0&&(a.geometries2=JSON.stringify({geometryType:i(r[0]),geometries:r})),n&&(a.relation=t.toJSON(n)),s&&(a.relationParam=s),a}export{o as relationToRESTParameters};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../chunks/tslib.es6.js\";import{JSONSupport as e}from\"../../core/JSONSupport.js\";import{property as o}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import{ensureType as t}from\"../../core/accessorSupport/ensureType.js\";import{subclass as s}from\"../../core/accessorSupport/decorators/subclass.js\";import{fromJSON as i}from\"../../geometry/support/jsonUtils.js\";let p=class extends e{constructor(r){super(r),this.geometries1=null,this.geometries2=null,this.relation=null,this.relationParameter=null}};r([o({json:{read:{reader:r=>r?r.map((r=>i(r))):null},write:{writer:(r,e)=>{e.geometries1=r.map((r=>r.toJSON()))}}}})],p.prototype,\"geometries1\",void 0),r([o({json:{read:{reader:r=>r?r.map((r=>i(r))):null},write:{writer:(r,e)=>{e.geometries2=r.map((r=>r.toJSON()))}}}})],p.prototype,\"geometries2\",void 0),r([o({type:String,json:{write:!0}})],p.prototype,\"relation\",void 0),r([o({type:String,json:{write:!0}})],p.prototype,\"relationParameter\",void 0),p=r([s(\"esri.rest.support.RelationParameters\")],p),p.from=t(p);const a=p;export{a as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport r from\"../../request.js\";import{parseUrl as o,asValidOptions as t}from\"../utils.js\";import{relationToRESTParameters as e}from\"../operations/relation.js\";import s from\"../support/RelationParameters.js\";async function n(n,a,i){a=s.from(a);const m=e(a),p=o(n),f={...p.query,f:\"json\",...m},u=t(f,i);return r(p.path+\"/relation\",u).then((({data:r})=>r.relations))}export{n as relation};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport e from\"../../request.js\";import{getJsonType as t,fromJSON as r}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as s,asValidOptions as o}from\"../utils.js\";async function i(i,n,p,a){const f=n.spatialReference,m=s(i),y={...m.query,f:\"json\",sr:JSON.stringify(f.toJSON()),target:JSON.stringify({geometryType:t(n),geometry:n.toJSON()}),reshaper:JSON.stringify(p.toJSON())},g=o(y,a);return e(m.path+\"/reshape\",g).then((({data:e})=>r(e.geometry).set({spatialReference:f})))}export{i as reshape};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport r from\"../../request.js\";import{urlToObject as t}from\"../../core/urlUtils.js\";import{getJsonType as i}from\"../../geometry/support/jsonUtils.js\";import{encodeGeometries as s,decodeGeometries as e}from\"./utils.js\";async function o(o,m,f){const n=\"string\"==typeof o?t(o):o,p=m[0].spatialReference,a=i(m[0]),u={...f,query:{...n.query,f:\"json\",sr:p.wkid?p.wkid:JSON.stringify(p),geometries:JSON.stringify(s(m))}},{data:y}=await r(n.path+\"/simplify\",u);return e(y.geometries,a,p)}export{o as simplify};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport o from\"../../request.js\";import{parseUrl as s,asValidOptions as n}from\"../utils.js\";import{conversionTypeKebabDict as r}from\"./units.js\";async function t(t,i,e){const c={};null!=i.sr&&\"object\"==typeof i.sr?c.sr=i.sr.wkid||JSON.stringify(i.sr):c.sr=i.sr,c.coordinates=JSON.stringify(i.coordinates);const d=i.conversionType||\"mgrs\";c.conversionType=r.toJSON(d),c.conversionMode=i.conversionMode,c.numOfDigits=i.numOfDigits,c.rounding=i.rounding,c.addSpaces=i.addSpaces;const a=s(t),u={...a.query,f:\"json\",...c},f=n(u,e);return o(a.path+\"/toGeoCoordinateString\",f).then((({data:o})=>o.strings))}export{t as toGeoCoordinateString};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{JSONMap as e}from\"../../core/jsonMap.js\";const t=new e({0:\"default-curve-extension\",1:\"relocate-ends\",2:\"keep-end-attributes\",4:\"no-end-attributes\",8:\"no-extend-at-from\",16:\"no-extend-at-to\"});function n(e){const{extendHow:n,polylines:o,trimExtendTo:r}=e.toJSON(),i={};return i.extendHow=t.toJSON(n),o&&o.length&&(i.polylines=JSON.stringify(o),i.sr=JSON.stringify(o[0].spatialReference)),r&&(i.trimExtendTo=JSON.stringify(r)),i}export{n as trimExtendToRESTParameters};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../../chunks/tslib.es6.js\";import\"../../geometry.js\";import{JSONSupport as o}from\"../../core/JSONSupport.js\";import{property as e}from\"../../core/accessorSupport/decorators/property.js\";import\"../../core/arrayUtils.js\";import\"../../core/has.js\";import{ensureType as t}from\"../../core/accessorSupport/ensureType.js\";import{subclass as s}from\"../../core/accessorSupport/decorators/subclass.js\";import{fromJSON as p}from\"../../geometry/support/jsonUtils.js\";import i from\"../../geometry/Polyline.js\";let m=class extends o{constructor(r){super(r),this.extendHow=\"default-curve-extension\",this.polylines=null,this.trimExtendTo=null}};r([e({type:String,json:{write:!0}})],m.prototype,\"extendHow\",void 0),r([e({type:[i],json:{read:{reader:r=>r?r.map((r=>p(r))):null},write:{writer:(r,o)=>{o.polylines=r.map((r=>r.toJSON()))}}}})],m.prototype,\"polylines\",void 0),r([e({json:{read:{reader:r=>r?p(r):null},write:{writer:(r,o)=>{o.trimExtendTo=r.toJSON()}}}})],m.prototype,\"trimExtendTo\",void 0),m=r([s(\"esri.rest.support.TrimExtendParameters\")],m),m.from=t(m);const n=m;export{n as default};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport\"../../geometry.js\";import r from\"../../request.js\";import{parseUrl as t,asValidOptions as e}from\"../utils.js\";import{trimExtendToRESTParameters as o}from\"../operations/trimExtend.js\";import m from\"../support/TrimExtendParameters.js\";import s from\"../../geometry/Polyline.js\";async function i(i,p,n){p=m.from(p);const a=o(p),f=t(i),j={...f.query,f:\"json\",...a},u=p.sr,y=e(j,n);return r(f.path+\"/trimExtend\",y).then((({data:r})=>(r.geometries||[]).map((({paths:r})=>new s({spatialReference:u,paths:r})))))}export{i as trimExtend};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport t from\"../../request.js\";import{fromJSON as e}from\"../../geometry/support/jsonUtils.js\";import{parseUrl as r,asValidOptions as s}from\"../utils.js\";import{encodeGeometries as o}from\"./utils.js\";async function i(i,n,m){const f=n[0].spatialReference,p=r(i),a={...p.query,f:\"json\",sr:JSON.stringify(f.toJSON()),geometries:JSON.stringify(o(n))},u=s(a,m);return t(p.path+\"/union\",u).then((({data:t})=>e(t.geometry).set({spatialReference:f})))}export{i as union};\n","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.23/esri/copyright.txt for details.\n*/\nimport{_ as r}from\"../chunks/tslib.es6.js\";import{property as e}from\"../core/accessorSupport/decorators/property.js\";import\"../core/arrayUtils.js\";import\"../core/has.js\";import\"../core/accessorSupport/ensureType.js\";import{subclass as t}from\"../core/accessorSupport/decorators/subclass.js\";import{areasAndLengths as I}from\"../rest/geometryService/areasAndLengths.js\";import{autoComplete as _}from\"../rest/geometryService/autoComplete.js\";import{buffer as s}from\"../rest/geometryService/buffer.js\";import{convexHull as N}from\"../rest/geometryService/convexHull.js\";import{cut as T}from\"../rest/geometryService/cut.js\";import{densify as o}from\"../rest/geometryService/densify.js\";import{difference as i}from\"../rest/geometryService/difference.js\";import{distance as U}from\"../rest/geometryService/distance.js\";import{fromGeoCoordinateString as E}from\"../rest/geometryService/fromGeoCoordinateString.js\";import{generalize as m}from\"../rest/geometryService/generalize.js\";import{intersect as A}from\"../rest/geometryService/intersect.js\";import{labelPoints as S}from\"../rest/geometryService/labelPoints.js\";import{lengths as u}from\"../rest/geometryService/lengths.js\";import{offset as R}from\"../rest/geometryService/offset.js\";import{project as n}from\"../rest/geometryService/project.js\";import{relation as c}from\"../rest/geometryService/relation.js\";import{reshape as l}from\"../rest/geometryService/reshape.js\";import{simplify as O}from\"../rest/geometryService/simplify.js\";import{toGeoCoordinateString as p}from\"../rest/geometryService/toGeoCoordinateString.js\";import{trimExtend as a}from\"../rest/geometryService/trimExtend.js\";import{union as f}from\"../rest/geometryService/union.js\";import\"../rest/geometryService/units.js\";import L from\"./Task.js\";let C=class extends L{constructor(r){super(r),this.url=null}areasAndLengths(r,e){return I(this.url,r,e)}autoComplete(r,e,t){return _(this.url,r,e,t)}buffer(r,e){return s(this.url,r,e)}convexHull(r,e){return N(this.url,r,e)}cut(r,e,t){return T(this.url,r,e,t)}densify(r,e){return o(this.url,r,e)}difference(r,e,t){return i(this.url,r,e,t)}distance(r,e){return U(this.url,r,e)}fromGeoCoordinateString(r,e){return E(this.url,r,e)}generalize(r,e){return m(this.url,r,e)}intersect(r,e,t){return A(this.url,r,e,t)}labelPoints(r,e){return S(this.url,r,e)}lengths(r,e){return u(this.url,r,e)}offset(r,e){return R(this.url,r,e)}project(r,e){return n(this.url,r,e)}relation(r,e){return c(this.url,r,e)}reshape(r,e,t){return l(this.url,r,e,t)}simplify(r,e){return O(this.url,r,e)}toGeoCoordinateString(r,e){return p(this.url,r,e)}trimExtend(r,e){return a(this.url,r,e)}union(r,e){return f(this.url,r,e)}};C.UNIT_METER=9001,C.UNIT_GERMAN_METER=9031,C.UNIT_FOOT=9002,C.UNIT_SURVEY_FOOT=9003,C.UNIT_CLARKE_FOOT=9005,C.UNIT_FATHOM=9014,C.UNIT_NAUTICAL_MILE=9030,C.UNIT_SURVEY_CHAIN=9033,C.UNIT_SURVEY_LINK=9034,C.UNIT_SURVEY_MILE=9035,C.UNIT_KILOMETER=9036,C.UNIT_CLARKE_YARD=9037,C.UNIT_CLARKE_CHAIN=9038,C.UNIT_CLARKE_LINK=9039,C.UNIT_SEARS_YARD=9040,C.UNIT_SEARS_FOOT=9041,C.UNIT_SEARS_CHAIN=9042,C.UNIT_SEARS_LINK=9043,C.UNIT_BENOIT_1895A_YARD=9050,C.UNIT_BENOIT_1895A_FOOT=9051,C.UNIT_BENOIT_1895A_CHAIN=9052,C.UNIT_BENOIT_1895A_LINK=9053,C.UNIT_BENOIT_1895B_YARD=9060,C.UNIT_BENOIT_1895B_FOOT=9061,C.UNIT_BENOIT_1895B_CHAIN=9062,C.UNIT_BENOIT_1895B_LINK=9063,C.UNIT_INDIAN_FOOT=9080,C.UNIT_INDIAN_1937_FOOT=9081,C.UNIT_INDIAN_1962_FOOT=9082,C.UNIT_INDIAN_1975_FOOT=9083,C.UNIT_INDIAN_YARD=9084,C.UNIT_INDIAN_1937_YARD=9085,C.UNIT_INDIAN_1962_YARD=9086,C.UNIT_INDIAN_1975_YARD=9087,C.UNIT_FOOT_1865=9070,C.UNIT_RADIAN=9101,C.UNIT_DEGREE=9102,C.UNIT_ARCMINUTE=9103,C.UNIT_ARCSECOND=9104,C.UNIT_GRAD=9105,C.UNIT_GON=9106,C.UNIT_MICRORADIAN=9109,C.UNIT_ARCMINUTE_CENTESIMAL=9112,C.UNIT_ARCSECOND_CENTESIMAL=9113,C.UNIT_MIL6400=9114,C.UNIT_BRITISH_1936_FOOT=9095,C.UNIT_GOLDCOAST_FOOT=9094,C.UNIT_INTERNATIONAL_CHAIN=109003,C.UNIT_INTERNATIONAL_LINK=109004,C.UNIT_INTERNATIONAL_YARD=109001,C.UNIT_STATUTE_MILE=9093,C.UNIT_SURVEY_YARD=109002,C.UNIT_50KILOMETER_LENGTH=109030,C.UNIT_150KILOMETER_LENGTH=109031,C.UNIT_DECIMETER=109005,C.UNIT_CENTIMETER=109006,C.UNIT_MILLIMETER=109007,C.UNIT_INTERNATIONAL_INCH=109008,C.UNIT_US_SURVEY_INCH=109009,C.UNIT_INTERNATIONAL_ROD=109010,C.UNIT_US_SURVEY_ROD=109011,C.UNIT_US_NAUTICAL_MILE=109012,C.UNIT_UK_NAUTICAL_MILE=109013,C.UNIT_SQUARE_INCHES=\"esriSquareInches\",C.UNIT_SQUARE_FEET=\"esriSquareFeet\",C.UNIT_SQUARE_YARDS=\"esriSquareYards\",C.UNIT_ACRES=\"esriAcres\",C.UNIT_SQUARE_MILES=\"esriSquareMiles\",C.UNIT_SQUARE_MILLIMETERS=\"esriSquareMillimeters\",C.UNIT_SQUARE_CENTIMETERS=\"esriSquareCentimeters\",C.UNIT_SQUARE_DECIMETERS=\"esriSquareDecimeters\",C.UNIT_SQUARE_METERS=\"esriSquareMeters\",C.UNIT_ARES=\"esriAres\",C.UNIT_HECTARES=\"esriHectares\",C.UNIT_SQUARE_KILOMETERS=\"esriSquareKilometers\",r([e()],C.prototype,\"url\",void 0),C=r([t(\"esri.tasks.GeometryService\")],C);const g=C;export{g as default};\n"],"sourceRoot":""}