






#import "SlavicBedViewController.h"
#import "SchemeVideoButton.h"
#import "NotToast.h"
#import "EraCommonTextField.h"
#import "NSString+MathIntro.h"

@interface SlavicBedViewController ()

@property (nonatomic, strong) EraCommonTextField *formKeysRowTextField;
@property (nonatomic, strong) UITextField *farAuthorTextField;
@property (nonatomic, strong) UITextField *zoomRecognizeTextField;
@property (nonatomic, strong) SchemeVideoButton *sunSingleButton;
@end

@implementation SlavicBedViewController

- (SchemeVideoButton *)sunSingleButton {
    if (!_sunSingleButton) {
        _sunSingleButton = [[SchemeVideoButton alloc] init];
    }
    return _sunSingleButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.formKeysRowTextField = [[EraCommonTextField alloc] initWithController:self];
    [self.view addSubview:self.formKeysRowTextField];
    [self.formKeysRowTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(PriorEarSee.netListPhoto.wetDrumTight);
        make.left.mas_equalTo(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.mas_equalTo(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.preciseTrust);
    }];
    
    
    self.farAuthorTextField = [PriorEarSee interruptOffsetHectaresPersonalHighlightFeaturesCode];
    [self.view addSubview:self.farAuthorTextField];
    [self.farAuthorTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.formKeysRowTextField.mas_bottom).offset(PriorEarSee.netListPhoto.verticalHer);
        make.left.mas_equalTo(PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.preciseTrust);
    }];
    
    partial(self);
    self.sunSingleButton.dashHangPagerAction = ^{
        italicLaw(self);
        
        NSString *upsideIcyCode = self.formKeysRowTextField.eyeSizeNodeDid;
        NSString *feedCatalan = self.formKeysRowTextField.albumPrivacyPrepSkippedHelper;
        if (self.formKeysRowTextField.formKeysRowTextField.text.lawDiskPause) {
            [self.sunSingleButton squashExcludedSegueCapacityGeometry];
            [WaxAlertView panControlsResonantFarWrestlingObserve:PriorEarSee.drawCreditLeft.poolCubic message:PriorEarSee.drawCreditLeft.panDrivenCarbonMuteEarNarrative completion:nil];
            return;
        }
        if ([self.configureRank respondsToSelector:@selector(mismatchSlashedPrivilegeRequiringJoinPortionAppearingType:armAreaOnce:factCode:completion:)]) {
            [ManPenNearView airCatHexSignWindow];
            [self.configureRank mismatchSlashedPrivilegeRequiringJoinPortionAppearingType:PriorEarSee.netListPhoto.burnShiftPictureClustersDynamic armAreaOnce:feedCatalan factCode:upsideIcyCode completion:^(id object) {
                [ManPenNearView provinceKitPublicUpdateTeethWindow];
                if ([object boolValue]) {
                    [NotToast tooEchoNap:PriorEarSee.drawCreditLeft.midTapElevationFlattenFullQuotesCode];
                }else {
                    [self.sunSingleButton squashExcludedSegueCapacityGeometry];
                }
            }];
        }
    };
    [self.view addSubview:self.sunSingleButton];
    [self.sunSingleButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.farAuthorTextField);
        make.height.equalTo(self.farAuthorTextField);
        make.right.equalTo(self.formKeysRowTextField);
        
        make.width.mas_equalTo(self.sunSingleButton.titleLabel.intrinsicContentSize.width + PriorEarSee.netListPhoto.hintRetTrait);
    }];
    
    [self.farAuthorTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.sunSingleButton.mas_left).offset(-PriorEarSee.netListPhoto.magicChatWin);
    }];
    
    
    self.zoomRecognizeTextField = [PriorEarSee indianClaimBinSlashesInitiallyPassword:YES];
    [self.view addSubview:self.zoomRecognizeTextField];
    [self.zoomRecognizeTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.farAuthorTextField.mas_bottom).offset(PriorEarSee.netListPhoto.verticalHer);
        make.left.mas_equalTo(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.mas_equalTo(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.preciseTrust);
    }];
    UIButton *apertureButton = self.zoomRecognizeTextField.rightView.subviews.firstObject;
    [apertureButton addTarget:self action:@selector(arcadeCalciumOrdinarySeeRecursiveSoundHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *millPassPenButton = [PriorEarSee alignmentBlindingScrollInstancesBuildColor:PriorEarSee.drawCreditLeft.cutSwimmingKey];
    [millPassPenButton addTarget:self action:@selector(bondSharpnessSockParserIcyAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:millPassPenButton];
    [millPassPenButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.zoomRecognizeTextField.mas_bottom).offset(PriorEarSee.netListPhoto.verticalHer);
        make.left.mas_equalTo(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.mas_equalTo(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.pairReceiver);
    }];
}
- (void)arcadeCalciumOrdinarySeeRecursiveSoundHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.zoomRecognizeTextField.secureTextEntry = !self.zoomRecognizeTextField.isSecureTextEntry;
}

- (void)bondSharpnessSockParserIcyAction:(id)sender {
    if (self.formKeysRowTextField.formKeysRowTextField.text.lawDiskPause) {
        [WaxAlertView panControlsResonantFarWrestlingObserve:PriorEarSee.drawCreditLeft.poolCubic message:PriorEarSee.drawCreditLeft.panDrivenCarbonMuteEarNarrative completion:nil];
        return;
    }
    if (self.farAuthorTextField.text.lawDiskPause) {
        [WaxAlertView panControlsResonantFarWrestlingObserve:PriorEarSee.drawCreditLeft.poolCubic message:PriorEarSee.drawCreditLeft.providingSoftwareRequireMidResource completion:nil];
        return;
    }
    if (self.zoomRecognizeTextField.text.length < PriorEarSee.netListPhoto.cousinUsage) {
        [WaxAlertView panControlsResonantFarWrestlingObserve:PriorEarSee.drawCreditLeft.poolCubic message:PriorEarSee.drawCreditLeft.checksumRestOldestLawOnlyButterfly completion:nil];
        return;
    }
    NSString *upsideIcyCode = self.formKeysRowTextField.eyeSizeNodeDid;
    NSString *feedCatalan = self.formKeysRowTextField.albumPrivacyPrepSkippedHelper;
    if ([self.configureRank respondsToSelector:@selector(footballDirectionHueMoreSegmentedCanadianNearest:code:factCode:seeKey:completion:)]) {
        [ManPenNearView airCatHexSignWindow];
        [self.configureRank footballDirectionHueMoreSegmentedCanadianNearest:feedCatalan code:self.farAuthorTextField.text factCode:upsideIcyCode seeKey:self.zoomRecognizeTextField.text completion:^(id object) {
            [ManPenNearView provinceKitPublicUpdateTeethWindow];
            [NotToast tooEchoNap:PriorEarSee.drawCreditLeft.rowCourseSegmentsSafariSigner];
            if (object) {
                [self.spaPoliciesDelegate weightsSpanishFlashImpliedFingerWithName:object meteringMenPassword:self.zoomRecognizeTextField.text];
                [self universalArmSpecifiedSlopeFitAction:nil];
            }
        }];
    }
}

- (void)dealloc {
    [self.sunSingleButton squashExcludedSegueCapacityGeometry];
}
@end
