/*
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","../core/maybe","../core/accessorSupport/decorators/property","../core/arrayUtils","../core/has","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/enumeration","../core/accessorSupport/decorators/reader","../core/accessorSupport/decorators/subclass","./Symbol3DLayer","./support/Symbol3DMaterial","./support/symbolLayerUtils3D"],(function(e,t,o,r,i,a,p,l,s,n,c,d,h){"use strict";var u;let y=u=function(t){function r(e){var o;return(o=t.call(this,e)||this).material=null,o.castShadows=!0,o.type="path",o.profile="circle",o.join="miter",o.cap="butt",o.width=void 0,o.height=void 0,o.anchor="center",o.profileRotation="all",o}e._inheritsLoose(r,t);var i=r.prototype;return i.readWidth=function(e,t){return null!=e?e:null==t.height&&null!=t.size?t.size:void 0},i.readHeight=function(e,t){return null!=e?e:null==t.width&&null!=t.size?t.size:void 0},i.clone=function(){return new u({enabled:this.enabled,material:o.isSome(this.material)?this.material.clone():null,castShadows:this.castShadows,profile:this.profile,join:this.join,cap:this.cap,width:this.width,height:this.height,profileRotation:this.profileRotation,anchor:this.anchor})},r}(c);t.__decorate([r.property({type:d.Symbol3DMaterial,json:{write:!0}})],y.prototype,"material",void 0),t.__decorate([r.property({type:Boolean,nonNullable:!0,json:{write:!0,default:!0}})],y.prototype,"castShadows",void 0),t.__decorate([l.enumeration({Path:"path"},{readOnly:!0})],y.prototype,"type",void 0),t.__decorate([r.property({type:["circle","quad"],json:{write:!0,default:"circle"}})],y.prototype,"profile",void 0),t.__decorate([r.property({type:h.lineJoins,json:{write:!0,default:"miter"}})],y.prototype,"join",void 0),t.__decorate([r.property({type:h.pathCaps,json:{write:!0,default:"butt"}})],y.prototype,"cap",void 0),t.__decorate([r.property({type:Number,json:{write:{enabled:!0,target:{width:{type:Number},size:{type:Number}}}}})],y.prototype,"width",void 0),t.__decorate([s.reader("width",["width","size","height"])],y.prototype,"readWidth",null),t.__decorate([r.property({type:Number,json:{write:!0}})],y.prototype,"height",void 0),t.__decorate([s.reader("height",["height","size","width"])],y.prototype,"readHeight",null),t.__decorate([r.property({type:["center","bottom","top"],json:{write:!0,default:"center"}})],y.prototype,"anchor",void 0),t.__decorate([r.property({type:["heading","all"],json:{write:!0,default:"all"}})],y.prototype,"profileRotation",void 0),y=u=t.__decorate([n.subclass("esri.symbols.PathSymbol3DLayer")],y);return y}));
