






#import "LossSheNetOutViewController.h"
#import "BundlesLateButton.h"
#import "AnyToast.h"
#import "SoloDepthTextField.h"
#import "NSString+Terabytes.h"
@import WebKit;

@interface LossSheNetOutViewController ()

@property (nonatomic, strong) SoloDepthTextField *numbersHailTextField;
@property (nonatomic, strong) UITextField *leaseUserTextField;
@property (nonatomic, strong) BundlesLateButton *realmFourButton;

@end

@implementation LossSheNetOutViewController


- (BundlesLateButton *)realmFourButton {
    if (!_realmFourButton) {
        _realmFourButton = [[BundlesLateButton alloc] init];
    }
    return _realmFourButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.rawPinkCarButton.hidden = [self.moleShotRaw[0] boolValue];
    
    UILabel *netLabel = [VitalityTab shelfUploadedLogAndGoogle:VitalityTab.foggyCycleUnit.multipleInterlaceUseCountBeginReplaced];
    netLabel.numberOfLines = 0;
    [self.view addSubview:netLabel];
    [netLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(VitalityTab.noneMidMicro.visualWaySaw);
        make.left.mas_equalTo(VitalityTab.noneMidMicro.visualWaySaw);
        make.right.mas_equalTo(-VitalityTab.noneMidMicro.visualWaySaw);
    }];
    
    
    self.numbersHailTextField = [[SoloDepthTextField alloc] initWithController:self];
    [self.view addSubview:self.numbersHailTextField];
    [self.numbersHailTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(netLabel.mas_bottom).offset(VitalityTab.noneMidMicro.bikeReliable);
        make.left.mas_equalTo(VitalityTab.noneMidMicro.dispatchHand);
        make.right.mas_equalTo(-VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.minEmailRows);
    }];
    
    
    self.leaseUserTextField = [VitalityTab forceYetAdjustedReturningValueEnumerateCode];
    [self.view addSubview:self.leaseUserTextField];
    [self.leaseUserTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.numbersHailTextField.mas_bottom).offset(VitalityTab.noneMidMicro.layerDidLogo);
        make.left.mas_equalTo(VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.minEmailRows);
    }];
    
    hasEnds(self);
    self.realmFourButton.keyTrapBarTenAction = ^{
        delayChar(self);
        NSString *lengthTipCode = self.numbersHailTextField.binWetPhoneWon;
        NSString *soccerBasal = self.numbersHailTextField.thousandsVectorRoleTransportCorner;
        if (self.numbersHailTextField.numbersHailTextField.text.alertGetSolo) {
            [self.realmFourButton collectorAbortUnlearnWithinOpen];
            [SonAlertView presenceFloatMetadataCompoundPreparingEgg:VitalityTab.foggyCycleUnit.alertCase message:VitalityTab.foggyCycleUnit.foldProcessInteractCapableAirFlatten completion:nil];
            return;
        }
        if ([self.outMouthQuiet respondsToSelector:@selector(runRomanianPitchMountedHomeFunkShakeType:designerOut:loopCode:completion:)]) {
            [CommitBikeView movieShortcutWindow];
            [self.outMouthQuiet runRomanianPitchMountedHomeFunkShakeType:VitalityTab.noneMidMicro.tabFixTipEvent designerOut:soccerBasal loopCode:lengthTipCode completion:^(id object) {
                [CommitBikeView misplacedEscapingEarCampaignClipWindow];
                if ([object boolValue]) {
                    [AnyToast indexRadio:VitalityTab.foggyCycleUnit.mediaNominalSodiumEndFeatSignatureCode];
                }else {
                    [self.realmFourButton collectorAbortUnlearnWithinOpen];
                }
            }];
        }
    };
    [self.view addSubview:self.realmFourButton];
    [self.realmFourButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.leaseUserTextField);
        make.height.equalTo(self.leaseUserTextField);
        make.left.equalTo(self.leaseUserTextField.mas_right).offset(VitalityTab.noneMidMicro.lighterSmall);
        make.right.equalTo(self.numbersHailTextField);
    }];
    
    
    [self.realmFourButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *balticWayButton = [VitalityTab cousinAlertRomanVibrancyIdleColor:VitalityTab.foggyCycleUnit.poloPassAmbientFinishProgress];
    [balticWayButton addTarget:self action:@selector(recursiveFatalAllowableCancelTatarAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:balticWayButton];
    [balticWayButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.leaseUserTextField.mas_bottom).offset(VitalityTab.noneMidMicro.layerDidLogo);
        make.left.mas_equalTo(VitalityTab.noneMidMicro.dispatchHand);
        make.right.mas_equalTo(-VitalityTab.noneMidMicro.dispatchHand);
        make.height.mas_equalTo(VitalityTab.noneMidMicro.borderResume);
    }];
}

- (void)recursiveFatalAllowableCancelTatarAction:(id)sender {
    if (self.numbersHailTextField.numbersHailTextField.text.alertGetSolo) {
        [SonAlertView presenceFloatMetadataCompoundPreparingEgg:VitalityTab.foggyCycleUnit.alertCase message:VitalityTab.foggyCycleUnit.foldProcessInteractCapableAirFlatten completion:nil];
        return;
    }
    if (self.leaseUserTextField.text.alertGetSolo) {
        [SonAlertView presenceFloatMetadataCompoundPreparingEgg:VitalityTab.foggyCycleUnit.alertCase message:VitalityTab.foggyCycleUnit.fontEarWithinFilenamesHer completion:nil];
        return;
    }
    NSString *lengthTipCode = self.numbersHailTextField.binWetPhoneWon;
    NSString *soccerBasal = self.numbersHailTextField.thousandsVectorRoleTransportCorner;
    if ([self.outMouthQuiet respondsToSelector:@selector(runFatalTremorSolidBeaconAssignMiddle:code:loopCode:completion:)]) {
        [CommitBikeView movieShortcutWindow];
        [self.outMouthQuiet runFatalTremorSolidBeaconAssignMiddle:soccerBasal code:self.leaseUserTextField.text loopCode:lengthTipCode completion:^(id object) {
            [CommitBikeView misplacedEscapingEarCampaignClipWindow];
            if ([object boolValue]) {
                [[InterlaceManager shared] suffixBackupSchoolResourceLogBlinkViewController:self.navigationController];
                [AnyToast indexRadio:VitalityTab.foggyCycleUnit.faxAdjectiveBoxFunWalkEngraved];
                if ([self.moleShotRaw[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *eyeExisting = (WKWebView *)self.moleShotRaw[1];
                    [eyeExisting reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.realmFourButton collectorAbortUnlearnWithinOpen];
}

@end
