@arcgis/core 5.2.0-next.114 → 5.2.0-next.115
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/Graphic.d.ts +5 -3
- package/applications/Urban/LineImagePattern3D.js +1 -1
- package/arcgisGlobal.d.ts +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/02f94f9d704f03ddb5c6.js +1 -0
- package/assets/esri/core/workers/chunks/{c517e732cab41093b2e0.js → 0312c40d94b248ad71e3.js} +1 -1
- package/assets/esri/core/workers/chunks/0463c807b37f01bbc35c.js +1 -0
- package/assets/esri/core/workers/chunks/0ff13f7a18b0123d253e.js +1 -0
- package/assets/esri/core/workers/chunks/2e0fd0536408053ac6f5.js +1 -0
- package/assets/esri/core/workers/chunks/{6b264006b96cbf93d8ed.js → 48d3da636be15581fd7d.js} +1 -1
- package/assets/esri/core/workers/chunks/515fe302743c0b46f7e0.js +1 -0
- package/assets/esri/core/workers/chunks/{982a396bd4fffa62e911.js → 526cc64ae46dec3fbeda.js} +1 -1
- package/assets/esri/core/workers/chunks/{d13cf2e8b24e978ea77c.js → 7243d5721bb6a7329055.js} +1 -1
- package/assets/esri/core/workers/chunks/{785206da3962ba23de16.js → 84b89c523d3e16a5ee46.js} +1 -1
- package/assets/esri/core/workers/chunks/{484b3e2a220c440ccbb4.js → 9b92c41907e2da80c288.js} +1 -1
- package/assets/esri/core/workers/chunks/{4d2553219ffd223b0e90.js → a774006be107e449bc29.js} +1 -1
- package/assets/esri/core/workers/chunks/b45ebb1b64ee7314375e.js +1 -0
- package/assets/esri/core/workers/chunks/{e0f417992889a6c41095.js → baa8bce361a2677533ec.js} +1 -1
- package/assets/esri/core/workers/chunks/{96ebf76661b12128ddd5.js → be4de7111bc21bc69de1.js} +1 -1
- package/assets/esri/core/workers/chunks/{e164acd876bbd42ed658.js → f18ee2eaa96d103627a6.js} +1 -1
- package/chunks/RibbonLine.glsl.js +63 -58
- package/config.js +1 -1
- package/core/screenUtils.js +1 -1
- package/core/units.js +1 -1
- package/graphic/getGraphicOriginTitle.d.ts +10 -0
- package/graphic/getGraphicOriginTitle.js +2 -0
- package/kernel.js +1 -1
- package/layers/MapNotesLayer.js +1 -1
- package/layers/raster/functions/rasterProjectionHelper.js +1 -1
- package/layers/support/Field.js +1 -1
- package/layers/support/TimeSeriesInfo.d.ts +1 -1
- package/layers/support/featurePopupQueryUtils.js +1 -1
- package/layers/support/timeSeriesUtils.js +1 -1
- package/layers/support/types.d.ts +1 -1
- package/layers/types.d.ts +1 -2
- package/package.json +2 -2
- package/portal/schemas/definitions.js +1 -1
- package/rest/support/OutDistance.d.ts +19 -18
- package/rest/support/Query.d.ts +48 -18
- package/smartMapping/renderers/support/utils.js +1 -1
- package/support/revision.js +1 -1
- package/symbols/patterns/LinePattern3D.js +1 -1
- package/symbols/patterns/LineStylePattern3D.js +1 -1
- package/symbols/patterns/LineTemplatePattern3D.js +1 -1
- package/symbols/patterns/utils.js +1 -1
- package/views/2d/engine/webgl/util/DimensionMatcher.js +1 -1
- package/views/2d/layers/graphics/GraphicStore.js +1 -1
- package/views/2d/layers/support/annodime/DimensionInfo.js +1 -1
- package/views/2d/support/clippingUtils.js +1 -1
- package/views/2d/support/hitTestUtils.js +1 -1
- package/views/3d/support/buffer/InterleavedLayout.js +1 -1
- package/views/3d/webgl-engine/lib/AttributeView.js +2 -0
- package/views/3d/webgl-engine/lib/attributeViewUtils.js +2 -0
- package/views/3d/webgl-engine/materials/HUDMaterial.js +1 -1
- package/views/3d/webgl-engine/materials/HUDMaterialBaseInstance.js +1 -1
- package/views/3d/webgl-engine/materials/RibbonLineMaterial.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLine.glsl.js +1 -1
- package/views/3d/webgl-engine/shaders/RibbonLineTechniqueConfiguration.js +1 -1
- package/views/PopupView.d.ts +64 -2
- package/views/View2D.js +1 -1
- package/views/layers/FeatureLikeLayerView.js +1 -1
- package/views/layers/support/MapServiceLayerViewHelper.js +1 -1
- package/widgets/BasemapLayerList/BasemapLayerListViewModel.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.d.ts +2 -1
- package/widgets/CatalogLayerList/CatalogLayerListViewModel.js +1 -1
- package/widgets/CatalogLayerList/CatalogLayerListVisibleElements.d.ts +5 -1
- package/widgets/CatalogLayerList/types.d.ts +12 -1
- package/widgets/CatalogLayerList.d.ts +2 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/TableList/ListItem.d.ts +2 -0
- package/widgets/TableList/ListItemPanel.d.ts +4 -0
- package/widgets/TableList/TableListViewModel.d.ts +4 -0
- package/widgets/TableList/TableListViewModel.js +1 -1
- package/widgets/TableList/TableListVisibleElements.d.ts +6 -1
- package/widgets/TableList/types.d.ts +12 -1
- package/widgets/TableList.d.ts +3 -0
- package/widgets/TableList.js +1 -1
- package/assets/esri/core/workers/chunks/078ed48eb055dd213ee6.js +0 -1
- package/assets/esri/core/workers/chunks/1004e77593dfa506cd5d.js +0 -1
- package/assets/esri/core/workers/chunks/510a190a6f0a60ae38c3.js +0 -1
- package/assets/esri/core/workers/chunks/cd0f5cd0fefe7f49e3d8.js +0 -1
- package/assets/esri/core/workers/chunks/e6fb7b93cf73b05b1079.js +0 -1
- package/assets/esri/core/workers/chunks/f86ea5cf4814b458d50b.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[5298],{32198(e,t,r){function i(e,t,r,i){var s,n=arguments.length,o=n<3?t:null===i?i=Object.getOwnPropertyDescriptor(t,r):i;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,r,i);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(n<3?s(o):n>3?s(t,r,o):s(t,r))||o);return n>3&&o&&Object.defineProperty(t,r,o),o}function s(e,t,r){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var i,s;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");i=t[Symbol.asyncDispose]}if(void 0===i){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");i=t[Symbol.dispose],r&&(s=i)}if("function"!=typeof i)throw new TypeError("Object not disposable.");s&&(i=function(){try{s.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:i,async:r})}else r&&e.stack.push({async:!0});return t}r.d(t,{Cg:()=>i,hk:()=>o,mS:()=>s}),Object.create,Object.create;var n="function"==typeof SuppressedError?SuppressedError:function(e,t,r){var i=new Error(r);return i.name="SuppressedError",i.error=e,i.suppressed=t,i};function o(e){function t(t){e.error=e.hasError?new n(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var r,i=0;return function s(){for(;r=e.stack.pop();)try{if(!r.async&&1===i)return i=0,e.stack.push(r),Promise.resolve().then(s);if(r.dispose){var n=r.dispose.call(r.value);if(r.async)return i|=2,Promise.resolve(n).then(s,function(e){return t(e),s()})}else i|=1}catch(e){t(e)}if(1===i)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},69540(e,t,r){var i=r(32198),s=r(69622),n=(r(44208),r(4718)),o=(r(53966),r(97768)),a=r(88620),l=r(64108);const p=Symbol("ClonableMixin"),c=e=>{var t;const r=e;let s=class extends r{constructor(){super(...arguments),this[t]=!0}static{t=p}clone(e){const t=(0,a.oY)(this);(0,o.Lw)(t,"unable to clone instance of non-accessor class");const r=t.metadata,i=t.store,s={},l=new Map;for(const t in r){const o=r[t],a=i?.originOf(t),p=o.clonable;if(o.readOnly||!1===p||7!==a&&0!==a&&5!==a&&4!==a)continue;const c=this[t];let u=null;if("function"==typeof p)u=p(c,e);else if("reference"===p)u=c;else if(u=(0,n.TU)(c,e),null!=c&&null==u)continue;0===a?l.set(t,u):s[t]=u}const p=new(0,Object.getPrototypeOf(this).constructor)(s);if(l.size){const e=(0,a.oY)(p)?.store;if(e)for(const[t,r]of l)e.set(t,r,0)}return p}};return s=(0,i.Cg)([(0,l.$)("esri.core.Clonable")],s),s},u=c(s.A);r.d(t,["OU",0,c,"Pw",0,u])},95488(e,t,r){r.d(t,{I:()=>s});var i=r(11406);class s extends i.T{notify(){const e=this._observers;if(e&&e.length>0){const t=e.slice();for(const e of t)e.onInvalidated(),e.onCommitted()}}}},48526(e,t,r){r.d(t,{A:()=>y});var i,s=r(32198),n=r(4576),o=r(4718),a=r(91429),l=r(5443),p=r(91075),c=r(86738),u=r(16930),h=r(90634),f=r(47610),d=r(56993),m=r(43937);let y=i=class extends p.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],t?.at(0)?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=u.A.WGS84,{...e,hasM:r,hasZ:i,points:t,spatialReference:s}}(e)),this.points=[],this.type="multipoint"}get cache(){return this.commitProperty("points"),this.commitProperty("hasZ"),this.commitProperty("hasM"),this.commitProperty("spatialReference"),{}}get extent(){const e=(0,h.ge)(this);return e?new l.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:r,hasZ:s}=this;return new i({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:r,hasZ:s})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,r=e.spatialReference;return null!=t==(null!=r)&&!(null!=t&&null!=r&&!t.equals(r))&&(0,n.aI)(this.points,e.points,f.v6)}addPoint(e){return(0,d.h)(this,e),Array.isArray(e)?this.points.push(e):this.points.push(e.toArray()),this.notifyChange("points"),this}getPoint(e){if(!this._validateInputs(e))return null;const t=this.points[e],r={x:t[0],y:t[1],spatialReference:this.spatialReference};let i=2;return this.hasZ&&(r.z=t[2],i=3),this.hasM&&(r.m=t[i]),new c.A(r)}removePoint(e){if(!this._validateInputs(e))return null;const t=new c.A(this.points.splice(e,1)[0],this.spatialReference);return this.notifyChange("points"),t}setPoint(e,t){return this._validateInputs(e)?((0,d.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.points[e]=t,this.notifyChange("points"),this):this}toJSON(e){return this.write({},e)}_validateInputs(e){return null!=e&&e>=0&&e<this.points.length}};(0,s.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,s.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,s.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,s.Cg)([(0,m.K)("points")],y.prototype,"writePoints",null),y=i=(0,s.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(4718),o=r(91429),a=r(5443),l=r(91075),p=r(86738),c=r(16930),u=r(90634),h=r(56993),f=r(43937);let d=i=class extends l.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:r,hasZ:i,spatialReference:s}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:i??=!0,r??=!0;break;case 3:i??=!0!==r,r??=!i;break;default:i??=!1,r??=!1}return s??=c.A.WGS84,{...e,hasM:r,hasZ:i,paths:t,spatialReference:s}}(e)),this.curvePaths=void 0,this.paths=[],this.type="polyline"}get cache(){return this.commitProperty("curvePaths"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("paths"),this.commitProperty("spatialReference"),{}}writeCurvePaths(e,t){t.curvePaths=(0,n.o8)(e)}get extent(){const e=(0,u.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,n.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,r=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const i=[];for(let t=0,r=e.length;t<r;t++)i[t]=e[t].toArray();t[r]=i}else t[r]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new i;return e.spatialReference=this.spatialReference,e.paths=(0,n.o8)(this.paths),e.curvePaths=(0,n.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const r=this.paths[e][t],i=this.hasZ,s=this.hasM;return i&&!s?new p.A(r[0],r[1],r[2],void 0,this.spatialReference):s&&!i?new p.A(r[0],r[1],void 0,r[2],this.spatialReference):i&&s?new p.A(r[0],r[1],r[2],r[3],this.spatialReference):new p.A(r[0],r[1],this.spatialReference)}insertPoint(e,t,r){return this._validateInputs(e,t,!0)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e].splice(t,0,r),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],r=this.spatialReference,i=t.map(e=>new p.A(e,r));return this.notifyChange("paths"),i}removePoint(e,t){if(!this._validateInputs(e,t))return null;const r=new p.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),r}setPoint(e,t,r){return this._validateInputs(e,t)?((0,h.h)(this,r),Array.isArray(r)||(r=r.toArray()),this.paths[e][t]=r,this.notifyChange("paths"),this):this}_validateInputs(e,t,r=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const i=this.paths[e];if(r&&(t<0||t>i.length))return!1;if(!r&&(t<0||t>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,s.Cg)([(0,o.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],d.prototype,"curvePaths",void 0),(0,s.Cg)([(0,f.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,s.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,s.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,s.Cg)([(0,f.K)("paths")],d.prototype,"writePaths",null),d=i=(0,s.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},60408(e,t,r){function i(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}function s(e){return void 0!==e.points}function n(e){return void 0!==e.x&&void 0!==e.y}function o(e){return void 0!==e.paths||void 0!==e.curvePaths}function a(e){return void 0!==e.rings||void 0!==e.curveRings}function l(e){return"object"==typeof e&&"vertexAttributes"in e}function p(e){return e?n(e)?"esriGeometryPoint":o(e)?"esriGeometryPolyline":a(e)?"esriGeometryPolygon":i(e)?"esriGeometryEnvelope":s(e)?"esriGeometryMultipoint":null:null}function c(e){return null!=e&&("hasZ"in e&&e.hasZ||"z"in e&&null!=e.z)}function u(e){return null!=e&&("hasM"in e&&e.hasM||"m"in e&&null!=e.m)}r.d(t,{$B:()=>p,Bi:()=>a,Pv:()=>c,Rg:()=>o,U9:()=>s,W0:()=>u,ZC:()=>i,fT:()=>n,uW:()=>l})},10333(e,t,r){r.d(t,{A:()=>o});var i=r(32198),s=r(25482),n=r(91429);let o=class extends s.o{get affectsPixelSize(){return!1}forwardTransform(e){return e}inverseTransform(e){return e}};(0,i.Cg)([(0,n.MZ)()],o.prototype,"affectsPixelSize",null),(0,i.Cg)([(0,n.MZ)({json:{write:!0}})],o.prototype,"spatialReference",void 0),o=(0,i.Cg)([(0,n.$K)("esri.layers.raster.transforms.BaseRasterTransform")],o)},75414(e,t,r){r.d(t,{A:()=>l});var i,s=r(32198),n=r(91429),o=r(10333),a=r(93223);let l=i=class extends o.A{constructor(){super(...arguments),this.type="gcs-shift",this.tolerance=1e-8}forwardTransform(e){return"point"===(e=e.clone()).type?(e.x>180+this.tolerance&&(e.x-=360),e):(e.xmin>=180-this.tolerance?(e.xmax-=360,e.xmin-=360):e.xmax>180+this.tolerance&&(e.xmin=-180,e.xmax=180),e)}inverseTransform(e){return"point"===(e=e.clone()).type?(e.x<-this.tolerance&&(e.x+=360),e):(e.xmin<-this.tolerance&&(e.xmin+=360,e.xmax+=360),e)}clone(){return new i({tolerance:this.tolerance})}};(0,s.Cg)([(0,a.e)({GCSShiftXform:"gcs-shift"})],l.prototype,"type",void 0),(0,s.Cg)([(0,n.MZ)()],l.prototype,"tolerance",void 0),l=i=(0,s.Cg)([(0,n.$K)("esri.layers.raster.transforms.GCSShiftTransform")],l)},43163(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(91429),o=r(5443),a=r(86738),l=r(10333),p=r(36005),c=r(43937),u=r(93223);function h(e,t,r){const{x:i,y:s}=t;if(r<2)return{x:e[0]+i*e[2]+s*e[4],y:e[1]+i*e[3]+s*e[5]};if(2===r){const t=i*i,r=s*s,n=i*s;return{x:e[0]+i*e[2]+s*e[4]+t*e[6]+n*e[8]+r*e[10],y:e[1]+i*e[3]+s*e[5]+t*e[7]+n*e[9]+r*e[11]}}const n=i*i,o=s*s,a=i*s,l=n*i,p=n*s,c=i*o,u=s*o;return{x:e[0]+i*e[2]+s*e[4]+n*e[6]+a*e[8]+o*e[10]+l*e[12]+p*e[14]+c*e[16]+u*e[18],y:e[1]+i*e[3]+s*e[5]+n*e[7]+a*e[9]+o*e[11]+l*e[13]+p*e[15]+c*e[17]+u*e[19]}}function f(e,t,r){const{xmin:i,ymin:s,xmax:n,ymax:a,spatialReference:l}=t;let p=[];if(r<2)p.push({x:i,y:a}),p.push({x:n,y:a}),p.push({x:i,y:s}),p.push({x:n,y:s});else{let e=10;for(let t=0;t<e;t++)p.push({x:i,y:s+(a-s)*t/(e-1)}),p.push({x:n,y:s+(a-s)*t/(e-1)});e=8;for(let t=1;t<=e;t++)p.push({x:i+(n-i)*t/e,y:s}),p.push({x:i+(n-i)*t/e,y:a})}p=p.map(t=>h(e,t,r));const c=p.map(e=>e.x),u=p.map(e=>e.y);return new o.A({xmin:Math.min.apply(null,c),xmax:Math.max.apply(null,c),ymin:Math.min.apply(null,u),ymax:Math.max.apply(null,u),spatialReference:l})}let d=i=class extends l.A{constructor(){super(...arguments),this.polynomialOrder=1,this.type="polynomial"}readForwardCoefficients(e,t){const{coeffX:r,coeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;const s=[];for(let e=0;e<r.length;e++)s.push(r[e]),s.push(i[e]);return s}writeForwardCoefficients(e,t,r){const i=[],s=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):s.push(e[t]);t.coeffX=i,t.coeffY=s}get inverseCoefficients(){let e=this._get("inverseCoefficients");const t=this._get("forwardCoefficients");return!e&&t&&this.polynomialOrder<2&&(e=function(e){const[t,r,i,s,n,o]=e,a=i*o-n*s,l=n*s-i*o;return[(n*r-t*o)/a,(i*r-t*s)/l,o/a,s/l,-n/a,-i/l]}(t)),e}set inverseCoefficients(e){this._set("inverseCoefficients",e)}readInverseCoefficients(e,t){const{inverseCoeffX:r,inverseCoeffY:i}=t;if(!r?.length||!i?.length||r.length!==i.length)return null;const s=[];for(let e=0;e<r.length;e++)s.push(r[e]),s.push(i[e]);return s}writeInverseCoefficients(e,t,r){const i=[],s=[];for(let t=0;t<e?.length;t++)t%2==0?i.push(e[t]):s.push(e[t]);t.inverseCoeffX=i,t.inverseCoeffY=s}get affectsPixelSize(){return this.polynomialOrder>0}forwardTransform(e){if("point"===e.type){const t=h(this.forwardCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.forwardCoefficients,e,this.polynomialOrder)}inverseTransform(e){if("point"===e.type){const t=h(this.inverseCoefficients,e,this.polynomialOrder);return new a.A({x:t.x,y:t.y,spatialReference:e.spatialReference})}return f(this.inverseCoefficients,e,this.polynomialOrder)}clone(){return new i({polynomialOrder:this.polynomialOrder,forwardCoefficients:this.forwardCoefficients?[...this.forwardCoefficients]:null,inverseCoefficients:this.inverseCoefficients?[...this.inverseCoefficients]:null})}};(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"polynomialOrder",void 0),(0,s.Cg)([(0,n.MZ)()],d.prototype,"forwardCoefficients",void 0),(0,s.Cg)([(0,p.w)("forwardCoefficients",["coeffX","coeffY"])],d.prototype,"readForwardCoefficients",null),(0,s.Cg)([(0,c.K)("forwardCoefficients")],d.prototype,"writeForwardCoefficients",null),(0,s.Cg)([(0,n.MZ)({json:{write:!0}})],d.prototype,"inverseCoefficients",null),(0,s.Cg)([(0,p.w)("inverseCoefficients",["inverseCoeffX","inverseCoeffY"])],d.prototype,"readInverseCoefficients",null),(0,s.Cg)([(0,c.K)("inverseCoefficients")],d.prototype,"writeInverseCoefficients",null),(0,s.Cg)([(0,n.MZ)()],d.prototype,"affectsPixelSize",null),(0,s.Cg)([(0,u.e)({PolynomialXform:"polynomial"})],d.prototype,"type",void 0),d=i=(0,s.Cg)([(0,n.$K)("esri.layers.raster.transforms.PolynomialTransform")],d)},39357(e,t,r){r.d(t,{A:()=>a});var i,s=r(32198),n=r(25482),o=r(91429);let a=i=class extends n.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new i({name:this.name,code:this.code})}};(0,s.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,s.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,r){r.d(t,{A:()=>c});var i,s=r(32198),n=r(4718),o=r(91429),a=r(39357),l=r(76357),p=r(93223);let c=class extends l.A{static{i=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new i({codedValues:(0,n.o8)(this.codedValues),name:this.name})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,s.Cg)([(0,p.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=i=(0,s.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>p});var i=r(32198),s=r(66552),n=r(25482),o=r(91429),a=r(93223);const l=new s.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let p=class extends n.o{constructor(e){super(e),this.name=null,this.type=null}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],p.prototype,"name",void 0),(0,i.Cg)([(0,a.e)(l),(0,o.MZ)({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),p=(0,i.Cg)([(0,o.$K)("esri.layers.support.Domain")],p)},20437(e,t,r){r.d(t,{A:()=>d});var i,s=r(32198),n=r(66552),o=r(25482),a=r(91429),l=r(78888),p=r(8631),c=r(98453),u=r(36005),h=r(93223);const f=new n.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",marginOfError:"margin-of-error",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let d=class extends o.o{static{i=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?f.fromJSON(r.fieldValueType):null}clone(){return new i({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,s.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,s.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,s.Cg)([(0,u.w)("description")],d.prototype,"readDescription",null),(0,s.Cg)([(0,a.MZ)({types:p.g,json:{read:{reader:p.r},write:!0}})],d.prototype,"domain",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,s.Cg)([(0,a.MZ)({type:l.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,s.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,s.Cg)([(0,h.e)(c.m)],d.prototype,"type",void 0),(0,s.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,s.Cg)([(0,u.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,s.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=i=(0,s.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},41628(e,t,r){r.d(t,{A:()=>l});var i,s=r(32198),n=r(91429),o=r(76357),a=r(93223);let l=class extends o.A{static{i=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new i({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],l.prototype,"maxValue",void 0),(0,s.Cg)([(0,n.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],l.prototype,"minValue",void 0),(0,s.Cg)([(0,a.e)({range:"range"})],l.prototype,"type",void 0),l=i=(0,s.Cg)([(0,n.$K)("esri.layers.support.RangeDomain")],l)},63966(e,t,r){r.r(t),r.d(t,{default:()=>P});var i=r(5443),s=r(86738),n=r(159),o=r(96271),a=r(94778),l=r(47520),p=r(14140);var c,u=r(99235),h=r(37373),f=r(51927),d=r(34251),m=r(75414),y=r(32198),g=r(91429),v=r(10333),w=r(93223);let x=c=class extends v.A{constructor(){super(...arguments),this.type="identity"}clone(){return new c}};(0,y.Cg)([(0,w.e)({IdentityXform:"identity"})],x.prototype,"type",void 0),x=c=(0,y.Cg)([(0,g.$K)("esri.layers.raster.transforms.IdentityTransform")],x);var C=r(43163);const A={GCSShiftXform:m.A,IdentityXform:x,PolynomialXform:C.A};var S=r(85676),b=r(491);function O(e){if(!e)return{result:null,transferList:[]};const{pixelBlock:t,transferList:r}=e.getTransferableObject();return{result:t,transferList:r}}class P{convertVectorFieldData(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,d.FI)(t,e.type));return Promise.resolve(r)}convertPixelBlockToFeatures(e){const t=(0,l.L)({pixelBlock:p.A.fromJSON(e.pixelBlock),extent:i.A.fromJSON(e.extent),fieldNames:e.fieldNames,skipFactor:e.skipFactor,skipSpatialReference:!0,pixelIdOffset:e.pixelIdOffset,imageRowSize:e.imageRowSize});return Promise.resolve(t)}sampleVectorFieldData(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,d.Wu)(t,e.srcDataType,e.tileSize,e.offset,e.maximumVoidPercentage));return Promise.resolve(r)}transformPixels(e){const t=function(e,t,r){const{width:i,height:s,pixels:n}=e;let o=[];o=e.bandMasks?e.bandMasks.map(e=>new Uint8Array(e)):n.map(()=>e.mask?new Uint8Array(e.mask):new Uint8Array(i*s).fill(255));const c="f32",u=n.map((e,i)=>{switch(t){case"log":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i);for(let r=0;r<i;r++)if(t[r]){const i=e[r];i<=0?t[r]=0:s[r]=Math.log(i)}return s}(e,o[i],c);case"sqrt":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i);for(let r=0;r<i;r++)if(t[r]){const i=e[r];i<0?t[r]=0:s[r]=Math.sqrt(i)}return s}(e,o[i],c);case"inverse":return function(e,t,r){const i=e.length,s=p.A.createEmptyBand(r,i),[n,o]=(0,a.hP)(r);for(let r=0;r<i;r++)if(!t||t[r]){const t=1/e[r];s[r]=s[r]=Math.max(n,Math.min(t,o))}return s}(e,o[i],c);case"box-cox":return function(e,t,r,i){const s=e.length,n=p.A.createEmptyBand(r,s),[o,l]=(0,a.hP)(r),c=i?.lambda??0,u=i?.shift??0,h=0===c;for(let r=0;r<s;r++)if(t[r]){const i=e[r];if(i<=0)t[r]=0;else if(h)n[r]=Math.log(i+u);else{const e=((i+u)**c-1)/c;n[r]=Math.max(o,Math.min(e,l))}}return n}(e,o[i],c,r);default:return e}}),h="inverse"===t,f=h?e.mask:1===o.length?o[0]:(0,l.YD)(o),d=h?e.bandMasks:1===o.length?void 0:o;return new p.A({width:i,height:s,pixelType:c,bandMasks:d,mask:f,pixels:u})}(p.A.fromJSON(e.pixelBlock),e.transformType,e.transformParameters);return Promise.resolve(O(t))}computeStatisticsHistograms(e){const t=p.A.fromJSON(e.pixelBlock),r=(0,f.eH)(t,{histogramSize:e.histogramSize,includeSkewnessKurtosis:e.includeSkewnessKurtosis});return Promise.resolve(r)}compositeBands(e){const t=e.pixelBlocks.map(e=>e&&p.A.fromJSON(e)),r=O((0,l.Wy)(t));return Promise.resolve(r)}async decode(e){return O(await(0,o.D)(e.data,e.options))}symbolize(e){const t=e.pixelBlock?p.A.fromJSON(e.pixelBlock):null,r=e.extent?i.A.fromJSON(e.extent):null,s=O(this.symbolizer.symbolize({...e,pixelBlock:t,extent:r}));return Promise.resolve(s)}highlightPixels(e){const t=p.A.fromJSON(e.pixelBlock),r=p.A.fromJSON(e.renderedPixelBlock);return(0,l._F)({pixelBlock:t,renderedPixelBlock:r,highlightOptions:e.highlightOptions}),Promise.resolve(r.toJSON())}async updateSymbolizer(e){this.symbolizer=S.A.fromJSON(e.symbolizerJSON),e.histograms&&"rasterStretch"===this.symbolizer?.rendererJSON.type&&(this.symbolizer.rendererJSON.histograms=e.histograms)}async updateRasterFunction(e){this.rasterFunction=(0,u.vt)(e.rasterFunctionJSON)}async process(e){return O(this.rasterFunction.process({extent:i.A.fromJSON(e.extent),primaryPixelBlocks:e.primaryPixelBlocks.map(e=>null!=e?p.A.fromJSON(e):null),primaryPixelSizes:e.primaryPixelSizes?.map(e=>null!=e?s.A.fromJSON(e):null),primaryRasterIds:e.primaryRasterIds},e.parameters))}stretch(e){const t=O(this.symbolizer.simpleStretch(p.A.fromJSON(e.srcPixelBlock),e.stretchParams));return Promise.resolve(t)}estimateStatisticsHistograms(e){const t=(0,f.f4)(p.A.fromJSON(e.srcPixelBlock));return Promise.resolve(t)}split(e){const t=(0,l.lD)(p.A.fromJSON(e.srcPixelBlock),e.tileSize,e.maximumPyramidLevel??0,!1===e.useBilinear),r=[];let i;return t&&(i=new Map,t.forEach((e,t)=>{if(e){const{pixelBlock:s,transferList:n}=e.getTransferableObject();i.set(t,s),n.forEach(e=>{r.includes(e)||r.push(e)})}})),Promise.resolve({result:i,transferList:r})}clipTile(e){const t=p.A.fromJSON(e.pixelBlock),r=O((0,l.J$)({...e,pixelBlock:t}));return Promise.resolve(r)}mosaicPixelData(e){const t=e.pixelData.map(e=>({extent:i.A.fromJSON(e.extent),pixelBlock:e.pixelBlock?p.A.fromJSON(e.pixelBlock):null})),r=i.A.fromJSON(e.destExtent),s=(0,l.LY)(t,r),n=O(s?.pixelBlock);return Promise.resolve(n)}async mosaicAndTransform(e){const t=e.srcPixelBlocks.map(e=>e?new p.A(e):null),r=(0,l.z7)(t,e.srcMosaicSize,{blockWidths:e.blockWidths,alignmentInfo:e.alignmentInfo,clipOffset:e.clipOffset,clipSize:e.clipSize});let i,s=r;e.coefs&&(s=(0,l.$i)(r,e.destDimension,e.coefs,e.sampleSpacing,e.interpolation)),e.projectDirections&&e.gcsGrid&&(i=(0,l.QF)(e.destDimension,e.gcsGrid),s=(0,d.Y2)(s,e.isUV?"vector-uv":"vector-magdir",i));const{result:n,transferList:o}=O(s);return{result:{pixelBlock:n,localNorthDirections:i},transferList:o}}async createFlowMesh(e,t){const r={data:new Float32Array(e.flowData.buffer),mask:new Uint8Array(e.flowData.maskBuffer),width:e.flowData.width,height:e.flowData.height},{vertexData:i,indexData:s,pathData:n}=await(0,b.CW)(e.meshType,e.simulationSettings,r,e.startInfo,t.signal);return{result:{vertexBuffer:i.buffer,indexBuffer:s.buffer,pathBuffer:n.buffer},transferList:[i.buffer,s.buffer]}}async getProjectionOffsetGrid(e){const t=i.A.fromJSON(e.projectedExtent),r=i.A.fromJSON(e.srcBufferExtent);let s=null;e.datumTransformationSteps?.length&&(s=new n.A({steps:e.datumTransformationSteps})),await(0,h.Hh)();const o=e.rasterTransform?function(e){const t=e?.type;if(!t)return null;const r=A[e?.type];if(r){const t=new r;return t.read(e),t}return null}(e.rasterTransform):null;return(0,h.l0)({...e,projectedExtent:t,srcBufferExtent:r,datumTransformation:s,rasterTransform:o})}}},8631(e,t,r){r.d(t,{r:()=>h,g:()=>u});var i,s=r(53177),n=r(76357),o=r(32198),a=r(91429),l=r(93223);let p=class extends n.A{static{i=this}constructor(e){super(e),this.type="inherited"}clone(){return new i}};(0,o.Cg)([(0,l.e)({inherited:"inherited"})],p.prototype,"type",void 0),p=i=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],p);var c=r(41628);const u={key:"type",base:n.A,typeMap:{range:c.A,"coded-value":s.A,inherited:p}};function h(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return s.A.fromJSON(e);case"inherited":return p.fromJSON(e)}return null}},98453(e,t,r){const i=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,i])},2485(e,t,r){r.d(t,{A:()=>u});var i,s=r(32198),n=r(68197),o=r(4718),a=r(91429),l=r(78888),p=r(72606),c=r(93223);let u=i=class extends p.A{constructor(e){super(e),this.algorithm=null,this.fromColor=null,this.toColor=null,this.type="algorithmic"}clone(){return new i({fromColor:(0,o.o8)(this.fromColor),toColor:(0,o.o8)(this.toColor),algorithm:this.algorithm})}};(0,s.Cg)([(0,c.e)({esriCIELabAlgorithm:"cie-lab",esriHSVAlgorithm:"hsv",esriLabLChAlgorithm:"lab-lch"})],u.prototype,"algorithm",void 0),(0,s.Cg)([(0,a.MZ)({type:n.A,json:{type:[l.jz],write:{isRequired:!0}}})],u.prototype,"fromColor",void 0),(0,s.Cg)([(0,a.MZ)({type:n.A,json:{type:[l.jz],write:{isRequired:!0}}})],u.prototype,"toColor",void 0),(0,s.Cg)([(0,a.MZ)({type:["algorithmic"],json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),u=i=(0,s.Cg)([(0,a.$K)("esri.rest.support.AlgorithmicColorRamp")],u)},72606(e,t,r){r.d(t,{A:()=>o});var i=r(32198),s=r(25482),n=r(91429);let o=class extends s.o{constructor(e){super(e),this.type=null}};(0,i.Cg)([(0,n.MZ)({readOnly:!0,json:{read:!1,write:!0}})],o.prototype,"type",void 0),o=(0,i.Cg)([(0,n.$K)("esri.rest.support.ColorRamp")],o)},1626(e,t,r){r.d(t,{A:()=>u});var i,s=r(32198),n=r(4718),o=r(91429),a=r(2485),l=r(72606),p=r(43937),c=r(36005);let u=i=class extends l.A{constructor(e){super(e),this.colorRamps=null,this.type="multipart",this.weights=void 0}writeColorRamps(e,t,r,i){const s=e?.map(e=>e.toJSON(i)),{weights:n}=this;if(s&&n?.length&&s.length===n?.length){const e=100/n.reduce((e,t)=>e+t);let t=0;s.forEach((r,i)=>{r.start=t,t+=n[i]*e,r.stop=t})}t.colorRamps=s}readWeights(e,t){const r=t.colorRamps?.map(({start:e,stop:t})=>null==e||null==t?-1:t-e);if(!r?.some(e=>e<0))return r}clone(){return new i({colorRamps:(0,n.o8)(this.colorRamps)})}};(0,s.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],u.prototype,"colorRamps",void 0),(0,s.Cg)([(0,p.K)("colorRamps")],u.prototype,"writeColorRamps",null),(0,s.Cg)([(0,o.MZ)({type:["multipart"],json:{write:{isRequired:!0}}})],u.prototype,"type",void 0),(0,s.Cg)([(0,o.MZ)({type:[Number]})],u.prototype,"weights",void 0),(0,s.Cg)([(0,c.w)("weights",["colorRamps"])],u.prototype,"readWeights",null),u=i=(0,s.Cg)([(0,o.$K)("esri.rest.support.MultipartColorRamp")],u)},95349(e,t,r){r.d(t,{r:()=>a});var i=r(2485),s=r(72606),n=r(1626);const o={key:"type",base:s.A,typeMap:{algorithmic:i.A,multipart:n.A}};function a(e){return e?.type?"algorithmic"===e.type?i.A.fromJSON(e):"multipart"===e.type?n.A.fromJSON(e):null:null}r.d(t,["g",0,o])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9619],{15142(t,e,n){n.d(e,{A:()=>u});var r=n(4576),i=n(21818);const s=(t,e,n,r)=>{let i=e,s=e;const a=n>>>1,h=t[i-1];for(;s<=a;){s=i<<1,s<n&&r(t[s-1],t[s])<0&&++s;const e=t[s-1];if(r(e,h)<=0)break;t[i-1]=e,i=s}t[i-1]=h},a=(t,e)=>t<e?-1:t>e?1:0;function h(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r);const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r)}}function*o(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r),yield;const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r),yield}}class u{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new r.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let n=0;n<this._length;n++){const r=this.data[n];t(r)&&e.push(r)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const n=this.data.indexOf(t,e);return-1!==n&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let n=0;n<e;n++)this.data[this._length++]=t[n]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let n=0;n<e;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,c(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,n){this.length=(0,r.mW)(this.data,t,this.length,e,this._hint,n),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const n=this.data[t];this.data[t]=this.data[e],this.data[e]=n}sort(t){h(this.data,0,this.length,t)}iterableSort(t){return o(this.data,0,this.length,t)}some(t,e){for(let n=0;n<this.length;++n)if(t.call(e,this.data[n],n,this.data))return!0;return!1}find(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)if(t.call(e,n[i]))return n[i]}filterInPlace(t,e){let n=0;for(let r=0;r<this._length;++r){const i=this.data[r];t.call(e,i,r,this.data)&&(this.data[r]=this.data[n],this.data[n]=i,n++)}if(this._deallocator)for(let t=n;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=n,this._shrink(),this}forAll(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)t.call(e,n[i],i,n)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const n=new Array(this.length);for(let r=0;r<this.length;++r)n[r]=t.call(e,this.data[r],r,this.data);return n}reduce(t,e){let n=e;for(let e=0;e<this.length;++e)n=t(n,this.data[e],e,this.data);return n}has(t){const e=this.length,n=this.data;for(let r=0;r<e;++r)if(n[r]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let n=0;n<e;++n)yield t[n]}}function c(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},91829(t,e,n){function r(){return[0,0,0,0]}function i(t,e,n,r){return[t,e,n,r]}function s(){return i(1,1,1,1)}function a(){return i(1,0,0,0)}function h(){return i(0,1,0,0)}function o(){return i(0,0,1,0)}function u(){return i(0,0,0,1)}n.d(e,{_Y:()=>u,fA:()=>i,vt:()=>r});const c=[0,0,0,0],l=s(),f=a(),d=h(),_=o(),p=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:p,UNIT_X:f,UNIT_Y:d,UNIT_Z:_,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,e,n,r){return[t,e,n,r]},fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,ones:s,unitW:u,unitX:a,unitY:h,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Un",0,l,"uY",0,c,"v7",0,p])},78955(t,e,n){n.d(e,{Bw:()=>E,C:()=>i,Cc:()=>T,LI:()=>f,Om:()=>S,S8:()=>R,T9:()=>l,WQ:()=>a,Z0:()=>M,aI:()=>m,hG:()=>p,hZ:()=>s,hs:()=>d,jk:()=>c,m3:()=>g,t2:()=>N});var r=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function a(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}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}function o(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}function u(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}function c(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[3]=Math.min(e[3],n[3]),t}function l(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[3]=Math.max(e[3],n[3]),t}function f(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(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}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+s*s)}function p(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return n*n+r*r+i*i+s*s}function E(t){const e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}function g(t){const e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function R(t,e){const n=e[0],r=e[1],i=e[2],s=e[3];let a=n*n+r*r+i*i+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=s*a),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function T(t,e,n,r){const i=e[0],s=e[1],a=e[2],h=e[3];return t[0]=i+r*(n[0]-i),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t[3]=h+r*(n[3]-h),t}function M(t,e,n){const r=e[0],i=e[1],s=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*s+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*s+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*s+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*s+n[15]*a,t}function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function m(t,e){const n=t[0],i=t[1],s=t[2],a=t[3],h=e[0],o=e[1],u=e[2],c=e[3],l=(0,r.FD)();return Math.abs(n-h)<=l*Math.max(1,Math.abs(n),Math.abs(h))&&Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(a-c)<=l*Math.max(1,Math.abs(a),Math.abs(c))}const I=h,A=o,G=u,b=_,F=p,y=E,O=g;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:b,distance:_,div:G,divide:u,dot:S,equals:m,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:y,length:E,lerp:T,max:l,min:c,mul:A,multiply:o,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:R,random:function(t,e=1){const n=r.Ov;let i,s,a,h,o,u;do{i=2*n()-1,s=2*n()-1,o=i*i+s*s}while(o>=1);do{a=2*n()-1,h=2*n()-1,u=a*a+h*h}while(u>=1);const c=Math.sqrt((1-o)/u);return t[0]=e*i,t[1]=e*s,t[2]=e*a*c,t[3]=e*h*c,t},round:f,scale:d,scaleAndAdd: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},set:s,sqrDist:F,sqrLen:O,squaredDistance:p,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:h,transformMat4:M,transformQuat:function(t,e,n){const r=e[0],i=e[1],s=e[2],a=n[0],h=n[1],o=n[2],u=n[3],c=u*r+h*s-o*i,l=u*i+o*r-a*s,f=u*s+a*i-h*r,d=-a*r-h*i-o*s;return t[0]=c*u+d*-a+l*-o-f*-h,t[1]=l*u+d*-h+f*-a-c*-o,t[2]=f*u+d*-o+c*-h-l*-a,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,e,n){n.d(e,{$8:()=>I,Cc:()=>h,Hx:()=>E,Io:()=>N,KJ:()=>c,OS:()=>b,Sp:()=>d,XM:()=>l,YN:()=>f,ZH:()=>p,b6:()=>m,cU:()=>i,gg:()=>_,hs:()=>o,kU:()=>u,mP:()=>a,or:()=>G,pF:()=>y,qE:()=>s});const r=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return Math.min(Math.max(t,e),n)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function h(t,e,n){return t+(e-t)*n}function o(t,e,n,r,i){return h(r,i,(t-e)/(n-e))}function u(t){return t*Math.PI/180}function c(t){return 180*t/Math.PI}function l(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function d(t,e,n=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=n}function _(t,e,n=1e-6){return!d(t,e,n)&&t>e}function p(t,e,n=1e-6){return!d(t,e,n)&&t<e}function E(t,e,n=1e-6){return d(t,e,n)||t>e}const g=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function R(t){return g.setFloat64(0,t),g.getBigInt64(0)}const S=1000000n,T=M(1);function M(t){const e=R(t=Math.abs(t)),n=function(t){return g.setBigInt64(0,t),g.getFloat64(0)}(e<=S?S:e-S);return Math.abs(t-n)}function N(t,e,n=T){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=n&&M(Math.min(Math.abs(t),Math.abs(e)))<n)return Math.abs(t-e)<=n;const r=R(t),i=R(e);return r<0==i<0&&!((r<i?i-r:r-i)>S)}function m(t,e,n=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const r=Math.abs(t-e),i=Math.abs(t),s=Math.abs(e);if(0===t||0===e||i<1e-12&&s<1e-12){if(r>.01*n)return!1}else if(r/(i+s)>n)return!1;return!0}function I(t){return A(Math.max(-F,Math.min(t,F)))}function A(t){return r[0]=t,r[0]}function G(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(d(e,1)&&d(n,1)&&d(r,1))}function b(t,e){return(t%e+e)%e}const F=A(34028234663852886e22);function y(t,e,n){if(void 0===n||0===+n)return Math[t](e);if(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0)return NaN;let r=e.toString().split("e");return r=(e=Math[t](+(r[0]+"e"+(r[1]?+r[1]-n:-n)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+n:n))}n.d(e,["pq",0,F])},90239(t,e,n){function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}n.d(e,{GJ:()=>r})},1843(t,e,n){n.d(e,{BP:()=>c,l5:()=>l});var r=n(13030),i=n(90239),s=n(4431),a=n(620),h=n(85079);class o{constructor(t,e,n=0){this.layout=t,this.byteOffset=n,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e;for(const e of t.fields.keys()){const r=t.fields.get(e);this[e]=new r.constructor(this.buffer,n+r.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,e){const n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new o(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){const i=this.stride;if(i%4==0){const s=new Uint32Array(t.buffer,e*i,r*i/4);new Uint32Array(this.buffer,n*i,r*i/4).set(s)}else{const s=new Uint8Array(t.buffer,e*i,r*i);new Uint8Array(this.buffer,n*i,r*i).set(s)}return this}get usedMemory(){return this.byteLength}dispose(){}}class u{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>this._fields.set(t[0],{...t[1],constructor:_(t[1].constructor)})))}freeze(){return this}get locations(){return(0,h.Xk)((0,s.U)(this))}vec2f16(t,e){return this._appendField(t,r.ZD,e),this}vec2f(t,e){return this._appendField(t,r.gH,e),this}vec2f64(t,e){return this._appendField(t,r.si,e),this}vec3f16(t,e){return this._appendField(t,r.EC,e),this}vec3f(t,e){return this._appendField(t,r.xs,e),this}vec3f64(t,e){return this._appendField(t,r.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.jz,e),this}vec4f(t,e){return this._appendField(t,r.Eq,e),this}vec4f64(t,e){return this._appendField(t,r.Aj,e),this}mat3f(t,e){return this._appendField(t,r.jZ,e),this}mat3f64(t,e){return this._appendField(t,r.j0,e),this}mat4f(t,e){return this._appendField(t,r.Sx,e),this}mat4f64(t,e){return this._appendField(t,r.E$,e),this}vec4u8(t,e){return this._appendField(t,r.XP,e),this}f16(t,e){return this._appendField(t,r.XW,e),this}f32(t,e){return this._appendField(t,r.Y$,e),this}f64(t,e){return this._appendField(t,r.qB,e),this}u8(t,e){return this._appendField(t,r.SL,e),this}u16(t,e){return this._appendField(t,r.h,e),this}i8(t,e){return this._appendField(t,r.bf,e),this}vec2i8(t,e){return this._appendField(t,r.D6,e),this}vec2i16(t,e){return this._appendField(t,r.mJ,e),this}vec2u8(t,e){return this._appendField(t,r.LC,e),this}vec2u16(t,e){return this._appendField(t,r.Yi,e),this}vec4u16(t,e){return this._appendField(t,r.Uz,e),this}vec4i16(t,e){return this._appendField(t,r.E7,e),this}u32(t,e){return this._appendField(t,r.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,a.vA)(!1,`${t} already added to vertex buffer layout`);const r=e.ElementCount*(0,i.GJ)(e.ElementType),s=this._stride;this._fields.set(t,{constructor:e,size:r,offset:s,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{const r=(0,i.GJ)(n.constructor.ElementType);t=Math.floor((t+r-1)/r)*r,n.offset=t,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new o(this,t)}createView(t,e){return new o(this,t,e)}clone(){const t=new u;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t}get stride(){return this._stride}get fields(){return this._fields}}function c(){return new u}class l{constructor(t){this.fields=new Array,t.fields.forEach((t,e)=>{const n={...t,constructor:d(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}const f=[r.Y$,r.gH,r.xs,r.Eq,r.jZ,r.Sx,r.qB,r.si,r.Xm,r.Aj,r.j0,r.E$,r.SL,r.LC,r.eI,r.XP,r.h,r.Yi,r.nS,r.Uz,r.P,r.An,r.H$,r.ml,r.bf,r.D6,r.m8,r.TX,r.Qt,r.mJ,r.Vp,r.E7,r.My,r.UL,r.zD,r.Y4];function d(t){return`${t.ElementType}_${t.ElementCount}`}function _(t){return p.get(t)}const p=new Map;f.forEach(t=>p.set(d(t),t))},4431(t,e,n){n.d(e,{U:()=>s});var r=n(63907),i=n(74038);function s(t,e=0){const n=t.stride;return t.fields.entries().map(([t,s])=>{const a=s.constructor.ElementCount,h=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(s.constructor.ElementType),o=s.offset,u=s.optional?.glNormalized??!1,c=s.optional?.integer??!1;return new i._(t,a,h,o,n,u,e,c)}).toArray()}},620(t,e,n){n.d(e,{O_:()=>s,vA:()=>i}),n(48163),n(78955),(0,n(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function s(t,e,n,r){let i,s=(n[0]-t[0])/e[0],a=(r[0]-t[0])/e[0];s>a&&(i=s,s=a,a=i);let h=(n[1]-t[1])/e[1],o=(r[1]-t[1])/e[1];if(h>o&&(i=h,h=o,o=i),s>o||h>a)return!1;h>s&&(s=h),o<a&&(a=o);let u=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return u>c&&(i=u,u=c,c=i),!(s>c||u>a||(c<a&&(a=c),a<0))}},71936(t,e,n){n.r(e),n.d(e,{default:()=>o});var r=n(1843);function i(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new r.l5(t.layout)}}var s=n(99058),a=n(93406),h=n(44801);class o{async extract(t){const e=u(t),n=(0,h.o6)(e),r=[e.data.buffer];return{result:c(n,r),transferList:r}}async extractComponentsEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,f).regular.instancesData,r),transferList:r}}async extractEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,l).regular.instancesData,r),transferList:r}}}function u(t){return{data:s.I$.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):"Uint8Array"===t.indicesType?new Uint8Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}function c(t,e){return e.push(t.regular.lodInfo.lengths.buffer),e.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:i(t.regular.instancesData,e),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:i(t.silhouette.instancesData,e),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}const l=new class{allocate(t){return h.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1)}},f=new class{allocate(t){return h.HY.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex)}}},85079(t,e,n){n.d(e,{Sk:()=>a,Xk:()=>i,_u:()=>s});var r=n(21818);function i(t){let e=0;return(0,r.z)(new Map(t.map(({name:t,count:n})=>{const r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r})))}function s(t){const e=new Map;let n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}function a(t){return s(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,a=0,h=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=a,this.integer=h}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(i),a={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9619],{15142(t,e,n){n.d(e,{A:()=>u});var r=n(4576),i=n(21818);const s=(t,e,n,r)=>{let i=e,s=e;const a=n>>>1,h=t[i-1];for(;s<=a;){s=i<<1,s<n&&r(t[s-1],t[s])<0&&++s;const e=t[s-1];if(r(e,h)<=0)break;t[i-1]=e,i=s}t[i-1]=h},a=(t,e)=>t<e?-1:t>e?1:0;function h(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r);const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r)}}function*o(t,e,n,r){void 0===e&&(e=0),void 0===n&&(n=t.length),void 0===r&&(r=a);for(let i=n>>>1;i>e;i--)s(t,i,n,r),yield;const i=e+1;for(let a=n-1;a>e;a--){const n=t[e];t[e]=t[a],t[a]=n,s(t,i,a,r),yield}}class u{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new r.vW,t&&(t.initialSize&&(this.data=new Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){const e=new Array;for(let n=0;n<this._length;n++){const r=this.data[n];t(r)&&e.push(r)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){const n=this.data.indexOf(t,e);return-1!==n&&n<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let n=0;n<e;n++)this.data[this._length++]=t[n]}pushAll(t){for(const e of t)this.data[this._length++]=e}fill(t,e){for(let n=0;n<e;n++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));const t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,c(this)}pop(){if(0===this.length)return;const t=this.data[this.length-1];return this.length=this.length-1,this._shrink(),t}remove(t){const e=(0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),this.length=this.length-1,t}removeUnordered(t){return this.removeUnorderedIndex((0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,n){this.length=(0,r.mW)(this.data,t,this.length,e,this._hint,n),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;const n=this.data[t];this.data[t]=this.data[e],this.data[e]=n}sort(t){h(this.data,0,this.length,t)}iterableSort(t){return o(this.data,0,this.length,t)}some(t,e){for(let n=0;n<this.length;++n)if(t.call(e,this.data[n],n,this.data))return!0;return!1}find(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)if(t.call(e,n[i]))return n[i]}filterInPlace(t,e){let n=0;for(let r=0;r<this._length;++r){const i=this.data[r];t.call(e,i,r,this.data)&&(this.data[r]=this.data[n],this.data[n]=i,n++)}if(this._deallocator)for(let t=n;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=n,this._shrink(),this}forAll(t,e){const{data:n,length:r}=this;for(let i=0;i<r;++i)t.call(e,n[i],i,n)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){const n=new Array(this.length);for(let r=0;r<this.length;++r)n[r]=t.call(e,this.data[r],r,this.data);return n}reduce(t,e){let n=e;for(let e=0;e<this.length;++e)n=t(n,this.data[e],e,this.data);return n}has(t){const e=this.length,n=this.data;for(let r=0;r<e;++r)if(n[r]===t)return!0;return!1}*[Symbol.iterator](){const{data:t,length:e}=this;for(let n=0;n<e;++n)yield t[n]}}function c(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},91829(t,e,n){function r(){return[0,0,0,0]}function i(t,e,n,r){return[t,e,n,r]}function s(){return i(1,1,1,1)}function a(){return i(1,0,0,0)}function h(){return i(0,1,0,0)}function o(){return i(0,0,1,0)}function u(){return i(0,0,0,1)}n.d(e,{_Y:()=>u,fA:()=>i,vt:()=>r});const c=[0,0,0,0],l=s(),f=a(),d=h(),_=o(),p=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:l,UNIT_W:p,UNIT_X:f,UNIT_Y:d,UNIT_Z:_,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:r,freeze:function(t,e,n,r){return[t,e,n,r]},fromArray:function(t,e=[0,0,0,0]){const n=Math.min(4,t.length);for(let r=0;r<n;++r)e[r]=t[r];return e},fromValues:i,ones:s,unitW:u,unitX:a,unitY:h,unitZ:o,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(e,["Un",0,l,"uY",0,c,"v7",0,p])},78955(t,e,n){n.d(e,{Bw:()=>E,C:()=>i,Cc:()=>T,LI:()=>f,Om:()=>S,S8:()=>R,T9:()=>l,WQ:()=>a,Z0:()=>M,aI:()=>m,hG:()=>p,hZ:()=>s,hs:()=>d,jk:()=>c,m3:()=>g,t2:()=>N});var r=n(34304);function i(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function s(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function a(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}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}function o(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}function u(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}function c(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[3]=Math.min(e[3],n[3]),t}function l(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[3]=Math.max(e[3],n[3]),t}function f(t,e){return t[0]=Math.round(e[0]),t[1]=Math.round(e[1]),t[2]=Math.round(e[2]),t[3]=Math.round(e[3]),t}function d(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}function _(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return Math.sqrt(n*n+r*r+i*i+s*s)}function p(t,e){const n=e[0]-t[0],r=e[1]-t[1],i=e[2]-t[2],s=e[3]-t[3];return n*n+r*r+i*i+s*s}function E(t){const e=t[0],n=t[1],r=t[2],i=t[3];return Math.sqrt(e*e+n*n+r*r+i*i)}function g(t){const e=t[0],n=t[1],r=t[2],i=t[3];return e*e+n*n+r*r+i*i}function R(t,e){const n=e[0],r=e[1],i=e[2],s=e[3];let a=n*n+r*r+i*i+s*s;return a>0&&(a=1/Math.sqrt(a),t[0]=n*a,t[1]=r*a,t[2]=i*a,t[3]=s*a),t}function S(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function T(t,e,n,r){const i=e[0],s=e[1],a=e[2],h=e[3];return t[0]=i+r*(n[0]-i),t[1]=s+r*(n[1]-s),t[2]=a+r*(n[2]-a),t[3]=h+r*(n[3]-h),t}function M(t,e,n){const r=e[0],i=e[1],s=e[2],a=e[3];return t[0]=n[0]*r+n[4]*i+n[8]*s+n[12]*a,t[1]=n[1]*r+n[5]*i+n[9]*s+n[13]*a,t[2]=n[2]*r+n[6]*i+n[10]*s+n[14]*a,t[3]=n[3]*r+n[7]*i+n[11]*s+n[15]*a,t}function N(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function m(t,e){const n=t[0],i=t[1],s=t[2],a=t[3],h=e[0],o=e[1],u=e[2],c=e[3],l=(0,r.FD)();return Math.abs(n-h)<=l*Math.max(1,Math.abs(n),Math.abs(h))&&Math.abs(i-o)<=l*Math.max(1,Math.abs(i),Math.abs(o))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))&&Math.abs(a-c)<=l*Math.max(1,Math.abs(a),Math.abs(c))}const I=h,A=o,G=u,b=_,F=p,y=E,O=g;Object.freeze(Object.defineProperty({__proto__:null,add:a,ceil:function(t,e){return t[0]=Math.ceil(e[0]),t[1]=Math.ceil(e[1]),t[2]=Math.ceil(e[2]),t[3]=Math.ceil(e[3]),t},copy:i,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:b,distance:_,div:G,divide:u,dot:S,equals:m,exactEquals:N,floor:function(t,e){return t[0]=Math.floor(e[0]),t[1]=Math.floor(e[1]),t[2]=Math.floor(e[2]),t[3]=Math.floor(e[3]),t},inverse:function(t,e){return t[0]=1/e[0],t[1]=1/e[1],t[2]=1/e[2],t[3]=1/e[3],t},len:y,length:E,lerp:T,max:l,min:c,mul:A,multiply:o,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:R,random:function(t,e=1){const n=r.Ov;let i,s,a,h,o,u;do{i=2*n()-1,s=2*n()-1,o=i*i+s*s}while(o>=1);do{a=2*n()-1,h=2*n()-1,u=a*a+h*h}while(u>=1);const c=Math.sqrt((1-o)/u);return t[0]=e*i,t[1]=e*s,t[2]=e*a*c,t[3]=e*h*c,t},round:f,scale:d,scaleAndAdd: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},set:s,sqrDist:F,sqrLen:O,squaredDistance:p,squaredLength:g,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:I,subtract:h,transformMat4:M,transformQuat:function(t,e,n){const r=e[0],i=e[1],s=e[2],a=n[0],h=n[1],o=n[2],u=n[3],c=u*r+h*s-o*i,l=u*i+o*r-a*s,f=u*s+a*i-h*r,d=-a*r-h*i-o*s;return t[0]=c*u+d*-a+l*-o-f*-h,t[1]=l*u+d*-h+f*-a-c*-o,t[2]=f*u+d*-o+c*-h-l*-a,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},34727(t,e,n){n.d(e,{$8:()=>I,Cc:()=>h,Hx:()=>E,Io:()=>N,KJ:()=>c,OS:()=>b,Sp:()=>d,XM:()=>l,YN:()=>f,ZH:()=>p,b6:()=>m,cU:()=>i,gg:()=>_,hs:()=>o,kU:()=>u,mP:()=>a,or:()=>G,pF:()=>y,qE:()=>s});const r=new Float32Array(1);function i(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,n){return Math.min(Math.max(t,e),n)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function h(t,e,n){return t+(e-t)*n}function o(t,e,n,r,i){return h(r,i,(t-e)/(n-e))}function u(t){return t*Math.PI/180}function c(t){return 180*t/Math.PI}function l(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function d(t,e,n=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=n}function _(t,e,n=1e-6){return!d(t,e,n)&&t>e}function p(t,e,n=1e-6){return!d(t,e,n)&&t<e}function E(t,e,n=1e-6){return d(t,e,n)||t>e}const g=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function R(t){return g.setFloat64(0,t),g.getBigInt64(0)}const S=1000000n,T=M(1);function M(t){const e=R(t=Math.abs(t)),n=function(t){return g.setBigInt64(0,t),g.getFloat64(0)}(e<=S?S:e-S);return Math.abs(t-n)}function N(t,e,n=T){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=n&&M(Math.min(Math.abs(t),Math.abs(e)))<n)return Math.abs(t-e)<=n;const r=R(t),i=R(e);return r<0==i<0&&!((r<i?i-r:r-i)>S)}function m(t,e,n=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;const r=Math.abs(t-e),i=Math.abs(t),s=Math.abs(e);if(0===t||0===e||i<1e-12&&s<1e-12){if(r>.01*n)return!1}else if(r/(i+s)>n)return!1;return!0}function I(t){return A(Math.max(-F,Math.min(t,F)))}function A(t){return r[0]=t,r[0]}function G(t){const e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],n=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],r=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(d(e,1)&&d(n,1)&&d(r,1))}function b(t,e){return(t%e+e)%e}const F=A(34028234663852886e22);function y(t,e,n){if(void 0===n||0===+n)return Math[t](e);if(e=+e,n=+n,isNaN(e)||"number"!=typeof n||n%1!=0)return NaN;let r=e.toString().split("e");return r=(e=Math[t](+(r[0]+"e"+(r[1]?+r[1]-n:-n)))).toString().split("e"),+(r[0]+"e"+(r[1]?+r[1]+n:n))}n.d(e,["pq",0,F])},90239(t,e,n){function r(t){switch(t){case"u8":case"i8":return 1;case"u16":case"i16":case"f16":return 2;case"u32":case"i32":case"f32":return 4;case"f64":return 8}}n.d(e,{GJ:()=>r})},1843(t,e,n){n.d(e,{BP:()=>c,l5:()=>l});var r=n(13030),i=n(90239),s=n(4431),a=n(620),h=n(85079);class o{constructor(t,e,n=0){this.layout=t,this.byteOffset=n,this.buffer="number"==typeof e?new ArrayBuffer(e*t.stride):e;for(const e of t.fields.keys()){const r=t.fields.get(e);this[e]=new r.constructor(this.buffer,n+r.offset,this.stride)}}get stride(){return this.layout.stride}get count(){return this.byteLength/this.stride}get byteLength(){return this.buffer.byteLength-this.byteOffset}getField(t,e){const n=this[t];return n&&n.elementCount===e.ElementCount&&n.elementType===e.ElementType?n:null}slice(t,e){return new o(this.layout,this.buffer.slice(t*this.stride,e*this.stride))}copyFrom(t,e=0,n=0,r=t.count){const i=this.stride,s=t.byteOffset+e*i,a=this.byteOffset+n*i,h=r*i;if(i%4==0&&s%4==0&&a%4==0){const e=new Uint32Array(t.buffer,s,h/4);new Uint32Array(this.buffer,a,h/4).set(e)}else{const e=new Uint8Array(t.buffer,s,h);new Uint8Array(this.buffer,a,h).set(e)}return this}get usedMemory(){return this.byteLength}dispose(){}}class u{constructor(t){this._stride=0,this._fields=new Map,t&&(this._stride=t.stride,t.fields.forEach(t=>this._fields.set(t[0],{...t[1],constructor:_(t[1].constructor)})))}freeze(){return this}get locations(){return(0,h.Xk)((0,s.U)(this))}vec2f16(t,e){return this._appendField(t,r.ZD,e),this}vec2f(t,e){return this._appendField(t,r.gH,e),this}vec2f64(t,e){return this._appendField(t,r.si,e),this}vec3f16(t,e){return this._appendField(t,r.EC,e),this}vec3f(t,e){return this._appendField(t,r.xs,e),this}vec3f64(t,e){return this._appendField(t,r.Xm,e),this}vec4f16(t,e){return this._appendField(t,r.jz,e),this}vec4f(t,e){return this._appendField(t,r.Eq,e),this}vec4f64(t,e){return this._appendField(t,r.Aj,e),this}mat3f(t,e){return this._appendField(t,r.jZ,e),this}mat3f64(t,e){return this._appendField(t,r.j0,e),this}mat4f(t,e){return this._appendField(t,r.Sx,e),this}mat4f64(t,e){return this._appendField(t,r.E$,e),this}vec4u8(t,e){return this._appendField(t,r.XP,e),this}f16(t,e){return this._appendField(t,r.XW,e),this}f32(t,e){return this._appendField(t,r.Y$,e),this}f64(t,e){return this._appendField(t,r.qB,e),this}u8(t,e){return this._appendField(t,r.SL,e),this}u16(t,e){return this._appendField(t,r.h,e),this}i8(t,e){return this._appendField(t,r.bf,e),this}vec2i8(t,e){return this._appendField(t,r.D6,e),this}vec2i16(t,e){return this._appendField(t,r.mJ,e),this}vec2u8(t,e){return this._appendField(t,r.LC,e),this}vec2u16(t,e){return this._appendField(t,r.Yi,e),this}vec4u16(t,e){return this._appendField(t,r.Uz,e),this}vec4i16(t,e){return this._appendField(t,r.E7,e),this}u32(t,e){return this._appendField(t,r.P,e),this}_appendField(t,e,n){this._fields.has(t)&&(0,a.vA)(!1,`${t} already added to vertex buffer layout`);const r=e.ElementCount*(0,i.GJ)(e.ElementType),s=this._stride;this._fields.set(t,{constructor:e,size:r,offset:s,optional:n}),this._alignFields()}_alignFields(){let t=0,e=1;this._fields.forEach(n=>{const r=(0,i.GJ)(n.constructor.ElementType);t=Math.floor((t+r-1)/r)*r,n.offset=t,t+=n.size,e=Math.max(e,r)}),t=Math.floor((t+e-1)/e)*e,this._stride=t}createBuffer(t){return new o(this,t)}createView(t,e){return new o(this,t,e)}clone(){const t=new u;return t._stride=this._stride,t._fields=new Map,this._fields.forEach((e,n)=>t._fields.set(n,e)),t}get stride(){return this._stride}get fields(){return this._fields}}function c(){return new u}class l{constructor(t){this.fields=new Array,t.fields.forEach((t,e)=>{const n={...t,constructor:d(t.constructor)};this.fields.push([e,n])}),this.stride=t.stride}}const f=[r.Y$,r.gH,r.xs,r.Eq,r.jZ,r.Sx,r.qB,r.si,r.Xm,r.Aj,r.j0,r.E$,r.SL,r.LC,r.eI,r.XP,r.h,r.Yi,r.nS,r.Uz,r.P,r.An,r.H$,r.ml,r.bf,r.D6,r.m8,r.TX,r.Qt,r.mJ,r.Vp,r.E7,r.My,r.UL,r.zD,r.Y4];function d(t){return`${t.ElementType}_${t.ElementCount}`}function _(t){return p.get(t)}const p=new Map;f.forEach(t=>p.set(d(t),t))},4431(t,e,n){n.d(e,{U:()=>s});var r=n(63907),i=n(74038);function s(t,e=0){const n=t.stride;return t.fields.entries().map(([t,s])=>{const a=s.constructor.ElementCount,h=function(t){switch(t){case"u8":return r.pe.UNSIGNED_BYTE;case"u16":return r.pe.UNSIGNED_SHORT;case"u32":return r.pe.UNSIGNED_INT;case"i8":return r.pe.BYTE;case"i16":return r.pe.SHORT;case"i32":return r.pe.INT;case"f16":return r.pe.HALF_FLOAT;case"f32":return r.pe.FLOAT;default:throw new Error("BufferType not supported in WebGL")}}(s.constructor.ElementType),o=s.offset,u=s.optional?.glNormalized??!1,c=s.optional?.integer??!1;return new i._(t,a,h,o,n,u,e,c)}).toArray()}},620(t,e,n){n.d(e,{O_:()=>s,vA:()=>i}),n(48163),n(78955),(0,n(91829).vt)();class r{constructor(t){this.message=t}toString(){return`AssertException: ${this.message}`}}function i(t,e="Assertion"){if(!t){const t=new Error(e).stack;throw new r(`${e} at ${t}`)}}function s(t,e,n,r){let i,s=(n[0]-t[0])/e[0],a=(r[0]-t[0])/e[0];s>a&&(i=s,s=a,a=i);let h=(n[1]-t[1])/e[1],o=(r[1]-t[1])/e[1];if(h>o&&(i=h,h=o,o=i),s>o||h>a)return!1;h>s&&(s=h),o<a&&(a=o);let u=(n[2]-t[2])/e[2],c=(r[2]-t[2])/e[2];return u>c&&(i=u,u=c,c=i),!(s>c||u>a||(c<a&&(a=c),a<0))}},71936(t,e,n){n.r(e),n.d(e,{default:()=>o});var r=n(1843);function i(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new r.l5(t.layout)}}var s=n(99058),a=n(93406),h=n(44801);class o{async extract(t){const e=u(t),n=(0,h.o6)(e),r=[e.data.buffer];return{result:c(n,r),transferList:r}}async extractComponentsEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,f).regular.instancesData,r),transferList:r}}async extractEdgeLocations(t){const e=u(t),n=(0,h.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),r=[];return{result:i((0,a.K)(n,l).regular.instancesData,r),transferList:r}}}function u(t){return{data:s.I$.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):"Uint8Array"===t.indicesType?new Uint8Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}function c(t,e){return e.push(t.regular.lodInfo.lengths.buffer),e.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:i(t.regular.instancesData,e),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:i(t.silhouette.instancesData,e),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}const l=new class{allocate(t){return h.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1)}},f=new class{allocate(t){return h.HY.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,n){t.position0.setVec(e,n.position0),t.position1.setVec(e,n.position1),t.componentIndex.set(e,n.componentIndex)}}},85079(t,e,n){n.d(e,{Sk:()=>a,Xk:()=>i,_u:()=>s});var r=n(21818);function i(t){let e=0;return(0,r.z)(new Map(t.map(({name:t,count:n})=>{const r=[t,e];return 16===n?e+=4:9===n?e+=3:++e,r})))}function s(t){const e=new Map;let n=0;return t.forEach(t=>t.forEach(({name:t,count:r})=>{e.set(t,n),16===r?n+=4:9===r?n+=3:++n})),e}function a(t){return s(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,n){n.d(e,{_:()=>r});class r{constructor(t,e,n,r,i,s=!1,a=0,h=!1){this.name=t,this.count=e,this.type=n,this.offset=r,this.stride=i,this.normalized=s,this.divisor=a,this.integer=h}}},63907(t,e,n){const r={BYTE:5120,UNSIGNED_BYTE:5121,SHORT:5122,UNSIGNED_SHORT:5123,INT:5124,UNSIGNED_INT:5125,FLOAT:5126,HALF_FLOAT:5131},i={RGBA4:32854,R16F:33325,RG16F:33327,RGB32F:34837,RGBA16F:34842,R32F:33326,RG32F:33328,RGBA32F:34836,R11F_G11F_B10F:35898,RGB8:32849,RGBA8:32856,RGB5_A1:32855,R8:33321,RG8:33323,R8I:33329,R8UI:33330,R16I:33331,R16UI:33332,R32I:33333,R32UI:33334,RG8I:33335,RG8UI:33336,RG16I:33337,RG16UI:33338,RG32I:33339,RG32UI:33340,RGB16F:34843,RGB9_E5:35901,SRGB8:35905,SRGB8_ALPHA8:35907,RGB565:36194,RGBA32UI:36208,RGB32UI:36209,RGBA16UI:36214,RGB16UI:36215,RGBA8UI:36220,RGB8UI:36221,RGBA32I:36226,RGB32I:36227,RGBA16I:36232,RGB16I:36233,RGBA8I:36238,RGB8I:36239,R8_SNORM:36756,RG8_SNORM:36757,RGB8_SNORM:36758,RGBA8_SNORM:36759,RGB10_A2:32857,RGB10_A2UI:36975},s=Object.values(i),a={FLOAT:r.FLOAT,UNSIGNED_BYTE:r.UNSIGNED_BYTE,UNSIGNED_INT_24_8:34042,UNSIGNED_SHORT_4_4_4_4:32819,UNSIGNED_SHORT_5_5_5_1:32820,UNSIGNED_SHORT_5_6_5:33635,BYTE:r.BYTE,UNSIGNED_SHORT:r.UNSIGNED_SHORT,SHORT:r.SHORT,UNSIGNED_INT:r.UNSIGNED_INT,INT:r.INT,HALF_FLOAT:5131,UNSIGNED_INT_2_10_10_10_REV:33640,UNSIGNED_INT_10F_11F_11F_REV:35899,UNSIGNED_INT_5_9_9_9_REV:35902,FLOAT_32_UNSIGNED_INT_24_8_REV:36269};n.d(e,["CQ",0,{COMPRESSED_RGB_S3TC_DXT1_EXT:33776,COMPRESSED_RGBA_S3TC_DXT1_EXT:33777,COMPRESSED_RGBA_S3TC_DXT3_EXT:33778,COMPRESSED_RGBA_S3TC_DXT5_EXT:33779,COMPRESSED_R11_EAC:37488,COMPRESSED_SIGNED_R11_EAC:37489,COMPRESSED_RG11_EAC:37490,COMPRESSED_SIGNED_RG11_EAC:37491,COMPRESSED_RGB8_ETC2:37492,COMPRESSED_SRGB8_ETC2:37493,COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2:37494,COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2:37495,COMPRESSED_RGBA8_ETC2_EAC:37496,COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:37497},"H0",0,i,"SB",0,{DEPTH_COMPONENT16:33189,DEPTH_COMPONENT24:33190,DEPTH_COMPONENT32F:36012},"WR",0,{POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6},"XN",0,s,"iE",0,{DEPTH24_STENCIL8:35056,DEPTH32F_STENCIL8:36013},"ld",0,a,"pe",0,r,"vt",0,{Texture:0,TileTexture:1,BufferObject:2,VertexArrayObject:3,Shader:4,Program:5,FramebufferObject:6,Renderbuffer:7,TransformFeedback:8,Sync:9,UNCOUNTED:10,LinesOfCode:10,Uniform:11,COUNT:12}])}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(78888),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8878],{99719(e,t,r){r.d(t,{x:()=>n});class n{}},92400(e,t,r){r.d(t,{CU:()=>s,UQ:()=>o,fF:()=>i,o6:()=>l});var n=r(17676);class i{constructor(){}}function l(e,t,r){if(e instanceof i&&!(e instanceof s)){const n=new s;return n.fn=e,n.parameterEvaluator=r,n.context=t,n}return e}class o extends i{constructor(e,t){super(),this._name=t,this.fn=e}get debugName(){return null!=this._name?`<native>.${this._name}`:"<native>"}createFunction(e){return(...t)=>this.fn(e,{preparsed:!0,arguments:t})}call(e,t){return this.fn(e,t)}marshalledCall(e,t,r,o){return o(e,t,(t,u,a)=>{a=a.map(t=>t instanceof i&&!(t instanceof s)?l(t,e,o):t);const c=this.call(r,{args:a});return(0,n.$X)(c)?c.then(e=>l(e,r,o)):c})}}class s extends i{constructor(){super(...arguments),this.fn=null,this.context=null}get debugName(){return null!=this.fn.debugName?`<imported>.${this.fn.debugName}`:null}createFunction(e){return this.fn.createFunction(this.context)}call(e,t){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}marshalledCall(e,t,r){return this.fn.marshalledCall(e,t,this.context,this.parameterEvaluator)}}},93818(e,t,r){r.d(t,{A:()=>n});class n{static from(e){return new i(e)}length(){return this._elements.length}toArray(){return this.slice()}slice(e=0,t=this.length()){const r=[];for(let n=e;n<t;n++)r.push(this.get(n));return r}}class i extends n{constructor(e){super(),this._elements=e}get(e){return this._elements[e]}slice(e=0,t=this.length()){return this._elements.slice(Math.max(e,0),Math.min(t,this.length()))}equalityTest(e){return this===e}}},33325(e,t,r){r.d(t,{$P:()=>c,JB:()=>g,Lk:()=>f,Qi:()=>m,eB:()=>h,eg:()=>y,f0:()=>p,ke:()=>u,nE:()=>a,rX:()=>d});var n=r(66131),i=r(44729),l=r(15032),o=r(20437),s=r(34747);function u(e){return o.A.fromJSON(e.toJSON())}function a(e){return"toJSON"in e?e.toJSON():e}function c(e){return e instanceof Date}function f(e){return e instanceof s.c9}function d(e){return e instanceof n.lY}function p(e){return e instanceof i.n}function y(e){return e instanceof l.k}function m(e){return void 0===e?"":e=(e=(e=e.replace(/\/featureserver\/[0-9]*/i,"/FeatureServer")).replace(/\/mapserver\/[0-9]*/i,"/MapServer")).split("?")[0]}function g(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function h(e){switch(e.type){case"catalog-footprint":case"catalog":case"csv":case"feature":case"geojson":case"knowledge-graph-sublayer":case"oriented-imagery":case"parquet":case"subtype-group":case"subtype-sublayer":case"wfs":return!0;default:return!1}}r.d(t,["At",0,{"small-integer":"esriFieldTypeSmallInteger",integer:"esriFieldTypeInteger",long:"esriFieldTypeLong",single:"esriFieldTypeSingle",double:"esriFieldTypeDouble",string:"esriFieldTypeString",date:"esriFieldTypeDate","date-only":"esriFieldTypeDateOnly","time-only":"esriFieldTypeTimeOnly","timestamp-offset":"esriFieldTypeTimestampOffset",oid:"esriFieldTypeOID",geometry:"esriFieldTypeGeometry",blob:"esriFieldTypeBlob",raster:"esriFieldTypeRaster",guid:"esriFieldTypeGUID","global-id":"esriFieldTypeGlobalID",xml:"esriFieldTypeXML","big-integer":"esriFieldTypeBigInteger",esriFieldTypeSmallInteger:"esriFieldTypeSmallInteger",esriFieldTypeInteger:"esriFieldTypeInteger",esriFieldTypeLong:"esriFieldTypeLong",esriFieldTypeSingle:"esriFieldTypeSingle",esriFieldTypeDouble:"esriFieldTypeDouble",esriFieldTypeString:"esriFieldTypeString",esriFieldTypeDate:"esriFieldTypeDate",esriFieldTypeDateOnly:"esriFieldTypeDateOnly",esriFieldTypeTimeOnly:"esriFieldTypeTimeOnly",esriFieldTypeTimestampOffset:"esriFieldTypeTimestampOffset",esriFieldTypeOID:"esriFieldTypeOID",esriFieldTypeGeometry:"esriFieldTypeGeometry",esriFieldTypeBlob:"esriFieldTypeBlob",esriFieldTypeRaster:"esriFieldTypeRaster",esriFieldTypeGUID:"esriFieldTypeGUID",esriFieldTypeGlobalID:"esriFieldTypeGlobalID",esriFieldTypeXML:"esriFieldTypeXML",esriFieldTypeBigInteger:"esriFieldTypeBigInteger"},"ik",0,{point:"point",polygon:"polygon",polyline:"polyline",multipoint:"multipoint",extent:"extent",esriGeometryPoint:"point",esriGeometryPolygon:"polygon",esriGeometryPolyline:"polyline",esriGeometryMultipoint:"multipoint",esriGeometryEnvelope:"extent",envelope:"extent"},"yT",0,{point:"esriGeometryPoint",polygon:"esriGeometryPolygon",polyline:"esriGeometryPolyline",multipoint:"esriGeometryMultipoint",extent:"esriGeometryEnvelope",esriGeometryPoint:"esriGeometryPoint",esriGeometryPolygon:"esriGeometryPolygon",esriGeometryPolyline:"esriGeometryPolyline",esriGeometryMultipoint:"esriGeometryMultipoint",esriGeometryEnvelope:"esriGeometryEnvelope",envelope:"esriGeometryEnvelope"}])},78878(e,t,r){r.d(t,{$:()=>M,A:()=>Fe,B:()=>K,E:()=>U,F:()=>E,G:()=>L,H:()=>he,I:()=>h,J:()=>J,K:()=>k,L:()=>A,M:()=>fe,N:()=>O,O:()=>X,P:()=>be,Q:()=>w,R:()=>g,S:()=>ke,T:()=>ce,U:()=>ee,V:()=>H,W:()=>Ce,X:()=>Ze,Y:()=>Ae,Z:()=>Me,_:()=>De,a:()=>Ne,a0:()=>Z,a1:()=>F,a3:()=>oe,a4:()=>Oe,a5:()=>Se,a6:()=>ye,a7:()=>de,a8:()=>pe,a9:()=>we,b:()=>x,c:()=>ie,d:()=>D,e:()=>ve,f:()=>_,g:()=>$,h:()=>G,i:()=>N,j:()=>R,k:()=>j,l:()=>I,m:()=>P,n:()=>V,o:()=>Y,p:()=>v,q:()=>z,r:()=>q,t:()=>se,u:()=>C,v:()=>ae,w:()=>le,y:()=>re,z:()=>ne});var n=r(66131),i=r(99719),l=r(85935),o=r(92400),s=r(93818),u=r(33325),a=r(14607),c=r(44729),f=r(15032),d=r(73444),p=r(54218),y=r(34747),m=r(94128);class g{constructor(e){this.value=e}}class h{constructor(e){this.value=e}}const b={type:"VOID"},T=Symbol("BREAK"),S=Symbol("CONTINUE");function F(e,t,r){return""===t||null==t||t===r||t===r?e:e=e.split(t).join(r)}function N(e){return e instanceof o.fF}function v(e){return e instanceof i.x}function x(e){return!!((0,p.Kg)(e)||(0,p.Et)(e)||_(e)||z(e)||q(e)||(0,p.Lm)(e)||null===e||e===b)}function O(e,t){return void 0===e?t:e}function w(e){if(null==e)return"";if((0,p.cy)(e))return"Array";if($(e))return"Array";if(_(e))return"Date";if(q(e))return"Time";if(z(e))return"DateOnly";if((0,p.Kg)(e))return"String";if((0,p.Lm)(e))return"Boolean";if((0,p.Et)(e))return"Number";if(P(e))return"Attachment";if(V(e))return"Portal";if(I(e))return"Dictionary";if(Y(e))return"KnowledgeGraph";if(v(e))return"Module";if(G(e))return"Feature";if(D(e))switch(e.type){case"point":return"Point";case"polygon":return"Polygon";case"polyline":return"Polyline";case"multipoint":return"Multipoint";case"extent":return"Extent";default:return"Unrecognized Type"}return N(e)?"Function":j(e)?"FeatureSet":R(e)?"FeatureSetCollection":L(e)?"Voxel":E(e)?"Pixel":e===b?"":"number"==typeof e&&isNaN(e)?"Number":"Unrecognized Type"}function C(e){return e===b}function D(e){return"esri.arcade.Geometry"===e?.arcadeDeclaredClass}function A(e){return D(e)&&"point"===e.type}function Z(e){return D(e)&&"multipoint"===e.type}function k(e){return D(e)&&"polyline"===e.type}function M(e){return D(e)&&"polygon"===e.type}function J(e){return D(e)&&"extent"===e.type}function G(e){return"esri.arcade.Feature"===e?.arcadeDeclaredClass}function L(e){return"esri.arcade.Voxel"===e?.arcadeDeclaredClass}function E(e){return"esri.arcade.Pixel"===e?.arcadeDeclaredClass}function j(e){return"esri.arcade.featureset.support.FeatureSet"===e?.declaredRootClass}function I(e){return"esri.arcade.Dictionary"===e?.declaredClass}function V(e){return"esri.arcade.Portal"===e?.declaredClass}function P(e){return"esri.arcade.Attachment"===e?.declaredClass}function K(e){return I(e)||G(e)||L(e)||E(e)}function R(e){return"esri.arcade.featureSetCollection"===e?.declaredRootClass}function Y(e){return"esri.rest.knowledgeGraph.KnowledgeGraph"===e?.declaredClass}function $(e){return e instanceof s.A}function _(e){return e instanceof n.lY}function z(e){return e instanceof c.n}function q(e){return e instanceof f.k}function B(e){return null!=e&&"object"==typeof e}function U(e,t,r,n){if(e.length<t||e.length>r)throw new l.D$("WrongNumberOfParameters",n)}function X(e){return null==e||C(e)||""===e}function H(e){return e<0?-Math.round(-e):Math.round(e)}function Q(e,t){return isNaN(e)||null==t||""===t?e.toString():(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.GP)(e,{pattern:t}))}function W(e,t){return null==t||""===t?e.toISOString(!0):e.toFormat(ee(t),{locale:(0,d.JK)(),numberingSystem:"latn"})}function ee(e,t=!1){e=e.replaceAll(/LTS|LT|L{1,4}|l{1,4}/g,"[$&]");let r="";const n=/(\[[^[]*\])|(\\)?([Hh]mm(ss)?|Mo|M{1,4}|Do|DDDo|D{1,4}|d{2,4}|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|Z{1,5}|.)/g;for(const i of e.match(n)||[])switch(i){case"D":r+="d";break;case"DD":r+="dd";break;case"DDD":r+="o";break;case"d":r+="c";break;case"ddd":r+="ccc";break;case"dddd":r+="cccc";break;case"M":r+="L";break;case"MM":r+="LL";break;case"MMM":r+="LLL";break;case"MMMM":r+="LLLL";break;case"YY":r+="yy";break;case"Y":case"YYYY":r+="yyyy";break;case"Q":r+="q";break;case"Z":r+="Z";break;case"ZZ":r+="ZZ";break;case"ZZZ":r+="ZZZ";break;case"ZZZZ":r+=t?"[ZZZZ]":"ZZZZ";break;case"ZZZZZ":r+=t?"[ZZZZZ]":"ZZZZZ";break;case"S":r+="'S'";break;case"SS":r+="'SS'";break;case"SSS":r+="u";break;case"A":case"a":r+="a";break;case"m":case"mm":case"h":case"hh":case"H":case"HH":case"s":case"ss":case"X":case"x":r+=i;break;default:i.length>=2&&i.startsWith("[")&&i.endsWith("]")?r+=`'${i.slice(1,-1)}'`:r+=`'${i}'`}return r}function te(e,t,r){switch(r){case">":return e>t;case"<":return e<t;case">=":return e>=t;case"<=":return e<=t}return!1}function re(e,t,r){if(null===e){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}if(e===b){if(null===t||t===b)return te(null,null,r);if((0,p.Et)(t))return te(0,t,r);if((0,p.Kg)(t))return te(0,ae(t),r);if((0,p.Lm)(t))return te(0,ae(t),r);if(_(t))return te(0,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Et)(e)){if((0,p.Et)(t))return te(e,t,r);if((0,p.Lm)(t))return te(e,ae(t),r);if(null===t||t===b)return te(e,0,r);if((0,p.Kg)(t))return te(e,ae(t),r);if(_(t))return te(e,t.toNumber(),r);if(q(t))return te(e,t.toNumber(),r);if(z(t))return te(e,t.toNumber(),r)}else if((0,p.Kg)(e)){if((0,p.Kg)(t))return te(le(e),le(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if((0,p.Et)(t))return te(ae(e),t,r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Lm)(t))return te(ae(e),ae(t),r)}else if(_(e)){if(_(t))return e.timeZone!==t.timeZone&&(e.isUnknownTimeZone?e=n.lY.arcadeDateAndZoneToArcadeDate(e,t.timeZone):t.isUnknownTimeZone&&(t=n.lY.arcadeDateAndZoneToArcadeDate(t,e.timeZone))),te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if((0,p.Lm)(e)){if((0,p.Lm)(t))return te(e,t,r);if((0,p.Et)(t))return te(ae(e),ae(t),r);if(_(t))return te(ae(e),t.toNumber(),r);if(q(t))return te(ae(e),t.toNumber(),r);if(z(t))return te(ae(e),t.toNumber(),r);if(null===t||t===b)return te(ae(e),0,r);if((0,p.Kg)(t))return te(ae(e),ae(t),r)}else if(z(e)){if(_(t))return te(e.toNumber(),t.toNumber(),r);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))throw new l.D$("CannotCompareDateAndTime",null);if(z(t))return te(e.toNumber(),t.toNumber(),r)}else if(q(e)){if(_(t))throw new l.D$("CannotCompareDateAndTime",null);if(null===t||t===b)return te(e.toNumber(),0,r);if((0,p.Et)(t))return te(e.toNumber(),t,r);if((0,p.Lm)(t))return te(e.toNumber(),ae(t),r);if((0,p.Kg)(t))return te(e.toNumber(),ae(t),r);if(q(t))return te(e.toNumber(),t.toNumber(),r);if(z(t))throw new l.D$("CannotCompareDateAndTime",null)}return!!ne(e,t)&&("<="===r||">="===r)}function ne(e,t){if(e===t)return!0;if(null===e&&t===b||null===t&&e===b)return!0;if(_(e)&&_(t))return e.equals(t);if(q(e)&&q(t))return e.equals(t);if(z(e)&&z(t))return e.equals(t);if($(e))return e.equalityTest(t);if(A(e)&&A(t)){const r=e.id,n=t.id;if(null!=r)return r===n}return!(!B(e)||!B(t)||e._underlyingGraphic!==t._underlyingGraphic||void 0===e._underlyingGraphic||null===e._underlyingGraphic)}function ie(e,{useNumbersForDates:t}){let r="";for(const n in e){""!==r&&(r+=",");const i=e[n];null==i?r+=JSON.stringify(n)+":null":(0,p.Lm)(i)||(0,p.Et)(i)||(0,p.Kg)(i)?r+=JSON.stringify(n)+":"+JSON.stringify(i):D(i)?r+=JSON.stringify(n)+":"+se(i):q(i)||z(i)?r+=`${JSON.stringify(n)}:${JSON.stringify(i.toString())}`:$(i)||Array.isArray(i)?r+=JSON.stringify(n)+":"+se(i,null,t):_(i)?r+=t?JSON.stringify(n)+":"+JSON.stringify(i.getTime()):JSON.stringify(n)+":"+i.stringify():null!==i&&"object"==typeof i&&"castToText"in i&&(r+=JSON.stringify(n)+":"+i.castToText(t))}return"{"+r+"}"}function le(e,t){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e))return se(e);if((0,p.cy)(e)){const t=[];for(let r=0;r<e.length;r++)t[r]=ue(e[r]);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let r=0;r<e.length();r++)t[r]=ue(e.get(r));return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText():N(e)?"object, Function":e===b?"":v(e)?"object, Module":""}function oe(e){const t=[];if($(e)){for(let r=0;r<e.length();r++)t[r]=ae(e.get(r));return t}if(!(0,p.cy)(e))return null;for(let r=0;r<e.length;r++)t[r]=ae(e[r]);return t}function se(e,t,r=!1){if((0,p.Kg)(e))return e;if(null===e)return"";if((0,p.Et)(e))return Q(e,t);if((0,p.Lm)(e))return e.toString();if(_(e))return W(e,t);if(q(e))return e.toFormat(t);if(z(e))return e.toFormat(t);if(D(e)){if("extent"===e.type){const{xmin:t,xmax:r,ymin:n,ymax:i,zmin:l,zmax:o,mmin:s,mmax:u}=e.asJsonLikeGeometry();return'{"xmin":'+t+',"ymin":'+n+","+(e.hasZ?'"zmin":'+l+",":"")+(e.hasM?'"mmin":'+s+",":"")+'"xmax":'+r+',"ymax":'+i+","+(e.hasZ?'"zmax":'+o+",":"")+(e.hasM?'"mmax":'+u+",":"")+'"spatialReference":'+ge(e.spatialReference)+"}"}return ge(e.castAsJson(),(e,t)=>e.key===t.key?0:"spatialReference"===e.key?1:"spatialReference"===t.key||e.key<t.key?-1:e.key>t.key?1:0)}if((0,p.cy)(e)){const t=[];for(let n=0;n<e.length;n++)t[n]=ue(e[n],r);return"["+t.join(",")+"]"}if($(e)){const t=[];for(let n=0;n<e.length();n++)t[n]=ue(e.get(n),r);return"["+t.join(",")+"]"}return null!==e&&"object"==typeof e&&"castToText"in e?e.castToText(r):N(e)?"object, Function":C(e)?"":v(e)?"object, Module":""}function ue(e,t=!1){if(null===e)return"null";if((0,p.Lm)(e)||(0,p.Kg)(e))return JSON.stringify(e);if((0,p.Et)(e))return e.toString();if(D(e))return se(e,null,t);if($(e))return se(e,null,t);if((0,p.cy)(e))return se(e,null,t);if(_(e))return t?JSON.stringify(e.getTime()):JSON.stringify(W(e,""));if(q(e))return JSON.stringify(e.toString());if(z(e))return JSON.stringify(e.toString());if(null!==e&&"object"==typeof e){if("castToText"in e)return e.castToText(t)}else if(e===b)return"null";return"null"}function ae(e,t){return(0,p.Et)(e)?e:null===e||""===e?0:_(e)||z(e)||q(e)?NaN:(0,p.Lm)(e)?e?1:0:(0,p.cy)(e)||""===e||void 0===e?NaN:void 0!==t&&(0,p.Kg)(e)?(t=F(t,"‰",""),t=F(t,"¤",""),(0,a.qg)(e,{pattern:t})):e===b?0:Number(e)}function ce(e,t){if(_(e))return e;if((0,p.Kg)(e)){const r=function(e,t){const r=/ (\d\d)/,i=(0,n.mT)(t);let l=y.c9.fromISO(e,{zone:i});return l.isValid||r.test(e)&&(e=e.replace(r,"T$1"),l=y.c9.fromISO(e,{zone:t}),l.isValid)?l:null}(e,t);if(r)return n.lY.dateTimeToArcadeDate(r)}return null}function fe(e){return(0,p.Lm)(e)?e:(0,p.Kg)(e)?"true"===(e=e.toLowerCase()):!!(0,p.Et)(e)&&0!==e&&!isNaN(e)}function de(e,t){if(!e)return t;if(!e.domain)return t;let r=null,n=null;if(_(t))r=t.toNumber();else if(z(t))r=t.toString();else if(q(t))r=t.toStorageString();else if("string"===e.field.type||"esriFieldTypeString"===e.field.type)r=le(t);else{if(null==t)return null;if(""===t)return t;r=ae(t)}for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.code===r&&(n=i)}return null===n?le(t):n.name}function pe(e,t){if(!e)return t;if(!e.domain)return t;let r=null;const n=le(t);for(let t=0;t<e.domain.codedValues.length;t++){const i=e.domain.codedValues[t];i.name===n&&(r=i)}return null===r?t:r.code}function ye(e,t,r=null,n=null){if(!t)return null;if(!t.fields)return null;let i,o,s=null;for(let r=0;r<t.fields.length;r++){const n=t.fields[r];n.name.toLowerCase()===e.toString().toLowerCase()&&(s=n)}if(null===s)throw new l.D$("FieldNotFound",null,{key:e});let u=t.typeIdField,a="id",c=t.types;if(t.subtypeField&&(u=t.subtypeField,a="code",c=t.subtypes??[]),null===n&&r&&u)n=r.hasField(u)?r.field(u):null;else if(u&&null!==n){let e=!1;for(const t of c||[])if(n===t[a]){e=!0;break}if(!e)for(const t of c||[])if(n===t.name){n=t[a],e=!0;break}e||(n=null,r&&u&&(n=r.hasField(u)?r.field(u):null))}return null!=n&&c.some(e=>e[a]===n&&(i=e.domains?.[s.name],i&&"inherited"===i.type&&(i=me(s.name,t),o=!0),!0)),o||i||(i=me(e,t)),{field:s,domain:i}}function me(e,t){let r;return t.fields.some(t=>(t.name.toLowerCase()===e.toLowerCase()&&(r=t.domain),!!r)),r}function ge(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});const r="boolean"==typeof t.cycles&&t.cycles,n=t.cmp&&(i=t.cmp,function(e){return function(t,r){const n={key:t,value:e[t]},l={key:r,value:e[r]};return i(n,l)}});var i;const l=[];return function e(t){if(t?.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0===t)return;if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);let i,o;if(Array.isArray(t)){for(o="[",i=0;i<t.length;i++)i&&(o+=","),o+=e(t[i])||"null";return o+"]"}if(null===t)return"null";if(l.includes(t)){if(r)return JSON.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}const s=l.push(t)-1,u=Object.keys(t).sort(n?.(t));for(o="",i=0;i<u.length;i++){const r=u[i],n=e(t[r]);n&&(o&&(o+=","),o+=JSON.stringify(r)+":"+n)}return l.splice(s,1),"{"+o+"}"}(e)}function he(e){const t=[];for(const r of e)G(r)?t.push(r.geometry()):t.push(r);return t}function be(e,t=!0){if(null==e)return[];if((0,p.cy)(e)){const r=[];for(const n of e){const e=le(n);(t||""!==e)&&r.push(e)}return r}if($(e)){const r=[];for(let n=0;n<e.length();n++){const i=le(e.get(n));(t||""!==i)&&r.push(i)}return r}if(x(e)){const r=le(e);if(t||""!==r)return[r]}return[]}let Te=0;function Se(){return Te++,Te%100==0?(Te=0,new Promise(e=>{setTimeout(()=>{e()},0)})):Promise.resolve()}function Fe(e,t,r){switch(r){case"&":return e&t;case"|":return e|t;case"^":return e^t;case"<<":return e<<t;case">>":return e>>t;case">>>":return e>>>t}}function Ne(e){return null==e?null:(0,p.Lm)(e)||(0,p.Et)(e)||(0,p.Kg)(e)?e:D(e)?e.castAsJson():$(e)?e.toArray().map(e=>Ne(e)):Array.isArray(e)?e.map(e=>Ne(e)):(0,p.$P)(e)?e:_(e)?e.toJSDate():q(e)?e.toString():z(e)?e.toJSDate():"castAsJson"in e?e.castAsJson():null}async function ve(e,t=null){if($(e)&&(e=e.toArray()),null==e)return null;if(x(e)||D(e)||(0,p.$P)(e)||_(e))return Ne(e);if(Array.isArray(e)){const r=[],n=[];for(const i of e)if(null===i||x(i)||D(i)||(0,p.$P)(i)||_(i))n.push(Ne(i));else{const e=n.push(null)-1;r.push(ve(i,t).then(t=>{n[e]=t}))}return r.length>0&&await Promise.all(r),n}return"castAsJsonAsync"in e?e.castAsJsonAsync(t):null}function xe(e){return Oe(e)?e.parent:e}function Oe(e){return e&&"declaredClass"in e&&"esri.layers.support.SubtypeSublayer"===e.declaredClass}function we(e){return e&&"declaredClass"in e&&"esri.layers.SubtypeGroupLayer"===e.declaredClass}function Ce(e,t,r){const n=xe(e.fullSchema());return null===n?null:n.fields?ye(t,n,e,r):null}function De(e){const t=xe(e.fullSchema());return null===t?null:t.fields?t.subtypeField?{subtypeField:t.subtypeField,subtypes:t.subtypes?t.subtypes.map(e=>({name:e.name,code:e.code})):[]}:t.typeIdField?{subtypeField:t.typeIdField,subtypes:t.types?t.types.map(e=>({name:e.name,code:e.id})):[]}:null:null}function Ae(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;const l=ye(t,i,e,n);if(void 0===r)try{r=e.field(t)}catch(e){return null}return de(l,r)}function Ze(e,t,r,n){const i=xe(e.fullSchema());if(null===i)return null;if(!i.fields)return null;if(void 0===r){try{r=e.field(t)}catch(e){return null}return r}return pe(ye(t,i,e,n),r)}function ke(e){return e?.timeZone??"system"}function Me(e){const t=xe(e.fullSchema());if(null===t)return null;if(!t.fields)return null;const r=[];for(const e of t.fields)r.push((0,u.nE)(e));return{objectIdField:t.objectIdField,globalIdField:t.globalIdField??"",geometryType:void 0===u.yT[t.geometryType]?"":u.yT[t.geometryType],fields:r}}const Je=Object.freeze(Object.defineProperty({__proto__:null,ImplicitResult:h,ReturnResult:g,absRound:H,arcadeVersion:"1.36",autoCastFeatureToGeometry:he,binaryOperator:Fe,breakResult:T,castAsJson:Ne,castAsJsonAsync:ve,castRecordToText:ie,continueResult:S,defaultTimeZone:ke,defaultUndefined:O,equalityTest:ne,featureDomainCodeLookup:Ze,featureDomainValueLookup:Ae,featureFullDomain:Ce,featureSchema:Me,featureSubtypes:De,getDomain:ye,getDomainCode:pe,getDomainValue:de,getType:w,greaterThanLessThan:re,isArray:p.cy,isAttachment:P,isBoolean:p.Lm,isDate:_,isDateOnly:z,isDictionary:I,isDictionaryLike:K,isEmpty:X,isExtent:J,isFeature:G,isFeatureSet:j,isFeatureSetCollection:R,isFunctionParameter:N,isGeometry:D,isGraphic:m.D,isImmutableArray:$,isInteger:p.Fq,isJsDate:p.$P,isKnowledgeGraph:Y,isModule:v,isMultipoint:Z,isNumber:p.Et,isPixel:E,isPoint:A,isPolygon:M,isPolyline:k,isPortal:V,isSimpleType:x,isString:p.Kg,isSubtypeGrouplayer:we,isSubtypeSublayer:Oe,isTime:q,isVoid:C,isVoxel:L,multiReplace:F,pcCheck:U,standardiseDateFormat:ee,tick:Se,toBoolean:fe,toDate:ce,toNumber:ae,toNumberArray:oe,toString:le,toStringArray:be,toStringExplicit:se,voidOperation:b},Symbol.toStringTag,{value:"Module"}));r.d(t,["C",0,T,"D",0,S,"s",0,Je,"x",0,b])},14607(e,t,r){r.d(t,{B:()=>a,GP:()=>s,qg:()=>c});var n=r(799),i=r(73444);const l={ar:[".",","],bg:[","," "],bs:[",","."],ca:[",","."],cs:[","," "],da:[",","."],de:[",","."],"de-ch":[".","’"],el:[",","."],en:[".",","],"en-au":[".",","],es:[",","."],"es-mx":[".",","],et:[","," "],fi:[","," "],fr:[","," "],"fr-ch":[","," "],he:[".",","],hi:[".",",","#,##,##0.###"],hr:[",","."],hu:[","," "],id:[",","."],it:[",","."],"it-ch":[".","’"],ja:[".",","],ko:[".",","],lt:[","," "],lv:[","," "],mk:[",","."],nb:[","," "],nl:[",","."],no:[","," "],pl:[","," "],pt:[",","."],"pt-pt":[","," "],ro:[",","."],ru:[","," "],sk:[","," "],sl:[",","."],sr:[",","."],sv:[","," "],th:[".",","],tr:[",","."],uk:[","," "],vi:[",","."],zh:[".",","]};function o(e=(0,i.JK)()){let t=(e=e.toLowerCase())in l;if(!t){const r=e.split("-");r.length>1&&r[0]in l&&(e=r[0],t=!0),t||(e="en")}const[r,n,o="#,##0.###"]=l[e];return{decimal:r,group:n,pattern:o}}function s(e,t){const r=o((t={...t}).locale);t.customs=r;const n=t.pattern||r.pattern;return isNaN(e)||Math.abs(e)===1/0?null:function(e,t,r){const n=(r=r||{}).customs.group,i=r.customs.decimal,l=t.split(";"),o=l[0];if((t=l[e<0?1:0]||"-"+o).includes("%"))e*=100;else if(t.includes("‰"))e*=1e3;else{if(t.includes("¤"))throw new Error("currency notation not supported");if(t.includes("E"))throw new Error("exponential notation not supported")}const s=u,a=o.match(s);if(!a)throw new Error("unable to find a number expression in pattern: "+t);return!1===r.fractional&&(r.places=0),t.replace(s,function(e,t,r){!0===(r=r||{}).places&&(r.places=0),r.places===1/0&&(r.places=6);const n=t.split("."),i="string"==typeof r.places&&r.places.indexOf(",");let l=r.places;i?l=r.places.slice(i+1):+l>=0||(l=(n[1]||[]).length),r.round<0||(e=Number(e.toFixed(Number(l))));const o=String(Math.abs(e)).split("."),s=o[1]||"";if(n[1]||r.places){i&&(r.places=r.places.slice(0,Math.max(0,i)));const e=void 0!==r.places?r.places:n[1]&&n[1].lastIndexOf("0")+1;+e>s.length&&(o[1]=s.padEnd(Number(e),"0")),+l<s.length&&(o[1]=s.slice(0,Math.max(0,Number(l))))}else o[1]&&o.pop();const u=n[0].replace(",","");let a=u.indexOf("0");-1!==a&&(a=u.length-a,a>o[0].length&&(o[0]=o[0].padStart(a,"0")),u.includes("#")||(o[0]=o[0].slice(-a)));let c,f,d=n[0].lastIndexOf(",");if(-1!==d){c=n[0].length-d-1;const e=n[0].slice(0,d);d=e.lastIndexOf(","),-1!==d&&(f=e.length-d-1)}const p=[];for(let e=o[0];e;){const t=e.length-c;p.push(t>0?e.slice(Math.max(0,t)):e),e=t>0?e.slice(0,t):"",f&&(c=f,f=void 0)}return o[0]=p.reverse().join(r.group||","),o.join(r.decimal||".")}(e,a[0],{decimal:i,group:n,places:r.places,round:r.round}))}(e,n,t)}const u=/[#0,]*[#0](?:\.0*#*)?/;function a(e){const t=o((e=e||{}).locale),r=e.pattern||t.pattern,i=t.group,l=t.decimal;let s=1;if(r.includes("%"))s/=100;else if(r.includes("‰"))s/=1e3;else if(r.includes("¤"))throw new Error("currency notation not supported");const a=r.split(";");1===a.length&&a.push("-"+a[0]);const c=d(a,t=>(t="(?:"+(0,n.Cj)(t,".")+")").replace(u,t=>{const r={signed:!1,separator:e.strict?i:[i,""],fractional:e.fractional,decimal:l,exponent:!1},n=t.split(".");let o=e.places;1===n.length&&1!==s&&(n[1]="###"),1===n.length||0===o?r.fractional=!1:(void 0===o&&(o=e.pattern?n[1].lastIndexOf("0")+1:1/0),o&&null==e.fractional&&(r.fractional=!0),!e.places&&+o<n[1].length&&(o+=","+n[1].length),r.places=o);const u=n[0].split(",");return u.length>1&&(r.groupSize=u.pop().length,u.length>1&&(r.groupSize2=u.pop().length)),"("+function(e){"places"in(e=e||{})||(e.places=1/0),"string"!=typeof e.decimal&&(e.decimal="."),"fractional"in e&&!String(e.places).startsWith("0")||(e.fractional=[!0,!1]),"exponent"in e||(e.exponent=[!0,!1]),"eSigned"in e||(e.eSigned=[!0,!1]);const t=f(e),r=d(e.fractional,t=>{let r="";return t&&0!==e.places&&(r="\\"+e.decimal,e.places===1/0?r="(?:"+r+"\\d+)?":r+="\\d{"+e.places+"}"),r},!0);let n=t+r;return r&&(n="(?:(?:"+n+")|(?:"+r+"))"),n+d(e.exponent,t=>t?"([eE]"+f({signed:e.eSigned})+")":"")}(r)+")"}),!0);return{regexp:c.replaceAll(/[\xa0 ]/g,"[\\s\\xa0]"),group:i,decimal:l,factor:s}}function c(e,t){const r=a(t),n=new RegExp("^"+r.regexp+"$").exec(e);if(!n)return NaN;let i=n[1];if(!n[1]){if(!n[2])return NaN;i=n[2],r.factor*=-1}return i=i.replaceAll(new RegExp("["+r.group+"\\s\\xa0]","g"),"").replace(r.decimal,"."),Number(i)*r.factor}function f(e){return"signed"in(e=e||{})||(e.signed=[!0,!1]),"separator"in e?"groupSize"in e||(e.groupSize=3):e.separator="",d(e.signed,e=>e?"[-+]":"",!0)+d(e.separator,t=>{if(!t)return"(?:\\d+)";" "===(t=(0,n.Cj)(t))?t="\\s":" "===t&&(t="\\s\\xa0");const r=e.groupSize,i=e.groupSize2;if(i){const e="(?:0|[1-9]\\d{0,"+(i-1)+"}(?:["+t+"]\\d{"+i+"})*["+t+"]\\d{"+r+"})";return r-i>0?"(?:"+e+"|(?:0|[1-9]\\d{0,"+(r-1)+"}))":e}return"(?:0|[1-9]\\d{0,"+(r-1)+"}(?:["+t+"]\\d{"+r+"})*)"},!0)}const d=(e,t,r)=>{if(!Array.isArray(e))return t(e);const n=[];for(let r=0;r<e.length;r++)n.push(t(e[r]));return p(n.join("|"),Boolean(r))},p=(e,t)=>"("+(t?"?:":"")+e+")"},73444(e,t,r){r.d(t,{JK:()=>u,Ml:()=>g,QC:()=>f,lR:()=>c,oQ:()=>y});var n=r(36563);let i;r(44208);const l=globalThis.esriConfig?.locale,o=globalThis.document?.documentElement;function s(){const e=o?.getAttribute("lang"),t=globalThis.navigator?.language;return l??e??t??"en"}function u(){return void 0===i&&(i=s()),i}const a=/^(?<language>[a-z]{2,3})(?:-(?<extlang>[a-z]{3}))?(?:-[A-Z][a-z]{3})?(?:-(?<region>[A-Z]{2}|\d{3}))?(?:-.*)?$/;function c(e=u()){return d(e)?.language}function f(e=u()){const t=d(e);return t?.language&&t?.extlang?e.replace(`${t.language}-`,""):e}function d(e=u()){return a.exec(e)?.groups}const p=[];function y(e){return p.push(e),(0,n.hA)(()=>{p.splice(p.indexOf(e),1)})}new Map;const m=[];function g(e){return m.push(e),(0,n.hA)(()=>m.splice(m.indexOf(e),1))}function h(){const e=s();i!==e&&([...m].forEach(t=>t(e)),i=e,[...p].forEach(t=>t(e)))}globalThis.addEventListener?.("languagechange",h),o&&new MutationObserver(()=>{h()}).observe(o,{attributeFilter:["lang"]})},39357(e,t,r){r.d(t,{A:()=>s});var n,i=r(32198),l=r(25482),o=r(91429);let s=n=class extends l.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new n({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],s.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],s.prototype,"code",void 0),s=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],s)},53177(e,t,r){r.d(t,{A:()=>c});var n,i=r(32198),l=r(4718),o=r(91429),s=r(39357),u=r(76357),a=r(93223);let c=class extends u.A{static{n=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const r=String(e);this.codedValues.some(e=>(String(e.code)===r&&(t=e.name),!!t))}return t}clone(){return new n({codedValues:(0,l.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[s.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,a.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=n=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,r){r.d(t,{A:()=>a});var n=r(32198),i=r(66552),l=r(25482),o=r(91429),s=r(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let a=class extends l.o{constructor(e){super(e),this.name=null,this.type=null}};(0,n.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],a.prototype,"name",void 0),(0,n.Cg)([(0,s.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],a.prototype,"type",void 0),a=(0,n.Cg)([(0,o.$K)("esri.layers.support.Domain")],a)},20437(e,t,r){r.d(t,{A:()=>y});var n,i=r(32198),l=r(66552),o=r(25482),s=r(91429),u=r(78888),a=r(8631),c=r(98453),f=r(36005),d=r(93223);const p=new l.J({binary:"binary",coordinate:"coordinate",countOrAmount:"count-or-amount",currency:"currency",dateAndTime:"date-and-time",description:"description",emailAddress:"email-address",locationOrPlaceName:"location-or-place-name",marginOfError:"margin-of-error",measurement:"measurement",nameOrTitle:"name-or-title",none:"none",orderedOrRanked:"ordered-or-ranked",percentageOrRatio:"percentage-or-ratio",phoneNumber:"phone-number",typeOrCategory:"type-or-category",uniqueIdentifier:"unique-identifier",url:"url"});let y=class extends o.o{static{n=this}constructor(e){super(e),this.alias=null,this.defaultValue=void 0,this.description=null,this.domain=null,this.editable=!0,this.length=void 0,this.name=null,this.nullable=!0,this.type=null,this.valueType=null,this.visible=!0}readDescription(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?.value??null}readValueType(e,{description:t}){let r=null;try{r=t?JSON.parse(t):null}catch(e){}return r?p.fromJSON(r.fieldValueType):null}clone(){return new n({alias:this.alias,defaultValue:this.defaultValue,description:this.description,domain:this.domain?.clone()??null,editable:this.editable,length:this.length,name:this.name,nullable:this.nullable,type:this.type,valueType:this.valueType,visible:this.visible})}};(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"alias",void 0),(0,i.Cg)([(0,s.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],y.prototype,"defaultValue",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"description",void 0),(0,i.Cg)([(0,f.w)("description")],y.prototype,"readDescription",null),(0,i.Cg)([(0,s.MZ)({types:a.g,json:{read:{reader:a.r},write:!0}})],y.prototype,"domain",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"editable",void 0),(0,i.Cg)([(0,s.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],y.prototype,"length",void 0),(0,i.Cg)([(0,s.MZ)({type:String,json:{write:!0}})],y.prototype,"name",void 0),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{write:!0}})],y.prototype,"nullable",void 0),(0,i.Cg)([(0,d.e)(c.m)],y.prototype,"type",void 0),(0,i.Cg)([(0,s.MZ)()],y.prototype,"valueType",void 0),(0,i.Cg)([(0,f.w)("valueType",["description"])],y.prototype,"readValueType",null),(0,i.Cg)([(0,s.MZ)({type:Boolean,json:{read:!1}})],y.prototype,"visible",void 0),y=n=(0,i.Cg)([(0,s.$K)("esri.layers.support.Field")],y)},41628(e,t,r){r.d(t,{A:()=>u});var n,i=r(32198),l=r(91429),o=r(76357),s=r(93223);let u=class extends o.A{static{n=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new n({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[1]},write:{enabled:!1,overridePolicy(){return{enabled:null!=this.maxValue&&null==this.minValue}},target:"range",writer(e,t,r){t[r]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,l.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,r){t[r]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,s.e)({range:"range"})],u.prototype,"type",void 0),u=n=(0,i.Cg)([(0,l.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,r){r.d(t,{r:()=>d,g:()=>f});var n,i=r(53177),l=r(76357),o=r(32198),s=r(91429),u=r(93223);let a=class extends l.A{static{n=this}constructor(e){super(e),this.type="inherited"}clone(){return new n}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],a.prototype,"type",void 0),a=n=(0,o.Cg)([(0,s.$K)("esri.layers.support.InheritedDomain")],a);var c=r(41628);const f={key:"type",base:l.A,typeMap:{range:c.A,"coded-value":i.A,inherited:a}};function d(e){if(!e?.type)return null;switch(e.type){case"range":return c.A.fromJSON(e);case"codedValue":return i.A.fromJSON(e);case"inherited":return a.fromJSON(e)}return null}},98453(e,t,r){const n=new(r(66552).J)({esriFieldTypeSmallInteger:"small-integer",esriFieldTypeInteger:"integer",esriFieldTypeSingle:"single",esriFieldTypeDouble:"double",esriFieldTypeLong:"long",esriFieldTypeString:"string",esriFieldTypeDate:"date",esriFieldTypeOID:"oid",esriFieldTypeGeometry:"geometry",esriFieldTypeBlob:"blob",esriFieldTypeRaster:"raster",esriFieldTypeGUID:"guid",esriFieldTypeGlobalID:"global-id",esriFieldTypeXML:"xml",esriFieldTypeBigInteger:"big-integer",esriFieldTypeDateOnly:"date-only",esriFieldTypeTimeOnly:"time-only",esriFieldTypeTimestampOffset:"timestamp-offset"});r.d(t,["m",0,n])}}]);
|