






#import "QuitWristViewController.h"
#import "DidBoxPriceButton.h"
#import "AgeToast.h"
#import "TamilOnlyTextField.h"
#import "NSString+MathStyle.h"

@interface QuitWristViewController ()

@property (nonatomic, strong) TamilOnlyTextField *selectPauseTextField;
@property (nonatomic, strong) UITextField *haveFarsiTextField;
@property (nonatomic, strong) UITextField *slashGuestJobTextField;
@property (nonatomic, strong) DidBoxPriceButton *alongsideButton;
@end

@implementation QuitWristViewController

- (DidBoxPriceButton *)alongsideButton {
    if (!_alongsideButton) {
        _alongsideButton = [[DidBoxPriceButton alloc] init];
    }
    return _alongsideButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.selectPauseTextField = [[TamilOnlyTextField alloc] initWithController:self];
    [self.view addSubview:self.selectPauseTextField];
    [self.selectPauseTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(WinSubAbove.swipeFlagDay.creatorMagic);
        make.left.mas_equalTo(WinSubAbove.swipeFlagDay.buildCityJob);
        make.right.mas_equalTo(-WinSubAbove.swipeFlagDay.buildCityJob);
        make.height.mas_equalTo(WinSubAbove.swipeFlagDay.dueGrowUnion);
    }];
    
    
    self.haveFarsiTextField = [WinSubAbove shortcutSidebarCreatingAppearsObserverSawCode];
    [self.view addSubview:self.haveFarsiTextField];
    [self.haveFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.selectPauseTextField.mas_bottom).offset(WinSubAbove.swipeFlagDay.peakGrammar);
        make.left.mas_equalTo(WinSubAbove.swipeFlagDay.buildCityJob);
        make.height.mas_equalTo(WinSubAbove.swipeFlagDay.dueGrowUnion);
    }];
    
    undoAdd(self);
    self.alongsideButton.askBitInvitedAction = ^{
        certSlide(self);
        
        NSString *sumLambdaCode = self.selectPauseTextField.bothJustDecode;
        NSString *defineStyle = self.selectPauseTextField.outBookmarksEphemeralForeverNap;
        if (self.selectPauseTextField.selectPauseTextField.text.tagPositions) {
            [self.alongsideButton accurateSuchNoneMercuryPen];
            [ItsAlertView phasePromisedToolAndRefreshedRepeats:WinSubAbove.resourcesCanon.daughters message:WinSubAbove.resourcesCanon.expectedReplacedSwappedNumeralCubeBridging completion:nil];
            return;
        }
        if ([self.mayCutSampler respondsToSelector:@selector(weekendImportantReturnedMarginsUppercaseBusAdjustedType:treeAddFair:lostCode:completion:)]) {
            [RespondHowView discardedBoldWindow];
            [self.mayCutSampler weekendImportantReturnedMarginsUppercaseBusAdjustedType:WinSubAbove.swipeFlagDay.errorBetterSearchingTenKerning treeAddFair:defineStyle lostCode:sumLambdaCode completion:^(id object) {
                [RespondHowView cycleStairRingMagentaCommittedWindow];
                if ([object boolValue]) {
                    [AgeToast exitsTower:WinSubAbove.resourcesCanon.laotianBedCompareVisualEstimatedResolvedCode];
                }else {
                    [self.alongsideButton accurateSuchNoneMercuryPen];
                }
            }];
        }
    };
    [self.view addSubview:self.alongsideButton];
    [self.alongsideButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.haveFarsiTextField);
        make.height.equalTo(self.haveFarsiTextField);
        make.right.equalTo(self.selectPauseTextField);
        
        make.width.mas_equalTo(self.alongsideButton.titleLabel.intrinsicContentSize.width + WinSubAbove.swipeFlagDay.hangWaistBox);
    }];
    
    [self.haveFarsiTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.alongsideButton.mas_left).offset(-WinSubAbove.swipeFlagDay.hexRangeLeap);
    }];
    
    
    self.slashGuestJobTextField = [WinSubAbove curveMoodExhaustedPackTransportPassword:YES];
    [self.view addSubview:self.slashGuestJobTextField];
    [self.slashGuestJobTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.haveFarsiTextField.mas_bottom).offset(WinSubAbove.swipeFlagDay.peakGrammar);
        make.left.mas_equalTo(WinSubAbove.swipeFlagDay.buildCityJob);
        make.right.mas_equalTo(-WinSubAbove.swipeFlagDay.buildCityJob);
        make.height.mas_equalTo(WinSubAbove.swipeFlagDay.dueGrowUnion);
    }];
    UIButton *diagnoseButton = self.slashGuestJobTextField.rightView.subviews.firstObject;
    [diagnoseButton addTarget:self action:@selector(disposeYellowDutchBannerDerivedLiveHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *passMixMenuButton = [WinSubAbove transposePipeAddCurlOurColor:WinSubAbove.resourcesCanon.providerOneKey];
    [passMixMenuButton addTarget:self action:@selector(tailAliveEnumerateDueSubtitleAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:passMixMenuButton];
    [passMixMenuButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.slashGuestJobTextField.mas_bottom).offset(WinSubAbove.swipeFlagDay.peakGrammar);
        make.left.mas_equalTo(WinSubAbove.swipeFlagDay.buildCityJob);
        make.right.mas_equalTo(-WinSubAbove.swipeFlagDay.buildCityJob);
        make.height.mas_equalTo(WinSubAbove.swipeFlagDay.civilNearBad);
    }];
}
- (void)disposeYellowDutchBannerDerivedLiveHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.slashGuestJobTextField.secureTextEntry = !self.slashGuestJobTextField.isSecureTextEntry;
}

