/*
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/Collection","../core/lang","../core/accessorSupport/decorators/property","../core/accessorSupport/ensureType","../core/accessorSupport/decorators/enumeration","../core/accessorSupport/decorators/subclass","./Symbol3D","./TextSymbol3DLayer","./callouts/calloutUtils","./support/Symbol3DVerticalOffset"],(function(e,t,o,r,l,s,a,i,c,n,u,p){"use strict";var y;const b=o.ofType({base:null,key:"type",typeMap:{text:n}});let f=y=function(t){function o(e){var o;return(o=t.call(this,e)||this).verticalOffset=null,o.callout=null,o.styleOrigin=null,o.symbolLayers=new b,o.type="label-3d",o}e._inheritsLoose(o,t);var l=o.prototype;return l.supportsCallout=function(){return!0},l.hasVisibleCallout=function(){return u.hasVisibleCallout(this)},l.hasVisibleVerticalOffset=function(){return u.hasVisibleVerticalOffset(this)},l.clone=function(){return new y({styleOrigin:r.clone(this.styleOrigin),symbolLayers:r.clone(this.symbolLayers),thumbnail:r.clone(this.thumbnail),callout:r.clone(this.callout),verticalOffset:r.clone(this.verticalOffset)})},o.fromTextSymbol=function(e){return new y({symbolLayers:[n.fromTextSymbol(e)]})},o}(c);t.__decorate([l.property({type:p.Symbol3DVerticalOffset,json:{write:!0}})],f.prototype,"verticalOffset",void 0),t.__decorate([l.property(u.calloutProperty)],f.prototype,"callout",void 0),t.__decorate([l.property({json:{read:!1,write:!1}})],f.prototype,"styleOrigin",void 0),t.__decorate([l.property({type:b})],f.prototype,"symbolLayers",void 0),t.__decorate([a.enumeration({LabelSymbol3D:"label-3d"},{readOnly:!0})],f.prototype,"type",void 0),f=y=t.__decorate([i.subclass("esri.symbols.LabelSymbol3D")],f);return f}));
