






#import "FactPinchViewController.h"
#import "SayHertzZipButton.h"
#import "ChromaticWidthViewController.h"
#import "ZipToast.h"
#import "TabCarThemeLabel.h"
#import "ArmpitSinTextField.h"
#import "NSString+OrderReal.h"

@interface FactPinchViewController ()

@property (nonatomic, strong) ArmpitSinTextField *dogCountingTextField;
@property (nonatomic, strong) UITextField *scanPlaneTextField;
@property (nonatomic, strong) SayHertzZipButton *otherTiedButton;
@property (nonatomic,strong) TabCarThemeLabel *launchingRedLabel;

@end

@implementation FactPinchViewController

- (SayHertzZipButton *)otherTiedButton {
    if (!_otherTiedButton) {
        _otherTiedButton = [[SayHertzZipButton alloc] init];
    }
    return _otherTiedButton;
}

- (TabCarThemeLabel *)launchingRedLabel {
    if (!_launchingRedLabel) {
        _launchingRedLabel = [TabCarThemeLabel forkFloatAwayLabel:NO];
    }
    return _launchingRedLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.dogCountingTextField = [[ArmpitSinTextField alloc] initWithController:self];
    [self.view addSubview:self.dogCountingTextField];
    [self.dogCountingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(DueIcyFetch.itsPosterIcy.pingMouseSum);
        make.left.mas_equalTo(DueIcyFetch.itsPosterIcy.flowStrategy);
        make.right.mas_equalTo(-DueIcyFetch.itsPosterIcy.flowStrategy);
        make.height.mas_equalTo(DueIcyFetch.itsPosterIcy.operandPiece);
    }];
    
    
    self.scanPlaneTextField = [DueIcyFetch bitmapHueDelayedLazySuchEmptyCode];
    [self.view addSubview:self.scanPlaneTextField];
    [self.scanPlaneTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.dogCountingTextField.mas_bottom).offset(DueIcyFetch.itsPosterIcy.recoveredLow);
        make.left.mas_equalTo(DueIcyFetch.itsPosterIcy.flowStrategy);
        make.height.mas_equalTo(DueIcyFetch.itsPosterIcy.operandPiece);
    }];
    
    glucose(self);
    self.otherTiedButton.logItsInvitedAction = ^{
        mixTriple(self);
        NSString *secretFarCode = self.dogCountingTextField.popMayWinBuild;
        NSString *longerIdiom = self.dogCountingTextField.lacrosseEnteredDomainsJustHyphens;
        if (self.dogCountingTextField.dogCountingTextField.text.icyAreDigest) {
            [self.otherTiedButton desktopLeapAnalysisCatalogElement];
            [SinAlertView pubPromisedSmartWaySettlingDecrypted:DueIcyFetch.catBaseSinFill.systemHex message:DueIcyFetch.catBaseSinFill.boundListenersGraphicsHybridAwakeShow completion:nil];
            return;
        }
        if ([self.sinHyphensOpt respondsToSelector:@selector(flatBandwidthClampDiscardedStepTrustLiveType:earCycleMin:thatCode:completion:)]) {
            [BinaryBankView napSumMixNextWindow];
            [self.sinHyphensOpt flatBandwidthClampDiscardedStepTrustLiveType:DueIcyFetch.itsPosterIcy.titleAlongLineDismissedVision earCycleMin:longerIdiom thatCode:secretFarCode completion:^(id object) {
                [BinaryBankView lessNoteGlucoseProminentBufferWindow];
                if ([object boolValue]) {
                    [ZipToast dryFaxOnce:DueIcyFetch.catBaseSinFill.millChannelsOceanArmAllowableBuilderCode];
                }else {
                    [self.otherTiedButton desktopLeapAnalysisCatalogElement];
                }
            }];
        }
    };
    [self.view addSubview:self.otherTiedButton];
    [self.otherTiedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.scanPlaneTextField);
        make.height.equalTo(self.scanPlaneTextField);
        make.left.equalTo(self.scanPlaneTextField.mas_right).offset(DueIcyFetch.itsPosterIcy.netIndianFat);
        make.right.equalTo(self.dogCountingTextField);
    }];
    
    
    [self.otherTiedButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *mildRadixIronButton = [DueIcyFetch expertNetBitsSplatHeaderColor:DueIcyFetch.catBaseSinFill.sliderExtendingKilometerDashObjectCurl];
    [mildRadixIronButton addTarget:self action:@selector(bookmarkReductionFaeroeseProposedSmallAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:mildRadixIronButton];
    [mildRadixIronButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.scanPlaneTextField.mas_bottom).offset(DueIcyFetch.itsPosterIcy.recoveredLow);
        make.left.mas_equalTo(DueIcyFetch.itsPosterIcy.flowStrategy);
        make.right.mas_equalTo(-DueIcyFetch.itsPosterIcy.flowStrategy);
        make.height.mas_equalTo(DueIcyFetch.itsPosterIcy.pascalTipTab);
    }];
    
    [self.view addSubview:self.launchingRedLabel];
    [self.launchingRedLabel setNoticeBitsCalculateStaleClusterRear:^{
        mixTriple(self);
        [self captionStarMorePreviousParsecsSystolicAction];
    }];
    [self.launchingRedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-DueIcyFetch.itsPosterIcy.descendedOur);
        make.left.mas_equalTo(DueIcyFetch.itsPosterIcy.ascentListen);
        make.right.mas_equalTo(-DueIcyFetch.itsPosterIcy.ascentListen);
    }];
}

- (void)bookmarkReductionFaeroeseProposedSmallAction:(UIButton *)sender {
    if (self.dogCountingTextField.dogCountingTextField.text.icyAreDigest) {
        [SinAlertView pubPromisedSmartWaySettlingDecrypted:DueIcyFetch.catBaseSinFill.systemHex message:DueIcyFetch.catBaseSinFill.boundListenersGraphicsHybridAwakeShow completion:nil];
        return;
    }
    if (self.scanPlaneTextField.text.icyAreDigest) {
        [SinAlertView pubPromisedSmartWaySettlingDecrypted:DueIcyFetch.catBaseSinFill.systemHex message:DueIcyFetch.catBaseSinFill.sortSerbianOlympusClimbedPan completion:nil];
        return;
    }
    NSString *secretFarCode = self.dogCountingTextField.popMayWinBuild;
    NSString *longerIdiom = self.dogCountingTextField.lacrosseEnteredDomainsJustHyphens;
    if ([self.sinHyphensOpt respondsToSelector:@selector(reusableRetryCookieBlockReductionTextKilogramBin:code:thatCode:completion:)]) {
        [BinaryBankView napSumMixNextWindow];
        [self.sinHyphensOpt reusableRetryCookieBlockReductionTextKilogramBin:longerIdiom code:self.scanPlaneTextField.text thatCode:secretFarCode completion:^(id object) {
            [BinaryBankView lessNoteGlucoseProminentBufferWindow];
        }];
    }
}


- (void)captionStarMorePreviousParsecsSystolicAction {
    ChromaticWidthViewController *traitBlurKey = [ChromaticWidthViewController new];
    traitBlurKey.weeklySpeed = @(YES);
    traitBlurKey.sinHyphensOpt = self.sinHyphensOpt;
    [traitBlurKey setCleanQueueThermalViabilitySlashes:^(BOOL result) {
        self.launchingRedLabel.indexesRefined = result;
    }];
    [self.navigationController pushViewController:traitBlurKey animated:NO];
}

- (void)dealloc {
    [self.otherTiedButton desktopLeapAnalysisCatalogElement];
}
@end
