






#import "AcceptingCheckoutMillThousandsDetectionLinearViewController.h"
#import "NSString+SeeSupply.h"

@implementation XXGSelectMobileAccountModel

@end

@interface AcceptingCheckoutMillThousandsDetectionLinearViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *martialAge;
@property (nonatomic, strong) UITableView *respondCutView;
@property (nonatomic, assign) NSInteger bondOptionPick;
@property (nonatomic, strong) UIButton *relayNetBadButton;
@property (nonatomic, strong) UIButton *lowNetDeriveButton;

@end

@implementation AcceptingCheckoutMillThousandsDetectionLinearViewController

- (XXGSelectMobileAccountModel *)martialAge {
    return self.tenHitError;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.voiceClockButton.hidden = YES;
    self.bevelTapsButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = BestSharpen.hangFillerPick.civilLayerGrantingBehaviorGranting;
    titleLabel.textColor = [BestSharpen sawExportColor];
    titleLabel.font = [UIFont systemFontOfSize:BestSharpen.didNapCoptic.optionEggAny];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BestSharpen.didNapCoptic.eggPanGuide);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(BestSharpen.didNapCoptic.monthOffTrad);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = BestSharpen.didNapCoptic.obscuredSame;

    
    UIView *ownAllView = [[UIView alloc] init];
    ownAllView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:ownAllView];
    [ownAllView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(BestSharpen.didNapCoptic.logHoursHair);
    }];

    
    _relayNetBadButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_relayNetBadButton setTitle:BestSharpen.hangFillerPick.outcomeArea forState:UIControlStateNormal];
    [_relayNetBadButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_relayNetBadButton setBackgroundColor:UIColor.systemGray5Color];
    _relayNetBadButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_relayNetBadButton addTarget:self action:@selector(cornersManVisitFeatFloatingAction:) forControlEvents:UIControlEventTouchUpInside];
    [ownAllView addSubview:_relayNetBadButton];
    [_relayNetBadButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(ownAllView);
        make.width.equalTo(ownAllView).multipliedBy(0.5);
    }];

    
    _lowNetDeriveButton = [BestSharpen idiomBikeNineRebusEmailColor:BestSharpen.hangFillerPick.minimal];
    [_lowNetDeriveButton addTarget:self action:@selector(failPreparedLossySubtitleBitAction:) forControlEvents:UIControlEventTouchUpInside];
    [ownAllView addSubview:_lowNetDeriveButton];
    [_lowNetDeriveButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(ownAllView);
        make.width.equalTo(ownAllView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_respondCutView];
    [_respondCutView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(BestSharpen.didNapCoptic.sawTriggers);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(ownAllView.mas_top);
    }];

    
    if (self.martialAge.plusNapEggSix.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_respondCutView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _bondOptionPick = 0;
    }
}



- (void)cornersManVisitFeatFloatingAction:(UIButton *)sender {
    [[ResetCurlManager shared] milesLogRedoWindow];
    if (self.thinEchoState && [self.thinEchoState respondsToSelector:@selector(circularBoundingNearAbsentInferSeparateProcessesDecoding)]) {
        [self.thinEchoState circularBoundingNearAbsentInferSeparateProcessesDecoding];
    }
}

- (void)failPreparedLossySubtitleBitAction:(UIButton *)sender {
    [[ResetCurlManager shared] milesLogRedoWindow];
    if (self.thinEchoState && [self.thinEchoState respondsToSelector:@selector(priorityBitsCoalesceRationalMustTallGravityScanModel:rowMixerAccount:)]) {
        NSString *rowMixerAccount = self.martialAge.plusNapEggSix[self.bondOptionPick];
        [self.thinEchoState priorityBitsCoalesceRationalMustTallGravityScanModel:self.martialAge rowMixerAccount:rowMixerAccount];
    }
}



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

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

    
    if (indexPath.row == self.bondOptionPick) {
        turn.accessoryType = UITableViewCellAccessoryCheckmark;
        turn.tintColor = [BestSharpen sawExportColor];
    } else {
        turn.accessoryType = UITableViewCellAccessoryNone;
    }

    return turn;
}



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

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

@end
