{"version":3,"sources":["node_modules/@arcgis/core/linkChart/utils.js","node_modules/@arcgis/core/views/2d/support/HighlightGroup.js","node_modules/@arcgis/core/views/2d/support/highlightGroupUtils.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*/\nfunction e(e) {\n return null != e && \"object\" == typeof e && \"2d\" === e.type && \"linkchart\" === e.view2dType;\n}\nexport { e as isLinkChartView };","/*\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 r from \"../../../core/Accessor.js\";\nimport { property as s } from \"../../../core/accessorSupport/decorators/property.js\";\nimport \"../../../core/has.js\";\nimport \"../../../core/Logger.js\";\nimport \"../../../core/RandomLCG.js\";\nimport { subclass as t } from \"../../../core/accessorSupport/decorators/subclass.js\";\nimport e from \"./HighlightOptions.js\";\nvar p;\nlet i = p = class extends r {\n constructor(...o) {\n super(...o), this.name = \"default\", this.options = new e();\n }\n clone() {\n return new p({\n name: this.name,\n options: this.options.clone()\n });\n }\n};\no([s({\n type: String\n})], i.prototype, \"name\", void 0), o([s({\n type: e\n})], i.prototype, \"options\", void 0), i = p = o([t(\"esri.views.2d.support.HighlightGroup\")], i);\nexport { i as HighlightGroup };","/*\nAll material copyright ESRI, All Rights Reserved, unless otherwise specified.\nSee https://js.arcgis.com/4.31/esri/copyright.txt for details.\n*/\nimport i from \"../../../core/Collection.js\";\nimport { HighlightGroup as t } from \"./HighlightGroup.js\";\nimport n from \"./HighlightOptions.js\";\nimport { defaultHighlightName as o, temporaryHighlightName as e, temporaryHighlightColor as h } from \"../../support/HighlightDefaults.js\";\nconst s = i.ofType(t);\nfunction g() {\n return new s([{\n name: o,\n options: new n()\n }, {\n name: e,\n options: new n({\n color: h\n })\n }]);\n}\nconst l = g().items.map(i => i.name);\nfunction r(i) {\n if (!i.highlights) return null;\n const t = i.highlights.findIndex(i => \"default\" === i.name);\n return -1 === t ? null : i.highlights.items[t].options;\n}\nfunction m(i, t) {\n if (!i.highlights) {\n if (!t) return;\n i.highlights = new s([{\n name: \"default\",\n options: new n()\n }]);\n }\n const o = i.highlights.findIndex(i => \"default\" === i.name);\n t ? i.highlights.items[o].options = t : i.highlights.removeAt(o);\n}\nexport { l as admissibleHighlightGroupNames, g as createInitialHighlightGroups, r as getDefaultHighlightOptions, m as setDefaultHighlightOptions };"],"mappings":"+NAIA,SAASA,EAAEA,EAAG,CACZ,OAAeA,GAAR,MAAyB,OAAOA,GAAnB,UAAiCA,EAAE,OAAX,MAAmCA,EAAE,aAAlB,WACjE,CCMA,IAAIC,EACAC,EAAID,EAAI,cAAcE,CAAE,CAC1B,eAAeC,EAAG,CAChB,MAAM,GAAGA,CAAC,EAAG,KAAK,KAAO,UAAW,KAAK,QAAU,IAAIC,CACzD,CACA,OAAQ,CACN,OAAO,IAAIJ,EAAE,CACX,KAAM,KAAK,KACX,QAAS,KAAK,QAAQ,MAAM,CAC9B,CAAC,CACH,CACF,EACAK,EAAE,CAACC,EAAE,CACH,KAAM,MACR,CAAC,CAAC,EAAGL,EAAE,UAAW,OAAQ,MAAM,EAAGI,EAAE,CAACC,EAAE,CACtC,KAAMF,CACR,CAAC,CAAC,EAAGH,EAAE,UAAW,UAAW,MAAM,EAAGA,EAAID,EAAIK,EAAE,CAACE,EAAE,sCAAsC,CAAC,EAAGN,CAAC,ECpB9F,IAAMO,EAAIC,EAAE,OAAOC,CAAC,EACpB,SAASC,GAAI,CACX,OAAO,IAAIH,EAAE,CAAC,CACZ,KAAMI,EACN,QAAS,IAAIC,CACf,EAAG,CACD,KAAMC,EACN,QAAS,IAAID,EAAE,CACb,MAAOE,CACT,CAAC,CACH,CAAC,CAAC,CACJ,CACA,IAAMF,EAAIF,EAAE,EAAE,MAAM,IAAID,GAAKA,EAAE,IAAI,EACnC,SAASM,EAAEN,EAAG,CACZ,GAAI,CA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