






#import "NineImmediateViewController.h"
#import "PinClampingButton.h"
#import "SinToast.h"
#import "BlurRoundTextField.h"
#import "NSString+TwoPhotos.h"
@import WebKit;

@interface NineImmediateViewController ()

@property (nonatomic, strong) BlurRoundTextField *adapterDustTextField;
@property (nonatomic, strong) UITextField *zoneLossyTextField;
@property (nonatomic, strong) PinClampingButton *safariHueButton;

@end

@implementation NineImmediateViewController


- (PinClampingButton *)safariHueButton {
    if (!_safariHueButton) {
        _safariHueButton = [[PinClampingButton alloc] init];
    }
    return _safariHueButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.skipAllUseButton.hidden = [self.grandsonPop[0] boolValue];
    
    UILabel *seeLabel = [PintResting kannadaDanceCommandEditMemory:PintResting.exposeLeapAuto.bulgarianMaySnapAssamesePatchSymbol];
    seeLabel.numberOfLines = 0;
    [self.view addSubview:seeLabel];
    [seeLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PintResting.findClickCat.advanceValue);
        make.left.mas_equalTo(PintResting.findClickCat.advanceValue);
        make.right.mas_equalTo(-PintResting.findClickCat.advanceValue);
    }];
    
    
    self.adapterDustTextField = [[BlurRoundTextField alloc] initWithController:self];
    [self.view addSubview:self.adapterDustTextField];
    [self.adapterDustTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(seeLabel.mas_bottom).offset(PintResting.findClickCat.weekBlendTap);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.right.mas_equalTo(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.capHybridAre);
    }];
    
    
    self.zoneLossyTextField = [PintResting pitchBackNepaliBirthBuildSiteCode];
    [self.view addSubview:self.zoneLossyTextField];
    [self.zoneLossyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.adapterDustTextField.mas_bottom).offset(PintResting.findClickCat.criteriaFont);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.capHybridAre);
    }];
    
    eggWeek(self);
    self.safariHueButton.saltNormalizeAction = ^{
        queryBlue(self);
        NSString *neverTiedCode = self.adapterDustTextField.smileLocations;
        NSString *traitAllHas = self.adapterDustTextField.altimeterOurNoteProducerLeaky;
        if (self.adapterDustTextField.adapterDustTextField.text.mayItsPartly) {
            [self.safariHueButton yellowCinematicRectangleSymbolicStore];
            [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.magicEscapeAccordingOldEraserMap completion:nil];
            return;
        }
        if ([self.costWasArtMid respondsToSelector:@selector(slightDependingUploadingRevertingFutureCoastPenType:itsTorchAir:tallCode:completion:)]) {
            [EmptyBatchView earBagCapUsesWindow];
            [self.costWasArtMid slightDependingUploadingRevertingFutureCoastPenType:PintResting.findClickCat.zipMayEraLeave itsTorchAir:traitAllHas tallCode:neverTiedCode completion:^(id object) {
                [EmptyBatchView birthdayCertSegmentedHeadVortexWindow];
                if ([object boolValue]) {
                    [SinToast sawTagWarp:PintResting.exposeLeapAuto.succeedAdditiveInvisibleLambdaPedometerSodiumCode];
                }else {
                    [self.safariHueButton yellowCinematicRectangleSymbolicStore];
                }
            }];
        }
    };
    [self.view addSubview:self.safariHueButton];
    [self.safariHueButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.zoneLossyTextField);
        make.height.equalTo(self.zoneLossyTextField);
        make.right.equalTo(self.adapterDustTextField);
        
        make.width.mas_equalTo(self.safariHueButton.titleLabel.intrinsicContentSize.width + PintResting.findClickCat.advanceValue);
    }];
    
    [self.zoneLossyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.safariHueButton.mas_left).offset(-PintResting.findClickCat.askSegmented);
    }];
    
    
    UIButton *blobFetchButton = [PintResting serbianManInvokeSnapshotTwelveColor:PintResting.exposeLeapAuto.stormActiveTeamSendSupport];
    [blobFetchButton addTarget:self action:@selector(inviteProcessorBackDeliverLocatorAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:blobFetchButton];
    [blobFetchButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.zoneLossyTextField.mas_bottom).offset(PintResting.findClickCat.criteriaFont);
        make.left.mas_equalTo(PintResting.findClickCat.redSeasonFax);
        make.right.mas_equalTo(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.artThousands);
    }];
}

- (void)inviteProcessorBackDeliverLocatorAction:(id)sender {
    if (self.adapterDustTextField.adapterDustTextField.text.mayItsPartly) {
        [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.magicEscapeAccordingOldEraserMap completion:nil];
        return;
    }
    if (self.zoneLossyTextField.text.mayItsPartly) {
        [UseAlertView succeededTopPoolClipDanceQuerying:PintResting.exposeLeapAuto.pathWrong message:PintResting.exposeLeapAuto.buddhistUpdatingProvisionImmediateInset completion:nil];
        return;
    }
    NSString *neverTiedCode = self.adapterDustTextField.smileLocations;
    NSString *traitAllHas = self.adapterDustTextField.altimeterOurNoteProducerLeaky;
    if ([self.costWasArtMid respondsToSelector:@selector(redUnpluggedOnlineVitalGuestRegisterMen:code:tallCode:completion:)]) {
        [EmptyBatchView earBagCapUsesWindow];
        [self.costWasArtMid redUnpluggedOnlineVitalGuestRegisterMen:traitAllHas code:self.zoneLossyTextField.text tallCode:neverTiedCode completion:^(id object) {
            [EmptyBatchView birthdayCertSegmentedHeadVortexWindow];
            if ([object boolValue]) {
                [[IllBundleManager shared] dryPreciseCubicGetWetTargetedViewController:self.navigationController];
                [SinToast sawTagWarp:PintResting.exposeLeapAuto.descentCellphoneTryAllergyPlanSub];
                if ([self.grandsonPop[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *badFireJump = (WKWebView *)self.grandsonPop[1];
                    [badFireJump reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.safariHueButton yellowCinematicRectangleSymbolicStore];
}

@end
