






#import "SearchingViewController.h"
#import "HasRetainedButton.h"
#import "TwoDarkTryBeatViewController.h"
#import "SexToast.h"
#import "MinProtocolLabel.h"
#import "FunDeleteTextField.h"
#import "NSString+GooglePut.h"

@interface SearchingViewController ()

@property (nonatomic, strong) FunDeleteTextField *subSeePowerTextField;
@property (nonatomic, strong) UITextField *dayHourlyTextField;
@property (nonatomic, strong) HasRetainedButton *staticMayButton;
@property (nonatomic,strong) MinProtocolLabel *anyFaxDecideLabel;

@end

@implementation SearchingViewController

- (HasRetainedButton *)staticMayButton {
    if (!_staticMayButton) {
        _staticMayButton = [[HasRetainedButton alloc] init];
    }
    return _staticMayButton;
}

- (MinProtocolLabel *)anyFaxDecideLabel {
    if (!_anyFaxDecideLabel) {
        _anyFaxDecideLabel = [MinProtocolLabel mustInferiorsLabel:NO];
    }
    return _anyFaxDecideLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.subSeePowerTextField = [[FunDeleteTextField alloc] initWithController:self];
    [self.view addSubview:self.subSeePowerTextField];
    [self.subSeePowerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CutEightLow.licenseSmart.dogDrivenHex);
        make.left.mas_equalTo(CutEightLow.licenseSmart.lappishSplit);
        make.right.mas_equalTo(-CutEightLow.licenseSmart.lappishSplit);
        make.height.mas_equalTo(CutEightLow.licenseSmart.forRetainMap);
    }];
    
    
    self.dayHourlyTextField = [CutEightLow contentFlatnessDirtyTriplePrimeSilentCode];
    [self.view addSubview:self.dayHourlyTextField];
    [self.dayHourlyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.subSeePowerTextField.mas_bottom).offset(CutEightLow.licenseSmart.variablesZip);
        make.left.mas_equalTo(CutEightLow.licenseSmart.lappishSplit);
        make.height.mas_equalTo(CutEightLow.licenseSmart.forRetainMap);
    }];
    
    friends(self);
    self.staticMayButton.binLexicalManAction = ^{
        telephoto(self);
        NSString *widgetHexCode = self.subSeePowerTextField.hailButSongYet;
        NSString *tabHoverHis = self.subSeePowerTextField.thumbExtrasDashLostUtility;
        if (self.subSeePowerTextField.subSeePowerTextField.text.carRingOther) {
            [self.staticMayButton italicLoudTransitValidityTen];
            [EggAlertView formThemeBoostChunkyShowersQueue:CutEightLow.mailRetDropSee.netFuture message:CutEightLow.mailRetDropSee.visionRemembersBinAndGreatPublish completion:nil];
            return;
        }
        if ([self.cubeFoodLemma respondsToSelector:@selector(rearrangeOddPredicateGetEllipsisShoulderProvisionType:brandFooter:millCode:completion:)]) {
            [ComposeBigView globallyIssueWindow];
            [self.cubeFoodLemma rearrangeOddPredicateGetEllipsisShoulderProvisionType:CutEightLow.licenseSmart.twoPeopleLingerShareProminent brandFooter:tabHoverHis millCode:widgetHexCode completion:^(id object) {
                [ComposeBigView oneLostEllipseElementSamplesWindow];
                if ([object boolValue]) {
                    [SexToast twoCapHall:CutEightLow.mailRetDropSee.wireSubtitlesUpdateCarriageCommandsDialogCode];
                }else {
                    [self.staticMayButton italicLoudTransitValidityTen];
                }
            }];
        }
    };
    [self.view addSubview:self.staticMayButton];
    [self.staticMayButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.dayHourlyTextField);
        make.height.equalTo(self.dayHourlyTextField);
        make.left.equalTo(self.dayHourlyTextField.mas_right).offset(CutEightLow.licenseSmart.trackPermute);
        make.right.equalTo(self.subSeePowerTextField);
    }];
    
    
    [self.staticMayButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *orderingIrishButton = [CutEightLow deliveredSecurelyCanClampCenterColor:CutEightLow.mailRetDropSee.boldfacePredictedPutAreaNearGray];
    [orderingIrishButton addTarget:self action:@selector(redoneHerNapRunYouAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:orderingIrishButton];
    [orderingIrishButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.dayHourlyTextField.mas_bottom).offset(CutEightLow.licenseSmart.variablesZip);
        make.left.mas_equalTo(CutEightLow.licenseSmart.lappishSplit);
        make.right.mas_equalTo(-CutEightLow.licenseSmart.lappishSplit);
        make.height.mas_equalTo(CutEightLow.licenseSmart.mouthRearThe);
    }];
    
    [self.view addSubview:self.anyFaxDecideLabel];
    [self.anyFaxDecideLabel setAskLinearPromotionMuteLeadHue:^{
        telephoto(self);
        [self chromeBezelWaxClientFactoriesGrandsonAction];
    }];
    [self.anyFaxDecideLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-CutEightLow.licenseSmart.oneLawOnline);
        make.left.mas_equalTo(CutEightLow.licenseSmart.flashEyeBank);
        make.right.mas_equalTo(-CutEightLow.licenseSmart.flashEyeBank);
    }];
}

- (void)redoneHerNapRunYouAction:(UIButton *)sender {
    if (self.subSeePowerTextField.subSeePowerTextField.text.carRingOther) {
        [EggAlertView formThemeBoostChunkyShowersQueue:CutEightLow.mailRetDropSee.netFuture message:CutEightLow.mailRetDropSee.visionRemembersBinAndGreatPublish completion:nil];
        return;
    }
    if (self.dayHourlyTextField.text.carRingOther) {
        [EggAlertView formThemeBoostChunkyShowersQueue:CutEightLow.mailRetDropSee.netFuture message:CutEightLow.mailRetDropSee.varianceDeviceTenRecentLenient completion:nil];
        return;
    }
    NSString *widgetHexCode = self.subSeePowerTextField.hailButSongYet;
    NSString *tabHoverHis = self.subSeePowerTextField.thumbExtrasDashLostUtility;
    if ([self.cubeFoodLemma respondsToSelector:@selector(boxRebusStorageBecomeAboutClampingDirectTwo:code:millCode:completion:)]) {
        [ComposeBigView globallyIssueWindow];
        [self.cubeFoodLemma boxRebusStorageBecomeAboutClampingDirectTwo:tabHoverHis code:self.dayHourlyTextField.text millCode:widgetHexCode completion:^(id object) {
            [ComposeBigView oneLostEllipseElementSamplesWindow];
        }];
    }
}


- (void)chromeBezelWaxClientFactoriesGrandsonAction {
    TwoDarkTryBeatViewController *catLoadGuest = [TwoDarkTryBeatViewController new];
    catLoadGuest.inferOddCut = @(YES);
    catLoadGuest.cubeFoodLemma = self.cubeFoodLemma;
    [catLoadGuest setEncipherLuminanceSeeCategoryShoulder:^(BOOL result) {
        self.anyFaxDecideLabel.scaleBendWhite = result;
    }];
    [self.navigationController pushViewController:catLoadGuest animated:NO];
}

- (void)dealloc {
    [self.staticMayButton italicLoudTransitValidityTen];
}
@end
