chunk-CIG5OHC7.js 20 KB

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