






#import "AdditiveRatingsBlackUnsafeDarkenOrderingViewController.h"
#import "NSString+Receiving.h"

@implementation XXGSelectMobileAccountModel

@end

@interface AdditiveRatingsBlackUnsafeDarkenOrderingViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *stepsonTab;
@property (nonatomic, strong) UITableView *lawDrumLowView;
@property (nonatomic, assign) NSInteger fourthDenyDown;
@property (nonatomic, strong) UIButton *pulseWetWasButton;
@property (nonatomic, strong) UIButton *beaconsDirtyButton;

@end

@implementation AdditiveRatingsBlackUnsafeDarkenOrderingViewController

- (XXGSelectMobileAccountModel *)stepsonTab {
    return self.mostTipRest;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.visualPintButton.hidden = YES;
    self.negotiateButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = LambdaPatch.returnThatMode.grantedKinPinSaveRecovery;
    titleLabel.textColor = [LambdaPatch menstrualColor];
    titleLabel.font = [UIFont systemFontOfSize:LambdaPatch.faxChildBend.carAscentCar];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(LambdaPatch.faxChildBend.rowSawInfer);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(LambdaPatch.faxChildBend.howStoryline);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = LambdaPatch.faxChildBend.likeBeganFit;

    
    UIView *offWhoView = [[UIView alloc] init];
    offWhoView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:offWhoView];
    [offWhoView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(LambdaPatch.faxChildBend.sexPressMore);
    }];

    
    _pulseWetWasButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_pulseWetWasButton setTitle:LambdaPatch.returnThatMode.maxIllClean forState:UIControlStateNormal];
    [_pulseWetWasButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_pulseWetWasButton setBackgroundColor:UIColor.systemGray5Color];
    _pulseWetWasButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_pulseWetWasButton addTarget:self action:@selector(reportFrontFreeModifyPanAction:) forControlEvents:UIControlEventTouchUpInside];
    [offWhoView addSubview:_pulseWetWasButton];
    [_pulseWetWasButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(offWhoView);
        make.width.equalTo(offWhoView).multipliedBy(0.5);
    }];

    
    _beaconsDirtyButton = [LambdaPatch keyOwnVowelFatFootColor:LambdaPatch.returnThatMode.feedTen];
    [_beaconsDirtyButton addTarget:self action:@selector(hueParameterProvidesMayGroupedAction:) forControlEvents:UIControlEventTouchUpInside];
    [offWhoView addSubview:_beaconsDirtyButton];
    [_beaconsDirtyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(offWhoView);
        make.width.equalTo(offWhoView).multipliedBy(0.5);
    }];

    
    _lawDrumLowView = [[UITableView alloc] initWithFrame:CGRectZero style:UITableViewStylePlain];
    _lawDrumLowView.backgroundColor = UIColor.systemGray6Color;
    _lawDrumLowView.contentInset = UIEdgeInsetsMake(0, 0, 10, 0);
    _lawDrumLowView.separatorStyle = UITableViewCellSeparatorStyleNone;
    _lawDrumLowView.rowHeight = LambdaPatch.faxChildBend.golfDepthAsk;
    _lawDrumLowView.delegate = self;
    _lawDrumLowView.dataSource = self;
    [_lawDrumLowView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"XXGSelectMobileAccountCell"];

    [self.view addSubview:_lawDrumLowView];
    [_lawDrumLowView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(LambdaPatch.faxChildBend.footUseMail);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(offWhoView.mas_top);
    }];

    
    if (self.stepsonTab.mathProcessor.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_lawDrumLowView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _fourthDenyDown = 0;
    }
}



- (void)reportFrontFreeModifyPanAction:(UIButton *)sender {
    [[FiberRaceManager shared] mountDustSubWindow];
    if (self.loudPipeEmail && [self.loudPipeEmail respondsToSelector:@selector(onlyExclusiveBlusteryCancelOptionBadgeGuestRun)]) {
        [self.loudPipeEmail onlyExclusiveBlusteryCancelOptionBadgeGuestRun];
    }
}

- (void)hueParameterProvidesMayGroupedAction:(UIButton *)sender {
    [[FiberRaceManager shared] mountDustSubWindow];
    if (self.loudPipeEmail && [self.loudPipeEmail respondsToSelector:@selector(spaLongestClockSamplerFootnoteLayoutFormatsExternalModel:campaignAccount:)]) {
        NSString *campaignAccount = self.stepsonTab.mathProcessor[self.fourthDenyDown];
        [self.loudPipeEmail spaLongestClockSamplerFootnoteLayoutFormatsExternalModel:self.stepsonTab campaignAccount:campaignAccount];
    }
}



- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return self.stepsonTab.mathProcessor.count;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    UITableViewCell *hang = [tableView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:indexPath];
    hang.backgroundColor = UIColor.whiteColor;
    hang.selectionStyle = UITableViewCellSelectionStyleNone;
    hang.textLabel.text = self.stepsonTab.mathProcessor[indexPath.row];
    hang.textLabel.textColor = UIColor.darkGrayColor;
    hang.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (indexPath.row == self.fourthDenyDown) {
        hang.accessoryType = UITableViewCellAccessoryCheckmark;
        hang.tintColor = [LambdaPatch menstrualColor];
    } else {
        hang.accessoryType = UITableViewCellAccessoryNone;
    }

    return hang;
}



- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
    NSInteger upperAction = self.fourthDenyDown;
    self.fourthDenyDown = indexPath.row;

    
    NSMutableArray *angularScan = [NSMutableArray array];
    [angularScan addObject:[NSIndexPath indexPathForRow:upperAction inSection:0]];
    if (upperAction != indexPath.row) {
        [angularScan addObject:indexPath];
    }
    [tableView reloadRowsAtIndexPaths:angularScan withRowAnimation:UITableViewRowAnimationNone];
}

@end
