






#import "RateAgeBadViewController.h"
#import "SubscriptViewController.h"
#import "EncodeIllViewController.h"

@interface RateAgeBadViewController ()<ListenersDelegate>

@property (nonatomic, strong) UITextField *qualifiedEggTextField;
@property (nonatomic, strong) UITextField *waistOptAlbumTextField;
@end

@implementation RateAgeBadViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.qualifiedEggTextField = [OutTapPlain hintQuickColleagueOperationBridgeAccount];
    [self.view addSubview:self.qualifiedEggTextField];
    [self.qualifiedEggTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(OutTapPlain.parentMixMay.markReleased);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    
    
    self.waistOptAlbumTextField = [OutTapPlain cursorTokenWrittenSphericalAxialPassword:NO];
    [self.view addSubview:self.waistOptAlbumTextField];
    [self.waistOptAlbumTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.qualifiedEggTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hasWasHigher);
        make.left.right.equalTo(self.qualifiedEggTextField);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    UIButton *persian = self.waistOptAlbumTextField.rightView.subviews.firstObject;
    [persian addTarget:self action:@selector(drivenRoundOperateFinalizeDifferentPromptHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *button = [OutTapPlain busIndoorTableDrizzleAwayColor:OutTapPlain.loudMeterMount.lowRestFold];
    [button addTarget:self action:@selector(attributeGloballyTensionSubscriptWarpIconShuffleAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:button];
    [button mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.waistOptAlbumTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hasWasHigher);
        make.left.right.equalTo(self.waistOptAlbumTextField);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.tooTabMetric);
    }];
    
    
    if (![OutTapPlain editorIodinePreviousIndianLetter]) {
        UIButton *hailZip = [OutTapPlain busIndoorTableDrizzleAwayColor:[NSString stringWithFormat:@" %@ ",OutTapPlain.loudMeterMount.offRunLastSaw]];
        [hailZip addTarget:self action:@selector(butEggSendHourlyAddAction:) forControlEvents:UIControlEventTouchUpInside];
        [self.view addSubview:hailZip];
        [hailZip mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(button);
            make.top.equalTo(button.mas_bottom).offset(OutTapPlain.parentMixMay.hisHeavyFair);
            make.height.mas_equalTo(OutTapPlain.parentMixMay.subfamilySob);
            
            make.width.mas_equalTo(hailZip.titleLabel.intrinsicContentSize.width + OutTapPlain.parentMixMay.sandboxTamil);
        }];
    }
    
    
    UIButton *mapRank = [OutTapPlain familyPhysicalEllipsisExtraBreak:OutTapPlain.loudMeterMount.pushFreeWetKey];
    [mapRank addTarget:self action:@selector(burstSpeedOneAppendJobAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:mapRank];
    [mapRank mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button);
        make.top.equalTo(button.mas_bottom).offset(OutTapPlain.parentMixMay.hisHeavyFair);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.subfamilySob);
    }];
}

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

- (void)attributeGloballyTensionSubscriptWarpIconShuffleAction:(UIButton *)sender {
    if (self.qualifiedEggTextField.text.length < OutTapPlain.parentMixMay.numeralMood) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.nativeSizeNowExtrinsicGlobalStopped completion:nil];
        return;
    }
    if (self.waistOptAlbumTextField.text.length < OutTapPlain.parentMixMay.numeralMood) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.measureTurkmenAllExporterWeekdayMembers completion:nil];
        return;
    }
    if ([self.imageChatFilm respondsToSelector:@selector(dayRuleStackedStrongClustersPubRotateName:airKey:completion:)]) {
        [ManButThinView instantSubmitWindow];
        [self.imageChatFilm dayRuleStackedStrongClustersPubRotateName:self.qualifiedEggTextField.text airKey:self.waistOptAlbumTextField.text completion:^(id object) {
            [ManButThinView discardedEsperantoExternalAnimationPluralWindow];
        }];
    }
}

- (void)butEggSendHourlyAddAction:(UIButton *)sender {
    SubscriptViewController *lawFive = [SubscriptViewController new];
    lawFive.imageChatFilm = self.imageChatFilm;
    [self.navigationController pushViewController:lawFive animated:NO];
}

- (void)burstSpeedOneAppendJobAction:(UIButton *)sender {
    EncodeIllViewController *lawFive = [EncodeIllViewController new];
    lawFive.imageChatFilm = self.imageChatFilm;
    lawFive.menuOffDrumDelegate = self;
    [self.navigationController pushViewController:lawFive animated:NO];
    
}

- (void)statementTemporalStructureIconShrinkWithName:(NSString *)xxpk_forgetName suffixSmilePassword:(NSString *)suffixSmilePassword {
    self.qualifiedEggTextField.text = xxpk_forgetName;
    self.waistOptAlbumTextField.text = suffixSmilePassword;
    UIButton *persian = self.waistOptAlbumTextField.rightView.subviews.firstObject;
    persian.selected = YES;
    self.waistOptAlbumTextField.secureTextEntry = NO;
}

@end
