{"version":3,"sources":["node_modules/@arcgis/core/layers/support/FeatureType.js"],"sourcesContent":["/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.28/esri/copyright.txt for details.\n*/\nimport { _ as o } from \"../../chunks/tslib.es6.js\";\nimport { ClonableMixin as r } from \"../../core/Clonable.js\";\nimport { JSONSupport as s } from \"../../core/JSONSupport.js\";\nimport { property as t } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/accessorSupport/ensureType.js\";\nimport \"../../core/arrayUtils.js\";\nimport \"../../core/has.js\";\nimport { reader as e } from \"../../core/accessorSupport/decorators/reader.js\";\nimport { subclass as p } from \"../../core/accessorSupport/decorators/subclass.js\";\nimport { writer as i } from \"../../core/accessorSupport/decorators/writer.js\";\nimport { fromJSON as a } from \"./domains.js\";\nimport m from \"./FeatureTemplate.js\";\nlet c = class extends r(s) {\n constructor(o) {\n super(o), this.id = null, this.name = null, this.domains = null, this.templates = null;\n }\n readDomains(o) {\n const r = {};\n for (const s of Object.keys(o)) r[s] = a(o[s]);\n return r;\n }\n writeDomains(o, r) {\n const s = {};\n for (const t of Object.keys(o)) o[t] && (s[t] = o[t]?.toJSON());\n r.domains = s;\n }\n};\no([t({\n json: {\n write: !0\n }\n})], c.prototype, \"id\", void 0), o([t({\n json: {\n write: !0\n }\n})], c.prototype, \"name\", void 0), o([t({\n json: {\n write: !0\n }\n})], c.prototype, \"domains\", void 0), o([e(\"domains\")], c.prototype, \"readDomains\", null), o([i(\"domains\")], c.prototype, \"writeDomains\", null), o([t({\n type: [m],\n json: {\n write: !0\n }\n})], c.prototype, \"templates\", void 0), c = o([p(\"esri.layers.support.FeatureType\")], c);\nconst n = c;\nexport { n as default };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgBA,IAAIA,KAAI,cAAcC,GAAE,CAAC,EAAE;AAAA,EACzB,YAAYC,IAAG;AACb,UAAMA,EAAC,GAAG,KAAK,KAAK,MAAM,KAAK,OAAO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