






#import "ShowWaistViewController.h"
#import "DownloadBinLabel.h"
#import "PosterCroatianViewController.h"

@interface ShowWaistViewController ()

@property (nonatomic, strong) UITextField *figureUndoneTextField;
@property (nonatomic, strong) UITextField *reactorSomaliTextField;
@property (nonatomic,strong) DownloadBinLabel *agentPlanSonLabel;
@end



@implementation ShowWaistViewController

- (DownloadBinLabel *)agentPlanSonLabel {
    if (!_agentPlanSonLabel) {
        _agentPlanSonLabel = [DownloadBinLabel writeMeterAddLabel:NO];
    }
    return _agentPlanSonLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.figureUndoneTextField = [FixChunkBad floatingPolishVerticalWonTryAccount];
    [self.view addSubview:self.figureUndoneTextField];
    [self.figureUndoneTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FixChunkBad.swedishTwist.minorDiskTop);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.pieceSlowKin);
        make.right.mas_equalTo(-FixChunkBad.swedishTwist.pieceSlowKin);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.mostIllBreak);
    }];
    
    
    self.reactorSomaliTextField = [FixChunkBad condensedNegotiateArcadeExpectingKinPassword:NO];
    [self.view addSubview:self.reactorSomaliTextField];
    [self.reactorSomaliTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.figureUndoneTextField.mas_bottom).offset(FixChunkBad.swedishTwist.beenButTeeth);
        make.left.right.equalTo(self.figureUndoneTextField);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.mostIllBreak);
    }];
    UIButton *rightButton = self.reactorSomaliTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(usePersianAwaySiteRouterPriorHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *renewPickRankButton = [FixChunkBad transportLastLightDelayPlaneColor:FixChunkBad.passLazyUnique.bleedPrevious];
    [renewPickRankButton addTarget:self action:@selector(symbolsDeferredThinUnderAppleAddAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:renewPickRankButton];
    [renewPickRankButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.reactorSomaliTextField.mas_bottom).offset(FixChunkBad.swedishTwist.beenButTeeth);
        make.left.right.equalTo(self.reactorSomaliTextField);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.clockIntents);
    }];
    
    [self.view addSubview:self.agentPlanSonLabel];
    runVery(self);
    [self.agentPlanSonLabel setSuchControlExponentsCatPreserveMill:^{
        pickEvent(self);
        [self leftUrgentFreeAllRoomEastAction];
    }];
    [self.agentPlanSonLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-FixChunkBad.swedishTwist.noteMoireSee);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.dryAddChrome);
        make.right.mas_equalTo(-FixChunkBad.swedishTwist.dryAddChrome);
    }];
}

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

- (void)symbolsDeferredThinUnderAppleAddAction:(UIButton *)sender {
    if (self.figureUndoneTextField.text.length < FixChunkBad.swedishTwist.siteBothZip) {
        [KeyAlertView eachDismissAwakeHandoverHeadphonePink:FixChunkBad.passLazyUnique.lossySelf message:FixChunkBad.passLazyUnique.assertionImportantIndigoCoalescedAlienSeconds completion:nil];
        return;
    }
    if (self.reactorSomaliTextField.text.length < FixChunkBad.swedishTwist.siteBothZip) {
        [KeyAlertView eachDismissAwakeHandoverHeadphonePink:FixChunkBad.passLazyUnique.lossySelf message:FixChunkBad.passLazyUnique.composeTurkmenSpeechMaleSolidEffective completion:nil];
        return;
    }
    if ([self.boostMenSpell respondsToSelector:@selector(inhalerStrongestDescribeJoinChangeFloorRedName:wetKey:completion:)]) {
        [SerialLossView loopsMirroredWindow];
        [self.boostMenSpell inhalerStrongestDescribeJoinChangeFloorRedName:self.figureUndoneTextField.text wetKey:self.reactorSomaliTextField.text completion:^(id object) {
            [SerialLossView askHockeyLowCentralsDetailWindow];
        }];
    }
}


- (void)leftUrgentFreeAllRoomEastAction {
    PosterCroatianViewController *sinPhaseEdit = [PosterCroatianViewController new];
    sinPhaseEdit.cellularKin = @(YES);
    sinPhaseEdit.boostMenSpell = self.boostMenSpell;
    [sinPhaseEdit setFullScrollAbsentExchangesSimulates:^(BOOL result) {
        self.agentPlanSonLabel.cubicSizeVital = result;
    }];
    [self.navigationController pushViewController:sinPhaseEdit animated:NO];
}

@end
