







#import "SpeedTitleSkipCell.h"
#define archery(own) __weak typeof(own) weak##own = own;
#define leapHover(own) __strong typeof(own) own = weak##own;

@interface SpeedTitleSkipCell()



@property (nonatomic, strong) NSTimer *seven;

@property (nonatomic, assign) BOOL colorBoundThin;

@end

@implementation SpeedTitleSkipCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _twoMostSize = CGSizeMake(200, 40);
        _decisionBeen = 4;
        _model = nil;
        _channelCount = 3;
        _didOur = 0;
        _lemmaDryDidSee = 0;
        _status = OffsetDolbyChatterForceRelayStale;
        _colorBoundThin = NO;
        
    }
    return self;
}

- (void)suchBoundingEyeSequenceAmbiguousValue
{
    CGFloat starRare = [[self.layer presentationLayer] frame].origin.x;
    CGFloat cutLastWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + cutLastWidth) / self.decisionBeen;
    
    
    CGFloat aboveFoldTime = cutLastWidth / speed;
    
    if (_lemmaDryDidSee > 0) {
        self.status = FiveExistentThumbnailPartVerifySolutions;
        if (-1< starRare < 1) {
            
            if (_colorBoundThin) { return;}
            _colorBoundThin = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_lemmaDryDidSee];
            [self performSelector:@selector(actionStatus) withObject:nil afterDelay:_lemmaDryDidSee - aboveFoldTime];
        }
    }
}
- (void)actionStatus
{
    self.status = CallScrolledFitDatumWeightIndexes;
}

- (void)databasesInternalExactnessCornerRestoring:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = CallScrolledFitDatumWeightIndexes;
    
    _seven = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(suchBoundingEyeSequenceAmbiguousValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_seven forMode:NSRunLoopCommonModes];
    
    
    archery(self);
    [UIView animateWithDuration:self.decisionBeen delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        leapHover(self);
        self->_status = CallScrolledFitDatumWeightIndexes;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_seven) {
            [self->_seven invalidate];
            self->_seven = nil;
        }
        
    }];
}

- (void)pause
{
    
    CFTimeInterval stairTime = [self.layer convertTime:CACurrentMediaTime() fromLayer:nil];
    
    
    self.layer.timeOffset = stairTime;
    
    
    self.layer.speed = 0;
}

- (void)resume
{
    
    CFTimeInterval stairTime = self.layer.timeOffset;
    
    CFTimeInterval cautionReflect = CACurrentMediaTime() - stairTime;
    
    self.layer.timeOffset = 0;
    
    self.layer.beginTime = cautionReflect;
    
    self.layer.speed = 1;
}


@end
