/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["exports","../chunks/_rollupPluginBabelHelpers","../chunks/tslib.es6","./Accessor","./Handles","./accessorSupport/decorators/property","./accessorSupport/decorators/subclass","./support/WatchUpdatingTracking"],(function(e,t,n,r,s,o,a,l){"use strict";const i=e=>{let r=function(e){function n(){return e.apply(this,arguments)||this}return t._inheritsLoose(n,e),n.prototype.destroy=function(){var e,t;this.destroyed||(null==(e=this._get("handles"))||e.destroy(),null==(t=this._get("updatingHandles"))||t.destroy())},t._createClass(n,[{key:"handles",get:function(){return this._get("handles")||new s}},{key:"updatingHandles",get:function(){return this._get("updatingHandles")||new l.WatchUpdatingTracking}}]),n}(e);return n.__decorate([o.property({readOnly:!0})],r.prototype,"handles",null),n.__decorate([o.property({readOnly:!0})],r.prototype,"updatingHandles",null),r=n.__decorate([a.subclass("esri.core.HandleOwner")],r),r};e.HandleOwner=function(e){function n(){return e.apply(this,arguments)||this}return t._inheritsLoose(n,e),n}(i(r)),e.HandleOwner=n.__decorate([a.subclass("esri.core.HandleOwner")],e.HandleOwner),e.HandleOwnerMixin=i,Object.defineProperties(e,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})}));
