@arcgis/map-components 5.1.0-next.109 → 5.1.0-next.111

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.
Files changed (126) hide show
  1. package/dist/cdn/2SFQKFYO.js +2 -0
  2. package/dist/cdn/{X3YFIQGW.js → 3J457ML6.js} +1 -1
  3. package/dist/cdn/4SNOTPCF.js +2 -0
  4. package/dist/cdn/6QQ4WA4M.js +2 -0
  5. package/dist/cdn/{R4VSDUYE.js → KYVT2WTY.js} +1 -1
  6. package/dist/cdn/PFVM4TPN.js +2 -0
  7. package/dist/cdn/TBKV4QZ6.js +2 -0
  8. package/dist/cdn/TFFF4SV3.js +2 -0
  9. package/dist/cdn/YUQI6BEG.js +2 -0
  10. package/dist/cdn/assets/print/t9n/messages.ar.json +1 -1
  11. package/dist/cdn/assets/print/t9n/messages.bg.json +1 -1
  12. package/dist/cdn/assets/print/t9n/messages.bs.json +1 -1
  13. package/dist/cdn/assets/print/t9n/messages.ca.json +1 -1
  14. package/dist/cdn/assets/print/t9n/messages.cs.json +1 -1
  15. package/dist/cdn/assets/print/t9n/messages.da.json +1 -1
  16. package/dist/cdn/assets/print/t9n/messages.de.json +1 -1
  17. package/dist/cdn/assets/print/t9n/messages.el.json +1 -1
  18. package/dist/cdn/assets/print/t9n/messages.en.json +1 -1
  19. package/dist/cdn/assets/print/t9n/messages.es.json +1 -1
  20. package/dist/cdn/assets/print/t9n/messages.et.json +1 -1
  21. package/dist/cdn/assets/print/t9n/messages.fi.json +1 -1
  22. package/dist/cdn/assets/print/t9n/messages.fr.json +1 -1
  23. package/dist/cdn/assets/print/t9n/messages.he.json +1 -1
  24. package/dist/cdn/assets/print/t9n/messages.hr.json +1 -1
  25. package/dist/cdn/assets/print/t9n/messages.hu.json +1 -1
  26. package/dist/cdn/assets/print/t9n/messages.id.json +1 -1
  27. package/dist/cdn/assets/print/t9n/messages.it.json +1 -1
  28. package/dist/cdn/assets/print/t9n/messages.ja.json +1 -1
  29. package/dist/cdn/assets/print/t9n/messages.ko.json +1 -1
  30. package/dist/cdn/assets/print/t9n/messages.lt.json +1 -1
  31. package/dist/cdn/assets/print/t9n/messages.lv.json +1 -1
  32. package/dist/cdn/assets/print/t9n/messages.nl.json +1 -1
  33. package/dist/cdn/assets/print/t9n/messages.no.json +1 -1
  34. package/dist/cdn/assets/print/t9n/messages.pl.json +1 -1
  35. package/dist/cdn/assets/print/t9n/messages.pt-BR.json +1 -1
  36. package/dist/cdn/assets/print/t9n/messages.pt-PT.json +1 -1
  37. package/dist/cdn/assets/print/t9n/messages.ro.json +1 -1
  38. package/dist/cdn/assets/print/t9n/messages.ru.json +1 -1
  39. package/dist/cdn/assets/print/t9n/messages.sk.json +1 -1
  40. package/dist/cdn/assets/print/t9n/messages.sl.json +1 -1
  41. package/dist/cdn/assets/print/t9n/messages.sr.json +1 -1
  42. package/dist/cdn/assets/print/t9n/messages.sv.json +1 -1
  43. package/dist/cdn/assets/print/t9n/messages.th.json +1 -1
  44. package/dist/cdn/assets/print/t9n/messages.tr.json +1 -1
  45. package/dist/cdn/assets/print/t9n/messages.uk.json +1 -1
  46. package/dist/cdn/assets/print/t9n/messages.vi.json +1 -1
  47. package/dist/cdn/assets/print/t9n/messages.zh-CN.json +1 -1
  48. package/dist/cdn/assets/print/t9n/messages.zh-HK.json +1 -1
  49. package/dist/cdn/assets/print/t9n/messages.zh-TW.json +1 -1
  50. package/dist/cdn/assets/shadow-cast/t9n/messages.ar.json +1 -1
  51. package/dist/cdn/assets/shadow-cast/t9n/messages.bg.json +1 -1
  52. package/dist/cdn/assets/shadow-cast/t9n/messages.bs.json +1 -1
  53. package/dist/cdn/assets/shadow-cast/t9n/messages.ca.json +1 -1
  54. package/dist/cdn/assets/shadow-cast/t9n/messages.cs.json +1 -1
  55. package/dist/cdn/assets/shadow-cast/t9n/messages.da.json +1 -1
  56. package/dist/cdn/assets/shadow-cast/t9n/messages.de.json +1 -1
  57. package/dist/cdn/assets/shadow-cast/t9n/messages.el.json +1 -1
  58. package/dist/cdn/assets/shadow-cast/t9n/messages.en.json +1 -1
  59. package/dist/cdn/assets/shadow-cast/t9n/messages.es.json +1 -1
  60. package/dist/cdn/assets/shadow-cast/t9n/messages.et.json +1 -1
  61. package/dist/cdn/assets/shadow-cast/t9n/messages.fi.json +1 -1
  62. package/dist/cdn/assets/shadow-cast/t9n/messages.fr.json +1 -1
  63. package/dist/cdn/assets/shadow-cast/t9n/messages.he.json +1 -1
  64. package/dist/cdn/assets/shadow-cast/t9n/messages.hr.json +1 -1
  65. package/dist/cdn/assets/shadow-cast/t9n/messages.hu.json +1 -1
  66. package/dist/cdn/assets/shadow-cast/t9n/messages.id.json +1 -1
  67. package/dist/cdn/assets/shadow-cast/t9n/messages.it.json +1 -1
  68. package/dist/cdn/assets/shadow-cast/t9n/messages.ja.json +1 -1
  69. package/dist/cdn/assets/shadow-cast/t9n/messages.ko.json +1 -1
  70. package/dist/cdn/assets/shadow-cast/t9n/messages.lt.json +1 -1
  71. package/dist/cdn/assets/shadow-cast/t9n/messages.lv.json +1 -1
  72. package/dist/cdn/assets/shadow-cast/t9n/messages.nl.json +1 -1
  73. package/dist/cdn/assets/shadow-cast/t9n/messages.no.json +1 -1
  74. package/dist/cdn/assets/shadow-cast/t9n/messages.pl.json +1 -1
  75. package/dist/cdn/assets/shadow-cast/t9n/messages.pt-BR.json +1 -1
  76. package/dist/cdn/assets/shadow-cast/t9n/messages.pt-PT.json +1 -1
  77. package/dist/cdn/assets/shadow-cast/t9n/messages.ro.json +1 -1
  78. package/dist/cdn/assets/shadow-cast/t9n/messages.ru.json +1 -1
  79. package/dist/cdn/assets/shadow-cast/t9n/messages.sk.json +1 -1
  80. package/dist/cdn/assets/shadow-cast/t9n/messages.sl.json +1 -1
  81. package/dist/cdn/assets/shadow-cast/t9n/messages.sr.json +1 -1
  82. package/dist/cdn/assets/shadow-cast/t9n/messages.sv.json +1 -1
  83. package/dist/cdn/assets/shadow-cast/t9n/messages.th.json +1 -1
  84. package/dist/cdn/assets/shadow-cast/t9n/messages.tr.json +1 -1
  85. package/dist/cdn/assets/shadow-cast/t9n/messages.uk.json +1 -1
  86. package/dist/cdn/assets/shadow-cast/t9n/messages.vi.json +1 -1
  87. package/dist/cdn/assets/shadow-cast/t9n/messages.zh-CN.json +1 -1
  88. package/dist/cdn/assets/shadow-cast/t9n/messages.zh-HK.json +1 -1
  89. package/dist/cdn/assets/shadow-cast/t9n/messages.zh-TW.json +1 -1
  90. package/dist/cdn/assets/sketch/t9n/messages.en.json +1 -0
  91. package/dist/cdn/index.js +1 -1
  92. package/dist/chunks/layer-list-item-indicator.js +24 -27
  93. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +8 -0
  94. package/dist/components/arcgis-coordinate-conversion/customElement.js +118 -120
  95. package/dist/components/arcgis-coordinate-conversion/index.js +2 -1
  96. package/dist/components/arcgis-features/customElement.d.ts +9 -1
  97. package/dist/components/arcgis-features/customElement.js +76 -64
  98. package/dist/components/arcgis-layer-list-new/customElement.js +1 -1
  99. package/dist/components/arcgis-layer-list-new/layer-list-item/customElement.js +24 -24
  100. package/dist/components/arcgis-link-chart/customElement.d.ts +1 -1
  101. package/dist/components/arcgis-map/customElement.d.ts +1 -1
  102. package/dist/components/arcgis-presentation/customElement.js +12 -11
  103. package/dist/components/arcgis-print/customElement.d.ts +30 -3
  104. package/dist/components/arcgis-print-export-button/customElement.js +13 -8
  105. package/dist/components/arcgis-print-export-button/index.js +1 -0
  106. package/dist/components/arcgis-print-template-selector/customElement.js +4 -4
  107. package/dist/components/arcgis-scene/customElement.d.ts +1 -1
  108. package/dist/components/arcgis-shadow-cast/customElement.d.ts +141 -78
  109. package/dist/components/arcgis-shadow-cast/customElement.js +111 -90
  110. package/dist/docs/api.json +1 -1
  111. package/dist/docs/docs.json +1 -1
  112. package/dist/docs/vscode.html-custom-data.json +1 -1
  113. package/dist/docs/web-types.json +1 -1
  114. package/dist/loader.js +3 -3
  115. package/dist/types/lumina.d.ts +2 -2
  116. package/dist/types/preact.d.ts +2 -2
  117. package/dist/types/react.d.ts +2 -2
  118. package/dist/types/stencil.d.ts +2 -2
  119. package/package.json +5 -5
  120. package/dist/cdn/2FEX7FAZ.js +0 -2
  121. package/dist/cdn/2SZ3WJGX.js +0 -2
  122. package/dist/cdn/KOBC25QZ.js +0 -2
  123. package/dist/cdn/O2ECQYMW.js +0 -2
  124. package/dist/cdn/R6JH26DC.js +0 -2
  125. package/dist/cdn/RED6TO3K.js +0 -2
  126. package/dist/cdn/XVWZZS5G.js +0 -2
