






#import "CarOptionViewController.h"
#import "PathBaseMayButton.h"
#import "AnyToast.h"
#import "RectangleTextField.h"
#import "NSString+Receiving.h"

@interface CarOptionViewController ()

@property (nonatomic, strong) RectangleTextField *fourUserTenTextField;
@property (nonatomic, strong) UITextField *logJabberTextField;
@property (nonatomic, strong) UITextField *saveModeDraftTextField;
@property (nonatomic, strong) PathBaseMayButton *siteTwistButton;
@end

@implementation CarOptionViewController

- (PathBaseMayButton *)siteTwistButton {
    if (!_siteTwistButton) {
        _siteTwistButton = [[PathBaseMayButton alloc] init];
    }
    return _siteTwistButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.fourUserTenTextField = [[RectangleTextField alloc] initWithController:self];
    [self.view addSubview:self.fourUserTenTextField];
    [self.fourUserTenTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(SafeWaxSort.sinLaunchCut.halftoneJoin);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.policyStrict);
    }];
    
    
    self.logJabberTextField = [SafeWaxSort bondWrapInvokeSolutionsUndoneFlatnessCode];
    [self.view addSubview:self.logJabberTextField];
    [self.logJabberTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.fourUserTenTextField.mas_bottom).offset(SafeWaxSort.sinLaunchCut.boxRoomFeed);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.policyStrict);
    }];
    
    addPing(self);
    self.siteTwistButton.segmentUnsafeAction = ^{
        manDecode(self);
        
        NSString *cloudRuleCode = self.fourUserTenTextField.twentyGeometry;
        NSString *denseMargin = self.fourUserTenTextField.pubExerciseBagStrengthLandmark;
        if (self.fourUserTenTextField.fourUserTenTextField.text.shareParsing) {
            [self.siteTwistButton disparityAgeRealSwahiliBadminton];
            [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.verboseRestoresTrackingArrayArePartly completion:nil];
            return;
        }
        if ([self.eightFoundPop respondsToSelector:@selector(quitBuddhistMakeInterruptKeysConductorDirectType:imageSumTwo:sendCode:completion:)]) {
            [RankSobHowView printHerModalWindow];
            [self.eightFoundPop quitBuddhistMakeInterruptKeysConductorDirectType:SafeWaxSort.sinLaunchCut.muteSixteenLaunchDueWriting imageSumTwo:denseMargin sendCode:cloudRuleCode completion:^(id object) {
                [RankSobHowView incorrectVisualMemoryLowPowerWindow];
                if ([object boolValue]) {
                    [AnyToast capDelayed:SafeWaxSort.oldBothLogStop.interiorRetainIterationCarbonUnionDecoderCode];
                }else {
                    [self.siteTwistButton disparityAgeRealSwahiliBadminton];
                }
            }];
        }
    };
    [self.view addSubview:self.siteTwistButton];
    [self.siteTwistButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.logJabberTextField);
        make.height.equalTo(self.logJabberTextField);
        make.right.equalTo(self.fourUserTenTextField);
        
        make.width.mas_equalTo(self.siteTwistButton.titleLabel.intrinsicContentSize.width + SafeWaxSort.sinLaunchCut.directHasEar);
    }];
    
    [self.logJabberTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.siteTwistButton.mas_left).offset(-SafeWaxSort.sinLaunchCut.alienMoodJob);
    }];
    
    
    self.saveModeDraftTextField = [SafeWaxSort evaluatedFractionsSupportsStalePortalPassword:YES];
    [self.view addSubview:self.saveModeDraftTextField];
    [self.saveModeDraftTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.logJabberTextField.mas_bottom).offset(SafeWaxSort.sinLaunchCut.boxRoomFeed);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.policyStrict);
    }];
    UIButton *ethernetButton = self.saveModeDraftTextField.rightView.subviews.firstObject;
    [ethernetButton addTarget:self action:@selector(retainModernLongActualWateryAdvisoryHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *funArrangerButton = [SafeWaxSort uniformBarrierWillGainSignalColor:SafeWaxSort.oldBothLogStop.traverseLogKey];
    [funArrangerButton addTarget:self action:@selector(captureIncorrectIntroKilogramsUnableAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:funArrangerButton];
    [funArrangerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.saveModeDraftTextField.mas_bottom).offset(SafeWaxSort.sinLaunchCut.boxRoomFeed);
        make.left.mas_equalTo(SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.right.mas_equalTo(-SafeWaxSort.sinLaunchCut.radioWonWarn);
        make.height.mas_equalTo(SafeWaxSort.sinLaunchCut.installsArea);
    }];
}
- (void)retainModernLongActualWateryAdvisoryHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.saveModeDraftTextField.secureTextEntry = !self.saveModeDraftTextField.isSecureTextEntry;
}

- (void)captureIncorrectIntroKilogramsUnableAction:(id)sender {
    if (self.fourUserTenTextField.fourUserTenTextField.text.shareParsing) {
        [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.verboseRestoresTrackingArrayArePartly completion:nil];
        return;
    }
    if (self.logJabberTextField.text.shareParsing) {
        [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.animationDisablingPreviewBeatKin completion:nil];
        return;
    }
    if (self.saveModeDraftTextField.text.length < SafeWaxSort.sinLaunchCut.needHitKind) {
        [AirAlertView baseManualDecodeIndicesModifiersShowers:SafeWaxSort.oldBothLogStop.promptCat message:SafeWaxSort.oldBothLogStop.andFunViabilityDigitRawSee completion:nil];
        return;
    }
    NSString *cloudRuleCode = self.fourUserTenTextField.twentyGeometry;
    NSString *denseMargin = self.fourUserTenTextField.pubExerciseBagStrengthLandmark;
    if ([self.eightFoundPop respondsToSelector:@selector(friendsSubgroupsRemoteSplatDiacriticStillPaste:code:sendCode:wasKey:completion:)]) {
        [RankSobHowView printHerModalWindow];
        [self.eightFoundPop friendsSubgroupsRemoteSplatDiacriticStillPaste:denseMargin code:self.logJabberTextField.text sendCode:cloudRuleCode wasKey:self.saveModeDraftTextField.text completion:^(id object) {
            [RankSobHowView incorrectVisualMemoryLowPowerWindow];
            [AnyToast capDelayed:SafeWaxSort.oldBothLogStop.referentAdvisoryAdoptArtistGiven];
            if (object) {
                [self.mightExtentDelegate itsPrimariesTapsEditorDecomposeWithName:object lifetimeWayPassword:self.saveModeDraftTextField.text];
                [self armCallingPhoneFiveRecursiveAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.siteTwistButton disparityAgeRealSwahiliBadminton];
}
@end
