






#import "ClangThatViewController.h"
#import "IdiomAtomicButton.h"
#import "UsageNotAnyBigViewController.h"
#import "WetToast.h"
#import "LoopEastButLabel.h"
#import "CapHeaderTextField.h"
#import "NSString+Aggregate.h"

@interface ClangThatViewController ()

@property (nonatomic, strong) CapHeaderTextField *segueMidFitTextField;
@property (nonatomic, strong) UITextField *burnFarsiTextField;
@property (nonatomic, strong) IdiomAtomicButton *lawAmountButton;
@property (nonatomic,strong) LoopEastButLabel *waxExpectSexLabel;

@end

@implementation ClangThatViewController

- (IdiomAtomicButton *)lawAmountButton {
    if (!_lawAmountButton) {
        _lawAmountButton = [[IdiomAtomicButton alloc] init];
    }
    return _lawAmountButton;
}

- (LoopEastButLabel *)waxExpectSexLabel {
    if (!_waxExpectSexLabel) {
        _waxExpectSexLabel = [LoopEastButLabel airGeneralAddLabel:NO];
    }
    return _waxExpectSexLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.segueMidFitTextField = [[CapHeaderTextField alloc] initWithController:self];
    [self.view addSubview:self.segueMidFitTextField];
    [self.segueMidFitTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PrintFarFor.guideMaySelf.sliceBusStop);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    
    
    self.burnFarsiTextField = [PrintFarFor checkBadgeTradSlovakTripleTaskCode];
    [self.view addSubview:self.burnFarsiTextField];
    [self.burnFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.segueMidFitTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.storeMutable);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.bikeSurgeBin);
    }];
    
    theBand(self);
    self.lawAmountButton.transposeDarkAction = ^{
        illReturn(self);
        NSString *menArtistCode = self.segueMidFitTextField.rearIronAscent;
        NSString *fontWalking = self.segueMidFitTextField.cutLeadTraitRemovalPlanar;
        if (self.segueMidFitTextField.segueMidFitTextField.text.bodyAfterBox) {
            [self.lawAmountButton ignoresBlobTriggersRingUpdate];
            [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.waxNotLatePaceHockeyFat completion:nil];
            return;
        }
        if ([self.postLoveRight respondsToSelector:@selector(carbonSegmentsProfilePortraitPositionsHasExtentsType:checkedWarp:turnCode:completion:)]) {
            [FireResizeView brushLabelCutWindow];
            [self.postLoveRight carbonSegmentsProfilePortraitPositionsHasExtentsType:PrintFarFor.guideMaySelf.performedResizingNetscapeUnboundedDiscovery checkedWarp:fontWalking turnCode:menArtistCode completion:^(id object) {
                [FireResizeView milesLastGigahertzExpandingCosmicWindow];
                if ([object boolValue]) {
                    [WetToast treeResult:PrintFarFor.tempSockJobHas.fitExistentPenVerticalNetscapeSwashesCode];
                }else {
                    [self.lawAmountButton ignoresBlobTriggersRingUpdate];
                }
            }];
        }
    };
    [self.view addSubview:self.lawAmountButton];
    [self.lawAmountButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.burnFarsiTextField);
        make.height.equalTo(self.burnFarsiTextField);
        make.right.equalTo(self.segueMidFitTextField);
        
        make.width.mas_equalTo(self.lawAmountButton.titleLabel.intrinsicContentSize.width + PrintFarFor.guideMaySelf.staleOddJoin);
    }];
    
    [self.burnFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.lawAmountButton.mas_left).offset(-PrintFarFor.guideMaySelf.chatQuantize);
    }];
    
    
    UIButton *halfHomeLossyButton = [PrintFarFor entityBlurDogBestDisablesColor:PrintFarFor.tempSockJobHas.forbidBadmintonTooAirlineMotionDiscount];
    [halfHomeLossyButton addTarget:self action:@selector(createdAnnotatedFitnessPenHybridAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:halfHomeLossyButton];
    [halfHomeLossyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.burnFarsiTextField.mas_bottom).offset(PrintFarFor.guideMaySelf.storeMutable);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.bagShotEqual);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.bagShotEqual);
        make.height.mas_equalTo(PrintFarFor.guideMaySelf.thickChapter);
    }];
    
    [self.view addSubview:self.waxExpectSexLabel];
    [self.waxExpectSexLabel setFinishedConditionAccordingDragPrettyCrop:^{
        illReturn(self);
        [self heartFractionRuleButRingOwnAction];
    }];
    [self.waxExpectSexLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-PrintFarFor.guideMaySelf.modifiedDone);
        make.left.mas_equalTo(PrintFarFor.guideMaySelf.boxAbovePast);
        make.right.mas_equalTo(-PrintFarFor.guideMaySelf.boxAbovePast);
    }];
}

- (void)createdAnnotatedFitnessPenHybridAction:(UIButton *)sender {
    if (self.segueMidFitTextField.segueMidFitTextField.text.bodyAfterBox) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.waxNotLatePaceHockeyFat completion:nil];
        return;
    }
    if (self.burnFarsiTextField.text.bodyAfterBox) {
        [NetAlertView ubiquityMildMileIntentMoreHello:PrintFarFor.tempSockJobHas.tallRelay message:PrintFarFor.tempSockJobHas.enableDisablingBeaconsVideoLaw completion:nil];
        return;
    }
    NSString *menArtistCode = self.segueMidFitTextField.rearIronAscent;
    NSString *fontWalking = self.segueMidFitTextField.cutLeadTraitRemovalPlanar;
    if ([self.postLoveRight respondsToSelector:@selector(badgeEitherRainLaunchingPhraseGrowTabSpeaking:code:turnCode:completion:)]) {
        [FireResizeView brushLabelCutWindow];
        [self.postLoveRight badgeEitherRainLaunchingPhraseGrowTabSpeaking:fontWalking code:self.burnFarsiTextField.text turnCode:menArtistCode completion:^(id object) {
            [FireResizeView milesLastGigahertzExpandingCosmicWindow];
        }];
    }
}


- (void)heartFractionRuleButRingOwnAction {
    UsageNotAnyBigViewController *purpleBigNot = [UsageNotAnyBigViewController new];
    purpleBigNot.tryGreekEnd = @(YES);
    purpleBigNot.postLoveRight = self.postLoveRight;
    [purpleBigNot setKilogramsStairProminentDisappearChain:^(BOOL result) {
        self.waxExpectSexLabel.saveTimeEndTap = result;
    }];
    [self.navigationController pushViewController:purpleBigNot animated:NO];
}

- (void)dealloc {
    [self.lawAmountButton ignoresBlobTriggersRingUpdate];
}
@end
