12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2d225639"],{e3d9:function(t,e,r){"use strict";var i=r("5a89"),n={},a=void 0,s=n;
- /** @license zlib.js 2012 - imaya [ https://github.com/imaya/zlib.js ] The MIT License */function o(t,e){var r,i=t.split("."),n=s;!(i[0]in n)&&n.execScript&&n.execScript("var "+i[0]);for(;i.length&&(r=i.shift());)i.length||e===a?n=n[r]?n[r]:n[r]={}:n[r]=e}var h="undefined"!==typeof Uint8Array&&"undefined"!==typeof Uint16Array&&"undefined"!==typeof Uint32Array&&"undefined"!==typeof DataView;function f(t){var e,r,i,n,a,s,o,f,l,u,p=t.length,c=0,y=Number.POSITIVE_INFINITY;for(f=0;f<p;++f)t[f]>c&&(c=t[f]),t[f]<y&&(y=t[f]);for(e=1<<c,r=new(h?Uint32Array:Array)(e),i=1,n=0,a=2;i<=c;){for(f=0;f<p;++f)if(t[f]===i){for(s=0,o=n,l=0;l<i;++l)s=s<<1|1&o,o>>=1;for(u=i<<16|f,l=s;l<e;l+=a)r[l]=u;++n}++i,n<<=1,a<<=1}return[r,c,y]}function l(t,e){switch(this.g=[],this.h=32768,this.d=this.f=this.a=this.l=0,this.input=h?new Uint8Array(t):t,this.m=!1,this.i=p,this.r=!1,!e&&(e={})||(e.index&&(this.a=e.index),e.bufferSize&&(this.h=e.bufferSize),e.bufferType&&(this.i=e.bufferType),e.resize&&(this.r=e.resize)),this.i){case u:this.b=32768,this.c=new(h?Uint8Array:Array)(32768+this.h+258);break;case p:this.b=0,this.c=new(h?Uint8Array:Array)(this.h),this.e=this.z,this.n=this.v,this.j=this.w;break;default:throw Error("invalid inflate mode")}}var u=0,p=1,c={t:u,s:p};l.prototype.k=function(){for(;!this.m;){var t=P(this,3);switch(1&t&&(this.m=!0),t>>>=1,t){case 0:var e=this.input,r=this.a,i=this.c,n=this.b,s=e.length,o=a,l=a,c=i.length,y=a;if(this.d=this.f=0,r+1>=s)throw Error("invalid uncompressed block header: LEN");if(o=e[r++]|e[r++]<<8,r+1>=s)throw Error("invalid uncompressed block header: NLEN");if(l=e[r++]|e[r++]<<8,o===~l)throw Error("invalid uncompressed block header: length verify");if(r+o>e.length)throw Error("input buffer is broken");switch(this.i){case u:for(;n+o>i.length;){if(y=c-n,o-=y,h)i.set(e.subarray(r,r+y),n),n+=y,r+=y;else for(;y--;)i[n++]=e[r++];this.b=n,i=this.e(),n=this.b}break;case p:for(;n+o>i.length;)i=this.e({p:2});break;default:throw Error("invalid inflate mode")}if(h)i.set(e.subarray(r,r+o),n),n+=o,r+=o;else for(;o--;)i[n++]=e[r++];this.a=r,this.b=n,this.c=i;break;case 1:this.j(U,N);break;case 2:var b=P(this,5)+257,d=P(this,5)+1,w=P(this,4)+4,v=new(h?Uint8Array:Array)(A.length),g=a,x=a,I=a,m=a,O=a,k=a,T=a,E=a,D=a;for(E=0;E<w;++E)v[A[E]]=P(this,3);if(!h)for(E=w,w=v.length;E<w;++E)v[A[E]]=0;for(g=f(v),m=new(h?Uint8Array:Array)(b+d),E=0,D=b+d;E<D;)switch(O=F(this,g),O){case 16:for(T=3+P(this,2);T--;)m[E++]=k;break;case 17:for(T=3+P(this,3);T--;)m[E++]=0;k=0;break;case 18:for(T=11+P(this,7);T--;)m[E++]=0;k=0;break;default:k=m[E++]=O}x=f(h?m.subarray(0,b):m.slice(0,b)),I=f(h?m.subarray(b):m.slice(b)),this.j(x,I);break;default:throw Error("unknown BTYPE: "+t)}}return this.n()};var y,b,d=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=h?new Uint16Array(d):d,w=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,258,258],v=h?new Uint16Array(w):w,g=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0],x=h?new Uint8Array(g):g,I=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577],m=h?new Uint16Array(I):I,O=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],k=h?new Uint8Array(O):O,T=new(h?Uint8Array:Array)(288);for(y=0,b=T.length;y<b;++y)T[y]=143>=y?8:255>=y?9:279>=y?7:8;var E,D,U=f(T),S=new(h?Uint8Array:Array)(30);for(E=0,D=S.length;E<D;++E)S[E]=5;var N=f(S);function P(t,e){for(var r,i=t.f,n=t.d,a=t.input,s=t.a,o=a.length;n<e;){if(s>=o)throw Error("input buffer is broken");i|=a[s++]<<n,n+=8}return r=i&(1<<e)-1,t.f=i>>>e,t.d=n-e,t.a=s,r}function F(t,e){for(var r,i,n=t.f,a=t.d,s=t.input,o=t.a,h=s.length,f=e[0],l=e[1];a<l&&!(o>=h);)n|=s[o++]<<a,a+=8;if(r=f[n&(1<<l)-1],i=r>>>16,i>a)throw Error("invalid code length: "+i);return t.f=n>>i,t.d=a-i,t.a=o,65535&r}function C(t,e){var r,i;switch(this.input=t,this.a=0,!e&&(e={})||(e.index&&(this.a=e.index),e.verify&&(this.A=e.verify)),r=t[this.a++],i=t[this.a++],15&r){case L:this.method=L;break;default:throw Error("unsupported compression method")}if(0!==((r<<8)+i)%31)throw Error("invalid fcheck flag:"+((r<<8)+i)%31);if(32&i)throw Error("fdict flag is not supported");this.q=new l(t,{index:this.a,bufferSize:e.bufferSize,bufferType:e.bufferType,resize:e.resize})}l.prototype.j=function(t,e){var r=this.c,i=this.b;this.o=t;for(var n,a,s,o,h=r.length-258;256!==(n=F(this,t));)if(256>n)i>=h&&(this.b=i,r=this.e(),i=this.b),r[i++]=n;else for(a=n-257,o=v[a],0<x[a]&&(o+=P(this,x[a])),n=F(this,e),s=m[n],0<k[n]&&(s+=P(this,k[n])),i>=h&&(this.b=i,r=this.e(),i=this.b);o--;)r[i]=r[i++-s];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},l.prototype.w=function(t,e){var r=this.c,i=this.b;this.o=t;for(var n,a,s,o,h=r.length;256!==(n=F(this,t));)if(256>n)i>=h&&(r=this.e(),h=r.length),r[i++]=n;else for(a=n-257,o=v[a],0<x[a]&&(o+=P(this,x[a])),n=F(this,e),s=m[n],0<k[n]&&(s+=P(this,k[n])),i+o>h&&(r=this.e(),h=r.length);o--;)r[i]=r[i++-s];for(;8<=this.d;)this.d-=8,this.a--;this.b=i},l.prototype.e=function(){var t,e,r=new(h?Uint8Array:Array)(this.b-32768),i=this.b-32768,n=this.c;if(h)r.set(n.subarray(32768,r.length));else for(t=0,e=r.length;t<e;++t)r[t]=n[t+32768];if(this.g.push(r),this.l+=r.length,h)n.set(n.subarray(i,i+32768));else for(t=0;32768>t;++t)n[t]=n[i+t];return this.b=32768,n},l.prototype.z=function(t){var e,r,i,n,a=this.input.length/this.a+1|0,s=this.input,o=this.c;return t&&("number"===typeof t.p&&(a=t.p),"number"===typeof t.u&&(a+=t.u)),2>a?(r=(s.length-this.a)/this.o[2],n=r/2*258|0,i=n<o.length?o.length+n:o.length<<1):i=o.length*a,h?(e=new Uint8Array(i),e.set(o)):e=o,this.c=e},l.prototype.n=function(){var t,e,r,i,n,a=0,s=this.c,o=this.g,f=new(h?Uint8Array:Array)(this.l+(this.b-32768));if(0===o.length)return h?this.c.subarray(32768,this.b):this.c.slice(32768,this.b);for(e=0,r=o.length;e<r;++e)for(t=o[e],i=0,n=t.length;i<n;++i)f[a++]=t[i];for(e=32768,r=this.b;e<r;++e)f[a++]=s[e];return this.g=[],this.buffer=f},l.prototype.v=function(){var t,e=this.b;return h?this.r?(t=new Uint8Array(e),t.set(this.c.subarray(0,e))):t=this.c.subarray(0,e):(this.c.length>e&&(this.c.length=e),t=this.c),this.buffer=t},C.prototype.k=function(){var t,e,r=this.input;if(t=this.q.k(),this.a=this.q.a,this.A){e=(r[this.a++]<<24|r[this.a++]<<16|r[this.a++]<<8|r[this.a++])>>>0;var i=t;if("string"===typeof i){var n,a,s=i.split("");for(n=0,a=s.length;n<a;n++)s[n]=(255&s[n].charCodeAt(0))>>>0;i=s}for(var o,h=1,f=0,l=i.length,u=0;0<l;){o=1024<l?1024:l,l-=o;do{h+=i[u++],f+=h}while(--o);h%=65521,f%=65521}if(e!==(f<<16|h)>>>0)throw Error("invalid adler-32 checksum")}return t};var L=8;o("Zlib.Inflate",C),o("Zlib.Inflate.prototype.decompress",C.prototype.k);var j,z,_,R,M={ADAPTIVE:c.s,BLOCK:c.t};if(Object.keys)j=Object.keys(M);else for(z in j=[],_=0,M)j[_++]=z;for(_=0,R=j.length;_<R;++_)z=j[_],o("Zlib.Inflate.BufferType."+z,M[z]);var V=n.Zlib,Y=function(t){i["B"].call(this,t)};Y.prototype=Object.assign(Object.create(i["B"].prototype),{constructor:Y,load:function(t,e,r,n){var a=this,s=new i["s"](a.manager);s.setPath(a.path),s.setResponseType("arraybuffer"),s.load(t,(function(r){try{e(a.parse(r))}catch(i){n?n(i):console.error(i),a.manager.itemError(t)}}),r,n)},parse:function(t){function e(t){var e,r=[],n=[],a=[],s=[],o=/^[^\d.\s-]+/,h=/(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)\s+(\-?\d+\.?[\d\-\+e]*)/g,f=/^(\d+)\s+([\s\d]*)/,l=/^POINTS /,u=/^POLYGONS /,p=/^TRIANGLE_STRIPS /,c=/^POINT_DATA[ ]+(\d+)/,y=/^CELL_DATA[ ]+(\d+)/,b=/^COLOR_SCALARS[ ]+(\w+)[ ]+3/,d=/^NORMALS[ ]+(\w+)[ ]+(\w+)/,A=!1,w=!1,v=!1,g=!1,x=!1,I=!1,m=!1,O=t.split("\n");for(var k in O){var T=O[k].trim();if(0===T.indexOf("DATASET")){var E=T.split(" ")[1];if("POLYDATA"!==E)throw new Error("Unsupported DATASET type: "+E)}else if(A)while(null!==(e=h.exec(T))){if(null!==o.exec(T))break;var D=parseFloat(e[1]),U=parseFloat(e[2]),S=parseFloat(e[3]);n.push(D,U,S)}else if(w){if(null!==(e=f.exec(T))){var N=parseInt(e[1]),P=e[2].split(/\s+/);if(N>=3)for(var F=parseInt(P[0]),C=1,L=0;L<N-2;++L)j=parseInt(P[C]),z=parseInt(P[C+1]),r.push(F,j,z),C++}}else if(v){if(null!==(e=f.exec(T))){N=parseInt(e[1]),P=e[2].split(/\s+/);if(N>=3){var j,z;for(L=0;L<N-2;L++)L%2===1?(F=parseInt(P[L]),j=parseInt(P[L+2]),z=parseInt(P[L+1]),r.push(F,j,z)):(F=parseInt(P[L]),j=parseInt(P[L+1]),z=parseInt(P[L+2]),r.push(F,j,z))}}}else if(g||x)if(I)while(null!==(e=h.exec(T))){if(null!==o.exec(T))break;var _=parseFloat(e[1]),R=parseFloat(e[2]),M=parseFloat(e[3]);a.push(_,R,M)}else if(m)while(null!==(e=h.exec(T))){if(null!==o.exec(T))break;var V=parseFloat(e[1]),Y=parseFloat(e[2]),B=parseFloat(e[3]);s.push(V,Y,B)}null!==u.exec(T)?(w=!0,A=!1,v=!1):null!==l.exec(T)?(w=!1,A=!0,v=!1):null!==p.exec(T)?(w=!1,A=!1,v=!0):null!==c.exec(T)?(g=!0,A=!1,w=!1,v=!1):null!==y.exec(T)?(x=!0,A=!1,w=!1,v=!1):null!==b.exec(T)?(I=!0,m=!1,A=!1,w=!1,v=!1):null!==d.exec(T)&&(m=!0,I=!1,A=!1,w=!1,v=!1)}var G=new i["h"];if(G.setIndex(r),G.setAttribute("position",new i["t"](n,3)),s.length===n.length&&G.setAttribute("normal",new i["t"](s,3)),a.length!==r.length)a.length===n.length&&G.setAttribute("color",new i["t"](a,3));else{G=G.toNonIndexed();var X=G.attributes.position.count/3;if(a.length===3*X){var Z=[];for(k=0;k<X;k++){_=a[3*k+0],R=a[3*k+1],M=a[3*k+2];Z.push(_,R,M),Z.push(_,R,M),Z.push(_,R,M)}G.setAttribute("color",new i["t"](Z,3))}}return G}function r(t){var e,r,n,a,s,o,h,f=new Uint8Array(t),l=new DataView(t),u=[],p=[],c=[],y=[],b=0;function d(t,e){var r=e,i=t[r],n=[];while(10!==i)n.push(String.fromCharCode(i)),r++,i=t[r];return{start:e,end:r,next:r+1,parsedString:n.join("")}}while(1){if(o=d(f,b),h=o.parsedString,0===h.indexOf("DATASET")){var A=h.split(" ")[1];if("POLYDATA"!==A)throw new Error("Unsupported DATASET type: "+A)}else if(0===h.indexOf("POINTS")){for(y.push(h),a=parseInt(h.split(" ")[1],10),e=4*a*3,u=new Float32Array(3*a),r=o.next,n=0;n<a;n++)u[3*n]=l.getFloat32(r,!1),u[3*n+1]=l.getFloat32(r+4,!1),u[3*n+2]=l.getFloat32(r+8,!1),r+=12;o.next=o.next+e+1}else if(0===h.indexOf("TRIANGLE_STRIPS")){var w=parseInt(h.split(" ")[1],10),v=parseInt(h.split(" ")[2],10);e=4*v,c=new Uint32Array(3*v-9*w);var g=0;for(r=o.next,n=0;n<w;n++){var x=l.getInt32(r,!1),I=[];for(r+=4,s=0;s<x;s++)I.push(l.getInt32(r,!1)),r+=4;for(var m=0;m<x-2;m++)m%2?(c[g++]=I[m],c[g++]=I[m+2],c[g++]=I[m+1]):(c[g++]=I[m],c[g++]=I[m+1],c[g++]=I[m+2])}o.next=o.next+e+1}else if(0===h.indexOf("POLYGONS")){w=parseInt(h.split(" ")[1],10),v=parseInt(h.split(" ")[2],10);e=4*v,c=new Uint32Array(3*v-9*w);g=0;for(r=o.next,n=0;n<w;n++){x=l.getInt32(r,!1),I=[];for(r+=4,s=0;s<x;s++)I.push(l.getInt32(r,!1)),r+=4;for(m=1;m<x-1;m++)c[g++]=I[0],c[g++]=I[m],c[g++]=I[m+1]}o.next=o.next+e+1}else if(0===h.indexOf("POINT_DATA")){for(a=parseInt(h.split(" ")[1],10),o=d(f,o.next),e=4*a*3,p=new Float32Array(3*a),r=o.next,n=0;n<a;n++)p[3*n]=l.getFloat32(r,!1),p[3*n+1]=l.getFloat32(r+4,!1),p[3*n+2]=l.getFloat32(r+8,!1),r+=12;o.next=o.next+e}if(b=o.next,b>=f.byteLength)break}var O=new i["h"];return O.setIndex(new i["g"](c,1)),O.setAttribute("position",new i["g"](u,3)),p.length===u.length&&O.setAttribute("normal",new i["g"](p,3)),O}function n(t,e){var r=t.length,i=new Float32Array(r+e.length);return i.set(t),i.set(e,r),i}function a(t,e){var r=t.length,i=new Int32Array(r+e.length);return i.set(t),i.set(e,r),i}function s(t){function e(t){var r={};if(1===t.nodeType){if(t.attributes&&t.attributes.length>0){r["attributes"]={};for(var i=0;i<t.attributes.length;i++){var n=t.attributes.item(i);r["attributes"][n.nodeName]=n.nodeValue.trim()}}}else 3===t.nodeType&&(r=t.nodeValue.trim());if(t.hasChildNodes())for(var a=0;a<t.childNodes.length;a++){var s=t.childNodes.item(a),o=s.nodeName;if("undefined"===typeof r[o]){var h=e(s);""!==h&&(r[o]=h)}else{if("undefined"===typeof r[o].push){var f=r[o];r[o]=[f]}h=e(s);""!==h&&r[o].push(h)}}return r}function r(t){var e,r,i,n,a,s,o="undefined"!==typeof Uint8Array?Uint8Array:Array,h=[],f=[],l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",u=l.length;for(e=0;e<u;e++)h[e]=l[e];for(e=0;e<u;++e)f[l.charCodeAt(e)]=e;f["-".charCodeAt(0)]=62,f["_".charCodeAt(0)]=63;u=t.length;if(u%4>0)throw new Error("Invalid string. Length must be a multiple of 4");a="="===t[u-2]?2:"="===t[u-1]?1:0,s=new o(3*u/4-a),i=a>0?u-4:u;var p=0;for(e=0,r=0;e<i;e+=4,r+=3)n=f[t.charCodeAt(e)]<<18|f[t.charCodeAt(e+1)]<<12|f[t.charCodeAt(e+2)]<<6|f[t.charCodeAt(e+3)],s[p++]=(16711680&n)>>16,s[p++]=(65280&n)>>8,s[p++]=255&n;return 2===a?(n=f[t.charCodeAt(e)]<<2|f[t.charCodeAt(e+1)]>>4,s[p++]=255&n):1===a&&(n=f[t.charCodeAt(e)]<<10|f[t.charCodeAt(e+1)]<<4|f[t.charCodeAt(e+2)]>>2,s[p++]=n>>8&255,s[p++]=255&n),s}function s(t,e){var i=0;if("UInt64"===f.attributes.header_type?i=8:"UInt32"===f.attributes.header_type&&(i=4),"binary"===t.attributes.format&&e){var s,o,h,l,u,p,c,y;if("Float32"===t.attributes.type)var b=new Float32Array;else if("Int64"===t.attributes.type)b=new Int32Array;s=t["#text"],o=r(s),h=o[0];for(var d=1;d<i-1;d++)h|=o[d]<<d*i;u=(h+3)*i,p=u%3>0?3-u%3:0,u+=p,c=[],y=u,c.push(y),l=3*i;for(d=0;d<h;d++){for(var A=o[d*i+l],w=1;w<i-1;w++)A|=o[d*i+l+w]<<8*w;y+=A,c.push(y)}for(d=0;d<c.length-1;d++){var v=new V.Inflate(o.slice(c[d],c[d+1]),{resize:!0,verify:!0});g=v.decompress(),g=g.buffer,"Float32"===t.attributes.type?(g=new Float32Array(g),b=n(b,g)):"Int64"===t.attributes.type&&(g=new Int32Array(g),b=a(b,g))}delete t["#text"],"Int64"===t.attributes.type&&"binary"===t.attributes.format&&(b=b.filter((function(t,e){if(e%2!==1)return!0})))}else{if("binary"!==t.attributes.format||e)if(t["#text"])g=t["#text"].split(/\s+/).filter((function(t){if(""!==t)return t}));else g=new Int32Array(0).buffer;else{var g=r(t["#text"]);g=g.slice(i).buffer}if(delete t["#text"],"Float32"===t.attributes.type)b=new Float32Array(g);else if("Int32"===t.attributes.type)b=new Int32Array(g);else if("Int64"===t.attributes.type){b=new Int32Array(g);"binary"===t.attributes.format&&(b=b.filter((function(t,e){if(e%2!==1)return!0})))}}return b}var o=null;if(window.DOMParser)try{o=(new DOMParser).parseFromString(t,"text/xml")}catch(Y){o=null}else{if(!window.ActiveXObject)throw new Error("Cannot parse xml string!");try{if(o=new ActiveXObject("Microsoft.XMLDOM"),o.async=!1,!o.loadXML())throw new Error(o.parseError.reason+o.parseError.srcText)}catch(Y){o=null}}var h=o.documentElement,f=e(h),l=[],u=[],p=[];if(f.PolyData){var c=f.PolyData.Piece,y=f.attributes.hasOwnProperty("compressor"),b=["PointData","Points","Strips","Polys"],d=0,A=b.length;while(d<A){var w=c[b[d]];if(w&&w.DataArray){if("[object Array]"===Object.prototype.toString.call(w.DataArray))var v=w.DataArray;else v=[w.DataArray];var g=0,x=v.length;while(g<x)"#text"in v[g]&&v[g]["#text"].length>0&&(v[g].text=s(v[g],y)),g++;switch(b[d]){case"PointData":var I=parseInt(c.attributes.NumberOfPoints),m=w.attributes.Normals;if(I>0)for(var O=0,k=v.length;O<k;O++)if(m===v[O].attributes.Name){var T=v[O].attributes.NumberOfComponents;u=new Float32Array(I*T),u.set(v[O].text,0)}break;case"Points":I=parseInt(c.attributes.NumberOfPoints);if(I>0){T=w.DataArray.attributes.NumberOfComponents;l=new Float32Array(I*T),l.set(w.DataArray.text,0)}break;case"Strips":var E=parseInt(c.attributes.NumberOfStrips);if(E>0){var D=new Int32Array(w.DataArray[0].text.length),U=new Int32Array(w.DataArray[1].text.length);D.set(w.DataArray[0].text,0),U.set(w.DataArray[1].text,0);var S=E+D.length;p=new Uint32Array(3*S-9*E);var N=0;for(O=0,k=E;O<k;O++){for(var P=[],F=0,C=U[O],L=0;F<C-L;F++)P.push(D[F]),O>0&&(L=U[O-1]);var j=0;for(C=U[O],L=0;j<C-L-2;j++)j%2?(p[N++]=P[j],p[N++]=P[j+2],p[N++]=P[j+1]):(p[N++]=P[j],p[N++]=P[j+1],p[N++]=P[j+2]),O>0&&(L=U[O-1])}}break;case"Polys":var z=parseInt(c.attributes.NumberOfPolys);if(z>0){D=new Int32Array(w.DataArray[0].text.length),U=new Int32Array(w.DataArray[1].text.length);D.set(w.DataArray[0].text,0),U.set(w.DataArray[1].text,0);S=z+D.length;p=new Uint32Array(3*S-9*z);N=0;var _=0;O=0,k=z,L=0;while(O<k){var R=[];F=0,C=U[O];while(F<C-L)R.push(D[_++]),F++;j=1;while(j<C-L-1)p[N++]=R[0],p[N++]=R[j],p[N++]=R[j+1],j++;O++,L=U[O-1]}}break;default:break}}d++}var M=new i["h"];return M.setIndex(new i["g"](p,1)),M.setAttribute("position",new i["g"](l,3)),u.length===l.length&&M.setAttribute("normal",new i["g"](u,3)),M}throw new Error("Unsupported DATASET type")}function o(t){var e="",r=new Uint8Array(t),i=0,n=r.length;while(n--)e+=String.fromCharCode(r[i++]);return e}var h=i["C"].decodeText(new Uint8Array(t,0,250)).split("\n");return-1!==h[0].indexOf("xml")?s(o(t)):h[2].includes("ASCII")?e(o(t)):r(t)}})}}]);
|