function insertAnimationInTheQueue(animationAuxiliaryObject) {
  var jumpTimeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  var animationLoadingTime = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  var a = animationAuxiliaryObject;
  var animation = a.animation,
      remainingDelayAnimation = a.remainingDelayAnimation;

  if (!a.animationAlreadyStarted) {
    (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[8], animation);
  }

  var delay = Math.max((0,_utilities_to_ms__WEBPACK_IMPORTED_MODULE_2__.default)(animation.delay) - animationLoadingTime, 0);

  if (delay > 0 && (remainingDelayAnimation || !jumpTimeout)) {
    (0,_manage_animations_delay__WEBPACK_IMPORTED_MODULE_4__.default)(a, remainingDelayAnimation || delay, (0,_utilities_get_time_now__WEBPACK_IMPORTED_MODULE_1__.default)(), function () {
      (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[10], animation);
      (0,_mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__.addAnimationToStack)(a);
    });
  } else {
    (0,_reset_animation_time_properties__WEBPACK_IMPORTED_MODULE_6__.default)(a);
    a.remainingDelayAnimation = 0;
    (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[10], animation);

    if (a.animation.firstRunImmediately && !a.animationAlreadyStarted) {
      a.propertiesToBeAnimate = (0,_crud_animations_style__WEBPACK_IMPORTED_MODULE_3__.applyAnimationsStyleToTargets)(a.propertiesToBeAnimate, a);
      a.animation.firstRunImmediately = false;
    }

    (0,_mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__.addAnimationToStack)(a);
  }
}
/**
 * Delegates the animation to be executed.
 */
Delegates the animation to be executed.
Delegates the animation to be executed .
function insertAnimationInTheQueue(animationAuxiliaryObject) {
  var jumpTimeout = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;
  var animationLoadingTime = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;
  var a = animationAuxiliaryObject;
  var animation = a.animation,
      remainingDelayAnimation = a.remainingDelayAnimation;
  if (!a.animationAlreadyStarted) {
    (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[8], animation);
  }
  var delay = Math.max((0,_utilities_to_ms__WEBPACK_IMPORTED_MODULE_2__.default)(animation.delay) - animationLoadingTime, 0);
  if (delay > 0 && (remainingDelayAnimation || !jumpTimeout)) {
    (0,_manage_animations_delay__WEBPACK_IMPORTED_MODULE_4__.default)(a, remainingDelayAnimation || delay, (0,_utilities_get_time_now__WEBPACK_IMPORTED_MODULE_1__.default)(), function () {
      (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[10], animation);
      (0,_mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__.addAnimationToStack)(a);
    });
  } else {
    (0,_reset_animation_time_properties__WEBPACK_IMPORTED_MODULE_6__.default)(a);
    a.remainingDelayAnimation = 0;
    (0,_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.propagateAnimationEventListener)(_animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__.LISTENERS_NAMES[10], animation);
    if (a.animation.firstRunImmediately && !a.animationAlreadyStarted) {
      a.propertiesToBeAnimate = (0,_crud_animations_style__WEBPACK_IMPORTED_MODULE_3__.applyAnimationsStyleToTargets)(a.propertiesToBeAnimate, a);
      a.animation.firstRunImmediately = false;
    }
    (0,_mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__.addAnimationToStack)(a);
  }
}
function insertAnimationInTheQueue ( animationAuxiliaryObject ) { var jumpTimeout = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : false ; var animationLoadingTime = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : 0 ; var a = animationAuxiliaryObject ; var animation = a . animation , remainingDelayAnimation = a . remainingDelayAnimation ; if ( ! a . animationAlreadyStarted ) { ( 0 , _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . propagateAnimationEventListener ) ( _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . LISTENERS_NAMES [ 8 ] , animation ) ; } var delay = Math . max ( ( 0 , _utilities_to_ms__WEBPACK_IMPORTED_MODULE_2__ . default ) ( animation . delay ) - animationLoadingTime , 0 ) ; if ( delay > 0 && ( remainingDelayAnimation || ! jumpTimeout ) ) { ( 0 , _manage_animations_delay__WEBPACK_IMPORTED_MODULE_4__ . default ) ( a , remainingDelayAnimation || delay , ( 0 , _utilities_get_time_now__WEBPACK_IMPORTED_MODULE_1__ . default ) ( ) , function ( ) { ( 0 , _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . propagateAnimationEventListener ) ( _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . LISTENERS_NAMES [ 10 ] , animation ) ; ( 0 , _mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__ . addAnimationToStack ) ( a ) ; } ) ; } else { ( 0 , _reset_animation_time_properties__WEBPACK_IMPORTED_MODULE_6__ . default ) ( a ) ; a . remainingDelayAnimation = 0 ; ( 0 , _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . propagateAnimationEventListener ) ( _animation_listeners_animations_listeners_handlers__WEBPACK_IMPORTED_MODULE_0__ . LISTENERS_NAMES [ 10 ] , animation ) ; if ( a . animation . firstRunImmediately && ! a . animationAlreadyStarted ) { a . propertiesToBeAnimate = ( 0 , _crud_animations_style__WEBPACK_IMPORTED_MODULE_3__ . applyAnimationsStyleToTargets ) ( a . propertiesToBeAnimate , a ) ; a . animation . firstRunImmediately = false ; } ( 0 , _mount_animations_stack__WEBPACK_IMPORTED_MODULE_5__ . addAnimationToStack ) ( a ) ; } }
Delegates the animation to be executed.
Delegates the animation to be executed .