// All material copyright ESRI, All Rights Reserved, unless otherwise specified. // See https://js.arcgis.com/4.7/esri/copyright.txt for details. //>>built define("require exports ../core/tsSupport/declareExtendsHelper ../core/tsSupport/decorateHelper ../core/tsSupport/paramHelper ../core/arrayUtils ../core/Error ../core/lang ../core/Logger ../core/urlUtils ../core/accessorSupport/decorators ../core/accessorSupport/ensureType ../portal/Portal ./Renderer ./support/diffUtils ./support/LegendOptions ./support/UniqueValueInfo ../support/arcadeUtils ../symbols/PolygonSymbol3D ../symbols/Symbol ../symbols/WebStyleSymbol ../symbols/support/jsonUtils ../symbols/support/styleUtils ../symbols/support/typeUtils".split(" "), function(I,J,w,c,x,t,y,f,z,p,d,u,r,A,B,C,q,l,D,E,F,g,G,h){var k=z.getLogger("esri.renderers.UniqueValueRenderer"),H=u.ensureType(q.default);return function(v){function a(b){b=v.call(this)||this;b._valueInfoMap={};b._isDefaultSymbolDerived=!1;b.type="unique-value";b.backgroundFillSymbol=null;b.field=null;b.field2=null;b.field3=null;b.valueExpression=null;b.valueExpressionTitle=null;b.legendOptions=null;b.defaultLabel=null;b.fieldDelimiter=null;b.portal=null;b.styleOrigin=null;b.diff={uniqueValueInfos:function(b, a){if(b||a){if(!b||!a)return{type:"complete",oldValue:b,newValue:a};for(var e=!1,m={type:"collection",added:[],removed:[],changed:[],unchanged:[]},d=function(c){var d=t.find(b,function(b){return b.value===a[c].value});d?B.diff(d,a[c])?m.changed.push({type:"complete",oldValue:d,newValue:a[c]}):m.unchanged.push({oldValue:d,newValue:a[c]}):m.added.push(a[c]);e=!0},c=0;c