(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-33bd1f4e"],{"05ff":function(e,t,o){"use strict";o.d(t,"a",(function(){return f})),o.d(t,"b",(function(){return l})),o.d(t,"c",(function(){return b})),o.d(t,"d",(function(){return d})),o.d(t,"e",(function(){return u}));var r=o("b2b2"),n=o("4e0d"),i=o("578b"),a=o("a1f7"),s=o("ad64"),c=o("d207");function l(e,t,o,r){const{rendererJSON:s,isRGBRenderer:c}=e;let l=null,u=null;if(t&&c)l=t;else if(t&&"pointCloudUniqueValueRenderer"===s.type){u=a["a"].fromJSON(s);const e=u.colorUniqueValueInfos;l=new Uint8Array(3*r);const o=p(u.fieldTransformType);for(let n=0;n=0){l[3*n]=e[t].color.r,l[3*n+1]=e[t].color.g,l[3*n+2]=e[t].color.b;break}}}else if(t&&"pointCloudStretchRenderer"===s.type){u=i["a"].fromJSON(s);const e=u.stops;l=new Uint8Array(3*r);const o=p(u.fieldTransformType);for(let n=0;n=e[i].value)l[3*n]=e[i].color.r,l[3*n+1]=e[i].color.g,l[3*n+2]=e[i].color.b;else for(let t=1;t=e[t].minValue&&r<=e[t].maxValue){l[3*n]=e[t].color.r,l[3*n+1]=e[t].color.g,l[3*n+2]=e[t].color.b;break}}}else{l=new Uint8Array(3*r);for(let e=0;e=t?1:r<=e?n:n+(1-n)*(r-e)/(t-e);l[3*i]=a*l[3*i],l[3*i+1]=a*l[3*i+1],l[3*i+2]=a*l[3*i+2]}}return l}function u(e,t){if(null==e.encoding||""===e.encoding){const o=Object(s["b"])(t,e);if(Object(r["j"])(o.vertexAttributes.position))return;const n=Object(s["c"])(t,o.vertexAttributes.position),i=o.header.fields,a=[i.offsetX,i.offsetY,i.offsetZ],c=[i.scaleX,i.scaleY,i.scaleZ],l=n.length/3,u=new Float64Array(3*l);for(let e=0;e>>4&15,n=r>1,a=1===e,s=e===r;let c=!1;for(const o of t.includedReturns)if("last"===o&&s||"firstOfMany"===o&&a&&n||"lastOfMany"===o&&s&&n||"single"===o&&!n){c=!0;break}c||(i=!1);break}}}i&&(o[a]=s,e[3*a]=e[3*s],e[3*a+1]=e[3*s+1],e[3*a+2]=e[3*s+2],t[3*a]=t[3*s],t[3*a+1]=t[3*s+1],t[3*a+2]=t[3*s+2],a++)}return a}function p(e){return null==e||"none"===e?null:"low-four-bit"===e?e=>15&e:"high-four-bit"===e?e=>(240&e)>>4:"absolute-value"===e?e=>Math.abs(e):"modulo-ten"===e?e=>e%10:null}function y(e){let t=0;for(const o of e||[])t|=1<=192&&a<224){if(i+1>=o)throw new r["a"]("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const s=(31&a)<<6|63&e[t+i+1];n+=String.fromCharCode(s),i+=2}else if(a>=224&&a<240){if(i+2>=o)throw new r["a"]("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const s=(15&a)<<12|(63&e[t+i+1])<<6|63&e[t+i+2];n+=String.fromCharCode(s),i+=3}else{if(!(a>=240&&a<248))throw new r["a"]("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(i+3>=o)throw new r["a"]("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const s=(7&a)<<18|(63&e[t+i+1])<<12|(63&e[t+i+2])<<6|63&e[t+i+3];if(s>=65536){const e=55296+(s-65536>>10),t=56320+(1023&s);n+=String.fromCharCode(e,t)}else n+=String.fromCharCode(s);i+=4}}}return n}function u(e,t){const o={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let n=0;n0){if(n.push(l(o,s,i-1)),0!==o[s+i-1])throw new r["a"]("string-array-error","Invalid string array: missing null termination.")}else n.push(null);s+=i}return n}function f(e,t){return new(0,C[t.valueType])(e,t.byteOffset,t.count*t.valuesPerElement)}function b(e,t){return new Uint8Array(e,t.byteOffset,t.byteCount)}function p(e,t,o){const i=null!=t.header?u(e,t.header):{byteOffset:0,byteCount:0,fields:{count:o}},a={header:i,byteOffset:i.byteCount,byteCount:0,entries:Object.create(null)};let s=i.byteCount;for(let c=0;cnew DataView(e,0).getFloat32(t,!0),Float64:(e,t)=>new DataView(e,0).getFloat64(t,!0),UInt8:(e,t)=>new DataView(e,0).getUint8(t),Int8:(e,t)=>new DataView(e,0).getInt8(t),UInt16:(e,t)=>new DataView(e,0).getUint16(t,!0),Int16:(e,t)=>new DataView(e,0).getInt16(t,!0),UInt32:(e,t)=>new DataView(e,0).getUint32(t,!0),Int32:(e,t)=>new DataView(e,0).getInt32(t,!0)};function U(e){return C.hasOwnProperty(e)}function x(e){return U(e)?C[e].BYTES_PER_ELEMENT:0}},d207:function(e,t,o){"use strict";o.d(t,"a",(function(){return O})),o.d(t,"b",(function(){return p})),o.d(t,"c",(function(){return l}));var r=o("ce50");const n=!0,i={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function a(e,t,o){return{identifier:String.fromCharCode.apply(null,new Uint8Array(e,o+i.identifierOffset,i.identifierLength)),version:t.getUint16(o+i.versionOffset,n),checksum:t.getUint32(o+i.checksumOffset,n)}}const s={sizeLo:0,sizeHi:4,minX:8,minY:16,minZ:24,maxX:32,maxY:40,maxZ:48,errorX:56,errorY:64,errorZ:72,count:80,reserved:84,byteCount:88};function c(e,t){return{sizeLo:e.getUint32(t+s.sizeLo,n),sizeHi:e.getUint32(t+s.sizeHi,n),minX:e.getFloat64(t+s.minX,n),minY:e.getFloat64(t+s.minY,n),minZ:e.getFloat64(t+s.minZ,n),maxX:e.getFloat64(t+s.maxX,n),maxY:e.getFloat64(t+s.maxY,n),maxZ:e.getFloat64(t+s.maxZ,n),errorX:e.getFloat64(t+s.errorX,n),errorY:e.getFloat64(t+s.errorY,n),errorZ:e.getFloat64(t+s.errorZ,n),count:e.getUint32(t+s.count,n),reserved:e.getUint32(t+s.reserved,n)}}function l(e){const t=new DataView(e,0);let o=0;const{identifier:n,version:l}=a(e,t,o);if(o+=i.byteCount,"LEPCC "!==n)throw new r["a"]("lepcc-decode-error","Bad identifier");if(l>1)throw new r["a"]("lepcc-decode-error","Unknown version");const d=c(t,o);if(o+=s.byteCount,d.sizeHi*2**32+d.sizeLo!==e.byteLength)throw new r["a"]("lepcc-decode-error","Bad size");const f=new Float64Array(3*d.count),b=[],p=[],y=[],h=[];if(o=u(e,o,b),o=u(e,o,p),o=u(e,o,y),o=u(e,o,h),o!==e.byteLength)throw new r["a"]("lepcc-decode-error","Bad length");let O=0,g=0;for(let r=0;r>6;let u=0;if(0===l)u=i.getUint32(1,n),t+=5;else if(1===l)u=i.getUint16(1,n),t+=3;else{if(2!==l)throw new r["a"]("lepcc-decode-error","Bad count type");u=i.getUint8(1),t+=2}if(c)throw new r["a"]("lepcc-decode-error","LUT not implemented");const d=Math.ceil(u*s/8),f=new Uint8Array(e,t,d);let b=0,p=0,y=0;const h=-1>>>32-s;for(let r=0;r>>=s,p-=s,p+s>32&&(b|=f[y-1]>>8-p)}return t+y}const f={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function b(e,t){return{sizeLo:e.getUint32(t+f.sizeLo,n),sizeHi:e.getUint32(t+f.sizeHi,n),count:e.getUint32(t+f.count,n),colorMapCount:e.getUint16(t+f.colorMapCount,n),lookupMethod:e.getUint8(t+f.lookupMethod),compressionMethod:e.getUint8(t+f.compressionMethod)}}function p(e){const t=new DataView(e,0);let o=0;const{identifier:n,version:s}=a(e,t,o);if(o+=i.byteCount,"ClusterRGB"!==n)throw new r["a"]("lepcc-decode-error","Bad identifier");if(s>1)throw new r["a"]("lepcc-decode-error","Unknown version");const c=b(t,o);if(o+=f.byteCount,c.sizeHi*2**32+c.sizeLo!==e.byteLength)throw new r["a"]("lepcc-decode-error","Bad size");if((2===c.lookupMethod||1===c.lookupMethod)&&0===c.compressionMethod){if(3*c.colorMapCount+c.count+o!==e.byteLength||c.colorMapCount>256)throw new r["a"]("lepcc-decode-error","Bad count");const t=new Uint8Array(e,o,3*c.colorMapCount),n=new Uint8Array(e,o+3*c.colorMapCount,c.count),i=new Uint8Array(3*c.count);for(let e=0;e1)throw new r["a"]("lepcc-decode-error","Unknown version");const c=h(t,o);if(o+=y.byteCount,c.sizeHi*2**32+c.sizeLo!==e.byteLength)throw new r["a"]("lepcc-decode-error","Bad size");const l=new Uint16Array(c.count);if(8===c.bitsPerPoint){if(c.count+o!==e.byteLength)throw new r["a"]("lepcc-decode-error","Bad size");const t=new Uint8Array(e,o,c.count);for(let e=0;e