






#import "BackEjectViewController.h"
#import "OnlineColorButton.h"
#import "CatToast.h"
#import "HeartSaltTextField.h"
#import "NSString+BitUpload.h"

@interface BackEjectViewController ()

@property (nonatomic, strong) HeartSaltTextField *hostInitialTextField;
@property (nonatomic, strong) UITextField *indoorKeyTextField;
@property (nonatomic, strong) UITextField *listenerCheckTextField;
@property (nonatomic, strong) OnlineColorButton *manualSayButton;
@end

@implementation BackEjectViewController

- (OnlineColorButton *)manualSayButton {
    if (!_manualSayButton) {
        _manualSayButton = [[OnlineColorButton alloc] init];
    }
    return _manualSayButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.hostInitialTextField = [[HeartSaltTextField alloc] initWithController:self];
    [self.view addSubview:self.hostInitialTextField];
    [self.hostInitialTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FeedSunTied.rootIntegral.legalDecimal);
        make.left.mas_equalTo(FeedSunTied.rootIntegral.causeLongYou);
        make.right.mas_equalTo(-FeedSunTied.rootIntegral.causeLongYou);
        make.height.mas_equalTo(FeedSunTied.rootIntegral.logoPriceAdd);
    }];
    
    
    self.indoorKeyTextField = [FeedSunTied pushShowLogicalHexRouteDegradedCode];
    [self.view addSubview:self.indoorKeyTextField];
    [self.indoorKeyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.hostInitialTextField.mas_bottom).offset(FeedSunTied.rootIntegral.sequenceHit);
        make.left.mas_equalTo(FeedSunTied.rootIntegral.causeLongYou);
        make.height.mas_equalTo(FeedSunTied.rootIntegral.logoPriceAdd);
    }];
    
    vitamin(self);
    self.manualSayButton.warnMovieTeamAction = ^{
        peakSlice(self);
        
        NSString *fatFactorCode = self.hostInitialTextField.emailBedSonSin;
        NSString *bookManyFat = self.hostInitialTextField.planStorylineReportedAddressPortion;
        if (self.hostInitialTextField.hostInitialTextField.text.diphthongEye) {
            [self.manualSayButton mergeNepaliFadeOptPascal];
            [AllAlertView reportingPhotosMileHandTelephotoCoast:FeedSunTied.switchEnvelope.slavicLog message:FeedSunTied.switchEnvelope.seePhotoExclusiveFaceAbsentVisitor completion:nil];
            return;
        }
        if ([self.subIcyWaxFree respondsToSelector:@selector(cornerFunkMaskFiveSortingDiscreteSheType:funLookMust:tintCode:completion:)]) {
            [CutSubjectView suchAlignRoomWindow];
            [self.subIcyWaxFree cornerFunkMaskFiveSortingDiscreteSheType:FeedSunTied.rootIntegral.gregorianProteinPeakButDraft funLookMust:bookManyFat tintCode:fatFactorCode completion:^(id object) {
                [CutSubjectView blueMenuThirteenVariablesOddWindow];
                if ([object boolValue]) {
                    [CatToast leapNowSix:FeedSunTied.switchEnvelope.applyPhoneticGeneratePivotTakeEventCode];
                }else {
                    [self.manualSayButton mergeNepaliFadeOptPascal];
                }
            }];
        }
    };
    [self.view addSubview:self.manualSayButton];
    [self.manualSayButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.indoorKeyTextField);
        make.height.equalTo(self.indoorKeyTextField);
        make.left.equalTo(self.indoorKeyTextField.mas_right).offset(FeedSunTied.rootIntegral.lateSmallAir);
        make.right.equalTo(self.hostInitialTextField);
    }];
    
    
    [self.manualSayButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.listenerCheckTextField = [FeedSunTied listenExtraObservedClampingDustPassword:YES];
    [self.view addSubview:self.listenerCheckTextField];
    [self.listenerCheckTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.indoorKeyTextField.mas_bottom).offset(FeedSunTied.rootIntegral.sequenceHit);
        make.left.mas_equalTo(FeedSunTied.rootIntegral.causeLongYou);
        make.right.mas_equalTo(-FeedSunTied.rootIntegral.causeLongYou);
        make.height.mas_equalTo(FeedSunTied.rootIntegral.logoPriceAdd);
    }];
    UIButton *yahooMenButton = self.listenerCheckTextField.rightView.subviews.firstObject;
    [yahooMenButton addTarget:self action:@selector(cubicVortexModifyHyphenLayerPortalHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *followerTooButton = [FeedSunTied edgeSlideMidDeciliterIndentColor:FeedSunTied.switchEnvelope.zoneSpaSiteKey];
    [followerTooButton addTarget:self action:@selector(segmentsNaturalDoneFlushedPutAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:followerTooButton];
    [followerTooButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.listenerCheckTextField.mas_bottom).offset(FeedSunTied.rootIntegral.sequenceHit);
        make.left.mas_equalTo(FeedSunTied.rootIntegral.causeLongYou);
        make.right.mas_equalTo(-FeedSunTied.rootIntegral.causeLongYou);
        make.height.mas_equalTo(FeedSunTied.rootIntegral.strictlyRank);
    }];
}
- (void)cubicVortexModifyHyphenLayerPortalHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.listenerCheckTextField.secureTextEntry = !self.listenerCheckTextField.isSecureTextEntry;
}

- (void)segmentsNaturalDoneFlushedPutAction:(id)sender {
    if (self.hostInitialTextField.hostInitialTextField.text.diphthongEye) {
        [AllAlertView reportingPhotosMileHandTelephotoCoast:FeedSunTied.switchEnvelope.slavicLog message:FeedSunTied.switchEnvelope.seePhotoExclusiveFaceAbsentVisitor completion:nil];
        return;
    }
    if (self.indoorKeyTextField.text.diphthongEye) {
        [AllAlertView reportingPhotosMileHandTelephotoCoast:FeedSunTied.switchEnvelope.slavicLog message:FeedSunTied.switchEnvelope.reductionButtonsSlavicAloneExec completion:nil];
        return;
    }
    if (self.listenerCheckTextField.text.length < FeedSunTied.rootIntegral.howIronFace) {
        [AllAlertView reportingPhotosMileHandTelephotoCoast:FeedSunTied.switchEnvelope.slavicLog message:FeedSunTied.switchEnvelope.mongolianStrokingHueGopherYearRedo completion:nil];
        return;
    }
    NSString *fatFactorCode = self.hostInitialTextField.emailBedSonSin;
    NSString *bookManyFat = self.hostInitialTextField.planStorylineReportedAddressPortion;
    if ([self.subIcyWaxFree respondsToSelector:@selector(weightOddPersonalOpticalResizeEastPin:code:tintCode:sayKey:completion:)]) {
        [CutSubjectView suchAlignRoomWindow];
        [self.subIcyWaxFree weightOddPersonalOpticalResizeEastPin:bookManyFat code:self.indoorKeyTextField.text tintCode:fatFactorCode sayKey:self.listenerCheckTextField.text completion:^(id object) {
            [CutSubjectView blueMenuThirteenVariablesOddWindow];
            [CatToast leapNowSix:FeedSunTied.switchEnvelope.feedbackVisualDismissalSwapTriggers];
            if (object) {
                [self.motionCaretDelegate oneScaleLikeAllocatedSecondsWithName:object endsSignMenPassword:self.listenerCheckTextField.text];
                [self treeGetAlienMantissaPairAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.manualSayButton mergeNepaliFadeOptPascal];
}
@end
