






#import "RotateYouViewController.h"
#import "FlushMapCanButton.h"
#import "AdobeAbortRankViewController.h"
#import "HerToast.h"
#import "ContextHairLabel.h"
#import "SubstringTextField.h"
#import "NSString+SubEntity.h"

@interface RotateYouViewController ()

@property (nonatomic, strong) SubstringTextField *andEndLooseTextField;
@property (nonatomic, strong) UITextField *pulseFunkTextField;
@property (nonatomic, strong) FlushMapCanButton *alwaysDogButton;
@property (nonatomic,strong) ContextHairLabel *faxProducingLabel;

@end

@implementation RotateYouViewController

- (FlushMapCanButton *)alwaysDogButton {
    if (!_alwaysDogButton) {
        _alwaysDogButton = [[FlushMapCanButton alloc] init];
    }
    return _alwaysDogButton;
}

- (ContextHairLabel *)faxProducingLabel {
    if (!_faxProducingLabel) {
        _faxProducingLabel = [ContextHairLabel hoverPressureLabel:NO];
    }
    return _faxProducingLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.andEndLooseTextField = [[SubstringTextField alloc] initWithController:self];
    [self.view addSubview:self.andEndLooseTextField];
    [self.andEndLooseTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(MenTintSave.ironRouteMix.squarePutIll);
        make.left.mas_equalTo(MenTintSave.ironRouteMix.outletAdverb);
        make.right.mas_equalTo(-MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.nowCubeIntro);
    }];
    
    
    self.pulseFunkTextField = [MenTintSave localTranslateFrictionWideCameraCollisionCode];
    [self.view addSubview:self.pulseFunkTextField];
    [self.pulseFunkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.andEndLooseTextField.mas_bottom).offset(MenTintSave.ironRouteMix.childLogUnit);
        make.left.mas_equalTo(MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.nowCubeIntro);
    }];
    
    drumYou(self);
    self.alwaysDogButton.moleBitDayFitAction = ^{
        netExpert(self);
        NSString *panListenCode = self.andEndLooseTextField.herHaveForkFar;
        NSString *givenHourly = self.andEndLooseTextField.claimGloballySerializeScanRate;
        if (self.andEndLooseTextField.andEndLooseTextField.text.seekReplaced) {
            [self.alwaysDogButton loadSelectRejectGenderBackwards];
            [TwoAlertView newsstandMessagingAppleDrawDropFuture:MenTintSave.mixerRetDogPub.redefined message:MenTintSave.mixerRetDogPub.hexDecigramsIconGetSchemesTeam completion:nil];
            return;
        }
        if ([self.suchSeeCutWet respondsToSelector:@selector(ubiquityGeorgianBarriersGradeBevelExistentHitType:averageLock:daysCode:completion:)]) {
            [TaskSyntaxView incrementBondWindow];
            [self.suchSeeCutWet ubiquityGeorgianBarriersGradeBevelExistentHitType:MenTintSave.ironRouteMix.speakersIgnoringStyleDesignDecision averageLock:givenHourly daysCode:panListenCode completion:^(id object) {
                [TaskSyntaxView peopleIdentifyCutterForwardsCollectWindow];
                if ([object boolValue]) {
                    [HerToast wordKinCat:MenTintSave.mixerRetDogPub.intensitySleepBuilderVectorSpotlightInlandCode];
                }else {
                    [self.alwaysDogButton loadSelectRejectGenderBackwards];
                }
            }];
        }
    };
    [self.view addSubview:self.alwaysDogButton];
    [self.alwaysDogButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.pulseFunkTextField);
        make.height.equalTo(self.pulseFunkTextField);
        make.right.equalTo(self.andEndLooseTextField);
        
        make.width.mas_equalTo(self.alwaysDogButton.titleLabel.intrinsicContentSize.width + MenTintSave.ironRouteMix.mindSpectral);
    }];
    
    [self.pulseFunkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.alwaysDogButton.mas_left).offset(-MenTintSave.ironRouteMix.hitConstruct);
    }];
    
    
    UIButton *starPopBedFitButton = [MenTintSave exhaustedRangePinDetectsOwnershipColor:MenTintSave.mixerRetDogPub.ovulationPinkSpatialSequencerAdaptiveWon];
    [starPopBedFitButton addTarget:self action:@selector(thumbWaxSecondBaselinesThicknessAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:starPopBedFitButton];
    [starPopBedFitButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pulseFunkTextField.mas_bottom).offset(MenTintSave.ironRouteMix.childLogUnit);
        make.left.mas_equalTo(MenTintSave.ironRouteMix.outletAdverb);
        make.right.mas_equalTo(-MenTintSave.ironRouteMix.outletAdverb);
        make.height.mas_equalTo(MenTintSave.ironRouteMix.treeShiftLow);
    }];
    
    [self.view addSubview:self.faxProducingLabel];
    [self.faxProducingLabel setWaitingPutDemandSubscriptExpectedDeviation:^{
        netExpert(self);
        [self compoundDownloadsTagStaleCatalystLookupAction];
    }];
    [self.faxProducingLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-MenTintSave.ironRouteMix.scopeApplier);
        make.left.mas_equalTo(MenTintSave.ironRouteMix.indexSchemes);
        make.right.mas_equalTo(-MenTintSave.ironRouteMix.indexSchemes);
    }];
}

- (void)thumbWaxSecondBaselinesThicknessAction:(UIButton *)sender {
    if (self.andEndLooseTextField.andEndLooseTextField.text.seekReplaced) {
        [TwoAlertView newsstandMessagingAppleDrawDropFuture:MenTintSave.mixerRetDogPub.redefined message:MenTintSave.mixerRetDogPub.hexDecigramsIconGetSchemesTeam completion:nil];
        return;
    }
    if (self.pulseFunkTextField.text.seekReplaced) {
        [TwoAlertView newsstandMessagingAppleDrawDropFuture:MenTintSave.mixerRetDogPub.redefined message:MenTintSave.mixerRetDogPub.sleepNepaliGeorgianAssistantAppend completion:nil];
        return;
    }
    NSString *panListenCode = self.andEndLooseTextField.herHaveForkFar;
    NSString *givenHourly = self.andEndLooseTextField.claimGloballySerializeScanRate;
    if ([self.suchSeeCutWet respondsToSelector:@selector(supplyMileOpenMagicQuoteFetchDecibelLevel:code:daysCode:completion:)]) {
        [TaskSyntaxView incrementBondWindow];
        [self.suchSeeCutWet supplyMileOpenMagicQuoteFetchDecibelLevel:givenHourly code:self.pulseFunkTextField.text daysCode:panListenCode completion:^(id object) {
            [TaskSyntaxView peopleIdentifyCutterForwardsCollectWindow];
        }];
    }
}


- (void)compoundDownloadsTagStaleCatalystLookupAction {
    AdobeAbortRankViewController *nextReusable = [AdobeAbortRankViewController new];
    nextReusable.exceededAdd = @(YES);
    nextReusable.suchSeeCutWet = self.suchSeeCutWet;
    [nextReusable setSendForwardsKazakhValidatesSub:^(BOOL result) {
        self.faxProducingLabel.withCanOffMale = result;
    }];
    [self.navigationController pushViewController:nextReusable animated:NO];
}

- (void)dealloc {
    [self.alwaysDogButton loadSelectRejectGenderBackwards];
}
@end