package/dist/loader.js CHANGED
@@ -18,7 +18,7 @@ const s = t(e, {
18
18
  "arcgis-building-phase-picker": [() => import("./components/arcgis-building-phase-picker/customElement.js"), "messages:,numberOfPhases:,phase:,phaseHeight:"],
19
19
  "arcgis-catalog-layer-list": [() => import("./components/arcgis-catalog-layer-list/customElement.js"), "autoDestroyDisabled,catalogItems:,catalogLayer:,closed,collapsed,filterPlaceholder,filterPredicate:,filterText,headingLevel,hideStatusIndicators,icon,label,layerTablesEnabled:,listItemCreatedFunction:,minFilterItems,onCatalogOpen:,onTablesOpen:,referenceElement,selectedItems:,selectionMode,showCloseButton,showCollapseButton,showErrors,showFilter,showHeading,showTemporaryLayerIndicators,state:,view:,visibilityAppearance;destroy"],
20
20
  "arcgis-compass": [() => import("./components/arcgis-compass/customElement.js"), "autoDestroyDisabled,canShowNorth:,goToOverride:,icon,label,messageOverrides:,messages:,orientation:,referenceElement,state:,view:,visualScale;destroy,reset"],
21
- "arcgis-coordinate-conversion": [() => import("./components/arcgis-coordinate-conversion/customElement.js"), "autoDestroyDisabled,conversions:,currentLocation:,expanded,formats:,goToOverride:,headingLevel,hideCaptureButton,hideCaptureSection,hideExpandButton,hideInputButton,hideInputSection,hideSettingsButton,icon,ignoreCoordinatePrecision,label,locationSymbol:,messages:,mode,multipleConversionsDisabled,orientation,referenceElement,removeLeadingZeros,showElevation,state:,storageDisabled,storageType,verticalUnit,view:;destroy,reverseConvert"],
21
+ "arcgis-coordinate-conversion": [() => import("./components/arcgis-coordinate-conversion/customElement.js"), "autoDestroyDisabled,conversions:,currentLocation:,expanded,formats:,goToOverride:,headingLevel,hideCaptureButton,hideCaptureSection,hideExpandButton,hideInputButton,hideInputSection,hideSettingsButton,icon,ignoreCoordinatePrecision,label,locationSymbol:,messages:,mode,multipleConversionsDisabled,orientation,referenceElement,removeLeadingZeros,showElevation,state:,storageDisabled,storageType,verticalUnit,view:,visualScale;destroy,reverseConvert"],
22
22
  "arcgis-daylight": [() => import("./components/arcgis-daylight/customElement.js"), "autoDestroyDisabled,currentSeason,dateOrSeason,dayPlaying,headingLevel,hideDatePicker,hideHeader,hidePlayButtons,hideShadowsToggle,hideSunLightingToggle,hideTimezone,icon,label,localDate,messages:,playSpeedMultiplier,referenceElement,timeSliderPosition,timeSliderSteps,utcOffset,view:,yearPlaying;destroy"],
23
23
  "arcgis-directional-pad": [() => import("./components/arcgis-directional-pad/customElement.js"), "autoDestroyDisabled,disabled,hideDirectionalButtons,icon,label,messageOverrides:,messages:,referenceElement,showRotationResetButton,showRotationSlider,state:,view:,visualScale;destroy"],
24
24
  "arcgis-directions": [() => import("./components/arcgis-directions/customElement.js"), "apiKey,autoDestroyDisabled,autoSolveOnEditActive,goToOverride:,headingLevel,hideLayerDetails,hidePrintButton,hideSaveAsButton,hideSaveButton,icon,label,lastRoute:,layer:,layerId,maxStops,referenceElement,routeLayerItemId,searchProperties:,state:,unit,useDefaultRouteLayer,view:;destroy,getDirections,save,saveAs,startEditing,stopEditing,zoomToRoute"],
@@ -45,7 +45,7 @@ const s = t(e, {
45
45
  "arcgis-feature-templates-legacy": [() => import("./components/arcgis-feature-templates-legacy/customElement.js"), "autoDestroyDisabled,disabledItemFunction:,enableListScroll,filterFunction:,filterText,groupBy,headingLevel,hideFilter,icon,items:,label,layers:,referenceElement,selectedItem:,selectionMode,state:,view:;destroy;select"],
46
46
  "arcgis-feature-utility-network-association-list": [() => import("./components/arcgis-feature-utility-network-association-list/customElement.js"), "associatedFeatureCount:,associationViewModels:,autoDestroyDisabled,currentFeaturePage,description,displayCount,endIndex:,featuresPerPage,flowItems:,flowType,heading,map:,maxFeatureCount,messages:,parentFeatureViewModel:,referenceElement,selectedLayer:,showAllEnabled,spatialReference:,state,timeZone,tooltipReferenceMap:,useFeatureNextFlowItem,view:;destroy"],
47
47
  "arcgis-feature-utility-network-associations": [() => import("./components/arcgis-feature-utility-network-associations/customElement.js"), "associationTypes:,autoDestroyDisabled,description,flowItems:,flowType,graphic:,heading,headingLevel,layer:,map:,messages:,parentFeatureViewModel:,referenceElement,source,spatialReference:,timeZone,useFeatureNextFlowItem,view:;destroy"],
48
- "arcgis-features": [() => import("./components/arcgis-features/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,featureCount,featureMenuOpen,featureMenuTitle,featureNavigationTop,features:,featuresPerPage,featureViewModelAbilities:,goToOverride:,headerActions:,heading,headingLevel,hideActionBar,hideAttachmentsContent,hideCloseButton,hideContent,hideCustomContent,hideExpressionContent,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideRelationshipContent,hideSelectFeature,hideSpinner,hideTextContent,hideUtilityNetworkContent,highlightDisabled,icon,includeDefaultActionsDisabled,initialDisplayMode,label,location:,map:,messageOverrides:,messages:,open,promises:,referenceElement,responsiveActionsEnabled,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,showCollapseButton,spatialReference:,state:,timeZone,updateLocationEnabled,view:,viewModel:;clear,close,destroy,fetchFeatures,next,previous,setFocus,triggerAction"],
48
+ "arcgis-features": [() => import("./components/arcgis-features/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,effectiveHeading:,featureCount,featureMenuOpen,featureMenuTitle,featureNavigationTop,features:,featuresPerPage,featureViewModelAbilities:,goToOverride:,headerActions:,heading,headingLevel,hideActionBar,hideAttachmentsContent,hideCloseButton,hideContent,hideCustomContent,hideExpressionContent,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideRelationshipContent,hideSelectFeature,hideSpinner,hideTextContent,hideUtilityNetworkContent,highlightDisabled,icon,includeDefaultActionsDisabled,initialDisplayMode,label,location:,map:,messageOverrides:,messages:,open,promises:,referenceElement,responsiveActionsEnabled,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,showCollapseButton,spatialReference:,state:,timeZone,updateLocationEnabled,view:,viewModel:;clear,close,destroy,fetchFeatures,next,previous,setFocus,triggerAction"],
49
49
  "arcgis-features-next": [() => import("./components/arcgis-features-next/customElement.js"), "actions:,active:,autoDestroyDisabled,chartAnimationDisabled,collapsed,content,defaultPopupTemplateEnabled,effectiveHeading:,featureCount,featureItemAbilities:,featureMenuOpen,featureMenuTitle,featureNavigationTop,features:,featuresPerPage,goToOverride:,headerActions:,heading,headingLevel,hideActionBar,hideAttachmentsContent,hideCloseButton,hideContent,hideCustomContent,hideExpressionContent,hideFeatureListLayerTitle,hideFeatureMenuHeading,hideFeatureNavigation,hideFieldsContent,hideHeading,hideLastEditedInfo,hideMediaContent,hideRelationshipContent,hideSelectFeature,hideSpinner,hideTextContent,hideUtilityNetworkContent,highlightDisabled,icon,includeDefaultActionsDisabled,initialDisplayMode,label,location:,map:,messageOverrides:,messages:,open,promises:,referenceElement,responsiveActionsEnabled,selectedDrillInFeature:,selectedFeature:,selectedFeatureComponent:,selectedFeatureIndex,showCollapseButton,spatialReference:,state:,timeZone,updateLocationEnabled,view:,viewModel:;destroy,fetchFeatures,setFocus,triggerAction;clear,close,next,previous"],
50
50
  "arcgis-floor-filter": [() => import("./components/arcgis-floor-filter/customElement.js"), "autoDestroyDisabled,facility,goToOverride:,headingLevel,icon,label,level,longNames,messageOverrides:,messages:,referenceElement,site,view:;destroy,updateWebDocument"],
51
51
  "arcgis-fullscreen": [() => import("./components/arcgis-fullscreen/customElement.js"), "element,label,messageOverrides:,messages:,referenceElement,state,view:,visualScale"],
@@ -111,7 +111,7 @@ const s = t(e, {
111
111
  "arcgis-scene": [() => import("./components/arcgis-scene/customElement.js"), "allLayerViews:,alphaCompositingEnabled,analyses:,animationsDisabled,aria:,attributionItems:,attributionMode,autoDestroyDisabled,basemap,basemapView:,camera:,cameraFov,cameraHeading,cameraPosition,cameraTilt,canZoomIn:,canZoomOut:,center,clippingArea:,constraints:,displayFilterDisabled,environment:,extent:,fatalError:,floors:,focusAreas:,gamepad:,graphics:,ground,groundView:,hideAttribution,highlights:,interacting:,itemId,layerViews:,loadErrorSources:,magnifier:,map:,navigating:,navigation:,padding:,performanceInfo:,popup:,popupComponentEnabled,popupDisabled,popupElement:,qualityProfile,ready:,resolution:,scale,selectionManager:,slotGroupRefs:,spatialReference:,stationary:,suspended,theme:,timeExtent:,updating:,view:,viewingMode,viewpoint:,visibleArea:,zoom;closePopup,destroy,focusPopup,goTo,hitTest,openPopup,takeScreenshot,tryFatalErrorRecovery,viewOnReady,whenAnalysisView,whenLayerView,zoomIn,zoomOut;toMap,toScreen"],
112
112
  "arcgis-search": [() => import("./components/arcgis-search/customElement.js"), "activeMenu,activeSource:,activeSourceIndex,allPlaceholder,allSources:,autoDestroyDisabled,autoNavigateDisabled,autoSelectDisabled,defaultSources:,disabled,goToOverride:,icon,includeDefaultSourcesDisabled,label,locationDisabled,maxResults,maxSuggestions,messageOverrides:,messages:,minSuggestCharacters,popupDisabled,popupTemplate:,portal:,referenceElement,resultGraphic:,resultGraphicDisabled,results:,searchAllDisabled,searchTerm,selectedResult:,sources:,state:,suggestions:,suggestionsDisabled,topLayerDisabled,view:;destroy,search,setFocus,suggest;clear"],
113
113
  "arcgis-search-result-renderer": [() => import("./components/arcgis-search-result-renderer/customElement.js"), "autoDestroyDisabled,messages:,viewModel:;destroy"],
114
- "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "analysis:,autoDestroyDisabled,date,discreteColor:,discreteInterval,endTimeOfDay,headingLevel,hideDatePicker,hideDiscreteColorPicker,hideDiscreteInterval,hideDiscreteOptions,hideMinDurationColorPicker,hideMinDurationContextColorPicker,hideMinDurationContextInterval,hideMinDurationContextOptions,hideMinDurationContextToggle,hideMinDurationOptions,hideMinDurationSlider,hideShadowDurationTooltip,hideTimeRangeSlider,hideTimezone,hideTotalDurationColorPicker,hideTotalDurationModeSelect,hideTotalDurationOptions,hideVisualization,hideVisualizationOptions,icon,label,maxMinDuration,messages:,minDuration,minDurationColor:,minDurationContextColor:,minDurationContextEnabled,minDurationContextInterval,minMinDuration,mode,referenceElement,startTimeOfDay,state:,totalDurationColor:,totalDurationMode,utcOffset,view:,visualScale;destroy,getDurationAtScreen"],
114
+ "arcgis-shadow-cast": [() => import("./components/arcgis-shadow-cast/customElement.js"), "analysis:,autoDestroyDisabled,date,discreteColor:,discreteInterval,endTimeOfDay,headingLevel,hideDatePicker,hideDiscreteColorPicker,hideDiscreteInterval,hideDiscreteOptions,hideMinDurationColorPicker,hideMinDurationContextColorPicker,hideMinDurationContextInterval,hideMinDurationContextOptions,hideMinDurationContextToggle,hideMinDurationOptions,hideMinDurationSlider,hideShadowDurationTooltip,hideTimeRangeSlider,hideTimezone,hideTotalDurationColorPicker,hideTotalDurationModeSelect,hideTotalDurationOptions,hideVisualization,hideVisualizationOptions,icon,label,maxMinDuration,messages:,minDuration,minDurationColor:,minDurationContextColor:,minDurationContextEnabled,minDurationContextInterval,minMinDuration,mode,referenceElement,startTimeOfDay,state:,totalDurationColor:,totalDurationMode,utcOffset,view:,visualizeSunlight,visualScale;destroy,getDurationAtScreen"],
115
115
  "arcgis-shadow-cast-discrete-config": [() => import("./components/arcgis-shadow-cast-discrete-config/customElement.js"), "hideColorPicker,hideInterval,messages:,options:,scale"],
116
116
  "arcgis-shadow-cast-min-duration-config": [() => import("./components/arcgis-shadow-cast-min-duration-config/customElement.js"), "hideColorPicker,hideContextColorPicker,hideContextInterval,hideContextOptions,hideContextToggle,hideSlider,maxMinDuration,messages:,minMinDuration,options:,scale"],
117
117
  "arcgis-shadow-cast-total-duration-config": [() => import("./components/arcgis-shadow-cast-total-duration-config/customElement.js"), "hideColorPicker,hideModeSelect,messages:,options:,scale"],
@@ -192,7 +192,7 @@ interface LuminaArcgisCompass extends Partial<Pick<ArcgisCompass, "autoDestroyDi
192
192
  onarcgisReady?: EventHandler<ArcgisCompass["arcgisReady"]>;
193
193
  }
194
194
 
195
- interface LuminaArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view">>, h.JSX.HTMLAttributes<ArcgisCoordinateConversion> {
195
+ interface LuminaArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view" | "visualScale">>, h.JSX.HTMLAttributes<ArcgisCoordinateConversion> {
196
196
  onarcgisConversionChange?: EventHandler<ArcgisCoordinateConversion["arcgisConversionChange"]>;
197
197
  onarcgisPropertyChange?: EventHandler<ArcgisCoordinateConversion["arcgisPropertyChange"]>;
198
198
  onarcgisReady?: EventHandler<ArcgisCoordinateConversion["arcgisReady"]>;
@@ -539,7 +539,7 @@ interface LuminaArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
539
539
  onarcgisReady?: EventHandler<ArcgisSearchResultRenderer["arcgisReady"]>;
540
540
  }
541
541
 
542
- interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualScale">>, ArcgisShadowCastSetterTypes, h.JSX.HTMLAttributes<ArcgisShadowCast> {
542
+ interface LuminaArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualizeSunlight" | "visualScale">>, ArcgisShadowCastSetterTypes, h.JSX.HTMLAttributes<ArcgisShadowCast> {
543
543
  onarcgisPropertyChange?: EventHandler<ArcgisShadowCast["arcgisPropertyChange"]>;
544
544
  onarcgisReady?: EventHandler<ArcgisShadowCast["arcgisReady"]>;
545
545
  }
@@ -193,7 +193,7 @@ interface PreactArcgisCompass extends Partial<Pick<ArcgisCompass, "autoDestroyDi
193
193
  onarcgisReady?: EventHandler<ArcgisCompass["arcgisReady"]>;
194
194
  }
195
195
 
196
- interface PreactArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view">>, HTMLAttributes<ArcgisCoordinateConversion> {
196
+ interface PreactArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view" | "visualScale">>, HTMLAttributes<ArcgisCoordinateConversion> {
197
197
  onarcgisConversionChange?: EventHandler<ArcgisCoordinateConversion["arcgisConversionChange"]>;
198
198
  onarcgisPropertyChange?: EventHandler<ArcgisCoordinateConversion["arcgisPropertyChange"]>;
199
199
  onarcgisReady?: EventHandler<ArcgisCoordinateConversion["arcgisReady"]>;
@@ -540,7 +540,7 @@ interface PreactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResu
540
540
  onarcgisReady?: EventHandler<ArcgisSearchResultRenderer["arcgisReady"]>;
541
541
  }
542
542
 
543
- interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualScale">>, ArcgisShadowCastSetterTypes, HTMLAttributes<ArcgisShadowCast> {
543
+ interface PreactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualizeSunlight" | "visualScale">>, ArcgisShadowCastSetterTypes, HTMLAttributes<ArcgisShadowCast> {
544
544
  onarcgisPropertyChange?: EventHandler<ArcgisShadowCast["arcgisPropertyChange"]>;
545
545
  onarcgisReady?: EventHandler<ArcgisShadowCast["arcgisReady"]>;
546
546
  }
@@ -193,7 +193,7 @@ interface ReactArcgisCompass extends Partial<Pick<ArcgisCompass, "autoDestroyDis
193
193
  onarcgisReady?: EventHandler<ArcgisCompass["arcgisReady"]>;
194
194
  }
195
195
 
196
- interface ReactArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view">>, HTMLProps<ArcgisCoordinateConversion> {
196
+ interface ReactArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view" | "visualScale">>, HTMLProps<ArcgisCoordinateConversion> {
197
197
  onarcgisConversionChange?: EventHandler<ArcgisCoordinateConversion["arcgisConversionChange"]>;
198
198
  onarcgisPropertyChange?: EventHandler<ArcgisCoordinateConversion["arcgisPropertyChange"]>;
199
199
  onarcgisReady?: EventHandler<ArcgisCoordinateConversion["arcgisReady"]>;
@@ -540,7 +540,7 @@ interface ReactArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchResul
540
540
  onarcgisReady?: EventHandler<ArcgisSearchResultRenderer["arcgisReady"]>;
541
541
  }
542
542
 
543
- interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualScale">>, ArcgisShadowCastSetterTypes, HTMLProps<ArcgisShadowCast> {
543
+ interface ReactArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualizeSunlight" | "visualScale">>, ArcgisShadowCastSetterTypes, HTMLProps<ArcgisShadowCast> {
544
544
  onarcgisPropertyChange?: EventHandler<ArcgisShadowCast["arcgisPropertyChange"]>;
545
545
  onarcgisReady?: EventHandler<ArcgisShadowCast["arcgisReady"]>;
546
546
  }
@@ -193,7 +193,7 @@ interface StencilArcgisCompass extends Partial<Pick<ArcgisCompass, "autoDestroyD
193
193
  onArcgisReady?: EventHandler<ArcgisCompass["arcgisReady"]>;
194
194
  }
195
195
 
196
- interface StencilArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view">>, StencilJsx.HTMLAttributes<ArcgisCoordinateConversion> {
196
+ interface StencilArcgisCoordinateConversion extends Partial<Pick<ArcgisCoordinateConversion, "autoDestroyDisabled" | "conversions" | "currentLocation" | "expanded" | "formats" | "goToOverride" | "headingLevel" | "hideCaptureButton" | "hideCaptureSection" | "hideExpandButton" | "hideInputButton" | "hideInputSection" | "hideSettingsButton" | "icon" | "ignoreCoordinatePrecision" | "label" | "locationSymbol" | "mode" | "multipleConversionsDisabled" | "orientation" | "referenceElement" | "removeLeadingZeros" | "showElevation" | "storageDisabled" | "storageType" | "verticalUnit" | "view" | "visualScale">>, StencilJsx.HTMLAttributes<ArcgisCoordinateConversion> {
197
197
  onArcgisConversionChange?: EventHandler<ArcgisCoordinateConversion["arcgisConversionChange"]>;
198
198
  onArcgisPropertyChange?: EventHandler<ArcgisCoordinateConversion["arcgisPropertyChange"]>;
199
199
  onArcgisReady?: EventHandler<ArcgisCoordinateConversion["arcgisReady"]>;
@@ -540,7 +540,7 @@ interface StencilArcgisSearchResultRenderer extends Partial<Pick<ArcgisSearchRes
540
540
  onArcgisReady?: EventHandler<ArcgisSearchResultRenderer["arcgisReady"]>;
541
541
  }
542
542
 
