






#import "TabStreetViewController.h"
#import "RearDidRowsButton.h"
#import "WaitTheAllExecViewController.h"
#import "RetToast.h"
#import "MayBrownAskLabel.h"
#import "SelectBoxTextField.h"
#import "NSString+Enclosing.h"

@interface TabStreetViewController ()

@property (nonatomic, strong) SelectBoxTextField *illThousandTextField;
@property (nonatomic, strong) UITextField *bitmapMinTextField;
@property (nonatomic, strong) RearDidRowsButton *nowAffineButton;
@property (nonatomic,strong) MayBrownAskLabel *discoveryFarLabel;

@end

@implementation TabStreetViewController

- (RearDidRowsButton *)nowAffineButton {
    if (!_nowAffineButton) {
        _nowAffineButton = [[RearDidRowsButton alloc] init];
    }
    return _nowAffineButton;
}

- (MayBrownAskLabel *)discoveryFarLabel {
    if (!_discoveryFarLabel) {
        _discoveryFarLabel = [MayBrownAskLabel napTimeRedBitLabel:NO];
    }
    return _discoveryFarLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.illThousandTextField = [[SelectBoxTextField alloc] initWithController:self];
    [self.view addSubview:self.illThousandTextField];
    [self.illThousandTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WetDoneFill.artSensitive.northOptTree);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.canPrintable);
    }];
    
    
    self.bitmapMinTextField = [WetDoneFill selectorsStrokingAnimatorOwnEnhancedPeakCode];
    [self.view addSubview:self.bitmapMinTextField];
    [self.bitmapMinTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.illThousandTextField.mas_bottom).offset(WetDoneFill.artSensitive.sunEarOption);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.canPrintable);
    }];
    
    bankArm(self);
    self.nowAffineButton.dogKeyBitsSeeAction = ^{
        feetExist(self);
        NSString *siteGreenCode = self.illThousandTextField.onceArmourIron;
        NSString *stylizeBody = self.illThousandTextField.bleedDueForThermalDisable;
        if (self.illThousandTextField.illThousandTextField.text.tipSlabLater) {
            [self.nowAffineButton maxLanguagePoolElementWorkspace];
            [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.roleChallengeReadableSpaEntryMid completion:nil];
            return;
        }
        if ([self.notHerFoldOld respondsToSelector:@selector(certFourSolveCropSlashRadioNotifyType:tagTwistRow:pullCode:completion:)]) {
            [WristInferView willNapAndTheWindow];
            [self.notHerFoldOld certFourSolveCropSlashRadioNotifyType:WetDoneFill.artSensitive.mildHertzAndIntensityExpanded tagTwistRow:stylizeBody pullCode:siteGreenCode completion:^(id object) {
                [WristInferView abortMenuImageQuantizeHoursWindow];
                if ([object boolValue]) {
                    [RetToast leastStrip:WetDoneFill.wideHostLooper.handballCalciumFunctionProminentInsertionTranslateCode];
                }else {
                    [self.nowAffineButton maxLanguagePoolElementWorkspace];
                }
            }];
        }
    };
    [self.view addSubview:self.nowAffineButton];
    [self.nowAffineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.bitmapMinTextField);
        make.height.equalTo(self.bitmapMinTextField);
        make.left.equalTo(self.bitmapMinTextField.mas_right).offset(WetDoneFill.artSensitive.dueLawInside);
        make.right.equalTo(self.illThousandTextField);
    }];
    
    
    [self.nowAffineButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *roomNotifyingButton = [WetDoneFill takeBendReachableResultsDatumColor:WetDoneFill.wideHostLooper.fitDetectedParameterProducesThreadedInside];
    [roomNotifyingButton addTarget:self action:@selector(bulgarianEjectFreeHueTintAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:roomNotifyingButton];
    [roomNotifyingButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bitmapMinTextField.mas_bottom).offset(WetDoneFill.artSensitive.sunEarOption);
        make.left.mas_equalTo(WetDoneFill.artSensitive.flipWhoCocoa);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.flipWhoCocoa);
        make.height.mas_equalTo(WetDoneFill.artSensitive.hailCapacity);
    }];
    
    [self.view addSubview:self.discoveryFarLabel];
    [self.discoveryFarLabel setReaderIssueGaelicCountCascadeBezel:^{
        feetExist(self);
        [self evictSeasonRemembersProtectedDisplaysWayAction];
    }];
    [self.discoveryFarLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-WetDoneFill.artSensitive.obsoleteHead);
        make.left.mas_equalTo(WetDoneFill.artSensitive.friendOldCan);
        make.right.mas_equalTo(-WetDoneFill.artSensitive.friendOldCan);
    }];
}

- (void)bulgarianEjectFreeHueTintAction:(UIButton *)sender {
    if (self.illThousandTextField.illThousandTextField.text.tipSlabLater) {
        [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.roleChallengeReadableSpaEntryMid completion:nil];
        return;
    }
    if (self.bitmapMinTextField.text.tipSlabLater) {
        [MidAlertView contactCenteredRenewingBeginRingCover:WetDoneFill.wideHostLooper.variables message:WetDoneFill.wideHostLooper.seasonFaceBothEyeConsumes completion:nil];
        return;
    }
    NSString *siteGreenCode = self.illThousandTextField.onceArmourIron;
    NSString *stylizeBody = self.illThousandTextField.bleedDueForThermalDisable;
    if ([self.notHerFoldOld respondsToSelector:@selector(fatShearCatProjectHexFaxPublisherMark:code:pullCode:completion:)]) {
        [WristInferView willNapAndTheWindow];
        [self.notHerFoldOld fatShearCatProjectHexFaxPublisherMark:stylizeBody code:self.bitmapMinTextField.text pullCode:siteGreenCode completion:^(id object) {
            [WristInferView abortMenuImageQuantizeHoursWindow];
        }];
    }
}


- (void)evictSeasonRemembersProtectedDisplaysWayAction {
    WaitTheAllExecViewController *alienLighten = [WaitTheAllExecViewController new];
    alienLighten.patchFatYou = @(YES);
    alienLighten.notHerFoldOld = self.notHerFoldOld;
    [alienLighten setInterruptAttributePlaybackOldReached:^(BOOL result) {
        self.discoveryFarLabel.logDigitAddYou = result;
    }];
    [self.navigationController pushViewController:alienLighten animated:NO];
}

- (void)dealloc {
    [self.nowAffineButton maxLanguagePoolElementWorkspace];
}
@end
