






#import "BoxDecideViewController.h"
#import "HitFlowHelpButton.h"
#import "ButToast.h"
#import "QuotesTwoTextField.h"
#import "NSString+TowerNeed.h"

@interface BoxDecideViewController ()

@property (nonatomic, strong) QuotesTwoTextField *badDragSnowTextField;
@property (nonatomic, strong) UITextField *molarFiveTextField;
@property (nonatomic, strong) UITextField *pickJobIcyEndTextField;
@property (nonatomic, strong) HitFlowHelpButton *quietHeadButton;
@end

@implementation BoxDecideViewController

- (HitFlowHelpButton *)quietHeadButton {
    if (!_quietHeadButton) {
        _quietHeadButton = [[HitFlowHelpButton alloc] init];
    }
    return _quietHeadButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.badDragSnowTextField = [[QuotesTwoTextField alloc] initWithController:self];
    [self.view addSubview:self.badDragSnowTextField];
    [self.badDragSnowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BadMeanSame.clockwiseSun.popIncorrect);
        make.left.mas_equalTo(BadMeanSame.clockwiseSun.vendorSeeBus);
        make.right.mas_equalTo(-BadMeanSame.clockwiseSun.vendorSeeBus);
        make.height.mas_equalTo(BadMeanSame.clockwiseSun.tradKinRoman);
    }];
    
    
    self.molarFiveTextField = [BadMeanSame takeAbortedSpecifiedPresenterSeekingExporterCode];
    [self.view addSubview:self.molarFiveTextField];
    [self.molarFiveTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.badDragSnowTextField.mas_bottom).offset(BadMeanSame.clockwiseSun.forkSinSent);
        make.left.mas_equalTo(BadMeanSame.clockwiseSun.vendorSeeBus);
        make.height.mas_equalTo(BadMeanSame.clockwiseSun.tradKinRoman);
    }];
    
    soloDry(self);
    self.quietHeadButton.busHasAreEdgaAction = ^{
        howCreate(self);
        
        NSString *librariesCode = self.badDragSnowTextField.heartMastering;
        NSString *addDriveHow = self.badDragSnowTextField.implicitShowForSindhiDictation;
        if (self.badDragSnowTextField.badDragSnowTextField.text.sayAreAcross) {
            [self.quietHeadButton siteUtteranceExpandingRareDecompose];
            [BadAlertView disabledCatRhythmAccountBorderAttempter:BadMeanSame.bikeVeryIcyOne.fatalEast message:BadMeanSame.bikeVeryIcyOne.mountLayoutKitHexHoldUse completion:nil];
            return;
        }
        if ([self.textFixSumMin respondsToSelector:@selector(mouthWarningClustersRecycleTrapPauseDefinedType:pitchPenEar:nextCode:completion:)]) {
            [UserReturnView noneDimensionWindow];
            [self.textFixSumMin mouthWarningClustersRecycleTrapPauseDefinedType:BadMeanSame.clockwiseSun.flatnessTryIndexRelevanceRelease pitchPenEar:addDriveHow nextCode:librariesCode completion:^(id object) {
                [UserReturnView detachPubHeadlineSkipSlavicWindow];
                if ([object boolValue]) {
                    [ButToast bigNineEar:BadMeanSame.bikeVeryIcyOne.logoNowHandledSchemeWrappingFlipCode];
                }else {
                    [self.quietHeadButton siteUtteranceExpandingRareDecompose];
                }
            }];
        }
    };
    [self.view addSubview:self.quietHeadButton];
    [self.quietHeadButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.molarFiveTextField);
        make.height.equalTo(self.molarFiveTextField);
        make.left.equalTo(self.molarFiveTextField.mas_right).offset(BadMeanSame.clockwiseSun.queueSunBars);
        make.right.equalTo(self.badDragSnowTextField);
    }];
    
    
    [self.quietHeadButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.pickJobIcyEndTextField = [BadMeanSame connectMatchReorderEscapedReturnPassword:YES];
    [self.view addSubview:self.pickJobIcyEndTextField];
    [self.pickJobIcyEndTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.molarFiveTextField.mas_bottom).offset(BadMeanSame.clockwiseSun.forkSinSent);
        make.left.mas_equalTo(BadMeanSame.clockwiseSun.vendorSeeBus);
        make.right.mas_equalTo(-BadMeanSame.clockwiseSun.vendorSeeBus);
        make.height.mas_equalTo(BadMeanSame.clockwiseSun.tradKinRoman);
    }];
    UIButton *artsHostButton = self.pickJobIcyEndTextField.rightView.subviews.firstObject;
    [artsHostButton addTarget:self action:@selector(uploadingSerbianIgnoreCardioidGreekLandscapeHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *sexSpaBlockButton = [BadMeanSame torqueBadRenewButtonFilenameColor:BadMeanSame.bikeVeryIcyOne.tildeNotMayKey];
    [sexSpaBlockButton addTarget:self action:@selector(decideLossPositiveOrderingKitAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sexSpaBlockButton];
    [sexSpaBlockButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pickJobIcyEndTextField.mas_bottom).offset(BadMeanSame.clockwiseSun.forkSinSent);
        make.left.mas_equalTo(BadMeanSame.clockwiseSun.vendorSeeBus);
        make.right.mas_equalTo(-BadMeanSame.clockwiseSun.vendorSeeBus);
        make.height.mas_equalTo(BadMeanSame.clockwiseSun.teamPriority);
    }];
}
- (void)uploadingSerbianIgnoreCardioidGreekLandscapeHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.pickJobIcyEndTextField.secureTextEntry = !self.pickJobIcyEndTextField.isSecureTextEntry;
}

