






#import "DeviceSumViewController.h"
#import "EraEstonianButton.h"
#import "RawSpaTradStopViewController.h"
#import "SpaToast.h"
#import "StepCommandLabel.h"
#import "WasDecodeTextField.h"
#import "NSString+NeverRank.h"

@interface DeviceSumViewController ()

@property (nonatomic, strong) WasDecodeTextField *nearWorkingTextField;
@property (nonatomic, strong) UITextField *kelvinFixTextField;
@property (nonatomic, strong) EraEstonianButton *formSpellButton;
@property (nonatomic,strong) StepCommandLabel *breakOpenSumLabel;

@end

@implementation DeviceSumViewController

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

- (StepCommandLabel *)breakOpenSumLabel {
    if (!_breakOpenSumLabel) {
        _breakOpenSumLabel = [StepCommandLabel slowBadPinOffLabel:NO];
    }
    return _breakOpenSumLabel;
}

- (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.compoundZone);
        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.bouncePlayBitFarLoop 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);
    }];
    
    
    UIButton *serifFrontAreButton = [RowAirFloor eitherPlanarUtilitiesDegreesManganeseColor:RowAirFloor.iconYellowCube.chapterArmClosureBrowsingAlbanianSigner];
    [serifFrontAreButton addTarget:self action:@selector(volatileBufferedHitAdditionBufferingAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:serifFrontAreButton];
    [serifFrontAreButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.kelvinFixTextField.mas_bottom).offset(RowAirFloor.loveHitOrder.compoundZone);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.forBayerPull);
        make.right.mas_equalTo(-RowAirFloor.loveHitOrder.forBayerPull);
        make.height.mas_equalTo(RowAirFloor.loveHitOrder.tryScaleAxes);
    }];
    
    [self.view addSubview:self.breakOpenSumLabel];
    [self.breakOpenSumLabel setPairIntentsManHitArchiveNot:^{
        schemeCup(self);
        [self injectionAppendedAsteriskDanishSecondAdoptAction];
    }];
    [self.breakOpenSumLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-RowAirFloor.loveHitOrder.saveBlackFar);
        make.left.mas_equalTo(RowAirFloor.loveHitOrder.timeCreation);
        make.right.mas_equalTo(-RowAirFloor.loveHitOrder.timeCreation);
    }];
}

- (void)volatileBufferedHitAdditionBufferingAction:(UIButton *)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;
    }
    NSString *floatEchoCode = self.nearWorkingTextField.ownBookEraMost;
    NSString *passiveMust = self.nearWorkingTextField.headsetBeginningOxygenBackupFunctions;
    if ([self.withinDecline respondsToSelector:@selector(literalDomainTextualAndHeadlineCellMenuMid:code:overCode:completion:)]) {
        [FlowTenKitView drumDrivePostWindow];
        [self.withinDecline literalDomainTextualAndHeadlineCellMenuMid:passiveMust code:self.kelvinFixTextField.text overCode:floatEchoCode completion:^(id object) {
            [FlowTenKitView speakIllTorchSockUnwindWindow];
        }];
    }
}


- (void)injectionAppendedAsteriskDanishSecondAdoptAction {
    RawSpaTradStopViewController *expandWayFax = [RawSpaTradStopViewController new];
    expandWayFax.boxInfinity = @(YES);
    expandWayFax.withinDecline = self.withinDecline;
    [expandWayFax setAppearingTagCoercionHurricaneChloride:^(BOOL result) {
        self.breakOpenSumLabel.basicUnwinding = result;
    }];
    [self.navigationController pushViewController:expandWayFax animated:NO];
}

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