






#import "LossyFeedViewController.h"
#import "CertEggEachButton.h"
#import "CapsYouLowHaveViewController.h"
#import "KitToast.h"
#import "MealRetYardLabel.h"
#import "BeatCaretTextField.h"
#import "NSString+EvictFile.h"

@interface LossyFeedViewController ()

@property (nonatomic, strong) BeatCaretTextField *charHisHangTextField;
@property (nonatomic, strong) UITextField *theRepairTextField;
@property (nonatomic, strong) CertEggEachButton *tenShrinkButton;
@property (nonatomic,strong) MealRetYardLabel *brownLoadFarLabel;

@end

@implementation LossyFeedViewController

- (CertEggEachButton *)tenShrinkButton {
    if (!_tenShrinkButton) {
        _tenShrinkButton = [[CertEggEachButton alloc] init];
    }
    return _tenShrinkButton;
}

- (MealRetYardLabel *)brownLoadFarLabel {
    if (!_brownLoadFarLabel) {
        _brownLoadFarLabel = [MealRetYardLabel lawFaxJumpOwnLabel:NO];
    }
    return _brownLoadFarLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.charHisHangTextField = [[BeatCaretTextField alloc] initWithController:self];
    [self.view addSubview:self.charHisHangTextField];
    [self.charHisHangTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(OutTapPlain.parentMixMay.markReleased);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    
    
    self.theRepairTextField = [OutTapPlain oldSmoothInstantEncodingCreateIcyCode];
    [self.view addSubview:self.theRepairTextField];
    [self.theRepairTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.charHisHangTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hasWasHigher);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.thirteenHigh);
    }];
    
    spaBike(self);
    self.tenShrinkButton.truncatedLastAction = ^{
        parserWin(self);
        NSString *tildeChatCode = self.charHisHangTextField.recentUsedLine;
        NSString *startupHelp = self.charHisHangTextField.globalPhoneUnsignedPassSide;
        if (self.charHisHangTextField.charHisHangTextField.text.twoWonBypass) {
            [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
            [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.axialShelfUniqueHeadsetContainedThree completion:nil];
            return;
        }
        if ([self.imageChatFilm respondsToSelector:@selector(generatorAboutCoalescedNodeMoireArmourMapType:sexEntities:failCode:completion:)]) {
            [ManButThinView instantSubmitWindow];
            [self.imageChatFilm generatorAboutCoalescedNodeMoireArmourMapType:OutTapPlain.parentMixMay.cleanTransposeFrictionExtrasTrigger sexEntities:startupHelp failCode:tildeChatCode completion:^(id object) {
                [ManButThinView discardedEsperantoExternalAnimationPluralWindow];
                if ([object boolValue]) {
                    [KitToast sexFaxHeap:OutTapPlain.loudMeterMount.textButFocusingMaxRouteNowCode];
                }else {
                    [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
                }
            }];
        }
    };
    [self.view addSubview:self.tenShrinkButton];
    [self.tenShrinkButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.theRepairTextField);
        make.height.equalTo(self.theRepairTextField);
        make.right.equalTo(self.charHisHangTextField);
        
        make.width.mas_equalTo(self.tenShrinkButton.titleLabel.intrinsicContentSize.width + OutTapPlain.parentMixMay.sandboxTamil);
    }];
    
    [self.theRepairTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.tenShrinkButton.mas_left).offset(-OutTapPlain.parentMixMay.gaussianOver);
    }];
    
    
    UIButton *curveTempBoldButton = [OutTapPlain busIndoorTableDrizzleAwayColor:OutTapPlain.loudMeterMount.oneDimensionWatchOutlineEventShot];
    [curveTempBoldButton addTarget:self action:@selector(butEggSendHourlyAddAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:curveTempBoldButton];
    [curveTempBoldButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.theRepairTextField.mas_bottom).offset(OutTapPlain.parentMixMay.hasWasHigher);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.takeWhiteArm);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.takeWhiteArm);
        make.height.mas_equalTo(OutTapPlain.parentMixMay.tooTabMetric);
    }];
    
    [self.view addSubview:self.brownLoadFarLabel];
    [self.brownLoadFarLabel setAllAnimatedHerTapPageAnimate:^{
        parserWin(self);
        [self dueHangUrgentCustomTamilUpperAction];
    }];
    [self.brownLoadFarLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-OutTapPlain.parentMixMay.realSonTotal);
        make.left.mas_equalTo(OutTapPlain.parentMixMay.transformFit);
        make.right.mas_equalTo(-OutTapPlain.parentMixMay.transformFit);
    }];
}

- (void)butEggSendHourlyAddAction:(UIButton *)sender {
    if (self.charHisHangTextField.charHisHangTextField.text.twoWonBypass) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.axialShelfUniqueHeadsetContainedThree completion:nil];
        return;
    }
    if (self.theRepairTextField.text.twoWonBypass) {
        [SixAlertView eventPutJapaneseMoodEraAlarm:OutTapPlain.loudMeterMount.scrolling message:OutTapPlain.loudMeterMount.compoundBecomeViabilityAutomaticPrice completion:nil];
        return;
    }
    NSString *tildeChatCode = self.charHisHangTextField.recentUsedLine;
    NSString *startupHelp = self.charHisHangTextField.globalPhoneUnsignedPassSide;
    if ([self.imageChatFilm respondsToSelector:@selector(substringPopDaughtersSwashesWebpageLearnedCloseMetal:code:failCode:completion:)]) {
        [ManButThinView instantSubmitWindow];
        [self.imageChatFilm substringPopDaughtersSwashesWebpageLearnedCloseMetal:startupHelp code:self.theRepairTextField.text failCode:tildeChatCode completion:^(id object) {
            [ManButThinView discardedEsperantoExternalAnimationPluralWindow];
        }];
    }
}


- (void)dueHangUrgentCustomTamilUpperAction {
    CapsYouLowHaveViewController *thatAperture = [CapsYouLowHaveViewController new];
    thatAperture.runServices = @(YES);
    thatAperture.imageChatFilm = self.imageChatFilm;
    [thatAperture setEchoPrefixedKitInitialPencil:^(BOOL result) {
        self.brownLoadFarLabel.statePassDelay = result;
    }];
    [self.navigationController pushViewController:thatAperture animated:NO];
}

- (void)dealloc {
    [self.tenShrinkButton lazyGigabytesBirthdayLargestSlash];
}
@end
