






#import "IntersectViewController.h"
#import "CheckHisRetButton.h"
#import "VerboseInvalidViewController.h"
#import "ArtToast.h"
#import "TwoSeeTitleLabel.h"
#import "DetachPenTextField.h"
#import "NSString+Structure.h"

@interface IntersectViewController ()

@property (nonatomic, strong) DetachPenTextField *stillSixCutTextField;
@property (nonatomic, strong) UITextField *recordMapTextField;
@property (nonatomic, strong) CheckHisRetButton *poloAbortButton;
@property (nonatomic,strong) TwoSeeTitleLabel *keyMethodTooLabel;

@end

@implementation IntersectViewController

- (CheckHisRetButton *)poloAbortButton {
    if (!_poloAbortButton) {
        _poloAbortButton = [[CheckHisRetButton alloc] init];
    }
    return _poloAbortButton;
}

- (TwoSeeTitleLabel *)keyMethodTooLabel {
    if (!_keyMethodTooLabel) {
        _keyMethodTooLabel = [TwoSeeTitleLabel nowRadiansNotLabel:NO];
    }
    return _keyMethodTooLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.stillSixCutTextField = [[DetachPenTextField alloc] initWithController:self];
    [self.view addSubview:self.stillSixCutTextField];
    [self.stillSixCutTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(EventPinWho.animatingYet.hasEffectKit);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.right.mas_equalTo(-EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.microCropSaw);
    }];
    
    
    self.recordMapTextField = [EventPinWho abortedNotifiedRowTwentyBezelBasicCode];
    [self.view addSubview:self.recordMapTextField];
    [self.recordMapTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.stillSixCutTextField.mas_bottom).offset(EventPinWho.animatingYet.linkageAdobe);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.microCropSaw);
    }];
    
    extents(self);
    self.poloAbortButton.lowFunFoldCupAction = ^{
        beforeAge(self);
        NSString *ovulationCode = self.stillSixCutTextField.sixPoolFilmAsk;
        NSString *humidityWho = self.stillSixCutTextField.commentsTextualLatencyFractionAddresses;
        if (self.stillSixCutTextField.stillSixCutTextField.text.sendClearWet) {
            [self.poloAbortButton unloadClickDriveRejectGlyph];
            [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.tradBlockerSheUseFilenameNordic completion:nil];
            return;
        }
        if ([self.modifiersOpen respondsToSelector:@selector(mapKeysLogMagentaTableLeadAppearingType:sinCubeMill:softCode:completion:)]) {
            [SenseClockView tryInnerClickWindow];
            [self.modifiersOpen mapKeysLogMagentaTableLeadAppearingType:EventPinWho.animatingYet.processorAverageProcessorZipBlood sinCubeMill:humidityWho softCode:ovulationCode completion:^(id object) {
                [SenseClockView currencyLookTrackSurrogateSilencedWindow];
                if ([object boolValue]) {
                    [ArtToast beforeBend:EventPinWho.prologCollapse.malayalamJustPermittedAscentUnableManCode];
                }else {
                    [self.poloAbortButton unloadClickDriveRejectGlyph];
                }
            }];
        }
    };
    [self.view addSubview:self.poloAbortButton];
    [self.poloAbortButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.recordMapTextField);
        make.height.equalTo(self.recordMapTextField);
        make.left.equalTo(self.recordMapTextField.mas_right).offset(EventPinWho.animatingYet.failAreQuick);
        make.right.equalTo(self.stillSixCutTextField);
    }];
    
    
    [self.poloAbortButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *oceanLeaveItsButton = [EventPinWho fitnessLeakyRealKazakhPermanentColor:EventPinWho.prologCollapse.haveSigningOwnKirghizFinnishBeginning];
    [oceanLeaveItsButton addTarget:self action:@selector(seventeenMealGuestAndEffectiveAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:oceanLeaveItsButton];
    [oceanLeaveItsButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.recordMapTextField.mas_bottom).offset(EventPinWho.animatingYet.linkageAdobe);
        make.left.mas_equalTo(EventPinWho.animatingYet.failSpineBar);
        make.right.mas_equalTo(-EventPinWho.animatingYet.failSpineBar);
        make.height.mas_equalTo(EventPinWho.animatingYet.upperOutMale);
    }];
    
    [self.view addSubview:self.keyMethodTooLabel];
    [self.keyMethodTooLabel setButPortKinLossHelpHandover:^{
        beforeAge(self);
        [self tokenArcheryClipSkipEastSuggestedAction];
    }];
    [self.keyMethodTooLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-EventPinWho.animatingYet.shelfReclaim);
        make.left.mas_equalTo(EventPinWho.animatingYet.boostRowsMix);
        make.right.mas_equalTo(-EventPinWho.animatingYet.boostRowsMix);
    }];
}

- (void)seventeenMealGuestAndEffectiveAction:(UIButton *)sender {
    if (self.stillSixCutTextField.stillSixCutTextField.text.sendClearWet) {
        [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.tradBlockerSheUseFilenameNordic completion:nil];
        return;
    }
    if (self.recordMapTextField.text.sendClearWet) {
        [HowAlertView flightCentersNauticalCyclingSentSegment:EventPinWho.prologCollapse.sonPrefix message:EventPinWho.prologCollapse.irregularBestBringRedefinedChar completion:nil];
        return;
    }
    NSString *ovulationCode = self.stillSixCutTextField.sixPoolFilmAsk;
    NSString *humidityWho = self.stillSixCutTextField.commentsTextualLatencyFractionAddresses;
    if ([self.modifiersOpen respondsToSelector:@selector(sessionStorylineHectaresStartedChangeActionsPanelMin:code:softCode:completion:)]) {
        [SenseClockView tryInnerClickWindow];
        [self.modifiersOpen sessionStorylineHectaresStartedChangeActionsPanelMin:humidityWho code:self.recordMapTextField.text softCode:ovulationCode completion:^(id object) {
            [SenseClockView currencyLookTrackSurrogateSilencedWindow];
        }];
    }
}


- (void)tokenArcheryClipSkipEastSuggestedAction {
    VerboseInvalidViewController *shutdownFace = [VerboseInvalidViewController new];
    shutdownFace.roundTooMap = @(YES);
    shutdownFace.modifiersOpen = self.modifiersOpen;
    [shutdownFace setBankShortcutsInfinityBehaviorOptimized:^(BOOL result) {
        self.keyMethodTooLabel.startingDuplex = result;
    }];
    [self.navigationController pushViewController:shutdownFace animated:NO];
}

- (void)dealloc {
    [self.poloAbortButton unloadClickDriveRejectGlyph];
}
@end
