const frameZones = Array.from(document.querySelectorAll('path.frame-zone')); frameZones.forEach((...) => {});