






#import "DetachingViewController.h"
#import "PageZipStayButton.h"
#import "MaxToast.h"
#import "LateEnterTextField.h"
#import "NSString+PublicDry.h"

@interface DetachingViewController ()

@property (nonatomic, strong) LateEnterTextField *rowBagSliceTextField;
@property (nonatomic, strong) UITextField *mightHomeTextField;
@property (nonatomic, strong) UITextField *realLowPanIcyTextField;
@property (nonatomic, strong) PageZipStayButton *violationButton;
@end

@implementation DetachingViewController

- (PageZipStayButton *)violationButton {
    if (!_violationButton) {
        _violationButton = [[PageZipStayButton alloc] init];
    }
    return _violationButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.rowBagSliceTextField = [[LateEnterTextField alloc] initWithController:self];
    [self.view addSubview:self.rowBagSliceTextField];
    [self.rowBagSliceTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CupDenyLeap.rarePutOther.initialChunk);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    
    self.mightHomeTextField = [CupDenyLeap yetSixteenLifetimeSymbolBurnLighterCode];
    [self.view addSubview:self.mightHomeTextField];
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.rowBagSliceTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.eyeRestFill);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    
    justWay(self);
    self.violationButton.dependingFeedAction = ^{
        uploadCan(self);
        
        NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
        NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
        if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
            [self.violationButton sheetShiftGroupingClosestRead];
            [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
            return;
        }
        if ([self.mixCatVisible respondsToSelector:@selector(cubicSecondaryAlbumTeacherMapSolveHowType:takeFullWon:axesCode:completion:)]) {
            [RedScriptsView draftMaleToolWindow];
            [self.mixCatVisible cubicSecondaryAlbumTeacherMapSolveHowType:CupDenyLeap.rarePutOther.cyclingOcclusionDesiredDepthBinary takeFullWon:fitDecayToo axesCode:anyBasqueCode completion:^(id object) {
                [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
                if ([object boolValue]) {
                    [MaxToast devicesPan:CupDenyLeap.cutReuseIcyOur.hitBlueFrequencyArtHeadBufferingCode];
                }else {
                    [self.violationButton sheetShiftGroupingClosestRead];
                }
            }];
        }
    };
    [self.view addSubview:self.violationButton];
    [self.violationButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.mightHomeTextField);
        make.height.equalTo(self.mightHomeTextField);
        make.right.equalTo(self.rowBagSliceTextField);
        
        make.width.mas_equalTo(self.violationButton.titleLabel.intrinsicContentSize.width + CupDenyLeap.rarePutOther.producesGasp);
    }];
    
    [self.mightHomeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.violationButton.mas_left).offset(-CupDenyLeap.rarePutOther.builderLiner);
    }];
    
    
    self.realLowPanIcyTextField = [CupDenyLeap firstGenderCroppingTurnMenPassword:YES];
    [self.view addSubview:self.realLowPanIcyTextField];
    [self.realLowPanIcyTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.mightHomeTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.eyeRestFill);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.dragErrorBag);
    }];
    UIButton *factoredButton = self.realLowPanIcyTextField.rightView.subviews.firstObject;
    [factoredButton addTarget:self action:@selector(effectAxialPresentedIndexingCapturingRepeatsHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *placeAffineButton = [CupDenyLeap endSourceApplierAchievedLigatureColor:CupDenyLeap.cutReuseIcyOur.optBendGainKey];
    [placeAffineButton addTarget:self action:@selector(eventualSinkBothDistanceWrapAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:placeAffineButton];
    [placeAffineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.realLowPanIcyTextField.mas_bottom).offset(CupDenyLeap.rarePutOther.eyeRestFill);
        make.left.mas_equalTo(CupDenyLeap.rarePutOther.preservedWas);
        make.right.mas_equalTo(-CupDenyLeap.rarePutOther.preservedWas);
        make.height.mas_equalTo(CupDenyLeap.rarePutOther.canSideRaise);
    }];
}
- (void)effectAxialPresentedIndexingCapturingRepeatsHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.realLowPanIcyTextField.secureTextEntry = !self.realLowPanIcyTextField.isSecureTextEntry;
}

- (void)eventualSinkBothDistanceWrapAction:(id)sender {
    if (self.rowBagSliceTextField.rowBagSliceTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.jobCheckCupBleedLikeChoose completion:nil];
        return;
    }
    if (self.mightHomeTextField.text.mediaOurLong) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.bitRedirectSomaliFitnessPower completion:nil];
        return;
    }
    if (self.realLowPanIcyTextField.text.length < CupDenyLeap.rarePutOther.runLockMale) {
        [DogAlertView issuerIdenticalClangPeriodicPartiallySegue:CupDenyLeap.cutReuseIcyOur.chatLevel message:CupDenyLeap.cutReuseIcyOur.spatialCelsiusDustVisitSevenBaselines completion:nil];
        return;
    }
    NSString *anyBasqueCode = self.rowBagSliceTextField.growBlobEndOff;
    NSString *fitDecayToo = self.rowBagSliceTextField.flemishLeftOverwriteWeightsPrime;
    if ([self.mixCatVisible respondsToSelector:@selector(waitOccurLockStartedSentenceCustodianNanograms:code:axesCode:funKey:completion:)]) {
        [RedScriptsView draftMaleToolWindow];
        [self.mixCatVisible waitOccurLockStartedSentenceCustodianNanograms:fitDecayToo code:self.mightHomeTextField.text axesCode:anyBasqueCode funKey:self.realLowPanIcyTextField.text completion:^(id object) {
            [RedScriptsView restTexturedHelpStorylineLanguagesWindow];
            [MaxToast devicesPan:CupDenyLeap.cutReuseIcyOur.swapTailDownhillCroppingAbsolute];
            if (object) {
                [self.offInsetManDelegate footersSharpenOldDeferringEyeWithName:object faxMuteBeenPassword:self.realLowPanIcyTextField.text];
                [self routeMembersBadTemporalRevisionAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.violationButton sheetShiftGroupingClosestRead];
}
@end
