






#import "SinkQuoteSeekViewController.h"
#import "LanguageLawButton.h"
#import "SinToast.h"
#import "WidgetMixTextField.h"
#import "NSString+FinalFast.h"
@import WebKit;

@interface SinkQuoteSeekViewController ()

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

@end

@implementation SinkQuoteSeekViewController


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

- (void)viewDidLoad {
    [super viewDidLoad];
    self.retMileItsButton.hidden = [self.netMetadata[0] boolValue];
    
    UILabel *twoLabel = [BounceBrief dayPrettyArtDiscountsMin:BounceBrief.airDigitSobSee.absentStairCycleOrdinalsSkippedAlbum];
    twoLabel.numberOfLines = 0;
    [self.view addSubview:twoLabel];
    [twoLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BounceBrief.cropSobCanon.plainPlayAsk);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.plainPlayAsk);
        make.right.mas_equalTo(-BounceBrief.cropSobCanon.plainPlayAsk);
    }];
    
    
    self.descentCapsTextField = [[WidgetMixTextField alloc] initWithController:self];
    [self.view addSubview:self.descentCapsTextField];
    [self.descentCapsTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(twoLabel.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.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.sobActionRed);
        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.seeAgeLoadDraw 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 *sobInlandButton = [BounceBrief followHoursWristSecondCaseColor:BounceBrief.airDigitSobSee.modifyMagicTrainingCoercionEntry];
    [sobInlandButton addTarget:self action:@selector(feedbackSilenceHomeFileNegotiateAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:sobInlandButton];
    [sobInlandButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.superiorsTextField.mas_bottom).offset(BounceBrief.cropSobCanon.sobActionRed);
        make.left.mas_equalTo(BounceBrief.cropSobCanon.winOneSignal);
        make.right.mas_equalTo(-BounceBrief.cropSobCanon.winOneSignal);
        make.height.mas_equalTo(BounceBrief.cropSobCanon.nepaliBagRed);
    }];
}

- (void)feedbackSilenceHomeFileNegotiateAction:(id)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(decideFootersTextureVisitLenientSwappedAssamese:code:findCode:completion:)]) {
        [MeterBrandView sceneAdvancesWindow];
        [self.scaleMealPing decideFootersTextureVisitLenientSwappedAssamese:eightAction code:self.superiorsTextField.text findCode:scatteredCode completion:^(id object) {
            [MeterBrandView depthUnsafeAggregateCenteredAirWindow];
            if ([object boolValue]) {
                [[RecordingManager shared] cutoffAssertionButFilenameDismissalHindiViewController:self.navigationController];
                [SinToast priorStack:BounceBrief.airDigitSobSee.purpleChinaStableDecomposeRomanCancel];
                if ([self.netMetadata[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *celticAllow = (WKWebView *)self.netMetadata[1];
                    [celticAllow reload];
                }
            }
        }];
    }
}

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

@end
