






#import "HyphenMidViewController.h"
#import "WaxAnyMinorButton.h"
#import "LawToast.h"
#import "MenChromaTextField.h"
#import "NSString+LessSeven.h"

@interface HyphenMidViewController ()

@property (nonatomic, strong) MenChromaTextField *hostParsingTextField;
@property (nonatomic, strong) UITextField *ligaturesTextField;
@property (nonatomic, strong) UITextField *singleGuaraniTextField;
@property (nonatomic, strong) WaxAnyMinorButton *refreshedButton;
@end

@implementation HyphenMidViewController

- (WaxAnyMinorButton *)refreshedButton {
    if (!_refreshedButton) {
        _refreshedButton = [[WaxAnyMinorButton alloc] init];
    }
    return _refreshedButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.hostParsingTextField = [[MenChromaTextField alloc] initWithController:self];
    [self.view addSubview:self.hostParsingTextField];
    [self.hostParsingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(AreStateWon.twoHoverHard.vortexRetMan);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.tipTipNormal);
    }];
    
    
    self.ligaturesTextField = [AreStateWon logoManFocusedAgeWaxStyleCode];
    [self.view addSubview:self.ligaturesTextField];
    [self.ligaturesTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hostParsingTextField.mas_bottom).offset(AreStateWon.twoHoverHard.agePoloBoth);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.tipTipNormal);
    }];
    
    nothing(self);
    self.refreshedButton.busAgePeerYouAction = ^{
        niacinSpa(self);
        
        NSString *affiliateCode = self.hostParsingTextField.endHighNameSun;
        NSString *dayEraLayer = self.hostParsingTextField.capRemovalUtteranceLongHormone;
        if (self.hostParsingTextField.hostParsingTextField.text.composerNext) {
            [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
            [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.anyAzimuthBrowseReduceSpaCurrency completion:nil];
            return;
        }
        if ([self.tabOldStopped respondsToSelector:@selector(hebrewTapFiltersLateRawUniformMailType:runBodyMild:bestCode:completion:)]) {
            [BitAgeSafeView earWonWeekOurWindow];
            [self.tabOldStopped hebrewTapFiltersLateRawUniformMailType:AreStateWon.twoHoverHard.flattenPagerVortexMostlyInterlace runBodyMild:dayEraLayer bestCode:affiliateCode completion:^(id object) {
                [BitAgeSafeView estimateDirectlyHelloForFlexibleWindow];
                if ([object boolValue]) {
                    [LawToast ourCityDry:AreStateWon.miterTabBitKin.bankersInvalidCursiveLostArtsSecondsCode];
                }else {
                    [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
                }
            }];
        }
    };
    [self.view addSubview:self.refreshedButton];
    [self.refreshedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.ligaturesTextField);
        make.height.equalTo(self.ligaturesTextField);
        make.left.equalTo(self.ligaturesTextField.mas_right).offset(AreStateWon.twoHoverHard.knowShapeSay);
        make.right.equalTo(self.hostParsingTextField);
    }];
    
    
    [self.refreshedButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.singleGuaraniTextField = [AreStateWon bufferedHourlyTrackDiphthongElevatedPassword:YES];
    [self.view addSubview:self.singleGuaraniTextField];
    [self.singleGuaraniTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.ligaturesTextField.mas_bottom).offset(AreStateWon.twoHoverHard.agePoloBoth);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.tipTipNormal);
    }];
    UIButton *consumerButton = self.singleGuaraniTextField.rightView.subviews.firstObject;
    [consumerButton addTarget:self action:@selector(fatEscapedReminderVolumeLooseSeeHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *lostContactButton = [AreStateWon safePromisedRequiringAdjustsIrishColor:AreStateWon.miterTabBitKin.fixDegradedKey];
    [lostContactButton addTarget:self action:@selector(foldAdvertiseBufferedFillerTreeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:lostContactButton];
    [lostContactButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.singleGuaraniTextField.mas_bottom).offset(AreStateWon.twoHoverHard.agePoloBoth);
        make.left.mas_equalTo(AreStateWon.twoHoverHard.cameraWaxOwn);
        make.right.mas_equalTo(-AreStateWon.twoHoverHard.cameraWaxOwn);
        make.height.mas_equalTo(AreStateWon.twoHoverHard.sonGenderSin);
    }];
}
- (void)fatEscapedReminderVolumeLooseSeeHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.singleGuaraniTextField.secureTextEntry = !self.singleGuaraniTextField.isSecureTextEntry;
}

- (void)foldAdvertiseBufferedFillerTreeAction:(id)sender {
    if (self.hostParsingTextField.hostParsingTextField.text.composerNext) {
        [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.anyAzimuthBrowseReduceSpaCurrency completion:nil];
        return;
    }
    if (self.ligaturesTextField.text.composerNext) {
        [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.yearJabberGainEncipherWax completion:nil];
        return;
    }
    if (self.singleGuaraniTextField.text.length < AreStateWon.twoHoverHard.peakPushSaw) {
        [ItsAlertView messageSheetDownhillBalanceImpactMan:AreStateWon.miterTabBitKin.mostPlain message:AreStateWon.miterTabBitKin.longerUsesPlanUniversalCreatingSections completion:nil];
        return;
    }
    NSString *affiliateCode = self.hostParsingTextField.endHighNameSun;
    NSString *dayEraLayer = self.hostParsingTextField.capRemovalUtteranceLongHormone;
    if ([self.tabOldStopped respondsToSelector:@selector(schemeExpectedFilterWaterCallbackDepartureFeedback:code:bestCode:allKey:completion:)]) {
        [BitAgeSafeView earWonWeekOurWindow];
        [self.tabOldStopped schemeExpectedFilterWaterCallbackDepartureFeedback:dayEraLayer code:self.ligaturesTextField.text bestCode:affiliateCode allKey:self.singleGuaraniTextField.text completion:^(id object) {
            [BitAgeSafeView estimateDirectlyHelloForFlexibleWindow];
            [LawToast ourCityDry:AreStateWon.miterTabBitKin.disablingGoalVitaminKeepImplicit];
            if (object) {
                [self.sheStakeLowDelegate thinShelfHiddenIntegrityArbiterWithName:object capDeferredPassword:self.singleGuaraniTextField.text];
                [self procedureSourcesRawRowFractionAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.refreshedButton enclosingUsabilityDownloadUploadTelugu];
}
@end
