@arcgis/core 5.2.0-next.82 → 5.2.0-next.83
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/assets/components/assets/icon/deleteAndReplaceFeatures16.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures24.json +1 -0
- package/assets/components/assets/icon/deleteAndReplaceFeatures32.json +1 -0
- package/assets/components/assets/icon/moveAndRotate16.json +1 -0
- package/assets/components/assets/icon/moveAndRotate24.json +1 -0
- package/assets/components/assets/icon/moveAndRotate32.json +1 -0
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/028bee58f7bc19e5e39e.js +1 -0
- package/assets/esri/core/workers/chunks/{a2fd945659ce052f99d2.js → 03895d49fbd34ccb3ead.js} +1 -1
- package/assets/esri/core/workers/chunks/0775d1e3034d5e7ef7bc.js +1 -0
- package/assets/esri/core/workers/chunks/{95ff342e5c29bf91a765.js → 13a43c87d7952facbed4.js} +1 -1
- package/assets/esri/core/workers/chunks/{e59101f1d060d0a30a65.js → 14def8f47ae7265dd71b.js} +1 -1
- package/assets/esri/core/workers/chunks/1b00789511c9b27da4a7.js +1 -0
- package/assets/esri/core/workers/chunks/1b277311a4beb4243bf8.js +2 -0
- package/assets/esri/core/workers/chunks/1d03db4df18524cf391c.js +1 -0
- package/assets/esri/core/workers/chunks/24bfe759c8848143361e.js +1 -0
- package/assets/esri/core/workers/chunks/30dade7bf6032be32599.js +2 -0
- package/assets/esri/core/workers/chunks/{865f9adc591056458b6b.js → 33dc93d82407052fafe1.js} +1 -1
- package/assets/esri/core/workers/chunks/{0d982abff7c9496f7890.js → 3a6990058f1003bd2812.js} +1 -1
- package/assets/esri/core/workers/chunks/{0fd7590e545864f5fff4.js → 3ca0d503ce733088a6c2.js} +1 -1
- package/assets/esri/core/workers/chunks/46b3d6814ba4c0a71111.js +1 -0
- package/assets/esri/core/workers/chunks/49784f8e8e5fac0cc5a9.js +1 -0
- package/assets/esri/core/workers/chunks/{563a4d6788ad66b676e4.js → 5156d94f01b4fbbf8cde.js} +1 -1
- package/assets/esri/core/workers/chunks/{cdd4aeaa3f30bc4ea93a.js → 5568448e7f51508ffdf5.js} +1 -1
- package/assets/esri/core/workers/chunks/58e4aecabca047f1d229.js +1 -0
- package/assets/esri/core/workers/chunks/{218ddad849745d652a28.js → 5a3c1fe24814a345ab39.js} +1 -1
- package/assets/esri/core/workers/chunks/5b292831127bf981c1c5.js +1 -0
- package/assets/esri/core/workers/chunks/{bd1c870694edd25bf8aa.js → 5f13ade03500b39c1720.js} +1 -1
- package/assets/esri/core/workers/chunks/6154f4d39f9e53fe56cc.js +1 -0
- package/assets/esri/core/workers/chunks/62b116307483d5f0e37d.js +2 -0
- package/assets/esri/core/workers/chunks/6433a623af765b7e53ab.js +1 -0
- package/assets/esri/core/workers/chunks/65eff0ae773505495f21.js +1 -0
- package/assets/esri/core/workers/chunks/6d11b922898a8039dbe7.js +1 -0
- package/assets/esri/core/workers/chunks/7188559a685e0ba30c4f.js +1 -0
- package/assets/esri/core/workers/chunks/{faf14281a74a06fa1f30.js → 724b2631c9ced80a1661.js} +1 -1
- package/assets/esri/core/workers/chunks/7493ce5d02224c07a6d5.js +1 -0
- package/assets/esri/core/workers/chunks/7ad70c8a56f2481adc82.js +1 -0
- package/assets/esri/core/workers/chunks/7ca188f824956a5cac35.js +2 -0
- package/assets/esri/core/workers/chunks/852649460d664b0a1a1d.js +1 -0
- package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js → 8e1b913067b8e88ff365.js} +2 -2
- package/assets/esri/core/workers/chunks/{e3eab61815ef1c521a6c.js → 9568932bafe689c38f63.js} +1 -1
- package/assets/esri/core/workers/chunks/{c8d83f71326222b98608.js → 996ac351e2322298a17d.js} +1 -1
- package/assets/esri/core/workers/chunks/{34f6093d2c00e3584037.js → 9be05d32528b395a7d34.js} +1 -1
- package/assets/esri/core/workers/chunks/{552d6aecc7d88d16227b.js → 9d41c02601d0bb75b525.js} +1 -1
- package/assets/esri/core/workers/chunks/{64a1ffc221e5b63b43fb.js → a4bb0951e1389e7b803c.js} +1 -1
- package/assets/esri/core/workers/chunks/{b09e9ac5fd928e69b053.js → aabffe53508730e504ec.js} +1 -1
- package/assets/esri/core/workers/chunks/b61c30cdf698b4d1573a.js +1 -0
- package/assets/esri/core/workers/chunks/bbb97c38d8670329d07e.js +2 -0
- package/assets/esri/core/workers/chunks/bd8b483e70acf0fc601e.js +1 -0
- package/assets/esri/core/workers/chunks/bef32acf368b4d5aba37.js +1 -0
- package/assets/esri/core/workers/chunks/c90dfdf2302b7db1f6f7.js +1 -0
- package/assets/esri/core/workers/chunks/{8a36b999cbd65dd2f16c.js → d8c3bdc3c6be8ba7c5e6.js} +1 -1
- package/assets/esri/core/workers/chunks/{40b842d055b87e442156.js → f20b88f5a6d3b988a055.js} +1 -1
- package/assets/esri/core/workers/chunks/{f248131df4eaa5291623.js → f6ae0c483579e227a2f2.js} +1 -1
- package/config.js +1 -1
- package/geometry/support/spatialReferenceUtils.js +1 -1
- package/kernel.js +1 -1
- package/package.json +2 -2
- package/renderers/UniqueValueRenderer.js +1 -1
- package/support/revision.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/SymbolBucket.js +1 -1
- package/views/2d/engine/vectorTiles/style/GeoJSONLabelUtils.js +2 -0
- package/views/2d/engine/vectorTiles/style/StyleLayer.js +1 -1
- package/views/2d/engine/vectorTiles/style/StyleRepository.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/animated/AAnimatedShader.js +1 -1
- package/views/3d/GroundView3D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightAuthoringUtils.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightObserverPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementLeafPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightRootPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTargetPlugin.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/LineOfSight/lineOfSightPlacementUtils.js +1 -1
- package/views/3d/input/SceneInputManager.js +1 -1
- package/views/3d/input/handlers/PinchAndPanNavigation.js +1 -1
- package/views/3d/layers/IntegratedMesh3DTilesLayerView3D.js +1 -1
- package/views/3d/layers/IntegratedMeshLayerView3D.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerGlobal.js +1 -1
- package/views/3d/state/controllers/PinchAndPanControllerLocal.js +1 -1
- package/views/3d/state/controllers/ZoomControllerGlobal.js +1 -1
- package/views/3d/state/utils/navigationUtils.js +1 -1
- package/views/3d/support/GroundAndIMSurface.js +2 -0
- package/views/3d/support/pointsOfInterest/CameraOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/CenterOnSurface.js +1 -1
- package/views/3d/support/pointsOfInterest/PointOfInterest.js +1 -1
- package/views/3d/support/pointsOfInterest/PointsOfInterest.js +1 -1
- package/views/3d/terrain/OverlayManager.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/MergedRenderer.js +1 -1
- package/views/3d/webgl-engine/materials/renderers/PerBufferData.js +1 -1
- package/views/SceneView.js +1 -1
- package/views/draw/support/PluginContext.js +1 -1
- package/views/draw/support/types.d.ts +6 -0
- package/views/interactive/interactiveToolUtils.js +1 -1
- package/widgets/Widget.js +1 -1
- package/widgets/support/jsxWidgetSupport.js +1 -1
- package/assets/esri/core/workers/chunks/0dcfd82a2669df6eb5a0.js +0 -1
- package/assets/esri/core/workers/chunks/1352b5c6767e5421bc02.js +0 -1
- package/assets/esri/core/workers/chunks/14469f664fd5ede469fc.js +0 -1
- package/assets/esri/core/workers/chunks/177c3b23c1cbd4737049.js +0 -1
- package/assets/esri/core/workers/chunks/21f763694a41968ac21a.js +0 -1
- package/assets/esri/core/workers/chunks/230925079cee040a8d77.js +0 -1
- package/assets/esri/core/workers/chunks/25696c194457e42b3bdc.js +0 -1
- package/assets/esri/core/workers/chunks/469e72ab6cd44272f474.js +0 -1
- package/assets/esri/core/workers/chunks/4f36596280142be1c666.js +0 -1
- package/assets/esri/core/workers/chunks/53d80202b5f43542d45b.js +0 -1
- package/assets/esri/core/workers/chunks/6c389e9646a48c26da20.js +0 -2
- package/assets/esri/core/workers/chunks/6f08c8a1e8e3ffd0a96a.js +0 -1
- package/assets/esri/core/workers/chunks/71ee7c51d2c60a180f1e.js +0 -1
- package/assets/esri/core/workers/chunks/927582ec15bff2acbb49.js +0 -1
- package/assets/esri/core/workers/chunks/98739b6e7904045edbab.js +0 -1
- package/assets/esri/core/workers/chunks/a69c10bfd632a5546b34.js +0 -1
- package/assets/esri/core/workers/chunks/ac9a3dfd02160e43fc8a.js +0 -2
- package/assets/esri/core/workers/chunks/c456abf5ee2a1ad5cc5b.js +0 -1
- package/assets/esri/core/workers/chunks/c61e94806b37ca3dd549.js +0 -2
- package/assets/esri/core/workers/chunks/c899457f19b749516275.js +0 -1
- package/assets/esri/core/workers/chunks/d0c8630177d3a4e316f1.js +0 -2
- package/assets/esri/core/workers/chunks/da0ef984509057ec8507.js +0 -1
- package/assets/esri/core/workers/chunks/ead4143d811aab610e00.js +0 -2
- package/assets/esri/core/workers/chunks/ffe2cbfea38b92a231d6.js +0 -1
- /package/assets/esri/core/workers/chunks/{d0c8630177d3a4e316f1.js.LICENSE.txt → 1b277311a4beb4243bf8.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ead4143d811aab610e00.js.LICENSE.txt → 30dade7bf6032be32599.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ac9a3dfd02160e43fc8a.js.LICENSE.txt → 62b116307483d5f0e37d.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{6c389e9646a48c26da20.js.LICENSE.txt → 7ca188f824956a5cac35.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{ab10388dcc17a665ac3b.js.LICENSE.txt → 8e1b913067b8e88ff365.js.LICENSE.txt} +0 -0
- /package/assets/esri/core/workers/chunks/{c61e94806b37ca3dd549.js.LICENSE.txt → bbb97c38d8670329d07e.js.LICENSE.txt} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2387],{69052(e,t,n){n.d(t,{hr:()=>o});var r=n(34727);class o{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+i(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,r,o=0,s=!1){return(r-=o)<t?r+=i(e,t-r):r>n&&(r-=i(e,r-n)),s&&r===n&&(r=t),r+o}function i(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const a=new o(0,2*Math.PI),l=(new o(-Math.PI,Math.PI),new o(0,360));n.d(t,["ie",0,l,"uC",0,a])},93146(e,t,n){n.d(t,{z:()=>o});class r{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(async e=>(this.module=e,e))),this._promise}}function o(e){return new r(async()=>{const t=await e();return!1===t.isLoaded?.()&&await t.load(),t})}},52039(e,t,n){n.d(t,{O7:()=>f,el:()=>l});var r=n(69052),o=(n(49186),n(17676)),s=(n(5443),n(39829),n(82799),n(16930)),i=n(93146),a=(n(80754),n(21325));async function l(e,t,n){Array.isArray(e)||(e=[e]),null!=t&&"object"==typeof t&&"authMode"in t&&(n=t);let r=null;for(const t of e)r??=t?.spatialReference;if(!r)return e;const s=(0,a.Vp)(r);if(!s)return e;const[i,l]=s.valid;let f=!1;for(const t of e){if(!t)continue;if("point"===t.type){f||=t.x>=l,f||=t.x<=i;continue}const{extent:e}=t;if(null==e){f=!0;break}f||=e.xmin>=l,f||=e.xmin<=i,f||=e.xmax>=l,f||=e.xmax<=i}if(!f)return e;const[{foldInto360Range:p},m]=await(0,o.qr)(Promise.all([u.getImportPromise(),c.getImportPromise()]),n),y=m.fromSpatialReference(r);return e.map(e=>{if(null==e||"mesh"===e.type)return e;const t=m.fromGeometry(e),n=m.toGeometry(p(t,y),r);return"extent"===e.type&&1===n?.rings.length?n.extent:n})}const u=(0,i.z)(()=>n.e(4144).then(n.bind(n,4144))),c=(0,i.z)(()=>Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));function f(e,t,n){const r=(0,a.Vp)(n);if(null==r)return e;const[o,s]=r.valid,i=2*s;let l=0,u=0;t>s?l=Math.ceil(Math.abs(t-s)/i):t<o&&(l=-Math.ceil(Math.abs(t-o)/i)),e>s?u=Math.ceil(Math.abs(e-s)/i):e<o&&(u=-Math.ceil(Math.abs(e-o)/i));let c=e+(l-u)*i;const f=c-t;return f>s?c-=i:f<o&&(c+=i),c}function p(e){const t=(0,a.Vp)(e);if(null==t)return null;const[n,o]=t.valid;return new r.hr(n,o)}const m=p(s.A.WGS84);p(s.A.WebMercator),n.d(t,["Y_",0,m])},80754(e,t,n){n.d(t,{kS:()=>u,kd:()=>l});var r=n(82799),o=n(16930),s=n(60408),i=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,i.Ed)(e))for(const n of function(e){return(0,s.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,i.aO)(e)){const[n,r]=e.c;n[0]+=t,r[0]+=t;continue}if((0,i.FG)(e)){const[n,r]=e.a;n[0]+=t,r[0]+=t;continue}if((0,i.n1)(e)){const[n,r,o]=e.b;n[0]+=t,r[0]+=t,o[0]+=t;continue}e[0]+=t}for(const n of function(e){return(0,s.Bi)(e)?e.rings:e.paths}(e))for(const e of n)e[0]+=t;return e}n.d(t,["j7",0,a])},41653(e,t,n){n.r(t),n.d(t,{queryModel:()=>g,queryModels:()=>d});var r=n(11254),o=n(4576),s=n(49186),i=n(91869),a=n(84952),l=n(5482),u=n(69622),c=n(91429);let f=class extends u.A{constructor(e){super(e),this.name="",this.size=0}arrayBuffer(e){return this.loadArrayBuffer(e)}};(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"flags",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"loadArrayBuffer",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"name",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"size",void 0),f=(0,l.Cg)([(0,c.$K)("esri.layers.scene.ModelFileInfo")],f);let p=class extends u.A{constructor(e){super(e),this.files=[],this.format="",this.isSource=!1,this.name="",this.size=0}};(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"files",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"format",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"isSource",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"name",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"size",void 0),p=(0,l.Cg)([(0,c.$K)("esri.layers.scene.ModelInfo")],p);var m=n(20557),y=n(99199),h=n(97552);async function d(e,t,n,r){const l=e.infoFor3D;if(!l)throw new s.A("scenelayer:query-models-not-available","Model queries are not available without 3D object metadata",{layer:e});const{objectIdField:u,globalIdField:c}=t;if(!u||!c)throw new s.A("scenelayer:query-models-not-available","Missing required fields for model queries",{layer:e});const f=function(e,t,n,r){const o=function(e,t){const n=h.A.from(t)?.clone()??e.createQuery();return n.outFields=null,n.formatOf3DObjects=null,n.returnGeometry=!1,n}(e,t);return o.outFields=[n,r],o.returnGeometry=!1,o}(e,n,u,c),p=await t.queryFeatures(f,r);return await async function(e){const{infoFor3D:t,associatedLayer:n,options:r}=e,s=n.globalIdField,l=n.parsedUrl;if(!s||!l)return new Map;const u=await async function(e){const{options:t,infoFor3D:n,featureInfos:r}=e,s=[...r.keys()];if(t?.requestedFormat){const e=(0,m.fE)(t.requestedFormat,n.supportedFormats);return e?[{formatId:e,objectIds:s}]:[]}const l=(0,o.Am)([...n.queryFormats,...n.editFormats]);return await async function({options:e,infoFor3D:t,featureInfos:n,requestQuery:r,associatedLayer:s},l){const u=t.assetMapFieldRoles.parentGlobalId,c=t.assetMapFieldRoles.assetType,f=t.assetMapFieldRoles.flags,p=new Map;for(const[e,{globalId:t}]of n)t&&p.set(e,t);const d=(0,o.Am)(p.values()),g=(0,m.JZ)(t);if(!g||!d.length)return[];const w=(0,a.fj)(s.parsedUrl?.path??"",`../${g.id}`),M=!!e?.sourceOnly,b=new h.A({where:`${u} IN (${d.map(x).join(",")})`,outFields:M?[u,c,f]:[u,c],returnDistinctValues:!0,returnGeometry:!1}),{features:F}=await(0,y.s)(w,b,{query:r,signal:e?.signal}),A=new Set(l),v=new Map;for(const e of F){const t=e.getAttribute(u),n=e.getAttribute(c),r=e.getAttribute(f)??0;n&&A.has(n)&&t&&!(1&r)&&(0,i.tE)(v,t,()=>new Set).add(n)}const q=new Map;for(const[e,t]of p)for(const n of v.get(t)??[])(0,i.tE)(q,n,()=>[]).push(e);return l.map(e=>({formatId:e,objectIds:q.get(e)??[]})).filter(({objectIds:e})=>e.length>0)}(e,l)}(e),c=new Map,f=await Promise.all(u.map(async({formatId:o,objectIds:i})=>{const a=(0,m.be)(o,t.supportedFormats),l=n.parsedUrl;if(null==a||!l||!i.length)return null;const u=(0,m._h)(o,t.supportedFormats),c=(0,m.qv)(u),f=n.createQuery();return f.objectIds=i,f.outFields=[s],f.formatOf3DObjects=o,f.returnGeometry=!0,{modelFormat:a,modelFileExtensions:c,featureSetJSON:await(0,y.e)(l.path,f,{query:e.requestQuery,signal:r?.signal},{uniqueIdFields:n.uniqueIdFields})}}));for(const t of f)t&&w(e,t.modelFormat,t.modelFileExtensions,t.featureSetJSON,c);return c}(new A(e,t,function(e){const t=new Map;for(const n of e.features){const e=n.getObjectId(),r=n.getGlobalId();null!=e&&null!=r&&t.set(e,{globalId:r})}return t}(p),l,r))}async function g(e,t,n,r){const o=r?.format;return((await d(e,t,{objectIds:[n]},{...r,requestedFormat:o,sourceOnly:null==o})).get(n)??[]).find(e=>o&&e.format===o||!o&&e.isSource)}function w({featureInfos:e,requestQuery:t,infoFor3D:n},r,o,s,a){const l=new Map;for(const e of s.assetMaps??[])(0,i.tE)(l,e.parentGlobalId,()=>[]).push(e);for(const[s,u]of e){const e=l.get(u.globalId);if(!e?.length)continue;const c=M(e,t,n);if(!c.length)continue;const f=c.reduce((e,t)=>e+t.size,0),m=F(c,o),y=!m.flags.includes("DERIVED");(0,i.tE)(a,s,()=>[]).push(new p({name:m.name,size:f,format:r,isSource:y,files:c}))}}function M(e,t,n){const r=new Map,o=({assetType:e})=>null!=(0,m.be)(e,n.supportedFormats),s=e.some(e=>o(e)&&!e.flags.includes("DERIVED"));for(const t of e)s&&o(t)&&t.flags.includes("DERIVED")||(0,i.tE)(r,t.assetName,()=>[]).push(t);const a=[];for(const[e,n]of r){n.sort((e,t)=>e.seqNo-t.seqNo);const r=n.reduce((e,t)=>e+t.size,0),o=n.map(({assetURL:e})=>e).filter(e=>!!e);o.length&&a.push(new f({name:e,size:r,flags:n[0].flags,loadArrayBuffer:e=>b(o,t,e)}))}return a}async function b(e,t,n){const o=await Promise.all(e.map(e=>(0,r.A)(e,{responseType:"array-buffer",query:t,signal:n?.signal}).then(({data:e})=>e)));return 1===o.length?o[0]:function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(new Uint8Array(t),r),r+=t.byteLength;return n.buffer}(o)}function F(e,t){return e.find(({name:e})=>t.some(t=>e.toLowerCase().endsWith(`.${t}`)))??e[0]}function x(e){return`'${e.replaceAll("'","''")}'`}class A{constructor(e,t,n,r,o){this.layer=e,this.associatedLayer=t,this.featureInfos=n,this.infoFor3D=r,this.options=o,this.requestQuery={...t.parsedUrl?.query,...e.customParameters,...e.apiKey?{token:e.apiKey}:{}}}}},99199(e,t,n){n.d(t,{e:()=>l,s:()=>a});var r=n(2272),o=n(80893),s=n(22671),i=n(97552);async function a(e,t,n,r){const o=await l(e,t,n,r);return s.A.fromJSON(o)}function l(e,t,n,s){const a=(0,r.Dl)(e),l={...n},u=i.A.from(t);return(0,o.eW)(a,u,u.sourceSpatialReference,l,s)}},22671(e,t,n){n.d(t,{A:()=>w});var r,o=n(5482),s=n(52106),i=n(66552),a=n(25482),l=n(4718),u=n(91429),c=n(16930),f=n(60408),p=n(65864),m=n(50498),y=n(20437),h=n(36005),d=n(43937);const g=new i.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void g.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,p.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,s=this.features,i=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((o-e)/n));for(let e=0,t=s.length;e<t;e++)i?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[s,i]}=n;let a=null,l=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;a=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;l=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*s+r,e=>o-e*i,a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.fromJSON(s),a=s.geometry?.spatialReference;null==i.geometry||a||(i.geometry.spatialReference=r);const l=s.aggregateGeometries,u=i.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],n=l[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(i)}return o}_quantizePoints(e,t,n){let r,o;const s=[];for(let i=0,a=e.length;i<a;i++){const a=e[i];if(i>0){const e=t(a[0]),i=n(a[1]);e===r&&i===o||(s.push([e-r,i-o]),r=e,o=i)}else r=t(a[0]),o=n(a[1]),s.push([r,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,f.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],i=this._quantizePoints(s,t,n);i&&o.push(i)}return o.length>0?((0,f.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,f.Bi)(e)?e.rings:e.paths;let i,a;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(i+=o[0],a+=o[1]):(i=o[0],a=o[1]),o[0]=t(i),o[1]=n(a)}}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let i,a;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(i+=r[0],a+=r[1]):(i=r[0],a=r[1]),r[0]=t(i),r[1]=n(a)}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,o.Cg)([(0,h.w)("features")],w.prototype,"readFeatures",null),(0,o.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,o.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,o.Cg)([(0,d.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o.Cg)([(0,u.MZ)({types:m.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,h.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o.Cg)([(0,d.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,o.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},2272(e,t,n){n.d(t,{Dl:()=>u,gf:()=>f,jV:()=>l,lF:()=>c});var r=n(92602),o=n(70333),s=n(4718),i=n(84952),a=n(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,i.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const o in e){if("declaredClass"===o)continue;const s=e[o];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[o]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[o]);r[o]=t?e:JSON.stringify(e)}else r[o]=t?s:JSON.stringify(s);else r[o]=s}return r}async function f(e,t,s){const i=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??o.id?.findCredential(e)?.token:null}(e,t);if(i)return i;!o.id&&r.A.request.useIdentity&&await Promise.all([n.e(7632),n.e(2584),n.e(148)]).then(n.bind(n,50148));const l=await o.id.getCredential(e,s);return l?.token}}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2387],{69052(e,t,n){n.d(t,{hr:()=>o});var r=n(34727);class o{constructor(e,t){this.min=e,this.max=t,this.range=t-e}normalize(e,t=0,n=!1){return s(this.range,this.min,this.max,e,t,n)}clamp(e,t=0){return(0,r.qE)(e-t,this.min,this.max)+t}monotonic(e,t,n){return e<t?t:t+i(this.range,e-t,n)}minimalMonotonic(e,t,n){return s(this.range,e,e+this.range,t,n)}center(e,t,n){return t=this.monotonic(e,t,n),this.normalize((e+t)/2,n)}diff(e,t,n){return this.monotonic(e,t,n)-e}shortestSignedDiff(e,t){e=this.normalize(e);const n=(t=this.normalize(t))-e,r=t<e?this.minimalMonotonic(e,t)-e:t-this.minimalMonotonic(t,e);return Math.abs(n)<Math.abs(r)?n:r}contains(e,t,n){return t=this.minimalMonotonic(e,t),(n=this.minimalMonotonic(e,n))>e&&n<t}}function s(e,t,n,r,o=0,s=!1){return(r-=o)<t?r+=i(e,t-r):r>n&&(r-=i(e,r-n)),s&&r===n&&(r=t),r+o}function i(e,t,n=0){return Math.ceil((t-n)/e)*e+n}const a=new o(0,2*Math.PI),l=(new o(-Math.PI,Math.PI),new o(0,360));n.d(t,["ie",0,l,"uC",0,a])},93146(e,t,n){n.d(t,{z:()=>o});class r{constructor(e){this._import=e,this.module=null,this._promise=null}getImportPromise(){return null==this._promise&&(this._promise=this._import().then(async e=>(this.module=e,e))),this._promise}}function o(e){return new r(async()=>{const t=await e();return!1===t.isLoaded?.()&&await t.load(),t})}},52039(e,t,n){n.d(t,{O7:()=>f,el:()=>l});var r=n(69052),o=(n(49186),n(17676)),s=(n(5443),n(39829),n(82799),n(16930)),i=n(93146),a=(n(80754),n(21325));async function l(e,t,n){Array.isArray(e)||(e=[e]),null!=t&&"object"==typeof t&&"authMode"in t&&(n=t);let r=null;for(const t of e)r??=t?.spatialReference;if(!r)return e;const s=(0,a.Vp)(r);if(!s)return e;const[i,l]=s.valid;let f=!1;for(const t of e){if(!t)continue;if("point"===t.type){f||=t.x>=l,f||=t.x<=i;continue}const{extent:e}=t;if(null==e){f=!0;break}f||=e.xmin>=l,f||=e.xmin<=i,f||=e.xmax>=l,f||=e.xmax<=i}if(!f)return e;const[{foldInto360Range:p},m]=await(0,o.qr)(Promise.all([u.getImportPromise(),c.getImportPromise()]),n),y=m.fromSpatialReference(r);return e.map(e=>{if(null==e||"mesh"===e.type)return e;const t=m.fromGeometry(e),n=m.toGeometry(p(t,y),r);return"extent"===e.type&&1===n?.rings.length?n.extent:n})}const u=(0,i.z)(()=>n.e(4144).then(n.bind(n,4144))),c=(0,i.z)(()=>Promise.all([n.e(9187),n.e(8885),n.e(9117),n.e(3299),n.e(1550)]).then(n.bind(n,78125)));function f(e,t,n){const r=(0,a.Vp)(n);if(null==r)return e;const[o,s]=r.valid,i=2*s;let l=0,u=0;t>s?l=Math.ceil(Math.abs(t-s)/i):t<o&&(l=-Math.ceil(Math.abs(t-o)/i)),e>s?u=Math.ceil(Math.abs(e-s)/i):e<o&&(u=-Math.ceil(Math.abs(e-o)/i));let c=e+(l-u)*i;const f=c-t;return f>s?c-=i:f<o&&(c+=i),c}function p(e){const t=(0,a.Vp)(e);if(null==t)return null;const[n,o]=t.valid;return new r.hr(n,o)}const m=p(s.A.WGS84);p(s.A.WebMercator),n.d(t,["Y_",0,m])},80754(e,t,n){n.d(t,{kS:()=>u,kd:()=>l});var r=n(82799),o=n(16930),s=n(60408),i=n(52006);const a={102100:{maxX:20037508.342788905,minX:-20037508.342788905,plus180Line:new r.A({paths:[[[20037508.342788905,-20037508.342788905],[20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator}),minus180Line:new r.A({paths:[[[-20037508.342788905,-20037508.342788905],[-20037508.342788905,20037508.342788905]]],spatialReference:o.A.WebMercator})},4326:{maxX:180,minX:-180,plus180Line:new r.A({paths:[[[180,-180],[180,180]]],spatialReference:o.A.WGS84}),minus180Line:new r.A({paths:[[[-180,-180],[-180,180]]],spatialReference:o.A.WGS84})}};function l(e,t){return Math.ceil((e-t)/(2*t))}function u(e,t){if((0,i.Ed)(e))for(const n of function(e){return(0,s.Bi)(e)?e.curveRings:e.curvePaths}(e))for(const e of n){if((0,i.aO)(e)){const[n,r]=e.c;n[0]+=t,r[0]+=t;continue}if((0,i.FG)(e)){const[n,r]=e.a;n[0]+=t,r[0]+=t;continue}if((0,i.n1)(e)){const[n,r,o]=e.b;n[0]+=t,r[0]+=t,o[0]+=t;continue}e[0]+=t}for(const n of function(e){return(0,s.Bi)(e)?e.rings:e.paths}(e))for(const e of n)e[0]+=t;return e}n.d(t,["j7",0,a])},41653(e,t,n){n.r(t),n.d(t,{queryModel:()=>g,queryModels:()=>d});var r=n(11254),o=n(4576),s=n(49186),i=n(91869),a=n(84952),l=n(5482),u=n(69622),c=n(91429);let f=class extends u.A{constructor(e){super(e),this.name="",this.size=0}arrayBuffer(e){return this.loadArrayBuffer(e)}};(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"flags",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"loadArrayBuffer",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"name",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],f.prototype,"size",void 0),f=(0,l.Cg)([(0,c.$K)("esri.layers.scene.ModelFileInfo")],f);let p=class extends u.A{constructor(e){super(e),this.files=[],this.format="",this.isSource=!1,this.name="",this.size=0}};(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"files",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"format",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"isSource",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"name",void 0),(0,l.Cg)([(0,c.MZ)({constructOnly:!0})],p.prototype,"size",void 0),p=(0,l.Cg)([(0,c.$K)("esri.layers.scene.ModelInfo")],p);var m=n(20557),y=n(99199),h=n(97552);async function d(e,t,n,r){const l=e.infoFor3D;if(!l)throw new s.A("scenelayer:query-models-not-available","Model queries are not available without 3D object metadata",{layer:e});const{objectIdField:u,globalIdField:c}=t;if(!u||!c)throw new s.A("scenelayer:query-models-not-available","Missing required fields for model queries",{layer:e});const f=function(e,t,n,r){const o=function(e,t){const n=h.A.from(t)?.clone()??e.createQuery();return n.outFields=null,n.formatOf3DObjects=null,n.returnGeometry=!1,n}(e,t);return o.outFields=[n,r],o.returnGeometry=!1,o}(e,n,u,c),p=await t.queryFeatures(f,r);return await async function(e){const{infoFor3D:t,associatedLayer:n,options:r}=e,s=n.globalIdField,l=n.parsedUrl;if(!s||!l)return new Map;const u=await async function(e){const{options:t,infoFor3D:n,featureInfos:r}=e,s=[...r.keys()];if(t?.requestedFormat){const e=(0,m.fE)(t.requestedFormat,n.supportedFormats);return e?[{formatId:e,objectIds:s}]:[]}const l=(0,o.Am)([...n.queryFormats,...n.editFormats]);return await async function({options:e,infoFor3D:t,featureInfos:n,requestQuery:r,associatedLayer:s},l){const u=t.assetMapFieldRoles.parentGlobalId,c=t.assetMapFieldRoles.assetType,f=t.assetMapFieldRoles.flags,p=new Map;for(const[e,{globalId:t}]of n)t&&p.set(e,t);const d=(0,o.Am)(p.values()),g=(0,m.JZ)(t);if(!g||!d.length)return[];const w=(0,a.fj)(s.parsedUrl?.path??"",`../${g.id}`),M=!!e?.sourceOnly,b=new h.A({where:`${u} IN (${d.map(x).join(",")})`,outFields:M?[u,c,f]:[u,c],returnDistinctValues:!0,returnGeometry:!1}),{features:F}=await(0,y.s)(w,b,{query:r,signal:e?.signal}),A=new Set(l),v=new Map;for(const e of F){const t=e.getAttribute(u),n=e.getAttribute(c),r=e.getAttribute(f)??0;n&&A.has(n)&&t&&!(1&r)&&(0,i.tE)(v,t,()=>new Set).add(n)}const q=new Map;for(const[e,t]of p)for(const n of v.get(t)??[])(0,i.tE)(q,n,()=>[]).push(e);return l.map(e=>({formatId:e,objectIds:q.get(e)??[]})).filter(({objectIds:e})=>e.length>0)}(e,l)}(e),c=new Map,f=await Promise.all(u.map(async({formatId:o,objectIds:i})=>{const a=(0,m.be)(o,t.supportedFormats),l=n.parsedUrl;if(null==a||!l||!i.length)return null;const u=(0,m._h)(o,t.supportedFormats),c=(0,m.qv)(u),f=n.createQuery();return f.objectIds=i,f.outFields=[s],f.formatOf3DObjects=o,f.returnGeometry=!0,{modelFormat:a,modelFileExtensions:c,featureSetJSON:await(0,y.e)(l.path,f,{query:e.requestQuery,signal:r?.signal},{uniqueIdFields:n.uniqueIdFields})}}));for(const t of f)t&&w(e,t.modelFormat,t.modelFileExtensions,t.featureSetJSON,c);return c}(new A(e,t,function(e){const t=new Map;for(const n of e.features){const e=n.getObjectId(),r=n.getGlobalId();null!=e&&null!=r&&t.set(e,{globalId:r})}return t}(p),l,r))}async function g(e,t,n,r){const o=r?.format;return((await d(e,t,{objectIds:[n]},{...r,requestedFormat:o,sourceOnly:null==o})).get(n)??[]).find(e=>o&&e.format===o||!o&&e.isSource)}function w({featureInfos:e,requestQuery:t,infoFor3D:n},r,o,s,a){const l=new Map;for(const e of s.assetMaps??[])(0,i.tE)(l,e.parentGlobalId,()=>[]).push(e);for(const[s,u]of e){const e=l.get(u.globalId);if(!e?.length)continue;const c=M(e,t,n);if(!c.length)continue;const f=c.reduce((e,t)=>e+t.size,0),m=F(c,o),y=!m.flags.includes("DERIVED");(0,i.tE)(a,s,()=>[]).push(new p({name:m.name,size:f,format:r,isSource:y,files:c}))}}function M(e,t,n){const r=new Map,o=({assetType:e})=>null!=(0,m.be)(e,n.supportedFormats),s=e.some(e=>o(e)&&!e.flags.includes("DERIVED"));for(const t of e)s&&o(t)&&t.flags.includes("DERIVED")||(0,i.tE)(r,t.assetName,()=>[]).push(t);const a=[];for(const[e,n]of r){n.sort((e,t)=>e.seqNo-t.seqNo);const r=n.reduce((e,t)=>e+t.size,0),o=n.map(({assetURL:e})=>e).filter(e=>!!e);o.length&&a.push(new f({name:e,size:r,flags:n[0].flags,loadArrayBuffer:e=>b(o,t,e)}))}return a}async function b(e,t,n){const o=await Promise.all(e.map(e=>(0,r.A)(e,{responseType:"array-buffer",query:t,signal:n?.signal}).then(({data:e})=>e)));return 1===o.length?o[0]:function(e){const t=e.reduce((e,t)=>e+t.byteLength,0),n=new Uint8Array(t);let r=0;for(const t of e)n.set(new Uint8Array(t),r),r+=t.byteLength;return n.buffer}(o)}function F(e,t){return e.find(({name:e})=>t.some(t=>e.toLowerCase().endsWith(`.${t}`)))??e[0]}function x(e){return`'${e.replaceAll("'","''")}'`}class A{constructor(e,t,n,r,o){this.layer=e,this.associatedLayer=t,this.featureInfos=n,this.infoFor3D=r,this.options=o,this.requestQuery={...t.parsedUrl?.query,...e.customParameters,...e.apiKey?{token:e.apiKey}:{}}}}},99199(e,t,n){n.d(t,{e:()=>l,s:()=>a});var r=n(2272),o=n(80893),s=n(22671),i=n(97552);async function a(e,t,n,r){const o=await l(e,t,n,r);return s.A.fromJSON(o)}function l(e,t,n,s){const a=(0,r.Dl)(e),l={...n},u=i.A.from(t);return(0,o.eW)(a,u,u.sourceSpatialReference,l,s)}},22671(e,t,n){n.d(t,{A:()=>w});var r,o=n(5482),s=n(52106),i=n(66552),a=n(25482),l=n(4718),u=n(91429),c=n(16930),f=n(60408),p=n(65864),m=n(50498),y=n(20437),h=n(36005),d=n(43937);const g=new i.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let w=r=class extends a.o{constructor(e){super(e),this.displayFieldName=null,this.exceededTransferLimit=!1,this.features=[],this.fields=null,this.geometryType=null,this.hasM=!1,this.hasZ=!1,this.queryGeometry=null,this.spatialReference=null}readFeatures(e,t){return this.readFeaturesWithClass(e,t,s.A)}writeGeometryType(e,t,n,r){if(e)return void g.write(e,t,n,r);const{features:o}=this;if(o)for(const e of o)if(null!=e?.geometry)return void g.write(e.geometry.type,t,n,r)}readQueryGeometry(e,t){if(!e)return null;const n=!!e.spatialReference,r=(0,p.rS)(e);return r&&!n&&t.spatialReference&&(r.spatialReference=c.A.fromJSON(t.spatialReference)),r}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:n}=this;if(n)for(const e of n)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new r(this.cloneProperties())}cloneProperties(){return(0,l.o8)({displayFieldName:this.displayFieldName,exceededTransferLimit:this.exceededTransferLimit,features:this.features,fields:this.fields,geometryType:this.geometryType,hasM:this.hasM,hasZ:this.hasZ,queryGeometry:this.queryGeometry,spatialReference:this.spatialReference,transform:this.transform})}toJSON(e){const t=this.write();if(t.features&&Array.isArray(e)&&e.length>0)for(let n=0;n<t.features.length;n++){const r=t.features[n];if(r.geometry){const t=e?.[n];r.geometry=t?.toJSON()||r.geometry}}return t}quantize(e){const{scale:[t,n],translate:[r,o]}=e,s=this.features,i=this._getQuantizationFunction(this.geometryType,e=>Math.round((e-r)/t),e=>Math.round((o-e)/n));for(let e=0,t=s.length;e<t;e++)i?.(s[e].geometry)||(s.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:n}=this;if(!n)return this;const{translate:[r,o],scale:[s,i]}=n;let a=null,l=null;if(this.hasZ&&null!=n?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=n;a=n=>n*t+e}if(this.hasM&&null!=n?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=n;l=n=>null==n?n:n*t+e}const u=this._getHydrationFunction(e,e=>e*s+r,e=>o-e*i,a,l);for(const{geometry:e}of t)null!=e&&u&&u(e);return this.transform=null,this}readFeaturesWithClass(e,t,n){const r=c.A.fromJSON(t.spatialReference),o=[];for(let t=0;t<e.length;t++){const s=e[t],i=n.fromJSON(s),a=s.geometry?.spatialReference;null==i.geometry||a||(i.geometry.spatialReference=r);const l=s.aggregateGeometries,u=i.aggregateGeometries;if(l&&null!=u)for(const e in u){const t=u[e],n=l[e],o=n?.spatialReference;null==t||o||(t.spatialReference=r)}o.push(i)}return o}_quantizePoints(e,t,n){let r,o;const s=[];for(let i=0,a=e.length;i<a;i++){const a=e[i];if(i>0){const e=t(a[0]),i=n(a[1]);e===r&&i===o||(s.push([e-r,i-o]),r=e,o=i)}else r=t(a[0]),o=n(a[1]),s.push([r,o])}return s.length>0?s:null}_getQuantizationFunction(e,t,n){return"point"===e?e=>(e.x=t(e.x),e.y=n(e.y),e):"polyline"===e||"polygon"===e?e=>{const r=(0,f.Bi)(e)?e.rings:e.paths,o=[];for(let e=0,s=r.length;e<s;e++){const s=r[e],i=this._quantizePoints(s,t,n);i&&o.push(i)}return o.length>0?((0,f.Bi)(e)?e.rings=o:e.paths=o,e):null}:"multipoint"===e?e=>{const r=this._quantizePoints(e.points,t,n);return r&&r.length>0?(e.points=r,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,n,r,o){return"point"===e?e=>{e.x=t(e.x),e.y=n(e.y),r&&(e.z=r(e.z))}:"polyline"===e||"polygon"===e?e=>{const s=(0,f.Bi)(e)?e.rings:e.paths;let i,a;for(let e=0,r=s.length;e<r;e++){const r=s[e];for(let e=0,o=r.length;e<o;e++){const o=r[e];e>0?(i+=o[0],a+=o[1]):(i=o[0],a=o[1]),o[0]=t(i),o[1]=n(a)}}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2]),n[3]=o(n[3])}}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=r(n[2])}}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];for(let e=0,n=t.length;e<n;e++){const n=t[e];n[2]=o(n[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=n(e.ymin),e.xmax=t(e.xmax),e.ymax=n(e.ymax),r&&null!=e.zmax&&null!=e.zmin&&(e.zmax=r(e.zmax),e.zmin=r(e.zmin)),o&&null!=e.mmax&&null!=e.mmin&&(e.mmax=o(e.mmax),e.mmin=o(e.mmin))}:"multipoint"===e?e=>{const s=e.points;let i,a;for(let e=0,r=s.length;e<r;e++){const r=s[e];e>0?(i+=r[0],a+=r[1]):(i=r[0],a=r[1]),r[0]=t(i),r[1]=n(a)}if(r&&o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2]),t[3]=o(t[3])}else if(r)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=r(t[2])}else if(o)for(let e=0,t=s.length;e<t;e++){const t=s[e];t[2]=o(t[2])}}:null}};(0,o.Cg)([(0,u.MZ)({type:String,json:{write:!0}})],w.prototype,"displayFieldName",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"exceededTransferLimit",void 0),(0,o.Cg)([(0,u.MZ)({type:[s.A],json:{write:!0}})],w.prototype,"features",void 0),(0,o.Cg)([(0,h.w)("features")],w.prototype,"readFeatures",null),(0,o.Cg)([(0,u.MZ)({type:[y.A],json:{write:!0}})],w.prototype,"fields",void 0),(0,o.Cg)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],w.prototype,"geometryType",void 0),(0,o.Cg)([(0,d.K)("geometryType")],w.prototype,"writeGeometryType",null),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasM",void 0),(0,o.Cg)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],w.prototype,"hasZ",void 0),(0,o.Cg)([(0,u.MZ)({types:m.yR,json:{write:!0}})],w.prototype,"queryGeometry",void 0),(0,o.Cg)([(0,h.w)("queryGeometry")],w.prototype,"readQueryGeometry",null),(0,o.Cg)([(0,u.MZ)({type:c.A,json:{write:!0}})],w.prototype,"spatialReference",void 0),(0,o.Cg)([(0,d.K)("spatialReference")],w.prototype,"writeSpatialReference",null),(0,o.Cg)([(0,u.MZ)({json:{write:!0}})],w.prototype,"transform",void 0),w=r=(0,o.Cg)([(0,u.$K)("esri.rest.support.FeatureSet")],w),w.prototype.toJSON.isDefaultToJSON=!0},2272(e,t,n){n.d(t,{Dl:()=>u,gf:()=>f,jV:()=>l,lF:()=>c});var r=n(92602),o=n(70333),s=n(4718),i=n(84952),a=n(926);function l(e,t){return t?{...t,query:{...e,...t.query}}:{query:e}}function u(e){return"string"==typeof e?(0,i.An)(e):(0,s.o8)(e)}function c(e,t,n){const r={};for(const o in e){if("declaredClass"===o)continue;const s=e[o];if(null!=s&&"function"!=typeof s)if(Array.isArray(s))r[o]=s.map(e=>c(e));else if("object"==typeof s)if(s.toJSON){const e=s.toJSON(n?.[o]);r[o]=t?e:JSON.stringify(e)}else r[o]=t?s:JSON.stringify(s);else r[o]=s}return r}async function f(e,t,s){const i=function(e,t){return e?t&&(0,a.Qc)(e)?t:(0,a.getApiKey)(e)??o.id?.findCredential(e)?.token:null}(e,t);if(i)return i;!o.id&&r.A.request.useIdentity&&await Promise.all([n.e(7632),n.e(7510),n.e(148)]).then(n.bind(n,50148));const l=await o.id.getCredential(e,s);return l?.token}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9078],{5482(e,t,n){function r(e,t,n,r){var i,s=arguments.length,o=s<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)o=Reflect.decorate(e,t,n,r);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(o=(s<3?i(o):s>3?i(t,n,o):i(t,n))||o);return s>3&&o&&Object.defineProperty(t,n,o),o}function i(e,t,n){if(null!=t){if("object"!=typeof t&&"function"!=typeof t)throw new TypeError("Object expected.");var r,i;if(n){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");r=t[Symbol.asyncDispose]}if(void 0===r){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");r=t[Symbol.dispose],n&&(i=r)}if("function"!=typeof r)throw new TypeError("Object not disposable.");i&&(r=function(){try{i.call(this)}catch(e){return Promise.reject(e)}}),e.stack.push({value:t,dispose:r,async:n})}else n&&e.stack.push({async:!0});return t}n.d(t,{Cg:()=>r,hk:()=>o,mS:()=>i}),Object.create,Object.create;var s="function"==typeof SuppressedError?SuppressedError:function(e,t,n){var r=new Error(n);return r.name="SuppressedError",r.error=e,r.suppressed=t,r};function o(e){function t(t){e.error=e.hasError?new s(t,e.error,"An error was suppressed during disposal."):t,e.hasError=!0}var n,r=0;return function i(){for(;n=e.stack.pop();)try{if(!n.async&&1===r)return r=0,e.stack.push(n),Promise.resolve().then(i);if(n.dispose){var s=n.dispose.call(n.value);if(n.async)return r|=2,Promise.resolve(s).then(i,function(e){return t(e),i()})}else r|=1}catch(e){t(e)}if(1===r)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}()}},9093(e,t,n){function r(){return[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]}function i(e){return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15]]}n.d(t,{o8:()=>i,vt:()=>r});const s=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];Object.freeze(Object.defineProperty({__proto__:null,IDENTITY:s,clone:i,create:r,fromValues:function(e,t,n,r,i,s,o,a,u,l,c,h,p,f,d,g){return[e,t,n,r,i,s,o,a,u,l,c,h,p,f,d,g]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["zK",0,s])},51850(e,t,n){function r(){return[0,0,0]}function i(e){return[e[0],e[1],e[2]]}function s(e,t,n){return[e,t,n]}function o(e,t,n){return[e,t,n]}function a(e,t=[0,0,0]){const n=Math.min(3,e.length);for(let r=0;r<n;++r)t[r]=e[r];return t}function u(){return s(1,1,1)}function l(){return s(1,0,0)}function c(){return s(0,1,0)}function h(){return s(0,0,1)}n.d(t,{CN:()=>o,ci:()=>a,fA:()=>s,o8:()=>i,vt:()=>r});const p=[0,0,0],f=u(),d=l(),g=c(),y=h();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:d,UNIT_Y:g,UNIT_Z:y,ZEROS:p,clone:i,create:r,freeze:o,fromArray:a,fromValues:s,ones:u,unitX:l,unitY:c,unitZ:h,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),n.d(t,["Cb",0,y,"Cw",0,d,"JP",0,g,"Un",0,f,"uY",0,p])},35522(e,t,n){n.d(t,{$A:()=>T,Bw:()=>s,C:()=>o,Cc:()=>A,DI:()=>x,Io:()=>_,Ln:()=>m,Om:()=>S,Qr:()=>h,Re:()=>l,S8:()=>w,T9:()=>g,WQ:()=>u,Z0:()=>I,_S:()=>f,aI:()=>N,ei:()=>P,fw:()=>R,gL:()=>k,hG:()=>v,hZ:()=>a,hs:()=>y,jk:()=>d,lw:()=>c,m3:()=>b,oW:()=>F,t2:()=>Z,tn:()=>p,ze:()=>M});var r=n(51850),i=n(34304);function s(e){const t=e[0],n=e[1],r=e[2];return Math.sqrt(t*t+n*n+r*r)}function o(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e}function a(e,t,n,r){return e[0]=t,e[1]=n,e[2]=r,e}function u(e,t,n){return e[0]=t[0]+n[0],e[1]=t[1]+n[1],e[2]=t[2]+n[2],e}function l(e,t,n){return e[0]=t[0]-n[0],e[1]=t[1]-n[1],e[2]=t[2]-n[2],e}function c(e,t,n){return e[0]=t[0]*n[0],e[1]=t[1]*n[1],e[2]=t[2]*n[2],e}function h(e,t,n){return e[0]=t[0]/n[0],e[1]=t[1]/n[1],e[2]=t[2]/n[2],e}function p(e,t){return e[0]=Math.abs(t[0]),e[1]=Math.abs(t[1]),e[2]=Math.abs(t[2]),e}function f(e,t){return e[0]=Math.sign(t[0]),e[1]=Math.sign(t[1]),e[2]=Math.sign(t[2]),e}function d(e,t,n){return e[0]=Math.min(t[0],n[0]),e[1]=Math.min(t[1],n[1]),e[2]=Math.min(t[2],n[2]),e}function g(e,t,n){return e[0]=Math.max(t[0],n[0]),e[1]=Math.max(t[1],n[1]),e[2]=Math.max(t[2],n[2]),e}function y(e,t,n){return e[0]=t[0]*n,e[1]=t[1]*n,e[2]=t[2]*n,e}function m(e,t,n,r){return e[0]=t[0]+n[0]*r,e[1]=t[1]+n[1]*r,e[2]=t[2]+n[2]*r,e}function _(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return Math.sqrt(n*n+r*r+i*i)}function v(e,t){const n=t[0]-e[0],r=t[1]-e[1],i=t[2]-e[2];return n*n+r*r+i*i}function b(e){const t=e[0],n=e[1],r=e[2];return t*t+n*n+r*r}function M(e,t){return e[0]=-t[0],e[1]=-t[1],e[2]=-t[2],e}function x(e,t){return e[0]=1/t[0],e[1]=1/t[1],e[2]=1/t[2],e}function w(e,t){const n=t[0],r=t[1],i=t[2];let s=n*n+r*r+i*i;return s>0&&(s=1/Math.sqrt(s),e[0]=t[0]*s,e[1]=t[1]*s,e[2]=t[2]*s),e}function S(e,t){return e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}function T(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],a=n[1],u=n[2];return e[0]=i*u-s*a,e[1]=s*o-r*u,e[2]=r*a-i*o,e}function A(e,t,n,r){const i=t[0],s=t[1],o=t[2];return e[0]=i+r*(n[0]-i),e[1]=s+r*(n[1]-s),e[2]=o+r*(n[2]-o),e}function I(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=n[0]*r+n[4]*i+n[8]*s+n[12],e[1]=n[1]*r+n[5]*i+n[9]*s+n[13],e[2]=n[2]*r+n[6]*i+n[10]*s+n[14],e}function P(e,t,n){const r=t[0],i=t[1],s=t[2];return e[0]=r*n[0]+i*n[3]+s*n[6],e[1]=r*n[1]+i*n[4]+s*n[7],e[2]=r*n[2]+i*n[5]+s*n[8],e}function k(e,t,n){return R(e,t,n[0],n[1],n[2],n[3])}function R(e,t,n,r,i,s){const o=t[0],a=t[1],u=t[2],l=r*u-i*a,c=i*o-n*u,h=n*a-r*o,p=r*h-i*c,f=i*l-n*h,d=n*c-r*l,g=2*s;return e[0]=o+l*g+2*p,e[1]=a+c*g+2*f,e[2]=u+h*g+2*d,e}const C=(0,r.vt)(),V=(0,r.vt)();function Z(e,t){return e[0]===t[0]&&e[1]===t[1]&&e[2]===t[2]}function N(e,t){if(e===t)return!0;const n=e[0],r=e[1],s=e[2],o=t[0],a=t[1],u=t[2],l=(0,i.FD)();return Math.abs(n-o)<=l*Math.max(1,Math.abs(n),Math.abs(o))&&Math.abs(r-a)<=l*Math.max(1,Math.abs(r),Math.abs(a))&&Math.abs(s-u)<=l*Math.max(1,Math.abs(s),Math.abs(u))}function F(e,t,n){const r=n[0]-t[0],i=n[1]-t[1],s=n[2]-t[2];let o=r*r+i*i+s*s;return o>0?(o=1/Math.sqrt(o),e[0]=r*o,e[1]=i*o,e[2]=s*o,e):(e[0]=0,e[1]=0,e[2]=0,e)}const O=l,q=c,G=h,E=_,D=v,j=s,z=b;Object.freeze(Object.defineProperty({__proto__:null,abs:p,add:u,angle:function(e,t){w(C,e),w(V,t);const n=S(C,V);return n>1?0:n<-1?Math.PI:Math.acos(n)},bezier:function(e,t,n,r,i,s){const o=1-s,a=o*o,u=s*s,l=a*o,c=3*s*a,h=3*u*o,p=u*s;return e[0]=t[0]*l+n[0]*c+r[0]*h+i[0]*p,e[1]=t[1]*l+n[1]*c+r[1]*h+i[1]*p,e[2]=t[2]*l+n[2]*c+r[2]*h+i[2]*p,e},ceil:function(e,t){return e[0]=Math.ceil(t[0]),e[1]=Math.ceil(t[1]),e[2]=Math.ceil(t[2]),e},clamp:function(e,t=0,n=1){return e[0]=Math.min(Math.max(e[0],t),n),e[1]=Math.min(Math.max(e[1],t),n),e[2]=Math.min(Math.max(e[2],t),n),e},copy:o,cross:T,crossAndNormalize:function(e,t,n){const r=t[0],i=t[1],s=t[2],o=n[0],a=n[1],u=n[2],l=i*u-s*a,c=s*o-r*u,h=r*a-i*o,p=Math.sqrt(l*l+c*c+h*h);return e[0]=l/p,e[1]=c/p,e[2]=h/p,e},direction:F,dist:E,distance:_,div:G,divide:h,dot:S,equals:N,exactEquals:Z,floor:function(e,t){return e[0]=Math.floor(t[0]),e[1]=Math.floor(t[1]),e[2]=Math.floor(t[2]),e},hermite:function(e,t,n,r,i,s){const o=s*s,a=o*(2*s-3)+1,u=o*(s-2)+s,l=o*(s-1),c=o*(3-2*s);return e[0]=t[0]*a+n[0]*u+r[0]*l+i[0]*c,e[1]=t[1]*a+n[1]*u+r[1]*l+i[1]*c,e[2]=t[2]*a+n[2]*u+r[2]*l+i[2]*c,e},inverse:x,len:j,length:s,lerp:A,max:g,min:d,mul:q,multiply:c,negate:M,normalize:w,random:function(e,t=1){const n=i.Ov,r=2*n()*Math.PI,s=2*n()-1,o=Math.sqrt(1-s*s)*t;return e[0]=Math.cos(r)*o,e[1]=Math.sin(r)*o,e[2]=s*t,e},rotateX:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0],s[1]=i[1]*Math.cos(r)-i[2]*Math.sin(r),s[2]=i[1]*Math.sin(r)+i[2]*Math.cos(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateY:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[2]*Math.sin(r)+i[0]*Math.cos(r),s[1]=i[1],s[2]=i[2]*Math.cos(r)-i[0]*Math.sin(r),e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},rotateZ:function(e,t,n,r){const i=[],s=[];return i[0]=t[0]-n[0],i[1]=t[1]-n[1],i[2]=t[2]-n[2],s[0]=i[0]*Math.cos(r)-i[1]*Math.sin(r),s[1]=i[0]*Math.sin(r)+i[1]*Math.cos(r),s[2]=i[2],e[0]=s[0]+n[0],e[1]=s[1]+n[1],e[2]=s[2]+n[2],e},round:function(e,t){return e[0]=Math.round(t[0]),e[1]=Math.round(t[1]),e[2]=Math.round(t[2]),e},scale:y,scaleAndAdd:m,set:a,sign:f,sqrDist:D,sqrLen:z,squaredDistance:v,squaredLength:b,str:function(e){return"vec3("+e[0]+", "+e[1]+", "+e[2]+")"},sub:O,subtract:l,transformMat3:P,transformMat4:I,transformMat4Z:function(e,t){return t[2]*e[0]+t[6]*e[1]+t[10]*e[2]+t[14]},transformQuat:k,transformQuatValues:R},Symbol.toStringTag,{value:"Module"})),n.d(t,["Il",0,j,"jb",0,O,"lo",0,D,"uE",0,z,"xg",0,E])},69397(e,t,n){n.d(t,{Qf:()=>a,Qh:()=>s,lM:()=>i});var r=n(34275);function i(e){if(!e)return 0;let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=o(e[n],!1));return t}function s(e){if(!e)return 0;if("number"==typeof e[0])return a(e);if(Array.isArray(e))return function(e){const t=e.length;if(0===t||"number"==typeof e[0])return u(e,8);let n=c;for(let r=0;r<t;r++)n+=o(e[r]);return n}(e);let t=l;for(const n in e)e.hasOwnProperty(n)&&(t+=o(e[n]));return t}function o(e,t=!0){switch(typeof e){case"object":return t?s(e):l;case"string":return function(e){return 32+e.length}(e);case"number":return 16;case"boolean":return 4;default:return 8}}function a(...e){return e.reduce((e,t)=>e+(t?(0,r.iu)(t)?t.byteLength+h:Array.isArray(t)?u(t,16):0:0),0)}function u(e,t){return c+e.length*t}const l=32,c=16,h=145},51624(e,t,n){n.d(t,{A:()=>l});var r=n(44208),i=n(69397),s=n(93687);const o=4294967296,a=new TextDecoder("utf-8"),u=(0,r.A)("safari")||(0,r.A)("ios")?6:(0,r.A)("ff")?12:32;class l{constructor(e,t,n=0,r=e?.byteLength??0){this._tag=0,this._dataType=99,this._init(e,t,n,r)}[Symbol.dispose](){this.release()}_init(e,t,n,r){this._data=e,this._dataView=t,this._pos=n,this._end=r}get usedMemory(){return 64+(0,i.Qf)(this._data)}asUnsafe(){return this}clone(){return new l(this._data,this._dataView,this._pos,this._end)}clonePooled(){return l.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(e,t,n=0,r=e?.byteLength??0){const i=l.pool.acquire();return i._init(e,t,n,r),i}pos(){return this._pos}move(e){this._pos=e}nextTag(e){for(;;){if(this._pos===this._end)return!1;const t=this._decodeVarint();if(this._tag=t>>3,this._dataType=7&t,!e||e===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;const e=this._decodeVarint();return this._tag=e>>3,this._dataType=7&e,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let e=4294967295;if(e=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)return e;if(e=(e|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128)return e;throw new Error("Varint overflow")}getPackedEnd(){const e=this.getUInt32();return this._pos+e}getUInt64(){return this._decodeVarint()}getSInt32(){const e=this.getUInt32();return e>>>1^-(1&e)}getSInt64(){return this._decodeSVarint()}getBool(){const e=0!==this._data[this._pos];return this._skip(1),e}getEnum(){return this._decodeVarint()}getFixed64(){const e=this._dataView,t=this._pos,n=e.getUint32(t,!0)+e.getUint32(t+4,!0)*o;return this._skip(8),n}getSFixed64(){const e=this._dataView,t=this._pos,n=e.getUint32(t,!0)+e.getInt32(t+4,!0)*o;return this._skip(8),n}getDouble(){const e=this._dataView.getFloat64(this._pos,!0);return this._skip(8),e}getFixed32(){const e=this._dataView.getUint32(this._pos,!0);return this._skip(4),e}getSFixed32(){const e=this._dataView.getInt32(this._pos,!0);return this._skip(4),e}getFloat(){const e=this._dataView.getFloat32(this._pos,!0);return this._skip(4),e}getString(){const e=this._getLength(),t=this._pos,n=this._toString(this._data,t,t+e);return this._skip(e),n}getBytes(){const e=this._getLength(),t=this._pos,n=this._toBytes(this._data,t,t+e);return this._skip(e),n}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(e,t,n,r){const i=this.getMessage(),s=e(i,t,n,r);return i.release(),s}processMessage(e){const t=this.getMessage(),n=e(t);return t.release(),n}getMessage(){const e=this._getLength(),t=l.pool.acquire();return t._init(this._data,this._dataView,this._pos,this._pos+e),this._skip(e),t}release(){l.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw new Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(e){this._skip(e)}_skip(e){if(this._pos+e>this._end)throw new Error("Attempt to skip past the end of buffer!");this._pos+=e}_decodeVarint(){const e=this._data;let t=this._pos,n=0,r=0;if(this._end-t>=10)do{if(r=e[t++],n|=127&r,!(128&r))break;if(r=e[t++],n|=(127&r)<<7,!(128&r))break;if(r=e[t++],n|=(127&r)<<14,!(128&r))break;if(r=e[t++],n|=(127&r)<<21,!(128&r))break;if(r=e[t++],n+=268435456*(127&r),!(128&r))break;if(r=e[t++],n+=34359738368*(127&r),!(128&r))break;if(r=e[t++],n+=4398046511104*(127&r),!(128&r))break;if(r=e[t++],n+=562949953421312*(127&r),!(128&r))break;if(r=e[t++],n+=72057594037927940*(127&r),!(128&r))break;if(r=e[t++],n+=0x8000000000000000*(127&r),!(128&r))break;throw new Error("Varint too long!")}while(0);else{let i=1;for(;t!==this._end&&(r=e[t],128&r);)++t,n+=(127&r)*i,i*=128;if(t===this._end)throw new Error("Varint overrun!");++t,n+=r*i}return this._pos=t,n}_decodeSVarint(){const e=this._data;let t,n=0,r=0;const i=1&e[this._pos];if(r=e[this._pos++],n|=127&r,!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n|=(127&r)<<7,!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n|=(127&r)<<14,!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n|=(127&r)<<21,!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n+=268435456*(127&r),!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n+=34359738368*(127&r),!(128&r))return i?-(n+1)/2:n/2;if(r=e[this._pos++],n+=4398046511104*(127&r),!(128&r))return i?-(n+1)/2:n/2;if(t=BigInt(n),r=e[this._pos++],t+=0x2000000000000n*BigInt(127&r),!(128&r))return Number(i?-(t+1n)/2n:t/2n);if(r=e[this._pos++],t+=0x100000000000000n*BigInt(127&r),!(128&r))return Number(i?-(t+1n)/2n:t/2n);if(r=e[this._pos++],t+=0x8000000000000000n*BigInt(127&r),!(128&r))return Number(i?-(t+1n)/2n:t/2n);throw new Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw new Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(e,t,n){if((n=Math.min(this._end,n))-t>u){const r=e.subarray(t,n);return a.decode(r)}let r="",i="";for(let s=t;s<n;++s){const t=e[s];128&t?i+="%"+t.toString(16):(r+=decodeURIComponent(i)+String.fromCharCode(t),i="")}return i.length&&(r+=decodeURIComponent(i)),r}_toBytes(e,t,n){return n=Math.min(this._end,n),new Uint8Array(e.buffer,t,n-t)}static{this.pool=new s.A(()=>new l(null,null),void 0,e=>{e._data=null,e._dataView=null})}}},48526(e,t,n){n.d(t,{A:()=>y});var r,i=n(5482),s=n(4576),o=n(4718),a=n(91429),u=n(5443),l=n(91075),c=n(86738),h=n(16930),p=n(90634),f=n(47610),d=n(56993),g=n(43937);let y=r=class extends l.A{constructor(e){super(function(e){if(!e)return;let{points:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],t?.at(0)?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=h.A.WGS84,{...e,hasM:n,hasZ:r,points:t,spatialReference:i}}(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,p.ge)(this);return e?new u.A({...e,spatialReference:this.spatialReference}):null}writePoints(e,t){t.points=(0,o.o8)(this.points)}clone(){const{points:e,spatialReference:t,hasM:n,hasZ:i}=this;return new r({points:(0,o.o8)(e),spatialReference:t.clone(),hasM:n,hasZ:i})}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;return null!=t==(null!=n)&&!(null!=t&&null!=n&&!t.equals(n))&&(0,s.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],n={x:t[0],y:t[1],spatialReference:this.spatialReference};let r=2;return this.hasZ&&(n.z=t[2],r=3),this.hasM&&(n.m=t[r]),new c.A(n)}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,i.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"cache",null),(0,i.Cg)([(0,a.MZ)({readOnly:!0})],y.prototype,"extent",null),(0,i.Cg)([(0,a.MZ)({type:[[Number]],json:{write:{isRequired:!0}}})],y.prototype,"points",void 0),(0,i.Cg)([(0,g.K)("points")],y.prototype,"writePoints",null),y=r=(0,i.Cg)([(0,a.$K)("esri.geometry.Multipoint")],y),y.prototype.toJSON.isDefaultToJSON=!0},39829(e,t,n){n.d(t,{A:()=>w});var r,i=n(5482),s=n(4576),o=n(51447),a=n(4718),u=n(53966),l=n(91429),c=n(5443),h=n(91075),p=n(86738),f=n(16930),d=n(12359),g=n(94078),y=n(95108),m=n(90634),_=n(47610),v=n(28735),b=n(56993),M=n(43937);function x(e){return!Array.isArray(e[0])}let w=r=class extends h.A{static fromExtent(e){const t=e.clone().normalize(),{spatialReference:n}=e;let i=!1,s=!1;for(const e of t)e.hasZ&&(i=!0),e.hasM&&(s=!0);const o={rings:t.map(e=>{const t=[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]];if(i&&e.hasZ){const n=e.zmin+.5*(e.zmax-e.zmin);for(let e=0;e<t.length;e++)t[e].push(n)}if(s&&e.hasM){const n=e.mmin+.5*(e.mmax-e.mmin);for(let e=0;e<t.length;e++)t[e].push(n)}return t}),spatialReference:n};return i&&(o.hasZ=!0),s&&(o.hasM=!0),new r(o)}constructor(e){super(function(e){if(!e)return;let{rings:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=f.A.WGS84,{...e,hasM:n,hasZ:r,rings:t,spatialReference:i}}(e)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,o.Lx)(u.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const e=(0,d.Ve)(this);return e?p.A.fromJSON(e):null}writeCurveRings(e,t){t.curveRings=(0,a.o8)(e)}get extent(){const e=(0,m.v)(this),{spatialReference:t}=this;return e?new c.A({...e,spatialReference:t}):null}writeRings(e,t){t.rings=(0,a.o8)(this.rings)}addRing(e){if(!e)return;const t=this.rings,n=t.length;if(x(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("rings"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.rings=(0,a.o8)(this.rings),e.curveRings=(0,a.o8)(this.curveRings),e.hasZ=this.hasZ,e.hasM=this.hasM,e}equals(e){if(this===e)return!0;if(null==e)return!1;const t=this.spatialReference,n=e.spatialReference;if(null!=t!=(null!=n))return!1;if(null!=t&&null!=n&&!t.equals(n))return!1;if(this.rings.length!==e.rings.length)return!1;for(let t=0;t<this.rings.length;t++){const n=this.rings[t],r=e.rings[t];if(!(0,s.aI)(n,r,_.v6))return!1}return!0}contains(e){if(!e)return!1;const t=(0,v.Cv)(e,this.spatialReference);return(0,g.m3)(this,null!=t?t:e)}isClockwise(e){const t=x(e)?e.map(e=>this.hasZ?this.hasM?[e.x,e.y,e.z,e.m]:[e.x,e.y,e.z]:[e.x,e.y]):e;return(0,y.$3)(t)}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.rings[e][t],r=this.hasZ,i=this.hasM;return r&&!i?new p.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new p.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new p.A(n[0],n[1],n[2],n[3],this.spatialReference):new p.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,b.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.rings[e].splice(t,0,n),this.notifyChange("rings"),this):this}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new p.A(this.rings[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("rings"),n}removeRing(e){if(!this._validateInputs(e,null))return null;const t=this.rings.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new p.A(e,n));return this.notifyChange("rings"),r}setPoint(e,t,n){return this._validateInputs(e,t)?((0,b.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.rings[e][t]=n,this.notifyChange("rings"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.rings.length)return!1;if(null!=t){const r=this.rings[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"cache",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"centroid",null),(0,i.Cg)([(0,l.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],w.prototype,"curveRings",void 0),(0,i.Cg)([(0,M.K)("curveRings")],w.prototype,"writeCurveRings",null),(0,i.Cg)([(0,l.MZ)({readOnly:!0})],w.prototype,"extent",null),(0,i.Cg)([(0,l.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],w.prototype,"rings",void 0),(0,i.Cg)([(0,M.K)("rings")],w.prototype,"writeRings",null),w=r=(0,i.Cg)([(0,l.$K)("esri.geometry.Polygon")],w),w.prototype.toJSON.isDefaultToJSON=!0},82799(e,t,n){n.d(t,{A:()=>d});var r,i=n(5482),s=n(4718),o=n(91429),a=n(5443),u=n(91075),l=n(86738),c=n(16930),h=n(90634),p=n(56993),f=n(43937);let d=r=class extends u.A{constructor(e){super(function(e){if(!e)return;let{paths:t,hasM:n,hasZ:r,spatialReference:i}=e;switch(t??=[],function(e){return"number"==typeof e[0]?.[0]}(t)&&(t=[t]),t[0]?.[0]?.length){case 4:r??=!0,n??=!0;break;case 3:r??=!0!==n,n??=!r;break;default:r??=!1,n??=!1}return i??=c.A.WGS84,{...e,hasM:n,hasZ:r,paths:t,spatialReference:i}}(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,s.o8)(e)}get extent(){const e=(0,h.Z3)(this),{spatialReference:t}=this;return e?new a.A({...e,spatialReference:t}):null}writePaths(e,t){t.paths=(0,s.o8)(this.paths)}addPath(e){if(!e)return;const t=this.paths,n=t.length;if(function(e){return!Array.isArray(e[0])}(e)){const r=[];for(let t=0,n=e.length;t<n;t++)r[t]=e[t].toArray();t[n]=r}else t[n]=e.slice();return this.notifyChange("paths"),this}clone(){const e=new r;return e.spatialReference=this.spatialReference,e.paths=(0,s.o8)(this.paths),e.curvePaths=(0,s.o8)(this.curvePaths),e.hasZ=this.hasZ,e.hasM=this.hasM,e}getPoint(e,t){if(!this._validateInputs(e,t))return null;const n=this.paths[e][t],r=this.hasZ,i=this.hasM;return r&&!i?new l.A(n[0],n[1],n[2],void 0,this.spatialReference):i&&!r?new l.A(n[0],n[1],void 0,n[2],this.spatialReference):r&&i?new l.A(n[0],n[1],n[2],n[3],this.spatialReference):new l.A(n[0],n[1],this.spatialReference)}insertPoint(e,t,n){return this._validateInputs(e,t,!0)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e].splice(t,0,n),this.notifyChange("paths"),this):this}removePath(e){if(!this._validateInputs(e,null))return null;const t=this.paths.splice(e,1)[0],n=this.spatialReference,r=t.map(e=>new l.A(e,n));return this.notifyChange("paths"),r}removePoint(e,t){if(!this._validateInputs(e,t))return null;const n=new l.A(this.paths[e].splice(t,1)[0],this.spatialReference);return this.notifyChange("paths"),n}setPoint(e,t,n){return this._validateInputs(e,t)?((0,p.h)(this,n),Array.isArray(n)||(n=n.toArray()),this.paths[e][t]=n,this.notifyChange("paths"),this):this}_validateInputs(e,t,n=!1){if(null==e||e<0||e>=this.paths.length)return!1;if(null!=t){const r=this.paths[e];if(n&&(t<0||t>r.length))return!1;if(!n&&(t<0||t>=r.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"cache",null),(0,i.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,i.Cg)([(0,f.K)("curvePaths")],d.prototype,"writeCurvePaths",null),(0,i.Cg)([(0,o.MZ)({readOnly:!0})],d.prototype,"extent",null),(0,i.Cg)([(0,o.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],d.prototype,"paths",void 0),(0,i.Cg)([(0,f.K)("paths")],d.prototype,"writePaths",null),d=r=(0,i.Cg)([(0,o.$K)("esri.geometry.Polyline")],d),d.prototype.toJSON.isDefaultToJSON=!0},4197(e,t,n){n.d(t,{Vj:()=>c,cj:()=>l,jh:()=>s,l5:()=>a,yH:()=>u});var r=n(34275),i=n(9093);function s(e){return e<=1024?new Array(e).fill(0):new Float64Array(e)}function o(e){return((0,r.iu)(e)?e.byteLength/8:e.length)<=1024?Array.from(e):new Float64Array(e)}function a(e,t,n){return Array.isArray(e)?e.slice(t,t+n):e.subarray(t,t+n)}function u(e,t){if(0===t.length)return o(e);if(0===e.length)return o(t);const n=s(e.length+t.length);for(let t=0;t<e.length;++t)n[t]=e[t];for(let r=0;r<t.length;++r)n[e.length+r]=t[r];return n}function l(e){return[...e]}function c(e){const t=(0,i.vt)();for(let n=0;n<16;++n)t[n]=e[n];return t}},70328(e,t,n){n.d(t,{BI:()=>I,C:()=>o,DC:()=>p,Ej:()=>v,Ie:()=>T,Jt:()=>A,Lu:()=>M,Ne:()=>x,RF:()=>h,TF:()=>m,VL:()=>d,aI:()=>k,fA:()=>a,gE:()=>l,gX:()=>_,hZ:()=>S,iT:()=>f,is:()=>P,pg:()=>b,uJ:()=>y,vI:()=>w,vY:()=>u,vt:()=>s,w1:()=>c,yr:()=>g}),n(35522);var r=n(5443),i=(n(19419),n(4197));function s(e=C){return[e[0],e[1],e[2],e[3],e[4],e[5]]}function o(e,t){for(let n=0;n<6;n++)e[n]=t[n];return e}function a(e,t,n,r,i,o,a=s()){return a[0]=e,a[1]=t,a[2]=n,a[3]=r,a[4]=i,a[5]=o,a}function u(e,t=s()){return function(e,t,n,r=s()){return S(r,R),function(e,t,n=0,r=t.length/3){let i=e[0],s=e[1],o=e[2],a=e[3],u=e[4],l=e[5];for(let e=0;e<r;e++)i=Math.min(i,t[n+3*e]),s=Math.min(s,t[n+3*e+1]),o=Math.min(o,t[n+3*e+2]),a=Math.max(a,t[n+3*e]),u=Math.max(u,t[n+3*e+1]),l=Math.max(l,t[n+3*e+2]);e[0]=i,e[1]=s,e[2]=o,e[3]=a,e[4]=u,e[5]=l}(r,e,t,n),r}(e,0,e.length/3,t)}function l(e,t=(0,i.jh)(24)){const[n,r,s,o,a,u]=e;return t[0]=n,t[1]=r,t[2]=s,t[3]=n,t[4]=r,t[5]=u,t[6]=n,t[7]=a,t[8]=s,t[9]=n,t[10]=a,t[11]=u,t[12]=o,t[13]=r,t[14]=s,t[15]=o,t[16]=r,t[17]=u,t[18]=o,t[19]=a,t[20]=s,t[21]=o,t[22]=a,t[23]=u,t}function c(e,t){const n=isFinite(e[2])||isFinite(e[5]);return new r.A(n?{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],zmin:e[2],zmax:e[5],spatialReference:t}:{xmin:e[0],xmax:e[3],ymin:e[1],ymax:e[4],spatialReference:t})}function h(e,t,n=e){n[0]=Math.min(e[0],t[0]),n[1]=Math.min(e[1],t[1]),n[2]=Math.min(e[2],t[2]),n[3]=Math.max(e[3],t[3]),n[4]=Math.max(e[4],t[4]),n[5]=Math.max(e[5],t[5])}function p(e,t){e[0]=Math.min(e[0],t[0]),e[1]=Math.min(e[1],t[1]),e[3]=Math.max(e[3],t[2]),e[4]=Math.max(e[4],t[3])}function f(e,[t,n,r]){!function(e,t,n,r){e[0]=Math.min(e[0],t),e[1]=Math.min(e[1],n),e[2]=Math.min(e[2],r),e[3]=Math.max(e[3],t),e[4]=Math.max(e[4],n),e[5]=Math.max(e[5],r)}(e,t,n,r)}function d(e){return e[0]>=e[3]?0:e[3]-e[0]}function g(e){return e[1]>=e[4]?0:e[4]-e[1]}function y(e){return e[2]>=e[5]?0:e[5]-e[2]}function m(e){const t=d(e),n=y(e),r=g(e);return t*t+n*n+r*r}function _(e,t=[0,0,0]){return t[0]=e[0]+d(e)/2,t[1]=e[1]+g(e)/2,t[2]=e[2]+y(e)/2,t}function v(e,t=[0,0,0]){return t[0]=d(e),t[1]=g(e),t[2]=y(e),t}function b(e,t){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t}function M(e,t){return t[0]=e[3],t[1]=e[4],t[2]=e[5],t}function x(e,t,n=e){return n[0]=t[0],n[1]=t[1],n[2]=t[2],n!==e&&(n[3]=e[3],n[4]=e[4],n[5]=e[5]),n}function w(e,t,n=e){return n[3]=t[0],n[4]=t[1],n[5]=t[2],n!==e&&(n[0]=e[0],n[1]=e[1],n[2]=e[2]),e}function S(e,t){return e[0]=t[0],e[1]=t[1],e[2]=t[2],e[3]=t[3],e[4]=t[4],e[5]=t[5],e}function T(e){return e?S(e,R):s(R)}function A(e,t){return e[0]=t[0],e[1]=t[1],e[2]=Number.NEGATIVE_INFINITY,e[3]=t[2],e[4]=t[3],e[5]=Number.POSITIVE_INFINITY,e}function I(e,t,n,r,i){return e[0]=t,e[1]=n,e[2]=Number.NEGATIVE_INFINITY,e[3]=r,e[4]=i,e[5]=Number.POSITIVE_INFINITY,e}function P(e){return 6===e.length}function k(e,t,n){if(null==e||null==t)return e===t;if(!P(e)||!P(t))return!1;if(n){for(let r=0;r<e.length;r++)if(!n(e[r],t[r]))return!1}else for(let n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}const R=[1/0,1/0,1/0,-1/0,-1/0,-1/0],C=[0,0,0,0,0,0];s(),n.d(t,["qv",0,R,"v_",0,C])},90634(e,t,n){n.d(t,{HA:()=>c,JM:()=>h,Z3:()=>d,ge:()=>p,v:()=>f});var r=n(537);const i=[];function s(e,t,n,r){return{xmin:e,ymin:t,xmax:n,ymax:r}}function o(e,t,n,r,i,s){return{xmin:e,ymin:t,zmin:n,xmax:r,ymax:i,zmax:s}}function a(e,t,n,r,i,s){return{xmin:e,ymin:t,mmin:n,xmax:r,ymax:i,mmax:s}}function u(e,t,n,r,i,s,o,a){return{xmin:e,ymin:t,zmin:n,mmin:r,xmax:i,ymax:s,zmax:o,mmax:a}}function l(e,t=!1,n=!1){return t?n?u(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]):o(e[0],e[1],e[2],e[3],e[4],e[5]):n?a(e[0],e[1],e[2],e[3],e[4],e[5]):s(e[0],e[1],e[2],e[3])}function c(e){return e?function(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}(e)?e:function(e){return void 0!==e.x&&void 0!==e.y}(e)?function(e){const{x:t,y:n,z:r,m:i}=e,l=null!=i;return null!=r?l?u(t,n,r,i,t,n,r,i):o(t,n,r,t,n,r):l?a(t,n,i,t,n,i):s(t,n,t,n)}(e):function(e){return void 0!==e.rings}(e)?f(e):function(e){return void 0!==e.paths}(e)?d(e):function(e){return void 0!==e.points}(e)?p(e):null:null}function h(e,{xmin:t,ymin:n,zmin:r,mmin:i,xmax:s,ymax:o,zmax:a,mmax:u}){e.xmin=Math.min(e.xmin,t),e.xmax=Math.max(e.xmax,s),e.ymin=Math.min(e.ymin,n),e.ymax=Math.max(e.ymax,o),null!=e.zmin&&(e.zmin=Math.min(e.zmin,r),e.zmax=Math.max(e.zmax,a)),null!=e.mmin&&(e.mmin=Math.min(e.mmin,i),e.mmax=Math.max(e.mmax,u))}function p(e){const{hasZ:t,hasM:n,points:s}=e,o=(0,r.Pj)(i,s,t??!1,n??!1,t??!1,n??!1);return o?l(o,t,n):null}function f(e){const{hasZ:t,hasM:n,rings:s,curveRings:o}=e,a=(0,r.Yz)(i,o??s,t??!1,n??!1);return a?l(a,t,n):null}function d(e){const{hasZ:t,hasM:n,paths:s,curvePaths:o}=e,a=(0,r.Yz)(i,o??s,t??!1,n??!1);return a?l(a,t,n):null}},47610(e,t,n){function r([e,t,n,r],[i,s,o,a]){return e===i&&t===s&&(null==n&&null==o||n===o)&&(null==r&&null==a||r===a)}n.d(t,{v6:()=>r}),n(5443),n(83960)},83960(e,t,n){n.d(t,{X_:()=>s,oW:()=>a,zx:()=>o});var r=n(34727),i=n(86211);function s(e,t){const n=t||e.extent,r=e.width,s=(0,i.GA)(n?.spatialReference);return n&&r?n.width/r*s*39.37*96:0}function o(e,t,n){return function(e,t){return 0===t||(0,r.Sp)(e,t)||e<t}(e,t)&&function(e,t){return 0===t||(0,r.Sp)(e,t)||e>t}(e,n)}function a(e,t){return(0,r.Sp)(e,t)?0:(e||Number.POSITIVE_INFINITY)>(t||Number.POSITIVE_INFINITY)?1:-1}},50498(e,t,n){var r=n(66552),i=n(5443),s=n(91075),o=n(48526),a=n(86738),u=n(39829),l=n(82799);const c=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon"}),h=(0,r.O)()({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh"}),p={base:s.A,key:"type",typeMap:{extent:i.A,multipoint:o.A,point:a.A,polyline:l.A,polygon:u.A}},f=new r.J({esriGeometryBezier3Curve:"cubic-bezier",esriGeometryCircularArc:"circular-arc",esriGeometryEllipticArc:"elliptic-arc"},{ignoreUnknown:!0});n.d(t,["Ye",0,h,"gy",0,c,"iI",0,f,"yR",0,p])},56993(e,t,n){function r(e,t,n=!1){let{hasM:r,hasZ:i}=e;Array.isArray(t)?4!==t.length||r||i?3===t.length&&n&&!r?(i=!0,r=!1):3===t.length&&r&&i&&(r=!1,i=!1):(r=!0,i=!0):(i=!i&&t.hasZ&&(!r||t.hasM),r=!r&&t.hasM&&(!i||t.hasZ)),e.hasZ=i,e.hasM=r}n.d(t,{h:()=>r})},62815(e,t,n){n.d(t,{N:()=>a,d:()=>u});var r=n(86211),i=n(73941),s=n(21325),o=n(52006);function a(e,t,n){const r=u(t,n);if(1!==r)switch(e){case"point":case"esriGeometryPoint":return e=>function(e,t){null!=e?.z&&(e.z*=t)}(e,r);case"polyline":case"esriGeometryPolyline":return e=>function(e,t){if(e){if(e.curvePaths)for(const n of e.curvePaths)for(const e of n){const n=(0,o.yP)(e);n.length>2&&(n[2]*=t)}if(e.paths)for(const n of e.paths)for(const e of n)e.length>2&&(e[2]*=t)}}(e,r);case"polygon":case"esriGeometryPolygon":return e=>function(e,t){if(e){if(e.curveRings)for(const n of e.curveRings)for(const e of n){const n=(0,o.yP)(e);n.length>2&&(n[2]*=t)}if(e.rings)for(const n of e.rings)for(const e of n)e.length>2&&(e[2]*=t)}}(e,r);case"multipoint":case"esriGeometryMultipoint":return e=>function(e,t){if(e)for(const n of e.points)n.length>2&&(n[2]*=t)}(e,r);case"extent":case"esriGeometryEnvelope":return e=>function(e,t){e&&null!=e.zmin&&null!=e.zmax&&(e.zmin*=t,e.zmax*=t)}(e,r);default:return}}function u(e,t){return null==e||null==t||(0,s.aI)(e,t)||(0,i.xP)(e)||(0,i.xP)(t)?1:(0,r.G9)(e)/(0,r.G9)(t)}},39357(e,t,n){n.d(t,{A:()=>a});var r,i=n(5482),s=n(25482),o=n(91429);let a=r=class extends s.o{constructor(e){super(e),this.name=null,this.code=null}clone(){return new r({name:this.name,code:this.code})}};(0,i.Cg)([(0,o.MZ)({type:String,json:{write:{isRequired:!0}}})],a.prototype,"name",void 0),(0,i.Cg)([(0,o.MZ)({type:[String,Number],json:{write:{isRequired:!0}}})],a.prototype,"code",void 0),a=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValue")],a)},53177(e,t,n){n.d(t,{A:()=>c});var r,i=n(5482),s=n(4718),o=n(91429),a=n(39357),u=n(76357),l=n(93223);let c=class extends u.A{static{r=this}constructor(e){super(e),this.codedValues=null,this.type="coded-value"}getName(e){let t=null;if(this.codedValues){const n=String(e);this.codedValues.some(e=>(String(e.code)===n&&(t=e.name),!!t))}return t}clone(){return new r({codedValues:(0,s.o8)(this.codedValues),name:this.name})}};(0,i.Cg)([(0,o.MZ)({type:[a.A],json:{write:{isRequired:!0}}})],c.prototype,"codedValues",void 0),(0,i.Cg)([(0,l.e)({codedValue:"coded-value"})],c.prototype,"type",void 0),c=r=(0,i.Cg)([(0,o.$K)("esri.layers.support.CodedValueDomain")],c)},76357(e,t,n){n.d(t,{A:()=>l});var r=n(5482),i=n(66552),s=n(25482),o=n(91429),a=n(93223);const u=new i.J({inherited:"inherited",codedValue:"coded-value",range:"range"});let l=class extends s.o{constructor(e){super(e),this.name=null,this.type=null}};(0,r.Cg)([(0,o.MZ)({type:String,json:{write:!0}})],l.prototype,"name",void 0),(0,r.Cg)([(0,a.e)(u),(0,o.MZ)({json:{write:{isRequired:!0}}})],l.prototype,"type",void 0),l=(0,r.Cg)([(0,o.$K)("esri.layers.support.Domain")],l)},20437(e,t,n){n.d(t,{A:()=>d});var r,i=n(5482),s=n(66552),o=n(25482),a=n(91429),u=n(56507),l=n(8631),c=n(98453),h=n(36005),p=n(93223);const f=new s.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 d=class extends o.o{static{r=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 n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?.value??null}readValueType(e,{description:t}){let n=null;try{n=t?JSON.parse(t):null}catch(e){}return n?f.fromJSON(n.fieldValueType):null}clone(){return new r({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,a.MZ)({type:String,json:{write:!0}})],d.prototype,"alias",void 0),(0,i.Cg)([(0,a.MZ)({type:[String,Number],json:{write:{allowNull:!0}}})],d.prototype,"defaultValue",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"description",void 0),(0,i.Cg)([(0,h.w)("description")],d.prototype,"readDescription",null),(0,i.Cg)([(0,a.MZ)({types:l.g,json:{read:{reader:l.r},write:!0}})],d.prototype,"domain",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"editable",void 0),(0,i.Cg)([(0,a.MZ)({type:u.jz,json:{write:{overridePolicy:e=>({enabled:Number.isFinite(e)})}}})],d.prototype,"length",void 0),(0,i.Cg)([(0,a.MZ)({type:String,json:{write:!0}})],d.prototype,"name",void 0),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{write:!0}})],d.prototype,"nullable",void 0),(0,i.Cg)([(0,p.e)(c.m)],d.prototype,"type",void 0),(0,i.Cg)([(0,a.MZ)()],d.prototype,"valueType",void 0),(0,i.Cg)([(0,h.w)("valueType",["description"])],d.prototype,"readValueType",null),(0,i.Cg)([(0,a.MZ)({type:Boolean,json:{read:!1}})],d.prototype,"visible",void 0),d=r=(0,i.Cg)([(0,a.$K)("esri.layers.support.Field")],d)},41628(e,t,n){n.d(t,{A:()=>u});var r,i=n(5482),s=n(91429),o=n(76357),a=n(93223);let u=class extends o.A{static{r=this}constructor(e){super(e),this.maxValue=null,this.minValue=null,this.type="range"}clone(){return new r({maxValue:this.maxValue,minValue:this.minValue,name:this.name})}};(0,i.Cg)([(0,s.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,n){t[n]=[this.minValue||0,e]},isRequired:!0}}})],u.prototype,"maxValue",void 0),(0,i.Cg)([(0,s.MZ)({json:{type:[Number],read:{source:"range",reader:(e,t)=>t.range?.[0]},write:{target:"range",writer(e,t,n){t[n]=[e,this.maxValue||0]},isRequired:!0}}})],u.prototype,"minValue",void 0),(0,i.Cg)([(0,a.e)({range:"range"})],u.prototype,"type",void 0),u=r=(0,i.Cg)([(0,s.$K)("esri.layers.support.RangeDomain")],u)},8631(e,t,n){n.d(t,{r:()=>p,g:()=>h});var r,i=n(53177),s=n(76357),o=n(5482),a=n(91429),u=n(93223);let l=class extends s.A{static{r=this}constructor(e){super(e),this.type="inherited"}clone(){return new r}};(0,o.Cg)([(0,u.e)({inherited:"inherited"})],l.prototype,"type",void 0),l=r=(0,o.Cg)([(0,a.$K)("esri.layers.support.InheritedDomain")],l);var c=n(41628);const h={key:"type",base:s.A,typeMap:{range:c.A,"coded-value":i.A,inherited:l}};function p(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 l.fromJSON(e)}return null}},98453(e,t,n){const r=new(n(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"});n.d(t,["m",0,r])},53655(e,t,n){n.d(t,{SH:()=>Z,ae:()=>P,cn:()=>g});var r=n(5482),i=n(49186),s=n(51624),o=n(50498);const a=["esriGeometryPoint","esriGeometryMultipoint","esriGeometryPolyline","esriGeometryPolygon"],u=["esriFieldTypeSmallInteger","esriFieldTypeInteger","esriFieldTypeSingle","esriFieldTypeDouble","esriFieldTypeString","esriFieldTypeDate","esriFieldTypeOID","esriFieldTypeGeometry","esriFieldTypeBlob","esriFieldTypeRaster","esriFieldTypeGUID","esriFieldTypeGlobalID","esriFieldTypeXML","esriFieldTypeBigInteger","esriFieldTypeDateOnly","esriFieldTypeTimeOnly","esriFieldTypeTimestampOffset"],l=["sqlTypeBigInt","sqlTypeBinary","sqlTypeBit","sqlTypeChar","sqlTypeDate","sqlTypeDecimal","sqlTypeDouble","sqlTypeFloat","sqlTypeGeometry","sqlTypeGUID","sqlTypeInteger","sqlTypeLongNVarchar","sqlTypeLongVarbinary","sqlTypeLongVarchar","sqlTypeNChar","sqlTypeNVarchar","sqlTypeOther","sqlTypeReal","sqlTypeSmallInt","sqlTypeSqlXml","sqlTypeTime","sqlTypeTimestamp","sqlTypeTimestamp2","sqlTypeTinyInt","sqlTypeVarbinary","sqlTypeVarchar"],c=["upperLeft","lowerLeft"];function h(e,t){const n=e.getEnum();return n<t.length?t[n]:void 0}function p(e,t){e.featureSet.geometryType=e.usesShortGeometryTypes?o.gy.fromJSON(t):t}function f(e,t=e.featureSet.geometryType){return e.usesShortGeometryTypes?o.gy.toJSON(t):t}function d(e){const t=e.asUnsafe();for(;t.next();)switch(t.tag()){case 1:return t.getString();case 2:return t.getFloat();case 3:return t.getDouble();case 4:return t.getSInt32();case 5:return t.getUInt32();case 6:return t.getInt64();case 7:return t.getUInt64();case 8:return t.getSInt64();case 9:return t.getBool();default:return t.skip(),null}return null}function g(e){const t=e.asUnsafe(),n={type:u[0]};for(;t.next();)switch(t.tag()){case 1:n.name=t.getString();break;case 2:n.type=h(t,u);break;case 3:n.alias=t.getString();break;case 4:n.sqlType=h(t,l);break;case 5:default:t.skip();break;case 6:n.defaultValue=t.getString()}return n}function y(e){const t={},n=e.asUnsafe();for(;n.next();)switch(n.tag()){case 1:t.name=n.getString();break;case 2:t.isSystemMaintained=n.getBool();break;default:n.skip()}return t}let m=[];function _(e,t,n){let r=f(t),i=0;const s=e.asUnsafe();for(;s.next();)switch(s.tag()){case 1:1===n?r=f(t,h(s,a)):s.skip();continue;case 2:for(const e=s.getPackedEnd();s.pos()<e;)m[i++]=s.getUInt32();continue;case 3:i>0?(m.length=i,null!=t.geometry(n,r,m)&&(m=[])):t.geometry(n,r,[]);for(const e=s.getPackedEnd();s.pos()<e;)t.coord(s.getSInt64());continue;default:s.skip()}}function v(e,t){const n=[],r=e.asUnsafe();for(;r.next();)if(3!==r.tag())r.skip();else for(const e=r.getPackedEnd();r.pos()<e;)n.push(r.getSInt64());t.centroid(n)}let b=[],M=[],x=[];function w(e,t){const n={stack:[],error:void 0,hasError:!1};try{let i=0;const s=m;let o=0;const a=e.asUnsafe(),u=(0,r.mS)(n,a.clonePooled().asUnsafe(),!1);for(;a.next();)switch(a.tag()){case 2:for(const l=a.getPackedEnd();a.pos()<l;)s[i++]=a.getUInt32();continue;case 3:if(!("curvedGeometry"in t))throw new Error(`Tried to parse curved geometry in a ${t.constructor.name}, which doesn't support them.`);a.processMessageWithArgs(S,o++);continue;case 4:{const c=a.getUInt32(),h=a.pos()+c;if(0===o||0===i||0===c){a.move(h);continue}s.length=i,x.length=M.length=o,t.curvedGeometry(f(t),s,M,x);const{hasZ:p,hasM:d}=t.featureSet,g=[],y=[0,0];function _(){for(let e=0;e<y.length;++e)g[e]=y[e],y[e]=a.getSInt64()}p&&y.push(0),d&&y.push(0);const v=[0,0],w=[0,0],T=v,A=v;let I=0;for(let P=0;P<i;++P){_(),g.fill(0),t.startCurvedPart(y);for(const k=I+s[P];I<k;++I){const R=M[I],C=x[I];switch(R){case 0:for(let V=0;V<C;++V)_(),y[0]+=g[0],y[1]+=g[1],t.lineSegment(g,y);continue;case 1:for(let Z=0;Z<C;++Z)_(),T[0]=a.getSInt64(),T[1]=a.getSInt64(),t.circularArcSegment(g,y,T);continue;case 2:for(let N=0;N<C;++N)_(),v[0]=a.getSInt64(),v[1]=a.getSInt64(),w[0]=a.getSInt64(),w[1]=a.getSInt64(),t.bezierSegment(g,y,v,w);continue;case 3:if(u.move(b[I]),u.getUInt32()<7*C)throw new Error("Not implemented: compressed full circle encoding");for(let F=0;F<C;++F){_(),A[0]=u.getDouble(),A[1]=u.getDouble();const O=u.getDouble(),q=u.getDouble(),G=u.getDouble(),E=u.getDouble(),D=u.getDouble();t.ellipticArcSegment(g,y,A,O,q,G,E,D)}continue}}t.finishCurvedPart(y)}continue}default:a.skip()}}catch(j){n.error=j,n.hasError=!0}finally{(0,r.hk)(n)}}function S(e,t){const n=e.asUnsafe();let r=0,i=0,s=0;for(;n.next();)switch(n.tag()){case 1:r=n.getEnum();continue;case 2:i=n.getUInt32();continue;case 3:s=n.pos(),n.skip();continue;default:n.skip()}if(3===r&&0===s)throw new Error("An elliptic arc segment set did not include a parameters array");M[t]=r,x[t]=i,b[t]=s}function T(e,t){t.feature();const n=t.featureSet.features.at(-1);let r=0;const{fields:i}=t.featureSet;for(;e.next();)switch(e.tag()){case 1:if(null==i)throw new Error("A Feature had attributes but the FeatureResult didn't include any fields");n.attributes[i[r++].name]=e.processMessage(d);continue;case 2:e.processMessageWithArgs(_,t,0);continue;case 4:e.processMessageWithArgs(v,t);continue;case 7:e.processMessageWithArgs(w,t);continue;case 11:n.distance=e.getDouble();continue;default:e.skip();continue}t.finishFeature?.()}function A(e){const t=[1,1,1,1],n=e.asUnsafe();for(;n.next();)switch(n.tag()){case 1:t[0]=n.getDouble();break;case 2:t[1]=n.getDouble();break;case 4:t[2]=n.getDouble();break;case 3:t[3]=n.getDouble();break;default:n.skip()}return t}function I(e){const t=[0,0,0,0],n=e.asUnsafe();for(;n.next();)switch(n.tag()){case 1:t[0]=n.getDouble();break;case 2:t[1]=n.getDouble();break;case 4:t[2]=n.getDouble();break;case 3:t[3]=n.getDouble();break;default:n.skip()}return t}function P(e){const t={originPosition:c[0]},n=e.asUnsafe();for(;n.next();)switch(n.tag()){case 1:t.originPosition=h(n,c);break;case 2:t.scale=n.processMessage(A);break;case 3:t.translate=n.processMessage(I);break;default:n.skip()}return t}function k(e){const t={},n=e.asUnsafe();for(;n.next();)switch(n.tag()){case 1:t.shapeAreaFieldName=n.getString();break;case 2:t.shapeLengthFieldName=n.getString();break;case 3:t.units=n.getString();break;default:n.skip()}return t}function R(e){const t={};for(;e.next();)switch(e.tag()){case 1:t.wkid=e.getUInt32();break;case 5:t.wkt=e.getString();break;case 2:t.latestWkid=e.getUInt32();break;case 3:t.vcsWkid=e.getUInt32();break;case 4:t.latestVcsWkid=e.getUInt32();break;default:e.skip()}return t}function C(e,t){const n=e.asUnsafe();if(t.featureSet.features.length=0,"features"===t.parseOnly?.type){const e=t.parseOnly.indices.values();let r=0,i=e.next().value;for(;n.next();)15===n.tag()&&r++===i?(i=e.next().value,n.processMessageWithArgs(T,t)):n.skip();return}let r=!1;for("metadata"===t.parseOnly?.type&&(r=!0,t.parseOnly.featureCount=0),p(t,"esriGeometryPoint");n.next();)switch(n.tag()){case 1:t.idField(n.getString());continue;case 3:t.featureSet.globalIdFieldName=n.getString();continue;case 4:t.featureSet.geohashFieldName=n.getString();continue;case 5:t.featureSet.geometryProperties=n.processMessage(k);continue;case 7:p(t,h(n,a));continue;case 8:t.featureSet.spatialReference=n.processMessageWithArgs(R);continue;case 10:t.featureSet.hasZ=n.getBool();continue;case 11:t.featureSet.hasM=n.getBool();continue;case 12:t.featureSet.transform=n.processMessage(P);continue;case 9:t.featureSet.exceededTransferLimit=n.getBool();continue;case 13:t.featureSet.fields??=[],t.featureSet.fields.push(n.processMessage(g));continue;case 15:if(r){++t.parseOnly.featureCount,n.skip();continue}n.processMessageWithArgs(T,t);continue;case 2:t.idField(n.processMessage(y));continue;default:n.skip()}}function V(e,t,n){let r=-1;for(;e.next();)switch(e.tag()){case 4:r=e.pos(),e.skip();continue;case 1:e.processMessageWithArgs(C,t);continue;default:e.skip()}if(-1!==r){if(!t.queryGeometry()){const n=e.pos();e.move(r),e.processMessageWithArgs(_,t,1),e.move(n)}n.queryGeometryType=t.queryGeometryType(),n.queryGeometry=t.queryGeometry()}t.finish(),n.featureResult=t.featureSet}function Z(e,t){const n={stack:[],error:void 0,hasError:!1};try{(0,r.mS)(n,{[Symbol.dispose](){m=[],b=[],M=[],x=[]}},!1);try{const n={stack:[],error:void 0,hasError:!1};try{const i=(0,r.mS)(n,s.A.constructPooled(new Uint8Array(e),new DataView(e)),!1);let o;for(;i.next();)2===i.tag()?(o={},i.processMessageWithArgs(V,t,o)):i.skip();return o}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}catch(e){throw new i.A("query:parsing-pbf","Error while parsing FeatureSet PBF payload",{error:e})}}catch(e){n.error=e,n.hasError=!0}finally{(0,r.hk)(n)}}},63746(e,t,n){function r(e){return class{constructor(){for(const t of e)this[t]=null}}}function i(e,t=1){const{transform:n,hasZ:r,hasM:i}=e;if(null==n)return r&&1!==t?e=>{e[2]*=t}:null;const[s,o]=function(e,t,n,r){let{scale:i,translate:s,originPosition:o}=e;return"upperLeft"===o&&(i=i.map((e,t)=>1===t?-e:e)),t&&(i=i.map((e,t)=>2===t?e*r:e),s=s.map((e,t)=>2===t?e*r:e)),!t&&n&&(i=i.filter((e,t)=>2!==t),s=s.filter((e,t)=>2!==t)),[i,s]}(n,r,i,t),a=e.hasZ?3:2;return e=>{for(let t=0;t<e.length&&(t!==a||0!==e[t]);++t)e[t]=e[t]*s[t]+o[t]}}n.d(t,{M:()=>i,_:()=>r})},66208(e,t,n){n.d(t,{m:()=>i});var r=n(53655);function i(e,t){const{featureResult:n}=(0,r.SH)(e,t);return n}},39078(e,t,n){n.r(t),n.d(t,{default:()=>f});var r=n(24326),i=n(16930),s=n(62815),o=(n(70328),n(19419),n(50498),n(20437));n(44208),n(34727),n(21325);class a{constructor(e,t,n){this.uid=e,this.geometry=t,this.attributes=n,this.visible=!0,this.objectId=null,this.centroid=null}}class u{constructor(){this.exceededTransferLimit=!1,this.features=[],this.fields=[],this.hasM=!1,this.hasZ=!1,this.geometryType=null,this.objectIdFieldName=null,this.globalIdFieldName=null,this.geometryProperties=null,this.geohashFieldName=null,this.spatialReference=null,this.transform=null}}var l=n(63746);class c{constructor(e){this._options=e,this.featureSet=new u,this.usesShortGeometryTypes=!0,this._queryGeometryType=null,this._queryGeometry=null,this.parseOnly=null,this.missingAttributes=[],this._transformInPlace=null,this._attributesClass=null,this._previousX=0,this._previousY=0,this._point=null,this._lengths=null,this._vertex=[],this._part=null,this._parts=null,this._i=0,this._finishVertex=c._finishVertexNonPoint}queryGeometryType(){return this._queryGeometryType}queryGeometry(){return this._queryGeometry}idField(e){"string"==typeof e&&(this.featureSet.objectIdFieldName=e)}finish(){this._options.applyTransform&&(this.featureSet.transform=null);let{spatialReference:e,features:t,fields:n}=this.featureSet;if(!e||e instanceof i.A||(this.featureSet.spatialReference=e=i.A.fromJSON(e)),e)for(const{geometry:n}of t)n&&(n.spatialReference=e);n.forEach((e,t)=>{e instanceof o.A||(n[t]=o.A.fromJSON(e))})}_setVertexTransformer(){const{sourceSpatialReference:e}=this._options,{spatialReference:t,hasZ:n}=this.featureSet,r=n?(0,s.d)(e,t):1;this._transformInPlace??=(0,l.M)(this.featureSet,r)}feature(){this._attributesClass??=(0,l._)(this.featureSet.fields?.map(e=>e.name)??[]),this.featureSet.features.push(new a((0,r.c)(),null,new this._attributesClass)),this._options.applyTransform&&this._setVertexTransformer()}finishFeature(){const{maxStringAttributeLength:e,maxStringAttributeFields:t}=this._options,{attributes:n}=this.featureSet.features.at(-1),r=n[this.featureSet.objectIdFieldName];!function(e,t,n,r){if(t?.size&&null!=n&&e)for(const i in e){if(!t.has(i))continue;const s=e[i];"string"==typeof s&&s.length>n&&(r(i),e[i]="")}}(n,t,e,e=>{null!=r&&this.missingAttributes.push({objectId:r,attribute:e})})}_createPoint(){const{hasZ:e,hasM:t,spatialReference:n}=this.featureSet,r={type:"point",x:0,y:0,spatialReference:n,hasZ:e,hasM:t};return e&&(r.z=0),t&&(r.m=0),r}centroid(e){const{hasZ:t,hasM:n}=this.featureSet,r=this._createPoint();[r.x,r.y]=e,t&&(r.z=e[2]),n&&(r.m=e.at(-1)),this.featureSet.features.at(-1).centroid=r}geometry(e,t,n){this._previousX=this._previousY=0,this._lengths=n;let r,{spatialReference:i,hasZ:s,hasM:o}=this.featureSet;switch(s??=!1,o??=!1,this._vertex=[0,0],s&&this._vertex.push(0),o&&this._vertex.push(0),this._finishVertex=c._finishVertexNonPoint,t){case"esriGeometryPoint":this._point=this._createPoint(),r=this._point,this._finishVertex=s?o?c._finishVertexPointXYZM:c._finishVertexPointXYZ:o?c._finishVertexPointXYM:c._finishVertexPointXY;break;case"esriGeometryMultipoint":r={type:"multipoint",points:[],spatialReference:i,hasZ:s,hasM:o},this._part=r.points,this._parts=[];break;case"esriGeometryPolyline":r={type:"polyline",paths:[],spatialReference:i,hasZ:s,hasM:o},this._parts=r.paths,this._part=[];break;case"esriGeometryPolygon":r={type:"polygon",rings:[],spatialReference:i,hasZ:s,hasM:o},this._parts=r.rings,this._part=[]}1===e?(this._queryGeometry=r,this._queryGeometryType=t,this._options.applyTransform||this._setVertexTransformer()):this.featureSet.features.at(-1).geometry=r}coord(e){const t=this._vertex;t[this._i++]=e,this._i<t.length||(this._i=0,this._transformInPlace&&(t[0]+=this._previousX,t[1]+=this._previousY,[this._previousX,this._previousY]=t,this._transformInPlace(t)),this._finishVertex(this))}static _finishVertexPointXY({_point:e,_vertex:t}){[e.x,e.y]=t}static _finishVertexPointXYZ({_point:e,_vertex:t}){[e.x,e.y,e.z]=t}static _finishVertexPointXYM({_point:e,_vertex:t}){[e.x,e.y,e.m]=t}static _finishVertexPointXYZM({_point:e,_vertex:t}){[e.x,e.y,e.z,e.m]=t}static _finishVertexNonPoint(e){const{_part:t,_parts:n,_lengths:r,_vertex:i}=e;t.push([...i]),t.length<r[n.length]||(e._previousX=e._previousY=0,e._part=[],n.push(t))}}var h=n(66208);class p{_parseFeatureQuery(e){const t=new c(e.options),n=(0,h.m)(e.buffer,t),r={...n,spatialReference:n.spatialReference?.toJSON(),fields:n.fields?n.fields.map(e=>e.toJSON()):void 0,missingAttributes:t.missingAttributes};return Promise.resolve(r)}}function f(){return new p}}}]);
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see bbb97c38d8670329d07e.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7872],{45311(t,e,i){i.d(e,{t:()=>n});var o=i(81610);function a(t){return t[t.openProp||"open"]}async function n(t){await t.updateComplete,a(t)?t.onBeforeOpen():t.onBeforeClose(),await t.updateComplete;const e=function(t){return"transitionRef"in t}(t)?t.transitionRef.value:t.transitionEl;e&&await(0,o.q)(e,t.transitionProp),a(t)?t.onOpen():t.onClose()}},84987(t,e,i){i.d(e,{i:()=>n});const o="calcite-action",a={button:t=>`${o}-${t}-button`,indicator:t=>`${o}-${t}-indicator`};function n(t){return"CALCITE-ACTION"===t?.tagName}i.d(e,["C",0,{button:"button",buttonTextVisible:"button--text-visible",buttonCompact:"button--compact",iconContainer:"icon-container",slotContainer:"slot-container",slotContainerHidden:"slot-container--hidden",textContainer:"text-container",textContainerVisible:"text-container--visible",indicatorWithIcon:"indicator-with-icon",indicatorWithoutIcon:"indicator-without-icon"},"I",0,a])},64228(t,e,i){i(7879),i(31965);var o=i(28030),a=i(46913),n=i(1715),c=i(19313),r=i(26009),l=i(17425),s=i(62533),d=i(20497),h=i(13734),u=i(80777),p=i(28525),b=i(64903),g=i(84987);const v=a.AH`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]){--calcite-internal-action-font-size: var(--calcite-font-size--2);--calcite-internal-action-min-height: var(--calcite-size-sm);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-xxs)}:host([scale=m]){--calcite-internal-action-font-size: var(--calcite-font-size--1);--calcite-internal-action-min-height: var(--calcite-size-md);--calcite-internal-action-line-height: 1rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm)}:host([scale=l]){--calcite-internal-action-font-size: var(--calcite-font-size-0);--calcite-internal-action-min-height: var(--calcite-size-lg);--calcite-internal-action-line-height: 1.25rem;--calcite-internal-action-spacing: var(--calcite-spacing-sm-plus)}:host{display:flex;cursor:pointer;background-color:transparent;--calcite-internal-action-text-color: var(--calcite-color-text-3);border-radius:var(--calcite-action-corner-radius, var(--calcite-action-corner-radius-start-start, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-start-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-end, var(--calcite-corner-radius-xs)) var(--calcite-action-corner-radius-end-start, var(--calcite-corner-radius-xs)))}.interaction-container{border-radius:inherit}:host([width=full]){flex:1 0 auto}:host([width=full]) .button{justify-content:center}:host([width=full]) .button .text-container--visible{flex:none}:host([drag-handle]){cursor:move;--calcite-internal-action-text-color: var(--calcite-color-border-input);--calcite-internal-action-padding-inline: var(--calcite-spacing-xxs)}.button{position:relative;margin:0;display:flex;inline-size:auto;align-items:center;justify-content:flex-start;border-style:none;outline-color:transparent;box-sizing:border-box;background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1));border-radius:inherit;color:var(--calcite-action-text-color, var(--calcite-internal-action-text-color));cursor:inherit;flex:1 0 auto;font-family:inherit;font-size:var(--calcite-internal-action-font-size);font-weight:var(--calcite-font-weight-normal);line-height:var(--calcite-internal-action-line-height);min-block-size:var(--calcite-internal-action-height, var(--calcite-internal-action-min-height));max-block-size:var(--calcite-internal-action-height, none);padding-block:var(--calcite-internal-action-padding-block, var(--calcite-internal-action-spacing));padding-inline:var(--calcite-internal-action-padding-inline, var(--calcite-internal-action-spacing));text-align:start}.button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-2));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}.button:focus{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}.button--text-visible{gap:var(--calcite-internal-action-spacing);inline-size:100%}.icon-container{pointer-events:none;margin:0;display:flex;align-items:center;justify-content:center}.text-container{margin:0;inline-size:0px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;opacity:0;transition-property:opacity;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);transition-property:inline-size}.text-container--visible{inline-size:auto;flex:1 1 auto;opacity:1}:host([active]) .button{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-3));color:var(--calcite-action-text-color-press, var(--calcite-action-text-color-pressed, var(--calcite-color-text-1)))}:host([active]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-foreground-3))}:host([active]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-foreground-3)))}:host([loading]) .button:hover,:host([loading]) .button:focus{background-color:var(--calcite-action-background-color, var(--calcite-color-foreground-1))}:host([loading]) calcite-loader[inline]{margin-inline-end:0px;--calcite-loader-progress-color-inline: var(--calcite-action-loader-color)}:host([appearance=transparent]):host([active]) .button{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([appearance=transparent]) .button{transition-property:box-shadow;transition-duration:var(--calcite-animation-timing);transition-timing-function:cubic-bezier(.4,0,.2,1);background-color:var(--calcite-action-background-color, var(--calcite-color-transparent))}:host([appearance=transparent]) .button:hover{background-color:var(--calcite-action-background-color-hover, var(--calcite-color-transparent-hover))}:host([appearance=transparent]) .button:active{background-color:var(--calcite-action-background-color-press, var(--calcite-action-background-color-pressed, var(--calcite-color-transparent-press)))}:host([selection-appearance=highlight]):host([active]) .button{background-color:var(--calcite-color-surface-highlight);color:var(--calcite-color-text-highlight)}:host([active-descendant]) .button{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(calc(-1 * var(--calcite-spacing-base)) * calc(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([alignment=center]) .button{justify-content:center}:host([alignment=end]) .button{justify-content:flex-end}:host([alignment=center]) .button .text-container--visible,:host([alignment=end]) .button .text-container--visible{flex:0 1 auto}:host([scale=s][compact]) .button,:host([scale=m][compact]) .button,:host([scale=l][compact]) .button{padding-inline:0px}.slot-container{display:flex}.slot-container--hidden{display:none}.indicator-with-icon{position:relative}.indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}.indicator-without-icon{margin-inline:.25rem;inline-size:1rem;position:relative}.indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.275rem;inset-inline-end:-.275rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand))}:host([scale=s]) .indicator-with-icon{position:relative}:host([scale=s]) .indicator-with-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.125rem;inset-inline-end:-.125rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([scale=s]) .indicator-without-icon{position:relative}:host([scale=s]) .indicator-without-icon:after{content:"";position:absolute;block-size:.5rem;inline-size:.5rem;border-radius:9999px;inset-block-end:-.175rem;inset-inline-end:-.175rem;background-color:var(--calcite-action-indicator-color, var(--calcite-color-brand));block-size:.375rem;inline-size:.375rem}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,f=a.AH`.screen-reader-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}`;class m extends r.WF{constructor(){super(...arguments),this.guid=(0,l.g)(),this.buttonRef=(0,c._)(),this.buttonId=g.I.button(this.guid),this.mutationObserver=(0,s.c)("mutation",()=>this.requestUpdate()),this.messages=(0,h.u)({blocking:!0}),this.focusSetter=(0,u.u)()(this),this.indicatorRef=(0,c._)(),this.interactiveContainer=(0,p.u)(this),this.formTrigger=(0,b.u)()(this),this.labelElRef=(0,c._)(),this.active=!1,this.activeDescendant=!1,this.appearance="transparent",this.compact=!1,this.disabled=!1,this.dragHandle=!1,this.iconFlipRtl=!1,this.indicator=!1,this.loading=!1,this.overflowDisabled=!1,this.scale="m",this.width="auto",this.textEnabled=!1,this.type="button"}static{this.properties={aria:[0,{},{attribute:!1}],active:[7,{},{reflect:!0,type:Boolean}],activeDescendant:[7,{},{reflect:!0,type:Boolean}],alignment:[3,{},{reflect:!0}],appearance:[3,{},{reflect:!0}],compact:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],dragHandle:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],icon:[3,{},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],indicator:[7,{},{reflect:!0,type:Boolean}],label:1,loading:[7,{},{reflect:!0,type:Boolean}],messageOverrides:[0,{},{attribute:!1}],overflowDisabled:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}],text:1,textEnabled:[7,{},{reflect:!0,type:Boolean}],type:[3,{},{reflect:!0}],selectionAppearance:[3,{},{reflect:!0}]}}static{this.formAssociated=!0}static{this.styles=[v,f]}async setFocus(t){return this.focusSetter(()=>this.buttonRef.value,t)}connectedCallback(){super.connectedCallback(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect()}getAccessibleLabel(){const t=this.label||this.text||"";return this.indicator?this.messages.indicatorLabel.replace("{label}",t):t}getLabelledByElements(){const t=[...this.labelElRef.value?[this.labelElRef.value]:[],...this.aria?.labelledByElements??[]];return t.length?t:void 0}renderTextContainer(){const{text:t,textEnabled:e}=this,i={[g.C.textContainer]:!0,[g.C.textContainerVisible]:e};return t?(0,n.D)("text-container",a.qy`<div aria-hidden=true class=${(0,r.CP)(i)}>${t}</div>`):null}renderIndicatorText(){const{indicator:t,messages:e,buttonId:i}=this;return a.qy`<div aria-labelledby=${i??r.s6} aria-live=polite class=${(0,r.CP)(o.C.screenReaderText)} role=region ${(0,c.K)(this.indicatorRef)}>${t?e.indicator:null}</div>`}renderIconContainer(){const{loading:t,icon:e,scale:i,el:o,iconFlipRtl:c,indicator:l}=this,s="l"===i?"l":"m",h=t?a.qy`<calcite-loader inline .label=${this.messages.loading} .scale=${s}></calcite-loader>`:null,u=e?a.qy`<calcite-icon class=${(0,r.CP)({[g.C.indicatorWithIcon]:l})} .flipRtl=${c} .icon=${e} .scale=${(0,d.g)(this.scale)}></calcite-icon>`:null,p=h||u,b=p||o.children?.length,v=a.qy`<div class=${(0,r.CP)({[g.C.slotContainer]:!0,[g.C.slotContainerHidden]:t})}><slot></slot></div>`;return b?(0,n.D)("icon-container",a.qy`<div aria-hidden=true class=${(0,r.CP)(g.C.iconContainer)}>${p}${v}</div>`):null}renderLabel(){const t=this.getAccessibleLabel();return t?a.qy`<span class=${(0,r.CP)(o.C.screenReaderText)} ${(0,c.K)(this.labelElRef)}>${t}</span>`:null}renderButton(){const{compact:t,disabled:e,icon:i,loading:o,textEnabled:l,indicator:s,indicatorRef:d,buttonId:h}=this,u=this.getLabelledByElements(),p={[g.C.button]:!0,[g.C.buttonTextVisible]:l,[g.C.buttonCompact]:t},b=a.qy`${this.renderIconContainer()}${this.renderTextContainer()}${!i&&s&&(0,n.D)("indicator-no-icon",a.qy`<div class=${(0,r.CP)(g.C.indicatorWithoutIcon)}></div>`)||""}${this.renderLabel()}`,v=s&&d.value?[d.value]:[],f=[...this.aria?.controlsElements??[],...v];return this.dragHandle?a.qy`<span .ariaBusy=${o} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} id=${h??r.s6} role=button tabindex=${(this.disabled?void 0:0)??r.s6} ${(0,c.K)(this.buttonRef)}>${b}</span>`:a.qy`<button .ariaBusy=${o} .ariaChecked=${this.aria?.checked} .ariaControlsElements=${f} .ariaDescribedByElements=${this.aria?.describedByElements} .ariaExpanded=${this.aria?.expanded} .ariaHasPopup=${this.aria?.hasPopup} .ariaLabelledByElements=${u} .ariaOwnsElements=${this.aria?.ownsElements} .ariaPressed=${this.aria?.pressed} class=${(0,r.CP)(p)} .disabled=${e} id=${h??r.s6} .role=${this.aria?.role} type=${this.type??r.s6} ${(0,c.K)(this.buttonRef)}>${b}</button>`}render(){return this.interactiveContainer({disabled:this.disabled,children:a.qy`${this.renderButton()}${this.renderIndicatorText()}`})}}(0,o.c)("calcite-action",m)},47872(t,e,i){i.r(e),i.d(e,{Notice:()=>g}),i(64228),i(31965);var o=i(28030),a=i(46913),n=i(19313),c=i(26009),r=i(52446),l=i(81610);const s={danger:"exclamationMarkTriangleF",info:"informationF",success:"checkCircleF",warning:"exclamationMarkTriangleF"};var d=i(45311),h=i(20497),u=i(13734),p=i(80777);const b=a.AH`:host([scale=s]){--calcite-notice-spacing-token-small: .5rem;--calcite-notice-spacing-token-large: .75rem}:host([scale=s]) .container slot[name=title]::slotted(*),:host([scale=s]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) .container slot[name=message]::slotted(*),:host([scale=s]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=s]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-sm);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]){--calcite-notice-spacing-token-small: .75rem;--calcite-notice-spacing-token-large: 1rem}:host([scale=m]) .container slot[name=title]::slotted(*),:host([scale=m]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) .container slot[name=message]::slotted(*),:host([scale=m]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=m]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-base);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]){--calcite-notice-spacing-token-small: 1rem;--calcite-notice-spacing-token-large: 1.25rem}:host([scale=l]) .container slot[name=title]::slotted(*),:host([scale=l]) .container *::slotted([slot=title]){font-size:var(--calcite-font-size-relative-lg);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .container slot[name=message]::slotted(*),:host([scale=l]) .container *::slotted([slot=message]){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) ::slotted(calcite-link){font-size:var(--calcite-font-size-relative-md);line-height:var(--calcite-font-line-height-relative-snug)}:host([scale=l]) .notice-close{margin-inline-end:var(--calcite-spacing-sm)}:host([scale=l]) .actions-end{margin-inline-end:var(--calcite-spacing-sm);gap:var(--calcite-spacing-sm)}:host([width=auto]){--calcite-notice-width: auto}:host([width=half]){--calcite-notice-width: 50%}:host([width=full]){--calcite-notice-width: 100%}:host{margin-inline:auto;display:none;max-inline-size:100%;align-items:center;inline-size:var(--calcite-notice-width)}.container{pointer-events:none;margin-block:0px;box-sizing:border-box;display:flex;inline-size:100%;opacity:0;overflow:hidden;max-block-size:0;transition-property:opacity,max-block-size;transition-duration:var(--calcite-animation-timing);text-align:start;border-radius:var(--calcite-notice-corner-radius, var(--calcite-corner-radius-sm));box-shadow:var(--calcite-notice-shadow, var(--calcite-shadow-none))}:host{display:flex}:host([open]) .container{pointer-events:auto;max-block-size:100%;align-items:center;opacity:1;overflow:visible}@starting-style{:host([open]) .container{opacity:0;max-block-size:0}}:host([open][appearance=outline-fill]) .container{border:var(--calcite-border-width-sm) solid}.container slot[name=title]::slotted(*),.container *::slotted([slot=title]){margin:0;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-notice-title-text-color, var(--calcite-color-text-1))}.container slot[name=message]::slotted(*),.container *::slotted([slot=message]){margin:0;display:inline;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-notice-content-text-color, var(--calcite-color-text-2))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=title]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=title]){color:var(--calcite-notice-title-text-color, var(--calcite-color-text-inverse))}:host(:not([kind=neutral])[appearance=solid]) .container slot[name=message]::slotted(*),:host(:not([kind=neutral])[appearance=solid]) .container *::slotted([slot=message]){color:var(--calcite-notice-content-text-color, var(--calcite-color-text-inverse))}.notice-content{box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;display:flex;min-inline-size:0px;flex-direction:column;overflow-wrap:break-word;flex:1 1 0;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:0 var(--calcite-notice-spacing-token-large)}.notice-content:first-of-type:not(:only-child){padding-inline-start:var(--calcite-notice-spacing-token-large)}.notice-content:only-of-type{padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large)}.notice-icon{display:flex;align-items:center;box-sizing:border-box;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;padding-block:var(--calcite-notice-spacing-token-small);padding-inline:var(--calcite-notice-spacing-token-large);flex:0 0 auto;padding-inline:var(--calcite-notice-spacing-token-small)}.notice-close{box-sizing:border-box;display:flex;cursor:pointer;align-items:center;transition-property:background-color,block-size,border-color,box-shadow,color,inset-block-end,inset-block-start,inset-inline-end,inset-inline-start,inset-size,opacity,outline-color,transform;transition-duration:var(--calcite-animation-timing);transition-timing-function:ease-in-out;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);--calcite-action-background-color: var(--calcite-notice-close-background-color);--calcite-action-background-color-hover: var( --calcite-notice-close-background-color-hover, var(--calcite-notice-close-background-color-focus) );--calcite-action-background-color-press: var(--calcite-notice-close-background-color-press);--calcite-action-text-color: var(--calcite-notice-close-icon-color, var(--calcite-color-text-3));--calcite-action-text-color-press: var(--calcite-notice-close-icon-color-hover)}.actions-end{display:flex;align-items:center;flex:0 0 auto;margin-inline-end:var(--calcite-spacing-xs);gap:var(--calcite-spacing-xs)}:host([kind=brand][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-brand) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-brand) 5%, var(--calcite-color-foreground-1)))}:host([kind=brand][appearance=outline-fill]) .notice-icon,:host([kind=brand][appearance=transparent]) .notice-icon{color:var(--calcite-color-brand)}:host([kind=info][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-info) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-info) 5%, var(--calcite-color-foreground-1)))}:host([kind=info][appearance=outline-fill]) .notice-icon,:host([kind=info][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-info)}:host([kind=danger][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-danger) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-danger) 5%, var(--calcite-color-foreground-1)))}:host([kind=danger][appearance=outline-fill]) .notice-icon,:host([kind=danger][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-danger)}:host([kind=success][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-success) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-success) 5%, var(--calcite-color-foreground-1)))}:host([kind=success][appearance=outline-fill]) .notice-icon,:host([kind=success][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-success)}:host([kind=warning][appearance=outline-fill]) .container{border-color:var(--calcite-notice-border-color, rgb(from var(--calcite-color-status-warning) r g b/var(--calcite-opacity-half)));background-color:var(--calcite-notice-background-color, color-mix(in srgb, var(--calcite-color-status-warning) 5%, var(--calcite-color-foreground-1)))}:host([kind=warning][appearance=outline-fill]) .notice-icon,:host([kind=warning][appearance=transparent]) .notice-icon{color:var(--calcite-color-status-warning)}:host([kind=neutral][appearance=outline-fill]) .container{border-color:var(--calcite-color-border-2);background-color:var(--calcite-notice-background-color, var(--calcite-color-foreground-1))}:host([kind=neutral]) .notice-icon{color:var(--calcite-color-text-3)}:host([appearance=transparent]) .container{background-color:transparent}:host([hidden]){display:none}[hidden]{display:none}`;class g extends c.WF{constructor(){super(...arguments),this.closeButtonRef=(0,n._)(),this.transitionProp="opacity",this.transitionRef=(0,n._)(),this.messages=(0,u.u)(),this.focusSetter=(0,p.u)()(this),this.hasActionEnd=!1,this.appearance="outline-fill",this.closable=!1,this.iconFlipRtl=!1,this.kind="brand",this.open=!1,this.scale="m",this.width="auto",this.calciteNoticeBeforeClose=(0,r.c)({cancelable:!1}),this.calciteNoticeBeforeOpen=(0,r.c)({cancelable:!1}),this.calciteNoticeClose=(0,r.c)({cancelable:!1}),this.calciteNoticeOpen=(0,r.c)({cancelable:!1})}static{this.properties={hasActionEnd:[16,{},{state:!0}],appearance:[3,{},{reflect:!0}],closable:[7,{},{reflect:!0,type:Boolean}],icon:[3,{converter:c.pf},{reflect:!0}],iconFlipRtl:[7,{},{reflect:!0,type:Boolean}],kind:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=b}async setFocus(t){return this.focusSetter(()=>this.el.querySelector("calcite-link")||this.closeButtonRef.value,t)}async load(){this.kindIcons={...s,brand:"lightbulb"},this.requestedIcon=(0,l.e)(this.kindIcons,this.icon,this.kind)}willUpdate(t){t.has("open")&&(this.hasUpdated||!1!==this.open)&&(0,d.t)(this),(t.has("icon")||t.has("kind")&&(this.hasUpdated||"brand"!==this.kind))&&(this.requestedIcon=(0,l.e)(this.kindIcons,this.icon,this.kind))}onBeforeClose(){this.calciteNoticeBeforeClose.emit()}onBeforeOpen(){this.calciteNoticeBeforeOpen.emit()}onClose(){this.calciteNoticeClose.emit()}onOpen(){this.calciteNoticeOpen.emit()}close(){this.open=!1}handleActionsEndSlotChange(t){this.hasActionEnd=(0,l.s)(t)}render(){const t=a.qy`<calcite-action class=${(0,c.CP)("notice-close")} icon=x @click=${this.close} .scale=${this.scale} .text=${this.messages.close} ${(0,n.K)(this.closeButtonRef)}></calcite-action>`;return a.qy`<div class=${(0,c.CP)("container")} ${(0,n.K)(this.transitionRef)}>${this.requestedIcon?a.qy`<div class=${(0,c.CP)("notice-icon")}><calcite-icon .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,h.g)(this.scale)}></calcite-icon></div>`:null}<div class=${(0,c.CP)("notice-content")}><slot name=${"title"}></slot><slot name=${"message"}></slot><slot name=${"link"}></slot></div><div class=${(0,c.CP)("actions-end")} .hidden=${!this.hasActionEnd}><slot name=${"actions-end"} @slotchange=${this.handleActionsEndSlotChange}></slot></div>${this.closable?t:null}</div>`}}(0,o.c)("calcite-notice",g)},1715(t,e,i){i.d(e,{D:()=>c});var o=i(60496),a=i(43356),n=i(38632);const c=(0,a.u$)(class extends a.WL{constructor(){super(...arguments),this.key=o.s6}render(t,e){return this.key=t,e}update(t,[e,i]){return e!==this.key&&((0,n.mY)(t),this.key=e),i}})}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6572],{65529(e,n,t){var i=t(69622),a=t(36563);const r=e=>{const n=e;return class extends n{constructor(){super(...arguments),this._listenersMap=null}clearEvents(){this._listenersMap?.clear(),this._listenersMap=null}destroy(){this.clearEvents()}emit(e,n){let t=this._listenersMap?.get(e);if(!t)return!1;let i=!1;for(const e of t.slice()){const t="deref"in e?e.deref():e;t?t?.call(this,n):i=!0}return i&&(t=t.filter(e=>!("deref"in e)||null!=e.deref()),this._listenersMap.set(e,t)),t.length>0}on(e,n){if(Array.isArray(e)){const t=e.map(e=>this.on(e,n));return(0,a.vE)(t)}if(e.includes(","))throw new TypeError("Evented.on() with a comma delimited string of event types is not supported");this._listenersMap??=new Map;const t=this._listenersMap.get(e)||[];return t.push(n),this._listenersMap.set(e,t),(0,a.hA)(()=>{const t=this._listenersMap?.get(e),i=t?.indexOf(n)??-1;i>=0&&t.splice(i,1)})}once(e,n){const t=this.on(e,e=>{t.remove();const i="deref"in n?n.deref():n;i?.call(null,e)});return t}hasEventListener(e){const n=this._listenersMap?.get(e);return null!=n&&n.length>0}}},s=r(class{}),o=s,l=r(i.A);t.d(n,["Zt",0,r,"a$",0,s,"bk",0,o,"nJ",0,l])},3483(e,n,t){function i(e,n){for(const t of e.values())if(n(t))return!0;return!1}function a(e,n){if(n)for(const t of n)null!=t&&e.add(t)}function r(e,n){null!=n&&e.add(n)}function s(e,n){const t=new Set;return a(t,e),a(t,n),t}function o(e,n){const t=new Set;for(const i of n)e.has(i)&&t.add(i);return t}function l(e,n){if(!e||!n)return!1;if(e===n)return!0;for(const t of e)if(!n.has(t))return!1;return!0}function u(e,n){if(null==e&&null==n)return!0;if(null==e||null==n||e.size!==n.size)return!1;for(const t of e)if(!n.has(t))return!1;return!0}function d(e,n){const t=new Set(e);for(const e of n)t.delete(e);return t}t.d(n,{E$:()=>o,FB:()=>a,KC:()=>s,Yy:()=>l,aI:()=>u,bw:()=>i,iv:()=>d,kb:()=>r})},95488(e,n,t){t.d(n,{I:()=>a});var i=t(11406);class a extends i.T{notify(){const e=this._observers;if(e&&e.length>0){const n=e.slice();for(const e of n)e.onInvalidated(),e.onCommitted()}}}},51850(e,n,t){function i(){return[0,0,0]}function a(e){return[e[0],e[1],e[2]]}function r(e,n,t){return[e,n,t]}function s(e,n,t){return[e,n,t]}function o(e,n=[0,0,0]){const t=Math.min(3,e.length);for(let i=0;i<t;++i)n[i]=e[i];return n}function l(){return r(1,1,1)}function u(){return r(1,0,0)}function d(){return r(0,1,0)}function c(){return r(0,0,1)}t.d(n,{CN:()=>s,ci:()=>o,fA:()=>r,o8:()=>a,vt:()=>i});const m=[0,0,0],f=l(),T=u(),p=d(),g=c();Object.freeze(Object.defineProperty({__proto__:null,ONES:f,UNIT_X:T,UNIT_Y:p,UNIT_Z:g,ZEROS:m,clone:a,create:i,freeze:s,fromArray:o,fromValues:r,ones:l,unitX:u,unitY:d,unitZ:c,zeros:function(){return[0,0,0]}},Symbol.toStringTag,{value:"Module"})),t.d(n,["Cb",0,g,"Cw",0,T,"JP",0,p,"Un",0,f,"uY",0,m])},39516(e,n,t){let i;async function a(e,n){const a=await async function(){return null==i&&(i=Promise.all([t.e(4800),t.e(9696),t.e(1938)]).then(t.bind(t,44123)).then(e=>new e.WhereClauseCache(500,500))),i}(),r=a.get(e,n);if(null==r)throw a.getError(e,n);return r}function r(e,n){return e||=null,n||=null,"1=1"===e?n??e:"1=1"===n?e??n:e&&n?`(${e}) AND (${n})`:e??n}function s(e,n){return e||=null,n||=null,"1=1"===e||"1=1"===n||e===n?"1=1"===e?e:n:e&&n?`(${e}) OR (${n})`:e??n}t.d(n,{GP:()=>a,IW:()=>s,mA:()=>r}),t(3330),t(56400)},3330(e,n,t){t.d(n,{GB:()=>a,Qo:()=>s,Y4:()=>r});var i=t(92647);class a{static{this.instance=i.mQ.parseSpecifier("UTC")}}function r(e){return e instanceof i.bo?e===a.instance:"unknown"===e?.toString().toLowerCase()}function s(e){return r(e)?a.instance:e}},39829(e,n,t){t.d(n,{A:()=>v});var i,a=t(5482),r=t(4576),s=t(51447),o=t(4718),l=t(53966),u=t(91429),d=t(5443),c=t(91075),m=t(86738),f=t(16930),T=t(12359),p=t(94078),g=t(95108),h=t(90634),y=t(47610),S=t(28735),A=t(56993),M=t(43937);function b(e){return!Array.isArray(e[0])}let v=i=class extends c.A{static fromExtent(e){const n=e.clone().normalize(),{spatialReference:t}=e;let a=!1,r=!1;for(const e of n)e.hasZ&&(a=!0),e.hasM&&(r=!0);const s={rings:n.map(e=>{const n=[[e.xmin,e.ymin],[e.xmin,e.ymax],[e.xmax,e.ymax],[e.xmax,e.ymin],[e.xmin,e.ymin]];if(a&&e.hasZ){const t=e.zmin+.5*(e.zmax-e.zmin);for(let e=0;e<n.length;e++)n[e].push(t)}if(r&&e.hasM){const t=e.mmin+.5*(e.mmax-e.mmin);for(let e=0;e<n.length;e++)n[e].push(t)}return n}),spatialReference:t};return a&&(s.hasZ=!0),r&&(s.hasM=!0),new i(s)}constructor(e){super(function(e){if(!e)return;let{rings:n,hasM:t,hasZ:i,spatialReference:a}=e;switch(n??=[],function(e){return"number"==typeof e[0]?.[0]}(n)&&(n=[n]),n[0]?.[0]?.length){case 4:i??=!0,t??=!0;break;case 3:i??=!0!==t,t??=!i;break;default:i??=!1,t??=!1}return a??=f.A.WGS84,{...e,hasM:t,hasZ:i,rings:n,spatialReference:a}}(e)),this.curveRings=void 0,this.rings=[],this.type="polygon"}get cache(){return this.commitProperty("curveRings"),this.commitProperty("hasM"),this.commitProperty("hasZ"),this.commitProperty("rings"),this.commitProperty("spatialReference"),{}}get centroid(){(0,s.Lx)(l.A.getLogger(this),"centroid",{replacement:"Please use centroidOperator.execute() instead.",version:"4.34",warnOnce:!0});const e=(0,T.Ve)(this);return e?m.A.fromJSON(e):null}writeCurveRings(e,n){n.curveRings=(0,o.o8)(e)}get extent(){const e=(0,h.v)(this),{spatialReference:n}=this;return e?new d.A({...e,spatialReference:n}):null}writeRings(e,n){n.rings=(0,o.o8)(this.rings)}addRing(e){if(!e)return;const n=this.rings,t=n.length;if(b(e)){const i=[];for(let n=0,t=e.length;n<t;n++)i[n]=e[n].toArray();n[t]=i}else n[t]=e.slice();return this.notifyChange("rings"),this}clone(){const e=new i;return e.spatialReference=this.spatialReference,e.rings=(0,o.o8)(this.rings),e.curveRings=(0,o.o8)(this.curveRings),e.hasZ=this.hasZ,e.hasM=this.hasM,e}equals(e){if(this===e)return!0;if(null==e)return!1;const n=this.spatialReference,t=e.spatialReference;if(null!=n!=(null!=t))return!1;if(null!=n&&null!=t&&!n.equals(t))return!1;if(this.rings.length!==e.rings.length)return!1;for(let n=0;n<this.rings.length;n++){const t=this.rings[n],i=e.rings[n];if(!(0,r.aI)(t,i,y.v6))return!1}return!0}contains(e){if(!e)return!1;const n=(0,S.Cv)(e,this.spatialReference);return(0,p.m3)(this,null!=n?n:e)}isClockwise(e){const n=b(e)?e.map(e=>this.hasZ?this.hasM?[e.x,e.y,e.z,e.m]:[e.x,e.y,e.z]:[e.x,e.y]):e;return(0,g.$3)(n)}getPoint(e,n){if(!this._validateInputs(e,n))return null;const t=this.rings[e][n],i=this.hasZ,a=this.hasM;return i&&!a?new m.A(t[0],t[1],t[2],void 0,this.spatialReference):a&&!i?new m.A(t[0],t[1],void 0,t[2],this.spatialReference):i&&a?new m.A(t[0],t[1],t[2],t[3],this.spatialReference):new m.A(t[0],t[1],this.spatialReference)}insertPoint(e,n,t){return this._validateInputs(e,n,!0)?((0,A.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.rings[e].splice(n,0,t),this.notifyChange("rings"),this):this}removePoint(e,n){if(!this._validateInputs(e,n))return null;const t=new m.A(this.rings[e].splice(n,1)[0],this.spatialReference);return this.notifyChange("rings"),t}removeRing(e){if(!this._validateInputs(e,null))return null;const n=this.rings.splice(e,1)[0],t=this.spatialReference,i=n.map(e=>new m.A(e,t));return this.notifyChange("rings"),i}setPoint(e,n,t){return this._validateInputs(e,n)?((0,A.h)(this,t),Array.isArray(t)||(t=t.toArray()),this.rings[e][n]=t,this.notifyChange("rings"),this):this}_validateInputs(e,n,t=!1){if(null==e||e<0||e>=this.rings.length)return!1;if(null!=n){const i=this.rings[e];if(t&&(n<0||n>i.length))return!1;if(!t&&(n<0||n>=i.length))return!1}return!0}toJSON(e){return this.write({},e)}};(0,a.Cg)([(0,u.MZ)({readOnly:!0})],v.prototype,"cache",null),(0,a.Cg)([(0,u.MZ)({readOnly:!0})],v.prototype,"centroid",null),(0,a.Cg)([(0,u.MZ)({json:{write:!0,origins:{"portal-item":{write:!1},"web-map":{write:!1},"web-scene":{write:!1}}}})],v.prototype,"curveRings",void 0),(0,a.Cg)([(0,M.K)("curveRings")],v.prototype,"writeCurveRings",null),(0,a.Cg)([(0,u.MZ)({readOnly:!0})],v.prototype,"extent",null),(0,a.Cg)([(0,u.MZ)({type:[[[Number]]],json:{write:{isRequired:!0}}})],v.prototype,"rings",void 0),(0,a.Cg)([(0,M.K)("rings")],v.prototype,"writeRings",null),v=i=(0,a.Cg)([(0,u.$K)("esri.geometry.Polygon")],v),v.prototype.toJSON.isDefaultToJSON=!0},90634(e,n,t){t.d(n,{HA:()=>d,JM:()=>c,Z3:()=>T,ge:()=>m,v:()=>f});var i=t(537);const a=[];function r(e,n,t,i){return{xmin:e,ymin:n,xmax:t,ymax:i}}function s(e,n,t,i,a,r){return{xmin:e,ymin:n,zmin:t,xmax:i,ymax:a,zmax:r}}function o(e,n,t,i,a,r){return{xmin:e,ymin:n,mmin:t,xmax:i,ymax:a,mmax:r}}function l(e,n,t,i,a,r,s,o){return{xmin:e,ymin:n,zmin:t,mmin:i,xmax:a,ymax:r,zmax:s,mmax:o}}function u(e,n=!1,t=!1){return n?t?l(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]):s(e[0],e[1],e[2],e[3],e[4],e[5]):t?o(e[0],e[1],e[2],e[3],e[4],e[5]):r(e[0],e[1],e[2],e[3])}function d(e){return e?function(e){return void 0!==e.xmin&&void 0!==e.ymin&&void 0!==e.xmax&&void 0!==e.ymax}(e)?e:function(e){return void 0!==e.x&&void 0!==e.y}(e)?function(e){const{x:n,y:t,z:i,m:a}=e,u=null!=a;return null!=i?u?l(n,t,i,a,n,t,i,a):s(n,t,i,n,t,i):u?o(n,t,a,n,t,a):r(n,t,n,t)}(e):function(e){return void 0!==e.rings}(e)?f(e):function(e){return void 0!==e.paths}(e)?T(e):function(e){return void 0!==e.points}(e)?m(e):null:null}function c(e,{xmin:n,ymin:t,zmin:i,mmin:a,xmax:r,ymax:s,zmax:o,mmax:l}){e.xmin=Math.min(e.xmin,n),e.xmax=Math.max(e.xmax,r),e.ymin=Math.min(e.ymin,t),e.ymax=Math.max(e.ymax,s),null!=e.zmin&&(e.zmin=Math.min(e.zmin,i),e.zmax=Math.max(e.zmax,o)),null!=e.mmin&&(e.mmin=Math.min(e.mmin,a),e.mmax=Math.max(e.mmax,l))}function m(e){const{hasZ:n,hasM:t,points:r}=e,s=(0,i.Pj)(a,r,n??!1,t??!1,n??!1,t??!1);return s?u(s,n,t):null}function f(e){const{hasZ:n,hasM:t,rings:r,curveRings:s}=e,o=(0,i.Yz)(a,s??r,n??!1,t??!1);return o?u(o,n,t):null}function T(e){const{hasZ:n,hasM:t,paths:r,curvePaths:s}=e,o=(0,i.Yz)(a,s??r,n??!1,t??!1);return o?u(o,n,t):null}},47610(e,n,t){function i([e,n,t,i],[a,r,s,o]){return e===a&&n===r&&(null==t&&null==s||t===s)&&(null==i&&null==o||i===o)}t.d(n,{v6:()=>i}),t(5443),t(83960)},83960(e,n,t){t.d(n,{X_:()=>r,oW:()=>o,zx:()=>s});var i=t(34727),a=t(86211);function r(e,n){const t=n||e.extent,i=e.width,r=(0,a.GA)(t?.spatialReference);return t&&i?t.width/i*r*39.37*96:0}function s(e,n,t){return function(e,n){return 0===n||(0,i.Sp)(e,n)||e<n}(e,n)&&function(e,n){return 0===n||(0,i.Sp)(e,n)||e>n}(e,t)}function o(e,n){return(0,i.Sp)(e,n)?0:(e||Number.POSITIVE_INFINITY)>(n||Number.POSITIVE_INFINITY)?1:-1}},56993(e,n,t){function i(e,n,t=!1){let{hasM:i,hasZ:a}=e;Array.isArray(n)?4!==n.length||i||a?3===n.length&&t&&!i?(a=!0,i=!1):3===n.length&&i&&a&&(i=!1,a=!1):(i=!0,a=!0):(a=!a&&n.hasZ&&(!i||n.hasM),i=!i&&n.hasM&&(!a||n.hasZ)),e.hasZ=a,e.hasM=i}t.d(n,{h:()=>i})},68463(e,n,t){t.d(n,{A5:()=>h});var i=t(3483),a=t(97768),r=t(54218),s=t(92647);const o=["HH:mm:ss.SSS","HH:mm:ss","HH:mm","TT"];function l(e){if(!e||!(0,r.Kg)(e))return null;const n=s.c9.fromFormat(e,"yyyy-MM-dd");return n.isValid?n:null}function u(e){return e&&(0,r.Kg)(e)?(0,a.Pb)(o,n=>{const t=s.c9.fromFormat(e,n);return t.isValid?t:null})??null:null}function d(e){if(!e||!(0,r.Kg)(e))return null;const n=s.c9.fromISO(e);return n.isValid?n:null}const c=new Set(["integer","small-integer","long","big-integer","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]);function m(e){return null!=e&&c.has(e.type)}function f(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function T(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function p(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}const g=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]);function h(e,n){const t=n??e?.domain;if(!t||"range"!==t.type)return;const i="range"in t?t.range[0]:t.minValue,a="range"in t?t.range[1]:t.maxValue,r=m(e);return f(e)||p(e)||T(e)?{...y(e,a,i),isInteger:r}:{min:null!=i&&"number"==typeof i?i:null,max:null!=a&&"number"==typeof a?a:null,rawMin:i,rawMax:a,isInteger:r}}function y(e,n,t){return f(e)?{min:l(t)?.toMillis(),max:l(n)?.toMillis(),rawMin:t,rawMax:n}:p(e)?{min:u(t)?.toMillis(),max:u(n)?.toMillis(),rawMin:t,rawMax:n}:T(e)?{min:d(t)?.toMillis(),max:d(n)?.toMillis(),rawMin:t,rawMax:n}:{max:null,min:null}}(0,i.KC)(c,g)},30524(e,n,t){t.d(n,{Ah:()=>j,Bz:()=>N,CJ:()=>ne,DB:()=>h,Dx:()=>M,GZ:()=>ge,JL:()=>ce,Jl:()=>_,Kl:()=>de,NF:()=>pe,OG:()=>Q,OH:()=>J,R$:()=>k,R3:()=>B,Vb:()=>Te,WA:()=>V,WX:()=>q,XT:()=>ee,Xz:()=>Y,_b:()=>R,_w:()=>y,e7:()=>fe,eX:()=>C,hL:()=>A,lD:()=>P,mB:()=>b,nw:()=>me,rS:()=>d,rq:()=>S,sv:()=>p,te:()=>X,uo:()=>ue,vE:()=>W,yM:()=>K,yp:()=>f,zD:()=>H}),t(49186);var i=t(93637),a=t(3483),r=(t(39516),t(68463),t(69309)),s=t(54218),o=t(43668);const l=/^([0-9_])/,u=/[^a-z0-9_\u0080-\uffff]+/gi;function d(e){return null==e?null:e.trim().replaceAll(u,"_").replace(l,"F$1")||null}const c=["field","field2","field3","normalizationField","rotationInfo.field","proportionalSymbolInfo.field","proportionalSymbolInfo.normalizationField","colorInfo.field","colorInfo.normalizationField"],m=["field","normalizationField"];function f(e,n){if(null!=e&&null!=n)for(const t of Array.isArray(e)?e:[e])if(T(c,t,n),"visualVariables"in t&&t.visualVariables)for(const e of t.visualVariables)T(m,e,n)}function T(e,n,t){if(e)for(const a of e){const e=(0,i.wc)(a,n),r=e&&"function"!=typeof e&&t.get(e);r&&(0,i.sM)(a,r.name,n)}}function p(e,n){if(null!=e&&n?.fields?.length)if("startField"in e){const t=n.get(e.startField),i=n.get(e.endField);e.startField=t?.name??null,e.endField=i?.name??null}else{const t=n.get(e.startTimeField),i=n.get(e.endTimeField);e.startTimeField=t?.name??null,e.endTimeField=i?.name??null}}const g=new Set;function h(e,n){return e&&n?(g.clear(),y(g,e,n),Array.from(g).sort()):[]}function y(e,n,t){if(t)if(n?.fields?.length)if(t.includes("*"))for(const{name:t}of n.fields)e.add(t);else for(const i of t)S(e,n,i);else{if(t.includes("*"))return e.clear(),void e.add("*");for(const n of t)null!=n&&e.add(n)}}function S(e,n,t){if("string"==typeof t)if(n){const i=n.get(t);i&&e.add(i.name)}else e.add(t)}function A(e,n){return null==n||null==e?[]:n.includes("*")?(e.fields??[]).map(e=>e.name):n}async function M(e,n,t,i){if(!i)return;const a=(0,r.o)(i);if(a)S(e,n,a);else{const{arcadeUtils:a}=await(0,o.l)(),r=a.extractFieldNames(i,t?.partitions??n?.fields?.map(e=>e.name));for(const i of r)S(e,t?.index??n,i)}}function b({displayField:e,fields:n}){return e||(n?.length?function(e){return v(e,"name-or-title")||v(e,"unique-identifier")||v(e,"type-or-category")||function(e){for(const n of e){if(!n?.name)continue;const e=n.name.toLowerCase();if(e.includes("name")||e.includes("title"))return n.name}return null}(e)}(n):null)}function v(e,n){for(const t of e)if(t?.valueType&&t.valueType===n)return t.name;return null}function C(e){return e?h(e.fieldsIndex,F(e)):[]}const x=new Set(["oid","global-id","guid"]),w=new Set(["oid","global-id"]),E=[/^fnode_$/i,/^tnode_$/i,/^lpoly_$/i,/^rpoly_$/i,/^poly_$/i,/^shape$/i,/^shape_$/i,/^subclass$/i,/^subclass_$/i,/^rings_ok$/i,/^rings_nok$/i,/objectid/i,/^perimeter_/i,/_perimeter$/i,/_i$/i];function F(e){if(!e)return[];const n="editFieldsInfo"in e&&e.editFieldsInfo;if(!n)return[];const{creationDateField:t,creatorField:i,editDateField:a,editorField:r}=n;return[t,i,a,r].filter(Boolean)}function I(e){return F(e).map(e=>e.toLowerCase())}function _(e){return!!e.type}function k(e,n){return!!e.editable&&_(e)&&!x.has(e.type)&&!I(n).includes(e.name?.toLowerCase()??"")}function N(e,n){const t=e.name?.toLowerCase()??"";return!(null!=n?.objectIdField&&t===n.objectIdField.toLowerCase()||null!=n?.globalIdField&&t===n.globalIdField.toLowerCase()||function(e){const n=new Set;I(e).forEach(e=>n.add(e)),function(e){if(!e)return[];const n=e.geometryFieldsInfo;return n?h(e.fieldsIndex,[n.shapeAreaField,n.shapeLengthField]):[]}(e).forEach(e=>n.add(e.toLowerCase()));const t=e&&"infoFor3D"in e?e.infoFor3D:void 0;return t&&(Object.values(t.assetMapFieldRoles).forEach(e=>n.add(e.toLowerCase())),Object.values(t.transformFieldRoles).forEach(e=>n.add(e.toLowerCase()))),Array.from(n)}(n).includes(t)||w.has(e.type)||E.some(e=>e.test(t)))}function P(e){const n=e.defaultValue;return void 0!==n&&L(e,n)?n:e.nullable?null:void 0}function R(e){const n="string"==typeof e?{type:e}:e;return K(n)?255:"esriFieldTypeDate"===n.type||"date"===n.type?8:void 0}function G(e){return"number"==typeof e&&!isNaN(e)&&isFinite(e)}function U(e){return null===e||G(e)}function z(e){return null===e||Number.isInteger(e)}function Z(){return!0}function L(e,n){let t;switch(e.type){case"date":case"integer":case"long":case"small-integer":case"big-integer":case"esriFieldTypeDate":case"esriFieldTypeInteger":case"esriFieldTypeLong":case"esriFieldTypeSmallInteger":case"esriFieldTypeBigInteger":t=e.nullable?z:Number.isInteger;break;case"double":case"single":case"esriFieldTypeSingle":case"esriFieldTypeDouble":t=e.nullable?U:G;break;case"string":case"esriFieldTypeString":t=e.nullable?s.CO:s.Kg;break;default:t=Z}return 1===arguments.length?t:t(n)}const $=new Set(["integer","small-integer","big-integer","long","esriFieldTypeInteger","esriFieldTypeSmallInteger","esriFieldTypeLong","esriFieldTypeBigInteger"]),O=new Set(["single","double","esriFieldTypeSingle","esriFieldTypeDouble"]),D=(0,a.KC)($,O);function B(e){return null!=e&&$.has(e.type)}function V(e){return null!=e&&D.has(e.type)}function K(e){return null!=e&&("string"===e.type||"esriFieldTypeString"===e.type)}function W(e){return null!=e&&("date"===e.type||"esriFieldTypeDate"===e.type)}function H(e){return null!=e&&("date-only"===e.type||"esriFieldTypeDateOnly"===e.type)}function j(e){return null!=e&&("timestamp-offset"===e.type||"esriFieldTypeTimestampOffset"===e.type)}function J(e){return null!=e&&("time-only"===e.type||"esriFieldTypeTimeOnly"===e.type)}function X(e){return null!=e&&("oid"===e.type||"esriFieldTypeOID"===e.type)}function Y(e){return null!=e&&("global-id"===e.type||"esriFieldTypeGlobalID"===e.type)}function Q(e,n){return null===ne(e,n)}function q(e){return null==e||"number"==typeof e&&isNaN(e)?null:e}function ee(e){return parseFloat(e.replaceAll("_",""))}function ne(e,n){return null==e||e.nullable&&null===n?null:L(e,n)?V(e)&&!function(e,n){const t="string"==typeof e?te(e):e;if(!t)return!1;const i=t.min,a=t.max;return t.isInteger?Number.isInteger(n)&&n>=i&&n<=a:n>=i&&n<=a}(e.type,Number(n))?"numeric-range-validation-error::out-of-range":null:"type-validation-error::invalid-type"}function te(e){switch(e){case"esriFieldTypeSmallInteger":case"small-integer":return ie;case"esriFieldTypeInteger":case"esriFieldTypeLong":case"integer":case"long":return ae;case"esriFieldTypeBigInteger":case"big-integer":return re;case"esriFieldTypeSingle":case"single":return oe;case"esriFieldTypeDouble":case"double":return le}}const ie={min:-32768,max:32767,isInteger:!0,rawMin:-32768,rawMax:32767},ae={min:-2147483648,max:2147483647,isInteger:!0,rawMin:-2147483648,rawMax:2147483647},re={min:-Number.MAX_SAFE_INTEGER,max:Number.MAX_SAFE_INTEGER,isInteger:!0,rawMin:-Number.MAX_SAFE_INTEGER,rawMax:Number.MAX_SAFE_INTEGER},se=(2-2**-23)*2**127,oe={min:-se,max:se,isInteger:!1,rawMin:-se,rawMax:se},le={min:-Number.MAX_VALUE,max:Number.MAX_VALUE,isInteger:!1,rawMin:-Number.MAX_VALUE,rawMax:Number.MAX_VALUE};function ue(e,n,t){switch(e){case"domain-validation-error::invalid-coded-value":return`Value ${t} is not in the coded domain - field: ${n.name}, domain: ${JSON.stringify(n.domain)}`;case"domain-validation-error::value-out-of-range":return`Value ${t} is out of the range of valid values - field: ${n.name}, domain: ${JSON.stringify(n.domain)}`;case"type-validation-error::invalid-type":return`Value ${t} is not a valid value for the field type - field: ${n.name}, type: ${n.type}, nullable: ${n.nullable}`;case"numeric-range-validation-error::out-of-range":{const{min:e,max:i}=te(n.type);return`Value ${t} is out of range for the number type - field: ${n.name}, type: ${n.type}, value range is ${e} to ${i}`}}}function de(e,n){return!function(e,n){if(!e?.attributes||!n)return!0;const t=new Set(Object.keys(e.attributes));let i=!1;for(const e of n)if(!t.has(e)){i=!0;break}return i}(e,n)}function ce(e){return!!e&&["raster.itempixelvalue","raster.servicepixelvalue"].some(n=>e.toLowerCase().startsWith(n))}function me(e){const n=e?.match(/{[^}]+}/g);return n?n.map(e=>e.slice(1,-1).split(":")[0].trim()):[]}function fe(e,n){const{statisticType:t,onStatisticField:i,onStatisticExpression:a}=e,r=n.get(i),s=V(r),o=a?.returnType;switch(t){case"avg":case"avg_angle":return r?s||W(r)?"double":null:o&&"number"===o?"double":null;case"count":return"integer";case"min":case"max":return r?s||function(e){return null!=e&&("date"===e.type||"date-only"===e.type||"time-only"===e.type||"timestamp-offset"===e.type)}(r)?r?.type??null:null:o&&"number"===o?"double":null;case"sum":return r?s?r?.type??null:null:o&&"number"===o?"double":null;case"mode":return r?r?.type??null:o?"number"===o?"double":"string":null;default:return null}}function Te(e){const{fieldName:n,fieldsMap:t,normalizedFieldsMap:i}=e;if(!n)return;let a=t.get(n);return a||(a=t.get(pe(n))??i.get(ge(n)),a&&t.set(n,a),a)}function pe(e){return e.trim().toLowerCase()}function ge(e){return d(e)?.toLowerCase()??""}},69309(e,n,t){function i(e){if(!e)return;const n=e.match(a);return n?.groups?n.groups.doubleQuoted??n.groups.singleQuoted??n.groups.dotNotation:void 0}t.d(n,{D:()=>r,o:()=>i});const a=/^(\$feature\[(?:"(?<doubleQuoted>[^"]+)"|'(?<singleQuoted>[^']+)')\]|\$feature\.(?<dotNotation>[a-z_][a-z0-9_]*))$/i;function r(e){return e.match(s)?.[1]?.replaceAll("\\'","'")??null}const s=/^hash\(\$feature\['((\\'|[^'])+)'\]\) \* 8\.381e-8$/},54218(e,n,t){function i(e){return"number"==typeof e}function a(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e}function r(e){return"boolean"==typeof e}function s(e){return"string"==typeof e||e instanceof String}function o(e){return null==e||s(e)}function l(e){return Array.isArray(e)}function u(e){return e instanceof Date}t.d(n,{$P:()=>u,CO:()=>o,Et:()=>i,Fq:()=>a,Kg:()=>s,Lm:()=>r,cy:()=>l})},43668(e,n,t){let i;function a(){return i||(i=(async()=>{const[e,n,i]=await Promise.all([Promise.all([t.e(4800),t.e(9696),t.e(3470),t.e(3367),t.e(5098)]).then(t.bind(t,25098)),t.e(8010).then(t.bind(t,8010)),Promise.all([t.e(4800),t.e(3470),t.e(3367),t.e(6343)]).then(t.bind(t,76343))]);return{arcade:e.arcade,arcadeUtils:e,batchExec:n,aiServices:i,Dictionary:e.Dictionary,Feature:e.arcadeFeature,Voxel:e.Voxel,Pixel:e.Pixel}})()),i}t.d(n,{l:()=>a})},98623(e,n,t){const i=Intl.DateTimeFormat().resolvedOptions().timeZone;t.d(n,["L",0,"unknown","N",0,i])},56400(e,n,t){t.d(n,{ZS:()=>u,S3:()=>f,hv:()=>d,wr:()=>c,P6:()=>l});var i=t(91869),a=t(3330),r=t(98623);const s=new Map([["AUS Central Standard Time","Australia/Darwin"],["AUS Eastern Standard Time","Australia/Sydney"],["Afghanistan Standard Time","Asia/Kabul"],["Alaskan Standard Time","America/Anchorage"],["Aleutian Standard Time","America/Adak"],["Altai Standard Time","Asia/Barnaul"],["Arab Standard Time","Asia/Riyadh"],["Arabian Standard Time","Asia/Dubai"],["Arabic Standard Time","Asia/Baghdad"],["Argentina Standard Time","America/Buenos_Aires"],["Astrakhan Standard Time","Europe/Astrakhan"],["Atlantic Standard Time","America/Halifax"],["Aus Central W. Standard Time","Australia/Eucla"],["Azerbaijan Standard Time","Asia/Baku"],["Azores Standard Time","Atlantic/Azores"],["Bahia Standard Time","America/Bahia"],["Bangladesh Standard Time","Asia/Dhaka"],["Belarus Standard Time","Europe/Minsk"],["Bougainville Standard Time","Pacific/Bougainville"],["Canada Central Standard Time","America/Regina"],["Cape Verde Standard Time","Atlantic/Cape_Verde"],["Caucasus Standard Time","Asia/Yerevan"],["Cen. Australia Standard Time","Australia/Adelaide"],["Central America Standard Time","America/Guatemala"],["Central Asia Standard Time","Asia/Bishkek"],["Central Brazilian Standard Time","America/Cuiaba"],["Central Europe Standard Time","Europe/Budapest"],["Central European Standard Time","Europe/Warsaw"],["Central Pacific Standard Time","Pacific/Guadalcanal"],["Central Standard Time","America/Chicago"],["Central Standard Time (Mexico)","America/Mexico_City"],["Chatham Islands Standard Time","Pacific/Chatham"],["China Standard Time","Asia/Shanghai"],["Cuba Standard Time","America/Havana"],["Dateline Standard Time","Etc/GMT+12"],["E. Africa Standard Time","Africa/Nairobi"],["E. Australia Standard Time","Australia/Brisbane"],["E. Europe Standard Time","Europe/Chisinau"],["E. South America Standard Time","America/Sao_Paulo"],["Easter Island Standard Time","Pacific/Easter"],["Eastern Standard Time","America/New_York"],["Eastern Standard Time (Mexico)","America/Cancun"],["Egypt Standard Time","Africa/Cairo"],["Ekaterinburg Standard Time","Asia/Yekaterinburg"],["FLE Standard Time","Europe/Kiev"],["Fiji Standard Time","Pacific/Fiji"],["GMT Standard Time","Europe/London"],["GTB Standard Time","Europe/Bucharest"],["Georgian Standard Time","Asia/Tbilisi"],["Greenland Standard Time","America/Godthab"],["Greenwich Standard Time","Atlantic/Reykjavik"],["Haiti Standard Time","America/Port-au-Prince"],["Hawaiian Standard Time","Pacific/Honolulu"],["India Standard Time","Asia/Calcutta"],["Iran Standard Time","Asia/Tehran"],["Israel Standard Time","Asia/Jerusalem"],["Jordan Standard Time","Asia/Amman"],["Kaliningrad Standard Time","Europe/Kaliningrad"],["Korea Standard Time","Asia/Seoul"],["Libya Standard Time","Africa/Tripoli"],["Line Islands Standard Time","Pacific/Kiritimati"],["Lord Howe Standard Time","Australia/Lord_Howe"],["Magadan Standard Time","Asia/Magadan"],["Magallanes Standard Time","America/Punta_Arenas"],["Marquesas Standard Time","Pacific/Marquesas"],["Mauritius Standard Time","Indian/Mauritius"],["Middle East Standard Time","Asia/Beirut"],["Montevideo Standard Time","America/Montevideo"],["Morocco Standard Time","Africa/Casablanca"],["Mountain Standard Time","America/Denver"],["Mountain Standard Time (Mexico)","America/Mazatlan"],["Myanmar Standard Time","Asia/Rangoon"],["N. Central Asia Standard Time","Asia/Novosibirsk"],["Namibia Standard Time","Africa/Windhoek"],["Nepal Standard Time","Asia/Katmandu"],["New Zealand Standard Time","Pacific/Auckland"],["Newfoundland Standard Time","America/St_Johns"],["Norfolk Standard Time","Pacific/Norfolk"],["North Asia East Standard Time","Asia/Irkutsk"],["North Asia Standard Time","Asia/Krasnoyarsk"],["North Korea Standard Time","Asia/Pyongyang"],["Omsk Standard Time","Asia/Omsk"],["Pacific SA Standard Time","America/Santiago"],["Pacific Standard Time","America/Los_Angeles"],["Pacific Standard Time (Mexico)","America/Tijuana"],["Pakistan Standard Time","Asia/Karachi"],["Paraguay Standard Time","America/Asuncion"],["Qyzylorda Standard Time","Asia/Qyzylorda"],["Romance Standard Time","Europe/Paris"],["Russia Time Zone 10","Asia/Srednekolymsk"],["Russia Time Zone 11","Asia/Kamchatka"],["Russia Time Zone 3","Europe/Samara"],["Russian Standard Time","Europe/Moscow"],["SA Eastern Standard Time","America/Cayenne"],["SA Pacific Standard Time","America/Bogota"],["SA Western Standard Time","America/La_Paz"],["SE Asia Standard Time","Asia/Bangkok"],["Saint Pierre Standard Time","America/Miquelon"],["Sakhalin Standard Time","Asia/Sakhalin"],["Samoa Standard Time","Pacific/Apia"],["Sao Tome Standard Time","Africa/Sao_Tome"],["Saratov Standard Time","Europe/Saratov"],["Singapore Standard Time","Asia/Singapore"],["South Africa Standard Time","Africa/Johannesburg"],["South Sudan Standard Time","Africa/Juba"],["Sri Lanka Standard Time","Asia/Colombo"],["Sudan Standard Time","Africa/Khartoum"],["Syria Standard Time","Asia/Damascus"],["Taipei Standard Time","Asia/Taipei"],["Tasmania Standard Time","Australia/Hobart"],["Tocantins Standard Time","America/Araguaina"],["Tokyo Standard Time","Asia/Tokyo"],["Tomsk Standard Time","Asia/Tomsk"],["Tonga Standard Time","Pacific/Tongatapu"],["Transbaikal Standard Time","Asia/Chita"],["Turkey Standard Time","Europe/Istanbul"],["Turks And Caicos Standard Time","America/Grand_Turk"],["US Eastern Standard Time","America/Indianapolis"],["US Mountain Standard Time","America/Phoenix"],["UTC","Etc/GMT"],["UTC+01","Etc/GMT-1"],["UTC+02","Etc/GMT-2"],["UTC+03","Etc/GMT-3"],["UTC+04","Etc/GMT-4"],["UTC+05","Etc/GMT-5"],["UTC+06","Etc/GMT-6"],["UTC+07","Etc/GMT-7"],["UTC+08","Etc/GMT-8"],["UTC+09","Etc/GMT-9"],["UTC+10","Etc/GMT-10"],["UTC+11","Etc/GMT-11"],["UTC+12","Etc/GMT-12"],["UTC+13","Etc/GMT-13"],["UTC+14","Etc/GMT-14"],["UTC-01","Etc/GMT+1"],["UTC-02","Etc/GMT+2"],["UTC-03","Etc/GMT+3"],["UTC-04","Etc/GMT+4"],["UTC-05","Etc/GMT+5"],["UTC-06","Etc/GMT+6"],["UTC-07","Etc/GMT+7"],["UTC-08","Etc/GMT+8"],["UTC-09","Etc/GMT+9"],["UTC-10","Etc/GMT+10"],["UTC-11","Etc/GMT+11"],["UTC-12","Etc/GMT+12"],["Ulaanbaatar Standard Time","Asia/Ulaanbaatar"],["Venezuela Standard Time","America/Caracas"],["Vladivostok Standard Time","Asia/Vladivostok"],["Volgograd Standard Time","Europe/Volgograd"],["W. Australia Standard Time","Australia/Perth"],["W. Central Africa Standard Time","Africa/Lagos"],["W. Europe Standard Time","Europe/Berlin"],["W. Mongolia Standard Time","Asia/Hovd"],["West Asia Standard Time","Asia/Tashkent"],["West Bank Standard Time","Asia/Hebron"],["West Pacific Standard Time","Pacific/Port_Moresby"],["Yakutsk Standard Time","Asia/Yakutsk"],["Yukon Standard Time","America/Whitehorse"]]);var o=t(92647);function l(e,n=!1){return{json:{read:{source:e,reader:(n,t)=>t[e]?u(t[e]):null},write:!!n&&{allowNull:!0,writer(n,t){t[e]=n?function(e){return{timeZoneIANA:e}}(n):null}}}}}function u(e,n="system"){return e?function(e){return"timeZoneIANA"in e}(e)?e.timeZoneIANA:function(e,n="system"){if(!e||!s.has(e.timeZone))return n;const t=s.get(e.timeZone);return function(e){return e.startsWith("UTC")}(e.timeZone)||e.respectsDaylightSaving?t:function(e){const n=o.c9.local().setZone(e),t=Math.min(n.set({month:1,day:1}).offset,n.set({month:5}).offset);return 0===t?"Etc/UTC":`Etc/GMT${o.mQ.instance(-t).formatOffset(0,"narrow")}`}(t)}(e,n):n}function d(e,n,t,i,a){if(n&&"date"===a)return{timeZone:"UTC",timeZoneName:void 0};const s=i.hour,o=t===r.L;return{timeZone:o?"timestamp-offset"===a?void 0:e??"UTC":t,timeZoneName:o&&s?"shortOffset":void 0}}function c(e){const n=new Set(["etc/utc","etc/gmt","gmt"]),t=new Set(Intl.supportedValuesOf("timeZone").map(e=>e.toLowerCase()));return"system"===e||e===r.L||n.has(e.toLowerCase())||t.has(e.toLowerCase())}const m=new Map;function f(e){return e===r.L?a.GB.instance:"UTC"===e||"Etc/UTC"===e?o.mQ.utcInstance:(0,i.tE)(m,e,()=>o.oh.create(e))}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9151],{91829(t,e,r){function i(){return[0,0,0,0]}function a(t,e,r,i){return[t,e,r,i]}function n(){return a(1,1,1,1)}function s(){return a(1,0,0,0)}function o(){return a(0,1,0,0)}function l(){return a(0,0,1,0)}function u(){return a(0,0,0,1)}r.d(e,{_Y:()=>u,fA:()=>a,vt:()=>i});const c=[0,0,0,0],h=n(),p=s(),y=o(),f=l(),m=u();Object.freeze(Object.defineProperty({__proto__:null,ONES:h,UNIT_W:m,UNIT_X:p,UNIT_Y:y,UNIT_Z:f,ZEROS:c,clone:function(t){return[t[0],t[1],t[2],t[3]]},create:i,freeze:function(t,e,r,i){return[t,e,r,i]},fromArray:function(t,e=[0,0,0,0]){const r=Math.min(4,t.length);for(let i=0;i<r;++i)e[i]=t[i];return e},fromValues:a,ones:n,unitW:u,unitX:s,unitY:o,unitZ:l,zeros:function(){return[0,0,0,0]}},Symbol.toStringTag,{value:"Module"})),r.d(e,["Un",0,h,"uY",0,c])},78955(t,e,r){r.d(e,{Bw:()=>g,C:()=>a,Cc:()=>v,LI:()=>p,Om:()=>b,S8:()=>_,T9:()=>h,WQ:()=>s,Z0:()=>w,aI:()=>T,hG:()=>m,hZ:()=>n,hs:()=>y,jk:()=>c,m3:()=>d,t2:()=>x});var i=r(34304);function a(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}function n(t,e,r,i,a){return t[0]=e,t[1]=r,t[2]=i,t[3]=a,t}function s(t,e,r){return t[0]=e[0]+r[0],t[1]=e[1]+r[1],t[2]=e[2]+r[2],t[3]=e[3]+r[3],t}function o(t,e,r){return t[0]=e[0]-r[0],t[1]=e[1]-r[1],t[2]=e[2]-r[2],t[3]=e[3]-r[3],t}function l(t,e,r){return t[0]=e[0]*r[0],t[1]=e[1]*r[1],t[2]=e[2]*r[2],t[3]=e[3]*r[3],t}function u(t,e,r){return t[0]=e[0]/r[0],t[1]=e[1]/r[1],t[2]=e[2]/r[2],t[3]=e[3]/r[3],t}function c(t,e,r){return t[0]=Math.min(e[0],r[0]),t[1]=Math.min(e[1],r[1]),t[2]=Math.min(e[2],r[2]),t[3]=Math.min(e[3],r[3]),t}function h(t,e,r){return t[0]=Math.max(e[0],r[0]),t[1]=Math.max(e[1],r[1]),t[2]=Math.max(e[2],r[2]),t[3]=Math.max(e[3],r[3]),t}function p(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 y(t,e,r){return t[0]=e[0]*r,t[1]=e[1]*r,t[2]=e[2]*r,t[3]=e[3]*r,t}function f(t,e){const r=e[0]-t[0],i=e[1]-t[1],a=e[2]-t[2],n=e[3]-t[3];return Math.sqrt(r*r+i*i+a*a+n*n)}function m(t,e){const r=e[0]-t[0],i=e[1]-t[1],a=e[2]-t[2],n=e[3]-t[3];return r*r+i*i+a*a+n*n}function g(t){const e=t[0],r=t[1],i=t[2],a=t[3];return Math.sqrt(e*e+r*r+i*i+a*a)}function d(t){const e=t[0],r=t[1],i=t[2],a=t[3];return e*e+r*r+i*i+a*a}function _(t,e){const r=e[0],i=e[1],a=e[2],n=e[3];let s=r*r+i*i+a*a+n*n;return s>0&&(s=1/Math.sqrt(s),t[0]=r*s,t[1]=i*s,t[2]=a*s,t[3]=n*s),t}function b(t,e){return t[0]*e[0]+t[1]*e[1]+t[2]*e[2]+t[3]*e[3]}function v(t,e,r,i){const a=e[0],n=e[1],s=e[2],o=e[3];return t[0]=a+i*(r[0]-a),t[1]=n+i*(r[1]-n),t[2]=s+i*(r[2]-s),t[3]=o+i*(r[3]-o),t}function w(t,e,r){const i=e[0],a=e[1],n=e[2],s=e[3];return t[0]=r[0]*i+r[4]*a+r[8]*n+r[12]*s,t[1]=r[1]*i+r[5]*a+r[9]*n+r[13]*s,t[2]=r[2]*i+r[6]*a+r[10]*n+r[14]*s,t[3]=r[3]*i+r[7]*a+r[11]*n+r[15]*s,t}function x(t,e){return t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}function T(t,e){const r=t[0],a=t[1],n=t[2],s=t[3],o=e[0],l=e[1],u=e[2],c=e[3],h=(0,i.FD)();return Math.abs(r-o)<=h*Math.max(1,Math.abs(r),Math.abs(o))&&Math.abs(a-l)<=h*Math.max(1,Math.abs(a),Math.abs(l))&&Math.abs(n-u)<=h*Math.max(1,Math.abs(n),Math.abs(u))&&Math.abs(s-c)<=h*Math.max(1,Math.abs(s),Math.abs(c))}const P=o,E=l,I=u,D=f,L=m,A=g,S=d;Object.freeze(Object.defineProperty({__proto__:null,add:s,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:a,copyVec3:function(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t},dist:D,distance:f,div:I,divide:u,dot:b,equals:T,exactEquals:x,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:A,length:g,lerp:v,max:h,min:c,mul:E,multiply:l,negate:function(t,e){return t[0]=-e[0],t[1]=-e[1],t[2]=-e[2],t[3]=-e[3],t},normalize:_,random:function(t,e=1){const r=i.Ov;let a,n,s,o,l,u;do{a=2*r()-1,n=2*r()-1,l=a*a+n*n}while(l>=1);do{s=2*r()-1,o=2*r()-1,u=s*s+o*o}while(u>=1);const c=Math.sqrt((1-l)/u);return t[0]=e*a,t[1]=e*n,t[2]=e*s*c,t[3]=e*o*c,t},round:p,scale:y,scaleAndAdd:function(t,e,r,i){return t[0]=e[0]+r[0]*i,t[1]=e[1]+r[1]*i,t[2]=e[2]+r[2]*i,t[3]=e[3]+r[3]*i,t},set:n,sqrDist:L,sqrLen:S,squaredDistance:m,squaredLength:d,str:function(t){return"vec4("+t[0]+", "+t[1]+", "+t[2]+", "+t[3]+")"},sub:P,subtract:o,transformMat4:w,transformQuat:function(t,e,r){const i=e[0],a=e[1],n=e[2],s=r[0],o=r[1],l=r[2],u=r[3],c=u*i+o*n-l*a,h=u*a+l*i-s*n,p=u*n+s*a-o*i,y=-s*i-o*a-l*n;return t[0]=c*u+y*-s+h*-l-p*-o,t[1]=h*u+y*-o+p*-s-c*-l,t[2]=p*u+y*-l+c*-o-h*-s,t[3]=e[3],t}},Symbol.toStringTag,{value:"Module"}))},4264(t,e,r){r.d(e,{lf:()=>At,L:()=>Ot,A4:()=>St,aR:()=>Ut,tU:()=>kt,V1:()=>Mt,uU:()=>Rt});var i=r(19419),a=r(13195),n=r(89518),s=r(68572),o=r(63907),l=r(85079),u=r(74038);class c{constructor(t){this._precisionFactors={},this._key=t}get key(){return this._key}get type(){return 7&this._key}defines(){return[]}getStride(){return this._geometryLayout||this._buildMaterialInfo(),this._stride}getAttributeLocations(){return this._geometryLayout||this._buildMaterialInfo(),this._locations}getPrecisionFactors(){return this._precisionFactors||this._buildMaterialInfo(),this._precisionFactors}get geometryLayout(){return this._geometryLayout||this._buildMaterialInfo(),this._geometryLayout}getEncodingInfos(){return this._propertyEncodingInfo||this._buildMaterialInfo(),this._propertyEncodingInfo}getUniforms(){return this._uniforms||this._buildMaterialInfo(),this._uniforms}getUsedAttributes(){return this._usedAttributes||this._buildMaterialInfo(),this._usedAttributes}encodeAttributes(t,e,r,i){const a=this.propertyInfos,n=this.getEncodingInfos(),s=[],o=Math.ceil(this._ddStrideInBytes/4);for(let t=0;t<o;t++)s.push(0);for(const o of Object.keys(n)){const l=n[o],{type:u,precisionFactor:c,isLayout:h}=a[o],p=h?r.getLayoutProperty(o):r.getPaintProperty(o),y=p.interpolator?.getInterpolationRange(e);let f=0;for(const r of l){const{offset:a}=r,n=Math.floor(a/4),o=a%4*8,l=i??p.getValue(y?y[f]:e,t),h=c||1;switch(u){case 0:case 1:s[n]|=this._encodeByte(l*h,0)<<o;break;case 2:case 3:s[n]|=this._encodeShort(l*h,0)<<o;break;case 4:case 5:{const t=this._encodeByte(l*h,0),e=this._encodeByte(l*h,8);s[n]|=t<<o,s[n]|=e<<o}break;case 6:case 7:s[n]|=this._encodeShort(l*h,0),s[n]|=this._encodeShort(l*h,16);break;case 8:case 9:s[n]|=this._encodeByte(l*h,0),s[n]|=this._encodeByte(l*h,8),s[n]|=this._encodeByte(l*h,16),s[n]|=this._encodeByte(l*h,24);break;case 10:s[n]=this._encodeColor(l);break;case 11:case 12:this._encodePattern(n,s,l);break;default:throw new Error("Unsupported encoding type")}f++}}return s}getAtributeState(t){let e=0;const r=3+2*t;return e|=this._bit(r),e|=this._bit(r+1)<<1,e}static{this._encodingInfo={0:{dataType:o.pe.BYTE,bytesPerElement:1,count:1,normalized:!1},1:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:1,normalized:!1},2:{dataType:o.pe.SHORT,bytesPerElement:2,count:1,normalized:!1},3:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:1,normalized:!1},4:{dataType:o.pe.BYTE,bytesPerElement:1,count:2,normalized:!1},5:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:2,normalized:!1},6:{dataType:o.pe.SHORT,bytesPerElement:2,count:2,normalized:!1},7:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:2,normalized:!1},8:{dataType:o.pe.BYTE,bytesPerElement:1,count:4,normalized:!1},9:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!1},10:{dataType:o.pe.UNSIGNED_BYTE,bytesPerElement:1,count:4,normalized:!0},11:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1},12:{dataType:o.pe.UNSIGNED_SHORT,bytesPerElement:2,count:4,normalized:!1}}}_getLayoutElementsForPropertyState(t,e,r){const i=r[t],a=i.name,{count:n,dataType:s,normalized:o}=c._encodingInfo[i.type],{attribueIdx:l,precisionFactor:u}=i,h=u||1,p=[{location:l[0],name:a,propertyName:t,count:n,type:s,normalized:o,precisionFactor:h}];if(this._precisionFactors[a]=h,2===e){const e=`${a}To`;p.push({location:l[1],name:e,propertyName:t,count:n,type:s,normalized:o,precisionFactor:h}),this._precisionFactors[e]=h}return p}_buildMaterialInfo(){const t=[];this._propertyEncodingInfo={};const e={},r=this.properties,i=this.propertyInfos;let a=-1;for(const n of r){a++;const r=i[n].name;e[r]=!1,e[`${r}To`]=!1;const s=this.getAtributeState(a);if(0===s||3===s)continue;const o=this._getLayoutElementsForPropertyState(n,s,i);t.push(...o)}for(const r of t)e[r.name]=!0;const n=function(t){const e=(0,s.H)(t),r=[];let i=0;for(const t of e)r.push({...t,offset:i}),i+=h(t.type)*t.count;return r}(t);this._buildLayout(n),this._buildShaderUniforms(),this._usedAttributes=e}_buildLayout(t){this.opacityLayout?this._locations=(0,l._u)([this.baseGeometryLayout,this.opacityLayout]):this._locations=(0,l.Xk)(this.baseGeometryLayout);const e=this.baseGeometryLayout;let r=e[0].stride;const i=[];let a=0;for(const e of t)a+=h(e.type)*e.count;r=p(r+a);for(const t of e)i.push(new u._(t.name,t.count,t.type,t.offset,r,t.normalized));let n=0;for(const a of t)i.push(new u._(a.name,a.count,a.type,e[0].stride+n,r,a.normalized)),void 0===this._propertyEncodingInfo[a.propertyName]&&(this._propertyEncodingInfo[a.propertyName]=[]),this._propertyEncodingInfo[a.propertyName].push({offset:n}),n+=h(a.type)*a.count;this._ddStrideInBytes=n,this._geometryLayout=i;const s=this._locations;for(const e of t)s.set(e.name,e.location);this._stride=r}_buildShaderUniforms(){const t=[],e=this.properties,r=this.propertyInfos;let i=-1;for(const a of e){i++;const{name:e,type:n,isLayout:s}=r[a];switch(this.getAtributeState(i)){case 0:t.push({name:e,getValue:(t,e,r,i)=>{const o=s?t.getLayoutValue(a,e):t.getPaintValue(a,e);switch(n){case 11:{const r=t.getDashKey(o,t.getLayoutValue("line-cap",e)),a=i.getMosaicItemPosition(r,!1);if(null==a)return null;const{tl:n,br:s}=a;return[n[0],s[1],s[0],n[1]]}case 12:{const t=i.getMosaicItemPosition(o,!a.includes("line-"));if(null==t)return null;const{tl:e,br:r}=t;return[e[0],r[1],r[0],e[1]]}case 10:{const t=o[3];return[t*o[0],t*o[1],t*o[2],t]}default:return o}}});break;case 2:{const r=`${e}Mix`;t.push({name:r,getValue:(t,e,r,i)=>(s?t.getLayoutProperty(a):t.getPaintProperty(a)).interpolator.interpolationUniformValue(r,e)})}}}this._uniforms=t}_bit(t){return(this._key&1<<t)>>t}_encodeColor(t){const e=255*t[3];return(0,n.Ss)(t[0]*e,t[1]*e,t[2]*e,e)}_encodePattern(t,e,r){if(!r?.rect)return;const i=r.rect,a=r.width,n=r.height;e[t]=this._encodeShort(i.x+2,0),e[t]|=this._encodeShort(i.y+2+n,16),e[t+1]=this._encodeShort(i.x+2+a,0),e[t+1]|=this._encodeShort(i.y+2,16)}_encodeByte(t,e){return(255&t)<<e}_encodeShort(t,e){return(65535&t)<<e}}const h=t=>{switch(t){case o.pe.FLOAT:case o.pe.INT:case o.pe.UNSIGNED_INT:return 4;case o.pe.SHORT:case o.pe.UNSIGNED_SHORT:case o.pe.HALF_FLOAT:return 2;case o.pe.BYTE:case o.pe.UNSIGNED_BYTE:return 1}},p=t=>t+3&-4;class y extends c{static{this.ATTRIBUTES=[]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={}}constructor(t){super(t),this.baseGeometryLayout=y.GEOMETRY_LAYOUT,this.properties=y.ATTRIBUTES,this.propertyInfos=y.ATTRIBUTES_INFO}}class f extends c{static{this.ATTRIBUTES=["circle-radius","circle-color","circle-opacity","circle-stroke-width","circle-stroke-color","circle-stroke-opacity","circle-blur"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"circle-radius":{name:"radius",type:1,attribueIdx:[1,8]},"circle-color":{name:"color",type:10,attribueIdx:[2,9]},"circle-opacity":{name:"opacity",type:1,attribueIdx:[3,10],precisionFactor:100},"circle-stroke-width":{name:"strokeWidth",type:1,attribueIdx:[4,11],precisionFactor:4},"circle-stroke-color":{name:"strokeColor",type:10,attribueIdx:[5,12]},"circle-stroke-opacity":{name:"strokeOpacity",type:1,attribueIdx:[6,13],precisionFactor:100},"circle-blur":{name:"blur",type:1,attribueIdx:[7,14],precisionFactor:32}}}constructor(t){super(t),this.baseGeometryLayout=f.GEOMETRY_LAYOUT,this.properties=f.ATTRIBUTES,this.propertyInfos=f.ATTRIBUTES_INFO}}class m extends c{static{this.ATTRIBUTES=["fill-color","fill-opacity","fill-pattern"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,4)]}static{this.ATTRIBUTES_INFO={"fill-color":{name:"color",type:10,attribueIdx:[1,4]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[2,5]},"fill-pattern":{name:"tlbr",type:12,isOptional:!0,attribueIdx:[3,3]}}}constructor(t){super(t),this.baseGeometryLayout=m.GEOMETRY_LAYOUT,this.properties=m.ATTRIBUTES,this.propertyInfos=m.ATTRIBUTES_INFO}}class g extends c{static{this.ATTRIBUTES_OUTLINE=["fill-outline-color","fill-opacity"]}static{this.ATTRIBUTES_FILL=["fill-color","fill-opacity"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,8),new u._("offset",2,o.pe.BYTE,4,8),new u._("normal",2,o.pe.BYTE,6,8)]}static{this.ATTRIBUTES_INFO_OUTLINE={"fill-outline-color":{name:"color",type:10,attribueIdx:[3,5]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[4,6]}}}static{this.ATTRIBUTES_INFO_FILL={"fill-color":{name:"color",type:10,attribueIdx:[3,5]},"fill-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[4,6]}}}constructor(t,e){super(t),this.baseGeometryLayout=g.GEOMETRY_LAYOUT,this.properties=e?g.ATTRIBUTES_FILL:g.ATTRIBUTES_OUTLINE,this.propertyInfos=e?g.ATTRIBUTES_INFO_FILL:g.ATTRIBUTES_INFO_OUTLINE}}class d extends c{static{this.ATTRIBUTES=["line-color","line-width","line-opacity","line-blur","line-offset","line-pattern","line-dasharray"]}static{this.GEOMETRY_LAYOUT=[new u._("position",2,o.pe.SHORT,0,16),new u._("extrudeOffset",4,o.pe.BYTE,4,16),new u._("directionNormal",4,o.pe.BYTE,8,16),new u._("accumulatedDistance",2,o.pe.UNSIGNED_SHORT,12,16)]}static{this.ATTRIBUTES_INFO={"line-color":{name:"color",type:10,attribueIdx:[4,10]},"line-width":{name:"width",type:1,attribueIdx:[5,11],precisionFactor:2},"line-opacity":{name:"opacity",type:1,attribueIdx:[6,12],precisionFactor:100},"line-blur":{name:"blur",type:1,attribueIdx:[7,13],precisionFactor:4},"line-offset":{name:"offset",type:0,attribueIdx:[8,14],precisionFactor:2},"line-pattern":{name:"tlbr",type:12,attribueIdx:[9,9],isOptional:!0},"line-dasharray":{name:"tlbr",type:11,attribueIdx:[9,9],isOptional:!0}}}constructor(t){super(t),this.baseGeometryLayout=d.GEOMETRY_LAYOUT,this.properties=d.ATTRIBUTES,this.propertyInfos=d.ATTRIBUTES_INFO}}const _=[new u._("positionAndOffset",4,o.pe.SHORT,0,16),new u._("iconInfo",4,o.pe.UNSIGNED_SHORT,8,16)],b=[new u._("opacityInfo",1,o.pe.UNSIGNED_BYTE,0,1)];class v extends c{static{this.ATTRIBUTES=["icon-color","icon-opacity","icon-halo-blur","icon-halo-color","icon-halo-width","icon-size"]}static{this.ATTRIBUTES_INFO={"icon-color":{name:"color",type:10,attribueIdx:[2,8]},"icon-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[3,9]},"icon-halo-color":{name:"haloColor",type:10,attribueIdx:[4,10]},"icon-halo-width":{name:"haloWidth",type:1,precisionFactor:4,attribueIdx:[5,11]},"icon-halo-blur":{name:"haloBlur",type:1,precisionFactor:4,attribueIdx:[6,12]},"icon-size":{name:"size",type:1,precisionFactor:32,isLayout:!0,attribueIdx:[7,13]}}}constructor(t){super(t),this.baseGeometryLayout=_,this.opacityLayout=b,this.properties=v.ATTRIBUTES,this.propertyInfos=v.ATTRIBUTES_INFO}}class w extends c{static{this.ATTRIBUTES=["text-color","text-opacity","text-halo-blur","text-halo-color","text-halo-width","text-size"]}static{this.ATTRIBUTES_INFO={"text-color":{name:"color",type:10,attribueIdx:[4,10]},"text-opacity":{name:"opacity",type:1,precisionFactor:100,attribueIdx:[3,9]},"text-halo-color":{name:"haloColor",type:10,attribueIdx:[5,11]},"text-halo-width":{name:"haloWidth",type:1,precisionFactor:4,attribueIdx:[6,12]},"text-halo-blur":{name:"haloBlur",type:1,precisionFactor:4,attribueIdx:[7,13]},"text-size":{name:"size",type:1,isLayout:!0,attribueIdx:[2,8]}}}constructor(t){super(t),this.baseGeometryLayout=_,this.opacityLayout=b,this.properties=w.ATTRIBUTES,this.propertyInfos=w.ATTRIBUTES_INFO}}var x=r(68197),T=r(85334);function P(t,e,r,i){const a=3*t,n=3*(r-t)-a,s=1-a-n,o=3*e,l=3*(i-e)-o,u=1-o-l;function c(t){return((s*t+n)*t+a)*t}function h(t){return(3*s*t+2*n)*t+a}return function(t,e=1e-6){return function(t){return((u*t+l)*t+o)*t}(function(t,e){let r,i,a,n,s,o;for(a=t,o=0;o<8;o++){if(n=c(a)-t,Math.abs(n)<e)return a;if(s=h(a),Math.abs(s)<1e-6)break;a-=n/s}if(r=0,i=1,a=t,a<r)return r;if(a>i)return i;for(;r<i;){if(n=c(a),Math.abs(n-t)<e)return a;t>n?r=a:i=a,a=.5*(i-r)+r}return a}(t,e))}}const E={ease:P(.25,.1,.25,1),linear:P(0,0,1,1),easeIn:P(.42,0,1,1),easeOut:P(0,0,.58,1),easeInOut:P(.42,0,.58,1)};E["ease-in"]=E.easeIn,E["ease-out"]=E.easeOut,E["ease-in-out"]=E.easeInOut;const I={kind:"null"},D={kind:"number"},L={kind:"string"},A={kind:"boolean"},S={kind:"color"},k={kind:"object"},M={kind:"value"};function O(t,e){return{kind:"array",itemType:t,n:e}}const U=[I,D,L,A,S,k,O(M)];function R(t){if("array"===t.kind){const e=R(t.itemType);return"number"==typeof t.n?`array<${e}, ${t.n}>`:"value"===t.itemType.kind?"array":`array<${e}>`}return t.kind}function N(t){if(null===t)return I;if("string"==typeof t)return L;if("boolean"==typeof t)return A;if("number"==typeof t)return D;if(t instanceof x.A)return S;if(Array.isArray(t)){let e;for(const r of t){const t=N(r);if(e){if(e!==t){e=M;break}}else e=t}return O(e||M,t.length)}return"object"==typeof t?k:M}function B(t,e){if("array"===e.kind)return"array"===t.kind&&(0===t.n&&"value"===t.itemType.kind||B(t.itemType,e.itemType))&&("number"!=typeof e.n||e.n===t.n);if("value"===e.kind)for(const e of U)if(B(t,e))return!0;return e.kind===t.kind}function z(t){if(null===t)return"";const e=typeof t;return"string"===e?t:"number"===e||"boolean"===e?String(t):t instanceof x.A?t.toString():JSON.stringify(t)}class V{constructor(t){this._parent=t,this._vars={}}add(t,e){this._vars[t]=e}get(t){return this._vars[t]?this._vars[t]:this._parent?this._parent.get(t):null}}class F{constructor(){this.type=M}static parse(t){if(t.length>1)throw new Error('"id" does not expect arguments');return new F}evaluate(t,e){return t?.id}}class G{constructor(){this.type=L}static parse(t){if(t.length>1)throw new Error('"geometry-type" does not expect arguments');return new G}evaluate(t,e){if(!t)return null;switch(t.type){case 1:return"Point";case 2:return"LineString";case 3:return"Polygon";default:return null}}}class ${constructor(){this.type=k}static parse(t){if(t.length>1)throw new Error('"properties" does not expect arguments');return new $}evaluate(t,e){return t?.values}}class Y{constructor(){this.type=D}static parse(t){if(t.length>1)throw new Error('"zoom" does not expect arguments');return new Y}evaluate(t,e){return e}}class C{constructor(t,e,r){this._lhs=t,this._rhs=e,this._compare=r,this.type=A}static parse(t,e,r){if(3!==t.length&&4!==t.length)throw new Error(`"${t[0]}" expects 2 or 3 arguments`);if(4===t.length)throw new Error(`"${t[0]}" collator not supported`);return new C(xt(t[1],e),xt(t[2],e),r)}evaluate(t,e){return this._compare(this._lhs.evaluate(t,e),this._rhs.evaluate(t,e))}}class j{constructor(t){this._arg=t,this.type=A}static parse(t,e){if(2!==t.length)throw new Error('"!" expects 1 argument');return new j(xt(t[1],e))}evaluate(t,e){return!this._arg.evaluate(t,e)}}class H{constructor(t){this._args=t,this.type=A}static parse(t,e){const r=[];for(let i=1;i<t.length;i++)r.push(xt(t[i],e));return new H(r)}evaluate(t,e){for(const r of this._args)if(!r.evaluate(t,e))return!1;return!0}}class q{constructor(t){this._args=t,this.type=A}static parse(t,e){const r=[];for(let i=1;i<t.length;i++)r.push(xt(t[i],e));return new q(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!0;return!1}}class W{constructor(t){this._args=t,this.type=A}static parse(t,e){const r=[];for(let i=1;i<t.length;i++)r.push(xt(t[i],e));return new W(r)}evaluate(t,e){for(const r of this._args)if(r.evaluate(t,e))return!1;return!0}}class Z{constructor(t,e,r){this.type=t,this._args=e,this._fallback=r}static parse(t,e,r){if(t.length<4)throw new Error('"case" expects at least 3 arguments');if(t.length%2==1)throw new Error('"case" expects an odd number of arguments');let i;const a=[];for(let n=1;n<t.length-1;n+=2){const s=xt(t[n],e),o=xt(t[n+1],e,r);i||(i=o.type),a.push({condition:s,output:o})}const n=xt(t[t.length-1],e,r);return i||(i=n.type),new Z(i,a,n)}evaluate(t,e){for(const r of this._args)if(r.condition.evaluate(t,e))return r.output.evaluate(t,e);return this._fallback.evaluate(t,e)}}class K{constructor(t,e){this.type=t,this._args=e}static parse(t,e){if(t.length<2)throw new Error('"coalesce" expects at least 1 argument');let r;const i=[];for(let a=1;a<t.length;a++){const n=xt(t[a],e);r||(r=n.type),i.push(n)}return new K(r,i)}evaluate(t,e){for(const r of this._args){const i=r.evaluate(t,e);if(null!==i)return i}return null}}class X{constructor(t,e,r,i,a){this.type=t,this._input=e,this._labels=r,this._outputs=i,this._fallback=a}static parse(t,e){if(t.length<3)throw new Error('"match" expects at least 3 arguments');if(t.length%2==0)throw new Error('"case" expects an even number of arguments');let r;const i=xt(t[1],e),a=[],n={};let s;for(let i=2;i<t.length-1;i+=2){let o=t[i];Array.isArray(o)||(o=[o]);for(const t of o){const e=typeof t;if("string"!==e&&"number"!==e)throw new Error('"match" requires string or number literal as labels');if(s){if(e!==s)throw new Error('"match" requires labels to have the same type')}else s=e;n[t]=a.length}const l=xt(t[i+1],e);r||(r=l.type),a.push(l)}return new X(r,i,n,a,xt(t[t.length-1],e))}evaluate(t,e){const r=this._input.evaluate(t,e);return(this._outputs[this._labels[r]]||this._fallback).evaluate(t,e)}}class J{constructor(t,e,r,i,a){this._operator=t,this.type=e,this.interpolation=r,this.input=i,this._stops=a}static parse(t,e,r){const i=t[0];if(t.length<5)throw new Error(`"${i}" expects at least 4 arguments`);const a=t[1];if(!Array.isArray(a)||0===a.length)throw new Error(`"${a}" is not a valid interpolation`);switch(a[0]){case"linear":if(1!==a.length)throw new Error("Linear interpolation cannot have parameters");break;case"exponential":if(2!==a.length||"number"!=typeof a[1])throw new Error("Exponential interpolation requires one numeric argument");break;case"cubic-bezier":if(5!==a.length)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1");for(let t=1;t<5;t++){const e=a[t];if("number"!=typeof e||e<0||e>1)throw new Error("Cubic bezier interpolation requires four numeric arguments with values between 0 and 1")}break;default:throw new Error(`"${t[0]}" unknown interpolation type "${a[0]}"`)}if(t.length%2!=1)throw new Error(`"${i}" expects an even number of arguments`);const n=xt(t[2],e,D);let s;"interpolate-hcl"===i||"interpolate-lab"===i?s=S:r&&"value"!==r.kind&&(s=r);const o=[];for(let r=3;r<t.length;r+=2){const a=t[r];if("number"!=typeof a)throw new Error(`"${i}" requires stop inputs as literal numbers`);if(o.length&&o[o.length-1][0]>=a)throw new Error(`"${i}" requires strictly ascending stop inputs`);const n=xt(t[r+1],e,s);s||(s=n.type),o.push([a,n])}if(s&&s!==S&&s!==D&&("array"!==s.kind||s.itemType!==D))throw new Error(`"${i}" cannot interpolate type ${R(s)}`);return new J(i,s,a,n,o)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const i=this.input.evaluate(t,e);if(i<=r[0][0])return r[0][1].evaluate(t,e);if(i>=r[r.length-1][0])return r[r.length-1][1].evaluate(t,e);let n=0;for(;++n<r.length&&!(i<r[n][0]););const s=r[n-1][0],o=r[n][0],l=J.interpolationRatio(this.interpolation,i,s,o),u=r[n-1][1].evaluate(t,e),c=r[n][1].evaluate(t,e);if("interpolate"===this._operator){if("array"===this.type.kind&&Array.isArray(u)&&Array.isArray(c))return u.map((t,e)=>(0,a.GW)(t,c[e],l));if("color"===this.type.kind&&u instanceof x.A&&c instanceof x.A){const t=new x.A(u),e=new x.A(c);return new x.A([(0,a.GW)(t.r,e.r,l),(0,a.GW)(t.g,e.g,l),(0,a.GW)(t.b,e.b,l),(0,a.GW)(t.a,e.a,l)])}if("number"===this.type.kind&&"number"==typeof u&&"number"==typeof c)return(0,a.GW)(u,c,l);throw new Error(`"${this._operator}" cannot interpolate type ${R(this.type)}`)}if("interpolate-hcl"===this._operator){const t=(0,T.RH)(u),e=(0,T.RH)(c),r=e.h-t.h,i=(0,T.$)({h:t.h+l*(r>180||r<-180?r-360*Math.round(r/360):r),c:(0,a.GW)(t.c,e.c,l),l:(0,a.GW)(t.l,e.l,l)});return new x.A({a:(0,a.GW)(u.a,c.a,l),...i})}if("interpolate-lab"===this._operator){const t=(0,T.ZD)(u),e=(0,T.ZD)(c),r=(0,T.$)({l:(0,a.GW)(t.l,e.l,l),a:(0,a.GW)(t.a,e.a,l),b:(0,a.GW)(t.b,e.b,l)});return new x.A({a:(0,a.GW)(u.a,c.a,l),...r})}throw new Error(`Unexpected operator "${this._operator}"`)}interpolationUniformValue(t,e){const r=this._stops;if(1===r.length)return 0;if(t>=r[r.length-1][0])return 0;let i=0;for(;++i<r.length&&!(t<r[i][0]););const a=r[i-1][0],n=r[i][0];return J.interpolationRatio(this.interpolation,e,a,n)}getInterpolationRange(t){const e=this._stops;if(1===e.length){const t=e[0][0];return[t,t]}const r=e[e.length-1][0];if(t>=r)return[r,r];let i=0;for(;++i<e.length&&!(t<e[i][0]););return[e[i-1][0],e[i][0]]}static interpolationRatio(t,e,r,i){let a=0;return"linear"===t[0]?a=J._exponentialInterpolationRatio(e,1,r,i):"exponential"===t[0]?a=J._exponentialInterpolationRatio(e,t[1],r,i):"cubic-bezier"===t[0]&&(a=P(t[1],t[2],t[3],t[4])(J._exponentialInterpolationRatio(e,1,r,i),1e-5)),a<0?a=0:a>1&&(a=1),a}static _exponentialInterpolationRatio(t,e,r,i){const a=i-r;if(0===a)return 0;const n=t-r;return 1===e?n/a:(e**n-1)/(e**a-1)}}class Q{constructor(t,e,r){this.type=t,this._input=e,this._stops=r}static parse(t,e){if(t.length<5)throw new Error('"step" expects at least 4 arguments');if(t.length%2!=1)throw new Error('"step" expects an even number of arguments');const r=xt(t[1],e,D);let i;const a=[];a.push([-1/0,xt(t[2],e)]);for(let r=3;r<t.length;r+=2){const n=t[r];if("number"!=typeof n)throw new Error('"step" requires stop inputs as literal numbers');if(a.length&&a[a.length-1][0]>=n)throw new Error('"step" requires strictly ascending stop inputs');const s=xt(t[r+1],e);i||(i=s.type),a.push([n,s])}return new Q(i,r,a)}evaluate(t,e){const r=this._stops;if(1===r.length)return r[0][1].evaluate(t,e);const i=this._input.evaluate(t,e);let a=0;for(;++a<r.length&&!(i<r[a][0]););return this._stops[a-1][1].evaluate(t,e)}}class tt{constructor(t,e){this.type=t,this._output=e}static parse(t,e,r){if(t.length<4)throw new Error('"let" expects at least 3 arguments');if(t.length%2==1)throw new Error('"let" expects an odd number of arguments');const i=new V(e);for(let r=1;r<t.length-1;r+=2){const a=t[r];if("string"!=typeof a)throw new Error(`"let" requires a string to define variable names - found ${a}`);i.add(a,xt(t[r+1],e))}const a=xt(t[t.length-1],i,r);return new tt(a.type,a)}evaluate(t,e){return this._output.evaluate(t,e)}}class et{constructor(t,e){this.type=t,this.output=e}static parse(t,e,r){if(2!==t.length||"string"!=typeof t[1])throw new Error('"var" requires just one literal string argument');const i=e.get(t[1]);if(!i)throw new Error(`${t[1]} must be defined before being used in a "var" expression`);return new et(r||M,i)}evaluate(t,e){return this.output.evaluate(t,e)}}class rt{constructor(t,e,r){this.type=t,this._index=e,this._array=r}static parse(t,e){if(3!==t.length)throw new Error('"at" expects 2 arguments');const r=xt(t[1],e,D),i=xt(t[2],e);return new rt(i.type.itemType,r,i)}evaluate(t,e){const r=this._index.evaluate(t,e),i=this._array.evaluate(t,e);if(r<0||r>=i.length)throw new Error('"at" index out of bounds');if(r!==Math.floor(r))throw new Error('"at" index must be an integer');return i[r]}}class it{constructor(t){this._args=t,this.type=M}static parse(t,e){const r=t.slice(1).map(t=>Array.isArray(t)?xt(t,e):t);return new it(r)}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r&&r.evaluate?r.evaluate(t,e):r)),!r||r.length<2&&r.length%2==1?"":(t=>Array.from({length:t.length/2},(e,r)=>(t=>t)(t[2*r],t[2*r+1])))(r).join()}}class at{constructor(t,e){this._key=t,this._obj=e,this.type=M}static parse(t,e){let r,i;switch(t.length){case 2:return r=xt(t[1],e),new at(r);case 3:return r=xt(t[1],e),i=xt(t[2],e),new at(r,i);default:throw new Error('"get" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?this._obj.evaluate(t,e)[r]:t?.values[r]}}class nt{constructor(t,e){this._key=t,this._obj=e,this.type=A}static parse(t,e){let r,i;switch(t.length){case 2:return r=xt(t[1],e),new nt(r);case 3:return r=xt(t[1],e),i=xt(t[2],e),new nt(r,i);default:throw new Error('"has" expects 1 or 2 arguments')}}evaluate(t,e){const r=this._key.evaluate(t,e);return this._obj?r in this._obj.evaluate(t,e):!!t?.values[r]}}class st{constructor(t,e){this._key=t,this._vals=e,this.type=A}static parse(t,e){if(3!==t.length)throw new Error('"in" expects 2 arguments');return new st(xt(t[1],e),xt(t[2],e))}evaluate(t,e){const r=this._key.evaluate(t,e);return this._vals.evaluate(t,e).includes(r)}}class ot{constructor(t,e,r){this._item=t,this._array=e,this._from=r,this.type=D}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"index-of" expects 3 or 4 arguments');const r=xt(t[1],e),i=xt(t[2],e);if(4===t.length){const a=xt(t[3],e,D);return new ot(r,i,a)}return new ot(r,i)}evaluate(t,e){const r=this._item.evaluate(t,e),i=this._array.evaluate(t,e);if(this._from){const a=this._from.evaluate(t,e);if(a!==Math.floor(a))throw new Error('"index-of" index must be an integer');return i.indexOf(r,a)}return i.indexOf(r)}}class lt{constructor(t){this._arg=t,this.type=D}static parse(t,e){if(2!==t.length)throw new Error('"length" expects 2 arguments');const r=xt(t[1],e);return new lt(r)}evaluate(t,e){const r=this._arg.evaluate(t,e);if("string"==typeof r)return r.length;if(Array.isArray(r))return r.length;throw new Error('"length" expects string or array')}}class ut{constructor(t,e,r,i){this.type=t,this._array=e,this._from=r,this._to=i}static parse(t,e){if(t.length<3||t.length>4)throw new Error('"slice" expects 2 or 3 arguments');const r=xt(t[1],e),i=xt(t[2],e,D);if(i.type!==D)throw new Error('"slice" index must return a number');if(4===t.length){const a=xt(t[3],e,D);if(a.type!==D)throw new Error('"slice" index must return a number');return new ut(r.type,r,i,a)}return new ut(r.type,r,i)}evaluate(t,e){const r=this._array.evaluate(t,e);if(!Array.isArray(r)&&"string"!=typeof r)throw new Error('"slice" input must be an array or a string');const i=this._from.evaluate(t,e);if(i<0||i>=r.length)throw new Error('"slice" index out of bounds');if(i!==Math.floor(i))throw new Error('"slice" index must be an integer');if(this._to){const a=this._to.evaluate(t,e);if(a<0||a>=r.length)throw new Error('"slice" index out of bounds');if(a!==Math.floor(a))throw new Error('"slice" index must be an integer');return r.slice(i,a)}return r.slice(i)}}class ct{constructor(){this.type=A}static parse(t){if(1!==t.length)throw new Error('"has-id" expects no arguments');return new ct}evaluate(t,e){return void 0!==t?.id}}class ht{constructor(t,e){this._args=t,this._calculate=e,this.type=D}static parse(t,e,r){const i=t.slice(1).map(t=>xt(t,e));return new ht(i,r)}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r.evaluate(t,e))),this._calculate(r)}}class pt{constructor(t,e){this._args=t,this._calculate=e,this.type=D}static{this.ops={abs:t=>Math.abs(t[0]),acos:t=>Math.acos(t[0]),asin:t=>Math.asin(t[0]),atan:t=>Math.atan(t[0]),ceil:t=>Math.ceil(t[0]),cos:t=>Math.cos(t[0]),e:()=>Math.E,floor:t=>Math.floor(t[0]),ln:t=>Math.log(t[0]),ln2:()=>Math.LN2,log10:t=>Math.log(t[0])/Math.LN10,log2:t=>Math.log(t[0])/Math.LN2,max:t=>Math.max(...t),min:t=>Math.min(...t),pi:()=>Math.PI,round:t=>Math.round(t[0]),sin:t=>Math.sin(t[0]),sqrt:t=>Math.sqrt(t[0]),tan:t=>Math.tan(t[0])}}static parse(t,e){const r=t.slice(1).map(t=>xt(t,e));return new pt(r,pt.ops[t[0]])}evaluate(t,e){let r;return this._args&&(r=this._args.map(r=>r.evaluate(t,e))),this._calculate(r)}}class yt{constructor(t){this._args=t,this.type=L}static parse(t,e){return new yt(t.slice(1).map(t=>xt(t,e)))}evaluate(t,e){return this._args.map(r=>r.evaluate(t,e)).join("")}}class ft{constructor(t,e){this._arg=t,this._calculate=e,this.type=L}static{this.ops={downcase:t=>t.toLowerCase(),upcase:t=>t.toUpperCase()}}static parse(t,e){if(2!==t.length)throw new Error(`${t[0]} expects 1 argument`);const r=xt(t[1],e);return new ft(r,ft.ops[t[0]])}evaluate(t,e){return this._calculate(this._arg.evaluate(t,e))}}class mt{constructor(t){this._args=t,this.type=S}static parse(t,e){if(4!==t.length)throw new Error('"rgb" expects 3 arguments');const r=t.slice(1).map(t=>xt(t,e));return new mt(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),i=this._validate(this._args[1].evaluate(t,e)),a=this._validate(this._args[2].evaluate(t,e));return new x.A({r,g:i,b:a})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}}class gt{constructor(t){this._args=t,this.type=S}static parse(t,e){if(5!==t.length)throw new Error('"rgba" expects 4 arguments');const r=t.slice(1).map(t=>xt(t,e));return new gt(r)}evaluate(t,e){const r=this._validate(this._args[0].evaluate(t,e)),i=this._validate(this._args[1].evaluate(t,e)),a=this._validate(this._args[2].evaluate(t,e)),n=this._validateAlpha(this._args[3].evaluate(t,e));return new x.A({r,g:i,b:a,a:n})}_validate(t){if("number"!=typeof t||t<0||t>255)throw new Error(`${t}: invalid color component`);return Math.round(t)}_validateAlpha(t){if("number"!=typeof t||t<0||t>1)throw new Error(`${t}: invalid alpha color component`);return t}}class dt{constructor(t){this._color=t,this.type=O(D,4)}static parse(t,e){if(2!==t.length)throw new Error('"to-rgba" expects 1 argument');const r=xt(t[1],e);return new dt(r)}evaluate(t,e){return new x.A(this._color.evaluate(t,e)).toRgba()}}class _t{constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0];if(t.length<2)throw new Error(`${r} expects at least one argument`);let i,a=1;if("array"===r){if(t.length>2){switch(t[1]){case"string":i=L;break;case"number":i=D;break;case"boolean":i=A;break;default:throw new Error('"array" type argument must be string, number or boolean')}a++}else i=M;let e;if(t.length>3){if(e=t[2],null!==e&&("number"!=typeof e||e<0||e!==Math.floor(e)))throw new Error('"array" length argument must be a positive integer literal');a++}i=O(i,e)}else switch(r){case"string":i=L;break;case"number":i=D;break;case"boolean":i=A;break;case"object":i=k}const n=[];for(;a<t.length;a++){const r=xt(t[a],e);n.push(r)}return new _t(i,n)}evaluate(t,e){let r;for(const i of this._args){const a=i.evaluate(t,e);if(r=N(a),B(r,this.type))return a}throw new Error(`Expected ${R(this.type)} but got ${R(r)}`)}}class bt{static{this.types={"to-boolean":A,"to-color":S,"to-number":D,"to-string":L}}constructor(t,e){this.type=t,this._args=e}static parse(t,e){const r=t[0],i=bt.types[r];if(i===A||i===L){if(2!==t.length)throw new Error(`${r} expects one argument`)}else if(t.length<2)throw new Error(`${r} expects at least one argument`);const a=[];for(let r=1;r<t.length;r++){const i=xt(t[r],e);a.push(i)}return new bt(i,a)}evaluate(t,e){if(this.type===A)return Boolean(this._args[0].evaluate(t,e));if(this.type===L)return z(this._args[0].evaluate(t,e));if(this.type===D){for(const r of this._args){const i=Number(r.evaluate(t,e));if(!isNaN(i))return i}return null}if(this.type===S){for(const r of this._args)try{const i=bt.toColor(r.evaluate(t,e));if(i instanceof x.A)return i}catch{}return null}}static toBoolean(t){return Boolean(t)}static toString(t){return z(t)}static toNumber(t){const e=Number(t);if(isNaN(e))throw new Error(`"${t}" is not a number`);return e}static toColor(t){if(t instanceof x.A)return t;if("string"==typeof t){const e=x.A.fromString(t);if(e)return e;throw new Error(`"${t}" is not a color`)}if(Array.isArray(t))return x.A.fromArray(t);throw new Error(`"${t}" is not a color`)}}class vt{constructor(t){this._val=t,this.type=N(t)}static parse(t){if(2!==t.length)throw new Error('"literal" expects 1 argument');return new vt(t[1])}evaluate(t,e){return this._val}}class wt{constructor(t){this._arg=t,this.type=L}static parse(t,e){if(2!==t.length)throw new Error('"typeof" expects 1 argument');return new wt(xt(t[1],e))}evaluate(t,e){return R(N(this._arg.evaluate(t,e)))}}function xt(t,e,r){const i=typeof t;if("string"===i||"boolean"===i||"number"===i||null===t){if(r)switch(r.kind){case"string":"string"!==i&&(t=bt.toString(t));break;case"number":"number"!==i&&(t=bt.toNumber(t));break;case"color":t=bt.toColor(t)}t=["literal",t]}if(!Array.isArray(t)||0===t.length)throw new Error("Expression must be a non empty array");const a=t[0];if("string"!=typeof a)throw new Error("First element of expression must be a string");const n=Tt[a];if(void 0===n)throw new Error(`Invalid expression operator "${a}"`);if(!n)throw new Error(`Unimplemented expression operator "${a}"`);return n.parse(t,e,r)}const Tt={array:_t,boolean:_t,collator:null,format:it,image:null,literal:vt,number:_t,"number-format":null,object:_t,string:_t,"to-boolean":bt,"to-color":bt,"to-number":bt,"to-string":bt,typeof:wt,accumulated:null,"feature-state":null,"geometry-type":G,id:F,"line-progress":null,properties:$,at:rt,get:at,has:nt,in:st,"index-of":ot,length:lt,slice:ut,"!":j,"!=":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t!==e)}},"<":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t<e)}},"<=":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t<=e)}},"==":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t===e)}},">":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t>e)}},">=":class extends C{static parse(t,e){return C.parse(t,e,(t,e)=>t>=e)}},all:H,any:q,case:Z,coalesce:K,match:X,within:null,interpolate:J,"interpolate-hcl":J,"interpolate-lab":J,step:Q,let:tt,var:et,concat:yt,downcase:ft,"is-supported-script":null,"resolved-locale":null,upcase:ft,rgb:mt,rgba:gt,"to-rgba":dt,"-":class extends ht{static parse(t,e){switch(t.length){case 2:return ht.parse(t,e,t=>-t[0]);case 3:return ht.parse(t,e,t=>t[0]-t[1]);default:throw new Error('"-" expects 1 or 2 arguments')}}},"*":class extends ht{static parse(t,e){return ht.parse(t,e,t=>{let e=1;for(const r of t)e*=r;return e})}},"/":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]/t[1]);throw new Error('"/" expects 2 arguments')}},"%":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]%t[1]);throw new Error('"%" expects 2 arguments')}},"^":class extends ht{static parse(t,e){if(3===t.length)return ht.parse(t,e,t=>t[0]**t[1]);throw new Error('"^" expects 1 or 2 arguments')}},"+":class extends ht{static parse(t,e){return ht.parse(t,e,t=>{let e=0;for(const r of t)e+=r;return e})}},abs:pt,acos:pt,asin:pt,atan:pt,ceil:pt,cos:pt,e:pt,floor:pt,ln:pt,ln2:pt,log10:pt,log2:pt,max:pt,min:pt,pi:pt,round:pt,sin:pt,sqrt:pt,tan:pt,zoom:Y,"heatmap-density":null,"has-id":ct,none:W};class Pt{constructor(t){this._expression=t}filter(t,e){if(!this._expression)return!0;try{return this._expression.evaluate(t,e)}catch(t){return console.log(t.message),!0}}static createFilter(t){if(!t)return null;this.isLegacyFilter(t)&&(t=this.convertLegacyFilter(t));try{const e=xt(t,null,A);return new Pt(e)}catch(t){return console.log(t.message),null}}static isLegacyFilter(t){if(!Array.isArray(t))return!0;if(0===t.length)return!0;switch(t[0]){case"==":case"!=":case">":case"<":case">=":case"<=":return 3===t.length&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"in":return t.length>=3&&"string"==typeof t[1]&&!Array.isArray(t[2]);case"!in":case"none":case"!has":return!0;case"any":case"all":for(let e=1;e<t.length;e++)if(this.isLegacyFilter(t[e]))return!0;return!1;case"has":return 2===t.length&&("$id"===t[1]||"$type"===t[1]);default:return!1}}static convertLegacyFilter(t){if(!Array.isArray(t)||0===t.length)return!0;const e=t[0];if(1===t.length)return"any"!==e;switch(e){case"==":return Pt.convertComparison("==",t[1],t[2]);case"!=":return Pt.negate(Pt.convertComparison("==",t[1],t[2]));case">":case"<":case">=":case"<=":return Pt.convertComparison(e,t[1],t[2]);case"in":return Pt.convertIn(t[1],t.slice(2));case"!in":return Pt.negate(Pt.convertIn(t[1],t.slice(2)));case"any":case"all":case"none":return Pt.convertCombining(e,t.slice(1));case"has":return Pt.convertHas(t[1]);case"!has":return Pt.negate(Pt.convertHas(t[1]));default:throw new Error("Unexpected legacy filter.")}}static convertComparison(t,e,r){switch(e){case"$type":return[t,["geometry-type"],r];case"$id":return[t,["id"],r];default:return[t,["get",e],r]}}static convertIn(t,e){switch(t){case"$type":return["in",["geometry-type"],["literal",e]];case"$id":return["in",["id"],["literal",e]];default:return["in",["get",t],["literal",e]]}}static convertHas(t){switch(t){case"$type":return!0;case"$id":return["has-id"];default:return["has",t]}}static convertCombining(t,e){return[t].concat(e.map(this.convertLegacyFilter))}static negate(t){return["!",t]}}class Et{static{this.backgroundLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.fillLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.lineLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0},"line-cap":{type:"enum",values:["butt","round","square"],default:0},"line-join":{type:"enum",values:["bevel","round","miter"],default:2},"line-miter-limit":{type:"number",default:2},"line-round-limit":{type:"number",default:1.05}}}static{this.symbolLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0},"symbol-avoid-edges":{type:"boolean",default:!1},"symbol-placement":{type:"enum",values:["point","line","line-center"],default:0},"symbol-sort-key":{type:"number",default:-1},"symbol-spacing":{type:"number",minimum:1,default:250},"icon-allow-overlap":{type:"boolean",default:!1},"icon-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:0},"icon-ignore-placement":{type:"boolean",default:!1},"icon-image":{type:"string"},"icon-keep-upright":{type:"boolean",default:!1},"icon-offset":{type:"array",value:"number",length:2,default:[0,0]},"icon-optional":{type:"boolean",default:!1},"icon-padding":{type:"number",minimum:0,default:2},"icon-rotate":{type:"number",default:0},"icon-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:2},"icon-size":{type:"number",minimum:0,default:1},"text-allow-overlap":{type:"boolean",default:!1},"text-anchor":{type:"enum",values:["center","left","right","top","bottom","top-left","top-right","bottom-left","bottom-right"],default:0},"text-field":{type:"string"},"text-font":{type:"array",value:"string",default:["Open Sans Regular","Arial Unicode MS Regular"]},"text-ignore-placement":{type:"boolean",default:!1},"text-justify":{type:"enum",values:["auto","left","center","right"],default:2},"text-keep-upright":{type:"boolean",default:!0},"text-letter-spacing":{type:"number",default:0},"text-line-height":{type:"number",default:1.2},"text-max-angle":{type:"number",minimum:0,default:45},"text-max-width":{type:"number",minimum:0,default:10},"text-offset":{type:"array",value:"number",length:2,default:[0,0]},"text-optional":{type:"boolean",default:!1},"text-padding":{type:"number",minimum:0,default:2},"text-rotate":{type:"number",default:0},"text-rotation-alignment":{type:"enum",values:["map","viewport","auto"],default:2},"text-size":{type:"number",minimum:0,default:16},"text-transform":{type:"enum",values:["none","uppercase","lowercase"],default:0},"text-writing-mode":{type:"array",value:"enum",values:["horizontal","vertical"],default:[0]}}}static{this.circleLayoutDefinition={visibility:{type:"enum",values:["visible","none"],default:0}}}static{this.backgroundPaintDefinition={"background-color":{type:"color",default:[0,0,0,1]},"background-opacity":{type:"number",minimum:0,maximum:1,default:1},"background-pattern":{type:"string"}}}static{this.fillPaintDefinition={"fill-antialias":{type:"boolean",default:!0},"fill-color":{type:"color",default:[0,0,0,1]},"fill-opacity":{type:"number",minimum:0,maximum:1,default:1},"fill-outline-color":{type:"color",default:[0,0,0,0]},"fill-pattern":{type:"string"},"fill-translate":{type:"array",value:"number",length:2,default:[0,0]},"fill-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}static{this.linePaintDefinition={"line-blur":{type:"number",minimum:0,default:0},"line-color":{type:"color",default:[0,0,0,1]},"line-dasharray":{type:"array",value:"number",default:[]},"line-gap-width":{type:"number",minimum:0,default:0},"line-offset":{type:"number",default:0},"line-opacity":{type:"number",minimum:0,maximum:1,default:1},"line-pattern":{type:"string"},"line-translate":{type:"array",value:"number",length:2,default:[0,0]},"line-translate-anchor":{type:"enum",values:["map","viewport"],default:0},"line-width":{type:"number",minimum:0,default:1}}}static{this.symbolPaintDefinition={"icon-color":{type:"color",default:[0,0,0,1]},"icon-halo-blur":{type:"number",minimum:0,default:0},"icon-halo-color":{type:"color",default:[0,0,0,0]},"icon-halo-width":{type:"number",minimum:0,default:0},"icon-opacity":{type:"number",minimum:0,maximum:1,default:1},"icon-translate":{type:"array",value:"number",length:2,default:[0,0]},"icon-translate-anchor":{type:"enum",values:["map","viewport"],default:0},"text-color":{type:"color",default:[0,0,0,1]},"text-halo-blur":{type:"number",minimum:0,default:0},"text-halo-color":{type:"color",default:[0,0,0,0]},"text-halo-width":{type:"number",minimum:0,default:0},"text-opacity":{type:"number",minimum:0,maximum:1,default:1},"text-translate":{type:"array",value:"number",length:2,default:[0,0]},"text-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}static{this.rasterPaintDefinition={"raster-opacity":{type:"number",minimum:0,maximum:1,default:1},"raster-hue-rotate":{type:"number",default:0},"raster-brightness-min":{type:"number",minimum:0,maximum:1,default:0},"raster-brightness-max":{type:"number",minimum:0,maximum:1,default:1},"raster-saturation":{type:"number",minimum:-1,maximum:1,default:0},"raster-contrast":{type:"number",minimum:-1,maximum:1,default:0},"raster-fade-duration":{type:"number",minimum:0,default:300}}}static{this.circlePaintDefinition={"circle-blur":{type:"number",minimum:0,default:0},"circle-color":{type:"color",default:[0,0,0,1]},"circle-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-radius":{type:"number",minimum:0,default:5},"circle-stroke-color":{type:"color",default:[0,0,0,1]},"circle-stroke-opacity":{type:"number",minimum:0,maximum:1,default:1},"circle-stroke-width":{type:"number",minimum:0,default:0},"circle-translate":{type:"array",value:"number",length:2,default:[0,0]},"circle-translate-anchor":{type:"enum",values:["map","viewport"],default:0}}}}var It=r(40876);class Dt{constructor(t,e){let r;switch(this.isDataDriven=!1,this.interpolator=null,t.type){case"number":case"color":r=!0;break;case"array":r="number"===t.value;break;default:r=!1}if((null==e||""===e&&"color"===t.type)&&(e=t.default),Array.isArray(e)&&e.length>0&&Tt[e[0]]){const r={number:D,color:S,string:L,boolean:A,enum:L};try{const i=xt(e,null,"array"===t.type?O(r[t.value]||M,t.length):r[t.type]);this.getValue=this._buildExpression(i,t),this.isDataDriven=!0,i instanceof J&&i.input instanceof Y&&(this.interpolator=i)}catch(e){console.log(e.message),this.getValue=this._buildSimple(t.default)}return}r&&"interval"===e.type&&(r=!1);const i=e?.stops&&e.stops.length>0;if(i)for(const r of e.stops)r[1]=this._validate(r[1],t);if(this.isDataDriven=!!e&&!!e.property,this.isDataDriven)if(void 0!==e.default&&(e.default=this._validate(e.default,t)),i)switch(e.type){case"identity":this.getValue=this._buildIdentity(e,t);break;case"categorical":this.getValue=this._buildCategorical(e,t);break;default:this.getValue=r?this._buildInterpolate(e,t):this._buildInterval(e,t)}else this.getValue=this._buildIdentity(e,t);else i?this.getValue=r?this._buildZoomInterpolate(e):this._buildZoomInterval(e):(e=this._validate(e,t),this.getValue=this._buildSimple(e))}_validate(t,e){if("number"===e.type){if(null!=e.minimum&&t<e.minimum)return e.minimum;if(null!=e.maximum&&t>e.maximum)return e.maximum}else"color"===e.type?t=Dt._parseColor(t):"enum"===e.type?"string"==typeof t&&(t=e.values.indexOf(t)):"array"===e.type&&"enum"===e.value?t=t.map(t=>"string"==typeof t?e.values.indexOf(t):t):"string"===e.type&&(t=z(t));return t}_buildSimple(t){return()=>t}_buildExpression(t,e){return(r,i)=>{try{const a=t.evaluate(i,r);return void 0===a?e.default:this._validate(a,e)}catch(t){return console.log(t.message),e.default}}}_buildIdentity(t,e){return(r,i)=>{let a;return i&&(a=i.values[t.property]),void 0!==a&&(a=this._validate(a,e)),null!=a?a:void 0!==t.default?t.default:e.default}}_buildCategorical(t,e){return(r,i)=>{let a;return i&&(a=i.values[t.property]),a=this._categorical(a,t.stops),void 0!==a?a:void 0!==t.default?t.default:e.default}}_buildInterval(t,e){return(r,i)=>{let a;return i&&(a=i.values[t.property]),"number"==typeof a?this._interval(a,t.stops):void 0!==t.default?t.default:e.default}}_buildInterpolate(t,e){return(r,i)=>{let a;return i&&(a=i.values[t.property]),"number"==typeof a?this._interpolate(a,t.stops,t.base||1):void 0!==t.default?t.default:e.default}}_buildZoomInterpolate(t){return e=>this._interpolate(e,t.stops,t.base||1)}_buildZoomInterval(t){return e=>this._interval(e,t.stops)}_categorical(t,e){const r=e.length;for(let i=0;i<r;i++)if(e[i][0]===t)return e[i][1]}_interval(t,e){const r=e.length;let i=0;for(let a=0;a<r&&e[a][0]<=t;a++)i=a;return e[i][1]}_interpolate(t,e,r){let i,n;const s=e.length;for(let r=0;r<s;r++){const a=e[r];if(!(a[0]<=t)){n=a;break}i=a}if(i&&n){const e=n[0]-i[0],s=t-i[0],o=1===r?s/e:(r**s-1)/(r**e-1);if(Array.isArray(i[1])){const t=i[1],e=n[1],r=[];for(let i=0;i<t.length;i++)r.push((0,a.GW)(t[i],e[i],o));return r}return(0,a.GW)(i[1],n[1],o)}return i?i[1]:n?n[1]:void 0}static _isEmpty(t){for(const e in t)if(t.hasOwnProperty(e))return!1;return!0}static _parseColor(t){return Array.isArray(t)?t:"string"==typeof t?(0,It.Vm)(t)??void 0:t instanceof x.A&&!this._isEmpty(t)?t.toUnitRGBA():void 0}}class Lt{constructor(t,e,r,i,a=null){switch(this.type=t,this.typeName=e.type,this.id=e.id,this.source=e.source,this.sourceLayer=e["source-layer"]??e.source,this.minzoom=e.minzoom,this.maxzoom=e.maxzoom,this.filter=e.filter,this.layout=e.layout,this.paint=e.paint,this.z=r,this.uid=i,this.sourceType=a,t){case 0:this._layoutDefinition=Et.backgroundLayoutDefinition,this._paintDefinition=Et.backgroundPaintDefinition;break;case 1:this._layoutDefinition=Et.fillLayoutDefinition,this._paintDefinition=Et.fillPaintDefinition;break;case 2:this._layoutDefinition=Et.lineLayoutDefinition,this._paintDefinition=Et.linePaintDefinition;break;case 3:this._layoutDefinition=Et.symbolLayoutDefinition,this._paintDefinition=Et.symbolPaintDefinition;break;case 4:this._layoutDefinition=Et.circleLayoutDefinition,this._paintDefinition=Et.circlePaintDefinition}this._layoutProperties=this._parseLayout(this.layout),this._paintProperties=this._parsePaint(this.paint)}getFeatureFilter(){return void 0!==this._featureFilter?this._featureFilter:this._featureFilter=Pt.createFilter(this.filter)}getLayoutProperty(t){return this._layoutProperties[t]}getPaintProperty(t){return this._paintProperties[t]}getLayoutValue(t,e,r){let i;const a=this._layoutProperties[t];return a&&(i=a.getValue(e,r)),void 0===i&&(i=this._layoutDefinition[t].default),i}getPaintValue(t,e,r){let i;const a=this._paintProperties[t];return a&&(i=a.getValue(e,r)),void 0===i&&(i=this._paintDefinition[t].default),i}isPainterDataDriven(){const t=this._paintProperties;if(t)for(const e in t)if(t[e].isDataDriven)return!0;return!1}isIntersectingFeature(t,e,r,i,a,n,s,o){return!1}getFeatureInflatedBounds(t,e,r,i){return null}_parseLayout(t){const e={};for(const r in t){const i=this._layoutDefinition[r];i&&(e[r]=new Dt(i,t[r]))}return e}_parsePaint(t){const e={};for(const r in t){const i=this._paintDefinition[r];i&&(e[r]=new Dt(i,t[r]))}return e}computeAttributesKey(t,e,r,i){let a=0,n=0;for(const t of e){let e=3;if(t&&t!==i){const i=r[t],{isLayout:a,isOptional:n}=i,s=a?this.getLayoutProperty(t):this.getPaintProperty(t);e=s?.interpolator?2:s?.isDataDriven?1:n&&!s?3:0}n|=e<<a,a+=2}return n<<3|t}}class At extends Lt{constructor(t,e,r,i,a=null){super(t,e,r,i,a),this.backgroundMaterial=new y(this.computeAttributesKey(0,y.ATTRIBUTES,y.ATTRIBUTES_INFO))}}class St extends Lt{constructor(t,e,r,i,a=null){super(t,e,r,i,a);const n=this.getPaintProperty("fill-color"),s=this.getPaintProperty("fill-opacity"),o=this.getPaintProperty("fill-pattern");this.hasDataDrivenColor=n?.isDataDriven,this.hasDataDrivenOpacity=s?.isDataDriven,this.hasDataDrivenFill=this.hasDataDrivenColor||this.hasDataDrivenOpacity||o?.isDataDriven;const l=this.getPaintProperty("fill-outline-color");this.outlineUsesFillColor=!l,this.hasDataDrivenOutlineColor=l?.isDataDriven,this.hasDataDrivenOutline=l?l.isDataDriven:!!n&&n.isDataDriven,this.hasDataDrivenOutline=(l?this.hasDataDrivenOutlineColor:this.hasDataDrivenColor)||this.hasDataDrivenOpacity,this.fillMaterial=new m(this.computeAttributesKey(1,m.ATTRIBUTES,m.ATTRIBUTES_INFO)),this.outlineMaterial=new g(this.computeAttributesKey(2,this.outlineUsesFillColor?g.ATTRIBUTES_FILL:g.ATTRIBUTES_OUTLINE,this.outlineUsesFillColor?g.ATTRIBUTES_INFO_FILL:g.ATTRIBUTES_INFO_OUTLINE),this.outlineUsesFillColor)}getFeatureInflatedBounds(t,e,r,i){const a=Nt(t);if(!a)return null;const n=this.getPaintValue("fill-translate",e,t),s=i*Math.max(n[0],n[1]);return a[0]-=s,a[2]-=s,a[1]+=s,a[3]+=s,a}isIntersectingFeature(t,e,r,i,n,s,o,l){const u=i.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio,h=c/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const p=(0,a.yM)(this.getPaintValue("fill-translate",n,i),this.getPaintValue("fill-translate-anchor",n,i),s,h);return t-=c*p.x,e-=c*p.y,!!(0,a.s3)(t,e,u)||(0,a.ru)(t,e,u,r)}}class kt extends Lt{constructor(t,e,r,i,a=null){super(t,e,r,i,a);const n=this.getPaintProperty("line-pattern");if(this.lineMaterial=new d(this.computeAttributesKey(3,d.ATTRIBUTES,d.ATTRIBUTES_INFO,n?"line-dasharray":"")),this.hasDataDrivenLine=this.getPaintProperty("line-blur")?.isDataDriven||this.getPaintProperty("line-color")?.isDataDriven||this.getPaintProperty("line-gap-width")?.isDataDriven||this.getPaintProperty("line-offset")?.isDataDriven||this.getPaintProperty("line-opacity")?.isDataDriven||this.getPaintProperty("line-pattern")?.isDataDriven||this.getPaintProperty("line-dasharray")?.isDataDriven||this.getLayoutProperty("line-cap")?.isDataDriven||this.getPaintProperty("line-width")?.isDataDriven,this.canUseThinTessellation=!1,!this.hasDataDrivenLine){const t=this.getPaintProperty("line-width");if(!t||"number"==typeof t&&.5*t<1.05){const t=this.getPaintProperty("line-offset");(!t||"number"==typeof t&&0===t)&&(this.canUseThinTessellation=!0)}}}getDashKey(t,e){let r;switch(e){case 0:default:r="Butt";break;case 1:r="Round";break;case 2:r="Square"}return`dasharray-[${t.toString()}]-${r}`}getFeatureInflatedBounds(t,e,r,i){const a=Nt(t);if(!a)return null;const n=this.getPaintValue("line-translate",e,t),s=i*Math.max(n[0],n[1]);a[0]-=s,a[2]-=s,a[1]+=s,a[3]+=s;const o=i*Math.abs(this.getPaintValue("line-offset",e,t)||0),l=i*(this.getPaintValue("line-width",e,t)/2);return a[0]-=o+l,a[1]-=o+l,a[2]+=o+l,a[3]+=o+l,a}isIntersectingFeature(t,e,r,i,n,s,o,l){let u=i.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio,h=c/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const p=(0,a.yM)(this.getPaintValue("line-translate",n,i),this.getPaintValue("line-translate-anchor",n,i),s,h);t-=c*p.x,e-=c*p.y;const y=h*this.getPaintValue("line-offset",n,i)||0;0!==y&&(u=(0,a.cP)(u,-y));const f=this.getPaintValue("line-width",n,i);return(0,a.ru)(t,e,u,h*(f/2)+r)}}class Mt extends Lt{constructor(t,e,r,i,a=null){super(t,e,r,i,a),this.iconMaterial=new v(this.computeAttributesKey(4,v.ATTRIBUTES,v.ATTRIBUTES_INFO)),this.textMaterial=new w(this.computeAttributesKey(6,w.ATTRIBUTES,w.ATTRIBUTES_INFO)),this.hasDataDrivenIcon=this.getPaintProperty("icon-color")?.isDataDriven||this.getPaintProperty("icon-halo-blur")?.isDataDriven||this.getPaintProperty("icon-halo-color")?.isDataDriven||this.getPaintProperty("icon-halo-width")?.isDataDriven||this.getPaintProperty("icon-opacity")?.isDataDriven||this.getLayoutProperty("icon-size")?.isDataDriven,this.hasDataDrivenText=this.getPaintProperty("text-color")?.isDataDriven||this.getPaintProperty("text-halo-blur")?.isDataDriven||this.getPaintProperty("text-halo-color")?.isDataDriven||this.getPaintProperty("text-halo-width")?.isDataDriven||this.getPaintProperty("text-opacity")?.isDataDriven||this.getLayoutProperty("text-size")?.isDataDriven}}class Ot extends Lt{constructor(t,e,r,i,a=null){super(t,e,r,i,a),this.circleMaterial=new f(this.computeAttributesKey(5,f.ATTRIBUTES,f.ATTRIBUTES_INFO))}getFeatureInflatedBounds(t,e,r,i){const a=Nt(t);if(!a)return null;const n=this.getPaintValue("circle-translate",e,t),s=Math.max(n[0],n[1]);a[0]-=s,a[2]-=s,a[1]+=s,a[3]+=s;const o=i*(8*(this.getPaintValue("circle-radius",e,t)+this.getPaintValue("circle-stroke-width",e,t))/2);return a[0]-=o,a[1]-=o,a[2]+=o,a[3]+=o,a}isIntersectingFeature(t,e,r,i,n,s,o,l){const u=i.getGeometry();if(!u)return!1;const c=8/l.normalizationRatio/o;t=t/l.normalizationRatio+l.normalizationOffsetX,e=e/l.normalizationRatio+l.normalizationOffsetY;const h=(0,a.yM)(this.getPaintValue("circle-translate",n,i),this.getPaintValue("circle-translate-anchor",n,i),s,c),p=c*(this.getPaintValue("circle-radius",n,i)+this.getPaintValue("circle-stroke-width",n,i));let y,f;for(const i of u)if(i)for(const a of i)if(y=a.x+h.x,f=a.y+h.y,Math.sqrt((t-y)*(t-y)+(e-f)*(e-f))-r<=p)return!0;return!1}}class Ut{constructor(t,e,r){let i;this.allowOverlap=t.getLayoutValue("icon-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("icon-ignore-placement",e),this.keepUpright=t.getLayoutValue("icon-keep-upright",e),this.optional=t.getLayoutValue("icon-optional",e),this.rotationAlignment=t.getLayoutValue("icon-rotation-alignment",e),2===this.rotationAlignment&&(this.rotationAlignment=r?0:1),i=t.getLayoutProperty("icon-anchor"),i?.isDataDriven?this._anchorProp=i:this.anchor=t.getLayoutValue("icon-anchor",e),i=t.getLayoutProperty("icon-offset"),i?.isDataDriven?this._offsetProp=i:this.offset=t.getLayoutValue("icon-offset",e),i=t.getLayoutProperty("icon-padding"),i?.isDataDriven?this._paddingProp=i:this.padding=t.getLayoutValue("icon-padding",e),i=t.getLayoutProperty("icon-rotate"),i?.isDataDriven?this._rotateProp=i:this.rotate=t.getLayoutValue("icon-rotate",e),i=t.getLayoutProperty("icon-size"),i?.isDataDriven?this._sizeProp=i:this.size=t.getLayoutValue("icon-size",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e))}}class Rt{constructor(t,e,r){let i;this.allowOverlap=t.getLayoutValue("text-allow-overlap",e),this.ignorePlacement=t.getLayoutValue("text-ignore-placement",e),this.keepUpright=t.getLayoutValue("text-keep-upright",e),this.optional=t.getLayoutValue("text-optional",e),this.rotationAlignment=t.getLayoutValue("text-rotation-alignment",e),2===this.rotationAlignment&&(this.rotationAlignment=r?0:1),i=t.getLayoutProperty("text-anchor"),i?.isDataDriven?this._anchorProp=i:this.anchor=t.getLayoutValue("text-anchor",e),i=t.getLayoutProperty("text-justify"),i?.isDataDriven?this._justifyProp=i:this.justify=t.getLayoutValue("text-justify",e),i=t.getLayoutProperty("text-letter-spacing"),i?.isDataDriven?this._letterSpacingProp=i:this.letterSpacing=t.getLayoutValue("text-letter-spacing",e),i=t.getLayoutProperty("text-line-height"),i?.isDataDriven?this._lineHeightProp=i:this.lineHeight=t.getLayoutValue("text-line-height",e),i=t.getLayoutProperty("text-max-angle"),i?.isDataDriven?this._maxAngleProp=i:this.maxAngle=t.getLayoutValue("text-max-angle",e),i=t.getLayoutProperty("text-max-width"),i?.isDataDriven?this._maxWidthProp=i:this.maxWidth=t.getLayoutValue("text-max-width",e),i=t.getLayoutProperty("text-offset"),i?.isDataDriven?this._offsetProp=i:this.offset=t.getLayoutValue("text-offset",e),i=t.getLayoutProperty("text-padding"),i?.isDataDriven?this._paddingProp=i:this.padding=t.getLayoutValue("text-padding",e),i=t.getLayoutProperty("text-rotate"),i?.isDataDriven?this._rotateProp=i:this.rotate=t.getLayoutValue("text-rotate",e),i=t.getLayoutProperty("text-size"),i?.isDataDriven?this._sizeProp=i:this.size=t.getLayoutValue("text-size",e),i=t.getLayoutProperty("text-writing-mode"),i?.isDataDriven?this._writingModeProp=i:this.writingMode=t.getLayoutValue("text-writing-mode",e)}update(t,e){this._anchorProp&&(this.anchor=this._anchorProp.getValue(t,e)),this._justifyProp&&(this.justify=this._justifyProp.getValue(t,e)),this._letterSpacingProp&&(this.letterSpacing=this._letterSpacingProp.getValue(t,e)),this._lineHeightProp&&(this.lineHeight=this._lineHeightProp.getValue(t,e)),this._maxAngleProp&&(this.maxAngle=this._maxAngleProp.getValue(t,e)),this._maxWidthProp&&(this.maxWidth=this._maxWidthProp.getValue(t,e)),this._offsetProp&&(this.offset=this._offsetProp.getValue(t,e)),this._paddingProp&&(this.padding=this._paddingProp.getValue(t,e)),this._rotateProp&&(this.rotate=this._rotateProp.getValue(t,e)),this._sizeProp&&(this.size=this._sizeProp.getValue(t,e)),this._writingModeProp&&(this.writingMode=this._writingModeProp.getValue(t,e))}}function Nt(t){const e=t?.getGeometry();if(null==e)return null;let r=1/0,a=1/0,n=-1/0,s=-1/0;for(const t of e)if(t)for(const e of t)r=Math.min(r,e.x),a=Math.min(a,e.y),n=Math.max(n,e.x),s=Math.max(s,e.y);return(0,i.fA)(r,a,n,s)}},45013(t,e,r){r.d(e,{A:()=>n});var i=r(4718),a=r(4264);class n{constructor(t,e=!0){if(this.backgroundBucketIds=[],this._uidToLayer=new Map,this._layerByName={},this._runningId=0,this._style=e?(0,i.o8)(t):t,this._style.layers||(this._style.layers=[]),this.version=parseFloat(this._style.version),this.layers=this._style.layers.map((t,e,r)=>this._create(t,e,r)).filter(t=>!!t),this.layers)for(let t=0;t<this.layers.length;t++){const e=this.layers[t];this._layerByName[e.id]=e,this._uidToLayer.set(e.uid,e),0===e.type&&this.backgroundBucketIds.push(e.id)}this._identifyRefLayers()}getLayerStyleProperties(t,e){const r=this.getStyleLayerByUID(t),i=0!==r?.getLayoutValue("symbol-placement",e);let a=r?.getLayoutValue("icon-rotation-alignment",e);2===a&&(a=i?0:1);let n=r?.getLayoutValue("text-rotation-alignment",e);2===n&&(n=i?0:1);const s=r?.getPaintValue("icon-translate",e),o=r?.getPaintValue("icon-translate-anchor",e),l=r?.getPaintValue("text-translate",e),u=r?.getPaintValue("text-translate-anchor",e);return{geometryType:null,iconAllowOverlap:r?.getLayoutValue("icon-allow-overlap",e),iconIgnorePlacement:r?.getLayoutValue("icon-ignore-placement",e),textAllowOverlap:r?.getLayoutValue("text-allow-overlap",e),textIgnorePlacement:r?.getLayoutValue("text-ignore-placement",e),iconRotationAlignment:a,textRotationAlignment:n,iconTranslateAnchor:o,iconTranslate:s,textTranslateAnchor:u,textTranslate:l}}isPainterDataDriven(t){const e=this._layerByName[t];return!!e&&e.isPainterDataDriven()}getStyleLayerId(t){return t>=this.layers.length?null:this.layers[t].id}getStyleLayerByUID(t){return this._uidToLayer.get(t)??null}getStyleLayerIndex(t){const e=this._layerByName[t];return e?this.layers.indexOf(e):-1}setStyleLayer(t,e){if(!t?.id)return;const r=this._style;null!=e&&e>=this.layers.length&&(e=this.layers.length-1);let i,a=!0;const s=this._layerByName[t.id];if(s){const o=this.layers.indexOf(s);e||(e=o),e===o?(a=!1,i=n._recreateLayer(t,s,this._getSourceType(t.source)),this.layers[e]=i,r.layers[e]=t):(this.layers.splice(o,1),r.layers.splice(o,1),i=this._create(t,e,this.layers),this.layers.splice(e,0,i),r.layers.splice(e,0,t))}else i=this._create(t,e,this.layers),!e||e>=this.layers.length?(this.layers.push(i),r.layers.push(t)):(this.layers.splice(e,0,i),r.layers.splice(e,0,t));this._layerByName[t.id]=i,this._uidToLayer.set(i.uid,i),a&&this._recomputeZValues(),this._identifyRefLayers()}getStyleLayer(t){const e=this._layerByName[t];return e?{type:e.typeName,id:e.id,source:e.source,"source-layer":e.sourceLayer,minzoom:e.minzoom,maxzoom:e.maxzoom,filter:e.filter,layout:e.layout,paint:e.paint}:null}deleteStyleLayer(t){const e=this._layerByName[t];if(e){delete this._layerByName[t],this._uidToLayer.delete(e.uid);const r=this.layers.indexOf(e);this.layers.splice(r,1),this._style.layers.splice(r,1),this._recomputeZValues(),this._identifyRefLayers()}}getLayerById(t){return this._layerByName[t]}getLayoutProperties(t){const e=this._layerByName[t];return e?e.layout:null}getPaintProperties(t){const e=this._layerByName[t];return e?e.paint:null}setPaintProperties(t,e){const r=this._layerByName[t];if(!r)return;const i={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:r.layout,paint:e},a=n._recreateLayer(i,r,r.sourceType),s=this.layers.indexOf(r);this.layers[s]=a,this._style.layers[s].paint=e,this._layerByName[r.id]=a,this._uidToLayer.set(r.uid,a)}setLayoutProperties(t,e){const r=this._layerByName[t];if(!r)return;const i={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:e,paint:r.paint},a=n._recreateLayer(i,r,r.sourceType),s=this.layers.indexOf(r);this.layers[s]=a,this._style.layers[s].layout=e,this._layerByName[r.id]=a,this._uidToLayer.set(r.uid,a)}setStyleLayerVisibility(t,e){const r=this._layerByName[t];if(!r)return;const i=r.layout||{};i.visibility=e;const a={type:r.typeName,id:r.id,source:r.source,"source-layer":r.sourceLayer,minzoom:r.minzoom,maxzoom:r.maxzoom,filter:r.filter,layout:i,paint:r.paint},s=n._recreateLayer(a,r,r.sourceType),o=this.layers.indexOf(r);this.layers[o]=s,this._style.layers[o].layout=i,this._layerByName[r.id]=s,this._uidToLayer.set(r.uid,s)}getStyleLayerVisibility(t){const e="string"==typeof t?this._layerByName[t]:this._uidToLayer.get(t);if(!e)return!1;const r=e.getLayoutProperty("visibility");return!r||1!==r.getValue()}_recomputeZValues(){const t=this.layers,e=1/(t.length+1);for(let r=0;r<t.length;r++)t[r].z=1-(1+r)*e}_identifyRefLayers(){const t=[],e=[];let r=0;for(const i of this.layers){const a=i.layout;if(1===i.type){const e=i;let n=i.source+"|"+i.sourceLayer;n+="|"+(a?.visibility??""),n+="|"+i.minzoom,n+="|"+i.maxzoom,n+="|"+JSON.stringify(i.filter),(e.hasDataDrivenFill||e.hasDataDrivenOutline)&&(n+="|"+r),t.push({key:n,layer:i})}else if(2===i.type){const t=i,n=i.paint,s=null!=n&&(null!=n["line-pattern"]||null!=n["line-dasharray"]);let o=i.source+"|"+i.sourceLayer;o+="|"+(a?.visibility??""),o+="|"+i.minzoom,o+="|"+i.maxzoom,o+="|"+JSON.stringify(i.filter),o+="|"+(void 0!==a?a["line-cap"]:""),o+="|"+(void 0!==a?a["line-join"]:""),(t.hasDataDrivenLine||s)&&(o+="|"+r),e.push({key:o,layer:i})}++r}this._assignRefLayers(t),this._assignRefLayers(e)}_assignRefLayers(t){let e,r;t.sort((t,e)=>t.key<e.key?-1:t.key>e.key?1:0);const i=t.length;for(let a=0;a<i;a++){const n=t[a];if(n.key===e)n.layer.refLayerId=r;else if(e=n.key,r=n.layer.id,1===n.layer.type){if(!n.layer.getPaintProperty("fill-outline-color"))for(let s=a+1;s<i;s++){const i=t[s];if(i.key!==e)break;if(i.layer.getPaintProperty("fill-outline-color")){t[a]=i,t[s]=n,r=i.layer.id;break}}}else if(2===n.layer.type){let s=n.layer;for(let o=a+1;o<i;o++){const i=t[o];if(i.key!==e)break;const l=i.layer;(s.canUseThinTessellation&&!l.canUseThinTessellation||!s.canUseThinTessellation&&(l.getPaintProperty("line-pattern")||l.getPaintProperty("line-dasharray")))&&(s=l,t[a]=i,t[o]=n,r=i.layer.id)}}}}_create(t,e,r){const i=1-(1+e)*(1/(r.length+1)),n=this._runningId++,s=this._getSourceType(t.source);switch(t.type){case"background":return new a.lf(0,t,i,n,s);case"fill":return new a.A4(1,t,i,n,s);case"line":return new a.tU(2,t,i,n,s);case"symbol":return new a.V1(3,t,i,n,s);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new a.L(4,t,i,n,s)}return null}_getSourceType(t){return this._style.sources?.[t]?.type??null}static _recreateLayer(t,e,r){switch(t.type){case"background":return new a.lf(0,t,e.z,e.uid,r);case"fill":return new a.A4(1,t,e.z,e.uid,r);case"line":return new a.tU(2,t,e.z,e.uid,r);case"symbol":return new a.V1(3,t,e.z,e.uid,r);case"raster":return console.warn(`Unsupported vector tile raster layer ${t.id}`),null;case"circle":return new a.L(4,t,e.z,e.uid,r)}return null}}},85079(t,e,r){r.d(e,{Sk:()=>s,Xk:()=>a,_u:()=>n});var i=r(21818);function a(t){let e=0;return(0,i.z)(new Map(t.map(({name:t,count:r})=>{const i=[t,e];return 16===r?e+=4:9===r?e+=3:++e,i})))}function n(t){const e=new Map;let r=0;return t.forEach(t=>t.forEach(({name:t,count:i})=>{e.set(t,r),16===i?r+=4:9===i?r+=3:++r})),e}function s(t){return n(Array.from(t.values()).map(({layout:t})=>t))}},74038(t,e,r){r.d(e,{_:()=>i});class i{constructor(t,e,r,i,a,n=!1,s=0,o=!1){this.name=t,this.count=e,this.type=r,this.offset=i,this.stride=a,this.normalized=n,this.divisor=s,this.integer=o}}}}]);
|