






#import "ThinSexTabSunViewController.h"
#import "TurnRedLeftButton.h"
#import "CatToast.h"
#import "GenderTapTextField.h"
#import "NSString+PintDatum.h"
@import WebKit;

@interface ThinSexTabSunViewController ()

@property (nonatomic, strong) GenderTapTextField *quoteOutBadTextField;
@property (nonatomic, strong) UITextField *flashLoopTextField;
@property (nonatomic, strong) TurnRedLeftButton *poloLayerButton;

@end

@implementation ThinSexTabSunViewController


- (TurnRedLeftButton *)poloLayerButton {
    if (!_poloLayerButton) {
        _poloLayerButton = [[TurnRedLeftButton alloc] init];
    }
    return _poloLayerButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.clampedDryButton.hidden = [self.downhillHer[0] boolValue];
    
    UILabel *ourLabel = [SkinEchoMen farsiSeeAssignQuechuaLengths:SkinEchoMen.cubePrimeToken.outComponentWhileCopperFlowReporting];
    ourLabel.numberOfLines = 0;
    [self.view addSubview:ourLabel];
    [ourLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SkinEchoMen.pauseKirghiz.songReplySpa);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.songReplySpa);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.songReplySpa);
    }];
    
    
    self.quoteOutBadTextField = [[GenderTapTextField alloc] initWithController:self];
    [self.view addSubview:self.quoteOutBadTextField];
    [self.quoteOutBadTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ourLabel.mas_bottom).offset(SkinEchoMen.pauseKirghiz.mainEarLater);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.zipPageQuiet);
    }];
    
    
    self.flashLoopTextField = [SkinEchoMen nameSiteAngleDiscountsHelpAttachedCode];
    [self.view addSubview:self.flashLoopTextField];
    [self.flashLoopTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.quoteOutBadTextField.mas_bottom).offset(SkinEchoMen.pauseKirghiz.inuitParsing);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.zipPageQuiet);
    }];
    
    turnOne(self);
    self.poloLayerButton.spaEarKinQuitAction = ^{
        answerSaw(self);
        NSString *hexAuthorCode = self.quoteOutBadTextField.likeJoinTapCut;
        NSString *fullSignBed = self.quoteOutBadTextField.millionSafeLessOpaqueLocale;
        if (self.quoteOutBadTextField.quoteOutBadTextField.text.decibelPitch) {
            [self.poloLayerButton dashMenuNoteEraserUnique];
            [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.translateRotateFaxReturningCaseNext completion:nil];
            return;
        }
        if ([self.constantBirth respondsToSelector:@selector(lostYoungestFlowDeliveredCenterPotentialRatioType:arePlaceTip:poolCode:completion:)]) {
            [ContainWinView ourLawRemovesWindow];
            [self.constantBirth lostYoungestFlowDeliveredCenterPotentialRatioType:SkinEchoMen.pauseKirghiz.loudChainPrint arePlaceTip:fullSignBed poolCode:hexAuthorCode completion:^(id object) {
                [ContainWinView adverbCostClampingFooterLawWindow];
                if ([object boolValue]) {
                    [CatToast beaconFace:SkinEchoMen.cubePrimeToken.newsstandFixRoundPipeCutRemembersCode];
                }else {
                    [self.poloLayerButton dashMenuNoteEraserUnique];
                }
            }];
        }
    };
    [self.view addSubview:self.poloLayerButton];
    [self.poloLayerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.flashLoopTextField);
        make.height.equalTo(self.flashLoopTextField);
        make.right.equalTo(self.quoteOutBadTextField);
        
        make.width.mas_equalTo(self.poloLayerButton.titleLabel.intrinsicContentSize.width + SkinEchoMen.pauseKirghiz.songReplySpa);
    }];
    
    [self.flashLoopTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.poloLayerButton.mas_left).offset(-SkinEchoMen.pauseKirghiz.slovakFunDog);
    }];
    
    
    UIButton *usesStartButton = [SkinEchoMen anchorsBaselineManNextMediumColor:SkinEchoMen.cubePrimeToken.checkDeleteProjectBehaviorsLoose];
    [usesStartButton addTarget:self action:@selector(showAffineGainCustodianUighurAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:usesStartButton];
    [usesStartButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.flashLoopTextField.mas_bottom).offset(SkinEchoMen.pauseKirghiz.inuitParsing);
        make.left.mas_equalTo(SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.right.mas_equalTo(-SkinEchoMen.pauseKirghiz.mightSeeLook);
        make.height.mas_equalTo(SkinEchoMen.pauseKirghiz.selfBlendCap);
    }];
}

- (void)showAffineGainCustodianUighurAction:(id)sender {
    if (self.quoteOutBadTextField.quoteOutBadTextField.text.decibelPitch) {
        [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.translateRotateFaxReturningCaseNext completion:nil];
        return;
    }
    if (self.flashLoopTextField.text.decibelPitch) {
        [FunAlertView thirdExecFunnelNapFrenchPeriodic:SkinEchoMen.cubePrimeToken.initiated message:SkinEchoMen.cubePrimeToken.friendsEnsureObjectStickyBarrier completion:nil];
        return;
    }
    NSString *hexAuthorCode = self.quoteOutBadTextField.likeJoinTapCut;
    NSString *fullSignBed = self.quoteOutBadTextField.millionSafeLessOpaqueLocale;
    if ([self.constantBirth respondsToSelector:@selector(kilohertzReduceDeclineLambdaCycleImperialAnchoring:code:poolCode:completion:)]) {
        [ContainWinView ourLawRemovesWindow];
        [self.constantBirth kilohertzReduceDeclineLambdaCycleImperialAnchoring:fullSignBed code:self.flashLoopTextField.text poolCode:hexAuthorCode completion:^(id object) {
            [ContainWinView adverbCostClampingFooterLawWindow];
            if ([object boolValue]) {
                [[OutDemandManager shared] canceledAsleepPauseSheStalledCreationViewController:self.navigationController];
                [CatToast beaconFace:SkinEchoMen.cubePrimeToken.externCanExtendDismissJobImpact];
                if ([self.downhillHer[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *movieDidPop = (WKWebView *)self.downhillHer[1];
                    [movieDidPop reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.poloLayerButton dashMenuNoteEraserUnique];
}

@end
