define(["exports","./ArcType-dc1c5aee","./arrayRemoveDuplicates-0f62a181","./Cartesian2-8417ca3d","./ComponentDatatype-9204e9f6","./when-208fe5b0","./EllipsoidRhumbLine-28521929","./GeometryAttribute-04a19cfe","./GeometryAttributes-b0b294d8","./GeometryPipeline-5e672526","./IndexDatatype-d47ad6f6","./Math-4e53b694","./Transforms-a73b3b3b","./PolygonPipeline-4d0ff0fe"],function(e,I,x,E,A,P,f,_,G,p,L,M,d,D){"use strict";function S(){this._array=[],this._offset=0,this._length=0}Object.defineProperties(S.prototype,{length:{get:function(){return this._length}}}),S.prototype.enqueue=function(e){this._array.push(e),this._length++},S.prototype.dequeue=function(){if(0!==this._length){var e=this._array,t=this._offset,r=e[t];return e[t]=void 0,10<++t&&2*t>e.length&&(this._array=e.slice(t),t=0),this._offset=t,this._length--,r}},S.prototype.peek=function(){if(0!==this._length)return this._array[this._offset]},S.prototype.contains=function(e){return-1!==this._array.indexOf(e)},S.prototype.clear=function(){this._array.length=this._offset=this._length=0},S.prototype.sort=function(e){0