






#import "PrimeRollViewController.h"
#import "GainHasTaskButton.h"
#import "ReceivesVolumeViewController.h"
#import "IcyToast.h"
#import "UserAllJustLabel.h"
#import "MightLikeTextField.h"
#import "NSString+BeaconWax.h"

@interface PrimeRollViewController ()

@property (nonatomic, strong) MightLikeTextField *buildSchoolTextField;
@property (nonatomic, strong) UITextField *mobileSonTextField;
@property (nonatomic, strong) GainHasTaskButton *timeLeaveButton;
@property (nonatomic,strong) UserAllJustLabel *tradFullyTipLabel;

@end

@implementation PrimeRollViewController

- (GainHasTaskButton *)timeLeaveButton {
    if (!_timeLeaveButton) {
        _timeLeaveButton = [[GainHasTaskButton alloc] init];
    }
    return _timeLeaveButton;
}

- (UserAllJustLabel *)tradFullyTipLabel {
    if (!_tradFullyTipLabel) {
        _tradFullyTipLabel = [UserAllJustLabel zoneAlarmThinLabel:NO];
    }
    return _tradFullyTipLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.buildSchoolTextField = [[MightLikeTextField alloc] initWithController:self];
    [self.view addSubview:self.buildSchoolTextField];
    [self.buildSchoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MaskTheGray.andRomanPath.nonceMileEgg);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.endBlurBatch);
    }];
    
    
    self.mobileSonTextField = [MaskTheGray immutableHindiObserversFilteringResultingInsertingCode];
    [self.view addSubview:self.mobileSonTextField];
    [self.mobileSonTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.buildSchoolTextField.mas_bottom).offset(MaskTheGray.andRomanPath.socialSubset);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.endBlurBatch);
    }];
    
    managed(self);
    self.timeLeaveButton.towerFlatFeetAction = ^{
        workspace(self);
        NSString *tipExpertCode = self.buildSchoolTextField.addWaistDayRow;
        NSString *hardSheCase = self.buildSchoolTextField.warnTriangleTabClippingLighter;
        if (self.buildSchoolTextField.buildSchoolTextField.text.resolvedBlue) {
            [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
            [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.keyNumeratorSpectralSecondsTrustCache completion:nil];
            return;
        }
        if ([self.paragraphTone respondsToSelector:@selector(headlineSubjectTextualProfileFatalFitnessOutputsType:schemesDark:infoCode:completion:)]) {
            [EchoEggBitView utilitiesSaltWindow];
            [self.paragraphTone headlineSubjectTextualProfileFatalFitnessOutputsType:MaskTheGray.andRomanPath.subscribeRestingExchangesIntegrityPhonogram schemesDark:hardSheCase infoCode:tipExpertCode completion:^(id object) {
                [EchoEggBitView menuIrishSevenEachOrdinalWindow];
                if ([object boolValue]) {
                    [IcyToast thatDivide:MaskTheGray.starHealthHome.listActivityClaimFemaleLockingBasalCode];
                }else {
                    [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
                }
            }];
        }
    };
    [self.view addSubview:self.timeLeaveButton];
    [self.timeLeaveButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mobileSonTextField);
        make.height.equalTo(self.mobileSonTextField);
        make.right.equalTo(self.buildSchoolTextField);
        
        make.width.mas_equalTo(self.timeLeaveButton.titleLabel.intrinsicContentSize.width + MaskTheGray.andRomanPath.clockwiseTab);
    }];
    
    [self.mobileSonTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.timeLeaveButton.mas_left).offset(-MaskTheGray.andRomanPath.albumComplex);
    }];
    
    
    UIButton *bigPublishPutButton = [MaskTheGray commonLibraryGivenHisEitherColor:MaskTheGray.starHealthHome.rotatingReversesResizingConfigureFunnelCaps];
    [bigPublishPutButton addTarget:self action:@selector(profileCoalesceLossTamilSymmetricAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:bigPublishPutButton];
    [bigPublishPutButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mobileSonTextField.mas_bottom).offset(MaskTheGray.andRomanPath.socialSubset);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.desktopEmail);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.desktopEmail);
        make.height.mas_equalTo(MaskTheGray.andRomanPath.effectRowRow);
    }];
    
    [self.view addSubview:self.tradFullyTipLabel];
    [self.tradFullyTipLabel setLaunchedMasterEncodingsSyntaxTwistBandwidth:^{
        workspace(self);
        [self thirdScriptsRenewingColumnMapConstantAction];
    }];
    [self.tradFullyTipLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-MaskTheGray.andRomanPath.panIcelandic);
        make.left.mas_equalTo(MaskTheGray.andRomanPath.planeDefines);
        make.right.mas_equalTo(-MaskTheGray.andRomanPath.planeDefines);
    }];
}

- (void)profileCoalesceLossTamilSymmetricAction:(UIButton *)sender {
    if (self.buildSchoolTextField.buildSchoolTextField.text.resolvedBlue) {
        [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.keyNumeratorSpectralSecondsTrustCache completion:nil];
        return;
    }
    if (self.mobileSonTextField.text.resolvedBlue) {
        [OldAlertView quitProceedEldestElderSubtractPong:MaskTheGray.starHealthHome.airMember message:MaskTheGray.starHealthHome.freestyleBypassIcyHeadAccuracy completion:nil];
        return;
    }
    NSString *tipExpertCode = self.buildSchoolTextField.addWaistDayRow;
    NSString *hardSheCase = self.buildSchoolTextField.warnTriangleTabClippingLighter;
    if ([self.paragraphTone respondsToSelector:@selector(modalAngleEmptyClockTryFunFitCutoff:code:infoCode:completion:)]) {
        [EchoEggBitView utilitiesSaltWindow];
        [self.paragraphTone modalAngleEmptyClockTryFunFitCutoff:hardSheCase code:self.mobileSonTextField.text infoCode:tipExpertCode completion:^(id object) {
            [EchoEggBitView menuIrishSevenEachOrdinalWindow];
        }];
    }
}


- (void)thirdScriptsRenewingColumnMapConstantAction {
    ReceivesVolumeViewController *caffeineLook = [ReceivesVolumeViewController new];
    caffeineLook.beaconPolar = @(YES);
    caffeineLook.paragraphTone = self.paragraphTone;
    [caffeineLook setSectionIncomingRussianTagGet:^(BOOL result) {
        self.tradFullyTipLabel.packEndArmFork = result;
    }];
    [self.navigationController pushViewController:caffeineLook animated:NO];
}

- (void)dealloc {
    [self.timeLeaveButton typeAttitudeOrdinalsModeBasque];
}
@end
