






#import "ButterflyViewController.h"
#import "SheBurnPlanLabel.h"
#import "ChatBinPutCertViewController.h"

@interface ButterflyViewController ()

@property (nonatomic, strong) UITextField *handshakeBedTextField;
@property (nonatomic, strong) UITextField *placeAirShelfTextField;
@property (nonatomic,strong) SheBurnPlanLabel *itsRoleWatchLabel;
@end



@implementation ButterflyViewController

- (SheBurnPlanLabel *)itsRoleWatchLabel {
    if (!_itsRoleWatchLabel) {
        _itsRoleWatchLabel = [SheBurnPlanLabel concertRandomLabel:NO];
    }
    return _itsRoleWatchLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.handshakeBedTextField = [BadgeSunIcy mixTelephonyCanadianServiceUrgentAccount];
    [self.view addSubview:self.handshakeBedTextField];
    [self.handshakeBedTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BadgeSunIcy.greekBlueArt.effortHexTap);
        make.left.mas_equalTo(BadgeSunIcy.greekBlueArt.restoresCity);
        make.right.mas_equalTo(-BadgeSunIcy.greekBlueArt.restoresCity);
        make.height.mas_equalTo(BadgeSunIcy.greekBlueArt.muteEmailTab);
    }];
    
    
    self.placeAirShelfTextField = [BadgeSunIcy clearedFootLessAvailChinesePassword:NO];
    [self.view addSubview:self.placeAirShelfTextField];
    [self.placeAirShelfTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.handshakeBedTextField.mas_bottom).offset(BadgeSunIcy.greekBlueArt.groupedMolar);
        make.left.right.equalTo(self.handshakeBedTextField);
        make.height.mas_equalTo(BadgeSunIcy.greekBlueArt.muteEmailTab);
    }];
    UIButton *rightButton = self.placeAirShelfTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(operatePlaySmallHaveResourcesUtilitiesHandler:) forControlEvents:(UIControlEventTouchUpInside)];

    
    UIButton *expandingTreeButton = [BadgeSunIcy birthConductorWeekendDirectoryExtensionColor:BadgeSunIcy.lastCaretReply.encodingEuler];
    [expandingTreeButton addTarget:self action:@selector(enteredRecorderPacketsOverflowSubgroupFaceAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:expandingTreeButton];
    [expandingTreeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.placeAirShelfTextField.mas_bottom).offset(BadgeSunIcy.greekBlueArt.groupedMolar);
        make.left.right.equalTo(self.placeAirShelfTextField);
        make.height.mas_equalTo(BadgeSunIcy.greekBlueArt.pintBitError);
    }];
    
    [self.view addSubview:self.itsRoleWatchLabel];
    spaPlan(self);
    [self.itsRoleWatchLabel setSoftballDividerRearrangeCelsiusCollapsedHurricane:^{
        distorted(self);
        [self insertionLastAudiblePasswordDispatchReversedAction];
    }];
    [self.itsRoleWatchLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BadgeSunIcy.greekBlueArt.tintBlinkPan);
        make.left.mas_equalTo(BadgeSunIcy.greekBlueArt.talkCountSub);
        make.right.mas_equalTo(-BadgeSunIcy.greekBlueArt.talkCountSub);
    }];
}

- (void)operatePlaySmallHaveResourcesUtilitiesHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.placeAirShelfTextField.secureTextEntry = !self.placeAirShelfTextField.isSecureTextEntry;
}

- (void)enteredRecorderPacketsOverflowSubgroupFaceAction:(UIButton *)sender {
    if (self.handshakeBedTextField.text.length < BadgeSunIcy.greekBlueArt.existingShe) {
        [TagAlertView schoolSerbianIllInstallsMagentaToo:BadgeSunIcy.lastCaretReply.renameEra message:BadgeSunIcy.lastCaretReply.backwardsAssistiveAltitudeFailureGreenFun completion:nil];
        return;
    }
    if (self.placeAirShelfTextField.text.length < BadgeSunIcy.greekBlueArt.existingShe) {
        [TagAlertView schoolSerbianIllInstallsMagentaToo:BadgeSunIcy.lastCaretReply.renameEra message:BadgeSunIcy.lastCaretReply.grandsonWillImperialSupportedHeaderSay completion:nil];
        return;
    }
    if ([self.youInsulinHis respondsToSelector:@selector(ordinalsCupPutSevenTeluguThumbLongestName:mapKey:completion:)]) {
        [DarwinThatView putAreTextualWindow];
        [self.youInsulinHis ordinalsCupPutSevenTeluguThumbLongestName:self.handshakeBedTextField.text mapKey:self.placeAirShelfTextField.text completion:^(id object) {
            [DarwinThatView unboundTamilMobilePhaseAdditionWindow];
        }];
    }
}


- (void)insertionLastAudiblePasswordDispatchReversedAction {
    ChatBinPutCertViewController *icyUrgentBit = [ChatBinPutCertViewController new];
    icyUrgentBit.barsPubLink = @(YES);
    icyUrgentBit.youInsulinHis = self.youInsulinHis;
    [icyUrgentBit setRawSubmitFinalizeNativeSafety:^(BOOL result) {
        self.itsRoleWatchLabel.jobBadPopBrief = result;
    }];
    [self.navigationController pushViewController:icyUrgentBit animated:NO];
}

@end
