






#import "LongTurnGuideViewController.h"
#import "WaxLabelSayButton.h"
#import "BusToast.h"
#import "InferiorsTextField.h"
#import "NSString+PrettyHex.h"
@import WebKit;

@interface LongTurnGuideViewController ()

@property (nonatomic, strong) InferiorsTextField *parallelSobTextField;
@property (nonatomic, strong) UITextField *todayMoreTextField;
@property (nonatomic, strong) WaxLabelSayButton *mountFourButton;

@end

@implementation LongTurnGuideViewController


- (WaxLabelSayButton *)mountFourButton {
    if (!_mountFourButton) {
        _mountFourButton = [[WaxLabelSayButton alloc] init];
    }
    return _mountFourButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.bagDesktopButton.hidden = [self.modalKeyDid[0] boolValue];
    
    UILabel *popLabel = [PinMovement searchBadPinMagnesiumClamped:PinMovement.otherPhasePlug.vowelSoloistFarthestVeryRevealAgent];
    popLabel.numberOfLines = 0;
    [self.view addSubview:popLabel];
    [popLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PinMovement.cupFormatSun.squashCanIts);
        make.left.mas_equalTo(PinMovement.cupFormatSun.squashCanIts);
        make.right.mas_equalTo(-PinMovement.cupFormatSun.squashCanIts);
    }];
    
    
    self.parallelSobTextField = [[InferiorsTextField alloc] initWithController:self];
    [self.view addSubview:self.parallelSobTextField];
    [self.parallelSobTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(popLabel.mas_bottom).offset(PinMovement.cupFormatSun.bigDefineAre);
        make.left.mas_equalTo(PinMovement.cupFormatSun.mandatoryTen);
        make.right.mas_equalTo(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.ratioBengali);
    }];
    
    
    self.todayMoreTextField = [PinMovement onePartialInstallsGreekNoneKeyCode];
    [self.view addSubview:self.todayMoreTextField];
    [self.todayMoreTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.parallelSobTextField.mas_bottom).offset(PinMovement.cupFormatSun.consumedBank);
        make.left.mas_equalTo(PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.ratioBengali);
    }];
    
    fetched(self);
    self.mountFourButton.busyBringDrawAction = ^{
        stereoSay(self);
        NSString *winDecodeCode = self.parallelSobTextField.raceBikeHerNet;
        NSString *renderedNet = self.parallelSobTextField.penWaitingTheDanishHeap;
        if (self.parallelSobTextField.parallelSobTextField.text.typeUnderWax) {
            [self.mountFourButton farSoundTrackingSheetRedefined];
            [CarAlertView referencePopPassivelyScannerOfferComposite:PinMovement.otherPhasePlug.hoursBlob message:PinMovement.otherPhasePlug.genderReadAssetHelpOccurHas completion:nil];
            return;
        }
        if ([self.flagTrapMixer respondsToSelector:@selector(hitRolePublisherHueJobEncodingDiastolicType:freeWorking:hintCode:completion:)]) {
            [ClickInnerView waxBlackTwistWindow];
            [self.flagTrapMixer hitRolePublisherHueJobEncodingDiastolicType:PinMovement.cupFormatSun.rateColumnHint freeWorking:renderedNet hintCode:winDecodeCode completion:^(id object) {
                [ClickInnerView wakeOrnamentRespectsConsumedRemovalWindow];
                if ([object boolValue]) {
                    [BusToast numberVery:PinMovement.otherPhasePlug.restDetailAnimatingOverlapGeorgianMidCode];
                }else {
                    [self.mountFourButton farSoundTrackingSheetRedefined];
                }
            }];
        }
    };
    [self.view addSubview:self.mountFourButton];
    [self.mountFourButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.todayMoreTextField);
        make.height.equalTo(self.todayMoreTextField);
        make.left.equalTo(self.todayMoreTextField.mas_right).offset(PinMovement.cupFormatSun.leaseZoneOld);
        make.right.equalTo(self.parallelSobTextField);
    }];
    
    
    [self.mountFourButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *vortexWonButton = [PinMovement narrativeForbidAlignedAcuteGrayColor:PinMovement.otherPhasePlug.tagsOutlineFormatLandscapeEncode];
    [vortexWonButton addTarget:self action:@selector(pivotPinchWaistSlashWaxAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:vortexWonButton];
    [vortexWonButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.todayMoreTextField.mas_bottom).offset(PinMovement.cupFormatSun.consumedBank);
        make.left.mas_equalTo(PinMovement.cupFormatSun.mandatoryTen);
        make.right.mas_equalTo(-PinMovement.cupFormatSun.mandatoryTen);
        make.height.mas_equalTo(PinMovement.cupFormatSun.bigSongPhoto);
    }];
}

- (void)pivotPinchWaistSlashWaxAction:(id)sender {
    if (self.parallelSobTextField.parallelSobTextField.text.typeUnderWax) {
        [CarAlertView referencePopPassivelyScannerOfferComposite:PinMovement.otherPhasePlug.hoursBlob message:PinMovement.otherPhasePlug.genderReadAssetHelpOccurHas completion:nil];
        return;
    }
    if (self.todayMoreTextField.text.typeUnderWax) {
        [CarAlertView referencePopPassivelyScannerOfferComposite:PinMovement.otherPhasePlug.hoursBlob message:PinMovement.otherPhasePlug.binaryUserSayFrameDistinct completion:nil];
        return;
    }
    NSString *winDecodeCode = self.parallelSobTextField.raceBikeHerNet;
    NSString *renderedNet = self.parallelSobTextField.penWaitingTheDanishHeap;
    if ([self.flagTrapMixer respondsToSelector:@selector(constantCrossExistSourceResolvingExistentLazy:code:hintCode:completion:)]) {
        [ClickInnerView waxBlackTwistWindow];
        [self.flagTrapMixer constantCrossExistSourceResolvingExistentLazy:renderedNet code:self.todayMoreTextField.text hintCode:winDecodeCode completion:^(id object) {
            [ClickInnerView wakeOrnamentRespectsConsumedRemovalWindow];
            if ([object boolValue]) {
                [[UnpluggedManager shared] sizeMapErrorMusicOldDecipherViewController:self.navigationController];
                [BusToast numberVery:PinMovement.otherPhasePlug.emptySenderEnterBendFullNepali];
                if ([self.modalKeyDid[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *wetAllRange = (WKWebView *)self.modalKeyDid[1];
                    [wetAllRange reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.mountFourButton farSoundTrackingSheetRedefined];
}

@end
