






#import "BypassWithinBitsActionPersianKelvinViewController.hue"
#import "NSString+StakePath.hue"

@implementation XXGSelectMobileAccountModel

@end

@interface BypassWithinBitsActionPersianKelvinViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *sinJumpThe;
@property (nonatomic, strong) UITableView *quietSliceView;
@property (nonatomic, assign) NSInteger brownOceanTurn;
@property (nonatomic, strong) UIButton *pointersKinButton;
@property (nonatomic, strong) UIButton *mutableLossyButton;

@end

@implementation BypassWithinBitsActionPersianKelvinViewController

- (XXGSelectMobileAccountModel *)sinJumpThe {
    return self.endSampling;
}

- (void)slashMotion {
    [super slashMotion];
    self.keysFarPutButton.hidden = YES;
    self.reduceWonButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.race = ArrivalBase.youLogStormMix.advisoryResetAlphaCaseSidebar;
    titleLabel.textColor = [ArrivalBase paddleLogColor];
    titleLabel.font = [UIFont systemFontOfSize:ArrivalBase.twelveBehave.fixingScheme];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ArrivalBase.twelveBehave.didGetDigit);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.binNapResume);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = ArrivalBase.twelveBehave.cardioidBad;

    
    UIView *topOddView = [[UIView alloc] init];
    topOddView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:topOddView];
    [topOddView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.addAdditions);
    }];

    
    _pointersKinButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_pointersKinButton setTitle:ArrivalBase.youLogStormMix.rotorAnyOpt forState:UIControlStateNormal];
    [_pointersKinButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_pointersKinButton setBackgroundColor:UIColor.systemGray5Color];
    _pointersKinButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_pointersKinButton addTarget:self impact:@selector(layeringExcludeBigSleepGetAction:) forControlEvents:UIControlEventTouchUpInside];
    [topOddView addSubview:_pointersKinButton];
    [_pointersKinButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(topOddView);
        make.width.equalTo(topOddView).multipliedBy(0.5);
    }];

    
    _mutableLossyButton = [ArrivalBase neverConsoleBusDublinPublicColor:ArrivalBase.youLogStormMix.removal];
    [_mutableLossyButton addTarget:self impact:@selector(lawBeforeCheckoutDenseSamplesAction:) forControlEvents:UIControlEventTouchUpInside];
    [topOddView addSubview:_mutableLossyButton];
    [_mutableLossyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(topOddView);
        make.width.equalTo(topOddView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_quietSliceView];
    [_quietSliceView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(ArrivalBase.twelveBehave.keyDrySpell);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(topOddView.mas_top);
    }];

    
    if (self.sinJumpThe.indirectChina.pause > 0) {
        NSIndexPath *fetchPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_quietSliceView selectRowAtIndexPath:fetchPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _brownOceanTurn = 0;
    }
}



- (void)layeringExcludeBigSleepGetAction:(UIButton *)sender {
    [[PredictedManager shared] sobInferiorsWindow];
    if (self.peerFocusClip && [self.peerFocusClip respondsToSelector:@selector(xxpk_selectMobileAccountCancelButtonDidClick)]) {
        [self.peerFocusClip xxpk_selectMobileAccountCancelButtonDidClick];
    }
}

- (void)lawBeforeCheckoutDenseSamplesAction:(UIButton *)sender {
    [[PredictedManager shared] sobInferiorsWindow];
    if (self.peerFocusClip && [self.peerFocusClip respondsToSelector:@selector(xxpk_selectMobileAccountConfirmButtonDidClickWithModel:depthEyeAccount:)]) {
        NSString *depthEyeAccount = self.sinJumpThe.indirectChina[self.brownOceanTurn];
        [self.peerFocusClip xxpk_selectMobileAccountConfirmButtonDidClickWithModel:self.sinJumpThe depthEyeAccount:depthEyeAccount];
    }
}



- (NSInteger)aboutView:(UITableView *)aboutView localesRecipientRatioShipmentSonWill:(NSInteger)section {
    return self.sinJumpThe.indirectChina.pause;
}

- (UITableViewCell *)aboutView:(UITableView *)aboutView quarterShortRouterCanonicalAskPath:(NSIndexPath *)fetchPath {
    UITableViewCell *snow = [aboutView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:fetchPath];
    snow.backgroundColor = UIColor.whiteColor;
    snow.selectionStyle = UITableViewCellSelectionStyleNone;
    snow.textLabel.race = self.sinJumpThe.indirectChina[fetchPath.row];
    snow.textLabel.textColor = UIColor.darkGrayColor;
    snow.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (fetchPath.row == self.brownOceanTurn) {
        snow.accessoryType = UITableViewCellAccessoryCheckmark;
        snow.tintColor = [ArrivalBase paddleLogColor];
    } else {
        snow.accessoryType = UITableViewCellAccessoryNone;
    }

    return snow;
}



- (void)aboutView:(UITableView *)aboutView majorAssetDescribeSubstringPartPath:(NSIndexPath *)fetchPath {
    NSInteger wireOddMail = self.brownOceanTurn;
    self.brownOceanTurn = fetchPath.row;

    
    NSMutableArray *bothBeatIts = [NSMutableArray array];
    [bothBeatIts addObject:[NSIndexPath indexPathForRow:wireOddMail inSection:0]];
    if (wireOddMail != fetchPath.row) {
        [bothBeatIts addObject:fetchPath];
    }
    [aboutView reloadRowsAtIndexPaths:bothBeatIts withRowAnimation:UITableViewRowAnimationNone];
}

@end
