






#import "RunningFrequencyBridgedExternalEntriesPrimariesViewController.h"
#import "NSString+AskFinger.h"

@implementation XXGSelectMobileAccountModel

@end

@interface RunningFrequencyBridgedExternalEntriesPrimariesViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *hybridGasp;
@property (nonatomic, strong) UITableView *albumMountView;
@property (nonatomic, assign) NSInteger dogMaxSortTree;
@property (nonatomic, strong) UIButton *sleetMaxMapButton;
@property (nonatomic, strong) UIButton *invalidMightButton;

@end

@implementation RunningFrequencyBridgedExternalEntriesPrimariesViewController

- (XXGSelectMobileAccountModel *)hybridGasp {
    return self.glyphMenCat;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.leadHowHasButton.hidden = YES;
    self.redefinedButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.text = PutBelowEye.listColumnRoot.centeredSongReadyIgnoredHistory;
    titleLabel.textColor = [PutBelowEye charAlienColor];
    titleLabel.font = [UIFont systemFontOfSize:PutBelowEye.yetRevealHow.whiteTextual];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PutBelowEye.yetRevealHow.modelOwnBus);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(PutBelowEye.yetRevealHow.allDimension);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = PutBelowEye.yetRevealHow.retryRowView;

    
    UIView *endWetView = [[UIView alloc] init];
    endWetView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:endWetView];
    [endWetView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(PutBelowEye.yetRevealHow.sinSubstring);
    }];

    
    _sleetMaxMapButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_sleetMaxMapButton setTitle:PutBelowEye.listColumnRoot.vitalityThe forState:UIControlStateNormal];
    [_sleetMaxMapButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_sleetMaxMapButton setBackgroundColor:UIColor.systemGray5Color];
    _sleetMaxMapButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_sleetMaxMapButton addTarget:self action:@selector(queryBouncingFootnoteCarbonSeasonAction:) forControlEvents:UIControlEventTouchUpInside];
    [endWetView addSubview:_sleetMaxMapButton];
    [_sleetMaxMapButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(endWetView);
        make.width.equalTo(endWetView).multipliedBy(0.5);
    }];

    
    _invalidMightButton = [PutBelowEye escapingRectifiedAcceptingStopEarlierColor:PutBelowEye.listColumnRoot.scanEra];
    [_invalidMightButton addTarget:self action:@selector(ubiquityOurMetricsRedShortcutAction:) forControlEvents:UIControlEventTouchUpInside];
    [endWetView addSubview:_invalidMightButton];
    [_invalidMightButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(endWetView);
        make.width.equalTo(endWetView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_albumMountView];
    [_albumMountView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(PutBelowEye.yetRevealHow.panHundreds);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(endWetView.mas_top);
    }];

    
    if (self.hybridGasp.dogPagePenThe.count > 0) {
        NSIndexPath *indexPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_albumMountView selectRowAtIndexPath:indexPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _dogMaxSortTree = 0;
    }
}



- (void)queryBouncingFootnoteCarbonSeasonAction:(UIButton *)sender {
    [[StillSockManager shared] beaconListenWindow];
    if (self.helpBoxWonCut && [self.helpBoxWonCut respondsToSelector:@selector(scannerZipUnwrapBouncingChromiumIrishExportedBarrier)]) {
        [self.helpBoxWonCut scannerZipUnwrapBouncingChromiumIrishExportedBarrier];
    }
}

- (void)ubiquityOurMetricsRedShortcutAction:(UIButton *)sender {
    [[StillSockManager shared] beaconListenWindow];
    if (self.helpBoxWonCut && [self.helpBoxWonCut respondsToSelector:@selector(mainPlanTerabytesLargestExpandingRadialCheckDescribesModel:netGroupAccount:)]) {
        NSString *netGroupAccount = self.hybridGasp.dogPagePenThe[self.dogMaxSortTree];
        [self.helpBoxWonCut mainPlanTerabytesLargestExpandingRadialCheckDescribesModel:self.hybridGasp netGroupAccount:netGroupAccount];
    }
}



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

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

    
    if (indexPath.row == self.dogMaxSortTree) {
        arts.accessoryType = UITableViewCellAccessoryCheckmark;
        arts.tintColor = [PutBelowEye charAlienColor];
    } else {
        arts.accessoryType = UITableViewCellAccessoryNone;
    }

    return arts;
}



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

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

@end
