(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;fc&&(c=t[f]),t[f]>=1;for(u=i<<16|f,l=s;l>>=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=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=o)throw Error("input buffer is broken");i|=a[s++]<>>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=h);)n|=s[o++]<>>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=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],0h&&(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;tt;++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=ne&&(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>>0;i=s}for(var o,h=1,f=0,l=i.length,u=0;0>>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;_=3)for(var F=parseInt(P[0]),C=1,L=0;L=3){var j,z;for(L=0;L=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;i0)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>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;d0?3-u%3:0,u+=p,c=[],y=u,c.push(y),l=3*i;for(d=0;d0&&(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;O0){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;O0&&(L=U[O-1]);var j=0;for(C=U[O],L=0;j0&&(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