






#import "FullyFindViewController.h"
#import "InsideAlignButton.h"
#import "TapToast.h"
#import "PoolTokenTextField.h"
#import "NSString+Preparing.h"

@interface FullyFindViewController ()

@property (nonatomic, strong) PoolTokenTextField *undoWaxLazyTextField;
@property (nonatomic, strong) UITextField *privilegeTextField;
@property (nonatomic, strong) UITextField *autoSetupJustTextField;
@property (nonatomic, strong) InsideAlignButton *metabolicButton;
@end

@implementation FullyFindViewController

- (InsideAlignButton *)metabolicButton {
    if (!_metabolicButton) {
        _metabolicButton = [[InsideAlignButton alloc] init];
    }
    return _metabolicButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.undoWaxLazyTextField = [[PoolTokenTextField alloc] initWithController:self];
    [self.view addSubview:self.undoWaxLazyTextField];
    [self.undoWaxLazyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(DenyQuarter.nowPinReport.tapEyeGaelic);
        make.left.mas_equalTo(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.mas_equalTo(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.planStampFix);
    }];
    
    
    self.privilegeTextField = [DenyQuarter reuseWordTildeProvidersRetBarsCode];
    [self.view addSubview:self.privilegeTextField];
    [self.privilegeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.undoWaxLazyTextField.mas_bottom).offset(DenyQuarter.nowPinReport.sigmaUnique);
        make.left.mas_equalTo(DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.planStampFix);
    }];
    
    pingFar(self);
    self.metabolicButton.runStakeSigmaAction = ^{
        penFactor(self);
        
        NSString *importantCode = self.undoWaxLazyTextField.cupRebusOneBit;
        NSString *onePinchHit = self.undoWaxLazyTextField.smartSexSonTouchChallenge;
        if (self.undoWaxLazyTextField.undoWaxLazyTextField.text.arrayGramNet) {
            [self.metabolicButton canBothOperationTeamCut];
            [TipAlertView leadUsedTerabytesItalicFusionDatabase:DenyQuarter.netAcuteLowRow.ageInland message:DenyQuarter.netAcuteLowRow.interlaceSumSinViabilityCutArrow completion:nil];
            return;
        }
        if ([self.cardPutBarSay respondsToSelector:@selector(tailProfilesInspiredMagnesiumSpectralConnectRightType:autoHalfNet:fourCode:completion:)]) {
            [HighOneYouView ownDustHowMixWindow];
            [self.cardPutBarSay tailProfilesInspiredMagnesiumSpectralConnectRightType:DenyQuarter.nowPinReport.attributeFormatDeltaTradGenre autoHalfNet:onePinchHit fourCode:importantCode completion:^(id object) {
                [HighOneYouView cupKeySodiumAnchoringSentWindow];
                if ([object boolValue]) {
                    [TapToast fillStream:DenyQuarter.netAcuteLowRow.endAnchorsCallRoomGoogleSawCode];
                }else {
                    [self.metabolicButton canBothOperationTeamCut];
                }
            }];
        }
    };
    [self.view addSubview:self.metabolicButton];
    [self.metabolicButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.privilegeTextField);
        make.height.equalTo(self.privilegeTextField);
        make.left.equalTo(self.privilegeTextField.mas_right).offset(DenyQuarter.nowPinReport.dayTransform);
        make.right.equalTo(self.undoWaxLazyTextField);
    }];
    
    
    [self.metabolicButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    self.autoSetupJustTextField = [DenyQuarter recoveryUsedDrumCrossBagPassword:YES];
    [self.view addSubview:self.autoSetupJustTextField];
    [self.autoSetupJustTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.privilegeTextField.mas_bottom).offset(DenyQuarter.nowPinReport.sigmaUnique);
        make.left.mas_equalTo(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.mas_equalTo(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.planStampFix);
    }];
    UIButton *traverseButton = self.autoSetupJustTextField.rightView.subviews.firstObject;
    [traverseButton addTarget:self action:@selector(lettishFollowBigGreatManWalkHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *pictureWarpButton = [DenyQuarter enhanceBuddyNegateChatMarginColor:DenyQuarter.netAcuteLowRow.yardViewUseKey];
    [pictureWarpButton addTarget:self action:@selector(provinceHailFeedBriefAppearingAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:pictureWarpButton];
    [pictureWarpButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.autoSetupJustTextField.mas_bottom).offset(DenyQuarter.nowPinReport.sigmaUnique);
        make.left.mas_equalTo(DenyQuarter.nowPinReport.abortWonUsed);
        make.right.mas_equalTo(-DenyQuarter.nowPinReport.abortWonUsed);
        make.height.mas_equalTo(DenyQuarter.nowPinReport.leftPinHeavy);
    }];
}
- (void)lettishFollowBigGreatManWalkHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.autoSetupJustTextField.secureTextEntry = !self.autoSetupJustTextField.isSecureTextEntry;
}

- (void)provinceHailFeedBriefAppearingAction:(id)sender {
    if (self.undoWaxLazyTextField.undoWaxLazyTextField.text.arrayGramNet) {
        [TipAlertView leadUsedTerabytesItalicFusionDatabase:DenyQuarter.netAcuteLowRow.ageInland message:DenyQuarter.netAcuteLowRow.interlaceSumSinViabilityCutArrow completion:nil];
        return;
    }
    if (self.privilegeTextField.text.arrayGramNet) {
        [TipAlertView leadUsedTerabytesItalicFusionDatabase:DenyQuarter.netAcuteLowRow.ageInland message:DenyQuarter.netAcuteLowRow.kashmiriDescendedWhileWireAsk completion:nil];
        return;
    }
    if (self.autoSetupJustTextField.text.length < DenyQuarter.nowPinReport.bevelBeacon) {
        [TipAlertView leadUsedTerabytesItalicFusionDatabase:DenyQuarter.netAcuteLowRow.ageInland message:DenyQuarter.netAcuteLowRow.carrierSignatureBoxSinEvictionArchive completion:nil];
        return;
    }
    NSString *importantCode = self.undoWaxLazyTextField.cupRebusOneBit;
    NSString *onePinchHit = self.undoWaxLazyTextField.smartSexSonTouchChallenge;
    if ([self.cardPutBarSay respondsToSelector:@selector(simulatesFragmentsRouterSubstringSecurityDietaryDegree:code:fourCode:howKey:completion:)]) {
        [HighOneYouView ownDustHowMixWindow];
        [self.cardPutBarSay simulatesFragmentsRouterSubstringSecurityDietaryDegree:onePinchHit code:self.privilegeTextField.text fourCode:importantCode howKey:self.autoSetupJustTextField.text completion:^(id object) {
            [HighOneYouView cupKeySodiumAnchoringSentWindow];
            [TapToast fillStream:DenyQuarter.netAcuteLowRow.reportsUnableInvokeHaveTower];
            if (object) {
                [self.likeSessionDelegate commentsMaxStackPublisherTrackingWithName:object pongEggOverPassword:self.autoSetupJustTextField.text];
                [self additionQueryRelatedPointerMixAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.metabolicButton canBothOperationTeamCut];
}
@end
