






#import "TapSpouseViewController.h"
#import "ExpireSegueLabel.h"
#import "EraSawExitsBoxViewController.h"

@interface TapSpouseViewController ()

@property (nonatomic, strong) UITextField *easySubTotalTextField;
@property (nonatomic, strong) UITextField *proposalInnerTextField;
@property (nonatomic,strong) ExpireSegueLabel *portPinModalLabel;
@end



@implementation TapSpouseViewController

- (ExpireSegueLabel *)portPinModalLabel {
    if (!_portPinModalLabel) {
        _portPinModalLabel = [ExpireSegueLabel wayThreadsHisLabel:NO];
    }
    return _portPinModalLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.easySubTotalTextField = [WinNeedHang stickyAbsoluteDrawingVowelGracefulAccount];
    [self.view addSubview:self.easySubTotalTextField];
    [self.easySubTotalTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WinNeedHang.chargePenSin.accountsBack);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.pullShutdown);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.pullShutdown);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.splatSkipped);
    }];
    
    
    self.proposalInnerTextField = [WinNeedHang goalArrivalControlFilenameNewsstandPassword:NO];
    [self.view addSubview:self.proposalInnerTextField];
    [self.proposalInnerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.easySubTotalTextField.mas_bottom).offset(WinNeedHang.chargePenSin.sixteenReady);
        make.left.right.equalTo(self.easySubTotalTextField);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.splatSkipped);
    }];
    UIButton *rightButton = self.proposalInnerTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(observersAdditionYesterdayAffineStringBoundHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *spaQuickShiftButton = [WinNeedHang slidingUrgencyLocalizesLandmarkInventoryColor:WinNeedHang.mapSonInputIll.fixMercuryWas];
    [spaQuickShiftButton addTarget:self action:@selector(callLexiconBendRomanianSpaLocalAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:spaQuickShiftButton];
    [spaQuickShiftButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.proposalInnerTextField.mas_bottom).offset(WinNeedHang.chargePenSin.sixteenReady);
        make.left.right.equalTo(self.proposalInnerTextField);
        make.height.mas_equalTo(WinNeedHang.chargePenSin.arrangerHead);
    }];
    
    [self.view addSubview:self.portPinModalLabel];
    expires(self);
    [self.portPinModalLabel setCheckingLegalPrefixSpeechPeakReplies:^{
        milePrior(self);
        [self torchFocusAudiencesTightSaveStartingAction];
    }];
    [self.portPinModalLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-WinNeedHang.chargePenSin.fairExponent);
        make.left.mas_equalTo(WinNeedHang.chargePenSin.chromeWeekly);
        make.right.mas_equalTo(-WinNeedHang.chargePenSin.chromeWeekly);
    }];
}

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

- (void)callLexiconBendRomanianSpaLocalAction:(UIButton *)sender {
    if (self.easySubTotalTextField.text.length < WinNeedHang.chargePenSin.bigHueLight) {
        [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.colorSpotlightSucceededBoldfaceEarHour completion:nil];
        return;
    }
    if (self.proposalInnerTextField.text.length < WinNeedHang.chargePenSin.bigHueLight) {
        [KeyAlertView hallPreparedWaxSucceedCocoaDomains:WinNeedHang.mapSonInputIll.danishYet message:WinNeedHang.mapSonInputIll.asleepShrinkTimeRevisionsAmbiguousAccount completion:nil];
        return;
    }
    if ([self.unitRatioPlug respondsToSelector:@selector(occurredHallSensorStormSoloistDidCivilName:areKey:completion:)]) {
        [BeaconsEggView fixNonceTowerWindow];
        [self.unitRatioPlug occurredHallSensorStormSoloistDidCivilName:self.easySubTotalTextField.text areKey:self.proposalInnerTextField.text completion:^(id object) {
            [BeaconsEggView menPostRelationsClipDisallowWindow];
        }];
    }
}


- (void)torchFocusAudiencesTightSaveStartingAction {
    EraSawExitsBoxViewController *twoBuildTime = [EraSawExitsBoxViewController new];
    twoBuildTime.workflowWay = @(YES);
    twoBuildTime.unitRatioPlug = self.unitRatioPlug;
    [twoBuildTime setTrustedIconAssignAlpineGlobally:^(BOOL result) {
        self.portPinModalLabel.nameHowKitDeny = result;
    }];
    [self.navigationController pushViewController:twoBuildTime animated:NO];
}

@end
