import { getClosest } from './utils.js';

function isAdHocFilterInteractionHandler(s) {
  return "isAdHocFilterInteractionHandler" in s;
}
function getAdHocFilterInteractionHandler(sceneObject) {
  return getClosest(sceneObject, (s) => {
    var _a;
    return (_a = s.state.$behaviors) == null ? void 0 : _a.find(isAdHocFilterInteractionHandler);
  });
}

export { getAdHocFilterInteractionHandler, isAdHocFilterInteractionHandler };
//# sourceMappingURL=getReportInteractionHandler.js.map
