const notUniqueRevitids = data
.reduce((acc, obj) => {
if (acc[0].size === acc[0].add(obj.revitid).size) {
acc[1].add(obj.revitid);
}
return acc;
}, [new Set(), new Set()])[1];
const uniqueObj = data.filter(obj => !notUniqueRevitids.has(obj.revitid));
document.documentElement.addEventListener('mouseenter', (e) => {
console.log('ENTER')
});
равномерно их разместить в процентном соотношении
brightness()
A CSS<percentage>. Applies a linear multiplier to the drawing, making it appear brighter or darker. A value under 100% darkens the image, while a value over 100% brightens it. A value of 0% will create an image that is completely black, while a value of 100% leaves the input unchanged.