define(["exports","./Check-2514d21d","./when-d186add7","./Math-7f5f2992"],(function(e,n,t,r){"use strict";var f=r.e.EPSILON10;e.D=function(e,r,i,u){if(n.o.defined("equalsEpsilon",r),t.e(e)){u=t.u(u,f),i=t.u(i,!1);var h,s,d,l=e.length;if(l<2)return e;for(h=1;h<l&&!r(s=e[h-1],d=e[h],u);++h);if(h===l)return i&&r(e[0],e[e.length-1],u)?e.slice(1):e;for(var o=e.slice(0,h);h<l;++h)r(s,d=e[h],u)||(o.push(d),s=d);return i&&o.length>1&&r(o[0],o[o.length-1],u)&&o.shift(),o}}}));
