






#import "BikeMiterViewController.h"
#import "GainHasTaskButton.h"
#import "IcyToast.h"
#import "MightLikeTextField.h"
#import "NSString+BeaconWax.h"

@interface BikeMiterViewController ()

@property (nonatomic, strong) MightLikeTextField *buildSchoolTextField;
@property (nonatomic, strong) UITextField *mobileSonTextField;
@property (nonatomic, strong) UITextField *jabberSpacingTextField;
@property (nonatomic, strong) GainHasTaskButton *timeLeaveButton;
@end

@implementation BikeMiterViewController

- (GainHasTaskButton *)timeLeaveButton {
    if (!_timeLeaveButton) {
        _timeLeaveButton = [[GainHasTaskButton alloc] init];
    }
    return _timeLeaveButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.buildSchoolTextField = [[MightLikeTextField alloc] initWithController:self];
    [self.view addSubview:self.buildSchoolTextField];
    [self.buildSchoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MaskTheGray.andRomanPath.nonceMileEgg);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.endBlurBatch);
    }];
    
    
    self.mobileSonTextField = [MaskTheGray immutableHindiObserversFilteringResultingInsertingCode];
    [self.view addSubview:self.mobileSonTextField];
    [self.mobileSonTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.buildSchoolTextField.mas_bottom).offset(MaskTheGray.andRomanPath.funkOverMen);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.endBlurBatch);
    }];
    
    managed(self);
    self.timeLeaveButton.towerFlatFeetAction = ^{
        workspace(self);
        
        NSString *tipExpertCode = self.buildSchoolTextField.addWaistDayRow;
        NSString *hardSheCase = self.buildSchoolTextField.warnTriangleTabClippingLighter;
        if (self.buildSchoolTextField.buildSchoolTextField.text.resolvedBlue) {
            [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
            [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.keyNumeratorSpectralSecondsTrustCache completion:nil];
            return;
        }
        if ([self.paragraphTone respondsToSelector:@selector(headlineSubjectTextualProfileFatalFitnessOutputsType:schemesDark:infoCode:completion:)]) {
            [EchoEggBitView utilitiesSaltWindow];
            [self.paragraphTone headlineSubjectTextualProfileFatalFitnessOutputsType:MaskTheGray.andRomanPath.geometricSubmitCaptionLightPick schemesDark:hardSheCase infoCode:tipExpertCode completion:^(id object) {
                [EchoEggBitView menuIrishSevenEachOrdinalWindow];
                if ([object boolValue]) {
                    [IcyToast thatDivide:MaskTheGray.starHealthHome.listActivityClaimFemaleLockingBasalCode];
                }else {
                    [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
                }
            }];
        }
    };
    [self.view addSubview:self.timeLeaveButton];
    [self.timeLeaveButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mobileSonTextField);
        make.height.equalTo(self.mobileSonTextField);
        make.right.equalTo(self.buildSchoolTextField);
        
        make.width.mas_equalTo(self.timeLeaveButton.titleLabel.intrinsicContentSize.width + MaskTheGray.andRomanPath.clockwiseTab);
    }];
    
    [self.mobileSonTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.timeLeaveButton.mas_left).offset(-MaskTheGray.andRomanPath.albumComplex);
    }];
    
    
    self.jabberSpacingTextField = [MaskTheGray maleCursorUplinkEuropeanWarpPassword:YES];
    [self.view addSubview:self.jabberSpacingTextField];
    [self.jabberSpacingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mobileSonTextField.mas_bottom).offset(MaskTheGray.andRomanPath.funkOverMen);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.endBlurBatch);
    }];
    UIButton *pinDutchButton = self.jabberSpacingTextField.rightView.subviews.firstObject;
    [pinDutchButton addTarget:self action:@selector(metabolicMiterUploadingCousinBaseAdapterHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *sliderStaleButton = [MaskTheGray commonLibraryGivenHisEitherColor:MaskTheGray.starHealthHome.blueRoomRawKey];
    [sliderStaleButton addTarget:self action:@selector(tensionLogTerahertzYearsLongitudeAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sliderStaleButton];
    [sliderStaleButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.jabberSpacingTextField.mas_bottom).offset(MaskTheGray.andRomanPath.funkOverMen);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.effectRowRow);
    }];
}
- (void)metabolicMiterUploadingCousinBaseAdapterHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.jabberSpacingTextField.secureTextEntry = !self.jabberSpacingTextField.isSecureTextEntry;
}

- (void)tensionLogTerahertzYearsLongitudeAction:(id)sender {
    if (self.buildSchoolTextField.buildSchoolTextField.text.resolvedBlue) {
        [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.keyNumeratorSpectralSecondsTrustCache completion:nil];
        return;
    }
    if (self.mobileSonTextField.text.resolvedBlue) {
        [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.freestyleBypassIcyHeadAccuracy completion:nil];
        return;
    }
    if (self.jabberSpacingTextField.text.length < MaskTheGray.andRomanPath.barAmbience) {
        [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.copticArgumentPenCatStepVital completion:nil];
        return;
    }
    NSString *tipExpertCode = self.buildSchoolTextField.addWaistDayRow;
    NSString *hardSheCase = self.buildSchoolTextField.warnTriangleTabClippingLighter;
    if ([self.paragraphTone respondsToSelector:@selector(boxNativeCoulombsDanceOurRecognizeElapsed:code:infoCode:canKey:completion:)]) {
        [EchoEggBitView utilitiesSaltWindow];
        [self.paragraphTone boxNativeCoulombsDanceOurRecognizeElapsed:hardSheCase code:self.mobileSonTextField.text infoCode:tipExpertCode canKey:self.jabberSpacingTextField.text completion:^(id object) {
            [EchoEggBitView menuIrishSevenEachOrdinalWindow];
            [IcyToast thatDivide:MaskTheGray.starHealthHome.consumerBitmapAliveWaitKashmiri];
            if (object) {
                [self.uploadBevelDelegate hueCoalescedLoopPhoneLineWithName:object funPointersPassword:self.jabberSpacingTextField.text];
                [self portraitsGetTurkmenParagraphMatrixAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
}
@end
