{"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.31/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 t } from \"../../core/JSONSupport.js\";\nimport { property as s } from \"../../core/accessorSupport/decorators/property.js\";\nimport \"../../core/has.js\";\nimport \"../../core/Logger.js\";\nimport \"../../core/RandomLCG.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(t) {\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 t of Object.keys(o)) r[t] = a(o[t]);\n return r;\n }\n writeDomains(o, r) {\n const t = {};\n for (const s of Object.keys(o)) o[s] && (t[s] = o[s]?.toJSON());\n r.domains = t;\n }\n};\no([s({\n json: {\n write: !0\n }\n})], c.prototype, \"id\", void 0), o([s({\n json: {\n write: !0\n }\n})], c.prototype, \"name\", void 0), o([s({\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([s({\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":"mWAgBA,IAAIA,EAAI,cAAcC,EAAEC,CAAC,CAAE,CACzB,YAAYC,EAAG,CACb,MAAMA,CAAC,EAAG,KAAK,GAAK,KAAM,KAAK,KAAO,KAAM,KAAK,QAAU,KAAM,KAAK,UAAY,IACpF,CACA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