






#import "ProcessesViewController.h"
#import "FarCupGreenButton.h"
#import "BoxBigDryFrontViewController.h"
#import "SawToast.h"
#import "SlabKeysWhoLabel.h"
#import "NeedGuideTextField.h"
#import "NSString+Precision.h"

@interface ProcessesViewController ()

@property (nonatomic, strong) NeedGuideTextField *swappedTiedTextField;
@property (nonatomic, strong) UITextField *coverPathTextField;
@property (nonatomic, strong) FarCupGreenButton *prominentButton;
@property (nonatomic,strong) SlabKeysWhoLabel *expireAdjustLabel;

@end

@implementation ProcessesViewController

- (FarCupGreenButton *)prominentButton {
    if (!_prominentButton) {
        _prominentButton = [[FarCupGreenButton alloc] init];
    }
    return _prominentButton;
}

- (SlabKeysWhoLabel *)expireAdjustLabel {
    if (!_expireAdjustLabel) {
        _expireAdjustLabel = [SlabKeysWhoLabel sequencerFeetLabel:NO];
    }
    return _expireAdjustLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.swappedTiedTextField = [[NeedGuideTextField alloc] initWithController:self];
    [self.view addSubview:self.swappedTiedTextField];
    [self.swappedTiedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SobIllWelsh.followBigKit.bufferedPink);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.elderRowsEar);
    }];
    
    
    self.coverPathTextField = [SobIllWelsh chapterLaunchedSuddenSymbolShotItalicsCode];
    [self.view addSubview:self.coverPathTextField];
    [self.coverPathTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.swappedTiedTextField.mas_bottom).offset(SobIllWelsh.followBigKit.canSlovakAge);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.elderRowsEar);
    }];
    
    descent(self);
    self.prominentButton.adoptWasMixerAction = ^{
        unbounded(self);
        NSString *locationsCode = self.swappedTiedTextField.mindKnowTryFix;
        NSString *oddDisorder = self.swappedTiedTextField.hiddenTabSegmentedUnlikelyPrior;
        if (self.swappedTiedTextField.swappedTiedTextField.text.darkerTagger) {
            [self.prominentButton herPinBeganMolePlace];
            [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.exceptionLowAnimatingTerabytesPulseResting completion:nil];
            return;
        }
        if ([self.alienHoldEdit respondsToSelector:@selector(eggPetiteSecurelyGenericsBedStrokeScheduledType:lacrosseYou:moleCode:completion:)]) {
            [AskWillCatView ratioLawWorldWindow];
            [self.alienHoldEdit eggPetiteSecurelyGenericsBedStrokeScheduledType:SobIllWelsh.followBigKit.passPoloYetMapCollapse lacrosseYou:oddDisorder moleCode:locationsCode completion:^(id object) {
                [AskWillCatView strongestSeparatorAddPasswordsSpouseWindow];
                if ([object boolValue]) {
                    [SawToast bitStylize:SobIllWelsh.notHeapPeerRed.wrapPrologLevelWonWeightsStriationCode];
                }else {
                    [self.prominentButton herPinBeganMolePlace];
                }
            }];
        }
    };
    [self.view addSubview:self.prominentButton];
    [self.prominentButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.coverPathTextField);
        make.height.equalTo(self.coverPathTextField);
        make.left.equalTo(self.coverPathTextField.mas_right).offset(SobIllWelsh.followBigKit.herPreserved);
        make.right.equalTo(self.swappedTiedTextField);
    }];
    
    
    [self.prominentButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *builtEraReadyButton = [SobIllWelsh allExistExecutionCreditsJumpColor:SobIllWelsh.notHeapPeerRed.behaveDiacriticForReceiveTrimmingMode];
    [builtEraReadyButton addTarget:self action:@selector(herHourlyRouteToolChunkyAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:builtEraReadyButton];
    [builtEraReadyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.coverPathTextField.mas_bottom).offset(SobIllWelsh.followBigKit.canSlovakAge);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.busStepAsset);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.busStepAsset);
        make.height.mas_equalTo(SobIllWelsh.followBigKit.floatWaxPlus);
    }];
    
    [self.view addSubview:self.expireAdjustLabel];
    [self.expireAdjustLabel setAcquireOperatorHallJobLawSpeaking:^{
        unbounded(self);
        [self redExportZoomingSectionsResultSourceAction];
    }];
    [self.expireAdjustLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-SobIllWelsh.followBigKit.warpPasteKit);
        make.left.mas_equalTo(SobIllWelsh.followBigKit.speakerUnify);
        make.right.mas_equalTo(-SobIllWelsh.followBigKit.speakerUnify);
    }];
}

- (void)herHourlyRouteToolChunkyAction:(UIButton *)sender {
    if (self.swappedTiedTextField.swappedTiedTextField.text.darkerTagger) {
        [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.exceptionLowAnimatingTerabytesPulseResting completion:nil];
        return;
    }
    if (self.coverPathTextField.text.darkerTagger) {
        [BitAlertView combinedSymbolsConjugateOptReuseFarthest:SobIllWelsh.notHeapPeerRed.badObject message:SobIllWelsh.notHeapPeerRed.wordReportsCollisionCloudMarkup completion:nil];
        return;
    }
    NSString *locationsCode = self.swappedTiedTextField.mindKnowTryFix;
    NSString *oddDisorder = self.swappedTiedTextField.hiddenTabSegmentedUnlikelyPrior;
    if ([self.alienHoldEdit respondsToSelector:@selector(containsCurveFlightWindowSummariesDiscoveryBriefPrime:code:moleCode:completion:)]) {
        [AskWillCatView ratioLawWorldWindow];
        [self.alienHoldEdit containsCurveFlightWindowSummariesDiscoveryBriefPrime:oddDisorder code:self.coverPathTextField.text moleCode:locationsCode completion:^(id object) {
            [AskWillCatView strongestSeparatorAddPasswordsSpouseWindow];
        }];
    }
}


- (void)redExportZoomingSectionsResultSourceAction {
    BoxBigDryFrontViewController *cupCarDanish = [BoxBigDryFrontViewController new];
    cupCarDanish.retBlurTime = @(YES);
    cupCarDanish.alienHoldEdit = self.alienHoldEdit;
    [cupCarDanish setSendYearOverlayResolvingLeast:^(BOOL result) {
        self.expireAdjustLabel.echoCutPastEye = result;
    }];
    [self.navigationController pushViewController:cupCarDanish animated:NO];
}

- (void)dealloc {
    [self.prominentButton herPinBeganMolePlace];
}
@end
