@arcgis/core 4.32.0-next.20250106 → 4.32.0-next.20250108
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/AttributeBinsGraphic.js +5 -0
- package/README.md +1 -1
- package/WebLinkChart.js +1 -1
- package/applications/MapViewer/templateUtils.js +1 -1
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/000771f8eefcd6af0fda.js +1 -0
- package/assets/esri/core/workers/chunks/{9372d08ba8bf3342c48f.js → 011ccfd3acee83e7dc68.js} +1 -1
- package/assets/esri/core/workers/chunks/03af4a51043677ffcd0f.js +1 -0
- package/assets/esri/core/workers/chunks/{d07da8b63d83af179a2c.js → 05943caacfd28c383810.js} +1 -1
- package/assets/esri/core/workers/chunks/{9f495ad57cdbfa90c5b8.js → 095aeb19e2207c8361ca.js} +1 -1
- package/assets/esri/core/workers/chunks/{67c7bdc0c91a8f803ea8.js → 11cb25dfab7c8467897a.js} +1 -1
- package/assets/esri/core/workers/chunks/{07304287ed5244fa4e12.js → 12b2c8251ec2d0e2ca46.js} +1 -1
- package/assets/esri/core/workers/chunks/{42aa697b4718b75b8cb2.js → 1abeba63bf623a746d5c.js} +2 -2
- package/assets/esri/core/workers/chunks/{42aa697b4718b75b8cb2.js.LICENSE.txt → 1abeba63bf623a746d5c.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{a57cead317eb2fc9afd8.js → 206194cf069ad4bcc3ad.js} +1 -1
- package/assets/esri/core/workers/chunks/24a597ae32a2083a50a5.js +1 -0
- package/assets/esri/core/workers/chunks/{0673d811c496143fc3d4.js → 2779cf112299b612a73a.js} +1 -1
- package/assets/esri/core/workers/chunks/{bd37c9cc720587665fd3.js → 304b88ade7551130ad3a.js} +1 -1
- package/assets/esri/core/workers/chunks/{aedff36d3fec86abb9fb.js → 30a84ddf0384bb52fdbe.js} +1 -1
- package/assets/esri/core/workers/chunks/{367af4aa7e170c8553e3.js → 33a13544b9e5f4f20bce.js} +1 -1
- package/assets/esri/core/workers/chunks/{dce55e7f76adecc055c3.js → 35d9457109d0631a1ca8.js} +1 -1
- package/assets/esri/core/workers/chunks/{3a90163b76b0bc7f21d2.js → 3767defbd9c4b2e86886.js} +1 -1
- package/assets/esri/core/workers/chunks/3a3e9701e5d7b05f41b7.js +1 -0
- package/assets/esri/core/workers/chunks/{9a498f2c007f4d78d4dd.js → 4234539a9721104acafb.js} +1 -1
- package/assets/esri/core/workers/chunks/{76fa5c7c87831ad25cde.js → 435c037ccba71f1e22d3.js} +1 -1
- package/assets/esri/core/workers/chunks/4387c47ae1b36d770f1d.js +1 -0
- package/assets/esri/core/workers/chunks/44ec3c77339b9765aaa4.js +1 -0
- package/assets/esri/core/workers/chunks/4b77c8d994498899631a.js +1 -0
- package/assets/esri/core/workers/chunks/510cb8647841fec436c8.js +1 -0
- package/assets/esri/core/workers/chunks/{f9af0473878d960a02f2.js → 58485909e1cfeb52c01e.js} +1 -1
- package/assets/esri/core/workers/chunks/5b61a1e7ac60a02a906d.js +1 -0
- package/assets/esri/core/workers/chunks/62f8949a2d9076f3c1ea.js +2 -0
- package/assets/esri/core/workers/chunks/{c8cd6ba5600d8ff8db0b.js.LICENSE.txt → 62f8949a2d9076f3c1ea.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{664aa401887b59abd7b7.js → 6400f39a965900f66ce7.js} +1 -1
- package/assets/esri/core/workers/chunks/{ddce265c46e4dfeb6c6d.js → 66d40a486aa3caa76106.js} +1 -1
- package/assets/esri/core/workers/chunks/6b3ee691646fbc39445c.js +1 -0
- package/assets/esri/core/workers/chunks/{533a7fd64b17bb294545.js → 6c58f792e2ae3736f662.js} +1 -1
- package/assets/esri/core/workers/chunks/{370b230fd2d7703d0698.js → 6efb36bc2205203ff44d.js} +2 -2
- package/assets/esri/core/workers/chunks/{370b230fd2d7703d0698.js.LICENSE.txt → 6efb36bc2205203ff44d.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/76a7114a69264f5c07b0.js +2 -0
- package/assets/esri/core/workers/chunks/{005727711cca0614c2ab.js.LICENSE.txt → 76a7114a69264f5c07b0.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{a90611cdc86190799560.js → 7a43fda8984549a084b8.js} +1 -1
- package/assets/esri/core/workers/chunks/7b753da3b8a6d75abf20.js +1 -0
- package/assets/esri/core/workers/chunks/{ca1e186f136abb23ae4b.js → 7d0fc25ce1f74adcfeb6.js} +1 -1
- package/assets/esri/core/workers/chunks/{9b020c47ca9ff5de9bb8.js → 7db356976198c4df76c1.js} +1 -1
- package/assets/esri/core/workers/chunks/{9ad7d095e614e7e8d7f5.js → 7df076d15b7b7a66dcee.js} +1 -1
- package/assets/esri/core/workers/chunks/{955421ee2247965244f0.js → 7fe92f072d3641ec4662.js} +1 -1
- package/assets/esri/core/workers/chunks/{4c56698cf1c669371865.js → 81816410cb1453938593.js} +1 -1
- package/assets/esri/core/workers/chunks/{4ffaa2c5ab47a599ee9f.js → 82266ca8002554198208.js} +1 -1
- package/assets/esri/core/workers/chunks/{88c68881cbdf4e911832.js → 89286d8f59844724cd16.js} +1 -1
- package/assets/esri/core/workers/chunks/{f19d3c855f6e93544918.js → 8be0151a24c9af76a976.js} +1 -1
- package/assets/esri/core/workers/chunks/{d9e396adf3354ee68339.js → 8f2b2d2dc9935b0d2039.js} +1 -1
- package/assets/esri/core/workers/chunks/907a91266e25cc4b9d42.js +1 -0
- package/assets/esri/core/workers/chunks/{a77aa86896bbb0e088df.js → 9857491cafa0278d9ae6.js} +1 -1
- package/assets/esri/core/workers/chunks/{993db7646a8fc60179eb.js → 98da074899c82f0ded0b.js} +1 -1
- package/assets/esri/core/workers/chunks/{3bb94da29dac3367ecc6.js → a1edd3f68e691ea39594.js} +1 -1
- package/assets/esri/core/workers/chunks/a8ec4189ec3b37d5ff74.js +1 -0
- package/assets/esri/core/workers/chunks/{6a4305eb1e52b80ecb5c.js → b8ea84adff5619040494.js} +3 -3
- package/assets/esri/core/workers/chunks/c4374b6bc5c8dc6435c7.js +1 -0
- package/assets/esri/core/workers/chunks/c5a928dcff7dc8a8cc9f.js +2 -0
- package/assets/esri/core/workers/chunks/{f4e3db71d1adae717535.js.LICENSE.txt → c5a928dcff7dc8a8cc9f.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/cac79b64a7dade8bf486.js +2 -0
- package/assets/esri/core/workers/chunks/{bf0a0ca7fdac98f06a89.js.LICENSE.txt → cac79b64a7dade8bf486.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/cd92b80de7e9f982f9a9.js +1 -0
- package/assets/esri/core/workers/chunks/{2cccaf50134c65944e0a.js → d0876eed5249b029f9f0.js} +1 -1
- package/assets/esri/core/workers/chunks/{178f606c8896ae5f39de.js → d1dbbab4a4c6072c182f.js} +1 -1
- package/assets/esri/core/workers/chunks/{8e42fb623f56942958d8.js → d74b5dc60f02892d03e7.js} +1 -1
- package/assets/esri/core/workers/chunks/e27b8674a3492db51f2e.js +1 -0
- package/assets/esri/core/workers/chunks/{756c2f7c8659deab6c96.js → e2d987c39a6ef318511c.js} +2 -2
- package/assets/esri/core/workers/chunks/{756c2f7c8659deab6c96.js.LICENSE.txt → e2d987c39a6ef318511c.js.LICENSE.txt} +1 -1
- package/assets/esri/core/workers/chunks/{943428cf643e87ccfaad.js → e7e26b71f9eb28421936.js} +1 -1
- package/assets/esri/core/workers/chunks/{f0adabf6d71a27f3183b.js → e80b0646a7e0e466ea65.js} +1 -1
- package/assets/esri/core/workers/chunks/e9c21907fabcedbd32ae.js +1 -0
- package/assets/esri/core/workers/chunks/{3ed7c8138231de3a3b96.js → f8c960df1dabab120c70.js} +1 -1
- package/assets/esri/core/workers/chunks/{fdd8a5eb07466541f1f9.js → fd95b19f02d8dfef2baf.js} +1 -1
- package/assets/esri/widgets/support/GridControls/t9n/GridControls_ja.json +1 -1
- package/chunks/CrackAndCluster-CfzXpEle.js +1 -1
- package/chunks/LineSeries.js +1 -1
- package/chunks/OperatorProject.js +1 -1
- package/chunks/Pattern.glsl.js +1 -1
- package/chunks/QuadraticBezier.js +1 -1
- package/chunks/Transformation2D.js +1 -1
- package/chunks/bufferOperator.js +1 -1
- package/chunks/chartUtilsAm5.js +1 -1
- package/chunks/geodesicBufferOperator.js +1 -1
- package/chunks/lyr3DWorker.js +1 -1
- package/chunks/terrainUtilsPlanar.js +1 -1
- package/chunks/terrainUtilsSpherical.js +1 -1
- package/chunks/vxlLayer.js +1 -1
- package/geometry/operators/graphicBufferOperator.js +1 -1
- package/geometry/support/meshUtils/primitives.js +1 -1
- package/geometry/support/meshVertexSpaceUtils.js +1 -1
- package/geometry/support/triangle.js +1 -1
- package/interfaces.d.ts +186 -96
- package/layers/LinkChartLayer.js +1 -1
- package/layers/MapNotesLayer.js +1 -1
- package/layers/MediaLayer.js +1 -1
- package/layers/graphics/data/QueryEngineResult.js +1 -1
- package/layers/graphics/data/queryUtils.js +1 -1
- package/layers/graphics/data/queryValidationUtils.js +1 -1
- package/layers/graphics/sources/WFSSource.js +1 -1
- package/layers/support/ImageElement.js +1 -1
- package/layers/support/VideoElement.js +1 -1
- package/layers/support/capabilities.js +1 -1
- package/layers/support/featureLayerUtils.js +1 -1
- package/layers/support/rasterFunctions/rasterProjectionHelper.js +1 -1
- package/layers/support/serviceCapabilitiesUtils.js +1 -1
- package/layers/video/VideoController.js +1 -1
- package/linkChart/OrganicLayoutSettings.js +1 -1
- package/package.json +4 -4
- package/renderers/RasterStretchRenderer.js +1 -1
- package/rest/query/executeAttributeBinsQuery.js +1 -1
- package/rest/support/AttributeBinsFeatureSet.js +5 -0
- package/rest/support/AttributeBinsQuery.js +1 -1
- package/rest/support/BinParametersAttributes.js +1 -1
- package/rest/support/BinParametersBase.js +1 -1
- package/rest/support/DateBinParameters.js +1 -1
- package/rest/support/FeatureSet.js +1 -1
- package/rest/support/NormalizationBinParametersMixin.js +1 -1
- package/rest/support/Query.js +1 -1
- package/rest/support/TopFeaturesQuery.js +1 -1
- package/smartMapping/renderers/color.js +1 -1
- package/smartMapping/renderers/dotDensity.js +1 -1
- package/smartMapping/renderers/pieChart.js +1 -1
- package/smartMapping/renderers/size.js +1 -1
- package/smartMapping/renderers/univariateColorSize.js +1 -1
- package/smartMapping/statistics/summaryStatisticsForAttributes.js +1 -1
- package/support/mediaLayerUtils.js +5 -0
- package/support/revision.js +1 -1
- package/symbols/cim/CIMSymbolDrawHelper.js +1 -1
- package/symbols/cim/cimAnalyzer.js +1 -1
- package/symbols/cim/placements/PlacementInsidePolygon.js +1 -1
- package/views/2d/AnimationManager.js +1 -1
- package/views/2d/engine/Bitmap.js +1 -1
- package/views/2d/engine/BitmapContainer.js +1 -1
- package/views/2d/engine/BitmapTileContainer.js +1 -1
- package/views/2d/engine/vectorTiles/buckets/FillBucket.js +1 -1
- package/views/2d/engine/webgl/Overlay.js +1 -1
- package/views/2d/engine/webgl/SDFConverter.js +1 -1
- package/views/2d/engine/webgl/mesh/templates/shapingUtils.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/bitmap/BitmapTechnique.js +1 -1
- package/views/2d/engine/webgl/shaderGraph/techniques/shaders/hittestUtils.js +1 -1
- package/views/2d/layers/FeatureLayerView2D.js +1 -1
- package/views/2d/layers/features/processor/ClusterStrategy.js +1 -1
- package/views/2d/layers/features/support/GraphicsReader.js +1 -1
- package/views/2d/navigation/MapViewNavigation.js +1 -1
- package/views/2d/support/HighlightGroup.js +1 -1
- package/views/3d/analysis/Dimension/lengthDimensionUtils.js +1 -1
- package/views/3d/analysis/Slice/ShiftManipulator.js +1 -1
- package/views/3d/analysis/Viewshed/FieldOfViewManipulation.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/support/measurementUtils.js +1 -1
- package/views/3d/environment/CloudsParameters.js +1 -1
- package/views/3d/environment/MarsAtmosphere.js +1 -1
- package/views/3d/interactive/editingTools/transform/ScaleRotateTransform.js +1 -1
- package/views/3d/layers/MediaLayerView3D.js +1 -1
- package/views/3d/layers/graphics/Graphics3DMeshFillSymbolLayer.js +1 -1
- package/views/3d/layers/graphics/placementUtils.js +1 -1
- package/views/3d/layers/i3s/I3SUtil.js +1 -1
- package/views/3d/layers/support/FeatureTileVisibility3D.js +1 -1
- package/views/3d/state/NearFarHeuristic.js +1 -1
- package/views/3d/state/helpers/SceneIntersectionHelper.js +1 -1
- package/views/3d/support/HighlightGroup.js +1 -1
- package/views/3d/terrain/SphericalPatch.js +1 -1
- package/views/3d/terrain/TerrainRenderer.js +1 -1
- package/views/3d/terrain/TerrainSurface.js +1 -1
- package/views/3d/terrain/TilePerLayerInfo.js +1 -1
- package/views/3d/terrain/TileRenderer.js +1 -1
- package/views/3d/terrain/TileTexture.js +1 -1
- package/views/3d/terrain/terrainUtilsPlanar.js +1 -1
- package/views/3d/terrain/terrainUtilsSpherical.js +1 -1
- package/views/3d/webgl-engine/collections/Component/ComponentIntersectionData.js +1 -1
- package/views/3d/webgl-engine/collections/Component/SourceGeometry.js +1 -1
- package/views/3d/webgl-engine/effects/bloom/BloomRenderNode.js +1 -1
- package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
- package/views/3d/webgl-engine/lib/depthRangeUtils.js +1 -1
- package/views/3d/webgl-engine/lib/edgeRendering/EdgeView.js +1 -1
- package/views/3d/webgl-engine/shaders/OutputColorHighlightOID.glsl.js +4 -4
- package/views/SceneView.js +1 -1
- package/views/View.js +1 -1
- package/views/draw/support/HighlightHelper.js +1 -1
- package/views/input/BrowserEventSource.js +1 -1
- package/views/layers/DimensionLayerView.js +1 -1
- package/views/layers/MediaLayerView.js +1 -1
- package/views/support/HighlightGroup.d.ts +4 -0
- package/views/support/HighlightGroup.js +5 -0
- package/views/webgl/Texture.js +1 -1
- package/views/webgl/textureUtils.js +5 -0
- package/webscene/Slide.js +1 -1
- package/widgets/BasemapLayerList.js +1 -1
- package/widgets/BuildingExplorer/BuildingLevelPicker/BuildingLevelPicker.js +1 -1
- package/widgets/CatalogLayerList.js +1 -1
- package/widgets/Editor/UpdateRecordWorkflow.js +1 -1
- package/widgets/Editor/UpdateWorkflow.js +1 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/Grid/Grid.js +1 -1
- package/widgets/FeatureTable/support/exportUtils.js +1 -1
- package/widgets/FeatureTable/support/tableUtils.js +1 -1
- package/widgets/LayerList/support/layerListUtils.js +1 -1
- package/widgets/LayerList.js +1 -1
- package/widgets/Legend/styles/support/relationshipUtils.js +1 -1
- package/widgets/PanoramicViewer/utils.js +1 -1
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
- package/widgets/Sketch/SketchViewModel.js +1 -1
- package/widgets/TableList.js +1 -1
- package/widgets/support/ColorPicker.js +1 -1
- package/assets/esri/core/workers/chunks/005727711cca0614c2ab.js +0 -2
- package/assets/esri/core/workers/chunks/0a3bf1b74cce1b6b7ed8.js +0 -1
- package/assets/esri/core/workers/chunks/0d2411a941c42acb8cc2.js +0 -1
- package/assets/esri/core/workers/chunks/127c82cdb229434883b6.js +0 -1
- package/assets/esri/core/workers/chunks/13720b1d97fb7d80e972.js +0 -1
- package/assets/esri/core/workers/chunks/14b87f3dd9942e6b19d0.js +0 -1
- package/assets/esri/core/workers/chunks/16530347bd78dc6c2fcd.js +0 -1
- package/assets/esri/core/workers/chunks/1a713cc601c6fcd97d2f.js +0 -1
- package/assets/esri/core/workers/chunks/3029354194f1a3030c5c.js +0 -1
- package/assets/esri/core/workers/chunks/318a39b56851e707edad.js +0 -1
- package/assets/esri/core/workers/chunks/53cd990b2c988518de6d.js +0 -1
- package/assets/esri/core/workers/chunks/5a0eb9dfe668cf290462.js +0 -1
- package/assets/esri/core/workers/chunks/66b411119b8ffb99b9dc.js +0 -1
- package/assets/esri/core/workers/chunks/8cd2c9ec1e541836b81c.js +0 -1
- package/assets/esri/core/workers/chunks/9f0ebeae8a3ba360284b.js +0 -1
- package/assets/esri/core/workers/chunks/a3cef3837f4df9ab022e.js +0 -1
- package/assets/esri/core/workers/chunks/bf0a0ca7fdac98f06a89.js +0 -2
- package/assets/esri/core/workers/chunks/c8cd6ba5600d8ff8db0b.js +0 -2
- package/assets/esri/core/workers/chunks/ea250d66089967976c05.js +0 -1
- package/assets/esri/core/workers/chunks/ecf317c6c790b3cc83bf.js +0 -1
- package/assets/esri/core/workers/chunks/f4e3db71d1adae717535.js +0 -2
- package/views/2d/support/HighlightGroup.d.ts +0 -4
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 62f8949a2d9076f3c1ea.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2165],{21796:(e,t,i)=>{i.d(t,{H:()=>w,c:()=>b,d:()=>f,f:()=>v,i:()=>y,r:()=>m,s:()=>h});var n=i(36752),a=i(79e3);const r=["calcite-input","calcite-input-number","calcite-input-text","calcite-text-area"],s="hidden-form-input";function o(e){return"checked"in e}const l=new WeakMap,c=new WeakSet;function u(e){return"CALCITE-RADIO-BUTTON"===e.nodeName?(0,a.k)(e,"calcite-radio-button-group"):e}const d=new CustomEvent("calciteInvalid",{bubbles:!0,composed:!0});function p(e){const t=e?.target,i=t?.validationMessage,n=u(t?.parentElement);if(!n)return;const a=n?.nodeName?.toLowerCase(),s=a?.split("-");if(s.length<2||"calcite"!==s[0])return;e?.preventDefault(),"validity"in n&&(n.validity=t?.validity),n.dispatchEvent(d),function(e,{status:t,message:i,icon:n}){"status"in e&&(e.status=t),"validationIcon"in e&&"string"!=typeof e.validationIcon&&(e.validationIcon=n),"validationMessage"in e&&!e.validationMessage&&(e.validationMessage=i)}(n,{message:i,icon:!0,status:"invalid"});const o=function(e){return`${e.split("-").map(((e,t)=>0===t?e:`${e[0].toUpperCase()}${e.slice(1)}`)).join("")}${r.includes(e)?"Input":"Change"}`}(a);n.addEventListener(o,(()=>{"status"in n&&(n.status="idle"),"validationIcon"in n&&(""===n.validationIcon||!0===n.validationIcon)&&(n.validationIcon=!1),"validationMessage"in n&&n.validationMessage===i&&(n.validationMessage=""),"validity"in n&&(n.validity=t?.validity)}),{once:!0})}function h(e){const{formEl:t}=e;return!!t&&(t.addEventListener("invalid",p,!0),t.requestSubmit(),t.removeEventListener("invalid",p,!0),requestAnimationFrame((()=>{const e=t.querySelectorAll("[status=invalid]");for(const t of e)if(t?.validationMessage){t?.setFocus();break}})),!0)}function m(e){e.formEl?.reset()}function b(e){const{el:t,value:i}=e,n=v(e);if(!n||function(e,t){if((0,a.k)(t.parentElement,"[form]"))return!0;const i="calciteInternalFormComponentRegister";let n=!1;return e.addEventListener(i,(e=>{n=e.composedPath().some((e=>c.has(e))),e.stopPropagation()}),{once:!0}),t.dispatchEvent(new CustomEvent(i,{bubbles:!0,composed:!0})),n}(n,t))return;e.formEl=n,e.defaultValue=i,o(e)&&(e.defaultChecked=e.checked);const r=g.bind(e);n.addEventListener("reset",r),l.set(e.el,r),c.add(t)}function v(e){const{el:t,form:i}=e;return i?(0,a.q)(t,{id:i}):(0,a.k)(t,"form")}function g(){"status"in this&&(this.status="idle"),"validationIcon"in this&&(this.validationIcon=!1),"validationMessage"in this&&(this.validationMessage=""),o(this)?this.checked=this.defaultChecked:(this.value=this.defaultValue,this.onFormReset?.())}function f(e){const{el:t,formEl:i}=e;if(!i)return;const n=l.get(t);i.removeEventListener("reset",n),l.delete(t),e.formEl=null,c.delete(t)}const y="calciteInternalHiddenInputInput",x=e=>{e.target.dispatchEvent(new CustomEvent(y,{bubbles:!0}))},k=e=>e.removeEventListener("input",x);function $(e,t,i){const{defaultValue:n,disabled:a,form:r,name:s,required:l}=e;t.defaultValue=n,t.disabled=a,t.name=s,t.required=l,t.tabIndex=-1,r?t.setAttribute("form",r):t.removeAttribute("form"),o(e)?(t.checked=e.checked,t.defaultChecked=e.defaultChecked,t.value=e.checked?i||"on":""):t.value=i||"",e.syncHiddenFormInput?.(t);const c=u(e.el);if(c&&"validity"in c)for(const e in{...t?.validity})c.validity[e]=t.validity[e]}const w=({component:e})=>(function(e){const{el:t,formEl:i,name:n,value:a}=e,{ownerDocument:r}=t,o=t.querySelectorAll(`input[slot="${s}"]`);if(!i||!n)return void o.forEach((e=>{k(e),e.remove()}));const l=Array.isArray(a)?a:[a],c=[],u=new Set;let d;o.forEach((t=>{const i=l.find((e=>e==t.value));null!=i?(u.add(i),$(e,t,i)):c.push(t)})),l.forEach((t=>{if(u.has(t))return;let i=c.pop();i||(i=r.createElement("input"),i.slot=s),d||(d=r.createDocumentFragment()),d.append(i),i.addEventListener("input",x),$(e,i,t)})),d&&t.append(d),c.forEach((e=>{k(e),e.remove()}))}(e),n.qy`<slot name=${s}></slot>`)},60992:(e,t,i)=>{i.d(t,{I:()=>d,u:()=>u});var n=i(36752),a=i(31159);function r(){const{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function s(e){e.target.disabled&&e.preventDefault()}const o=["mousedown","mouseup","click"];function l(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}const c={capture:!0};function u(e){if(e.disabled)return e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),void function(e){e.el.click=r,function(e){e.addEventListener("pointerdown",s,c),o.forEach((t=>e.addEventListener(t,l,c)))}(e.el)}(e);(function(e){delete e.el.click,function(e){e.removeEventListener("pointerdown",s,c),o.forEach((t=>e.removeEventListener(t,l,c)))}(e.el)})(e),e.el.removeAttribute("aria-disabled")}const d=({children:e,disabled:t})=>n.qy`<div class=${(0,a.CP)("interaction-container")} .inert=${t}>${e}</div>`},60939:(e,t,i)=>{function n(e){return"Enter"===e||" "===e}i.d(t,{i:()=>n,n:()=>a});const a=["0","1","2","3","4","5","6","7","8","9"]},93174:(e,t,i)=>{i.d(t,{a:()=>k,b:()=>s,c:()=>m,d:()=>b,g:()=>g,l:()=>r});var n=i(79e3);const a="calciteInternalLabelClick",r="calciteInternalLabelConnected",s="calciteInternalLabelDisconnected",o="calcite-label",l=new WeakMap,c=new WeakMap,u=new WeakMap,d=new WeakMap,p=new Set,h=e=>{const{id:t}=e,i=t&&(0,n.q)(e,{selector:`${o}[for="${t}"]`});if(i)return i;const a=(0,n.k)(e,o);return!a||function(e,t){let i;const n="custom-element-ancestor-check",a=n=>{n.stopImmediatePropagation();const a=n.composedPath();i=a.slice(a.indexOf(t),a.indexOf(e))};return e.addEventListener(n,a,{once:!0}),t.dispatchEvent(new CustomEvent(n,{composed:!0,bubbles:!0})),e.removeEventListener(n,a),i.filter((i=>i!==t&&i!==e)).filter((e=>e.tagName?.includes("-"))).length>0}(a,e)?null:a};function m(e){if(!e)return;const t=h(e.el);if(c.has(t)&&t===e.labelEl||!t&&p.has(e))return;const i=x.bind(e);if(t){e.labelEl=t;const n=l.get(t)||[];n.push(e),l.set(t,n.sort(v)),c.has(e.labelEl)||(c.set(e.labelEl,f),e.labelEl.addEventListener(a,f)),p.delete(e),document.removeEventListener(r,u.get(e)),d.set(e,i),document.addEventListener(s,i)}else p.has(e)||(i(),document.removeEventListener(s,d.get(e)))}function b(e){if(!e||(p.delete(e),document.removeEventListener(r,u.get(e)),document.removeEventListener(s,d.get(e)),u.delete(e),d.delete(e),!e.labelEl))return;const t=l.get(e.labelEl);1===t.length&&(e.labelEl.removeEventListener(a,c.get(e.labelEl)),c.delete(e.labelEl)),l.set(e.labelEl,t.filter((t=>t!==e)).sort(v)),e.labelEl=null}function v(e,t){return(0,n.l)(e.el,t.el)?-1:1}function g(e){return e.label||e.labelEl?.textContent?.trim()||""}function f(e){const t=e.detail.sourceEvent.target,i=l.get(this),n=i.find((e=>e.el===t));if(i.includes(n))return;const a=i[0];a.disabled||a.onLabelClick(e)}function y(){p.has(this)&&m(this)}function x(){p.add(this);const e=u.get(this)||y.bind(this);u.set(this,e),document.addEventListener(r,e)}async function k(e){if(await e.componentOnReady(),l.has(e))return;const t=e.ownerDocument?.getElementById(e.for);t&&requestAnimationFrame((()=>{for(const e of p)if(e.el===t){m(e);break}}))}},2165:(e,t,i)=>{i.r(t),i.d(t,{Input:()=>oe}),i(32239);var n=i(34088),a=i(12618),r=i(31159),s=i(79e3),o=i(33826);const l={valid:"check-circle",invalid:"exclamation-mark-triangle",idle:"information"},c=o.AH`:host{box-sizing:border-box;display:flex;block-size:auto;inline-size:100%;align-items:center;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1);opacity:1;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;--calcite-input-message-spacing-value: .25rem;margin-block-start:var(--calcite-input-message-spacing-value)}.calcite-input-message-icon{pointer-events:none;display:inline-flex;flex-shrink:0;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;margin-inline-end:.5rem}:host([status=invalid]) .calcite-input-message-icon{color:var(--calcite-color-status-danger)}:host([status=warning]) .calcite-input-message-icon{color:var(--calcite-color-status-warning)}:host([status=valid]) .calcite-input-message-icon{color:var(--calcite-color-status-success)}:host([status=idle]) .calcite-input-message-icon{color:var(--calcite-color-brand)}:host([scale=s]){font-size:var(--calcite-font-size--3);line-height:.75rem}:host([scale=m]){font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=l]){font-size:var(--calcite-font-size--1);line-height:1rem}:host([hidden]){display:none}[hidden]{display:none}`;class u extends r.WF{constructor(){super(...arguments),this.iconFlipRtl=!1,this.scale="m",this.status="idle"}static{this.properties={icon:[3,{converter:r.pf}],iconFlipRtl:7,scale:3,status:3}}static{this.styles=c}connectedCallback(){super.connectedCallback(),this.requestedIcon=(0,s.v)(l,this.icon,this.status)}willUpdate(e){(e.has("status")&&(this.hasUpdated||"idle"!==this.status)||e.has("icon"))&&(this.requestedIcon=(0,s.v)(l,this.icon,this.status))}render(){const e=this.el.hidden;return(0,r.Bq)(this.el,"calcite-hydrated-hidden",e),a.qy`${this.renderIcon(this.requestedIcon)}<slot></slot>`}renderIcon(e){if(e)return a.qy`<calcite-icon class="calcite-input-message-icon" .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`}}(0,n.c)("calcite-input-message",u);var d=i(36752);const p=o.AH`:host{position:relative;display:block;inline-size:100%}.track,.bar{position:absolute;inset-block-start:0px;block-size:2px}.track{z-index:var(--calcite-z-index);inline-size:100%;overflow:hidden;background-color:var(--calcite-progress-background-color, var(--calcite-color-border-3))}.bar{z-index:var(--calcite-z-index);background-color:var(--calcite-progress-fill-color, var(--calcite-color-brand))}@media (forced-colors: active){.track{background-color:highlightText}.bar{background-color:linkText}}.indeterminate{inline-size:20%;animation:looping-progress-bar-ani calc(var(--calcite-internal-animation-timing-medium) / var(--calcite-internal-duration-factor) * 11 / var(--calcite-internal-duration-factor)) linear infinite}.indeterminate.calcite--rtl{animation-name:looping-progress-bar-ani-rtl}.reversed{animation-direction:reverse}.text{padding-inline:0px;padding-block:1rem 0px;text-align:center;font-size:var(--calcite-font-size--2);line-height:1rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-progress-text-color, var(--calcite-color-text-2))}@keyframes looping-progress-bar-ani{0%{transform:translate3d(-100%,0,0)}50%{inline-size:40%}to{transform:translate3d(600%,0,0)}}@keyframes looping-progress-bar-ani-rtl{0%{transform:translate3d(100%,0,0)}50%{inline-size:40%}to{transform:translate3d(-600%,0,0)}}:host([hidden]){display:none}[hidden]{display:none}`;class h extends r.WF{constructor(){super(...arguments),this.reversed=!1,this.type="determinate",this.value=0}static{this.properties={label:1,reversed:7,text:1,type:3,value:9}}static{this.styles=p}render(){const e="determinate"===this.type,t=e?{width:`${this.value}%`}:{},i=(0,s.g)(this.el);return d.qy`<div .ariaLabel=${this.label||this.text} .ariaValueMax=${e?"100":void 0} .ariaValueMin=${e?"0":void 0} .ariaValueNow=${e?this.value:void 0} role=progressbar><div class="track"><div class=${(0,r.CP)({bar:!0,indeterminate:"indeterminate"===this.type,[n.C.rtl]:"rtl"===i,reversed:this.reversed})} style=${(0,r.zl)(t)}></div></div>${this.text?d.qy`<div class="text">${this.text}</div>`:null}</div>`}}(0,n.c)("calcite-progress",h);var m=i(56328),b=i(18394),v=i(48015),g=i(52567),f=i(57110),y=i(21796),x=i(60992),k=i(60939),$=i(93174),w=i(28786);const E=new RegExp("\\.(0+)?$"),I=new RegExp("0+$");class z{static{this.DECIMALS=100}static{this.ROUNDED=!0}static{this.SHIFT=BigInt("1"+"0".repeat(this.DECIMALS))}constructor(e){if(e instanceof z)return e;const[t,i]=function(e){const t=e.split(/[eE]/);if(1===t.length)return e;const i=+e;if(Number.isSafeInteger(i))return`${i}`;const n="-"===e.charAt(0),a=+t[1],r=t[0].split("."),s=(n?r[0].substring(1):r[0])||"",o=r[1]||"",l=a>0?`${s}${((e,t)=>{const i=t>e.length?`${e}${"0".repeat(t-e.length)}`:e;return`${i.slice(0,t)}.${i.slice(t)}`})(o,a)}`:`${((e,t)=>{const i=Math.abs(t)-e.length,n=i>0?`${"0".repeat(i)}${e}`:e;return`${n.slice(0,t)}.${n.slice(t)}`})(s,a)}${o}`;return`${n?"-":""}${"."===l.charAt(0)?"0":""}${l.replace(E,"").replace(S,"")}`}(e).split(".").concat("");this.value=BigInt(t+i.padEnd(z.DECIMALS,"0").slice(0,z.DECIMALS))+BigInt(z.ROUNDED&&i[z.DECIMALS]>="5"),this.isNegative="-"===e.charAt(0)}static{this._divRound=(e,t)=>z.fromBigInt(e/t+(z.ROUNDED?e*BigInt(2)/t%BigInt(2):BigInt(0)))}static{this.fromBigInt=e=>Object.assign(Object.create(z.prototype),{value:e,isNegative:e<BigInt(0)})}getIntegersAndDecimals(){const e=this.value.toString().replace("-","").padStart(z.DECIMALS+1,"0");return{integers:e.slice(0,-z.DECIMALS),decimals:e.slice(-z.DECIMALS).replace(I,"")}}toString(){const{integers:e,decimals:t}=this.getIntegersAndDecimals();return`${this.isNegative?"-":""}${e}${t.length?"."+t:""}`}formatToParts(e){const{integers:t,decimals:i}=this.getIntegersAndDecimals(),n=e.numberFormatter.formatToParts(BigInt(t));return this.isNegative&&n.unshift({type:"minusSign",value:e.minusSign}),i.length&&(n.push({type:"decimal",value:e.decimal}),i.split("").forEach((e=>n.push({type:"fraction",value:e})))),n}format(e){const{integers:t,decimals:i}=this.getIntegersAndDecimals();return`${this.isNegative?e.minusSign:""}${e.numberFormatter.format(BigInt(t))}${i.length?`${e.decimal}${i.split("").map((t=>e.numberFormatter.format(Number(t)))).join("")}`:""}`}add(e){return z.fromBigInt(this.value+new z(e).value)}subtract(e){return z.fromBigInt(this.value-new z(e).value)}multiply(e){return z._divRound(this.value*new z(e).value,z.SHIFT)}divide(e){return z._divRound(this.value*z.SHIFT,new z(e).value)}}function C(e){return!(!e||isNaN(Number(e)))}function V(e){return e&&function(e){return k.n.some((t=>e.includes(t)))}(e)?A(e,(e=>{let t=!1;const i=e.split("").filter(((e,i)=>e.match(/\./g)&&!t?(t=!0,!0):!(!e.match(/-/g)||0!==i)||k.n.includes(e))).join("");return C(i)?new z(i).toString():""})):""}const S=/^([-0])0+(?=\d)/,N=/(?!^\.)\.$/,O=/(?!^-)-/g,F=/^-\b0\b\.?0*$/,L=/0*$/,D=e=>A(e,(e=>{const t=e.replace(O,"").replace(N,"").replace(S,"$1");return C(t)?F.test(t)?t:function(e){const t=e.split(".")[1],i=new z(e).toString(),[n,a]=i.split(".");return t&&a!==t?`${n}.${t}`:i}(t):e}));function A(e,t){if(!e)return e;const i=e.toLowerCase().indexOf("e")+1;return i?e.replace(/[eE]*$/g,"").substring(0,i).concat(e.slice(i).replace(/[eE]/g,"")).split(/[eE]/).map(((e,i)=>t(1===i?e.replace(/\./g,""):e))).join("e").replace(/^e/,"1e"):t(e)}const H="en",_=["ar","bg","bs","ca","cs","da","de","el",H,"es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","no","nl","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],M=["ar","bg","bs","ca","cs","da","de","de-AT","de-CH","el",H,"en-AU","en-CA","en-GB","es","es-MX","et","fi","fr","fr-CH","he","hi","hr","hu","id","it","it-CH","ja","ko","lt","lv","mk","no","nl","pl","pt","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],P=(new Map(Object.entries({bg:{am:"пр.об.",pm:"сл.об."},bs:{am:"prijepodne",pm:"popodne"},ca:{am:"a. m.",pm:"p. m."},cs:{am:"dop.",pm:"odp."},es:{am:"a. m.",pm:"p. m."},"es-mx":{am:"a.m.",pm:"p.m."},"es-MX":{am:"a.m.",pm:"p.m."},fi:{am:"ap.",pm:"ip."},he:{am:"לפנה״צ",pm:"אחה״צ"},hu:{am:"de. ",pm:"du."},lt:{am:"priešpiet",pm:"popiet"},lv:{am:"priekšpusdienā",pm:"pēcpusdienā"},mk:{am:"претпл.",pm:"попл."},no:{am:"a.m.",pm:"p.m."},nl:{am:"a.m.",pm:"p.m."},"pt-pt":{am:"da manhã",pm:"da tarde"},"pt-PT":{am:"da manhã",pm:"da tarde"},ro:{am:"a.m.",pm:"p.m."},sl:{am:"dop.",pm:"pop."},sv:{am:"fm",pm:"em"},th:{am:"ก่อนเที่ยง",pm:"หลังเที่ยง"},tr:{am:"ÖÖ",pm:"ÖS"},uk:{am:"дп",pm:"пп"},vi:{am:"SA",pm:"CH"}})),["arab","arabext","latn"]),T=e=>P.includes(e),q=(new Intl.NumberFormat).resolvedOptions().numberingSystem,B="arab"!==q&&T(q)?q:"latn";const R=new class{constructor(){this.delocalize=e=>this._numberFormatOptions?A(e,(e=>e.replace(new RegExp(`[${this._minusSign}]`,"g"),"-").replace(new RegExp(`[${this._group}]`,"g"),"").replace(new RegExp(`[${this._decimal}]`,"g"),".").replace(new RegExp(`[${this._digits.join("")}]`,"g"),this._getDigitIndex))):e,this.localize=e=>this._numberFormatOptions?A(e,(e=>C(e.trim())?new z(e.trim()).format(this).replace(new RegExp(`[${this._actualGroup}]`,"g"),this._group):e)):e}get group(){return this._group}get decimal(){return this._decimal}get minusSign(){return this._minusSign}get digits(){return this._digits}get numberFormatter(){return this._numberFormatter}get numberFormatOptions(){return this._numberFormatOptions}set numberFormatOptions(e){if(e.locale=function(e,t="cldr"){const i="cldr"===t?M:_;return e?i.includes(e)?e:"nb"===(e=e.toLowerCase())?"no":"t9n"===t&&"pt"===e?"pt-BR":(e.includes("-")&&(e=e.replace(/(\w+)-(\w+)/,((e,t,i)=>`${t}-${i.toUpperCase()}`)),i.includes(e)||(e=e.split("-")[0])),"zh"===e?"zh-CN":i.includes(e)?e:(console.warn(`Translations for the "${e}" locale are not available and will fall back to the default, English (en).`),H)):H}(e?.locale),e.numberingSystem=(t=e?.numberingSystem,T(t)?t:B),!this._numberFormatOptions&&e.locale===H&&e.numberingSystem===B&&2===Object.keys(e).length||JSON.stringify(this._numberFormatOptions)===JSON.stringify(e))return;var t;this._numberFormatOptions=e,this._numberFormatter=new Intl.NumberFormat(this._numberFormatOptions.locale,this._numberFormatOptions),this._digits=[...new Intl.NumberFormat(this._numberFormatOptions.locale,{useGrouping:!1,numberingSystem:this._numberFormatOptions.numberingSystem}).format(9876543210)].reverse();const i=new Map(this._digits.map(((e,t)=>[e,t]))),n=new Intl.NumberFormat(this._numberFormatOptions.locale,{numberingSystem:this._numberFormatOptions.numberingSystem}).formatToParts(-12345678.9);this._actualGroup=n.find((e=>"group"===e.type)).value,this._group=0===this._actualGroup.trim().length||" "==this._actualGroup?" ":this._actualGroup,this._decimal="bs"===e.locale||"mk"===e.locale?",":n.find((e=>"decimal"===e.type)).value,this._minusSign=n.find((e=>"minusSign"===e.type)).value,this._getDigitIndex=e=>i.get(e)}};var j=i(34426);const U=({scale:e,status:t,id:i,icon:n,message:a})=>d.qy`<div class=${(0,r.CP)("validation-container")}><calcite-input-message aria-live=polite .icon=${n} id=${i??d.s6} .scale=${e} .status=${t}>${a}</calcite-input-message></div>`;var W=i(75572);const K=["date","datetime-local","month","number","range","time","week"],G=["email","password","search","tel","text","url"],J=["email","password","search","tel","text","textarea","url"];function X(e,t,i,n){const a=i.toLowerCase(),r=e[i];n&&null!=r?t.setAttribute(a,`${r}`):t.removeAttribute(a)}const Y="editing-enabled",Q="inline-child",Z="number-button-item--horizontal",ee="wrapper",te="number-button-item",ie="has-suffix",ne="has-prefix",ae="inputValidationMessage",re={tel:"phone",password:"lock",email:"email-address",date:"calendar",time:"clock",search:"search"},se=o.AH`: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{display:block}:host([scale=s]) input,:host([scale=s]) .prefix,:host([scale=s]) .suffix{block-size:1.5rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=s]) textarea{block-size:1.5rem;min-block-size:1.5rem}:host([scale=s]) .number-button-wrapper,:host([scale=s]) .action-wrapper calcite-button,:host([scale=s]) .action-wrapper calcite-button button{block-size:1.5rem}:host([scale=s]) input[type=file]{block-size:1.5rem}:host([scale=s]) .clear-button{min-block-size:1.5rem;min-inline-size:1.5rem}:host([scale=s]) textarea{block-size:auto;padding-block:.25rem;padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem}:host([scale=m]) input,:host([scale=m]) .prefix,:host([scale=m]) .suffix{block-size:2rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=m]) textarea{min-block-size:2rem}:host([scale=m]) .number-button-wrapper,:host([scale=m]) .action-wrapper calcite-button,:host([scale=m]) .action-wrapper calcite-button button{block-size:2rem}:host([scale=m]) input[type=file]{block-size:2rem}:host([scale=m]) .clear-button{min-block-size:2rem;min-inline-size:2rem}:host([scale=m]) textarea{block-size:auto;padding-block:.5rem;padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem}:host([scale=l]) input,:host([scale=l]) .prefix,:host([scale=l]) .suffix{block-size:2.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([scale=l]) textarea{min-block-size:2.75rem}:host([scale=l]) .number-button-wrapper,:host([scale=l]) .action-wrapper calcite-button,:host([scale=l]) .action-wrapper calcite-button button{block-size:2.75rem}:host([scale=l]) input[type=file]{block-size:2.75rem}:host([scale=l]) .clear-button{min-block-size:2.75rem;min-inline-size:2.75rem}:host([scale=l]) textarea{block-size:auto;padding-block:.75rem;padding-inline:1rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host([disabled]) textarea{resize:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}textarea,input{position:relative;margin:0;box-sizing:border-box;display:flex;max-block-size:100%;inline-size:100%;max-inline-size:100%;flex:1 1 0%;text-overflow:ellipsis;border-width:1px;border-style:solid;font-family:inherit;font-weight:var(--calcite-font-weight-normal);border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-background-color, var(--calcite-color-foreground-1));color:var(--calcite-input-text-color, var(--calcite-color-text-1));transition:var(--calcite-animation-timing),block-size 0,outline-offset 0s;-webkit-appearance:none}textarea:placeholder-shown,input:placeholder-shown{text-overflow:ellipsis}::placeholder{font-weight:var(--calcite-font-weight-normal);color:var(--calcite-input-placeholder-text-color, var(--calcite-color-text-3))}textarea{border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}input{border-start-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-end-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-prefix input{border-start-start-radius:0;border-end-start-radius:0}.has-suffix input,.element-wrapper:has(.clear-button) input,:host([number-button-type=vertical][type=number]) input,:host([number-button-type=horizontal]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .has-suffix .suffix,:host([number-button-type=vertical][type=number]) .clear-button,:host([number-button-type=horizontal][type=number]) .clear-button{border-start-end-radius:0;border-end-end-radius:0}:host([number-button-type=horizontal]) input{border-start-start-radius:0;border-start-end-radius:0;border-end-start-radius:0;border-end-end-radius:0}.has-prefix .prefix:first-child,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=down]{border-start-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-end-start-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}.has-suffix .suffix,:host([number-button-type=vertical][type=number][read-only]) .has-suffix .suffix,:host([clearable]) .clear-button,:host([number-button-type=horizontal]) .number-button-item[data-adjustment=up]{border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}:host([clearable]) .has-suffix .clear-button{border-end-end-radius:0;border-start-end-radius:0}:host([number-button-type=vertical]) .number-button-item[data-adjustment=down]{border-block-start-width:0px;border-end-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}:host([number-button-type=vertical]) .number-button-item[data-adjustment=up]{border-start-end-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp))}input[type=search]::-webkit-search-decoration{-webkit-appearance:none}input:focus,textarea:focus{border-color:var(--calcite-color-brand);color:var(--calcite-input-text-color, var(--calcite-color-text-1))}input[readonly],textarea[readonly]{font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-input-background-color, var(--calcite-color-background))}input[readonly]:focus,textarea[readonly]:focus{color:var(--calcite-input-text-color, var(--calcite-color-text-1))}textarea,input{outline-color:transparent}textarea:focus,input:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([status=invalid]) input,:host([status=invalid]) textarea{border-color:var(--calcite-color-status-danger)}:host([status=invalid]) input:focus,:host([status=invalid]) textarea:focus{outline:2px solid var(--calcite-color-status-danger);outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}:host([scale=s]) .icon{inset-inline-start:.5rem}:host([scale=m]) .icon{inset-inline-start:.75rem}:host([scale=l]) .icon{inset-inline-start:1rem}:host([icon][scale=s]) input{padding-inline-start:2rem}:host([icon][scale=m]) input{padding-inline-start:2.5rem}:host([icon][scale=l]) input{padding-inline-start:3.5rem}.element-wrapper{position:relative;order:3;display:inline-flex;flex:1 1 0%;align-items:center}.icon{pointer-events:none;position:absolute;display:block;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;color:var(--calcite-input-icon-color, var(--calcite-color-text-3));z-index:var(--calcite-z-index)}input[type=text]::-ms-clear,input[type=text]::-ms-reveal{display:none;block-size:0px;inline-size:0px}input[type=search]::-webkit-search-decoration,input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-results-button,input[type=search]::-webkit-search-results-decoration,input[type=date]::-webkit-clear-button,input[type=time]::-webkit-clear-button{display:none}.clear-button{pointer-events:initial;order:4;margin:0;box-sizing:border-box;display:flex;min-block-size:100%;cursor:pointer;align-items:center;justify-content:center;align-self:stretch;border-width:1px;border-style:solid;outline-color:transparent;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;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-actions-background-color, var(--calcite-color-foreground-1));border-inline-start-width:0px}.clear-button calcite-icon{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;color:var(--calcite-input-actions-icon-color, var(--calcite-color-text-3))}.clear-button:hover{background-color:var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2))}.clear-button:hover calcite-icon{color:var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.clear-button:active{background-color:var(--calcite-input-actions-background-color-press, var(--calcite-color-foreground-3))}.clear-button:active calcite-icon{color:var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.clear-button:focus{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(-2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.clear-button:disabled{opacity:var(--calcite-opacity-disabled)}.loader{inset-block-start:1px;inset-inline:1px;pointer-events:none;position:absolute;display:block;--calcite-progress-background-color: var(--calcite-input-loading-background-color);--calcite-progress-fill-color: var(--calcite-input-loading-fill-color)}.action-wrapper{order:7;display:flex}.prefix,.suffix{box-sizing:border-box;display:flex;block-size:auto;min-block-size:100%;-webkit-user-select:none;user-select:none;align-content:center;align-items:center;overflow-wrap:break-word;border-width:1px;border-style:solid;font-weight:var(--calcite-font-weight-medium);line-height:1;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input))}.prefix{order:2;border-inline-end-width:0px;inline-size:var(--calcite-input-prefix-size, auto);background-color:var(--calcite-input-prefix-background-color, var(--calcite-color-background));color:var(--calcite-input-prefix-text-color, var(--calcite-color-text-2))}.suffix{order:5;border-inline-start-width:0px;inline-size:var(--calcite-input-suffix-size, auto);background-color:var(--calcite-input-suffix-background-color, var(--calcite-color-background));color:var(--calcite-input-suffix-text-color, var(--calcite-color-text-2))}:host([alignment=start]) textarea,:host([alignment=start]) input{text-align:start}:host([alignment=end]) textarea,:host([alignment=end]) input{text-align:end}input[type=number]{-moz-appearance:textfield}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;-moz-appearance:textfield;margin:0}.number-button-wrapper{pointer-events:none;order:6;box-sizing:border-box;display:flex;flex-direction:column;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}:host([number-button-type=vertical]) .wrapper{flex-direction:row;display:flex}:host([number-button-type=vertical]) input,:host([number-button-type=vertical]) textarea{order:2}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=down] calcite-icon{transform:rotate(-90deg)}:host([number-button-type=horizontal]) .calcite--rtl .number-button-item[data-adjustment=up] calcite-icon{transform:rotate(-90deg)}.number-button-item.number-button-item--horizontal{border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));order:1;max-block-size:100%;min-block-size:100%;align-self:stretch;border-width:1px;border-style:solid}.number-button-item.number-button-item--horizontal[data-adjustment=down] calcite-icon,.number-button-item.number-button-item--horizontal[data-adjustment=up] calcite-icon{transform:rotate(90deg)}.number-button-item.number-button-item--horizontal[data-adjustment=down]{border-inline-end-width:0px}.number-button-item.number-button-item--horizontal[data-adjustment=up]{border-inline-start-width:0px;order:5}.number-button-item{max-block-size:50%;min-block-size:50%;pointer-events:initial;margin:0;box-sizing:border-box;display:flex;cursor:pointer;align-items:center;align-self:center;border-width:1px;border-style:solid;background-color:var(--calcite-color-foreground-1);padding-block:0px;padding-inline:.5rem;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;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input));background-color:var(--calcite-input-actions-background-color, var(--calcite-color-foreground-1));border-inline-start-width:0px}.number-button-item calcite-icon{pointer-events:none;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;color:var(--calcite-input-actions-icon-color, var(--calcite-color-text-3))}.number-button-item:hover{background-color:var(--calcite-input-actions-background-color-hover, var(--calcite-color-foreground-2))}.number-button-item:hover calcite-icon{color:var(--calcite-input-actions-icon-color-hover, var(--calcite-color-text-1))}.number-button-item:active{background-color:var(--calcite-input-actions-background-color-press, var(--calcite-color-foreground-3))}.number-button-item:active calcite-icon{color:var(--calcite-input-actions-icon-color-press, var(--calcite-color-text-1))}.number-button-item:disabled{pointer-events:none}.wrapper{position:relative;display:flex;flex-direction:row;align-items:center;border-radius:var(--calcite-input-corner-radius, var(--calcite-corner-radius-sharp));box-shadow:var(--calcite-input-shadow, var(--calcite-shadow-none))}input[type=date]::-webkit-input-placeholder{visibility:hidden!important}:host([type=color]) input{padding:.25rem}:host([type=file]) input{cursor:pointer;border-width:1px;border-style:dashed;background-color:var(--calcite-color-foreground-1);text-align:center;border-color:var(--calcite-input-border-color, var(--calcite-color-border-input))}:host([type=file][scale=s]) input{padding-block:1px;padding-inline:.5rem}:host([type=file][scale=m]) input{padding-block:.25rem;padding-inline:.75rem}:host([type=file][scale=l]) input{padding-block:.5rem;padding-inline:1rem}:host(.no-bottom-border) input{border-block-end-width:0px}:host(.border-top-color-one) input{border-block-start-color:var(--calcite-color-border-1)}input.inline-child{background-color:transparent;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}input.inline-child .editing-enabled{background-color:inherit}input.inline-child:not(.editing-enabled){display:flex;cursor:pointer;text-overflow:ellipsis;border-color:transparent;padding-inline-start:0}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`;class oe extends r.WF{constructor(){super(),this.actionWrapperEl=(0,v._)(),this.attributeWatch=(0,f.oW)(["autofocus","enterkeyhint","inputmode","spellcheck"],this.handleGlobalAttributesChanged),this.childElType="input",this.inputWrapperEl=(0,v._)(),this.onHiddenFormInputInput=e=>{e.target.name===this.name&&this.setValue({value:e.target.value,origin:"direct"}),this.setFocus(),e.stopPropagation()},this.previousValueOrigin="initial",this.userChangedValue=!1,this._value="",this.slottedActionElDisabledInternally=!1,this.alignment="start",this.clearable=!1,this.disabled=!1,this.editingEnabled=!1,this.groupSeparator=!1,this.iconFlipRtl=!1,this.loading=!1,this.localeFormat=!1,this.messages=(0,W.u)(),this.multiple=!1,this.numberButtonType="vertical",this.readOnly=!1,this.required=!1,this.scale="m",this.status="idle",this.type="text",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.calciteInputChange=(0,r.lh)({cancelable:!1}),this.calciteInputInput=(0,r.lh)(),this.calciteInternalInputBlur=(0,r.lh)({cancelable:!1}),this.calciteInternalInputFocus=(0,r.lh)({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={displayedValue:16,slottedActionElDisabledInternally:16,accept:1,alignment:3,autocomplete:0,clearable:7,disabled:7,editingEnabled:7,files:0,form:3,groupSeparator:7,icon:[3,{converter:r.pf}],iconFlipRtl:7,label:1,loading:7,localeFormat:5,max:11,maxLength:11,messageOverrides:0,min:11,minLength:11,multiple:5,name:3,numberButtonType:3,numberingSystem:3,pattern:1,placeholder:1,prefixText:1,readOnly:7,required:7,scale:3,status:3,step:3,suffixText:1,type:3,validationIcon:[3,{converter:r.pf}],validationMessage:1,validity:0,value:1}}static{this.styles=se}get isClearable(){return!this.isTextarea&&(this.clearable||"search"===this.type)&&this.value?.length>0}get isTextarea(){return"textarea"===this.childElType}get value(){return this._value}set value(e){const t=this._value;e!==t&&(this._value=e,this.valueWatcher(e,t),e&&""===this._value&&this.setValue({origin:"reset",value:t}))}async selectText(){"number"===this.type?this.childNumberEl?.select():this.childEl?.select()}async setFocus(){await(0,w.c)(this),(0,s.h)("number"===this.type?this.childNumberEl:this.childEl)}connectedCallback(){super.connectedCallback(),this.inlineEditableEl=this.el.closest("calcite-inline-editable"),this.inlineEditableEl&&(this.editingEnabled=this.inlineEditableEl.editingEnabled||!1),(0,$.c)(this),(0,y.c)(this),this.el.addEventListener(y.i,this.onHiddenFormInputInput)}async load(){(0,w.s)(this),this.childElType="textarea"===this.type?"textarea":"input",this.maxString=this.max?.toString(),this.minString=this.min?.toString(),this.requestedIcon=(0,s.v)(re,this.icon,this.type),this.setPreviousEmittedValue(this.value),this.setPreviousValue(this.value),"number"===this.type&&("Infinity"===this.value||"-Infinity"===this.value?(this.displayedValue=this.value,this.previousEmittedValue=this.value):(this.warnAboutInvalidNumberValue(this.value),this.setValue({origin:"connected",value:C(this.value)?this.value:""})))}willUpdate(e){e.has("max")&&(this.maxString=this.max?.toString()||null),e.has("min")&&(this.minString=this.min?.toString()||null),(e.has("icon")||e.has("type")&&(this.hasUpdated||"text"!==this.type))&&(this.requestedIcon=(0,s.v)(re,this.icon,this.type))}updated(){(0,x.u)(this)}loaded(){(0,w.a)(this)}disconnectedCallback(){super.disconnectedCallback(),(0,$.d)(this),(0,y.d)(this),this.el.removeEventListener(y.i,this.onHiddenFormInputInput)}handleGlobalAttributesChanged(){this.requestUpdate()}valueWatcher(e,t){if(!this.userChangedValue){if("number"===this.type&&("Infinity"===e||"-Infinity"===e))return this.displayedValue=e,void(this.previousEmittedValue=e);this.setValue({origin:"direct",previousValue:t,value:null==e||""==e?"":"number"===this.type?C(e)?e:this.previousValue||"":e}),this.warnAboutInvalidNumberValue(e)}this.userChangedValue=!1}keyDownHandler(e){this.readOnly||this.disabled||e.defaultPrevented||(this.isClearable&&"Escape"===e.key&&(this.clearInputValue(e),e.preventDefault()),"Enter"===e.key&&(0,y.s)(this)&&e.preventDefault())}onLabelClick(){this.setFocus()}incrementOrDecrementNumberValue(e,t,i,n){const{value:a}=this;if("Infinity"===a||"-Infinity"===a)return;const r="up"===e?1:-1,s="any"===this.step?1:Math.abs(this.step||1),o=new z(""!==a?a:"0").add(""+s*r),l="number"==typeof i&&!isNaN(i)&&o.subtract(`${i}`).isNegative?`${i}`:"number"!=typeof t||isNaN(t)||o.subtract(`${t}`).isNegative?o.toString():`${t}`;this.setValue({committing:!0,nativeEvent:n,origin:"user",value:l})}clearInputValue(e){this.setValue({committing:!0,nativeEvent:e,origin:"user",value:""})}emitChangeIfUserModified(){"user"===this.previousValueOrigin&&this.value!==this.previousEmittedValue&&(this.calciteInputChange.emit(),this.setPreviousEmittedValue(this.value))}inputBlurHandler(){window.clearInterval(this.nudgeNumberValueIntervalId),this.calciteInternalInputBlur.emit(),this.emitChangeIfUserModified()}clickHandler(e){if(this.disabled)return;const t=e.composedPath();!t.includes(this.inputWrapperEl.value)||t.includes(this.actionWrapperEl.value)||this.setFocus()}inputFocusHandler(){this.calciteInternalInputFocus.emit()}inputChangeHandler(){"file"===this.type&&(this.files=this.childEl.files)}inputInputHandler(e){this.disabled||this.readOnly||this.setValue({nativeEvent:e,origin:"user",value:e.target.value})}inputKeyDownHandler(e){this.disabled||this.readOnly||"Enter"===e.key&&this.emitChangeIfUserModified()}inputNumberInputHandler(e){if(this.disabled||this.readOnly||"Infinity"===this.value||"-Infinity"===this.value)return;const t=e.target.value;R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator};const i=R.delocalize(t);"insertFromPaste"===e.inputType?(C(i)||e.preventDefault(),this.setValue({nativeEvent:e,origin:"user",value:V(i)}),this.childNumberEl.value=this.displayedValue):this.setValue({nativeEvent:e,origin:"user",value:i})}inputNumberKeyDownHandler(e){if("number"!==this.type||this.disabled||this.readOnly)return;if("Infinity"===this.value||"-Infinity"===this.value)return e.preventDefault(),void(("Backspace"===e.key||"Delete"===e.key)&&this.clearInputValue(e));if("ArrowUp"===e.key)return e.preventDefault(),void this.nudgeNumberValue("up",e);if("ArrowDown"===e.key)return void this.nudgeNumberValue("down",e);const t=[...k.n,"ArrowLeft","ArrowRight","Backspace","Delete","Enter","Escape","Tab"];if(e.altKey||e.ctrlKey||e.metaKey)return;const i=e.shiftKey&&"Tab"===e.key;t.includes(e.key)||i?"Enter"===e.key&&this.emitChangeIfUserModified():(R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator},(e.key!==R.decimal||!(!this.value&&!this.childNumberEl.value||this.value&&-1===this.childNumberEl.value.indexOf(R.decimal)))&&(/[eE]/.test(e.key)&&(!this.value&&!this.childNumberEl.value||this.value&&!/[eE]/.test(this.childNumberEl.value))||"-"===e.key&&(!this.value&&!this.childNumberEl.value||this.value&&this.childNumberEl.value.split("-").length<=2)||e.preventDefault()))}nudgeNumberValue(e,t){if(t instanceof KeyboardEvent&&t.repeat||"number"!==this.type)return;const i=this.maxString?parseFloat(this.maxString):null,n=this.minString?parseFloat(this.minString):null;this.incrementOrDecrementNumberValue(e,i,n,t),this.nudgeNumberValueIntervalId&&window.clearInterval(this.nudgeNumberValueIntervalId);let a=!0;this.nudgeNumberValueIntervalId=window.setInterval((()=>{a?a=!1:this.incrementOrDecrementNumberValue(e,i,n,t)}),150)}numberButtonPointerUpAndOutHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}numberButtonPointerDownHandler(e){if(!(0,s.i)(e))return;e.preventDefault();const t=e.target.dataset.adjustment;this.disabled||this.nudgeNumberValue(t,e)}syncHiddenFormInput(e){!function(e,t,i){i.type="textarea"===e?"text":e;const n=K.includes(e),a=t;X(a,i,"min",n),X(a,i,"max",n),X(a,i,"step",n);const r=J.includes(e),s=t;X(s,i,"minLength",r),X(s,i,"maxLength",r),X(s,i,"pattern",G.includes(e))}(this.type,this,e)}setChildElRef(e){this.childEl=e}setChildNumberElRef(e){this.childNumberEl=e}setInputValue(e){"number"===this.type&&this.childNumberEl?this.childNumberEl.value=e:this.childEl&&(this.childEl.value=e)}setPreviousEmittedValue(e){this.previousEmittedValue=this.normalizeValue(e)}normalizeValue(e){return"number"===this.type?C(e)?e:"":e}setPreviousValue(e){this.previousValue=this.normalizeValue(e)}setValue({committing:e=!1,nativeEvent:t,origin:i,previousValue:n,value:a}){if(this.setPreviousValue(n??this.value),this.previousValueOrigin=i,"number"===this.type){R.numberFormatOptions={locale:this.messages._lang,numberingSystem:this.numberingSystem,useGrouping:this.groupSeparator,signDisplay:"never"};const e=this.previousValue?.length>a.length||this.value?.length>a.length,t="."===a.charAt(a.length-1),n=t&&e?a:D(a),r=a&&!n?C(this.previousValue)?this.previousValue:"":n;let s=R.localize(r);"connected"!==i&&!t&&(s=function(e,t,i){const n=t.split(".")[1];if(n){const a=n.match(L)[0];if(a&&i.delocalize(e).length!==t.length&&-1===n.indexOf("e")){const t=i.decimal;return(e=e.includes(t)?e:`${e}${t}`).padEnd(e.length+a.length,i.localize("0"))}}return e}(s,r,R)),this.displayedValue=t&&e?`${s}${R.decimal}`:s,this.userChangedValue="user"===i&&this.value!==r,this.value=["-","."].includes(r)?"":r}else this.userChangedValue="user"===i&&this.value!==a,this.value=a;"direct"===i&&(this.setInputValue(a),this.previousEmittedValue=a),t&&(this.calciteInputInput.emit().defaultPrevented?(this.value=this.previousValue,this.displayedValue="number"===this.type?R.localize(this.previousValue):this.previousValue):e&&this.emitChangeIfUserModified())}inputKeyUpHandler(){window.clearInterval(this.nudgeNumberValueIntervalId)}warnAboutInvalidNumberValue(e){"number"===this.type&&e&&!C(e)&&console.warn(`The specified value "${e}" cannot be parsed, or is out of range.`)}render(){const e=(0,s.g)(this.el),t=a.qy`<div class=${(0,r.CP)("loader")}><calcite-progress .label=${this.messages.loading} type=indeterminate></calcite-progress></div>`,i=a.qy`<button .ariaLabel=${this.messages.clear} class=${(0,r.CP)("clear-button")} .disabled=${this.disabled||this.readOnly} @click=${this.clearInputValue} tabindex=-1 type=button><calcite-icon icon=x .scale=${(0,j.g)(this.scale)}></calcite-icon></button>`,o=a.qy`<calcite-icon class=${(0,r.CP)("icon")} .flipRtl=${this.iconFlipRtl} .icon=${this.requestedIcon} .scale=${(0,j.g)(this.scale)}></calcite-icon>`,l="horizontal"===this.numberButtonType,c=a.qy`<button aria-hidden=true class=${(0,r.CP)({[te]:!0,[Z]:l})} data-adjustment=up .disabled=${this.disabled||this.readOnly} @pointerdown=${this.numberButtonPointerDownHandler} @pointerout=${this.numberButtonPointerUpAndOutHandler} @pointerup=${this.numberButtonPointerUpAndOutHandler} tabindex=-1 type=button><calcite-icon icon=chevron-up .scale=${(0,j.g)(this.scale)}></calcite-icon></button>`,u=a.qy`<button aria-hidden=true class=${(0,r.CP)({[te]:!0,[Z]:l})} data-adjustment=down .disabled=${this.disabled||this.readOnly} @pointerdown=${this.numberButtonPointerDownHandler} @pointerout=${this.numberButtonPointerUpAndOutHandler} @pointerup=${this.numberButtonPointerUpAndOutHandler} tabindex=-1 type=button><calcite-icon icon=chevron-down .scale=${(0,j.g)(this.scale)}></calcite-icon></button>`,d=a.qy`<div class=${(0,r.CP)("number-button-wrapper")}>${c}${u}</div>`,p=a.qy`<div class=${(0,r.CP)("prefix")}>${this.prefixText}</div>`,h=a.qy`<div class=${(0,r.CP)("suffix")}>${this.suffixText}</div>`,f=this.el.autofocus,k=this.el.enterKeyHint,w=this.el.inputMode,E="number"===this.type?(0,b.D)("localized-input",a.qy`<input accept=${this.accept??a.s6} aria-errormessage=${ae} .ariaInvalid=${"invalid"===this.status} .ariaLabel=${(0,$.g)(this)} autocomplete=${this.autocomplete??a.s6} .autofocus=${f} value=${this.defaultValue??a.s6} .disabled=${!!this.disabled||null} enterkeyhint=${k??a.s6} inputmode=${w??a.s6} maxlength=${this.maxLength??a.s6} minlength=${this.minLength??a.s6} .multiple=${this.multiple} name=${a.s6} @blur=${this.inputBlurHandler} @focus=${this.inputFocusHandler} @input=${this.inputNumberInputHandler} @keydown=${this.inputNumberKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern??a.s6} placeholder=${(this.placeholder||"")??a.s6} .readOnly=${this.readOnly} type=text .value=${(0,m.V)(this.displayedValue??"")} ${(0,v.K)(this.setChildNumberElRef)}>`):null,I="input"===this.childElType?g.eu`input`:g.eu`textarea`,z="number"!==this.type?g.qy`<${I} accept=${this.accept??a.s6} aria-errormessage=${ae} .ariaInvalid=${"invalid"===this.status} .ariaLabel=${(0,$.g)(this)} autocomplete=${this.autocomplete??a.s6} .autofocus=${f} class=${(0,r.CP)({[Y]:this.editingEnabled,[Q]:!!this.inlineEditableEl})} .defaultValue=${this.defaultValue??""} .disabled=${!!this.disabled||null} enterkeyhint=${k??a.s6} inputmode=${w??a.s6} max=${this.maxString??a.s6} maxlength=${this.maxLength??a.s6} min=${this.minString??a.s6} minlength=${this.minLength??a.s6} .multiple=${this.multiple} name=${this.name??a.s6} @blur=${this.inputBlurHandler} @change=${this.inputChangeHandler} @focus=${this.inputFocusHandler} @input=${this.inputInputHandler} @keydown=${this.inputKeyDownHandler} @keyup=${this.inputKeyUpHandler} pattern=${this.pattern??a.s6} placeholder=${(this.placeholder||"")??a.s6} .readOnly=${this.readOnly} .required=${!!this.required||null} spellcheck=${this.el.spellcheck??a.s6} step=${this.step??a.s6} tabindex=${(this.disabled||this.inlineEditableEl&&!this.editingEnabled?-1:null)??a.s6} type=${this.type??a.s6} .value=${(0,m.V)(this.value??"")} ${(0,v.K)(this.setChildElRef)}></${I}>`:null;return(0,x.I)({disabled:this.disabled,children:a.qy`<div class=${(0,r.CP)({[ee]:!0,[n.C.rtl]:"rtl"===e,[ie]:this.suffixText,[ne]:this.prefixText})} ${(0,v.K)(this.inputWrapperEl)}>${"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:u}${this.prefixText?p:null}<div class=${(0,r.CP)("element-wrapper")}>${E}${z}${this.isClearable?i:null}${this.requestedIcon?o:null}${this.loading?t:null}</div><div class=${(0,r.CP)("action-wrapper")} ${(0,v.K)(this.actionWrapperEl)}><slot name=${"action"}></slot></div>${"number"!==this.type||"vertical"!==this.numberButtonType||this.readOnly?null:d}${this.suffixText?h:null}${"number"!==this.type||"horizontal"!==this.numberButtonType||this.readOnly?null:c}${(0,y.H)({component:this})}</div>${this.validationMessage&&"invalid"===this.status?U({icon:this.validationIcon,id:ae,message:this.validationMessage,scale:this.scale,status:this.status}):null}`})}}(0,n.c)("calcite-input",oe)},18394:(e,t,i)=>{i.d(t,{D:()=>s});var n=i(36752),a=i(7804),r=i(18504);const s=(0,a.u$)(class extends a.WL{constructor(){super(...arguments),this.key=n.s6}render(e,t){return this.key=e,t}update(e,[t,i]){return t!==this.key&&((0,r.mY)(e),this.key=t),i}})},52567:(e,t,i)=>{i.d(t,{Bk:()=>s,eu:()=>o,qy:()=>u});var n=i(36752);const a=Symbol.for(""),r=e=>{if(e?.r===a)return e?._$litStatic$},s=e=>({_$litStatic$:e,r:a}),o=(e,...t)=>({_$litStatic$:t.reduce(((t,i,n)=>t+(e=>{if(void 0!==e._$litStatic$)return e._$litStatic$;throw Error(`Value passed to 'literal' function must be a 'literal' result: ${e}. Use 'unsafeStatic' to pass non-literal values, but\n take care to ensure page security.`)})(i)+e[n+1]),e[0]),r:a}),l=new Map,c=e=>(t,...i)=>{const n=i.length;let a,s;const o=[],c=[];let u,d=0,p=!1;for(;d<n;){for(u=t[d];d<n&&void 0!==(s=i[d],a=r(s));)u+=a+t[++d],p=!0;d!==n&&c.push(s),o.push(u),d++}if(d===n&&o.push(t[n]),p){const e=o.join("$$lit$$");void 0===(t=l.get(e))&&(o.raw=o,l.set(e,t=o)),i=c}return e(t,...i)},u=c(n.qy);c(n.JW),c(n.ej)}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7561],{57561:(e,t,i)=>{i.r(t),i.d(t,{default:()=>j});var r,o=i(90237),s=i(59456),n=i(66552),l=i(25482),p=i(4718),a=i(10107),d=i(56507),u=i(40608),y=i(43937),h=i(65864);i(44208),i(53966),i(87811);let c=r=class extends l.A{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new r({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],c.prototype,"groupByFields",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"topCount",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],c.prototype,"orderByFields",void 0),c=r=(0,o._)([(0,u.$)("esri.rest.support.TopFilter")],c);const v=c;var w,m=i(79677),S=i(16930);const R=new n.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),_=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let M=w=class extends l.A{constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new w((0,p.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o._)([(0,a.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"cacheHint",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],M.prototype,"distance",void 0),(0,o._)([(0,a.MZ)({types:s.yR,json:{read:h.rS,write:!0}})],M.prototype,"geometry",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"geometryPrecision",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxAllowableOffset",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],M.prototype,"num",void 0),(0,o._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"objectIds",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],M.prototype,"orderByFields",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],M.prototype,"outFields",void 0),(0,o._)([(0,a.MZ)({type:S.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],M.prototype,"outSpatialReference",void 0),(0,o._)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"resultType",void 0),(0,o._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"returnGeometry",void 0),(0,o._)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"returnM",void 0),(0,o._)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"returnZ",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],M.prototype,"start",void 0),(0,o._)([(0,y.K)("start"),(0,y.K)("num")],M.prototype,"writeStart",null),(0,o._)([(0,a.MZ)({type:String,json:{read:{source:"spatialRel",reader:R.read},write:{target:"spatialRel",writer:R.write}}})],M.prototype,"spatialRelationship",void 0),(0,o._)([(0,a.MZ)({type:m.A,json:{write:!0}})],M.prototype,"timeExtent",void 0),(0,o._)([(0,a.MZ)({type:v,json:{write:!0}})],M.prototype,"topFilter",void 0),(0,o._)([(0,a.MZ)({type:String,json:{read:_.read,write:{writer:_.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[7561],{57561:(e,t,i)=>{i.r(t),i.d(t,{default:()=>j});var r,o=i(90237),s=i(59456),n=i(66552),l=i(25482),p=i(4718),a=i(10107),d=i(56507),u=i(40608),y=i(43937),h=i(65864);i(44208),i(53966),i(87811);let c=r=class extends l.A{constructor(e){super(e),this.groupByFields=void 0,this.topCount=void 0,this.orderByFields=void 0}clone(){return new r({groupByFields:this.groupByFields,topCount:this.topCount,orderByFields:this.orderByFields})}};(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],c.prototype,"groupByFields",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],c.prototype,"topCount",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],c.prototype,"orderByFields",void 0),c=r=(0,o._)([(0,u.$)("esri.rest.support.TopFilter")],c);const v=c;var w,m=i(79677),S=i(16930);const R=new n.J({esriSpatialRelIntersects:"intersects",esriSpatialRelContains:"contains",esriSpatialRelCrosses:"crosses",esriSpatialRelDisjoint:"disjoint",esriSpatialRelEnvelopeIntersects:"envelope-intersects",esriSpatialRelIndexIntersects:"index-intersects",esriSpatialRelOverlaps:"overlaps",esriSpatialRelTouches:"touches",esriSpatialRelWithin:"within",esriSpatialRelRelation:"relation"}),_=new n.J({esriSRUnit_Meter:"meters",esriSRUnit_Kilometer:"kilometers",esriSRUnit_Foot:"feet",esriSRUnit_StatuteMile:"miles",esriSRUnit_NauticalMile:"nautical-miles",esriSRUnit_USNauticalMile:"us-nautical-miles"});let M=w=class extends l.A{constructor(e){super(e),this.cacheHint=void 0,this.distance=void 0,this.geometry=null,this.geometryPrecision=void 0,this.maxAllowableOffset=void 0,this.num=void 0,this.objectIds=null,this.orderByFields=null,this.outFields=null,this.outSpatialReference=null,this.resultType=null,this.returnGeometry=!1,this.returnM=void 0,this.returnZ=void 0,this.start=void 0,this.spatialRelationship="intersects",this.timeExtent=null,this.topFilter=void 0,this.units=null,this.where="1=1"}writeStart(e,t){t.resultOffset=this.start,t.resultRecordCount=this.num||10}clone(){return new w((0,p.o8)({cacheHint:this.cacheHint,distance:this.distance,geometry:this.geometry,geometryPrecision:this.geometryPrecision,maxAllowableOffset:this.maxAllowableOffset,num:this.num,objectIds:this.objectIds,orderByFields:this.orderByFields,outFields:this.outFields,outSpatialReference:this.outSpatialReference,resultType:this.resultType,returnGeometry:this.returnGeometry,returnZ:this.returnZ,returnM:this.returnM,start:this.start,spatialRelationship:this.spatialRelationship,timeExtent:this.timeExtent,topFilter:this.topFilter,units:this.units,where:this.where}))}};(0,o._)([(0,a.MZ)({type:Boolean,json:{write:!0}})],M.prototype,"cacheHint",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:{overridePolicy:e=>({enabled:e>0})}}})],M.prototype,"distance",void 0),(0,o._)([(0,a.MZ)({types:s.yR,json:{read:h.rS,write:!0}})],M.prototype,"geometry",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"geometryPrecision",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{write:!0}})],M.prototype,"maxAllowableOffset",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{read:{source:"resultRecordCount"}}})],M.prototype,"num",void 0),(0,o._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"objectIds",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],M.prototype,"orderByFields",void 0),(0,o._)([(0,a.MZ)({type:[String],json:{write:!0}})],M.prototype,"outFields",void 0),(0,o._)([(0,a.MZ)({type:S.A,json:{read:{source:"outSR"},write:{target:"outSR"}}})],M.prototype,"outSpatialReference",void 0),(0,o._)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"resultType",void 0),(0,o._)([(0,a.MZ)({json:{write:!0}})],M.prototype,"returnGeometry",void 0),(0,o._)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"returnM",void 0),(0,o._)([(0,a.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],M.prototype,"returnZ",void 0),(0,o._)([(0,a.MZ)({type:Number,json:{read:{source:"resultOffset"}}})],M.prototype,"start",void 0),(0,o._)([(0,y.K)("start"),(0,y.K)("num")],M.prototype,"writeStart",null),(0,o._)([(0,a.MZ)({type:String,json:{read:{source:"spatialRel",reader:R.read},write:{target:"spatialRel",writer:R.write}}})],M.prototype,"spatialRelationship",void 0),(0,o._)([(0,a.MZ)({type:m.A,json:{write:!0}})],M.prototype,"timeExtent",void 0),(0,o._)([(0,a.MZ)({type:v,json:{write:!0}})],M.prototype,"topFilter",void 0),(0,o._)([(0,a.MZ)({type:String,json:{read:_.read,write:{writer:_.write,overridePolicy(e){return{enabled:null!=e&&null!=this.distance}}}}})],M.prototype,"units",void 0),(0,o._)([(0,a.MZ)({type:String,json:{write:!0}})],M.prototype,"where",void 0),M=w=(0,o._)([(0,u.$)("esri.rest.support.TopFeaturesQuery")],M),M.from=(0,d.dp)(M);const j=M}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8330,9340],{97927:(e,t,o)=>{o.r(t),o.d(t,{default:()=>V});var i=o(90237),r=o(49186),n=o(4718),s=o(93637),a=o(10107),l=(o(44208),o(53966),o(40608)),p=o(13600),y=o(82935),u=o(66552),c=o(69540),d=o(25482),f=(o(87811),o(69622)),h=o(21325);let m=class extends f.A{set horizontalWKID(e){e?(0,h.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,h.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1&&!Number.isNaN(t)&&o?.length>1&&i?.length>1&&r?.length>1}};(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"horizontalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"verticalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"x",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"y",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"z",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"type",void 0),m=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientation")],m);const g=m;let v=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationHPR")],v);const w=v;let _=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${o}|${i}|${r}|${s.join("|")}`}};(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"latitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"longitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"ellipsoidRadius",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"squaredEccentricity",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"properties",void 0),_=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationLTP")],_);const M=_;let j=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],j.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"omega",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"phi",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"kappa",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"z",void 0),j=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationOPK")],j);const Z=j;let x=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1||!Number.isNaN(t)||o?.length>1||i?.length>1||r?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],x.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"yaw",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"z",void 0),x=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationYPR")],x);const P=x;var N;!function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(N||(N={}));const b=new Map;b.set(`${N.OPK}`,{desc:"Using Omega Phi Kappa",constructor:Z}),b.set(`${N.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:w}),b.set(`${N.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:P}),b.set(`${N.LTP}`,{desc:"Using Local Tangent Plane",constructor:M});let S=class extends(c.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.url=null}};(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],S.prototype,"lod",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"rasterFunction",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"url",void 0),S=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],S);let O=class extends(c.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.constantElevation=null}};function D(e,t,o){return e?null!=(i=e)&&"number"==typeof i.constantElevation?new O(e):function(e,t,o){let{url:i}=e;return i?(i=function(e,t,o){return t&&(e=`${t}${e}`),o&&(e+=`${o}`),e}(i,t,o),new S({...e,url:i})):null}(e,t,o):e;var i}(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"constantElevation",void 0),O=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],O);const I=new u.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),A=new u.J({Feet:"feet",Meter:"meter"}),T=new u.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),R=new Map;R.set(`${N.HPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.YPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.OPK}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.LTP}`,(function(e){const[t,o,i,r,n,...s]=e.slice(1),a=R.get(n),l=b.get(n)?.constructor;return a&&l?{latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:new l(a([n,"",...s]))}:null}));const z=e=>{const t=e.map((e=>parseFloat(e))).filter((e=>!isNaN(e)));if(t.length===e.length)return t};function C(e,t,o,i,r){const n=z(e),s=z(t),a=z(o),l=z(i);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(r):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}var E=o(79677),$=o(92935);const K=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),L=(e,t)=>!K.has(t)&&e;function F(e,t,o,i){const{name:r,write:n,read:s}=((e,t,o)=>{const i=`orientedImageryProperties.${e}`;return{name:i,write:t?{ignoreOrigin:!0,target:i,writer:t}:{ignoreOrigin:!0},read:o?{ignoreOrigin:!0,source:i,reader:o}:{ignoreOrigin:!0}}})(e,t,o),a={name:r,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${r}`,write:t,read:o},"web-scene":{name:r,write:L(n,e),read:L(s,e)},"web-map":{name:r,write:n,read:s}}};return i&&a.origins?(a.type=i,a.origins["web-map"].type=i,a.origins["web-scene"].type=i,a):a}let W=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:o}=this;return D(e,t,o)}async save(e){return this._debouncedSaveOperations($.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations($.X.SAVE_AS,t,e)}findFirstValidLayerId(e){return e.layers?.find((e=>this.supportedSourceTypes.has(e.type)))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new r.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var J;(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeading")})],W.prototype,"cameraHeading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeight")})],W.prototype,"cameraHeight",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraPitch")})],W.prototype,"cameraPitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraRoll")})],W.prototype,"cameraRoll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("coveragePercent")})],W.prototype,"coveragePercent",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathPrefix")})],W.prototype,"demPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathSuffix")})],W.prototype,"demPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathPrefix")})],W.prototype,"depthImagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathSuffix")})],W.prototype,"depthImagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Object,json:F("elevationSource")})],W.prototype,"elevationSource",void 0),(0,i._)([(0,a.MZ)({readOnly:!0})],W.prototype,"effectiveElevationSource",null),(0,i._)([(0,a.MZ)({type:Number,json:F("farDistance")})],W.prototype,"farDistance",void 0),(0,i._)([(0,a.MZ)()],W.prototype,"geometryType",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("horizontalFieldOfView")})],W.prototype,"horizontalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("horizontalMeasurementUnit")})],W.prototype,"horizontalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathPrefix")})],W.prototype,"imagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathSuffix")})],W.prototype,"imagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("imageRotation")})],W.prototype,"imageRotation",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("maximumDistance")})],W.prototype,"maximumDistance",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("nearDistance")})],W.prototype,"nearDistance",void 0),(0,i._)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],W.prototype,"operationalLayerType",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientationAccuracy",((e,t,o)=>{(0,s.sM)(o,e.join(";"),t)}),(e=>{const t=e?.split(";")?.map(Number);return function(e){return Array.isArray(e)&&9===e?.length&&!e.some(isNaN)}(t)?t:[0,0,0,0,0,0,0,0,0]}),String)}})],W.prototype,"orientationAccuracy",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientedImageryType",T.write,T.read,T.jsonValues.slice(1))}})],W.prototype,"orientedImageryType",void 0),(0,i._)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],W.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:I.apiValues,json:{...F("timeIntervalUnit",I.write,I.read,I.jsonValues)}})],W.prototype,"timeIntervalUnit",void 0),(0,i._)([(0,a.MZ)((J=(0,n.o8)(y.B),J.json?(J.json.origins=J.json.origins??{},J.json.origins["web-scene"]={write:!1,read:!1},J):J))],W.prototype,"useViewTime",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("verticalFieldOfView")})],W.prototype,"verticalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:A.apiValues,json:{...F("verticalMeasurementUnit",A.write,A.read,A.jsonValues)}})],W.prototype,"verticalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathPrefix")})],W.prototype,"videoPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathSuffix")})],W.prototype,"videoPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:E.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],W.prototype,"visibilityTimeExtent",void 0),W=(0,i._)([(0,l.$)("esri.layers.OrientedImageryLayer")],W);const V=W},32756:(e,t,o)=>{o.d(t,{Rr:()=>l,fY:()=>y,ne:()=>p});var i=o(90237),r=o(93637),n=o(10107),s=(o(44208),o(53966),o(87811),o(40608)),a=o(91880);function l(e,t,o){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const r=new a.A;return r.read(i,o),[r]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,o,i){const n=e.find((e=>!!e.field));n&&(0,r.sM)(o,[n.toJSON()],t)}}}},y=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(90237),r=o(69540),n=o(25482),s=o(10107),a=(o(44208),o(53966),o(87811),o(36005)),l=o(40608),p=o(43937),y=o(80451),u=o(29005);let c=class extends(r.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const o of Object.keys(e))t[o]=(0,y.rS)(e[o]);return t}writeDomains(e,t){const o={};for(const t of Object.keys(e))e[t]&&(o[t]=e[t]?.toJSON());t.domains=o}};(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i._)([(0,a.w)("domains")],c.prototype,"readDomains",null),(0,i._)([(0,p.K)("domains")],c.prototype,"writeDomains",null),(0,i._)([(0,s.MZ)({type:[u.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i._)([(0,l.$)("esri.layers.support.FeatureType")],c);const d=c},91880:(e,t,o)=>{o.d(t,{A:()=>u});var i,r=o(90237),n=o(66552),s=o(25482),a=o(10107),l=(o(44208),o(53966),o(87811),o(40608));const p=new n.J({asc:"ascending",desc:"descending"});let y=i=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],y.prototype,"valueExpression",void 0),(0,r._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],y.prototype,"order",void 0),y=i=(0,r._)([(0,l.$)("esri.layers.support.OrderByInfo")],y);const u=y},58501:(e,t,o)=>{o.d(t,{q:()=>r});var i=o(62815);function r(e,t,o){if(!o?.features||!o.hasZ)return;const r=(0,i.N)(o.geometryType,t,e.outSpatialReference);if(null!=r)for(const e of o.features)r(e.geometry)}},22671:(e,t,o)=>{o.d(t,{A:()=>w});var i,r=o(90237),n=o(59456),s=o(52106),a=o(66552),l=o(25482),p=o(4718),y=o(10107),u=(o(44208),o(53966),o(36005)),c=o(40608),d=o(43937),f=o(16930),h=o(65864),m=o(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.A{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){const o=f.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const r=e[t],n=s.A.fromJSON(r),a=r.geometry?.spatialReference;null==n.geometry||a||(n.geometry.spatialReference=o);const l=r.aggregateGeometries,p=n.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],i=l[e],r=i?.spatialReference;null==t||r||(t.spatialReference=o)}i.push(n)}return i}writeGeometryType(e,t,o,i){if(e)return void g.write(e,t,o,i);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void g.write(e.geometry.type,t,o,i)}readQueryGeometry(e,t){if(!e)return null;const o=!!e.spatialReference,i=(0,h.rS)(e);return i&&!o&&t.spatialReference&&(i.spatialReference=f.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:o}=this;if(o)for(const e of o)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,p.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 o=0;o<t.features.length;o++){const i=t.features[o];if(i.geometry){const t=e?.[o];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,o],translate:[i,r]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((r-e)/o)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:o}=this;if(!o)return this;const{translate:[i,r],scale:[n,s]}=o;let a=null,l=null;if(this.hasZ&&null!=o?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=o;a=o=>o*t+e}if(this.hasM&&null!=o?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=o;l=o=>null==o?o:o*t+e}const p=this._getHydrationFunction(e,(e=>e*n+i),(e=>r-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}_quantizePoints(e,t,o){let i,r;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=o(a[1]);e===i&&s===r||(n.push([e-i,s-r]),i=e,r=s)}else i=t(a[0]),r=o(a[1]),n.push([i,r])}return n.length>0?n:null}_getQuantizationFunction(e,t,o){return"point"===e?e=>(e.x=t(e.x),e.y=o(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,h.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=this._quantizePoints(n,t,o);s&&r.push(s)}return r.length>0?((0,h.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,o);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,o,i,r){return"point"===e?e=>{e.x=t(e.x),e.y=o(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,h.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=o(a)}}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2]),o[3]=r(o[3])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=r(o[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=o(e.ymin),e.xmax=t(e.xmax),e.ymax=o(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=o(a)}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2]),t[3]=r(t[3])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}}:null}};(0,r._)([(0,y.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,r._)([(0,y.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,r._)([(0,u.w)("features")],v.prototype,"readFeatures",null),(0,r._)([(0,y.MZ)({type:[m.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,r._)([(0,y.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,r._)([(0,d.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,r._)([(0,y.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,r._)([(0,u.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,r._)([(0,y.MZ)({type:f.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,r._)([(0,d.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,r._)([(0,y.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,r._)([(0,c.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[8330,9340],{97927:(e,t,o)=>{o.r(t),o.d(t,{default:()=>V});var i=o(90237),r=o(49186),n=o(4718),s=o(93637),a=o(10107),l=(o(44208),o(53966),o(40608)),p=o(13600),y=o(82935),u=o(66552),c=o(69540),d=o(25482),f=(o(87811),o(69622)),h=o(21325);let m=class extends f.A{set horizontalWKID(e){e?(0,h.fn)({wkid:+e})?this._set("horizontalWKID",+e):this._set("horizontalWKID",e):this._set("horizontalWKID",null)}set verticalWKID(e){e?this._set("verticalWKID",isFinite(e)&&(0,h.fn)({wkid:+e})?+e:null):this._set("verticalWKID",null)}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1&&!Number.isNaN(t)&&o?.length>1&&i?.length>1&&r?.length>1}};(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"horizontalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"verticalWKID",null),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"x",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"y",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"z",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],m.prototype,"type",void 0),m=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientation")],m);const g=m;let v=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],v.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],v.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"heading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],v.prototype,"z",void 0),v=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationHPR")],v);const w=v;let _=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=4}toString(){const{type:e,latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:n}=this,s=`${n}`.split("|");return s.splice(1,1),`${e}|${t}|${o}|${i}|${r}|${s.join("|")}`}};(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"type",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"latitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"longitude",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"ellipsoidRadius",void 0),(0,i._)([(0,a.MZ)({json:{write:!0},type:Number})],_.prototype,"squaredEccentricity",void 0),(0,i._)([(0,a.MZ)({json:{write:!0}})],_.prototype,"properties",void 0),_=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationLTP")],_);const M=_;let j=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=2}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],j.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],j.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"omega",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"phi",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"kappa",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],j.prototype,"z",void 0),j=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationOPK")],j);const Z=j;let x=class extends(c.A.ClonableMixin(d.A.JSONSupportMixin(g))){constructor(){super(...arguments),this.type=3}get isAdvanced(){const{affineTransformations:e,focalLength:t,principalOffsetPoint:o,radialDistortionCoefficients:i,tangentialDistortionCoefficients:r}=this;return e?.length>1||!Number.isNaN(t)||o?.length>1||i?.length>1||r?.length>1}toString(){const{type:e,horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,affineTransformations:p,focalLength:y,principalOffsetPoint:u,radialDistortionCoefficients:c,tangentialDistortionCoefficients:d}=this,f=[e,t,o,i,r,n,s,a,l];return this.isAdvanced&&(p?.forEach((e=>f.push(e))),f.push(y),u?.forEach((e=>f.push(e))),u?.forEach((e=>f.push(e))),c?.forEach((e=>f.push(e))),d?.forEach((e=>f.push(e)))),f.map((e=>Number.isNaN(e)?"":e)).join("|")}};(0,i._)([(0,a.MZ)({json:{write:!0}})],x.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"affineTransformations",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"focalLength",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"principalOffsetPoint",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"radialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:[Number],json:{write:!0}})],x.prototype,"tangentialDistortionCoefficients",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"yaw",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"pitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"roll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"x",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"y",void 0),(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],x.prototype,"z",void 0),x=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.CameraOrientationYPR")],x);const P=x;var N;!function(e){e[e.HPR=1]="HPR",e[e.OPK=2]="OPK",e[e.YPR=3]="YPR",e[e.LTP=4]="LTP"}(N||(N={}));const b=new Map;b.set(`${N.OPK}`,{desc:"Using Omega Phi Kappa",constructor:Z}),b.set(`${N.HPR}`,{desc:"Using Heading, Pitch and Roll",constructor:w}),b.set(`${N.YPR}`,{desc:"Using Yaw, Pitch and Roll",constructor:P}),b.set(`${N.LTP}`,{desc:"Using Local Tangent Plane",constructor:M});let S=class extends(c.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.url=null}};(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],S.prototype,"lod",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"rasterFunction",void 0),(0,i._)([(0,a.MZ)({type:String,json:{write:!0}})],S.prototype,"url",void 0),S=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ElevationSource")],S);let O=class extends(c.A.ClonableMixin(d.A)){constructor(){super(...arguments),this.constantElevation=null}};function D(e,t,o){return e?null!=(i=e)&&"number"==typeof i.constantElevation?new O(e):function(e,t,o){let{url:i}=e;return i?(i=function(e,t,o){return t&&(e=`${t}${e}`),o&&(e+=`${o}`),e}(i,t,o),new S({...e,url:i})):null}(e,t,o):e;var i}(0,i._)([(0,a.MZ)({type:Number,json:{write:!0}})],O.prototype,"constantElevation",void 0),O=(0,i._)([(0,l.$)("esri.layers.orientedImagery.core.ElevationSourceDefinitions.ConstantElevation")],O);const I=new u.J({Minutes:"minutes",Hours:"hours",Days:"days",Weeks:"weeks",Months:"months",Years:"years"}),A=new u.J({Feet:"feet",Meter:"meter"}),T=new u.J({360:"360",Horizontal:"horizontal",Inspection:"inspection",Nadir:"nadir",Oblique:"oblique","":null}),R=new Map;R.set(`${N.HPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,heading:s,pitch:a,roll:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.YPR}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,yaw:s,pitch:a,roll:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.OPK}`,(function(e){const[t,o,i,r,n,s,a,l,p,y,u,c,d,f,h,m,g,v,w,_,M,j]=e.slice(1);return{horizontalWKID:t,verticalWKID:o,x:i,y:r,z:n,omega:s,phi:a,kappa:l,...C([p,y,u,c,d,f],[m,g],[v,w,_],[M,j],h)}})),R.set(`${N.LTP}`,(function(e){const[t,o,i,r,n,...s]=e.slice(1),a=R.get(n),l=b.get(n)?.constructor;return a&&l?{latitude:t,longitude:o,ellipsoidRadius:i,squaredEccentricity:r,properties:new l(a([n,"",...s]))}:null}));const z=e=>{const t=e.map((e=>parseFloat(e))).filter((e=>!isNaN(e)));if(t.length===e.length)return t};function C(e,t,o,i,r){const n=z(e),s=z(t),a=z(o),l=z(i);return{affineTransformations:6===n?.length?n:void 0,focalLength:6===n?.length?parseFloat(r):void 0,principalOffsetPoint:2!==s?.length?[0,0]:s,radialDistortionCoefficients:3!==a?.length?[0,0,0]:a,tangentialDistortionCoefficients:2!==l?.length?[0,0]:l}}var E=o(79677),$=o(92935);const K=new Set(["demPathPrefix","demPathSuffix","depthImagePathPrefix","depthImagePathSuffix","elevationSource","horizontalMeasurementUnit","verticalMeasurementUnit","videoPathPrefix","videoPathSuffix","timeAnimation","visibilityTimeExtent"]),L=(e,t)=>!K.has(t)&&e;function F(e,t,o,i){const{name:r,write:n,read:s}=((e,t,o)=>{const i=`orientedImageryProperties.${e}`;return{name:i,write:t?{ignoreOrigin:!0,target:i,writer:t}:{ignoreOrigin:!0},read:o?{ignoreOrigin:!0,source:i,reader:o}:{ignoreOrigin:!0}}})(e,t,o),a={name:r,write:n,read:s,origins:{service:{name:`orientedImageryInfo.${r}`,write:t,read:o},"web-scene":{name:r,write:L(n,e),read:L(s,e)},"web-map":{name:r,write:n,read:s}}};return i&&a.origins?(a.type=i,a.origins["web-map"].type=i,a.origins["web-scene"].type=i,a):a}let W=class extends p.default{constructor(){super(...arguments),this.cameraHeading=null,this.cameraHeight=null,this.cameraPitch=null,this.cameraRoll=null,this.coveragePercent=null,this.demPathPrefix=null,this.demPathSuffix=null,this.depthImagePathPrefix=null,this.depthImagePathSuffix=null,this.elevationSource=null,this.farDistance=null,this.geometryType="point",this.horizontalFieldOfView=null,this.horizontalMeasurementUnit=null,this.imagePathPrefix=null,this.imagePathSuffix=null,this.imageRotation=null,this.maximumDistance=null,this.nearDistance=null,this.operationalLayerType="OrientedImageryLayer",this.orientationAccuracy=null,this.orientedImageryType=null,this.supportedSourceTypes=new Set(["Oriented Imagery Layer"]),this.type="oriented-imagery",this.timeIntervalUnit="days",this.useViewTime=!0,this.verticalFieldOfView=null,this.verticalMeasurementUnit=null,this.videoPathPrefix=null,this.videoPathSuffix=null,this.visibilityTimeExtent=null}get effectiveElevationSource(){const{elevationSource:e,demPathPrefix:t,demPathSuffix:o}=this;return D(e,t,o)}async save(e){return this._debouncedSaveOperations($.X.SAVE,e)}async saveAs(e,t){return this._debouncedSaveOperations($.X.SAVE_AS,t,e)}findFirstValidLayerId(e){return e.layers?.find((e=>this.supportedSourceTypes.has(e.type)))?.id}_verifySource(){if(super._verifySource(),"point"!==this.geometryType)throw new r.A("oriented-imagery-layer:invalid-geometry-type","OrientedImageryLayer only supports point geometry type")}};var J;(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeading")})],W.prototype,"cameraHeading",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraHeight")})],W.prototype,"cameraHeight",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraPitch")})],W.prototype,"cameraPitch",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("cameraRoll")})],W.prototype,"cameraRoll",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("coveragePercent")})],W.prototype,"coveragePercent",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathPrefix")})],W.prototype,"demPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("demPathSuffix")})],W.prototype,"demPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathPrefix")})],W.prototype,"depthImagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("depthImagePathSuffix")})],W.prototype,"depthImagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Object,json:F("elevationSource")})],W.prototype,"elevationSource",void 0),(0,i._)([(0,a.MZ)({readOnly:!0})],W.prototype,"effectiveElevationSource",null),(0,i._)([(0,a.MZ)({type:Number,json:F("farDistance")})],W.prototype,"farDistance",void 0),(0,i._)([(0,a.MZ)()],W.prototype,"geometryType",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("horizontalFieldOfView")})],W.prototype,"horizontalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("horizontalMeasurementUnit")})],W.prototype,"horizontalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathPrefix")})],W.prototype,"imagePathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("imagePathSuffix")})],W.prototype,"imagePathSuffix",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("imageRotation")})],W.prototype,"imageRotation",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("maximumDistance")})],W.prototype,"maximumDistance",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("nearDistance")})],W.prototype,"nearDistance",void 0),(0,i._)([(0,a.MZ)({type:["OrientedImageryLayer"],json:{origins:{"portal-item":{name:"layerType",write:{enabled:!0,ignoreOrigin:!0}}}}})],W.prototype,"operationalLayerType",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientationAccuracy",((e,t,o)=>{(0,s.sM)(o,e.join(";"),t)}),(e=>{const t=e?.split(";")?.map(Number);return function(e){return Array.isArray(e)&&9===e?.length&&!e.some(isNaN)}(t)?t:[0,0,0,0,0,0,0,0,0]}),String)}})],W.prototype,"orientationAccuracy",void 0),(0,i._)([(0,a.MZ)({json:{...F("orientedImageryType",T.write,T.read,T.jsonValues.slice(1))}})],W.prototype,"orientedImageryType",void 0),(0,i._)([(0,a.MZ)({json:{read:!1},value:"oriented-imagery",readOnly:!0})],W.prototype,"type",void 0),(0,i._)([(0,a.MZ)({type:I.apiValues,json:{...F("timeIntervalUnit",I.write,I.read,I.jsonValues)}})],W.prototype,"timeIntervalUnit",void 0),(0,i._)([(0,a.MZ)((J=(0,n.o8)(y.B),J.json?(J.json.origins=J.json.origins??{},J.json.origins["web-scene"]={write:!1,read:!1},J):J))],W.prototype,"useViewTime",void 0),(0,i._)([(0,a.MZ)({type:Number,json:F("verticalFieldOfView")})],W.prototype,"verticalFieldOfView",void 0),(0,i._)([(0,a.MZ)({type:A.apiValues,json:{...F("verticalMeasurementUnit",A.write,A.read,A.jsonValues)}})],W.prototype,"verticalMeasurementUnit",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathPrefix")})],W.prototype,"videoPathPrefix",void 0),(0,i._)([(0,a.MZ)({type:String,json:F("videoPathSuffix")})],W.prototype,"videoPathSuffix",void 0),(0,i._)([(0,a.MZ)({type:E.A,json:{origins:{"web-scene":{write:!1,read:!1}}}})],W.prototype,"visibilityTimeExtent",void 0),W=(0,i._)([(0,l.$)("esri.layers.OrientedImageryLayer")],W);const V=W},32756:(e,t,o)=>{o.d(t,{Rr:()=>l,fY:()=>y,ne:()=>p});var i=o(90237),r=o(93637),n=o(10107),s=(o(44208),o(53966),o(87811),o(40608)),a=o(91880);function l(e,t,o){if(!e)return null;const i=e.find((e=>!!e.field));if(!i)return null;const r=new a.A;return r.read(i,o),[r]}const p={type:[a.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:l},write:{writer:function(e,t,o,i){const n=e.find((e=>!!e.field));n&&(0,r.sM)(o,[n.toJSON()],t)}}}},y=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,i._)([(0,n.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,i._)([(0,s.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,o)=>{o.d(t,{A:()=>d});var i=o(90237),r=o(69540),n=o(25482),s=o(10107),a=(o(44208),o(53966),o(87811),o(36005)),l=o(40608),p=o(43937),y=o(80451),u=o(29005);let c=class extends(r.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const o of Object.keys(e))t[o]=(0,y.rS)(e[o]);return t}writeDomains(e,t){const o={};for(const t of Object.keys(e))e[t]&&(o[t]=e[t]?.toJSON());t.domains=o}};(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"id",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"name",void 0),(0,i._)([(0,s.MZ)({json:{write:!0}})],c.prototype,"domains",void 0),(0,i._)([(0,a.w)("domains")],c.prototype,"readDomains",null),(0,i._)([(0,p.K)("domains")],c.prototype,"writeDomains",null),(0,i._)([(0,s.MZ)({type:[u.A],json:{write:!0}})],c.prototype,"templates",void 0),c=(0,i._)([(0,l.$)("esri.layers.support.FeatureType")],c);const d=c},91880:(e,t,o)=>{o.d(t,{A:()=>u});var i,r=o(90237),n=o(66552),s=o(25482),a=o(10107),l=(o(44208),o(53966),o(87811),o(40608));const p=new n.J({asc:"ascending",desc:"descending"});let y=i=class extends s.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new i({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,r._)([(0,a.MZ)({type:String,json:{write:!0}})],y.prototype,"field",void 0),(0,r._)([(0,a.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],y.prototype,"valueExpression",void 0),(0,r._)([(0,a.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],y.prototype,"order",void 0),y=i=(0,r._)([(0,l.$)("esri.layers.support.OrderByInfo")],y);const u=y},58501:(e,t,o)=>{o.d(t,{q:()=>r});var i=o(62815);function r(e,t,o){if(!o?.features||!o.hasZ)return;const r=(0,i.N)(o.geometryType,t,e.outSpatialReference);if(null!=r)for(const e of o.features)r(e.geometry)}},22671:(e,t,o)=>{o.d(t,{A:()=>w});var i,r=o(90237),n=o(59456),s=o(52106),a=o(66552),l=o(25482),p=o(4718),y=o(10107),u=(o(44208),o(53966),o(36005)),c=o(40608),d=o(43937),f=o(16930),h=o(65864),m=o(20437);const g=new a.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=i=class extends l.A{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,o,i){if(e)return void g.write(e,t,o,i);const{features:r}=this;if(r)for(const e of r)if(null!=e?.geometry)return void g.write(e.geometry.type,t,o,i)}readQueryGeometry(e,t){if(!e)return null;const o=!!e.spatialReference,i=(0,h.rS)(e);return i&&!o&&t.spatialReference&&(i.spatialReference=f.A.fromJSON(t.spatialReference)),i}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:o}=this;if(o)for(const e of o)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new i(this.cloneProperties())}cloneProperties(){return(0,p.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 o=0;o<t.features.length;o++){const i=t.features[o];if(i.geometry){const t=e?.[o];i.geometry=t?.toJSON()||i.geometry}}return t}quantize(e){const{scale:[t,o],translate:[i,r]}=e,n=this.features,s=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-i)/t)),(e=>Math.round((r-e)/o)));for(let e=0,t=n.length;e<t;e++)s?.(n[e].geometry)||(n.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:o}=this;if(!o)return this;const{translate:[i,r],scale:[n,s]}=o;let a=null,l=null;if(this.hasZ&&null!=o?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=o;a=o=>o*t+e}if(this.hasM&&null!=o?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=o;l=o=>null==o?o:o*t+e}const p=this._getHydrationFunction(e,(e=>e*n+i),(e=>r-e*s),a,l);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,o){const i=f.A.fromJSON(t.spatialReference),r=[];for(let t=0;t<e.length;t++){const n=e[t],s=o.fromJSON(n),a=n.geometry?.spatialReference;null==s.geometry||a||(s.geometry.spatialReference=i);const l=n.aggregateGeometries,p=s.aggregateGeometries;if(l&&null!=p)for(const e in p){const t=p[e],o=l[e],r=o?.spatialReference;null==t||r||(t.spatialReference=i)}r.push(s)}return r}_quantizePoints(e,t,o){let i,r;const n=[];for(let s=0,a=e.length;s<a;s++){const a=e[s];if(s>0){const e=t(a[0]),s=o(a[1]);e===i&&s===r||(n.push([e-i,s-r]),i=e,r=s)}else i=t(a[0]),r=o(a[1]),n.push([i,r])}return n.length>0?n:null}_getQuantizationFunction(e,t,o){return"point"===e?e=>(e.x=t(e.x),e.y=o(e.y),e):"polyline"===e||"polygon"===e?e=>{const i=(0,h.Bi)(e)?e.rings:e.paths,r=[];for(let e=0,n=i.length;e<n;e++){const n=i[e],s=this._quantizePoints(n,t,o);s&&r.push(s)}return r.length>0?((0,h.Bi)(e)?e.rings=r:e.paths=r,e):null}:"multipoint"===e?e=>{const i=this._quantizePoints(e.points,t,o);return i&&i.length>0?(e.points=i,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,o,i,r){return"point"===e?e=>{e.x=t(e.x),e.y=o(e.y),i&&(e.z=i(e.z))}:"polyline"===e||"polygon"===e?e=>{const n=(0,h.Bi)(e)?e.rings:e.paths;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];for(let e=0,r=i.length;e<r;e++){const r=i[e];e>0?(s+=r[0],a+=r[1]):(s=r[0],a=r[1]),r[0]=t(s),r[1]=o(a)}}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2]),o[3]=r(o[3])}}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=i(o[2])}}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];for(let e=0,o=t.length;e<o;e++){const o=t[e];o[2]=r(o[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=o(e.ymin),e.xmax=t(e.xmax),e.ymax=o(e.ymax),i&&null!=e.zmax&&null!=e.zmin&&(e.zmax=i(e.zmax),e.zmin=i(e.zmin)),r&&null!=e.mmax&&null!=e.mmin&&(e.mmax=r(e.mmax),e.mmin=r(e.mmin))}:"multipoint"===e?e=>{const n=e.points;let s,a;for(let e=0,i=n.length;e<i;e++){const i=n[e];e>0?(s+=i[0],a+=i[1]):(s=i[0],a=i[1]),i[0]=t(s),i[1]=o(a)}if(i&&r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2]),t[3]=r(t[3])}else if(i)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=i(t[2])}else if(r)for(let e=0,t=n.length;e<t;e++){const t=n[e];t[2]=r(t[2])}}:null}};(0,r._)([(0,y.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,r._)([(0,y.MZ)({type:[s.A],json:{write:!0}})],v.prototype,"features",void 0),(0,r._)([(0,u.w)("features")],v.prototype,"readFeatures",null),(0,r._)([(0,y.MZ)({type:[m.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,r._)([(0,y.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,r._)([(0,d.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,r._)([(0,y.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,r._)([(0,y.MZ)({types:n.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,r._)([(0,u.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,r._)([(0,y.MZ)({type:f.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,r._)([(0,d.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,r._)([(0,y.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=i=(0,r._)([(0,c.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const w=v}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,4764],{96953:(e,t,o)=>{o.r(t),o.d(t,{default:()=>V});var r=o(90237),i=(o(59456),o(52106)),n=(o(61147),o(5503)),l=o(49186),a=o(4718),s=o(92071),y=o(93637),p=o(67076),u=o(10107),d=(o(44208),o(53966),o(36005)),m=o(40608),c=o(43937),f=o(57251),g=o(19419),h=o(17136),b=o(21325),S=o(13600),w=o(94194),M=o(4146),O=o(33032),_=o(63074),N=o(16131),T=o(8303),v=o(25036),L=o(20437),x=o(94985),A=o(31593),C=o(53930),J=o(68249),Z=o(16930),j=o(5443);function I(e){return"markup"===e.featureCollectionType||e.layers.some((e=>null!=e.layerDefinition.visibilityField||!z(e)))}function z({layerDefinition:e,featureSet:t}){const o=e.geometryType??t.geometryType;return P.find((t=>o===t.geometryTypeJSON&&e.drawingInfo?.renderer?.symbol?.type===t.identifyingSymbol.type))}function E(){return new j.A({xmin:-180,ymin:-90,xmax:180,ymax:90})}const R=new L.A({name:"OBJECTID",alias:"OBJECTID",type:"oid",nullable:!1,editable:!1}),D=new L.A({name:"title",alias:"Title",type:"string",nullable:!0,editable:!0,length:255});let F=class extends w.A{constructor(e){super(e),this.visibilityMode="inherited"}initialize(){for(const e of this.graphics)e.sourceLayer=this.layer;this.graphics.on("after-add",(e=>{e.item.sourceLayer=this.layer})),this.graphics.on("after-remove",(e=>{e.item.sourceLayer=null}))}get fullExtent(){const e=this.layer?.spatialReference,t=this.fullBounds;return e?null==t?(0,f.projectOrLoad)(E(),e).geometry:(0,g.w1)(t,e):null}get fullBounds(){const e=this.layer?.spatialReference;if(!e)return null;const t=(0,g.Ie)();return this.graphics.forEach((o=>{const r=null!=o.geometry?(0,f.projectOrLoad)(o.geometry,e).geometry:null;null!=r&&(0,g.fT)(t,"point"===r.type?r:r.extent,t)})),(0,g.aI)(t,g.qv)?null:t}get sublayers(){return this.graphics}};(0,r._)([(0,u.MZ)({readOnly:!0})],F.prototype,"fullExtent",null),(0,r._)([(0,u.MZ)({readOnly:!0})],F.prototype,"fullBounds",null),(0,r._)([(0,u.MZ)({readOnly:!0})],F.prototype,"sublayers",null),(0,r._)([(0,u.MZ)()],F.prototype,"layer",void 0),(0,r._)([(0,u.MZ)()],F.prototype,"layerId",void 0),(0,r._)([(0,u.MZ)({readOnly:!0})],F.prototype,"visibilityMode",void 0),F=(0,r._)([(0,m.$)("esri.layers.MapNotesLayer.MapNotesSublayer")],F);const P=[{geometryType:"polygon",geometryTypeJSON:"esriGeometryPolygon",id:"polygonLayer",layerId:0,title:"Polygons",identifyingSymbol:(new x.A).toJSON()},{geometryType:"polyline",geometryTypeJSON:"esriGeometryPolyline",id:"polylineLayer",layerId:1,title:"Polylines",identifyingSymbol:(new A.A).toJSON()},{geometryType:"multipoint",geometryTypeJSON:"esriGeometryMultipoint",id:"multipointLayer",layerId:2,title:"Multipoints",identifyingSymbol:(new C.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"pointLayer",layerId:3,title:"Points",identifyingSymbol:(new C.A).toJSON()},{geometryType:"point",geometryTypeJSON:"esriGeometryPoint",id:"textLayer",layerId:4,title:"Text",identifyingSymbol:(new J.A).toJSON()}];let G=class extends((0,_.dM)((0,v.j)((0,N.q)((0,T.A)((0,s.P)(M.A)))))){constructor(e){super(e),this.capabilities={operations:{supportsMapNotesEditing:!0}},this.featureCollections=null,this.featureCollectionJSON=null,this.featureCollectionType="notes",this.legendEnabled=!1,this.listMode="hide-children",this.minScale=0,this.maxScale=0,this.spatialReference=Z.A.WGS84,this.sublayers=new n.A(P.map((e=>new F({id:e.id,layerId:e.layerId,title:e.title,layer:this})))),this.title="Map Notes",this.type="map-notes",this.visibilityMode="inherited"}readCapabilities(e,t,o){return{operations:{supportsMapNotesEditing:!I(t)&&"portal-item"!==o?.origin}}}readFeatureCollections(e,t,o){if(!I(t))return null;const r=t.layers.map((e=>{const t=new S.default;return t.read(e,o),t}));return new n.A({items:r})}readLegacyfeatureCollectionJSON(e,t){return I(t)?(0,a.o8)(t.featureCollection):null}get fullExtent(){const e=this.spatialReference,t=(0,g.Ie)();return null!=this.sublayers?this.sublayers.forEach((({fullBounds:e})=>null!=e?(0,g.fT)(t,e,t):t),t):this.featureCollectionJSON?.layers.some((e=>e.layerDefinition.extent))&&this.featureCollectionJSON.layers.forEach((o=>{const r=(0,f.projectOrLoad)(o.layerDefinition.extent,e).geometry;null!=r&&(0,g.fT)(t,r,t)})),(0,g.aI)(t,g.qv)?(0,f.projectOrLoad)(E(),e).geometry:(0,g.w1)(t,e)}readMinScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.minScale)return e.layerDefinition.minScale;return 0}readMaxScale(e,t){for(const e of t.layers)if(null!=e.layerDefinition.maxScale)return e.layerDefinition.maxScale;return 0}get multipointLayer(){return this._findSublayer("multipointLayer")}get pointLayer(){return this._findSublayer("pointLayer")}get polygonLayer(){return this._findSublayer("polygonLayer")}get polylineLayer(){return this._findSublayer("polylineLayer")}readSpatialReference(e,t){return t.layers.length?Z.A.fromJSON(t.layers[0].layerDefinition.spatialReference):Z.A.WGS84}readSublayers(e,t,o){if(I(t))return null;const r=[];let l=t.layers.reduce(((e,t)=>Math.max(e,t.layerDefinition.id??-1)),-1)+1;for(const e of t.layers){const{layerDefinition:t,featureSet:o}=e,n=t.id??l++,a=z(e);if(null!=a){const e=new F({id:a.id,title:t.name,layerId:n,layer:this,graphics:o.features.map((({geometry:e,symbol:t,attributes:o,popupInfo:r})=>i.A.fromJSON({attributes:o,geometry:e,symbol:t,popupTemplate:r})))});r.push(e)}}return new n.A(r)}writeSublayers(e,t,o,r){const{minScale:i,maxScale:n}=this;if(null==e)return;const a=e.some((e=>e.graphics.length>0));if(!this.capabilities.operations.supportsMapNotesEditing)return void(a&&r?.messages?.push(new l.A("map-notes-layer:editing-not-supported","New map notes cannot be added to this layer")));const s=[];let p=this.spatialReference.toJSON();e:for(const t of e)for(const e of t.graphics)if(null!=e.geometry){p=e.geometry.spatialReference.toJSON();break e}for(const t of P){const o=e.find((e=>t.id===e.id));this._writeMapNoteSublayer(s,o,t,i,n,p,r)}(0,y.sM)("featureCollection.layers",s,t)}get textLayer(){return this._findSublayer("textLayer")}load(e){return this.addResolvingPromise(this.loadFromPortal({supportedTypes:["Feature Collection"]},e)),Promise.resolve(this)}read(e,t){"featureCollection"in e&&(e=(0,a.o8)(e),Object.assign(e,e.featureCollection)),super.read(e,t)}async beforeSave(){if(null==this.sublayers)return;let e=null;const t=[];for(const o of this.sublayers)for(const r of o.graphics)if(null!=r.geometry){const o=r.geometry;e?(0,b.aI)(o.spatialReference,e)||((0,f.canProjectWithoutEngine)(o.spatialReference,e)||(0,f.isLoaded)()||await(0,f.load)(),r.geometry=(0,f.project)(o,e)):e=o.spatialReference,t.push(r)}const o=await(0,h.el)(t.map((e=>e.geometry)));t.forEach(((e,t)=>e.geometry=o[t]))}_findSublayer(e){return null==this.sublayers?null:this.sublayers?.find((t=>t.id===e))??null}_writeMapNoteSublayer(e,t,o,r,i,n,l){const s=[];if(null!=t){for(const e of t.graphics)this._writeMapNote(s,e,o.geometryType,l);this._normalizeObjectIds(s,R),e.push({layerDefinition:{name:t.title,drawingInfo:{renderer:{type:"simple",symbol:(0,a.o8)(o.identifyingSymbol)}},id:t.layerId,geometryType:o.geometryTypeJSON,minScale:r,maxScale:i,objectIdField:"OBJECTID",fields:[R.toJSON(),D.toJSON()],spatialReference:n},featureSet:{features:s,geometryType:o.geometryTypeJSON}})}}_writeMapNote(e,t,o,r){if(null==t)return;const{geometry:i,symbol:n,popupTemplate:l}=t;if(null==i)return;if(i.type!==o)return void r?.messages?.push(new p.A("map-notes-layer:invalid-geometry-type",`Geometry "${i.type}" cannot be saved in "${o}" layer`,{graphic:t}));if(null==n)return void r?.messages?.push(new p.A("map-notes-layer:no-symbol","Skipping map notes with no symbol",{graphic:t}));const a={attributes:{...t.attributes},geometry:i.toJSON(),symbol:n.toJSON()};null!=l&&(a.popupInfo=l.toJSON()),e.push(a)}_normalizeObjectIds(e,t){const o=t.name;let r=(0,O.H)(o,e)+1;const i=new Set;for(const t of e){t.attributes||(t.attributes={});const{attributes:e}=t;(null==e[o]||i.has(e[o]))&&(e[o]=r++),i.add(e[o])}}};(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"capabilities",void 0),(0,r._)([(0,d.w)(["portal-item","web-map"],"capabilities",["layers"])],G.prototype,"readCapabilities",null),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"featureCollections",void 0),(0,r._)([(0,d.w)(["web-map","portal-item"],"featureCollections",["layers"])],G.prototype,"readFeatureCollections",null),(0,r._)([(0,u.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{enabled:!0,target:"featureCollection"}}}}})],G.prototype,"featureCollectionJSON",void 0),(0,r._)([(0,d.w)(["web-map","portal-item"],"featureCollectionJSON",["featureCollection"])],G.prototype,"readLegacyfeatureCollectionJSON",null),(0,r._)([(0,u.MZ)({readOnly:!0,json:{read:!0,write:{enabled:!0,ignoreOrigin:!0}}})],G.prototype,"featureCollectionType",void 0),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"fullExtent",null),(0,r._)([(0,u.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{target:"featureCollection.showLegend",overridePolicy(){return{enabled:null!=this.featureCollectionJSON}}}}}}})],G.prototype,"legendEnabled",void 0),(0,r._)([(0,u.MZ)({type:["show","hide","hide-children"]})],G.prototype,"listMode",void 0),(0,r._)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],G.prototype,"minScale",void 0),(0,r._)([(0,d.w)(["web-map","portal-item"],"minScale",["layers"])],G.prototype,"readMinScale",null),(0,r._)([(0,u.MZ)({type:Number,nonNullable:!0,json:{write:!1}})],G.prototype,"maxScale",void 0),(0,r._)([(0,d.w)(["web-map","portal-item"],"maxScale",["layers"])],G.prototype,"readMaxScale",null),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"multipointLayer",null),(0,r._)([(0,u.MZ)({value:"ArcGISFeatureLayer",type:["ArcGISFeatureLayer"]})],G.prototype,"operationalLayerType",void 0),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"pointLayer",null),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"polygonLayer",null),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"polylineLayer",null),(0,r._)([(0,u.MZ)({type:Z.A})],G.prototype,"spatialReference",void 0),(0,r._)([(0,d.w)(["web-map","portal-item"],"spatialReference",["layers"])],G.prototype,"readSpatialReference",null),(0,r._)([(0,u.MZ)({readOnly:!0,json:{origins:{"web-map":{write:{ignoreOrigin:!0}}}}})],G.prototype,"sublayers",void 0),(0,r._)([(0,d.w)("web-map","sublayers",["layers"])],G.prototype,"readSublayers",null),(0,r._)([(0,c.K)("web-map","sublayers")],G.prototype,"writeSublayers",null),(0,r._)([(0,u.MZ)({readOnly:!0})],G.prototype,"textLayer",null),(0,r._)([(0,u.MZ)()],G.prototype,"title",void 0),(0,r._)([(0,u.MZ)({readOnly:!0,json:{read:!1}})],G.prototype,"type",void 0),G=(0,r._)([(0,m.$)("esri.layers.MapNotesLayer")],G);const V=G},33032:(e,t,o)=>{o.d(t,{H:()=>i,L:()=>r});const r=1;function i(e,t){let o=0;for(const r of t){const t=r.attributes?.[e];"number"==typeof t&&isFinite(t)&&(o=Math.max(o,t))}return o}},33143:(e,t,o)=>{o.d(t,{A:()=>m});var r=o(90237),i=o(69540),n=o(25482),l=o(10107),a=(o(44208),o(53966),o(87811),o(36005)),s=o(40608),y=o(43937),p=o(80451),u=o(29005);let d=class extends(i.A.ClonableMixin(n.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const o of Object.keys(e))t[o]=(0,p.rS)(e[o]);return t}writeDomains(e,t){const o={};for(const t of Object.keys(e))e[t]&&(o[t]=e[t]?.toJSON());t.domains=o}};(0,r._)([(0,l.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,r._)([(0,l.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,r._)([(0,l.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,r._)([(0,a.w)("domains")],d.prototype,"readDomains",null),(0,r._)([(0,y.K)("domains")],d.prototype,"writeDomains",null),(0,r._)([(0,l.MZ)({type:[u.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,r._)([(0,s.$)("esri.layers.support.FeatureType")],d);const m=d},58501:(e,t,o)=>{o.d(t,{q:()=>i});var r=o(62815);function i(e,t,o){if(!o?.features||!o.hasZ)return;const i=(0,r.N)(o.geometryType,t,e.outSpatialReference);if(null!=i)for(const e of o.features)i(e.geometry)}},41366:(e,t,o)=>{o.d(t,{K:()=>d,Q:()=>y});var r=o(90237),i=o(66552),n=o(53966),l=o(10107),a=(o(44208),o(87811),o(93223)),s=o(40608);const y=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),p="percent-of-total",u="field",d=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,o=null!=this.normalizationTotal;return t||o?(e=t&&u||o&&p||null,t&&o&&n.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==u&&e!==p||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,r._)([(0,l.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,r._)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,r._)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,r._)([(0,l.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,r._)([(0,a.e)(y,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,r._)([(0,s.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},92935:(e,t,o)=>{var r;o.d(t,{X:()=>r}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(r||(r={}))}}]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,6676,9340],{38961:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(90237),i=r(5503),o=r(36708),n=r(10107),l=r(40608),a=r(80559);let p=class extends i.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)((()=>this._refresh()),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=null!=this.getCollections?this.getCollections():null;if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t,this.length)}_createNewInstance(e){return new i.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const s of t)if(s){if(r(s)){const t=this.indexOf(s,e);t>=0?t!==e&&this.reorder(s,e):this.add(s,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(s);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,s._)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,s._)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,s._)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,s._)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},81583:(e,t,r)=>{r.d(t,{L:()=>l,g:()=>n});var s=r(60999),i=r(5503),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):i.A.isCollection(t)?t.forEach((e=>n(e))):o.A.isLoadable(t)&&r.push(t))};t(n);let l=null;if(await(0,s.Tj)(r,(async e=>{const t=await(0,s.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)})),l)throw l.error;return e}},39516:(e,t,r)=>{async function s(e,t){const{default:s}=await r.e(8368).then(r.bind(r,88368));return s.create(e,{fieldsIndex:t})}function i(e,t){return"1=1"===e?t??e:"1=1"===t?e??t:null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}r.d(t,{G:()=>s,m:()=>i})},88303:(e,t,r)=>{r.r(t),r.d(t,{default:()=>We});var s=r(90237),i=r(5503),o=r(38961),n=r(49186),l=r(4718),a=r(81583),p=r(53966),u=r(92071),y=r(74887),d=r(84952),c=r(10107),h=(r(44208),r(36005)),f=r(40608),g=r(16930),m=r(4146),v=r(52106),_=r(13874),b=(r(86162),r(52464),r(65345),r(42980),r(20917),r(92438),r(96576),r(93618),r(65494),r(15036)),w=r(78888),S=r(66552),M=r(92474),x=r(61893),A=(r(87811),r(93223)),Z=r(5443),F=r(13600),O=r(4902),I=r(56507),T=r(10873);let j=class extends(O.A.IdentifiableMixin(u.L)){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,s._)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],j.prototype,"title",void 0),(0,s._)([(0,h.w)("service","title",["alias","name"])],j.prototype,"readTitle",null),(0,s._)([(0,c.MZ)()],j.prototype,"layer",void 0),(0,s._)([(0,c.MZ)({type:I.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],j.prototype,"id",void 0),(0,s._)([(0,h.w)("service","id")],j.prototype,"readIdOnlyOnce",null),(0,s._)([(0,c.MZ)((0,T.Qo)(String))],j.prototype,"modelName",void 0),(0,s._)([(0,c.MZ)((0,T.Qo)(Boolean))],j.prototype,"isEmpty",void 0),(0,s._)([(0,c.MZ)({type:Boolean,nonNullable:!0})],j.prototype,"legendEnabled",void 0),(0,s._)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],j.prototype,"visible",void 0),(0,s._)([(0,c.MZ)({type:Number,json:{write:!0}})],j.prototype,"opacity",void 0),j=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingSublayer")],j);const R=j;var E=r(4071),L=r(17036),B=r(95466),P=r(30524),q=r(83898),C=r(50805),N=r(61956),$=r(30291),D=r(88625),Q=r(4654),k=r(45671);const z=(0,L.p)();let G=class extends(M.A.LoadableMixin(x.A.EsriPromiseMixin(R))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new B.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,s=t.associatedLayerID;return null!=r&&"number"==typeof s?new F.default({portalItem:r,customParameters:this.customParameters,layerId:s}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return null}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then((()=>{this.indexInfo=(0,q.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,p.A.getLogger(this),t)}));return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,$.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getFeatureType(t?.feature)?.domains?.[e];return r&&"inherited"!==r.type?r:this.getField(e)?.domain??null}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:E.P,{query:t,data:{supportsZ:r,supportsM:s,isVersioned:i}}=e;return{query:t,data:{supportsZ:r,supportsM:s,isVersioned:i}}}createQuery(){const e=new N.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryExtent(e||this.createQuery(),t)))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryFeatureCount(e||this.createQuery(),t)))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryFeatures(e||this.createQuery(),t))).then((e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this;return e}))}queryObjectIds(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryObjectIds(e||this.createQuery(),t)))}async queryCachedAttributes(e,t){const r=(0,P.hL)(this.fieldsIndex,await(0,k.TO)(this,(0,k.D8)(this)));return(0,Q.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"parsedUrl",null),(0,s._)([(0,c.MZ)({type:C.W4,readOnly:!0})],G.prototype,"nodePages",void 0),(0,s._)([(0,c.MZ)({type:[C.uV],readOnly:!0})],G.prototype,"materialDefinitions",void 0),(0,s._)([(0,c.MZ)({type:[C.Ot],readOnly:!0})],G.prototype,"textureSetDefinitions",void 0),(0,s._)([(0,c.MZ)({type:[C.L0],readOnly:!0})],G.prototype,"geometryDefinitions",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"serviceUpdateTimeStamp",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"store",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],G.prototype,"rootNode",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"attributeStorageInfo",void 0),(0,s._)([(0,c.MZ)(z.fields)],G.prototype,"fields",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"fieldsIndex",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:F.default})],G.prototype,"associatedLayer",void 0),(0,s._)([(0,h.w)("service","associatedLayer",["associatedLayerID"])],G.prototype,"readAssociatedLayer",null),(0,s._)([(0,c.MZ)(z.outFields)],G.prototype,"outFields",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0})],G.prototype,"objectIdField",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String,json:{read:!1}})],G.prototype,"displayField",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String})],G.prototype,"apiKey",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String})],G.prototype,"customParameters",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Z.A})],G.prototype,"fullExtent",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:g.A})],G.prototype,"spatialReference",null),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"version",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:D.A})],G.prototype,"elevationInfo",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],G.prototype,"minScale",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],G.prototype,"maxScale",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],G.prototype,"effectiveScaleRange",null),(0,s._)([(0,c.MZ)({type:["hide","show"],json:{write:!0}})],G.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)({types:b.X,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],G.prototype,"renderer",void 0),(0,s._)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],G.prototype,"definitionExpression",void 0),(0,s._)([(0,c.MZ)(T.M6)],G.prototype,"popupEnabled",void 0),(0,s._)([(0,c.MZ)({type:_.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],G.prototype,"popupTemplate",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],G.prototype,"normalReferenceFrame",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],G.prototype,"defaultPopupTemplate",null),(0,s._)([(0,c.MZ)()],G.prototype,"types",null),(0,s._)([(0,c.MZ)()],G.prototype,"typeIdField",null),(0,s._)([(0,c.MZ)({json:{write:!1}}),(0,A.e)(new S.J({"3DObject":"3d-object",Point:"point"}))],G.prototype,"layerType",void 0),(0,s._)([(0,c.MZ)()],G.prototype,"geometryType",null),(0,s._)([(0,c.MZ)()],G.prototype,"profile",null),(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],G.prototype,"capabilities",null),(0,s._)([(0,c.MZ)({readOnly:!0})],G.prototype,"statisticsInfo",void 0),G=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingComponentSublayer")],G);const V=G;var J,U=r(67076);const K={type:i.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:H}}},read:!1}};function H(e,t,r){if(e&&Array.isArray(e))return new i.A(e.map((e=>{const t=function(e){return"group"===e.layerType?X:V}(e);if(t){const s=new t;return s.read(e,r),s}return r?.messages&&e&&r.messages.push(new U.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null})))}let X=J=class extends R{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,a.L)(this,(e=>J.forEachSublayer(this.sublayers,(t=>{"building-group"!==t.type&&e(t)}))))}};var W;(0,s._)([(0,c.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],X.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)(K)],X.prototype,"sublayers",void 0),X=J=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingGroupSublayer")],X),(W=X||(X={})).sublayersProperty=K,W.readSublayers=H,W.forEachSublayer=function e(t,r){t.forEach((t=>{r(t),"building-group"===t.type&&e(t.sublayers,r)}))};const Y=X;var ee=r(52136),te=r(18768),re=r(69208),se=r(16131),ie=r(8303),oe=r(25036),ne=r(58947),le=r(92009),ae=r(25482),pe=r(13069);let ue=class extends ae.A{constructor(){super(...arguments),this.type=null}};(0,s._)([(0,c.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],ue.prototype,"type",void 0),ue=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfo")],ue);const ye=ue;var de;let ce=de=class extends ae.A{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new de({filterType:this.filterType,filterValues:(0,l.o8)(this.filterValues)})}};(0,s._)([(0,c.MZ)({type:String,json:{write:{isRequired:!0}}})],ce.prototype,"filterType",void 0),(0,s._)([(0,c.MZ)({type:[String],json:{write:{isRequired:!0}}})],ce.prototype,"filterValues",void 0),ce=de=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoType")],ce);const he=ce;var fe;const ge=i.A.ofType(he);let me=fe=class extends ae.A{clone(){return new fe({filterTypes:(0,l.o8)(this.filterTypes)})}};(0,s._)([(0,c.MZ)({type:ge,json:{write:{isRequired:!0}}})],me.prototype,"filterTypes",void 0),me=fe=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],me);const ve=me;var _e;const be=i.A.ofType(ve);let we=_e=class extends ye{constructor(){super(...arguments),this.type="checkbox"}clone(){return new _e({filterBlocks:(0,l.o8)(this.filterBlocks)})}};(0,s._)([(0,c.MZ)({type:["checkbox"]})],we.prototype,"type",void 0),(0,s._)([(0,c.MZ)({type:be,json:{write:{isRequired:!0}}})],we.prototype,"filterBlocks",void 0),we=_e=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],we);const Se=we;let Me=class extends ae.A{};(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],Me.prototype,"type",void 0),Me=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterMode")],Me);const xe=Me;var Ae;let Ze=Ae=class extends xe{constructor(){super(...arguments),this.type="solid"}clone(){return new Ae}};(0,s._)([(0,c.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Ze.prototype,"type",void 0),Ze=Ae=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeSolid")],Ze);const Fe=Ze;var Oe,Ie=r(51734);let Te=Oe=class extends xe{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}clone(){return new Oe({edges:(0,l.o8)(this.edges)})}};(0,s._)([(0,A.e)({wireFrame:"wire-frame"})],Te.prototype,"type",void 0),(0,s._)([(0,c.MZ)(Ie.J)],Te.prototype,"edges",void 0),Te=Oe=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeWireFrame")],Te);const je=Te;var Re;let Ee=Re=class extends xe{constructor(){super(...arguments),this.type="x-ray"}clone(){return new Re}};(0,s._)([(0,c.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],Ee.prototype,"type",void 0),Ee=Re=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeXRay")],Ee);const Le=Ee;var Be;const Pe={nonNullable:!0,types:{key:"type",base:xe,typeMap:{solid:Fe,"wire-frame":je,"x-ray":Le}},json:{read:e=>{switch(e?.type){case"solid":return Fe.fromJSON(e);case"wireFrame":return je.fromJSON(e);case"x-ray":return Le.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}};let qe=Be=class extends ae.A{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Fe,this.title=""}clone(){return new Be({filterExpression:this.filterExpression,filterMode:(0,l.o8)(this.filterMode),title:this.title})}};(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],qe.prototype,"filterExpression",void 0),(0,s._)([(0,c.MZ)(Pe)],qe.prototype,"filterMode",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],qe.prototype,"title",void 0),qe=Be=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterBlock")],qe);const Ce=qe;var Ne;const $e=i.A.ofType(Ce);let De=Ne=class extends ae.A{constructor(){super(...arguments),this.description=null,this.filterBlocks=null,this.id=(0,pe.lk)(),this.name=null}clone(){return new Ne({description:this.description,filterBlocks:(0,l.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,l.o8)(this.filterAuthoringInfo)})}};(0,s._)([(0,c.MZ)({type:String,json:{write:!0}})],De.prototype,"description",void 0),(0,s._)([(0,c.MZ)({type:$e,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"filterBlocks",void 0),(0,s._)([(0,c.MZ)({types:{key:"type",base:ye,typeMap:{checkbox:Se}},json:{read:e=>"checkbox"===e?.type?Se.fromJSON(e):null,write:!0}})],De.prototype,"filterAuthoringInfo",void 0),(0,s._)([(0,c.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"id",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],De.prototype,"name",void 0),De=Ne=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilter")],De);const Qe=De;let ke=class extends ae.A{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,s._)([(0,c.MZ)({type:String})],ke.prototype,"fieldName",void 0),(0,s._)([(0,c.MZ)({type:String})],ke.prototype,"modelName",void 0),(0,s._)([(0,c.MZ)({type:String})],ke.prototype,"label",void 0),(0,s._)([(0,c.MZ)({type:Number})],ke.prototype,"min",void 0),(0,s._)([(0,c.MZ)({type:Number})],ke.prototype,"max",void 0),(0,s._)([(0,c.MZ)({json:{read:e=>Array.isArray(e)&&(e.every((e=>"string"==typeof e))||e.every((e=>"number"==typeof e)))?e.slice():null}})],ke.prototype,"mostFrequentValues",void 0),(0,s._)([(0,c.MZ)({type:[Number]})],ke.prototype,"subLayerIds",void 0),ke=(0,s._)([(0,f.$)("esri.layers.support.BuildingSummaryStatistics.BuildingFieldStatistics")],ke);let ze=class extends(M.A.LoadableMixin(x.A.EsriPromiseMixin(ae.A))){constructor(){super(...arguments),this.url=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(p.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json"},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,s._)([(0,c.MZ)({constructOnly:!0,type:String})],ze.prototype,"url",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:[ke],json:{read:{source:"summary"}}})],ze.prototype,"fields",null),ze=(0,s._)([(0,f.$)("esri.layers.support.BuildingSummaryStatistics")],ze);const Ge=ze;var Ve=r(24212);const Je=i.A.ofType(Qe),Ue=(0,l.o8)(Y.sublayersProperty),Ke=Ue.json?.origins;Ke&&(Ke["web-scene"]={type:[V],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},Ke["portal-item"]={type:[V],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let He=class extends((0,ne.w6)((0,te.b)((0,se.q)((0,ie.A)((0,oe.j)((0,u.P)((0,re.d)((0,ee.p)(m.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new Je,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const s=Y.readSublayers(e,t,r);return Y.forEachSublayer(s,(e=>e.layer=this)),this._allSublayerOverrides&&(function(e,t){t.forEach((t=>Xe(e,t)))}(s,this._allSublayerOverrides),this._allSublayerOverrides=null),s}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const s=[];Y.forEachSublayer(e,(e=>{const t=e.write({},r);Object.keys(t).length>1&&s.push(t)})),s.length>0&&(t.sublayers=s)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const s=r?.origin&&e.get(r.origin);s&&(t.sublayers=[],s.overrides.forEach((e=>{t.sublayers.push((0,l.o8)(e))})))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const s of e)null!=s&&"object"==typeof s&&"number"==typeof s.id?r.set(s.id,s):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:s}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?Xe(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef){const e=(0,d.fj)(this.parsedUrl?.path,t.statisticsHRef);return new Ge({url:e})}return null}set elevationInfo(e){this._set("elevationInfo",e),this._validateElevationInfo()}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then((()=>this._fetchService(t))).then((()=>this._fetchAssociatedFeatureService(t)));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,a.g)(this,(e=>{Y.forEachSublayer(this.sublayers,(t=>{"building-group"!==t.type&&e(t)})),this.summaryStatistics&&e(this.summaryStatistics)}))}async saveAs(e,t){return this._debouncedSaveOperations(ne.Xh.SAVE_AS,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(ne.Xh.SAVE,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,le.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){p.A.getLogger(this).warn("Associated feature service item could not be loaded",e)}}_validateElevationInfo(){const e=this.elevationInfo,t="Building scene layers";(0,Ve.XF)(p.A.getLogger(this),(0,Ve.B)(t,"absolute-height",e)),(0,Ve.XF)(p.A.getLogger(this),(0,Ve.tW)(t,e))}};function Xe(e,t){const{overrides:r,context:s}=t;Y.forEachSublayer(e,(e=>e.read(r.get(e.id),s)))}(0,s._)([(0,c.MZ)({type:["BuildingSceneLayer"]})],He.prototype,"operationalLayerType",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],He.prototype,"allSublayers",void 0),(0,s._)([(0,c.MZ)(Ue)],He.prototype,"sublayers",void 0),(0,s._)([(0,h.w)("service","sublayers")],He.prototype,"readSublayers",null),(0,s._)([(0,c.MZ)({type:Je,nonNullable:!0,json:{write:!0}})],He.prototype,"filters",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:!0}})],He.prototype,"activeFilterId",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:Ge})],He.prototype,"summaryStatistics",void 0),(0,s._)([(0,h.w)("summaryStatistics",["statisticsHRef"])],He.prototype,"readSummaryStatistics",null),(0,s._)([(0,c.MZ)({type:[String],json:{read:!1}})],He.prototype,"outFields",void 0),(0,s._)([(0,c.MZ)(T.Fm)],He.prototype,"fullExtent",void 0),(0,s._)([(0,c.MZ)(T.fV)],He.prototype,"legendEnabled",void 0),(0,s._)([(0,c.MZ)({type:["show","hide","hide-children"]})],He.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)((0,T.Qo)(g.A))],He.prototype,"spatialReference",void 0),(0,s._)([(0,c.MZ)(T.Yj)],He.prototype,"elevationInfo",null),(0,s._)([(0,c.MZ)({json:{read:!1},readOnly:!0})],He.prototype,"type",void 0),(0,s._)([(0,c.MZ)()],He.prototype,"associatedFeatureServiceItem",void 0),He=(0,s._)([(0,f.$)("esri.layers.BuildingSceneLayer")],He);const We=He},32756:(e,t,r)=>{r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>p});var s=r(90237),i=r(93637),o=r(10107),n=(r(44208),r(53966),r(87811),r(40608)),l=r(91880);function a(e,t,r){if(!e)return null;const s=e.find((e=>!!e.field));if(!s)return null;const i=new l.A;return i.read(s,r),[i]}const p={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,s){const o=e.find((e=>!!e.field));o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,s._)([(0,o.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,s._)([(0,n.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>c});var s=r(90237),i=r(69540),o=r(25482),n=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),a=r(40608),p=r(43937),u=r(80451),y=r(29005);let d=class extends(i.A.ClonableMixin(o.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,s._)([(0,l.w)("domains")],d.prototype,"readDomains",null),(0,s._)([(0,p.K)("domains")],d.prototype,"writeDomains",null),(0,s._)([(0,n.MZ)({type:[y.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,s._)([(0,a.$)("esri.layers.support.FeatureType")],d);const c=d},91880:(e,t,r)=>{r.d(t,{A:()=>y});var s,i=r(90237),o=r(66552),n=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const p=new o.J({asc:"ascending",desc:"descending"});let u=s=class extends n.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new s({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i._)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i._)([(0,l.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=s=(0,i._)([(0,a.$)("esri.layers.support.OrderByInfo")],u);const y=u},4071:(e,t,r)=>{r.d(t,{$:()=>s,P:()=>i});const s={supportsDate:!1,supportsFixedInterval:!1,supportsAutoInterval:!1,supportsFixedBoundaries:!1,supportedStatistics:void 0},i={analytics:{supportsCacheHint:!1},attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1,supportsCacheHint:!1,supportsResize:!1},data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsAsyncApplyEdits:!1,zDefault:void 0},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryBins:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s,query:{maxRecordCount:0,maxRecordCountFactor:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsCompactGeometry:!1,supportsCurrentUser:!1,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsTrueCurve:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},32730:(e,t,r)=>{r.d(t,{BI:()=>g,D3:()=>h,XJ:()=>f,lc:()=>c,mX:()=>v,rU:()=>m,tH:()=>M});var s=r(799);const i="__begin__",o="__end__",n=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),p=new RegExp(o+"$","i"),u='"',y=u+" + ",d=" + "+u;function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function g(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function m(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return M(t.expression)}return null}function v(e){let t;return e?(t=(0,s.HC)(e,(e=>i+'$feature["'+e+'"]'+o)),t=a.test(t)?t.replace(a,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(n,y).replaceAll(l,d)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,S=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function M(e){if(!e)return null;let t=b.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=S.exec(e),t?t[2]:null)}},58501:(e,t,r)=>{r.d(t,{q:()=>i});var s=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,s.N)(r.geometryType,t,e.outSpatialReference);if(null!=i)for(const e of r.features)i(e.geometry)}},22671:(e,t,r)=>{r.d(t,{A:()=>_});var s,i=r(90237),o=r(59456),n=r(52106),l=r(66552),a=r(25482),p=r(4718),u=r(10107),y=(r(44208),r(53966),r(36005)),d=r(40608),c=r(43937),h=r(16930),f=r(65864),g=r(20437);const m=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=s=class extends a.A{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){const r=h.A.fromJSON(t.spatialReference),s=[];for(let t=0;t<e.length;t++){const i=e[t],o=n.A.fromJSON(i),l=i.geometry?.spatialReference;null==o.geometry||l||(o.geometry.spatialReference=r);const a=i.aggregateGeometries,p=o.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],s=a[e],i=s?.spatialReference;null==t||i||(t.spatialReference=r)}s.push(o)}return s}writeGeometryType(e,t,r,s){if(e)return void m.write(e,t,r,s);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void m.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,f.rS)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=h.A.fromJSON(t.spatialReference)),s}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,p.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 r=0;r<t.features.length;r++){const s=t.features[r];if(s.geometry){const t=e?.[r];s.geometry=t?.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,i]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((i-e)/r)));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[s,i],scale:[o,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*o+s),(e=>i-e*n),l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}_quantizePoints(e,t,r){let s,i;const o=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===s&&n===i||(o.push([e-s,n-i]),s=e,i=n)}else s=t(l[0]),i=r(l[1]),o.push([s,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const s=(0,f.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=s.length;e<o;e++){const o=s[e],n=this._quantizePoints(o,t,r);n&&i.push(n)}return i.length>0?((0,f.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const s=this._quantizePoints(e.points,t,r);return s&&s.length>0?(e.points=s,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,s,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),s&&(e.z=s(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,f.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,s=o.length;e<s;e++){const s=o[e];for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}}if(s&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2]),r[3]=i(r[3])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),s&&null!=e.zmax&&null!=e.zmin&&(e.zmax=s(e.zmax),e.zmin=s(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,s=o.length;e<s;e++){const s=o[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}if(s&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2]),t[3]=i(t[3])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,u.MZ)({type:[n.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i._)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i._)([(0,u.MZ)({type:[g.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:m.read}}})],v.prototype,"geometryType",void 0),(0,i._)([(0,c.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i._)([(0,u.MZ)({types:o.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i._)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i._)([(0,u.MZ)({type:h.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i._)([(0,c.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=s=(0,i._)([(0,d.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const _=v},45671:(e,t,r)=>{r.d(t,{D8:()=>o,TO:()=>i});var s=r(30524);async function i(e,t=e.popupTemplate){if(null==t)return[];const r=await t.getRequiredFields(e.fieldsIndex),{lastEditInfoEnabled:i}=t,{objectIdField:o,typeIdField:n,globalIdField:l,relationships:a}=e;if(r.includes("*"))return["*"];const p=i?(0,s.eX)(e):[],u=(0,s.DB)(e.fieldsIndex,[...r,...p]);return n&&u.push(n),u&&o&&e.fieldsIndex?.has(o)&&!u.includes(o)&&u.push(o),u&&l&&e.fieldsIndex?.has(l)&&!u.includes(l)&&u.push(l),a&&a.forEach((t=>{const{keyField:r}=t;u&&r&&e.fieldsIndex?.has(r)&&!u.includes(r)&&u.push(r)})),u}function o(e,t){return e.popupTemplate?e.popupTemplate:null!=t&&t.defaultPopupTemplateEnabled&&null!=e.defaultPopupTemplate?e.defaultPopupTemplate:null}},92935:(e,t,r)=>{var s;r.d(t,{X:()=>s}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(s||(s={}))}}]);
|
|
1
|
+
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[2935,9125,9340],{38961:(e,t,r)=>{r.d(t,{A:()=>u});var s=r(90237),i=r(5503),o=r(36708),n=r(10107),l=r(40608),a=r(80559);let p=class extends i.A{constructor(e){super(e),this.getCollections=null}initialize(){this.addHandles((0,a.fm)((()=>this._refresh()),o.OH))}destroy(){this.getCollections=null}_refresh(){const e=null!=this.getCollections?this.getCollections():null;if(null==e)return void this.removeAll();let t=0;for(const r of e)null!=r&&(t=this._processCollection(t,r));this.splice(t,this.length)}_createNewInstance(e){return new i.A(e)}_processCollection(e,t){if(!t)return e;const r=this.itemFilterFunction??(e=>!!e);for(const s of t)if(s){if(r(s)){const t=this.indexOf(s,e);t>=0?t!==e&&this.reorder(s,e):this.add(s,e),++e}if(this.getChildrenFunction){const t=this.getChildrenFunction(s);if(Array.isArray(t))for(const r of t)e=this._processCollection(e,r);else e=this._processCollection(e,t)}}return e}};(0,s._)([(0,n.MZ)()],p.prototype,"getCollections",void 0),(0,s._)([(0,n.MZ)()],p.prototype,"getChildrenFunction",void 0),(0,s._)([(0,n.MZ)()],p.prototype,"itemFilterFunction",void 0),p=(0,s._)([(0,l.$)("esri.core.CollectionFlattener")],p);const u=p},81583:(e,t,r)=>{r.d(t,{L:()=>l,g:()=>n});var s=r(60999),i=r(5503),o=r(92474);async function n(e,t){return await e.load(),l(e,t)}async function l(e,t){const r=[],n=(...e)=>{for(const t of e)null!=t&&(Array.isArray(t)?n(...t):i.A.isCollection(t)?t.forEach((e=>n(e))):o.A.isLoadable(t)&&r.push(t))};t(n);let l=null;if(await(0,s.Tj)(r,(async e=>{const t=await(0,s.Ke)(function(e){return"loadAll"in e&&"function"==typeof e.loadAll}(e)?e.loadAll():e.load());!1!==t.ok||l||(l=t)})),l)throw l.error;return e}},39516:(e,t,r)=>{async function s(e,t){const{default:s}=await r.e(8368).then(r.bind(r,88368));return s.create(e,{fieldsIndex:t})}function i(e,t){return"1=1"===e?t??e:"1=1"===t?e??t:null!=e&&""!==e?null!=t&&""!==t?`(${e}) AND (${t})`:e:t}r.d(t,{G:()=>s,m:()=>i})},88303:(e,t,r)=>{r.r(t),r.d(t,{default:()=>We});var s=r(90237),i=r(5503),o=r(38961),n=r(49186),l=r(4718),a=r(81583),p=r(53966),u=r(92071),y=r(74887),d=r(84952),c=r(10107),h=(r(44208),r(36005)),f=r(40608),m=r(16930),g=r(4146),v=r(52106),_=r(13874),b=(r(86162),r(52464),r(65345),r(42980),r(20917),r(92438),r(96576),r(93618),r(65494),r(15036)),w=r(78888),M=r(66552),S=r(92474),x=r(61893),A=(r(87811),r(93223)),Z=r(5443),F=r(13600),T=r(4902),O=r(56507),I=r(10873);let j=class extends(T.A.IdentifiableMixin(u.L)){constructor(e){super(e),this.title="",this.id=-1,this.modelName=null,this.isEmpty=null,this.legendEnabled=!0,this.visible=!0,this.opacity=1}readTitle(e,t){return"string"==typeof t.alias?t.alias:"string"==typeof t.name?t.name:""}readIdOnlyOnce(e){return-1!==this.id?this.id:"number"==typeof e?e:-1}};(0,s._)([(0,c.MZ)({type:String,json:{origins:{"web-scene":{write:!0},"portal-item":{write:!0}}}})],j.prototype,"title",void 0),(0,s._)([(0,h.w)("service","title",["alias","name"])],j.prototype,"readTitle",null),(0,s._)([(0,c.MZ)()],j.prototype,"layer",void 0),(0,s._)([(0,c.MZ)({type:O.jz,readOnly:!0,json:{read:!1,write:{ignoreOrigin:!0,isRequired:!0}}})],j.prototype,"id",void 0),(0,s._)([(0,h.w)("service","id")],j.prototype,"readIdOnlyOnce",null),(0,s._)([(0,c.MZ)((0,I.Qo)(String))],j.prototype,"modelName",void 0),(0,s._)([(0,c.MZ)((0,I.Qo)(Boolean))],j.prototype,"isEmpty",void 0),(0,s._)([(0,c.MZ)({type:Boolean,nonNullable:!0})],j.prototype,"legendEnabled",void 0),(0,s._)([(0,c.MZ)({type:Boolean,json:{name:"visibility",write:!0}})],j.prototype,"visible",void 0),(0,s._)([(0,c.MZ)({type:Number,json:{write:!0}})],j.prototype,"opacity",void 0),j=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingSublayer")],j);const R=j;var E=r(4071),L=r(17036),B=r(95466),q=r(30524),P=r(83898),C=r(50805),N=r(61956),z=r(30291),$=r(88625),D=r(4654),Q=r(45671);const k=(0,L.p)();let V=class extends(S.A.LoadableMixin(x.A.EsriPromiseMixin(R))){constructor(e){super(e),this.type="building-component",this.nodePages=null,this.materialDefinitions=[],this.textureSetDefinitions=[],this.geometryDefinitions=[],this.indexInfo=null,this.serviceUpdateTimeStamp=null,this.store=null,this.attributeStorageInfo=[],this.fields=[],this.associatedLayer=null,this.outFields=null,this.listMode="show",this.renderer=null,this.definitionExpression=null,this.popupEnabled=!0,this.popupTemplate=null,this.layerType="3d-object"}get parsedUrl(){return this.layer?{path:`${this.layer.parsedUrl?.path}/sublayers/${this.id}`,query:this.layer.parsedUrl?.query}:{path:""}}get fieldsIndex(){return new B.A(this.fields)}readAssociatedLayer(e,t){const r=this.layer.associatedFeatureServiceItem,s=t.associatedLayerID;return null!=r&&"number"==typeof s?new F.default({portalItem:r,customParameters:this.customParameters,layerId:s}):null}get objectIdField(){if(null!=this.fields)for(const e of this.fields)if("oid"===e.type)return e.name;return null}get displayField(){return null!=this.associatedLayer?this.associatedLayer.displayField:void 0}get apiKey(){return this.layer.apiKey}get customParameters(){return this.layer.customParameters}get fullExtent(){return this.layer.fullExtent}get spatialReference(){return this.layer.spatialReference}get version(){return this.layer.version}get elevationInfo(){return this.layer.elevationInfo}get minScale(){return this.layer.minScale}get maxScale(){return this.layer.maxScale}get effectiveScaleRange(){return this.layer.effectiveScaleRange}get defaultPopupTemplate(){return this.createPopupTemplate()}load(e){const t=null!=e?e.signal:null,r=this._fetchService(t).then((()=>{this.indexInfo=(0,P.F)(this.parsedUrl.path,this.rootNode,this.nodePages,this.customParameters,this.apiKey,p.A.getLogger(this),t)}));return this.addResolvingPromise(r),Promise.resolve(this)}createPopupTemplate(e){return(0,z.tn)(this,e)}async _fetchService(e){const t=(await(0,w.A)(this.parsedUrl.path,{query:{f:"json",...this.customParameters,token:this.apiKey},responseType:"json",signal:e})).data;this.read(t,{origin:"service",url:this.parsedUrl})}getField(e){return this.fieldsIndex.get(e)}getFieldDomain(e,t){const r=this.getFeatureType(t?.feature)?.domains?.[e];return r&&"inherited"!==r.type?r:this.getField(e)?.domain??null}getFeatureType(e){return e&&null!=this.associatedLayer?this.associatedLayer.getFeatureType(e):null}get types(){return null!=this.associatedLayer?this.associatedLayer.types??[]:[]}get typeIdField(){return null!=this.associatedLayer?this.associatedLayer.typeIdField:null}get geometryType(){return"3d-object"===this.layerType?"mesh":"point"}get profile(){return"3d-object"===this.layerType?"mesh-pyramids":"points"}get capabilities(){const e=null!=this.associatedLayer&&this.associatedLayer.capabilities?this.associatedLayer.capabilities:E.P,{query:t,data:{supportsZ:r,supportsM:s,isVersioned:i}}=e;return{query:t,data:{supportsZ:r,supportsM:s,isVersioned:i}}}createQuery(){const e=new N.A;return"mesh"!==this.geometryType&&(e.returnGeometry=!0,e.returnZ=!0),e.where=this.definitionExpression||"1=1",e.sqlFormat="standard",e}queryExtent(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryExtent(e||this.createQuery(),t)))}queryFeatureCount(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryFeatureCount(e||this.createQuery(),t)))}queryFeatures(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryFeatures(e||this.createQuery(),t))).then((e=>{if(e?.features)for(const t of e.features)t.layer=this.layer,t.sourceLayer=this;return e}))}queryObjectIds(e,t){return this._getAssociatedLayerForQuery().then((r=>r.queryObjectIds(e||this.createQuery(),t)))}async queryCachedAttributes(e,t){const r=(0,q.hL)(this.fieldsIndex,await(0,Q.TO)(this,(0,Q.D8)(this)));return(0,D.s1)(this.parsedUrl.path,this.attributeStorageInfo,e,t,r,this.apiKey,this.customParameters)}async queryCachedFeature(e,t){const r=await this.queryCachedAttributes(e,[t]);if(!r||0===r.length)throw new n.A("scenelayer:feature-not-in-cached-data","Feature not found in cached data");return new v.A({attributes:r[0],layer:this,sourceLayer:this})}getFieldUsageInfo(e){return this.fieldsIndex.has(e)?{supportsLabelingInfo:!1,supportsRenderer:!1,supportsPopupTemplate:!1,supportsLayerQuery:!1}:{supportsLabelingInfo:!1,supportsRenderer:!0,supportsPopupTemplate:!0,supportsLayerQuery:null!=this.associatedLayer}}_getAssociatedLayerForQuery(){const e=this.associatedLayer;return null!=e&&e.loaded?Promise.resolve(e):this._loadAssociatedLayerForQuery()}async _loadAssociatedLayerForQuery(){if(await this.load(),null==this.associatedLayer)throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer component layer queries are not available without an associated feature layer",{layer:this});try{await this.associatedLayer.load()}catch(e){throw new n.A("buildingscenelayer:query-not-available","BuildingSceneLayer associated feature layer could not be loaded",{layer:this,error:e})}return this.associatedLayer}};(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"parsedUrl",null),(0,s._)([(0,c.MZ)({type:C.W4,readOnly:!0})],V.prototype,"nodePages",void 0),(0,s._)([(0,c.MZ)({type:[C.uV],readOnly:!0})],V.prototype,"materialDefinitions",void 0),(0,s._)([(0,c.MZ)({type:[C.Ot],readOnly:!0})],V.prototype,"textureSetDefinitions",void 0),(0,s._)([(0,c.MZ)({type:[C.L0],readOnly:!0})],V.prototype,"geometryDefinitions",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"serviceUpdateTimeStamp",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"store",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0,json:{read:{source:"store.rootNode"}}})],V.prototype,"rootNode",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"attributeStorageInfo",void 0),(0,s._)([(0,c.MZ)(k.fields)],V.prototype,"fields",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"fieldsIndex",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:F.default})],V.prototype,"associatedLayer",void 0),(0,s._)([(0,h.w)("service","associatedLayer",["associatedLayerID"])],V.prototype,"readAssociatedLayer",null),(0,s._)([(0,c.MZ)(k.outFields)],V.prototype,"outFields",void 0),(0,s._)([(0,c.MZ)({type:String,readOnly:!0})],V.prototype,"objectIdField",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String,json:{read:!1}})],V.prototype,"displayField",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String})],V.prototype,"apiKey",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:String})],V.prototype,"customParameters",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Z.A})],V.prototype,"fullExtent",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:m.A})],V.prototype,"spatialReference",null),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"version",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:$.A})],V.prototype,"elevationInfo",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],V.prototype,"minScale",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],V.prototype,"maxScale",null),(0,s._)([(0,c.MZ)({readOnly:!0,type:Number})],V.prototype,"effectiveScaleRange",null),(0,s._)([(0,c.MZ)({type:["hide","show"],json:{write:!0}})],V.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)({types:b.X,json:{origins:{service:{read:{source:"drawingInfo.renderer"}}},name:"layerDefinition.drawingInfo.renderer",write:!0},value:null})],V.prototype,"renderer",void 0),(0,s._)([(0,c.MZ)({type:String,json:{origins:{service:{read:!1,write:!1}},name:"layerDefinition.definitionExpression",write:{enabled:!0,allowNull:!0}}})],V.prototype,"definitionExpression",void 0),(0,s._)([(0,c.MZ)(I.M6)],V.prototype,"popupEnabled",void 0),(0,s._)([(0,c.MZ)({type:_.A,json:{read:{source:"popupInfo"},write:{target:"popupInfo"}}})],V.prototype,"popupTemplate",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:String,json:{origins:{service:{read:{source:"store.normalReferenceFrame"}}},read:!1}})],V.prototype,"normalReferenceFrame",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],V.prototype,"defaultPopupTemplate",null),(0,s._)([(0,c.MZ)()],V.prototype,"types",null),(0,s._)([(0,c.MZ)()],V.prototype,"typeIdField",null),(0,s._)([(0,c.MZ)({json:{write:!1}}),(0,A.e)(new M.J({"3DObject":"3d-object",Point:"point"}))],V.prototype,"layerType",void 0),(0,s._)([(0,c.MZ)()],V.prototype,"geometryType",null),(0,s._)([(0,c.MZ)()],V.prototype,"profile",null),(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1}})],V.prototype,"capabilities",null),(0,s._)([(0,c.MZ)({readOnly:!0})],V.prototype,"statisticsInfo",void 0),V=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingComponentSublayer")],V);const G=V;var J,U=r(67076);const K={type:i.A,readOnly:!0,json:{origins:{service:{read:{source:"sublayers",reader:H}}},read:!1}};function H(e,t,r){if(e&&Array.isArray(e))return new i.A(e.map((e=>{const t=function(e){return"group"===e.layerType?X:G}(e);if(t){const s=new t;return s.read(e,r),s}return r?.messages&&e&&r.messages.push(new U.A("building-scene-layer:unsupported-sublayer-type","Building scene sublayer of type '"+(e.type||"unknown")+"' are not supported",{definition:e,context:r})),null})))}let X=J=class extends R{constructor(e){super(e),this.type="building-group",this.listMode="show",this.sublayers=null}loadAll(){return(0,a.L)(this,(e=>J.forEachSublayer(this.sublayers,(t=>{"building-group"!==t.type&&e(t)}))))}};var W;(0,s._)([(0,c.MZ)({type:["hide","show","hide-children"],json:{write:!0}})],X.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)(K)],X.prototype,"sublayers",void 0),X=J=(0,s._)([(0,f.$)("esri.layers.buildingSublayers.BuildingGroupSublayer")],X),(W=X||(X={})).sublayersProperty=K,W.readSublayers=H,W.forEachSublayer=function e(t,r){t.forEach((t=>{r(t),"building-group"===t.type&&e(t.sublayers,r)}))};const Y=X;var ee=r(52136),te=r(18768),re=r(69208),se=r(16131),ie=r(8303),oe=r(25036),ne=r(58947),le=r(92009),ae=r(25482),pe=r(13069);let ue=class extends ae.A{constructor(){super(...arguments),this.type=null}};(0,s._)([(0,c.MZ)({type:String,readOnly:!0,json:{write:{isRequired:!0}}})],ue.prototype,"type",void 0),ue=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfo")],ue);const ye=ue;var de;let ce=de=class extends ae.A{constructor(){super(...arguments),this.filterType=null,this.filterValues=null}clone(){return new de({filterType:this.filterType,filterValues:(0,l.o8)(this.filterValues)})}};(0,s._)([(0,c.MZ)({type:String,json:{write:{isRequired:!0}}})],ce.prototype,"filterType",void 0),(0,s._)([(0,c.MZ)({type:[String],json:{write:{isRequired:!0}}})],ce.prototype,"filterValues",void 0),ce=de=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoType")],ce);const he=ce;var fe;const me=i.A.ofType(he);let ge=fe=class extends ae.A{clone(){return new fe({filterTypes:(0,l.o8)(this.filterTypes)})}};(0,s._)([(0,c.MZ)({type:me,json:{write:{isRequired:!0}}})],ge.prototype,"filterTypes",void 0),ge=fe=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoBlock")],ge);const ve=ge;var _e;const be=i.A.ofType(ve);let we=_e=class extends ye{constructor(){super(...arguments),this.type="checkbox"}clone(){return new _e({filterBlocks:(0,l.o8)(this.filterBlocks)})}};(0,s._)([(0,c.MZ)({type:["checkbox"]})],we.prototype,"type",void 0),(0,s._)([(0,c.MZ)({type:be,json:{write:{isRequired:!0}}})],we.prototype,"filterBlocks",void 0),we=_e=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterAuthoringInfoCheckbox")],we);const Me=we;let Se=class extends ae.A{};(0,s._)([(0,c.MZ)({readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],Se.prototype,"type",void 0),Se=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterMode")],Se);const xe=Se;var Ae;let Ze=Ae=class extends xe{constructor(){super(...arguments),this.type="solid"}clone(){return new Ae}};(0,s._)([(0,c.MZ)({type:["solid"],readOnly:!0,json:{write:{isRequired:!0}}})],Ze.prototype,"type",void 0),Ze=Ae=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeSolid")],Ze);const Fe=Ze;var Te,Oe=r(51734);let Ie=Te=class extends xe{constructor(){super(...arguments),this.type="wire-frame",this.edges=null}clone(){return new Te({edges:(0,l.o8)(this.edges)})}};(0,s._)([(0,A.e)({wireFrame:"wire-frame"})],Ie.prototype,"type",void 0),(0,s._)([(0,c.MZ)(Oe.J)],Ie.prototype,"edges",void 0),Ie=Te=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeWireFrame")],Ie);const je=Ie;var Re;let Ee=Re=class extends xe{constructor(){super(...arguments),this.type="x-ray"}clone(){return new Re}};(0,s._)([(0,c.MZ)({type:["x-ray"],readOnly:!0,json:{write:{isRequired:!0}}})],Ee.prototype,"type",void 0),Ee=Re=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterModeXRay")],Ee);const Le=Ee;var Be;const qe={nonNullable:!0,types:{key:"type",base:xe,typeMap:{solid:Fe,"wire-frame":je,"x-ray":Le}},json:{read:e=>{switch(e?.type){case"solid":return Fe.fromJSON(e);case"wireFrame":return je.fromJSON(e);case"x-ray":return Le.fromJSON(e);default:return}},write:{enabled:!0,isRequired:!0}}};let Pe=Be=class extends ae.A{constructor(){super(...arguments),this.filterExpression=null,this.filterMode=new Fe,this.title=""}clone(){return new Be({filterExpression:this.filterExpression,filterMode:(0,l.o8)(this.filterMode),title:this.title})}};(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Pe.prototype,"filterExpression",void 0),(0,s._)([(0,c.MZ)(qe)],Pe.prototype,"filterMode",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],Pe.prototype,"title",void 0),Pe=Be=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilterBlock")],Pe);const Ce=Pe;var Ne;const ze=i.A.ofType(Ce);let $e=Ne=class extends ae.A{constructor(){super(...arguments),this.description=null,this.filterBlocks=null,this.id=(0,pe.lk)(),this.name=null}clone(){return new Ne({description:this.description,filterBlocks:(0,l.o8)(this.filterBlocks),id:this.id,name:this.name,filterAuthoringInfo:(0,l.o8)(this.filterAuthoringInfo)})}};(0,s._)([(0,c.MZ)({type:String,json:{write:!0}})],$e.prototype,"description",void 0),(0,s._)([(0,c.MZ)({type:ze,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"filterBlocks",void 0),(0,s._)([(0,c.MZ)({types:{key:"type",base:ye,typeMap:{checkbox:Me}},json:{read:e=>"checkbox"===e?.type?Me.fromJSON(e):null,write:!0}})],$e.prototype,"filterAuthoringInfo",void 0),(0,s._)([(0,c.MZ)({type:String,constructOnly:!0,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"id",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:{enabled:!0,isRequired:!0}}})],$e.prototype,"name",void 0),$e=Ne=(0,s._)([(0,f.$)("esri.layers.support.BuildingFilter")],$e);const De=$e;let Qe=class extends ae.A{constructor(){super(...arguments),this.fieldName=null,this.modelName=null,this.label=null,this.min=null,this.max=null,this.mostFrequentValues=null,this.subLayerIds=null}};(0,s._)([(0,c.MZ)({type:String})],Qe.prototype,"fieldName",void 0),(0,s._)([(0,c.MZ)({type:String})],Qe.prototype,"modelName",void 0),(0,s._)([(0,c.MZ)({type:String})],Qe.prototype,"label",void 0),(0,s._)([(0,c.MZ)({type:Number})],Qe.prototype,"min",void 0),(0,s._)([(0,c.MZ)({type:Number})],Qe.prototype,"max",void 0),(0,s._)([(0,c.MZ)({json:{read:e=>Array.isArray(e)&&(e.every((e=>"string"==typeof e))||e.every((e=>"number"==typeof e)))?e.slice():null}})],Qe.prototype,"mostFrequentValues",void 0),(0,s._)([(0,c.MZ)({type:[Number]})],Qe.prototype,"subLayerIds",void 0),Qe=(0,s._)([(0,f.$)("esri.layers.support.BuildingSummaryStatistics.BuildingFieldStatistics")],Qe);let ke=class extends(S.A.LoadableMixin(x.A.EsriPromiseMixin(ae.A))){constructor(){super(...arguments),this.url=null}get fields(){return this.loaded||"loading"===this.loadStatus?this._get("fields"):(p.A.getLogger(this).error("building summary statistics are not loaded"),null)}load(e){const t=null!=e?e.signal:null;return this.addResolvingPromise(this._fetchService(t)),Promise.resolve(this)}async _fetchService(e){const t=(await(0,w.A)(this.url,{query:{f:"json"},responseType:"json",signal:e})).data;this.read(t,{origin:"service"})}};(0,s._)([(0,c.MZ)({constructOnly:!0,type:String})],ke.prototype,"url",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:[Qe],json:{read:{source:"summary"}}})],ke.prototype,"fields",null),ke=(0,s._)([(0,f.$)("esri.layers.support.BuildingSummaryStatistics")],ke);const Ve=ke;var Ge=r(24212);const Je=i.A.ofType(De),Ue=(0,l.o8)(Y.sublayersProperty),Ke=Ue.json?.origins;Ke&&(Ke["web-scene"]={type:[G],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}},Ke["portal-item"]={type:[G],write:{enabled:!0,overridePolicy:()=>({enabled:!1})}});let He=class extends((0,ne.w6)((0,te.b)((0,se.q)((0,ie.A)((0,oe.j)((0,u.P)((0,re.d)((0,ee.p)(g.A))))))))){constructor(e){super(e),this.operationalLayerType="BuildingSceneLayer",this.allSublayers=new o.A({getCollections:()=>[this.sublayers],getChildrenFunction:e=>"building-group"===e.type?e.sublayers:null}),this.sublayers=null,this._allSublayerOverrides=null,this.filters=new Je,this.activeFilterId=null,this.summaryStatistics=null,this.outFields=null,this.legendEnabled=!0,this.type="building-scene"}normalizeCtorArgs(e){return"string"==typeof e?{url:e}:e??{}}destroy(){this.allSublayers.destroy()}readSublayers(e,t,r){const s=Y.readSublayers(e,t,r);return Y.forEachSublayer(s,(e=>e.layer=this)),this._allSublayerOverrides&&(function(e,t){t.forEach((t=>Xe(e,t)))}(s,this._allSublayerOverrides),this._allSublayerOverrides=null),s}write(e,t){return e=super.write(e,t),!t||"web-scene"!==t.origin&&"portal-item"!==t.origin||(this.sublayers?function(e,t,r){const s=[];Y.forEachSublayer(e,(e=>{const t=e.write({},r);Object.keys(t).length>1&&s.push(t)})),s.length>0&&(t.sublayers=s)}(this.sublayers,e,t):this._allSublayerOverrides&&function(e,t,r){const s=r?.origin&&e.get(r.origin);s&&(t.sublayers=[],s.overrides.forEach((e=>{t.sublayers.push((0,l.o8)(e))})))}(this._allSublayerOverrides,e,t)),e}read(e,t){if(super.read(e,t),("web-scene"===t?.origin||"portal-item"===t?.origin)&&Array.isArray(e?.sublayers)){const r=function(e,t){const r=new Map;for(const s of e)null!=s&&"object"==typeof s&&"number"==typeof s.id?r.set(s.id,s):t.messages?.push(new n.A("building-scene-layer:invalid-sublayer-override","Invalid value for sublayer override. Not an object or no id specified.",{value:s}));return{overrides:r,context:t}}(e.sublayers,t);this.sublayers?Xe(this.sublayers,r):(this._allSublayerOverrides??=new Map,this._allSublayerOverrides.set(t.origin,r))}}readSummaryStatistics(e,t){if("string"==typeof t.statisticsHRef){const e=(0,d.fj)(this.parsedUrl?.path,t.statisticsHRef);return new Ve({url:e})}return null}set elevationInfo(e){this._set("elevationInfo",e),this._validateElevationInfo()}load(e){const t=null!=e?e.signal:null,r=this.loadFromPortal({supportedTypes:["Scene Service"]},e).catch(y.QP).then((()=>this._fetchService(t))).then((()=>this._fetchAssociatedFeatureService(t)));return this.addResolvingPromise(r),Promise.resolve(this)}loadAll(){return(0,a.g)(this,(e=>{Y.forEachSublayer(this.sublayers,(t=>{"building-group"!==t.type&&e(t)})),this.summaryStatistics&&e(this.summaryStatistics)}))}async saveAs(e,t){return this._debouncedSaveOperations(ne.Xh.SAVE_AS,{...t,getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"},e)}async save(){const e={getTypeKeywords:()=>this._getTypeKeywords(),portalItemLayerType:"building-scene"};return this._debouncedSaveOperations(ne.Xh.SAVE,e)}validateLayer(e){if(!e.layerType||"Building"!==e.layerType)throw new n.A("buildingscenelayer:layer-type-not-supported","BuildingSceneLayer does not support this layer type",{layerType:e.layerType})}_getTypeKeywords(){return["Building"]}async _fetchAssociatedFeatureService(e){try{const{portalItem:t}=await(0,le.L)(`${this.url}/layers/${this.layerId}`,{sceneLayerItem:this.portalItem,customParameters:this.customParameters,apiKey:this.apiKey,signal:e});this.associatedFeatureServiceItem=t}catch(e){p.A.getLogger(this).warn("Associated feature service item could not be loaded",e)}}_validateElevationInfo(){const e=this.elevationInfo,t="Building scene layers";(0,Ge.XF)(p.A.getLogger(this),(0,Ge.B)(t,"absolute-height",e)),(0,Ge.XF)(p.A.getLogger(this),(0,Ge.tW)(t,e))}};function Xe(e,t){const{overrides:r,context:s}=t;Y.forEachSublayer(e,(e=>e.read(r.get(e.id),s)))}(0,s._)([(0,c.MZ)({type:["BuildingSceneLayer"]})],He.prototype,"operationalLayerType",void 0),(0,s._)([(0,c.MZ)({readOnly:!0})],He.prototype,"allSublayers",void 0),(0,s._)([(0,c.MZ)(Ue)],He.prototype,"sublayers",void 0),(0,s._)([(0,h.w)("service","sublayers")],He.prototype,"readSublayers",null),(0,s._)([(0,c.MZ)({type:Je,nonNullable:!0,json:{write:!0}})],He.prototype,"filters",void 0),(0,s._)([(0,c.MZ)({type:String,json:{write:!0}})],He.prototype,"activeFilterId",void 0),(0,s._)([(0,c.MZ)({readOnly:!0,type:Ve})],He.prototype,"summaryStatistics",void 0),(0,s._)([(0,h.w)("summaryStatistics",["statisticsHRef"])],He.prototype,"readSummaryStatistics",null),(0,s._)([(0,c.MZ)({type:[String],json:{read:!1}})],He.prototype,"outFields",void 0),(0,s._)([(0,c.MZ)(I.Fm)],He.prototype,"fullExtent",void 0),(0,s._)([(0,c.MZ)(I.fV)],He.prototype,"legendEnabled",void 0),(0,s._)([(0,c.MZ)({type:["show","hide","hide-children"]})],He.prototype,"listMode",void 0),(0,s._)([(0,c.MZ)((0,I.Qo)(m.A))],He.prototype,"spatialReference",void 0),(0,s._)([(0,c.MZ)(I.Yj)],He.prototype,"elevationInfo",null),(0,s._)([(0,c.MZ)({json:{read:!1},readOnly:!0})],He.prototype,"type",void 0),(0,s._)([(0,c.MZ)()],He.prototype,"associatedFeatureServiceItem",void 0),He=(0,s._)([(0,f.$)("esri.layers.BuildingSceneLayer")],He);const We=He},32756:(e,t,r)=>{r.d(t,{Rr:()=>a,fY:()=>u,ne:()=>p});var s=r(90237),i=r(93637),o=r(10107),n=(r(44208),r(53966),r(87811),r(40608)),l=r(91880);function a(e,t,r){if(!e)return null;const s=e.find((e=>!!e.field));if(!s)return null;const i=new l.A;return i.read(s,r),[i]}const p={type:[l.A],json:{origins:{"web-scene":{write:!1,read:!1}},name:"layerDefinition.orderBy",read:{reader:a},write:{writer:function(e,t,r,s){const o=e.find((e=>!!e.field));o&&(0,i.sM)(r,[o.toJSON()],t)}}}},u=e=>{let t=class extends e{constructor(){super(...arguments),this.orderBy=null}};return(0,s._)([(0,o.MZ)(p)],t.prototype,"orderBy",void 0),t=(0,s._)([(0,n.$)("esri.layers.mixins.OrderedLayer")],t),t}},33143:(e,t,r)=>{r.d(t,{A:()=>c});var s=r(90237),i=r(69540),o=r(25482),n=r(10107),l=(r(44208),r(53966),r(87811),r(36005)),a=r(40608),p=r(43937),u=r(80451),y=r(29005);let d=class extends(i.A.ClonableMixin(o.A)){constructor(e){super(e),this.id=null,this.name=null,this.domains=null,this.templates=null}readDomains(e){const t={};for(const r of Object.keys(e))t[r]=(0,u.rS)(e[r]);return t}writeDomains(e,t){const r={};for(const t of Object.keys(e))e[t]&&(r[t]=e[t]?.toJSON());t.domains=r}};(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"id",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"name",void 0),(0,s._)([(0,n.MZ)({json:{write:!0}})],d.prototype,"domains",void 0),(0,s._)([(0,l.w)("domains")],d.prototype,"readDomains",null),(0,s._)([(0,p.K)("domains")],d.prototype,"writeDomains",null),(0,s._)([(0,n.MZ)({type:[y.A],json:{write:!0}})],d.prototype,"templates",void 0),d=(0,s._)([(0,a.$)("esri.layers.support.FeatureType")],d);const c=d},91880:(e,t,r)=>{r.d(t,{A:()=>y});var s,i=r(90237),o=r(66552),n=r(25482),l=r(10107),a=(r(44208),r(53966),r(87811),r(40608));const p=new o.J({asc:"ascending",desc:"descending"});let u=s=class extends n.A{constructor(e){super(e),this.field=null,this.valueExpression=null,this.order="ascending"}clone(){return new s({field:this.field,valueExpression:this.valueExpression,order:this.order})}};(0,i._)([(0,l.MZ)({type:String,json:{write:!0}})],u.prototype,"field",void 0),(0,i._)([(0,l.MZ)({type:String,json:{write:!0,origins:{"web-scene":{read:!1,write:!1}}}})],u.prototype,"valueExpression",void 0),(0,i._)([(0,l.MZ)({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],u.prototype,"order",void 0),u=s=(0,i._)([(0,a.$)("esri.layers.support.OrderByInfo")],u);const y=u},4071:(e,t,r)=>{r.d(t,{$:()=>s,P:()=>i});const s={supportsDate:!1,supportsFixedInterval:!1,supportsAutoInterval:!1,supportsFixedBoundaries:!1,supportsStackBy:!1,supportsSplitBy:!1,supportsSnapToData:!1,supportsReturnFullIntervalBin:!1,supportsFirstDayOfWeek:!1,supportsNormalization:!1,supportedStatistics:void 0,supportedNormalizationTypes:void 0},i={analytics:{supportsCacheHint:!1},attachment:{supportsContentType:!1,supportsExifInfo:!1,supportsKeywords:!1,supportsName:!1,supportsSize:!1,supportsCacheHint:!1,supportsResize:!1},data:{isVersioned:!1,isBranchVersioned:!1,supportsAttachment:!1,supportsM:!1,supportsZ:!1},editing:{supportsDeleteByAnonymous:!1,supportsDeleteByOthers:!1,supportsGeometryUpdate:!1,supportsGlobalId:!1,supportsReturnServiceEditsInSourceSpatialReference:!1,supportsRollbackOnFailure:!1,supportsUpdateByAnonymous:!1,supportsUpdateByOthers:!1,supportsUpdateWithoutM:!1,supportsUploadWithItemId:!1,supportsAsyncApplyEdits:!1,zDefault:void 0},metadata:{supportsAdvancedFieldProperties:!1},operations:{supportsCalculate:!1,supportsTruncate:!1,supportsValidateSql:!1,supportsAdd:!1,supportsDelete:!1,supportsEditing:!1,supportsChangeTracking:!1,supportsQuery:!1,supportsQueryAnalytics:!1,supportsQueryAttachments:!1,supportsQueryBins:!1,supportsQueryTopFeatures:!1,supportsResizeAttachments:!1,supportsSync:!1,supportsUpdate:!1,supportsExceedsLimitStatistics:!1,supportsAsyncConvert3D:!1},queryRelated:{supportsCount:!1,supportsOrderBy:!1,supportsPagination:!1,supportsCacheHint:!1},queryTopFeatures:{supportsCacheHint:!1},queryAttributeBins:s,query:{maxRecordCount:0,maxRecordCountFactor:0,standardMaxRecordCount:0,supportsCacheHint:!1,supportsCentroid:!1,supportsCompactGeometry:!1,supportsCurrentUser:!1,supportsDefaultSpatialReference:!1,supportsFullTextSearch:!1,supportsDisjointSpatialRelationship:!1,supportsDistance:!1,supportsDistinct:!1,supportsExtent:!1,supportsFormatPBF:!1,supportsGeometryProperties:!1,supportsHavingClause:!1,supportsHistoricMoment:!1,supportsMaxRecordCountFactor:!1,supportsOrderBy:!1,supportsPagination:!1,supportsPercentileStatistics:!1,supportsQuantization:!1,supportsQuantizationEditMode:!1,supportsQueryByAnonymous:!1,supportsQueryByOthers:!1,supportsQueryGeometry:!1,supportsResultType:!1,supportsReturnMesh:!1,supportsSqlExpression:!1,supportsStandardizedQueriesOnly:!1,supportsTopFeaturesQuery:!1,supportsTrueCurve:!1,supportsSpatialAggregationStatistics:!1,supportedSpatialAggregationStatistics:{envelope:!1,centroid:!1,convexHull:!1},supportsStatistics:!1,tileMaxRecordCount:0}}},32730:(e,t,r)=>{r.d(t,{BI:()=>m,D3:()=>h,XJ:()=>f,lc:()=>c,mX:()=>v,rU:()=>g,tH:()=>S});var s=r(799);const i="__begin__",o="__end__",n=new RegExp(i,"ig"),l=new RegExp(o,"ig"),a=new RegExp("^"+i,"i"),p=new RegExp(o+"$","i"),u='"',y=u+" + ",d=" + "+u;function c(e){return e.replaceAll(new RegExp("\\[","g"),"{").replaceAll(new RegExp("\\]","g"),"}")}function h(e){return e.replaceAll(new RegExp("\\{","g"),"[").replaceAll(new RegExp("\\}","g"),"]")}function f(e){const t={expression:"",type:"none"};return e.labelExpressionInfo?e.labelExpressionInfo.value?(t.expression=e.labelExpressionInfo.value,t.type="conventional"):e.labelExpressionInfo.expression&&(t.expression=e.labelExpressionInfo.expression,t.type="arcade"):null!=e.labelExpression&&(t.expression=c(e.labelExpression),t.type="conventional"),t}function m(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return v(t.expression);case"arcade":return t.expression}return null}function g(e){const t=f(e);if(!t)return null;switch(t.type){case"conventional":return function(e){const t=e?.match(_);return t?.[1].trim()||null}(t.expression);case"arcade":return S(t.expression)}return null}function v(e){let t;return e?(t=(0,s.HC)(e,(e=>i+'$feature["'+e+'"]'+o)),t=a.test(t)?t.replace(a,""):u+t,t=p.test(t)?t.replace(p,""):t+u,t=t.replaceAll(n,y).replaceAll(l,d)):t='""',t}const _=/^\s*\{([^}]+)\}\s*$/i,b=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*$/i,w=/^\s*(?:(?:\$feature\.(\w+))|(?:\$feature\[(["'])(.+)(\2)\]));?\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(\1|\3)(\5)\s*\));?\s*$/i,M=/^\s*(?:DomainName\(\s*\$feature\s*,\s*(["'])(.+)(\1)\s*\));?\s*$/i;function S(e){if(!e)return null;let t=b.exec(e)||w.exec(e);return t?t[1]||t[3]:(t=M.exec(e),t?t[2]:null)}},58501:(e,t,r)=>{r.d(t,{q:()=>i});var s=r(62815);function i(e,t,r){if(!r?.features||!r.hasZ)return;const i=(0,s.N)(r.geometryType,t,e.outSpatialReference);if(null!=i)for(const e of r.features)i(e.geometry)}},22671:(e,t,r)=>{r.d(t,{A:()=>_});var s,i=r(90237),o=r(59456),n=r(52106),l=r(66552),a=r(25482),p=r(4718),u=r(10107),y=(r(44208),r(53966),r(36005)),d=r(40608),c=r(43937),h=r(16930),f=r(65864),m=r(20437);const g=new l.J({esriGeometryPoint:"point",esriGeometryMultipoint:"multipoint",esriGeometryPolyline:"polyline",esriGeometryPolygon:"polygon",esriGeometryEnvelope:"extent",mesh:"mesh","":null});let v=s=class extends a.A{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,n.A)}writeGeometryType(e,t,r,s){if(e)return void g.write(e,t,r,s);const{features:i}=this;if(i)for(const e of i)if(null!=e?.geometry)return void g.write(e.geometry.type,t,r,s)}readQueryGeometry(e,t){if(!e)return null;const r=!!e.spatialReference,s=(0,f.rS)(e);return s&&!r&&t.spatialReference&&(s.spatialReference=h.A.fromJSON(t.spatialReference)),s}writeSpatialReference(e,t){if(e)return void(t.spatialReference=e.toJSON());const{features:r}=this;if(r)for(const e of r)if(e&&null!=e.geometry&&e.geometry.spatialReference)return void(t.spatialReference=e.geometry.spatialReference.toJSON())}clone(){return new s(this.cloneProperties())}cloneProperties(){return(0,p.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 r=0;r<t.features.length;r++){const s=t.features[r];if(s.geometry){const t=e?.[r];s.geometry=t?.toJSON()||s.geometry}}return t}quantize(e){const{scale:[t,r],translate:[s,i]}=e,o=this.features,n=this._getQuantizationFunction(this.geometryType,(e=>Math.round((e-s)/t)),(e=>Math.round((i-e)/r)));for(let e=0,t=o.length;e<t;e++)n?.(o[e].geometry)||(o.splice(e,1),e--,t--);return this.transform=e,this}unquantize(){const{geometryType:e,features:t,transform:r}=this;if(!r)return this;const{translate:[s,i],scale:[o,n]}=r;let l=null,a=null;if(this.hasZ&&null!=r?.scale?.[2]){const{translate:[,,e],scale:[,,t]}=r;l=r=>r*t+e}if(this.hasM&&null!=r?.scale?.[3]){const{translate:[,,,e],scale:[,,,t]}=r;a=r=>null==r?r:r*t+e}const p=this._getHydrationFunction(e,(e=>e*o+s),(e=>i-e*n),l,a);for(const{geometry:e}of t)null!=e&&p&&p(e);return this.transform=null,this}readFeaturesWithClass(e,t,r){const s=h.A.fromJSON(t.spatialReference),i=[];for(let t=0;t<e.length;t++){const o=e[t],n=r.fromJSON(o),l=o.geometry?.spatialReference;null==n.geometry||l||(n.geometry.spatialReference=s);const a=o.aggregateGeometries,p=n.aggregateGeometries;if(a&&null!=p)for(const e in p){const t=p[e],r=a[e],i=r?.spatialReference;null==t||i||(t.spatialReference=s)}i.push(n)}return i}_quantizePoints(e,t,r){let s,i;const o=[];for(let n=0,l=e.length;n<l;n++){const l=e[n];if(n>0){const e=t(l[0]),n=r(l[1]);e===s&&n===i||(o.push([e-s,n-i]),s=e,i=n)}else s=t(l[0]),i=r(l[1]),o.push([s,i])}return o.length>0?o:null}_getQuantizationFunction(e,t,r){return"point"===e?e=>(e.x=t(e.x),e.y=r(e.y),e):"polyline"===e||"polygon"===e?e=>{const s=(0,f.Bi)(e)?e.rings:e.paths,i=[];for(let e=0,o=s.length;e<o;e++){const o=s[e],n=this._quantizePoints(o,t,r);n&&i.push(n)}return i.length>0?((0,f.Bi)(e)?e.rings=i:e.paths=i,e):null}:"multipoint"===e?e=>{const s=this._quantizePoints(e.points,t,r);return s&&s.length>0?(e.points=s,e):null}:"extent"===e?e=>e:null}_getHydrationFunction(e,t,r,s,i){return"point"===e?e=>{e.x=t(e.x),e.y=r(e.y),s&&(e.z=s(e.z))}:"polyline"===e||"polygon"===e?e=>{const o=(0,f.Bi)(e)?e.rings:e.paths;let n,l;for(let e=0,s=o.length;e<s;e++){const s=o[e];for(let e=0,i=s.length;e<i;e++){const i=s[e];e>0?(n+=i[0],l+=i[1]):(n=i[0],l=i[1]),i[0]=t(n),i[1]=r(l)}}if(s&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2]),r[3]=i(r[3])}}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=s(r[2])}}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];for(let e=0,r=t.length;e<r;e++){const r=t[e];r[2]=i(r[2])}}}:"extent"===e?e=>{e.xmin=t(e.xmin),e.ymin=r(e.ymin),e.xmax=t(e.xmax),e.ymax=r(e.ymax),s&&null!=e.zmax&&null!=e.zmin&&(e.zmax=s(e.zmax),e.zmin=s(e.zmin)),i&&null!=e.mmax&&null!=e.mmin&&(e.mmax=i(e.mmax),e.mmin=i(e.mmin))}:"multipoint"===e?e=>{const o=e.points;let n,l;for(let e=0,s=o.length;e<s;e++){const s=o[e];e>0?(n+=s[0],l+=s[1]):(n=s[0],l=s[1]),s[0]=t(n),s[1]=r(l)}if(s&&i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2]),t[3]=i(t[3])}else if(s)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=s(t[2])}else if(i)for(let e=0,t=o.length;e<t;e++){const t=o[e];t[2]=i(t[2])}}:null}};(0,i._)([(0,u.MZ)({type:String,json:{write:!0}})],v.prototype,"displayFieldName",void 0),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"exceededTransferLimit",void 0),(0,i._)([(0,u.MZ)({type:[n.A],json:{write:!0}})],v.prototype,"features",void 0),(0,i._)([(0,y.w)("features")],v.prototype,"readFeatures",null),(0,i._)([(0,u.MZ)({type:[m.A],json:{write:!0}})],v.prototype,"fields",void 0),(0,i._)([(0,u.MZ)({type:["point","multipoint","polyline","polygon","extent","mesh"],json:{read:{reader:g.read}}})],v.prototype,"geometryType",void 0),(0,i._)([(0,c.K)("geometryType")],v.prototype,"writeGeometryType",null),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasM",void 0),(0,i._)([(0,u.MZ)({type:Boolean,json:{write:{overridePolicy:e=>({enabled:e})}}})],v.prototype,"hasZ",void 0),(0,i._)([(0,u.MZ)({types:o.yR,json:{write:!0}})],v.prototype,"queryGeometry",void 0),(0,i._)([(0,y.w)("queryGeometry")],v.prototype,"readQueryGeometry",null),(0,i._)([(0,u.MZ)({type:h.A,json:{write:!0}})],v.prototype,"spatialReference",void 0),(0,i._)([(0,c.K)("spatialReference")],v.prototype,"writeSpatialReference",null),(0,i._)([(0,u.MZ)({json:{write:!0}})],v.prototype,"transform",void 0),v=s=(0,i._)([(0,d.$)("esri.rest.support.FeatureSet")],v),v.prototype.toJSON.isDefaultToJSON=!0;const _=v},41366:(e,t,r)=>{r.d(t,{K:()=>d,Q:()=>p});var s=r(90237),i=r(66552),o=r(53966),n=r(10107),l=(r(44208),r(87811),r(93223)),a=r(40608);const p=(0,i.O)()({naturalLog:"natural-log",squareRoot:"square-root",percentOfTotal:"percent-of-total",log:"log",field:"field"}),u="percent-of-total",y="field",d=e=>{let t=class extends e{constructor(){super(...arguments),this.normalizationField=null,this.normalizationMaxValue=null,this.normalizationMinValue=null,this.normalizationTotal=null}get normalizationType(){let e=this._get("normalizationType");const t=!!this.normalizationField,r=null!=this.normalizationTotal;return t||r?(e=t&&y||r&&u||null,t&&r&&o.A.getLogger(this).warn("warning: both normalizationField and normalizationTotal are set!")):e!==y&&e!==u||(e=null),e}set normalizationType(e){this._set("normalizationType",e)}};return(0,s._)([(0,n.MZ)({type:String,json:{name:"parameters.normalizationField",write:!0}})],t.prototype,"normalizationField",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{name:"parameters.normalizationMaxValue",write:!0}})],t.prototype,"normalizationMaxValue",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{name:"parameters.normalizationMinValue",write:!0}})],t.prototype,"normalizationMinValue",void 0),(0,s._)([(0,n.MZ)({type:Number,json:{name:"parameters.normalizationTotal",write:!0}})],t.prototype,"normalizationTotal",void 0),(0,s._)([(0,l.e)(p,{name:"parameters.normalizationType"})],t.prototype,"normalizationType",null),t=(0,s._)([(0,a.$)("esri.rest.support.NormalizationBinParametersMixin")],t),t}},45671:(e,t,r)=>{r.d(t,{D8:()=>o,TO:()=>i});var s=r(30524);async function i(e,t=e.popupTemplate){if(null==t)return[];const r=await t.getRequiredFields(e.fieldsIndex),{lastEditInfoEnabled:i}=t,{objectIdField:o,typeIdField:n,globalIdField:l,relationships:a}=e;if(r.includes("*"))return["*"];const p=i?(0,s.eX)(e):[],u=(0,s.DB)(e.fieldsIndex,[...r,...p]);return n&&u.push(n),u&&o&&e.fieldsIndex?.has(o)&&!u.includes(o)&&u.push(o),u&&l&&e.fieldsIndex?.has(l)&&!u.includes(l)&&u.push(l),a&&a.forEach((t=>{const{keyField:r}=t;u&&r&&e.fieldsIndex?.has(r)&&!u.includes(r)&&u.push(r)})),u}function o(e,t){return e.popupTemplate?e.popupTemplate:null!=t&&t.defaultPopupTemplateEnabled&&null!=e.defaultPopupTemplate?e.defaultPopupTemplate:null}},92935:(e,t,r)=>{var s;r.d(t,{X:()=>s}),function(e){e[e.SAVE=0]="SAVE",e[e.SAVE_AS=1]="SAVE_AS"}(s||(s={}))}}]);
|