







#import "UseShowBarsRedCell.h"
#define lawRoom(far) __weak typeof(far) weak##far = far;
#define altimeter(far) __strong typeof(far) far = weak##far;

@interface UseShowBarsRedCell()



@property (nonatomic, strong) NSTimer *water;

@property (nonatomic, assign) BOOL showZipIcyMale;

@end

@implementation UseShowBarsRedCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _cupMindSize = CGSizeMake(200, 40);
        _chunkyIgnore = 4;
        _model = nil;
        _channelCount = 3;
        _sonOpt = 0;
        _delayEjectMath = 0;
        _status = HertzStorageTremorSumRainManganese;
        _showZipIcyMale = NO;
        
    }
    return self;
}

- (void)kinDirectionMeteringEmbeddingHerValue
{
    CGFloat audience = [[self.layer presentationLayer] frame].origin.x;
    CGFloat proxiesWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + proxiesWidth) / self.chunkyIgnore;
    
    
    CGFloat bannerBoxTime = proxiesWidth / speed;
    
    if (_delayEjectMath > 0) {
        self.status = MapYoungestRevisionPinNoiseThumbnail;
        if (audience > -1 && audience < 1) {
            
            if (_showZipIcyMale) { return;}
            _showZipIcyMale = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_delayEjectMath];
            [self performSelector:@selector(prettyStatus) withObject:nil afterDelay:_delayEjectMath - bannerBoxTime];
        }
    }
}
- (void)prettyStatus
{
    self.status = PintNumberLockingSubmitRawExposures;
}

- (void)ditherSheNominallyDiscoverDrain:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = PintNumberLockingSubmitRawExposures;
    
    _water = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(kinDirectionMeteringEmbeddingHerValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_water forMode:NSRunLoopCommonModes];
    
    
    lawRoom(self);
    [UIView animateWithDuration:self.chunkyIgnore delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        altimeter(self);
        self->_status = PintNumberLockingSubmitRawExposures;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_water) {
            [self->_water invalidate];
            self->_water = nil;
        }
        
    }];
}

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

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


@end
