import { Cell, Obj } from '@ephox/katamari';
const derive = (rawEvent, rawTarget) => {
    const source = Obj.get(rawEvent, 'target').getOr(rawTarget);
    return Cell(source);
};
export { derive };
//# sourceMappingURL=EventSource.js.map