@arcgis/core 6.0.0-next.14 → 6.0.0-next.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/esri/core/workers/RemoteClient.js +1 -1
- package/assets/esri/core/workers/chunks/08fe248e412bb170210d.js +1 -0
- package/assets/esri/core/workers/chunks/{fb444954be74c1962ced.js → 10d80e793019dfb45ca2.js} +1 -1
- package/assets/esri/core/workers/chunks/5736feefa261589b6273.js +1 -0
- package/assets/esri/core/workers/chunks/8e19629899a5becf8e19.js +1 -0
- package/assets/esri/core/workers/chunks/94e427040edb469d58ad.js +1 -0
- package/assets/esri/core/workers/chunks/{aadfe34a99c9ec7a0e11.js → ae31fd416bbb41a81392.js} +1 -1
- package/assets/esri/core/workers/chunks/{22e8c0aad2fe75943865.js → ed8786fed345718ed684.js} +1 -1
- package/assets/esri/libs/pdfjs/wasm/openjpeg_nowasm_fallback.js +1 -0
- package/config.js +1 -1
- package/core/ObjectPool.js +1 -1
- package/core/PooledArray.js +1 -1
- package/core/accessorSupport/tracking/SimpleTrackingTarget.js +1 -1
- package/geometry/support/buffer/BufferPool.js +1 -1
- package/geometry/support/coordsUtils.js +1 -1
- package/geometry/support/meshUtils.d.ts +5 -6
- package/interfaces.d.ts +18 -9
- package/kernel.js +1 -1
- package/layers/GeospatialPDFLayer.d.ts +154 -4
- package/layers/Layer.d.ts +2 -0
- package/layers/geospatialPDF/GeospatialPDFLayerWorker.js +1 -1
- package/layers/graphics/controllers/FeatureTileController3D.js +1 -1
- package/layers/support/LabelClass.d.ts +3 -2
- package/layers/support/PortalItemData.d.ts +31 -8
- package/layers/support/types.d.ts +4 -1
- package/package.json +2 -2
- package/rest/knowledgeGraph/ObjectValue.js +1 -1
- package/views/3d/analysis/DirectLineMeasurementAnalysisView3D.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightItemTool.js +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightPlacementController.js +1 -1
- package/views/3d/analysis/LineOfSight/{LineOfSightRootPlugin.js → LineOfSightPlacementRootPlugin.js} +1 -1
- package/views/3d/analysis/LineOfSight/LineOfSightTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedSubTool.js +1 -1
- package/views/3d/analysis/Viewshed/ViewshedTool.js +1 -1
- package/views/3d/interactive/editingTools/ManipulatedObject3DGraphic.js +1 -1
- package/views/3d/support/MemoryController.js +1 -1
- package/views/3d/terrain/TerrainData.js +1 -1
- package/views/3d/terrain/terrainUtils.js +1 -1
- package/views/3d/webgl-engine/effects/RenderPluginManager.js +1 -1
- package/views/3d/webgl-engine/effects/geometry/RenderOccluded.js +1 -1
- package/views/3d/webgl-engine/lib/PathBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathCapBuilder.js +1 -1
- package/views/3d/webgl-engine/lib/PathEvaluator.js +1 -1
- package/views/3d/webgl-engine/lib/PathExtruder.js +1 -1
- package/views/3d/webgl-engine/lib/PathProfile.js +1 -1
- package/views/3d/webgl-engine/lib/pathGeometryUtils.js +1 -1
- package/widgets/BatchAttributeForm/inputs/support/DynamicChoiceController.js +1 -1
- package/widgets/BatchAttributeForm.js +1 -1
- package/widgets/Editor/EditorViewModel.d.ts +10 -1
- package/widgets/Editor.d.ts +10 -1
- package/widgets/FeatureTable/FeatureTableViewModel.js +1 -1
- package/widgets/FeatureTable/support/FeatureStore.js +1 -1
- package/widgets/HistogramRangeSlider.d.ts +2 -2
- package/widgets/HistogramRangeSlider.js +1 -1
- package/widgets/Legend.d.ts +1 -0
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.d.ts +5 -2
- package/widgets/ScaleRangeSlider/ScaleRangeSliderViewModel.js +1 -1
- package/widgets/ScaleRangeSlider.js +1 -1
- package/widgets/ValuePicker/ValuePickerBaseComponent.d.ts +5 -1
- package/widgets/ValuePicker/ValuePickerCollection.d.ts +2 -0
- package/widgets/ValuePicker/ValuePickerCombobox.d.ts +7 -1
- package/widgets/ValuePicker/ValuePickerLabel.d.ts +7 -1
- package/widgets/ValuePicker/ValuePickerSlider.d.ts +2 -0
- package/widgets/ValuePicker/ValuePickerSliderVisibleElements.d.ts +5 -1
- package/widgets/ValuePicker/ValuePickerVisibleElements.d.ts +5 -1
- package/widgets/ValuePicker/types.d.ts +2 -0
- package/assets/esri/core/workers/chunks/037a8cc19debbaaa4e10.js +0 -1
- package/assets/esri/core/workers/chunks/1c65ab9ed611c322ce27.js +0 -1
- package/assets/esri/core/workers/chunks/408e81c8f1eff8a7b379.js +0 -1
- package/assets/esri/core/workers/chunks/5bfea0c55aca826de536.js +0 -1
- /package/views/3d/analysis/LineOfSight/{lineOfSightPlacementUtils.js → placementUtils.js} +0 -0
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
/* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
|
|
2
|
-
import{__decorate as e}from"tslib";import{formatNumber as t,substitute as n}from"../intl.js";import{deprecateWidget as r}from"../core/deprecate.js";import{on as i}from"../core/events.js";import a from"../core/Logger.js";import{destroyMaybe as o}from"../core/maybe.js";import{watch as s,initial as c,when as l}from"../core/reactiveUtils.js";import{property as u,cast as d,subclass as f}from"../core/accessorSupport/decorators.js";import p from"./Slider.js";import m from"./Widget.js";import{css as h}from"./ScaleRangeSlider/css.js";import{getScalePreviewSource as g,getScalePreviewSpriteBackgroundPosition as _}from"./ScaleRangeSlider/scalePreviewUtils.js";import v from"./ScaleRangeSlider/ScaleRanges.js";import y from"./ScaleRangeSlider/ScaleRangeSliderViewModel.js";import{createDropdownReference as b,loadCalciteComponents as x}from"./support/componentsUtils.js";import{globalCss as S}from"./support/globalCss.js";import{messageBundle as C,tsx as w}from"./support/widget.js";import{storeNode as T,setFocus as E}from"./support/widgetUtils.js";const D={preview:!0,scaleMenus:{maxScaleMenu:!0,minScaleMenu:!0}},O={maximumFractionDigits:0};let k=class extends m{constructor(e,t){super(e,t),this._activeMenu=null,this._activeThumb=null,this._customInput=null,this._maxThumbNode=null,this._minThumbNode=null,this._lastPreviewReferenceElement=null,this._previewAutoCloseTimeoutId=void 0,this._previewPopover=null,this._scaleMenuReferences={min:b(),max:b()},this._slider=new p({suppressDeprecationWarning:!0,thumbCreatedFunction:(e,t,n)=>{e===0?this._minThumbNode=n:e===1&&(this._maxThumbNode=n),this.addHandles([i(n,`mouseenter`,()=>{this._activeThumb=e,this._lastPreviewReferenceElement=n,this.scheduleRender()}),i(n,`mouseleave`,()=>{this._previewAutoCloseTimeoutId||(this._activeThumb=null,this.scheduleRender())})])}}),this.disabled=!1,this.messages=null,this.region=`US`,this.showWorldValue=!1,this.viewModel=new y,this.visibleElements=D,this._repositionPreviewPopover=()=>{let e=this._previewPopover;e&&e.open&&this._activeThumb!=null&&this._getReferenceNode(this._activeThumb)&&requestAnimationFrame(()=>e.reposition())},this._afterInputNumberCreate=e=>{`value`in e&&e.value!=null&&`setNumberValue`in e&&e.setNumberValue({committing:!1,value:e.value,origin:`direct`}),this._customInput=e},this._handleCustomScaleInputChange=(e,t)=>{let{viewModel:{scaleRanges:n}}=this,r=Number.parseFloat(t.value);Number.isNaN(r)?t.value=e:this._setScale(n.clampScale(r))},this.announceDeprecation=()=>{r(a.getLogger(this),`Scale Range Slider`,`arcgis-slider-scale-range`,{version:`5.0`})}}loadDependencies(){return x({button:()=>import(`@esri/calcite-components/dist/components/calcite-button`),dropdown:()=>import(`@esri/calcite-components/dist/components/calcite-dropdown`),"dropdown-group":()=>import(`@esri/calcite-components/dist/components/calcite-dropdown-group`),"dropdown-item":()=>import(`@esri/calcite-components/dist/components/calcite-dropdown-item`),icon:()=>import(`@esri/calcite-components/dist/components/calcite-icon`),"input-number":()=>import(`@esri/calcite-components/dist/components/calcite-input-number`),label:()=>import(`@esri/calcite-components/dist/components/calcite-label`),popover:()=>import(`@esri/calcite-components/dist/components/calcite-popover`)})}initialize(){this.addHandles([s(()=>this.viewModel,e=>this._slider.viewModel=e?.sliderViewModel??null,c),s(()=>this._interactive,e=>{this._slider.disabled=!e,e||this._setActiveMenu(null)},c),this._slider.on(`thumb-drag`,({index:e})=>{this._activeThumb=e,this._lastPreviewReferenceElement=this._getReferenceNode(e),clearTimeout(this._previewAutoCloseTimeoutId),this._previewAutoCloseTimeoutId=setTimeout(()=>{this._previewAutoCloseTimeoutId=void 0,this._activeThumb=null},250)}),l(()=>this.view?.stationary===!0,()=>this.scheduleRender())])}destroy(){this._scaleMenuReferences.min.destroy(),this._scaleMenuReferences.max.destroy(),this._slider=o(this._slider)}get _maxScaleMenuEnabled(){let{scaleMenus:e}=this.visibleElements;return e===!0||typeof e!=`boolean`&&e?.maxScaleMenu===!0}get _minScaleMenuEnabled(){let{scaleMenus:e}=this.visibleElements;return e===!0||typeof e!=`boolean`&&e?.minScaleMenu===!0}get _interactive(){return this.viewModel?.state!==`disabled`&&!this.disabled}get effectiveMaxScale(){return this.viewModel.effectiveMaxScale}get effectiveMinScale(){return this.viewModel.effectiveMinScale}get effectiveMaxScaleLimit(){return this.viewModel.effectiveMaxScaleLimit}get effectiveMinScaleLimit(){return this.viewModel.effectiveMinScaleLimit}get icon(){return`actual-size`}set icon(e){this._overrideIfSome(`icon`,e)}get label(){return this.messages?.widgetLabel??``}set label(e){this._overrideIfSome(`label`,e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get maxScale(){return this.viewModel.maxScale}set maxScale(e){this.viewModel.maxScale=e}get maxScaleLimit(){return this.viewModel.maxScaleLimit}set maxScaleLimit(e){this.viewModel.maxScaleLimit=e}get mode(){return this.viewModel.mode}set mode(e){this.viewModel.mode=e}get minScale(){return this.viewModel.minScale}set minScale(e){this.viewModel.minScale=e}get minScaleLimit(){return this.viewModel.minScaleLimit}set minScaleLimit(e){this.viewModel.minScaleLimit=e}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}castVisibleElements(e){return{...D,...e,scaleMenus:typeof e?.scaleMenus==`boolean`?e.scaleMenus:{...D.scaleMenus,...e?.scaleMenus}}}formatScale(e){return`1:${t(e,O)}`}render(){let{_interactive:e,_slider:t,label:n,view:r,viewModel:{state:i}}=this,a=this._getLabel(`min`),o=this._getLabel(`max`),{segmentElements:s}=t,c=s.at(this.mode===`min-scale-only`?-1:-2);return c&&c.classList.add(h.segmentElementActive),w(`div`,{"aria-label":n,class:this.classes(h.base,S.widget,e?null:S.disabled)},w(`div`,{class:h.scaleIndicatorWrapper,dir:`ltr`},i===`ready`&&r?this._renderCurrentScaleIndicator():null,t.render(),this._renderPreviewPopover()),w(`div`,{class:h.scaleMenuContainer},this._minScaleMenuEnabled&&a?this._renderScaleMenuToggle(`min`,a):null,w(`div`,{class:h.scaleMenuSeparator}),this._maxScaleMenuEnabled&&o?this._renderScaleMenuToggle(`max`,o):null))}_renderPreviewPopover(){let{_activeThumb:e}=this,t=this._getReferenceNode(e)??this._lastPreviewReferenceElement,n=e!=null&&this.visibleElements.preview&&t!=null;return n?w(`calcite-popover`,{afterCreate:T,afterUpdate:this._repositionPreviewPopover,bind:this,"data-node-ref":`_previewPopover`,label:this.messages.preview,offsetDistance:16,open:n,overlayPositioning:`fixed`,placement:`top`,referenceElement:t??void 0,topLayerDisabled:this.topLayerDisabled,triggerDisabled:!0},this._renderScalePreview()):null}_getReferenceNode(e){return e===0?this._minThumbNode:e===1?this._maxThumbNode:null}_renderScalePreview(){let{_activeThumb:e,_slider:t,region:n,viewModel:{scaleRanges:r}}=this,i=e===0||this.mode!==`range`?t.values[0]:t.values[1],a=Object.keys(v.RecommendedScales).indexOf(r.findScaleRangeByIndex(i).id),o={backgroundImage:g(n),backgroundPosition:_(a)};return w(`div`,{class:h.scalePreview},w(`div`,{class:h.scalePreviewThumbnail,styles:o}))}_getLabel(e){let{_slider:t,messages:n,mode:r,viewModel:{scaleRanges:i}}=this,[a,o]=t.values,s=e===`min`||r!==`range`?a:o,c=n.scaleRangeLabels[i.findScaleRangeByIndex(s).id];switch(r){case`range`:return c;case`max-scale-only`:return e===`min`?null:c;case`min-scale-only`:return e===`min`?c:null}}_renderScaleMenuToggle(e,t){let{_activeMenu:n,_interactive:r}=this,i=n===e,a=this._scaleMenuReferences[e],{storeTrigger:o,destroy:s,referenceTrigger:c}=a;return[w(`calcite-button`,{afterCreate:o,afterRemoved:s,afterUpdate:o,appearance:i?`outline`:`transparent`,"aria-pressed":i.toString(),class:h.scaleMenuToggle,disabled:!r,iconEnd:`chevron-down`,key:`scale-menu-${e}-trigger`,scale:`s`},t),w(`calcite-dropdown`,{afterCreate:c,afterUpdate:c,closeOnSelectDisabled:!0,"data-type":e,key:`scale-menu-${e}-dropdown`,open:i,overlayPositioning:`fixed`,placement:e===`max`?`bottom-end`:`bottom-start`,scale:`s`,topLayerDisabled:this.topLayerDisabled,onCalciteDropdownClose:()=>{this._activeMenu===e&&this._setActiveMenu(null),E(a.trigger)},onCalciteDropdownOpen:()=>this._setActiveMenu(e)},i&&e===`max`?this._renderMaxScaleMenu():null,i&&e===`min`?this._renderMinScaleMenu():null)]}_renderMinScaleMenu(){let{effectiveMaxScale:e,effectiveMinScaleLimit:t,view:n,viewModel:{scaleRanges:r}}=this,i=n?n.scale:void 0;return this._renderScaleMenu({type:`min`,min:t,max:r.findScaleRange(e).minScale,viewScale:i})}_renderMaxScaleMenu(){let{effectiveMinScale:e,effectiveMaxScaleLimit:t,view:n,viewModel:{scaleRanges:r}}=this,i=n?n.scale:void 0;return this._renderScaleMenu({type:`max`,min:r.findScaleRange(e).maxScale,max:t,viewScale:i})}_renderScaleMenu({viewScale:e,min:t,max:n,type:r}){let{effectiveMaxScale:i,effectiveMinScale:a,messages:o,showWorldValue:s}=this,c=r===`max`?i:a,l=v.fromScaleRange({minScale:t,maxScale:n}),u=this.messages.featuredScaleLabels,d=v.RecommendedScales,f=Object.keys(d).filter(e=>l.contains(d[e])).map(e=>this._renderScaleMenuItem({scaleLabel:u[e],scaleValue:d[e],isSelected:c===d[e],valueVisible:e!==`world`||s}));return w(`calcite-dropdown-group`,{key:`${this.id}__scale-menu--${r}`},this._renderCustomScaleValue({currentScale:c}),e==null?null:this._renderScaleMenuItem({scaleValue:e,scaleLabel:o.featuredScaleLabels.current,isSelected:c===e,valueVisible:!0}),f)}_renderCustomScaleValue({currentScale:e}){let{messages:t}=this,n=Math.round(e).toString();return w(`calcite-dropdown-item`,{afterCreate:e=>void E(e),key:`custom-scale`,label:t.featuredScaleLabels.custom,onCalciteDropdownItemSelect:()=>void E(this._customInput)},w(`calcite-label`,{scale:`s`},w(`span`,null,t.featuredScaleLabels.custom),w(`calcite-input-number`,{afterCreate:this._afterInputNumberCreate,groupSeparator:!0,inputMode:`numeric`,max:v.RecommendedScales.world,min:0,numberButtonType:`none`,placeholder:t.customScaleInputTooltip,prefixText:`1:`,scale:`s`,step:1,value:n,onCalciteInputNumberChange:({currentTarget:e})=>this._handleCustomScaleInputChange(n,e)})))}_renderScaleMenuItem(e){let{scaleValue:t,scaleLabel:n,valueVisible:r,isSelected:i}=e;return w(`calcite-dropdown-item`,{key:n,label:n,selected:i,onCalciteDropdownItemSelect:this._setScale.bind(this,t)},n,r?w(`div`,{class:h.scaleMenuSubLabel},this.formatScale(t)):void 0)}_renderCurrentScaleIndicator(){let{_slider:e,messages:t,view:r,viewModel:{scaleRanges:i}}=this,a=i.clampScale(r.scale),o=this.viewModel.mapScaleToSlider(a),s=o/e.max,c=t.scaleRangeLabels[i.findScaleRangeByIndex(o).id],l=n(t.currentScaleTooltip,{scaleLabel:c});return w(`div`,{class:h.scaleIndicatorContainer,key:`scale-indicator`},w(`div`,{"aria-label":l,class:h.scaleIndicator,styles:{left:`${s*100}%`},title:l},this.renderCurrentScaleIndicatorIcon()))}renderCurrentScaleIndicatorIcon(){return w(`calcite-icon`,{class:h.scaleIndicatorIcon,icon:`caret-up`,scale:`s`})}_setScale(e){this._activeMenu===`max`?this.maxScale=Math.min(e,this.effectiveMinScale-1):this.minScale=Math.max(e,this.effectiveMaxScale+1),this._setActiveMenu(null)}_setActiveMenu(e){this._activeMenu=e}};e([u()],k.prototype,`_activeMenu`,void 0),e([u()],k.prototype,`_activeThumb`,void 0),e([u()],k.prototype,`_customInput`,void 0),e([u()],k.prototype,`_maxScaleMenuEnabled`,null),e([u()],k.prototype,`_minScaleMenuEnabled`,null),e([u()],k.prototype,`_slider`,void 0),e([u({readOnly:!0})],k.prototype,`_interactive`,null),e([u()],k.prototype,`disabled`,void 0),e([u()],k.prototype,`effectiveMaxScale`,null),e([u()],k.prototype,`effectiveMinScale`,null),e([u()],k.prototype,`effectiveMaxScaleLimit`,null),e([u()],k.prototype,`effectiveMinScaleLimit`,null),e([u()],k.prototype,`icon`,null),e([u()],k.prototype,`label`,null),e([u()],k.prototype,`layer`,null),e([u()],k.prototype,`maxScale`,null),e([u()],k.prototype,`maxScaleLimit`,null),e([u(),C(`esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider`)],k.prototype,`messages`,void 0),e([u()],k.prototype,`mode`,null),e([u()],k.prototype,`minScale`,null),e([u()],k.prototype,`minScaleLimit`,null),e([u()],k.prototype,`region`,void 0),e([u()],k.prototype,`showWorldValue`,void 0),e([u()],k.prototype,`view`,null),e([u({type:y})],k.prototype,`viewModel`,void 0),e([u()],k.prototype,`visibleElements`,void 0),e([d(`visibleElements`)],k.prototype,`castVisibleElements`,null),k=e([f(`esri.widgets.ScaleRangeSlider`)],k);const A=k;export{A as default};
|
|
2
|
+
import{__decorate as e}from"tslib";import{formatNumber as t,substitute as n}from"../intl.js";import{deprecateWidget as r}from"../core/deprecate.js";import{on as i}from"../core/events.js";import a from"../core/Logger.js";import{destroyMaybe as o}from"../core/maybe.js";import{watch as s,initial as c,when as l}from"../core/reactiveUtils.js";import{property as u,cast as d,subclass as f}from"../core/accessorSupport/decorators.js";import p from"./Slider.js";import m from"./Widget.js";import{css as h}from"./ScaleRangeSlider/css.js";import{getScalePreviewSource as g,getScalePreviewSpriteBackgroundPosition as _}from"./ScaleRangeSlider/scalePreviewUtils.js";import v from"./ScaleRangeSlider/ScaleRanges.js";import y from"./ScaleRangeSlider/ScaleRangeSliderViewModel.js";import{createDropdownReference as b,loadCalciteComponents as x}from"./support/componentsUtils.js";import{globalCss as S}from"./support/globalCss.js";import{messageBundle as C,tsx as w}from"./support/widget.js";import{storeNode as T,setFocus as E}from"./support/widgetUtils.js";const D={preview:!0,scaleMenus:{maxScaleMenu:!0,minScaleMenu:!0}},O={maximumFractionDigits:0};let k=class extends m{constructor(e,t){super(e,t),this._activeMenu=null,this._activeThumb=null,this._customInput=null,this._maxThumbNode=null,this._minThumbNode=null,this._lastPreviewReferenceElement=null,this._previewAutoCloseTimeoutId=void 0,this._previewPopover=null,this._scaleMenuReferences={min:b(),max:b()},this._slider=new p({suppressDeprecationWarning:!0,thumbCreatedFunction:(e,t,n)=>{e===0?this._minThumbNode=n:e===1&&(this._maxThumbNode=n),this.addHandles([i(n,`mouseenter`,()=>{this._activeThumb=e,this._lastPreviewReferenceElement=n,this.scheduleRender()}),i(n,`mouseleave`,()=>{this._previewAutoCloseTimeoutId||(this._activeThumb=null,this.scheduleRender())})])}}),this.disabled=!1,this.messages=null,this.region=`US`,this.showWorldValue=!1,this.viewModel=new y({suppressDeprecationWarning:!0}),this.visibleElements=D,this._repositionPreviewPopover=()=>{let e=this._previewPopover;e&&e.open&&this._activeThumb!=null&&this._getReferenceNode(this._activeThumb)&&requestAnimationFrame(()=>e.reposition())},this._afterInputNumberCreate=e=>{`value`in e&&e.value!=null&&`setNumberValue`in e&&e.setNumberValue({committing:!1,value:e.value,origin:`direct`}),this._customInput=e},this._handleCustomScaleInputChange=(e,t)=>{let{viewModel:{scaleRanges:n}}=this,r=Number.parseFloat(t.value);Number.isNaN(r)?t.value=e:this._setScale(n.clampScale(r))},this.announceDeprecation=()=>{r(a.getLogger(this),`Scale Range Slider`,`arcgis-slider-scale-range`,{version:`5.0`})}}loadDependencies(){return x({button:()=>import(`@esri/calcite-components/dist/components/calcite-button`),dropdown:()=>import(`@esri/calcite-components/dist/components/calcite-dropdown`),"dropdown-group":()=>import(`@esri/calcite-components/dist/components/calcite-dropdown-group`),"dropdown-item":()=>import(`@esri/calcite-components/dist/components/calcite-dropdown-item`),icon:()=>import(`@esri/calcite-components/dist/components/calcite-icon`),"input-number":()=>import(`@esri/calcite-components/dist/components/calcite-input-number`),label:()=>import(`@esri/calcite-components/dist/components/calcite-label`),popover:()=>import(`@esri/calcite-components/dist/components/calcite-popover`)})}initialize(){this.addHandles([s(()=>this.viewModel,e=>this._slider.viewModel=e?.sliderViewModel??null,c),s(()=>this._interactive,e=>{this._slider.disabled=!e,e||this._setActiveMenu(null)},c),this._slider.on(`thumb-drag`,({index:e})=>{this._activeThumb=e,this._lastPreviewReferenceElement=this._getReferenceNode(e),clearTimeout(this._previewAutoCloseTimeoutId),this._previewAutoCloseTimeoutId=setTimeout(()=>{this._previewAutoCloseTimeoutId=void 0,this._activeThumb=null},250)}),l(()=>this.view?.stationary===!0,()=>this.scheduleRender())])}destroy(){this._scaleMenuReferences.min.destroy(),this._scaleMenuReferences.max.destroy(),this._slider=o(this._slider)}get _maxScaleMenuEnabled(){let{scaleMenus:e}=this.visibleElements;return e===!0||typeof e!=`boolean`&&e?.maxScaleMenu===!0}get _minScaleMenuEnabled(){let{scaleMenus:e}=this.visibleElements;return e===!0||typeof e!=`boolean`&&e?.minScaleMenu===!0}get _interactive(){return this.viewModel?.state!==`disabled`&&!this.disabled}get effectiveMaxScale(){return this.viewModel.effectiveMaxScale}get effectiveMinScale(){return this.viewModel.effectiveMinScale}get effectiveMaxScaleLimit(){return this.viewModel.effectiveMaxScaleLimit}get effectiveMinScaleLimit(){return this.viewModel.effectiveMinScaleLimit}get icon(){return`actual-size`}set icon(e){this._overrideIfSome(`icon`,e)}get label(){return this.messages?.widgetLabel??``}set label(e){this._overrideIfSome(`label`,e)}get layer(){return this.viewModel.layer}set layer(e){this.viewModel.layer=e}get maxScale(){return this.viewModel.maxScale}set maxScale(e){this.viewModel.maxScale=e}get maxScaleLimit(){return this.viewModel.maxScaleLimit}set maxScaleLimit(e){this.viewModel.maxScaleLimit=e}get mode(){return this.viewModel.mode}set mode(e){this.viewModel.mode=e}get minScale(){return this.viewModel.minScale}set minScale(e){this.viewModel.minScale=e}get minScaleLimit(){return this.viewModel.minScaleLimit}set minScaleLimit(e){this.viewModel.minScaleLimit=e}get view(){return this.viewModel.view}set view(e){this.viewModel.view=e}castVisibleElements(e){return{...D,...e,scaleMenus:typeof e?.scaleMenus==`boolean`?e.scaleMenus:{...D.scaleMenus,...e?.scaleMenus}}}formatScale(e){return`1:${t(e,O)}`}render(){let{_interactive:e,_slider:t,label:n,view:r,viewModel:{state:i}}=this,a=this._getLabel(`min`),o=this._getLabel(`max`),{segmentElements:s}=t,c=s.at(this.mode===`min-scale-only`?-1:-2);return c&&c.classList.add(h.segmentElementActive),w(`div`,{"aria-label":n,class:this.classes(h.base,S.widget,e?null:S.disabled)},w(`div`,{class:h.scaleIndicatorWrapper,dir:`ltr`},i===`ready`&&r?this._renderCurrentScaleIndicator():null,t.render(),this._renderPreviewPopover()),w(`div`,{class:h.scaleMenuContainer},this._minScaleMenuEnabled&&a?this._renderScaleMenuToggle(`min`,a):null,w(`div`,{class:h.scaleMenuSeparator}),this._maxScaleMenuEnabled&&o?this._renderScaleMenuToggle(`max`,o):null))}_renderPreviewPopover(){let{_activeThumb:e}=this,t=this._getReferenceNode(e)??this._lastPreviewReferenceElement,n=e!=null&&this.visibleElements.preview&&t!=null;return n?w(`calcite-popover`,{afterCreate:T,afterUpdate:this._repositionPreviewPopover,bind:this,"data-node-ref":`_previewPopover`,label:this.messages.preview,offsetDistance:16,open:n,overlayPositioning:`fixed`,placement:`top`,referenceElement:t??void 0,topLayerDisabled:this.topLayerDisabled,triggerDisabled:!0},this._renderScalePreview()):null}_getReferenceNode(e){return e===0?this._minThumbNode:e===1?this._maxThumbNode:null}_renderScalePreview(){let{_activeThumb:e,_slider:t,region:n,viewModel:{scaleRanges:r}}=this,i=e===0||this.mode!==`range`?t.values[0]:t.values[1],a=Object.keys(v.RecommendedScales).indexOf(r.findScaleRangeByIndex(i).id),o={backgroundImage:g(n),backgroundPosition:_(a)};return w(`div`,{class:h.scalePreview},w(`div`,{class:h.scalePreviewThumbnail,styles:o}))}_getLabel(e){let{_slider:t,messages:n,mode:r,viewModel:{scaleRanges:i}}=this,[a,o]=t.values,s=e===`min`||r!==`range`?a:o,c=n.scaleRangeLabels[i.findScaleRangeByIndex(s).id];switch(r){case`range`:return c;case`max-scale-only`:return e===`min`?null:c;case`min-scale-only`:return e===`min`?c:null}}_renderScaleMenuToggle(e,t){let{_activeMenu:n,_interactive:r}=this,i=n===e,a=this._scaleMenuReferences[e],{storeTrigger:o,destroy:s,referenceTrigger:c}=a;return[w(`calcite-button`,{afterCreate:o,afterRemoved:s,afterUpdate:o,appearance:i?`outline`:`transparent`,"aria-pressed":i.toString(),class:h.scaleMenuToggle,disabled:!r,iconEnd:`chevron-down`,key:`scale-menu-${e}-trigger`,scale:`s`},t),w(`calcite-dropdown`,{afterCreate:c,afterUpdate:c,closeOnSelectDisabled:!0,"data-type":e,key:`scale-menu-${e}-dropdown`,open:i,overlayPositioning:`fixed`,placement:e===`max`?`bottom-end`:`bottom-start`,scale:`s`,topLayerDisabled:this.topLayerDisabled,onCalciteDropdownClose:()=>{this._activeMenu===e&&this._setActiveMenu(null),E(a.trigger)},onCalciteDropdownOpen:()=>this._setActiveMenu(e)},i&&e===`max`?this._renderMaxScaleMenu():null,i&&e===`min`?this._renderMinScaleMenu():null)]}_renderMinScaleMenu(){let{effectiveMaxScale:e,effectiveMinScaleLimit:t,view:n,viewModel:{scaleRanges:r}}=this,i=n?n.scale:void 0;return this._renderScaleMenu({type:`min`,min:t,max:r.findScaleRange(e).minScale,viewScale:i})}_renderMaxScaleMenu(){let{effectiveMinScale:e,effectiveMaxScaleLimit:t,view:n,viewModel:{scaleRanges:r}}=this,i=n?n.scale:void 0;return this._renderScaleMenu({type:`max`,min:r.findScaleRange(e).maxScale,max:t,viewScale:i})}_renderScaleMenu({viewScale:e,min:t,max:n,type:r}){let{effectiveMaxScale:i,effectiveMinScale:a,messages:o,showWorldValue:s}=this,c=r===`max`?i:a,l=v.fromScaleRange({minScale:t,maxScale:n}),u=this.messages.featuredScaleLabels,d=v.RecommendedScales,f=Object.keys(d).filter(e=>l.contains(d[e])).map(e=>this._renderScaleMenuItem({scaleLabel:u[e],scaleValue:d[e],isSelected:c===d[e],valueVisible:e!==`world`||s}));return w(`calcite-dropdown-group`,{key:`${this.id}__scale-menu--${r}`},this._renderCustomScaleValue({currentScale:c}),e==null?null:this._renderScaleMenuItem({scaleValue:e,scaleLabel:o.featuredScaleLabels.current,isSelected:c===e,valueVisible:!0}),f)}_renderCustomScaleValue({currentScale:e}){let{messages:t}=this,n=Math.round(e).toString();return w(`calcite-dropdown-item`,{afterCreate:e=>void E(e),key:`custom-scale`,label:t.featuredScaleLabels.custom,onCalciteDropdownItemSelect:()=>void E(this._customInput)},w(`calcite-label`,{scale:`s`},w(`span`,null,t.featuredScaleLabels.custom),w(`calcite-input-number`,{afterCreate:this._afterInputNumberCreate,groupSeparator:!0,inputMode:`numeric`,max:v.RecommendedScales.world,min:0,numberButtonType:`none`,placeholder:t.customScaleInputTooltip,prefixText:`1:`,scale:`s`,step:1,value:n,onCalciteInputNumberChange:({currentTarget:e})=>this._handleCustomScaleInputChange(n,e)})))}_renderScaleMenuItem(e){let{scaleValue:t,scaleLabel:n,valueVisible:r,isSelected:i}=e;return w(`calcite-dropdown-item`,{key:n,label:n,selected:i,onCalciteDropdownItemSelect:this._setScale.bind(this,t)},n,r?w(`div`,{class:h.scaleMenuSubLabel},this.formatScale(t)):void 0)}_renderCurrentScaleIndicator(){let{_slider:e,messages:t,view:r,viewModel:{scaleRanges:i}}=this,a=i.clampScale(r.scale),o=this.viewModel.mapScaleToSlider(a),s=o/e.max,c=t.scaleRangeLabels[i.findScaleRangeByIndex(o).id],l=n(t.currentScaleTooltip,{scaleLabel:c});return w(`div`,{class:h.scaleIndicatorContainer,key:`scale-indicator`},w(`div`,{"aria-label":l,class:h.scaleIndicator,styles:{left:`${s*100}%`},title:l},this.renderCurrentScaleIndicatorIcon()))}renderCurrentScaleIndicatorIcon(){return w(`calcite-icon`,{class:h.scaleIndicatorIcon,icon:`caret-up`,scale:`s`})}_setScale(e){this._activeMenu===`max`?this.maxScale=Math.min(e,this.effectiveMinScale-1):this.minScale=Math.max(e,this.effectiveMaxScale+1),this._setActiveMenu(null)}_setActiveMenu(e){this._activeMenu=e}};e([u()],k.prototype,`_activeMenu`,void 0),e([u()],k.prototype,`_activeThumb`,void 0),e([u()],k.prototype,`_customInput`,void 0),e([u()],k.prototype,`_maxScaleMenuEnabled`,null),e([u()],k.prototype,`_minScaleMenuEnabled`,null),e([u()],k.prototype,`_slider`,void 0),e([u({readOnly:!0})],k.prototype,`_interactive`,null),e([u()],k.prototype,`disabled`,void 0),e([u()],k.prototype,`effectiveMaxScale`,null),e([u()],k.prototype,`effectiveMinScale`,null),e([u()],k.prototype,`effectiveMaxScaleLimit`,null),e([u()],k.prototype,`effectiveMinScaleLimit`,null),e([u()],k.prototype,`icon`,null),e([u()],k.prototype,`label`,null),e([u()],k.prototype,`layer`,null),e([u()],k.prototype,`maxScale`,null),e([u()],k.prototype,`maxScaleLimit`,null),e([u(),C(`esri/widgets/ScaleRangeSlider/t9n/ScaleRangeSlider`)],k.prototype,`messages`,void 0),e([u()],k.prototype,`mode`,null),e([u()],k.prototype,`minScale`,null),e([u()],k.prototype,`minScaleLimit`,null),e([u()],k.prototype,`region`,void 0),e([u()],k.prototype,`showWorldValue`,void 0),e([u()],k.prototype,`view`,null),e([u({type:y})],k.prototype,`viewModel`,void 0),e([u()],k.prototype,`visibleElements`,void 0),e([d(`visibleElements`)],k.prototype,`castVisibleElements`,null),k=e([f(`esri.widgets.ScaleRangeSlider`)],k);const A=k;export{A as default};
|
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
import type Widget from "../Widget.js";
|
|
2
2
|
import type { WidgetProperties } from "../Widget.js";
|
|
3
3
|
|
|
4
|
-
/**
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated since 5.2. Use the [Value Picker component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/) instead.
|
|
6
|
+
* @since 5.0
|
|
7
|
+
*/
|
|
5
8
|
export interface ValuePickerBaseComponentProperties extends WidgetProperties {}
|
|
6
9
|
|
|
7
10
|
/**
|
|
8
11
|
* An optional component for presenting and managing data in a [ValuePicker](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/) widget.
|
|
9
12
|
*
|
|
13
|
+
* @deprecated since 5.2. Use the [Value Picker component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/) instead.
|
|
10
14
|
* @since 5.0
|
|
11
15
|
*/
|
|
12
16
|
export default abstract class ValuePickerBaseComponent extends Widget {}
|
|
@@ -3,6 +3,7 @@ import type ValuePickerBaseComponent from "./ValuePickerBaseComponent.js";
|
|
|
3
3
|
import type { ReadonlyArrayOrCollection } from "../../core/Collection.js";
|
|
4
4
|
import type { ValuePickerBaseComponentProperties } from "./ValuePickerBaseComponent.js";
|
|
5
5
|
|
|
6
|
+
/** @deprecated since 5.2. Use the [Value Picker Collection component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-collection/) instead. */
|
|
6
7
|
export interface ValuePickerCollectionProperties<T = any> extends ValuePickerBaseComponentProperties {
|
|
7
8
|
/**
|
|
8
9
|
* A collection of values that can be navigated or animated with the play, next, and previous buttons on the [ValuePicker](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/) widget..
|
|
@@ -24,6 +25,7 @@ export interface ValuePickerCollectionProperties<T = any> extends ValuePickerBas
|
|
|
24
25
|
* See [Using an arbitrary collection component to present predefined list](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#from-collection) section
|
|
25
26
|
* for more information how to set this up.
|
|
26
27
|
*
|
|
28
|
+
* @deprecated since 5.2. Use the [Value Picker Collection component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-collection/) instead.
|
|
27
29
|
* @since 4.27
|
|
28
30
|
* @example
|
|
29
31
|
* // Assign a collection of objects to the ValuePicker.
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type ValuePickerBaseComponent from "./ValuePickerBaseComponent.js";
|
|
2
2
|
import type { ValuePickerBaseComponentProperties } from "./ValuePickerBaseComponent.js";
|
|
3
3
|
|
|
4
|
+
/** @deprecated since 5.2. Use the [Value Picker Combobox component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-combobox/) instead. */
|
|
4
5
|
export interface ValuePickerComboboxProperties extends ValuePickerBaseComponentProperties, Partial<Pick<ValuePickerCombobox, "items" | "placeholder">> {
|
|
5
6
|
/**
|
|
6
7
|
* Combobox label.
|
|
@@ -12,7 +13,11 @@ export interface ValuePickerComboboxProperties extends ValuePickerBaseComponentP
|
|
|
12
13
|
label?: string | null;
|
|
13
14
|
}
|
|
14
15
|
|
|
15
|
-
/**
|
|
16
|
+
/**
|
|
17
|
+
* Object used to define the combobox [item](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/ValuePickerCombobox/#items).
|
|
18
|
+
*
|
|
19
|
+
* @deprecated since 5.2. Use the [ComboboxItem type](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/types/#ComboboxItem) instead.
|
|
20
|
+
*/
|
|
16
21
|
export interface ComboboxItem {
|
|
17
22
|
/** The value of the combobox item. */
|
|
18
23
|
value: string;
|
|
@@ -26,6 +31,7 @@ export interface ComboboxItem {
|
|
|
26
31
|
* See [Using the combobox component to present selectable items](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#selectable-items) section
|
|
27
32
|
* for more information how to set this up.
|
|
28
33
|
*
|
|
34
|
+
* @deprecated since 5.2. Use the [Value Picker Combobox component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-combobox/) instead.
|
|
29
35
|
* @since 4.27
|
|
30
36
|
* @example
|
|
31
37
|
* // Create a ValuePicker widget with a combobox component.
|
|
@@ -1,9 +1,14 @@
|
|
|
1
1
|
import type ValuePickerBaseComponent from "./ValuePickerBaseComponent.js";
|
|
2
2
|
import type { ValuePickerBaseComponentProperties } from "./ValuePickerBaseComponent.js";
|
|
3
3
|
|
|
4
|
+
/** @deprecated since 5.2. Use the [Value Picker Label component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-label/#items) instead. */
|
|
4
5
|
export interface ValuePickerLabelProperties extends ValuePickerBaseComponentProperties, Partial<Pick<ValuePickerLabel, "items">> {}
|
|
5
6
|
|
|
6
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* Object used to define the label items.
|
|
9
|
+
*
|
|
10
|
+
* @deprecated since 5.2. Use the [LabelItem type](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/types/#LabelItem) instead.
|
|
11
|
+
*/
|
|
7
12
|
export interface LabelItem {
|
|
8
13
|
/** The value of the item. */
|
|
9
14
|
value: string;
|
|
@@ -17,6 +22,7 @@ export interface LabelItem {
|
|
|
17
22
|
* See [Using the label component to present items](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#from-labels) section
|
|
18
23
|
* for more information how to set this up.
|
|
19
24
|
*
|
|
25
|
+
* @deprecated since 5.2. Use the [Value Picker Label component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-label/) instead.
|
|
20
26
|
* @since 4.27
|
|
21
27
|
* @example
|
|
22
28
|
* // Create a ValuePicker widget with a label component.
|
|
@@ -4,6 +4,7 @@ import type { LabelFormatFunction } from "../types.js";
|
|
|
4
4
|
import type { ValuePickerSliderVisibleElementsProperties } from "./ValuePickerSliderVisibleElements.js";
|
|
5
5
|
import type { ValuePickerBaseComponentProperties } from "./ValuePickerBaseComponent.js";
|
|
6
6
|
|
|
7
|
+
/** @deprecated since 5.2. Use the [Value Picker Slider component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/) instead. */
|
|
7
8
|
export interface ValuePickerSliderProperties extends ValuePickerBaseComponentProperties, Partial<Pick<ValuePickerSlider, "labelFormatFunction" | "labels" | "majorTicks" | "max" | "min" | "minorTicks" | "reversed" | "steps">> {
|
|
8
9
|
/**
|
|
9
10
|
* This property provides the ability to display or hide the individual elements of the widget.
|
|
@@ -30,6 +31,7 @@ export interface ValuePickerSliderProperties extends ValuePickerBaseComponentPro
|
|
|
30
31
|
* See [Using the slider component to navigate numeric values](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#numeric-values) section
|
|
31
32
|
* for more information how to set this up.
|
|
32
33
|
*
|
|
34
|
+
* @deprecated since 5.2. Use the [Value Picker Slider component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/) instead.
|
|
33
35
|
* @since 4.27
|
|
34
36
|
* @example
|
|
35
37
|
* // Create a value picker with a slider component show percentages from 0 to 100.
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated since 5.2. Use the [Value Picker Slider component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/) instead.
|
|
5
|
+
* @since 5.0
|
|
6
|
+
*/
|
|
4
7
|
export interface ValuePickerSliderVisibleElementsProperties extends Partial<Pick<ValuePickerSliderVisibleElements, "thumbTooltip">> {}
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* The visible elements that are displayed within the slider component.
|
|
8
11
|
*
|
|
12
|
+
* @deprecated since 5.2. Use the [Value Picker Slider component](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker-slider/) instead.
|
|
9
13
|
* @since 5.0
|
|
10
14
|
*/
|
|
11
15
|
export default class ValuePickerSliderVisibleElements extends Accessor {
|
|
@@ -1,11 +1,15 @@
|
|
|
1
1
|
import type Accessor from "../../core/Accessor.js";
|
|
2
2
|
|
|
3
|
-
/**
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated since 5.2. Use the Value Picker component's [`hideNextButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hideNextButton), [`hidePlayButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hidePlayButton), and [`hidePreviousButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hidePreviousButton) properties instead.
|
|
5
|
+
* @since 5.0
|
|
6
|
+
*/
|
|
4
7
|
export interface ValuePickerVisibleElementsProperties extends Partial<Pick<ValuePickerVisibleElements, "nextButton" | "playButton" | "previousButton">> {}
|
|
5
8
|
|
|
6
9
|
/**
|
|
7
10
|
* The visible elements that are displayed within the widget.
|
|
8
11
|
*
|
|
12
|
+
* @deprecated since 5.2. Use the Value Picker component's [`hideNextButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hideNextButton), [`hidePlayButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hidePlayButton), and [`hidePreviousButton`](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#hidePreviousButton) properties instead.
|
|
9
13
|
* @since 5.0
|
|
10
14
|
*/
|
|
11
15
|
export default class ValuePickerVisibleElements extends Accessor {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* The [layout](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#layout) of the [ValuePicker](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/) widget.
|
|
3
3
|
*
|
|
4
|
+
* @deprecated since 5.2. Use the [Value Picker component's `layout` property](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#layout) instead.
|
|
4
5
|
* @since 5.0
|
|
5
6
|
*/
|
|
6
7
|
export type Layout = "horizontal" | "vertical";
|
|
@@ -8,6 +9,7 @@ export type Layout = "horizontal" | "vertical";
|
|
|
8
9
|
/**
|
|
9
10
|
* The [animate](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/#event-animate) event of the [ValuePicker](https://developers.arcgis.com/javascript/latest/references/core/widgets/ValuePicker/) widget.
|
|
10
11
|
*
|
|
12
|
+
* @deprecated since 5.2. Use the [Value Picker component's `arcgisAnimate` event](https://developers.arcgis.com/javascript/latest/references/common-components/components/arcgis-value-picker/#arcgisAnimate) instead.
|
|
11
13
|
* @since 5.0
|
|
12
14
|
*/
|
|
13
15
|
export interface AnimateEvent {}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[9358],{69622(e,t,r){r.d(t,{A:()=>z});var i=r(51447),n=r(71511),s=r(53966),o=r(97768),a=r(56454),l=r(16649),u=r(85537),c=r(96156),h=(r(44208),r(4718)),f=r(93687),d=r(11406),p=r(62788),y=r(47328),g=r(67867);const _=new WeakMap;class v extends d.T{get trackingTarget(){return this._trackingTarget??=new g.R(this)}constructor(e,t){super(),this.propertyName=e,this.metadata=t,this.flags=function(e){let t=_.get(e);if(null!=t)return t;let r=y.i.Dirty|(e.nonNullable?y.i.NonNullable:0)|(e.hasOwnProperty("value")?y.i.HasDefaultValue:0)|(void 0===e.get?y.i.DepTrackingInitialized:0)|(void 0===e.dependsOn?y.i.AutoTracked:0);return _.set(e,r),r}(t)}destroy(){this.flags&y.i.Dirty&&this.onCommitted(),super.destroy(),this._trackingTarget?.destroy()}getComputed(e,t){e.mutable&&(0,p.gc)(this);let r=e.store,i=this.propertyName,n=this.flags,s=r.get(i);if(n&y.i.Computing||!(n&y.i.Dirty)&&r.has(i))return s;this.flags|=y.i.Computing;let o,{host:a}=e;n&y.i.AutoTracked?o=(0,p.a)(this.trackingTarget,t,a):((0,p.Xr)(a,this),o=t.call(a)),this.flags|=y.i.DepTrackingInitialized,r.set(i,o,1);let l=r.get(i);return l===s?this.flags&=~y.i.Dirty:(0,p.F_)(this.commit,this),this.flags&=~y.i.Computing,l}notifyChange(){this.onInvalidated(),this.onCommitted()}invalidate(){this.onInvalidated()}commit(){this.flags&=~y.i.Dirty,this.onCommitted()}onInvalidated(){~this.flags&y.i.Overridden&&(this.flags|=y.i.Dirty);let e=this._observers;if(e&&e.length>0)for(let t of e)t.onInvalidated()}onCommitted(){let e=this._observers;if(e&&e.length>0){let t=e.slice();for(let e of t)e.onCommitted()}}}var m=r(35666);class w{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new w;return this._values.forEach((r,i)=>{(!e||!e.has(i))&&t.set(i,(0,h.o8)(r))}),t}get(e){return this._values.get(e)}originOf(){return 7}keys(){return[...this._values.keys()]}set(e,t){this._values.set(e,t)}delete(e){this._values.delete(e)}has(e){return this._values.has(e)}isAtOrigin(e,t){return this.has(e)}isBelowOrigin(e,t){return!this.has(e)}forEach(e){this._values.forEach(e)}}function b(e,t,r){return void 0!==e}function A(e,t,r,i){return!(void 0===e||null==r&&e.flags&y.i.NonNullable&&(i.lifecycle,u.v.INITIALIZING,1))}class O{constructor(e){this.host=e,this.propertiesByName=new Map,this.ctorArgs=null,this.lifecycle=u.v.INITIALIZING,this.store=new w,this.mutable=!0,this._origin=7;let t=this.host.constructor.__accessorMetadata__;for(let e in t){let r=new v(e,t[e]);this.propertiesByName.set(e,r)}this.metadata=t}initialize(){this.lifecycle=u.v.CONSTRUCTING}constructed(){this.lifecycle=u.v.CONSTRUCTED}destroy(){this.lifecycle=u.v.DESTROYED,this.propertiesByName.forEach(e=>e.destroy())}get initialized(){return this.lifecycle!==u.v.INITIALIZING}get(e){let t=this.propertiesByName.get(e);if(!b(t))return;let r=t.metadata.get;if(r)return t.getComputed(this,r);this.mutable&&(0,p.gc)(t);let i=this.store;return i.has(e)?i.get(e):t.metadata.value}originOf(e){let t=this.store.originOf(e);if(void 0===t){let t=this.propertiesByName.get(e);if(void 0!==t&&t.flags&y.i.HasDefaultValue)return"defaults"}return(0,m.OL)(t)}has(e){return this.propertiesByName.has(e)&&this.store.has(e)}keys(){return[...this.propertiesByName.keys()]}internalGet(e){let t=this.propertiesByName.get(e);if(b(t))return this.store.has(e)?this.store.get(e):t.metadata.value}internalSet(e,t){let r=this.propertiesByName.get(e);b(r)&&this._internalSet(r,t)}getDependsInfo(e,t,r){let i=this.propertiesByName.get(t);if(!b(i))return"";let n=new g.R,s=(0,p.a)(n,()=>i.metadata.get?.call(e)),o=`${r}${e.declaredClass.split(".").pop()}.${t}: ${s}\n`,a=n.accessed??new Set;if(0===a.size)return o;r+=" ";for(let e of a)e instanceof v&&(o+=`${r}${e.propertyName}: undefined\n`);return o}setAtOrigin(e,t,r){let i=this.propertiesByName.get(e);if(b(i))return this._setAtOrigin(i,t,r)}isOverridden(e){let t=this.propertiesByName.get(e);return void 0!==t&&!!(t.flags&y.i.Overridden)}clearOrigin(e,t){let r=this.store,i=this.propertiesByName.get(e);if(!b(i))return;let n=r.isAtOrigin(e,t)&&!(i.flags&y.i.Overridden);r.delete(e,t),n&&i.notifyChange()}clearOverride(e){let t=this.propertiesByName.get(e);t&&t.flags&y.i.Overridden&&(t.flags&=~y.i.Overridden,t.notifyChange())}override(e,t){let r=this.propertiesByName.get(e);if(!A(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(k.release(e),!r)return;t=n}r.flags|=y.i.Overridden,this._internalSet(r,t)}set(e,t){let r=this.propertiesByName.get(e);if(!A(r,0,t,this))return;let i=r.metadata.cast;if(i){let e=this._cast(i,t),{valid:r,value:n}=e;if(k.release(e),!r)return;t=n}let n=r.metadata.set;n?n.call(this.host,t):this._internalSet(r,t)}setDefaultOrigin(e){this._origin=(0,m.aB)(e)}getDefaultOrigin(){return(0,m.OL)(this._origin)}notifyChange(e){this.propertiesByName.get(e)?.notifyChange()}invalidate(e){this.propertiesByName.get(e)?.invalidate()}commit(e){this.propertiesByName.get(e)?.commit()}_internalSet(e,t){let r=this.lifecycle===u.v.INITIALIZING?0:this._origin;this._setAtOrigin(e,t,r)}_setAtOrigin(e,t,r){let i=this.store,n=e.propertyName,s=i.isAtOrigin(n,r);if(s&&~e.flags&y.i.Overridden&&(0,h.aI)(t,i.get(n)))return;let o=i.isBelowOrigin(n,r)||s;o&&e.invalidate(),i.set(n,t,r),o&&e.commit(),(0,p.fE)(this.host,e)}_cast(e,t){let r=k.acquire();return r.valid=!0,r.value=t,e&&(r.value=e.call(this.host,t,r)),r}}class N{constructor(){this.value=null,this.valid=!0}acquire(){this.valid=!0}release(){this.value=null}}const k=new f.A(()=>new N);var S=r(47821);var j,T,C=r(14012),D=r(10107),E=r(64108);function $(e){if(null==e)return{value:e};if(Array.isArray(e))return{type:[e[0]],value:null};switch(typeof e){case"object":return e.constructor?.__accessorMetadata__||e instanceof Date?{type:e.constructor,value:e}:e;case"boolean":return{type:Boolean,value:e};case"string":return{type:String,value:e};case"number":return{type:Number,value:e};case"function":return{type:e,value:null};default:return}}const M=Symbol("Accessor-Handles"),I=Symbol("Accessor-Initialized");class z{static{j=M,T=I}static createSubclass(e={}){if(Array.isArray(e))throw Error("Multi-inheritance unsupported since 4.16");let{properties:t,declaredClass:r,constructor:i}=e;delete e.declaredClass,delete e.properties,delete e.constructor;let n=this;class s extends n{constructor(...e){super(...e),this.inherited=null,i&&i.apply(this,e)}}(0,c.tD)(s.prototype);for(let t in e){let r=e[t];s.prototype[t]="function"==typeof r?function(...e){let i,s=this.inherited;this.inherited=function(...e){if(n.prototype[t])return n.prototype[t].apply(this,e)};try{i=r.apply(this,e)}catch(e){throw this.inherited=s,e}return this.inherited=s,i}:e[t]}for(let e in t){let r=$(t[e]);(0,D.MZ)(r)(s.prototype,e)}return(0,E.$)(r)(s)}static freeze(e){return e instanceof z?e.__accessor__.mutable=!1:Object.freeze(e),e}static isFrozen(e){return e instanceof z?!e.__accessor__.mutable:Object.isFrozen(e)}constructor(...e){if(this[j]=null,this[T]=!1,this.constructor===z)throw Error("[accessor] cannot instantiate Accessor. This can be fixed by creating a subclass of Accessor");let t=new O(this);Object.defineProperty(this,"__accessor__",{enumerable:!1,value:t}),e.length>0&&(t.ctorArgs=this.normalizeCtorArgs?.apply(this,e)??e[0])}postscript(){let e=this.__accessor__,t=e.ctorArgs;e.initialize(),t&&(this.set(t),e.ctorArgs=null),e.constructed(),this.initialize(),this[I]=!0}initialize(){}[a.G](){this[M]=(0,o.pR)(this[M])}destroy(){this.destroyed||((0,C.iS)(this),this.__accessor__.destroy())}[Symbol.dispose](){this.destroy()}get constructed(){return this.__accessor__&&this.__accessor__.initialized||!1}get initialized(){return this[I]}get destroyed(){return this.__accessor__?.lifecycle===u.v.DESTROYED||!1}get destroying(){return this.__accessor__?.lifecycle===u.v.DESTROYING||!1}commitProperty(e){(0,l.Jt)(this,e)}hasOwnProperty(e){return this.__accessor__?this.__accessor__.has(e):Object.prototype.hasOwnProperty.call(this,e)}keys(){return this.__accessor__?this.__accessor__.keys():[]}set(e,t){return(0,S.h)(this,e,t),this}watch(e,t,r){return(0,i.eO)(s.A.getLogger(this),"`watch` is deprecated in favor of reactiveUtils.watch",{replacement:"reactiveUtils.watch",version:"4.32",see:"https://arcg.is/1vaqf42#watch",warnOnce:!0}),(0,C.wB)(this,e,t,r)}addHandles(e,t){if(this.destroyed){let t=Array.isArray(e)?e:[e];for(let e of t)e.remove()}else(this[M]??=new n.A).add(e,t)}removeHandles(e){this[M]?.remove(e)}removeAllHandles(){this[M]?.removeAll()}removeHandlesReference(e){this[M]?.removeReference(e)}hasHandles(e){return!0===this[M]?.has(e)}_override(e,t){void 0===t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_clearOverride(e){return this.__accessor__.clearOverride(e)}_overrideIfSome(e,t){null==t?this.__accessor__.clearOverride(e):this.__accessor__.override(e,t)}_isOverridden(e){return this.__accessor__.isOverridden(e)}notifyChange(e){this.__accessor__.notifyChange(e)}_get(e){return this.__accessor__.internalGet(e)}_set(e,t){return this.__accessor__.internalSet(e,t),this}}},98291(e,t,r){r.d(t,{A:()=>s});var i=r(93687);function n(e){e.length=0}class s{constructor(e=50,t=50){this._pool=new i.A(()=>[],void 0,n,t,e)}acquire(){return this._pool.acquire()}release(e){this._pool.release(e)}prune(){this._pool.prune(0)}static acquire(){return o.acquire()}static release(e){return o.release(e)}static prune(){o.prune()}}const o=new s(100)},71511(e,t,r){r.d(t,{A:()=>n});var i=r(5479);class n{constructor(){this._groups=new Map}destroy(){this.removeAll()}get size(){let e=0;return this._groups.forEach(t=>{e+=t.length}),e}add(e,t){if((0,i.xZ)(e)){let r=this._getOrCreateGroup(t);for(let t of e)a(t)&&r.push(t)}else a(e)&&this._getOrCreateGroup(t).push(e);return this}forEach(e,t){if("function"==typeof e)this._groups.forEach(t=>t.forEach(e));else{let r=this._getGroup(e);r&&t&&r.forEach(t)}}has(e){return this._groups.has(s(e))}remove(e){if("string"!=typeof e&&(0,i.xZ)(e)){for(let t of e)this.remove(t);return this}return this.has(e)&&(o(this._getGroup(e)),this._groups.delete(s(e))),this}removeAll(){return this._groups.forEach(o),this._groups.clear(),this}removeReference(e){return this._groups.delete(e),this}_getOrCreateGroup(e){if(this.has(e))return this._getGroup(e);let t=[];return this._groups.set(s(e),t),t}_getGroup(e){return this._groups.get(s(e))}}function s(e){return e||"_default_"}function o(e){for(let t of e)t instanceof n?t.removeAll():t.remove()}function a(e){return null!=e&&(!!e.remove||e instanceof n)}},25482(e,t,r){r.d(t,{o:()=>y,T:()=>d});var i=r(32198),n=r(69622),s=r(4718);class o{constructor(){this._values=new Map,this.multipleOriginsSupported=!1}clone(e){let t=new o;return this._values.forEach((r,i)=>{(!e||!e.has(i))&&t.set(i,(0,s.o8)(r.value),r.origin)}),t}get(e,t){t=this._normalizeOrigin(t);let r=this._values.get(e);return null==t||r?.origin===t?r?.value:void 0}originOf(e){return this._values.get(e)?.origin??7}keys(e){e=this._normalizeOrigin(e);let t=[...this._values.keys()];return null==e?t:t.filter(t=>this._values.get(t)?.origin===e)}set(e,t,r){if(0===(r=this._normalizeOrigin(r))){let t=this._values.get(e);if(null!=t?.origin&&t.origin>r)return}this._values.set(e,new a(t,r))}delete(e,t){(null==(t=this._normalizeOrigin(t))||this._values.get(e)?.origin===t)&&this._values.delete(e)}has(e,t){return null==(t=this._normalizeOrigin(t))?this._values.has(e):this._values.get(e)?.origin===t}isAtOrigin(e,t){return t=this._normalizeOrigin(t),this.has(e,t)&&this.originOf(e)===t}isBelowOrigin(e,t){return t=this._normalizeOrigin(t),!this.has(e)||this.originOf(e)<t}forEach(e){this._values.forEach(({value:t},r)=>e(t,r))}_normalizeOrigin(e){if(null!=e)return 0===e?e:7}}class a{constructor(e,t){this.value=e,this.origin=t}}var l=r(76953),u=r(45917),c=r(88620),h=r(49422),f=r(64108);const d=e=>{let t=e,r=class extends t{constructor(...e){super(...e);let t=(0,c.oY)(this),r=t.store,i=new o;t.store=i,(0,l.k)(t,r,i)}read(e,t){(0,u.L)(this,e,t)}write(e,t){return(0,h.M)(this,e??{},t)}toJSON(e){return this.write({},e)}static fromJSON(e,t){return p.call(this,e,t)}};return r=(0,i.Cg)([(0,f.$)("esri.core.JSONSupport")],r),r.prototype.toJSON.isDefaultToJSON=!0,r};function p(e,t){if(!e)return null;if(e.declaredClass)throw Error("JSON object is already hydrated");let r=new this;return r.read(e,t),r}const y=d(n.A)},93687(e,t,r){r.d(t,{A:()=>i});class i{constructor(e,t,r,i=1,n=0){this._creator=e,this._acquireFunction=t,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let e=0;e<n;e++)this._pool[e]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...e){if(0===this._pool.length){let e=this.allocationSize;for(let t=0;t<e;t++)this._pool[t]=this._creator()}let t=this._pool.pop();return this._acquireFunction?this._acquireFunction(t,...e):function(e){return e?.acquire&&"function"==typeof e.acquire}(t)&&t.acquire(...e),t}release(e){var t;e&&(this._releaseFunction?this._releaseFunction(e):(t=e,t?.release&&"function"==typeof t.release&&e.release()),this._pool.push(e))}prune(e=this._initialSize){if(!(e>=this._pool.length)){for(let t=e;t<this._pool.length;++t){let e=this._pool[t];this._dispose(e)}this._pool.length=e}}_dispose(e){e.dispose&&"function"==typeof e.dispose&&e.dispose()}}},15142(e,t,r){r.d(t,{A:()=>u});var i=r(4576),n=r(21818);const s=(e,t,r,i)=>{let n=t,s=t,o=r>>>1,a=e[n-1];for(;s<=o;){s=n<<1,s<r&&i(e[s-1],e[s])<0&&++s;let t=e[s-1];if(i(t,a)<=0)break;e[n-1]=t,n=s}e[n-1]=a},o=(e,t)=>e<t?-1:+(e>t);function a(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i);let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i)}}function*l(e,t,r,i){void 0===t&&(t=0),void 0===r&&(r=e.length),void 0===i&&(i=o);for(let n=r>>>1;n>t;n--)s(e,n,r,i),yield;let n=t+1;for(let o=r-1;o>t;o--){let r=e[t];e[t]=e[o],e[o]=r,s(e,n,o,i),yield}}class u{constructor(e){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new i.vW,e&&(e.initialSize&&(this.data=Array(e.initialSize)),e.allocator&&(this._allocator=e.allocator),void 0!==e.deallocator&&(this._deallocator=e.deallocator),e.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(e){let t=[];for(let r=0;r<this._length;r++){let i=this.data[r];e(i)&&t.push(i)}return t}at(e){if((e=Math.trunc(e)||0)<0&&(e+=this._length),!(e<0||e>=this._length))return this.data[e]}includes(e,t){let r=this.data.indexOf(e,t);return-1!==r&&r<this.length}get length(){return this._length}set length(e){if(e>this._length){if(this._allocator){for(;this._length<e;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=e}else{if(this._deallocator)for(let t=e;t<this._length;++t)this.data[t]=this._deallocator(this.data[t]);this._length=e,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(e){this.data[this._length++]=e}pushArray(e,t=e.length){for(let r=0;r<t;r++)this.data[this._length++]=e[r]}pushAll(e){for(let t of e)this.data[this._length++]=t}fill(e,t){for(let r=0;r<t;r++)this.data[this._length++]=e}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let e=this.data[this._length];return++this._length,e}unshift(e){this.data.unshift(e),this._length++,c(this)}pop(){if(0===this.length)return;let e=this.data[this.length-1];return--this.length,this._shrink(),e}remove(e){let t=(0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint);if(-1!==t)return this.data.splice(t,1),--this.length,e}removeUnordered(e){return this.removeUnorderedIndex((0,i.qh)(this.data,(0,n.z)(e),this.length,this._hint))}removeUnorderedIndex(e){if(!(e>=this.length||e<0))return this.swapElements(e,this.length-1),this.pop()}removeUnorderedMany(e,t=e.length,r){this.length=(0,i.mW)(this.data,e,this.length,t,this._hint,r),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(e,t){if(e>=this.length||t>=this.length||e===t)return;let r=this.data[e];this.data[e]=this.data[t],this.data[t]=r}sort(e){a(this.data,0,this.length,e)}iterableSort(e){return l(this.data,0,this.length,e)}some(e,t){for(let r=0;r<this.length;++r)if(e.call(t,this.data[r],r,this.data))return!0;return!1}find(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)if(e.call(t,r[n]))return r[n]}filterInPlace(e,t){let r=0;for(let i=0;i<this._length;++i){let n=this.data[i];e.call(t,n,i,this.data)&&(this.data[i]=this.data[r],this.data[r]=n,r++)}if(this._deallocator)for(let e=r;e<this._length;e++)this.data[e]=this._deallocator(this.data[e]);return this._length=r,this._shrink(),this}forAll(e,t){let{data:r,length:i}=this;for(let n=0;n<i;++n)e.call(t,r[n],n,r)}forEach(e,t){this.data.slice(0,this.length).forEach(e,t)}map(e,t){let r=Array(this.length);for(let i=0;i<this.length;++i)r[i]=e.call(t,this.data[i],i,this.data);return r}reduce(e,t){let r=t;for(let t=0;t<this.length;++t)r=e(r,this.data[t],t,this.data);return r}has(e){let t=this.length,r=this.data;for(let i=0;i<t;++i)if(r[i]===e)return!0;return!1}*[Symbol.iterator](){for(let e=0;e<this.length;++e)yield this.data[e]}}function c(e){e.data.length>1.5*e.length&&(e.data.length=Math.floor(1.1*e.length))}},67076(e,t,r){r.d(t,{A:()=>n});var i=r(799);class n{constructor(e,t,r){this.name=e,this.details=r,this.type="warning",this.message=t?(0,i.V2)(t,r):""}toString(){let{name:e,message:t}=this;return`[${e}]: ${t}`}}},85537(e,t,r){r.d(t,["v",0,{INITIALIZING:0,CONSTRUCTING:1,CONSTRUCTED:2,DESTROYING:3,DESTROYED:4}])},11406(e,t,r){r.d(t,{T:()=>s});var i=r(36563);class n{constructor(e,t){this._observers=e,this._observer=t}remove(){let{_observers:e,_observer:t}=this;if(e[e.length-1]===t)return void e.pop();let r=e.indexOf(this._observer);-1!==r&&e.splice(r,1)}}class s{constructor(){this._observers=null,this.destroyed=!1}observe(e){if(this.destroyed||e.destroyed)return o;this._observers??=[];let t=this._observers,r=!1,i=!1;for(let n of t)if(n.destroyed)i=!0;else if(n===e){r=!0;break}return r||(t.push(e),i&&this._removeDestroyedObservers()),new n(t,e)}_removeDestroyedObservers(){let e=this._observers;if(!e)return;let t=e.length;if(0===t)return;let r=0;for(let i=0;i<t;++i){for(;i+r<t&&e[i+r].destroyed;)++r;if(r>0){if(!(i+r<t))break;e[i]=e[i+r]}}e.length=t-r}destroy(){if(this.destroyed)return;this.destroyed=!0;let e=this._observers;if(null!=e){for(let t of e)t.onCommitted();this._observers=null}}}const o=(0,i.hA)()},35666(e,t,r){function i(e){switch(e){case"defaults":return 0;case"service":return 2;case"portal-item":return 3;case"web-scene":return 4;case"web-map":return 5;case"link-chart":return 6;case"user":return 7;default:return null}}function n(e){switch(e){case 0:return"defaults";case 2:return"service";case 3:return"portal-item";case 4:return"web-scene";case 5:return"web-map";case 6:return"link-chart";case 7:return"user"}}function s(e){return n(e)}r.d(t,{OL:()=>n,aB:()=>i,in:()=>s})},56454(e,t,r){const i=Symbol("Accessor-beforeDestroy");r.d(t,["G",0,i])},91429(e,t,r){r.d(t,{wg:()=>l,MZ:()=>o,$K:()=>a});var i=r(10107),n=r(79901),s=r(64108);r(93223),r(36005),r(43937);const o=i.MZ,a=s.$;function l(...e){return(0,n.w)(...e)}},79901(e,t,r){r.d(t,{w:()=>l});var i=r(78888),n=r(96156);const s=Object.prototype.toString;function o(e){let t="__accessorMetadata__"in e?(0,i.dp)(e):e;return function(...e){if(e.push(t),"number"==typeof e[2])throw Error("Using @cast has parameter decorator is not supported since 4.16");return a.apply(this,e)}}function a(e,t,r,i){(0,n.z4)(e,t).cast=i}function l(...e){if(3!==e.length||"string"!=typeof e[1]){if(1===e.length&&"[object Function]"===s.call(e[0]))return o(e[0]);if(1===e.length&&"string"==typeof e[0])return function(e){return(t,r)=>{(0,n.z4)(t,e).cast=t[r]}}(e[0])}}},93223(e,t,r){r.d(t,{e:()=>s});var i=r(66552),n=r(10107);function s(e,t={}){let r=e instanceof i.J?e:new i.J(e,t),{alwaysWriteDefaults:s,default:o,ignoreUnknown:a=!0,name:l,nonNullable:u,readOnly:c=!1}=t;return(0,n.MZ)({type:a?r.apiValues:String,json:{type:r.jsonValues,default:o,name:l,read:!c&&{reader:r.read},write:{writer:r.write,alwaysWriteDefaults:s}},nonNullable:u,readOnly:c})}},10107(e,t,r){r.d(t,{MZ:()=>l,rM:()=>u});var i=r(53966),n=r(78888),s=r(16649),o=r(96156),a=r(47821);function l(e={}){return(t,r)=>{if(t===Function.prototype)throw Error(`Inappropriate use of @property() on a static field: ${t.name}.${r}. Accessor does not support static properties.`);let l=Object.getOwnPropertyDescriptor(t,r),u=(0,o.z4)(t,r);l&&(l.get||l.set?(u.get=l.get||u.get,u.set=l.set||u.set):"value"in l&&("value"in e&&i.A.getLogger("esri.core.accessorSupport.decorators.property").warn(`@property() will redefine the value of "${r}" on "${t.constructor.name}" already defined in the metadata`,e),u.value=e.value=l.value)),null!=e.readOnly&&(u.readOnly=e.readOnly);let c=e.aliasOf;if(c){let e,t="string"==typeof c?c:c.source,i="string"==typeof c?null:!0===c.overridable;u.dependsOn=[t],u.get=function(){let r=(0,s.Jt)(this,t);if("function"==typeof r){e||=t.split(".").slice(0,-1).join(".");let i=(0,s.Jt)(this,e);i&&(r=r.bind(i))}return r},u.readOnly||(u.set=i?function(e){this._override(r,e)}:function(e){(0,a.h)(this,t,e)})}let h=e.type,f=e.types;if(!u.cast){let t;h&&!1!==e.useTypeForAutocast?t=function(e){let t=0,r=e;if((0,n.Zu)(e))return(0,n.Nd)(e);for(;Array.isArray(r)&&1===r.length&&"string"!=typeof r[0]&&"number"!=typeof r[0];)r=r[0],t++;let i=r;if((0,n.EK)(i))return 0===t?(0,n.MB)(i):(0,n._e)((0,n.MB)(i),t);if(1===t)return(0,n.eC)(i);if(t>1)return(0,n.e6)(i,t);let s=e;return s.from?s.from:(0,n.dp)(s)}(h):f&&(t=Array.isArray(f)?(0,n.wB)((0,n.aq)(f[0])):(0,n.aq)(f)),e.cast=function(e,t){if(e||t)return e?t?(r,i)=>t(e(r,i),i):e:t}(e.cast,t)}(0,o.CX)(u,e),e.range&&(u.cast=(0,n.Qp)(u.cast,e.range))}}function u(e,t,r){let i=(0,o.z4)(e,r);i.json||={};let n=i.json;return void 0!==t&&(n.origins||(n.origins={}),n.origins[t]||(n.origins[t]={}),n=n.origins[t]),n}},36005(e,t,r){r.d(t,{w:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t||Array.isArray(t)?(s=e,r=t,n=[void 0]):(s=t,n=Array.isArray(e)?e:[e]),(e,t)=>{let o=e.constructor.prototype;n.forEach(n=>{let a=(0,i.rM)(e,n,s);(!a.read||"object"!=typeof a.read)&&(a.read={}),a.read.reader=o[t],r&&(a.read.source=(a.read.source||[]).concat(r))})}}},64108(e,t,r){r.d(t,{$:()=>w}),r(44208);var i=r(53966),n=r(56454),s=r(85537),o=r(96156),a=r(62788),l=r(78888),u=r(90360);function c(e){e.name&&(e.read&&"object"==typeof e.read?void 0===e.read.source&&(e.read.source=e.name):e.read={source:e.name},e.write&&"object"==typeof e.write?void 0===e.write.target&&(e.write.target=e.name):e.write={target:e.name})}function h(e){"boolean"==typeof e.read?e.read={enabled:e.read}:"function"==typeof e.read?e.read={enabled:!0,reader:e.read}:e.read&&"object"==typeof e.read&&void 0===e.read.enabled&&(e.read.enabled=!0)}function f(e){"boolean"==typeof e.write?e.write={enabled:e.write}:"function"==typeof e.write?e.write={enabled:!0,writer:e.write}:e.write&&"object"==typeof e.write&&void 0===e.write.enabled&&(e.write.enabled=!0)}var d=r(67124);function p(e){return e.type?y(e):g(e)}function y(e){if(!e.type)return;let t=0,r=e.type;for(;Array.isArray(r)&&!(0,l.EK)(r);)r=r[0],t++;return{type:r,ndimArray:t}}function g(e){if(!e.types)return;let t=0,r=e.types;for(;Array.isArray(r);)r=r[0],t++;return{types:r,ndimArray:t}}function _(e){(function(e){if(e.json||={},h(e.json),f(e.json),c(e.json),e.json.origins)for(let t in e.json.origins)h(e.json.origins[t]),f(e.json.origins[t]),c(e.json.origins[t]);return!0})(e)&&(function(e){if(e.json&&e.json.origins){let t=e.json.origins,r={"web-document":["web-scene","web-map"]};for(let e in r)if(t[e]){let i=t[e];r[e].forEach(e=>{t[e]=i}),delete t[e]}}}(e),function(e){let t=function(e){return e.json.types?g(e.json):e.type?y(e):g(e)}(e);if(e.json.origins)for(let r in e.json.origins){let i=e.json.origins[r],n=i.types?p(i):t;(0,u.v)(n,i,!1),i.types&&!i.write&&e.json.write?.enabled&&(i.write={...e.json.write}),(0,d.v)(n,i)}(0,u.v)(t,e.json,!0),(0,d.v)(t,e.json)}(e))}const v=new Set,m=new Set;function w(e){return t=>{e??="esri.core.Accessor",t.prototype.declaredClass=e,N(t);let r=[],i=[],a=t.prototype;for(;a;)a.hasOwnProperty("initialize")&&!v.has(a.initialize)&&(v.add(a.initialize),r.push(a.initialize)),a.hasOwnProperty("destroy")&&!m.has(a.destroy)&&(m.add(a.destroy),i.push(a.destroy)),a=Object.getPrototypeOf(a);v.clear(),m.clear();let l=class extends t{constructor(...e){if(super(...e),this.constructor===l&&"function"==typeof this.postscript){if(r.length&&Object.defineProperty(this,"initialize",{enumerable:!1,configurable:!0,value(){for(let e=r.length-1;e>=0;e--)r[e].call(this)}}),i.length){let e=!1,t=this[n.G];Object.defineProperty(this,"destroy",{enumerable:!1,configurable:!0,value(){if(!e){this.__accessor__.lifecycle=s.v.DESTROYING,e=!0,t.call(this);for(let e=0;e<i.length;e++)i[e].call(this)}}})}Object.defineProperty(this,Symbol.dispose,{enumerable:!1,configurable:!0,value(){this.destroy()}}),this.postscript()}}};l.__accessorMetadata__=(0,o.tD)(t.prototype),l.prototype.declaredClass=e;let u=(e||"AccessorSubclass").split(".").slice(-1)[0];return Object.defineProperty(l.prototype,Symbol.toStringTag,{value:u,configurable:!0,writable:!0,enumerable:!1}),l}}function b(e,{get:t,value:r}){return null==t?function(){let t=this.__accessor__,i=t.propertiesByName.get(e);if(void 0===i)return;t.mutable&&(0,a.gc)(i);let n=t.store;return n.has(e)?n.get(e):r}:function(){let r=this.__accessor__;return r.propertiesByName.get(e)?.getComputed(r,t)}}function A(e,t,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r})}function O(e,t){return t.readOnly&&t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);if(i.lifecycle===s.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else A(this,e,r)}:t.readOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.initialized&&t.readOnly)return k("read-only",e);i.set(e,r)}}else A(this,e,r)}:t.constructOnly?function(r){let i=this.__accessor__;if(i){if(i.mutable){if(i.lifecycle===s.v.CONSTRUCTED&&t.constructOnly)return k("construct-only",e);i.set(e,r)}}else A(this,e,r)}:function(t){let r=this.__accessor__;r?r.mutable&&r.set(e,t):A(this,e,t)}}function N(e){let t=e.prototype,r=(0,o.tD)(t),i={};for(let e of Object.getOwnPropertyNames(r)){let t=r[e];_(t),i[e]={enumerable:!0,configurable:!0,get:b(e,t),set:O(e,t)}}Object.defineProperties(e.prototype,i)}const k=(e,t)=>{i.A.getLogger("esri.core.Accessor").error(`cannot assign to ${e} property '${t}'`)}},43937(e,t,r){r.d(t,{K:()=>n});var i=r(10107);function n(e,t,r){let n,s;return void 0===t?(s=e,n=[void 0]):"string"==typeof t?(s=t,n=Array.isArray(e)?e:[e]):(s=e,n=[void 0],r=t),(e,t)=>{let o=e.constructor.prototype;for(let a of n){let n=(0,i.rM)(e,a,s);(!n.write||"object"!=typeof n.write)&&(n.write={}),r&&(n.write.target=r),n.write.writer=o[t]}}}},76953(e,t,r){function i(e,t,r){t.keys().forEach(e=>{r.set(e,t.get(e),0)});let i=e.metadata;Object.keys(i).forEach(t=>{e.internalGet(t)&&r.set(t,e.internalGet(t),0)})}r.d(t,{k:()=>i})},78888(e,t,r){r.d(t,{EK:()=>C,GB:()=>u,GX:()=>l,MB:()=>D,Nd:()=>z,PZ:()=>v,Qp:()=>f,Uv:()=>M,Vr:()=>c,Zu:()=>I,_e:()=>j,aq:()=>E,dp:()=>A,e6:()=>T,eC:()=>k,jz:()=>$,qf:()=>O,wB:()=>N});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function o(e){if(null==e)return e;let t=new Date(e);return isNaN(t.getTime())?(s().error("Accessor#set",`Invalid date value: '${e}', falling back to current date`),new Date):t}function a(e){return null==e?e:!!e}function l(e){return null==e?e:e.toString()}function u(e,t=0){return null==e?e:(e=parseFloat(e),isNaN(e)?t:e)}function c(e){return null==e?e:Math.round(parseFloat(e))}function h(e){return null}function f(e,t){return r=>{let i=e(r);return null!=t.step&&(i=Math.round(i/t.step)*t.step),null!=t.min&&(i=Math.max(t.min,i)),null!=t.max&&(i=Math.min(t.max,i)),i}}function d(e){return e?.constructor&&void 0!==e.constructor.__accessorMetadata__}function p(e,t){return null!=t&&e&&!(t instanceof e)}function y(e){return e&&"isCollection"in e}function g(e){return e?.Type?"function"==typeof e.Type?e.Type:e.Type.base:null}function _(e,t){return!!d(t)&&(s().error("Accessor#set","Assigning an instance of '"+(t.declaredClass||"unknown")+"' which is not a subclass of '"+m(e)+"'"),!0)}function v(e,t){return null==t?t:y(e)?function(e,t){if(!t?.constructor||!y(t.constructor))return _(e,t)?t:new e(t);let r=g(e.prototype.itemType),i=g(t.constructor.prototype.itemType);return r?i?r===i?t:r.prototype.isPrototypeOf(i.prototype)?new e(t):(_(e,t),t):new e(t):t}(e,t):p(e,t)?_(e,t)?t:new e(t):t}function m(e){return e?.prototype?.declaredClass||"unknown"}const w=new WeakMap;function b(e){switch(e){case Number:return e=>u(e);case $:return c;case Boolean:return a;case String:return l;case Date:return o;case M:return h;default:return(0,n.tE)(w,e,()=>v.bind(null,e))}}function A(e,t){let r=b(e);return 1===arguments.length?r:r(t)}function O(e){let t=b(e);return e=>t(e)}function N(e,t,r){return 1===arguments.length?N.bind(null,e):t&&(Array.isArray(t)?t.map(t=>e(t,r)):[e(t,r)])}function k(e,t){return 1===arguments.length?N(t=>A(e,t)):N(t=>A(e,t),t)}function S(e,t,r){return 0!==t&&Array.isArray(r)?r.map(r=>S(e,t-1,r)):e(r)}function j(e,t,r){if(2===arguments.length)return r=>j(e,t,r);if(!r)return r;r=S(e,t,r);let i=t,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let e=0;e<i;e++)r=[r];return r}function T(e,t,r){return 2===arguments.length?j(t=>A(e,t),t):j(t=>A(e,t),t,r)}function C(e){return!!Array.isArray(e)&&!e.some(t=>{let r=typeof t;return!("string"===r||"number"===r||"function"===r&&e.length>1)})}function D(e,t){if(2===arguments.length)return D(e).call(null,t);let r=new Set,i=e.filter(e=>"function"!=typeof e),n=e.filter(e=>"function"==typeof e);for(let t of e)("string"==typeof t||"number"==typeof t)&&r.add(t);let o=null,a=null;return(e,t)=>{if(null==e)return e;let l=typeof e,u="string"===l||"number"===l;return u&&(r.has(e)||n.some(e=>"string"===l&&e===String||"number"===l&&e===Number))||"object"===l&&n.some(t=>!p(t,e))?e:(u&&i.length?(o||=i.map(e=>"string"==typeof e?`'${e}'`:`${e}`).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, only the following values are valid: ${o}`)):"object"==typeof e&&n.length?(a||=n.map(e=>m(e)).join(", "),s().error("Accessor#set",`'${e}' is not a valid value for this property, value must be one of ${a}`)):s().error("Accessor#set",`'${e}' is not a valid value for this property`),t&&(t.valid=!1),null)}}function E(e,t){if(2===arguments.length)return E(e).call(null,t);let r={},i=[],n=[];for(let t in e.typeMap){let s=e.typeMap[t];r[t]=A(s),i.push(m(s)),n.push(t)}let o=()=>`'${i.join("', '")}'`,a=()=>`'${n.join("', '")}'`,l="string"==typeof e.key?t=>t[e.key]:e.key;return t=>{if(e.base&&!p(e.base,t)||null==t)return t;let i=l(t)||e.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${o()}, or a plain object that can autocast (having .type = ${a()})`),null;if(!p(e.typeMap[i],t))return t;if("string"==typeof e.key&&!d(t)){let r={};for(let i in t)i!==e.key&&(r[i]=t[i]);return n(r)}return n(t)}}class ${}class M{}function I(e){if(!e||"object"!=typeof e&&"function"!=typeof e||!("type"in e))return!1;switch(e.type){case"native":case"array":case"one-of":return!0}return!1}function z(e){switch(e.type){case"native":return A(e.value);case"array":return N(z(e.value));case"one-of":return function(e){let t=null;return(r,i)=>q(r,e)?r:(t??=P(e),s().error("Accessor#set",`Invalid property value, value needs to be of type ${t}`),i&&(i.valid=!1),null)}(e);default:return null}}function P(e){switch(e.type){case"native":switch(e.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case $:return"integer";case Date:return"date";case M:return"null";default:return m(e.value)}case"array":return`array of ${P(e.value)}`;case"one-of":{let t=e.values.map(e=>P(e));return`one of ${t.slice(0,-1)} or ${t[t.length-1]}`}}return"unknown"}function q(e,t){if(null==e)return!0;switch(t.type){case"native":switch(t.value){case Number:case $:return"number"==typeof e;case Boolean:return"boolean"==typeof e;case String:return"string"==typeof e;case M:return null===e}return e instanceof t.value;case"array":return!!Array.isArray(e)&&!e.some(e=>!q(e,t.value));case"one-of":return t.values.some(t=>q(e,t))}}r.d(t,["gK",0,{native:e=>({type:"native",value:e}),array:e=>({type:"array",value:e}),oneOf:e=>({type:"one-of",values:e})}])},90360(e,t,r){r.d(t,{C:()=>h,v:()=>c});var i=r(53966),n=r(93637),s=r(96156),o=r(15903),a=r(7142),l=r(59923);const u=()=>i.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.reader");function c(e,t,r){e&&(!r&&!t.read||t.read?.reader||!1===t.read?.enabled||function(e){return"types"in e?_(e.types):g(e.type)}(e)&&(0,n.sM)("read.reader",h(e),t))}function h(e){let t=e.ndimArray??0;if(t>1)return function(e){let t=f(e),r=d.bind(null,t),i=e.ndimArray??0;return(e,t,n)=>{if(null==e)return e;e=r(e,n,i);let s=i,o=e;for(;s>0&&Array.isArray(o);)s--,o=o[0];if(void 0!==o)for(let t=0;t<s;t++)e=[e];return e}}(e);if(1===t)return p(e);if("type"in e&&y(e.type)){let t=e.type.prototype?.itemType?.Type,r=p("function"==typeof t?{type:t}:{types:t});return(t,i,n)=>{let s=r(t,i,n);return s&&new e.type(s)}}return f(e)}function f(e){return"type"in e?function(e){return e.prototype.read?(t,r,i)=>{if(null==t)return t;let n=typeof t;if("object"!==n)return void u().error(`Expected JSON value of type 'object' to deserialize type '${e.prototype.declaredClass}', but got '${n}'`);let s=new e;return s.read(t,i),s}:e.fromJSON}(e.type):function(e){let t=null,r=e.errorContext??"type",i=e.validate;return(n,o,c)=>{if(null==n)return n;let h=typeof n;if("object"!==h)return void u().error(`Expected JSON value of type 'object' to deserialize, but got '${h}'`);t||=function(e){let t={};for(let r in e.typeMap){let i=e.typeMap[r],n=(0,s.tD)(i.prototype);if("function"==typeof e.key)continue;let o=n[e.key];if(!o)continue;if(o.json?.type&&Array.isArray(o.json.type)&&1===o.json.type.length&&"string"==typeof o.json.type[0]){t[o.json.type[0]]=i;continue}let a=o.json?.write;if(!a?.writer){t[r]=i;continue}let l=a.target,u="string"==typeof l?l:e.key,c={};a.writer(r,c,u),c[u]&&(t[c[u]]=i)}return t}(e);let f=e.key;if("string"!=typeof f)return;let d=n[function(e,t,r){let i=Object.values(t)[0],n=(0,s.tD)(i.prototype)[e],o=(0,a.N5)(n,r)?.read?.source;return o&&"string"==typeof o?o:e}(f,t,c)],p=d?t[d]:e.defaultKeyValue?e.typeMap[e.defaultKeyValue]:void 0;if(!p){let e=`Type '${d||"unknown"}' is not supported`;return c?.messages&&n&&(0,l.Yc)(c,"warning",r,e,{definition:n,context:c}),void u().error(e)}let y=new p;return y.read(n,c),i?i(y):y}}(e.types)}function d(e,t,r,i){return 0!==i&&Array.isArray(t)?t.map(t=>d(e,t,r,i-1)):e(t,void 0,r)}function p(e){let t=f(e);return(e,r,i)=>{if(null==e)return e;if(Array.isArray(e)){let r=[];for(let n of e){let e=t(n,void 0,i);void 0!==e&&r.push(e)}return r}let n=t(e,void 0,i);return void 0===n?void 0:[n]}}function y(e){if(!(0,o.P)(e))return!1;let t=e.prototype.itemType;return!(!t||!t.Type)&&("function"==typeof t.Type?g(t.Type):_(t.Type))}function g(e){return!Array.isArray(e)&&!!e&&("object"==typeof e||"function"==typeof e)&&e.prototype&&("read"in e.prototype||"fromJSON"in e||y(e))}function _(e){for(let t in e.typeMap)if(!g(e.typeMap[t]))return!1;return!0}},15903(e,t,r){function i(e){return!!e&&e.prototype?.declaredClass&&0===e.prototype.declaredClass.indexOf("esri.core.Collection")}r.d(t,{P:()=>i})},7142(e,t,r){function i(e,t){return o(e,"any",t?.origin)}function n(e,t){return o(e,"read",t?.origin)}function s(e,t){return o(e,"write",t?.origin)}function o(e,t,r){let i=e?.json;if(i?.origins&&r){let e;e="link-chart"===r?i.origins[r]&&("any"===t||t in i.origins[r])?i.origins[r]:i.origins["web-map"]:i.origins[r],e&&("any"===t||t in e)&&(i=e)}return i}r.d(t,{N5:()=>n,k4:()=>s,xF:()=>i})},67124(e,t,r){r.d(t,{B:()=>h,v:()=>a});var i=r(53966),n=r(93637),s=r(15903),o=r(59923);function a(e,t){if(!t.write||t.write.writer||!1===t.write.enabled&&!t.write.overridePolicy)return;let r=e?.ndimArray??0;e&&(1===r||"type"in e&&(0,s.P)(e.type))?t.write.writer=f:r>1?t.write.writer=function(e){return(t,r,i,s)=>{let o;if(null===t)o=null;else{o=d(t,s,e);let r=e,i=o;for(;r>0&&Array.isArray(i);)r--,i=i[0];if(void 0!==i)for(let e=0;e<r;e++)o=[o]}(0,n.sM)(i,o,r)}}(r):t.types?Array.isArray(t.types)?t.write.writer=function(e){return(t,r,i,n)=>u(t&&Array.isArray(t)?t.filter(t=>l(t,e,n)):t,r,i,n)}(t.types[0]):t.write.writer=function(e){return(t,r,i,n)=>{if(!t||l(t,e,n))return u(t,r,i,n)}}(t.types):t.write.writer=u}function l(e,t,r){for(let r in t.typeMap)if(e instanceof t.typeMap[r])return!0;if(r?.messages){let n=t.errorContext??"type",s=`Values of type '${("function"==typeof t.key?e.declaredClass:e[t.key])??"Unknown"}' cannot be written`;r&&r.messages&&e&&(0,o.Yc)(r,"error",n,s,{definition:e,context:r}),i.A.getLogger("esri.core.accessorSupport.extensions.serializableProperty.writer").error(s)}return!1}function u(e,t,r,i){(0,n.sM)(r,c(e,i),t)}function c(e,t){return e&&"function"==typeof e.write?e.write({},t):e&&"function"==typeof e.toJSON?e.toJSON():"number"==typeof e?h(e):e}function h(e){return e===-1/0?-Number.MAX_VALUE:e===1/0?Number.MAX_VALUE:isNaN(e)?null:e}function f(e,t,r,i){let s;null===e?s=null:e&&"function"==typeof e.map?(s=e.map(e=>c(e,i)),"function"==typeof s.toArray&&(s=s.toArray())):s=[c(e,i)],(0,n.sM)(r,s,t)}function d(e,t,r){return 0!==r&&Array.isArray(e)?e.map(e=>d(e,t,r-1)):c(e,t)}},16649(e,t,r){r.d(t,{Jt:()=>a,RP:()=>o,t2:()=>l});var i=r(88620);function n(e,t){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let n=(0,i.oY)(t);return(0,i.yh)(n,r)?n.get(r):t[r]}function s(e,t,r){if(null==e)return e;let i=n(t[r],e);return!i&&r<t.length-1?void 0:r===t.length-1?i:s(i,t,r+1)}function o(e,t,r=0){return"string"!=typeof t||t.includes(".")?s(e,(0,i.AH)(t),r):n(t,e)}function a(e,t){return o(e,t)}function l(e,t){return void 0!==o(t,e)}},96156(e,t,r){r.d(t,{CX:()=>a,tD:()=>s,z4:()=>o});var i=r(4718),n=r(88620);function s(e){let t=e.constructor.__accessorMetadata__,r=Object.prototype.hasOwnProperty.call(e.constructor,"__accessorMetadata__");if(t){if(!r){t=Object.create(t);for(let e in t)t[e]=(0,i.o8)(t[e]);Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0})}}else t={},Object.defineProperty(e.constructor,"__accessorMetadata__",{value:t,enumerable:!1,configurable:!0,writable:!0});return e.constructor.__accessorMetadata__}function o(e,t){let r=s(e),i=r[t];return i||=r[t]={},i}function a(e,t){return(0,n.h1)(e,t,u)}const l=/^(?:[^.]+\.)?(?:value|type|(?:json\.type|json\.origins\.[^.]\.type))$/;function u(e){return l.test(e)?"replace":"merge"}},45917(e,t,r){r.d(t,{L:()=>c,t:()=>h});var i=r(16649),n=r(88620),s=r(7142);function o(e,t,r){if(!e?.read||!1===e.read.enabled||!e.read.source)return!1;let n=e.read.source;if("string"==typeof n){if(n===t||n.includes(".")&&n.startsWith(t)&&(0,i.t2)(n,r))return!0}else for(let e of n)if(e===t||e.includes(".")&&e.startsWith(t)&&(0,i.t2)(e,r))return!0;return!1}function a(e,t,r,i,n){let a=(0,s.N5)(t[r],n);(function(e){return e&&(!e.read||!1!==e.read.enabled&&!e.read.source)})(a)&&(e[r]=!0);for(let l of Object.getOwnPropertyNames(t))a=(0,s.N5)(t[l],n),o(a,r,i)&&(e[l]=!0)}function l(e,t,r,i){let n=r.metadata,o=(0,s.xF)(n[t],i)?.default;if(void 0===o)return;let a="function"==typeof o?o.call(e,t,i):o;void 0!==a&&r.set(t,a)}const u={origin:"service"};function c(e,t,r=u){if(!t||"object"!=typeof t)return;let o=(0,n.oY)(e),c=o.metadata,h={};for(let e of Object.getOwnPropertyNames(t))a(h,c,e,t,r);o.setDefaultOrigin(r.origin);for(let n of Object.getOwnPropertyNames(h)){let a,l=(0,s.N5)(c[n],r).read,u=l?.source;a=u&&"string"==typeof u?(0,i.RP)(t,u):t[n],l?.reader&&(a=l.reader.call(e,a,t,r)),void 0!==a&&o.set(n,a)}if(!r||!r.ignoreDefaults){o.setDefaultOrigin("defaults");for(let t of Object.getOwnPropertyNames(c))h[t]||l(e,t,o,r)}o.setDefaultOrigin("user")}function h(e,t,r,i=u){let n={...i,messages:[]};r(n),n.messages?.forEach(t=>{"warning"!==t.type||e.loaded?i?.messages&&i.messages.push(t):e.loadWarnings.push(t)})}},47821(e,t,r){r.d(t,{h:()=>o});var i=r(49186),n=r(44208),s=(r(53966),r(16649));function o(e,t,r){if(e&&t)if("object"==typeof t)for(let r of Object.getOwnPropertyNames(t))o(e,r,t[r]);else{if(t.includes(".")){let i=t.split("."),n=i.splice(-1,1)[0];return void o((0,s.Jt)(e,i),n,r)}let a=e.__accessor__;null!=a&&function(e,t){if((0,n.A)("esri-unknown-property-errors")&&!function(e,t){return null!=t.metadata[e]}(e,t))throw new i.A("set:unknown-property",function(e,t){return"setting unknown property '"+e+"' on instance of "+t.host.declaredClass}(e,t))}(t,a),e[t]=r}}},62788(e,t,r){r.d(t,{F_:()=>d,Xr:()=>v,a:()=>f,fE:()=>g,gc:()=>u}),r(44208);var i=r(53966),n=r(88620),s=r(47328);const o=new(r(67867).R),a=[];let l=o;function u(e){l.onAccessed(e)}let c=!1,h=!1;function f(e,t,r){if(c)return p(e,t,r);let n;if(h){l=e,a.push(e);try{n=t.call(r)}catch(e){throw i.A.getLogger("esri.core.accessorSupport.tracking").error(e),e}finally{y()}}else{l=e,a.push(e);try{n=t.call(r)}finally{y()}}return n}function d(e,t){return f(o,e,t)}function p(e,t,r){let n,s=c;c=!0,l=e,a.push(e);try{n=t.call(r)}catch(e){h&&i.A.getLogger("esri.core.accessorSupport.tracking").error(e)}return y(),c=s,n}function y(){let e=a.length;if(e>1){let t=a.pop();l=a[e-2],t.onTrackingEnd()}else if(1===e){let e=a.pop();l=o,e.onTrackingEnd()}else l=o}function g(e,t){if(t.flags&s.i.DepTrackingInitialized)return;t.flags|=s.i.DepTrackingInitialized;let r=h;h=!1,t.flags&s.i.AutoTracked?p(t.trackingTarget,t.metadata.get,e):v(e,t),h=r}const _=[];function v(e,t){t.flags&s.i.ExplicitlyTracking||(t.flags|=s.i.ExplicitlyTracking,p(t.trackingTarget,()=>{let r=t.metadata.dependsOn||_;for(let t of r)if("string"!=typeof t||t.includes(".")){let r=(0,n.AH)(t);for(let t=0,i=e;t<r.length&&"object"==typeof i&&i;++t)i=m(i,r[t],t!==r.length-1)}else m(e,t,!1)}),t.flags&=~s.i.ExplicitlyTracking)}function m(e,t,r){let i=t.endsWith("?")?t.slice(0,-1):t;if(null!=e.getItemAt||Array.isArray(e)){let t=parseInt(i,10);if(!isNaN(t))return Array.isArray(e)?e[t]:e.at(t)}let s=(0,n.oY)(e);if(s){let t=s.propertiesByName.get(i);t&&(u(t),g(e,t))}return r?e[i]:void 0}},47328(e,t,r){r.d(t,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},71429(e,t,r){r.d(t,{r:()=>n});var i=r(67867);class n extends i.R{constructor(e){super(new s(e)),this._observer&&o.register(this,new WeakRef(this._observer),this)}destroy(){this._observer&&o.unregister(this._observer),this.accessed?.clear(),this.clear(),this._observer?.destroy()}}class s{constructor(e){this._notify=e,this._invalidCount=0,this.destroyed=!1}onInvalidated(){this._invalidCount++}onCommitted(){if(this.destroyed)return;let e=this._invalidCount;1===e?(this._invalidCount=0,this._notify()):this._invalidCount=e>0?e-1:0}destroy(){this.destroyed=!0,this._notify=a}}const o=new FinalizationRegistry(e=>{e.deref()?.destroy()});function a(){}},67867(e,t,r){r.d(t,{R:()=>i});class i{constructor(e){this.accessed=void 0,this._handles=void 0,this._observer=e}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(e){null!=this._observer&&e!==this._observer&&(this.accessed??=new Set,this.accessed.add(e))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(this._handles??=[],this.accessed.forEach(e=>{this._handles.push(e.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},80559(e,t,r){r.d(t,{Df:()=>u,fm:()=>c,mJ:()=>l});var i=r(36563),n=r(62788),s=r(71429);let o=!1;const a=[];function l(e,t){let r=new s.r(function i(){if(!r||l)return;if(o)return void h(i);let s=a;r.clear(),o=!0,l=!0,a=(0,n.a)(r,e),l=!1,o=!1,t(a,s),f()}),a=null,l=!1;return l=!0,a=(0,n.a)(r,e),l=!1,(0,i.hA)(function(){r&&(r.destroy(),r=null,a=null)})}function u(e,t){let r=new s.r(function(){t(o,a)}),o=null;function a(){return r?(r.clear(),o=(0,n.a)(r,e),o):null}return a(),(0,i.hA)(function(){r&&=(r.destroy(),null),o=null})}function c(e,t){let r=!1,a=!1,l=!!t?.sync,u=new s.r(()=>{!r&&!a&&(a=!0,l?c():queueMicrotask(c))});function c(){a=!1,u&&!r&&(o?h(c):(u.clear(),o=!0,r=!0,(0,n.a)(u,e),r=!1,o=!1,f()))}return r=!0,(0,n.a)(u,e),r=!1,(0,i.hA)(function(){u&&=(u.destroy(),null)})}function h(e){a.includes(e)||a.unshift(e)}function f(){for(;a.length;)a.pop()()}},88620(e,t,r){r.d(t,{AH:()=>u,h1:()=>a,oY:()=>s,qg:()=>h,yh:()=>o});var i=r(36563),n=r(4718);function s(e){return e.__accessor__??null}function o(e,t){return null!=e?.metadata?.[t]}function a(e,t,r){return l(e,t,r?{policy:r,path:""}:null)}function l(e,t,r){return t?Object.keys(t).reduce((e,i)=>{let s=i;if("__proto__"===s)return e;let o=null,a="merge";if(r&&(o=r.path?`${r.path}.${i}`:i,a=r.policy(o)),"replace"===a||"replace-arrays"===a&&Array.isArray(e[s]))return e[s]=t[s],e;if(void 0===e[s])return e[s]=(0,n.o8)(t[s]),e;let u=e[s],c=t[s];if(u===c)return e;if(Array.isArray(c)||Array.isArray(e))u=e[s]=u?Array.isArray(u)?u.slice():[u]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(e=>{u.includes(e)||u.push(e)}));else if(c&&"object"==typeof c)if(r){let t=r.path;r.path=o,e[s]=l(u,c,r),r.path=t}else e[s]=l(u,c,null);else(!e.hasOwnProperty(i)||t.hasOwnProperty(i))&&(e[s]=c);return e},e||{}):e}function u(e){return Array.isArray(e)?e:e.split(".")}function c(e){return e.includes(",")?e.split(",").map(e=>e.trim()):[e.trim()]}function h(e,t,r,n){let s=function(e){if(Array.isArray(e)){let t=[];for(let r of e)t.push(...c(r));return t}return c(e)}(t);if(1!==s.length){let t=s.map(t=>n(e,t,r));return(0,i.vE)(t)}return n(e,s[0],r)}},14012(e,t,r){r.d(t,{iS:()=>w,wB:()=>N,Cn:()=>k});var i=r(98291),n=r(36563),s=r(4718),o=r(93687);class a extends o.A{constructor(){super(...arguments),this._set=new Set}destroy(){super.destroy(),this._set=null}acquire(...e){let t=super.acquire(...e);return this._set.delete(t),t}release(e){e&&!this._set.has(e)&&(super.release(e),this._set.add(e))}_dispose(e){this._set.delete(e),super._dispose(e)}}var l=r(76030),u=r(24326),c=r(16649),h=r(85537),f=r(80559),d=r(88620);class p{constructor(){this.uid=(0,u.c)(),this.removed=!1,this.type=null,this.oldValue=null,this.callback=null,this.getValue=null,this.target=null,this.path=null,this.equals=null}static{this.pool=new a(()=>new p)}static acquireUntracked(e,t,r,i,n){return this.pool.acquire(0,e,t,r,i,n,s.aI)}static acquireTracked(e,t,r,i){return this.pool.acquire(1,e,t,r,null,null,i)}notify(e,t){0===this.type?this.callback.call(this.target,e,t,this.path,this.target):this.callback.call(null,e,t,void 0,void 0)}acquire(e,t,r,i,n,s,o){this.uid=(0,u.c)(),this.removed=!1,this.type=e,this.oldValue=t,this.callback=r,this.getValue=i,this.target=n,this.path=s,this.equals=o}release(){this.target=this.path=this.oldValue=this.callback=this.getValue=null,this.uid=(0,u.c)(),this.removed=!0}}const y=new i.A,g=new Set;let _;function v(e){g.delete(e),g.add(e),_||=(0,l._)(b)}function m(e){if(e.removed)return;let t=e.oldValue,r=e.getValue();e.equals(t,r)||(e.oldValue=r,e.notify(r,t))}function w(e){for(let t of g.values())t.target===e&&(t.removed=!0)}function b(){let e=10;for(;_&&e--;){_=null;let e=A(),t=y.acquire();for(let r of e){let e=r.uid;m(r),e===r.uid&&r.removed&&t.push(r)}for(let e of g)e.removed&&(t.push(e),g.delete(e));for(let e of t)p.pool.release(e);y.release(t),y.release(e),O.forEach(e=>e())}}function A(){let e=y.acquire();e.length=g.size;let t=0;for(let r of g)e[t]=r,++t;return g.clear(),e}const O=new Set;function N(e,t,r,i=!1){return e.__accessor__&&e.__accessor__.lifecycle!==h.v.DESTROYED?i?function(e,t,r){let i=(0,d.qg)(e,t,r,(e,t,r)=>{let n=!1;return(0,f.mJ)(()=>(0,c.RP)(e,t),(o,a)=>{e.__accessor__.lifecycle===h.v.DESTROYED?i.remove():n||=(n=!0,(0,s.aI)(a,o)||r.call(e,o,a,t,e),!1)})});return i}(e,t,r):function(e,t,r){let i=(0,d.qg)(e,t,r,(e,t,r)=>{let s,o,a=(0,f.Df)(()=>(0,c.RP)(e,t),(n,a)=>{e.__accessor__?.lifecycle===h.v.DESTROYED||s&&s.uid!==o?i.remove():(s||(s=p.acquireUntracked(n,r,a,e,t),o=s.uid),v(s))});return(0,n.hA)(()=>{a.remove(),s&&=(s.uid===o&&!s.removed&&(s.removed=!0,v(s)),null),i=a=null})});return i}(e,t,r):(0,n.hA)()}function k(e,t,r=!1,i=s.gh){return r?function(e,t,r){let i=!1;return(0,f.mJ)(e,(e,n)=>{i||=(i=!0,r(n,e)||t(e,n),!1)})}(e,t,i):function(e,t,r){let i,s,o=(0,f.Df)(e,(e,n)=>{i&&i.uid!==s?o.remove():(i||(i=p.acquireTracked(e,t,n,r),s=i.uid),v(i))});return(0,n.hA)(()=>{o.remove(),i&&=(i.uid===s&&!i.removed&&(i.removed=!0,v(i)),null),o=null})}(e,t,i)}},49422(e,t,r){r.d(t,{M:()=>d,R:()=>f});var i=r(4576),n=r(49186),s=r(53966),o=r(16649),a=r(35666),l=r(88620),u=r(7142);function c(e,t,r,i,n){let s={};return t.write?.writer?.call(e,i,s,r,n),s}function h(e,t,r,l,u,c){if(!l?.write)return!1;let h=(0,o.Jt)(e,r);if(!u&&l.write.overridePolicy){let t=l.write.overridePolicy.call(e,h,r,c??void 0);void 0!==t&&(u=t)}if(u||=l.write,!u||!1===u.enabled||u.layerContainerTypes&&c?.layerContainerType&&!u.layerContainerTypes.includes(c.layerContainerType))return!1;if((null===h&&!u.allowNull&&!u.writerEnsuresNonNull||void 0===h)&&u.isRequired){let t=new n.A("web-document-write:property-required",`Missing value for required property '${r}' on '${e.declaredClass}'`,{propertyName:r,target:e});return t&&c?.messages?c.messages.push(t):t&&!c&&s.A.getLogger("esri.core.accessorSupport.write").error(t.name,t.message),!1}return!(void 0===h||null===h&&!u.allowNull&&!u.writerEnsuresNonNull||!u.alwaysWriteDefaults&&(!t.store.multipleOriginsSupported||0===t.store.originOf(r))&&function(e,t,r,n,s){let o=n.default;if(void 0===o)return!1;if(null!=n.defaultEquals)return n.defaultEquals(s);if("function"==typeof o){if(Array.isArray(s)){let n=o.call(e,t,r??void 0);return(0,i.aI)(n,s)}return!1}return o===s}(e,r,c,l,h)||!u.ignoreOrigin&&c?.origin&&t.store.multipleOriginsSupported&&t.store.originOf(r)<(0,a.aB)(c.origin))}function f(e,t,r,i){let n=(0,l.oY)(e),s=n.metadata,o=(0,u.k4)(s[t],i);return!!o&&h(e,n,t,o,r,i)}function d(e,t,r){if(e&&"function"==typeof e.toJSON&&(!e.toJSON.isDefaultToJSON||!e.write))return(0,l.h1)(t,e.toJSON(r));let i=(0,l.oY)(e),n=i.metadata;for(let s in n){let f=(0,u.k4)(n[s],r);if(!h(e,i,s,f,void 0,r))continue;let d=(0,o.Jt)(e,s),p=c(e,f,f.write&&"string"==typeof f.write.target?f.write.target:s,d,r);Object.keys(p).length>0&&(t=(0,l.h1)(t,p),r?.resources?.pendingOperations?.length&&r.resources.pendingOperations.push(Promise.all(r.resources.pendingOperations).then(()=>(0,l.h1)(t,p,()=>"replace-arrays"))),r?.writtenProperties&&r.writtenProperties.push({target:e,propName:s,oldOrigin:(0,a.in)(i.store.originOf(s)),newOrigin:r.origin}))}return t}},5479(e,t,r){function i(e){let t=[];return function*(){yield*t;let r,i=t.length;for(;!(r=e.next()).done;)for(t.push(r.value),yield r.value;++i<t.length;)yield t[i]}}r.d(t,{I6:()=>o,N5:()=>s,PP:()=>i,xZ:()=>l,zN:()=>a});const n=Object.freeze({done:!0,value:void 0});function s(e){let t=[],r=null,i=null,s=!1;async function o(){if(s)return n;if(null!=i)return i;i=e.next();try{let e=await i;return i=null,e.done?(s=!0,n):(t.push(e.value),e)}catch(e){throw s=!0,i=null,r=e,e}}return async function*(){yield*t;let e,i=t.length;for(;!(e=await o()).done;)for(yield e.value;++i<t.length;)yield t[i];if(null!=r)throw r}}function o(e,t){for(let r of e)if(null!=r&&t(r))return r}function a(e,t){for(let r of e)if(t(r))return!0;return!1}function l(e){return null!=e&&"function"==typeof e[Symbol.iterator]}},66552(e,t,r){r.d(t,{J:()=>n,O:()=>o});var i=r(93637);class n{constructor(e,t={ignoreUnknown:!1,useNumericKeys:!1}){this._jsonToAPI=e,this._options=t,this.apiValues=[],this.jsonValues=[],this._apiToJSON=function(e){let t={};for(let r in e)t[e[r]]=r;return t}(e),this.apiValues=s(this._apiToJSON),this.jsonValues=s(this._jsonToAPI),this.read=e=>this.fromJSON(e),this.write=(e,t,r)=>{let n=this.toJSON(e);void 0!==n&&(0,i.sM)(r,n,t)},this.write.isJSONMapWriter=!0}toJSON(e){if(null==e)return null;if(this._apiToJSON.hasOwnProperty(e)){let t=this._apiToJSON[e];return this._options.useNumericKeys?+t:t}return this._options.ignoreUnknown?null:e}fromJSON(e){return null!=e&&this._jsonToAPI.hasOwnProperty(e)?this._jsonToAPI[e]:this._options.ignoreUnknown?void 0:e}}function s(e){let t=[];for(let r in e)t.push(r);return t.sort(),t}function o(){return function(e,t){return new n(e,{ignoreUnknown:!0,...t})}}},26390(e,t,r){r.d(t,{d:()=>n});const i=[];function n(e){i.push(e),1===i.length&&queueMicrotask(()=>{let e=i.slice();i.length=0;for(let t of e)t()})}},76030(e,t,r){r.d(t,{_:()=>g,$m:()=>O,md:()=>A});var i=r(26390);function n(e,t,r,i,n){console.timeStamp(e,t,r,n,i)}class s{constructor(e,t=30){this.name=e,this._counter=0,this._samples=Array(t)}push(e){null!=e&&(this._samples[++this._counter%this._samples.length]=e)}set(e){null!=e&&(this._samples[this._counter%this._samples.length]=e)}get median(){return this._samples.slice().sort((e,t)=>e-t)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((e,t)=>e+t,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var o=r(15142),a=r(17676),l=r(78659);class u{constructor(e){this.callback=e,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const h={time:(0,l.l5)(0),deltaTime:(0,l.l5)(0),elapsedFrameTime:(0,l.l5)(0),frameDuration:(0,l.l5)(0)},f=["prepare","preRender","render","postRender","update","finish"],d=[],p=new o.A,y={frameTasks:p,willDispatch:!1,clearFrameTasks:function(e=!1){p.forAll(e=>{e.removed=!0}),e&&w()},dispatch:b,executeFrameTasks:function(e){let t=(0,l.l5)(e-c);c=e;let r=1e3/60,i=Math.max(0,t-r);h.time=e,h.frameDuration=(0,l.l5)(r-i);for(let r=0;r<f.length;r++){let i=performance.now(),s=f[r];p.forAll(i=>{i.paused||i.removed||(0===r&&i.ticks++,!i.phases[s])||(h.elapsedFrameTime=(0,l.l5)(performance.now()-e),h.deltaTime=0===i.ticks?(0,l.l5)(0):t,i.phases[s]?.call(i,h))});let o=performance.now();N[r].push(o-i),n(s,i,o,"Maps SDK","Scheduling")}w();let s=performance.now();k.push(s-e),n("Animation Frame",e,s,"Maps SDK","Scheduling")},reschedule:function(){null!=_&&(cancelAnimationFrame(_),_=requestAnimationFrame(v))}};function g(e){let t=new u(e);return d.push(t),y.willDispatch||(y.willDispatch=!0,(0,i.d)(b)),t}let _=null;function v(){let e=performance.now();_=null,_=p.some(e=>!e.paused&&!e.removed)?requestAnimationFrame(v):null,y.executeFrameTasks(e)}const m=new o.A;function w(){p.forAll(e=>{e.removed&&m.push(e)}),p.removeUnorderedMany(m.data,m.length),m.clear()}function b(){for(;d.length;){let e=d.shift();e.isActive&&e.callback()}y.willDispatch=!1}function A(e=1,t){let r=Promise.withResolvers(),n=()=>{(0,a.G4)(t)?r.reject((0,a.NK)()):0===e?r.resolve():(--e,(0,i.d)(()=>n()))};return n(),r.promise}async function O(e){await function(e){return A(1,e)}(e),await new Promise(t=>requestAnimationFrame(()=>{e?.aborted||t()}))}const N=f.map(e=>new s(e)),k=new s("total")},78659(e,t,r){function i(e){return e}function n(e){return 1e3*e}function s(e){return e}r.d(t,{Kp:()=>s,gr:()=>n,l5:()=>i})},24326(e,t,r){r.d(t,{c:()=>n});let i=0;function n(){return++i}},59923(e,t,r){r.d(t,{GL:()=>h,U4:()=>a,Yc:()=>c,bA:()=>u,qt:()=>l});var i=r(49186),n=r(67076);const s=["layer","property","renderer","symbol","symbol-layer","url","visual-variable","type","elevation-profile-line","field-configuration-field-format","parquet-data"].map(e=>`${e}:unsupported`),o=new Set(s);function a(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("layer",`Layer (${t.title}, ${t.id}) of type '${t.declaredClass}' is not supported in the context of '${i}'${r?`: ${r}`:""}`,{layer:t}))}function l(e,t,r){if(!e)return;let i=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("property",`Property '${t}' is not supported in the context of '${i}'${r?`: ${r}`:""}`))}function u(e,t,r,i){if(!e)return;let n=`${e.origin}/${e.layerContainerType||"operational-layers"}`;e?.messages?.push(h("symbol",`Symbol '${t.declaredClass}' is not supported in the context of '${n}'${r?`: ${r}`:""}`,i))}function c(e,t,r,s,o){e&&e?.messages?.push(f("warning"===t?n.A:i.A,r,s,o))}function h(e,t,r){return f(i.A,e,t,r)}function f(e,t,r,i){return new e(`${t}:unsupported`,r,i)}r.d(t,["MG",0,o])}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[563],{15142(t,e,s){s.d(e,{A:()=>o});var r=s(4576),i=s(21818);const l=(t,e,s,r)=>{let i=e,l=e,h=s>>>1,n=t[i-1];for(;l<=h;){l=i<<1,l<s&&r(t[l-1],t[l])<0&&++l;let e=t[l-1];if(r(e,n)<=0)break;t[i-1]=e,i=l}t[i-1]=n},h=(t,e)=>t<e?-1:+(t>e);function n(t,e,s,r){void 0===e&&(e=0),void 0===s&&(s=t.length),void 0===r&&(r=h);for(let i=s>>>1;i>e;i--)l(t,i,s,r);let i=e+1;for(let h=s-1;h>e;h--){let s=t[e];t[e]=t[h],t[h]=s,l(t,i,h,r)}}function*a(t,e,s,r){void 0===e&&(e=0),void 0===s&&(s=t.length),void 0===r&&(r=h);for(let i=s>>>1;i>e;i--)l(t,i,s,r),yield;let i=e+1;for(let h=s-1;h>e;h--){let s=t[e];t[e]=t[h],t[h]=s,l(t,i,h,r),yield}}class o{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new r.vW,t&&(t.initialSize&&(this.data=Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>c(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){let e=[];for(let s=0;s<this._length;s++){let r=this.data[s];t(r)&&e.push(r)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){let s=this.data.indexOf(t,e);return-1!==s&&s<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let s=0;s<e;s++)this.data[this._length++]=t[s]}pushAll(t){for(let e of t)this.data[this._length++]=e}fill(t,e){for(let s=0;s<e;s++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,c(this)}pop(){if(0===this.length)return;let t=this.data[this.length-1];return--this.length,this._shrink(),t}remove(t){let e=(0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),--this.length,t}removeUnordered(t){return this.removeUnorderedIndex((0,r.qh)(this.data,(0,i.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,s){this.length=(0,r.mW)(this.data,t,this.length,e,this._hint,s),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;let s=this.data[t];this.data[t]=this.data[e],this.data[e]=s}sort(t){n(this.data,0,this.length,t)}iterableSort(t){return a(this.data,0,this.length,t)}some(t,e){for(let s=0;s<this.length;++s)if(t.call(e,this.data[s],s,this.data))return!0;return!1}find(t,e){let{data:s,length:r}=this;for(let i=0;i<r;++i)if(t.call(e,s[i]))return s[i]}filterInPlace(t,e){let s=0;for(let r=0;r<this._length;++r){let i=this.data[r];t.call(e,i,r,this.data)&&(this.data[r]=this.data[s],this.data[s]=i,s++)}if(this._deallocator)for(let t=s;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=s,this._shrink(),this}forAll(t,e){let{data:s,length:r}=this;for(let i=0;i<r;++i)t.call(e,s[i],i,s)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){let s=Array(this.length);for(let r=0;r<this.length;++r)s[r]=t.call(e,this.data[r],r,this.data);return s}reduce(t,e){let s=e;for(let e=0;e<this.length;++e)s=t(s,this.data[e],e,this.data);return s}has(t){let e=this.length,s=this.data;for(let r=0;r<e;++r)if(s[r]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;++t)yield this.data[t]}}function c(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},9775(t,e,s){s.d(e,{A:()=>l});var r=s(62788),i=s(95488);class l{constructor(t=t=>t.values().next().value){this._peeker=t,this._observable=new i.I,this._items=new Set}get length(){return(0,r.gc)(this._observable),this._items.size}clear(){0!==this.length&&(this._items.clear(),this._observable.notify())}last(){if(0===this.length)return;let t;for(t of this._items);return t}peek(){if(0!==this.length)return this._peeker(this._items)}push(t){this.contains(t)||(this._items.add(t),this._observable.notify())}contains(t){return(0,r.gc)(this._observable),this._items.has(t)}pop(){if(0===this.length)return;let t=this.peek();return this._items.delete(t),this._observable.notify(),t}popLast(){if(0===this.length)return;let t=this.last();return this._items.delete(t),this._observable.notify(),t}remove(t){this.contains(t)&&(this._items.delete(t),this._observable.notify())}filter(t){let e=this.length;return this._items.forEach(e=>{t(e)||this._items.delete(e)}),e!==this._items.size&&this._observable.notify(),this}*[Symbol.iterator](){(0,r.gc)(this._observable),yield*this._items}}},563(t,e,s){s.d(e,{QueueProcessor:()=>o,SharedConcurrency:()=>u});var r=s(97768),i=s(17676),l=s(9775),h=s(32587),n=s(76030),a=s(44794);class o{constructor(t){this._schedule=null,this._deferreds=new h.A,this._controllers=new h.A,this._processingItems=new h.A,this._pausedSignal=(0,a.v)(!1),this.process=t.process,this.concurrency=t.concurrency,this.sharedConcurrency=t.sharedConcurrency??d,this._queue=new l.A(t.peeker)}destroy(){this.clear(),this._schedule=(0,r.xt)(this._schedule)}get updating(){return this.running}get length(){return this._processingItems.size+this._queue.length}get running(){return!this._pausedSignal.value&&this._queue.length>0&&!this.full}get full(){return this._processingItems.size>=this.concurrency||this.sharedConcurrency.full}abort(t){this._controllers.get(t)?.abort()}clear(){this._queue.clear();let t=Array.from(this._controllers.values());this._controllers.clear(),t.forEach(t=>t.abort()),this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear(),this._cancelNext()}forEach(t){this._deferreds.forEach((e,s)=>t(s))}_get(t){return this._deferreds.get(t)?.promise}pause(){this._pausedSignal.value||(this._pausedSignal.value=!0,this._cancelNext())}push(t,e){let s=this._get(t);if(s)return s;let r=new AbortController,l=Promise.withResolvers(),h=e?(0,i.u7)(e,()=>r.abort()):null,n=(0,i.NY)(r.signal,()=>{let e=this._processingItems.get(t);e&&e.controller.abort(),a(),l.reject((0,i.NK)())}),a=()=>{n.remove(),h?.remove(),this._removeItem(t),this._queue.remove(t),this._scheduleNext()};return this._deferreds.set(t,l),this._controllers.set(t,r),l.promise.then(a,a),this._queue.push(t),this._scheduleNext(),l.promise}last(){return this._queue.last()}reset(){let t=Array.from(this._processingItems.values());this.sharedConcurrency.current.value-=this._processingItems.size,this._processingItems.clear();for(let e of t)this._queue.push(e.item),e.controller.abort();this._scheduleNext()}resume(){this._pausedSignal.value&&(this._pausedSignal.value=!1,this._scheduleNext())}takeAll(){let t=[];for(;this._queue.length;)t.push(this._queue.pop());return this.clear(),t}_removeItem(t){this._deferreds.delete(t),this._controllers.delete(t),this._processingItems.has(t)&&(this._processingItems.delete(t),--this.sharedConcurrency.current.value)}_scheduleNext(){this._pausedSignal.value||this._schedule||(this._schedule=(0,n._)(()=>{this._schedule=null,this._next()}))}_next(){for(;this._queue.length>0&&this._processingItems.size<this.concurrency&&!this.sharedConcurrency.full;)this._process(this._queue.pop())}_cancelNext(){this._schedule&&=(this._schedule.remove(),null)}_processResult(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).resolve(e))}_processError(t,e){this._canProcessFulfillment(t)&&(this._scheduleNext(),this._deferreds.get(t.item).reject(e))}_canProcessFulfillment(t){return!(!this._deferreds.get(t.item)||this._processingItems.get(t.item)!==t)}_process(t){if(null==t)return;let e,s=new AbortController,r=new c(t,s);this._processingItems.set(t,r),this.sharedConcurrency.current.value+=1;try{e=this.process(t,s.signal)}catch(t){this._processError(r,t)}(0,i.$X)(e)?(r.promise=e,e.then(t=>this._processResult(r,t),t=>this._processError(r,t))):this._processResult(r,e)}}class c{constructor(t,e){this.item=t,this.controller=e,this.promise=null}}class u{constructor(t){this.limit=t,this.current=(0,a.v)(0)}get full(){return this.current.value>=this.limit}}const d=new u(1/0)},32587(t,e,s){s.d(e,{A:()=>l});var r=s(62788),i=s(95488);class l{constructor(t){this._observable=new i.I,this._notifyPending=!1,this._batchDepth=0,this._map=new Map(t)}get size(){return(0,r.gc)(this._observable),this._map.size}batch(t){try{this._batchDepth++,t()}finally{this._batchDepth--,this._notifyPending&&0===this._batchDepth&&(this._notifyPending=!1,this._notify())}}clear(){this._map.size>0&&(this._map.clear(),this._notify())}delete(t){let e=this._map.delete(t);return e&&this._notify(),e}entries(){return(0,r.gc)(this._observable),this._map.entries()}forEach(t,e){(0,r.gc)(this._observable),this._map.forEach((s,r)=>t.call(e,s,r,this),e)}get(t){return(0,r.gc)(this._observable),this._map.get(t)}has(t){return(0,r.gc)(this._observable),this._map.has(t)}keys(){return(0,r.gc)(this._observable),this._map.keys()}set(t,e){return this._map.set(t,e),this._notify(),this}transformValues(t,e=this._map.keys()){this.batch(()=>{for(let s of e){if(!this._map.has(s))continue;let e=this._map.get(s),r=t(e,s);r!==e&&this.set(s,r)}})}values(){return(0,r.gc)(this._observable),this._map.values()}[Symbol.iterator](){return(0,r.gc)(this._observable),this._map[Symbol.iterator]()}[Symbol.dispose](){this._observable.destroy()}get[Symbol.toStringTag](){return this._map[Symbol.toStringTag]}_notify(){this._batchDepth>0?this._notifyPending=!0:this._observable.notify()}}},11406(t,e,s){s.d(e,{T:()=>l});var r=s(36563);class i{constructor(t,e){this._observers=t,this._observer=e}remove(){let{_observers:t,_observer:e}=this;if(t[t.length-1]===e)return void t.pop();let s=t.indexOf(this._observer);-1!==s&&t.splice(s,1)}}class l{constructor(){this._observers=null,this.destroyed=!1}observe(t){if(this.destroyed||t.destroyed)return h;this._observers??=[];let e=this._observers,s=!1,r=!1;for(let i of e)if(i.destroyed)r=!0;else if(i===t){s=!0;break}return s||(e.push(t),r&&this._removeDestroyedObservers()),new i(e,t)}_removeDestroyedObservers(){let t=this._observers;if(!t)return;let e=t.length;if(0===e)return;let s=0;for(let r=0;r<e;++r){for(;r+s<e&&t[r+s].destroyed;)++s;if(s>0){if(!(r+s<e))break;t[r]=t[r+s]}}t.length=e-s}destroy(){if(this.destroyed)return;this.destroyed=!0;let t=this._observers;if(null!=t){for(let e of t)e.onCommitted();this._observers=null}}}const h=(0,r.hA)()},62788(t,e,s){s.d(e,{F_:()=>_,Xr:()=>v,a:()=>d,fE:()=>p,gc:()=>o}),s(44208);var r=s(53966),i=s(88620),l=s(47328);const h=new(s(67867).R),n=[];let a=h;function o(t){a.onAccessed(t)}let c=!1,u=!1;function d(t,e,s){if(c)return f(t,e,s);let i;if(u){a=t,n.push(t);try{i=e.call(s)}catch(t){throw r.A.getLogger("esri.core.accessorSupport.tracking").error(t),t}finally{g()}}else{a=t,n.push(t);try{i=e.call(s)}finally{g()}}return i}function _(t,e){return d(h,t,e)}function f(t,e,s){let i,l=c;c=!0,a=t,n.push(t);try{i=e.call(s)}catch(t){u&&r.A.getLogger("esri.core.accessorSupport.tracking").error(t)}return g(),c=l,i}function g(){let t=n.length;if(t>1){let e=n.pop();a=n[t-2],e.onTrackingEnd()}else if(1===t){let t=n.pop();a=h,t.onTrackingEnd()}else a=h}function p(t,e){if(e.flags&l.i.DepTrackingInitialized)return;e.flags|=l.i.DepTrackingInitialized;let s=u;u=!1,e.flags&l.i.AutoTracked?f(e.trackingTarget,e.metadata.get,t):v(t,e),u=s}const m=[];function v(t,e){e.flags&l.i.ExplicitlyTracking||(e.flags|=l.i.ExplicitlyTracking,f(e.trackingTarget,()=>{let s=e.metadata.dependsOn||m;for(let e of s)if("string"!=typeof e||e.includes(".")){let s=(0,i.AH)(e);for(let e=0,r=t;e<s.length&&"object"==typeof r&&r;++e)r=y(r,s[e],e!==s.length-1)}else y(t,e,!1)}),e.flags&=~l.i.ExplicitlyTracking)}function y(t,e,s){let r=e.endsWith("?")?e.slice(0,-1):e;if(null!=t.getItemAt||Array.isArray(t)){let e=parseInt(r,10);if(!isNaN(e))return Array.isArray(t)?t[e]:t.at(e)}let l=(0,i.oY)(t);if(l){let e=l.propertiesByName.get(r);e&&(o(e),p(t,e))}return s?t[r]:void 0}},47328(t,e,s){s.d(e,["i",0,{Dirty:1,Overridden:2,Computing:4,NonNullable:8,HasDefaultValue:16,DepTrackingInitialized:32,AutoTracked:64,ExplicitlyTracking:128}])},95488(t,e,s){s.d(e,{I:()=>i});var r=s(11406);class i extends r.T{notify(){let t=this._observers;if(t&&t.length>0){let e=t.slice();for(let t of e)t.onInvalidated(),t.onCommitted()}}}},67867(t,e,s){s.d(e,{R:()=>r});class r{constructor(t){this.accessed=void 0,this._handles=void 0,this._observer=t}destroy(){this.clear(),this.accessed=void 0,this._observer=void 0}onAccessed(t){null!=this._observer&&t!==this._observer&&(this.accessed??=new Set,this.accessed.add(t))}onTrackingEnd(){null!=this._observer&&(this.clear(),null!=this.accessed&&(this._handles??=[],this.accessed.forEach(t=>{this._handles.push(t.observe(this._observer))}),this.accessed.clear()))}clear(){if(null!=this._handles)for(;this._handles.length;)this._handles.pop().remove()}}},88620(t,e,s){s.d(e,{AH:()=>o,h1:()=>n,oY:()=>l,qg:()=>u,yh:()=>h});var r=s(36563),i=s(4718);function l(t){return t.__accessor__??null}function h(t,e){return null!=t?.metadata?.[e]}function n(t,e,s){return a(t,e,s?{policy:s,path:""}:null)}function a(t,e,s){return e?Object.keys(e).reduce((t,r)=>{let l=r;if("__proto__"===l)return t;let h=null,n="merge";if(s&&(h=s.path?`${s.path}.${r}`:r,n=s.policy(h)),"replace"===n||"replace-arrays"===n&&Array.isArray(t[l]))return t[l]=e[l],t;if(void 0===t[l])return t[l]=(0,i.o8)(e[l]),t;let o=t[l],c=e[l];if(o===c)return t;if(Array.isArray(c)||Array.isArray(t))o=t[l]=o?Array.isArray(o)?o.slice():[o]:[],c&&(Array.isArray(c)||(c=[c]),c.forEach(t=>{o.includes(t)||o.push(t)}));else if(c&&"object"==typeof c)if(s){let e=s.path;s.path=h,t[l]=a(o,c,s),s.path=e}else t[l]=a(o,c,null);else(!t.hasOwnProperty(r)||e.hasOwnProperty(r))&&(t[l]=c);return t},t||{}):t}function o(t){return Array.isArray(t)?t:t.split(".")}function c(t){return t.includes(",")?t.split(",").map(t=>t.trim()):[t.trim()]}function u(t,e,s,i){let l=function(t){if(Array.isArray(t)){let e=[];for(let s of t)e.push(...c(s));return e}return c(t)}(e);if(1!==l.length){let e=l.map(e=>i(t,e,s));return(0,r.vE)(e)}return i(t,l[0],s)}},26390(t,e,s){s.d(e,{d:()=>i});const r=[];function i(t){r.push(t),1===r.length&&queueMicrotask(()=>{let t=r.slice();r.length=0;for(let e of t)e()})}},76030(t,e,s){s.d(e,{_:()=>p,$m:()=>w,md:()=>k});var r=s(26390);function i(t,e,s,r,i){console.timeStamp(t,e,s,i,r)}class l{constructor(t,e=30){this.name=t,this._counter=0,this._samples=Array(e)}push(t){null!=t&&(this._samples[++this._counter%this._samples.length]=t)}set(t){null!=t&&(this._samples[this._counter%this._samples.length]=t)}get median(){return this._samples.slice().sort((t,e)=>t-e)[Math.floor(this._samples.length/2)]}get average(){return this._samples.reduce((t,e)=>t+e,0)/this._samples.length}get last(){return this._samples[this._counter%this._samples.length]}}var h=s(15142),n=s(17676),a=s(78659);class o{constructor(t){this.callback=t,this.isActive=!0}remove(){this.isActive=!1}}let c=0;const u={time:(0,a.l5)(0),deltaTime:(0,a.l5)(0),elapsedFrameTime:(0,a.l5)(0),frameDuration:(0,a.l5)(0)},d=["prepare","preRender","render","postRender","update","finish"],_=[],f=new h.A,g={frameTasks:f,willDispatch:!1,clearFrameTasks:function(t=!1){f.forAll(t=>{t.removed=!0}),t&&b()},dispatch:A,executeFrameTasks:function(t){let e=(0,a.l5)(t-c);c=t;let s=1e3/60,r=Math.max(0,e-s);u.time=t,u.frameDuration=(0,a.l5)(s-r);for(let s=0;s<d.length;s++){let r=performance.now(),l=d[s];f.forAll(r=>{r.paused||r.removed||(0===s&&r.ticks++,!r.phases[l])||(u.elapsedFrameTime=(0,a.l5)(performance.now()-t),u.deltaTime=0===r.ticks?(0,a.l5)(0):e,r.phases[l]?.call(r,u))});let h=performance.now();I[s].push(h-r),i(l,r,h,"Maps SDK","Scheduling")}b();let l=performance.now();S.push(l-t),i("Animation Frame",t,l,"Maps SDK","Scheduling")},reschedule:function(){null!=m&&(cancelAnimationFrame(m),m=requestAnimationFrame(v))}};function p(t){let e=new o(t);return _.push(e),g.willDispatch||(g.willDispatch=!0,(0,r.d)(A)),e}let m=null;function v(){let t=performance.now();m=null,m=f.some(t=>!t.paused&&!t.removed)?requestAnimationFrame(v):null,g.executeFrameTasks(t)}const y=new h.A;function b(){f.forAll(t=>{t.removed&&y.push(t)}),f.removeUnorderedMany(y.data,y.length),y.clear()}function A(){for(;_.length;){let t=_.shift();t.isActive&&t.callback()}g.willDispatch=!1}function k(t=1,e){let s=Promise.withResolvers(),i=()=>{(0,n.G4)(e)?s.reject((0,n.NK)()):0===t?s.resolve():(--t,(0,r.d)(()=>i()))};return i(),s.promise}async function w(t){await function(t){return k(1,t)}(t),await new Promise(e=>requestAnimationFrame(()=>{t?.aborted||e()}))}const I=d.map(t=>new l(t)),S=new l("total")},44794(t,e,s){s.d(e,{v:()=>n});var r=s(4718),i=s(62788),l=s(95488);class h{constructor(t,e){this._observable=new l.I,this._value=t,this._equalityFunction=e}get value(){return(0,i.gc)(this._observable),this._value}set value(t){this._equalityFunction(t,this._value)||(this._value=t,this._observable.notify())}mutate(t){t(this._value),this._observable.notify()}}function n(t,e=r.gh){return new h(t,e)}},78659(t,e,s){function r(t){return t}function i(t){return 1e3*t}function l(t){return t}s.d(e,{Kp:()=>l,gr:()=>i,l5:()=>r})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[433],{15142(t,e,i){i.d(e,{A:()=>o});var s=i(4576),a=i(21818);const h=(t,e,i,s)=>{let a=e,h=e,n=i>>>1,l=t[a-1];for(;h<=n;){h=a<<1,h<i&&s(t[h-1],t[h])<0&&++h;let e=t[h-1];if(s(e,l)<=0)break;t[a-1]=e,a=h}t[a-1]=l},n=(t,e)=>t<e?-1:+(t>e);function l(t,e,i,s){void 0===e&&(e=0),void 0===i&&(i=t.length),void 0===s&&(s=n);for(let a=i>>>1;a>e;a--)h(t,a,i,s);let a=e+1;for(let n=i-1;n>e;n--){let i=t[e];t[e]=t[n],t[n]=i,h(t,a,n,s)}}function*r(t,e,i,s){void 0===e&&(e=0),void 0===i&&(i=t.length),void 0===s&&(s=n);for(let a=i>>>1;a>e;a--)h(t,a,i,s),yield;let a=e+1;for(let n=i-1;n>e;n--){let i=t[e];t[e]=t[n],t[n]=i,h(t,a,n,s),yield}}class o{constructor(t){this.data=[],this._length=0,this._allocator=void 0,this._deallocator=()=>null,this._shrink=()=>{},this._hint=new s.vW,t&&(t.initialSize&&(this.data=Array(t.initialSize)),t.allocator&&(this._allocator=t.allocator),void 0!==t.deallocator&&(this._deallocator=t.deallocator),t.shrink&&(this._shrink=()=>d(this)))}toArray(){return this.data.slice(0,this.length)}filter(t){let e=[];for(let i=0;i<this._length;i++){let s=this.data[i];t(s)&&e.push(s)}return e}at(t){if((t=Math.trunc(t)||0)<0&&(t+=this._length),!(t<0||t>=this._length))return this.data[t]}includes(t,e){let i=this.data.indexOf(t,e);return-1!==i&&i<this.length}get length(){return this._length}set length(t){if(t>this._length){if(this._allocator){for(;this._length<t;)this.data[this._length++]=this._allocator(this.data[this._length]);return}this._length=t}else{if(this._deallocator)for(let e=t;e<this._length;++e)this.data[e]=this._deallocator(this.data[e]);this._length=t,this._shrink()}}clear(){this.length=0}prune(){this.clear(),this.data=[]}push(t){this.data[this._length++]=t}pushArray(t,e=t.length){for(let i=0;i<e;i++)this.data[this._length++]=t[i]}pushAll(t){for(let e of t)this.data[this._length++]=e}fill(t,e){for(let i=0;i<e;i++)this.data[this._length++]=t}pushNew(){this._allocator&&(this.data[this.length]=this._allocator(this.data[this.length]));let t=this.data[this._length];return++this._length,t}unshift(t){this.data.unshift(t),this._length++,d(this)}pop(){if(0===this.length)return;let t=this.data[this.length-1];return--this.length,this._shrink(),t}remove(t){let e=(0,s.qh)(this.data,(0,a.z)(t),this.length,this._hint);if(-1!==e)return this.data.splice(e,1),--this.length,t}removeUnordered(t){return this.removeUnorderedIndex((0,s.qh)(this.data,(0,a.z)(t),this.length,this._hint))}removeUnorderedIndex(t){if(!(t>=this.length||t<0))return this.swapElements(t,this.length-1),this.pop()}removeUnorderedMany(t,e=t.length,i){this.length=(0,s.mW)(this.data,t,this.length,e,this._hint,i),this._shrink()}front(){if(0!==this.length)return this.data[0]}back(){if(0!==this.length)return this.data[this.length-1]}swapElements(t,e){if(t>=this.length||e>=this.length||t===e)return;let i=this.data[t];this.data[t]=this.data[e],this.data[e]=i}sort(t){l(this.data,0,this.length,t)}iterableSort(t){return r(this.data,0,this.length,t)}some(t,e){for(let i=0;i<this.length;++i)if(t.call(e,this.data[i],i,this.data))return!0;return!1}find(t,e){let{data:i,length:s}=this;for(let a=0;a<s;++a)if(t.call(e,i[a]))return i[a]}filterInPlace(t,e){let i=0;for(let s=0;s<this._length;++s){let a=this.data[s];t.call(e,a,s,this.data)&&(this.data[s]=this.data[i],this.data[i]=a,i++)}if(this._deallocator)for(let t=i;t<this._length;t++)this.data[t]=this._deallocator(this.data[t]);return this._length=i,this._shrink(),this}forAll(t,e){let{data:i,length:s}=this;for(let a=0;a<s;++a)t.call(e,i[a],a,i)}forEach(t,e){this.data.slice(0,this.length).forEach(t,e)}map(t,e){let i=Array(this.length);for(let s=0;s<this.length;++s)i[s]=t.call(e,this.data[s],s,this.data);return i}reduce(t,e){let i=e;for(let e=0;e<this.length;++e)i=t(i,this.data[e],e,this.data);return i}has(t){let e=this.length,i=this.data;for(let s=0;s<e;++s)if(i[s]===t)return!0;return!1}*[Symbol.iterator](){for(let t=0;t<this.length;++t)yield this.data[t]}}function d(t){t.data.length>1.5*t.length&&(t.data.length=Math.floor(1.1*t.length))}},71936(t,e,i){i.r(e),i.d(e,{default:()=>r});var s=i(1843);function a(t,e){return e.push(t.buffer),{buffer:t.buffer,layout:new s.l5(t.layout)}}var h=i(99058),n=i(93406),l=i(44801);class r{async extract(t){let e=o(t),i=(0,l.o6)(e),s=[e.data.buffer];return{result:d(i,s),transferList:s}}async extractComponentsEdgeLocations(t){let e=o(t),i=(0,l.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),s=[];return{result:a((0,n.K)(i,u).regular.instancesData,s),transferList:s}}async extractEdgeLocations(t){let e=o(t),i=(0,l.hx)(e.data,e.skipDeduplicate,e.indices,e.indicesLength),s=[];return{result:a((0,n.K)(i,c).regular.instancesData,s),transferList:s}}}function o(t){return{data:h.I$.createView(t.dataBuffer),indices:"Uint32Array"===t.indicesType?new Uint32Array(t.indices):"Uint16Array"===t.indicesType?new Uint16Array(t.indices):"Uint8Array"===t.indicesType?new Uint8Array(t.indices):t.indices,indicesLength:t.indicesLength,writerSettings:t.writerSettings,skipDeduplicate:t.skipDeduplicate}}function d(t,e){return e.push(t.regular.lodInfo.lengths.buffer),e.push(t.silhouette.lodInfo.lengths.buffer),{regular:{instancesData:a(t.regular.instancesData,e),lodInfo:{lengths:t.regular.lodInfo.lengths.buffer}},silhouette:{instancesData:a(t.silhouette.instancesData,e),lodInfo:{lengths:t.silhouette.lodInfo.lengths.buffer}},averageEdgeLength:t.averageEdgeLength}}const c=new class{allocate(t){return l.Jb.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,i){t.position0.setVec(e,i.position0),t.position1.setVec(e,i.position1)}},u=new class{allocate(t){return l.HY.createBuffer(t)}trim(t,e){return t.slice(0,e)}write(t,e,i){t.position0.setVec(e,i.position0),t.position1.setVec(e,i.position1),t.componentIndex.set(e,i.componentIndex)}}}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkRemoteClient=self.webpackChunkRemoteClient||[]).push([[6892],{68197(t,e,r){r.d(e,{A:()=>u});var i=r(40876),n=r(4576),s=r(34727),a=r(78888);function o(t){return(0,s.qE)((0,a.Vr)(t),0,255)}function l(t,e){let r=t.toString(16).padStart(2,"0");return e?r.slice(0,1):r}function h(t){return.2126*(0,i.Q6)(t.r)+.7152*(0,i.Q6)(t.g)+.0722*(0,i.Q6)(t.b)}class u{static blendColors(t,e,r,i=new u){return i.r=Math.round(t.r+(e.r-t.r)*r),i.g=Math.round(t.g+(e.g-t.g)*r),i.b=Math.round(t.b+(e.b-t.b)*r),i.a=t.a+(e.a-t.a)*r,i._sanitize()}static fromRgb(t,e){let r=(0,i.lT)(t);return r?u.fromArray(r,e):null}static fromHex(t,e=new u){let r=(0,i.oW)(t);return r?u.fromArray(r,e):null}static fromArray(t,e=new u){return e._set(Number(t[0]),Number(t[1]),Number(t[2]),Number(t[3])),isNaN(e.a)&&(e.a=1),e._sanitize()}static fromString(t,e){let r=(0,i.Eq)(t);return r?u.fromArray(r,e):null}static fromJSON(t){return null==t?void 0:new u([t[0],t[1],t[2],(t[3]??255)/255])}toUnitRGB(){return[this.r/255,this.g/255,this.b/255]}toUnitRGBA(t){return t??=[0,0,0,0],t[0]=this.r/255,t[1]=this.g/255,t[2]=this.b/255,t[3]=null==this.a?1:this.a,t}constructor(t){this.r=255,this.g=255,this.b=255,this.a=1,t&&this.setColor(t)}get isBright(){return this.toYiq()>=127}isLowContrastBlend(t,e=3){let r=t instanceof u?t:new u(t),i=h(this),n=h(r);return(Math.max(i,n)+.05)/(Math.min(i,n)+.05)<e}setColor(t){if("string"==typeof t)u.fromString(t,this);else if((0,n.yc)(t))u.fromArray(t,this);else{let e=t;this._set(e.r??0,e.g??0,e.b??0,e.a??1),t instanceof u||this._sanitize()}return this}toRgb(){return[this.r,this.g,this.b]}toRgba(){return[this.r,this.g,this.b,this.a]}toHex(t){let e=t?.capitalize??!1,r=t?.digits??6,i=3===r||4===r,n=4===r||8===r,s=`#${l(this.r,i)}${l(this.g,i)}${l(this.b,i)}${n?l(Math.round(255*this.a),i):""}`;return e?s.toUpperCase():s}toYiq(){return.299*this.r+.587*this.g+.114*this.b}toCss(t=!1){let e=this.r+", "+this.g+", "+this.b;return t?`rgba(${e}, ${this.a})`:`rgb(${e})`}toString(){return this.toCss(!0)}toJSON(){return this.toArray()}toArray(t=0){let e=o(this.r),r=o(this.g),i=o(this.b);return 0===t||1!==this.a?[e,r,i,o(255*this.a)]:[e,r,i]}clone(){return new u(this.toRgba())}hash(){return this.r<<24|this.g<<16|this.b<<8|255*this.a}equals(t){return null!=t&&t.r===this.r&&t.g===this.g&&t.b===this.b&&t.a===this.a}_sanitize(){return this.r=(0,i.c1)(this.r),this.g=(0,i.c1)(this.g),this.b=(0,i.c1)(this.b),this.a=(0,i.G1)(this.a),this}_set(t,e,r,i){this.r=t,this.g=e,this.b=r,this.a=i}}u.prototype.declaredClass="esri.Color"},40876(t,e,r){r.d(e,{Eq:()=>g,G1:()=>d,Q6:()=>w,TS:()=>s,V6:()=>n,Vm:()=>p,ay:()=>l,c1:()=>_,c4:()=>a,j5:()=>h,lT:()=>c,oW:()=>u,xV:()=>b});const i={transparent:[0,0,0,0],black:[0,0,0,1],silver:[192,192,192,1],gray:[128,128,128,1],white:[255,255,255,1],maroon:[128,0,0,1],red:[255,0,0,1],purple:[128,0,128,1],fuchsia:[255,0,255,1],green:[0,128,0,1],lime:[0,255,0,1],olive:[128,128,0,1],yellow:[255,255,0,1],navy:[0,0,128,1],blue:[0,0,255,1],teal:[0,128,128,1],aqua:[0,255,255,1],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],blanchedalmond:[255,235,205,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],oldlace:[253,245,230,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],rebeccapurple:[102,51,153,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],whitesmoke:[245,245,245,1],yellowgreen:[154,205,50,1]};function n(t){return!!i[t]||!!i[t.toLowerCase()]}function s(t){return i[t]??i[t.toLowerCase()]}function a(t){return[...s(t)]}function o(t,e,r){r<0&&++r,r>1&&--r;let i=6*r;return i<1?t+(e-t)*i:2*r<1?e:3*r<2?t+(e-t)*(2/3-r)*6:t}function l(t,e,r,i=1){let n=(t%360+360)%360/360,s=r<=.5?r*(e+1):r+e-r*e,a=2*r-s;return[Math.round(255*o(a,s,n+1/3)),Math.round(255*o(a,s,n)),Math.round(255*o(a,s,n-1/3)),i]}function h(t){let e=t.length>5,r=e?8:4,i=(1<<r)-1,n=e?1:17,s=e?9===t.length:5===t.length,a=Number("0x"+t.slice(1));if(isNaN(a))return null;let o,l=[0,0,0,1];return s&&(o=a&i,a>>=r,l[3]=n*o/255),o=a&i,a>>=r,l[2]=n*o,o=a&i,a>>=r,l[1]=n*o,o=a&i,a>>=r,l[0]=n*o,l}function u(t){if(!t.startsWith("#")||isNaN(Number(`0x${t.slice(1)}`)))return null;switch(t.length){case 4:case 5:{let e=parseInt(t.slice(1,2),16),r=parseInt(t.slice(2,3),16),i=parseInt(t.slice(3,4),16),n=4===t.length?15:parseInt(t.slice(4),16);return[e+16*e,r+16*r,i+16*i,(n+16*n)/255]}case 7:case 9:return[parseInt(t.slice(1,3),16),parseInt(t.slice(3,5),16),parseInt(t.slice(5,7),16),(7===t.length?255:parseInt(t.slice(7),16))/255];default:return null}}function c(t){let e=t.toLowerCase().match(/^(rgba?|hsla?)\(([\s.\-,%0-9]+)\)/);if(e){let t=e[2].split(/\s*,\s*/),r=e[1];if("rgb"===r&&3===t.length||"rgba"===r&&4===t.length){if(t[0].endsWith("%")){let e=t.map(t=>2.56*parseFloat(t));return 4===t.length&&(e[3]=parseFloat(t[3])),f(e)}return f(t.map(t=>parseFloat(t)))}if("hsl"===r&&3===t.length||"hsla"===r&&4===t.length)return l(parseFloat(t[0]),parseFloat(t[1])/100,parseFloat(t[2])/100,parseFloat(t[3]??"1"))}return null}function f(t){return t[0]=_(t[0]),t[1]=_(t[1]),t[2]=_(t[2]),t[3]=4===t.length?d(t[3]):1,t}function g(t){let e=n(t)?s(t):null;return e??=c(t),e??=u(t),e}function p(t){let e=g(t);return null==e?null:[e[0]/255,e[1]/255,e[2]/255,e[3]]}function d(t){return y(t,0,1)}function _(t){return Math.round(y(t,0,255))}function y(t,e,r){return t=Number(t),isNaN(t)?r:t<e?e:t>r?r:t}const m=1/2.2;function w(t){return t**2.2}function b(t){return t**m}r.d(e,["iw",0,m])},32488(t,e,r){r.d(e,{A:()=>A});const i=[["(",")"],[")","("],["<",">"],[">","<"],["[","]"],["]","["],["{","}"],["}","{"],["«","»"],["»","«"],["‹","›"],["›","‹"],["⁽","⁾"],["⁾","⁽"],["₍","₎"],["₎","₍"],["≤","≥"],["≥","≤"],["〈","〉"],["〉","〈"],["﹙","﹚"],["﹚","﹙"],["﹛","﹜"],["﹜","﹛"],["﹝","﹞"],["﹞","﹝"],["﹤","﹥"],["﹥","﹤"]],n=["آ","أ","إ","ا"],s=["ﻵ","ﻷ","ﻹ","ﻻ"],a=["ﻶ","ﻸ","ﻺ","ﻼ"],o="ا.ب.ت.ث.ج.ح.خ.د.ذ.ر.ز.س.ش.ص.ض.ط.ظ.ع.غ.ف.ق.ك.ل.م.ن.ه.و.ي.إ.أ.آ.ة.ى.ل.م.ن.ه.و.ي.إ.أ.آ.ة.ى.ی.ئ.ؤ".split("."),l="ﺍ.ﺏ.ﺕ.ﺙ.ﺝ.ﺡ.ﺥ.ﺩ.ﺫ.ﺭ.ﺯ.ﺱ.ﺵ.ﺹ.ﺽ.ﻁ.ﻅ.ﻉ.ﻍ.ﻑ.ﻕ.ﻙ.ﻝ.ﻡ.ﻥ.ﻩ.ﻭ.ﻱ.ﺇ.ﺃ.ﺁ.ﺓ.ﻯ.ﯼ.ﺉ.ﺅ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺉ.ﺅ".split("."),h="ﺎ.ﺐ.ﺖ.ﺚ.ﺞ.ﺢ.ﺦ.ﺪ.ﺬ.ﺮ.ﺰ.ﺲ.ﺶ.ﺺ.ﺾ.ﻂ.ﻆ.ﻊ.ﻎ.ﻒ.ﻖ.ﻚ.ﻞ.ﻢ.ﻦ.ﻪ.ﻮ.ﻲ.ﺈ.ﺄ.ﺂ.ﺔ.ﻰ.ﯽ.ﺊ.ﺆ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺊ.ﺆ".split("."),u="ﺎ.ﺒ.ﺘ.ﺜ.ﺠ.ﺤ.ﺨ.ﺪ.ﺬ.ﺮ.ﺰ.ﺴ.ﺸ.ﺼ.ﻀ.ﻄ.ﻈ.ﻌ.ﻐ.ﻔ.ﻘ.ﻜ.ﻠ.ﻤ.ﻨ.ﻬ.ﻮ.ﻴ.ﺈ.ﺄ.ﺂ.ﺔ.ﻰ.ﯿ.ﺌ.ﺆ.ﹱ.ﹲ.ﹴ.ﹷ.ﹹ.ﹻ.ﹽ.ﹿ.ﺀ.ﺌ.ﺆ".split("."),c="ﺍ.ﺑ.ﺗ.ﺛ.ﺟ.ﺣ.ﺧ.ﺩ.ﺫ.ﺭ.ﺯ.ﺳ.ﺷ.ﺻ.ﺿ.ﻃ.ﻇ.ﻋ.ﻏ.ﻓ.ﻗ.ﻛ.ﻟ.ﻣ.ﻧ.ﻫ.ﻭ.ﻳ.ﺇ.ﺃ.ﺁ.ﺓ.ﻯ.ﯾ.ﺋ.ﺅ.ﹰ.ﹲ.ﹴ.ﹶ.ﹸ.ﹺ.ﹼ.ﹾ.ﺀ.ﺋ.ﺅ".split("."),f=["ء","آ","أ","ؤ","إ","ا","ة","د","ذ","ر","ز","و","ى"],g="ً.ً.ٌ.؟.ٍ.؟.َ.َ.ُ.ُ.ِ.ِ.ّ.ّ.ْ.ْ.ء.آ.آ.أ.أ.ؤ.ؤ.إ.إ.ئ.ئ.ئ.ئ.ا.ا.ب.ب.ب.ب.ة.ة.ت.ت.ت.ت.ث.ث.ث.ث.ج.ج.ج.ج.ح.ح.ح.ح.خ.خ.خ.خ.د.د.ذ.ذ.ر.ر.ز.ز.س.س.س.س.ش.ش.ش.ش.ص.ص.ص.ص.ض.ض.ض.ض.ط.ط.ط.ط.ظ.ظ.ظ.ظ.ع.ع.ع.ع.غ.غ.غ.غ.ف.ف.ف.ف.ق.ق.ق.ق.ك.ك.ك.ك.ل.ل.ل.ل.م.م.م.م.ن.ن.ن.ن.ه.ه.ه.ه.و.و.ى.ى.ي.ي.ي.ي.ﻵ.ﻶ.ﻷ.ﻸ.ﻹ.ﻺ.ﻻ.ﻼ.؟.؟.؟".split("."),p=["ء","ف"],d=["غ","ي"],_=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],y=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],m=["UBAT_L","UBAT_R","UBAT_EN","UBAT_AN","UBAT_ON","UBAT_B","UBAT_S","UBAT_AL","UBAT_WS","UBAT_CS","UBAT_ES","UBAT_ET","UBAT_NSM","UBAT_LRE","UBAT_RLE","UBAT_PDF","UBAT_LRO","UBAT_RLO","UBAT_BN"],w=[100,0,0,0,0,101,102,103,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,104,4,4,4,0,4,0,4,0,4,4,4,0,0,4,4,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,4,4,0,0,4,4,0,0,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,105,7,7,106,107],b=[[18,18,18,18,18,18,18,18,18,6,5,6,8,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,5,5,5,6,8,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,18,18,18,18,18,18,5,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,9,4,11,11,11,11,4,4,4,4,0,4,4,18,4,4,11,11,2,2,4,0,4,4,4,2,0,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,1,12,1,12,12,1,12,12,1,12,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,4,4,4,4,4,1,1,1,1,1,4,4,4,4,4,4,4,4,4,4,4],[3,3,3,3,4,4,4,4,7,11,11,7,9,7,4,4,12,12,12,12,12,12,12,12,12,12,12,7,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,3,3,3,3,3,3,3,3,3,3,11,3,3,7,7,7,12,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,3,4,12,12,12,12,12,12,7,7,12,12,4,12,12,12,12,7,7,2,2,2,2,2,2,2,2,2,2,7,7,7,7,7,7],[7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,7,7,12,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,12,12,12,12,12,12,12,12,12,12,12,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,12,12,12,12,12,12,12,12,12,1,1,4,4,4,4,1,4,4,4,4,4],[8,8,8,8,8,8,8,8,8,8,8,18,18,18,0,1,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,5,13,14,15,16,17,9,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,8,18,18,18,18,18,4,4,4,4,4,18,18,18,18,18,18,2,0,4,4,2,2,2,2,2,2,10,10,4,4,4,0,2,2,2,2,2,2,2,2,2,2,10,10,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4],[0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,4,4,4,4,4,1,12,1,1,1,1,1,1,1,1,1,1,10,1,1,1,1,1,1,1,1,1,1,1,1,1,4,1,1,1,1,1,4,1,4,1,1,4,1,1,4,1,1,1,1,1,1,1,1,1,1,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7],[12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,12,12,12,12,12,12,12,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,9,4,9,4,4,9,4,4,4,4,4,4,4,4,4,11,4,4,10,10,4,4,4,4,4,11,11,4,4,4,4,4,7,7,7,7,7,4,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,4,4,18],[4,4,4,11,11,11,4,4,4,4,4,10,9,10,9,9,2,2,2,2,2,2,2,2,2,2,9,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,0,0,0,4,4,0,0,0,4,4,4,11,11,4,4,4,11,11,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4]];class A{constructor(){this.inputFormat="ILYNN",this.outputFormat="VLNNN",this.sourceToTarget=[],this.targetToSource=[],this.levels=[]}bidiTransform(t,e,r){if(this.sourceToTarget=[],this.targetToSource=[],!t)return"";if(function(t,e,r){j=[],Y=[];for(let i=0;i<r;i++)t[i]=i,e[i]=i,j[i]=i}(this.sourceToTarget,this.targetToSource,t.length),!this.checkParameters(e,r))return t;e=this.inputFormat,r=this.outputFormat;let i=t,n=Q,s=q(e.charAt(1)),a=q(r.charAt(1)),o=(e.startsWith("I")?"L":e.charAt(0))+s,l=(r.startsWith("I")?"L":r.charAt(0))+a,h=e.charAt(2)+r.charAt(2);n.defInFormat=o,n.defOutFormat=l,n.defSwap=h;let u=S(t,o,l,h,n),c=!1;return"R"===r.charAt(1)?c=!0:("C"===r.charAt(1)||"D"===r.charAt(1))&&(c="rtl"===this.checkContextual(u)),this.sourceToTarget=j,this.targetToSource=function(t){let e=Array(t.length);for(let r=0;r<t.length;r++)e[t[r]]=r;return e}(this.sourceToTarget),W=this.targetToSource,i=e.charAt(3)===r.charAt(3)?u:"S"===r.charAt(3)?function(t,e){if(0===e.length)return"";void 0===t&&(t=!0);let r=(e=String(e)).split(""),i=0,n=1,s=r.length;t||(i=r.length-1,n=-1,s=1);let a=T(r,i,n,s),o="";for(let e=0;e<r.length;e++)R(a,a.length,e)>-1?($(W,e,!t,-1),j.splice(e,1)):o+=r[e];return o}(c,u):k(u,c,!0),this.sourceToTarget=j,this.targetToSource=W,this.levels=Y,i}_inputFormatSetter(t){if(!J.test(t))throw Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.inputFormat=t}_outputFormatSetter(t){if(!J.test(t))throw Error("dojox/string/BidiEngine: the bidi layout string is wrong!");this.outputFormat=t}checkParameters(t,e){return t?this._inputFormatSetter(t):t=this.inputFormat,e?this._outputFormatSetter(e):e=this.outputFormat,t!==e}checkContextual(t){let e=x(t);if("ltr"!==e&&"rtl"!==e){try{e=document.dir.toLowerCase()}catch{}"ltr"!==e&&"rtl"!==e&&(e="ltr")}return e}hasBidiChar(t){return tt.test(t)}}function S(t,e,r,i,n){let s=function(t,e,r){if(void 0===e.inFormat&&(e.inFormat=r.defInFormat),void 0===e.outFormat&&(e.outFormat=r.defOutFormat),void 0===e.swap&&(e.swap=r.defSwap),e.inFormat===e.outFormat)return e;let i,n=e.inFormat.slice(0,1),s=e.outFormat.slice(0,1),a=e.inFormat.slice(1,4),o=e.outFormat.slice(1,4);return a.startsWith("C")&&(i=x(t),a="ltr"===i||"rtl"===i?i.toUpperCase():"L"===e.inFormat.charAt(2)?"LTR":"RTL",e.inFormat=n+a),o.startsWith("C")&&(i=x(t),"rtl"===i?o="RTL":"ltr"===i?(i=function(t){let e=t.split("");return e.reverse(),x(e.join(""))}(t),o=i.toUpperCase()):o="L"===e.outFormat.charAt(2)?"LTR":"RTL",e.outFormat=s+o),e}(t,{inFormat:e,outFormat:r,swap:i},n);if(s.inFormat===s.outFormat)return t;e=s.inFormat,r=s.outFormat,i=s.swap;let a=e.slice(0,1),o=e.slice(1,4),l=r.slice(0,1),h=r.slice(1,4);if(n.inFormat=e,n.outFormat=r,n.swap=i,"L"===a&&"VLTR"===r){if("LTR"===o)return n.dir=K,v(t,n);if("RTL"===o)return n.dir=X,v(t,n)}if("V"===a&&"V"===l)return n.dir="RTL"===o?X:K,N(t,n);if("L"===a&&"VRTL"===r)return"LTR"===o?(n.dir=K,t=v(t,n)):(n.dir=X,t=v(t,n)),N(t);if("VLTR"===e&&"LLTR"===r)return n.dir=K,v(t,n);if("V"===a&&"L"===l&&o!==h)return t=N(t),"RTL"===o?S(t,"LLTR","VLTR",i,n):S(t,"LRTL","VRTL",i,n);if("VRTL"===e&&"LRTL"===r)return S(t,"LRTL","VRTL",i,n);if("L"===a&&"L"===l){let e=n.swap;return n.swap=e.slice(0,1)+"N","RTL"===o?(n.dir=X,t=v(t,n),n.swap="N"+e.slice(1,3),n.dir=K,t=v(t,n)):(n.dir=K,t=v(t,n),n.swap="N"+e.slice(1,3),t=S(t,"VLTR","LRTL",n.swap,n)),t}return t}function T(t,e,r,i,n){let o=0,u=[],f=0;for(let n=e;n*r<i;n+=r)if(F(t[n])||E(t[n])){if("ل"===t[n]&&B(t,n+r,r,i)){t[n]=G(t[n+r],0===o?s:a),n+=r,O(t,n,r,i),u[f]=n,f++,o=0;continue}let e=t[n];1===o?t[n]=U(t,n+r,r,i)?D(t[n]):z(t[n],h):!0===U(t,n+r,r,i)?t[n]=z(t[n],c):t[n]=z(t[n],l),E(e)||(o=1),!0===V(e)&&(o=0)}else o=0;return u}function x(t){let e=/[A-Za-z\u05d0-\u065f\u066a-\u06ef\u06fa-\u07ff\ufb1d-\ufdff\ufe70-\ufefc]/.exec(t);return e?e[0]<="z"?"ltr":"rtl":""}function k(t,e,r){if(0===t.length)return"";void 0===e&&(e=!0);let i="",s=(t=String(t)).split("");for(let a=0;a<t.length;a++){let o=!1;if(s[a]>="ﹰ"&&s[a]<"\ufeff"){let l=t.charCodeAt(a);s[a]>="ﻵ"&&s[a]<="ﻼ"?(e?(a>0&&r&&" "===s[a-1]?i=i.slice(0,-1)+"ل":(i+="ل",o=!0),i+=n[(l-65269)/2]):(i+=n[(l-65269)/2],i+="ل",a+1<t.length&&r&&" "===s[a+1]?a++:o=!0),o&&($(W,a,!0,1),j.splice(a,0,j[a]))):i+=g[l-65136]}else i+=s[a]}return i}function v(t,e){let r=t.split(""),i=[];return L(r,i,e),function(t,e,r){if(0!==r.hiLevel&&r.swap[0]!==r.swap[1])for(let r=0;r<t.length;r++)1===e[r]&&(t[r]=P(t[r]))}(r,i,e),C(2,r,i,e),C(1,r,i,e),Y=i,r.join("")}function L(t,e,r){let i=t.length,n=r.dir?y:_,s=0,a=-1,o=[],l=[];r.hiLevel=r.dir,r.lastArabic=!1,r.hasUbatAl=!1,r.hasUbatB=!1,r.hasUbatS=!1;for(let e=0;e<i;e++)o[e]=M(t[e]);for(let h=0;h<i;h++){let i=s,u=I(t,o,l,h,r);l[h]=u,s=n[i][u];let c=240&s;s&=15;let f=n[s][Z];if(e[h]=f,c>0)if(16===c){for(let t=a;t<h;t++)e[t]=1;a=-1}else a=-1;if(n[s][H])-1===a&&(a=h);else if(a>-1){for(let t=a;t<h;t++)e[t]=f;a=-1}5===o[h]&&(e[h]=0),r.hiLevel|=f}r.hasUbatS&&function(t,e,r,i){for(let n=0;n<r;n++)if(6===t[n]){e[n]=i.dir;for(let r=n-1;r>=0&&8===t[r];r--)e[r]=i.dir}}(o,e,i,r)}function M(t){let e=t.charCodeAt(0),r=w[e>>8];return r<100?r:b[r-100][255&e]}function N(t,e){let r=t.split("");if(e){let t=[];L(r,t,e),Y=t}return r.reverse(),j.reverse(),r.join("")}function R(t,e,r){for(let i=0;i<e;i++)if(t[i]===r)return i;return-1}function F(t){for(let e=0;e<p.length;e++)if(t>=p[e]&&t<=d[e])return!0;return!1}function U(t,e,r,i){for(;e*r<i&&E(t[e]);)e+=r;return!!(e*r<i&&F(t[e]))}function B(t,e,r,i){for(;e*r<i&&E(t[e]);)e+=r;let s=" ";if(!(e*r<i))return!1;s=t[e];for(let t=0;t<n.length;t++)if(n[t]===s)return!0;return!1}function C(t,e,r,i){if(i.hiLevel<t)return;if(1===t&&i.dir===X&&!i.hasUbatB)return e.reverse(),void j.reverse();let n,s,a,o,l,h=e.length,u=0;for(;u<h;){if(r[u]>=t){for(n=u+1;n<h&&r[n]>=t;)n++;for(s=u,a=n-1;s<a;s++,a--)o=e[s],e[s]=e[a],e[a]=o,l=j[s],j[s]=j[a],j[a]=l;u=n}u++}}function I(t,e,r,i,n){let s=e[i];return{UBAT_L:()=>(n.lastArabic=!1,0),UBAT_R:()=>(n.lastArabic=!1,1),UBAT_ON:()=>4,UBAT_AN:()=>3,UBAT_EN:()=>n.lastArabic?3:2,UBAT_AL:()=>(n.lastArabic=!0,n.hasUbatAl=!0,1),UBAT_WS:()=>4,UBAT_CS:()=>{let t,s;return i<1||i+1>=e.length||2!==(t=r[i-1])&&3!==t||2!==(s=e[i+1])&&3!==s?4:(n.lastArabic&&(s=3),s===t?s:4)},UBAT_ES:()=>2===(i>0?r[i-1]:5)&&i+1<e.length&&2===e[i+1]?2:4,UBAT_ET:()=>{if(i>0&&2===r[i-1])return 2;if(n.lastArabic)return 4;let t=i+1,s=e.length;for(;t<s&&11===e[t];)t++;return t<s&&2===e[t]?2:4},UBAT_NSM:()=>{if("VLTR"===n.inFormat){let r=e.length,n=i+1;for(;n<r&&12===e[n];)n++;if(n<r){let r=t[i].charCodeAt(0),s=r>=1425&&r<=2303||64286===r,a=e[n];if(s&&(1===a||7===a))return 1}}return i<1||5===e[i-1]?4:r[i-1]},UBAT_B:()=>(n.lastArabic=!0,n.hasUbatB=!0,n.dir),UBAT_S:()=>(n.hasUbatS=!0,4),UBAT_LRE:()=>(n.lastArabic=!1,4),UBAT_RLE:()=>(n.lastArabic=!1,4),UBAT_LRO:()=>(n.lastArabic=!1,4),UBAT_RLO:()=>(n.lastArabic=!1,4),UBAT_PDF:()=>(n.lastArabic=!1,4),UBAT_BN:()=>4}[m[s]]()}function P(t){let e,r=0,n=i.length-1;for(;r<=n;)if(e=Math.floor((r+n)/2),t<i[e][0])n=e-1;else{if(!(t>i[e][0]))return i[e][1];r=e+1}return t}function V(t){for(let e=0;e<f.length;e++)if(f[e]===t)return!0;return!1}function D(t){for(let e=0;e<o.length;e++)if(t===o[e])return u[e];return t}function z(t,e){for(let r=0;r<o.length;r++)if(t===o[r])return e[r];return t}function E(t){return t>="ً"&&t<="ٕ"}function q(t){return"L"===t?"LTR":"R"===t?"RTL":"C"===t?"CLR":"D"===t?"CRL":""}function O(t,e,r,i){for(;e*r<i&&E(t[e]);)e+=r;return e*r<i&&(t[e]=" ",!0)}function G(t,e){for(let r=0;r<n.length;r++)if(t===n[r])return e[r];return t}function $(t,e,r,i){for(let n=0;n<t.length;n++)(t[n]>e||!r&&t[n]===e)&&(t[n]+=i)}let j=[],W=[],Y=[];const Q={dir:0,defInFormat:"LLTR",defSwap:"YN",inFormat:"LLTR",outFormat:"VLTR",swap:"YN",hiLevel:0,lastArabic:!1,hasUbatAl:!1,defOutFormat:""},Z=5,H=6,K=0,X=1,J=/^[(I|V)][(L|RCD)][(Y|N)][(S|N)]N$/,tt=/[\u0591-\u06ff\ufb1d-\ufefc]/},6371(t,e,r){r.d(e,{y:()=>n});const i=new(r(32488).A);function n(t,e=!0){if(!i.hasBidiChar(t))return[t,!1,{...i}];let r;r="rtl"===i.checkContextual(t)?"IDNNN":"ICNNN";let n=e?"VLYSN":"VLYNN";return[i.bidiTransform(t,r,n),!0,{...i}]}},93687(t,e,r){r.d(e,{A:()=>i});class i{constructor(t,e,r,i=1,n=0){this._creator=t,this._acquireFunction=e,this._releaseFunction=r,this.allocationSize=i,this._pool=Array(n),this._initialSize=n;for(let t=0;t<n;t++)this._pool[t]=this._creator();this.allocationSize=Math.max(i,1)}destroy(){this.prune(0)}acquire(...t){if(0===this._pool.length){let t=this.allocationSize;for(let e=0;e<t;e++)this._pool[e]=this._creator()}let e=this._pool.pop();return this._acquireFunction?this._acquireFunction(e,...t):function(t){return t?.acquire&&"function"==typeof t.acquire}(e)&&e.acquire(...t),e}release(t){var e;t&&(this._releaseFunction?this._releaseFunction(t):(e=t,e?.release&&"function"==typeof e.release&&t.release()),this._pool.push(t))}prune(t=this._initialSize){if(!(t>=this._pool.length)){for(let e=t;e<this._pool.length;++e){let t=this._pool[e];this._dispose(t)}this._pool.length=t}}_dispose(t){t.dispose&&"function"==typeof t.dispose&&t.dispose()}}},78888(t,e,r){r.d(e,{EK:()=>N,GB:()=>h,GX:()=>l,MB:()=>R,Nd:()=>I,PZ:()=>m,Qp:()=>f,Uv:()=>B,Vr:()=>u,Zu:()=>C,_e:()=>L,aq:()=>F,dp:()=>S,e6:()=>M,eC:()=>k,jz:()=>U,qf:()=>T,wB:()=>x});var i=r(53966),n=r(91869);const s=()=>i.A.getLogger("esri.core.accessorSupport.ensureTypes");function a(t){if(null==t)return t;let e=new Date(t);return isNaN(e.getTime())?(s().error("Accessor#set",`Invalid date value: '${t}', falling back to current date`),new Date):e}function o(t){return null==t?t:!!t}function l(t){return null==t?t:t.toString()}function h(t,e=0){return null==t?t:(t=parseFloat(t),isNaN(t)?e:t)}function u(t){return null==t?t:Math.round(parseFloat(t))}function c(t){return null}function f(t,e){return r=>{let i=t(r);return null!=e.step&&(i=Math.round(i/e.step)*e.step),null!=e.min&&(i=Math.max(e.min,i)),null!=e.max&&(i=Math.min(e.max,i)),i}}function g(t){return t?.constructor&&void 0!==t.constructor.__accessorMetadata__}function p(t,e){return null!=e&&t&&!(e instanceof t)}function d(t){return t&&"isCollection"in t}function _(t){return t?.Type?"function"==typeof t.Type?t.Type:t.Type.base:null}function y(t,e){return!!g(e)&&(s().error("Accessor#set","Assigning an instance of '"+(e.declaredClass||"unknown")+"' which is not a subclass of '"+w(t)+"'"),!0)}function m(t,e){return null==e?e:d(t)?function(t,e){if(!e?.constructor||!d(e.constructor))return y(t,e)?e:new t(e);let r=_(t.prototype.itemType),i=_(e.constructor.prototype.itemType);return r?i?r===i?e:r.prototype.isPrototypeOf(i.prototype)?new t(e):(y(t,e),e):new t(e):e}(t,e):p(t,e)?y(t,e)?e:new t(e):e}function w(t){return t?.prototype?.declaredClass||"unknown"}const b=new WeakMap;function A(t){switch(t){case Number:return t=>h(t);case U:return u;case Boolean:return o;case String:return l;case Date:return a;case B:return c;default:return(0,n.tE)(b,t,()=>m.bind(null,t))}}function S(t,e){let r=A(t);return 1===arguments.length?r:r(e)}function T(t){let e=A(t);return t=>e(t)}function x(t,e,r){return 1===arguments.length?x.bind(null,t):e&&(Array.isArray(e)?e.map(e=>t(e,r)):[t(e,r)])}function k(t,e){return 1===arguments.length?x(e=>S(t,e)):x(e=>S(t,e),e)}function v(t,e,r){return 0!==e&&Array.isArray(r)?r.map(r=>v(t,e-1,r)):t(r)}function L(t,e,r){if(2===arguments.length)return r=>L(t,e,r);if(!r)return r;r=v(t,e,r);let i=e,n=r;for(;i>0&&Array.isArray(n);)i--,n=n[0];if(void 0!==n)for(let t=0;t<i;t++)r=[r];return r}function M(t,e,r){return 2===arguments.length?L(e=>S(t,e),e):L(e=>S(t,e),e,r)}function N(t){return!!Array.isArray(t)&&!t.some(e=>{let r=typeof e;return!("string"===r||"number"===r||"function"===r&&t.length>1)})}function R(t,e){if(2===arguments.length)return R(t).call(null,e);let r=new Set,i=t.filter(t=>"function"!=typeof t),n=t.filter(t=>"function"==typeof t);for(let e of t)("string"==typeof e||"number"==typeof e)&&r.add(e);let a=null,o=null;return(t,e)=>{if(null==t)return t;let l=typeof t,h="string"===l||"number"===l;return h&&(r.has(t)||n.some(t=>"string"===l&&t===String||"number"===l&&t===Number))||"object"===l&&n.some(e=>!p(e,t))?t:(h&&i.length?(a||=i.map(t=>"string"==typeof t?`'${t}'`:`${t}`).join(", "),s().error("Accessor#set",`'${t}' is not a valid value for this property, only the following values are valid: ${a}`)):"object"==typeof t&&n.length?(o||=n.map(t=>w(t)).join(", "),s().error("Accessor#set",`'${t}' is not a valid value for this property, value must be one of ${o}`)):s().error("Accessor#set",`'${t}' is not a valid value for this property`),e&&(e.valid=!1),null)}}function F(t,e){if(2===arguments.length)return F(t).call(null,e);let r={},i=[],n=[];for(let e in t.typeMap){let s=t.typeMap[e];r[e]=S(s),i.push(w(s)),n.push(e)}let a=()=>`'${i.join("', '")}'`,o=()=>`'${n.join("', '")}'`,l="string"==typeof t.key?e=>e[t.key]:t.key;return e=>{if(t.base&&!p(t.base,e)||null==e)return e;let i=l(e)||t.defaultKeyValue,n=r[i];if(!n)return s().error("Accessor#set",`Invalid property value, value needs to be one of ${a()}, or a plain object that can autocast (having .type = ${o()})`),null;if(!p(t.typeMap[i],e))return e;if("string"==typeof t.key&&!g(e)){let r={};for(let i in e)i!==t.key&&(r[i]=e[i]);return n(r)}return n(e)}}class U{}class B{}function C(t){if(!t||"object"!=typeof t&&"function"!=typeof t||!("type"in t))return!1;switch(t.type){case"native":case"array":case"one-of":return!0}return!1}function I(t){switch(t.type){case"native":return S(t.value);case"array":return x(I(t.value));case"one-of":return function(t){let e=null;return(r,i)=>V(r,t)?r:(e??=P(t),s().error("Accessor#set",`Invalid property value, value needs to be of type ${e}`),i&&(i.valid=!1),null)}(t);default:return null}}function P(t){switch(t.type){case"native":switch(t.value){case Number:return"number";case String:return"string";case Boolean:return"boolean";case U:return"integer";case Date:return"date";case B:return"null";default:return w(t.value)}case"array":return`array of ${P(t.value)}`;case"one-of":{let e=t.values.map(t=>P(t));return`one of ${e.slice(0,-1)} or ${e[e.length-1]}`}}return"unknown"}function V(t,e){if(null==t)return!0;switch(e.type){case"native":switch(e.value){case Number:case U:return"number"==typeof t;case Boolean:return"boolean"==typeof t;case String:return"string"==typeof t;case B:return null===t}return t instanceof e.value;case"array":return!!Array.isArray(t)&&!t.some(t=>!V(t,e.value));case"one-of":return e.values.some(e=>V(t,e))}}r.d(e,["gK",0,{native:t=>({type:"native",value:t}),array:t=>({type:"array",value:t}),oneOf:t=>({type:"one-of",values:t})}])},57582(t,e,r){r.d(e,{af:()=>n,rK:()=>s}),r(92602);const i="arial-unicode-ms";function n(t){if(!t)return i;let e=t.toLowerCase().split(" ").join("-");switch(e){case"serif":return"noto-serif";case"sans-serif":return"arial-unicode-ms";case"monospace":return"ubuntu-mono";case"fantasy":return"cabin-sketch";case"cursive":return"redressed";default:return e}}function s(t){let e=function(t){if(!t.weight)return"";switch(t.weight.toLowerCase()){case"bold":case"bolder":return"-bold"}return""}(t)+function(t){if(!t.style)return"";switch(t.style.toLowerCase()){case"italic":case"oblique":return"-italic"}return""}(t);return n(t.family)+(e.length>0?e:"-regular")}new Map,new Set,r.d(e,["Vb",0,i])},34727(t,e,r){r.d(e,{$8:()=>x,Cc:()=>o,Hx:()=>_,Io:()=>S,KJ:()=>u,OS:()=>L,Sp:()=>g,XM:()=>c,YN:()=>f,ZH:()=>d,b6:()=>T,cU:()=>n,gg:()=>p,hs:()=>l,kU:()=>h,mP:()=>a,or:()=>v,pF:()=>N,qE:()=>s});const i=new Float32Array(1);function n(t){--t;for(let e=1;e<32;e<<=1)t|=t>>e;return t+1}function s(t,e,r){return Math.min(Math.max(t,e),r)}function a(t,e){return 0===e?0:Math.ceil(t/e)*e}function o(t,e,r){return t+(e-t)*r}function l(t,e,r,i,n){return o(i,n,(t-e)/(r-e))}function h(t){return t*Math.PI/180}function u(t){return 180*t/Math.PI}function c(t){return Math.acos(s(t,-1,1))}function f(t){return Math.asin(s(t,-1,1))}function g(t,e,r=1e-6){return t===e||!(!Number.isFinite(t)||!Number.isFinite(e))&&(t>e?t-e:e-t)<=r}function p(t,e,r=1e-6){return!g(t,e,r)&&t>e}function d(t,e,r=1e-6){return!g(t,e,r)&&t<e}function _(t,e,r=1e-6){return g(t,e,r)||t>e}const y=new DataView(new ArrayBuffer(Float64Array.BYTES_PER_ELEMENT));function m(t){return y.setFloat64(0,t),y.getBigInt64(0)}const w=1000000n,b=A(1);function A(t){let e=m(t=Math.abs(t)),r=function(t){return y.setBigInt64(0,t),y.getFloat64(0)}(e<=w?w:e-w);return Math.abs(t-r)}function S(t,e,r=b){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;if(null!=r&&A(Math.min(Math.abs(t),Math.abs(e)))<r)return Math.abs(t-e)<=r;let i=m(t),n=m(e);return!(i<0!=n<0||(i<n?n-i:i-n)>w)}function T(t,e,r=1e-6){if(t===e)return!0;if(!Number.isFinite(t)||!Number.isFinite(e))return!1;let i=Math.abs(t-e),n=Math.abs(t),s=Math.abs(e);if(0===t||0===e||n<1e-12&&s<1e-12){if(i>.01*r)return!1}else if(i/(n+s)>r)return!1;return!0}function x(t){return k(Math.max(-M,Math.min(t,M)))}function k(t){return i[0]=t,i[0]}function v(t){let e=t[0]*t[0]+t[1]*t[1]+t[2]*t[2],r=t[3]*t[3]+t[4]*t[4]+t[5]*t[5],i=t[6]*t[6]+t[7]*t[7]+t[8]*t[8];return!(g(e,1)&&g(r,1)&&g(i,1))}function L(t,e){return(t%e+e)%e}const M=k(34028234663852886e22);function N(t,e,r){if(void 0===r||0==+r)return Math[t](e);if(e=+e,r=+r,isNaN(e)||"number"!=typeof r||r%1!=0)return NaN;let i=e.toString().split("e");return i=(e=Math[t](+(i[0]+"e"+(i[1]?+i[1]-r:-r)))).toString().split("e"),+(i[0]+"e"+(i[1]?+i[1]+r:r))}r.d(e,["pq",0,M])},69397(t,e,r){r.d(e,{Qf:()=>o,Qh:()=>s,lM:()=>n});var i=r(34275);function n(t){if(!t)return 0;let e=h;for(let r in t)t.hasOwnProperty(r)&&(e+=a(t[r],!1));return e}function s(t){if(!t)return 0;if("number"==typeof t[0])return o(t);if(Array.isArray(t))return function(t){let e=t.length;if(0===e||"number"==typeof t[0])return l(t,8);let r=u;for(let i=0;i<e;i++)r+=a(t[i]);return r}(t);let e=h;for(let r in t)t.hasOwnProperty(r)&&(e+=a(t[r]));return e}function a(t,e=!0){switch(typeof t){case"object":return e?s(t):h;case"string":return function(t){return 32+t.length}(t);case"number":return 16;case"boolean":return 4;default:return 8}}function o(...t){return t.reduce((t,e)=>t+(e?(0,i.iu)(e)?e.byteLength+c:Array.isArray(e)?l(e,16):0:0),0)}function l(t,e){return u+t.length*e}const h=32,u=16,c=145},51624(t,e,r){r.d(e,{A:()=>h});var i=r(44208),n=r(69397),s=r(93687);const a=4294967296,o=new TextDecoder("utf-8"),l=(0,i.A)("safari")||(0,i.A)("ios")?6:(0,i.A)("ff")?12:32;class h{constructor(t,e,r=0,i=t?.byteLength??0){this._tag=0,this._dataType=99,this._init(t,e,r,i)}[Symbol.dispose](){this.release()}_init(t,e,r,i){this._data=t,this._dataView=e,this._pos=r,this._end=i}get usedMemory(){return 64+(0,n.Qf)(this._data)}asUnsafe(){return this}clone(){return new h(this._data,this._dataView,this._pos,this._end)}clonePooled(){return h.constructPooled(this._data,this._dataView,this._pos,this._end)}static constructPooled(t,e,r=0,i=t?.byteLength??0){let n=h.pool.acquire();return n._init(t,e,r,i),n}pos(){return this._pos}move(t){this._pos=t}nextTag(t){for(;;){if(this._pos===this._end)return!1;let e=this._decodeVarint();if(this._tag=e>>3,this._dataType=7&e,!t||t===this._tag)break;this.skip()}return!0}next(){if(this._pos===this._end)return!1;let t=this._decodeVarint();return this._tag=t>>3,this._dataType=7&t,!0}empty(){return this._pos>=this._end}tag(){return this._tag}getInt32(){return this._decodeVarint()}getInt64(){return this._decodeVarint()}getUInt32(){let t=4294967295;if(t=(127&this._data[this._pos])>>>0,this._data[this._pos++]<128||(t=(t|(127&this._data[this._pos])<<7)>>>0,this._data[this._pos++]<128)||(t=(t|(127&this._data[this._pos])<<14)>>>0,this._data[this._pos++]<128)||(t=(t|(127&this._data[this._pos])<<21)>>>0,this._data[this._pos++]<128)||(t=(t|(15&this._data[this._pos])<<28)>>>0,this._data[this._pos++]<128))return t;throw Error("Varint overflow")}getPackedEnd(){let t=this.getUInt32();return this._pos+t}getUInt64(){return this._decodeVarint()}getSInt32(){let t=this.getUInt32();return t>>>1^-(1&t)}getSInt64(){return this._decodeSVarint()}getBool(){let t=0!==this._data[this._pos];return this._skip(1),t}getEnum(){return this._decodeVarint()}getFixed64(){let t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getUint32(e+4,!0)*a;return this._skip(8),r}getSFixed64(){let t=this._dataView,e=this._pos,r=t.getUint32(e,!0)+t.getInt32(e+4,!0)*a;return this._skip(8),r}getDouble(){let t=this._dataView.getFloat64(this._pos,!0);return this._skip(8),t}getFixed32(){let t=this._dataView.getUint32(this._pos,!0);return this._skip(4),t}getSFixed32(){let t=this._dataView.getInt32(this._pos,!0);return this._skip(4),t}getFloat(){let t=this._dataView.getFloat32(this._pos,!0);return this._skip(4),t}getString(){let t=this._getLength(),e=this._pos,r=this._toString(this._data,e,e+t);return this._skip(t),r}getBytes(){let t=this._getLength(),e=this._pos,r=this._toBytes(this._data,e,e+t);return this._skip(t),r}getLength(){return this._getLengthUnsafe()}processMessageWithArgs(t,e,r,i){let n=this.getMessage(),s=t(n,e,r,i);return n.release(),s}processMessage(t){let e=this.getMessage(),r=t(e);return e.release(),r}getMessage(){let t=this._getLength(),e=h.pool.acquire();return e._init(this._data,this._dataView,this._pos,this._pos+t),this._skip(t),e}release(){h.pool.release(this)}dataType(){return this._dataType}skip(){switch(this._dataType){case 0:this._decodeVarint();break;case 1:this._skip(8);break;case 2:this._skip(this._getLength());break;case 5:this._skip(4);break;default:throw Error("Invalid data type!")}}skipToEnd(){for(;this.next();)this.skip()}skipLen(t){this._skip(t)}_skip(t){if(this._pos+t>this._end)throw Error("Attempt to skip past the end of buffer!");this._pos+=t}_decodeVarint(){let t=this._data,e=this._pos,r=0,i=0;if(this._end-e>=10){if(i=t[e++],r|=127&i,128&i&&(i=t[e++],r|=(127&i)<<7,128&i&&(i=t[e++],r|=(127&i)<<14,128&i&&(i=t[e++],r|=(127&i)<<21,128&i&&(i=t[e++],r+=268435456*(127&i),128&i&&(i=t[e++],r+=34359738368*(127&i),128&i&&(i=t[e++],r+=4398046511104*(127&i),128&i&&(i=t[e++],r+=562949953421312*(127&i),128&i&&(i=t[e++],r+=72057594037927940*(127&i),128&i&&(i=t[e++],r+=0x8000000000000000*(127&i),128&i))))))))))throw Error("Varint too long!")}else{let n=1;for(;e!==this._end&&(i=t[e],128&i);)++e,r+=(127&i)*n,n*=128;if(e===this._end)throw Error("Varint overrun!");++e,r+=i*n}return this._pos=e,r}_decodeSVarint(){let t,e=this._data,r=0,i=0,n=1&e[this._pos];if(i=e[this._pos++],r|=127&i,!(128&i&&(i=e[this._pos++],r|=(127&i)<<7,128&i)&&(i=e[this._pos++],r|=(127&i)<<14,128&i)&&(i=e[this._pos++],r|=(127&i)<<21,128&i)&&(i=e[this._pos++],r+=268435456*(127&i),128&i)&&(i=e[this._pos++],r+=34359738368*(127&i),128&i)&&(i=e[this._pos++],r+=4398046511104*(127&i),128&i)))return n?-(r+1)/2:r/2;if(t=BigInt(r),i=e[this._pos++],t+=562949953421312n*BigInt(127&i),!(128&i&&(i=e[this._pos++],t+=72057594037927936n*BigInt(127&i),128&i)&&(i=e[this._pos++],t+=9223372036854775808n*BigInt(127&i),128&i)))return Number(n?-(t+1n)/2n:t/2n);throw Error("Varint too long!")}_getLength(){if(2!==this._dataType)throw Error("Not a delimited data type!");return this._decodeVarint()}_getLengthUnsafe(){return this.getUInt32()}_toString(t,e,r){if((r=Math.min(this._end,r))-e>l){let i=t.subarray(e,r);return o.decode(i)}let i="",n="";for(let s=e;s<r;++s){let e=t[s];128&e?n+="%"+e.toString(16):(i+=decodeURIComponent(n)+String.fromCharCode(e),n="")}return n.length&&(i+=decodeURIComponent(n)),i}_toBytes(t,e,r){return r=Math.min(this._end,r),new Uint8Array(t.buffer,e,r-e)}static{this.pool=new s.A(()=>new h(null,null),void 0,t=>{t._data=null,t._dataView=null})}}},75585(t,e,r){function i(t){let e="normal",r="normal";if(t){let i=t.toLowerCase();i.includes("italic")?e="italic":i.includes("oblique")&&(e="oblique"),i.includes("bold")?r="bold":i.includes("light")&&(r="lighter")}return{style:e,weight:r}}r.d(e,{_:()=>i})},69754(t,e,r){r.d(e,{Z:()=>h,q:()=>l});var i=r(68197),n=r(75585);const s=/([A-Za-z_][\w-]*)\s*=\s*(['"])(.*?)\2/g,a=/&(amp|lt|gt|quot|apos);/g,o=/<\s*\/?\s*(?:CLR|BOL|_BOL|ITA|_ITA|UND|_UND|FNT|CHR)\b/i;function l(t){return o.test(t)}function h(t){if(!t.supportsRichText||!t.textString.includes("<"))return null;let e=function(t){return{font:{...t.font},fontSize:t.symbol?.height&&!isNaN(t.symbol.height)?t.symbol.height:10,characterSpacing:0}}(t),r=[],i=[],n=u(e),s="",a=!1,o=t.textString,l=()=>{if(!s)return;let t=c(s);if(!t)return void(s="");let e=i[i.length-1];e&&function(t,e){return t.fontSize===e.fontSize&&t.characterSpacing===e.characterSpacing&&t.font.family===e.font.family&&t.font.style===e.font.style&&t.font.weight===e.font.weight&&t.font.decoration===e.font.decoration&&function(t,e){return t===e||!!t&&!!e&&t[0]===e[0]&&t[1]===e[1]&&t[2]===e[2]&&t[3]===e[3]}(t.color,e.color)}(e,n)?e.text+=t:i.push({text:t,font:{...n.font},fontSize:n.fontSize,characterSpacing:n.characterSpacing,color:n.color}),s=""},h=0;for(;h<o.length;){let t=o[h];if("<"!==t){s+=t,h++;continue}let e=o.indexOf(">",h+1);if(-1===e)return null;let i=f(o.slice(h+1,e));if(!i)return null;if(a=!0,l(),i.isEnd){let t=r.pop();if(!t||t.name!==i.name)return null;n=t.previous}else{let t=u(n);n=g(n,i),r.push({name:i.name,previous:t})}h=e+1}return r.length?null:(l(),a?i.filter(t=>t.text.length>0):null)}function u(t){return{font:{...t.font},fontSize:t.fontSize,characterSpacing:t.characterSpacing,color:t.color}}function c(t){return t.replaceAll(a,(t,e)=>{switch(e){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';case"apos":return"'";default:return t}})}function f(t){let e=t.trim();if(!e)return null;let r=e.startsWith("/"),i=r?e.slice(1).trim():e,n=/^([A-Za-z_][\w-]*)/.exec(i);if(!n)return null;let a,o=n[1],l=i.slice(o.length),h={};for(s.lastIndex=0;a=s.exec(l);)h[a[1]]=a[3];return{isEnd:r,name:o,attributes:h}}function g(t,e){let r=u(t);switch(e.name.toUpperCase()){case"BOL":r.font.weight="bold";break;case"_BOL":r.font.weight="normal";break;case"ITA":r.font.style="italic";break;case"_ITA":r.font.style="normal";break;case"UND":r.font.decoration="underline";break;case"_UND":r.font.decoration="none";break;case"FNT":!function(t,e){let{name:r,style:i,size:s,scale:a,wght:o,ital:l}=e;if(r&&(t.font.family=r),i){let e=(0,n._)(i);t.font.style=e.style,t.font.weight=e.weight}if(o){let e=Number(o);t.font.weight=e>=600?"bold":"normal"}if(l){let e=Number(l);isNaN(e)||(t.font.style=0===e?"normal":"italic")}if(s){let e=Number(s);!isNaN(e)&&e>0&&(t.fontSize=e)}if(a){let e=Number(a);!isNaN(e)&&e>0&&(t.fontSize*=e/100)}}(r,e.attributes);break;case"CLR":r.color=function(t){if(t.hex){let e=i.A.fromHex(t.hex)?.toArray();if(e){let r="alpha"in t?_(t.alpha):e[3];return[e[0],e[1],e[2],r]}}if("red"in t||"green"in t||"blue"in t)return[p(t.red),p(t.green),p(t.blue),_(t.alpha)];let e=d(t.cyan),r=d(t.magenta),n=d(t.yellow),s=d(t.black),a=_(t.alpha),o=d(t.tint,100)/100,l=1-s;return[Math.round(255*(1-e)*l*o),Math.round(255*(1-r)*l*o),Math.round(255*(1-n)*l*o),a]}(e.attributes);break;case"CHR":!function(t,e){let r=Number(e.spacing);!isNaN(r)&&r>=0&&(t.characterSpacing=r/100)}(r,e.attributes)}return r}function p(t){let e=Number(t);return function(t){return Math.max(0,Math.min(255,Math.round(t)))}(isNaN(e)?0:e)}function d(t,e=0){let r=Number(t);return function(t){return Math.max(0,Math.min(1,t))}((isNaN(r)?e:r)/100)}function _(t){return Math.round(255*d(t,100))}},16892(t,e,r){r.r(e),r.d(e,{default:()=>L});var i=r(56507),n=r(6371),s=r(57582),a=r(44208),o=r(53966),l=r(17676),h=r(2741);let u=null;async function c(){return u||=async function(){let t=await r.e(7290).then(()=>r(87290));return await t.default({module_or_path:(0,h.s)("esri/libs/librust-text/pkg/text_bg.wasm")}),t}(),u}var f=r(69754);const g={width:5,height:2,left:0,top:0};class p{constructor(t){this._values=new Float64Array(t),this._distances=new Float64Array(t),this._parabolaIndices=new Int32Array(t),this._parabolaBoundaries=new Float64Array(t+1)}compute(t,e,r){let{_values:i,_distances:n}=this;for(let s=0;s<e;s++){for(let n=0;n<r;n++)i[n]=t[n*e+s];this._compute1D(i,n,r);for(let i=0;i<r;i++)t[i*e+s]=n[i]}for(let s=0;s<r;s++){let r=s*e;for(let n=0;n<e;n++)i[n]=t[r+n];this._compute1D(i,n,e);for(let i=0;i<e;i++)t[r+i]=Math.sqrt(n[i])}}_compute1D(t,e,r){let{_parabolaIndices:i,_parabolaBoundaries:n}=this;i[0]=0,n[0]=-1/0,n[1]=1/0;let s=0;for(let e=1;e<r;e++){let r;do{let n=i[s];r=(t[e]+e*e-(t[n]+n*n))/(2*e-2*n)}while(r<=n[s]&&--s>-1);s++,i[s]=e,n[s]=r,n[s+1]=1/0}for(let s=0,a=0;s<r;s++){for(;n[a+1]<s;)a++;let r=s-i[a];e[s]=r*r+t[i[a]]}}}class d{constructor(t){this.pxDensity=4,this.sdfSizePx=t.sdfSizePx,this.sdfBufferPx=t.sdfBufferPx,this.rasterSizePx=this.pxDensity*this.sdfSizePx,this.rasterBufferPx=this.pxDensity*this.sdfBufferPx,this.radius=t.radius,this.cutoff=t.cutoff;let e=this.pxDensity*t.sdfSizePx*3;this.canvasSize=e;let r=new OffscreenCanvas(e,e);this.context=r.getContext("2d",{willReadFrequently:!0}),this.context.imageSmoothingEnabled=!1,this.gridOuter=new Float64Array(e*e),this.gridInner=new Float64Array(e*e),this.distanceTransform=new p(e)}draw(t,e){let{context:r,gridInner:i,gridOuter:n,rasterSizePx:s,rasterBufferPx:a,canvasSize:o,radius:l,cutoff:h}=this,u=s/t.units_per_em();this.context.fillStyle="black",this.context.strokeStyle="black",this.context.resetTransform(),this.context.clearRect(0,0,o,o),this.context.translate(s,s),this.context.scale(u,u);let c=t.paintCurves(e,r);if(!c)return null;let f=c.xMin*u,g=c.xMax*u,p=c.yMin*u,d=c.yMax*u;c.free();let _=Math.ceil(g-f),y=Math.ceil(d-p),m=Math.floor(s+f-a),w=Math.floor(s+p-a),b=_+2*a,A=y+2*a,S=new Float32Array(Math.max(b*A,0)),T=r.getImageData(m,w,b,A);n.fill(Number.MAX_VALUE,0,S.length),i.fill(0,0,S.length);for(let t=0;t<A;t++)for(let e=0;e<b;e++){let r=A-1-t,s=T.data[4*(r*b+e)+3]/255;if(0===s)continue;let a=t*b+e;if(1===s)n[a]=0,i[a]=Number.MAX_VALUE;else{let t=.5-s;n[a]=t>0?t*t:0,i[a]=t<0?t*t:0}}this.distanceTransform.compute(n,b,A),this.distanceTransform.compute(i,b,A);for(let t=0;t<S.length;t++)S[t]=n[t]-i[t];let x=Math.ceil(b/this.pxDensity),k=Math.ceil(A/this.pxDensity),v=this.pxDensity*this.pxDensity,L=new Uint8ClampedArray(Math.max(x*k,0));for(let t=0;t<k;t++)for(let e=0;e<x;e++){let r=0;for(let i=0;i<this.pxDensity;i++)for(let n=0;n<this.pxDensity;n++)e+n>b||t+i>A||(r+=S[(this.pxDensity*t+i)*b+(this.pxDensity*e+n)]);let i=r/this.pxDensity/v/l+h;L[t*x+e]=Math.round(255-255*i)}let M=u*t.face_height(),N=Math.round(d-M+2*a),R=Math.round(f-a);return{buffer:L,rect:{width:Math.ceil(_/this.pxDensity),height:Math.ceil(y/this.pxDensity),top:Math.round(N/this.pxDensity),left:Math.round(R/this.pxDensity)}}}}var _=r(92602),y=r(51624);class m{constructor(t){this._rects=[],this._shapings=[],this._bitmaps=[];let e=new Map,r=0;for(;t.next();)switch(t.tag()){case 1:{let i=t.getMessage();for(;i.next();)switch(i.tag()){case 3:{let t,n,s,a,o,l,h,u=i.getMessage();for(;u.next();)switch(u.tag()){case 1:t=u.getUInt32();break;case 2:n=u.getBytes();break;case 3:s=u.getUInt32();break;case 4:a=u.getUInt32();break;case 5:o=u.getSInt32();break;case 6:l=u.getSInt32();break;case 7:h=u.getUInt32();break;default:u.skip()}if(u.release(),t){let i={width:s,height:a,left:o,top:l};this._rects[t]=i;let u={xOffset:0,yOffset:0,xAdvance:h,yAdvance:0};if(this._shapings[t]=u,n){let i=n.length;e.set(t,n),this._bitmaps[t]={start:r,length:i},r+=i}}break}default:i.skip()}i.release();break}default:t.skip()}this._buffer=new Uint8Array(r);for(let[t,r]of e)this._buffer.set(r,this._bitmaps[t].start)}getRect(t){return this._rects.at(t)}getShaping(t){return this._shapings.at(t)}getBitmap(t){let e=this._bitmaps.at(t);if(void 0!==e&&0!==e.length)return this._buffer.subarray(e.start,e.start+e.length)}}class w{constructor(){this._ranges=[]}getRange(t){return this._ranges.at(t)}addRange(t,e){this._ranges[t]=e}}class b{constructor(t){this._glyphInfo=new Map,this._baseURL=t,this._woff2URL=`${_.A.fontsUrl}/woff2/{fontstack}.woff2`}async fetchRange(t,e,r){let n=this._getFontStack(t);if(n.getRange(e))return;let s=256*e,a=s+255,o=this._baseURL.replace("{fontstack}",t).replace("{range}",s+"-"+a);return(0,i.A)(o,{responseType:"array-buffer",signal:r?.signal}).then(t=>{n.addRange(e,new m(new y.A(new Uint8Array(t.data),new DataView(t.data))))})}async preloadASCIIRange(t){let e=this._getFontStack(t),r=this._baseURL.replace("{fontstack}",t).replace("{range}","0-255"),n=await(0,i.A)(r,{responseType:"array-buffer"}),s=new m(new y.A(new Uint8Array(n.data),new DataView(n.data)));for(let t=0;t<=255;t++)e.getRange(t)||e.addRange(t,s)}getRange(t,e){return this._glyphInfo.get(t)?.getRange(Math.floor(e/256))}woffURL(t){return this._woff2URL.replace("{fontstack}",t)}_getFontStack(t){return this._glyphInfo.get(t)||this._glyphInfo.set(t,new w),this._glyphInfo.get(t)}}function A(t,e,r,i){return 1|t<<1|!!r<<2|("Nearest"===i)<<3|e<<4}var S=r(18989);class T{constructor(t,e){this._width=0,this._height=0,this._free=[],this._width=t,this._height=e,this._free.push(new S.A(0,0,t,e))}get width(){return this._width}get height(){return this._height}allocate(t,e){if(t>this._width||e>this._height)return new S.A;let r=null,i=-1;for(let n=0;n<this._free.length;++n){let s=this._free[n];t<=s.width&&e<=s.height&&(null===r||s.y<=r.y&&s.x<=r.x)&&(r=s,i=n)}return null===r?new S.A:(this._free.splice(i,1),r.width<r.height?(r.width>t&&this._free.push(new S.A(r.x+t,r.y,r.width-t,e)),r.height>e&&this._free.push(new S.A(r.x,r.y+e,r.width,r.height-e))):(r.width>t&&this._free.push(new S.A(r.x+t,r.y,r.width-t,r.height)),r.height>e&&this._free.push(new S.A(r.x,r.y+e,t,r.height-e))),new S.A(r.x,r.y,t,e))}release(t){for(let e=0;e<this._free.length;++e){let r=this._free[e];if(r.y===t.y&&r.height===t.height&&r.x+r.width===t.x)r.width+=t.width;else if(r.x===t.x&&r.width===t.width&&r.y+r.height===t.y)r.height+=t.height;else if(t.y===r.y&&t.height===r.height&&t.x+t.width===r.x)r.x=t.x,r.width+=t.width;else{if(t.x!==r.x||t.width!==r.width||t.y+t.height!==r.y)continue;r.y=t.y,r.height+=t.height}this._free.splice(e,1),this.release(t)}this._free.push(t)}}const x="arial-unicode-ms-regular",k=/[\u0695\u0698\u06a9\u06af\u06b5\u06be\u06c6\u06cc\u06ce\u06d5\u06ca]|\p{Script=Thai}|\p{Script=Lao}|\p{Script=Tamil}|\p{Script=Khmer}/u,v=new Set(["Noto Sans Khmer","Noto Sans Lao","Noto Sans Myanmar","Noto Sans Thai"]);class L{constructor(){this._glyphSources=new Map,this._snapCoords=!0,this._currentPage=0,this._faces=new Map,this._facePromises=new Map,this._pbfRangePromises=new Map,this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._invalidFonts=new Set,this._preloadCache={},this._glyphSDFCreator=new d({sdfSizePx:24,sdfBufferPx:3,radius:8,cutoff:.25})}set remoteClient(t){this._client=t.createInvokeProxy();let e=(0,l.QZ)(this._client.getOptions());this._inited=this._init(e)}async rasterizeText(t,e,r){await this._inited;let i=e.symbol?(0,f.Z)(e):null;return i?{type:"rich-glyphs",runs:(await Promise.all(i.map(async e=>({fontSize:e.fontSize,characterSpacing:e.characterSpacing,decoration:e.font.decoration,color:e.color,glyphs:await this._rasterizeTextRun(t,e.font,e.text,r)})))).filter(t=>null!=t.glyphs)}:this._rasterizeTextRun(t,e.font,e.textString,r)}async _rasterizeTextRun(t,e,r,i){let n=(0,s.rK)(e),l=this._invalidFonts.has(n),h=!!(0,a.A)("esri-2d-force-complex-shaping"),u=!!(0,a.A)("esri-2d-complex-shaping")&&k.test(r),c=v.has(e.family),f=h||u||c,g=l?x:n,p=await this.getGlyphItems(r,f,t,g,!1,i);return p||=(((t,e="")=>{o.A.getLogger("esri.views.MapView").warnOnce(t,e)})(`Font ${n} is not available on the web, using "Arial Unicode MS Regular"`),this._invalidFonts.add(n),await this.getGlyphItems(r,f,t,x,!1,i)),p}async getGlyphItems(t,e,r,i,s,o){await this._inited;let l,h,u,c=this._getSource(r);if((0,a.A)("esri-2d-stabilize-glyphs")&&await this.preloadASCIIGlyphCache(c,i).catch(()=>{}),e){let e=await this._getFace(c,i);if(!e)return null;let r=this._glyphCache.get(i);r||(r=new Map,this._glyphCache.set(i,r));let{shaping:n,isRTL:s}=this._shape(e,t);u=s,l=n.map(t=>this._getShapedGlyph(e,r,t)),h={baseline:e.baseline()/24,midline:e.midline()/24}}else{let e=this._pbfGlyphCache.get(i);e||(e=new Map,this._pbfGlyphCache.set(i,e));let[r,a,h]=(0,n.y)(t),f=function(t){let e=[];for(let r=0;r<t.length;r++)e.push(t.charCodeAt(r));return e}(r);try{await this._fetchRanges(c,i,f,o)}catch{return null}u=a,l=f.map(t=>this._getPBFGlyph(e,c,i,t,s)).filter(t=>!!t)}let f=l.filter(t=>t.needsRecord);return f.length>0&&await this._client.recordGlyphs(f),{type:"glyphs",glyphs:l,faceInfo:h,isRightToLeft:u,sdfSize:24,sdfRadius:8,sdfPadding:3}}async _init(t){let e=await t;if(!e)return;let{width:r,height:i,snapCoords:n}=e;this._glyphCache=new Map,this._pbfGlyphCache=new Map,this._binPack=new T(r,i),this._snapCoords=n,this._currentPage=0,this._initDecorationGlyphs()}_getShapedGlyph(t,e,r){let i,n,s=e.get(r.glyphId);if(!s){i=this._glyphSDFCreator.draw(t,r.glyphId);let a=this._glyphSDFCreator.sdfBufferPx;s={mosaicItem:{rect:this._recordGlyph(i?.rect,a),page:this._currentPage,sdf:!0,textureBinding:A(1,this._currentPage,!0)},glyphRect:i?.rect??{width:0,height:0,top:0,left:0}},e.set(r.glyphId,s),n=!0}return{mosaicItem:s.mosaicItem,rect:s.glyphRect,shaping:{xAdvance:r.xAdvance,yAdvance:r.yAdvance,xOffset:r.xOffset,yOffset:r.yOffset},code:r.isNewline?10:r.isWhitespace?32:NaN,sdf:i,needsRecord:n}}_getPBFGlyph(t,e,r,i,n=!1){let s,a,o=t.get(i);if(!o){let l=e.getRange(r,i),h=l?.getRect(i),u=l?.getShaping(i),c=l?.getBitmap(i);if(n&&(!h||!u))return;if(!h||!u)return N(i);s=c&&{buffer:c,rect:h},o={mosaicItem:{rect:c?this._recordGlyph(h,3):new S.A(0,0,0,0),sdf:!0,page:this._currentPage,textureBinding:A(1,this._currentPage,!0)},rect:h,shaping:u,code:i},a=!0,t.set(i,o)}let{mosaicItem:l,rect:h,shaping:u}=o;return{mosaicItem:l,rect:h,shaping:u,code:i,sdf:s,needsRecord:a}}_shape(t,e){let r=this._glyphSDFCreator.sdfSizePx,[i,s,a]=(0,n.y)(e,!1),o=new Uint32Array(Array.from(i).map((t,e)=>a.levels[a.targetToSource[e]]));return{shaping:t.shape(i,o,r),isRTL:s}}async _getFace(t,e,r){if(this._faces.has(e))return this._faces.get(e);let n=t.woffURL(e);return await M(this._facePromises,e,async()=>{let t=await(0,i.A)(n,{responseType:"array-buffer",...r}),s=(await c()).Face.parseWoff2(new Uint8Array(t.data));this._faces.set(e,s)}),this._faces.get(e)}_getSource(t){return this._glyphSources.has(t)||this._glyphSources.set(t,new b(t)),this._glyphSources.get(t)}async _fetchRanges(t,e,r,i){let n=function(t){let e=new Set;for(let r of t)e.add(Math.floor(r/256));return e}(r),s=[];n.forEach(r=>{s.push(this._fetchRange(t,e,r,i))}),await Promise.all(s)}async _fetchRange(t,e,r,i){if(r>256)return;let n=e+r;return M(this._pbfRangePromises,n,()=>t.fetchRange(e,r,i))}_allocNewPage(){this._currentPage++,this._binPack=new T(this._binPack.width,this._binPack.height),this._initDecorationGlyphs()}_recordGlyph(t,e){let r=this._binPack;if(!t||0===t.width)return new S.A;let i=t.width+2*e,n=t.height+2*e,s=i,a=n;this._snapCoords&&(s+=i%4?4-i%4:4,a+=n%4?4-n%4:4);let o=r.allocate(s,a);return o.isEmpty?(this._allocNewPage(),r.allocate(s,a)):o}_initDecorationGlyphs(){this._recordGlyph(g,3),this._recordGlyph(g,3)}preloadASCIIGlyphCache(t,e){let r=this._preloadCache[e];if(null!=r)return r;let i=t.preloadASCIIRange(e).then(async()=>{let r=this._pbfGlyphCache.get(e);r||(r=new Map,this._pbfGlyphCache.set(e,r));let i=[];for(let n=0;n<256;n++){let s=this._getPBFGlyph(r,t,e,n);s?.needsRecord&&i.push(s)}await this._client.recordGlyphs(i)},t=>{throw delete this._preloadCache[e],t});return this._preloadCache[e]=i,i}}function M(t,e,r){return t.has(e)||t.set(e,r().finally(()=>{t.delete(e)}).catch(t=>{(0,l.jH)(t)})),t.get(e)}const N=t=>({mosaicItem:{rect:new S.A(0,0,0,0),sdf:!0,page:0},rect:{left:0,width:0,height:0,top:0},shaping:{xAdvance:0,yAdvance:0,xOffset:0,yOffset:0},code:t})},18989(t,e,r){r.d(e,{A:()=>i});class i{constructor(t=0,e=0,r=0,i=0){this.x=t,this.y=e,this.width=r,this.height=i}get isEmpty(){return this.width<=0||this.height<=0}union(t){this.x=Math.min(this.x,t.x),this.y=Math.min(this.y,t.y),this.width=Math.max(this.width,t.width),this.height=Math.max(this.height,t.height)}}}}]);
|
|
File without changes
|