text: self.webpackChunkRemoteClient([32],{157:function(t,e,r){"use strict";var n,o=r(18),i=(r(7),r(3),r(4),r(20)),a=r(19),s=(r(24),r(34),r(35),r(50));let l=n=class extends s.a{constructor(){super(...arguments),this.title=null}clone(){return new n({title:this.title})}};Object(o.a)([Object(i.b)({type:String,json:{write:!0}})],l.prototype,"title",void 0),l=n=Object(o.a)([Object(a.a)("esri.renderers.support.LegendOptions")],l);var c=l;e.a=c},173:function(t,e,r){"use strict";var n,o=r(18),i=(r(7),r(5)),a=(r(3),r(4),r(20)),s=r(52),l=r(19),c=(r(24),r(34),r(35),r(50));let u=n=class extends c.a{constructor(){super(...arguments),this.field=null,this.minValue=0,this.maxValue=255}clone(){return new n({field:this.field,minValue:this.minValue,maxValue:this.maxValue})}};Object(o.a)([Object(a.b)({type:String,json:{write:!0}})],u.prototype,"field",void 0),Object(o.a)([Object(a.b)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"minValue",void 0),Object(o.a)([Object(a.b)({type:Number,nonNullable:!0,json:{write:!0}})],u.prototype,"maxValue",void 0),u=n=Object(o.a)([Object(l.a)("esri.renderers.support.pointCloud.ColorModulation")],u);var f=u;const d=new s.a({pointCloudFixedSizeAlgorithm:"fixed-size",pointCloudSplatAlgorithm:"splat"});let b=class extends c.a{};Object(o.a)([Object(a.b)({type:d.apiValues,readOnly:!0,nonNullable:!0,json:{type:d.jsonValues,read:!1,write:d.write}})],b.prototype,"type",void 0),b=Object(o.a)([Object(l.a)("esri.renderers.support.pointCloud.PointSizeAlgorithm")],b);var p,h=b,y=r(54);let g=p=class extends h{constructor(){super(...arguments),this.type="fixed-size",this.size=0,this.useRealWorldSymbolSizes=null}clone(){return new p({size:this.size,useRealWorldSymbolSizes:this.useRealWorldSymbolSizes})}};Object(o.a)([Object(y.a)({pointCloudFixedSizeAlgorithm:"fixed-size"})],g.prototype,"type",void 0),Object(o.a)([Object(a.b)({type:Number,nonNullable:!0,json:{write:!0}})],g.prototype,"size",void 0),Object(o.a)([Object(a.b)({type:Boolean,json:{write:!0}})],g.prototype,"useRealWorldSymbolSizes",void 0),g=p=Object(o.a)([Object(l.a)("esri.renderers.support.pointCloud.PointSizeFixedSizeAlgorithm")],g);var m,w=g;let O=m=class extends h{constructor(){super(...arguments),this.type="splat",this.scaleFactor=1}clone(){return new m({scaleFactor:this.scaleFactor})}};Object(o.a)([Object(y.a)({pointCloudSplatAlgorithm:"splat"})],O.prototype,"type",void 0),Object(o.a)([Object(a.b)({type:Number,value:1,nonNullable:!0,json:{write:!0}})],O.prototype,"scaleFactor",void 0),O=m=Object(o.a)([Object(l.a)("esri.renderers.support.pointCloud.PointSizeSplatAlgorithm")],O);const j={key:"type",base:h,typeMap:{"fixed-size":w,splat:O}},v=Object(s.b)()({pointCloudClassBreaksRenderer:"point-cloud-class-breaks",pointCloudRGBRenderer:"point-cloud-rgb",pointCloudStretchRenderer:"point-cloud-stretch",pointCloudUniqueValueRenderer:"point-cloud-unique-value"});let M=class extends c.a{constructor(t){super(t),this.type=void 0,this.pointSizeAlgorithm=null,this.colorModulation=null,this.pointsPerInch=10}clone(){return console.warn(".clone() is not implemented for "+this.declaredClass),null}cloneProperties(){return{pointSizeAlgorithm:Object(i.a)(this.pointSizeAlgorithm),colorModulation:Object(i.a)(this.colorModulation),pointsPerInch:Object(i.a)(this.pointsPerInch)}}};Object(o.a)([Object(a.b)({type:v.apiValues,readOnly:!0,nonNullable:!0,json:{type:v.jsonValues,read:!1,write:v.write}})],M.prototype,"type",void 0),Object(o.a)([Object(a.b)({types:j,json:{write:!0}})],M.prototype,"pointSizeAlgorithm",void 0),Object(o.a)([Object(a.b)({type:f,json:{write:!0}})],M.prototype,"colorModulation",void 0),Object(o.a)([Object(a.b)({json:{write:!0},nonNullable:!0,type:Number})],M.prototype,"pointsPerInch",void 0),M=Object(o.a)([Object(l.a)("esri.renderers.PointCloudRenderer")],M),(M||(M={})).fieldTransformTypeKebabDict=new s.a({none:"none",lowFourBit:"low-four-bit",highFourBit:"high-four-bit",absoluteValue:"absolute-value",moduloTen:"modulo-ten"});var C=M;e.a=C},184:function(t,e,r){"use strict";function n(){return[1,0,0,0,1,0,0,0,1]}function o(t,e){return new Float64Array(t,e,9)}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));Object.freeze({__proto__:null,create:n,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},fromValues:function(t,e,r,n,o,i,a,s,l){return[t,e,r,n,o,i,a,s,l]},createView:o})},201:function(t,e,r){"use strict";r.d(e,"a",(function(){return a})),r.d(e,"b",(function(){return u})),r.d(e,"c",(function(){return o})),r.d(e,"d",(function(){return y})),r.d(e,"e",(function(){return b})),r.d(e,"f",(function(){return p})),r.d(e,"g",(function(){return w})),r.d(e,"h",(function(){return O})),r.d(e,"i",(function(){return g})),r.d(e,"j",(function(){return h})),r.d(e,"k",(function(){return i})),r.d(e,"l",(function(){return m}));var n=r(118);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function i(t,e,r,n,o){return t[0]=e,t[1]=r,t[2]=n,t[3]=o,t}function a(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function s(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function c(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function u(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function f(t,e){const r=e[0]-t[0],n=e[1]-t[1],o=e[2]-t[2],i=e[3]-t[3];return Math.sqrt(r*r+n*n+o*o+i*i)}function d(t,e){const r=e[0]-t[0],n=e[1]-t[1],o=e[2]-t[2],i=e[3]-t[3];return r*r+n*n+o*o+i*i}function b(t){const e=t[0],r=t[1],n=t[2],o=t[3];return Math.sqrt(e*e+r*r+n*n+o*o)}function p(t){const e=t[0],r=t[1],n=t[2],o=t[3];return e*e+r*r+n*n+o*o}function h(t,e){const r=e[0],n=e[1],o=e[2],i=e[3];let a=r*r+n*n+o*o+i*i;return a>0&&(a=1/Math.sqrt(a),t[0]=r*a,t[1]=n*a,t[2]=o*a,t[3]=i*a),t}function y(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function g(t,e,r,n){const o=e[0],i=e[1],a=e[2],s=e[3];return t[0]=o+n*(r[0]-o),t[1]=i+n*(r[1]-i),t[2]=a+n*(r[2]-a),t[3]=s+n*(r[3]-s),t}function m(t,e,r){const n=e[0],o=e[1],i=e[2],a=e[3];return t[0]=r[0]*n+r[4]*o+r[8]*i+r[12]*a,t[1]=r[1]*n+r[5]*o+r[9]*i+r[13]*a,t[2]=r[2]*n+r[6]*o+r[10]*i+r[14]*a,t[3]=r[3]*n+r[7]*o+r[11]*i+r[15]*a,t}function w(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function O(t,e){const r=t[0],o=t[1],i=t[2],a=t[3],s=e[0],l=e[1],c=e[2],u=e[3];return Math.abs(r-s)<=n.a*Math.max(1,Math.abs(r),Math.abs(s))&&Math.abs(o-l)<=n.a*Math.max(1,Math.abs(o),Math.abs(l))&&Math.abs(i-c)<=n.a*Math.max(1,Math.abs(i),Math.abs(c))&&Math.abs(a-u)<=n.a*Math.max(1,Math.abs(a),Math.abs(u))}let j=s,v=l,M=c,C=f,A=d,T=b,U=p;Object.freeze({__proto__:null,copy:o,set:i,add:a,subtract:s,multiply:l,divide:c,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},min:function(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t},max:function(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t},round:function(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t},scale:u,scaleAndAdd:function(t,e,r,n){return t[0]=e[0]+r[0]*n,t[1]=e[1]+r[1]*n,t[2]=e[2]+r[2]*n,t[3]=e[3]+r[3]*n,t},distance:f,squaredDistance:d,length:b,squaredLength:p,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},normalize:h,dot:y,lerp:g,random:function(t,e){let r,o,i,a,s,l;e=e||1;do{r=2*Object(n.b)()-1,o=2*Object(n.b)()-1,s=r*r+o*o}while(s>=1);do{i=2*Object(n.b)()-1,a=2*Object(n.b)()-1,l=i*i+a*a}while(l>=1);const c=Math.sqrt((1-s)/l);return t[0]=e*r,t[1]=e*o,t[2]=e*i*c,t[3]=e*a*c,t},transformMat4:m,transformQuat:function(t,e,r){const n=e[0],o=e[1],i=e[2],a=r[0],s=r[1],l=r[2],c=r[3],u=c*n+s*i-l*o,f=c*o+l*n-a*i,d=c*i+a*o-s*n,b=-a*n-s*o-l*i;return t[0]=u*c+b*-a+f*-l-d*-s,t[1]=f*c+b*-s+d*-a-u*-l,t[2]=d*c+b*-l+u*-s-f*-a,t[3]=e[3],t},str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},exactEquals:w,equals:O,sub:j,mul:v,div:M,dist:C,sqrDist:A,len:T,sqrLen:U})},223:function(t,e,r){"use strict";function n(){return[0,0,0,1]}function o(t,e){return new Float64Array(t,e,4)}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));Object.freeze({__proto__:null,create:n,clone:function(t){return[t[0],t[1],t[2],t[3]]},fromValues:function(t,e,r,n){return[t,e,r,n]},createView:o,IDENTITY:[0,0,0,1]})},306:function(t,e,r){"use strict";r.d(e,"a",(function(){return b})),r.d(e,"b",(function(){return u}));var n=r(73),o=r(118),i=r(76),a=r(184),s=r(223),l=r(201);function c(t,e,r){r*=.5;const n=Math.sin(r);return t[0]=n*e[0],t[1]=n*e[1],t[2]=n*e[2],t[3]=Math.cos(r),t}function u(t,e){const r=2*Math.acos(e[3]),n=Math.sin(r/2);return n>o.a?(t[0]=e[0]/n,t[1]=e[1]/n,t[2]=e[2]/n):(t[0]=1,t[1]=0,t[2]=0),r}function f(t,e,r){const n=e[0],o=e[1],i=e[2],a=e[3],s=r[0],l=r[1],c=r[2],u=r[3];return t[0]=n*u+a*s+o*c-i*l,t[1]=o*u+a*l+i*s-n*c,t[2]=i*u+a*c+n*l-o*s,t[3]=a*u-n*s-o*l-i*c,t}function d(t,e,r,n){const i=e[0],a=e[1],s=e[2],l=e[3];let c,u,f,d,b,p=r[0],h=r[1],y=r[2],g=r[3];return u=i*p+a*h+s*y+l*g,u<0&&(u=-u,p=-p,h=-h,y=-y,g=-g),1-u>o.a?(c=Math.acos(u),f=Math.sin(c),d=Math.sin((1-n)*c)/f,b=Math.sin(n*c)/f):(d=1-n,b=n),t[0]=d*i+b*p,t[1]=d*a+b*h,t[2]=d*s+b*y,t[3]=d*l+b*g,t}function b(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=e[3],t}function p(t,e){const r=e[0]+e[4]+e[8];let n;if(r>0)n=Math.sqrt(r+1),t[3]=.5*n,n=.5/n,t[0]=(e[5]-e[7])*n,t[1]=(e[6]-e[2])*n,t[2]=(e[1]-e[3])*n;else{let r=0;e[4]>e[0]&&(r=1),e[8]>e[3*r+r]&&(r=2);const o=(r+1)%3,i=(r+2)%3;n=Math.sqrt(e[3*r+r]-e[3*o+o]-e[3*i+i]+1),t[r]=.5*n,n=.5/n,t[3]=(e[3*o+i]-e[3*i+o])*n,t[o]=(e[3*o+r]+e[3*r+o])*n,t[i]=(e[3*i+r]+e[3*r+i])*n}return t}const h=l.c,y=l.k,g=l.a,m=f,w=l.b,O=l.d,j=l.i,v=l.e,M=v,C=l.f,A=C,T=l.j,U=l.g,S=l.h;const I=Object(n.e)(),k=Object(n.g)(1,0,0),x=Object(n.g)(0,1,0);const V=Object(s.a)(),z=Object(s.a)();const F=Object(a.a)();Object.freeze({__proto__:null,identity:function(t){return t[0]=0,t[1]=0,t[2]=0,t[3]=1,t},setAxisAngle:c,getAxisAngle:u,multiply:f,rotateX:function(t,e,r){r*=.5;const n=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=n*l+a*s,t[1]=o*l+i*s,t[2]=i*l-o*s,t[3]=a*l-n*s,t},rotateY:function(t,e,r){r*=.5;const n=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=n*l-i*s,t[1]=o*l+a*s,t[2]=i*l+n*s,t[3]=a*l-o*s,t},rotateZ:function(t,e,r){r*=.5;const n=e[0],o=e[1],i=e[2],a=e[3],s=Math.sin(r),l=Math.cos(r);return t[0]=n*l+o*s,t[1]=o*l-n*s,t[2]=i*l+a*s,t[3]=a*l-i*s,t},calculateW:function(t,e){const r=e[0],n=e[1],o=e[2];return t[0]=r,t[1]=n,t[2]=o,t[3]=Math.sqrt(Math.abs(1-r*r-n*n-o*o)),t},slerp:d,random:function(t){const e=Object(o.b)(),r=Object(o.b)(),n=Object(o.b)(),i=Math.sqrt(1-e),a=Math.sqrt(e);return t[0]=i*Math.sin(2*Math.PI*r),t[1]=i*Math.cos(2*Math.PI*r),t[2]=a*Math.sin(2*Math.PI*n),t[3]=a*Math.cos(2*Math.PI*n),t},invert:function(t,e){const r=e[0],n=e[1],o=e[2],i=e[3],a=r*r+n*n+o*o+i*i,s=a?1/a:0;return t[0]=-r*s,t[1]=-n*s,t[2]=-o*s,t[3]=i*s,t},conjugate:b,fromMat3:p,fromEuler:function(t,e,r,n){const o=.5*Math.PI/180;e*=o,r*=o,n*=o;const i=Math.sin(e),a=Math.cos(e),s=Math.sin(r),l=Math.cos(r),c=Math.sin(n),u=Math.cos(n);return t[0]=i*l*u-a*s*c,t[1]=a*s*u+i*l*c,t[2]=a*l*c-i*s*u,t[3]=a*l*u+i*s*c,t},str:function(t){return"quat("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},copy:h,set:y,add:g,mul:m,scale:w,dot:O,lerp:j,length:v,len:M,squaredLength:C,sqrLen:A,normalize:T,exactEquals:U,equals:S,rotationTo:function(t,e,r){const n=Object(i.e)(e,r);return n<-.999999?(Object(i.d)(I,k,e),Object(i.k)(I)<1e-6&&Object(i.d)(I,x,e),Object(i.o)(I,I),c(t,I,Math.PI),t):n>.999999?(t[0]=0,t[1]=0,t[2]=0,t[3]=1,t):(Object(i.d)(I,e,r),t[0]=I[0],t[1]=I[1],t[2]=I[2],t[3]=1+n,T(t,t))},sqlerp:function(t,e,r,n,o,i){return d(V,e,o,i),d(z,r,n,i),d(t,V,z,2*i*(1-i)),t},setAxes:function(t,e,r,n){const o=F;return o[0]=r[0],o[3]=r[1],o[6]=r[2],o[1]=n[0],o[4]=n[1],o[7]=n[2],o[2]=-e[0],o[5]=-e[1],o[8]=-e[2],T(t,p(t,o))}})},307:function(t,e,r){"use strict";function n(){return new Float32Array(3)}function o(t,e,r){const n=new Float32Array(3);return n[0]=t,n[1]=e,n[2]=r,n}function i(){return n()}function a(){return o(1,1,1)}function s(){return o(1,0,0)}function l(){return o(0,1,0)}function c(){return o(0,0,1)}r.d(e,"a",(function(){return n})),r.d(e,"b",(function(){return o}));const u=i(),f=a(),d=s(),b=l(),p=c();Object.freeze({__proto__:null,create:n,clone:function(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e},fromValues:o,createView:function(t,e){return new Float32Array(t,e,3)},zeros:i,ones:a,unitX:s,unitY:l,unitZ:c,ZEROS:u,ONES:f,UNIT_X:d,UNIT_Y:b,UNIT_Z:p})},443:function(t,e,r){"use strict";var n,o=r(18),i=(r(7),r(5)),a=(r(3),r(4)),s=r(20),l=r(54),c=r(19),u=(r(24),r(34),r(35),r(173)),f=r(157),d=r(50),b=r(67);let p=n=class extends d.a{constructor(){super(...arguments),this.description=null,this.label=null,this.minValue=0,this.maxValue=0,this.color=null}clone(){return new n({description:this.description,label:this.label,minValue:this.minValue,maxValue:this.maxValue,color:Object(i.a)(this.color)})}};Object(o.a)([Object(s.b)({type:String,json:{write:!0}})],p.prototype,"description",void 0),Object(o.a)([Object(s.b)({type:String,json:{write:!0}})],p.prototype,"label",void 0),Object(o.a)([Object(s.b)({type:Number,json:{read:{source:"classMinValue"},write:{target:"classMinValue"}}})],p.prototype,"minValue",void 0),Object(o.a)([Object(s.b)({type:Number,json:{read:{source:"classMaxValue"},write:{target:"classMaxValue"}}})],p.prototype,"maxValue",void 0),Object(o.a)([Object(s.b)({type:b.a,json:{type:[a.a],write:!0}})],p.prototype,"color",void 0),p=n=Object(o.a)([Object(c.a)("esri.renderers.support.pointCloud.ColorClassBreakInfo")],p);var h,y=p;let g=h=class extends u.a{constructor(t){super(t),this.type="point-cloud-class-breaks",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.colorClassBreakInfos=null}clone(){return new h({...this.cloneProperties(),field:this.field,fieldTransformType:this.fieldTransformType,colorClassBreakInfos:Object(i.a)(this.colorClassBreakInfos),legendOptions:Object(i.a)(this.legendOptions)})}};Object(o.a)([Object(l.a)({pointCloudClassBreaksRenderer:"point-cloud-class-breaks"})],g.prototype,"type",void 0),Object(o.a)([Object(s.b)({json:{write:!0},type:String})],g.prototype,"field",void 0),Object(o.a)([Object(s.b)({type:f.a,json:{write:!0}})],g.prototype,"legendOptions",void 0),Object(o.a)([Object(s.b)({type:u.a.fieldTransformTypeKebabDict.apiValues,json:{type:u.a.fieldTransformTypeKebabDict.jsonValues,read:u.a.fieldTransformTypeKebabDict.read,write:u.a.fieldTransformTypeKebabDict.write}})],g.prototype,"fieldTransformType",void 0),Object(o.a)([Object(s.b)({type:[y],json:{write:!0}})],g.prototype,"colorClassBreakInfos",void 0),g=h=Object(o.a)([Object(c.a)("esri.renderers.PointCloudClassBreaksRenderer")],g);var m=g;e.a=m},444:function(t,e,r){"use strict";var n,o=r(18),i=(r(7),r(5)),a=(r(3),r(4)),s=r(20),l=r(54),c=r(19),u=(r(24),r(34),r(35),r(173)),f=r(157),d=r(50),b=r(67);let p=n=class extends d.a{constructor(){super(...arguments),this.label=null,this.value=0,this.color=null}clone(){return new n({label:this.label,value:this.value,color:Object(i.a)(this.color)})}};Object(o.a)([Object(s.b)({type:String,json:{write:!0}})],p.prototype,"label",void 0),Object(o.a)([Object(s.b)({type:Number,nonNullable:!0,json:{write:!0}})],p.prototype,"value",void 0),Object(o.a)([Object(s.b)({type:b.a,json:{type:[a.a],write:!0}})],p.prototype,"color",void 0),p=n=Object(o.a)([Object(c.a)("esri.renderers.support.pointCloud.StopInfo")],p);var h,y=p;let g=h=class extends u.a{constructor(t){super(t),this.type="point-cloud-stretch",this.field=null,this.legendOptions=null,this.fieldTransformType=null,this.stops=null}clone(){return new h({...this.cloneProperties(),field:Object(i.a)(this.field),fieldTransformType:Object(i.a)(this.fieldTransformType),stops:Object(i.a)(this.stops),legendOptions:Object(i.a)(this.legendOptions)})}};Object(o.a)([Object(l.a)({pointCloudStretchRenderer:"point-cloud-stretch"})],g.prototype,"type",void 0),Object(o.a)([Object(s.b)({json:{write:!0},type:String})],g.prototype,"field",void 0),Object(o.a)([Object(s.b)({type:f.a,json:{write:!0}})],g.prototype,"legendOptions",void 0),Object(o.a)([Object(s.b)({type:u.a.fieldTransformTypeKebabDict.apiValues,json:{type:u.a.fieldTransformTypeKebabDict.jsonValues,read:u.a.fieldTransformTypeKebabDict.read,write:u.a.fieldTransformTypeKebabDict.write}})],g.prototype,"fieldTransformType",void 0),Object(o.a)([Object(s.b)({type:[y],json:{write:!0}})],g.prototype,"stops",void 0),g=h=Object(o.a)([Object(c.a)("esri.renderers.PointCloudStretchRenderer")],g);var m=g;e.a=m},445:function(t,e,r){"use strict";var n,o=r(18),i=(r(7),r(5)),a=(r(3),r(4)),s=r(20),l=r(54),c=r(19),u=(r(24),r(34),r(35),r(173)),f=r(157),d=r(50),b=r(67);let p=n=class extends d.a{constructor(){super(...arguments),this.description=null,this.label=null,this.values=null,this.color=null}clone(){return new n({description:this.description,label:this.label,values:Object(i.a)(this.values),color:Object(i.a)(this.color)})}};Object(o.a)([Object(s.b)({type:String,json:{write:!0}})],p.prototype,"description",void 0),Object(o.a)([Object(s.b)({type:String,json:{write:!0}})],p.prototype,"label",void 0),Object(o.a)([Object(s.b)({type:[String],json:{write:!0}})],p.prototype,"values",void 0),Object(o.a)([Object(s.b)({type:b.a,json:{type:[a.a],write:!0}})],p.prototype,"color",void 0),p=n=Object(o.a)([Object(c.a)("esri.renderers.support.pointCloud.ColorUniqueValueInfo")],p);var h,y=p;let g=h=class extends u.a{constructor(t){super(t),this.type="point-cloud-unique-value",this.field=null,this.fieldTransformType=null,this.colorUniqueValueInfos=null,this.legendOptions=null}clone(){return new h({...this.cloneProperties(),field:Object(i.a)(this.field),fieldTransformType:Object(i.a)(this.fieldTransformType),colorUniqueValueInfos:Object(i.a)(this.colorUniqueValueInfos),legendOptions:Object(i.a)(this.legendOptions)})}};Object(o.a)([Object(l.a)({pointCloudUniqueValueRenderer:"point-cloud-unique-value"})],g.prototype,"type",void 0),Object(o.a)([Object(s.b)({json:{write:!0},type:String})],g.prototype,"field",void 0),Object(o.a)([Object(s.b)({type:u.a.fieldTransformTypeKebabDict.apiValues,json:{type:u.a.fieldTransformTypeKebabDict.jsonValues,read:u.a.fieldTransformTypeKebabDict.read,write:u.a.fieldTransformTypeKebabDict.write}})],g.prototype,"fieldTransformType",void 0),Object(o.a)([Object(s.b)({type:[y],json:{write:!0}})],g.prototype,"colorUniqueValueInfos",void 0),Object(o.a)([Object(s.b)({type:f.a,json:{write:!0}})],g.prototype,"legendOptions",void 0),g=h=Object(o.a)([Object(c.a)("esri.renderers.PointCloudUniqueValueRenderer")],g);var m=g;e.a=m},54:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=r(20),o=r(52);function i(t,e={ignoreUnknown:!0}){const r=t instanceof o.a?t:new o.a(t,e),i={type:(null==e?void 0:e.ignoreUnknown)?r.apiValues:String,readOnly:null==e?void 0:e.readOnly,json:{type:r.jsonValues,read:!(null==e?void 0:e.readOnly)&&{reader:r.read},write:{writer:r.write}}};return void 0!==(null==e?void 0:e.default)&&(i.json.default=e.default),Object(n.b)(i)}},667:function(t,e,r){"use strict";r.r(e);var n=r(13),o=r(1),i=r(2),a=r(55),s=r(76),l=r(275),c=r(306),u=r(307);function f(){const t=new Float32Array(4);return t[3]=1,t}Object.freeze({__proto__:null,create:f,clone:function(t){const e=new Float32Array(4);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e},fromValues:function(t,e,r,n){const o=new Float32Array(4);return o[0]=t,o[1]=e,o[2]=r,o[3]=n,o},createView:function(t,e){return new Float32Array(t,e,4)}});var d=r(443),b=r(444),p=r(445),h=r(14);function y(t,e,r){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,r+0,10)),version:e.getUint16(r+10,!0),checksum:e.getUint32(r+12,!0)}}function g(t,e,r){const n=[];e=m(t,e,n);const o=[];for(let i=0;i<n.length;i++){o.length=0,e=m(t,e,o);for(let t=0;t<o.length;t++)r.push(o[t]+n[i])}return e}function m(t,e,r){const n=new DataView(t,e),o=n.getUint8(0),i=31&o,a=!!(32&o),s=(192&o)>>6;let l=0;if(0===s)l=n.getUint32(1,!0),e+=5;else if(1===s)l=n.getUint16(1,!0),e+=3;else{if(2!==s)throw new h.a("lepcc-decode-error","Bad count type");l=n.getUint8(1),e+=2}if(a)throw new h.a("lepcc-decode-error","LUT not implemented");const c=Math.ceil(l*i/8),u=new Uint8Array(t,e,c);let f=0,d=0,b=0;const p=-1>>>32-i;for(let t=0;t<l;t++){for(;d<i;)f|=u[b]<<d,d+=8,b+=1;r[t]=f&p,f>>>=i,d-=i,d+i>32&&(f|=u[b-1]>>8-d)}return e+b}var w=r(5);const O=r(3).a.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function j(t,e,r){let n="",o=0;for(;o<r;){const i=t[e+o];if(i<128)n+=String.fromCharCode(i),o++;else if(i>=192&&i<224){if(o+1>=r)throw new h.a("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const a=(31&i)<<6|63&t[e+o+1];n+=String.fromCharCode(a),o+=2}else if(i>=224&&i<240){if(o+2>=r)throw new h.a("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(15&i)<<12|(63&t[e+o+1])<<6|63&t[e+o+2];n+=String.fromCharCode(a),o+=3}else{if(!(i>=240&&i<248))throw new h.a("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(o+3>=r)throw new h.a("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const a=(7&i)<<18|(63&t[e+o+1])<<12|(63&t[e+o+2])<<6|63&t[e+o+3];if(a>=65536){const t=55296+(a-65536>>10),e=56320+(1023&a);n+=String.fromCharCode(t,e)}else n+=String.fromCharCode(a);o+=4}}}return n}function v(t,e){const r={byteOffset:0,byteCount:0,fields:Object.create(null)};let n=0;for(let o=0;o<e.length;o++){const i=e[o],a=i.valueType||i.type,s=S[a];r.fields[i.property]=s(t,n),n+=U[a].BYTES_PER_ELEMENT}return r.byteCount=n,r}function M(t,e){return new(0,U[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function C(t,e,r){if(e!==t&&O.error(`Invalid ${r} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new h.a("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}const A={position:"position",normal:"normal",color:"color",uv0:"uv0",region:"uvRegion"};function T(t,e,r){if("lepcc-rgb"===t.encoding)return function(t){const e=new DataView(t,0);let r=0;const{identifier:n,version:o}=y(t,e,r);if(r+=16,"ClusterRGB"!==n)throw new h.a("lepcc-decode-error","Bad identifier");if(o>1)throw new h.a("lepcc-decode-error","Unknown version");const i=function(t,e){return{sizeLo:t.getUint32(e+0,!0),sizeHi:t.getUint32(e+4,!0),count:t.getUint32(e+8,!0),colorMapCount:t.getUint16(e+12,!0),lookupMethod:t.getUint8(e+14),compressionMethod:t.getUint8(e+15)}}(e,r);if(r+=16,i.sizeHi*Math.pow(2,32)+i.sizeLo!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");if((2===i.lookupMethod||1===i.lookupMethod)&&0===i.compressionMethod){if(3*i.colorMapCount+i.count+r!==t.byteLength||i.colorMapCount>256)throw new h.a("lepcc-decode-error","Bad count");const e=new Uint8Array(t,r,3*i.colorMapCount),n=new Uint8Array(t,r+3*i.colorMapCount,i.count),o=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++){const r=n[t];o[3*t]=e[3*r],o[3*t+1]=e[3*r+1],o[3*t+2]=e[3*r+2]}return o}if(0===i.lookupMethod&&0===i.compressionMethod){if(3*i.count+r!==t.byteLength||0!==i.colorMapCount)throw new h.a("lepcc-decode-error","Bad count");return new Uint8Array(t,r).slice()}if(i.lookupMethod<=2&&1===i.compressionMethod){if(r+3!==t.byteLength||1!==i.colorMapCount)throw new h.a("lepcc-decode-error","Bad count");const n=e.getUint8(r),o=e.getUint8(r+1),a=e.getUint8(r+2),s=new Uint8Array(3*i.count);for(let t=0;t<i.count;t++)s[3*t]=n,s[3*t+1]=o,s[3*t+2]=a;return s}throw new h.a("lepcc-decode-error","Bad method "+i.lookupMethod+","+i.compressionMethod)}(e);if("lepcc-intensity"===t.encoding)return function(t){const e=new DataView(t,0);let r=0;const{identifier:n,version:o}=y(t,e,r);if(r+=16,"Intensity "!==n)throw new h.a("lepcc-decode-error","Bad identifier");if(o>1)throw new h.a("lepcc-decode-error","Unknown version");const i=function(t,e){return{sizeLo:t.getUint32(e+0,!0),sizeHi:t.getUint32(e+4,!0),count:t.getUint32(e+8,!0),scaleFactor:t.getUint16(e+12,!0),bitsPerPoint:t.getUint8(e+14),reserved:t.getUint8(e+15)}}(e,r);if(r+=16,i.sizeHi*Math.pow(2,32)+i.sizeLo!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");const a=new Uint16Array(i.count);if(8===i.bitsPerPoint){if(i.count+r!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");const e=new Uint8Array(t,r,i.count);for(let t=0;t<i.count;t++)a[t]=e[t]*i.scaleFactor}else if(16===i.bitsPerPoint){if(2*i.count+r!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");const e=new Uint16Array(t,r,i.count);for(let t=0;t<i.count;t++)a[t]=e[t]*i.scaleFactor}else{const e=[];if(m(t,r,e)!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");for(let t=0;t<i.count;t++)a[t]=e[t]*i.scaleFactor}return a}(e);if(null!=t.encoding&&""!==t.encoding)throw new h.a("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(O.warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(O.warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const n=function(t,e,r){const n=null!=e.header?v(t,e.header):{byteOffset:0,byteCount:0,fields:{count:r}},o={header:n,byteOffset:n.byteCount,byteCount:0,entries:Object.create(null)};let i=n.byteCount;for(let t=0;t<e.ordering.length;t++){const r=e.ordering[t],a=Object(w.a)(e[r]);if(a.count=n.fields.count,"String"===a.valueType){if(a.byteOffset=i,a.byteCount=n.fields[r+"ByteCount"],"UTF-8"!==a.encoding)throw new h.a("unsupported-encoding","Unsupported String encoding.",{encoding:a.encoding})}else{if(!I(a.valueType))throw new h.a("unsupported-value-type","Unsupported binary valueType",{valueType:a.valueType});{const t=k(a.valueType);i+=i%t!=0?t-i%t:0,a.byteOffset=i,a.byteCount=t*a.valuesPerElement*a.count}}i+=a.byteCount,o.entries[r]=a}return o.byteCount=i-o.byteOffset,o}(e,t,r);C(n.byteOffset+n.byteCount,e.byteLength,"attribute");const o=n.entries.attributeValues||n.entries.objectIds;if(o){if("String"===o.valueType){const t=n.entries.attributeByteCounts,r=M(e,t),i=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,o);return function(t,e,r){const n=[];let o,i,a=0;for(i=0;i<t;i+=1){if(o=e[i],o>0){if(n.push(j(r,a,o-1)),0!==r[a+o-1])throw new h.a("string-array-error","Invalid string array: missing null termination.")}else n.push(null);a+=o}return n}(t.count,r,i)}return M(e,o)}throw new h.a("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const U={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},S={Float32:(t,e)=>new DataView(t,0).getFloat32(e,!0),Float64:(t,e)=>new DataView(t,0).getFloat64(e,!0),UInt8:(t,e)=>new DataView(t,0).getUint8(e),Int8:(t,e)=>new DataView(t,0).getInt8(e),UInt16:(t,e)=>new DataView(t,0).getUint16(e,!0),Int16:(t,e)=>new DataView(t,0).getInt16(e,!0),UInt32:(t,e)=>new DataView(t,0).getUint32(e,!0),Int32:(t,e)=>new DataView(t,0).getInt32(e,!0)};function I(t){return U.hasOwnProperty(t)}function k(t){return I(t)?U[t].BYTES_PER_ELEMENT:0}function x(t,e){if(null==t.encoding||""===t.encoding){const r=function(t,e){const r=v(t,e&&e.header);let n=r.byteCount;const o={isDraco:!1,header:r,byteOffset:r.byteCount,byteCount:0,vertexAttributes:{}},i=r.fields,a=null!=i.vertexCount?i.vertexCount:i.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const r={...e.vertexAttributes[t],byteOffset:n,count:a},i=A[t]?A[t]:"_"+t;o.vertexAttributes[i]=r,n+=k(r.valueType)*r.valuesPerElement*a}const s=i.faceCount;if(e.faces&&s){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const r={...e.faces[t],byteOffset:n,count:s};o.faces[t]=r,n+=k(r.valueType)*r.valuesPerElement*s}}const l=i.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&l){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const r={...e.featureAttributes[t],byteOffset:n,count:l};o.featureAttributes[t]=r,n+=("UInt64"===r.valueType?8:k(r.valueType))*r.valuesPerElement*l}}return C(n,t.byteLength,"geometry"),o.byteCount=n-o.byteOffset,o}(e,t);if(Object(o.f)(r.vertexAttributes.position))return;const n=M(e,r.vertexAttributes.position),i=r.header.fields,a=[i.offsetX,i.offsetY,i.offsetZ],s=[i.scaleX,i.scaleY,i.scaleZ],l=n.length/3,c=new Float64Array(3*l);for(let t=0;t<l;t++)c[3*t]=n[3*t]*s[0]+a[0],c[3*t+1]=n[3*t+1]*s[1]+a[1],c[3*t+2]=n[3*t+2]*s[2]+a[2];return c}if("lepcc-xyz"===t.encoding)return function(t){const e=new DataView(t,0);let r=0;const{identifier:n,version:o}=y(t,e,r);if(r+=16,"LEPCC     "!==n)throw new h.a("lepcc-decode-error","Bad identifier");if(o>1)throw new h.a("lepcc-decode-error","Unknown version");const i=function(t,e){return{sizeLo:t.getUint32(e+0,!0),sizeHi:t.getUint32(e+4,!0),minX:t.getFloat64(e+8,!0),minY:t.getFloat64(e+16,!0),minZ:t.getFloat64(e+24,!0),maxX:t.getFloat64(e+32,!0),maxY:t.getFloat64(e+40,!0),maxZ:t.getFloat64(e+48,!0),errorX:t.getFloat64(e+56,!0),errorY:t.getFloat64(e+64,!0),errorZ:t.getFloat64(e+72,!0),count:t.getUint32(e+80,!0),reserved:t.getUint32(e+84,!0)}}(e,r);if(r+=88,i.sizeHi*Math.pow(2,32)+i.sizeLo!==t.byteLength)throw new h.a("lepcc-decode-error","Bad size");const a=new Float64Array(3*i.count),s=[],l=[],c=[],u=[];if(r=g(t,r,s),r=g(t,r,l),r=g(t,r,c),r=g(t,r,u),r!==t.byteLength)throw new h.a("lepcc-decode-error","Bad length");let f=0,d=0;for(let t=0;t<s.length;t++){d+=s[t];let e=0;for(let r=0;r<l[t];r++){e+=c[f];const t=u[f];a[3*f]=Math.min(i.maxX,i.minX+2*i.errorX*e),a[3*f+1]=Math.min(i.maxY,i.minY+2*i.errorY*d),a[3*f+2]=Math.min(i.maxZ,i.minZ+2*i.errorZ*t),f++}}return{errorX:i.errorX,errorY:i.errorY,errorZ:i.errorZ,result:a}}(e).result}function V(t,e,r){return Object(o.g)(t)&&t.attributeInfo.useElevation?function(t,e){const r=new Float64Array(e);for(let n=0;n<e;n++)r[n]=t[3*n+2];return r}(e,r):Object(o.g)(t)?T(t.attributeInfo.storageInfo,t.buffer,r):null}function z(t){return null==t||"none"===t?null:"low-four-bit"===t?t=>15&t:"high-four-bit"===t?t=>(240&t)>>4:"absolute-value"===t?t=>Math.abs(t):"modulo-ten"===t?t=>t%10:null}function F(t){let e=0;for(const r of t||[])e|=1<<r;return e}class B{transform(t){const e=this._transform(t),r=[e.points.buffer,e.rgb.buffer];Object(o.g)(e.pointIdFilterMap)&&r.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&Object(n.c)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&r.push(t.values.buffer);return Object(i.s)({result:e,transferList:r})}_transform(t){const e=x(t.schema,t.geometryBuffer);let r=e.length/3,n=null;const i=[],s=V(t.primaryAttributeData,e,r);Object(o.g)(t.primaryAttributeData)&&s&&i.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:s});const l=V(t.modulationAttributeData,e,r);Object(o.g)(t.modulationAttributeData)&&l&&i.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:l});let c=function(t,e,r,n){const{rendererJSON:o,isRGBRenderer:i}=t;let a=null,s=null;if(e&&i)a=e;else if(e&&"pointCloudUniqueValueRenderer"===o.type){s=p.a.fromJSON(o);const t=s.colorUniqueValueInfos;a=new Uint8Array(3*n);const r=z(s.fieldTransformType);for(let o=0;o<n;o++){const n=(r?r(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.indexOf(n)>=0){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o.type){s=b.a.fromJSON(o);const t=s.stops;a=new Uint8Array(3*n);const r=z(s.fieldTransformType);for(let o=0;o<n;o++){const n=r?r(e[o]):e[o],i=t.length-1;if(n<t[0].value)a[3*o]=t[0].color.r,a[3*o+1]=t[0].color.g,a[3*o+2]=t[0].color.b;else if(n>=t[i].value)a[3*o]=t[i].color.r,a[3*o+1]=t[i].color.g,a[3*o+2]=t[i].color.b;else for(let e=1;e<t.length;e++)if(n<t[e].value){const r=(n-t[e-1].value)/(t[e].value-t[e-1].value);a[3*o]=t[e].color.r*r+t[e-1].color.r*(1-r),a[3*o+1]=t[e].color.g*r+t[e-1].color.g*(1-r),a[3*o+2]=t[e].color.b*r+t[e-1].color.b*(1-r);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o.type){s=d.a.fromJSON(o);const t=s.colorClassBreakInfos;a=new Uint8Array(3*n);const r=z(s.fieldTransformType);for(let o=0;o<n;o++){const n=r?r(e[o]):e[o];for(let e=0;e<t.length;e++)if(n>=t[e].minValue&&n<=t[e].maxValue){a[3*o]=t[e].color.r,a[3*o+1]=t[e].color.g,a[3*o+2]=t[e].color.b;break}}}else{a=new Uint8Array(3*n);for(let t=0;t<a.length;t++)a[t]=255}if(r&&s&&s.colorModulation){const t=s.colorModulation.minValue,e=s.colorModulation.maxValue,o=.3;for(let i=0;i<n;i++){const n=r[i],s=n>=e?1:n<=t?o:o+(1-o)*(n-t)/(e-t);a[3*i]=s*a[3*i],a[3*i+1]=s*a[3*i+1],a[3*i+2]=s*a[3*i+2]}}return a}(t.rendererInfo,s,l,r);if(t.filterInfo&&t.filterInfo.length>0&&Object(o.g)(t.filterAttributesData)){const o=t.filterAttributesData.map(t=>{const n=V(t,e,r),o={attributeInfo:t.attributeInfo,values:n};return i.push(o),o});n=new Uint32Array(r),r=function(t,e,r,n,o){const i=t.length/3;let a=0;for(let s=0;s<i;s++){let i=!0;for(let t=0;t<n.length&&i;t++){const{filterJSON:e}=n[t],r=o[t].values[s];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;-1!==e.values.indexOf(r)===t&&(i=!1);break}case"pointCloudBitfieldFilter":{const t=F(e.requiredSetBits),n=F(e.requiredClearBits);(r&t)===t&&0==(r&n)||(i=!1);break}case"pointCloudReturnFilter":{const t=15&r,n=r>>>4&15,o=n>1,a=1===t,s=t===n;let l=!1;for(const t of e.includedReturns)if("last"===t&&s||"firstOfMany"===t&&a&&o||"lastOfMany"===t&&s&&o||"single"===t&&!o){l=!0;break}l||(i=!1);break}}}i&&(r[a]=s,t[3*a]=t[3*s],t[3*a+1]=t[3*s+1],t[3*a+2]=t[3*s+2],e[3*a]=e[3*s],e[3*a+1]=e[3*s+1],e[3*a+2]=e[3*s+2],a++)}return a}(e,c,n,t.filterInfo,o)}for(const n of t.userAttributesData){const t=V(n,e,r);i.push({attributeInfo:n.attributeInfo,values:t})}3*r<c.length&&(c=new Uint8Array(c.buffer.slice(0,3*r))),this._applyElevationOffsetInPlace(e,r,t.elevationOffset);const u=this._transformCoordinates(e,r,t.obb,a.a.fromJSON(t.inSR),a.a.fromJSON(t.outSR));return{obb:t.obb,points:u,rgb:c,attributes:i,pointIdFilterMap:n}}_transformCoordinates(t,e,r,n,o){if(!Object(l.g)(t,n,0,t,o,0,e))throw Error("Can't reproject");const i=Object(u.b)(r.center[0],r.center[1],r.center[2]),a=Object(u.a)(),f=Object(u.a)();Object(c.a)(q,r.quaternion);const d=new Float32Array(3*e);for(let n=0;n<e;n++)a[0]=t[3*n]-i[0],a[1]=t[3*n+1]-i[1],a[2]=t[3*n+2]-i[2],Object(s.q)(f,a,q),r.halfSize[0]=Math.max(r.halfSize[0],Math.abs(f[0])),r.halfSize[1]=Math.max(r.halfSize[1],Math.abs(f[1])),r.halfSize[2]=Math.max(r.halfSize[2],Math.abs(f[2])),d[3*n]=a[0],d[3*n+1]=a[1],d[3*n+2]=a[2];return d}_applyElevationOffsetInPlace(t,e,r){if(0!==r)for(let n=0;n<e;n++)t[3*n+2]+=r}}const q=f();e.default=function(){return new B}},67:function(t,e,r){"use strict";var n=r(1),o=r(4);const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,5,10]};function a(t){var e;return null!=(e=i[t])?e:null}function s(t,e,r){r<0&&++r,r>1&&--r;const n=6*r;return n<1?t+(e-t)*n:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}var l=r(70);function c(t){return Object(l.c)(Object(o.e)(t),0,255)}function u(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}class f{constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}static blendColors(t,e,r,n=new f){return n.r=Math.round(t.r+(e.r-t.r)*r),n.g=Math.round(t.g+(e.g-t.g)*r),n.b=Math.round(t.b+(e.b-t.b)*r),n.a=t.a+(e.a-t.a)*r,n._sanitize()}static fromRgb(t,e){const r=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s\.\-,%0-9]+)\)/);if(r){const t=r[2].split(/\s*,\s*/),n=r[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){const r=t[0];if("%"===r.charAt(r.length-1)){const r=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(r[3]=parseFloat(t[3])),f.fromArray(r,e)}return f.fromArray(t.map(t=>parseFloat(t)),e)}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return f.fromArray(function(t,e,r,n=1){const o=(t%360+360)%360/360,i=r<=.5?r*(e+1):r+e-r*e,a=2*r-i;return[Math.round(256*s(a,i,o+1/3)),Math.round(256*s(a,i,o)),Math.round(256*s(a,i,o-1/3)),n]}(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3])),e)}return null}static fromHex(t,e=new f){const r=4===t.length?4:8,n=(1<<r)-1;let o=Number("0x"+t.substr(1));return isNaN(o)?null:(["b","g","r"].forEach(t=>{const i=o&n;o>>=r,e[t]=4===r?17*i:i}),e.a=1,e)}static fromArray(t,e=new f){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){const r=a(t);return r&&f.fromArray(r,e)||f.fromRgb(t,e)||f.fromHex(t,e)}static fromJSON(t){return t&&new f([t[0],t[1],t[2],t[3]/255])}static toUnitRGB(t){return Object(n.g)(t)?[t.r/255,t.g/255,t.b/255]:null}static toUnitRGBA(t){return Object(n.g)(t)?[t.r/255,t.g/255,t.b/255,null!=t.a?t.a:1]:null}get isBright(){return.299*this.r+.587*this.g+.114*this.b>=127}setColor(t){if("string"==typeof t)f.fromString(t,this);else if(Array.isArray(t))f.fromArray(t,this);else{var e,r,n,o;this._set(null!=(e=t.r)?e:0,null!=(r=t.g)?r:0,null!=(n=t.b)?n:0,null!=(o=t.a)?o:1),t instanceof f||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(){const t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return`#${t.length<2?"0"+t:t}${e.length<2?"0"+e:e}${r.length<2?"0"+r:r}`}toCss(t=!1){const e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){const e=c(this.r),r=c(this.g),n=c(this.b);return 0===t||1!==this.a?[e,r,n,c(255*this.a)]:[e,r,n]}clone(){return new f(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}_sanitize(){return this.r=Math.round(u(this.r,0,255)),this.g=Math.round(u(this.g,0,255)),this.b=Math.round(u(this.b,0,255)),this.a=u(this.a,0,1),this}_set(t,e,r,n){this.r=t,this.g=e,this.b=r,this.a=n}}f.prototype.declaredClass="esri.Color";e.a=f}});