{"version":3,"sources":["node_modules/@arcgis/core/symbols/Symbol.js","node_modules/@arcgis/core/symbols/CIMSymbol.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 r } from \"../chunks/tslib.es6.js\";\nimport o from \"../Color.js\";\nimport { JSONMap as e } from \"../core/jsonMap.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 l } from \"../core/accessorSupport/decorators/reader.js\";\nimport { subclass as i } from \"../core/accessorSupport/decorators/subclass.js\";\nconst p = new e({\n esriSMS: \"simple-marker\",\n esriPMS: \"picture-marker\",\n esriSLS: \"simple-line\",\n esriSFS: \"simple-fill\",\n esriPFS: \"picture-fill\",\n esriTS: \"text\",\n esriSHD: \"shield-label-symbol\",\n PointSymbol3D: \"point-3d\",\n LineSymbol3D: \"line-3d\",\n PolygonSymbol3D: \"polygon-3d\",\n WebStyleSymbol: \"web-style\",\n MeshSymbol3D: \"mesh-3d\",\n LabelSymbol3D: \"label-3d\",\n CIMSymbolReference: \"cim\"\n});\nlet c = 0,\n m = class extends s {\n constructor(r) {\n super(r), this.id = \"sym\" + c++, this.type = null, this.color = new o([0, 0, 0, 1]);\n }\n readColor(r) {\n return null != r?.[0] ? [r[0], r[1], r[2], r[3] / 255] : r;\n }\n async collectRequiredFields(r, o) {}\n hash() {\n return JSON.stringify(this.toJSON());\n }\n clone() {}\n };\nr([t({\n type: p.apiValues,\n readOnly: !0,\n json: {\n read: !1,\n write: {\n ignoreOrigin: !0,\n writer: p.write\n }\n }\n})], m.prototype, \"type\", void 0), r([t({\n type: o,\n json: {\n write: {\n allowNull: !0\n }\n }\n})], m.prototype, \"color\", void 0), r([l(\"color\")], m.prototype, \"readColor\", null), m = r([i(\"esri.symbols.Symbol\")], m);\nconst a = m;\nexport { a as default };","/*\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 r } from \"../chunks/tslib.es6.js\";\nimport { clone as o } from \"../core/lang.js\";\nimport { numericHash as t } from \"../core/string.js\";\nimport { property as e } from \"../core/accessorSupport/decorators/property.js\";\nimport \"../core/accessorSupport/ensureType.js\";\nimport { enumeration as s } from \"../core/accessorSupport/decorators/enumeration.js\";\nimport { reader as a } from \"../core/accessorSupport/decorators/reader.js\";\nimport { subclass as i } from \"../core/accessorSupport/decorators/subclass.js\";\nimport { writer as p } from \"../core/accessorSupport/decorators/writer.js\";\nimport { collectArcadeFieldNames as c } from \"../layers/support/fieldUtils.js\";\nimport m from \"./Symbol.js\";\nvar n;\nlet l = n = class extends m {\n constructor(r) {\n super(r), this.data = null, this.type = \"cim\";\n }\n readData(r, o) {\n return o;\n }\n writeData(r, o) {\n Object.assign(o, r);\n }\n async collectRequiredFields(r, o) {\n if (\"CIMSymbolReference\" === this.data?.type) {\n const t = this.data.primitiveOverrides;\n if (t) {\n const e = t.map(t => {\n const e = t.valueExpressionInfo;\n return c(r, o, e.expression);\n });\n await Promise.all(e);\n }\n }\n }\n clone() {\n return new n({\n data: o(this.data)\n });\n }\n hash() {\n return t(JSON.stringify(this.data)).toString();\n }\n};\nr([e({\n json: {\n write: !1\n }\n})], l.prototype, \"color\", void 0), r([e({\n json: {\n write: !0\n }\n})], l.prototype, \"data\", void 0), r([a(\"data\", [\"symbol\"])], l.prototype, \"readData\", null), r([p(\"data\", {})], l.prototype, \"writeData\", null), r([s({\n CIMSymbolReference: \"cim\"\n}, {\n readOnly: !0\n})], l.prototype, \"type\", void 0), l = n = r([i(\"esri.symbols.CIMSymbol\")], l);\nconst d = l;\nexport { d as default };"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAcA,IAAM,IAAI,IAAI,EAAE;AAA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