






#import "SourceCreatedViewController.h"
#import "PlanePubSpaButton.h"
#import "NowToast.h"
#import "FocalPlayTextField.h"
#import "NSString+SeeSupply.h"
@import WebKit;

@interface SourceCreatedViewController ()

@property (nonatomic, strong) FocalPlayTextField *frenchAlongTextField;
@property (nonatomic, strong) UITextField *trapEvictTextField;
@property (nonatomic, strong) PlanePubSpaButton *bookmarksButton;

@end

@implementation SourceCreatedViewController


- (PlanePubSpaButton *)bookmarksButton {
    if (!_bookmarksButton) {
        _bookmarksButton = [[PlanePubSpaButton alloc] init];
    }
    return _bookmarksButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.voiceClockButton.hidden = [self.tenHitError[0] boolValue];
    
    UILabel *runLabel = [BestSharpen phonogramCourseCosmicMessagingFallback:BestSharpen.hangFillerPick.trackEjectEqualityBarriersFilteringMean];
    runLabel.numberOfLines = 0;
    [self.view addSubview:runLabel];
    [runLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BestSharpen.didNapCoptic.breakSobKeys);
        make.left.mas_equalTo(BestSharpen.didNapCoptic.breakSobKeys);
        make.right.mas_equalTo(-BestSharpen.didNapCoptic.breakSobKeys);
    }];
    
    
    self.frenchAlongTextField = [[FocalPlayTextField alloc] initWithController:self];
    [self.view addSubview:self.frenchAlongTextField];
    [self.frenchAlongTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(runLabel.mas_bottom).offset(BestSharpen.didNapCoptic.kitShapeBits);
        make.left.mas_equalTo(BestSharpen.didNapCoptic.polarBothSub);
        make.right.mas_equalTo(-BestSharpen.didNapCoptic.polarBothSub);
        make.height.mas_equalTo(BestSharpen.didNapCoptic.extendsHours);
    }];
    
    
    self.trapEvictTextField = [BestSharpen designTabEqualUndoManProducingCode];
    [self.view addSubview:self.trapEvictTextField];
    [self.trapEvictTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.frenchAlongTextField.mas_bottom).offset(BestSharpen.didNapCoptic.optionEggAny);
        make.left.mas_equalTo(BestSharpen.didNapCoptic.polarBothSub);
        make.height.mas_equalTo(BestSharpen.didNapCoptic.extendsHours);
    }];
    
    idleToo(self);
    self.bookmarksButton.truncatesRankAction = ^{
        bigCursor(self);
        NSString *humanLateCode = self.frenchAlongTextField.hardWarpIllRet;
        NSString *bloodKinKey = self.frenchAlongTextField.prefixRejectLeastCoachedEvaluated;
        if (self.frenchAlongTextField.frenchAlongTextField.text.badUptimeSon) {
            [self.bookmarksButton argumentPartialOneGuideBevel];
            [SheAlertView affectingSurrogateGrandauntPrioritySlantAnnotated:BestSharpen.hangFillerPick.cutHebrew message:BestSharpen.hangFillerPick.endpointListenerRegularBayerSiteManual completion:nil];
            return;
        }
        if ([self.thinEchoState respondsToSelector:@selector(resetDegradedAddHierarchyBoundingNanogramsEditType:tradCasePan:lookCode:completion:)]) {
            [CheckFloorView toggleOutsideWindow];
            [self.thinEchoState resetDegradedAddHierarchyBoundingNanogramsEditType:BestSharpen.didNapCoptic.retWasIntroEnd tradCasePan:bloodKinKey lookCode:humanLateCode completion:^(id object) {
                [CheckFloorView solidCapSobTightSupportedWindow];
                if ([object boolValue]) {
                    [NowToast uptimeSpan:BestSharpen.hangFillerPick.autoGreenAllowHerPrefixHowCode];
                }else {
                    [self.bookmarksButton argumentPartialOneGuideBevel];
                }
            }];
        }
    };
    [self.view addSubview:self.bookmarksButton];
    [self.bookmarksButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.trapEvictTextField);
        make.height.equalTo(self.trapEvictTextField);
        make.right.equalTo(self.frenchAlongTextField);
        
        make.width.mas_equalTo(self.bookmarksButton.titleLabel.intrinsicContentSize.width + BestSharpen.didNapCoptic.breakSobKeys);
    }];
    
    [self.trapEvictTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(self.bookmarksButton.mas_left).offset(-BestSharpen.didNapCoptic.tryPromptWet);
    }];
    
    
    UIButton *peerAssetButton = [BestSharpen idiomBikeNineRebusEmailColor:BestSharpen.hangFillerPick.numbersBlockWeightLowerWritten];
    [peerAssetButton addTarget:self action:@selector(improperButtonsObsoleteFastParseAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:peerAssetButton];
    [peerAssetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.trapEvictTextField.mas_bottom).offset(BestSharpen.didNapCoptic.optionEggAny);
        make.left.mas_equalTo(BestSharpen.didNapCoptic.polarBothSub);
        make.right.mas_equalTo(-BestSharpen.didNapCoptic.polarBothSub);
        make.height.mas_equalTo(BestSharpen.didNapCoptic.oldTextPrint);
    }];
}

- (void)improperButtonsObsoleteFastParseAction:(id)sender {
    if (self.frenchAlongTextField.frenchAlongTextField.text.badUptimeSon) {
        [SheAlertView affectingSurrogateGrandauntPrioritySlantAnnotated:BestSharpen.hangFillerPick.cutHebrew message:BestSharpen.hangFillerPick.endpointListenerRegularBayerSiteManual completion:nil];
        return;
    }
    if (self.trapEvictTextField.text.badUptimeSon) {
        [SheAlertView affectingSurrogateGrandauntPrioritySlantAnnotated:BestSharpen.hangFillerPick.cutHebrew message:BestSharpen.hangFillerPick.delayAskLeaveCyrillicInterrupt completion:nil];
        return;
    }
    NSString *humanLateCode = self.frenchAlongTextField.hardWarpIllRet;
    NSString *bloodKinKey = self.frenchAlongTextField.prefixRejectLeastCoachedEvaluated;
    if ([self.thinEchoState respondsToSelector:@selector(averageDocumentPassivelyStepsonAttachedMalayBracketed:code:lookCode:completion:)]) {
        [CheckFloorView toggleOutsideWindow];
        [self.thinEchoState averageDocumentPassivelyStepsonAttachedMalayBracketed:bloodKinKey code:self.trapEvictTextField.text lookCode:humanLateCode completion:^(id object) {
            [CheckFloorView solidCapSobTightSupportedWindow];
            if ([object boolValue]) {
                [[ResetCurlManager shared] mightZipEvictionGoldenAnimateNoticeViewController:self.navigationController];
                [NowToast uptimeSpan:BestSharpen.hangFillerPick.characterAddWetSpecifyHasCascade];
                if ([self.tenHitError[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *minderEqual = (WKWebView *)self.tenHitError[1];
                    [minderEqual reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.bookmarksButton argumentPartialOneGuideBevel];
}

@end
