/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as o}from"tslib";import t from"../../Color.js";import e from"./DiscreteOptions.js";import{Clonable as i}from"../../core/Clonable.js";import{convertTime as r}from"../../core/timeUtils.js";import{property as s,subclass as n}from"../../core/accessorSupport/decorators.js";let l=class extends i{constructor(o){super(o),this.color=new t([255,0,0,.7]),this.minDuration=r(4,"hours","milliseconds"),this.contextEnabled=!1,this.contextOptions=new e}equals(o){return this===o||this.color.equals(o.color)&&this.minDuration===o.minDuration&&this.contextEnabled===o.contextEnabled&&this.contextOptions.equals(o.contextOptions)}};o([s({type:t,nonNullable:!0})],l.prototype,"color",void 0),o([s({type:Number})],l.prototype,"minDuration",void 0),o([s({type:Boolean})],l.prototype,"contextEnabled",void 0),o([s({type:e,nonNullable:!0})],l.prototype,"contextOptions",void 0),l=o([n("esri.analysis.ShadowCast.MinDurationOptions")],l);const p=l;export{p as default};
