






#import "HectaresLayerViewController.h"
#import "CompressPubButton.h"
#import "LawToast.h"
#import "GaspApplyTextField.h"
#import "NSString+RankRetry.h"
@import WebKit;

@interface HectaresLayerViewController ()

@property (nonatomic, strong) GaspApplyTextField *cardEachMaxTextField;
@property (nonatomic, strong) UITextField *smoothingTextField;
@property (nonatomic, strong) CompressPubButton *fillBayerButton;

@end

@implementation HectaresLayerViewController


- (CompressPubButton *)fillBayerButton {
    if (!_fillBayerButton) {
        _fillBayerButton = [[CompressPubButton alloc] init];
    }
    return _fillBayerButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.fourMinderButton.hidden = [self.retCellStay[0] boolValue];
    
    UILabel *maxLabel = [ForHueAfter mostMeanSeeOneMedia:ForHueAfter.stayFourthHint.oneOddSequenceSmileModuleNine];
    maxLabel.numberOfLines = 0;
    [self.view addSubview:maxLabel];
    [maxLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ForHueAfter.grayGradient.napEndpoints);
        make.left.mas_equalTo(ForHueAfter.grayGradient.napEndpoints);
        make.right.mas_equalTo(-ForHueAfter.grayGradient.napEndpoints);
    }];
    
    
    self.cardEachMaxTextField = [[GaspApplyTextField alloc] initWithController:self];
    [self.view addSubview:self.cardEachMaxTextField];
    [self.cardEachMaxTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(maxLabel.mas_bottom).offset(ForHueAfter.grayGradient.dogFoldBatch);
        make.left.mas_equalTo(ForHueAfter.grayGradient.detachJobEra);
        make.right.mas_equalTo(-ForHueAfter.grayGradient.detachJobEra);
        make.height.mas_equalTo(ForHueAfter.grayGradient.faxAudioSuch);
    }];
    
    
    self.smoothingTextField = [ForHueAfter receivingFragmentDeletingHoursPortalElevenCode];
    [self.view addSubview:self.smoothingTextField];
    [self.smoothingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.cardEachMaxTextField.mas_bottom).offset(ForHueAfter.grayGradient.makeSubFocal);
        make.left.mas_equalTo(ForHueAfter.grayGradient.detachJobEra);
        make.height.mas_equalTo(ForHueAfter.grayGradient.faxAudioSuch);
    }];
    
    needSin(self);
    self.fillBayerButton.densityMotionAction = ^{
        upsideMid(self);
        NSString *bounceKeyCode = self.cardEachMaxTextField.curlBedWarnPin;
        NSString *bothSexHall = self.cardEachMaxTextField.entityAggregateMostAnySwapped;
        if (self.cardEachMaxTextField.cardEachMaxTextField.text.handReplyMix) {
            [self.fillBayerButton safetySpaLemmaSolutionsNet];
            [PenAlertView meterInitialLookupPermuteIconExpect:ForHueAfter.stayFourthHint.readyGoal message:ForHueAfter.stayFourthHint.foldWelshAnswerCountingIodineBack completion:nil];
            return;
        }
        if ([self.molarSunAlbum respondsToSelector:@selector(shearFailureEmergencyLeastIrregularEasyProtocolType:draftParser:sideCode:completion:)]) {
            [ObjectTintView rainPubBitAirWindow];
            [self.molarSunAlbum shearFailureEmergencyLeastIrregularEasyProtocolType:ForHueAfter.grayGradient.listSnowChoose draftParser:bothSexHall sideCode:bounceKeyCode completion:^(id object) {
                [ObjectTintView displayMergeApplyingAutoDemandWindow];
                if ([object boolValue]) {
                    [LawToast stringLoss:ForHueAfter.stayFourthHint.adjustAirSpecificOpenAssetLexiconCode];
                }else {
                    [self.fillBayerButton safetySpaLemmaSolutionsNet];
                }
            }];
        }
    };
    [self.view addSubview:self.fillBayerButton];
    [self.fillBayerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.smoothingTextField);
        make.height.equalTo(self.smoothingTextField);
        make.left.equalTo(self.smoothingTextField.mas_right).offset(ForHueAfter.grayGradient.submitTopAnd);
        make.right.equalTo(self.cardEachMaxTextField);
    }];
    
    
    [self.fillBayerButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *noneChainButton = [ForHueAfter scoreYearArbitraryMapDecigramsColor:ForHueAfter.stayFourthHint.extendReachedGreaterImperialButtons];
    [noneChainButton addTarget:self action:@selector(teamCupOrdinalPenAscentAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:noneChainButton];
    [noneChainButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.smoothingTextField.mas_bottom).offset(ForHueAfter.grayGradient.makeSubFocal);
        make.left.mas_equalTo(ForHueAfter.grayGradient.detachJobEra);
        make.right.mas_equalTo(-ForHueAfter.grayGradient.detachJobEra);
        make.height.mas_equalTo(ForHueAfter.grayGradient.notStructure);
    }];
}

- (void)teamCupOrdinalPenAscentAction:(id)sender {
    if (self.cardEachMaxTextField.cardEachMaxTextField.text.handReplyMix) {
        [PenAlertView meterInitialLookupPermuteIconExpect:ForHueAfter.stayFourthHint.readyGoal message:ForHueAfter.stayFourthHint.foldWelshAnswerCountingIodineBack completion:nil];
        return;
    }
    if (self.smoothingTextField.text.handReplyMix) {
        [PenAlertView meterInitialLookupPermuteIconExpect:ForHueAfter.stayFourthHint.readyGoal message:ForHueAfter.stayFourthHint.zipMixMobileFunctionsHer completion:nil];
        return;
    }
    NSString *bounceKeyCode = self.cardEachMaxTextField.curlBedWarnPin;
    NSString *bothSexHall = self.cardEachMaxTextField.entityAggregateMostAnySwapped;
    if ([self.molarSunAlbum respondsToSelector:@selector(separatedFinalFunnelLetterQuietSpokenSink:code:sideCode:completion:)]) {
        [ObjectTintView rainPubBitAirWindow];
        [self.molarSunAlbum separatedFinalFunnelLetterQuietSpokenSink:bothSexHall code:self.smoothingTextField.text sideCode:bounceKeyCode completion:^(id object) {
            [ObjectTintView displayMergeApplyingAutoDemandWindow];
            if ([object boolValue]) {
                [[EarColumnManager shared] wasBirthdaySequencesSumAgreementMatrixViewController:self.navigationController];
                [LawToast stringLoss:ForHueAfter.stayFourthHint.convertPhasePeakIcyAmpereHard];
                if ([self.retCellStay[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *growOffsets = (WKWebView *)self.retCellStay[1];
                    [growOffsets reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.fillBayerButton safetySpaLemmaSolutionsNet];
}

@end
