/*
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/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/subclass"],(function(e,r,t,o,s,i,p,n){"use strict";var l;let c=l=function(r){function t(e){var t;return(t=r.call(this,e)||this).id=null,t.title=null,t.description=null,t.legendUrl=null,t}return e._inheritsLoose(t,r),t.prototype.clone=function(){const e=new l;return this.hasOwnProperty("description")&&(e.description=this.description),this.hasOwnProperty("id")&&(e.id=this.id),this.hasOwnProperty("isDefault")&&(e.isDefault=this.isDefault),this.hasOwnProperty("keywords")&&(e.keywords=this.keywords&&this.keywords.slice()),this.hasOwnProperty("legendUrl")&&(e.legendUrl=this.legendUrl),this.hasOwnProperty("title")&&(e.title=this.title),e},t}(t.JSONSupport);r.__decorate([o.property({json:{read:{source:"id"}}})],c.prototype,"id",void 0),r.__decorate([o.property({json:{read:{source:"title"}}})],c.prototype,"title",void 0),r.__decorate([o.property({json:{read:{source:"abstract"}}})],c.prototype,"description",void 0),r.__decorate([o.property({json:{read:{source:"legendUrl"}}})],c.prototype,"legendUrl",void 0),r.__decorate([o.property({json:{read:{source:"isDefault"}}})],c.prototype,"isDefault",void 0),r.__decorate([o.property({json:{read:{source:"keywords"}}})],c.prototype,"keywords",void 0),c=l=r.__decorate([n.subclass("esri.layer.support.WMTSStyle")],c);return c}));
