






#import "NormalSpaViewController.h"
#import "SlashEntityButton.h"
#import "ArtToast.h"
#import "TooMinderTextField.h"
#import "NSString+DanishOff.h"

@interface NormalSpaViewController ()

@property (nonatomic, strong) TooMinderTextField *useRotatingTextField;
@property (nonatomic, strong) UITextField *eventPoolTextField;
@property (nonatomic, strong) UITextField *scaleTrainingTextField;
@property (nonatomic, strong) SlashEntityButton *variablesButton;
@end

@implementation NormalSpaViewController

- (SlashEntityButton *)variablesButton {
    if (!_variablesButton) {
        _variablesButton = [[SlashEntityButton alloc] init];
    }
    return _variablesButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.useRotatingTextField = [[TooMinderTextField alloc] initWithController:self];
    [self.view addSubview:self.useRotatingTextField];
    [self.useRotatingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(ApplyToggle.findSwipeOur.ringRetStill);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.extentTryOdd);
    }];
    
    
    self.eventPoolTextField = [ApplyToggle dutchAccountHexArtistQualifierPatternsCode];
    [self.view addSubview:self.eventPoolTextField];
    [self.eventPoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.useRotatingTextField.mas_bottom).offset(ApplyToggle.findSwipeOur.downhillToo);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.extentTryOdd);
    }];
    
    theGain(self);
    self.variablesButton.holdTapSexRetAction = ^{
        vowelFile(self);
        
        NSString *cathedralCode = self.useRotatingTextField.farTwoModeEdga;
        NSString *saveTagIdle = self.useRotatingTextField.mediumHostingSectionLiterEsperanto;
        if (self.useRotatingTextField.useRotatingTextField.text.sampleLaunch) {
            [self.variablesButton decodingPlatformConverterCroatianVolumes];
            [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.replacedMixerStriationEngineerBoundingEgg completion:nil];
            return;
        }
        if ([self.mildWatchMask respondsToSelector:@selector(manualNothingSeekingInferEightPopNearType:planBackLow:infoCode:completion:)]) {
            [BuilderBoxView lessPanButBagWindow];
            [self.mildWatchMask manualNothingSeekingInferEightPopNearType:ApplyToggle.findSwipeOur.execOneCityCommandsMile planBackLow:saveTagIdle infoCode:cathedralCode completion:^(id object) {
                [BuilderBoxView ratioAddGainEightPhotosWindow];
                if ([object boolValue]) {
                    [ArtToast suffixNote:ApplyToggle.subDayEventDay.millionPrecisionAccessorySolutionsUpdateBinCode];
                }else {
                    [self.variablesButton decodingPlatformConverterCroatianVolumes];
                }
            }];
        }
    };
    [self.view addSubview:self.variablesButton];
    [self.variablesButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.eventPoolTextField);
        make.height.equalTo(self.eventPoolTextField);
        make.right.equalTo(self.useRotatingTextField);
        
        make.width.mas_equalTo(self.variablesButton.titleLabel.intrinsicContentSize.width + ApplyToggle.findSwipeOur.hexPackIntro);
    }];
    
    [self.eventPoolTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.variablesButton.mas_left).offset(-ApplyToggle.findSwipeOur.thatLeaseKin);
    }];
    
    
    self.scaleTrainingTextField = [ApplyToggle howAvailDictationSuffixCrossPassword:YES];
    [self.view addSubview:self.scaleTrainingTextField];
    [self.scaleTrainingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.eventPoolTextField.mas_bottom).offset(ApplyToggle.findSwipeOur.downhillToo);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.extentTryOdd);
    }];
    UIButton *tapsPostButton = self.scaleTrainingTextField.rightView.subviews.firstObject;
    [tapsPostButton addTarget:self action:@selector(removableResetContactJoiningRecoveryKindHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *safetySleetButton = [ApplyToggle audienceOwnerFixSoftwareCombiningColor:ApplyToggle.subDayEventDay.waitNineKeyKey];
    [safetySleetButton addTarget:self action:@selector(duplicateLookUtteranceNegateTapsAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:safetySleetButton];
    [safetySleetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.scaleTrainingTextField.mas_bottom).offset(ApplyToggle.findSwipeOur.downhillToo);
        make.left.mas_equalTo(ApplyToggle.findSwipeOur.columnSonFor);
        make.right.mas_equalTo(-ApplyToggle.findSwipeOur.columnSonFor);
        make.height.mas_equalTo(ApplyToggle.findSwipeOur.mergeBoxPort);
    }];
}
- (void)removableResetContactJoiningRecoveryKindHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.scaleTrainingTextField.secureTextEntry = !self.scaleTrainingTextField.isSecureTextEntry;
}

- (void)duplicateLookUtteranceNegateTapsAction:(id)sender {
    if (self.useRotatingTextField.useRotatingTextField.text.sampleLaunch) {
        [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.replacedMixerStriationEngineerBoundingEgg completion:nil];
        return;
    }
    if (self.eventPoolTextField.text.sampleLaunch) {
        [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.surfaceCorrectedImmediateRestingReturns completion:nil];
        return;
    }
    if (self.scaleTrainingTextField.text.length < ApplyToggle.findSwipeOur.pieceDidDog) {
        [EndAlertView effectiveWorkingMidOperandResizeHidden:ApplyToggle.subDayEventDay.adjective message:ApplyToggle.subDayEventDay.blinkOneParserExpectedFourUsed completion:nil];
        return;
    }
    NSString *cathedralCode = self.useRotatingTextField.farTwoModeEdga;
    NSString *saveTagIdle = self.useRotatingTextField.mediumHostingSectionLiterEsperanto;
    if ([self.mildWatchMask respondsToSelector:@selector(airRelatedTagsHerRevealedDecideMean:code:infoCode:howKey:completion:)]) {
        [BuilderBoxView lessPanButBagWindow];
        [self.mildWatchMask airRelatedTagsHerRevealedDecideMean:saveTagIdle code:self.eventPoolTextField.text infoCode:cathedralCode howKey:self.scaleTrainingTextField.text completion:^(id object) {
            [BuilderBoxView ratioAddGainEightPhotosWindow];
            [ArtToast suffixNote:ApplyToggle.subDayEventDay.manScriptAboutConsumedShe];
            if (object) {
                [self.valueMayPanDelegate definesFeedForBlueSigningWithName:object linkageTempPassword:self.scaleTrainingTextField.text];
                [self removableAutomaticSongBreakingLighterAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.variablesButton decodingPlatformConverterCroatianVolumes];
}
@end
