






#import "MidLengthViewController.h"
#import "LoopEastButLabel.h"
#import "UsageNotAnyBigViewController.h"

@interface MidLengthViewController ()

@property (nonatomic, strong) UITextField *mapAuxiliaryTextField;
@property (nonatomic, strong) UITextField *provisionTreeTextField;
@property (nonatomic,strong) LoopEastButLabel *waxExpectSexLabel;
@end



@implementation MidLengthViewController

- (LoopEastButLabel *)waxExpectSexLabel {
    if (!_waxExpectSexLabel) {
        _waxExpectSexLabel = [LoopEastButLabel airGeneralAddLabel:NO];
    }
    return _waxExpectSexLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.mapAuxiliaryTextField = [PrintFarFor wrongCombinedMildApertureKilowattAccount];
    [self.view addSubview:self.mapAuxiliaryTextField];
    [self.mapAuxiliaryTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PrintFarFor.guideMaySelf.sliceBusStop);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    
    
    self.provisionTreeTextField = [PrintFarFor hexUnitGradeSomaliTryPassword:NO];
    [self.view addSubview:self.provisionTreeTextField];
    [self.provisionTreeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mapAuxiliaryTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.storeMutable);
        make.left.right.equalTo(self.mapAuxiliaryTextField);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    UIButton *rightButton = self.provisionTreeTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(mandatoryExistProcessorBeenEstablishCreditHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *halfHomeLossyButton = [PrintFarFor entityBlurDogBestDisablesColor:PrintFarFor.tempSockJobHas.zeroSumWhoMan];
    [halfHomeLossyButton addTarget:self action:@selector(sentBadReportingFemaleAchievedTheAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:halfHomeLossyButton];
    [halfHomeLossyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.provisionTreeTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.storeMutable);
        make.left.right.equalTo(self.provisionTreeTextField);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.thickChapter);
    }];
    
    [self.view addSubview:self.waxExpectSexLabel];
    theBand(self);
    [self.waxExpectSexLabel setFinishedConditionAccordingDragPrettyCrop:^{
        illReturn(self);
        [self heartFractionRuleButRingOwnAction];
    }];
    [self.waxExpectSexLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-PrintFarFor.guideMaySelf.modifiedDone);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.boxAbovePast);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.boxAbovePast);
    }];
}

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

- (void)sentBadReportingFemaleAchievedTheAction:(UIButton *)sender {
    if (self.mapAuxiliaryTextField.text.length < PrintFarFor.guideMaySelf.givenAreBag) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.curlEpisodeMountMenPlusCharge completion:nil];
        return;
    }
    if (self.provisionTreeTextField.text.length < PrintFarFor.guideMaySelf.givenAreBag) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.bagTooPatternRelationProcessAdd completion:nil];
        return;
    }
    if ([self.postLoveRight respondsToSelector:@selector(posterArteryFootballVibrancyFillSphericalAndName:kinKey:completion:)]) {
        [FireResizeView brushLabelCutWindow];
        [self.postLoveRight posterArteryFootballVibrancyFillSphericalAndName:self.mapAuxiliaryTextField.text kinKey:self.provisionTreeTextField.text completion:^(id object) {
            [FireResizeView milesLastGigahertzExpandingCosmicWindow];
        }];
    }
}


- (void)heartFractionRuleButRingOwnAction {
    UsageNotAnyBigViewController *purpleBigNot = [UsageNotAnyBigViewController new];
    purpleBigNot.tryGreekEnd = @(YES);
    purpleBigNot.postLoveRight = self.postLoveRight;
    [purpleBigNot setKilogramsStairProminentDisappearChain:^(BOOL result) {
        self.waxExpectSexLabel.saveTimeEndTap = result;
    }];
    [self.navigationController pushViewController:purpleBigNot animated:NO];
}

@end
