






#import "VowelOldestLeftHostIodineSoftnessViewController.h"
#import "NSString+Redirects.h"

@implementation XXGSelectMobileAccountModel

@end

@interface VowelOldestLeftHostIodineSoftnessViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *logLawRate;
@property (nonatomic, strong) UITableView *sixHerPaceView;
@property (nonatomic, assign) NSInteger cornerReliable;
@property (nonatomic, strong) UIButton *fiveUsedTapButton;
@property (nonatomic, strong) UIButton *fireBigOfferButton;

@end

@implementation VowelOldestLeftHostIodineSoftnessViewController

- (XXGSelectMobileAccountModel *)logLawRate {
    return self.barsOptSpan;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.anyDisplayButton.hidden = YES;
    self.protocolsButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = DistantEach.earMayTopModel.phonePacketsFatHoursGarbage;
    titleLabel.textColor = [DistantEach tildePastColor];
    titleLabel.font = [UIFont systemFontOfSize:DistantEach.whoFrenchMin.azimuthStake];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(DistantEach.whoFrenchMin.scoreTriple);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.eggGathering);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = DistantEach.whoFrenchMin.catPointEach;

    
    UIView *menKinView = [[UIView alloc] init];
    menKinView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:menKinView];
    [menKinView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.pubLimitRole);
    }];

    
    _fiveUsedTapButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_fiveUsedTapButton setTitle:DistantEach.earMayTopModel.axesGoalYet forState:UIControlStateNormal];
    [_fiveUsedTapButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_fiveUsedTapButton setBackgroundColor:UIColor.systemGray5Color];
    _fiveUsedTapButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_fiveUsedTapButton addTarget:self action:@selector(functionUsageRevertPressedNewtonsAction:) forControlEvents:UIControlEventTouchUpInside];
    [menKinView addSubview:_fiveUsedTapButton];
    [_fiveUsedTapButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(menKinView);
        make.width.equalTo(menKinView).multipliedBy(0.5);
    }];

    
    _fireBigOfferButton = [DistantEach pongLocalExpiresEndBitColor:DistantEach.earMayTopModel.tension];
    [_fireBigOfferButton addTarget:self action:@selector(bikeWritingMagentaDenyMajorAction:) forControlEvents:UIControlEventTouchUpInside];
    [menKinView addSubview:_fireBigOfferButton];
    [_fireBigOfferButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(menKinView);
        make.width.equalTo(menKinView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_sixHerPaceView];
    [_sixHerPaceView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(DistantEach.whoFrenchMin.endLeaseHit);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(menKinView.mas_top);
    }];

    
    if (self.logLawRate.whileCatShear.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_sixHerPaceView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _cornerReliable = 0;
    }
}



- (void)functionUsageRevertPressedNewtonsAction:(UIButton *)sender {
    [[MatrixFixManager shared] stairDesktopWindow];
    if (self.passiveAuthor && [self.passiveAuthor respondsToSelector:@selector(noteInviteeTriggeredTransportStandGrantingPowerJapanese)]) {
        [self.passiveAuthor noteInviteeTriggeredTransportStandGrantingPowerJapanese];
    }
}

- (void)bikeWritingMagentaDenyMajorAction:(UIButton *)sender {
    [[MatrixFixManager shared] stairDesktopWindow];
    if (self.passiveAuthor && [self.passiveAuthor respondsToSelector:@selector(expansionEyeNetworkEscapingWalkFallbackLooseHintModel:trustBadAccount:)]) {
        NSString *trustBadAccount = self.logLawRate.whileCatShear[self.cornerReliable];
        [self.passiveAuthor expansionEyeNetworkEscapingWalkFallbackLooseHintModel:self.logLawRate trustBadAccount:trustBadAccount];
    }
}



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

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

    
    if (indexPath.row == self.cornerReliable) {
        dash.accessoryType = UITableViewCellAccessoryCheckmark;
        dash.tintColor = [DistantEach tildePastColor];
    } else {
        dash.accessoryType = UITableViewCellAccessoryNone;
    }

    return dash;
}



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

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

@end
