define(["./defaultValue-81eec7ed","./Matrix2-e3fb4559","./ArcType-fc72c06c","./Transforms-98ffa11d","./Cartesian3-7e9cc2ff","./Color-3aa7f38b","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-b025f9a8","./GeometryAttributes-32b29525","./IndexDatatype-f1e3f799","./Math-5f585871","./PolylinePipeline-de59c85a","./Matrix4-d34187af","./RuntimeError-26acdd3b","./_commonjsHelpers-3aae1032-26891ab7","./combine-3c023bda","./WebGLConstants-508b9636","./EllipsoidGeodesic-6de45192","./EllipsoidRhumbLine-9c6b32ea","./IntersectionTests-73b87d72","./Plane-4f75b3df"],(function(e,o,t,l,r,n,a,i,s,c,p,d,f,y,u,h,C,m,T,g,b,_){"use strict";function P(e,o,t,l,r,a,i){const s=f.PolylinePipeline.numberOfPoints(e,o,r);let c;const p=t.red,d=t.green,y=t.blue,u=t.alpha,h=l.red,C=l.green,m=l.blue,T=l.alpha;if(n.Color.equals(t,l)){for(c=0;c0?new Array(s):void 0;for(i=0;i0&&(r.Cartesian3.pack(l,B,o),o+=3,L=y[b-1],D[t++]=n.Color.floatToByte(L.red),D[t++]=n.Color.floatToByte(L.green),D[t++]=n.Color.floatToByte(L.blue),D[t++]=n.Color.floatToByte(L.alpha)),g&&b===_-1)break;r.Cartesian3.pack(l,B,o),o+=3,e.defined(y)&&(L=y[b],D[t++]=n.Color.floatToByte(L.red),D[t++]=n.Color.floatToByte(L.green),D[t++]=n.Color.floatToByte(L.blue),D[t++]=n.Color.floatToByte(L.alpha))}}const V=new c.GeometryAttributes;V.position=new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.DOUBLE,componentsPerAttribute:3,values:B}),e.defined(y)&&(V.color=new s.GeometryAttribute({componentDatatype:a.ComponentDatatype.UNSIGNED_BYTE,componentsPerAttribute:4,values:D,normalize:!0})),G=B.length/3;const x=2*(G-1),S=p.IndexDatatype.createTypedArray(G,x);let I=0;for(b=0;b