






#import "AudiencesViewController.h"
#import "HeavyPopWasLabel.h"
#import "ReceivesFollowViewController.h"

@interface AudiencesViewController ()

@property (nonatomic, strong) UITextField *alienRefusedTextField;
@property (nonatomic, strong) UITextField *decigramsHandTextField;
@property (nonatomic,strong) HeavyPopWasLabel *pencilKinAndLabel;
@end



@implementation AudiencesViewController

- (HeavyPopWasLabel *)pencilKinAndLabel {
    if (!_pencilKinAndLabel) {
        _pencilKinAndLabel = [HeavyPopWasLabel barMenEastMixLabel:NO];
    }
    return _pencilKinAndLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.alienRefusedTextField = [BurstPetite legibleHardClippingIncrementHeartbeatAccount];
    [self.view addSubview:self.alienRefusedTextField];
    [self.alienRefusedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BurstPetite.virtualSheet.millibarsGet);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    
    self.decigramsHandTextField = [BurstPetite weekdayPaymentsReleaseSortThirteenPassword:NO];
    [self.view addSubview:self.decigramsHandTextField];
    [self.decigramsHandTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.alienRefusedTextField.mas_bottom).offset(BurstPetite.virtualSheet.takeMovieBad);
        make.left.right.equalTo(self.alienRefusedTextField);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    UIButton *rightButton = self.decigramsHandTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(warnArtRotateInterestOffEndHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *runOutRareMixButton = [BurstPetite paragraphPicturePositionHisSumColor:BurstPetite.setupScheduled.leakyHerGenre];
    [runOutRareMixButton addTarget:self action:@selector(lawMastersGatheringAlongParameterMovementAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:runOutRareMixButton];
    [runOutRareMixButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.decigramsHandTextField.mas_bottom).offset(BurstPetite.virtualSheet.takeMovieBad);
        make.left.right.equalTo(self.decigramsHandTextField);
        make.height.mas_equalTo(BurstPetite.virtualSheet.enclosingToo);
    }];
    
    [self.view addSubview:self.pencilKinAndLabel];
    moveAll(self);
    [self.pencilKinAndLabel setFilmBeenPubTopEnhanceSmallest:^{
        eachDutch(self);
        [self shadowTapStandardEighteenLoadSaltAction];
    }];
    [self.pencilKinAndLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BurstPetite.virtualSheet.linkAxialCan);
        make.left.mas_equalTo(BurstPetite.virtualSheet.teluguPencil);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.teluguPencil);
    }];
}

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

- (void)lawMastersGatheringAlongParameterMovementAction:(UIButton *)sender {
    if (self.alienRefusedTextField.text.length < BurstPetite.virtualSheet.infoMidWord) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.departureMiddlePullStandSuperiorsOne completion:nil];
        return;
    }
    if (self.decigramsHandTextField.text.length < BurstPetite.virtualSheet.infoMidWord) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.groupingInlandForeverDissolveAdjustFlag completion:nil];
        return;
    }
    if ([self.discountExact respondsToSelector:@selector(activateFeedReadoutConfigureDueStylusArtistName:penKey:completion:)]) {
        [OnceMidSeeView cupWetYetFontWindow];
        [self.discountExact activateFeedReadoutConfigureDueStylusArtistName:self.alienRefusedTextField.text penKey:self.decigramsHandTextField.text completion:^(id object) {
            [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
        }];
    }
}


- (void)shadowTapStandardEighteenLoadSaltAction {
    ReceivesFollowViewController *returnReject = [ReceivesFollowViewController new];
    returnReject.forTiedRows = @(YES);
    returnReject.discountExact = self.discountExact;
    [returnReject setRetainNegativePinListenerDomains:^(BOOL result) {
        self.pencilKinAndLabel.certArtistSalt = result;
    }];
    [self.navigationController pushViewController:returnReject animated:NO];
}

@end
