/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../chunks/_rollupPluginBabelHelpers","../chunks/tslib.es6","../Color","../core/jsonMap","../core/lang","../core/accessorSupport/decorators/property","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/enumeration","../core/accessorSupport/decorators/subclass","./FillSymbol","./SimpleLineSymbol"],(function(o,e,r,t,s,i,l,n,a,c,p){"use strict";var u;const S=new t.JSONMap({esriSFSSolid:"solid",esriSFSNull:"none",esriSFSHorizontal:"horizontal",esriSFSVertical:"vertical",esriSFSForwardDiagonal:"forward-diagonal",esriSFSBackwardDiagonal:"backward-diagonal",esriSFSCross:"cross",esriSFSDiagonalCross:"diagonal-cross"});let d=u=function(e){function t(...o){var t;return(t=e.call(this,...o)||this).color=new r([0,0,0,.25]),t.outline=new p,t.type="simple-fill",t.style="solid",t}o._inheritsLoose(t,e);var i=t.prototype;return i.normalizeCtorArgs=function(o,e,r){if(o&&"string"!=typeof o)return o;const t={};return o&&(t.style=o),e&&(t.outline=e),r&&(t.color=r),t},i.clone=function(){return new u({color:s.clone(this.color),outline:this.outline&&this.outline.clone(),style:this.style})},i.hash=function(){return`${e.prototype.hash.call(this)}${this.style}.${this.color&&this.color.hash()}`},t}(c);e.__decorate([i.property()],d.prototype,"color",void 0),e.__decorate([i.property()],d.prototype,"outline",void 0),e.__decorate([n.enumeration({esriSFS:"simple-fill"},{readOnly:!0})],d.prototype,"type",void 0),e.__decorate([i.property({type:S.apiValues,json:{read:S.read,write:S.write}})],d.prototype,"style",void 0),d=u=e.__decorate([a.subclass("esri.symbols.SimpleFillSymbol")],d);return d}));
