1/**2 * A delayed scene handoff must belong to the game and stable level that3 * created it. The catalog can replace a pack while a presentation timer is4 * waiting, including reusing the same `${packId}:${localId}` identity.5 */6export function winHandoffIsCurrent({ currentGame, expectedGame, expectedLevelId, activeLevel }) {7 if (!expectedLevelId || currentGame !== expectedGame || activeLevel?.id !== expectedLevelId) return false;8 return Boolean(currentGame?.getState?.().won);9}