define(["./defaultValue-81eec7ed","./Matrix2-e3fb4559","./ArcType-fc72c06c","./arrayRemoveDuplicates-85770175","./Transforms-98ffa11d","./Cartesian3-7e9cc2ff","./Color-3aa7f38b","./ComponentDatatype-aaeec80f","./Check-741c5f3c","./GeometryAttribute-b025f9a8","./GeometryAttributes-32b29525","./IndexDatatype-f1e3f799","./Math-5f585871","./PolylinePipeline-de59c85a","./VertexFormat-d50a69ba","./Matrix4-d34187af","./RuntimeError-26acdd3b","./_commonjsHelpers-3aae1032-26891ab7","./combine-3c023bda","./WebGLConstants-508b9636","./EllipsoidGeodesic-6de45192","./EllipsoidRhumbLine-9c6b32ea","./IntersectionTests-73b87d72","./Plane-4f75b3df"],(function(e,t,o,r,n,a,i,l,s,c,p,d,u,y,f,m,h,C,g,_,b,A,E,P){"use strict";const x=[];function w(e,t,o,r,n){const a=x;let l;a.length=n;const s=o.red,c=o.green,p=o.blue,d=o.alpha,u=r.red,y=r.green,f=r.blue,m=r.alpha;if(i.Color.equals(o,r)){for(l=0;l0?new Array(s):void 0;for(l=0;l0){let e=0,t=P[0];m=m.filter((function(o,r){let n=!1;return n=h?r===t||0===r&&1===t:r+1===t,!n||(e++,t=P[e],!1)}))}let k=T.length;if(k<2||s<=0)return;if(C===o.ArcType.GEODESIC||C===o.ArcType.RHUMB){let t,r;C===o.ArcType.GEODESIC?(t=u.CesiumMath.chordLength(g,_.maximumRadius),r=y.PolylinePipeline.numberOfPoints):(t=g,r=y.PolylinePipeline.numberOfPointsRhumbLine);const n=y.PolylinePipeline.extractHeights(T,_);if(e.defined(m)){let e=1;for(b=0;b