/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../../../../chunks/_rollupPluginBabelHelpers","./GeometryUtils","./MemoryBuffer"],(function(t,o,n,r){"use strict";let e=function(t){function n(o){return t.call(this,o)||this}return o._inheritsLoose(n,t),n.prototype.add=function(t,o,n,e,u,i,s,h,a,c,p,f){const l=this.array;let d=r.i1616to32(t,o);l.push(d);const M=31;d=r.i8888to32(Math.round(M*n),Math.round(M*e),Math.round(M*u),Math.round(M*i)),l.push(d),d=r.i8888to32(Math.round(M*s),Math.round(M*h),Math.round(M*a),Math.round(M*c)),l.push(d),d=r.i1616to32(p,0),l.push(d),f&&l.push(...f)},n}(r),u=function(t){function n(o){return t.call(this,o)||this}return o._inheritsLoose(n,t),n.prototype.add=function(t,o,n){const e=this.array;e.push(r.i1616to32(t,o)),n&&e.push(...n)},n}(r),i=function(t){function n(o){return t.call(this,o)||this}return o._inheritsLoose(n,t),n.prototype.add=function(t,o,n,e,u,i,s){const h=this.array,a=this.index;let c=r.i1616to32(t,o);h.push(c);const p=15;return c=r.i8888to32(Math.round(p*n),Math.round(p*e),u,i),h.push(c),s&&h.push(...s),a},n}(r),s=function(t){function e(o){return t.call(this,o)||this}return o._inheritsLoose(e,t),e.prototype.add=function(t,o,e,u,i,s,h,a,c,p,f,l){const d=this.array;let M=r.i1616to32(t,o);d.push(M),M=r.i1616to32(Math.round(8*e),Math.round(8*u)),d.push(M),M=r.i8888to32(i/4,s/4,a,c),d.push(M),M=r.i8888to32(0,n.radToByte(h),10*p,Math.min(10*f,255)),d.push(M),l&&d.push(...l)},e}(r),h=function(t){function n(o){return t.call(this,o)||this}return o._inheritsLoose(n,t),n.prototype.add=function(t,o,n,e,u){const i=this.array,s=r.i1616to32(2*t+n,2*o+e);i.push(s),u&&i.push(...u)},n}(r);t.CircleVertexBuffer=h,t.FillVertexBuffer=u,t.LineVertexBuffer=e,t.OutlineVertexBuffer=i,t.SymbolVertexBuffer=s,Object.defineProperties(t,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
