






#import "KilometerViewController.h"
#import "TipQuickDayLabel.h"
#import "SafeSayTenItemViewController.h"

@interface KilometerViewController ()

@property (nonatomic, strong) UITextField *uniformYearsTextField;
@property (nonatomic, strong) UITextField *stairWhoPitchTextField;
@property (nonatomic,strong) TipQuickDayLabel *herDogGermanLabel;
@end



@implementation KilometerViewController

- (TipQuickDayLabel *)herDogGermanLabel {
    if (!_herDogGermanLabel) {
        _herDogGermanLabel = [TipQuickDayLabel rowFunSobDarkLabel:NO];
    }
    return _herDogGermanLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.uniformYearsTextField = [RuleListCut radialLiteralParserFarPlanarAccount];
    [self.view addSubview:self.uniformYearsTextField];
    [self.uniformYearsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(RuleListCut.coloredDraft.idleVibrancy);
        make.left.mas_equalTo(RuleListCut.coloredDraft.herLimitSafe);
        make.right.mas_equalTo(-RuleListCut.coloredDraft.herLimitSafe);
        make.height.mas_equalTo(RuleListCut.coloredDraft.appleLogical);
    }];
    
    
    self.stairWhoPitchTextField = [RuleListCut flashAgeBoldPolishPopPassword:NO];
    [self.view addSubview:self.stairWhoPitchTextField];
    [self.stairWhoPitchTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.uniformYearsTextField.mas_bottom).offset(RuleListCut.coloredDraft.prominentEye);
        make.left.right.equalTo(self.uniformYearsTextField);
        make.height.mas_equalTo(RuleListCut.coloredDraft.appleLogical);
    }];
    UIButton *rightButton = self.stairWhoPitchTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(clusterTripleLegalPushAltitudeSleepHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *microFullPeerButton = [RuleListCut nominallyObstacleUnchangedBlobHybridColor:RuleListCut.costSonKnowKit.aspectCounter];
    [microFullPeerButton addTarget:self action:@selector(highlightTibetanImperialRemotePageSparseAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:microFullPeerButton];
    [microFullPeerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stairWhoPitchTextField.mas_bottom).offset(RuleListCut.coloredDraft.prominentEye);
        make.left.right.equalTo(self.stairWhoPitchTextField);
        make.height.mas_equalTo(RuleListCut.coloredDraft.rareErrorMan);
    }];
    
    [self.view addSubview:self.herDogGermanLabel];
    fourJob(self);
    [self.herDogGermanLabel setUndoneQuotesBrokenOurNotifyGallons:^{
        maskLocal(self);
        [self separateStepProvideSwapOddExposuresAction];
    }];
    [self.herDogGermanLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-RuleListCut.coloredDraft.countingRain);
        make.left.mas_equalTo(RuleListCut.coloredDraft.malteseClamp);
        make.right.mas_equalTo(-RuleListCut.coloredDraft.malteseClamp);
    }];
}

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

- (void)highlightTibetanImperialRemotePageSparseAction:(UIButton *)sender {
    if (self.uniformYearsTextField.text.length < RuleListCut.coloredDraft.inuitIndoor) {
        [LowAlertView artFourBarUnitSeeWill:RuleListCut.costSonKnowKit.blinkWork message:RuleListCut.costSonKnowKit.containsPastCityPerformedAlpineDesigner completion:nil];
        return;
    }
    if (self.stairWhoPitchTextField.text.length < RuleListCut.coloredDraft.inuitIndoor) {
        [LowAlertView artFourBarUnitSeeWill:RuleListCut.costSonKnowKit.blinkWork message:RuleListCut.costSonKnowKit.bedHexRelevanceNoticeAmperePut completion:nil];
        return;
    }
    if ([self.urgentRatings respondsToSelector:@selector(hueBurnTheAdobeCustodianEarStereoName:netKey:completion:)]) {
        [IllegalRedView limitHandoverWindow];
        [self.urgentRatings hueBurnTheAdobeCustodianEarStereoName:self.uniformYearsTextField.text netKey:self.stairWhoPitchTextField.text completion:^(id object) {
            [IllegalRedView ourSavePartialRestartMatrixWindow];
        }];
    }
}


- (void)separateStepProvideSwapOddExposuresAction {
    SafeSayTenItemViewController *burnDeletion = [SafeSayTenItemViewController new];
    burnDeletion.mostlyPlate = @(YES);
    burnDeletion.urgentRatings = self.urgentRatings;
    [burnDeletion setCandidateSentinelEvictMonthBut:^(BOOL result) {
        self.herDogGermanLabel.wetDarkSexFlat = result;
    }];
    [self.navigationController pushViewController:burnDeletion animated:NO];
}

@end
