@arcgis/core 4.34.0-next.38 → 4.34.0-next.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Color.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/{00f3fe4a09bbdbc8f8b4.js → 00ae094cc21bc42faa54.js} +1 -1
- package/assets/esri/core/workers/chunks/{7e04b4592128e884b58c.js → 0f51e51db83f303ce5a6.js} +1 -1
- package/assets/esri/core/workers/chunks/{6e82c1d1e02e320ec5e7.js → 14d3039f92b0d96944f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{54658c87396223d85abd.js → 1cbd59918c60a1a21494.js} +1 -1
- package/assets/esri/core/workers/chunks/{7c97c4c8c2cf73835517.js → 1cd15aa69f85ecfa32b0.js} +1 -1
- package/assets/esri/core/workers/chunks/21a9f9c0cc1cde2fee90.js +1 -0
- package/assets/esri/core/workers/chunks/{21aaf2dede61f28727a9.js → 2ae0bda04fd5386b462f.js} +1 -1
- package/assets/esri/core/workers/chunks/{49eac96a01931b8c4ace.js → 364fb103cb139f26b455.js} +1 -1
- package/assets/esri/core/workers/chunks/3af4a410ff0bca7ba2e3.js +1 -0
- package/assets/esri/core/workers/chunks/{8ad95fe91ba0a9f284a2.js → 3f7d7dc05e63fc50325e.js} +1 -1
- package/assets/esri/core/workers/chunks/4970d439d9648e97fd5a.js +1 -0
- package/assets/esri/core/workers/chunks/{48369e4c340413c531ff.js → 4e6e5677b90b00622146.js} +1 -1
- package/assets/esri/core/workers/chunks/{257428fff4bef42716e0.js → 4f3c187a7cb2b1444281.js} +1 -1
- package/assets/esri/core/workers/chunks/{31c6716d9ca188d3b870.js → 554c789f4e875d7e6fd5.js} +1 -1
- package/assets/esri/core/workers/chunks/{a939d2af7e4a359c7b4d.js → 560bb06cf1bf30df4af3.js} +1 -1
- package/assets/esri/core/workers/chunks/{80a930881a99ceda240a.js → 5f11fff5bc16fdec42db.js} +1 -1
- package/assets/esri/core/workers/chunks/{9155dbfce5ef2c25bbbf.js → 791b3130b34b52160c1f.js} +1 -1
- package/assets/esri/core/workers/chunks/{5b2d40a2ce2594ce8eef.js → 95f0c15d83d1f38e01d0.js} +1 -1
- package/assets/esri/core/workers/chunks/{3488e88882f40199ab33.js → a85acb948cc7d22be592.js} +1 -1
- package/assets/esri/core/workers/chunks/{7159e7a3274e64b337ce.js → b481807b31e59cce9931.js} +1 -1
- package/assets/esri/core/workers/chunks/{d29f894491618931d92a.js → bc27cdd7c415ab166536.js} +1 -1
- package/assets/esri/core/workers/chunks/c474800508e3ad5ce9d7.js +1 -0
- package/assets/esri/core/workers/chunks/{23a85252e4164354553e.js → c52314b987c63cd630f7.js} +1 -1
- package/assets/esri/core/workers/chunks/{022091e5240b9d872dd2.js → d1635a7ab0c204852237.js} +1 -1
- package/assets/esri/core/workers/chunks/{c8c85ba6451b5dfc2fc0.js → da228aed337f492456cc.js} +1 -1
- package/assets/esri/core/workers/chunks/ddeaf688d72b2873c4ac.js +1 -0
- package/assets/esri/core/workers/chunks/e08b2e9213d35f85916f.js +1 -0
- package/assets/esri/core/workers/chunks/e6d08230adb90b9a2a17.js +1 -0
- package/colorUtils.js +1 -1
- package/config.js +1 -1
- package/core/AsyncUpdate.js +1 -1
- package/core/Collection.js +1 -1
- package/core/Evented.js +1 -1
- package/core/MultiOriginJSONSupport.js +1 -1
- package/core/ReadOnlyMultiOriginJSONSupport.js +1 -1
- package/identity/IdentityManagerBase.js +1 -1
- package/kernel.js +1 -1
- package/package.json +1 -1
- package/support/revision.js +1 -1
- package/symbols/WaterSymbol3DLayer.js +1 -1
- package/views/2d/engine/AFeatureContainer.js +1 -1
- package/views/2d/engine/Bitmap.js +1 -1
- package/views/2d/engine/Stage.js +1 -1
- package/views/2d/engine/imagery/RasterBitmap.js +1 -1
- package/views/2d/engine/imagery/RasterVFDisplayObject.js +1 -1
- package/views/2d/engine/vectorTiles/VectorTileContainer.js +1 -1
- package/views/2d/engine/webgl/ClippingInfo.js +1 -1
- package/views/2d/engine/webgl/Overlay.js +1 -1
- package/views/2d/engine/webgl/OverlayMultipoint.js +1 -1
- package/views/2d/engine/webgl/TiledDisplayObject.js +1 -1
- package/views/2d/engine/webgl/VideoScreenRenderer.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/TestDisplayObject.js +1 -1
- package/views/2d/grid/GridView2D.js +1 -1
- package/views/2d/layers/BaseDynamicLayerView2D.js +1 -1
- package/views/2d/layers/BaseLayerView2D.js +1 -1
- package/views/2d/layers/BaseLayerViewGL2D.js +1 -1
- package/views/2d/layers/CatalogDynamicGroupLayerView2D.js +1 -1
- package/views/2d/layers/CatalogFootprintLayerView2D.js +1 -1
- package/views/2d/layers/CatalogLayerView2D.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/ImageryLayerView2D.js +1 -1
- package/views/2d/layers/ImageryTileLayerView2D.js +1 -1
- package/views/2d/layers/MapImageLayerView2D.js +1 -1
- package/views/2d/layers/MediaLayerView2D.js +1 -1
- package/views/2d/layers/OGCFeatureLayerView2D.js +1 -1
- package/views/2d/layers/StreamLayerView2D.js +1 -1
- package/views/2d/layers/TileLayerView2D.js +1 -1
- package/views/2d/layers/VectorTileLayerView2D.js +1 -1
- package/views/2d/layers/WMSLayerView2D.js +1 -1
- package/views/2d/layers/WMTSLayerView2D.js +1 -1
- package/views/2d/layers/features/support/TileStore.js +1 -1
- package/views/2d/layers/graphics/GraphicBoundsRenderer.js +1 -1
- package/views/2d/magnifier/MagnifierView2D.js +1 -1
- package/views/3d/analysis/LineOfSightAnalysisView3D.js +1 -1
- package/views/3d/layers/CatalogDynamicGroupLayerView3D.js +1 -1
- package/views/3d/layers/CatalogFootprintLayerView3D.js +1 -1
- package/views/3d/layers/CatalogLayerView3D.js +1 -1
- package/views/3d/layers/DynamicLayerView3D.js +1 -1
- package/views/3d/layers/FeatureLayerViewBase3D.js +1 -1
- package/views/3d/layers/ImageryTileLayerView3D.js +1 -1
- package/views/3d/layers/OGCFeatureLayerView3D.js +1 -1
- package/views/3d/layers/PointCloudLayerView3D.js +1 -1
- package/views/3d/layers/StreamLayerView3D.js +1 -1
- package/views/3d/layers/TileLayerView3D.js +1 -1
- package/views/3d/layers/WMSLayerView3D.js +1 -1
- package/views/3d/layers/WMTSLayerView3D.js +1 -1
- package/views/3d/layers/graphics/GraphicStateTracking.js +1 -1
- package/views/3d/support/LimitGraphicsMap.js +1 -1
- package/views/3d/webgl-engine/lib/SortedRenderGeometryRenderer.js +1 -1
- package/views/View.js +1 -1
- package/views/interactive/editGeometry/EditGeometryOperations.js +1 -1
- package/views/layers/CatalogDynamicGroupLayerView.d.ts +1 -1
- package/views/layers/CatalogDynamicGroupLayerView.js +1 -1
- package/views/layers/CatalogFootprintLayerView.d.ts +1 -1
- package/views/layers/CatalogFootprintLayerView.js +1 -1
- package/views/layers/CatalogLayerView.d.ts +1 -1
- package/views/layers/CatalogLayerView.js +1 -1
- package/views/layers/FeatureLayerView.d.ts +1 -1
- package/views/layers/FeatureLayerView.js +1 -1
- package/views/layers/LayerView.js +1 -1
- package/views/layers/OGCFeatureLayerView.d.ts +1 -1
- package/views/layers/OGCFeatureLayerView.js +1 -1
- package/views/layers/PointCloudLayerView.d.ts +1 -1
- package/views/layers/PointCloudLayerView.js +1 -1
- package/views/layers/RefreshableLayerView.js +1 -1
- package/views/layers/StreamLayerView.d.ts +1 -1
- package/views/layers/StreamLayerView.js +1 -1
- package/views/layers/WMSLayerView.js +1 -1
- package/widgets/Bookmarks/BookmarksViewModel.js +1 -1
- package/widgets/Compass/CompassViewModel.js +1 -1
- package/widgets/CoordinateConversion/CoordinateConversionViewModel.js +1 -1
- package/widgets/DirectionalPad/DirectionalPadViewModel.js +1 -1
- package/widgets/Directions/DirectionsViewModel.js +1 -1
- package/widgets/Features/FeaturesViewModel.js +1 -1
- package/widgets/FloorFilter/FloorFilterViewModel.js +1 -1
- package/widgets/Home/HomeViewModel.js +1 -1
- package/widgets/Search/SearchViewModel.js +1 -1
- package/widgets/Widget.js +1 -1
- package/widgets/support/GeolocationPositioning.js +1 -1
- package/widgets/support/GoTo.d.ts +1 -1
- package/widgets/support/GoTo.js +1 -1
- package/assets/esri/core/workers/chunks/508c302fed242956d3b7.js +0 -1
- package/assets/esri/core/workers/chunks/60d889c58a542e59b07b.js +0 -1
- package/assets/esri/core/workers/chunks/7617fe2fbf223c108f1e.js +0 -1
- package/assets/esri/core/workers/chunks/9595b39e882f9a9ac839.js +0 -1
- package/assets/esri/core/workers/chunks/9ffbd5216aa0a45a4199.js +0 -1
- package/assets/esri/core/workers/chunks/a5c0b365b9f55e63ab52.js +0 -1
- package/assets/esri/core/workers/chunks/d5262c95116d3bdfd117.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8142],{9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r,o,a,i,u,l,s,c,f,d,h,b,p){return[t,e,n,r,o,a,i,u,l,s,c,f,d,h,b,p]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(37539);function o(t,e,n,o,a,i,u=Math.floor(t.length/3)){const l=(0,r.jd)(e,a);if(null==l)return!1;if(l===r.pO){if(t===o&&n===i)return!0;const e=n+3*u;for(let r=n,a=i;r<e;r++,a++)o[a]=t[r];return!0}const s=n+3*u;for(let e=n,r=i;e<s;e+=3,r+=3)l(t,e,o,r);return!0}},29242:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,a,i,u,l){return[t,e,n,r,o,a,i,u,l]}n.d(e,{fA:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635:(t,e,n)=>{function r(t,e,n,r){var o,a=arguments.length,i=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(i=(a<3?o(i):a>3?o(e,n,i):o(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>i,mS:()=>o}),Object.create,Object.create;var a="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function i(t){function e(e){t.error=t.hasError?new a(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var a=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(a).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},32114:(t,e,n)=>{n.d(e,{Rc:()=>h,J8:()=>b,rq:()=>f,Km:()=>d}),n(44208);var r=n(26390),o=n(29242),a=n(9093),i=n(82534),u=n(48163),l=n(51850),s=n(91829);class c{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new c(u.vt)}static createVec3f64(){return new c(l.vt)}static createVec4f64(){return new c(s.vt)}static createMat3f64(){return new c(o.vt)}static createMat4f64(){return new c(a.vt)}static createQuatf64(){return new c(i.vt)}get test(){}}c.createVec2f64();const f=c.createVec3f64(),d=c.createVec4f64(),h=(c.createMat3f64(),c.createMat4f64()),b=c.createQuatf64()},34142:(t,e,n)=>{n.r(e),n.d(e,{default:()=>I});var r=n(4576),o=n(34275),a=n(67026),i=n(82534),u=n(38954),l=n(72385),s=n(16930),c=n(9762),f=(n(44208),n(63531)),d=n(69846),h=n(48425),b=n(59418),p=n(37203);function g(t,e,n){return t?.attributeInfo.useElevation?e?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):null:t?.attributeInfo.storageInfo?(0,b.m0)(t.attributeInfo.storageInfo,t.buffer,n,!0):null}function m(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function y(t){let e=0;for(const n of t||[])e|=1<<n;return e}var M=n(57005);class w{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];null!=e.pointIdFilterMap&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.mw)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=function(t,e){if(null==t.encoding||""===t.encoding){const n=(0,b.wH)(e,t);if(null==n.vertexAttributes.position)return;const r=(0,b.MA)(e,n.vertexAttributes.position),o=n.header.fields,a=[o.offsetX,o.offsetY,o.offsetZ],i=[o.scaleX,o.scaleY,o.scaleZ],u=r.length/3,l=new Float64Array(3*u);for(let t=0;t<u;t++)l[3*t]=r[3*t]*i[0]+a[0],l[3*t+1]=r[3*t+1]*i[1]+a[1],l[3*t+2]=r[3*t+2]*i[2]+a[2];return l}if("lepcc-xyz"===t.encoding)return(0,p.Me)(e).result}(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const a=new Array,i=g(t.primaryAttributeData,e,n);null!=t.primaryAttributeData&&i&&a.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:i});const u=g(t.modulationAttributeData,e,n);null!=t.modulationAttributeData&&u&&a.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:u});let l=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:a}=t;let i=null,u=null;if(e&&a)i=e;else if(e&&"pointCloudUniqueValueRenderer"===o?.type){u=h.A.fromJSON(o);const t=u.colorUniqueValueInfos;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.includes(r)){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o?.type){u=d.A.fromJSON(o);const t=u.stops;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],a=t.length-1;if(r<t[0].value)i[3*o]=t[0].color.r,i[3*o+1]=t[0].color.g,i[3*o+2]=t[0].color.b;else if(r>=t[a].value)i[3*o]=t[a].color.r,i[3*o+1]=t[a].color.g,i[3*o+2]=t[a].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);i[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),i[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),i[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o?.type){u=f.A.fromJSON(o);const t=u.colorClassBreakInfos;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else i=new Uint8Array(3*r).fill(255);if(n&&u?.colorModulation){const t=u.colorModulation.minValue,e=u.colorModulation.maxValue,o=.3;for(let a=0;a<r;a++){const r=n[a],u=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);i[3*a]=u*i[3*a],i[3*a+1]=u*i[3*a+1],i[3*a+2]=u*i[3*a+2]}}return i}(t.rendererInfo,i,u,n);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const i=t.filterAttributesData.filter(r.Ru).map(t=>{const r=g(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return a.push(o),o});o=new Uint32Array(n),n=function(t,e,n,r,o){const a=t.length/3;let i=0;for(let u=0;u<a;u++){let a=!0;for(let t=0;t<r.length&&a;t++){const{filterJSON:e}=r[t],n=o[t].values[u];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;e.values.includes(n)===t&&(a=!1);break}case"pointCloudBitfieldFilter":{const t=y(e.requiredSetBits),r=y(e.requiredClearBits);(n&t)===t&&0===(n&r)||(a=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,i=1===t,u=t===r;let l=!1;for(const t of e.includedReturns)if("last"===t&&u||"firstOfMany"===t&&i&&o||"lastOfMany"===t&&u&&o||"single"===t&&!o){l=!0;break}l||(a=!1);break}}}a&&(n[i]=u,t[3*i]=t[3*u],t[3*i+1]=t[3*u+1],t[3*i+2]=t[3*u+2],e[3*i]=e[3*u],e[3*i+1]=e[3*u+1],e[3*i+2]=e[3*u+2],i++)}return i}(e,l,o,t.filterInfo,i)}for(const r of t.userAttributesData){const t=g(r,e,n);a.push({attributeInfo:r.attributeInfo,values:t})}3*n<l.length&&(l=new Uint8Array(l.buffer.slice(0,3*n))),function(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}(e,n,t.elevationOffset);const c=v(e,n,M.ab.fromData(t.obbData),s.A.fromJSON(t.inSR),s.A.fromJSON(t.outSR));return{obbData:t.obbData,points:c,rgb:l,attributes:a,pointIdFilterMap:o}}}function v(t,e,n,r,o){if(!(0,c.projectBuffer)(t,r,0,t,o,0,e))throw new Error("Can't reproject");const i=(0,l.o8)(n.center),s=(0,l.vt)(),f=(0,l.vt)(),d=(0,l.o8)(n.halfSize);(0,a.Xr)(A,n.quaternion);const h=new Float32Array(3*e);for(let n=0;n<e;n++){let e=3*n;s[0]=t[e]-i[0],s[1]=t[e+1]-i[1],s[2]=t[e+2]-i[2],(0,u.v)(f,s,A),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),h[e++]=s[0],h[e++]=s[1],h[e]=s[2]}return n.halfSize=d,h}const A=(0,i.vt)();function I(){return new w}},37203:(t,e,n)=>{n.d(e,{Ax:()=>m,Me:()=>s,mb:()=>b});var r=n(49186);const o=!0,a={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function i(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+a.identifierOffset,a.identifierLength)),version:e.getUint16(n+a.versionOffset,o),checksum:e.getUint32(n+a.checksumOffset,o)}}const u={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 l(t,e){return{sizeLo:t.getUint32(e+u.sizeLo,o),sizeHi:t.getUint32(e+u.sizeHi,o),minX:t.getFloat64(e+u.minX,o),minY:t.getFloat64(e+u.minY,o),minZ:t.getFloat64(e+u.minZ,o),maxX:t.getFloat64(e+u.maxX,o),maxY:t.getFloat64(e+u.maxY,o),maxZ:t.getFloat64(e+u.maxZ,o),errorX:t.getFloat64(e+u.errorX,o),errorY:t.getFloat64(e+u.errorY,o),errorZ:t.getFloat64(e+u.errorZ,o),count:t.getUint32(e+u.count,o),reserved:t.getUint32(e+u.reserved,o)}}function s(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:s}=i(t,e,n);if(n+=a.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(s>1)throw new r.A("lepcc-decode-error","Unknown version");const f=l(e,n);if(n+=u.byteCount,f.sizeHi*2**32+f.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),h=[],b=[],p=[],g=[];if(n=c(t,n,h),n=c(t,n,b),n=c(t,n,p),n=c(t,n,g),n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad length");let m=0,y=0;for(let t=0;t<h.length;t++){y+=h[t];let e=0;for(let n=0;n<b[t];n++){e+=p[m];const t=g[m];d[3*m]=Math.min(f.maxX,f.minX+2*f.errorX*e),d[3*m+1]=Math.min(f.maxY,f.minY+2*f.errorY*y),d[3*m+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*t),m++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function c(t,e,n){const r=[];e=f(t,e,r);const o=[];for(let a=0;a<r.length;a++){o.length=0,e=f(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[a])}return e}function f(t,e,n){const a=new DataView(t,e),i=a.getUint8(0),u=31&i,l=!!(32&i),s=(192&i)>>6;let c=0;if(0===s)c=a.getUint32(1,o),e+=5;else if(1===s)c=a.getUint16(1,o),e+=3;else{if(2!==s)throw new r.A("lepcc-decode-error","Bad count type");c=a.getUint8(1),e+=2}if(l)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*u/8),d=new Uint8Array(t,e,f);let h=0,b=0,p=0;const g=-1>>>32-u;for(let t=0;t<c;t++){for(;b<u;)h|=d[p]<<b,b+=8,p+=1;n[t]=h&g,h>>>=u,b-=u,b+u>32&&(h|=d[p-1]>>8-b)}return e+p}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function h(t,e){return{sizeLo:t.getUint32(e+d.sizeLo,o),sizeHi:t.getUint32(e+d.sizeHi,o),count:t.getUint32(e+d.count,o),colorMapCount:t.getUint16(e+d.colorMapCount,o),lookupMethod:t.getUint8(e+d.lookupMethod),compressionMethod:t.getUint8(e+d.compressionMethod)}}function b(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=h(e,n);if(n+=d.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===l.lookupMethod||1===l.lookupMethod)&&0===l.compressionMethod){if(3*l.colorMapCount+l.count+n!==t.byteLength||l.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*l.colorMapCount),o=new Uint8Array(t,n+3*l.colorMapCount,l.count),a=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++){const n=o[t];a[3*t]=e[3*n],a[3*t+1]=e[3*n+1],a[3*t+2]=e[3*n+2]}return a}if(0===l.lookupMethod&&0===l.compressionMethod){if(3*l.count+n!==t.byteLength||0!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(l.lookupMethod<=2&&1===l.compressionMethod){if(n+3!==t.byteLength||1!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=e.getUint8(n),a=e.getUint8(n+1),i=e.getUint8(n+2),u=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++)u[3*t]=o,u[3*t+1]=a,u[3*t+2]=i;return u}throw new r.A("lepcc-decode-error","Bad method "+l.lookupMethod+","+l.compressionMethod)}const p={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function g(t,e){return{sizeLo:t.getUint32(e+p.sizeLo,o),sizeHi:t.getUint32(e+p.sizeHi,o),count:t.getUint32(e+p.count,o),scaleFactor:t.getUint16(e+p.scaleFactor,o),bitsPerPoint:t.getUint8(e+p.bitsPerPoint),reserved:t.getUint8(e+p.reserved)}}function m(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=g(e,n);if(n+=p.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const s=new Uint16Array(l.count);if(8===l.bitsPerPoint){if(l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else if(16===l.bitsPerPoint){if(2*l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else{const e=[];if(f(t,n,e)!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}return s}},37539:(t,e,n)=>{n.d(e,{pO:()=>p,jd:()=>d,Tp:()=>h,w5:()=>f});var r=n(34727),o=n(83047),a=n(73941),i=n(79258);Math.PI;const u=i.$O.radius,l=i.$O.eccentricitySquared,s={a1:u*l,a2:u*l*u*l,a3:u*l*l/2,a4:u*l*u*l*2.5,a5:u*l+u*l*l/2,a6:1-l};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius;var c=n(21325);const f={2:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:m,11:y,2:p,4:k},5:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:m,11:y,2:p,4:k},7:{5:null,7:p,9:null,10:p,1:null,6:A,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){const o=t[e]/E,a=P-2*Math.atan(Math.exp(-t[e+1]/E)),i=E+t[e+2],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i},6:null,8:null,0:null,3:p,11:function(t,e,n,r){g(t,e,n,r),y(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),k(n,r,n,r)}},4:{5:_,7:null,9:null,10:_,1:function(t,e,n,r){_(t,e,n,r),I(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){_(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){_(t,e,n,r),y(n,r,n,r)},2:_,4:p},1:{5:S,7:null,9:null,10:S,1:p,6:null,8:null,0:null,3:function(t,e,n,r){S(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){S(t,e,n,r),y(n,r,n,r)},2:S,4:function(t,e,n,r){S(t,e,n,r),k(n,r,n,r)}},6:{5:null,7:O,9:null,10:O,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:I,6:A,8:v,0:null,3:m,11:y,2:p,4:k},11:{5:M,7:null,9:null,10:M,1:function(t,e,n,r){M(t,e,n,r),I(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){M(t,e,n,r),m(n,r,n,r)},11:p,2:M,4:function(t,e,n,r){M(t,e,n,r),k(n,r,n,r)}}};function d(t,e){return h(t,e)?.projector}function h(t,e){if(null==t||null==e)return null;if(T.source.spatialReference===t&&T.dest.spatialReference===e)return T;const n=b(t,T.source),r=b(e,T.dest);return 0===n&&0===r?(0,c.aI)(t,e)?T.projector=p:T.projector=null:T.projector=f[n][r],T}function b(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,a.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===a.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===a.FY.wkt?e.spatialReferenceId=6:t.wkt===a.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function g(t,e,n,r){n[r]=z*(t[e]/E),n[r+1]=z*(P-2*Math.atan(Math.exp(-t[e+1]/E))),n[r+2]=t[e+2]}function m(t,e,n,o){!function(t,e,n,o,a){const i=.4999999*Math.PI,u=(0,r.qE)(x*t[e+1],-i,i),l=Math.sin(u);n[o++]=x*t[e]*a.radius,n[o++]=a.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]}(t,e,n,o,i.$O)}function y(t,e,n,r){n[r]=t[e]*F,n[r+1]=t[e+1]*F,n[r+2]=t[e+2]}function M(t,e,n,r){n[r]=t[e]*j,n[r+1]=t[e+1]*j,n[r+2]=t[e+2]}function w(t,e,n,r,o){const a=o+t[e+2],i=x*t[e+1],u=x*t[e],l=Math.cos(i)*a;n[r]=Math.cos(u)*l,n[r+1]=Math.sin(u)*l,n[r+2]=Math.sin(i)*a}function v(t,e,n,r){w(t,e,n,r,i.Sw.radius)}function A(t,e,n,r){w(t,e,n,r,i.sH.radius)}function I(t,e,n,r){w(t,e,n,r,i.$O.radius)}function U(t,e,n,o,a){const i=t[e],u=t[e+1],l=t[e+2],s=Math.sqrt(i*i+u*u+l*l),c=(0,r.YN)(l/(0===s?1:s)),f=Math.atan2(u,i);n[o++]=z*f,n[o++]=z*c,n[o]=s-a}function C(t,e,n,r){U(t,e,n,r,i.Sw.radius)}function O(t,e,n,r){U(t,e,n,r,i.sH.radius)}function S(t,e,n,r){U(t,e,n,r,i.$O.radius)}function k(t,e,n,r){!function(t,e,n,r,o){const a=x*t[e],i=x*t[e+1],u=t[e+2],l=Math.sin(i),s=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+u)*s*Math.cos(a),n[r++]=(c+u)*s*Math.sin(a),n[r++]=(c*(1-o.eccentricitySquared)+u)*l}(t,e,n,r,i.$O)}function _(t,e,n,r){const o=s,a=t[e],u=t[e+1],l=t[e+2];let c,f,d,h,b,p,g,m,y,M,w,v,A,I,U,C,O,S,k,_,T;c=Math.abs(l),f=a*a+u*u,d=Math.sqrt(f),h=f+l*l,b=Math.sqrt(h),_=Math.atan2(u,a),p=l*l/h,g=f/h,I=o.a2/b,U=o.a3-o.a4/b,g>.3?(m=c/b*(1+g*(o.a1+I+p*U)/b),k=Math.asin(m),M=m*m,y=Math.sqrt(1-M)):(y=d/b*(1-p*(o.a5-I-g*U)/b),k=Math.acos(y),M=1-y*y,m=Math.sqrt(M)),w=1-i.$O.eccentricitySquared*M,v=i.$O.radius/Math.sqrt(w),A=o.a6*v,I=d-v*y,U=c-A*m,O=y*I+m*U,C=y*U-m*I,S=C/(A/w+O),k+=S,T=O+C*S/2,l<0&&(k=-k),n[r++]=z*_,n[r++]=z*k,n[r]=T}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},x=(0,r.kU)(1),z=(0,r.KJ)(1),P=.5*Math.PI,E=i.$O.radius,F=E*Math.PI/180,j=180/(E*Math.PI)},38954:(t,e,n)=>{n.d(e,{A:()=>b,B:()=>h,C:()=>c,D:()=>f,E:()=>P,F:()=>q,H:()=>R,a:()=>E,b:()=>m,c:()=>i,d:()=>s,e:()=>U,f:()=>l,g:()=>g,h:()=>C,i:()=>u,j:()=>y,k:()=>w,l:()=>a,m:()=>O,n:()=>I,o:()=>k,q:()=>z,r:()=>A,s:()=>M,t:()=>S,u:()=>v,v:()=>_,w:()=>d,x:()=>D,y:()=>N,z:()=>p});var r=n(51850),o=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function s(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function h(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function b(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function p(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function m(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function A(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function I(t,e){const n=e[0],r=e[1],o=e[2];let a=n*n+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function U(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function C(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2];return t[0]=o*l-a*u,t[1]=a*i-r*l,t[2]=r*u-o*i,t}function O(t,e,n,r){const o=e[0],a=e[1],i=e[2];return t[0]=o+r*(n[0]-o),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function S(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*a+n[12],t[1]=n[1]*r+n[5]*o+n[9]*a+n[13],t[2]=n[2]*r+n[6]*o+n[10]*a+n[14],t}function k(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=r*n[0]+o*n[3]+a*n[6],t[1]=r*n[1]+o*n[4]+a*n[7],t[2]=r*n[2]+o*n[5]+a*n[8],t}function _(t,e,n){const r=n[0],o=n[1],a=n[2],i=n[3],u=e[0],l=e[1],s=e[2],c=o*s-a*l,f=a*u-r*s,d=r*l-o*u,h=o*d-a*f,b=a*c-r*d,p=r*f-o*c,g=2*i;return t[0]=u+c*g+2*h,t[1]=l+f*g+2*b,t[2]=s+d*g+2*p,t}const T=(0,r.vt)(),x=(0,r.vt)();function z(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],a=n[2]-e[2];let i=r*r+o*o+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=o*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const E=s,F=c,j=f,q=y,D=M,R=a,N=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(t,e){I(T,t),I(x,e);const n=U(T,x);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,a){const i=1-a,u=i*i,l=a*a,s=u*i,c=3*a*u,f=3*l*i,d=l*a;return t[0]=e[0]*s+n[0]*c+r[0]*f+o[0]*d,t[1]=e[1]*s+n[1]*c+r[1]*f+o[1]*d,t[2]=e[2]*s+n[2]*c+r[2]*f+o[2]*d,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:C,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2],s=o*l-a*u,c=a*i-r*l,f=r*u-o*i,d=Math.sqrt(s*s+c*c+f*f);return t[0]=s/d,t[1]=c/d,t[2]=f/d,t},direction:P,dist:q,distance:y,div:j,divide:f,dot:U,equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],u=e[1],l=e[2],s=(0,o.FD)();return Math.abs(n-i)<=s*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-u)<=s*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(a-l)<=s*Math.max(1,Math.abs(a),Math.abs(l))},exactEquals:z,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,a){const i=a*a,u=i*(2*a-3)+1,l=i*(a-2)+a,s=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*u+n[0]*l+r[0]*s+o[0]*c,t[1]=e[1]*u+n[1]*l+r[1]*s+o[1]*c,t[2]=e[2]*u+n[2]*l+r[2]*s+o[2]*c,t},inverse:A,len:R,length:a,lerp:O,max:p,min:b,mul:F,multiply:c,negate:v,normalize:I,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0],a[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),a[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),a[1]=o[1],a[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),a[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),a[2]=o[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],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},scale:g,scaleAndAdd:m,set:u,sign:h,sqrDist:D,sqrLen:N,squaredDistance:M,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:E,subtract:s,transformMat3:k,transformMat4:S,transformQuat:_},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>h,G1:()=>p,TS:()=>a,Tf:()=>y,V6:()=>o,Vm:()=>b,ay:()=>l,c1:()=>g,c4:()=>i,j5:()=>s,lT:()=>f,oW:()=>c,vC:()=>M});const r={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,50,1]};function o(t){return!!r[t]||!!r[t.toLowerCase()]}function a(t){return r[t]??r[t.toLowerCase()]}function i(t){return[...a(t)]}function u(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const o=(t%360+360)%360/360,a=n<=.5?n*(e+1):n+e-n*e,i=2*n-a;return[Math.round(255*u(i,a,o+1/3)),Math.round(255*u(i,a,o)),Math.round(255*u(i,a,o-1/3)),r]}function s(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,o=e?1:17,a=e?9===t.length:5===t.length;let i=Number("0x"+t.slice(1));if(isNaN(i))return null;const u=[0,0,0,1];let l;return a&&(l=i&r,i>>=n,u[3]=o*l/255),l=i&r,i>>=n,u[2]=o*l,l=i&r,i>>=n,u[1]=o*l,l=i&r,i>>=n,u[0]=o*l,u}function c(t){if("#"!==t[0]||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),o=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){const e=t[0];if("%"===e.charAt(e.length-1)){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),d(e)}return d(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function d(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?p(t[3]):1,t}function h(t){let e=o(t)?a(t):null;return e??=f(t),e??=c(t),e}function b(t){const e=h(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function p(t){return m(t,0,1)}function g(t){return Math.round(m(t,0,255))}function m(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const y=2.2,M={ALWAYS:"always",UNLESS_OPAQUE:"unless-opaque"}},44280:(t,e,n)=>{n.d(e,{EJ:()=>l,g7:()=>u,gr:()=>i});var r=n(34727),o=n(38954),a=n(51850);function i(t,e){return(0,o.e)(t,e)/(0,o.l)(t)}function u(t,e){const n=(0,o.e)(t,e)/((0,o.l)(t)*(0,o.l)(e));return-(0,r.XM)(n)}function l(t,e,n){(0,o.n)(s,t),(0,o.n)(c,e);const a=(0,o.e)(s,c),i=(0,r.XM)(a),u=(0,o.h)(s,s,c);return(0,o.e)(u,n)<0?2*Math.PI-i:i}const s=(0,a.vt)(),c=(0,a.vt)()},48163:(t,e,n)=>{function r(){return[0,0]}function o(t){return[t[0],t[1]]}function a(t,e){return[t,e]}function i(){return a(1,1)}function u(){return a(1,0)}function l(){return a(0,1)}n.d(e,{Un:()=>s,fA:()=>a,o8:()=>o,vt:()=>r});const s=i(),c=u(),f=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:s,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:a,ones:i,unitX:u,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850:(t,e,n)=>{function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function a(t,e,n){return[t,e,n]}function i(t,e,n){return[t,e,n]}function u(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return a(1,1,1)}function s(){return a(1,0,0)}function c(){return a(0,1,0)}function f(){return a(0,0,1)}n.d(e,{CN:()=>i,Cb:()=>g,Cw:()=>b,JP:()=>p,Un:()=>h,ci:()=>u,fA:()=>a,o8:()=>o,uY:()=>d,vt:()=>r});const d=[0,0,0],h=l(),b=s(),p=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:b,UNIT_Y:p,UNIT_Z:g,ZEROS:d,clone:o,create:r,freeze:i,fromArray:u,fromValues:a,ones:l,unitX:s,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},59418:(t,e,n)=>{n.d(e,{wH:()=>p,MA:()=>d,E5:()=>h,m0:()=>m});var r=n(49186),o=n(4718),a=n(53966),i=n(34275),u=n(37203);const l=()=>a.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(t,e,n){let o="",a=0;for(;a<n;){const i=t[e+a];if(i<128)o+=String.fromCharCode(i),a++;else if(i>=192&&i<224){if(a+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const u=(31&i)<<6|63&t[e+a+1];o+=String.fromCharCode(u),a+=2}else if(i>=224&&i<240){if(a+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(15&i)<<12|(63&t[e+a+1])<<6|63&t[e+a+2];o+=String.fromCharCode(u),a+=3}else{if(!(i>=240&&i<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(a+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(7&i)<<18|(63&t[e+a+1])<<12|(63&t[e+a+2])<<6|63&t[e+a+3];if(u>=65536){const t=55296+(u-65536>>10),e=56320+(1023&u);o+=String.fromCharCode(t,e)}else o+=String.fromCharCode(u);a+=4}}}return o}function c(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const a=e[o],i=a.valueType||a.type,u=M[i];n.fields[a.property]=u(t,r),r+=y[i].BYTES_PER_ELEMENT}return n.byteCount=r,n}function f(t,e,n){const o=[];let a,i,u=0;for(i=0;i<t;i+=1){if(a=e[i],a>0){if(o.push(s(n,u,a-1)),0!==n[u+a-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);u+=a}return o}function d(t,e){return new(0,y[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function h(t,e){if(!t)return null;const n=t[e];return(0,i.IY)(t)?n===i.PI?null:n:(0,i._G)(t)?n===i.h2?null:n:n!=n?null:n}function b(t,e,n){if(e!==t&&l().error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}function p(t,e){const n=c(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},a=n.fields,i=null!=a.vertexCount?a.vertexCount:a.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:i},a=g[t]||"_"+t;o.vertexAttributes[a]=n,r+=v(n.valueType)*n.valuesPerElement*i}const u=a.faceCount;if(e.faces&&u){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:u};o.faces[t]=n,r+=v(n.valueType)*n.valuesPerElement*u}}const l=a.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&l){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:l};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:v(n.valueType))*n.valuesPerElement*l}}return b(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const g={position:"position",normal:"normal",color:"color",uv0:"uv0",region:"uvRegion"};function m(t,e,n,a=!1){if("lepcc-rgb"===t.encoding)return a?(0,u.mb)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint8Array(t):t.length<i.y9?Array.from(t):t}((0,u.mb)(e));if("lepcc-intensity"===t.encoding)return a?(0,u.Ax)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint16Array(t):t.length<i.y9?Array.from(t):t}((0,u.Ax)(e));if(null!=t.encoding&&""!==t.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(l().warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(l().warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const s=function(t,e,n){const a=null!=e.header?c(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},i={header:a,byteOffset:a.byteCount,byteCount:0,entries:Object.create(null)};let u=a.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],l=(0,o.o8)(e[n]);if(l.count=a.fields.count??0,"String"===l.valueType){if(l.byteOffset=u,l.byteCount=a.fields[n+"ByteCount"],"UTF-8"!==l.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:l.encoding});if(l.timeEncoding&&"ECMA_ISO8601"!==l.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:l.timeEncoding})}else{if(!w(l.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:l.valueType});{const t=v(l.valueType);u+=u%t!==0?t-u%t:0,l.byteOffset=u,l.byteCount=t*l.valuesPerElement*l.count}}u+=l.byteCount??0,i.entries[n]=l}return i.byteCount=u-i.byteOffset,i}(e,t,n);b(s.byteOffset+s.byteCount,e.byteLength,"attribute");const p=s.entries.attributeValues||s.entries.objectIds;if(p){if("String"===p.valueType){const t=s.entries.attributeByteCounts,n=d(e,t),r=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,p);return p.timeEncoding?function(t,e,n){return f(t,e,n).map(t=>{const e=t?Date.parse(t):null;return null==e||Number.isNaN(e)?null:e})}(t.count,n,r):f(t.count,n,r)}return a?d(e,p):function(t,e){const n=d(t,e);if(n.length>=i.y9)return n;const r=new Array;return n.forEach((t,e)=>r.push(h(n,e))),r}(e,p)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const y={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},M={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 w(t){return y.hasOwnProperty(t)}function v(t){return w(t)?y[t].BYTES_PER_ELEMENT:0}},72385:(t,e,n)=>{function r(){return new Float32Array(3)}function o(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function i(){return r()}function u(){return a(1,1,1)}function l(){return a(1,0,0)}function s(){return a(0,1,0)}function c(){return a(0,0,1)}n.d(e,{fA:()=>a,o8:()=>o,vt:()=>r});const f=i(),d=u(),h=l(),b=s(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:h,UNIT_Y:b,UNIT_Z:p,ZEROS:f,clone:o,create:r,fromValues:a,ones:u,unitX:l,unitY:s,unitZ:c,zeros:i},Symbol.toStringTag,{value:"Module"}))},77690:(t,e,n)=>{n.d(e,{B8:()=>u,Ge:()=>d,I0:()=>f,KC:()=>l,hZ:()=>a,hs:()=>c,lw:()=>s,mg:()=>i,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function a(t,e,n,r,o,a,i,u,l,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=i,t[6]=u,t[7]=l,t[8]=s,t}function i(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l;let b=n*f+r*d+o*h;return b?(b=1/b,t[0]=f*b,t[1]=(-c*r+o*s)*b,t[2]=(u*r-o*i)*b,t[3]=d*b,t[4]=(c*n-o*l)*b,t[5]=(-u*n+o*a)*b,t[6]=h*b,t[7]=(-s*n+r*l)*b,t[8]=(i*n-r*a)*b,t):null}function l(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8];return t[0]=i*c-u*s,t[1]=o*s-r*c,t[2]=r*u-o*i,t[3]=u*l-a*c,t[4]=n*c-o*l,t[5]=o*a-n*u,t[6]=a*s-i*l,t[7]=r*l-n*s,t[8]=n*i-r*a,t}function s(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1],b=n[2],p=n[3],g=n[4],m=n[5],y=n[6],M=n[7],w=n[8];return t[0]=d*r+h*i+b*s,t[1]=d*o+h*u+b*c,t[2]=d*a+h*l+b*f,t[3]=p*r+g*i+m*s,t[4]=p*o+g*u+m*c,t[5]=p*a+g*l+m*f,t[6]=y*r+M*i+w*s,t[7]=y*o+M*u+w*c,t[8]=y*a+M*l+w*f,t}function c(t,e,n){const r=n[0],o=n[1],a=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=a*e[6],t[7]=a*e[7],t[8]=a*e[8],t}function f(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=n+n,u=r+r,l=o+o,s=n*i,c=r*i,f=r*u,d=o*i,h=o*u,b=o*l,p=a*i,g=a*u,m=a*l;return t[0]=1-f-b,t[3]=c-m,t[6]=d+g,t[1]=c+m,t[4]=1-s-b,t[7]=h-p,t[2]=d-g,t[5]=h+p,t[8]=1-s-f,t}function d(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=e[9],d=e[10],h=e[11],b=e[12],p=e[13],g=e[14],m=e[15],y=n*u-r*i,M=n*l-o*i,w=n*s-a*i,v=r*l-o*u,A=r*s-a*u,I=o*s-a*l,U=c*p-f*b,C=c*g-d*b,O=c*m-h*b,S=f*g-d*p,k=f*m-h*p,_=d*m-h*g;let T=y*_-M*k+w*S+v*O-A*C+I*U;return T?(T=1/T,t[0]=(u*_-l*k+s*S)*T,t[1]=(l*O-i*_-s*C)*T,t[2]=(i*k-u*O+s*U)*T,t[3]=(o*k-r*_-a*S)*T,t[4]=(n*_-o*O+a*C)*T,t[5]=(r*O-n*k-a*U)*T,t[6]=(p*I-g*A+m*v)*T,t[7]=(g*w-b*I-m*M)*T,t[8]=(b*A-p*w+m*y)*T,t):null}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const b=s,p=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:l,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],a=t[4],i=t[5],u=t[6],l=t[7],s=t[8];return e*(s*a-i*l)+n*(-s*o+i*u)+r*(l*o-a*u)},equals:function(t,e){const n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8],d=e[0],h=e[1],b=e[2],p=e[3],g=e[4],m=e[5],y=e[6],M=e[7],w=e[8],v=(0,r.FD)();return Math.abs(n-d)<=v*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(o-h)<=v*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(i-p)<=v*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(l-m)<=v*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(s-y)<=v*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(c-M)<=v*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(f-w)<=v*Math.max(1,Math.abs(f),Math.abs(w))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:u,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8];return Math.abs(1-(n*n+i*i+s*s))<=e&&Math.abs(1-(o*o+u*u+c*c))<=e&&Math.abs(1-(a*a+l*l+f*f))<=e},mul:b,multiply:s,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],a=e[4],i=e[5],u=e[6],l=e[8],s=e[9],c=e[10],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l,b=n*f+r*d+o*h;if(!b)return null;const p=1/b;return t[0]=f*p,t[1]=(-c*r+o*s)*p,t[2]=(u*r-o*i)*p,t[3]=d*p,t[4]=(c*n-o*l)*p,t[5]=(-u*n+o*a)*p,t[6]=h*p,t[7]=(-s*n+r*l)*p,t[8]=(i*n-r*a)*p,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=Math.sin(n),h=Math.cos(n);return t[0]=h*r+d*i,t[1]=h*o+d*u,t[2]=h*a+d*l,t[3]=h*i-d*r,t[4]=h*u-d*o,t[5]=h*l-d*a,t[6]=s,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:a,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:h,translate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1];return t[0]=r,t[1]=o,t[2]=a,t[3]=i,t[4]=u,t[5]=l,t[6]=d*r+h*i+s,t[7]=d*o+h*u+c,t[8]=d*a+h*l+f,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},82534:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},93223:(t,e,n)=>{n.d(e,{e:()=>a});var r=n(66552),o=n(10107);function a(t,e={}){const n=t instanceof r.J?t:new r.J(t,e),{alwaysWriteDefaults:a,default:i,ignoreUnknown:u=!0,name:l,nonNullable:s,readOnly:c=!1}=e;return(0,o.MZ)({type:u?n.apiValues:String,json:{type:n.jsonValues,default:i,name:l,read:!c&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:a}},nonNullable:s,readOnly:c})}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8142],{9093:(t,e,n)=>{function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r,o,a,i,u,l,s,c,f,d,h,b,p){return[t,e,n,r,o,a,i,u,l,s,c,f,d,h,b,p]}},Symbol.toStringTag,{value:"Module"}))},9762:(t,e,n)=>{n.r(e),n.d(e,{projectBuffer:()=>o});var r=n(37539);function o(t,e,n,o,a,i,u=Math.floor(t.length/3)){const l=(0,r.jd)(e,a);if(null==l)return!1;if(l===r.pO){if(t===o&&n===i)return!0;const e=n+3*u;for(let r=n,a=i;r<e;r++,a++)o[a]=t[r];return!0}const s=n+3*u;for(let e=n,r=i;e<s;e+=3,r+=3)l(t,e,o,r);return!0}},29242:(t,e,n)=>{function r(){return[1,0,0,0,1,0,0,0,1]}function o(t,e,n,r,o,a,i,u,l){return[t,e,n,r,o,a,i,u,l]}n.d(e,{fA:()=>o,vt:()=>r,zK:()=>a});const a=[1,0,0,0,1,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:function(t){return[t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8]]},create:r,fromValues:o},Symbol.toStringTag,{value:"Module"}))},31635:(t,e,n)=>{function r(t,e,n,r){var o,a=arguments.length,i=a<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)i=Reflect.decorate(t,e,n,r);else for(var u=t.length-1;u>=0;u--)(o=t[u])&&(i=(a<3?o(i):a>3?o(e,n,i):o(e,n))||i);return a>3&&i&&Object.defineProperty(e,n,i),i}function o(t,e,n){if(null!=e){if("object"!=typeof e&&"function"!=typeof e)throw new TypeError("Object expected.");var r,o;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=e[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=e[Symbol.dispose],n&&(o=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");o&&(r=function(){try{o.call(this)}catch(t){return Promise.reject(t)}}),t.stack.push({value:e,dispose:r,async:n})}else n&&t.stack.push({async:!0});return e}n.d(e,{Cg:()=>r,hk:()=>i,mS:()=>o}),Object.create,Object.create;var a="function"==typeof SuppressedError?SuppressedError:function(t,e,n){var r=new Error(n);return r.name="SuppressedError",r.error=t,r.suppressed=e,r};function i(t){function e(e){t.error=t.hasError?new a(e,t.error,"An error was suppressed during disposal."):e,t.hasError=!0}var n,r=0;return function o(){for(;n=t.stack.pop();)try{if(!n.async&&1===r)return r=0,t.stack.push(n),Promise.resolve().then(o);if(n.dispose){var a=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(a).then(o,function(t){return e(t),o()})}else r|=1}catch(t){e(t)}if(1===r)return t.hasError?Promise.reject(t.error):Promise.resolve();if(t.hasError)throw t.error}()}},32114:(t,e,n)=>{n.d(e,{Rc:()=>h,J8:()=>b,rq:()=>f,Km:()=>d}),n(44208);var r=n(26390),o=n(29242),a=n(9093),i=n(82534),u=n(48163),l=n(51850),s=n(91829);class c{constructor(t){this._create=t,this._items=new Array,this._itemsPtr=0}get(){return 0===this._itemsPtr&&(0,r.d)(()=>this._reset()),this._itemsPtr>=this._items.length&&this._items.push(this._create()),this._items[this._itemsPtr++]}_reset(){const t=2*this._itemsPtr;this._items.length>t&&(this._items.length=t),this._itemsPtr=0}static createVec2f64(){return new c(u.vt)}static createVec3f64(){return new c(l.vt)}static createVec4f64(){return new c(s.vt)}static createMat3f64(){return new c(o.vt)}static createMat4f64(){return new c(a.vt)}static createQuatf64(){return new c(i.vt)}get test(){}}c.createVec2f64();const f=c.createVec3f64(),d=c.createVec4f64(),h=(c.createMat3f64(),c.createMat4f64()),b=c.createQuatf64()},34142:(t,e,n)=>{n.r(e),n.d(e,{default:()=>I});var r=n(4576),o=n(34275),a=n(67026),i=n(82534),u=n(38954),l=n(72385),s=n(16930),c=n(9762),f=(n(44208),n(63531)),d=n(69846),h=n(48425),b=n(59418),p=n(37203);function g(t,e,n){return t?.attributeInfo.useElevation?e?function(t,e){const n=new Float64Array(e);for(let r=0;r<e;r++)n[r]=t[3*r+2];return n}(e,n):null:t?.attributeInfo.storageInfo?(0,b.m0)(t.attributeInfo.storageInfo,t.buffer,n,!0):null}function m(t){switch(t){default:case null:case"none":return t=>t;case"low-four-bit":return t=>15&t;case"high-four-bit":return t=>(240&t)>>4;case"absolute-value":return t=>Math.abs(t);case"modulo-ten":return t=>t%10}}function y(t){let e=0;for(const n of t||[])e|=1<<n;return e}var M=n(57005);class w{transform(t){const e=this._transform(t),n=[e.points.buffer,e.rgb.buffer];null!=e.pointIdFilterMap&&n.push(e.pointIdFilterMap.buffer);for(const t of e.attributes)"buffer"in t.values&&(0,o.mw)(t.values.buffer)&&t.values.buffer!==e.rgb.buffer&&n.push(t.values.buffer);return Promise.resolve({result:e,transferList:n})}_transform(t){const e=function(t,e){if(null==t.encoding||""===t.encoding){const n=(0,b.wH)(e,t);if(null==n.vertexAttributes.position)return;const r=(0,b.MA)(e,n.vertexAttributes.position),o=n.header.fields,a=[o.offsetX,o.offsetY,o.offsetZ],i=[o.scaleX,o.scaleY,o.scaleZ],u=r.length/3,l=new Float64Array(3*u);for(let t=0;t<u;t++)l[3*t]=r[3*t]*i[0]+a[0],l[3*t+1]=r[3*t+1]*i[1]+a[1],l[3*t+2]=r[3*t+2]*i[2]+a[2];return l}if("lepcc-xyz"===t.encoding)return(0,p.Me)(e).result}(t.schema,t.geometryBuffer);let n=e.length/3,o=null;const a=new Array,i=g(t.primaryAttributeData,e,n);null!=t.primaryAttributeData&&i&&a.push({attributeInfo:t.primaryAttributeData.attributeInfo,values:i});const u=g(t.modulationAttributeData,e,n);null!=t.modulationAttributeData&&u&&a.push({attributeInfo:t.modulationAttributeData.attributeInfo,values:u});let l=function(t,e,n,r){const{rendererJSON:o,isRGBRenderer:a}=t;let i=null,u=null;if(e&&a)i=e;else if(e&&"pointCloudUniqueValueRenderer"===o?.type){u=h.A.fromJSON(o);const t=u.colorUniqueValueInfos;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=(n?n(e[o]):e[o])+"";for(let e=0;e<t.length;e++)if(t[e].values.includes(r)){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else if(e&&"pointCloudStretchRenderer"===o?.type){u=d.A.fromJSON(o);const t=u.stops;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o],a=t.length-1;if(r<t[0].value)i[3*o]=t[0].color.r,i[3*o+1]=t[0].color.g,i[3*o+2]=t[0].color.b;else if(r>=t[a].value)i[3*o]=t[a].color.r,i[3*o+1]=t[a].color.g,i[3*o+2]=t[a].color.b;else for(let e=1;e<t.length;e++)if(r<t[e].value){const n=(r-t[e-1].value)/(t[e].value-t[e-1].value);i[3*o]=t[e].color.r*n+t[e-1].color.r*(1-n),i[3*o+1]=t[e].color.g*n+t[e-1].color.g*(1-n),i[3*o+2]=t[e].color.b*n+t[e-1].color.b*(1-n);break}}}else if(e&&"pointCloudClassBreaksRenderer"===o?.type){u=f.A.fromJSON(o);const t=u.colorClassBreakInfos;i=new Uint8Array(3*r);const n=m(u.fieldTransformType);for(let o=0;o<r;o++){const r=n?n(e[o]):e[o];for(let e=0;e<t.length;e++)if(r>=t[e].minValue&&r<=t[e].maxValue){i[3*o]=t[e].color.r,i[3*o+1]=t[e].color.g,i[3*o+2]=t[e].color.b;break}}}else i=new Uint8Array(3*r).fill(255);if(n&&u?.colorModulation){const t=u.colorModulation.minValue,e=u.colorModulation.maxValue,o=.3;for(let a=0;a<r;a++){const r=n[a],u=r>=e?1:r<=t?o:o+(1-o)*(r-t)/(e-t);i[3*a]=u*i[3*a],i[3*a+1]=u*i[3*a+1],i[3*a+2]=u*i[3*a+2]}}return i}(t.rendererInfo,i,u,n);if(t.filterInfo&&t.filterInfo.length>0&&null!=t.filterAttributesData){const i=t.filterAttributesData.filter(r.Ru).map(t=>{const r=g(t,e,n),o={attributeInfo:t.attributeInfo,values:r};return a.push(o),o});o=new Uint32Array(n),n=function(t,e,n,r,o){const a=t.length/3;let i=0;for(let u=0;u<a;u++){let a=!0;for(let t=0;t<r.length&&a;t++){const{filterJSON:e}=r[t],n=o[t].values[u];switch(e.type){case"pointCloudValueFilter":{const t="exclude"===e.mode;e.values.includes(n)===t&&(a=!1);break}case"pointCloudBitfieldFilter":{const t=y(e.requiredSetBits),r=y(e.requiredClearBits);(n&t)===t&&0===(n&r)||(a=!1);break}case"pointCloudReturnFilter":{const t=15&n,r=n>>>4&15,o=r>1,i=1===t,u=t===r;let l=!1;for(const t of e.includedReturns)if("last"===t&&u||"firstOfMany"===t&&i&&o||"lastOfMany"===t&&u&&o||"single"===t&&!o){l=!0;break}l||(a=!1);break}}}a&&(n[i]=u,t[3*i]=t[3*u],t[3*i+1]=t[3*u+1],t[3*i+2]=t[3*u+2],e[3*i]=e[3*u],e[3*i+1]=e[3*u+1],e[3*i+2]=e[3*u+2],i++)}return i}(e,l,o,t.filterInfo,i)}for(const r of t.userAttributesData){const t=g(r,e,n);a.push({attributeInfo:r.attributeInfo,values:t})}3*n<l.length&&(l=new Uint8Array(l.buffer.slice(0,3*n))),function(t,e,n){if(0!==n)for(let r=0;r<e;r++)t[3*r+2]+=n}(e,n,t.elevationOffset);const c=v(e,n,M.ab.fromData(t.obbData),s.A.fromJSON(t.inSR),s.A.fromJSON(t.outSR));return{obbData:t.obbData,points:c,rgb:l,attributes:a,pointIdFilterMap:o}}}function v(t,e,n,r,o){if(!(0,c.projectBuffer)(t,r,0,t,o,0,e))throw new Error("Can't reproject");const i=(0,l.o8)(n.center),s=(0,l.vt)(),f=(0,l.vt)(),d=(0,l.o8)(n.halfSize);(0,a.Xr)(A,n.quaternion);const h=new Float32Array(3*e);for(let n=0;n<e;n++){let e=3*n;s[0]=t[e]-i[0],s[1]=t[e+1]-i[1],s[2]=t[e+2]-i[2],(0,u.v)(f,s,A),d[0]=Math.max(d[0],Math.abs(f[0])),d[1]=Math.max(d[1],Math.abs(f[1])),d[2]=Math.max(d[2],Math.abs(f[2])),h[e++]=s[0],h[e++]=s[1],h[e]=s[2]}return n.halfSize=d,h}const A=(0,i.vt)();function I(){return new w}},37203:(t,e,n)=>{n.d(e,{Ax:()=>m,Me:()=>s,mb:()=>b});var r=n(49186);const o=!0,a={identifierOffset:0,identifierLength:10,versionOffset:10,checksumOffset:12,byteCount:16};function i(t,e,n){return{identifier:String.fromCharCode.apply(null,new Uint8Array(t,n+a.identifierOffset,a.identifierLength)),version:e.getUint16(n+a.versionOffset,o),checksum:e.getUint32(n+a.checksumOffset,o)}}const u={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 l(t,e){return{sizeLo:t.getUint32(e+u.sizeLo,o),sizeHi:t.getUint32(e+u.sizeHi,o),minX:t.getFloat64(e+u.minX,o),minY:t.getFloat64(e+u.minY,o),minZ:t.getFloat64(e+u.minZ,o),maxX:t.getFloat64(e+u.maxX,o),maxY:t.getFloat64(e+u.maxY,o),maxZ:t.getFloat64(e+u.maxZ,o),errorX:t.getFloat64(e+u.errorX,o),errorY:t.getFloat64(e+u.errorY,o),errorZ:t.getFloat64(e+u.errorZ,o),count:t.getUint32(e+u.count,o),reserved:t.getUint32(e+u.reserved,o)}}function s(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:s}=i(t,e,n);if(n+=a.byteCount,"LEPCC "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(s>1)throw new r.A("lepcc-decode-error","Unknown version");const f=l(e,n);if(n+=u.byteCount,f.sizeHi*2**32+f.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const d=new Float64Array(3*f.count),h=[],b=[],p=[],g=[];if(n=c(t,n,h),n=c(t,n,b),n=c(t,n,p),n=c(t,n,g),n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad length");let m=0,y=0;for(let t=0;t<h.length;t++){y+=h[t];let e=0;for(let n=0;n<b[t];n++){e+=p[m];const t=g[m];d[3*m]=Math.min(f.maxX,f.minX+2*f.errorX*e),d[3*m+1]=Math.min(f.maxY,f.minY+2*f.errorY*y),d[3*m+2]=Math.min(f.maxZ,f.minZ+2*f.errorZ*t),m++}}return{errorX:f.errorX,errorY:f.errorY,errorZ:f.errorZ,result:d}}function c(t,e,n){const r=[];e=f(t,e,r);const o=[];for(let a=0;a<r.length;a++){o.length=0,e=f(t,e,o);for(let t=0;t<o.length;t++)n.push(o[t]+r[a])}return e}function f(t,e,n){const a=new DataView(t,e),i=a.getUint8(0),u=31&i,l=!!(32&i),s=(192&i)>>6;let c=0;if(0===s)c=a.getUint32(1,o),e+=5;else if(1===s)c=a.getUint16(1,o),e+=3;else{if(2!==s)throw new r.A("lepcc-decode-error","Bad count type");c=a.getUint8(1),e+=2}if(l)throw new r.A("lepcc-decode-error","LUT not implemented");const f=Math.ceil(c*u/8),d=new Uint8Array(t,e,f);let h=0,b=0,p=0;const g=-1>>>32-u;for(let t=0;t<c;t++){for(;b<u;)h|=d[p]<<b,b+=8,p+=1;n[t]=h&g,h>>>=u,b-=u,b+u>32&&(h|=d[p-1]>>8-b)}return e+p}const d={sizeLo:0,sizeHi:4,count:8,colorMapCount:12,lookupMethod:14,compressionMethod:15,byteCount:16};function h(t,e){return{sizeLo:t.getUint32(e+d.sizeLo,o),sizeHi:t.getUint32(e+d.sizeHi,o),count:t.getUint32(e+d.count,o),colorMapCount:t.getUint16(e+d.colorMapCount,o),lookupMethod:t.getUint8(e+d.lookupMethod),compressionMethod:t.getUint8(e+d.compressionMethod)}}function b(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"ClusterRGB"!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=h(e,n);if(n+=d.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");if((2===l.lookupMethod||1===l.lookupMethod)&&0===l.compressionMethod){if(3*l.colorMapCount+l.count+n!==t.byteLength||l.colorMapCount>256)throw new r.A("lepcc-decode-error","Bad count");const e=new Uint8Array(t,n,3*l.colorMapCount),o=new Uint8Array(t,n+3*l.colorMapCount,l.count),a=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++){const n=o[t];a[3*t]=e[3*n],a[3*t+1]=e[3*n+1],a[3*t+2]=e[3*n+2]}return a}if(0===l.lookupMethod&&0===l.compressionMethod){if(3*l.count+n!==t.byteLength||0!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");return new Uint8Array(t,n).slice()}if(l.lookupMethod<=2&&1===l.compressionMethod){if(n+3!==t.byteLength||1!==l.colorMapCount)throw new r.A("lepcc-decode-error","Bad count");const o=e.getUint8(n),a=e.getUint8(n+1),i=e.getUint8(n+2),u=new Uint8Array(3*l.count);for(let t=0;t<l.count;t++)u[3*t]=o,u[3*t+1]=a,u[3*t+2]=i;return u}throw new r.A("lepcc-decode-error","Bad method "+l.lookupMethod+","+l.compressionMethod)}const p={sizeLo:0,sizeHi:4,count:8,scaleFactor:12,bitsPerPoint:14,reserved:15,byteCount:16};function g(t,e){return{sizeLo:t.getUint32(e+p.sizeLo,o),sizeHi:t.getUint32(e+p.sizeHi,o),count:t.getUint32(e+p.count,o),scaleFactor:t.getUint16(e+p.scaleFactor,o),bitsPerPoint:t.getUint8(e+p.bitsPerPoint),reserved:t.getUint8(e+p.reserved)}}function m(t){const e=new DataView(t,0);let n=0;const{identifier:o,version:u}=i(t,e,n);if(n+=a.byteCount,"Intensity "!==o)throw new r.A("lepcc-decode-error","Bad identifier");if(u>1)throw new r.A("lepcc-decode-error","Unknown version");const l=g(e,n);if(n+=p.byteCount,l.sizeHi*2**32+l.sizeLo!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const s=new Uint16Array(l.count);if(8===l.bitsPerPoint){if(l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint8Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else if(16===l.bitsPerPoint){if(2*l.count+n!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");const e=new Uint16Array(t,n,l.count);for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}else{const e=[];if(f(t,n,e)!==t.byteLength)throw new r.A("lepcc-decode-error","Bad size");for(let t=0;t<l.count;t++)s[t]=e[t]*l.scaleFactor}return s}},37539:(t,e,n)=>{n.d(e,{pO:()=>p,jd:()=>d,Tp:()=>h,w5:()=>f});var r=n(34727),o=n(83047),a=n(73941),i=n(79258);Math.PI;const u=i.$O.radius,l=i.$O.eccentricitySquared,s={a1:u*l,a2:u*l*u*l,a3:u*l*l/2,a4:u*l*u*l*2.5,a5:u*l+u*l*l/2,a6:1-l};i.$O.radius,i.$O.flattening,i.Sw.radius,i.Sw.flattening,i.sH.radius,i.sH.flattening,i.sH.radius;var c=n(21325);const f={2:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:m,11:y,2:p,4:S},5:{5:p,7:null,9:null,10:p,1:I,6:null,8:null,0:null,3:m,11:y,2:p,4:S},7:{5:null,7:p,9:null,10:p,1:null,6:A,8:null,0:null,3:null,11:null,2:null,4:null},9:{5:null,7:null,9:p,10:p,1:null,6:null,8:v,0:null,3:null,11:null,2:null,4:null},3:{5:g,7:null,9:null,10:g,1:function(t,e,n,r){const o=t[e]/F,a=P-2*Math.atan(Math.exp(-t[e+1]/F)),i=F+t[e+2],u=Math.cos(a)*i;n[r]=Math.cos(o)*u,n[r+1]=Math.sin(o)*u,n[r+2]=Math.sin(a)*i},6:null,8:null,0:null,3:p,11:function(t,e,n,r){g(t,e,n,r),y(n,r,n,r)},2:g,4:function(t,e,n,r){g(t,e,n,r),S(n,r,n,r)}},4:{5:_,7:null,9:null,10:_,1:function(t,e,n,r){_(t,e,n,r),I(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){_(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){_(t,e,n,r),y(n,r,n,r)},2:_,4:p},1:{5:k,7:null,9:null,10:k,1:p,6:null,8:null,0:null,3:function(t,e,n,r){k(t,e,n,r),m(n,r,n,r)},11:function(t,e,n,r){k(t,e,n,r),y(n,r,n,r)},2:k,4:function(t,e,n,r){k(t,e,n,r),S(n,r,n,r)}},6:{5:null,7:O,9:null,10:O,1:null,6:p,8:null,0:null,3:null,11:null,2:null,4:null},8:{5:null,7:null,9:C,10:C,1:null,6:null,8:p,0:null,3:null,11:null,2:null,4:null},0:{5:null,7:null,9:null,10:null,1:null,6:null,8:null,0:p,3:null,11:null,2:null,4:null},10:{5:p,7:p,9:p,10:p,1:I,6:A,8:v,0:null,3:m,11:y,2:p,4:S},11:{5:M,7:null,9:null,10:M,1:function(t,e,n,r){M(t,e,n,r),I(n,r,n,r)},6:null,8:null,0:null,3:function(t,e,n,r){M(t,e,n,r),m(n,r,n,r)},11:p,2:M,4:function(t,e,n,r){M(t,e,n,r),S(n,r,n,r)}}};function d(t,e){return h(t,e)?.projector}function h(t,e){if(null==t||null==e)return null;if(T.source.spatialReference===t&&T.dest.spatialReference===e)return T;const n=b(t,T.source),r=b(e,T.dest);return 0===n&&0===r?(0,c.aI)(t,e)?T.projector=p:T.projector=null:T.projector=f[n][r],T}function b(t,e){return t?e.spatialReference===t?e.spatialReferenceId:(e.spatialReference=t,"metersPerUnit"in e&&(e.metersPerUnit=(0,o.GA)(t,1)),(0,a.jA)(t)?e.spatialReferenceId=1:(0,c.oT)(t)?e.spatialReferenceId=2:(0,c.K8)(t)?e.spatialReferenceId=3:(0,c.r1)(t)?e.spatialReferenceId=11:t.wkt===a.Ro.wkt?e.spatialReferenceId=4:4490===t.wkid?e.spatialReferenceId=5:t.wkt===a.FY.wkt?e.spatialReferenceId=6:t.wkt===a.LJ.wkt?e.spatialReferenceId=8:(0,c.q8)(t)?e.spatialReferenceId=7:(0,c.KQ)(t)?e.spatialReferenceId=9:e.spatialReferenceId=0):0}function p(t,e,n,r){t!==n&&(n[r++]=t[e++],n[r++]=t[e++],n[r]=t[e])}function g(t,e,n,r){n[r]=z*(t[e]/F),n[r+1]=z*(P-2*Math.atan(Math.exp(-t[e+1]/F))),n[r+2]=t[e+2]}function m(t,e,n,o){!function(t,e,n,o,a){const i=.4999999*Math.PI,u=(0,r.qE)(x*t[e+1],-i,i),l=Math.sin(u);n[o++]=x*t[e]*a.radius,n[o++]=a.halfSemiMajorAxis*Math.log((1+l)/(1-l)),n[o]=t[e+2]}(t,e,n,o,i.$O)}function y(t,e,n,r){n[r]=t[e]*E,n[r+1]=t[e+1]*E,n[r+2]=t[e+2]}function M(t,e,n,r){n[r]=t[e]*j,n[r+1]=t[e+1]*j,n[r+2]=t[e+2]}function w(t,e,n,r,o){const a=o+t[e+2],i=x*t[e+1],u=x*t[e],l=Math.cos(i)*a;n[r]=Math.cos(u)*l,n[r+1]=Math.sin(u)*l,n[r+2]=Math.sin(i)*a}function v(t,e,n,r){w(t,e,n,r,i.Sw.radius)}function A(t,e,n,r){w(t,e,n,r,i.sH.radius)}function I(t,e,n,r){w(t,e,n,r,i.$O.radius)}function U(t,e,n,o,a){const i=t[e],u=t[e+1],l=t[e+2],s=Math.sqrt(i*i+u*u+l*l),c=(0,r.YN)(l/(0===s?1:s)),f=Math.atan2(u,i);n[o++]=z*f,n[o++]=z*c,n[o]=s-a}function C(t,e,n,r){U(t,e,n,r,i.Sw.radius)}function O(t,e,n,r){U(t,e,n,r,i.sH.radius)}function k(t,e,n,r){U(t,e,n,r,i.$O.radius)}function S(t,e,n,r){!function(t,e,n,r,o){const a=x*t[e],i=x*t[e+1],u=t[e+2],l=Math.sin(i),s=Math.cos(i),c=o.radius/Math.sqrt(1-o.eccentricitySquared*l*l);n[r++]=(c+u)*s*Math.cos(a),n[r++]=(c+u)*s*Math.sin(a),n[r++]=(c*(1-o.eccentricitySquared)+u)*l}(t,e,n,r,i.$O)}function _(t,e,n,r){const o=s,a=t[e],u=t[e+1],l=t[e+2];let c,f,d,h,b,p,g,m,y,M,w,v,A,I,U,C,O,k,S,_,T;c=Math.abs(l),f=a*a+u*u,d=Math.sqrt(f),h=f+l*l,b=Math.sqrt(h),_=Math.atan2(u,a),p=l*l/h,g=f/h,I=o.a2/b,U=o.a3-o.a4/b,g>.3?(m=c/b*(1+g*(o.a1+I+p*U)/b),S=Math.asin(m),M=m*m,y=Math.sqrt(1-M)):(y=d/b*(1-p*(o.a5-I-g*U)/b),S=Math.acos(y),M=1-y*y,m=Math.sqrt(M)),w=1-i.$O.eccentricitySquared*M,v=i.$O.radius/Math.sqrt(w),A=o.a6*v,I=d-v*y,U=c-A*m,O=y*I+m*U,C=y*U-m*I,k=C/(A/w+O),S+=k,T=O+C*k/2,l<0&&(S=-S),n[r++]=z*_,n[r++]=z*S,n[r]=T}const T={source:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},dest:{spatialReference:null,spatialReferenceId:0,metersPerUnit:1},projector:p},x=(0,r.kU)(1),z=(0,r.KJ)(1),P=.5*Math.PI,F=i.$O.radius,E=F*Math.PI/180,j=180/(F*Math.PI)},38954:(t,e,n)=>{n.d(e,{A:()=>b,B:()=>h,C:()=>c,D:()=>f,E:()=>P,F:()=>q,H:()=>R,a:()=>F,b:()=>m,c:()=>i,d:()=>s,e:()=>U,f:()=>l,g:()=>g,h:()=>C,i:()=>u,j:()=>y,k:()=>w,l:()=>a,m:()=>O,n:()=>I,o:()=>S,q:()=>z,r:()=>A,s:()=>M,t:()=>k,u:()=>v,v:()=>_,w:()=>d,x:()=>D,y:()=>N,z:()=>p});var r=n(51850),o=n(34304);function a(t){const e=t[0],n=t[1],r=t[2];return Math.sqrt(e*e+n*n+r*r)}function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function u(t,e,n,r){return t[0]=e,t[1]=n,t[2]=r,t}function l(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t}function s(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t}function c(t,e,n){return t[0]=e[0]*n[0],t[1]=e[1]*n[1],t[2]=e[2]*n[2],t}function f(t,e,n){return t[0]=e[0]/n[0],t[1]=e[1]/n[1],t[2]=e[2]/n[2],t}function d(t,e){return t[0]=Math.abs(e[0]),t[1]=Math.abs(e[1]),t[2]=Math.abs(e[2]),t}function h(t,e){return t[0]=Math.sign(e[0]),t[1]=Math.sign(e[1]),t[2]=Math.sign(e[2]),t}function b(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t[2]=Math.min(e[2],n[2]),t}function p(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t[2]=Math.max(e[2],n[2]),t}function g(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t}function m(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t}function y(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return Math.sqrt(n*n+r*r+o*o)}function M(t,e){const n=e[0]-t[0],r=e[1]-t[1],o=e[2]-t[2];return n*n+r*r+o*o}function w(t){const e=t[0],n=t[1],r=t[2];return e*e+n*n+r*r}function v(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t}function A(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t}function I(t,e){const n=e[0],r=e[1],o=e[2];let a=n*n+r*r+o*o;return a>0&&(a=1/Math.sqrt(a),t[0]=e[0]*a,t[1]=e[1]*a,t[2]=e[2]*a),t}function U(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]}function C(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2];return t[0]=o*l-a*u,t[1]=a*i-r*l,t[2]=r*u-o*i,t}function O(t,e,n,r){const o=e[0],a=e[1],i=e[2];return t[0]=o+r*(n[0]-o),t[1]=a+r*(n[1]-a),t[2]=i+r*(n[2]-i),t}function k(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=n[0]*r+n[4]*o+n[8]*a+n[12],t[1]=n[1]*r+n[5]*o+n[9]*a+n[13],t[2]=n[2]*r+n[6]*o+n[10]*a+n[14],t}function S(t,e,n){const r=e[0],o=e[1],a=e[2];return t[0]=r*n[0]+o*n[3]+a*n[6],t[1]=r*n[1]+o*n[4]+a*n[7],t[2]=r*n[2]+o*n[5]+a*n[8],t}function _(t,e,n){const r=n[0],o=n[1],a=n[2],i=n[3],u=e[0],l=e[1],s=e[2],c=o*s-a*l,f=a*u-r*s,d=r*l-o*u,h=o*d-a*f,b=a*c-r*d,p=r*f-o*c,g=2*i;return t[0]=u+c*g+2*h,t[1]=l+f*g+2*b,t[2]=s+d*g+2*p,t}const T=(0,r.vt)(),x=(0,r.vt)();function z(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]}function P(t,e,n){const r=n[0]-e[0],o=n[1]-e[1],a=n[2]-e[2];let i=r*r+o*o+a*a;return i>0?(i=1/Math.sqrt(i),t[0]=r*i,t[1]=o*i,t[2]=a*i,t):(t[0]=0,t[1]=0,t[2]=0,t)}const F=s,E=c,j=f,q=y,D=M,R=a,N=w;Object.freeze(Object.defineProperty({__proto__:null,abs:d,add:l,angle:function(t,e){I(T,t),I(x,e);const n=U(T,x);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(t,e,n,r,o,a){const i=1-a,u=i*i,l=a*a,s=u*i,c=3*a*u,f=3*l*i,d=l*a;return t[0]=e[0]*s+n[0]*c+r[0]*f+o[0]*d,t[1]=e[1]*s+n[1]*c+r[1]*f+o[1]*d,t[2]=e[2]*s+n[2]*c+r[2]*f+o[2]*d,t},ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t},clamp:function(t,e=0,n=1){return t[0]=Math.min(Math.max(t[0],e),n),t[1]=Math.min(Math.max(t[1],e),n),t[2]=Math.min(Math.max(t[2],e),n),t},copy:i,cross:C,crossAndNormalize:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=n[0],u=n[1],l=n[2],s=o*l-a*u,c=a*i-r*l,f=r*u-o*i,d=Math.sqrt(s*s+c*c+f*f);return t[0]=s/d,t[1]=c/d,t[2]=f/d,t},direction:P,dist:q,distance:y,div:j,divide:f,dot:U,equals:function(t,e){if(t===e)return!0;const n=t[0],r=t[1],a=t[2],i=e[0],u=e[1],l=e[2],s=(0,o.FD)();return Math.abs(n-i)<=s*Math.max(1,Math.abs(n),Math.abs(i))&&Math.abs(r-u)<=s*Math.max(1,Math.abs(r),Math.abs(u))&&Math.abs(a-l)<=s*Math.max(1,Math.abs(a),Math.abs(l))},exactEquals:z,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t},hermite:function(t,e,n,r,o,a){const i=a*a,u=i*(2*a-3)+1,l=i*(a-2)+a,s=i*(a-1),c=i*(3-2*a);return t[0]=e[0]*u+n[0]*l+r[0]*s+o[0]*c,t[1]=e[1]*u+n[1]*l+r[1]*s+o[1]*c,t[2]=e[2]*u+n[2]*l+r[2]*s+o[2]*c,t},inverse:A,len:R,length:a,lerp:O,max:p,min:b,mul:E,multiply:c,negate:v,normalize:I,random:function(t,e=1){const n=o.Ov,r=2*n()*Math.PI,a=2*n()-1,i=Math.sqrt(1-a*a)*e;return t[0]=Math.cos(r)*i,t[1]=Math.sin(r)*i,t[2]=a*e,t},rotateX:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0],a[1]=o[1]*Math.cos(r)-o[2]*Math.sin(r),a[2]=o[1]*Math.sin(r)+o[2]*Math.cos(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateY:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[2]*Math.sin(r)+o[0]*Math.cos(r),a[1]=o[1],a[2]=o[2]*Math.cos(r)-o[0]*Math.sin(r),t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],t},rotateZ:function(t,e,n,r){const o=[],a=[];return o[0]=e[0]-n[0],o[1]=e[1]-n[1],o[2]=e[2]-n[2],a[0]=o[0]*Math.cos(r)-o[1]*Math.sin(r),a[1]=o[0]*Math.sin(r)+o[1]*Math.cos(r),a[2]=o[2],t[0]=a[0]+n[0],t[1]=a[1]+n[1],t[2]=a[2]+n[2],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},scale:g,scaleAndAdd:m,set:u,sign:h,sqrDist:D,sqrLen:N,squaredDistance:M,squaredLength:w,str:function(t){return"vec3("+t[0]+", "+t[1]+", "+t[2]+")"},sub:F,subtract:s,transformMat3:S,transformMat4:k,transformQuat:_},Symbol.toStringTag,{value:"Module"}))},40876:(t,e,n)=>{n.d(e,{Eq:()=>h,G1:()=>p,TS:()=>a,Tf:()=>y,V6:()=>o,Vm:()=>b,ay:()=>l,c1:()=>g,c4:()=>i,j5:()=>s,lT:()=>f,oW:()=>c});const r={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,50,1]};function o(t){return!!r[t]||!!r[t.toLowerCase()]}function a(t){return r[t]??r[t.toLowerCase()]}function i(t){return[...a(t)]}function u(t,e,n){n<0&&++n,n>1&&--n;const r=6*n;return r<1?t+(e-t)*r:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function l(t,e,n,r=1){const o=(t%360+360)%360/360,a=n<=.5?n*(e+1):n+e-n*e,i=2*n-a;return[Math.round(255*u(i,a,o+1/3)),Math.round(255*u(i,a,o)),Math.round(255*u(i,a,o-1/3)),r]}function s(t){const e=t.length>5,n=e?8:4,r=(1<<n)-1,o=e?1:17,a=e?9===t.length:5===t.length;let i=Number("0x"+t.slice(1));if(isNaN(i))return null;const u=[0,0,0,1];let l;return a&&(l=i&r,i>>=n,u[3]=o*l/255),l=i&r,i>>=n,u[2]=o*l,l=i&r,i>>=n,u[1]=o*l,l=i&r,i>>=n,u[0]=o*l,u}function c(t){if("#"!==t[0]||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{const e=parseInt(t.slice(1,2),16),n=parseInt(t.slice(2,3),16),r=parseInt(t.slice(3,4),16),o=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,n+16*n,r+16*r,(o+16*o)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function f(t){const e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){const t=e[2].split(/\s*,\s*/),n=e[1];if("rgb"===n&&3===t.length||"rgba"===n&&4===t.length){const e=t[0];if("%"===e.charAt(e.length-1)){const e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),d(e)}return d(t.map(t=>parseFloat(t)))}if("hsl"===n&&3===t.length||"hsla"===n&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function d(t){return t[0]=g(t[0]),t[1]=g(t[1]),t[2]=g(t[2]),t[3]=4===t.length?p(t[3]):1,t}function h(t){let e=o(t)?a(t):null;return e??=f(t),e??=c(t),e}function b(t){const e=h(t);return null!=e?[e[0]/255,e[1]/255,e[2]/255,e[3]]:null}function p(t){return m(t,0,1)}function g(t){return Math.round(m(t,0,255))}function m(t,e,n){return t=Number(t),isNaN(t)?n:t<e?e:t>n?n:t}const y=2.2},44280:(t,e,n)=>{n.d(e,{EJ:()=>l,g7:()=>u,gr:()=>i});var r=n(34727),o=n(38954),a=n(51850);function i(t,e){return(0,o.e)(t,e)/(0,o.l)(t)}function u(t,e){const n=(0,o.e)(t,e)/((0,o.l)(t)*(0,o.l)(e));return-(0,r.XM)(n)}function l(t,e,n){(0,o.n)(s,t),(0,o.n)(c,e);const a=(0,o.e)(s,c),i=(0,r.XM)(a),u=(0,o.h)(s,s,c);return(0,o.e)(u,n)<0?2*Math.PI-i:i}const s=(0,a.vt)(),c=(0,a.vt)()},48163:(t,e,n)=>{function r(){return[0,0]}function o(t){return[t[0],t[1]]}function a(t,e){return[t,e]}function i(){return a(1,1)}function u(){return a(1,0)}function l(){return a(0,1)}n.d(e,{Un:()=>s,fA:()=>a,o8:()=>o,vt:()=>r});const s=i(),c=u(),f=l();Object.freeze(Object.defineProperty({__proto__:null,ONES:s,UNIT_X:c,UNIT_Y:f,ZEROS:[0,0],clone:o,create:r,freeze:function(t,e){return[t,e]},fromArray:function(t,e=[0,0]){const n=Math.min(2,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:a,ones:i,unitX:u,unitY:l,zeros:function(){return[0,0]}},Symbol.toStringTag,{value:"Module"}))},51850:(t,e,n)=>{function r(){return[0,0,0]}function o(t){return[t[0],t[1],t[2]]}function a(t,e,n){return[t,e,n]}function i(t,e,n){return[t,e,n]}function u(t,e=[0,0,0]){const n=Math.min(3,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e}function l(){return a(1,1,1)}function s(){return a(1,0,0)}function c(){return a(0,1,0)}function f(){return a(0,0,1)}n.d(e,{CN:()=>i,Cb:()=>g,Cw:()=>b,JP:()=>p,Un:()=>h,ci:()=>u,fA:()=>a,o8:()=>o,uY:()=>d,vt:()=>r});const d=[0,0,0],h=l(),b=s(),p=c(),g=f();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_X:b,UNIT_Y:p,UNIT_Z:g,ZEROS:d,clone:o,create:r,freeze:i,fromArray:u,fromValues:a,ones:l,unitX:s,unitY:c,unitZ:f,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"}))},59418:(t,e,n)=>{n.d(e,{wH:()=>p,MA:()=>d,E5:()=>h,m0:()=>m});var r=n(49186),o=n(4718),a=n(53966),i=n(34275),u=n(37203);const l=()=>a.A.getLogger("esri.views.3d.layers.i3s.I3SBinaryReader");function s(t,e,n){let o="",a=0;for(;a<n;){const i=t[e+a];if(i<128)o+=String.fromCharCode(i),a++;else if(i>=192&&i<224){if(a+1>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Two byte character was truncated.");const u=(31&i)<<6|63&t[e+a+1];o+=String.fromCharCode(u),a+=2}else if(i>=224&&i<240){if(a+2>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(15&i)<<12|(63&t[e+a+1])<<6|63&t[e+a+2];o+=String.fromCharCode(u),a+=3}else{if(!(i>=240&&i<248))throw new r.A("utf8-decode-error","UTF-8 Decode failed. Invalid multi byte sequence.");{if(a+3>=n)throw new r.A("utf8-decode-error","UTF-8 Decode failed. Multi byte character was truncated.");const u=(7&i)<<18|(63&t[e+a+1])<<12|(63&t[e+a+2])<<6|63&t[e+a+3];if(u>=65536){const t=55296+(u-65536>>10),e=56320+(1023&u);o+=String.fromCharCode(t,e)}else o+=String.fromCharCode(u);a+=4}}}return o}function c(t,e){const n={byteOffset:0,byteCount:0,fields:Object.create(null)};let r=0;for(let o=0;o<e.length;o++){const a=e[o],i=a.valueType||a.type,u=M[i];n.fields[a.property]=u(t,r),r+=y[i].BYTES_PER_ELEMENT}return n.byteCount=r,n}function f(t,e,n){const o=[];let a,i,u=0;for(i=0;i<t;i+=1){if(a=e[i],a>0){if(o.push(s(n,u,a-1)),0!==n[u+a-1])throw new r.A("string-array-error","Invalid string array: missing null termination.")}else o.push(null);u+=a}return o}function d(t,e){return new(0,y[e.valueType])(t,e.byteOffset,e.count*e.valuesPerElement)}function h(t,e){if(!t)return null;const n=t[e];return(0,i.IY)(t)?n===i.PI?null:n:(0,i._G)(t)?n===i.h2?null:n:n!=n?null:n}function b(t,e,n){if(e!==t&&l().error(`Invalid ${n} buffer size\n expected: ${t}, actual: ${e})`),e<t)throw new r.A("buffer-too-small","Binary buffer is too small",{expectedSize:t,actualSize:e})}function p(t,e){const n=c(t,e&&e.header);let r=n.byteCount;const o={isDraco:!1,header:n,byteOffset:n.byteCount,byteCount:0,vertexAttributes:{}},a=n.fields,i=null!=a.vertexCount?a.vertexCount:a.count;for(const t of e.ordering){if(!e.vertexAttributes[t])continue;const n={...e.vertexAttributes[t],byteOffset:r,count:i},a=g[t]||"_"+t;o.vertexAttributes[a]=n,r+=v(n.valueType)*n.valuesPerElement*i}const u=a.faceCount;if(e.faces&&u){o.faces={};for(const t of e.ordering){if(!e.faces[t])continue;const n={...e.faces[t],byteOffset:r,count:u};o.faces[t]=n,r+=v(n.valueType)*n.valuesPerElement*u}}const l=a.featureCount;if(e.featureAttributes&&e.featureAttributeOrder&&l){o.featureAttributes={};for(const t of e.featureAttributeOrder){if(!e.featureAttributes[t])continue;const n={...e.featureAttributes[t],byteOffset:r,count:l};o.featureAttributes[t]=n,r+=("UInt64"===n.valueType?8:v(n.valueType))*n.valuesPerElement*l}}return b(r,t.byteLength,"geometry"),o.byteCount=r-o.byteOffset,o}const g={position:"position",normal:"normal",color:"color",uv0:"uv0",region:"uvRegion"};function m(t,e,n,a=!1){if("lepcc-rgb"===t.encoding)return a?(0,u.mb)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint8Array(t):t.length<i.y9?Array.from(t):t}((0,u.mb)(e));if("lepcc-intensity"===t.encoding)return a?(0,u.Ax)(e):function(t){return Array.isArray(t)?t.length<i.y9?t:new Uint16Array(t):t.length<i.y9?Array.from(t):t}((0,u.Ax)(e));if(null!=t.encoding&&""!==t.encoding)throw new r.A("unknown-attribute-storage-info-encoding","Unknown Attribute Storage Info Encoding");t["attributeByteCounts "]&&!t.attributeByteCounts&&(l().warn("Warning: Trailing space in 'attributeByteCounts '."),t.attributeByteCounts=t["attributeByteCounts "]),"ObjectIds"===t.ordering[0]&&t.hasOwnProperty("objectIds")&&(l().warn("Warning: Case error in objectIds"),t.ordering[0]="objectIds");const s=function(t,e,n){const a=null!=e.header?c(t,e.header):{byteOffset:0,byteCount:0,fields:{count:n}},i={header:a,byteOffset:a.byteCount,byteCount:0,entries:Object.create(null)};let u=a.byteCount;for(let t=0;t<e.ordering.length;t++){const n=e.ordering[t],l=(0,o.o8)(e[n]);if(l.count=a.fields.count??0,"String"===l.valueType){if(l.byteOffset=u,l.byteCount=a.fields[n+"ByteCount"],"UTF-8"!==l.encoding)throw new r.A("unsupported-encoding","Unsupported String encoding.",{encoding:l.encoding});if(l.timeEncoding&&"ECMA_ISO8601"!==l.timeEncoding)throw new r.A("unsupported-time-encoding","Unsupported time encoding.",{timeEncoding:l.timeEncoding})}else{if(!w(l.valueType))throw new r.A("unsupported-value-type","Unsupported binary valueType",{valueType:l.valueType});{const t=v(l.valueType);u+=u%t!==0?t-u%t:0,l.byteOffset=u,l.byteCount=t*l.valuesPerElement*l.count}}u+=l.byteCount??0,i.entries[n]=l}return i.byteCount=u-i.byteOffset,i}(e,t,n);b(s.byteOffset+s.byteCount,e.byteLength,"attribute");const p=s.entries.attributeValues||s.entries.objectIds;if(p){if("String"===p.valueType){const t=s.entries.attributeByteCounts,n=d(e,t),r=function(t,e){return new Uint8Array(t,e.byteOffset,e.byteCount)}(e,p);return p.timeEncoding?function(t,e,n){return f(t,e,n).map(t=>{const e=t?Date.parse(t):null;return null==e||Number.isNaN(e)?null:e})}(t.count,n,r):f(t.count,n,r)}return a?d(e,p):function(t,e){const n=d(t,e);if(n.length>=i.y9)return n;const r=new Array;return n.forEach((t,e)=>r.push(h(n,e))),r}(e,p)}throw new r.A("bad-attribute-storage-info","Bad attributeStorageInfo specification.")}const y={Float32:Float32Array,Float64:Float64Array,UInt8:Uint8Array,Int8:Int8Array,UInt16:Uint16Array,Int16:Int16Array,UInt32:Uint32Array,Int32:Int32Array},M={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 w(t){return y.hasOwnProperty(t)}function v(t){return w(t)?y[t].BYTES_PER_ELEMENT:0}},72385:(t,e,n)=>{function r(){return new Float32Array(3)}function o(t){const e=new Float32Array(3);return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(t,e,n){const r=new Float32Array(3);return r[0]=t,r[1]=e,r[2]=n,r}function i(){return r()}function u(){return a(1,1,1)}function l(){return a(1,0,0)}function s(){return a(0,1,0)}function c(){return a(0,0,1)}n.d(e,{fA:()=>a,o8:()=>o,vt:()=>r});const f=i(),d=u(),h=l(),b=s(),p=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:d,UNIT_X:h,UNIT_Y:b,UNIT_Z:p,ZEROS:f,clone:o,create:r,fromValues:a,ones:u,unitX:l,unitY:s,unitZ:c,zeros:i},Symbol.toStringTag,{value:"Module"}))},77690:(t,e,n)=>{n.d(e,{B8:()=>u,Ge:()=>d,I0:()=>f,KC:()=>l,hZ:()=>a,hs:()=>c,lw:()=>s,mg:()=>i,z0:()=>o});var r=n(34304);function o(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[4],t[4]=e[5],t[5]=e[6],t[6]=e[8],t[7]=e[9],t[8]=e[10],t}function a(t,e,n,r,o,a,i,u,l,s){return t[0]=e,t[1]=n,t[2]=r,t[3]=o,t[4]=a,t[5]=i,t[6]=u,t[7]=l,t[8]=s,t}function i(t,e){if(t===e){const n=e[1],r=e[2],o=e[5];t[1]=e[3],t[2]=e[6],t[3]=n,t[5]=e[7],t[6]=r,t[7]=o}else t[0]=e[0],t[1]=e[3],t[2]=e[6],t[3]=e[1],t[4]=e[4],t[5]=e[7],t[6]=e[2],t[7]=e[5],t[8]=e[8];return t}function u(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l;let b=n*f+r*d+o*h;return b?(b=1/b,t[0]=f*b,t[1]=(-c*r+o*s)*b,t[2]=(u*r-o*i)*b,t[3]=d*b,t[4]=(c*n-o*l)*b,t[5]=(-u*n+o*a)*b,t[6]=h*b,t[7]=(-s*n+r*l)*b,t[8]=(i*n-r*a)*b,t):null}function l(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8];return t[0]=i*c-u*s,t[1]=o*s-r*c,t[2]=r*u-o*i,t[3]=u*l-a*c,t[4]=n*c-o*l,t[5]=o*a-n*u,t[6]=a*s-i*l,t[7]=r*l-n*s,t[8]=n*i-r*a,t}function s(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1],b=n[2],p=n[3],g=n[4],m=n[5],y=n[6],M=n[7],w=n[8];return t[0]=d*r+h*i+b*s,t[1]=d*o+h*u+b*c,t[2]=d*a+h*l+b*f,t[3]=p*r+g*i+m*s,t[4]=p*o+g*u+m*c,t[5]=p*a+g*l+m*f,t[6]=y*r+M*i+w*s,t[7]=y*o+M*u+w*c,t[8]=y*a+M*l+w*f,t}function c(t,e,n){const r=n[0],o=n[1],a=n[2];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t[6]=a*e[6],t[7]=a*e[7],t[8]=a*e[8],t}function f(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=n+n,u=r+r,l=o+o,s=n*i,c=r*i,f=r*u,d=o*i,h=o*u,b=o*l,p=a*i,g=a*u,m=a*l;return t[0]=1-f-b,t[3]=c-m,t[6]=d+g,t[1]=c+m,t[4]=1-s-b,t[7]=h-p,t[2]=d-g,t[5]=h+p,t[8]=1-s-f,t}function d(t,e){const n=e[0],r=e[1],o=e[2],a=e[3],i=e[4],u=e[5],l=e[6],s=e[7],c=e[8],f=e[9],d=e[10],h=e[11],b=e[12],p=e[13],g=e[14],m=e[15],y=n*u-r*i,M=n*l-o*i,w=n*s-a*i,v=r*l-o*u,A=r*s-a*u,I=o*s-a*l,U=c*p-f*b,C=c*g-d*b,O=c*m-h*b,k=f*g-d*p,S=f*m-h*p,_=d*m-h*g;let T=y*_-M*S+w*k+v*O-A*C+I*U;return T?(T=1/T,t[0]=(u*_-l*S+s*k)*T,t[1]=(l*O-i*_-s*C)*T,t[2]=(i*S-u*O+s*U)*T,t[3]=(o*S-r*_-a*k)*T,t[4]=(n*_-o*O+a*C)*T,t[5]=(r*O-n*S-a*U)*T,t[6]=(p*I-g*A+m*v)*T,t[7]=(g*w-b*I-m*M)*T,t[8]=(b*A-p*w+m*y)*T,t):null}function h(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t[2]=e[2]-n[2],t[3]=e[3]-n[3],t[4]=e[4]-n[4],t[5]=e[5]-n[5],t[6]=e[6]-n[6],t[7]=e[7]-n[7],t[8]=e[8]-n[8],t}const b=s,p=h;Object.freeze(Object.defineProperty({__proto__:null,add:function(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t[2]=e[2]+n[2],t[3]=e[3]+n[3],t[4]=e[4]+n[4],t[5]=e[5]+n[5],t[6]=e[6]+n[6],t[7]=e[7]+n[7],t[8]=e[8]+n[8],t},adjoint:l,copy:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t[6]=e[6],t[7]=e[7],t[8]=e[8],t},determinant:function(t){const e=t[0],n=t[1],r=t[2],o=t[3],a=t[4],i=t[5],u=t[6],l=t[7],s=t[8];return e*(s*a-i*l)+n*(-s*o+i*u)+r*(l*o-a*u)},equals:function(t,e){const n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8],d=e[0],h=e[1],b=e[2],p=e[3],g=e[4],m=e[5],y=e[6],M=e[7],w=e[8],v=(0,r.FD)();return Math.abs(n-d)<=v*Math.max(1,Math.abs(n),Math.abs(d))&&Math.abs(o-h)<=v*Math.max(1,Math.abs(o),Math.abs(h))&&Math.abs(a-b)<=v*Math.max(1,Math.abs(a),Math.abs(b))&&Math.abs(i-p)<=v*Math.max(1,Math.abs(i),Math.abs(p))&&Math.abs(u-g)<=v*Math.max(1,Math.abs(u),Math.abs(g))&&Math.abs(l-m)<=v*Math.max(1,Math.abs(l),Math.abs(m))&&Math.abs(s-y)<=v*Math.max(1,Math.abs(s),Math.abs(y))&&Math.abs(c-M)<=v*Math.max(1,Math.abs(c),Math.abs(M))&&Math.abs(f-w)<=v*Math.max(1,Math.abs(f),Math.abs(w))},exactEquals:function(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]&&t[4]===e[4]&&t[5]===e[5]&&t[6]===e[6]&&t[7]===e[7]&&t[8]===e[8]},frob:function(t){return Math.sqrt(t[0]**2+t[1]**2+t[2]**2+t[3]**2+t[4]**2+t[5]**2+t[6]**2+t[7]**2+t[8]**2)},fromMat2d:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=0,t[3]=e[2],t[4]=e[3],t[5]=0,t[6]=e[4],t[7]=e[5],t[8]=1,t},fromMat4:o,fromQuat:f,fromRotation:function(t,e){const n=Math.sin(e),r=Math.cos(e);return t[0]=r,t[1]=n,t[2]=0,t[3]=-n,t[4]=r,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromScaling:function(t,e){return t[0]=e[0],t[1]=0,t[2]=0,t[3]=0,t[4]=e[1],t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},fromTranslation:function(t,e){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=e[0],t[7]=e[1],t[8]=1,t},identity:function(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=0,t[4]=1,t[5]=0,t[6]=0,t[7]=0,t[8]=1,t},invert:u,isOrthoNormal:function(t){const e=(0,r.FD)(),n=t[0],o=t[1],a=t[2],i=t[3],u=t[4],l=t[5],s=t[6],c=t[7],f=t[8];return Math.abs(1-(n*n+i*i+s*s))<=e&&Math.abs(1-(o*o+u*u+c*c))<=e&&Math.abs(1-(a*a+l*l+f*f))<=e},mul:b,multiply:s,multiplyScalar:function(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t[2]=e[2]*n,t[3]=e[3]*n,t[4]=e[4]*n,t[5]=e[5]*n,t[6]=e[6]*n,t[7]=e[7]*n,t[8]=e[8]*n,t},multiplyScalarAndAdd:function(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t[2]=e[2]+n[2]*r,t[3]=e[3]+n[3]*r,t[4]=e[4]+n[4]*r,t[5]=e[5]+n[5]*r,t[6]=e[6]+n[6]*r,t[7]=e[7]+n[7]*r,t[8]=e[8]+n[8]*r,t},normalFromMat4:d,normalFromMat4Legacy:function(t,e){const n=e[0],r=e[1],o=e[2],a=e[4],i=e[5],u=e[6],l=e[8],s=e[9],c=e[10],f=c*i-u*s,d=-c*a+u*l,h=s*a-i*l,b=n*f+r*d+o*h;if(!b)return null;const p=1/b;return t[0]=f*p,t[1]=(-c*r+o*s)*p,t[2]=(u*r-o*i)*p,t[3]=d*p,t[4]=(c*n-o*l)*p,t[5]=(-u*n+o*a)*p,t[6]=h*p,t[7]=(-s*n+r*l)*p,t[8]=(i*n-r*a)*p,t},projection:function(t,e,n){return t[0]=2/e,t[1]=0,t[2]=0,t[3]=0,t[4]=-2/n,t[5]=0,t[6]=-1,t[7]=1,t[8]=1,t},rotate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=Math.sin(n),h=Math.cos(n);return t[0]=h*r+d*i,t[1]=h*o+d*u,t[2]=h*a+d*l,t[3]=h*i-d*r,t[4]=h*u-d*o,t[5]=h*l-d*a,t[6]=s,t[7]=c,t[8]=f,t},scale:c,scaleByVec2:function(t,e,n){const r=n[0],o=n[1];return t[0]=r*e[0],t[1]=r*e[1],t[2]=r*e[2],t[3]=o*e[3],t[4]=o*e[4],t[5]=o*e[5],t},set:a,str:function(t){return"mat3("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+", "+t[4]+", "+t[5]+", "+t[6]+", "+t[7]+", "+t[8]+")"},sub:p,subtract:h,translate:function(t,e,n){const r=e[0],o=e[1],a=e[2],i=e[3],u=e[4],l=e[5],s=e[6],c=e[7],f=e[8],d=n[0],h=n[1];return t[0]=r,t[1]=o,t[2]=a,t[3]=i,t[4]=u,t[5]=l,t[6]=d*r+h*i+s,t[7]=d*o+h*u+c,t[8]=d*a+h*l+f,t},transpose:i},Symbol.toStringTag,{value:"Module"}))},82534:(t,e,n)=>{function r(){return[0,0,0,1]}function o(t){return[t[0],t[1],t[2],t[3]]}n.d(e,{o8:()=>o,vt:()=>r,zK:()=>a});const a=[0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:a,clone:o,create:r,fromValues:function(t,e,n,r){return[t,e,n,r]}},Symbol.toStringTag,{value:"Module"}))},93223:(t,e,n)=>{n.d(e,{e:()=>a});var r=n(66552),o=n(10107);function a(t,e={}){const n=t instanceof r.J?t:new r.J(t,e),{alwaysWriteDefaults:a,default:i,ignoreUnknown:u=!0,name:l,nonNullable:s,readOnly:c=!1}=e;return(0,o.MZ)({type:u?n.apiValues:String,json:{type:n.jsonValues,default:i,name:l,read:!c&&{reader:n.read},write:{writer:n.write,alwaysWriteDefaults:a}},nonNullable:s,readOnly:c})}}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(43937);let a=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r.Cg)([(0,n.K)("enabled")],a.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,r.Cg)([(0,l.$)("esri.symbols.Symbol3DLayer")],a)},3955:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.patterns.Pattern3D")],n)},4595:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.callouts.Callout3D")],n)},4792:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(31635),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(40608)),p=o(67222);let c=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1]),this.extensionLength=0,this.size=(0,n.PN)(1)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],c.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],c.prototype,"extensionLength",void 0),(0,r.Cg)([(0,a.MZ)(p.pI)],c.prototype,"size",void 0),c=(0,r.Cg)([(0,y.$)("esri.symbols.edges.Edges3D")],c);const h=c},4900:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.o{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...a.pI,json:{write:{isRequired:!0}}})],y.prototype,"screenLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],y.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],y.prototype,"maxWorldLength",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DVerticalOffset")],y)},6847:(e,t,o)=>{o.d(t,{i:()=>m,r:()=>g});var r,s=o(31635),i=o(66552),l=o(25482),n=o(84952),a=o(10107),y=(o(44208),o(53966),o(87811),o(93223)),p=o(36005),c=o(40608),h=o(43937),u=o(97159);const d=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let m=r=class extends l.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],m.prototype,"href",void 0),(0,s.Cg)([(0,p.w)("href")],m.prototype,"readHref",null),(0,s.Cg)([(0,h.K)("href",{href:{type:String},dataURI:{type:String}})],m.prototype,"writeHref",null),(0,s.Cg)([(0,y.e)(d)],m.prototype,"primitive",void 0),m=r=(0,s.Cg)([(0,c.$)("esri.symbols.support.IconSymbol3DLayerResource")],m);const g="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(31635),i=o(68197),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(4595),h=o(25482),u=o(67222);let d=r=class extends h.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,s.Cg)([(0,p.$)("esri.symbols.callouts.LineCallout3DBorder")],d);const m=d;var g;let b=g=class extends c.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.size=(0,n.PN)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new g({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,y.e)({line:"line"})],b.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],b.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...u.pI,json:{write:{isRequired:!0}}})],b.prototype,"size",void 0),(0,s.Cg)([(0,a.MZ)({type:m,json:{write:!0}})],b.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"visible",null),b=g=(0,s.Cg)([(0,p.$)("esri.symbols.callouts.LineCallout3D")],b)},10224:(e,t,o)=>{o.d(t,{A:()=>C});var r,s=o(31635),i=o(4718),l=o(10107),n=(o(44208),o(53966),o(93223)),a=o(40608),y=o(43937),p=o(11831),c=o(3904),h=o(67222),u=o(68197),d=o(25482);let m=r=class extends d.o{constructor(){super(...arguments),this.color=new u.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,h.EW)())],m.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(h.pI)],m.prototype,"size",void 0),m=r=(0,s.Cg)([(0,a.$)("esri.symbols.support.Symbol3DHalo")],m);var g=o(28975),b=o(69540);o(87811);let w=class extends((0,b.O)(d.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,h.EW)())],w.prototype,"color",void 0),w=(0,s.Cg)([(0,a.$)("esri.symbols.support.Symbol3DTextBackground")],w);var v,f=o(5760);let C=class extends c.A{static{v=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new v({enabled:this.enabled,font:this.font&&(0,i.o8)(this.font),halo:this.halo&&(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new v({font:null!=e.font?e.font.clone():new p.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new w({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new m({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],C.prototype,"font",null),(0,s.Cg)([(0,y.K)("font")],C.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:m,json:{write:!0}})],C.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:g.N,json:{write:!0}})],C.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:w,json:{write:!0}})],C.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(h.pI)],C.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s.Cg)([(0,n.e)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),C=v=(0,s.Cg)([(0,a.$)("esri.symbols.TextSymbol3DLayer")],C)},11506:(e,t,o)=>{o.d(t,{A:()=>A});var r=o(31635),s=o(90629),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(68197),y=o(69540),p=o(25482),c=o(56507),h=o(83213);let u=class extends((0,y.O)(p.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:h.x,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:h.z,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:a.A,json:{type:[c.jz],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r.Cg)([(0,n.$)("esri.symbols.LineStyleMarker3D")],u);var d,m=o(3904),g=o(44633),b=o(20603),w=o(33386),v=o(67222),f=o(28975),C=o(8887);let A=class extends m.A{static{d=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.PN)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new d(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new g.A({style:e.style}):null,material:new f.N({color:(e.color||w.ON).clone()}),marker:e.marker?new u({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new d(t)}};(0,r.Cg)([(0,i.MZ)({type:f.N,json:{write:!0}})],A.prototype,"material",void 0),(0,r.Cg)([(0,l.e)({Line:"line"},{readOnly:!0})],A.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:C.e,json:{write:!0,default:"miter"}})],A.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:C.M4,json:{write:!0,default:"butt"}})],A.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...v.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),(0,r.Cg)([(0,i.MZ)(b.v)],A.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:u,typeMap:{style:u}},json:{write:!0}})],A.prototype,"marker",void 0),A=d=(0,r.Cg)([(0,n.$)("esri.symbols.LineSymbol3DLayer")],A)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(58185),c=o(10224),h=o(59483),u=o(4900);const d=i.A.ofType({base:null,key:"type",typeMap:{text:c.A}});let m=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new d,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),callout:(0,l.o8)(this.callout),verticalOffset:(0,l.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([c.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,n.MZ)(h.oG)],m.prototype,"callout",void 0),(0,s.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,n.MZ)({type:d})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,y.$)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(3955);let a=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],a.prototype,"style",void 0),a=r=(0,s.Cg)([(0,l.$)("esri.symbols.patterns.StylePattern3D")],a)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(4718),l=o(53966),n=o(84952),a=o(10107),y=(o(44208),o(93223)),p=o(40608),c=o(3904),h=o(33386),u=o(6847),d=o(67222),m=o(65008);o(87811);let g=r=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}};(0,s.Cg)([(0,a.MZ)({type:Number})],g.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],g.prototype,"y",void 0),g=r=(0,s.Cg)([(0,p.$)("esri.symbols.support.Symbol3DAnchorPosition2D")],g);var b,w=o(68197),v=o(25482),f=o(90629);let C=b=class extends v.o{constructor(e){super(e),this.color=new w.A([0,0,0,1]),this.size=(0,f.PN)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new b(e)}};(0,s.Cg)([(0,a.MZ)((0,d.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",void 0),C=b=(0,s.Cg)([(0,p.$)("esri.symbols.support.Symbol3DIconOutline")],C);var A,M=o(28975);let S=class extends c.A{static{A=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0}clone(){return new A({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ON,o=Z(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ON).clone()}:null;return new A({size:e.size,angle:e.angle,resource:{primitive:L(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.U9)(e.color)?h.ON:e.color,o=Z(e);return new A({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new A({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function Z(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=x(e.xoffset),s=x(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function x(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:M.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:u.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s.Cg)([(0,y.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",void 0),(0,s.Cg)([(0,y.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:g,json:{type:[Number],read:{reader:e=>new g({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:C,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),S=A=(0,s.Cg)([(0,p.$)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function L(e,t){return j[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(28975);let c=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s.Cg)([(0,l.e)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:p.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(y.J)],c.prototype,"edges",void 0),c=r=(0,s.Cg)([(0,n.$)("esri.symbols.ExtrudeSymbol3DLayer")],c)},27845:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(44633),c=o(16264),h=o(20603),u=o(33386),d=(o(49186),o(28975));let m=r=class extends d.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s.Cg)([(0,l.e)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DFillMaterial")],m);var g,b=o(68197),w=o(25482),v=o(90629),f=o(67222),C=o(8887);let A=g=class extends w.o{constructor(e){super(e),this.color=new b.A([0,0,0,1]),this.size=(0,v.PN)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new g(e)}};var M;(0,s.Cg)([(0,i.MZ)((0,f.EW)({colorRequiredOnWrite:!0}))],A.prototype,"color",void 0),(0,s.Cg)([(0,i.MZ)({...f.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)(h.v)],A.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:C.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],A.prototype,"patternCap",void 0),A=g=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DOutline")],A);let S=class extends a.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new p.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??u.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new m({color:(e.color??u.u7).clone()}),pattern:e.style&&"solid"!==e.style?new c.A({style:e.style}):null,outline:o})}};(0,s.Cg)([(0,l.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)(h.r)],S.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,i.MZ)(y.J)],S.prototype,"edges",void 0),S=M=(0,s.Cg)([(0,n.$)("esri.symbols.FillSymbol3DLayer")],S)},28975:(e,t,o)=>{o.d(t,{N:()=>c});var r,s=o(31635),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.o{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var p;(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],y.prototype,"strength",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],y.prototype,"source",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DEmissive")],y);let c=p=class extends i.o{constructor(e){super(e),this.color=null,this.emissive=new y({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new p(e)}};(0,s.Cg)([(0,l.MZ)((0,a.EW)())],c.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({type:y,json:{write:!1}})],c.prototype,"emissive",void 0),c=p=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DMaterial")],c)},30809:(e,t,o)=>{o.d(t,{E:()=>h,r:()=>u});var r,s=o(31635),i=o(66552),l=o(25482),n=o(10107),a=(o(44208),o(53966),o(87811),o(93223)),y=o(40608),p=o(97159);const c=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends l.o{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"href",void 0),(0,s.Cg)([(0,a.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s.Cg)([(0,y.$)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>I,$y:()=>L,wk:()=>O,Y7:()=>k,wC:()=>N,Ac:()=>D,Bu:()=>P,Es:()=>z,q8:()=>$,em:()=>q,Rv:()=>_,xK:()=>R,On:()=>W});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(31635),c=o(4718),h=o(90629),u=o(10107),d=(o(44208),o(53966),o(93223)),m=o(40608),g=o(65851),b=o(77040);let w=r=class extends g.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p.Cg)([(0,d.e)({esriPFS:"picture-fill"},{readOnly:!0})],w.prototype,"type",void 0),(0,p.Cg)([(0,u.MZ)(b.ku)],w.prototype,"url",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],w.prototype,"xscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],w.prototype,"yscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"width",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"height",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"xoffset",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"yoffset",void 0),(0,p.Cg)([(0,u.MZ)(b.k7)],w.prototype,"source",void 0),w=r=(0,p.Cg)([(0,m.$)("esri.symbols.PictureFillSymbol")],w);var v=o(58592),f=o(75981),C=o(65365),A=o(94985),M=o(31593),S=o(53930),Z=o(20378),x=o(68249),j=o(37757);function L(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function O(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const z={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"picture-marker":v.A,"simple-line":M.A,"simple-marker":S.A,text:x.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},N=(Z.A,A.A,l.A,{base:Z.A,key:"type",typeMap:{"picture-marker":v.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"}),k={base:Z.A,key:"type",typeMap:{"simple-line":M.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},D={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},$={base:Z.A,key:"type",typeMap:{"picture-marker":v.A,"simple-marker":S.A,text:x.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},P=(0,i.C)({types:z}),R={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"picture-marker":v.A,"simple-line":M.A,"simple-marker":S.A,text:x.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},q={base:Z.A,key:"type",typeMap:{text:x.A,"label-3d":n.A},errorContext:"symbol"},W=(Z.A,n.A,a.A,y.A,f.A,C.A,j.A,{base:Z.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),_={base:Z.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},I=(0,s.aq)(z)},34723:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(31635),i=o(68197),l=o(40876),n=o(10107),a=o(56507),y=(o(44208),o(87811),o(93223)),p=o(40608),c=o(3904);let h=class extends c.A{static{r=this}constructor(e){super(e),this.color=u.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,n.MZ)({type:i.A,nonNullable:!0,json:{type:[a.jz],write:(e,t,o)=>t[o]=e.toArray(l.vC.UNLESS_OPAQUE),default:()=>u.clone(),defaultEquals:e=>e.toCss(!0)===u.toCss(!0)}})],h.prototype,"color",void 0),(0,s.Cg)([(0,y.e)({Water:"water"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],h.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,json:{write:!0,default:null}})],h.prototype,"waveDirection",void 0),(0,s.Cg)([(0,n.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],h.prototype,"waveStrength",void 0),h=r=(0,s.Cg)([(0,p.$)("esri.symbols.WaterSymbol3DLayer")],h);const u=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.patterns.LinePattern3D")],n)},37757:(e,t,o)=>{o.d(t,{A:()=>g});var r,s=o(31635),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(10107),p=(o(44208),o(87811),o(93223)),c=o(40608),h=o(20655),u=o(97159),d=o(20378),m=o(57212);let g=r=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:h.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch(e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s.Cg)([(0,y.MZ)({json:{write:!1}})],g.prototype,"color",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],g.prototype,"styleName",void 0),(0,s.Cg)([(0,y.MZ)({type:h.A,json:{write:!1}})],g.prototype,"portal",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{read:u.r,write:u.w}})],g.prototype,"styleUrl",void 0),(0,s.Cg)([(0,y.MZ)({type:m.V,json:{read:!1}})],g.prototype,"thumbnail",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],g.prototype,"name",void 0),(0,s.Cg)([(0,p.e)({styleSymbolReference:"web-style"},{readOnly:!0})],g.prototype,"type",void 0),(0,s.Cg)([(0,y.MZ)()],g.prototype,"_fetchCacheKey",null),g=r=(0,s.Cg)([(0,c.$)("esri.symbols.WebStyleSymbol")],g)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=(o(53966),o(44208),o(87811),o(49186),o(93223)),l=o(40608),n=o(4792);let a=r=class extends n.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,i.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(4718),l=o(799),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(43937),h=o(30524),u=o(20378);let d=r=class extends u.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,h.Dx)(e,t,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s.Cg)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],d.prototype,"writeData",null),(0,s.Cg)([(0,a.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,p.$)("esri.symbols.CIMSymbol")],d)},44633:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(66552),l=o(10107),n=(o(44208),o(53966),o(87811),o(93223)),a=o(40608),y=o(36533);const p=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let c=r=class extends y.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s.Cg)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.e)(p),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],c.prototype,"style",void 0),c=r=(0,s.Cg)([(0,a.$)("esri.symbols.patterns.LineStylePattern3D")],c)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(31635),l=(o(53966),o(44208),o(87811),o(49186),o(93223)),n=o(40608);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,l.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,n.$)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212:(e,t,o)=>{o.d(t,{V:()=>a});var r,s=o(31635),i=o(65008),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608));let a=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"url",void 0),a=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Thumbnail")],a)},58185:(e,t,o)=>{o.d(t,{A:()=>z});var r=o(31635),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(10107),p=o(79901),c=(o(44208),o(87811),o(36005)),h=o(40608),u=o(43937),d=o(20655),m=o(97159),g=o(26449),b=o(27845),w=o(18574),v=o(11506),f=o(87403),C=o(66525),A=o(20378),M=o(3904),S=o(10224),Z=o(34723),x=o(98751),j=o(57212);const L={icon:w.A,object:f.A,line:v.A,path:C.A,fill:b.A,extrude:g.A,text:S.A,water:Z.A},O=s.A.ofType({base:M.A,key:"type",typeMap:L,errorContext:"symbol-layer"});let z=class extends A.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,o);return new x.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new x.A({portal:o?.portal||d.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,m.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof M.A||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,y.MZ)({type:O,nonNullable:!0,json:{write:!0}}),(0,p.w)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,y.MZ)({type:x.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,c.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,u.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,y.MZ)({type:j.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,h.$)("esri.symbols.Symbol3D")],z)},58592:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(4718),l=o(90629),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(89420),h=o(77040);let u=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(h.ku)],u.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(h.k7)],u.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",void 0),(0,s.Cg)([(0,y.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",void 0),u=r=(0,s.Cg)([(0,p.$)("esri.symbols.PictureMarkerSymbol")],u)},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>A});var r,s=o(31635),i=o(7762),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(10107),c=(o(44208),o(93223)),h=o(40608),u=o(26449),d=o(27845),m=o(18574),g=o(11506),b=o(87403),w=o(58185),v=o(10224),f=o(34723);const C=i.A.ofType({base:null,key:"type",typeMap:{extrude:u.A,fill:d.A,icon:m.A,line:g.A,object:b.A,text:v.A,water:f.A}});let A=r=class extends w.A{constructor(e){super(e),this.symbolLayers=new C,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)(()=>this.symbolLayers,"after-add",({item:t})=>e(t),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([d.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,p.MZ)({type:C,json:{write:!0}})],A.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],A.prototype,"type",void 0),A=r=(0,s.Cg)([(0,h.$)("esri.symbols.PolygonSymbol3D")],A)},66525:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(36005),a=o(40608),y=o(3904),p=o(28975),c=o(8887);let h=class extends y.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s.Cg)([(0,i.MZ)({type:p.N,json:{write:!0}})],h.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s.Cg)([(0,l.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:c.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:c.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s.Cg)([(0,n.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s.Cg)([(0,n.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s.Cg)([(0,a.$)("esri.symbols.PathSymbol3DLayer")],h)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}}},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(27845),c=o(58185);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends c.A{constructor(e){super(e),this.symbolLayers=new h,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:h})],u.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,y.$)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>v});var r,s=o(31635),i=o(68197),l=o(7762),n=o(4718),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(18574),h=o(87403),u=o(58185),d=o(10224),m=o(59483),g=o(8893),b=o(4900);const w=l.A.ofType({base:null,key:"type",typeMap:{icon:c.A,object:h.A,text:d.A}});let v=r=class extends u.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new w,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.LH)(this)}hasVisibleVerticalOffset(){return(0,m.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([c.A.fromCIMSymbol(e)]),callout:new g.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new b.A({screenLength:40})}:{symbolLayers:new l.A([c.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:b.A,json:{write:!0}})],v.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(m.oG)],v.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:w,json:{origins:{"web-scene":{write:!0}}}})],v.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,y.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],v.prototype,"type",void 0),v=r=(0,s.Cg)([(0,p.$)("esri.symbols.PointSymbol3D")],v)},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(30809),p=o(65008);let c=r=class extends p.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"z",void 0),c=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DAnchorPosition3D")],c);var h,u=o(28975);let d=class extends a.A{static{h=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new h({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s.Cg)([(0,i.MZ)({type:u.N,json:{write:!0}})],d.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:y.E,json:{write:!0}})],d.prototype,"resource",void 0),(0,s.Cg)([(0,l.e)({Object:"object"},{readOnly:!0})],d.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"depth",void 0),(0,s.Cg)([(0,l.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],d.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:c,json:{type:[Number],read:{reader:e=>new c({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],d.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],d.prototype,"isPrimitive",null),d=h=(0,s.Cg)([(0,n.$)("esri.symbols.ObjectSymbol3DLayer")],d)},97887:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(11506),c=o(66525),h=o(58185);const u=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}});let m=r=class extends h.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u,json:{type:d}})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,y.$)("esri.symbols.LineSymbol3D")],m)},98751:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(65008),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(20655);let y=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:a.A})],y.prototype,"portal",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.StyleOrigin")],y)}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[3910],{3904:(e,t,o)=>{o.d(t,{A:()=>a});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(43937);let a=class extends s.o{constructor(e){super(e),this.enabled=!0,this.type=null,this.ignoreDrivers=!1}writeEnabled(e,t,o){e||(t[o]=e)}};(0,r.Cg)([(0,i.MZ)({type:Boolean,json:{read:{source:"enable"},write:{target:"enable"}}})],a.prototype,"enabled",void 0),(0,r.Cg)([(0,n.K)("enabled")],a.prototype,"writeEnabled",null),(0,r.Cg)([(0,i.MZ)({type:["icon","object","line","path","fill","water","extrude","text"],readOnly:!0,json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,r.Cg)([(0,l.$)("esri.symbols.Symbol3DLayer")],a)},3955:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e),this.type="style"}clone(){throw new Error("Subclasses of Pattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.patterns.Pattern3D")],n)},4595:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e),this.visible=!0}clone(){throw new Error("Subclasses of Callout3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["line"],constructOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],n.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({readOnly:!0})],n.prototype,"visible",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.callouts.Callout3D")],n)},4792:(e,t,o)=>{o.d(t,{A:()=>h});var r=o(31635),s=o(68197),i=o(25482),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(40608)),p=o(67222);let c=class extends i.o{constructor(e){super(e),this.color=new s.A([0,0,0,1]),this.extensionLength=0,this.size=(0,n.PN)(1)}clone(){}cloneProperties(){return{color:(0,l.o8)(this.color),size:this.size,extensionLength:this.extensionLength}}};(0,r.Cg)([(0,a.MZ)({type:["solid","sketch"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],c.prototype,"type",void 0),(0,r.Cg)([(0,a.MZ)((0,p.EW)({colorRequiredOnWrite:!0}))],c.prototype,"color",void 0),(0,r.Cg)([(0,a.MZ)({...p.pI,json:{write:{overridePolicy:e=>({enabled:!!e})}}})],c.prototype,"extensionLength",void 0),(0,r.Cg)([(0,a.MZ)(p.pI)],c.prototype,"size",void 0),c=(0,r.Cg)([(0,y.$)("esri.symbols.edges.Edges3D")],c);const h=c},4900:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.o{constructor(e){super(e),this.screenLength=0,this.minWorldLength=0,this.maxWorldLength=null}clone(){return new r({screenLength:this.screenLength,minWorldLength:this.minWorldLength,maxWorldLength:this.maxWorldLength})}};(0,s.Cg)([(0,l.MZ)({...a.pI,json:{write:{isRequired:!0}}})],y.prototype,"screenLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,nonNullable:!0,json:{write:!0,default:0}})],y.prototype,"minWorldLength",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0}})],y.prototype,"maxWorldLength",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DVerticalOffset")],y)},6847:(e,t,o)=>{o.d(t,{i:()=>m,r:()=>g});var r,s=o(31635),i=o(66552),l=o(25482),n=o(84952),a=o(10107),y=(o(44208),o(53966),o(87811),o(93223)),p=o(36005),c=o(40608),h=o(43937),u=o(97159);const d=(0,i.O)()({circle:"circle",square:"square",cross:"cross",x:"x",kite:"kite",triangle:"triangle"});let m=r=class extends l.o{constructor(e){super(e)}readHref(e,t,o){return e?(0,u.f)(e,o):t.dataURI}writeHref(e,t,o,r){e&&((0,n.DB)(e)?t.dataURI=e:(t.href=(0,u.t)(e,r),(0,n.oP)(t.href)&&(t.href=(0,n.S8)(t.href))))}clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0,read:{source:["href","dataURI"]}}})],m.prototype,"href",void 0),(0,s.Cg)([(0,p.w)("href")],m.prototype,"readHref",null),(0,s.Cg)([(0,h.K)("href",{href:{type:String},dataURI:{type:String}})],m.prototype,"writeHref",null),(0,s.Cg)([(0,y.e)(d)],m.prototype,"primitive",void 0),m=r=(0,s.Cg)([(0,c.$)("esri.symbols.support.IconSymbol3DLayerResource")],m);const g="circle"},8887:(e,t,o)=>{o.d(t,{Bb:()=>i,Fq:()=>y,M4:()=>p,Nv:()=>c,e:()=>h}),o(44208);var r=o(51850),s=o(70328);function i(e,{isPrimitive:t,width:o,depth:s,height:i}){const l=t?10:1;if(null==o&&null==i&&null==s)return[l*e[0],l*e[1],l*e[2]];const n=(0,r.fA)(o,s,i);let a;for(let t=0;t<3;t++){const o=n[t];if(null!=o){a=o/e[t];break}}for(let t=0;t<3;t++)null==n[t]&&(n[t]=e[t]*a);return n}const l=(0,s.fA)(-.5,-.5,-.5,.5,.5,.5),n=(0,s.fA)(-.5,-.5,0,.5,.5,1),a=(0,s.fA)(-.5,-.5,0,.5,.5,.5);function y(e){switch(e){case"sphere":case"cube":case"diamond":return l;case"cylinder":case"cone":case"inverted-cone":return n;case"tetrahedron":return a;default:return}}const p=["butt","square","round"],c=[...p,"none"],h=["miter","bevel","round"]},8893:(e,t,o)=>{o.d(t,{A:()=>b});var r,s=o(31635),i=o(68197),l=o(4718),n=o(90629),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(4595),h=o(25482),u=o(67222);let d=r=class extends h.o{constructor(e){super(e),this.color=new i.A("white")}clone(){return new r({color:(0,l.o8)(this.color)})}};(0,s.Cg)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],d.prototype,"color",void 0),d=r=(0,s.Cg)([(0,p.$)("esri.symbols.callouts.LineCallout3DBorder")],d);const m=d;var g;let b=g=class extends c.A{constructor(e){super(e),this.type="line",this.color=new i.A([0,0,0,1]),this.size=(0,n.PN)(1),this.border=null}get visible(){return this.size>0&&null!=this.color&&this.color.a>0}clone(){return new g({color:(0,l.o8)(this.color),size:this.size,border:(0,l.o8)(this.border)})}};(0,s.Cg)([(0,y.e)({line:"line"})],b.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)((0,u.EW)({colorRequiredOnWrite:!0}))],b.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...u.pI,json:{write:{isRequired:!0}}})],b.prototype,"size",void 0),(0,s.Cg)([(0,a.MZ)({type:m,json:{write:!0}})],b.prototype,"border",void 0),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],b.prototype,"visible",null),b=g=(0,s.Cg)([(0,p.$)("esri.symbols.callouts.LineCallout3D")],b)},10224:(e,t,o)=>{o.d(t,{A:()=>C});var r,s=o(31635),i=o(4718),l=o(10107),n=(o(44208),o(53966),o(93223)),a=o(40608),y=o(43937),p=o(11831),c=o(3904),h=o(67222),u=o(68197),d=o(25482);let m=r=class extends d.o{constructor(){super(...arguments),this.color=new u.A([0,0,0,1]),this.size=0}clone(){const e={color:(0,i.o8)(this.color),size:this.size};return new r(e)}};(0,s.Cg)([(0,l.MZ)((0,h.EW)())],m.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)(h.pI)],m.prototype,"size",void 0),m=r=(0,s.Cg)([(0,a.$)("esri.symbols.support.Symbol3DHalo")],m);var g=o(28975),b=o(69540);o(87811);let w=class extends((0,b.O)(d.o)){constructor(e){super(e),this.color=null}};(0,s.Cg)([(0,l.MZ)((0,h.EW)())],w.prototype,"color",void 0),w=(0,s.Cg)([(0,a.$)("esri.symbols.support.Symbol3DTextBackground")],w);var v,f=o(5760);let C=class extends c.A{static{v=this}constructor(e){super(e),this._userSize=void 0,this.halo=null,this.horizontalAlignment="center",this.lineHeight=1,this.material=null,this.background=null,this.text=null,this.type="text",this.verticalAlignment="baseline"}get font(){return this._get("font")||null}set font(e){null!=e&&null!=this._userSize&&(e.size=this._userSize),this._set("font",e)}writeFont(e,t,o,r){const s={...r,textSymbol3D:!0};t.font=e.write({},s),delete t.font.size}get size(){return null!=this._userSize?this._userSize:null!=this.font?.size?this.font.size:9}set size(e){this._userSize=e,null!=this.font&&(this.font.size=this._userSize),this.notifyChange("size")}clone(){const e=new v({enabled:this.enabled,font:this.font&&(0,i.o8)(this.font),halo:this.halo&&(0,i.o8)(this.halo),horizontalAlignment:this.horizontalAlignment,lineHeight:this.lineHeight,material:null!=this.material?this.material.clone():null,text:this.text,verticalAlignment:this.verticalAlignment,background:(0,i.o8)(this.background)});return e._userSize=this._userSize,e}static fromTextSymbol(e){return new v({font:null!=e.font?e.font.clone():new p.A,halo:A(e.haloColor,e.haloSize),horizontalAlignment:e.horizontalAlignment,lineHeight:e.lineHeight,material:e.color?new g.N({color:e.color.clone()}):null,text:e.text,verticalAlignment:e.verticalAlignment,background:e.backgroundColor?new w({color:e.backgroundColor.clone()}):null})}};function A(e,t){return e&&null!=t&&t>0?new m({color:(0,i.o8)(e),size:t}):null}(0,s.Cg)([(0,l.MZ)({type:p.A,json:{write:!0}})],C.prototype,"font",null),(0,s.Cg)([(0,y.K)("font")],C.prototype,"writeFont",null),(0,s.Cg)([(0,l.MZ)({type:m,json:{write:!0}})],C.prototype,"halo",void 0),(0,s.Cg)([(0,l.MZ)({...f.rM,json:{default:"center",write:!0}})],C.prototype,"horizontalAlignment",void 0),(0,s.Cg)([(0,l.MZ)({...f.Tb,json:{default:1,write:!0}})],C.prototype,"lineHeight",void 0),(0,s.Cg)([(0,l.MZ)({type:g.N,json:{write:!0}})],C.prototype,"material",void 0),(0,s.Cg)([(0,l.MZ)({type:w,json:{write:!0}})],C.prototype,"background",void 0),(0,s.Cg)([(0,l.MZ)(h.pI)],C.prototype,"size",null),(0,s.Cg)([(0,l.MZ)({type:String,json:{write:!0}})],C.prototype,"text",void 0),(0,s.Cg)([(0,n.e)({Text:"text"},{readOnly:!0})],C.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({...f.x0,json:{default:"baseline",write:!0}})],C.prototype,"verticalAlignment",void 0),C=v=(0,s.Cg)([(0,a.$)("esri.symbols.TextSymbol3DLayer")],C)},11506:(e,t,o)=>{o.d(t,{A:()=>A});var r=o(31635),s=o(90629),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(68197),y=o(69540),p=o(25482),c=o(56507),h=o(83213);let u=class extends((0,y.O)(p.o)){constructor(e){super(e),this.type="style",this.placement="begin-end",this.style="arrow",this.color=null}equals(e){return null!=e&&e.placement===this.placement&&e.style===this.style&&(null==this.color&&null==e.color||null!=this.color&&null!=e.color&&this.color.toJSON()===e.color.toJSON())}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0,isRequired:!0}}})],u.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:h.x,json:{default:"begin-end",write:!0}})],u.prototype,"placement",void 0),(0,r.Cg)([(0,i.MZ)({type:h.z,json:{default:"arrow",write:!0}})],u.prototype,"style",void 0),(0,r.Cg)([(0,i.MZ)({type:a.A,json:{type:[c.jz],default:null,write:!0}})],u.prototype,"color",void 0),u=(0,r.Cg)([(0,n.$)("esri.symbols.LineStyleMarker3D")],u);var d,m=o(3904),g=o(44633),b=o(20603),w=o(33386),v=o(67222),f=o(28975),C=o(8887);let A=class extends m.A{static{d=this}constructor(e){super(e),this.material=null,this.type="line",this.join="miter",this.cap="butt",this.size=(0,s.PN)(1),this.pattern=null,this.marker=null}clone(){const e={enabled:this.enabled,material:null!=this.material?this.material.clone():null,size:this.size,join:this.join,cap:this.cap,pattern:null!=this.pattern?this.pattern.clone():null,marker:null!=this.marker?this.marker.clone():null};return new d(e)}static fromSimpleLineSymbol(e){const t={enabled:!0,size:e.width??(0,s.PN)(1),cap:e.cap||"butt",join:e.join||"miter",pattern:e.style?new g.A({style:e.style}):null,material:new f.N({color:(e.color||w.ON).clone()}),marker:e.marker?new u({placement:e.marker.placement,style:e.marker.style,color:e.marker.color?.clone()??null}):null};return new d(t)}};(0,r.Cg)([(0,i.MZ)({type:f.N,json:{write:!0}})],A.prototype,"material",void 0),(0,r.Cg)([(0,l.e)({Line:"line"},{readOnly:!0})],A.prototype,"type",void 0),(0,r.Cg)([(0,i.MZ)({type:C.e,json:{write:!0,default:"miter"}})],A.prototype,"join",void 0),(0,r.Cg)([(0,i.MZ)({type:C.M4,json:{write:!0,default:"butt"}})],A.prototype,"cap",void 0),(0,r.Cg)([(0,i.MZ)({...v.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),(0,r.Cg)([(0,i.MZ)(b.v)],A.prototype,"pattern",void 0),(0,r.Cg)([(0,i.MZ)({types:{key:"type",base:u,typeMap:{style:u}},json:{write:!0}})],A.prototype,"marker",void 0),A=d=(0,r.Cg)([(0,n.$)("esri.symbols.LineSymbol3DLayer")],A)},13313:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(58185),c=o(10224),h=o(59483),u=o(4900);const d=i.A.ofType({base:null,key:"type",typeMap:{text:c.A}});let m=r=class extends p.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.styleOrigin=null,this.symbolLayers=new d,this.type="label-3d"}supportsCallout(){return!0}hasVisibleCallout(){return(0,h.LH)(this)}hasVisibleVerticalOffset(){return(0,h.Yq)(this)}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail),callout:(0,l.o8)(this.callout),verticalOffset:(0,l.o8)(this.verticalOffset)})}static fromTextSymbol(e){return new r({symbolLayers:new i.A([c.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u.A,json:{write:!0}})],m.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,n.MZ)(h.oG)],m.prototype,"callout",void 0),(0,s.Cg)([(0,n.MZ)({json:{read:!1,write:!1}})],m.prototype,"styleOrigin",void 0),(0,s.Cg)([(0,n.MZ)({type:d})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({LabelSymbol3D:"label-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,y.$)("esri.symbols.LabelSymbol3D")],m)},16264:(e,t,o)=>{o.d(t,{A:()=>a});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608)),n=o(3955);let a=r=class extends n.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){return new r({style:this.style})}};(0,s.Cg)([(0,i.MZ)({type:["style"],json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["backward-diagonal","cross","diagonal-cross","forward-diagonal","horizontal","none","solid","vertical"],json:{read:!0,write:{isRequired:!0}}})],a.prototype,"style",void 0),a=r=(0,s.Cg)([(0,l.$)("esri.symbols.patterns.StylePattern3D")],a)},18574:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(4718),l=o(53966),n=o(84952),a=o(10107),y=(o(44208),o(93223)),p=o(40608),c=o(3904),h=o(33386),u=o(6847),d=o(67222),m=o(65008);o(87811);let g=r=class extends m.A{constructor(){super(...arguments),this.x=0,this.y=0}clone(){return new r({x:this.x,y:this.y})}};(0,s.Cg)([(0,a.MZ)({type:Number})],g.prototype,"x",void 0),(0,s.Cg)([(0,a.MZ)({type:Number})],g.prototype,"y",void 0),g=r=(0,s.Cg)([(0,p.$)("esri.symbols.support.Symbol3DAnchorPosition2D")],g);var b,w=o(68197),v=o(25482),f=o(90629);let C=b=class extends v.o{constructor(e){super(e),this.color=new w.A([0,0,0,1]),this.size=(0,f.PN)(1)}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size};return new b(e)}};(0,s.Cg)([(0,a.MZ)((0,d.EW)({colorRequiredOnWrite:!0}))],C.prototype,"color",void 0),(0,s.Cg)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],C.prototype,"size",void 0),C=b=(0,s.Cg)([(0,p.$)("esri.symbols.support.Symbol3DIconOutline")],C);var A,M=o(28975);let S=class extends c.A{static{A=this}constructor(e){super(e),this.material=null,this.resource=null,this.type="icon",this.size=12,this.anchor="center",this.anchorPosition=null,this.outline=null,this.angle=0}clone(){return new A({anchor:this.anchor,anchorPosition:(0,i.o8)(this.anchorPosition),enabled:this.enabled,material:(0,i.o8)(this.material),outline:(0,i.o8)(this.outline),resource:(0,i.o8)(this.resource),angle:this.angle,size:this.size})}static fromSimpleMarkerSymbol(e){const t=e.color||h.ON,o=Z(e),r=e.outline&&e.outline.width>0?{size:e.outline.width,color:(e.outline.color||h.ON).clone()}:null;return new A({size:e.size,angle:e.angle,resource:{primitive:L(()=>l.A.getLogger(this.prototype),e.style)},material:{color:t},outline:r,anchor:o?"relative":void 0,anchorPosition:o})}static fromPictureMarkerSymbol(e){const t=!e.color||(0,h.U9)(e.color)?h.ON:e.color,o=Z(e);return new A({size:e.width<=e.height?e.height:e.width,angle:e.angle,resource:{href:e.url},material:{color:t.clone()},anchor:o?"relative":void 0,anchorPosition:o})}static fromCIMSymbol(e){return new A({resource:{href:(0,n.Hg)({mediaType:"application/json",data:JSON.stringify(e.data)})}})}};function Z(e){const t="width"in e?e.width:e.size,o="height"in e?e.height:e.size,r=x(e.xoffset),s=x(e.yoffset);return(r||s)&&t&&o?{x:-r/t,y:s/o}:null}function x(e){return isFinite(e)?e:0}(0,s.Cg)([(0,a.MZ)({type:M.N,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,a.MZ)({type:u.i,json:{write:!0}})],S.prototype,"resource",void 0),(0,s.Cg)([(0,y.e)({Icon:"icon"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)({...d.pI,json:{write:{isRequired:!0}}})],S.prototype,"size",void 0),(0,s.Cg)([(0,y.e)({center:"center",left:"left",right:"right",top:"top",bottom:"bottom",topLeft:"top-left",topRight:"top-right",bottomLeft:"bottom-left",bottomRight:"bottom-right",relative:"relative"},{default:"center"})],S.prototype,"anchor",void 0),(0,s.Cg)([(0,a.MZ)({type:g,json:{type:[Number],read:{reader:e=>new g({x:e[0],y:e[1]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],S.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,a.MZ)({type:C,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,a.MZ)({type:Number,json:{write:!0,default:0}})],S.prototype,"angle",void 0),S=A=(0,s.Cg)([(0,p.$)("esri.symbols.IconSymbol3DLayer")],S);const j={circle:"circle",cross:"cross",diamond:"kite",square:"square",x:"x",triangle:"triangle",path:null};function L(e,t){return j[t]||(e().warn(`${t} cannot be mapped to Icon symbol. Fallback to "circle"`),"circle")}},20603:(e,t,o)=>{o.d(t,{r:()=>n,v:()=>a});var r=o(36533),s=o(44633),i=o(3955),l=o(16264);const n={types:{key:"type",base:i.A,typeMap:{style:l.A}},json:{write:!0}},a={types:{key:"type",base:r.A,typeMap:{style:s.A}},json:{write:!0}}},26449:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(28975);let c=class extends a.A{static{r=this}constructor(e){super(e),this.type="extrude",this.size=1,this.material=null,this.castShadows=!0,this.edges=null}clone(){return new r({edges:this.edges?.clone(),enabled:this.enabled,material:this.material?.clone(),castShadows:this.castShadows,size:this.size})}};(0,s.Cg)([(0,l.e)({Extrude:"extrude"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,isRequired:!0}},nonNullable:!0})],c.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)({type:p.N,json:{write:!0}})],c.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],c.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)(y.J)],c.prototype,"edges",void 0),c=r=(0,s.Cg)([(0,n.$)("esri.symbols.ExtrudeSymbol3DLayer")],c)},27845:(e,t,o)=>{o.d(t,{A:()=>S});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(51734),p=o(44633),c=o(16264),h=o(20603),u=o(33386),d=(o(49186),o(28975));let m=r=class extends d.N{constructor(e){super(e),this.colorMixMode=null}clone(){const e={color:this.color?.clone()??null,colorMixMode:this.colorMixMode,emissive:this.emissive?.clone()??null};return new r(e)}};(0,s.Cg)([(0,l.e)({multiply:"multiply",replace:"replace",tint:"tint"})],m.prototype,"colorMixMode",void 0),m=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DFillMaterial")],m);var g,b=o(68197),w=o(25482),v=o(90629),f=o(67222),C=o(8887);let A=g=class extends w.o{constructor(e){super(e),this.color=new b.A([0,0,0,1]),this.size=(0,v.PN)(1),this.pattern=null,this.patternCap="butt"}clone(){const e={color:null!=this.color?this.color.clone():null,size:this.size,pattern:null!=this.pattern?this.pattern.clone():null,patternCap:this.patternCap};return new g(e)}};var M;(0,s.Cg)([(0,i.MZ)((0,f.EW)({colorRequiredOnWrite:!0}))],A.prototype,"color",void 0),(0,s.Cg)([(0,i.MZ)({...f.pI,json:{write:{isRequired:!0}}})],A.prototype,"size",void 0),(0,s.Cg)([(0,i.MZ)(h.v)],A.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:C.M4,json:{default:"butt",write:{overridePolicy(){return{enabled:null!=this.pattern}}}}})],A.prototype,"patternCap",void 0),A=g=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DOutline")],A);let S=class extends a.A{static{M=this}constructor(e){super(e),this.type="fill",this.material=null,this.pattern=null,this.castShadows=!0,this.outline=null,this.edges=null}clone(){const e={edges:null!=this.edges?this.edges.clone():null,enabled:this.enabled,material:null!=this.material?this.material.clone():null,pattern:null!=this.pattern?this.pattern.clone():null,castShadows:this.castShadows,outline:null!=this.outline?this.outline.clone():null};return new M(e)}static fromSimpleFillSymbol(e){const t=e.outline&&e.outline.style&&"solid"!==e.outline.style?new p.A({style:e.outline.style}):null,o={size:e.outline?.width??0,color:(e.outline?.color??u.ON).clone(),pattern:t};return t&&e.outline?.cap&&(o.patternCap=e.outline.cap),new M({material:new m({color:(e.color??u.u7).clone()}),pattern:e.style&&"solid"!==e.style?new c.A({style:e.style}):null,outline:o})}};(0,s.Cg)([(0,l.e)({Fill:"fill"},{readOnly:!0})],S.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:m,json:{write:!0}})],S.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)(h.r)],S.prototype,"pattern",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],S.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:A,json:{write:!0}})],S.prototype,"outline",void 0),(0,s.Cg)([(0,i.MZ)(y.J)],S.prototype,"edges",void 0),S=M=(0,s.Cg)([(0,n.$)("esri.symbols.FillSymbol3DLayer")],S)},28975:(e,t,o)=>{o.d(t,{N:()=>c});var r,s=o(31635),i=o(25482),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(67222);let y=r=class extends i.o{constructor(){super(...arguments),this.strength=null,this.source="emissive"}clone(){const e={strength:this.strength,source:this.source};return new r(e)}};var p;(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],y.prototype,"strength",void 0),(0,s.Cg)([(0,l.MZ)({json:{write:!1}})],y.prototype,"source",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DEmissive")],y);let c=p=class extends i.o{constructor(e){super(e),this.color=null,this.emissive=new y({source:"emissive"})}clone(){const e={color:this.color?.clone()??null,emissive:this.emissive?.clone()??null};return new p(e)}};(0,s.Cg)([(0,l.MZ)((0,a.EW)())],c.prototype,"color",void 0),(0,s.Cg)([(0,l.MZ)({type:y,json:{write:!1}})],c.prototype,"emissive",void 0),c=p=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DMaterial")],c)},30809:(e,t,o)=>{o.d(t,{E:()=>h,r:()=>u});var r,s=o(31635),i=o(66552),l=o(25482),n=o(10107),a=(o(44208),o(53966),o(87811),o(93223)),y=o(40608),p=o(97159);const c=(0,i.O)()({sphere:"sphere",cylinder:"cylinder",cube:"cube",cone:"cone",diamond:"diamond",tetrahedron:"tetrahedron",invertedCone:"inverted-cone"});let h=r=class extends l.o{clone(){return new r({href:this.href,primitive:this.primitive})}};(0,s.Cg)([(0,n.MZ)({type:String,json:{read:p.r,write:p.w}})],h.prototype,"href",void 0),(0,s.Cg)([(0,a.e)(c)],h.prototype,"primitive",void 0),h=r=(0,s.Cg)([(0,y.$)("esri.symbols.support.ObjectSymbol3DLayerResource")],h);const u="sphere"},33386:(e,t,o)=>{o.d(t,{ON:()=>s,U9:()=>l,u7:()=>i});var r=o(68197);const s=new r.A("white"),i=new r.A([255,255,255,0]);function l(e){return 0===e.r&&0===e.g&&0===e.b}},33910:(e,t,o)=>{o.d(t,{dp:()=>I,$y:()=>L,wk:()=>O,Y7:()=>k,wC:()=>N,Ac:()=>D,Bu:()=>P,Es:()=>z,q8:()=>$,em:()=>q,Rv:()=>_,xK:()=>R,On:()=>W});var r,s=o(56507),i=o(90360),l=o(40863),n=o(13313),a=o(97887),y=o(68548),p=o(31635),c=o(4718),h=o(90629),u=o(10107),d=(o(44208),o(53966),o(93223)),m=o(40608),g=o(65851),b=o(77040);let w=r=class extends g.A{constructor(...e){super(...e),this.type="picture-fill",this.url=null,this.xscale=1,this.yscale=1,this.width=12,this.height=12,this.xoffset=0,this.yoffset=0,this.source=null}normalizeCtorArgs(e,t,o,r){if(e&&"string"!=typeof e&&null==e.imageData)return e;const s={};return e&&(s.url=e),t&&(s.outline=t),null!=o&&(s.width=(0,h.cr)(o)),null!=r&&(s.height=(0,h.cr)(r)),s}clone(){const e=new r({color:(0,c.o8)(this.color),height:this.height,outline:(0,c.o8)(this.outline),url:this.url,width:this.width,xoffset:this.xoffset,xscale:this.xscale,yoffset:this.yoffset,yscale:this.yscale});return e._set("source",(0,c.o8)(this.source)),e}hash(){return`${super.hash()}.${this.color?.hash()}.${this.height}.${this.url}.${this.width}.${this.xoffset}.${this.xscale}.${this.yoffset}.${this.yscale}`}};(0,p.Cg)([(0,d.e)({esriPFS:"picture-fill"},{readOnly:!0})],w.prototype,"type",void 0),(0,p.Cg)([(0,u.MZ)(b.ku)],w.prototype,"url",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],w.prototype,"xscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,json:{write:!0}})],w.prototype,"yscale",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"width",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"height",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"xoffset",void 0),(0,p.Cg)([(0,u.MZ)({type:Number,cast:h.cr,json:{write:!0}})],w.prototype,"yoffset",void 0),(0,p.Cg)([(0,u.MZ)(b.k7)],w.prototype,"source",void 0),w=r=(0,p.Cg)([(0,m.$)("esri.symbols.PictureFillSymbol")],w);var v=o(58592),f=o(75981),C=o(65365),A=o(94985),M=o(31593),S=o(53930),Z=o(20378),x=o(68249),j=o(37757);function L(e){if(!e)return!1;switch(e.type){case"picture-fill":case"picture-marker":case"simple-fill":case"simple-line":case"simple-marker":case"text":case"cim":return!0;default:return!1}}function O(e){switch(e?.type){case"label-3d":case"line-3d":case"mesh-3d":case"point-3d":case"polygon-3d":return!0;default:return!1}}const z={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"picture-marker":v.A,"simple-line":M.A,"simple-marker":S.A,text:x.A,"label-3d":n.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},N=(Z.A,A.A,l.A,{base:Z.A,key:"type",typeMap:{"picture-marker":v.A,"simple-marker":S.A,"point-3d":f.A,cim:l.A},errorContext:"symbol"}),k={base:Z.A,key:"type",typeMap:{"simple-line":M.A,"line-3d":a.A,cim:l.A},errorContext:"symbol"},D={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"polygon-3d":C.A,cim:l.A},errorContext:"symbol"},$={base:Z.A,key:"type",typeMap:{"picture-marker":v.A,"simple-marker":S.A,text:x.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},P=(0,i.C)({types:z}),R={base:Z.A,key:"type",typeMap:{"simple-fill":A.A,"picture-fill":w,"picture-marker":v.A,"simple-line":M.A,"simple-marker":S.A,text:x.A,"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"},q={base:Z.A,key:"type",typeMap:{text:x.A,"label-3d":n.A},errorContext:"symbol"},W=(Z.A,n.A,a.A,y.A,f.A,C.A,j.A,{base:Z.A,key:"type",typeMap:{"line-3d":a.A,"mesh-3d":y.A,"point-3d":f.A,"polygon-3d":C.A,"web-style":j.A,cim:l.A},errorContext:"symbol"}),_={base:Z.A,key:"type",typeMap:{"label-3d":n.A},errorContext:"symbol"},I=(0,s.aq)(z)},34723:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(68197),l=o(10107),n=o(56507),a=(o(44208),o(87811),o(93223)),y=o(40608),p=o(3904);let c=class extends p.A{static{r=this}constructor(e){super(e),this.color=h.clone(),this.type="water",this.waterbodySize="medium",this.waveDirection=null,this.waveStrength="moderate"}clone(){return new r({color:this.color.clone(),waterbodySize:this.waterbodySize,waveDirection:this.waveDirection,waveStrength:this.waveStrength})}};(0,s.Cg)([(0,l.MZ)({type:i.A,nonNullable:!0,json:{type:[n.jz],write:(e,t,o)=>t[o]=e.toArray(1),default:()=>h.clone(),defaultEquals:e=>e.toCss(!0)===h.toCss(!0)}})],c.prototype,"color",void 0),(0,s.Cg)([(0,a.e)({Water:"water"},{readOnly:!0})],c.prototype,"type",void 0),(0,s.Cg)([(0,l.MZ)({type:["small","medium","large"],json:{write:!0,default:"medium"}})],c.prototype,"waterbodySize",void 0),(0,s.Cg)([(0,l.MZ)({type:Number,json:{write:!0,default:null}})],c.prototype,"waveDirection",void 0),(0,s.Cg)([(0,l.MZ)({type:["calm","rippled","slight","moderate"],json:{write:!0,default:"moderate"}})],c.prototype,"waveStrength",void 0),c=r=(0,s.Cg)([(0,y.$)("esri.symbols.WaterSymbol3DLayer")],c);const h=new i.A([0,119,190])},36533:(e,t,o)=>{o.d(t,{A:()=>n});var r=o(31635),s=o(25482),i=o(10107),l=(o(44208),o(53966),o(87811),o(40608));let n=class extends s.o{constructor(e){super(e)}clone(){throw new Error("Subclasses of LinePattern3D should implement their own clone method.")}};(0,r.Cg)([(0,i.MZ)({type:["style"],readOnly:!0,json:{read:!0,write:{ignoreOrigin:!0}}})],n.prototype,"type",void 0),n=(0,r.Cg)([(0,l.$)("esri.symbols.patterns.LinePattern3D")],n)},37757:(e,t,o)=>{o.d(t,{A:()=>g});var r,s=o(31635),i=o(51447),l=o(49186),n=o(53966),a=o(74887),y=o(10107),p=(o(44208),o(87811),o(93223)),c=o(40608),h=o(20655),u=o(97159),d=o(20378),m=o(57212);let g=r=class extends d.A{constructor(e){super(e),this.color=null,this.styleName=null,this.portal=null,this.styleUrl=null,this.thumbnail=null,this.name=null,this.type="web-style"}get _fetchCacheKey(){const e=null!=this.portal?this.portal:h.A.getDefault(),t=e.user?e.user.username:null;return`${this.styleName}:${this.styleUrl}:${this.name}:${t}:${e.url}`}read(e,t){this.portal=t?.portal,super.read(e,t)}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}fetchSymbol(e){return this._fetchSymbol(e)}async fetchCIMSymbol(e){(0,i.eO)(n.A.getLogger(this),"WebStyleSymbol.fetchCIMSymbol is deprecated in favour of WebStyleSymbol.fetchSymbol which now supports both web and cim symbology",{version:"4.33",replacement:"WebStyleSymbol.fetchSymbol",see:"https://arcg.is/0CXPTr#fetchSymbol",warnOnce:!0});const t=await this._fetchSymbol({...e,acceptedFormats:["cim"]});if("cim"!==t?.type)throw new l.A("webstylesymbol:fetchCIMSymbol","Resolved web style symbol is not of type 'cim'");return t}async _fetchSymbol(e){const t=null!=e?e.cache:null,r=t?this._fetchCacheKey:null;if(null!=t){const e=r&&t.get(r);if(e)return e.clone()}const{resolveWebStyleSymbol:s}=await o.e(7883).then(o.bind(o,27883));(0,a.Te)(e);const i=s(this,{portal:this.portal},e);i.catch(e=>{n.A.getLogger(this).error("#fetchSymbol()","Failed to create symbol from style",e)});const l=await i;return null!=t&&t.set(r,l.clone()),l}};(0,s.Cg)([(0,y.MZ)({json:{write:!1}})],g.prototype,"color",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],g.prototype,"styleName",void 0),(0,s.Cg)([(0,y.MZ)({type:h.A,json:{write:!1}})],g.prototype,"portal",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{read:u.r,write:u.w}})],g.prototype,"styleUrl",void 0),(0,s.Cg)([(0,y.MZ)({type:m.V,json:{read:!1}})],g.prototype,"thumbnail",void 0),(0,s.Cg)([(0,y.MZ)({type:String,json:{write:!0}})],g.prototype,"name",void 0),(0,s.Cg)([(0,p.e)({styleSymbolReference:"web-style"},{readOnly:!0})],g.prototype,"type",void 0),(0,s.Cg)([(0,y.MZ)()],g.prototype,"_fetchCacheKey",null),g=r=(0,s.Cg)([(0,c.$)("esri.symbols.WebStyleSymbol")],g)},39065:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=(o(53966),o(44208),o(87811),o(49186),o(93223)),l=o(40608),n=o(4792);let a=r=class extends n.A{constructor(e){super(e),this.type="solid"}clone(){return new r(this.cloneProperties())}};(0,s.Cg)([(0,i.e)({solid:"solid"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,s.Cg)([(0,l.$)("esri.symbols.edges.SolidEdges3D")],a);const y=a},40863:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(4718),l=o(799),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(43937),h=o(30524),u=o(20378);let d=r=class extends u.A{constructor(e){super(e),this.data=null,this.type="cim"}readData(e,t){return t}writeData(e,t){Object.assign(t,e)}async collectRequiredFields(e,t){if("CIMSymbolReference"===this.data?.type){const o=this.data.primitiveOverrides;if(o){const r=o.map(o=>{const r=o.valueExpressionInfo;return r?(0,h.Dx)(e,t,r.expression):null});await Promise.all(r)}}}clone(){return new r({data:(0,i.o8)(this.data)})}hash(){return(0,l.Wm)(JSON.stringify(this.data)).toString()}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],d.prototype,"color",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"data",void 0),(0,s.Cg)([(0,y.w)("data",["symbol"])],d.prototype,"readData",null),(0,s.Cg)([(0,c.K)("data",{})],d.prototype,"writeData",null),(0,s.Cg)([(0,a.e)({CIMSymbolReference:"cim"},{readOnly:!0})],d.prototype,"type",void 0),d=r=(0,s.Cg)([(0,p.$)("esri.symbols.CIMSymbol")],d)},44633:(e,t,o)=>{o.d(t,{A:()=>c});var r,s=o(31635),i=o(66552),l=o(10107),n=(o(44208),o(53966),o(87811),o(93223)),a=o(40608),y=o(36533);const p=(0,i.O)()({dash:"dash","dash-dot":"dash-dot","dash-dot-dot":"long-dash-dot-dot",dot:"dot","long-dash":"long-dash","long-dash-dot":"long-dash-dot",null:"none","short-dash":"short-dash","short-dash-dot":"short-dash-dot","short-dash-dot-dot":"short-dash-dot-dot","short-dot":"short-dot",solid:"solid"});let c=r=class extends y.A{constructor(e){super(e),this.type="style",this.style="solid"}clone(){const e={style:this.style};return new r(e)}};(0,s.Cg)([(0,l.MZ)({type:["style"],json:{write:{isRequired:!0}}})],c.prototype,"type",void 0),(0,s.Cg)([(0,n.e)(p),(0,l.MZ)({type:["dash","dash-dot","dot","long-dash","long-dash-dot","long-dash-dot-dot","none","short-dash","short-dash-dot","short-dash-dot-dot","short-dot","solid"],json:{write:{isRequired:!0}}})],c.prototype,"style",void 0),c=r=(0,s.Cg)([(0,a.$)("esri.symbols.patterns.LineStylePattern3D")],c)},51734:(e,t,o)=>{o.d(t,{J:()=>c});var r,s=o(4792),i=o(31635),l=(o(53966),o(44208),o(87811),o(49186),o(93223)),n=o(40608);let a=r=class extends s.A{constructor(e){super(e),this.type="sketch"}clone(){return new r(this.cloneProperties())}};(0,i.Cg)([(0,l.e)({sketch:"sketch"},{readOnly:!0})],a.prototype,"type",void 0),a=r=(0,i.Cg)([(0,n.$)("esri.symbols.edges.SketchEdges3D")],a);const y=a;var p=o(39065);const c={types:{key:"type",base:s.A,typeMap:{solid:p.A,sketch:y}},json:{write:!0}}},57212:(e,t,o)=>{o.d(t,{V:()=>a});var r,s=o(31635),i=o(65008),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608));let a=r=class extends i.A{constructor(){super(...arguments),this.url=""}clone(){return new r({url:this.url})}};(0,s.Cg)([(0,l.MZ)({type:String})],a.prototype,"url",void 0),a=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Thumbnail")],a)},58185:(e,t,o)=>{o.d(t,{A:()=>z});var r=o(31635),s=o(7762),i=o(62885),l=o(53966),n=o(84952),a=o(67076),y=o(10107),p=o(79901),c=(o(44208),o(87811),o(36005)),h=o(40608),u=o(43937),d=o(20655),m=o(97159),g=o(26449),b=o(27845),w=o(18574),v=o(11506),f=o(87403),C=o(66525),A=o(20378),M=o(3904),S=o(10224),Z=o(34723),x=o(98751),j=o(57212);const L={icon:w.A,object:f.A,line:v.A,path:C.A,fill:b.A,extrude:g.A,text:S.A,water:Z.A},O=s.A.ofType({base:M.A,key:"type",typeMap:L,errorContext:"symbol-layer"});let z=class extends A.A{constructor(e){super(e),this.styleOrigin=null,this.thumbnail=null,this.type=null;const t=this.__accessor__&&this.__accessor__.metadata&&this.__accessor__.metadata.symbolLayers,o=t?.type,r=o||s.A;this._set("symbolLayers",new r)}get color(){return null}set color(e){this.constructed&&l.A.getLogger(this).error("Symbol3D does not support colors on the symbol level. Colors may be set on individual symbol layer materials instead.")}set symbolLayers(e){(0,i.V)(e,this._get("symbolLayers"))}readStyleOrigin(e,t,o){if(e.styleUrl&&e.name){const t=(0,m.f)(e.styleUrl,o);return new x.A({styleUrl:t,name:e.name})}if(e.styleName&&e.name)return new x.A({portal:o?.portal||d.A.getDefault(),styleName:e.styleName,name:e.name});o?.messages&&o.messages.push(new a.A("symbol3d:incomplete-style-origin","Style origin requires either a 'styleUrl' or 'styleName' and a 'name' property",{context:o,definition:e}))}writeStyleOrigin(e,t,o,r){if(e.styleUrl&&e.name){let o=(0,m.t)(e.styleUrl,r);(0,n.oP)(o)&&(o=(0,n.S8)(o)),t.styleOrigin={styleUrl:o,name:e.name}}else e.styleName&&e.name&&(e.portal&&r?.portal&&!(0,n.ut)(e.portal.restUrl,r.portal.restUrl)?r?.messages&&r.messages.push(new a.A("symbol:cross-portal","The symbol style origin cannot be persisted because it refers to an item on a different portal than the one being saved to.",{symbol:this})):t.styleOrigin={styleName:e.styleName,name:e.name})}normalizeCtorArgs(e){return e instanceof M.A||e&&L[e.type]?{symbolLayers:[e]}:Array.isArray(e)?{symbolLayers:e}:e}};(0,r.Cg)([(0,y.MZ)({json:{read:!1,write:!1}})],z.prototype,"color",null),(0,r.Cg)([(0,y.MZ)({type:O,nonNullable:!0,json:{write:!0}}),(0,p.w)(i.H)],z.prototype,"symbolLayers",null),(0,r.Cg)([(0,y.MZ)({type:x.A})],z.prototype,"styleOrigin",void 0),(0,r.Cg)([(0,c.w)("styleOrigin")],z.prototype,"readStyleOrigin",null),(0,r.Cg)([(0,u.K)("styleOrigin",{"styleOrigin.styleUrl":{type:String},"styleOrigin.styleName":{type:String},"styleOrigin.name":{type:String}})],z.prototype,"writeStyleOrigin",null),(0,r.Cg)([(0,y.MZ)({type:j.V,json:{read:!1}})],z.prototype,"thumbnail",void 0),(0,r.Cg)([(0,y.MZ)({type:["point-3d","line-3d","polygon-3d","mesh-3d","label-3d"],readOnly:!0})],z.prototype,"type",void 0),z=(0,r.Cg)([(0,h.$)("esri.symbols.Symbol3D")],z)},58592:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(4718),l=o(90629),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(36005),p=o(40608),c=o(89420),h=o(77040);let u=r=class extends c.A{constructor(...e){super(...e),this.color=null,this.type="picture-marker",this.url=null,this.source=null,this.height=12,this.width=12,this.size=null}normalizeCtorArgs(e,t,o){if(e&&"string"!=typeof e&&null==e.imageData)return e;const r={};return e&&(r.url=e),null!=t&&(r.width=(0,l.cr)(t)),null!=o&&(r.height=(0,l.cr)(o)),r}readHeight(e,t){return t.size||e}readWidth(e,t){return t.size||e}clone(){const e=new r({angle:this.angle,height:this.height,url:this.url,width:this.width,xoffset:this.xoffset,yoffset:this.yoffset});return e._set("source",(0,i.o8)(this.source)),e}hash(){return`${super.hash()}.${this.height}.${this.url}.${this.width}`}};(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"color",void 0),(0,s.Cg)([(0,a.e)({esriPMS:"picture-marker"},{readOnly:!0})],u.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)(h.ku)],u.prototype,"url",void 0),(0,s.Cg)([(0,n.MZ)(h.k7)],u.prototype,"source",void 0),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"height",void 0),(0,s.Cg)([(0,y.w)("height",["height","size"])],u.prototype,"readHeight",null),(0,s.Cg)([(0,n.MZ)({type:Number,cast:l.cr,json:{write:!0}})],u.prototype,"width",void 0),(0,s.Cg)([(0,n.MZ)({json:{write:!1}})],u.prototype,"size",void 0),u=r=(0,s.Cg)([(0,p.$)("esri.symbols.PictureMarkerSymbol")],u)},59483:(e,t,o)=>{o.d(t,{LH:()=>l,Yq:()=>i,oG:()=>n});var r=o(4595),s=o(8893);function i(e){if(!e)return!1;const t=e.verticalOffset;return!(!t||t.screenLength<=0||null!=t.maxWorldLength&&t.maxWorldLength<=0)}function l(e){if(!e||!e.supportsCallout||!e.supportsCallout())return!1;const t=e.callout;return!!t?.visible&&!!i(e)}const n={types:{key:"type",base:r.A,typeMap:{line:s.A}},json:{write:!0}}},62885:(e,t,o)=>{o.d(t,{H:()=>i,V:()=>s});var r=o(7762);function s(e,t,o=r.A){return t||(t=new o),t===e||t.destroyed||(t.removeAll(),(s=e)&&(Array.isArray(s)||"items"in s&&Array.isArray(s.items))?t.addMany(e):e&&t.add(e)),t;var s}function i(e){return e}},65365:(e,t,o)=>{o.d(t,{A:()=>A});var r,s=o(31635),i=o(7762),l=o(51447),n=o(4718),a=o(53966),y=o(36708),p=o(10107),c=(o(44208),o(93223)),h=o(40608),u=o(26449),d=o(27845),m=o(18574),g=o(11506),b=o(87403),w=o(58185),v=o(10224),f=o(34723);const C=i.A.ofType({base:null,key:"type",typeMap:{extrude:u.A,fill:d.A,icon:m.A,line:g.A,object:b.A,text:v.A,water:f.A}});let A=r=class extends w.A{constructor(e){super(e),this.symbolLayers=new C,this.type="polygon-3d"}initialize(){const e=e=>{"line"===e.type&&(0,l.io)(a.A.getLogger(this),"LineSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use FillSymbol3DLayer.outline instead.",version:"4.28"}),"text"===e.type&&(0,l.io)(a.A.getLogger(this),"TextSymbol3DLayer can not be used as a SymbolLayer with a PolygonSymbol3D symbol anymore.",{replacement:"Use Labels instead.",version:"4.28"})};for(const t of this.symbolLayers)e(t);this.addHandles((0,y.on)(()=>this.symbolLayers,"after-add",({item:t})=>e(t),y.OH))}clone(){return new r({styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromJSON(e){const t=new r;if(t.read(e),2===t.symbolLayers.length&&"fill"===t.symbolLayers.at(0).type&&"line"===t.symbolLayers.at(1).type){const o=t.symbolLayers.at(0),r=t.symbolLayers.at(1);!r.enabled||e.symbolLayers?.[1]&&!1===e.symbolLayers[1].enable||(o.outline={size:r.size,color:null!=r.material?r.material.color:null}),t.symbolLayers.removeAt(1)}return t}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([d.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,p.MZ)({type:C,json:{write:!0}})],A.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,c.e)({PolygonSymbol3D:"polygon-3d"},{readOnly:!0})],A.prototype,"type",void 0),A=r=(0,s.Cg)([(0,h.$)("esri.symbols.PolygonSymbol3D")],A)},66525:(e,t,o)=>{o.d(t,{A:()=>h});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(36005),a=o(40608),y=o(3904),p=o(28975),c=o(8887);let h=class extends y.A{static{r=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.type="path",this.profile="circle",this.join="miter",this.cap="butt",this.width=void 0,this.height=void 0,this.anchor="center",this.profileRotation="all"}readWidth(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0}readHeight(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0}clone(){return new r({enabled:this.enabled,material:null!=this.material?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})}};(0,s.Cg)([(0,i.MZ)({type:p.N,json:{write:!0}})],h.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],h.prototype,"castShadows",void 0),(0,s.Cg)([(0,l.e)({Path:"path"},{readOnly:!0})],h.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:["circle","quad"],nonNullable:!0,json:{write:!0,default:"circle"}})],h.prototype,"profile",void 0),(0,s.Cg)([(0,i.MZ)({type:c.e,nonNullable:!0,json:{write:!0,default:"miter"}})],h.prototype,"join",void 0),(0,s.Cg)([(0,i.MZ)({type:c.Nv,nonNullable:!0,json:{write:!0,default:"butt"}})],h.prototype,"cap",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],h.prototype,"width",void 0),(0,s.Cg)([(0,n.w)("width",["width","size","height"])],h.prototype,"readWidth",null),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],h.prototype,"height",void 0),(0,s.Cg)([(0,n.w)("height",["height","size","width"])],h.prototype,"readHeight",null),(0,s.Cg)([(0,i.MZ)({type:["center","bottom","top"],nonNullable:!0,json:{write:!0,default:"center"}})],h.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:["heading","all"],nonNullable:!0,json:{write:!0,default:"all"}})],h.prototype,"profileRotation",void 0),h=r=(0,s.Cg)([(0,a.$)("esri.symbols.PathSymbol3DLayer")],h)},67222:(e,t,o)=>{o.d(t,{EW:()=>y,pI:()=>p});var r=o(68197),s=o(90629),i=o(56507),l=o(78553);function n(e,t){const o=null!=t.transparency?(0,l.D)(t.transparency):1,s=t.color;return s&&Array.isArray(s)?new r.A([s[0]||0,s[1]||0,s[2]||0,o]):null}function a(e,t){t.color=e.toJSON().slice(0,3);const o=(0,l.p)(e.a);0!==o&&(t.transparency=o)}function y(e){return{type:r.A,nonNullable:e?.nonNullable,json:{type:[i.jz],default:null,read:{source:["color","transparency"],reader:n},write:{target:{color:{type:[i.jz],isRequired:e?.colorRequiredOnWrite},transparency:{type:i.jz}},writer:a}}}}const p={type:Number,cast:s.cr,json:{write:!0}}},68548:(e,t,o)=>{o.d(t,{A:()=>u});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(27845),c=o(58185);const h=i.A.ofType({base:null,key:"type",typeMap:{fill:p.A}});let u=r=class extends c.A{constructor(e){super(e),this.symbolLayers=new h,this.type="mesh-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleFillSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleFillSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:h})],u.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({MeshSymbol3D:"mesh-3d"},{readOnly:!0})],u.prototype,"type",void 0),u=r=(0,s.Cg)([(0,y.$)("esri.symbols.MeshSymbol3D")],u)},75981:(e,t,o)=>{o.d(t,{A:()=>v});var r,s=o(31635),i=o(68197),l=o(7762),n=o(4718),a=o(10107),y=(o(44208),o(53966),o(93223)),p=o(40608),c=o(18574),h=o(87403),u=o(58185),d=o(10224),m=o(59483),g=o(8893),b=o(4900);const w=l.A.ofType({base:null,key:"type",typeMap:{icon:c.A,object:h.A,text:d.A}});let v=r=class extends u.A{constructor(e){super(e),this.verticalOffset=null,this.callout=null,this.symbolLayers=new w,this.type="point-3d"}supportsCallout(){if((this.symbolLayers?this.symbolLayers.length:0)<1)return!1;for(const e of this.symbolLayers.items)switch(e.type){case"icon":case"text":case"object":continue;default:return!1}return!0}hasVisibleCallout(){return(0,m.LH)(this)}hasVisibleVerticalOffset(){return(0,m.Yq)(this)}clone(){return new r({verticalOffset:(0,n.o8)(this.verticalOffset),callout:(0,n.o8)(this.callout),styleOrigin:(0,n.o8)(this.styleOrigin),symbolLayers:(0,n.o8)(this.symbolLayers),thumbnail:(0,n.o8)(this.thumbnail)})}static fromSimpleMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromSimpleMarkerSymbol(e)])})}static fromPictureMarkerSymbol(e){return new r({symbolLayers:new l.A([c.A.fromPictureMarkerSymbol(e)])})}static fromCIMSymbol(e){const t=e.data?.symbol?.type;if("CIMPointSymbol"!==t)return null;const o=e.data.symbol;return new r(o?.callout?{symbolLayers:new l.A([c.A.fromCIMSymbol(e)]),callout:new g.A({size:.5,color:new i.A([0,0,0])}),verticalOffset:new b.A({screenLength:40})}:{symbolLayers:new l.A([c.A.fromCIMSymbol(e)])})}static fromTextSymbol(e){return new r({symbolLayers:new l.A([d.A.fromTextSymbol(e)])})}};(0,s.Cg)([(0,a.MZ)({type:b.A,json:{write:!0}})],v.prototype,"verticalOffset",void 0),(0,s.Cg)([(0,a.MZ)(m.oG)],v.prototype,"callout",void 0),(0,s.Cg)([(0,a.MZ)({type:w,json:{origins:{"web-scene":{write:!0}}}})],v.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,y.e)({PointSymbol3D:"point-3d"},{readOnly:!0})],v.prototype,"type",void 0),v=r=(0,s.Cg)([(0,p.$)("esri.symbols.PointSymbol3D")],v)},77040:(e,t,o)=>{o.d(t,{k7:()=>n,ku:()=>l});var r=o(84952),s=o(97159);function i(e,t){if(!(0,r.oP)(e)){const o=function(e){if(!e)return null;const{origin:t,layer:o}=e;if("service"!==t&&"portal-item"!==t)return null;const r=o?.type;return"feature"===r||"stream"===r?o.parsedUrl?.path:"map-image"===r||"tile"===r?e.url?.path:null}(t);if(o)return(0,r.fj)(o,"images",e)}return(0,s.f)(e,t)}const l={json:{read:{source:["imageData","url"],reader:function(e,t,o){return t.imageData?(0,r.Hg)({mediaType:t.contentType||"image/png",isBase64:!0,data:t.imageData}):i(t.url,o)}},write:{writer(e,t,o,i){!function(e,t,o,i){if((0,r.DB)(e)){const l=(0,r.r$)(e);if(!l)return;t.contentType=l.mediaType,t.imageData=l.data,o&&o.imageData===t.imageData&&o.url&&(0,s.w)(o.url,t,"url",i)}else(0,s.w)(e,t,"url",i)}(e,t,this.source,i)}}}},n={readOnly:!0,json:{read:{source:["imageData","url"],reader(e,t,o){const r={};return t.imageData&&(r.imageData=t.imageData),t.contentType&&(r.contentType=t.contentType),t.url&&(r.url=i(t.url,o)),r}}}}},87403:(e,t,o)=>{o.d(t,{A:()=>d});var r,s=o(31635),i=o(10107),l=(o(44208),o(53966),o(87811),o(93223)),n=o(40608),a=o(3904),y=o(30809),p=o(65008);let c=r=class extends p.A{constructor(){super(...arguments),this.x=0,this.y=0,this.z=0}clone(){return new r({x:this.x,y:this.y,z:this.z})}};(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"x",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"y",void 0),(0,s.Cg)([(0,i.MZ)({type:Number})],c.prototype,"z",void 0),c=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.Symbol3DAnchorPosition3D")],c);var h,u=o(28975);let d=class extends a.A{static{h=this}constructor(e){super(e),this.material=null,this.castShadows=!0,this.resource=null,this.type="object",this.width=void 0,this.height=void 0,this.depth=void 0,this.anchor=void 0,this.anchorPosition=void 0,this.heading=void 0,this.tilt=void 0,this.roll=void 0}clone(){return new h({heading:this.heading,tilt:this.tilt,roll:this.roll,anchor:this.anchor,anchorPosition:this.anchorPosition?.clone(),depth:this.depth,enabled:this.enabled,height:this.height,material:this.material?.clone()??null,castShadows:this.castShadows,resource:this.resource?.clone(),width:this.width})}get isPrimitive(){return!this.resource||"string"!=typeof this.resource.href}};(0,s.Cg)([(0,i.MZ)({type:u.N,json:{write:!0}})],d.prototype,"material",void 0),(0,s.Cg)([(0,i.MZ)({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],d.prototype,"castShadows",void 0),(0,s.Cg)([(0,i.MZ)({type:y.E,json:{write:!0}})],d.prototype,"resource",void 0),(0,s.Cg)([(0,l.e)({Object:"object"},{readOnly:!0})],d.prototype,"type",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"width",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"height",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"depth",void 0),(0,s.Cg)([(0,l.e)({center:"center",top:"top",bottom:"bottom",origin:"origin",relative:"relative"},{default:"origin"})],d.prototype,"anchor",void 0),(0,s.Cg)([(0,i.MZ)({type:c,json:{type:[Number],read:{reader:e=>new c({x:e[0],y:e[1],z:e[2]})},write:{writer:(e,t)=>{t.anchorPosition=[e.x,e.y,e.z]},overridePolicy(){return{enabled:"relative"===this.anchor}}}}})],d.prototype,"anchorPosition",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"heading",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"tilt",void 0),(0,s.Cg)([(0,i.MZ)({type:Number,json:{write:!0}})],d.prototype,"roll",void 0),(0,s.Cg)([(0,i.MZ)({readOnly:!0})],d.prototype,"isPrimitive",null),d=h=(0,s.Cg)([(0,n.$)("esri.symbols.ObjectSymbol3DLayer")],d)},97887:(e,t,o)=>{o.d(t,{A:()=>m});var r,s=o(31635),i=o(7762),l=o(4718),n=o(10107),a=(o(44208),o(53966),o(93223)),y=o(40608),p=o(11506),c=o(66525),h=o(58185);const u=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}}),d=i.A.ofType({base:null,key:"type",typeMap:{line:p.A,path:c.A}});let m=r=class extends h.A{constructor(e){super(e),this.symbolLayers=new u,this.type="line-3d"}clone(){return new r({styleOrigin:(0,l.o8)(this.styleOrigin),symbolLayers:(0,l.o8)(this.symbolLayers),thumbnail:(0,l.o8)(this.thumbnail)})}static fromSimpleLineSymbol(e){return new r({symbolLayers:new i.A([p.A.fromSimpleLineSymbol(e)])})}};(0,s.Cg)([(0,n.MZ)({type:u,json:{type:d}})],m.prototype,"symbolLayers",void 0),(0,s.Cg)([(0,a.e)({LineSymbol3D:"line-3d"},{readOnly:!0})],m.prototype,"type",void 0),m=r=(0,s.Cg)([(0,y.$)("esri.symbols.LineSymbol3D")],m)},98751:(e,t,o)=>{o.d(t,{A:()=>y});var r,s=o(31635),i=o(65008),l=o(10107),n=(o(44208),o(53966),o(87811),o(40608)),a=o(20655);let y=r=class extends i.A{constructor(e){super(e),this.name=null,this.styleUrl=null,this.styleName=null,this.portal=null}clone(){return new r({name:this.name,styleUrl:this.styleUrl,styleName:this.styleName,portal:this.portal})}};(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"name",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"styleUrl",void 0),(0,s.Cg)([(0,l.MZ)({type:String})],y.prototype,"styleName",void 0),(0,s.Cg)([(0,l.MZ)({type:a.A})],y.prototype,"portal",void 0),y=r=(0,s.Cg)([(0,n.$)("esri.symbols.support.StyleOrigin")],y)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6730,8256],{4146:(t,e,r)=>{r.d(e,{A:()=>b});var i=r(31635),s=r(78888),n=r(49186),o=r(65529),l=r(4902),a=r(92474),u=r(53966),p=r(74887),c=r(84952),h=r(10107),d=(r(44208),r(87811),r(40608)),g=r(5443),y=r(16930),f=r(92602),m=r(64272);let v=0,b=class extends((0,o.Zt)((0,l.sA)(a.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new g.A(-180,-90,180,90,y.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await r.e(7982).then(r.bind(r,27982))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:i}=await r.e(5613).then(r.bind(r,45613));try{return await i(e)}catch(t){const r=e?.portalItem,i=r?.id||"unset",s=r?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+i+"')",t),t}}(t)}initialize(){this.when().catch(t=>{(0,p.zf)(t)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})})}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get effectiveVisible(){let t=this.visible;const e=this.parent;return t&&e&&"effectiveVisible"in e&&(t&&=e.effectiveVisible),t}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,c.An)(this.url)}createLayerView(t,e){return Promise.reject(new n.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,s.A)(t,{query:{f:"json"},responseType:"json"})).data;throw new n.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,h.MZ)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"effectiveVisible",null),(0,i.Cg)([(0,h.MZ)({type:g.A})],b.prototype,"fullExtent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,i.Cg)([(0,h.MZ)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"parent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,h.MZ)({type:y.A})],b.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.MZ)({type:String})],b.prototype,"title",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],b.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)({type:m.T})],b.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,i.Cg)([(0,d.$)("esri.layers.Layer")],b)},4902:(t,e,r)=>{r.d(e,{PH:()=>l,sA:()=>o});var i=r(31635),s=r(40608);let n=0;const o=t=>{const e=t;let r=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+n++})}};return r=(0,i.Cg)([(0,s.$)("esri.core.Identifiable")],r),r},l=t=>{const e=t;let r=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:n++})}};return r=(0,i.Cg)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],r),r};o(class{})},36475:(t,e,r)=>{r.r(e),r.d(e,{default:()=>p});var i=r(31635),s=r(92071),n=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),l=r(4146),a=r(16131);let u=class extends((0,a.q)((0,s.P)(l.A))){constructor(t){super(t),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat"}};(0,i.Cg)([(0,n.MZ)({json:{read:!1}})],u.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({type:["GaussianSplatLayer"],json:{read:!1}})],u.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,n.MZ)({json:{read:!1}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,o.$)("esri.layers.GaussianSplatLayer")],u);const p=u},64272:(t,e,r)=>{r.d(e,{T:()=>h});var i,s=r(31635),n=r(25482),o=r(88930),l=r(10107),a=(r(44208),r(53966),r(87811),r(36005)),u=r(40608),p=r(43937),c=r(98623);let h=class extends n.o{static{i=this}static get allTime(){return d}static get empty(){return g}static fromArray(t){return new i({start:null!=t[0]?new Date(t[0]):t[0],end:null!=t[1]?new Date(t[1]):t[1]})}constructor(t){super(t),this.end=null,this.start=null}readEnd(t,e){return null!=e.end?new Date(e.end):null}writeEnd(t,e){e.end=t?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=t.start?.getTime()??t.start,s=t.end?.getTime()??t.end;return e===i&&r===s}expandTo(t,e=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,o.lL)(r,t,e));let s=this.end;if(s){const r=(0,o.lL)(s,t,e);s=s.getTime()===r.getTime()?r:(0,o.S1)(r,1,t,e)}return new i({start:r,end:s})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return i.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,s=t.start?.getTime()??-1/0,n=t.end?.getTime()??1/0;let o,l;return s>=e&&s<=r?o=s:e>=s&&e<=n&&(o=e),r>=s&&r<=n?l=r:n>=e&&n<=r&&(l=n),null==o||null==l||isNaN(o)||isNaN(l)?i.empty:new i({start:o===-1/0?null:new Date(o),end:l===1/0?null:new Date(l)})}offset(t,e,r=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();const s=new i,{start:n,end:l}=this;return null!=n&&(s.start=(0,o.S1)(n,t,e,r)),null!=l&&(s.end=(0,o.S1)(l,t,e,r)),s}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return d.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,r=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new i({start:e,end:r})}};(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"end",void 0),(0,s.Cg)([(0,a.w)("end")],h.prototype,"readEnd",null),(0,s.Cg)([(0,p.K)("end")],h.prototype,"writeEnd",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isAllTime",null),(0,s.Cg)([(0,l.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isEmpty",null),(0,s.Cg)([(0,l.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"start",void 0),(0,s.Cg)([(0,a.w)("start")],h.prototype,"readStart",null),(0,s.Cg)([(0,p.K)("start")],h.prototype,"writeStart",null),h=i=(0,s.Cg)([(0,u.$)("esri.time.TimeExtent")],h);const d=new h,g=new h({start:void 0,end:void 0})},69540:(t,e,r)=>{r.d(e,{O:()=>u,P:()=>p});var i=r(31635),s=r(65008),n=(r(44208),r(4718)),o=(r(53966),r(97768)),l=r(88620),a=r(40608);const u=t=>{const e=t;let r=class extends e{clone(t){const e=(0,l.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,i=e.store,s={},a=new Map;for(const e in r){const o=r[e],l=i?.originOf(e),u=o.clonable;if(o.readOnly||!1===u||7!==l&&0!==l&&5!==l&&4!==l)continue;const p=this[e];let c=null;if("function"==typeof u)c=u(p,t);else if("reference"===u)c=p;else if(c=(0,n.TU)(p,t),null!=p&&null==c)continue;0===l?a.set(e,c):s[e]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(s);if(a.size){const t=(0,l.oY)(u)?.store;if(t)for(const[e,r]of a)t.set(e,r,0)}return u}};return r=(0,i.Cg)([(0,a.$)("esri.core.Clonable")],r),r},p=u(s.A)},78553:(t,e,r)=>{r.d(e,{D:()=>n,p:()=>s});var i=r(56507);function s(t){const e=(0,i.Vr)(100*(1-t));return Math.max(0,Math.min(e,100))}function n(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}},92071:(t,e,r)=>{r.d(e,{P:()=>b,L:()=>w});var i=r(31635),s=r(65008),n=r(76953),o=r(4718),l=r(35666);class a{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(l.AU),this._values=new Map,this.multipleOriginsSupported=!0}clone(t){const e=new a,r=this._originStores[0];r&&r.forEach((t,r)=>{e.set(r,(0,o.o8)(t),0)});for(let r=2;r<l.AU;r++){const i=this._originStores[r];i&&i.forEach((i,s)=>{t&&t.has(s)||e.set(s,(0,o.o8)(i),r)})}return e}get(t,e){const r=void 0===e?this._values:this._originStores[e];return r?r.get(t):void 0}keys(t){const e=null==t?this._values:this._originStores[t];return e?[...e.keys()]:[]}set(t,e,r=7){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(t,e),!this._values.has(t)||this._propertyOriginMap.get(t)<=r){const i=this._values.get(t);return this._values.set(t,e),this._propertyOriginMap.set(t,r),i!==e}return!1}delete(t,e=7){const r=this._originStores[e];if(!r)return;const i=r.get(t);if(r.delete(t),this._values.has(t)&&this._propertyOriginMap.get(t)===e){this._values.delete(t);for(let r=e-1;r>=0;r--){const e=this._originStores[r];if(e&&e.has(t)){this._values.set(t,e.get(t)),this._propertyOriginMap.set(t,r);break}}}return i}has(t,e){const r=void 0===e?this._values:this._originStores[e];return!!r&&r.has(t)}revert(t,e){for(;e>0&&!this.has(t,e);)--e;const r=this._originStores[e],i=r?.get(t),s=this._values.get(t);return this._values.set(t,i),this._propertyOriginMap.set(t,e),s!==i}originOf(t){return this._propertyOriginMap.get(t)||0}isAtOrigin(t,e){return this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(t)}}var u=r(45917),p=r(88620),c=r(40608);const h=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,p.oY)(this),r=e.store,i=new a;e.store=i,(0,n.k)(e,r,i)}read(t,e){(0,u.L)(this,t,e)}getAtOrigin(t,e){const r=d(this),i=(0,l.aB)(e);if("string"==typeof t)return r.get(t,i);const s={};return t.forEach(t=>{s[t]=r.get(t,i)}),s}originOf(t){return(0,l.OL)(this.originIdOf(t))}originIdOf(t){return d(this).originOf(t)}revert(t,e){const r=d(this),i=(0,l.aB)(e),s=(0,p.oY)(this);let n;n="string"==typeof t?"*"===t?r.keys(i):[t]:t,n.forEach(t=>{s.invalidate(t),r.revert(t,i),s.commit(t)})}};return r=(0,i.Cg)([(0,c.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function d(t){return(0,p.oY)(t).store}let g=class extends(h(s.A)){};g=(0,i.Cg)([(0,c.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],g);var y=r(16649),f=r(49422);const m=t=>{const e=t;let r=class extends e{constructor(...t){super(...t)}clear(t,e="user"){(0,p.oY)(this).clearOrigin(t,(0,l.aB)(e))}write(t,e){return(0,f.M)(this,t=t||{},e),t}setAtOrigin(t,e,r){(0,p.oY)(this).setAtOrigin(t,e,(0,l.aB)(r))}removeOrigin(t){const e=v(this),r=(0,l.aB)(t),i=e.keys(r);for(const t of i)e.originOf(t)===r&&e.set(t,e.get(t,r),7)}updateOrigin(t,e){const r=v(this),i=(0,l.aB)(e),s=(0,y.Jt)(this,t);for(let e=i+1;e<l.AU;++e)r.delete(t,e);r.set(t,s,i)}toJSON(t){return this.write({},t)}};return r=(0,i.Cg)([(0,c.$)("esri.core.MultiOriginJSONSupport.WriteableMultiOriginJSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function v(t){return(0,p.oY)(t).store}const b=t=>{const e=m(h(t));let r=class extends e{constructor(...t){super(...t)}};return r=(0,i.Cg)([(0,c.$)("esri.core.MultiOriginJSONSupport")],r),r};let w=class extends(b(s.A)){};w=(0,i.Cg)([(0,c.$)("esri.core.MultiOriginJSONSupport")],w)}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6730,8256],{4146:(t,e,r)=>{r.d(e,{A:()=>b});var i=r(31635),s=r(78888),n=r(49186),o=r(65529),a=r(4902),l=r(92474),u=r(53966),p=r(74887),c=r(84952),h=r(10107),d=(r(44208),r(87811),r(40608)),g=r(5443),y=r(16930),f=r(92602),m=r(64272);let v=0,b=class extends((0,o.Zt)((0,a.sA)(l.x_))){constructor(){super(...arguments),this.attributionDataUrl=null,this.fullExtent=new g.A(-180,-90,180,90,y.A.WGS84),this.id=Date.now().toString(16)+"-layer-"+v++,this.legendEnabled=!0,this.listMode="show",this.opacity=1,this.parent=null,this.persistenceEnabled=!1,this.popupEnabled=!0,this.attributionVisible=!0,this.spatialReference=y.A.WGS84,this.title=null,this.type=null,this.url=null,this.visibilityTimeExtent=null,this.visible=!0}static async fromArcGISServerUrl(t){const e="string"==typeof t?{url:t}:t;return(await r.e(7982).then(r.bind(r,27982))).fromUrl(e)}static fromPortalItem(t){return async function(t){const e="portalItem"in t?t:{portalItem:t},{fromItem:i}=await r.e(5613).then(r.bind(r,45613));try{return await i(e)}catch(t){const r=e?.portalItem,i=r?.id||"unset",s=r?.portal?.url||f.A.portalUrl;throw u.A.getLogger("esri.layers.support.fromPortalItem").error("#fromPortalItem()","Failed to create layer from portal item (portal: '"+s+"', id: '"+i+"')",t),t}}(t)}initialize(){this.when().catch(t=>{(0,p.zf)(t)||u.A.getLogger(this).error("#load()",`Failed to load layer (title: '${this.title??"no title"}', id: '${this.id??"no id"}')`,{error:t})})}destroy(){const t=this.parent;if(t){const e=this;"layers"in t&&t.layers.includes(e)?t.layers.remove(e):"tables"in t&&t.tables.includes(e)?t.tables.remove(e):"baseLayers"in t&&t.baseLayers.includes(e)?t.baseLayers.remove(e):"referenceLayers"in t&&t.referenceLayers.includes(e)&&t.referenceLayers.remove(e),this._set("parent",null)}}get effectiveVisible(){let t=this.visible;const e=this.parent;return t&&e&&"effectiveVisible"in e&&(t&&=e.effectiveVisible),t}get hasAttributionData(){return null!=this.attributionDataUrl}get parsedUrl(){return(0,c.An)(this.url)}createLayerView(t,e){return Promise.reject(new n.A("layer:create-layer-view","Layer does not support creating a layer view"))}async fetchAttributionData(){const t=this.attributionDataUrl;if(this.hasAttributionData&&t)return(await(0,s.A)(t,{query:{f:"json"},responseType:"json"})).data;throw new n.A("layer:no-attribution-data","Layer does not have attribution data")}};(0,i.Cg)([(0,h.MZ)({type:String})],b.prototype,"attributionDataUrl",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"effectiveVisible",null),(0,i.Cg)([(0,h.MZ)({type:g.A})],b.prototype,"fullExtent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"hasAttributionData",null),(0,i.Cg)([(0,h.MZ)({type:String,clonable:!1})],b.prototype,"id",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"legendEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:["show","hide","hide-children"]})],b.prototype,"listMode",void 0),(0,i.Cg)([(0,h.MZ)({type:Number,range:{min:0,max:1},nonNullable:!0})],b.prototype,"opacity",void 0),(0,i.Cg)([(0,h.MZ)({clonable:!1})],b.prototype,"parent",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0})],b.prototype,"parsedUrl",null),(0,i.Cg)([(0,h.MZ)({type:Boolean,readOnly:!0})],b.prototype,"persistenceEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"popupEnabled",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean})],b.prototype,"attributionVisible",void 0),(0,i.Cg)([(0,h.MZ)({type:y.A})],b.prototype,"spatialReference",void 0),(0,i.Cg)([(0,h.MZ)({type:String})],b.prototype,"title",void 0),(0,i.Cg)([(0,h.MZ)({readOnly:!0,json:{read:!1}})],b.prototype,"type",void 0),(0,i.Cg)([(0,h.MZ)()],b.prototype,"url",void 0),(0,i.Cg)([(0,h.MZ)({type:m.T})],b.prototype,"visibilityTimeExtent",void 0),(0,i.Cg)([(0,h.MZ)({type:Boolean,nonNullable:!0})],b.prototype,"visible",void 0),b=(0,i.Cg)([(0,d.$)("esri.layers.Layer")],b)},4902:(t,e,r)=>{r.d(e,{PH:()=>a,sA:()=>o});var i=r(31635),s=r(40608);let n=0;const o=t=>{const e=t;let r=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:Date.now().toString(16)+"-object-"+n++})}};return r=(0,i.Cg)([(0,s.$)("esri.core.Identifiable")],r),r},a=t=>{const e=t;let r=class extends e{constructor(...t){super(...t),Object.defineProperty(this,"uid",{writable:!1,configurable:!1,value:n++})}};return r=(0,i.Cg)([(0,s.$)("esri.core.Identifiable.NumericIdentifiable")],r),r};o(class{})},36475:(t,e,r)=>{r.r(e),r.d(e,{default:()=>p});var i=r(31635),s=r(92071),n=r(10107),o=(r(44208),r(53966),r(87811),r(40608)),a=r(4146),l=r(16131);let u=class extends((0,l.q)((0,s.P)(a.A))){constructor(t){super(t),this.operationalLayerType="GaussianSplatLayer",this.type="gaussian-splat"}};(0,i.Cg)([(0,n.MZ)({json:{read:!1}})],u.prototype,"id",void 0),(0,i.Cg)([(0,n.MZ)({type:["GaussianSplatLayer"],json:{read:!1}})],u.prototype,"operationalLayerType",void 0),(0,i.Cg)([(0,n.MZ)({json:{read:!1}})],u.prototype,"type",void 0),u=(0,i.Cg)([(0,o.$)("esri.layers.GaussianSplatLayer")],u);const p=u},64272:(t,e,r)=>{r.d(e,{T:()=>h});var i,s=r(31635),n=r(25482),o=r(88930),a=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),u=r(40608),p=r(43937),c=r(98623);let h=class extends n.o{static{i=this}static get allTime(){return d}static get empty(){return g}static fromArray(t){return new i({start:null!=t[0]?new Date(t[0]):t[0],end:null!=t[1]?new Date(t[1]):t[1]})}constructor(t){super(t),this.end=null,this.start=null}readEnd(t,e){return null!=e.end?new Date(e.end):null}writeEnd(t,e){e.end=t?.getTime()??null}get isAllTime(){return this.equals(i.allTime)}get isEmpty(){return this.equals(i.empty)}readStart(t,e){return null!=e.start?new Date(e.start):null}writeStart(t,e){e.start=t?.getTime()??null}clone(){return new i({end:this.end,start:this.start})}equals(t){if(!t)return!1;const e=this.start?.getTime()??this.start,r=this.end?.getTime()??this.end,i=t.start?.getTime()??t.start,s=t.end?.getTime()??t.end;return e===i&&r===s}expandTo(t,e=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();let r=this.start;r&&(r=(0,o.lL)(r,t,e));let s=this.end;if(s){const r=(0,o.lL)(s,t,e);s=s.getTime()===r.getTime()?r:(0,o.S1)(r,1,t,e)}return new i({start:r,end:s})}intersection(t){if(!t)return this.clone();if(this.isEmpty||t.isEmpty)return i.empty;if(this.isAllTime)return t.clone();if(t.isAllTime)return this.clone();const e=this.start?.getTime()??-1/0,r=this.end?.getTime()??1/0,s=t.start?.getTime()??-1/0,n=t.end?.getTime()??1/0;let o,a;return s>=e&&s<=r?o=s:e>=s&&e<=n&&(o=e),r>=s&&r<=n?a=r:n>=e&&n<=r&&(a=n),null==o||null==a||isNaN(o)||isNaN(a)?i.empty:new i({start:o===-1/0?null:new Date(o),end:a===1/0?null:new Date(a)})}offset(t,e,r=c.qU){if(this.isEmpty||this.isAllTime)return this.clone();const s=new i,{start:n,end:a}=this;return null!=n&&(s.start=(0,o.S1)(n,t,e,r)),null!=a&&(s.end=(0,o.S1)(a,t,e,r)),s}toArray(){return this.isEmpty?[void 0,void 0]:[this.start?.getTime()??null,this.end?.getTime()??null]}union(t){if(!t||t.isEmpty)return this.clone();if(this.isEmpty)return t.clone();if(this.isAllTime||t.isAllTime)return d.clone();const e=null!=this.start&&null!=t.start?new Date(Math.min(this.start.getTime(),t.start.getTime())):null,r=null!=this.end&&null!=t.end?new Date(Math.max(this.end.getTime(),t.end.getTime())):null;return new i({start:e,end:r})}};(0,s.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"end",void 0),(0,s.Cg)([(0,l.w)("end")],h.prototype,"readEnd",null),(0,s.Cg)([(0,p.K)("end")],h.prototype,"writeEnd",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isAllTime",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0,json:{read:!1}})],h.prototype,"isEmpty",null),(0,s.Cg)([(0,a.MZ)({type:Date,json:{write:{allowNull:!0}}})],h.prototype,"start",void 0),(0,s.Cg)([(0,l.w)("start")],h.prototype,"readStart",null),(0,s.Cg)([(0,p.K)("start")],h.prototype,"writeStart",null),h=i=(0,s.Cg)([(0,u.$)("esri.time.TimeExtent")],h);const d=new h,g=new h({start:void 0,end:void 0})},69540:(t,e,r)=>{r.d(e,{O:()=>u,P:()=>p});var i=r(31635),s=r(65008),n=(r(44208),r(4718)),o=(r(53966),r(97768)),a=r(88620),l=r(40608);const u=t=>{const e=t;let r=class extends e{clone(t){const e=(0,a.oY)(this);(0,o.Lw)(e,"unable to clone instance of non-accessor class");const r=e.metadata,i=e.store,s={},l=new Map;for(const e in r){const o=r[e],a=i?.originOf(e),u=o.clonable;if(o.readOnly||!1===u||7!==a&&0!==a&&5!==a&&4!==a)continue;const p=this[e];let c=null;if("function"==typeof u)c=u(p,t);else if("reference"===u)c=p;else if(c=(0,n.TU)(p,t),null!=p&&null==c)continue;0===a?l.set(e,c):s[e]=c}const u=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const t=(0,a.oY)(u)?.store;if(t)for(const[e,r]of l)t.set(e,r,0)}return u}};return r=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],r),r},p=u(s.A)},78553:(t,e,r)=>{r.d(e,{D:()=>n,p:()=>s});var i=r(56507);function s(t){const e=(0,i.Vr)(100*(1-t));return Math.max(0,Math.min(e,100))}function n(t){const e=1-t/100;return Math.max(0,Math.min(e,1))}},92071:(t,e,r)=>{r.d(e,{P:()=>v,L:()=>b});var i=r(31635),s=r(65008),n=r(76953),o=r(4718),a=r(35666);class l{constructor(){this._propertyOriginMap=new Map,this._originStores=new Array(a.AU),this._values=new Map,this.multipleOriginsSupported=!0}clone(t){const e=new l,r=this._originStores[0];r&&r.forEach((t,r)=>{e.set(r,(0,o.o8)(t),0)});for(let r=2;r<a.AU;r++){const i=this._originStores[r];i&&i.forEach((i,s)=>{t&&t.has(s)||e.set(s,(0,o.o8)(i),r)})}return e}get(t,e){const r=void 0===e?this._values:this._originStores[e];return r?r.get(t):void 0}keys(t){const e=null==t?this._values:this._originStores[t];return e?[...e.keys()]:[]}set(t,e,r=7){let i=this._originStores[r];if(i||(i=new Map,this._originStores[r]=i),i.set(t,e),!this._values.has(t)||this._propertyOriginMap.get(t)<=r){const i=this._values.get(t);return this._values.set(t,e),this._propertyOriginMap.set(t,r),i!==e}return!1}delete(t,e=7){const r=this._originStores[e];if(!r)return;const i=r.get(t);if(r.delete(t),this._values.has(t)&&this._propertyOriginMap.get(t)===e){this._values.delete(t);for(let r=e-1;r>=0;r--){const e=this._originStores[r];if(e&&e.has(t)){this._values.set(t,e.get(t)),this._propertyOriginMap.set(t,r);break}}}return i}has(t,e){const r=void 0===e?this._values:this._originStores[e];return!!r&&r.has(t)}revert(t,e){for(;e>0&&!this.has(t,e);)--e;const r=this._originStores[e],i=r?.get(t),s=this._values.get(t);return this._values.set(t,i),this._propertyOriginMap.set(t,e),s!==i}originOf(t){return this._propertyOriginMap.get(t)||0}isAtOrigin(t,e){return this.has(t,e)&&this.originOf(t)===e}isBelowOrigin(t,e){return!this.has(t)||this.originOf(t)<e}forEach(t){this._values.forEach(t)}}var u=r(45917),p=r(88620),c=r(40608);const h=t=>{const e=t;let r=class extends e{constructor(...t){super(...t);const e=(0,p.oY)(this),r=e.store,i=new l;e.store=i,(0,n.k)(e,r,i)}read(t,e){(0,u.L)(this,t,e)}getAtOrigin(t,e){const r=d(this),i=(0,a.aB)(e);if("string"==typeof t)return r.get(t,i);const s={};return t.forEach(t=>{s[t]=r.get(t,i)}),s}originOf(t){return(0,a.OL)(this.originIdOf(t))}originIdOf(t){return d(this).originOf(t)}revert(t,e){const r=d(this),i=(0,a.aB)(e),s=(0,p.oY)(this);let n;n="string"==typeof t?"*"===t?r.keys(i):[t]:t,n.forEach(t=>{s.invalidate(t),r.revert(t,i),s.commit(t)})}};return r=(0,i.Cg)([(0,c.$)("esri.core.ReadOnlyMultiOriginJSONSupport")],r),r};function d(t){return(0,p.oY)(t).store}h(s.A);var g=r(16649),y=r(49422);const f=t=>{const e=t;let r=class extends e{constructor(...t){super(...t)}clear(t,e="user"){(0,p.oY)(this).clearOrigin(t,(0,a.aB)(e))}write(t,e){return(0,y.M)(this,t=t||{},e),t}setAtOrigin(t,e,r){(0,p.oY)(this).setAtOrigin(t,e,(0,a.aB)(r))}removeOrigin(t){const e=m(this),r=(0,a.aB)(t),i=e.keys(r);for(const t of i)e.originOf(t)===r&&e.set(t,e.get(t,r),7)}updateOrigin(t,e){const r=m(this),i=(0,a.aB)(e),s=(0,g.Jt)(this,t);for(let e=i+1;e<a.AU;++e)r.delete(t,e);r.set(t,s,i)}toJSON(t){return this.write({},t)}};return r=(0,i.Cg)([(0,c.$)("esri.core.MultiOriginJSONSupport.WriteableMultiOriginJSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function m(t){return(0,p.oY)(t).store}const v=t=>{const e=f(h(t));let r=class extends e{constructor(...t){super(...t)}};return r=(0,i.Cg)([(0,c.$)("esri.core.MultiOriginJSONSupport")],r),r},b=v(s.A)}}]);
|