define(["exports","./Check-3aa71481","./when-515d5295","./Math-5e38123d"],(function(t,e,n,r){"use strict";function a(t,e){this.x=n.e(t,0),this.y=n.e(e,0)}a.fromElements=function(t,e,r){return n.t(r)?(r.x=t,r.y=e,r):new a(t,e)},a.clone=function(t,e){if(n.t(t))return n.t(e)?(e.x=t.x,e.y=t.y,e):new a(t.x,t.y)},a.fromCartesian3=a.clone,a.fromCartesian4=a.clone,a.packedLength=2,a.pack=function(t,r,a){return e.n.typeOf.object("value",t),e.n.defined("array",r),a=n.e(a,0),r[a++]=t.x,r[a]=t.y,r},a.unpack=function(t,r,o){return e.n.defined("array",t),r=n.e(r,0),n.t(o)||(o=new a),o.x=t[r++],o.y=t[r],o},a.packArray=function(t,r){e.n.defined("array",t);var o=t.length,u=2*o;if(n.t(r)){if(!Array.isArray(r)&&r.length!==u)throw new e.t("If result is a typed array, it must have exactly array.length * 2 elements");r.length!==u&&(r.length=u)}else r=new Array(u);for(var y=0;y