/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{clone as r}from"../../core/lang.js";import{property as t,subclass as i}from"../../core/accessorSupport/decorators.js";import{Integer as o}from"../../core/accessorSupport/ensureType.js";import s from"./PointCloudFilter.js";import{enumeration as l}from"../../core/accessorSupport/decorators/enumeration.js";var d;let u=d=class extends s{constructor(e){super(e),this.requiredClearBits=null,this.requiredSetBits=null,this.type="bitfield"}clone(){return new d({field:this.field,requiredClearBits:r(this.requiredClearBits),requiredSetBits:r(this.requiredSetBits)})}};e([t({type:[o],json:{write:{enabled:!0,overridePolicy(){return{enabled:!0,isRequired:!this.requiredSetBits}}}}})],u.prototype,"requiredClearBits",void 0),e([t({type:[o],json:{write:{enabled:!0,overridePolicy(){return{enabled:!0,isRequired:!this.requiredClearBits}}}}})],u.prototype,"requiredSetBits",void 0),e([l({pointCloudBitfieldFilter:"bitfield"})],u.prototype,"type",void 0),u=d=e([i("esri.layers.pointCloudFilters.PointCloudBitfieldFilter")],u);const p=u;export{p as default};
