text: export default function setCustomPanelProperties(root, properties) {
    if ("setProperties" in root) {
      root.setProperties(properties);
    } else {
      Object.keys(properties).forEach((key) => {
        root[key] = properties[key];
      });
    }
  }
  