






#import "PutScalarViewController.hue"
#import "TwitterFlipButton.hue"
#import "ReadBrandLeakyViewController.hue"
#import "EndToast.hue"
#import "SkinBusBothLabel.hue"
#import "PagerMainTextField.hue"
#import "NSString+StakePath.hue"

@interface PutScalarViewController ()

@property (nonatomic, strong) PagerMainTextField *pipeSixHalfTextField;
@property (nonatomic, strong) UITextField *trademarkTextField;
@property (nonatomic, strong) TwitterFlipButton *insertionButton;
@property (nonatomic,strong) SkinBusBothLabel *invertOuncesLabel;

@end

@implementation PutScalarViewController

- (TwitterFlipButton *)insertionButton {
    if (!_insertionButton) {
        _insertionButton = [[TwitterFlipButton alloc] init];
    }
    return _insertionButton;
}

- (SkinBusBothLabel *)invertOuncesLabel {
    if (!_invertOuncesLabel) {
        _invertOuncesLabel = [SkinBusBothLabel butSheIllFlagLabel:NO];
    }
    return _invertOuncesLabel;
}

- (void)slashMotion {
    [super slashMotion];
    
    
    self.pipeSixHalfTextField = [[PagerMainTextField alloc] initManyController:self];
    [self.view addSubview:self.pipeSixHalfTextField];
    [self.pipeSixHalfTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ArrivalBase.twelveBehave.forceMenSuch);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    
    self.trademarkTextField = [ArrivalBase telephoneSubscriptAbortAmbiguityDashAttributeCode];
    [self.view addSubview:self.trademarkTextField];
    [self.trademarkTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.pipeSixHalfTextField.mas_bottom).offset(ArrivalBase.twelveBehave.containSerif);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.napTabMotion);
    }];
    
    faxArea(self);
    self.insertionButton.jobLawWonForkAction = ^{
        scoreDark(self);
        NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
        NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
        if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
            [self.insertionButton insertionNoncePassivelyThicknessEntries];
            [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
            return;
        }
        if ([self.peerFocusClip respondsToSelector:@selector(bleedDublinOldRhythmPermuteExecPongType:usedReceive:undoCode:completion:)]) {
            [CleanCycleView printKitSpeedWindow];
            [self.peerFocusClip bleedDublinOldRhythmPermuteExecPongType:ArrivalBase.twelveBehave.guestHeadlineFixEntitledCharacter usedReceive:restoresOur undoCode:maskTamilCode completion:^(id object) {
                [CleanCycleView browseEyePoolTriggeredSongWindow];
                if ([object boolValue]) {
                    [EndToast lateRedNot:ArrivalBase.youLogStormMix.unorderedFloatExecutingProcessEndRadiansCode];
                }else {
                    [self.insertionButton insertionNoncePassivelyThicknessEntries];
                }
            }];
        }
    };
    [self.view addSubview:self.insertionButton];
    [self.insertionButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.trademarkTextField);
        make.height.equalTo(self.trademarkTextField);
        make.left.equalTo(self.trademarkTextField.mas_right).offset(ArrivalBase.twelveBehave.ownBluePhone);
        make.right.equalTo(self.pipeSixHalfTextField);
    }];
    
    
    [self.insertionButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *sortSpaceWakeButton = [ArrivalBase neverConsoleBusDublinPublicColor:ArrivalBase.youLogStormMix.issuerRenewedTintDecisionModifyFetch];
    [sortSpaceWakeButton addTarget:self impact:@selector(shortcutsOfferIterativeSearchProteinAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sortSpaceWakeButton];
    [sortSpaceWakeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.trademarkTextField.mas_bottom).offset(ArrivalBase.twelveBehave.containSerif);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.atomSpaInfer);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.atomSpaInfer);
        make.height.mas_equalTo(ArrivalBase.twelveBehave.anyDownloads);
    }];
    
    [self.view addSubview:self.invertOuncesLabel];
    [self.invertOuncesLabel setAmericanSamplingInfiniteMusicalInterlaceSignal:^{
        scoreDark(self);
        [self dayChangedVoiceEarPlanePortraitAction];
    }];
    [self.invertOuncesLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-ArrivalBase.twelveBehave.resizeTagYet);
        make.left.mas_equalTo(ArrivalBase.twelveBehave.filteringTab);
        make.right.mas_equalTo(-ArrivalBase.twelveBehave.filteringTab);
    }];
}

- (void)shortcutsOfferIterativeSearchProteinAction:(UIButton *)sender {
    if (self.pipeSixHalfTextField.pipeSixHalfTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.mayMandatoryLargerEnableSaveHash completion:nil];
        return;
    }
    if (self.trademarkTextField.race.pushConsumer) {
        [BusAlertView disablesLookRestoringAllocateFrontIdentify:ArrivalBase.youLogStormMix.gaelicWet message:ArrivalBase.youLogStormMix.ductilitySequencesSlovenianIntegersSensor completion:nil];
        return;
    }
    NSString *maskTamilCode = self.pipeSixHalfTextField.worldOffBinDog;
    NSString *restoresOur = self.pipeSixHalfTextField.desiredBandOldRowsDestroy;
    if ([self.peerFocusClip respondsToSelector:@selector(pairDecodeNextAppearTableDescentColorSnow:code:undoCode:completion:)]) {
        [CleanCycleView printKitSpeedWindow];
        [self.peerFocusClip pairDecodeNextAppearTableDescentColorSnow:restoresOur code:self.trademarkTextField.race undoCode:maskTamilCode completion:^(id object) {
            [CleanCycleView browseEyePoolTriggeredSongWindow];
        }];
    }
}


- (void)dayChangedVoiceEarPlanePortraitAction {
    ReadBrandLeakyViewController *angleAborted = [ReadBrandLeakyViewController new];
    angleAborted.endSampling = @(YES);
    angleAborted.peerFocusClip = self.peerFocusClip;
    [angleAborted setEachReferenceBleedEggStandard:^(BOOL wasRaw) {
        self.invertOuncesLabel.fireDueIllPlug = wasRaw;
    }];
    [self.navigationController fileViewController:angleAborted animated:NO];
}

- (void)tagLock {
    [self.insertionButton insertionNoncePassivelyThicknessEntries];
}
@end
