







#import "PopBoxRedBuiltCell.h"
#define spaBike(nap) __weak typeof(nap) weak##nap = nap;
#define parserWin(nap) __strong typeof(nap) nap = weak##nap;

@interface PopBoxRedBuiltCell()



@property (nonatomic, strong) NSTimer *extra;

@property (nonatomic, assign) BOOL flagArabicPrep;

@end

@implementation PopBoxRedBuiltCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _reverseSize = CGSizeMake(200, 40);
        _getModeDaily = 4;
        _model = nil;
        _channelCount = 3;
        _indigo = 0;
        _cutEntryPinNot = 0;
        _status = SecureContinuedMantissaAppendingGreenRet;
        _flagArabicPrep = NO;
        
    }
    return self;
}

- (void)greatDateDarkenPublisherHungarianValue
{
    CGFloat illAlong = [[self.layer presentationLayer] frame].origin.x;
    CGFloat slowSpaWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + slowSpaWidth) / self.getModeDaily;
    
    
    CGFloat cardAssetTime = slowSpaWidth / speed;
    
    if (_cutEntryPinNot > 0) {
        self.status = NodeChooseTenExpandIncludingCat;
        if (-1< illAlong < 1) {
            
            if (_flagArabicPrep) { return;}
            _flagArabicPrep = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_cutEntryPinNot];
            [self performSelector:@selector(capCatStatus) withObject:nil afterDelay:_cutEntryPinNot - cardAssetTime];
        }
    }
}
- (void)capCatStatus
{
    self.status = NorthMergeHostCacheDailyFactor;
}

- (void)orangeFriendOnlineSymmetricSilence:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = NorthMergeHostCacheDailyFactor;
    
    _extra = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(greatDateDarkenPublisherHungarianValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_extra forMode:NSRunLoopCommonModes];
    
    
    spaBike(self);
    [UIView animateWithDuration:self.getModeDaily delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        parserWin(self);
        self->_status = NorthMergeHostCacheDailyFactor;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_extra) {
            [self->_extra invalidate];
            self->_extra = nil;
        }
        
    }];
}

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

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


@end
