






#import "WasLaunchViewController.h"
#import "SlashEntityButton.h"
#import "MealPeakSoccerViewController.h"
#import "ArtToast.h"
#import "LibraryThinLabel.h"
#import "TooMinderTextField.h"
#import "NSString+DanishOff.h"

@interface WasLaunchViewController ()

@property (nonatomic, strong) TooMinderTextField *useRotatingTextField;
@property (nonatomic, strong) UITextField *eventPoolTextField;
@property (nonatomic, strong) SlashEntityButton *variablesButton;
@property (nonatomic,strong) LibraryThinLabel *andExclusiveLabel;

@end

@implementation WasLaunchViewController

- (SlashEntityButton *)variablesButton {
    if (!_variablesButton) {
        _variablesButton = [[SlashEntityButton alloc] init];
    }
    return _variablesButton;
}

- (LibraryThinLabel *)andExclusiveLabel {
    if (!_andExclusiveLabel) {
        _andExclusiveLabel = [LibraryThinLabel welshShearHowLabel:NO];
    }
    return _andExclusiveLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.useRotatingTextField = [[TooMinderTextField alloc] initWithController:self];
    [self.view addSubview:self.useRotatingTextField];
    [self.useRotatingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ApplyToggle.findSwipeOur.ringRetStill);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.extentTryOdd);
    }];
    
    
    self.eventPoolTextField = [ApplyToggle dutchAccountHexArtistQualifierPatternsCode];
    [self.view addSubview:self.eventPoolTextField];
    [self.eventPoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.useRotatingTextField.mas_bottom).offset(ApplyToggle.findSwipeOur.ubiquityDraw);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.extentTryOdd);
    }];
    
    theGain(self);
    self.variablesButton.holdTapSexRetAction = ^{
        vowelFile(self);
        NSString *cathedralCode = self.useRotatingTextField.farTwoModeEdga;
        NSString *saveTagIdle = self.useRotatingTextField.mediumHostingSectionLiterEsperanto;
        if (self.useRotatingTextField.useRotatingTextField.text.sampleLaunch) {
            [self.variablesButton decodingPlatformConverterCroatianVolumes];
            [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.replacedMixerStriationEngineerBoundingEgg completion:nil];
            return;
        }
        if ([self.mildWatchMask respondsToSelector:@selector(manualNothingSeekingInferEightPopNearType:planBackLow:infoCode:completion:)]) {
            [BuilderBoxView lessPanButBagWindow];
            [self.mildWatchMask manualNothingSeekingInferEightPopNearType:ApplyToggle.findSwipeOur.cupSchemesFailingRestAdverb planBackLow:saveTagIdle infoCode:cathedralCode completion:^(id object) {
                [BuilderBoxView ratioAddGainEightPhotosWindow];
                if ([object boolValue]) {
                    [ArtToast suffixNote:ApplyToggle.subDayEventDay.millionPrecisionAccessorySolutionsUpdateBinCode];
                }else {
                    [self.variablesButton decodingPlatformConverterCroatianVolumes];
                }
            }];
        }
    };
    [self.view addSubview:self.variablesButton];
    [self.variablesButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.eventPoolTextField);
        make.height.equalTo(self.eventPoolTextField);
        make.right.equalTo(self.useRotatingTextField);
        
        make.width.mas_equalTo(self.variablesButton.titleLabel.intrinsicContentSize.width + ApplyToggle.findSwipeOur.hexPackIntro);
    }];
    
    [self.eventPoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.variablesButton.mas_left).offset(-ApplyToggle.findSwipeOur.thatLeaseKin);
    }];
    
    
    UIButton *handballOwnerButton = [ApplyToggle audienceOwnerFixSoftwareCombiningColor:ApplyToggle.subDayEventDay.starHasExecutorCatalanCharacterPrivacy];
    [handballOwnerButton addTarget:self action:@selector(handballAwayCameraFactAirAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:handballOwnerButton];
    [handballOwnerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eventPoolTextField.mas_bottom).offset(ApplyToggle.findSwipeOur.ubiquityDraw);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.mergeBoxPort);
    }];
    
    [self.view addSubview:self.andExclusiveLabel];
    [self.andExclusiveLabel setExactCauseEmptyRemovesBirthIntegers:^{
        vowelFile(self);
        [self advisoryWidthRunFrequencyAlbanianDirectorAction];
    }];
    [self.andExclusiveLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-ApplyToggle.findSwipeOur.barSpaUnwrap);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.twoMenuShare);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.twoMenuShare);
    }];
}

- (void)handballAwayCameraFactAirAction:(UIButton *)sender {
    if (self.useRotatingTextField.useRotatingTextField.text.sampleLaunch) {
        [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.replacedMixerStriationEngineerBoundingEgg completion:nil];
        return;
    }
    if (self.eventPoolTextField.text.sampleLaunch) {
        [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.surfaceCorrectedImmediateRestingReturns completion:nil];
        return;
    }
    NSString *cathedralCode = self.useRotatingTextField.farTwoModeEdga;
    NSString *saveTagIdle = self.useRotatingTextField.mediumHostingSectionLiterEsperanto;
    if ([self.mildWatchMask respondsToSelector:@selector(bodyOnceBackFormatTagMutationsFreezingCrop:code:infoCode:completion:)]) {
        [BuilderBoxView lessPanButBagWindow];
        [self.mildWatchMask bodyOnceBackFormatTagMutationsFreezingCrop:saveTagIdle code:self.eventPoolTextField.text infoCode:cathedralCode completion:^(id object) {
            [BuilderBoxView ratioAddGainEightPhotosWindow];
        }];
    }
}


- (void)advisoryWidthRunFrequencyAlbanianDirectorAction {
    MealPeakSoccerViewController *dolbyPicture = [MealPeakSoccerViewController new];
    dolbyPicture.dayNorthPan = @(YES);
    dolbyPicture.mildWatchMask = self.mildWatchMask;
    [dolbyPicture setNewsstandNordicSegmentTibetanHome:^(BOOL result) {
        self.andExclusiveLabel.ropeScanChroma = result;
    }];
    [self.navigationController pushViewController:dolbyPicture animated:NO];
}

- (void)dealloc {
    [self.variablesButton decodingPlatformConverterCroatianVolumes];
}
@end
