define(["exports","./buildModuleUrl-d920237a","./ComponentDatatype-07894a2b","./when-d186add7","./Check-2514d21d","./Rectangle-f841217d","./GeometryAttribute-95780fd1","./GeometryAttributes-9c67dd14","./GeometryPipeline-6f0b08bc","./IndexDatatype-61ffec74","./FeatureDetection-4281d393","./WebMercatorProjection-af624514"],(function(e,t,r,n,o,i,a,s,c,p,u,f){"use strict";function m(e,t,r){e=n.u(e,0),t=n.u(t,0),r=n.u(r,0),this.value=new Float32Array([e,t,r])}function d(e,t){var n=e.attributes,o=n.position,i=o.values.length/o.componentsPerAttribute;n.batchId=new a.o({componentDatatype:r.ComponentDatatype.FLOAT,componentsPerAttribute:1,values:new Float32Array(i)});for(var s=n.batchId.values,c=0;c1){var s=e[0].modelMatrix;for(o=1;o=0){var p=o[c];i=p.offset+p.count,a=r[s=p.index].indices.length}else i=0,a=r[s=0].indices.length;for(var u=e.length,f=0;fa&&(i=0,a=r[++s].indices.length),o.push({index:s,offset:i,count:d}),i+=d}}}Object.defineProperties(m.prototype,{componentDatatype:{get:function(){return r.ComponentDatatype.FLOAT}},componentsPerAttribute:{get:function(){return 3}},normalize:{get:function(){return!1}}}),m.fromCartesian3=function(e){return o.o.defined("offset",e),new m(e.x,e.y,e.z)},m.toValue=function(e,t){return o.o.defined("offset",e),n.e(t)||(t=new Float32Array([e.x,e.y,e.z])),t[0]=e.x,t[1]=e.y,t[2]=e.z,t};var g={};function y(e,t){var r=e.attributes;for(var o in r)if(r.hasOwnProperty(o)){var i=r[o];n.e(i)&&n.e(i.values)&&t.push(i.values.buffer)}n.e(e.indices)&&t.push(e.indices.buffer)}function v(e,t){var r=e.length,o=new Float64Array(1+19*r),i=0;o[i++]=r;for(var a=0;a0&&((r=h(e)).length>0&&(o=c.k.createAttributeLocations(r[0]),e.createPickOffsets&&(i=function(e,t){var r=[];return l(e,"geometry",t,r),l(e,"westHemisphereGeometry",t,r),l(e,"eastHemisphereGeometry",t,r),r}(s,r))),n.e(s[0].attributes)&&n.e(s[0].attributes.offset)&&(a=new Array(p),u=!0));for(var f=new Array(p),m=new Array(p),d=0;d0&&(o.set(u.indices,c),c+=k)}}return r.push(o.buffer),{stringTable:i,packedData:o}},g.unpackCreateGeometryResults=function(e){for(var n,o=e.stringTable,i=e.packedData,c=new Array(i[0]),u=0,f=1;f0){var O=v.length/b;for(k=p.IndexDatatype.createTypedArray(O,y),n=0;n