{"version":3,"file":"is-transition-defined.mjs","sources":["../../../../src/animation/utils/is-transition-defined.ts"],"sourcesContent":["import type { AnyResolvedKeyframe } from \"../types\"\nimport type { Transition } from \"../types\"\n\n/**\n * Decide whether a transition is defined on a given Transition.\n * This filters out orchestration options and returns true\n * if any options are left.\n */\nexport function isTransitionDefined({\n    when,\n    delay: _delay,\n    delayChildren,\n    staggerChildren,\n    staggerDirection,\n    repeat,\n    repeatType,\n    repeatDelay,\n    from,\n    elapsed,\n    ...transition\n}: Transition & { elapsed?: number; from?: AnyResolvedKeyframe }) {\n    return !!Object.keys(transition).length\n}\n"],"names":[],"mappings":"AAGA;;;;AAIG;AACG,SAAU,mBAAmB,CAAC,EAChC,IAAI,EACJ,KAAK,EAAE,MAAM,EACb,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,MAAM,EACN,UAAU,EACV,WAAW,EACX,IAAI,EACJ,OAAO,EACP,GAAG,UAAU,EAC+C,EAAA;IAC5D,OAAO,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,MAAM;AAC3C;;;;"}