import { isPivotChart, isVTable } from "../../../../utils/index.js";
const isPlayer = (playerPipe, defaultPipe)=>(spec, context)=>{
        const { vseed, advancedVSeed } = context;
        const { encoding } = advancedVSeed;
        const hasPlayerEncoding = encoding.player && encoding.player.length > 0;
        const isStandardChart = !isVTable(vseed) && !isPivotChart(vseed);
        if (hasPlayerEncoding && isStandardChart) return playerPipe(spec, context);
        return defaultPipe(spec, context);
    };
export { isPlayer };

//# sourceMappingURL=isPlayer.js.map