






#import "StatementViewController.h"
#import "LanguageLawButton.h"
#import "HelpPostalHairViewController.h"
#import "SinToast.h"
#import "AnotherWrapLabel.h"
#import "WidgetMixTextField.h"
#import "NSString+FinalFast.h"

@interface StatementViewController ()

@property (nonatomic, strong) WidgetMixTextField *descentCapsTextField;
@property (nonatomic, strong) UITextField *superiorsTextField;
@property (nonatomic, strong) LanguageLawButton *modeTrackButton;
@property (nonatomic,strong) AnotherWrapLabel *keyMiddleRawLabel;

@end

@implementation StatementViewController

- (LanguageLawButton *)modeTrackButton {
    if (!_modeTrackButton) {
        _modeTrackButton = [[LanguageLawButton alloc] init];
    }
    return _modeTrackButton;
}

- (AnotherWrapLabel *)keyMiddleRawLabel {
    if (!_keyMiddleRawLabel) {
        _keyMiddleRawLabel = [AnotherWrapLabel askUserDidCutLabel:NO];
    }
    return _keyMiddleRawLabel;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.descentCapsTextField = [[WidgetMixTextField alloc] initWithController:self];
    [self.view addSubview:self.descentCapsTextField];
    [self.descentCapsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BounceBrief.cropSobCanon.modifyLength);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.winOneSignal);
        make.right.mas_equalTo(-BounceBrief.cropSobCanon.winOneSignal);
        make.height.mas_equalTo(BounceBrief.cropSobCanon.herFeetMouth);
    }];
    
    
    self.superiorsTextField = [BounceBrief trackInterestFullyKeyboardDecideAirCode];
    [self.view addSubview:self.superiorsTextField];
    [self.superiorsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.descentCapsTextField.mas_bottom).offset(BounceBrief.cropSobCanon.capUnwindKit);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.winOneSignal);
        make.height.mas_equalTo(BounceBrief.cropSobCanon.herFeetMouth);
    }];
    
    packets(self);
    self.modeTrackButton.openJumpQuietAction = ^{
        insideCap(self);
        NSString *scatteredCode = self.descentCapsTextField.shortBuildDone;
        NSString *eightAction = self.descentCapsTextField.gradeExecutionFloorIcyWho;
        if (self.descentCapsTextField.descentCapsTextField.text.showReversed) {
            [self.modeTrackButton teacherSilentHostCloudMenstrual];
            [TenAlertView hisUndefinedInsertBehaviorsGeneralAccessed:BounceBrief.airDigitSobSee.tempNorth message:BounceBrief.airDigitSobSee.carIssuerNetDiamondAlbumDeletion completion:nil];
            return;
        }
        if ([self.scaleMealPing respondsToSelector:@selector(uighurChapterBounceStrengthIndexedRotationFourthType:handKitSpan:findCode:completion:)]) {
            [MeterBrandView sceneAdvancesWindow];
            [self.scaleMealPing uighurChapterBounceStrengthIndexedRotationFourthType:BounceBrief.cropSobCanon.scannerStereoSucceededDecrementHome handKitSpan:eightAction findCode:scatteredCode completion:^(id object) {
                [MeterBrandView depthUnsafeAggregateCenteredAirWindow];
                if ([object boolValue]) {
                    [SinToast priorStack:BounceBrief.airDigitSobSee.settingDescendRationalAdditionIntervalsSheCode];
                }else {
                    [self.modeTrackButton teacherSilentHostCloudMenstrual];
                }
            }];
        }
    };
    [self.view addSubview:self.modeTrackButton];
    [self.modeTrackButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.superiorsTextField);
        make.height.equalTo(self.superiorsTextField);
        make.left.equalTo(self.superiorsTextField.mas_right).offset(BounceBrief.cropSobCanon.unableOpaque);
        make.right.equalTo(self.descentCapsTextField);
    }];
    
    
    [self.modeTrackButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *bigBigPartnerButton = [BounceBrief followHoursWristSecondCaseColor:BounceBrief.airDigitSobSee.echoSendDeclineEraserPerformedFill];
    [bigBigPartnerButton addTarget:self action:@selector(mobileFixtureFatBigCommittedAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:bigBigPartnerButton];
    [bigBigPartnerButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.superiorsTextField.mas_bottom).offset(BounceBrief.cropSobCanon.capUnwindKit);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.winOneSignal);
        make.right.mas_equalTo(-BounceBrief.cropSobCanon.winOneSignal);
        make.height.mas_equalTo(BounceBrief.cropSobCanon.nepaliBagRed);
    }];
    
    [self.view addSubview:self.keyMiddleRawLabel];
    [self.keyMiddleRawLabel setPolishDescribeReaderNearLinearImmediate:^{
        insideCap(self);
        [self decomposeArcheryNapAdvancesHexMailAction];
    }];
    [self.keyMiddleRawLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.mas_equalTo(-BounceBrief.cropSobCanon.sixLoopsSort);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.stickyEyeCup);
        make.right.mas_equalTo(-BounceBrief.cropSobCanon.stickyEyeCup);
    }];
}

- (void)mobileFixtureFatBigCommittedAction:(UIButton *)sender {
    if (self.descentCapsTextField.descentCapsTextField.text.showReversed) {
        [TenAlertView hisUndefinedInsertBehaviorsGeneralAccessed:BounceBrief.airDigitSobSee.tempNorth message:BounceBrief.airDigitSobSee.carIssuerNetDiamondAlbumDeletion completion:nil];
        return;
    }
    if (self.superiorsTextField.text.showReversed) {
        [TenAlertView hisUndefinedInsertBehaviorsGeneralAccessed:BounceBrief.airDigitSobSee.tempNorth message:BounceBrief.airDigitSobSee.faxQueueBuiltCharRetried completion:nil];
        return;
    }
    NSString *scatteredCode = self.descentCapsTextField.shortBuildDone;
    NSString *eightAction = self.descentCapsTextField.gradeExecutionFloorIcyWho;
    if ([self.scaleMealPing respondsToSelector:@selector(headlineOceanPanMessageDryAuditRootSecond:code:findCode:completion:)]) {
        [MeterBrandView sceneAdvancesWindow];
        [self.scaleMealPing headlineOceanPanMessageDryAuditRootSecond:eightAction code:self.superiorsTextField.text findCode:scatteredCode completion:^(id object) {
            [MeterBrandView depthUnsafeAggregateCenteredAirWindow];
        }];
    }
}


- (void)decomposeArcheryNapAdvancesHexMailAction {
    HelpPostalHairViewController *wonSynthesis = [HelpPostalHairViewController new];
    wonSynthesis.netMetadata = @(YES);
    wonSynthesis.scaleMealPing = self.scaleMealPing;
    [wonSynthesis setFirstJustAbortPresentedAspect:^(BOOL result) {
        self.keyMiddleRawLabel.trustMayOurNet = result;
    }];
    [self.navigationController pushViewController:wonSynthesis animated:NO];
}

- (void)dealloc {
    [self.modeTrackButton teacherSilentHostCloudMenstrual];
}
@end
