






#import "AreSpouseViewController.h"
#import "OneElderWayButton.h"
#import "PosterCroatianViewController.h"
#import "SubToast.h"
#import "DownloadBinLabel.h"
#import "TargetTabTextField.h"
#import "NSString+Nanograms.h"

@interface AreSpouseViewController ()

@property (nonatomic, strong) TargetTabTextField *flashBinHisTextField;
@property (nonatomic, strong) UITextField *revertHerTextField;
@property (nonatomic, strong) OneElderWayButton *foggyMoleButton;
@property (nonatomic,strong) DownloadBinLabel *agentPlanSonLabel;

@end

@implementation AreSpouseViewController

- (OneElderWayButton *)foggyMoleButton {
    if (!_foggyMoleButton) {
        _foggyMoleButton = [[OneElderWayButton alloc] init];
    }
    return _foggyMoleButton;
}

- (DownloadBinLabel *)agentPlanSonLabel {
    if (!_agentPlanSonLabel) {
        _agentPlanSonLabel = [DownloadBinLabel writeMeterAddLabel:NO];
    }
    return _agentPlanSonLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.flashBinHisTextField = [[TargetTabTextField alloc] initWithController:self];
    [self.view addSubview:self.flashBinHisTextField];
    [self.flashBinHisTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FixChunkBad.swedishTwist.minorDiskTop);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.pieceSlowKin);
        make.right.mas_equalTo(-FixChunkBad.swedishTwist.pieceSlowKin);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.mostIllBreak);
    }];
    
    
    self.revertHerTextField = [FixChunkBad sonWaistSortAboveFinishingValueCode];
    [self.view addSubview:self.revertHerTextField];
    [self.revertHerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.flashBinHisTextField.mas_bottom).offset(FixChunkBad.swedishTwist.beenButTeeth);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.pieceSlowKin);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.mostIllBreak);
    }];
    
    runVery(self);
    self.foggyMoleButton.retTornadoTooAction = ^{
        pickEvent(self);
        NSString *whiteMoodCode = self.flashBinHisTextField.subDragFillOur;
        NSString *rawReliable = self.flashBinHisTextField.longerManyLeaveIndexedSide;
        if (self.flashBinHisTextField.flashBinHisTextField.text.resultsFully) {
            [self.foggyMoleButton messageIndentCalculateGravityControl];
            [KeyAlertView eachDismissAwakeHandoverHeadphonePink:FixChunkBad.passLazyUnique.lossySelf message:FixChunkBad.passLazyUnique.optLocalesNonceDropTrackingFair completion:nil];
            return;
        }
        if ([self.boostMenSpell respondsToSelector:@selector(reportedRoundHeightRevealedAttachSolutionsHalftoneType:noiseKinZip:mathCode:completion:)]) {
            [SerialLossView loopsMirroredWindow];
            [self.boostMenSpell reportedRoundHeightRevealedAttachSolutionsHalftoneType:FixChunkBad.swedishTwist.curveRematchQuantitySeekingExport noiseKinZip:rawReliable mathCode:whiteMoodCode completion:^(id object) {
                [SerialLossView askHockeyLowCentralsDetailWindow];
                if ([object boolValue]) {
                    [SubToast topEyeSeek:FixChunkBad.passLazyUnique.renewingFocalPresenterDefinedNowCanCode];
                }else {
                    [self.foggyMoleButton messageIndentCalculateGravityControl];
                }
            }];
        }
    };
    [self.view addSubview:self.foggyMoleButton];
    [self.foggyMoleButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.revertHerTextField);
        make.height.equalTo(self.revertHerTextField);
        make.left.equalTo(self.revertHerTextField.mas_right).offset(FixChunkBad.swedishTwist.reuseWithWon);
        make.right.equalTo(self.flashBinHisTextField);
    }];
    
    
    [self.foggyMoleButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *renewPickRankButton = [FixChunkBad transportLastLightDelayPlaneColor:FixChunkBad.passLazyUnique.returnedTeethEmptyFatBitsSilenced];
    [renewPickRankButton addTarget:self action:@selector(cityStarIntrinsicDidNotationAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:renewPickRankButton];
    [renewPickRankButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.revertHerTextField.mas_bottom).offset(FixChunkBad.swedishTwist.beenButTeeth);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.pieceSlowKin);
        make.right.mas_equalTo(-FixChunkBad.swedishTwist.pieceSlowKin);
        make.height.mas_equalTo(FixChunkBad.swedishTwist.clockIntents);
    }];
    
    [self.view addSubview:self.agentPlanSonLabel];
    [self.agentPlanSonLabel setSuchControlExponentsCatPreserveMill:^{
        pickEvent(self);
        [self leftUrgentFreeAllRoomEastAction];
    }];
    [self.agentPlanSonLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-FixChunkBad.swedishTwist.noteMoireSee);
        make.left.mas_equalTo(FixChunkBad.swedishTwist.dryAddChrome);
        make.right.mas_equalTo(-FixChunkBad.swedishTwist.dryAddChrome);
    }];
}

- (void)cityStarIntrinsicDidNotationAction:(UIButton *)sender {
    if (self.flashBinHisTextField.flashBinHisTextField.text.resultsFully) {
        [KeyAlertView eachDismissAwakeHandoverHeadphonePink:FixChunkBad.passLazyUnique.lossySelf message:FixChunkBad.passLazyUnique.optLocalesNonceDropTrackingFair completion:nil];
        return;
    }
    if (self.revertHerTextField.text.resultsFully) {
        [KeyAlertView eachDismissAwakeHandoverHeadphonePink:FixChunkBad.passLazyUnique.lossySelf message:FixChunkBad.passLazyUnique.resonantBatteryWarpHungarianLossy completion:nil];
        return;
    }
    NSString *whiteMoodCode = self.flashBinHisTextField.subDragFillOur;
    NSString *rawReliable = self.flashBinHisTextField.longerManyLeaveIndexedSide;
    if ([self.boostMenSpell respondsToSelector:@selector(inspiredExpiresRandomAndFigureAngleReasonExact:code:mathCode:completion:)]) {
        [SerialLossView loopsMirroredWindow];
        [self.boostMenSpell inspiredExpiresRandomAndFigureAngleReasonExact:rawReliable code:self.revertHerTextField.text mathCode:whiteMoodCode completion:^(id object) {
            [SerialLossView askHockeyLowCentralsDetailWindow];
        }];
    }
}


- (void)leftUrgentFreeAllRoomEastAction {
    PosterCroatianViewController *sinPhaseEdit = [PosterCroatianViewController new];
    sinPhaseEdit.cellularKin = @(YES);
    sinPhaseEdit.boostMenSpell = self.boostMenSpell;
    [sinPhaseEdit setFullScrollAbsentExchangesSimulates:^(BOOL result) {
        self.agentPlanSonLabel.cubicSizeVital = result;
    }];
    [self.navigationController pushViewController:sinPhaseEdit animated:NO];
}

- (void)dealloc {
    [self.foggyMoleButton messageIndentCalculateGravityControl];
}
@end
