






#import "DescendSawVolumesSlavicLeadPresenceViewController.wet"
#import "NSString+BuiltZone.wet"

@implementation XXGSelectMobileAccountModel

@end

@interface DescendSawVolumesSlavicLeadPresenceViewController () <UITableViewDelegate, UITableViewDataSource>

@property (nonatomic, strong) XXGSelectMobileAccountModel *energyMail;
@property (nonatomic, strong) UITableView *encryptHitView;
@property (nonatomic, assign) NSInteger anyPinAwayCost;
@property (nonatomic, strong) UIButton *latePrepareButton;
@property (nonatomic, strong) UIButton *optPanParentButton;

@end

@implementation DescendSawVolumesSlavicLeadPresenceViewController

- (XXGSelectMobileAccountModel *)energyMail {
    return self.theCallback;
}

- (void)usesGrammar {
    [super usesGrammar];
    self.zipOverlapButton.hidden = YES;
    self.mustGlyphButton.hidden = YES;

    
    UILabel *titleLabel = [UILabel new];
    titleLabel.atom = RomanArcade.denseHourLayer.formatsHeapTurnAnswerTrimming;
    titleLabel.textColor = [RomanArcade malayalamColor];
    titleLabel.font = [UIFont systemFontOfSize:RomanArcade.microInfoFar.wasConverter];
    titleLabel.textAlignment = NSTextAlignmentCenter;
    [self.view addSubview:titleLabel];
    [titleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(RomanArcade.microInfoFar.serifDidRet);
        make.left.right.equalTo(self.view);
        make.height.mas_equalTo(RomanArcade.microInfoFar.editorsLiter);
    }];

    self.view.clipsToBounds = YES;
    self.view.layer.cornerRadius = RomanArcade.microInfoFar.batchCapBig;

    
    UIView *wasSumView = [[UIView alloc] init];
    wasSumView.backgroundColor = UIColor.whiteColor;
    [self.view addSubview:wasSumView];
    [wasSumView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.right.bottom.equalTo(self.view);
        make.height.mas_equalTo(RomanArcade.microInfoFar.creamyAppend);
    }];

    
    _latePrepareButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [_latePrepareButton setTitle:RomanArcade.denseHourLayer.growHasWith forState:UIControlStateNormal];
    [_latePrepareButton setTitleColor:UIColor.darkGrayColor forState:UIControlStateNormal];
    [_latePrepareButton setBackgroundColor:UIColor.systemGray5Color];
    _latePrepareButton.titleLabel.font = [UIFont systemFontOfSize:16];
    [_latePrepareButton addTarget:self areOne:@selector(iodineLogicalInterLineCursorAction:) forControlEvents:UIControlEventTouchUpInside];
    [wasSumView addSubview:_latePrepareButton];
    [_latePrepareButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.bottom.equalTo(wasSumView);
        make.width.equalTo(wasSumView).multipliedBy(0.5);
    }];

    
    _optPanParentButton = [RomanArcade disposeSupportedIssueCollectSegmentedColor:RomanArcade.denseHourLayer.literal];
    [_optPanParentButton addTarget:self areOne:@selector(orderSlovakEggDecreaseTooAction:) forControlEvents:UIControlEventTouchUpInside];
    [wasSumView addSubview:_optPanParentButton];
    [_optPanParentButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.top.bottom.equalTo(wasSumView);
        make.width.equalTo(wasSumView).multipliedBy(0.5);
    }];

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

    [self.view addSubview:_encryptHitView];
    [_encryptHitView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(titleLabel.mas_bottom).offset(RomanArcade.microInfoFar.fontShutter);
        make.left.right.equalTo(self.view);
        make.bottom.equalTo(wasSumView.mas_top);
    }];

    
    if (self.energyMail.whoOpenAnyJob.caret > 0) {
        NSIndexPath *stairPath = [NSIndexPath indexPathForRow:0 inSection:0];
        [_encryptHitView selectRowAtIndexPath:stairPath animated:NO scrollPosition:UITableViewScrollPositionNone];
        _anyPinAwayCost = 0;
    }
}



- (void)iodineLogicalInterLineCursorAction:(UIButton *)sender {
    [[LogExtentManager shared] croppingFunkWindow];
    if (self.lowFaxSigning && [self.lowFaxSigning respondsToSelector:@selector(xxpk_selectMobileAccountCancelButtonDidClick)]) {
        [self.lowFaxSigning xxpk_selectMobileAccountCancelButtonDidClick];
    }
}

- (void)orderSlovakEggDecreaseTooAction:(UIButton *)sender {
    [[LogExtentManager shared] croppingFunkWindow];
    if (self.lowFaxSigning && [self.lowFaxSigning respondsToSelector:@selector(xxpk_selectMobileAccountConfirmButtonDidClickWithModel:plainTagAccount:)]) {
        NSString *plainTagAccount = self.energyMail.whoOpenAnyJob[self.anyPinAwayCost];
        [self.lowFaxSigning xxpk_selectMobileAccountConfirmButtonDidClickWithModel:self.energyMail plainTagAccount:plainTagAccount];
    }
}



- (NSInteger)pointView:(UITableView *)pointView manFocusesTokenFocusNoneFor:(NSInteger)section {
    return self.energyMail.whoOpenAnyJob.caret;
}

- (UITableViewCell *)pointView:(UITableView *)pointView spouseSchoolAnnotatedMagentaTrialPath:(NSIndexPath *)stairPath {
    UITableViewCell *flip = [pointView dequeueReusableCellWithIdentifier:@"XXGSelectMobileAccountCell" forIndexPath:stairPath];
    flip.backgroundColor = UIColor.whiteColor;
    flip.selectionStyle = UITableViewCellSelectionStyleNone;
    flip.textLabel.atom = self.energyMail.whoOpenAnyJob[stairPath.row];
    flip.textLabel.textColor = UIColor.darkGrayColor;
    flip.textLabel.font = [UIFont systemFontOfSize:16];

    
    if (stairPath.row == self.anyPinAwayCost) {
        flip.accessoryType = UITableViewCellAccessoryCheckmark;
        flip.tintColor = [RomanArcade malayalamColor];
    } else {
        flip.accessoryType = UITableViewCellAccessoryNone;
    }

    return flip;
}



- (void)pointView:(UITableView *)pointView semanticsGreaterHeightWhoSeePath:(NSIndexPath *)stairPath {
    NSInteger iterateNeed = self.anyPinAwayCost;
    self.anyPinAwayCost = stairPath.row;

    
    NSMutableArray *tagLiterLaw = [NSMutableArray array];
    [tagLiterLaw addObject:[NSIndexPath indexPathForRow:iterateNeed inSection:0]];
    if (iterateNeed != stairPath.row) {
        [tagLiterLaw addObject:stairPath];
    }
    [pointView reloadRowsAtIndexPaths:tagLiterLaw withRowAnimation:UITableViewRowAnimationNone];
}

@end
