






#import "CupLargerViewController.h"
#import "EraEstonianButton.h"
#import "SpaToast.h"
#import "WasDecodeTextField.h"
#import "NSString+NeverRank.h"

@interface CupLargerViewController ()

@property (nonatomic, strong) WasDecodeTextField *nearWorkingTextField;
@property (nonatomic, strong) UITextField *kelvinFixTextField;
@property (nonatomic, strong) UITextField *loveTimeSugarTextField;
@property (nonatomic, strong) EraEstonianButton *formSpellButton;
@end

@implementation CupLargerViewController

- (EraEstonianButton *)formSpellButton {
    if (!_formSpellButton) {
        _formSpellButton = [[EraEstonianButton alloc] init];
    }
    return _formSpellButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.nearWorkingTextField = [[WasDecodeTextField alloc] initWithController:self];
    [self.view addSubview:self.nearWorkingTextField];
    [self.nearWorkingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(RowAirFloor.loveHitOrder.dryPoolSlope);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.forBayerPull);
        make.right.mas_equalTo(-RowAirFloor.loveHitOrder.forBayerPull);
        make.height.mas_equalTo(RowAirFloor.loveHitOrder.earlyCompile);
    }];
    
    
    self.kelvinFixTextField = [RowAirFloor blueGetBusRadioLaotianPenCode];
    [self.view addSubview:self.kelvinFixTextField];
    [self.kelvinFixTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.nearWorkingTextField.mas_bottom).offset(RowAirFloor.loveHitOrder.reactorSelf);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.forBayerPull);
        make.height.mas_equalTo(RowAirFloor.loveHitOrder.earlyCompile);
    }];
    
    notDays(self);
    self.formSpellButton.dismissalMaleAction = ^{
        schemeCup(self);
        
        NSString *floatEchoCode = self.nearWorkingTextField.ownBookEraMost;
        NSString *passiveMust = self.nearWorkingTextField.headsetBeginningOxygenBackupFunctions;
        if (self.nearWorkingTextField.nearWorkingTextField.text.petabytesFix) {
            [self.formSpellButton escapedSpaceUpperInfinityDomains];
            [TenAlertView temporalChangingOwnYouArabicResolving:RowAirFloor.iconYellowCube.searchIcy message:RowAirFloor.iconYellowCube.invertedOwnPointRootFeedbackPlay completion:nil];
            return;
        }
        if ([self.withinDecline respondsToSelector:@selector(arabicBeganAutoDownloadLowBloodSignerType:editorsMove:overCode:completion:)]) {
            [FlowTenKitView drumDrivePostWindow];
            [self.withinDecline arabicBeganAutoDownloadLowBloodSignerType:RowAirFloor.loveHitOrder.englishDeepInjectionProvisionMegabits editorsMove:passiveMust overCode:floatEchoCode completion:^(id object) {
                [FlowTenKitView speakIllTorchSockUnwindWindow];
                if ([object boolValue]) {
                    [SpaToast tapsLogNap:RowAirFloor.iconYellowCube.reportHellmanLigaturesIncomingItemSameCode];
                }else {
                    [self.formSpellButton escapedSpaceUpperInfinityDomains];
                }
            }];
        }
    };
    [self.view addSubview:self.formSpellButton];
    [self.formSpellButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.kelvinFixTextField);
        make.height.equalTo(self.kelvinFixTextField);
        make.right.equalTo(self.nearWorkingTextField);
        
        make.width.mas_equalTo(self.formSpellButton.titleLabel.intrinsicContentSize.width + RowAirFloor.loveHitOrder.coachedSleep);
    }];
    
    [self.kelvinFixTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.formSpellButton.mas_left).offset(-RowAirFloor.loveHitOrder.portalHexFun);
    }];
    
    
    self.loveTimeSugarTextField = [RowAirFloor imperialVowelLocatorCircularSexualPassword:YES];
    [self.view addSubview:self.loveTimeSugarTextField];
    [self.loveTimeSugarTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.kelvinFixTextField.mas_bottom).offset(RowAirFloor.loveHitOrder.reactorSelf);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.forBayerPull);
        make.right.mas_equalTo(-RowAirFloor.loveHitOrder.forBayerPull);
        make.height.mas_equalTo(RowAirFloor.loveHitOrder.earlyCompile);
    }];
    UIButton *geometryButton = self.loveTimeSugarTextField.rightView.subviews.firstObject;
    [geometryButton addTarget:self action:@selector(ourGeneratorLowLateItemCacheHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *keysMayTintButton = [RowAirFloor eitherPlanarUtilitiesDegreesManganeseColor:RowAirFloor.iconYellowCube.yardScannerKey];
    [keysMayTintButton addTarget:self action:@selector(disablesDidDesignThePermuteAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:keysMayTintButton];
    [keysMayTintButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.loveTimeSugarTextField.mas_bottom).offset(RowAirFloor.loveHitOrder.reactorSelf);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.forBayerPull);
        make.right.mas_equalTo(-RowAirFloor.loveHitOrder.forBayerPull);
        make.height.mas_equalTo(RowAirFloor.loveHitOrder.tryScaleAxes);
    }];
}
- (void)ourGeneratorLowLateItemCacheHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.loveTimeSugarTextField.secureTextEntry = !self.loveTimeSugarTextField.isSecureTextEntry;
}

- (void)disablesDidDesignThePermuteAction:(id)sender {
    if (self.nearWorkingTextField.nearWorkingTextField.text.petabytesFix) {
        [TenAlertView temporalChangingOwnYouArabicResolving:RowAirFloor.iconYellowCube.searchIcy message:RowAirFloor.iconYellowCube.invertedOwnPointRootFeedbackPlay completion:nil];
        return;
    }
    if (self.kelvinFixTextField.text.petabytesFix) {
        [TenAlertView temporalChangingOwnYouArabicResolving:RowAirFloor.iconYellowCube.searchIcy message:RowAirFloor.iconYellowCube.albanianDisableVowelLearnedOdd completion:nil];
        return;
    }
    if (self.loveTimeSugarTextField.text.length < RowAirFloor.loveHitOrder.transitPost) {
        [TenAlertView temporalChangingOwnYouArabicResolving:RowAirFloor.iconYellowCube.searchIcy message:RowAirFloor.iconYellowCube.partlyDragDueBatteryManagerStack completion:nil];
        return;
    }
    NSString *floatEchoCode = self.nearWorkingTextField.ownBookEraMost;
    NSString *passiveMust = self.nearWorkingTextField.headsetBeginningOxygenBackupFunctions;
    if ([self.withinDecline respondsToSelector:@selector(convertAnimatedDuctilityThermalNapRectifiedInsert:code:overCode:dueKey:completion:)]) {
        [FlowTenKitView drumDrivePostWindow];
        [self.withinDecline convertAnimatedDuctilityThermalNapRectifiedInsert:passiveMust code:self.kelvinFixTextField.text overCode:floatEchoCode dueKey:self.loveTimeSugarTextField.text completion:^(id object) {
            [FlowTenKitView speakIllTorchSockUnwindWindow];
            [SpaToast tapsLogNap:RowAirFloor.iconYellowCube.funPeriodSkipPinFinal];
            if (object) {
                [self.lightTapRowDelegate gravitySmallerDryResourceEncipherWithName:object paperTheArmPassword:self.loveTimeSugarTextField.text];
                [self panContentOptProductsGroupedAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.formSpellButton escapedSpaceUpperInfinityDomains];
}
@end
