/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
function e(e,t,i,s){if(!s||!t.material||"partial"!==t.material.type||!t.material.diff)return;const r=t.material.diff;if(!r.emissive)return;const a=r.emissive.type;if("collection"===a||"complete"===a)return;const l=r.emissive.diff,m=l?.strength,n=l?.source;l&&!n&&m&&"complete"===m.type&&(e.symbolLayerStatePatches.push(()=>{i(m.newValue)}),delete r.emissive)}export{e as preparePatchEmissiveStrength};