543
- interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualScale">>, ArcgisShadowCastSetterTypes, StencilJsx.HTMLAttributes<ArcgisShadowCast> {
543
+ interface StencilArcgisShadowCast extends Partial<Pick<ArcgisShadowCast, "analysis" | "autoDestroyDisabled" | "discreteColor" | "discreteInterval" | "endTimeOfDay" | "headingLevel" | "hideDatePicker" | "hideDiscreteColorPicker" | "hideDiscreteInterval" | "hideDiscreteOptions" | "hideMinDurationColorPicker" | "hideMinDurationContextColorPicker" | "hideMinDurationContextInterval" | "hideMinDurationContextOptions" | "hideMinDurationContextToggle" | "hideMinDurationOptions" | "hideMinDurationSlider" | "hideShadowDurationTooltip" | "hideTimeRangeSlider" | "hideTimezone" | "hideTotalDurationColorPicker" | "hideTotalDurationModeSelect" | "hideTotalDurationOptions" | "hideVisualization" | "hideVisualizationOptions" | "icon" | "label" | "maxMinDuration" | "minDuration" | "minDurationColor" | "minDurationContextColor" | "minDurationContextEnabled" | "minDurationContextInterval" | "minMinDuration" | "mode" | "referenceElement" | "startTimeOfDay" | "totalDurationColor" | "totalDurationMode" | "utcOffset" | "view" | "visualizeSunlight" | "visualScale">>, ArcgisShadowCastSetterTypes, StencilJsx.HTMLAttributes<ArcgisShadowCast> {
544
544
  onArcgisPropertyChange?: EventHandler<ArcgisShadowCast["arcgisPropertyChange"]>;
545
545
  onArcgisReady?: EventHandler<ArcgisShadowCast["arcgisReady"]>;
546
546
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcgis/map-components",
3
- "version": "5.1.0-next.109",
3
+ "version": "5.1.0-next.111",
4
4
  "description": "ArcGIS Map Components",
5
5
  "keywords": [
6
6
  "2D",
@@ -46,13 +46,13 @@
46
46
  "lit": "^3.3.0",
47
47
  "lodash-es": "^4.18.1",
48
48
  "tslib": "^2.8.1",
49
- "@arcgis/common-components": "5.1.0-next.109",
50
- "@arcgis/toolkit": "5.1.0-next.109",
51
- "@arcgis/lumina": "5.1.0-next.109"
49
+ "@arcgis/toolkit": "5.1.0-next.111",
50
+ "@arcgis/common-components": "5.1.0-next.111",
51
+ "@arcgis/lumina": "5.1.0-next.111"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "@arcgis/core": "^5.1.0-next",
55
- "@esri/calcite-components": "^5.1.0-next.47"
55
+ "@esri/calcite-components": "^5.1.0-next.54"
56
56
  },
57
57
  "css.customData": [
58
58
  "dist/docs/vscode.css-custom-data.json"
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{e as b}from"./4KLZDEYJ.js";import{h as f}from"./R2NTRI4S.js";import{d as h}from"./GMFJ55C3.js";import{N as u,O as m,P as g,R as p,U as d,a as l,b as a}from"./FKJWY2PS.js";var n={actionMenu:"action-menu",actionGroup:"action-group",filterNoResults:"filter-no-results",item:"item",itemActive:"active",itemContentBottom:"content-bottom",itemMessage:"message",itemActionIcon:"action-icon",itemActionImage:"action-image",itemTemporaryIcon:"temporary-icon",itemTableIcon:"table-icon",itemCatalogIcon:"catalog-icon",statusIndicator:"status-indicator",publishing:"publishing",updating:"updating",connectionStatus:"connection-status",connectionStatusConnected:"connection-status--connected",visibleToggle:"visible-toggle",visibleIcon:"visible-icon"},v=l`:host{margin-inline:var(--calcite-space-sm)}.status-indicator{visibility:hidden;color:var(--calcite-color-text-1)}.publishing{visibility:visible;color:var(--calcite-color-text-2);transform-origin:var(--calcite-list-item-icon-center) var(--calcite-list-item-icon-center);animation:2s infinite arcgis-layer-list__publishing-anim}.updating{visibility:visible;animation:2s infinite arcgis-layer-list__updating-anim}.connection-status{visibility:visible;color:var(--calcite-color-status-warning);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl)}.connection-status--connected{color:var(--calcite-color-status-success)}@keyframes arcgis-layer-list__updating-anim{0%,40%{color:var(--calcite-color-foreground-1)}50%,80%{color:var(--calcite-color-brand)}to{color:var(--calcite-color-foreground-1)}}@keyframes arcgis-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,r=class extends m{constructor(){super(...arguments),this.autoDestroyDisabled=!1,this.arcgisPropertyChange=f()("item","parent")}static{this.properties={_iconEl:16,item:0,parent:0,messages:0,autoDestroyDisabled:5}}static{this.styles=[v]}async destroy(){await this.manager.destroy()}_setIconEl(i){this._iconEl=i}getTooltipText(i,s,o,t){let e=c=>typeof c=="string"?c:"";if(i)return e(t?.publishing);if(s)return e(t?.updating);switch(o){case"connected":return e(t?.connected);case"paused":return e(t?.paused);default:return e(t?.disconnected)}}render(){if(!this.item)return null;let{publishing:i}=this.item,s="updating"in this.item&&this.item.updating&&!this.parent,o="connectionStatus"in this.item?this.item.connectionStatus:void 0,t=!!o;if(!i&&!s&&!t)return null;let{messages:e}=this,c=this.getTooltipText(i,s,o,e);return a`<calcite-icon class=${g(h(n.statusIndicator,{[n.publishing]:i},"updating"in n&&{[n.updating]:s},"connectionStatus"in n&&{[n.connectionStatus]:t},"connectionStatusConnected"in n&&{[n.connectionStatusConnected]:t&&o==="connected"}))} title=${e?.connectionStatus??p} .icon=${b({connectionStatus:o,publishing:i})} scale=s ${u(this._setIconEl)}></calcite-icon>${this._iconEl?a`<calcite-tooltip placement=top .referenceElement=${this._iconEl}>${c}</calcite-tooltip>`:null}`}};d("arcgis-layer-list-item-indicator",r);export{n as a,r as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{c as b}from"./XUKTPPFV.js";import e from"./JYVV3JI3.js";import{a as B}from"./NHBQXARI.js";import d from"./VQIFXIMQ.js";import c from"./J26EKNWT.js";import{a as R,f as M}from"./R2NTRI4S.js";import"./FAECSPBC.js";import a from"./YDIKH6TZ.js";import"./GMFJ55C3.js";import{O as E,R as g,U as $,a as C,b as u,x as _,z as x}from"./FKJWY2PS.js";import"./3TTFCHAA.js";export default $arcgis.t(([{property:p,subclass:k},T,I,{ignoreAbortErrors:D},{watch:m,on:H,whenOnce:f},j,V,K,W,U,Q,q,J,{fetchPopupFeaturesFromGraphics:G},,,,N])=>{var X=C`:host{width:100%;height:100%;padding:var(--calcite-spacing-none);margin:var(--calcite-spacing-none);display:flex;--internal-attribution-height: 16px;--arcgis-internal-presentation-padding-start: unset;--arcgis-internal-presentation-padding-end: unset;--arcgis-internal-presentation-cover-padding-top: unset;--arcgis-internal-presentation-cover-padding-bottom: unset;--arcgis-internal-presentation-cover-padding-start: unset;--arcgis-internal-presentation-cover-padding-end: unset}p{padding:0;margin:0}.root{display:flex;flex-direction:column;justify-content:space-between;width:100%;height:100%}.presentation-content{display:flex;width:100%;justify-content:flex-end;padding-top:var(--calcite-spacing-lg);padding-inline-start:calc(var(--calcite-spacing-lg) + var(--arcgis-internal-presentation-padding-start));padding-inline-end:calc(var(--calcite-spacing-lg) + var(--arcgis-internal-presentation-padding-end))}.navigation{width:fit-content;pointer-events:auto;display:flex;align-items:center;gap:var(--calcite-spacing-sm);background-color:var(--calcite-color-foreground-1);box-shadow:var(--arcgis-internal-box-shadow);margin-block:auto calc(var(--calcite-spacing-lg) + var(--internal-attribution-height));margin-inline-start:var(--calcite-spacing-lg)}.slide-counter-text{display:flex;align-items:center;justify-content:center;gap:var(--calcite-spacing-base);min-width:64px}.slide-counter-text-element{box-sizing:border-box;max-width:28px;margin:0;padding:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-variant-numeric:tabular-nums}.legend{pointer-events:all;box-shadow:var(--calcite-shadow-sm);max-width:300px;height:auto;max-height:calc(100vh - 136px);overflow:hidden auto}`,Z=Object.defineProperty,Y=Object.getOwnPropertyDescriptor,d=(i,e,t,s)=>{for(var n=s>1?void 0:s?Y(e,t):e,r=i.length-1,a;r>=0;r--)(a=i[r])&&(n=(s?a(e,t,n):a(n))||n);return s&&n&&Z(e,t,n),n},o=class extends T{constructor(i){super(i),this.transitionActive=!1,this.showLegend=!1,this.keyboardNavigationEnabled=!1,this._subscribeToSlideEvents=e=>{this._unsubscribeToSlideEvents(e),e.forEach(t=>{let s=t.on("apply-slide-start",()=>this._onApplySlideStart(t)),n=t.on("apply-slide-complete",()=>this._onApplySlideComplete(t)),r=t.on("apply-slide-cancel",()=>this._onApplySlideCancel(t));this.addHandles(s,t.id),this.addHandles(n,t.id),this.addHandles(r,t.id)})},this._unsubscribeToSlideEvents=e=>{e.forEach(t=>{this.hasHandles(t.id)&&this.removeHandles(t.id)})}}initialize(){this.addHandles(m(()=>this.view?.map,(i,e)=>{if(this.hasHandles("sceneLoaded")&&this.removeHandles("sceneLoaded"),e){let t=e.presentation?.slides;t&&t.length>0&&this._unsubscribeToSlideEvents(t)}i&&this.addHandles(m(()=>i.loaded,t=>{t&&(this.removeHandles("sceneLoaded"),this._startWatchSlides(),this._slideId&&this._applySlideById(this._slideId))},{initial:!0}),"sceneLoaded")},{initial:!0}))}destroy(){this._unsubscribeToSlideEvents(this.slides)}get slideId(){return this._slideId}set slideId(i){i===void 0||!this.view?.map?.loaded?this._slideId=i:this._applySlideById(i)}get visibleSlides(){return this.view?.map?.presentation?.slides?.filter(i=>!i.hidden)??new I}get slides(){return this.view?.map?.presentation?.slides??new I}get lastSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===this.visibleSlides.length-1}get firstSlideSelected(){return this.getSlideIndexBySlideId(this.slideId)===0}get slideSelected(){return this.getSlideIndexBySlideId(this.slideId)>-1}get hasOnlyOneSlide(){return this.visibleSlides.length===1}get slideIndex(){return this.getSlideIndexBySlideId(this.slideId)}getSlideIndexBySlideId(i){let e=-1;return i&&(e=this.visibleSlides.findIndex(t=>t.id===i)),e}navigateInPresentation(i){let e=this.slideIndex+i,t=this._getSlideBySlideIndex(e);t??=this._getSlideBySlideIndex(0),t&&this._applySlide(t)}captureArrowKeysForNavigation(i,e){let t=["ArrowLeft","ArrowRight","PageUp","PageDown"];if(document.activeElement?.nodeName.toLowerCase()==="arcgis-scene"||!t.includes(i.code))return;let s=e==="rtl"?"ArrowRight":"ArrowLeft",n=i.code===s||i.code==="PageUp"?-1:1;this.navigateInPresentation(n)}async setSliceAnalysisInteractive(){if(!this.view?.analyses?.length)return;let i=this.view.analyses.find(t=>t.type==="slice"&&t.origin?.type==="web-scene");if(!i)return;let e=await this.view.whenAnalysisView(i);e&&(e.interactive=!0)}_getSlideBySlideIndex(i){if(i!=null&&i>=0&&i<this.visibleSlides.length)return this.visibleSlides.getItemAt(i)}async _applySlideById(i){let e=i?this._getSlideBySlideId(i):void 0;e&&await this._applySlide(e)}_getSlideBySlideId(i){return this.visibleSlides.find(e=>e.id===i)}async _applySlide(i){this.view&&await D(i.applyTo(this.view))}_startWatchSlides(){this._subscribeToSlideEvents(this.slides),this.addHandles(H(()=>this.slides,"change",i=>{this._subscribeToSlideEvents(new I(i.added)),this._unsubscribeToSlideEvents(new I(i.removed))},{onListenerAdd:this._subscribeToSlideEvents,onListenerRemove:this._unsubscribeToSlideEvents}))}_onApplySlideStart(i){this._slideId=i.id,this.transitionActive=!0,this.showLegend=!1,this.onApplySlideStart?.(i)}_onApplySlideComplete(i){this.transitionActive=!1,this.showLegend=!!i.elements.legendInfo?.visible,this.onApplySlideComplete?.(i)}_onApplySlideCancel(i){this.transitionActive=!1,this.showLegend=!!i.elements.legendInfo?.visible,this.onApplySlideCancel?.(i)}};d([p()],o.prototype,"_slideId",2);d([p()],o.prototype,"view",2);d([p()],o.prototype,"slideId",1);d([p()],o.prototype,"transitionActive",2);d([p()],o.prototype,"showLegend",2);d([p()],o.prototype,"keyboardNavigationEnabled",2);d([p()],o.prototype,"visibleSlides",1);d([p()],o.prototype,"slides",1);d([p()],o.prototype,"lastSlideSelected",1);d([p()],o.prototype,"firstSlideSelected",1);d([p()],o.prototype,"slideSelected",1);d([p()],o.prototype,"hasOnlyOneSlide",1);d([p()],o.prototype,"onApplySlideStart",2);d([p()],o.prototype,"onApplySlideComplete",2);d([p()],o.prototype,"onApplySlideCancel",2);d([p()],o.prototype,"getSlideIndexBySlideId",1);o=d([k("components.presentation.PresentationViewModel")],o);var L=class extends x{constructor(e){super(e)}hostLoaded(){this.component.manager.onLifecycle(()=>{let e=this.component;f(()=>e.referenceElement).then(t=>{this._isArcgisScene(t)&&(this._sceneRef=t)})})}openPopup(e){this.component.view&&this.component.slideId===e.id&&e.elements.popupInfo!=null&&this._preparePopupFeature(this.component.view,e.elements.popupInfo).then(({success:t,features:s,popupInfo:n})=>{this.component.slideId===e.id&&(t?this._handlePopupFeatureFound(e,s,n):this.component.arcgisPopupFeatureNotFound.emit({slide:e}))})}_isArcgisScene(e){return e===void 0||typeof e=="string"?!1:"tagName"in e&&e.tagName==="ARCGIS-SCENE"}closePopup(){this.component.slidePopupDisabled||this._sceneRef?.closePopup()}async _handlePopupFeatureFound(e,t,s){let n=s?.location??void 0;this.component.arcgisPopupFeaturesRetrieved.emit({slide:e,features:t,location:n}),this.component.slidePopupDisabled||await this._sceneRef?.openPopup({features:t,location:n})}async _preparePopupFeature(e,t){let s=[];if(!t.features?.length||t.features.length===0)return{success:!1,features:s};let n=t.features?.getItemAt(t.selectedFeatureIndex)?.layerReference;if(n?.layerId==null)return{success:!1,features:s};let{layer:r,sublayer:a}=this._getLayersFromView(e,n.layerId,n?.sublayerId);if(!r)return{success:!1,features:s};let c=a??r;if(!c||!this._layerTypeSupportsCapturePopup(c))return{success:!1,features:s};if(s=await this._fetchFeaturesFromQueryable(e,t,r,a,c),s&&this._featureHasBeenFilledWithAttributes(s)){let l=s[0];return this._setFallbackPopupTemplate(l,a,r),this._setFallbackGeometry(l,t?.location),{success:!0,features:s,popupInfo:t}}return{success:!1,features:s}}_getLayersFromView(e,t,s){let n=e.map?.findLayerById(t)??void 0,r=this._getBuildingSceneLayerSublayer(n,s);return{layer:n,sublayer:r}}_getBuildingSceneLayerSublayer(e,t){let s;return e&&this._isLayer(e)&&this._isBuildingSceneLayer(e)&&t!=null&&(s=e.allSublayers.find(n=>n.id===t&&n.type==="building-component")),s}_featureHasBeenFilledWithAttributes(e){return e&&e.length>0&&e[0].attributes&&Object.entries(e[0].attributes)?.length>1}async _fetchFeaturesFromQueryable(e,t,s,n,r){let a=t.features?.getItemAt(t.selectedFeatureIndex);if(a?.id==null)return await Promise.resolve([]);let c=await e.whenLayerView(s);await f(()=>!c.updating);let l=this._tryGetBuildingComponentSublayerView(s,n,c)??c;await f(()=>!l.updating);let h=this._createFeatureGraphic(s,n,r,a.id),y=await G(l,[h]);return this._featureHasBeenFilledWithAttributes(y)||(await f(()=>!e.updating),y=await G(l,[h])),y}_tryGetBuildingComponentSublayerView(e,t,s){let n;return this._isLayer(e)&&this._isBuildingSceneLayer(e)&&t!=null&&(n=s.sublayerViews.find(r=>r.sublayer.id===t.id)),n}_setFallbackPopupTemplate(e,t,s){e.popupTemplate==null&&(e.popupTemplate=t?.popupTemplate?t.popupTemplate:s.popupTemplate)}_setFallbackGeometry(e,t){e.geometry==null&&t&&(e.geometry=t.clone())}_createFeatureGraphic(e,t,s,n){let r=this._getGlobalIdFieldNameFromLayer(s),a=n.type==="global-id"&&r?r:s.objectIdField,c=this._getGraphicOrigin(e,t),l=new j({attributes:{},layer:e,origin:c});return l.attributes[a]=n.value,l}_getGraphicOrigin(e,t){switch(e.type){case"csv":return new K(e);case"feature":return new J(e);case"geojson":return new W(e);case"scene":return new U(e);case"wfs":return new Q(e);case"building-scene":return t?new q(t):void 0;default:return}}_layerTypeSupportsCapturePopup(e){return e!=null&&["csv","feature","geojson","wfs","scene","building-component"].includes(e.type)}_isLayer(e){return!!e&&e instanceof V}_isBuildingSceneLayer(e){return e?.type==="building-scene"}_getGlobalIdFieldNameFromLayer(e){return e.fields?.find(t=>t.type==="global-id")?.name}},ee=i=>new L(i),v=Object.freeze({width:0,height:0}),w=new WeakMap,S=()=>({topCenter:{...v},topLeft:{...v},topRight:{...v},bottomCenter:{...v},bottomLeft:{...v},bottomRight:{...v}}),O=i=>({topCenter:{...i.topCenter},topLeft:{...i.topLeft},topRight:{...i.topRight},bottomCenter:{...i.bottomCenter},bottomLeft:{...i.bottomLeft},bottomRight:{...i.bottomRight}}),z=i=>{let e=w.get(i);return e||(e={observedGroups:new Map,observedSizes:S(),subscribers:new Set},w.set(i,e)),e},te=i=>{let e=i?.topCenter.value,t=i?.topLeft.value,s=i?.topRight.value,n=i?.bottomCenter.value,r=i?.bottomLeft.value,a=i?.bottomRight.value;return e&&t&&s&&n&&r&&a?{topCenter:e,topLeft:t,topRight:s,bottomCenter:n,bottomLeft:r,bottomRight:a}:null},ie=(i,e)=>b.every(t=>i.get(t)===e[t]),se=i=>{let e=O(i.observedSizes);i.subscribers.forEach(t=>t(e))},ne=(i,e)=>{let t=w.get(i);if(!t)return;let s=!1;e.forEach(n=>{let r=b.find(y=>t.observedGroups.get(y)===n.target);if(!r)return;let{width:a,height:c}=n.contentRect,l={width:a,height:c},h=t.observedSizes[r];h.width===l.width&&h.height===l.height||(t.observedSizes[r]=l,s=!0)}),s&&se(t)},A=(i,e)=>{let t=z(i);t.resizeObserver||(t.resizeObserver=new ResizeObserver(n=>{ne(i,n)}));let s=te(e);if(!s){t.observedGroups.size>0&&(t.resizeObserver.disconnect(),t.observedGroups.clear());return}ie(t.observedGroups,s)||(t.resizeObserver.disconnect(),t.observedGroups.clear(),b.forEach(n=>{let r=s[n];t.observedGroups.set(n,r),t.resizeObserver?.observe(r)}))},re=(i,e)=>{let t=z(i);return t.subscribers.add(e),e(O(t.observedSizes)),()=>{let s=w.get(i);s&&(s.subscribers.delete(e),s.subscribers.size===0&&(s.resizeObserver?.disconnect(),s.observedGroups.clear(),w.delete(i)))}},P=class extends x{#t;#e;#i;constructor(e){super(e),this.exports=S()}hostDisconnected(){this.#i?.(),this.#i=void 0,this.#e=void 0,this.#t=void 0,this.exports=S()}hostLifecycle(){return[m(()=>this.#s(),e=>{if(this.#e!==e){if(this.#i?.(),this.#i=void 0,this.#e=e,this.#t=e?.slotGroupRefs,!e){this.exports=S();return}this.#i=re(e,t=>{this.#n(t)||(this.exports=t)}),A(e,this.#t)}},{sync:!0,initial:!0}),m(()=>this.#s()?.slotGroupRefs,e=>{this.#t=e,this.#e&&e&&A(this.#e,e)},{sync:!0,initial:!0})]}#s(){let{referenceElement:e}=this.component;return e&&typeof e!="string"?e:void 0}hostUpdated(){!this.#e||!this.#t||A(this.#e,this.#t)}#n(e){let t=this.exports??S();return b.every(s=>{let n=t[s],r=e[s];return n.width===r.width&&n.height===r.height})}},ae=R(P),oe=N(o),F=class extends E{constructor(){super(...arguments),this._messages=B(),this.viewModel=oe(this),this._direction=M(),this._captureArrowKeysForNavigation=e=>{this.viewModel.captureArrowKeysForNavigation(e,this._direction)},this._useFeatureRefPopup=ee(this),this._handleApplySlideStart=()=>{this._useFeatureRefPopup.closePopup()},this._handleApplySlideComplete=e=>{this._useFeatureRefPopup.openPopup(e),this.sliceAnalysisInteractive&&this.viewModel.setSliceAnalysisInteractive()},this.autoDestroyDisabled=!1,this.view=this.viewModel.view,this.scale="m",this.keyboardNavigationEnabled=!1,this.slidePopupDisabled=!1,this.slideCaptionsDisabled=!1,this.slideLegendDisabled=!1,this.sliceAnalysisInteractive=!1,this.arcgisPopupFeatureNotFound=_(),this.arcgisPopupFeaturesRetrieved=_(),this.arcgisReady=_()}static{this.properties={_slotSizesController:16,slideId:1,autoDestroyDisabled:5,view:0,scale:1,keyboardNavigationEnabled:5,slidePopupDisabled:5,slideCaptionsDisabled:5,slideLegendDisabled:5,sliceAnalysisInteractive:5}}static{this.styles=X}get slideId(){return this.viewModel.slideId}set slideId(e){this.viewModel.slideId=e}async destroy(){await this.manager.destroy()}loaded(){this.manager.onLifecycle(()=>{this.viewModel.onApplySlideStart=this._handleApplySlideStart,this.viewModel.onApplySlideComplete=this._handleApplySlideComplete,this._keyboardHandle=m(()=>this.keyboardNavigationEnabled,t=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),t&&document.addEventListener("keydown",this._captureArrowKeysForNavigation)},{initial:!0});let e=this;f(()=>e.referenceElement).then(t=>{this._isArcgisScene(t)&&(this._slotSizesController=ae(this),this._watchSceneViewSlotSizes())}),this.manager.onDisconnected(()=>{document.removeEventListener("keydown",this._captureArrowKeysForNavigation),this._keyboardHandle?.remove()})})}_isArcgisScene(e){return e===void 0||typeof e=="string"?!1:"tagName"in e&&e.tagName==="ARCGIS-SCENE"}_watchSceneViewSlotSizes(){return m(()=>this._slotSizesController,e=>this._updatePresentationCaptionsPadding(e?.topLeft,e?.topRight,e?.bottomLeft,e?.bottomRight),{initial:!0})}_updatePresentationCaptionsPadding(e,t,s,n){let r=this._direction==="ltr"?e?.width??0:t?.width??0,a=this._direction==="ltr"?t?.width??0:e?.width??0,c=Math.max(e?.height??0,t?.height??0),l=Math.max(s?.height??0,n?.height??0);r>0?this.el.style.setProperty("--arcgis-internal-presentation-padding-start",`calc(var(--calcite-spacing-lg) + ${r.toString()}px)`):this.el.style.setProperty("--arcgis-internal-presentation-padding-start","0px"),a>0?this.el.style.setProperty("--arcgis-internal-presentation-padding-end",`calc(var(--calcite-spacing-lg) + ${a.toString()}px)`):this.el.style.setProperty("--arcgis-internal-presentation-padding-end","0px");let h=r<=Math.max(c,l)&&a<=Math.max(c,l);this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-top",h?"0":`${c}px`),this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-bottom",h?"0":`${l}px`),this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-start",h?`${r}px`:"0"),this.el.style.setProperty("--arcgis-internal-presentation-cover-padding-end",h?`${a}px`:"0")}render(){if(this.viewModel.visibleSlides.length===0)return u`<div></div>`;let e=this.viewModel.visibleSlides.find(r=>r.id===this.slideId),t=this._renderNavigation(),s=this._renderCaptions(e),n=this._renderLegend();return u`<div class="root"><div class="presentation-content">${s}${n}</div>${t}</div>`}_renderNavigation(){let e=this.viewModel.lastSlideSelected&&!this.viewModel.hasOnlyOneSlide,t=this._direction==="rtl",s=t?"chevron-right":"chevron-left",n=t?"chevron-left":"chevron-right";return u`<div class="navigation"><calcite-button appearance=transparent icon-start=${s??g} kind=neutral .scale=${this.scale} .disabled=${this.viewModel.firstSlideSelected||!this.viewModel.slideSelected} .label=${this._messages.previous} title=${this._messages.previous??g} @click=${()=>this.viewModel.navigateInPresentation(-1)}></calcite-button><div class="slide-counter-text">${this._renderSlideCounter()}</div><calcite-button appearance=transparent icon-start=${(e?"reset":n)??g} kind=neutral .scale=${this.scale} .label=${e?this._messages.restart:this._messages.next} title=${(e?this._messages.restart:this._messages.next)??g} @click=${()=>this.viewModel.navigateInPresentation(1)}></calcite-button></div>`}_renderSlideCounter(){let e=this.viewModel.slideIndex+1,t=this._messages?.slideNavAriaText?.replace("${index}",e.toString()).replace("${numberOfSlides}",this.viewModel.visibleSlides.length.toString());return this.viewModel.slideSelected?u`<p role=banner aria-label=${t??g} aria-live=polite><div class="slide-counter-text-element" data-testId=arcgis-map-presentation-slideIndex>${e}</div><div class="slide-counter-text-element">/</div><p class="slide-counter-text-element" data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides.length}</p></p>`:u`<p role=banner data-testId=arcgis-map-presentation-numberOfSlides>${this.viewModel.visibleSlides?.length} ${this._messages?.slides}</p>`}_renderCaptions(e){return this.slideCaptionsDisabled?null:u`<arcgis-presentation-captions .slide=${e} .transitionActive=${this.viewModel.transitionActive}></arcgis-presentation-captions>`}_renderLegend(){return this.slideLegendDisabled||!this.viewModel.showLegend?null:u`<calcite-panel data-testid=presentation-legend class="legend" .heading=${this._messages.legend} closable @calcitePanelClose=${()=>this.viewModel.showLegend=!1}><arcgis-legend .view=${this.view} @arcgisReady=${e=>e.stopPropagation()}></arcgis-legend></calcite-panel>`}};$("arcgis-presentation",F);return F},"core/accessorSupport/decorators","core/Accessor","core/Collection","core/promiseUtils","core/reactiveUtils","Graphic","layers/Layer","graphic/CSVGraphicOrigin","graphic/GeoJSONGraphicOrigin","graphic/SceneGraphicOrigin","graphic/WFSGraphicOrigin","graphic/BuildingGraphicOrigin","graphic/FeatureGraphicOrigin","applications/SceneViewer/sceneViewerUtils",a,c,d,e)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{O as o,U as r,b as a}from"./FKJWY2PS.js";import"./3TTFCHAA.js";var t=class extends o{static{this.properties={viewModel:0,messages:0,fileName:1,selectExportsTab:0}}loaded(){this.manager.onLifecycle(()=>[])}async _handlePrintMap(){this.viewModel.export(this.fileName||this.messages.untitled),this.selectExportsTab()}render(){let{messages:e}=this,{layout:i,layoutItem:s,format:l}=this.viewModel.templateOptions,n=this.viewModel.state!=="ready"||!(i||s);return a`<div><calcite-button .ariaLabel=${e.exportDescription} .disabled=${n||!(i||s?.id)&&!l} @click=${this._handlePrintMap} scale=l width=full>${e.export}</calcite-button></div>`}};r("arcgis-print-export-button",t);export{t as PrintExportButton};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{d as h,h as T}from"./JW6K33EY.js";import j from"./TWE422S7.js";import{a as p}from"./IGSZABNU.js";import i from"./E3V3VK77.js";import"./PC4PAQXQ.js";import{a as v}from"./UYAGGGZ7.js";import f from"./JYVV3JI3.js";import{a as C}from"./NHBQXARI.js";import{a as g}from"./54VXNFQ4.js";import e from"./VQIFXIMQ.js";import d from"./J26EKNWT.js";import{h as _}from"./R2NTRI4S.js";import"./FAECSPBC.js";import a from"./YDIKH6TZ.js";import"./GMFJ55C3.js";import{O as x,P as u,R as b,U as y,a as w,b as c,x as D}from"./FKJWY2PS.js";import"./3TTFCHAA.js";export default $arcgis.t(([I,{property:a,subclass:V},{watch:E,whenOnce:L},{forceInteractive:A},,,,M,,O])=>{var R=w`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;width:var(--arcgis-internal-panel-width, 300px)}.root{--section-internal-gap: var(--calcite-spacing-md);display:flex;flex-direction:column;gap:var(--calcite-spacing-lg);min-width:var(--arcgis-internal-panel-min-width, 300px);overflow:var(--arcgis-internal-panel-overflow, visible);height:fit-content}:host([visual-scale="s"]) .root{--section-internal-gap: var(--calcite-spacing-sm)}:host([visual-scale="l"]) .root{--section-internal-gap: var(--calcite-spacing-lg)}.time-range-section arcgis-time-of-day-slider{margin-block-end:var(--section-internal-gap)}.time-range-section calcite-label:last-child,.visualization-options-section calcite-label:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--section-internal-gap)}.hidden-config{display:none}`,j=Object.defineProperty,H=Object.getOwnPropertyDescriptor,o=(i,e,s,n)=>{for(var r=n>1?void 0:n?H(e,s):e,l=i.length-1,d;l>=0;l--)(d=i[l])&&(r=(n?d(e,s,r):d(r))||r);return n&&r&&j(e,s,r),r},$=Symbol("interactiveHandle"),t=class extends O{constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.shouldForceInteractive=!1,this.minMinDuration=0,this.maxMinDuration=h(8,"hours","milliseconds"),this.hideShadowDurationTooltip=!1}constructAnalysis(){return new I}initialize(){this.addHandles(E(()=>({analysisView:this.analysisView,tooltipVisible:!this.hideShadowDurationTooltip}),({analysisView:i,tooltipVisible:e})=>{this.removeHandles($),i&&(i.interactive=e,e&&this.addHandles(A(i),$))},{sync:!0,initial:!0}))}get date(){return this.analysis.date}set date(i){this.analysis.date=i}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(i){this.analysis.discreteOptions.color=i}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(i){this.analysis.discreteOptions.interval=i}get totalDurationColor(){return this.analysis.totalDurationOptions.color}set totalDurationColor(i){this.analysis.totalDurationOptions.color=i}get totalDurationMode(){return this.analysis.totalDurationOptions.mode}set totalDurationMode(i){this.analysis.totalDurationOptions.mode=i}get localDate(){return T(this.view)}get mode(){return this.analysis.mode}set mode(i){this.analysis.mode=i}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(i){this.analysis.startTimeOfDay=i}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(i){this.analysis.endTimeOfDay=i}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get minDurationColor(){return this.analysis.minDurationOptions.color}set minDurationColor(i){this.analysis.minDurationOptions.color=i}get minDuration(){return this.analysis.minDurationOptions.minDuration}set minDuration(i){this.analysis.minDurationOptions.minDuration=i}get minDurationContextEnabled(){return this.analysis.minDurationOptions.contextEnabled}set minDurationContextEnabled(i){this.analysis.minDurationOptions.contextEnabled=i}get minDurationContextColor(){return this.analysis.minDurationOptions.contextOptions.color}set minDurationContextColor(i){this.analysis.minDurationOptions.contextOptions.color=i}get minDurationContextInterval(){return this.analysis.minDurationOptions.contextOptions.interval}set minDurationContextInterval(i){this.analysis.minDurationOptions.contextOptions.interval=i}get utcOffset(){return this.analysis.utcOffset}set utcOffset(i){this.analysis.utcOffset=i}async getDurationAtScreen(i){return await(await L(()=>this.analysisView)).getDurationAtScreen(i)}};o([a()],t.prototype,"date",1);o([a()],t.prototype,"discreteColor",1);o([a()],t.prototype,"discreteInterval",1);o([a()],t.prototype,"totalDurationColor",1);o([a()],t.prototype,"totalDurationMode",1);o([a()],t.prototype,"localDate",1);o([a()],t.prototype,"mode",1);o([a()],t.prototype,"startTimeOfDay",1);o([a()],t.prototype,"endTimeOfDay",1);o([a()],t.prototype,"state",1);o([a()],t.prototype,"minDurationColor",1);o([a()],t.prototype,"minMinDuration",2);o([a()],t.prototype,"maxMinDuration",2);o([a()],t.prototype,"minDuration",1);o([a()],t.prototype,"minDurationContextEnabled",1);o([a()],t.prototype,"minDurationContextColor",1);o([a()],t.prototype,"minDurationContextInterval",1);o([a()],t.prototype,"utcOffset",1);o([a()],t.prototype,"hideShadowDurationTooltip",2);t=o([V("components.shadow-cast.ShadowCastViewModel")],t);var Z=M(t),f=class extends x{constructor(){super(...arguments),this.viewModel=Z(this),this.messages=C(),this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.visualScale="m",this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=this.viewModel.hideShadowDurationTooltip,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideTotalDurationOptions=!1,this.hideTotalDurationColorPicker=!1,this.hideTotalDurationModeSelect=!1,this.hideMinDurationOptions=!1,this.hideMinDurationColorPicker=!1,this.hideMinDurationSlider=!1,this.hideMinDurationContextOptions=!1,this.hideMinDurationContextToggle=!1,this.hideMinDurationContextColorPicker=!1,this.hideMinDurationContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.totalDurationColor=this.viewModel.totalDurationColor,this.totalDurationMode=this.viewModel.totalDurationMode,this.minDuration=this.viewModel.minDuration,this.minDurationColor=this.viewModel.minDurationColor,this.minMinDuration=this.viewModel.minMinDuration,this.maxMinDuration=this.viewModel.maxMinDuration,this.minDurationContextEnabled=this.viewModel.minDurationContextEnabled,this.minDurationContextColor=this.viewModel.minDurationContextColor,this.minDurationContextInterval=this.viewModel.minDurationContextInterval,this.arcgisPropertyChange=_()("state"),this.arcgisReady=D()}static{this.properties={analysis:0,view:0,visualScale:3,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideTotalDurationOptions:5,hideTotalDurationColorPicker:5,hideTotalDurationModeSelect:5,hideMinDurationOptions:5,hideMinDurationColorPicker:5,hideMinDurationSlider:5,hideMinDurationContextOptions:5,hideMinDurationContextToggle:5,hideMinDurationContextColorPicker:5,hideMinDurationContextInterval:5,icon:3,label:1,mode:1,referenceElement:1,startTimeOfDay:9,state:32,utcOffset:9,discreteColor:0,discreteInterval:9,totalDurationColor:0,totalDurationMode:1,minDuration:9,minDurationColor:0,minMinDuration:9,maxMinDuration:9,minDurationContextEnabled:5,minDurationContextColor:0,minDurationContextInterval:9}}static{this.styles=R}get date(){return this.viewModel.date}set date(e){this.viewModel.date=e}async destroy(){await this.manager.destroy()}async getDurationAtScreen(e){return await this.viewModel.getDurationAtScreen(e)}render(){return c`<div aria-label=${this.messages.componentLabel??b} class=${u({root:!0,[g.widget]:!0,[g.widgetDisabled]:this.viewModel.state==="disabled",[g.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${p({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(!this.analysis||this.hideTimeRangeSlider&&this.hideDatePicker)return;let{messages:e,utcOffset:s,viewModel:n}=this,r=this.visualScale;return c`<section class="time-range-section">${v({level:this.headingLevel,children:e.timeRangeHeading})}${p({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${p({hidden:this.hideTimezone,children:c`<calcite-label .scale=${r}>${e.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${n.localDate} .scale=${r} .value=${`${h(s??0,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{n.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`})}${p({hidden:this.hideDatePicker,children:c`<calcite-label .scale=${r}>${e.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${r} .valueAsDate=${n.date} @calciteInputDatePickerChange=${l=>{let d=l.currentTarget.valueAsDate;n.date=Array.isArray(d)?d[0]:d}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{viewModel:e}=this;return c`<arcgis-time-of-day-slider mode=range .startTime=${k(this.startTimeOfDay)} .endTime=${k(this.endTimeOfDay)} .label=${this.messages?.timeRangeSliderLabel} .visualScale=${this.visualScale} @arcgisTimeChange=${({currentTarget:s})=>{e.startTimeOfDay=h(s.startTime,"minutes","milliseconds"),e.endTimeOfDay=h(s.endTime,"minutes","milliseconds")}}></arcgis-time-of-day-slider>`}_renderVisualizationOptionsSection(){let{analysis:e,headingLevel:s,messages:n,viewModel:r}=this;if(!e)return;let{discreteOptions:l,totalDurationOptions:d,minDurationOptions:z}=e,m=(S,P)=>r.mode===S&&!P?void 0:"hidden-config";return c`<section class="visualization-options-section">${v({level:s,children:n.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${u(m("min-duration",this.hideMinDurationOptions))}><arcgis-shadow-cast-min-duration-config .hideColorPicker=${this.hideMinDurationColorPicker} .hideContextColorPicker=${this.hideMinDurationContextColorPicker} .hideContextInterval=${this.hideMinDurationContextInterval} .hideContextOptions=${this.hideMinDurationContextOptions} .hideContextToggle=${this.hideMinDurationContextToggle} .hideSlider=${this.hideMinDurationSlider} .minMinDuration=${this.minMinDuration} .maxMinDuration=${this.maxMinDuration} .messages=${n} .options=${z} .scale=${this.visualScale}></arcgis-shadow-cast-min-duration-config></div><div class=${u(m("total-duration",this.hideTotalDurationOptions))}><arcgis-shadow-cast-total-duration-config .hideColorPicker=${this.hideTotalDurationColorPicker} .hideModeSelect=${this.hideTotalDurationModeSelect} .messages=${n} .options=${d} .scale=${this.visualScale}></arcgis-shadow-cast-total-duration-config></div><div class=${u(m("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${n} .options=${l} .scale=${this.visualScale}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{messages:e,viewModel:s}=this,{mode:n}=s;return c`<calcite-select .label=${e.visualizationLabel??""} .scale=${this.visualScale} @calciteSelectChange=${r=>{let l=r.target.selectedOption?.value;s.mode=l??"min-duration"}}>${[{mode:"min-duration",label:e.minDuration?.optionLabel},{mode:"total-duration",label:e.totalDuration?.optionLabel},{mode:"discrete",label:e.discrete?.optionLabel}].map(({mode:r,label:l})=>c`<calcite-option .selected=${r===n} .value=${r} .label=${l}></calcite-option>`)}</calcite-select>`}};function k(i){return Math.round(h(i,"milliseconds","minutes"))}y("arcgis-shadow-cast",f);return f},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils","applications/Components/analysisUtils",a,d,e,f,i,j)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as T}from"./M35DILXG.js";import{a as E}from"./GI5SSBWA.js";import{c as S}from"./S4I3X6AX.js";import e from"./JYVV3JI3.js";import{a as z}from"./NHBQXARI.js";import d from"./VQIFXIMQ.js";import b from"./J26EKNWT.js";import{h as P}from"./R2NTRI4S.js";import"./FAECSPBC.js";import a from"./YDIKH6TZ.js";import"./GMFJ55C3.js";import{M as w,N as g,O as k,U as C,a as $,b as n,f as c,q as f,x as m}from"./FKJWY2PS.js";import"./3TTFCHAA.js";export default $arcgis.t(([{convertUnit:F},{getDefaultUnitForView:D},{hasDisplayProperties:x},I,U,_,O,,,,M])=>{var A=$`[class^=esri-icon-],[class*=" esri-icon-"]{speak:none;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;font-style:normal;font-weight:var(--calcite-font-weight-normal);line-height:1;font-family:CalciteWebCoreIcons!important}.esri-icon-close:before{content:"";color:inherit}.esri-icon-drag-horizontal:before{content:"";color:inherit}.esri-icon-drag-vertical:before{content:"";color:inherit}.esri-icon-handle-horizontal:before{content:"";color:inherit}.esri-icon-handle-vertical:before{content:"";color:inherit}.esri-icon-check-mark:before{content:"";color:inherit}.esri-icon-left-triangle-arrow:before{content:"";color:inherit}.esri-icon-right-triangle-arrow:before{content:"";color:inherit}.esri-icon-down-arrow:before{content:"";color:inherit}.esri-icon-up-arrow:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-left:before{content:"";color:inherit}.esri-icon-overview-arrow-bottom-right:before{content:"";color:inherit}.esri-icon-overview-arrow-top-left:before{content:"";color:inherit}.esri-icon-overview-arrow-top-right:before{content:"";color:inherit}.esri-icon-maximize:before{content:"";color:inherit}.esri-icon-minimize:before{content:"";color:inherit}.esri-icon-checkbox-unchecked:before{content:"";color:inherit}.esri-icon-checkbox-checked:before{content:"";color:inherit}.esri-icon-radio-unchecked:before{content:"";color:inherit}.esri-icon-radio-checked:before{content:"";color:inherit}.esri-icon-up-arrow-circled:before{content:"";color:inherit}.esri-icon-down-arrow-circled:before{content:"";color:inherit}.esri-icon-left-arrow-circled:before{content:"";color:inherit}.esri-icon-right-arrow-circled:before{content:"";color:inherit}.esri-icon-zoom-out-fixed:before{content:"";color:inherit}.esri-icon-zoom-in-fixed:before{content:"";color:inherit}.esri-icon-refresh:before{content:"";color:inherit}.esri-icon-edit:before{content:"";color:inherit}.esri-icon-authorize:before{content:"";color:inherit}.esri-icon-map-pin:before{content:"";color:inherit}.esri-icon-blank-map-pin:before{content:"";color:inherit}.esri-icon-table:before{content:"";color:inherit}.esri-icon-plus:before{content:"";color:inherit}.esri-icon-minus:before{content:"";color:inherit}.esri-icon-beginning:before{content:"";color:inherit}.esri-icon-reverse:before{content:"";color:inherit}.esri-icon-pause:before{content:"";color:inherit}.esri-icon-play:before{content:"";color:inherit}.esri-icon-forward:before{content:"";color:inherit}.esri-icon-end:before{content:"";color:inherit}.esri-icon-erase:before{content:"";color:inherit}.esri-icon-up-down-arrows:before{content:"";color:inherit}.esri-icon-left:before{content:"";color:inherit}.esri-icon-right:before{content:"";color:inherit}.esri-icon-announcement:before{content:"";color:inherit}.esri-icon-notice-round:before{content:"";color:inherit}.esri-icon-notice-triangle:before{content:"";color:inherit}.esri-icon-home:before{content:"";color:inherit}.esri-icon-locate:before{content:"";color:inherit}.esri-icon-expand:before{content:"";color:inherit}.esri-icon-collapse:before{content:"";color:inherit}.esri-icon-layer-list:before{content:"";color:inherit}.esri-icon-basemap:before{content:"";color:inherit}.esri-icon-globe:before{content:"";color:inherit}.esri-icon-applications:before{content:"";color:inherit}.esri-icon-arrow-up-circled:before{content:"";color:inherit}.esri-icon-arrow-down-circled:before{content:"";color:inherit}.esri-icon-arrow-left-circled:before{content:"";color:inherit}.esri-icon-arrow-right-circled:before{content:"";color:inherit}.esri-icon-minus-circled:before{content:"";color:inherit}.esri-icon-plus-circled:before{content:"";color:inherit}.esri-icon-add-attachment:before{content:"";color:inherit}.esri-icon-attachment:before{content:"";color:inherit}.esri-icon-calendar:before{content:"";color:inherit}.esri-icon-close-circled:before{content:"";color:inherit}.esri-icon-browser:before{content:"";color:inherit}.esri-icon-collection:before{content:"";color:inherit}.esri-icon-comment:before{content:"";color:inherit}.esri-icon-configure-popup:before{content:"";color:inherit}.esri-icon-contact:before{content:"";color:inherit}.esri-icon-dashboard:before{content:"";color:inherit}.esri-icon-deny:before{content:"";color:inherit}.esri-icon-description:before{content:"";color:inherit}.esri-icon-directions:before{content:"";color:inherit}.esri-icon-directions2:before{content:"";color:inherit}.esri-icon-documentation:before{content:"";color:inherit}.esri-icon-duplicate:before{content:"";color:inherit}.esri-icon-review:before{content:"";color:inherit}.esri-icon-environment-settings:before{content:"";color:inherit}.esri-icon-error:before{content:"";color:inherit}.esri-icon-error2:before{content:"";color:inherit}.esri-icon-experimental:before{content:"";color:inherit}.esri-icon-feature-layer:before{content:"";color:inherit}.esri-icon-filter:before{content:"";color:inherit}.esri-icon-grant:before{content:"";color:inherit}.esri-icon-group:before{content:"";color:inherit}.esri-icon-key:before{content:"";color:inherit}.esri-icon-labels:before{content:"";color:inherit}.esri-icon-tag:before{content:"";color:inherit}.esri-icon-layers:before{content:"";color:inherit}.esri-icon-left-arrow:before{content:"";color:inherit}.esri-icon-right-arrow:before{content:"";color:inherit}.esri-icon-link-external:before{content:"";color:inherit}.esri-icon-link:before{content:"";color:inherit}.esri-icon-loading-indicator:before{content:"";color:inherit}.esri-icon-maps:before{content:"";color:inherit}.esri-icon-marketplace:before{content:"";color:inherit}.esri-icon-media:before{content:"";color:inherit}.esri-icon-media2:before{content:"";color:inherit}.esri-icon-menu:before{content:"";color:inherit}.esri-icon-mobile:before{content:"";color:inherit}.esri-icon-phone:before{content:"";color:inherit}.esri-icon-navigation:before{content:"";color:inherit}.esri-icon-pan:before{content:"";color:inherit}.esri-icon-printer:before{content:"";color:inherit}.esri-icon-pie-chart:before{content:"";color:inherit}.esri-icon-chart:before{content:"";color:inherit}.esri-icon-line-chart:before{content:"";color:inherit}.esri-icon-question:before{content:"";color:inherit}.esri-icon-resend-invitation:before{content:"";color:inherit}.esri-icon-rotate:before{content:"";color:inherit}.esri-icon-save:before{content:"";color:inherit}.esri-icon-settings:before{content:"";color:inherit}.esri-icon-settings2:before{content:"";color:inherit}.esri-icon-share:before{content:"";color:inherit}.esri-icon-sign-out:before{content:"";color:inherit}.esri-icon-support:before{content:"";color:inherit}.esri-icon-user:before{content:"";color:inherit}.esri-icon-time-clock:before{content:"";color:inherit}.esri-icon-trash:before{content:"";color:inherit}.esri-icon-upload:before{content:"";color:inherit}.esri-icon-download:before{content:"";color:inherit}.esri-icon-zoom-in-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-search:before{content:"";color:inherit}.esri-icon-zoom-out-magnifying-glass:before{content:"";color:#6e6e6e}.esri-icon-locked:before{content:"";color:inherit}.esri-icon-unlocked:before{content:"";color:inherit}.esri-icon-favorites:before{content:"";color:inherit}.esri-icon-compass:before{content:"";color:inherit}.esri-icon-down:before{content:"";color:inherit}.esri-icon-up:before{content:"";color:inherit}.esri-icon-chat:before{content:"";color:inherit}.esri-icon-dock-bottom:before{content:"";color:inherit}.esri-icon-dock-left:before{content:"";color:inherit}.esri-icon-dock-right:before{content:"";color:inherit}.esri-icon-organization:before{content:"";color:inherit}.esri-icon-north-navigation:before{content:"";color:inherit}.esri-icon-locate-circled:before{content:"";color:inherit}.esri-icon-dial:before{content:"";color:inherit}.esri-icon-polygon:before{content:"";color:inherit}.esri-icon-polyline:before{content:"";color:inherit}.esri-icon-visible:before{content:"";color:inherit}.esri-icon-non-visible:before{content:"";color:inherit}.esri-icon-link-vertical:before{content:"";color:inherit}.esri-icon-unlocked-link-vertical:before{content:"";color:inherit}.esri-icon-link-horizontal:before{content:"";color:inherit}.esri-icon-unlocked-link-horizontal:before{content:"";color:inherit}.esri-icon-swap:before{content:"";color:inherit}.esri-icon-cta-link-external:before{content:"";color:inherit}.esri-icon-reply:before{content:"";color:inherit}.esri-icon-public:before{content:"";color:inherit}.esri-icon-share2:before{content:"";color:inherit}.esri-icon-launch-link-external:before{content:"";color:inherit}.esri-icon-rotate-back:before{content:"";color:inherit}.esri-icon-pan2:before{content:"";color:inherit}.esri-icon-tracking:before{content:"";color:inherit}.esri-icon-expand2:before{content:"";color:inherit}.esri-icon-arrow-down:before{content:"";color:inherit}.esri-icon-arrow-up:before{content:"";color:inherit}.esri-icon-hollow-eye:before{content:"";color:inherit}.esri-icon-play-circled:before{content:"";color:inherit}.esri-icon-volume-off:before{content:"";color:inherit}.esri-icon-volume-on:before{content:"";color:inherit}.esri-icon-bookmark:before{content:"";color:inherit}.esri-icon-lightbulb:before{content:"";color:inherit}.esri-icon-sketch-rectangle:before{content:"";color:inherit}.esri-icon-north-navigation-filled:before{content:"";color:inherit}.esri-icon-default-action:before{content:"";color:inherit}.esri-icon-undo:before{content:"";color:inherit}.esri-icon-redo:before{content:"";color:inherit}.esri-icon-cursor:before{content:"";color:inherit}.esri-icon-cursor-filled:before{content:"";color:inherit}.esri-icon-measure:before{content:"";color:inherit}.esri-icon-measure-line:before{content:"";color:inherit}.esri-icon-measure-area:before{content:"";color:inherit}.esri-icon-legend:before{content:"";color:inherit}.esri-icon-sliders:before{content:"";color:inherit}.esri-icon-sliders-horizontal:before{content:"";color:inherit}.esri-icon-cursor-marquee:before{content:"";color:inherit}.esri-icon-lasso:before{content:"";color:inherit}.esri-icon-elevation-profile:before{content:"";color:inherit}.esri-icon-slice:before{content:"";color:inherit}.esri-icon-line-of-sight:before{content:"";color:inherit}.esri-icon-zoom-to-object:before{content:"";color:inherit}.esri-icon-urban-model:before{content:"";color:inherit}.esri-icon-measure-building-height-shadow:before{content:"";color:inherit}.esri-icon-partly-cloudy:before{content:"";color:inherit}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-button{box-sizing:border-box;cursor:pointer;white-space:normal;word-break:normal;color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info);justify-content:center;align-items:center;width:100%;min-height:var(--calcite-spacing-xxxl);padding:6px 7px;font-family:inherit;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out,border .125s ease-in-out;display:flex;overflow:hidden;&:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-status-info-hover);border:var(--calcite-spacing-px) solid var(--calcite-color-status-info-hover)}}.esri-button:hover{color:var(--calcite-color-text-1);background-color:var(--calcite-color-text-2);border:1px solid var(--calcite-color-text-2)}.esri-button.esri-button--small{min-height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size-sm)}.esri-button.esri-button--half{width:50%;display:inline-block}.esri-button.esri-button--third{width:33%;display:inline-block}.esri-button--secondary{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-button--tertiary{color:var(--calcite-color-brand);background-color:var(--calcite-color-transparent);border-color:var(--calcite-color-transparent)}.esri-button--tertiary:hover{color:var(--calcite-color-brand-hover);background-color:var(--calcite-color-foreground-2);border-color:var(--calcite-color-transparent)}.esri-button--disabled{opacity:.4;pointer-events:none}.esri-button--drill-in{outline-offset:-4px;cursor:pointer;text-align:unset;background-color:var(--calcite-color-foreground-1);border:none;border-radius:2px;justify-content:space-between;align-items:center;margin:var(--calcite-spacing-md) 7px;padding:var(--calcite-spacing-md) 7px;text-decoration:none;transition:background-color .125s ease-in-out;display:flex;box-shadow:0 0 0 1px #adadad4d}.esri-button--drill-in:hover,.esri-button--drill-in:focus{background-color:var(--calcite-color-foreground-2)}.esri-button--drill-in__title{font-size:var(--calcite-font-size)}.esri-button--drill-in [class^=esri-icon-],.esri-button--drill-in [class*=" esri-icon-"]{padding:0 7px}.esri-widget--button{cursor:pointer;text-align:center;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);flex-flow:row;justify-content:center;align-items:center;width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);margin:0;padding:0;font-size:var(--calcite-font-size);transition:background-color .125s ease-in-out;display:flex;overflow:hidden}.esri-widget--button:is(calcite-button):not(:hover){--calcite-icon-color: var(--calcite-color-text-3)}.esri-widget--button:not([appearance]),.esri-widget--button[appearance=solid]{--calcite-color-foreground-3: var(--calcite-color-foreground-1)}.esri-widget--button:is(calcite-button){--calcite-offset-invert-focus: 1}.esri-widget--button calcite-loader[inline]{margin:auto}.esri-button--secondary{color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);&:hover{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-status-info);border:1px solid var(--calcite-color-status-info)}}:host{background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);padding-block-start:var(--arcgis-coordinate-conversion-padding-y);width:var(--arcgis-coordinate-conversion-width, 280px)}.root{background-color:var(--calcite-color-foreground-1)}calcite-alert{--calcite-alert-offset-size: var(--calcite-spacing-sm)}calcite-notice[open]{padding:var(--calcite-spacing-sm)}calcite-block{--calcite-block-content-space: 0;margin:0;padding-inline:var(--arcgis-coordinate-conversion-padding-x)}calcite-block:last-of-type{padding-block-end:var(--arcgis-coordinate-conversion-padding-y, var(--calcite-spacing-sm))}.go-to-input-holder{display:flex}.go-to-input-holder calcite-input{flex:1}.conversions-block{border:none;padding-bottom:var(--calcite-spacing-sm)}.live-mode-block{--calcite-label-margin-bottom: 0;padding-block:var(--calcite-spacing-sm);padding-inline:var(--arcgis-coordinate-conversion-padding-x, var(--calcite-spacing-sm))}.live-mode-label{width:fit-content;margin-inline-start:auto}.font-size-small{font-size:var(--calcite-font-size--2)}.format-radio-label{display:flex;flex-direction:column}.radio-label{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size--2)}.radio-description{font-weight:var(--calcite-font-weight-light);font-size:var(--calcite-font-size--3)}.unit-select-panel{--calcite-panel-space: var(--calcite-spacing-md)}.popover-footer{padding:var(--calcite-spacing-sm);border-top:1px solid var(--calcite-color-border-3)}.input-form-group{display:flex;flex-direction:column;align-items:flex-start;padding:var(--calcite-spacing-sm)}.add-conversion-trigger{margin-inline-start:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm)}.input-form-group calcite-label{width:100%}.settings{padding:var(--calcite-spacing-md);display:flex;flex-direction:column;align-items:center;background-color:var(--calcite-color-foreground-1);max-width:var(--arcgis-coordinate-conversion-width, 320px)}.settings calcite-label{width:100%}.settings calcite-input{flex:1}.settings-form-group-horizontal{display:flex}`,B=2500,V=1e3,q=new I({x:0,y:0}),l={copy:"copy",gear:"gear",goTo:"zoom-to-object",lightbulb:"lightbulb",plus:"plus",refresh:"refresh",warning:"exclamation-mark-triangle"},j=M(U),y=class extends k{constructor(){super(...arguments),this._alertTimer=-1,this._conversionPopoverMap=new Map,this._coordinateInput=w(),this.messages=z({name:"coordinate-conversion",blocking:!0}),this._multipleConversionsDisabled=!1,this.quantityFormatter=new O,this.viewModel=j(this),this.clearAlertTimeout=()=>{window.clearTimeout(this._alertTimer),this.alertProperties={...this.alertProperties,open:!1}},this.onElevationPopoverTriggerMount=e=>{this._elevationPopoverTrigger=e},this.onFormatPopoverTriggerMount=e=>{this._formatsPopoverTrigger=e},this.stopPropagation=e=>{e.stopPropagation()},this.handleFormatComboboxChange=e=>{let o=e.target.selectedItems[0].value,i=this.formats.find(t=>t.name===o);if(i){let t=this.activeConversion??this.conversions.at(0)??null,r=new _({format:i});t&&this.transferConversionPopoverState(t,r),this.conversions.splice(0,1,r),this.activeConversion=r,this.setPreviewConversion()}},this.alertProperties={kind:"brand",message:null,title:null,open:!1},this.elevationPopoverOpen=!1,this.formatsPopoverOpen=!1,this.invalidInput=!1,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.conversions=this.viewModel.conversions,this.currentLocation=this.viewModel.currentLocation,this.expanded=!1,this.formats=this.viewModel.formats,this.goToOverride=this.viewModel.goToOverride,this.headingLevel=4,this.hideCaptureButton=!1,this.hideCaptureSection=!1,this.hideInputButton=!1,this.hideInputSection=!1,this.hideExpandButton=!1,this.hideSettingsButton=!1,this.icon="coordinate-system",this.label=this.messages.componentLabel,this.locationSymbol=this.viewModel.locationSymbol,this.mode=this.viewModel.mode,this.orientation="auto",this.removeLeadingZeros=this.viewModel.removeLeadingZeros,this.showElevation=!1,this.state=this.viewModel.state,this.storageType=this.viewModel.storageType,this.arcgisConversionChange=m(),this.arcgisPropertyChange=P()("currentLocation","state","mode","verticalUnit"),this.arcgisReady=m(),this.renderConversionView=(e,o)=>{let{messages:i}=this,{format:t}=e,r=t?.label??"",s=o===0,a=e.displayCoordinate&&this.mode!=="live",d=this.getConversionPopoverState(e),p=i.settingsTitleWithFormat.replace("{formatName}",e.format?.name?.toUpperCase()??""),u=this.hideSettingsButton?null:n`<calcite-action data-format=${e.format?.name??c} .icon=${l.gear} .label=${p} @click=${h=>this.openConversionSettings(e,h)} @keydown=${this.stopPropagation} scale=s slot=actions-end .text=${p} title=${p??c} ${g(d.triggerRef)}></calcite-action>`,v=s&&!e.displayCoordinate?i.noLocation:e.displayCoordinate;return E(e?.format?.name,n`<calcite-list-item class="conversion-list-item" .description=${r.toUpperCase()} .label=${this.getDisplayCoordinate(v)} .iconEnd=${a?l.copy:void 0} @click=${()=>a&&this.copyToClipboard(e.displayCoordinate)} @keydown=${h=>{h.key==="Enter"&&a&&this.copyToClipboard(e.displayCoordinate)}} role=button scale=s title=${v??void 0??c}>${u}</calcite-list-item>`)},this.renderLiveModeSection=()=>{let{messages:e}=this,o=this.mode==="idle"?this.viewModel.mode:this.mode;return n`<calcite-block class="live-mode-block" .disabled=${this.disabled} expanded .headingLevel=${this.headingLevel} .label=${e.captureMode} scale=s><calcite-label alignment=end class="live-mode-label" layout=inline scale=s>${e.captureMode}<calcite-switch .checked=${o==="capture"} @calciteSwitchChange=${this.toggleMode}></calcite-switch></calcite-label></calcite-block>`}}static{this.properties={activeConversion:16,alertProperties:16,defaultMeasurementSystem:16,disabled:16,displayedElevation:16,elevationPopoverOpen:16,formatsPopoverOpen:16,invalidInput:16,inputFormat:16,previewConversion:16,view:0,autoDestroyDisabled:5,conversions:0,currentLocation:0,expanded:7,formats:0,goToOverride:0,headingLevel:9,hideCaptureButton:7,hideCaptureSection:7,hideInputButton:7,hideInputSection:7,hideExpandButton:7,hideSettingsButton:7,icon:1,ignoreCoordinatePrecision:5,label:1,locationSymbol:0,mode:3,multipleConversionsDisabled:7,orientation:3,referenceElement:1,removeLeadingZeros:7,showElevation:7,state:32,storageDisabled:7,storageType:1,verticalUnit:1}}static{this.styles=A}get defaultMeasurementSystem(){return this.view?.ready?D(this.view):"metric"}get disabled(){return this.viewModel.state==="disabled"}get displayedElevation(){let{currentLocation:e,verticalUnit:o,messages:i}=this;if(e?.z===void 0||e.z===null)return i.noElevation;{let t=F(e.z,"meters",o);return this.quantityFormatter.formatLength({value:t,unit:o,type:"length"},2,"plural")}}get ignoreCoordinatePrecision(){return!this.viewModel.calculateCoordinatePrecision}set ignoreCoordinatePrecision(e){this.viewModel.calculateCoordinatePrecision=!e}get multipleConversionsDisabled(){return this._multipleConversionsDisabled}set multipleConversionsDisabled(e){e&&(this.expanded=!1,this.conversions.splice(1,this.conversions.length-1)),this._multipleConversionsDisabled=e}get storageDisabled(){return!this.viewModel.storageEnabled}set storageDisabled(e){this.viewModel.storageEnabled=!e}get verticalUnit(){return this._userVerticalUnit??(this.defaultMeasurementSystem==="imperial"?"feet":"meters")}set verticalUnit(e){this._userVerticalUnit=e}async destroy(){this.clearAlertTimeout(),await this.manager.destroy()}async reverseConvert(e,o){return await this.viewModel.reverseConvert(e,o)}load(){this.manager.onLifecycle(()=>[this.conversions.on("change",()=>this.arcgisConversionChange.emit())])}willUpdate(e){if(e.has("currentLocation")){let o=e.get("currentLocation");(this.mode==="capture"||this.mode==="idle")&&!this.currentLocation?.equals(o)&&this.viewModel.setLocation(this.currentLocation)}}closeAllPopovers(){for(let e of this._conversionPopoverMap.values())e.open=!1;this.elevationPopoverOpen=!1,this.formatsPopoverOpen=!1,this.requestUpdate()}async copyToClipboard(e){e&&(e=e.replace(/‎/gu,""),await navigator.clipboard.writeText(e),this.showAlertMessage(null,this.messages.copySuccessMessage,"success",V))}findSettingsFormat(){return this.activeConversion?.format||this.conversions.reduceRight((e,o)=>{let i=o.format;return i&&x(i)?i:e},null)||this.formats.find(e=>x(e))||null}getConversionPopoverState(e){let o=this._conversionPopoverMap.get(e);return o||(o={triggerRef:w(),open:!1},this._conversionPopoverMap.set(e,o)),o}getDisplayCoordinate(e){return e?e.includes(",")?e.replace(/, /gu,",\xA0\u200B").replace(/ /gu,"\xA0"):e:"\u200B"}getFormatDescription(e){let{messages:o}=this;return o.formatDescriptions[e.name]??o.formatDescriptions.custom}getId(e){return`arcgis-coordinate-conversion-${e}`}handleElevationSettingsTrigger(e){let o=!this.elevationPopoverOpen;this.closeAllPopovers(),this.elevationPopoverOpen=o,e.stopPropagation()}openConversionSettings(e,o){let i=this.getConversionPopoverState(e),t=this.activeConversion!==e||!i.open;this.closeAllPopovers(),i.open=t,this._conversionPopoverTrigger=t?o.currentTarget:void 0,this.activeConversion=t?e:void 0,t&&this.setPreviewConversion(),this.requestUpdate(),o.stopPropagation()}async processUserInput(e,o,i){let{viewModel:t}=this;try{let r=await this._reverseConvert(e,o);if(r)i&&t.goToLocation(r).catch(s=>{f(this)(s),this.showAlertMessage(null,this.messages.locationOffBasemap,"warning")});else throw new Error("failed to process user input");this.mode==="capture"?t.resume():this.mode="capture",this.invalidInput=!1,this.currentLocation=r??void 0,t.setLocation(r)}catch(r){f(this)(r),this.showAlertMessage(null,this.messages.invalidCoordinate,"warning"),this.invalidInput=!0}}async processUserKeyboardInput(e){let{key:o}=e;if(o==="Enter"){let i=this.inputFormat||this.conversions.at(0)?.format,t=this._coordinateInput.value?.value;if(!i||!t)return;await this.processUserInput(t,i,!0)}else this.invalidInput=!1}async processUserMouseInput(e){let o=this.inputFormat||this.conversions.at(0)?.format,i=this._coordinateInput.value?.value;!o||!i||await this.processUserInput(i,o,e)}async _reverseConvert(e,o){return await o.reverseConvert(e)}setDefaultPattern(e){e.stopPropagation();let o=this.findSettingsFormat();o?.defaultPattern&&(o.currentPattern=o.defaultPattern)}setInputFormat(e){let o=e.target.selectedOption.value;o!==null&&(this.inputFormat=o)}setPreviewConversion(){let e=this.findSettingsFormat(),o=this.viewModel;if(e){let i=this.conversions.find(t=>t.format===e);this.previewConversion=new _({format:e,position:{location:this.currentLocation,coordinate:i?.position?.coordinate}}),this.previewConversion.position?.coordinate||o.previewConversion(this.previewConversion,o.currentLocation??q)}}showAlertMessage(e,o,i,t=B){this.alertProperties={...this.alertProperties,title:e,message:o,kind:i,open:!0},window.clearTimeout(this._alertTimer),this._alertTimer=window.setTimeout(()=>{this.alertProperties={...this.alertProperties,open:!1}},t)}toggleConversion(e){let o=e.target,i=this.formats.find(t=>t.name===o.getAttribute("data-format"));if(i){let t=this.conversions.find(r=>r.format===i);if(t){if(this.conversions.length>1){let r=this._conversionPopoverMap.get(t);r&&(r.open=!1,this._conversionPopoverMap.delete(t)),this.activeConversion===t&&(this.activeConversion=void 0),this.conversions.remove(t)}}else{let r=new _({format:i});this.conversions.add(r)}}}toggleMode(){this.mode=this.viewModel.mode==="live"?"capture":"live"}transferConversionPopoverState(e,o){let i=this.getConversionPopoverState(e),t=this.getConversionPopoverState(o);t.open=i.open,this._conversionPopoverMap.delete(e)}updateCurrentPattern(e){e.stopPropagation();let o=e.target,i=this.findSettingsFormat();i&&(i.currentPattern=o.value)}render(){let{headingLevel:e}=this,o=this.renderConversionPopover();return n`<calcite-panel class=root .headingLevel=${e} scale=s>${this.renderConversionsView()}${this.renderAlert()}</calcite-panel>${o}`}renderAlert(){let{messages:e}=this,{open:o,message:i,title:t,kind:r}=this.alertProperties;return n`<calcite-alert class="alert" .kind=${r} .label=${e.alertLabel} @calciteAlertClose=${this.clearAlertTimeout} .open=${o} placement=top scale=s slot=alerts>${t?n`<div slot=title>${t}</div>`:null}${i?n`<div slot=message>${i}</div>`:null}</calcite-alert>`}renderConversionOptions(e,o){return e.map(i=>n`<calcite-option .label=${i.label.toUpperCase()} .selected=${i===o} .value=${i}>${i.label}</calcite-option>`)}renderConversionPopover(){let{activeConversion:e,messages:o}=this;if(!e)return null;let i=this.getConversionPopoverState(e),t=o.settingsTitleWithFormat.replace("{formatName}",e.format?.name?.toUpperCase()??"");return this.renderPopover({content:this.renderSettingsView(),getPopoverOpenProperty:()=>i.open,heading:t,includeFooter:!0,label:t,placement:"left",setPopoverOpenProperty:r=>{i.open=r,r||(this._conversionPopoverTrigger=void 0,this.activeConversion=void 0),this.requestUpdate()},trigger:null,triggerElement:i.triggerRef.value??this._conversionPopoverTrigger??void 0})}renderConversionsView(){if(!this.conversions)return;let{messages:e,multipleConversionsDisabled:o}=this,i=(o?this.conversions.slice(0,1):this.conversions).map(this.renderConversionView).reverse(),t=this.showElevation?this.renderElevation():null,r=this.hideCaptureSection?null:this.renderLiveModeSection(),s=this.hideInputSection?null:this.renderCoordinateInputView(),a=this.multipleConversionsDisabled?null:this.renderFormatDropdown(),d=n`<calcite-notice .icon=${l.lightbulb} .open=${this.disabled} width=full><div class="font-size-small" slot=message>${e.noBasemap}</div></calcite-notice>`;return n`${r}${d}${s}<calcite-block class="conversions-block" .disabled=${this.disabled} expanded .heading=${e.coordinates} .headingLevel=${this.headingLevel} scale=s><calcite-list interaction-mode=static .label=${e.coordinates} scale=s>${i}</calcite-list>${a}</calcite-block>${t}`}renderCoordinateInputView(){let{messages:e}=this,o=this.inputFormat??this.conversions.at(0)?.format,i=this.getId("coordinate-input"),t=this.renderConversionOptions(this.formats,o??void 0),r=n`<calcite-action .icon=${l.goTo} .label=${e.convertAndGoTo} @click=${()=>this.processUserMouseInput(!0)} @keydown=${this.stopPropagation} scale=s .text=${e.convertAndGoTo} title=${e.convertAndGoTo??c}></calcite-action>`;return n`<calcite-block collapsible data-testid=input-block .disabled=${this.disabled} .heading=${e.input} .headingLevel=${this.headingLevel} scale=s><div class="input-form-group"><calcite-label scale=s>${e.inputFormat}<calcite-select aria-controls=${i??c} class="input-select" .label=${e.inputFormat} @calciteSelectChange=${this.setInputFormat} scale=s>${t}</calcite-select></calcite-label><calcite-label scale=s>${e.inputCoordTitle}<div class="go-to-input-holder"><calcite-input class="coordinate-input" data-format=${o??c} data-testid=coordinate-input id=${i??c} @keydown=${this.processUserKeyboardInput} .placeholder=${e.inputCoordTitle} required scale=s .status=${this.invalidInput?"invalid":"idle"} ${g(this._coordinateInput)}></calcite-input>${r}</div></calcite-label><calcite-button appearance=outline data-testid=convert-button kind=neutral @click=${()=>this.processUserMouseInput(!1)} type=button scale=s width=auto>${e.convert}</calcite-button></div></calcite-block>`}renderElevation(){let{messages:e}=this,o=this.displayedElevation??e.noElevation,i=this.hideSettingsButton?null:n`<calcite-action .icon=${l.gear} .label=${e.selectElevationUnit} @click=${this.handleElevationSettingsTrigger} @keydown=${this.stopPropagation} scale=s slot=actions-end .text=${e.selectElevationUnit} title=${e.selectElevationUnit??c} ${g(this.onElevationPopoverTriggerMount)}></calcite-action>`,t=this.hideSettingsButton?null:this.renderElevationSettingsDropdown(),r=this.currentLocation?.z!==void 0&&this.mode!=="live";return n`<calcite-block .disabled=${this.disabled} expanded .heading=${e.elevation} .headingLevel=${this.headingLevel} scale=s><calcite-list-item class="elevation-list-item" .iconEnd=${r?l.copy:void 0} .label=${o} @click=${()=>r&&this.copyToClipboard(o)} @keydown=${s=>{s.key==="Enter"&&r&&this.copyToClipboard(o)}} role=button scale=s tabindex=0 title=${o??c}>${i}</calcite-list-item>${t}</calcite-block>`}renderElevationSettingsDropdown(){let{messages:e}=this,o=n`<arcgis-unit-radio-button-group @arcgisUnitSelectChange=${i=>this.verticalUnit=i.detail} .options=${S} .name=${e.selectElevationUnit} scale=s .value=${this.verticalUnit}></arcgis-unit-radio-button-group>`;return this.renderPopover({content:o,closeOnEnter:!0,getPopoverOpenProperty:()=>this.elevationPopoverOpen,includeFooter:!1,label:e.selectElevationUnit,setPopoverOpenProperty:i=>this.elevationPopoverOpen=i,trigger:null,triggerElement:this._elevationPopoverTrigger})}renderFormatDropdown(){let{messages:e}=this,o=n`<calcite-list .label=${e.addConversion} scale=s selection-mode=multiple>${T(this.formats,t=>t,t=>{let r=!!this.conversions.find(a=>a.format===t),s=this.getFormatDescription(t);return n`<calcite-list-item data-format=${t.name??c} .description=${s} .disabled=${r&&this.conversions.length===1} .label=${t.label.toUpperCase()} @calciteListItemSelect=${this.toggleConversion} .selected=${r}></calcite-list-item>`})}</calcite-list>`,i=n`<calcite-button appearance=outline class="add-conversion-trigger" .iconStart=${l.plus} kind=neutral .label=${e.selectFormats} round scale=s ${g(this.onFormatPopoverTriggerMount)}>${e.selectFormats}</calcite-button>`;return this.renderPopover({content:o,includeFooter:!0,getPopoverOpenProperty:()=>this.formatsPopoverOpen,label:e.selectFormats,setPopoverOpenProperty:t=>this.formatsPopoverOpen=t,trigger:i,triggerElement:this._formatsPopoverTrigger})}renderPopover({content:e,closeOnEnter:o,heading:i,getPopoverOpenProperty:t,includeFooter:r,label:s,placement:a,setPopoverOpenProperty:d,slot:p,trigger:u,triggerDisabled:v,triggerElement:h}){let{messages:L}=this;return n`${u}${h?n`<calcite-popover auto-close .heading=${i} .headingLevel=${this.headingLevel} .label=${s} @calcitePopoverBeforeOpen=${()=>{d(!0)}} @calcitePopoverClose=${b=>{d(!1),b.stopPropagation()}} @keydown=${b=>{o&&(b.key==="Enter"||b.key===" ")&&d(!1)}} .open=${t()} .placement=${a??"auto"} .referenceElement=${h} scale=s slot=${p??c} .triggerDisabled=${v}>${e}${r?n`<div class="popover-footer"><calcite-button appearance=solid class="popover-done-button" kind=brand @click=${()=>d(!1)} scale=s width=full>${L.done}</calcite-button></div>`:null}</calcite-popover>`:null}`}renderSettingsView(){let{messages:e}=this,o=this.findSettingsFormat(),i=this.getId("pattern-input"),t=this.getId("preview-coordinate"),r=o?.currentPattern,s=this.multipleConversionsDisabled?this.renderSingleFormatDropdown():null;if(!o||!x(o))return n`<div class="settings"><calcite-label scale=s>${e.format}${s??n`<calcite-notice class="no-display-properties-notice" .icon=${l.warning} open scale=s><div class="font-size-small" slot=message>${e.noDisplayProperties}</div></calcite-notice>`}</calcite-label></div>`;let a=n`<calcite-action .icon=${l.refresh} .label=${e.defaultPattern} @click=${this.setDefaultPattern} scale=s .text=${e.defaultPattern} title=${e.defaultPattern??c}></calcite-action>`;return n`<div class="settings"><calcite-label scale=s>${e.format}${s}</calcite-label><calcite-label .for=${i} scale=s>${e.display}<div class="settings-form-group-horizontal"><calcite-input aria-controls=${t??c} class="pattern-input" id=${i??c} @calciteInputInput=${this.updateCurrentPattern} scale=s type=text .value=${r}></calcite-input>${a}</div></calcite-label><calcite-label scale=s>${e.preview}<calcite-input read-only scale=s type=text .value=${this.previewConversion?.displayCoordinate??void 0}></calcite-input></calcite-label></div>`}renderSingleFormatDropdown(){let{messages:e}=this;return n`<calcite-combobox data-testid=single-format-combobox .label=${e.selectFormat} @calciteComboboxChange=${this.handleFormatComboboxChange} scale=s selection-mode=single-persist>${this.formats?.map(o=>n`<calcite-combobox-item .description=${this.getFormatDescription(o)} .heading=${o.label.toUpperCase()} .selected=${this.conversions.at(0)?.format===o} .value=${o.name}></calcite-combobox-item>`)}</calcite-combobox>`}};C("arcgis-coordinate-conversion",y);return y},"applications/Components/unitUtils","applications/Components/getDefaultUnits","applications/Components/formatUtils","geometry/Point","widgets/CoordinateConversion/CoordinateConversionViewModel","widgets/CoordinateConversion/support/Conversion","applications/Components/QuantityFormatter",a,b,d,e)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
- import{a as D}from"./2FEX7FAZ.js";import{a as Ce,b as Ee,c as Me,d as Te,f as Ae,g as ze,h as Fe,i as Oe,j as Pe,k as De,m as _,n as J,o as Re,p as Se,q as K}from"./4KLZDEYJ.js";import"./MP6Z45SA.js";import i from"./VG6UIJ3W.js";import{a as P}from"./M35DILXG.js";import{a as E}from"./GI5SSBWA.js";import h from"./22EHINJ6.js";import f from"./R3NYK6BO.js";import e from"./E3V3VK77.js";import"./PC4PAQXQ.js";import d from"./JYVV3JI3.js";import{a as we}from"./NHBQXARI.js";import{a as U}from"./54VXNFQ4.js";import{a as Le}from"./CAHAW2AM.js";import c from"./VQIFXIMQ.js";import b from"./J26EKNWT.js";import{h as ye}from"./R2NTRI4S.js";import"./FAECSPBC.js";import a from"./YDIKH6TZ.js";import{d as z}from"./GMFJ55C3.js";import{B as fe,M as k,N as C,O as ve,P as u,Q as _e,R as g,S as Z,U as be,a as V,b as l,x as ue}from"./FKJWY2PS.js";import"./3TTFCHAA.js";export default $arcgis.t(([dt,R,{on:Ye,watch:pt},{isLayerFromCatalog:rt},{h:$e},,{a:xe},Ie,,,,{a:q,b:ke}])=>{var je=new Map;function Ge(o){return o?je.get(o)??!1:!1}function ot(o,e){let t=!(o.aria?.pressed??Ge(e));return o.aria={...o.aria,pressed:t},e&&je.set(e,t),t}function Q(o){return o&&"visibilityMode"in o?o.visibilityMode:null}function Be(o,e){"visible"in o&&(Q(e)==="exclusive"&&o.visible||(o.visible=!o.visible))}function st(o,e){o.panel.open=!o.panel.open,o.panel.open&&e&&e()}function lt(o,e,t,i){o&&t===e.layer?.uid&&($e(o),i?.(null))}function nt(o,e,t){t.type==="toggle"&&(t.value=!t.value),o(t,e)}function ct(o){return o.actionsSections.map(e=>e.filter(t=>t.visible))}function Ne(o,e){let{icon:t}=e;if(t)return null;let i="image"in e?e.image:void 0;return i?l`<span aria-hidden=true class=${u(z(o.itemActionIcon,{[o.itemActionImage]:!!i}))} style=${_e(ke(i))}></span>`:null}function Ue(o,e,t){let{item:i,css:a,handleAction:s}=o,{active:n,disabled:c,title:d,type:m,indicator:b}=e,x=q(e);return l`<calcite-action .active=${m==="toggle"?e.value:!1} data-action-id=${e.id??g} .disabled=${c} .icon=${x} .indicator=${b} .loading=${n} @click=${()=>nt(s,i,e)} scale=s slot=${(t?void 0:"actions-end")??g} .text=${d??""} .textEnabled=${t} title=${d??void 0??g}>${Ne(a,e)}</calcite-action>`}function W(o){let{item:e,parent:t,hideStatusIndicators:i,css:a,visibilityAppearance:s,hideCatalogLayerList:n,dragEnabled:c=!1,rootGroupUid:d,listModeDisabled:m=!1,selectionMode:b,displayMode:x,layerTablesEnabled:$,showErrors:F,parentTitles:I,selectedItems:O,activeItem:h,handleCatalogOpen:S,handleTablesOpen:Ve,selectedDragItemLayerUid:Ze,handleSelectedDragItemLayerUidChange:qe,handlePanelOpen:Je,messages:p,setCurrentActiveItem:ee,clearActiveItem:te}=o,L=k(),j=k(),M=e.title||("untitledTable"in p?p.untitledTable:p.untitledLayer??""),ie=null;i||(ie=l`<arcgis-layer-list-item-indicator .messages=${p} .item=${e} .parent=${t} slot=content-end></arcgis-layer-list-item-indicator>`);let ae=null;{let{layer:r}=e,f=r&&"persistenceEnabled"in r&&(rt(r)||!r.persistenceEnabled);(o.showTemporaryLayerIndicators||o.showTemporaryTableIndicators)&&f&&(ae=l`<calcite-icon class=${u(a.itemTemporaryIcon)} icon=temporary scale=s slot=content-start title=${p.temporary??g}></calcite-icon>`)}let re=null;if("visible"in e&&"visibleToggle"in a&&s){let r=Q(t);if(r!=="inherited"){let f=Te({visible:e.visible,exclusive:r==="exclusive",visibilityAppearance:s}),v=s==="checkbox",w=p.layerVisibility,T=Ge(e.layer?.id);re=l`<calcite-action .aria=${{pressed:T}} .active=${T} class=${u(a.visibleToggle)} .icon=${v?f:void 0} @click=${A=>{ot(A.currentTarget,e.layer?.id),Be(e,t)}} .slot=${v?"actions-start":"actions-end"} .text=${w??""} title=${w??g}>${v?null:l`<calcite-icon class=${u(z({[a.visibleIcon]:r!=="exclusive"&&e.visible}))} .icon=${f} scale=s></calcite-icon>`}</calcite-action>`}}let oe=null;{let r=e.panel;r?.open&&!r.disabled&&!r.flowEnabled&&(oe=l`<div class=${u(a.itemContentBottom)} slot=content-bottom><arcgis-layer-list-item-panel .item=${e} .view=${o.view}></arcgis-layer-list-item-panel></div>`)}let se=null;{let r=e.panel;if(r?.visible){let{open:f,title:v,disabled:w}=r,T={icon:r.icon,image:r.image,indicator:!1},A=q(T);se=l`<calcite-action .active=${f} .disabled=${w} .icon=${A} @click=${()=>st(e,Je)} slot=actions-end .text=${v??""} title=${v??void 0??g}>${Ne(a,r)}</calcite-action>`}}let le=null;{let r=e.layer,f=r?.type==="catalog-footprint",v=r?.type==="sublayer"&&K(r,"footprints");"itemCatalogIcon"in a&&(f||v)&&(le=l`<calcite-icon class=${u(a.itemCatalogIcon)} icon=footprint scale=s slot=content-start></calcite-icon>`)}let ne=null;{let r=e.layer,f=r?.type==="catalog-dynamic-group",v=r?.type==="sublayer"&&K(r,"layers-in-view");"itemCatalogIcon"in a&&(f||v)&&(ne=l`<calcite-icon class=${u(a.itemCatalogIcon)} icon=catalog-dataset scale=s slot=content-start></calcite-icon>`)}let ce=null;if("visible"in e){let r=e.layer;!n&&r?.type==="catalog-dynamic-group"&&(ce=l`<calcite-action .disabled=${!r.visible} icon=chevron-right icon-flip-rtl @click=${()=>S?.(e)} scale=s slot=actions-end .text=${M??""}></calcite-action>`)}let de=null,G=!1;{let r=e.layer;if($&&r)switch(r.type){case"knowledge-graph":G=$.includes(r.type)&&"tables"in r&&!!r.tables?.length;break;case"map-image":case"tile":G=$.includes(r.type)&&"subtables"in r&&!!r.subtables?.length;break}"itemTableIcon"in a&&"visible"in e&&"tables"in p&&G&&(de=E(`${e.uid}-tables`,l`<calcite-list-item class=${u(a.item)} data-layer-id=${r?.id??g} drag-disabled .label=${p.tables} title=${p.tables??g} @calciteListItemSelect=${()=>Ve?.(e)} .value=${e}><calcite-icon class=${u(a.itemTableIcon)} icon=table scale=s slot=content-start></calcite-icon><calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon></calcite-list-item>`))}let pe=null;if("children"in e){let r=[...I??[],e.title],{children:f,layer:v}=e,w=v?.type!=="catalog-dynamic-group"&&Re(e),T=m?!1:Ae(v),A=v?.type==="group",tt=!T&&!w&&c&&A,it=c&&"childrenSortable"in e&&e.childrenSortable&&Oe(e),at=w?P(f?.filter(y=>!y.hidden&&(F||!y.error)).toArray()??[],y=>y.uid,y=>W({...o,item:y,parent:e,parentTitles:r})):null;(w||tt)&&(pe=l`<calcite-list .canPull=${y=>o.canMove?o.canMove(y,"pull"):!1} .canPut=${y=>o.canMove?o.canMove(y,"put"):!1} data-item=${e.uid??g} data-layer-type=${d??g} .displayMode=${x} .dragEnabled=${it} .group=${A?d:`${d}-${v?.uid}`} .label=${e.title} selection-appearance=highlight .selectionMode=${b}>${at}${de}</calcite-list>`)}let N=null;e.error?N=l`<div class=${u(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s width=full><div slot=message>${"tableError"in p?p.tableError:p.layerError}</div></calcite-notice></div>`:"incompatible"in e&&e.incompatible&&"layerIncompatible"in p&&(N=l`<div class=${u(a.itemMessage)} slot=content-bottom><calcite-notice icon=exclamation-mark-triangle kind=warning open scale=s tabindex=0 width=full ${C(j)}><div slot=message>${p.layerIncompatible}</div></calcite-notice></div>`);let ge=ct(e),Y=e.actionsSections.reduce((r,f)=>r+f.length,0),me=Se(ge),Ke=ge.toArray().map(r=>l`<calcite-action-group>${r.toArray().map(f=>Ue(o,f,!0))}</calcite-action-group>`),Qe=r=>{e.actionsOpen=r.currentTarget.open},he=null;Y>1&&(he=l`<calcite-action-menu appearance=transparent .label=${p.menu??""} .open=${e.actionsOpen} overlay-positioning=fixed placement=bottom-end slot=actions-end @calciteActionMenuOpen=${Qe}><calcite-action icon=ellipsis scale=s slot=trigger .text=${p.options??""} title=${p.options??g}></calcite-action>${Ke}</calcite-action-menu>`);let H=null;Y===1&&me?H=Ue(o,me,!1):Y>1&&(H=he);let We="visibleAtCurrentTimeExtent"in e&&"layerInvisibleAtTime"in p&&!e.visibleAtCurrentTimeExtent?`${M} (${p.layerInvisibleAtTime})`:"visibleAtCurrentScale"in e&&"layerInvisibleAtScale"in p&&!e.visibleAtCurrentScale?`${M} (${p.layerInvisibleAtScale})`:M,Xe="parent"in e&&e.parent?.layer?.type==="catalog",B=e.layer,et="visibleAtCurrentScale"in e&&!e.visibleAtCurrentScale||"visibleAtCurrentTimeExtent"in e&&!e.visibleAtCurrentTimeExtent;return queueMicrotask(()=>{lt(L.value??null,e,Ze,qe),j.value&&(o.handleTooltipReferenceChange?.(B?.uid,j.value),queueMicrotask(()=>o.handleTooltipReferenceChange?.(B?.uid,null))),e.panel&&(e.panel.container=L.value)}),E(e.uid,l`<calcite-list-item class=${u(z(a.item,"itemActive"in a&&{[a.itemActive]:h?.uid===e.uid}))} data-item=${e.uid??g} data-layer-id=${B?.id??g} .dragDisabled=${!("sortable"in e&&e.sortable)||Xe} id=${B?.uid??g} .label=${M} .metadata=${{parentTitles:I??[],_title:M}} .expanded=${"open"in e&&e.open} .selected=${b!=="none"?O.includes(e):!1} title=${We??g} .unavailable=${et} .value=${e} @focusin=${()=>{ee?.(e),L.value?.classList.add(a.itemActive)}} @focusout=${()=>{te?.(),L.value?.classList.remove(a.itemActive)}} @mouseover=${()=>{ee?.(e),L.value?.classList.add(a.itemActive)}} @mouseleave=${()=>{te?.(),L.value?.classList.remove(a.itemActive)}} @calciteListItemSelect=${r=>"visible"in e&&_(r.currentTarget,o.operationalItems)===e&&b==="none"&&Q(t)!=="inherited"&&Be(e,t)} @calciteListItemToggle=${r=>{"open"in e&&(r.stopPropagation(),e.open=r.target.expanded)}} ${C(L)}>${le}${ne}${ie}${re}${ce}${ae}${pe}${N}${oe}${se}${H}</calcite-list-item>`)}var gt=V`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}:host{width:100%;--arcgis-list-item-scroller-max-height: var(--arcgis-internal-panel-height-md)}.item{--calcite-list-item-icon-center: var(--calcite-space-sm)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:14px}.item__filter-container--sticky{z-index:1;position:sticky;top:0}.item__group{margin-top:var(--calcite-spacing-md)}.item__scroller{overflow-y:auto;z-index:0;position:relative}.item__scroller--enabled{max-height:var(--arcgis-list-item-scroller-max-height)}.item__group__header{color:var(--calcite-color-text-2);font-weight:var(--calcite-font-weight-medium)}.item__list-item{cursor:pointer;min-height:var(--calcite-spacing-xxxl)}.item__list-item[class^=esri-icon-],.item__list-item[class*=" esri-icon-"]{padding-inline-end:2.8px}.item__list-item--disabled{cursor:default}.item__list-item-icon{justify-content:center;align-items:center;min-width:var(--calcite-spacing-xxxl);height:var(--calcite-spacing-xxxl);display:flex}.item__list-item-icon span{line-height:0}.arcgis-thumbnail-preview{background-position:50%;width:22px;height:22px}.item__no-matches-message{justify-content:center;align-items:center;height:96px;display:flex}.content-bottom{margin:var(--calcite-spacing-md) 15px}.content-bottom .arcgis-legend__service{padding:0 0 var(--calcite-spacing-md)}.message{margin:var(--calcite-spacing-md) 15px}.visible-icon{visibility:hidden}.item:hover>.visible-toggle>.visible-icon,.item:focus>.visible-toggle>.visible-icon,.item:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,mt=V`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.esri-widget{box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__heading{word-break:break-word}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--arcgis-internal-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{display:flex;min-height:var(--calcite-space-3xl);transition:max-height .25s ease-in-out;overflow-y:auto;--arcgis-layer-list-visibility-icon: hidden}:host>div{display:flex;width:100%}.filter-no-results{padding:var(--calcite-spacing-md) var(--calcite-space-md-plus)}.table-icon,.catalog-icon{margin-inline-end:0}.action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 var(--calcite-spacing-xl);width:var(--calcite-spacing-xl);height:var(--calcite-spacing-xl);font-size:var(--calcite-font-size)}.action-menu .action-group{display:none}.action-menu[open] .action-group{display:flex}.active:hover>.visible-toggle>.visible-icon,.active:focus>.visible-toggle>.visible-icon,.active:focus-within>.visible-toggle>.visible-icon{visibility:visible}`,He="nested",ht=Ie(dt),X=class extends ve{constructor(){super(...arguments),this._lastDragDetail=null,this._rootListRef=k(),this._layerFlowItemRef=k(),this._panelFlowItemRef=k(),this._selectedDragItemLayerUid=null,this._rootGroupUid=`operational-${fe()}`,this._openedLayersController=null,this.messages=we(),this._canMove=({dragEl:e,fromEl:t,toEl:i},a)=>{let s=a==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,n=_(e,this.operationalItems);if(!n?.sortable)return!1;let c=_(t,this.operationalItems),d=J(t),m=_(i,this.operationalItems),b=J(i),x=!!d&&!!b&&d===b,$={selected:n,from:c,to:m},F=t.group,I=i.group,O=c?.layer?.type??"",h=m?.layer?.type??"",S=new Set(["map-image","catalog","knowledge-graph"]);return F&&I&&typeof s=="function"?s($):x&&!S.has(O)&&!S.has(h)&&n?.layer?.type!=="sublayer"},this._onCatalogOpen=e=>{this.openedLayers.push(e.layer?.parent)},this._onTablesOpen=e=>{this.openedLayers.push(e.layer)},this._clearActiveItem=()=>{this._activeItem=null},this._setCurrentActiveItem=e=>{this._activeItem=e},this._setActiveItem=e=>{if(this.visibilityAppearance!=="default")return;let t=Array.from(e.composedPath()).find(a=>a.classList?.contains(D.item)),i=_(t,this.operationalItems);this._activeItem=i},this.viewModel=ht(this),this.arcgisClose=Le(this),this._activeItem=null,this._onTooltipReferenceChange=(e,t)=>{t?this._tooltipReferenceMap.set(e,t):this._tooltipReferenceMap.delete(e)},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this._tooltipReferenceMap=new Map,this._layerListMap=new Map,this.layerTablesEnabled=new R(["knowledge-graph"]),this.mapImageOptions=null,this.openedLayerLists=new R,this.tileOptions=null,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.closed=!1,this.icon="layers",this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.layerTablesAvailable=new R(["knowledge-graph"]),this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.minDragEnabledItems=Me,this.minFilterItems=Ee,this.openedLayers=new R,this.operationalItems=this.viewModel.operationalItems,this.selectedItems=new R,this.selectionMode="none",this.visibilityAppearance="default",this.hideCatalogLayerList=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.hideStatusIndicators=!1,this.showTemporaryLayerIndicators=!1,this.state=this.viewModel.state,this.arcgisPropertyChange=ye()("state"),this.arcgisReady=ue(),this.arcgisTriggerAction=xe(()=>this.viewModel,"trigger-action")}static{this.properties={_catalogLayerList:16,_tableList:16,_tooltipReferenceMap:16,_layerListMap:16,_totalItems:16,_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,layerTablesEnabled:16,mapImageOptions:16,openedLayerLists:16,tileOptions:16,_renderedOpenLayerFlowItems:16,view:0,autoDestroyDisabled:5,closed:5,referenceElement:1,icon:1,catalogLayerList:32,catalogOptions:0,collapsed:5,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,knowledgeGraphOptions:0,layerTablesAvailable:0,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,minDragEnabledItems:9,minFilterItems:9,openedLayers:32,operationalItems:0,position:1,selectedItems:0,selectionMode:1,tableList:32,visibilityAppearance:1,hideCatalogLayerList:5,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,hideStatusIndicators:5,showTemporaryLayerIndicators:5,messageOverrides:0,label:1,state:32}}static{this.styles=[mt,gt]}get _totalItems(){return this.viewModel.operationalItems.flatten(e=>e.children.filter(t=>t.layer?.type!=="catalog-dynamic-group")).length}get _visibleItems(){return this.operationalItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.flatten(e=>e.children).filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this._totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this._totalItems>=this.minFilterItems&&this.showFilter}get _renderedOpenLayerFlowItems(){let{openedLayers:e}=this;return e.toArray().map((t,i)=>this._renderLayerFlowItem(t,i===e.length-1))}get catalogLayerList(){return this._catalogLayerList}get tableList(){return this._tableList}async destroy(){await this.manager.destroy(),this._destroyOpenedLayerLists(),this._tooltipReferenceMap.clear()}loaded(){this.manager.onLifecycle(()=>[Ye(()=>this.openedLayers,"change",()=>{this._handleOpenedLayersChange()},{initial:!0}),Ye(()=>this.viewModel.operationalItems,"change",()=>ze(this.selectedItems),{initial:!0}),pt(()=>[this.filterPredicate,this._rootListRef.value],()=>Fe(this._rootListRef.value,this.filterPredicate,this.operationalItems))])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}async _createFlowList(e,t){let{_layerListMap:i}=this,a=i.get(e);if(a)return a;let s=e.type==="catalog"?await this._createCatalogLayerList(e):await this._createTableList(e);return t.aborted||i.set(e,s),s}async _handleOpenedLayersChange(){let{_layerListMap:e,openedLayers:t,openedLayerLists:i}=this;this._openedLayersController?.abort();let a=new AbortController,{signal:s}=a;this._openedLayersController=a,e.forEach((d,m)=>{t.includes(m)||(d?.destroy?.(),e.delete(m))});let n=await Promise.all(t.map(d=>this._createFlowList(d,s)));if(s.aborted)return;i.removeAll(),i.addMany(n);let c=i.at(-1);c?"catalogLayer"in c?(this._catalogLayerList=c,this._tableList=void 0):(this._catalogLayerList=void 0,this._tableList=c):(this._catalogLayerList=void 0,this._tableList=void 0)}_destroyOpenedLayerLists(){this.openedLayerLists.destroyAll(),this.openedLayers.removeAll(),this._layerListMap.clear()}async _createCatalogLayerList(e){let{headingLevel:t,catalogOptions:i,filterPlaceholder:a,listItemCreatedFunction:s,minFilterItems:n,selectionMode:c,visibilityAppearance:d}=this;return Z(l`<arcgis-catalog-layer-list .headingLevel=${t} .filterPlaceholder=${i?.filterPlaceholder??a} .listItemCreatedFunction=${i?.listItemCreatedFunction??s} .minFilterItems=${i?.minFilterItems??n} .selectionMode=${i?.selectionMode??c} .visibilityAppearance=${i?.visibilityAppearance??d} .showErrors=${i?.visibleElements?.errors??this.showErrors} .showFilter=${i?.visibleElements?.filter??this.showFilter} .hideStatusIndicators=${i?.visibleElements?.statusIndicators??this.hideStatusIndicators} .showTemporaryLayerIndicators=${i?.visibleElements?.temporaryLayerIndicators??this.showTemporaryLayerIndicators} @arcgisReady=${m=>m.stopPropagation()} .catalogLayer=${e} .view=${this.view} .referenceElement=${this.referenceElement} @catalogOpen=${this._onCatalogOpen} @tablesOpen=${this._onTablesOpen}></arcgis-catalog-layer-list>`)}_getTableListParams(e){switch(e.type){case"knowledge-graph":return{...this.knowledgeGraphOptions,tables:e.tables};case"map-image":return{...this.mapImageOptions,tables:e.subtables};case"tile":return{...this.tileOptions,tables:e.subtables};default:return null}}async _createTableList(e){let{headingLevel:t,selectionMode:i,dragEnabled:a}=this,s=this._getTableListParams(e);return Z(l`<arcgis-table-list .headingLevel=${s?.headingLevel??t} .selectionMode=${s?.selectionMode??i} .dragEnabled=${s?.dragEnabled??a} .collapsed=${s?.collapsed} .filterPlaceholder=${s?.filterPlaceholder} .filterText=${s?.filterText} .icon=${s?.icon??void 0} .label=${s?.label??void 0} .listItemCreatedFunction=${s?.listItemCreatedFunction} .tables=${s?.tables} .referenceElement=${this.referenceElement} @arcgisReady=${n=>n.stopPropagation()}></arcgis-table-list>`)}_handlePanelFlowItemBack(e){e.open=!1}_moveLayerFromChildList({toEl:e,fromEl:t,dragEl:i,newIndex:a}){let s=_(i,this.operationalItems),n=_(e,this.operationalItems),c=_(t,this.operationalItems);this.viewModel.moveListItem(s,c,n,a)}_onCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:a}=e;t.insertBefore(i,t.children[a])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:a,dragEl:s,newIndex:n}=e,c=t?.newIndex===n&&t?.dragEl===s&&t?.toEl===i&&t?.fromEl===a;if(!(!a||!i||c)){if(this._lastDragDetail=e,this._selectedDragItemLayerUid=s.value,a===i){let d=Array.from(a.children).filter(m=>m?.matches("calcite-list-item")).map(m=>m.value.layer?.uid??"");this._sortLayers(a,d);return}this._moveLayerFromChildList({toEl:i,fromEl:a,dragEl:s,newIndex:n})}}_sortLayers(e,t){if(e)if(e===this._rootListRef.value)Pe(this.el.view?.map?.layers,t);else{let i=_(e,this.operationalItems);if(!i)return;De(i,t)}}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let a=e.target.selectedItems.map(s=>_(s,this.operationalItems)).filter(Boolean);i.removeAll(),i.addMany(a)}render(){let{_visibleItems:e,state:t}=this,i={[U.hidden]:t==="loading",[U.disabled]:t==="disabled"};return l`<div class=${u(z(U.widget,i))}>${e?.length?[this._renderItemTooltips(),this._renderItems()]:this._renderNoItems()}</div>`}_renderItemTooltip(e){let{_tooltipReferenceMap:t,messages:i}=this;return e?l`<calcite-tooltip overlay-positioning=fixed .referenceElement=${t.get(e.layer?.uid??"")}>${i.layerIncompatibleTooltip}</calcite-tooltip>`:null}_renderItemTooltipNodes(e){if(e.incompatible)return this._renderItemTooltip(e);let t=e.children?.filter(i=>!i.hidden).toArray().map(i=>this._renderItemTooltipNodes(i))??[];return t.length?t:null}_renderItemTooltips(){return this._visibleItems?.toArray().map(e=>this._renderItemTooltipNodes(e))}_renderNoItemsMessage(){return l`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return l`<div class=${u(D.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderLayerFlowItem(e,t){let{messages:i,openedLayers:a}=this,s=e.title||this.messages.untitledLayer;return E(e?.uid??s,l`<calcite-flow-item data-layer-uid=${e?.uid??""??g} .description=${s} .heading=${i[e.type==="catalog"?"catalogLayers":"tables"]} .headingLevel=${this.headingLevel} .selected=${t} @calciteFlowItemBack=${n=>{n.preventDefault(),a.pop(),a.at(-1)&&this._layerFlowItemRef.value?.setFocus()}} ${C(this._layerFlowItemRef)}>${this._layerListMap.get(e)}</calcite-flow-item>`)}_renderPanelFlowItems(){let{_openedPanelItems:e,openedLayers:t}=this;return P(e.toArray(),i=>i.uid,(i,a)=>{let{panel:s,title:n}=i,c=()=>this._handlePanelFlowItemBack(s);return l`<calcite-flow-item .description=${n} .heading=${s.title} .headingLevel=${this.headingLevel} .selected=${!t.length&&a===e.length-1} @calciteFlowItemBack=${d=>{d.preventDefault(),c()}} ${C(this._panelFlowItemRef)}><arcgis-layer-list-item-panel .item=${i} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${c} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_openedPanelItems:i,_filterEnabled:a,_rootGroupUid:s,showCloseButton:n,showCollapseButton:c,showHeading:d,_dragEnabled:m,selectionMode:b,filterText:x,openedLayers:$,filterPlaceholder:F,messages:I}=this,O=[l`<calcite-flow-item .closable=${n} .closed=${this.closed} .collapsed=${e} .collapsible=${c} .heading=${d?I.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!$.length&&!i.length} @calciteFlowItemClose=${()=>this.closed=!1}><calcite-list @focusin=${this._setActiveItem} @focusout=${this._clearActiveItem} .canPull=${h=>this._canMove(h,"pull")} .canPut=${h=>this._canMove(h,"put")} data-layer-type=${s??g} .displayMode=${He} .dragEnabled=${m} .filterEnabled=${a} .filterPlaceholder=${F} .filterProps=${Ce} .filterText=${a?x:""} .group=${s} .label=${I.componentLabel} @mouseleave=${this._clearActiveItem} @mouseover=${this._setActiveItem} selection-appearance=highlight .selectionMode=${b} @calciteListChange=${this._handleCalciteListChange} @calciteListFilter=${h=>this.filterText=h.currentTarget?.filterText??""} @calciteListOrderChange=${h=>this._onCalciteListOrderChange(h.detail)} @calciteListDragEnd=${h=>this._onCalciteListDragEnd(h.detail)} ${C(this._rootListRef)}>${P(t?.toArray()??[],h=>h.uid,h=>this._renderItem(h))}${t?.length&&a?l`<div class=${u(D.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list></calcite-flow-item>`,this._renderPanelFlowItems(),this._renderedOpenLayerFlowItems];return this.closed?null:E("root-flow",l`<calcite-flow>${O}</calcite-flow>`)}_renderItem(e,t,i){return E(e.uid,W({activeItem:this._activeItem,canMove:this._canMove,css:D,displayMode:He,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,hideCatalogLayerList:this.hideCatalogLayerList,item:e,messages:this.messages,layerTablesEnabled:this.layerTablesEnabled,listModeDisabled:this.viewModel.listModeDisabled,operationalItems:this.operationalItems,parent:t,parentTitles:i,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,setCurrentActiveItem:this._setCurrentActiveItem,showTemporaryLayerIndicators:this.showTemporaryLayerIndicators,showCloseButton:this.showCloseButton,showCollapseButton:this.showCollapseButton,showErrors:this.showErrors,showHeading:this.showHeading,showFilter:this.showFilter,clearActiveItem:this._clearActiveItem,visibilityAppearance:this.visibilityAppearance,handleAction:this._onTriggerAction,handleCatalogOpen:this._onCatalogOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,handleTablesOpen:this._onTablesOpen,handleTooltipReferenceChange:this._onTooltipReferenceChange,view:this.view}))}};be("arcgis-layer-list-new",X);return X},"widgets/LayerList/LayerListViewModel","core/Collection","core/reactiveUtils","layers/catalog/catalogUtils",a,b,c,d,e,f,h,i)