






#import "HerWorldPointViewController.h"
#import "AllSolveFatButton.h"
#import "ButToast.h"
#import "GradeKeepTextField.h"
#import "NSString+MidBypass.h"
@import WebKit;

@interface HerWorldPointViewController ()

@property (nonatomic, strong) GradeKeepTextField *theCanPivotTextField;
@property (nonatomic, strong) UITextField *portAdoptTextField;
@property (nonatomic, strong) AllSolveFatButton *allowCaseButton;

@end

@implementation HerWorldPointViewController


- (AllSolveFatButton *)allowCaseButton {
    if (!_allowCaseButton) {
        _allowCaseButton = [[AllSolveFatButton alloc] init];
    }
    return _allowCaseButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.jobPanListButton.hidden = [self.hashIllPath[0] boolValue];
    
    UILabel *andLabel = [MakerOldest presetUnpluggedProjectsDifferentRing:MakerOldest.patternsTwenty.anotherCubeSocialMoveNumericConsole];
    andLabel.numberOfLines = 0;
    [self.view addSubview:andLabel];
    [andLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MakerOldest.redoneFinder.busScanScale);
        make.left.mas_equalTo(MakerOldest.redoneFinder.busScanScale);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.busScanScale);
    }];
    
    
    self.theCanPivotTextField = [[GradeKeepTextField alloc] initWithController:self];
    [self.view addSubview:self.theCanPivotTextField];
    [self.theCanPivotTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(andLabel.mas_bottom).offset(MakerOldest.redoneFinder.dateOrnament);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.kitPredicted);
    }];
    
    
    self.portAdoptTextField = [MakerOldest bigFileLocalityNaturalSigmaFitCode];
    [self.view addSubview:self.portAdoptTextField];
    [self.portAdoptTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.theCanPivotTextField.mas_bottom).offset(MakerOldest.redoneFinder.hueRainLegal);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.kitPredicted);
    }];
    
    hellman(self);
    self.allowCaseButton.megabitsStaleAction = ^{
        serverBin(self);
        NSString *bundleDueCode = self.theCanPivotTextField.slovakHomeWith;
        NSString *exactLowSee = self.theCanPivotTextField.mongolianTagTopConverterReadable;
        if (self.theCanPivotTextField.theCanPivotTextField.text.diskClusters) {
            [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
            [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.styleHumanRouterAlignedUnderagePack completion:nil];
            return;
        }
        if ([self.sameSitePanel respondsToSelector:@selector(makerAcrossAnnotatedLongOverageConflictsWalkType:andGigabits:bondCode:completion:)]) {
            [FetchSenseView furlongsApplyWindow];
            [self.sameSitePanel makerAcrossAnnotatedLongOverageConflictsWalkType:MakerOldest.redoneFinder.millPubLoveKit andGigabits:exactLowSee bondCode:bundleDueCode completion:^(id object) {
                [FetchSenseView hashDeciliterChargingArchiveWalkingWindow];
                if ([object boolValue]) {
                    [ButToast packetsFit:MakerOldest.patternsTwenty.thatPairWorkflowSaveOccurredForkCode];
                }else {
                    [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
                }
            }];
        }
    };
    [self.view addSubview:self.allowCaseButton];
    [self.allowCaseButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.portAdoptTextField);
        make.height.equalTo(self.portAdoptTextField);
        make.left.equalTo(self.portAdoptTextField.mas_right).offset(MakerOldest.redoneFinder.menDolbyHead);
        make.right.equalTo(self.theCanPivotTextField);
    }];
    
    
    [self.allowCaseButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *tryStrongButton = [MakerOldest sixPipeGrantingNoneBendColor:MakerOldest.patternsTwenty.patternDuplicateFixingFinnishWax];
    [tryStrongButton addTarget:self action:@selector(bevelSwitchMustSymmetricPutAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:tryStrongButton];
    [tryStrongButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.portAdoptTextField.mas_bottom).offset(MakerOldest.redoneFinder.hueRainLegal);
        make.left.mas_equalTo(MakerOldest.redoneFinder.finalUnlearn);
        make.right.mas_equalTo(-MakerOldest.redoneFinder.finalUnlearn);
        make.height.mas_equalTo(MakerOldest.redoneFinder.tripleDialog);
    }];
}

- (void)bevelSwitchMustSymmetricPutAction:(id)sender {
    if (self.theCanPivotTextField.theCanPivotTextField.text.diskClusters) {
        [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.styleHumanRouterAlignedUnderagePack completion:nil];
        return;
    }
    if (self.portAdoptTextField.text.diskClusters) {
        [TagAlertView seekingFontStayBeenLibrariesSlovak:MakerOldest.patternsTwenty.retPolish message:MakerOldest.patternsTwenty.downGetGolfChatNothing completion:nil];
        return;
    }
    NSString *bundleDueCode = self.theCanPivotTextField.slovakHomeWith;
    NSString *exactLowSee = self.theCanPivotTextField.mongolianTagTopConverterReadable;
    if ([self.sameSitePanel respondsToSelector:@selector(dimensionGainOddViolationBothMapUndone:code:bondCode:completion:)]) {
        [FetchSenseView furlongsApplyWindow];
        [self.sameSitePanel dimensionGainOddViolationBothMapUndone:exactLowSee code:self.portAdoptTextField.text bondCode:bundleDueCode completion:^(id object) {
            [FetchSenseView hashDeciliterChargingArchiveWalkingWindow];
            if ([object boolValue]) {
                [[FunnelArmManager shared] kirghizNativeMaleRespondsLanguagesSensorViewController:self.navigationController];
                [ButToast packetsFit:MakerOldest.patternsTwenty.metalRowsMegabitsLostUpdatesIntents];
                if ([self.hashIllPath[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *ascendedYet = (WKWebView *)self.hashIllPath[1];
                    [ascendedYet reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.allowCaseButton iconPerformsFingerTeaspoonsScheme];
}

@end
