






#import "FireLazyRelayViewController.h"
#import "RenewingAllButton.h"
#import "EndToast.h"
#import "ListenersTextField.h"
#import "NSString+AdoptPeer.h"
@import WebKit;

@interface FireLazyRelayViewController ()

@property (nonatomic, strong) ListenersTextField *bedTowerOutTextField;
@property (nonatomic, strong) UITextField *immutableTextField;
@property (nonatomic, strong) RenewingAllButton *waitThirdButton;

@end

@implementation FireLazyRelayViewController


- (RenewingAllButton *)waitThirdButton {
    if (!_waitThirdButton) {
        _waitThirdButton = [[RenewingAllButton alloc] init];
    }
    return _waitThirdButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.endTaggingButton.hidden = [self.lookPairKey[0] boolValue];
    
    UILabel *tryLabel = [MusicLowPen prominentSpanMagnesiumDeviceLoose:MusicLowPen.mailCanSkinMid.sobNapInfinityBedRedirectsSubset];
    tryLabel.numberOfLines = 0;
    [self.view addSubview:tryLabel];
    [tryLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MusicLowPen.artBehaveMay.pinkHeadline);
        make.left.mas_equalTo(MusicLowPen.artBehaveMay.pinkHeadline);
        make.right.mas_equalTo(-MusicLowPen.artBehaveMay.pinkHeadline);
    }];
    
    
    self.bedTowerOutTextField = [[ListenersTextField alloc] initWithController:self];
    [self.view addSubview:self.bedTowerOutTextField];
    [self.bedTowerOutTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(tryLabel.mas_bottom).offset(MusicLowPen.artBehaveMay.golfPlaceThe);
        make.left.mas_equalTo(MusicLowPen.artBehaveMay.sawWeekStore);
        make.right.mas_equalTo(-MusicLowPen.artBehaveMay.sawWeekStore);
        make.height.mas_equalTo(MusicLowPen.artBehaveMay.canDenseSuch);
    }];
    
    
    self.immutableTextField = [MusicLowPen behaveAfterBarPointerMonitoredSockCode];
    [self.view addSubview:self.immutableTextField];
    [self.immutableTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.bedTowerOutTextField.mas_bottom).offset(MusicLowPen.artBehaveMay.sixTooThread);
        make.left.mas_equalTo(MusicLowPen.artBehaveMay.sawWeekStore);
        make.height.mas_equalTo(MusicLowPen.artBehaveMay.canDenseSuch);
    }];
    
    failing(self);
    self.waitThirdButton.farMenManyNowAction = ^{
        stereoAge(self);
        NSString *convertedCode = self.bedTowerOutTextField.pinDragTryMake;
        NSString *wayReadySee = self.bedTowerOutTextField.dispatchExclusionLimitTremorTwitter;
        if (self.bedTowerOutTextField.bedTowerOutTextField.text.jobKindDutch) {
            [self.waitThirdButton partCosmicPanMaximumArt];
            [DryAlertView tightRelayPromptFixingSetupTruncated:MusicLowPen.mailCanSkinMid.valueScan message:MusicLowPen.mailCanSkinMid.fitSeasonClipGatherBirthdayWide completion:nil];
            return;
        }
        if ([self.finalStillAsk respondsToSelector:@selector(injectionStoreThreeMostlySymbolsFetchMeterType:ownAddFarsi:freeCode:completion:)]) {
            [AdjustsSixView bodyHintMicroWindow];
            [self.finalStillAsk injectionStoreThreeMostlySymbolsFetchMeterType:MusicLowPen.artBehaveMay.fontRedWordWon ownAddFarsi:wayReadySee freeCode:convertedCode completion:^(id object) {
                [AdjustsSixView saveOperateBannerAllocatedMaximumWindow];
                if ([object boolValue]) {
                    [EndToast companyLaw:MusicLowPen.mailCanSkinMid.remainderAnchorsPartlyMenFlagTaggerCode];
                }else {
                    [self.waitThirdButton partCosmicPanMaximumArt];
                }
            }];
        }
    };
    [self.view addSubview:self.waitThirdButton];
    [self.waitThirdButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.immutableTextField);
        make.height.equalTo(self.immutableTextField);
        make.left.equalTo(self.immutableTextField.mas_right).offset(MusicLowPen.artBehaveMay.angularPitch);
        make.right.equalTo(self.bedTowerOutTextField);
    }];
    
    
    [self.waitThirdButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *bitStreetButton = [MusicLowPen filenameNoteTelephotoLanguagesNegativeColor:MusicLowPen.mailCanSkinMid.pastMoreSlavicWhoMonotonic];
    [bitStreetButton addTarget:self action:@selector(hiddenDownTeethAllocateLetterAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:bitStreetButton];
    [bitStreetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.immutableTextField.mas_bottom).offset(MusicLowPen.artBehaveMay.sixTooThread);
        make.left.mas_equalTo(MusicLowPen.artBehaveMay.sawWeekStore);
        make.right.mas_equalTo(-MusicLowPen.artBehaveMay.sawWeekStore);
        make.height.mas_equalTo(MusicLowPen.artBehaveMay.oppositeMind);
    }];
}

- (void)hiddenDownTeethAllocateLetterAction:(id)sender {
    if (self.bedTowerOutTextField.bedTowerOutTextField.text.jobKindDutch) {
        [DryAlertView tightRelayPromptFixingSetupTruncated:MusicLowPen.mailCanSkinMid.valueScan message:MusicLowPen.mailCanSkinMid.fitSeasonClipGatherBirthdayWide completion:nil];
        return;
    }
    if (self.immutableTextField.text.jobKindDutch) {
        [DryAlertView tightRelayPromptFixingSetupTruncated:MusicLowPen.mailCanSkinMid.valueScan message:MusicLowPen.mailCanSkinMid.hueUnderageLastMaleAgreement completion:nil];
        return;
    }
    NSString *convertedCode = self.bedTowerOutTextField.pinDragTryMake;
    NSString *wayReadySee = self.bedTowerOutTextField.dispatchExclusionLimitTremorTwitter;
    if ([self.finalStillAsk respondsToSelector:@selector(howAlternateBalticIntroRecoveredCurveModern:code:freeCode:completion:)]) {
        [AdjustsSixView bodyHintMicroWindow];
        [self.finalStillAsk howAlternateBalticIntroRecoveredCurveModern:wayReadySee code:self.immutableTextField.text freeCode:convertedCode completion:^(id object) {
            [AdjustsSixView saveOperateBannerAllocatedMaximumWindow];
            if ([object boolValue]) {
                [[BigCustomManager shared] oddPivotPreferCauseGeneratesSuchViewController:self.navigationController];
                [EndToast companyLaw:MusicLowPen.mailCanSkinMid.realHertzSliceRawIndexBegan];
                if ([self.lookPairKey[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *hailMidTree = (WKWebView *)self.lookPairKey[1];
                    [hailMidTree reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.waitThirdButton partCosmicPanMaximumArt];
}

@end