- (void)decideLossPositiveOrderingKitAction:(id)sender {
    if (self.badDragSnowTextField.badDragSnowTextField.text.sayAreAcross) {
        [BadAlertView disabledCatRhythmAccountBorderAttempter:BadMeanSame.bikeVeryIcyOne.fatalEast message:BadMeanSame.bikeVeryIcyOne.mountLayoutKitHexHoldUse completion:nil];
        return;
    }
    if (self.molarFiveTextField.text.sayAreAcross) {
        [BadAlertView disabledCatRhythmAccountBorderAttempter:BadMeanSame.bikeVeryIcyOne.fatalEast message:BadMeanSame.bikeVeryIcyOne.languagesKelvinDominantEncodingDominant completion:nil];
        return;
    }
    if (self.pickJobIcyEndTextField.text.length < BadMeanSame.clockwiseSun.secondGuide) {
        [BadAlertView disabledCatRhythmAccountBorderAttempter:BadMeanSame.bikeVeryIcyOne.fatalEast message:BadMeanSame.bikeVeryIcyOne.retScrollFallbackWrittenEvictKazakh completion:nil];
        return;
    }
    NSString *librariesCode = self.badDragSnowTextField.heartMastering;
    NSString *addDriveHow = self.badDragSnowTextField.implicitShowForSindhiDictation;
    if ([self.textFixSumMin respondsToSelector:@selector(networkOverhangPartTouchesDarkerRetNotify:code:nextCode:askKey:completion:)]) {
        [UserReturnView noneDimensionWindow];
        [self.textFixSumMin networkOverhangPartTouchesDarkerRetNotify:addDriveHow code:self.molarFiveTextField.text nextCode:librariesCode askKey:self.pickJobIcyEndTextField.text completion:^(id object) {
            [UserReturnView detachPubHeadlineSkipSlavicWindow];
            [ButToast bigNineEar:BadMeanSame.bikeVeryIcyOne.librariesLargeIterationDistortedOutside];
            if (object) {
                [self.torchPublicDelegate tenWasArbitraryReadReviewWithName:object cupHowRelayPassword:self.pickJobIcyEndTextField.text];
                [self feedPeriodicPlusEngravedManualAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.quietHeadButton siteUtteranceExpandingRareDecompose];
}
@end
