






#import "EntropyHeaderViewController.h"
#import "LazyItsRuleButton.h"
#import "WasToast.h"
#import "RawBecomeTextField.h"
#import "NSString+ReloadPan.h"
@import WebKit;

@interface EntropyHeaderViewController ()

@property (nonatomic, strong) RawBecomeTextField *companyListTextField;
@property (nonatomic, strong) UITextField *forbiddenTextField;
@property (nonatomic, strong) LazyItsRuleButton *formFocalButton;

@end

@implementation EntropyHeaderViewController


- (LazyItsRuleButton *)formFocalButton {
    if (!_formFocalButton) {
        _formFocalButton = [[LazyItsRuleButton alloc] init];
    }
    return _formFocalButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.sawPageWonButton.hidden = [self.forTiedRows[0] boolValue];
    
    UILabel *pubLabel = [BurstPetite computerMetricStepsonHumidityBoldface:BurstPetite.setupScheduled.boldfaceNepaliCupGradientFunIssuer];
    pubLabel.numberOfLines = 0;
    [self.view addSubview:pubLabel];
    [pubLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BurstPetite.virtualSheet.croppingMute);
        make.left.mas_equalTo(BurstPetite.virtualSheet.croppingMute);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.croppingMute);
    }];
    
    
    self.companyListTextField = [[RawBecomeTextField alloc] initWithController:self];
    [self.view addSubview:self.companyListTextField];
    [self.companyListTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(pubLabel.mas_bottom).offset(BurstPetite.virtualSheet.takeMovieBad);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    
    self.forbiddenTextField = [BurstPetite manganeseRectifiedMenuMildChangingIndicesCode];
    [self.view addSubview:self.forbiddenTextField];
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.companyListTextField.mas_bottom).offset(BurstPetite.virtualSheet.menFunnelAir);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.nineCreation);
    }];
    
    moveAll(self);
    self.formFocalButton.illOverallRunAction = ^{
        eachDutch(self);
        NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
        NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
        if (self.companyListTextField.companyListTextField.text.napTapExpect) {
            [self.formFocalButton countingRareThreeBitsRejection];
            [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
            return;
        }
        if ([self.discountExact respondsToSelector:@selector(addSkinStepsonOrangeTabFrictionDryType:mixResetSin:toolCode:completion:)]) {
            [OnceMidSeeView cupWetYetFontWindow];
            [self.discountExact addSkinStepsonOrangeTabFrictionDryType:BurstPetite.virtualSheet.scanningRadial mixResetSin:tailMapWeek toolCode:linkStairCode completion:^(id object) {
                [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
                if ([object boolValue]) {
                    [WasToast marginsTip:BurstPetite.setupScheduled.hectaresSexEditorSlideFlatOpticalCode];
                }else {
                    [self.formFocalButton countingRareThreeBitsRejection];
                }
            }];
        }
    };
    [self.view addSubview:self.formFocalButton];
    [self.formFocalButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.forbiddenTextField);
        make.height.equalTo(self.forbiddenTextField);
        make.right.equalTo(self.companyListTextField);
        
        make.width.mas_equalTo(self.formFocalButton.titleLabel.intrinsicContentSize.width + BurstPetite.virtualSheet.croppingMute);
    }];
    
    [self.forbiddenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.formFocalButton.mas_left).offset(-BurstPetite.virtualSheet.canTerabytes);
    }];
    
    
    UIButton *darwinKeyButton = [BurstPetite paragraphPicturePositionHisSumColor:BurstPetite.setupScheduled.reportsScannerMapSpeakingCursors];
    [darwinKeyButton addTarget:self action:@selector(existDriveRevertStatementHelloAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:darwinKeyButton];
    [darwinKeyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.forbiddenTextField.mas_bottom).offset(BurstPetite.virtualSheet.menFunnelAir);
        make.left.mas_equalTo(BurstPetite.virtualSheet.onceStripMay);
        make.right.mas_equalTo(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.enclosingToo);
    }];
}

- (void)existDriveRevertStatementHelloAction:(id)sender {
    if (self.companyListTextField.companyListTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.zoneSpecifiedModuleFloatingNoiseWrappers completion:nil];
        return;
    }
    if (self.forbiddenTextField.text.napTapExpect) {
        [CarAlertView irregularCounterBarrierHoldHelperEgg:BurstPetite.setupScheduled.decompose message:BurstPetite.setupScheduled.withAcrossResizeArtArm completion:nil];
        return;
    }
    NSString *linkStairCode = self.companyListTextField.axesUnlockFull;
    NSString *tailMapWeek = self.companyListTextField.usabilityLeftArmBedPeer;
    if ([self.discountExact respondsToSelector:@selector(ambientPossibleDisplayAloneThickOffAccepting:code:toolCode:completion:)]) {
        [OnceMidSeeView cupWetYetFontWindow];
        [self.discountExact ambientPossibleDisplayAloneThickOffAccepting:tailMapWeek code:self.forbiddenTextField.text toolCode:linkStairCode completion:^(id object) {
            [OnceMidSeeView destroyHigherSlopeRemainderTapWindow];
            if ([object boolValue]) {
                [[DeleteWhoManager shared] totalSayForceRecordDanishObstacleViewController:self.navigationController];
                [WasToast marginsTip:BurstPetite.setupScheduled.stoodSeparatorRestoredOrderedSongHandoff];
                if ([self.forTiedRows[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *sumCutPlain = (WKWebView *)self.forTiedRows[1];
                    [sumCutPlain reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.formFocalButton countingRareThreeBitsRejection];
}

@end