- (void)tailAliveEnumerateDueSubtitleAction:(id)sender {
    if (self.selectPauseTextField.selectPauseTextField.text.tagPositions) {
        [ItsAlertView phasePromisedToolAndRefreshedRepeats:WinSubAbove.resourcesCanon.daughters message:WinSubAbove.resourcesCanon.expectedReplacedSwappedNumeralCubeBridging completion:nil];
        return;
    }
    if (self.haveFarsiTextField.text.tagPositions) {
        [ItsAlertView phasePromisedToolAndRefreshedRepeats:WinSubAbove.resourcesCanon.daughters message:WinSubAbove.resourcesCanon.deltaObtainRingLocalesDetail completion:nil];
        return;
    }
    if (self.slashGuestJobTextField.text.length < WinSubAbove.swipeFlagDay.bitShotLock) {
        [ItsAlertView phasePromisedToolAndRefreshedRepeats:WinSubAbove.resourcesCanon.daughters message:WinSubAbove.resourcesCanon.assetStartSyntheticEqualSearchFun completion:nil];
        return;
    }
    NSString *sumLambdaCode = self.selectPauseTextField.bothJustDecode;
    NSString *defineStyle = self.selectPauseTextField.outBookmarksEphemeralForeverNap;
    if ([self.mayCutSampler respondsToSelector:@selector(justMapSlidingFarsiPreventedEqualitySentinel:code:lostCode:sunKey:completion:)]) {
        [RespondHowView discardedBoldWindow];
        [self.mayCutSampler justMapSlidingFarsiPreventedEqualitySentinel:defineStyle code:self.haveFarsiTextField.text lostCode:sumLambdaCode sunKey:self.slashGuestJobTextField.text completion:^(id object) {
            [RespondHowView cycleStairRingMagentaCommittedWindow];
            [AgeToast exitsTower:WinSubAbove.resourcesCanon.yardOptSurfaceSpecialWrapped];
            if (object) {
                [self.engravedIllDelegate earPointersForRevertingPathWithName:object bestMostSawPassword:self.slashGuestJobTextField.text];
                [self desiredDisableShadowMagnitudeEsperantoAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.alongsideButton accurateSuchNoneMercuryPen];
}
@end
