define(["./when-4bbc8319","./Matrix2-860854d4","./ArcType-fc72c06c","./arrayRemoveDuplicates-b1a32b72","./Transforms-0becfc64","./Color-6e8680c8","./ComponentDatatype-8f55628c","./RuntimeError-1349fdaf","./GeometryAttribute-4590b388","./GeometryAttributes-7827a6c2","./IndexDatatype-1d853600","./PolylinePipeline-55bb263f","./VertexFormat-b8b51b88","./combine-e9466e32","./WebGLConstants-508b9636","./EllipsoidGeodesic-0a6aa4ee","./EllipsoidRhumbLine-d4d43630","./IntersectionTests-1d677ce2","./Plane-0e4269ac"],(function(e,t,o,n,r,a,i,l,s,c,p,d,u,y,m,f,h,C,g){"use strict";const _=[];function b(e,t,o,n,r){const i=_;let l;i.length=r;const s=o.red,c=o.green,p=o.blue,d=o.alpha,u=n.red,y=n.green,m=n.blue,f=n.alpha;if(a.Color.equals(o,n)){for(l=0;l0?new Array(l):void 0;for(i=0;i0){let e=0,t=w[0];m=m.filter((function(o,n){let r=!1;return r=f?n===t||0===n&&1===t:n+1===t,!r||(e++,t=w[e],!1)}))}let V=v.length;if(V<2||u<=0)return;if(h===o.ArcType.GEODESIC||h===o.ArcType.RHUMB){let t,n;h===o.ArcType.GEODESIC?(t=i.CesiumMath.chordLength(C,g.maximumRadius),n=d.PolylinePipeline.numberOfPoints):(t=C,n=d.PolylinePipeline.numberOfPointsRhumbLine);const r=d.PolylinePipeline.extractHeights(v,g);if(e.defined(m)){let e=1;for(A=0;A