/*! All material copyright GeoScene, All Rights Reserved, unless otherwise specified.
See https://js.geoscene.cn/4.33/geoscene/copyright.txt for details.
v4.33.18 */
import{a as d}from"./YU66Y77U.js";import e from"./OSA3KXKL.js";import c from"./Y4DAIYBP.js";import b from"./DTE4O2DP.js";import{e as o}from"./LYMDZ73M.js";import"./MG6XDMQJ.js";import"./HITJFSBP.js";import{B as i,E as s,P as r,U as a,j as t}from"./3VKC6PRK.js";export default $geoscene.t(([n,,{a:l},h])=>{var c=t`@layer{geoscene-basemap-layer-list{display:block}}`,g=h(n),e=class extends r{constructor(){super(...arguments),this.widget=g(this),this.viewModel=this.widget.viewModel,this.geosceneClose=d(this),this.autoDestroyDisabled=!1,this.baseFilterPredicate=this.widget.baseFilterPredicate,this.baseFilterText=this.widget.baseFilterText,this.baseListItemCreatedFunction=this.widget.baseListItemCreatedFunction,this.basemapTitle=this.widget.basemapTitle,this.catalogOptions=this.widget.catalogOptions,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.editingTitle=this.widget.editingTitle,this.filterPlaceholder=this.widget.filterPlaceholder,this.headingLevel=this.widget.headingLevel,this.hideBaseLayers=this.widget.visibleElements.baseLayers,this.hideFlow=this.widget.visibleElements.flow,this.hideHeading=this.widget.visibleElements.heading,this.hideReferenceLayers=this.widget.visibleElements.referenceLayers,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.icon=this.widget.icon,this.label=this.widget.label,this.minFilterItems=this.widget.minFilterItems,this.position="bottom-left",this.referenceFilterPredicate=this.widget.referenceFilterPredicate,this.referenceFilterText=this.widget.referenceFilterText,this.referenceListItemCreatedFunction=this.widget.referenceListItemCreatedFunction,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showEditTitleButton=this.widget.visibleElements.editTitleButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.showTemporaryLayerIndicators=this.widget.visibleElements.temporaryLayerIndicators,this.state=this.viewModel.state,this.visibilityAppearance=this.widget.visibilityAppearance,this.geoscenePropertyChange=o()("state"),this.geosceneReady=i(),this.geosceneTriggerAction=l(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,baseFilterPredicate:0,baseFilterText:1,baseItems:32,baseListItemCreatedFunction:0,basemapTitle:1,catalogLayerList:32,catalogOptions:0,closed:5,collapsed:7,dragEnabled:5,editingTitle:5,filterPlaceholder:1,headingLevel:9,hideBaseLayers:5,hideFlow:5,hideHeading:5,hideReferenceLayers:5,hideStatusIndicators:5,icon:1,label:1,minFilterItems:9,position:1,referenceElement:1,referenceFilterPredicate:0,referenceFilterText:1,referenceItems:32,referenceListItemCreatedFunction:0,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showEditTitleButton:5,showErrors:5,showFilter:5,showTemporaryLayerIndicators:5,state:3,visibilityAppearance:1}}static{this.shadowRootOptions=s}static{this.styles=c}get baseItems(){return this.widget.baseItems}get catalogLayerList(){return this.widget.catalogLayerList}get referenceItems(){return this.widget.referenceItems}async destroy(){await this.manager.destroy()}};a("geoscene-basemap-layer-list",e);return e},"widgets/BasemapLayerList",b,c,e)