







#import "PinTwoHeavyCatCell.h"
#define canRace(fat) __weak typeof(fat) weak##fat = fat;
#define bayerMake(fat) __strong typeof(fat) fat = weak##fat;

@interface PinTwoHeavyCatCell()



@property (nonatomic, strong) NSTimer *proxy;

@property (nonatomic, assign) BOOL introEncodings;

@end

@implementation PinTwoHeavyCatCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _twoMoleSize = CGSizeMake(200, 40);
        _integersSlow = 4;
        _model = nil;
        _channelCount = 3;
        _wonUse = 0;
        _eraEndEachTrap = 0;
        _status = MissingRankObscuredGenericsWasTickets;
        _introEncodings = NO;
        
    }
    return self;
}

- (void)licenseRectumBasalSerbianAreValue
{
    CGFloat whoStrip = [[self.layer presentationLayer] frame].origin.x;
    CGFloat lowFlatWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + lowFlatWidth) / self.integersSlow;
    
    
    CGFloat patchSendTime = lowFlatWidth / speed;
    
    if (_eraEndEachTrap > 0) {
        self.status = UniformReclaimManagedKilobitsResultsIdentical;
        if (-1< whoStrip < 1) {
            
            if (_introEncodings) { return;}
            _introEncodings = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_eraEndEachTrap];
            [self performSelector:@selector(exportStatus) withObject:nil afterDelay:_eraEndEachTrap - patchSendTime];
        }
    }
}
- (void)exportStatus
{
    self.status = ProximityCorrectedUserTwoStreamLeftover;
}

- (void)prepJobCityLettishUnwind:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = ProximityCorrectedUserTwoStreamLeftover;
    
    _proxy = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(licenseRectumBasalSerbianAreValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_proxy forMode:NSRunLoopCommonModes];
    
    
    canRace(self);
    [UIView animateWithDuration:self.integersSlow delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        bayerMake(self);
        self->_status = ProximityCorrectedUserTwoStreamLeftover;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_proxy) {
            [self->_proxy invalidate];
            self->_proxy = nil;
        }
        
    }];
}

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

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


@end
