/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../Polyline","../SpatialReference","./jsonUtils"],(function(e,n,t,s){"use strict";const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new n({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:t.WebMercator}),minus180Line:new n({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:t.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new n({paths:[[[180,-180],[180,180]]],spatialReference:t.WGS84}),minus180Line:new n({paths:[[[-180,-180],[-180,180]]],spatialReference:t.WGS84})}};function i(e,n){return Math.ceil((e-n)/(2*n))}function o(e,n){const t=r(e);for(const s of t)for(const e of s)e[0]+=n;return e}function r(e){return s.isPolygon(e)?e.rings:e.paths}e.cutParams=a,e.getGeometryParts=r,e.offsetMagnitude=i,e.updatePolyGeometry=o,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
