{"version":3,"sources":["node_modules/@arcgis/core/geometry/support/normalizeUtilsCommon.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport e from \"../Polyline.js\";\nimport n from \"../SpatialReference.js\";\nimport { isPolygon as t } from \"./jsonUtils.js\";\nconst r = {\n 102100: {\n maxX: 20037508.342788905,\n minX: -20037508.342788905,\n plus180Line: new e({\n paths: [[[20037508.342788905, -20037508.342788905], [20037508.342788905, 20037508.342788905]]],\n spatialReference: n.WebMercator\n }),\n minus180Line: new e({\n paths: [[[-20037508.342788905, -20037508.342788905], [-20037508.342788905, 20037508.342788905]]],\n spatialReference: n.WebMercator\n })\n },\n 4326: {\n maxX: 180,\n minX: -180,\n plus180Line: new e({\n paths: [[[180, -180], [180, 180]]],\n spatialReference: n.WGS84\n }),\n minus180Line: new e({\n paths: [[[-180, -180], [-180, 180]]],\n spatialReference: n.WGS84\n })\n }\n};\nfunction i(e, n) {\n return Math.ceil((e - n) / (2 * n));\n}\nfunction s(e, n) {\n const t = o(e);\n for (const r of t) for (const e of r) e[0] += n;\n return e;\n}\nfunction o(e) {\n return t(e) ? e.rings : e.paths;\n}\nexport { r as cutParams, o as getGeometryParts, i as offsetMagnitude, s as updatePolyGeometry };"],"mappings":"wHAOA,IAAMA,EAAI,CACR,OAAQ,CACN,KAAM,qBACN,KAAM,sBACN,YAAa,IAAIC,EAAE,CACjB,MAAO,CAAC,CAAC,CAAC,qBAAoB,qBAAmB,EAAG,CAAC,qBAAoB,oBAAkB,CAAC,CAAC,EAC7F,iBAAkBC,EAAE,WACtB,CAAC,EACD,aAAc,IAAID,EAAE,CAClB,MAAO,CAAC,CAAC,CAAC,sBAAqB,qBAAmB,EAAG,CAAC,sBAAqB,oBAAkB,CAAC,CAAC,EAC/F,iBAAkBC,EAAE,WACtB,CAAC,CACH,EACA,KAAM,CACJ,KAAM,IACN,KAAM,KACN,YAAa,IAAID,EAAE,CACjB,MAAO,CAAC,CAAC,CAAC,IAAK,IAAI,EAAG,CAAC,IAAK,GAAG,CAAC,CAAC,EACjC,iBAAkBC,EAAE,KACtB,CAAC,EACD,aAAc,IAAID,EAAE,CAClB,MAAO,CAAC,CAAC,CAAC,KAAM,IAAI,EAAG,CAAC,KAAM,GAAG,CAAC,CAAC,EACnC,iBAAkBC,EAAE,KACtB,CAAC,CACH,CACF,EACA,SAASC,EAAE,EAAGC,EAAG,CACf,OAAO,KAAK,MAAM,EAAIA,IAAM,EAAIA,EAAE,CACpC,CACA,SAASC,EAAE,EAAGD,EAAG,CACf,IAAME,EAAIC,EAAE,CAAC,EACb,QAAWP,KAAKM,EAAG,QAAWE,KAAKR,EAAGQ,EAAE,CAAC,GAAKJ,EAC9C,OAAO,CACT,CACA,SAASG,EAAE,EAAG,CACZ,OAAOE,EAAE,CAAC,EAAI,EAAE,MAAQ,EAAE,KAC5B","names":["r","d","g","i","n","s","t","o","e","y"],"x_google_ignoreList":[0]}