






#import "DepthSiteViewController.h"
#import "DelayedHoldButton.h"
#import "FunToast.h"
#import "SayToggleTextField.h"
#import "NSString+HangExtra.h"

@interface DepthSiteViewController ()

@property (nonatomic, strong) SayToggleTextField *arrayLingerTextField;
@property (nonatomic, strong) UITextField *motionEarTextField;
@property (nonatomic, strong) UITextField *tempLossShortTextField;
@property (nonatomic, strong) DelayedHoldButton *logoAcuteButton;
@end

@implementation DepthSiteViewController

- (DelayedHoldButton *)logoAcuteButton {
    if (!_logoAcuteButton) {
        _logoAcuteButton = [[DelayedHoldButton alloc] init];
    }
    return _logoAcuteButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.arrayLingerTextField = [[SayToggleTextField alloc] initWithController:self];
    [self.view addSubview:self.arrayLingerTextField];
    [self.arrayLingerTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ReadWaxDash.strideFooter.theCoastSame);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.armenianPair);
    }];
    
    
    self.motionEarTextField = [ReadWaxDash insertionMaterialLessMildWarpLiveCode];
    [self.view addSubview:self.motionEarTextField];
    [self.motionEarTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.arrayLingerTextField.mas_bottom).offset(ReadWaxDash.strideFooter.bagPipeThin);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.armenianPair);
    }];
    
    seeUsed(self);
    self.logoAcuteButton.funLawBurmeseAction = ^{
        scalarNow(self);
        
        NSString *headGreenCode = self.arrayLingerTextField.mileBinRareDue;
        NSString *slabFunNear = self.arrayLingerTextField.outContactsFocusClinicalPrimaries;
        if (self.arrayLingerTextField.arrayLingerTextField.text.anchorsBatch) {
            [self.logoAcuteButton redoneHighlightDeepVariationCondition];
            [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.integrityRemainingVisitKeepElevationMix completion:nil];
            return;
        }
        if ([self.noiseAllowNap respondsToSelector:@selector(systemKilobytesBorderedStatementReturnBorderedClientsType:thumbLaunch:dropCode:completion:)]) {
            [TenJobJoinView nonceEmptyWinWindow];
            [self.noiseAllowNap systemKilobytesBorderedStatementReturnBorderedClientsType:ReadWaxDash.strideFooter.factRevealEffectiveLandscapeNecessary thumbLaunch:slabFunNear dropCode:headGreenCode completion:^(id object) {
                [TenJobJoinView lemmaHigherNapPressBitWindow];
                if ([object boolValue]) {
                    [FunToast dashDanish:ReadWaxDash.spaLiveIronTry.kinDoneMeasuredMinimalDayExportCode];
                }else {
                    [self.logoAcuteButton redoneHighlightDeepVariationCondition];
                }
            }];
        }
    };
    [self.view addSubview:self.logoAcuteButton];
    [self.logoAcuteButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.motionEarTextField);
        make.height.equalTo(self.motionEarTextField);
        make.right.equalTo(self.arrayLingerTextField);
        
        make.width.mas_equalTo(self.logoAcuteButton.titleLabel.intrinsicContentSize.width + ReadWaxDash.strideFooter.birthCarrier);
    }];
    
    [self.motionEarTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.logoAcuteButton.mas_left).offset(-ReadWaxDash.strideFooter.slovenianCan);
    }];
    
    
    self.tempLossShortTextField = [ReadWaxDash lowUnsignedTenPreferredSindhiPassword:YES];
    [self.view addSubview:self.tempLossShortTextField];
    [self.tempLossShortTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.motionEarTextField.mas_bottom).offset(ReadWaxDash.strideFooter.bagPipeThin);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.armenianPair);
    }];
    UIButton *closeLawButton = self.tempLossShortTextField.rightView.subviews.firstObject;
    [closeLawButton addTarget:self action:@selector(cookiesSelfProminentOffChromaticHerHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *squareRebusButton = [ReadWaxDash ownNumbersFocusedWaistHebrewColor:ReadWaxDash.spaLiveIronTry.mobileDelayKey];
    [squareRebusButton addTarget:self action:@selector(unwrapGraphicsLeakyStableFireAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:squareRebusButton];
    [squareRebusButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.tempLossShortTextField.mas_bottom).offset(ReadWaxDash.strideFooter.bagPipeThin);
        make.left.mas_equalTo(ReadWaxDash.strideFooter.canUsesLeast);
        make.right.mas_equalTo(-ReadWaxDash.strideFooter.canUsesLeast);
        make.height.mas_equalTo(ReadWaxDash.strideFooter.noneTertiary);
    }];
}
- (void)cookiesSelfProminentOffChromaticHerHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.tempLossShortTextField.secureTextEntry = !self.tempLossShortTextField.isSecureTextEntry;
}

- (void)unwrapGraphicsLeakyStableFireAction:(id)sender {
    if (self.arrayLingerTextField.arrayLingerTextField.text.anchorsBatch) {
        [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.integrityRemainingVisitKeepElevationMix completion:nil];
        return;
    }
    if (self.motionEarTextField.text.anchorsBatch) {
        [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.mandatoryEnhanceCathedralWhiteCadence completion:nil];
        return;
    }
    if (self.tempLossShortTextField.text.length < ReadWaxDash.strideFooter.stringGiven) {
        [TenAlertView unlockLocalizedExistingStructureManagedTab:ReadWaxDash.spaLiveIronTry.alongMill message:ReadWaxDash.spaLiveIronTry.hitSpeedArchiveKoreanSquashMedium completion:nil];
        return;
    }
    NSString *headGreenCode = self.arrayLingerTextField.mileBinRareDue;
    NSString *slabFunNear = self.arrayLingerTextField.outContactsFocusClinicalPrimaries;
    if ([self.noiseAllowNap respondsToSelector:@selector(handlerExtentBusyTreeDryStructureSnap:code:dropCode:oddKey:completion:)]) {
        [TenJobJoinView nonceEmptyWinWindow];
        [self.noiseAllowNap handlerExtentBusyTreeDryStructureSnap:slabFunNear code:self.motionEarTextField.text dropCode:headGreenCode oddKey:self.tempLossShortTextField.text completion:^(id object) {
            [TenJobJoinView lemmaHigherNapPressBitWindow];
            [FunToast dashDanish:ReadWaxDash.spaLiveIronTry.sayHeartNormalSoloistTrash];
            if (object) {
                [self.bankersInfoDelegate queueYouScheduledFilteredAverageWithName:object foldLeftFixPassword:self.tempLossShortTextField.text];
                [self tabularIndexHintStretchExchangesAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.logoAcuteButton redoneHighlightDeepVariationCondition];
}
@end
