/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as o}from"tslib";import r from"../../Color.js";import t from"../../core/Accessor.js";import{deprecateUnnecessaryViewModel as e}from"../../core/deprecate.js";import s from"../../core/Logger.js";import{property as i,subclass as c}from"../../core/accessorSupport/decorators.js";let a=class extends t{constructor(o){super(o),this.color=new r([0,0,255,.7]),this.mode="continuous",o?.isDefaultViewModel||e(s.getLogger(this),"Shadow Cast","arcgis-shadow-cast",{version:"5.0"})}normalizeCtorArgs(o){const{isDefaultViewModel:r,...t}=o??{};return t}};o([i({type:r,nonNullable:!0})],a.prototype,"color",void 0),o([i({type:["continuous","hourly"]})],a.prototype,"mode",void 0),a=o([c("esri.widgets.ShadowCast.DurationOptions")],a);const p=a;export{p as default};
