






#import "IndianYetViewController.h"
#import "BinDaysPlusLabel.h"
#import "RareSlashLoopsViewController.h"

@interface IndianYetViewController ()

@property (nonatomic, strong) UITextField *hasSaturatedTextField;
@property (nonatomic, strong) UITextField *aloneInferBinTextField;
@property (nonatomic,strong) BinDaysPlusLabel *heavySerbianLabel;
@end



@implementation IndianYetViewController

- (BinDaysPlusLabel *)heavySerbianLabel {
    if (!_heavySerbianLabel) {
        _heavySerbianLabel = [BinDaysPlusLabel inuitDailySunLabel:NO];
    }
    return _heavySerbianLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.hasSaturatedTextField = [MenuCluster numeratorSubscriptCutterDrizzlePartlyAccount];
    [self.view addSubview:self.hasSaturatedTextField];
    [self.hasSaturatedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MenuCluster.thirteenHand.eggPanQuotes);
        make.left.mas_equalTo(MenuCluster.thirteenHand.twoHitAdverb);
        make.right.mas_equalTo(-MenuCluster.thirteenHand.twoHitAdverb);
        make.height.mas_equalTo(MenuCluster.thirteenHand.hisCursorWho);
    }];
    
    
    self.aloneInferBinTextField = [MenuCluster temporalForceWeightedInitiallySoundPassword:NO];
    [self.view addSubview:self.aloneInferBinTextField];
    [self.aloneInferBinTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hasSaturatedTextField.mas_bottom).offset(MenuCluster.thirteenHand.globalIndian);
        make.left.right.equalTo(self.hasSaturatedTextField);
        make.height.mas_equalTo(MenuCluster.thirteenHand.hisCursorWho);
    }];
    UIButton *rightButton = self.aloneInferBinTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(factorSupplyElderColleagueSentEvictionHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *howBarsRetOldButton = [MenuCluster systolicFlagSwitchSlovakDenyColor:MenuCluster.hallFloorExist.trapPreserved];
    [howBarsRetOldButton addTarget:self action:@selector(filteringTagLegacyKinTableAudienceAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:howBarsRetOldButton];
    [howBarsRetOldButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.aloneInferBinTextField.mas_bottom).offset(MenuCluster.thirteenHand.globalIndian);
        make.left.right.equalTo(self.aloneInferBinTextField);
        make.height.mas_equalTo(MenuCluster.thirteenHand.armMinAuthor);
    }];
    
    [self.view addSubview:self.heavySerbianLabel];
    delayed(self);
    [self.heavySerbianLabel setThickAltitudeJobWithinGetSplat:^{
        different(self);
        [self chunkyPhraseDragSmallerInvalidDetermineAction];
    }];
    [self.heavySerbianLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-MenuCluster.thirteenHand.introListKey);
        make.left.mas_equalTo(MenuCluster.thirteenHand.errorUnknown);
        make.right.mas_equalTo(-MenuCluster.thirteenHand.errorUnknown);
    }];
}

- (void)factorSupplyElderColleagueSentEvictionHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.aloneInferBinTextField.secureTextEntry = !self.aloneInferBinTextField.isSecureTextEntry;
}

- (void)filteringTagLegacyKinTableAudienceAction:(UIButton *)sender {
    if (self.hasSaturatedTextField.text.length < MenuCluster.thirteenHand.repairOccur) {
        [EarAlertView execAbsentSequencerLaterHourlyFlag:MenuCluster.hallFloorExist.inviteYet message:MenuCluster.hallFloorExist.mapBayerKeyboardHungarianEnablingColored completion:nil];
        return;
    }
    if (self.aloneInferBinTextField.text.length < MenuCluster.thirteenHand.repairOccur) {
        [EarAlertView execAbsentSequencerLaterHourlyFlag:MenuCluster.hallFloorExist.inviteYet message:MenuCluster.hallFloorExist.saltDensityNineInsertedFixYard completion:nil];
        return;
    }
    if ([self.bagCheckLeast respondsToSelector:@selector(droppedCurrencySpecificDateBayerAdvancedTelephoneName:dayKey:completion:)]) {
        [PopTipHomeView panPrinterBarWindow];
        [self.bagCheckLeast droppedCurrencySpecificDateBayerAdvancedTelephoneName:self.hasSaturatedTextField.text dayKey:self.aloneInferBinTextField.text completion:^(id object) {
            [PopTipHomeView flipMindfulCanMutationsAuthorWindow];
        }];
    }
}


- (void)chunkyPhraseDragSmallerInvalidDetermineAction {
    RareSlashLoopsViewController *balanceAudio = [RareSlashLoopsViewController new];
    balanceAudio.mailBigPack = @(YES);
    balanceAudio.bagCheckLeast = self.bagCheckLeast;
    [balanceAudio setEngineBookmarkArchiveChapterBurst:^(BOOL result) {
        self.heavySerbianLabel.markFixingLose = result;
    }];
    [self.navigationController pushViewController:balanceAudio animated:NO];
}

@end
