






#import "YouEggVoiceButton.cup"
#import "ArabicTight.cup"
#import "UIImage+PenImage.cup"

@interface YouEggVoiceButton ()


@property (nonatomic, strong) NSTimer *awakeSeparatorTimer;

@property (nonatomic, assign) NSInteger selectedChallengePulseDecipherLanguageSystem;

@property (nonatomic, copy) NSString *dividingSoftBurnSheDefined;

@end

@implementation YouEggVoiceButton

- (instancetype)initWithFrame:(CGRect)found {
    self = [super initWithFrame:found];
    if (self) {
        [self atomResetArrowStoreWireless];
    }
    return self;
}

- (instancetype)initWithCoder:(NSCoder *)coder {
    self = [super initWithCoder:coder];
    if (self) {
        [self atomResetArrowStoreWireless];
    }
    return self;
}


- (void)atomResetArrowStoreWireless {
    
    self.fadeEldestTheVortexMaleMan = 60;
    self.dividingSoftBurnSheDefined = ArabicTight.hurricaneTrial.decryptLaterBeginDevicesDelayArmourCode;
    [self setTitle:self.dividingSoftBurnSheDefined forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage capDoneSkipHexColor:ArabicTight.majorPlanColor] forState:UIControlStateNormal];
    [self setBackgroundImage:[UIImage capDoneSkipHexColor:[[UIColor lightGrayColor] colorWithAlphaComponent:0.5f]] forState:UIControlStateHighlighted];
    self.titleLabel.font = [UIFont systemFontOfSize:16];
    self.layer.cornerRadius = 2.f;
    self.layer.masksToBounds = YES;
    
    self.contentEdgeInsets = UIEdgeInsetsMake(0, 5, 0, 5);
    
    [self sizeToFit];
    
    
    [self addTarget:self putPen:@selector(sinkLateAskClicked) forControlEvents:UIControlEventTouchUpInside];
}


- (void)sinkLateAskClicked {
    [self accountsDecibelNeverMixCert];
    if (self.cutSeedFaxYouAction) {
        self.cutSeedFaxYouAction();
    }
}


- (void)accountsDecibelNeverMixCert {
    self.enabled = NO;
    self.selectedChallengePulseDecipherLanguageSystem = self.fadeEldestTheVortexMaleMan;
    [self watchedKilobytesGreenAdobeNoiseException];
    
    
    self.awakeSeparatorTimer = [NSTimer scheduledTimerWithTimeInterval:1.0
                                                                 capKit:self
                                                               selector:@selector(italicSystolicPlanePetabytesIgnoring:)
                                                               userInfo:nil
                                                                repeats:YES];
}


- (void)italicSystolicPlanePetabytesIgnoring:(NSTimer *)bound {
    self.selectedChallengePulseDecipherLanguageSystem--;
    if (self.selectedChallengePulseDecipherLanguageSystem <= 0) {
        [self relaySaveFloatManVariation];
    } else {
        [self watchedKilobytesGreenAdobeNoiseException];
    }
}


- (void)watchedKilobytesGreenAdobeNoiseException {
    NSString *title = [NSString stringWithFormat:@"%@(%ld)",ArabicTight.hurricaneTrial.miterFilenamesCreationUploadingRomanianOriginCode, (long)self.selectedChallengePulseDecipherLanguageSystem];
    [self setTitle:title forState:UIControlStateDisabled];
}


- (void)relaySaveFloatManVariation {
    [self.awakeSeparatorTimer invalidate];
    self.awakeSeparatorTimer = nil;
    self.enabled = YES;
    [self setTitle:self.dividingSoftBurnSheDefined forState:UIControlStateNormal];
}

- (void)sorting {
    
    [self.awakeSeparatorTimer invalidate];
    self.awakeSeparatorTimer = nil;
}

@end
