chunk-RHFU6KWO.js 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. import {
  2. C,
  3. _,
  4. l as l3,
  5. p,
  6. y as y4
  7. } from "./chunk-3FNKD2EB.js";
  8. import {
  9. j
  10. } from "./chunk-ZOO4I2U4.js";
  11. import {
  12. S2 as S,
  13. m,
  14. y as y3
  15. } from "./chunk-3Z755LKF.js";
  16. import {
  17. u as u2
  18. } from "./chunk-SKKBVHTF.js";
  19. import {
  20. i as i2
  21. } from "./chunk-JOYXMSKE.js";
  22. import {
  23. a,
  24. c,
  25. i
  26. } from "./chunk-PJNBFKPF.js";
  27. import {
  28. S as S2,
  29. w
  30. } from "./chunk-CRGY2SDS.js";
  31. import {
  32. o
  33. } from "./chunk-UVVU4UUO.js";
  34. import {
  35. l as l2
  36. } from "./chunk-X4SA4ELJ.js";
  37. import {
  38. r as r3
  39. } from "./chunk-5N7JLUJJ.js";
  40. import {
  41. s as s3
  42. } from "./chunk-YEJL5NEF.js";
  43. import {
  44. r as r2
  45. } from "./chunk-PQFTYGF5.js";
  46. import {
  47. e,
  48. e2,
  49. l3 as l,
  50. n5 as n,
  51. s5 as s2,
  52. t5 as t2,
  53. v,
  54. y3 as y2
  55. } from "./chunk-2Z2TG5CU.js";
  56. import {
  57. T,
  58. u
  59. } from "./chunk-SQOPWYIT.js";
  60. import {
  61. t2 as t
  62. } from "./chunk-V6P2MAQQ.js";
  63. import {
  64. s2 as s
  65. } from "./chunk-E5O6P5I2.js";
  66. import {
  67. y
  68. } from "./chunk-SPWQ3AWG.js";
  69. import {
  70. r
  71. } from "./chunk-YXWMMD76.js";
  72. // node_modules/@arcgis/core/renderers/DictionaryRenderer.js
  73. var p2;
  74. var c2 = p2 = class extends y4(p) {
  75. constructor(e4) {
  76. super(e4), this.config = null, this.fieldMap = null, this.scaleExpression = null, this.scaleExpressionTitle = null, this.url = null, this.type = "dictionary";
  77. }
  78. get _loader() {
  79. return new u2(this.url, this.config, this.fieldMap);
  80. }
  81. writeData(e4, r4) {
  82. e4 && (r4.scalingExpressionInfo = { expression: e4, returnType: "number" });
  83. }
  84. writeVisualVariables(e4, r4, s5, i5) {
  85. (i5 == null ? void 0 : i5.origin) || super.writeVisualVariables(e4, r4, s5, i5);
  86. }
  87. clone() {
  88. return new p2({ config: y(this.config), scaleExpression: this.scaleExpression, scaleExpressionTitle: this.scaleExpressionTitle, fieldMap: y(this.fieldMap), url: y(this.url), visualVariables: y(this.visualVariables) });
  89. }
  90. async getSymbolAsync(e4, r4) {
  91. return this._loader.getSymbolAsync(e4, r4);
  92. }
  93. async collectRequiredFields(e4, r4) {
  94. await this.collectVVRequiredFields(e4, r4), this.scaleExpression && await S2(e4, r4, this.scaleExpression);
  95. for (const s5 in this.fieldMap) {
  96. const i5 = this.fieldMap[s5];
  97. r4.has(i5) && e4.add(i5);
  98. }
  99. }
  100. get arcadeRequired() {
  101. return true;
  102. }
  103. getSymbol() {
  104. return null;
  105. }
  106. getSymbols() {
  107. return [];
  108. }
  109. getAttributeHash() {
  110. return this.visualVariables && this.visualVariables.reduce((e4, r4) => e4 + r4.getAttributeHash(), "");
  111. }
  112. getMeshHash() {
  113. return `${this.url}-${JSON.stringify(this.fieldMap)}`;
  114. }
  115. getSymbolFields() {
  116. return this._loader.getSymbolFields();
  117. }
  118. };
  119. e([y2({ type: u2 })], c2.prototype, "_loader", null), e([y2({ type: Object, json: { read: { source: "configuration" }, write: { target: "configuration" } } })], c2.prototype, "config", void 0), e([y2({ type: Object, json: { write: true } })], c2.prototype, "fieldMap", void 0), e([y2({ type: String, json: { read: { source: "scalingExpressionInfo.expression" }, write: true } })], c2.prototype, "scaleExpression", void 0), e([r2("scaleExpression")], c2.prototype, "writeData", null), e([y2({ type: String, json: { read: { source: "scalingExpressionInfo.title" }, write: { target: "scalingExpressionInfo.title", overridePolicy(e4) {
  120. return { enabled: !!e4 && !!this.scaleExpression };
  121. } } } })], c2.prototype, "scaleExpressionTitle", void 0), e([y2({ type: String, json: { write: true } })], c2.prototype, "url", void 0), e([r2("visualVariables")], c2.prototype, "writeVisualVariables", null), c2 = p2 = e([n("esri.renderers.DictionaryRenderer")], c2);
  122. var u3 = c2;
  123. // node_modules/@arcgis/core/renderers/support/AttributeColorInfo.js
  124. var n2;
  125. var u4 = n2 = class extends l {
  126. constructor(e4) {
  127. super(e4), this.color = null, this.field = null, this.label = null, this.valueExpression = null, this.valueExpressionTitle = null;
  128. }
  129. castField(e4) {
  130. return null == e4 ? e4 : "function" == typeof e4 ? (s.getLogger(this.declaredClass).error(".field: field must be a string value"), null) : u(e4);
  131. }
  132. getAttributeHash() {
  133. return `${this.field}-${this.valueExpression}`;
  134. }
  135. clone() {
  136. return new n2({ color: this.color && this.color.clone(), field: this.field, label: this.label, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle });
  137. }
  138. };
  139. e([y2({ type: l2, json: { type: [Number], write: true } })], u4.prototype, "color", void 0), e([y2({ type: String, json: { write: true } })], u4.prototype, "field", void 0), e([s3("field")], u4.prototype, "castField", null), e([y2({ type: String, json: { write: true } })], u4.prototype, "label", void 0), e([y2({ type: String, json: { write: true } })], u4.prototype, "valueExpression", void 0), e([y2({ type: String, json: { write: true } })], u4.prototype, "valueExpressionTitle", void 0), u4 = n2 = e([n("esri.renderers.support.AttributeColorInfo")], u4);
  140. var a2 = u4;
  141. // node_modules/@arcgis/core/renderers/support/DotDensityLegendOptions.js
  142. var e3;
  143. var p3 = e3 = class extends l {
  144. constructor() {
  145. super(...arguments), this.unit = null;
  146. }
  147. clone() {
  148. return new e3({ unit: this.unit });
  149. }
  150. };
  151. e([y2({ type: String, json: { write: true } })], p3.prototype, "unit", void 0), p3 = e3 = e([n("esri.renderers.support.DotDensityLegendOptions")], p3);
  152. var c3 = p3;
  153. // node_modules/@arcgis/core/renderers/DotDensityRenderer.js
  154. var h;
  155. var m2 = h = class extends y4(p) {
  156. constructor(t4) {
  157. super(t4), this.attributes = null, this.backgroundColor = new l2([0, 0, 0, 0]), this.dotBlendingEnabled = true, this.dotShape = "square", this.dotSize = 1, this.legendOptions = null, this.outline = new m(), this.dotValue = null, this.referenceScale = null, this.seed = 1, this.type = "dot-density";
  158. }
  159. calculateDotValue(t4) {
  160. if (null == this.referenceScale)
  161. return this.dotValue;
  162. const e4 = t4 / this.referenceScale * this.dotValue;
  163. return e4 < 1 ? 1 : e4;
  164. }
  165. getSymbol() {
  166. return new S({ outline: this.outline });
  167. }
  168. async getSymbolAsync() {
  169. return this.getSymbol();
  170. }
  171. getSymbols() {
  172. return [this.getSymbol()];
  173. }
  174. getAttributeHash() {
  175. var _a, _b;
  176. return (_b = (_a = this.attributes) == null ? void 0 : _a.reduce((t4, e4) => t4 + e4.getAttributeHash(), "")) != null ? _b : "";
  177. }
  178. getMeshHash() {
  179. return JSON.stringify(this.outline);
  180. }
  181. clone() {
  182. return new h({ attributes: y(this.attributes), backgroundColor: y(this.backgroundColor), dotBlendingEnabled: y(this.dotBlendingEnabled), dotShape: y(this.dotShape), dotSize: y(this.dotSize), dotValue: y(this.dotValue), legendOptions: y(this.legendOptions), outline: y(this.outline), referenceScale: y(this.referenceScale), visualVariables: y(this.visualVariables), authoringInfo: this.authoringInfo && this.authoringInfo.clone() });
  183. }
  184. getControllerHash() {
  185. var _a;
  186. const t4 = (_a = this.attributes) == null ? void 0 : _a.map((t5) => t5.field || t5.valueExpression || "");
  187. return `${t4}-${this.outline && JSON.stringify(this.outline.toJSON()) || ""}`;
  188. }
  189. async collectRequiredFields(t4, e4) {
  190. var _a;
  191. await this.collectVVRequiredFields(t4, e4);
  192. for (const o3 of (_a = this.attributes) != null ? _a : [])
  193. o3.valueExpression && await S2(t4, e4, o3.valueExpression), o3.field && t4.add(o3.field);
  194. }
  195. };
  196. e([y2({ type: [a2], json: { write: true } })], m2.prototype, "attributes", void 0), e([y2({ type: l2, json: { write: true } })], m2.prototype, "backgroundColor", void 0), e([y2({ type: Boolean, json: { write: true } })], m2.prototype, "dotBlendingEnabled", void 0), e([y2({ type: String, json: { write: false } })], m2.prototype, "dotShape", void 0), e([y2({ type: Number, json: { write: true } })], m2.prototype, "dotSize", void 0), e([y2({ type: c3, json: { write: true } })], m2.prototype, "legendOptions", void 0), e([y2({ type: m, json: { default: null, write: true } })], m2.prototype, "outline", void 0), e([y2({ type: Number, json: { write: true } })], m2.prototype, "dotValue", void 0), e([y2({ type: Number, json: { write: true } })], m2.prototype, "referenceScale", void 0), e([y2({ type: Number, json: { write: true } })], m2.prototype, "seed", void 0), e([r3({ dotDensity: "dot-density" })], m2.prototype, "type", void 0), m2 = h = e([n("esri.renderers.DotDensityRenderer")], m2);
  197. var y5 = m2;
  198. // node_modules/@arcgis/core/renderers/support/HeatmapColorStop.js
  199. var c4;
  200. var i3 = c4 = class extends l {
  201. constructor(o3) {
  202. super(o3), this.color = null, this.ratio = null;
  203. }
  204. clone() {
  205. return new c4({ color: this.color, ratio: this.ratio });
  206. }
  207. };
  208. e([y2({ type: l2, json: { type: [T], default: null, write: true } })], i3.prototype, "color", void 0), e([y2({ type: Number, json: { write: true } })], i3.prototype, "ratio", void 0), i3 = c4 = e([n("esri.renderers.support.HeatmapColorStop")], i3);
  209. var a3 = i3;
  210. // node_modules/@arcgis/core/renderers/support/HeatmapLegendOptions.js
  211. var p4 = class extends i2(l) {
  212. constructor() {
  213. super(...arguments), this.minLabel = null, this.maxLabel = null, this.title = null;
  214. }
  215. };
  216. e([y2({ type: String, json: { write: true } })], p4.prototype, "minLabel", void 0), e([y2({ type: String, json: { write: true } })], p4.prototype, "maxLabel", void 0), e([y2({ type: String, json: { write: true } })], p4.prototype, "title", void 0), p4 = e([n("esri.renderers.support.HeatmapLegendOptions")], p4);
  217. // node_modules/@arcgis/core/renderers/HeatmapRenderer.js
  218. var j2;
  219. var D = "esri.renderers.HeatmapRenderer";
  220. var I = s.getLogger(D);
  221. function S3(e4) {
  222. if (null != e4) {
  223. const { maxDensity: t4, minDensity: i5, radius: s5 } = e4;
  224. if (null != t4 || null != i5 || null != s5) {
  225. const { blurRadius: t5, maxPixelIntensity: i6, minPixelIntensity: s6, ...r4 } = e4;
  226. return r4;
  227. }
  228. }
  229. return e4;
  230. }
  231. var v2 = j2 = class extends p {
  232. constructor(e4) {
  233. super(e4), this.authoringInfo = null, this.colorStops = [new a3({ ratio: 0, color: new l2("rgba(255, 140, 0, 0)") }), new a3({ ratio: 0.75, color: new l2("rgba(255, 140, 0, 1)") }), new a3({ ratio: 0.9, color: new l2("rgba(255, 0, 0, 1)") })], this.field = null, this.fieldOffset = 0, this.legendOptions = null, this.maxDensity = 0.04, this.minDensity = 0, this.radius = 18, this.referenceScale = 0, this.type = "heatmap", this.valueExpression = null, this.valueExpressionTitle = null, this._warnedProps = { blurRadius: false, maxPixelIntensity: false, minPixelIntensity: false };
  234. }
  235. normalizeCtorArgs(e4) {
  236. return S3(e4);
  237. }
  238. get blurRadius() {
  239. return c(this.radius);
  240. }
  241. set blurRadius(e4) {
  242. const t4 = this.maxPixelIntensity, i5 = this.minPixelIntensity;
  243. this._set("radius", i(e4)), this._warnAboutDeprecatedGaussianBlurProp("blurRadius", "radius"), this._set("maxDensity", t4 * this._pixelIntensityToDensity), this._set("minDensity", i5 * this._pixelIntensityToDensity);
  244. }
  245. get maxPixelIntensity() {
  246. return this.maxDensity / this._pixelIntensityToDensity;
  247. }
  248. set maxPixelIntensity(e4) {
  249. this._set("maxDensity", e4 * this._pixelIntensityToDensity), this._warnAboutDeprecatedGaussianBlurProp("maxPixelIntensity", "maxDensity");
  250. }
  251. get minPixelIntensity() {
  252. return this.minDensity / this._pixelIntensityToDensity;
  253. }
  254. set minPixelIntensity(e4) {
  255. this._set("minDensity", e4 * this._pixelIntensityToDensity), this._warnAboutDeprecatedGaussianBlurProp("minPixelIntensity", "minDensity");
  256. }
  257. get _pixelIntensityToDensity() {
  258. return 24 / (a ** 2 * this.blurRadius ** 4);
  259. }
  260. _warnAboutDeprecatedGaussianBlurProp(e4, t4) {
  261. if (this._warnedProps[e4])
  262. return;
  263. "user" === e2(this).getDefaultOrigin() && (this._warnedProps[e4] = true, v(() => {
  264. t(I, e4, { replacement: `${String(t4)} (suggested value: ${this._get(t4)})`, version: "4.24" });
  265. }));
  266. }
  267. read(e4, t4) {
  268. e4 = S3(e4), super.read(e4, t4);
  269. }
  270. getSymbol() {
  271. return new y3();
  272. }
  273. async getSymbolAsync() {
  274. return this.getSymbol();
  275. }
  276. getSymbols() {
  277. return [this.getSymbol()];
  278. }
  279. async collectRequiredFields(e4, t4) {
  280. const i5 = this.field, s5 = this.valueExpression;
  281. i5 && "string" == typeof i5 && await w(e4, t4, i5), s5 && "string" == typeof s5 && await S2(e4, t4, s5);
  282. }
  283. getAttributeHash() {
  284. return null;
  285. }
  286. getMeshHash() {
  287. return `${JSON.stringify(this.colorStops)}.${this.blurRadius}.${this.field}`;
  288. }
  289. clone() {
  290. return new j2({ authoringInfo: this.authoringInfo && this.authoringInfo.clone(), colorStops: y(this.colorStops), field: this.field, legendOptions: y(this.legendOptions), maxDensity: this.maxDensity, minDensity: this.minDensity, radius: this.radius, referenceScale: this.referenceScale, valueExpression: this.valueExpression, valueExpressionTitle: this.valueExpressionTitle });
  291. }
  292. };
  293. e([y2({ type: j, json: { write: true, origins: { "web-scene": { write: false, read: false } } } })], v2.prototype, "authoringInfo", void 0), e([y2({ type: Number, json: { origins: { "portal-item": { write: true }, "web-map": { write: true } } } })], v2.prototype, "blurRadius", null), e([y2({ type: [a3], json: { write: true } })], v2.prototype, "colorStops", void 0), e([y2({ type: String, json: { write: true } })], v2.prototype, "field", void 0), e([y2({ type: Number, json: { write: { overridePolicy: (e4, t4, i5) => ({ enabled: null == i5 }) }, origins: { "web-scene": { write: false } } } })], v2.prototype, "fieldOffset", void 0), e([y2({ type: p4, json: { write: true } })], v2.prototype, "legendOptions", void 0), e([y2({ type: Number, json: { write: true } })], v2.prototype, "maxDensity", void 0), e([y2({ type: Number, json: { origins: { "portal-item": { write: true }, "web-map": { write: true } } } })], v2.prototype, "maxPixelIntensity", null), e([y2({ type: Number, json: { write: true } })], v2.prototype, "minDensity", void 0), e([y2({ type: Number, json: { origins: { "portal-item": { write: true }, "web-map": { write: true } } } })], v2.prototype, "minPixelIntensity", null), e([y2({ type: Number, cast: o, json: { write: true } })], v2.prototype, "radius", void 0), e([y2({ type: Number, range: { min: 0 }, json: { default: 0, write: true } })], v2.prototype, "referenceScale", void 0), e([r3({ heatmap: "heatmap" })], v2.prototype, "type", void 0), e([y2({ type: String, json: { write: true, origins: { "web-document": { write: false }, "portal-item": { write: false } } } })], v2.prototype, "valueExpression", void 0), e([y2({ type: String })], v2.prototype, "valueExpressionTitle", void 0), e([y2({ readOnly: true })], v2.prototype, "_pixelIntensityToDensity", null), v2 = j2 = e([n(D)], v2);
  294. var P = v2;
  295. // node_modules/@arcgis/core/renderers/support/OthersCategory.js
  296. var i4 = class extends i2(l) {
  297. constructor() {
  298. super(...arguments), this.color = new l2([0, 0, 0, 0]), this.label = null, this.threshold = 0;
  299. }
  300. };
  301. e([y2({ type: l2, json: { write: true } })], i4.prototype, "color", void 0), e([y2({ type: String, json: { write: true } })], i4.prototype, "label", void 0), e([y2({ type: Number, range: { min: 0, max: 1 }, json: { write: true } })], i4.prototype, "threshold", void 0), i4 = e([n("esri.renderers.support.OthersCategory")], i4);
  302. // node_modules/@arcgis/core/renderers/support/PieChartLegendOptions.js
  303. var p5 = class extends i2(l) {
  304. constructor() {
  305. super(...arguments), this.title = null;
  306. }
  307. };
  308. e([y2({ type: String, json: { write: true } })], p5.prototype, "title", void 0), p5 = e([n("esri.renderers.support.PieChartLegendOptions")], p5);
  309. // node_modules/@arcgis/core/renderers/PieChartRenderer.js
  310. var f = class extends y4(i2(p)) {
  311. constructor(t4) {
  312. super(t4), this.attributes = null, this.backgroundFillSymbol = null, this.defaultColor = new l2([0, 0, 0, 0]), this.defaultLabel = null, this.holePercentage = 0, this.othersCategory = new i4(), this.legendOptions = null, this.outline = null, this.size = 12, this.type = "pie-chart";
  313. }
  314. getSymbol() {
  315. var _a;
  316. return new y3({ size: this.size ? this.size / 2 + (((_a = this.outline) == null ? void 0 : _a.width) || 0) : 0 });
  317. }
  318. async getSymbolAsync() {
  319. return this.getSymbol();
  320. }
  321. getSymbols() {
  322. return [this.getSymbol(), this.backgroundFillSymbol].filter(r);
  323. }
  324. getAttributeHash() {
  325. return this.visualVariables && this.visualVariables.reduce((t4, e4) => t4 + e4.getAttributeHash(), "");
  326. }
  327. getMeshHash() {
  328. return this.getSymbols().reduce((t4, e4) => t4 + JSON.stringify(e4), "");
  329. }
  330. async collectRequiredFields(t4, e4) {
  331. await this.collectVVRequiredFields(t4, e4);
  332. for (const o3 of this.attributes)
  333. o3.valueExpression && await S2(t4, e4, o3.valueExpression), o3.field && t4.add(o3.field);
  334. }
  335. };
  336. e([y2({ type: [a2], json: { write: true } })], f.prototype, "attributes", void 0), e([y2({ type: S, json: { default: null, write: true } })], f.prototype, "backgroundFillSymbol", void 0), e([y2({ type: l2, json: { write: true } })], f.prototype, "defaultColor", void 0), e([y2({ type: String, json: { write: true } })], f.prototype, "defaultLabel", void 0), e([y2({ type: Number, range: { min: 0, max: 1 }, json: { write: true } })], f.prototype, "holePercentage", void 0), e([y2({ type: i4, json: { write: true } })], f.prototype, "othersCategory", void 0), e([y2({ type: p5, json: { write: true } })], f.prototype, "legendOptions", void 0), e([y2({ type: m, json: { default: null, write: true } })], f.prototype, "outline", void 0), e([y2({ type: Number, cast: o, json: { write: true } })], f.prototype, "size", void 0), e([r3({ pieChart: "pie-chart" })], f.prototype, "type", void 0), f = e([n("esri.renderers.PieChartRenderer")], f);
  337. var j3 = f;
  338. // node_modules/@arcgis/core/renderers/SimpleRenderer.js
  339. var c5;
  340. var n3 = c5 = class extends y4(p) {
  341. constructor(e4) {
  342. super(e4), this.description = null, this.label = null, this.symbol = null, this.type = "simple";
  343. }
  344. async collectRequiredFields(e4, s5) {
  345. await Promise.all([this.collectSymbolFields(e4, s5), this.collectVVRequiredFields(e4, s5)]);
  346. }
  347. async collectSymbolFields(e4, s5) {
  348. await Promise.all(this.getSymbols().map((r4) => r4.collectRequiredFields(e4, s5)));
  349. }
  350. getSymbol(e4, s5) {
  351. return this.symbol;
  352. }
  353. async getSymbolAsync(e4, s5) {
  354. return this.symbol;
  355. }
  356. getSymbols() {
  357. return this.symbol ? [this.symbol] : [];
  358. }
  359. getAttributeHash() {
  360. return this.visualVariables && this.visualVariables.reduce((e4, s5) => e4 + s5.getAttributeHash(), "");
  361. }
  362. getMeshHash() {
  363. return this.getSymbols().reduce((e4, s5) => e4 + JSON.stringify(s5), "");
  364. }
  365. get arcadeRequired() {
  366. return this.arcadeRequiredForVisualVariables;
  367. }
  368. clone() {
  369. return new c5({ description: this.description, label: this.label, symbol: this.symbol && this.symbol.clone(), visualVariables: y(this.visualVariables), authoringInfo: this.authoringInfo && this.authoringInfo.clone() });
  370. }
  371. };
  372. e([y2({ type: String, json: { write: true } })], n3.prototype, "description", void 0), e([y2({ type: String, json: { write: true } })], n3.prototype, "label", void 0), e([y2(l3)], n3.prototype, "symbol", void 0), e([r3({ simple: "simple" })], n3.prototype, "type", void 0), n3 = c5 = e([n("esri.renderers.SimpleRenderer")], n3);
  373. var p6 = n3;
  374. // node_modules/@arcgis/core/renderers/support/types.js
  375. var p7 = { key: "type", base: p, typeMap: { heatmap: P, simple: p6, "unique-value": C, "class-breaks": _, "dot-density": y5, dictionary: u3, "pie-chart": j3 }, errorContext: "renderer" };
  376. var n4 = { key: "type", base: p, typeMap: { simple: p6, "unique-value": C, "class-breaks": _, heatmap: P }, errorContext: "renderer" };
  377. // node_modules/@arcgis/core/renderers/support/jsonUtils.js
  378. function t3(e4, r4) {
  379. return o2(e4, null, r4);
  380. }
  381. var s4 = s2({ types: p7 });
  382. function o2(r4, n5, t4) {
  383. return r4 ? r4 && (r4.styleName || r4.styleUrl) && "uniqueValue" !== r4.type ? (t4 && t4.messages && t4.messages.push(new t2("renderer:unsupported", "Only UniqueValueRenderer can be referenced from a web style, but found '" + r4.type + "'", { definition: r4, context: t4 })), null) : s4(r4, n5, t4) : null;
  384. }
  385. export {
  386. a3 as a,
  387. p6 as p,
  388. p7 as p2,
  389. n4 as n,
  390. t3 as t,
  391. o2 as o
  392. };
  393. //# sourceMappingURL=chunk-RHFU6KWO.js.map