






#import "OffTornadoBedViewController.h"
#import "SerifMinSheButton.h"
#import "PanToast.h"
#import "FourthFarTextField.h"
#import "NSString+NotWindow.h"
@import WebKit;

@interface OffTornadoBedViewController ()

@property (nonatomic, strong) FourthFarTextField *appearAloneTextField;
@property (nonatomic, strong) UITextField *duplexFitTextField;
@property (nonatomic, strong) SerifMinSheButton *renewRareButton;

@end

@implementation OffTornadoBedViewController


- (SerifMinSheButton *)renewRareButton {
    if (!_renewRareButton) {
        _renewRareButton = [[SerifMinSheButton alloc] init];
    }
    return _renewRareButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.bikeDarwinButton.hidden = [self.wonSiblings[0] boolValue];
    
    UILabel *bagLabel = [FrictionShe taskDifferentHexItemMarkup:FrictionShe.saltBurstFinal.penHasCapacityCellularSpeechChecksum];
    bagLabel.numberOfLines = 0;
    [self.view addSubview:bagLabel];
    [bagLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(FrictionShe.headphoneMay.finderSunBig);
        make.left.mas_equalTo(FrictionShe.headphoneMay.finderSunBig);
        make.right.mas_equalTo(-FrictionShe.headphoneMay.finderSunBig);
    }];
    
    
    self.appearAloneTextField = [[FourthFarTextField alloc] initWithController:self];
    [self.view addSubview:self.appearAloneTextField];
    [self.appearAloneTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(bagLabel.mas_bottom).offset(FrictionShe.headphoneMay.busEndpoints);
        make.left.mas_equalTo(FrictionShe.headphoneMay.identifyMill);
        make.right.mas_equalTo(-FrictionShe.headphoneMay.identifyMill);
        make.height.mas_equalTo(FrictionShe.headphoneMay.wetDolbySeed);
    }];
    
    
    self.duplexFitTextField = [FrictionShe repliesPairWordDemandUnknownLongestCode];
    [self.view addSubview:self.duplexFitTextField];
    [self.duplexFitTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.appearAloneTextField.mas_bottom).offset(FrictionShe.headphoneMay.unlockBuffer);
        make.left.mas_equalTo(FrictionShe.headphoneMay.identifyMill);
        make.height.mas_equalTo(FrictionShe.headphoneMay.wetDolbySeed);
    }];
    
    canRace(self);
    self.renewRareButton.offLeftZipDidAction = ^{
        bayerMake(self);
        NSString *arbitraryCode = self.appearAloneTextField.pintCostIllMid;
        NSString *pickBagThat = self.appearAloneTextField.vitaminProvideDecimalCapNumbers;
        if (self.appearAloneTextField.appearAloneTextField.text.dogPipeSense) {
            [self.renewRareButton somaliJobPartialMissingPreset];
            [ItsAlertView hellmanPrefixedLongBetterNormalTied:FrictionShe.saltBurstFinal.bitWatery message:FrictionShe.saltBurstFinal.icelandicDustInvokeUsesDefinedPort completion:nil];
            return;
        }
        if ([self.buddhistAgent respondsToSelector:@selector(cadenceBendInheritedDogLeaseSenseDarwinType:popStrategy:dateCode:completion:)]) {
            [BaseLookupView mergeMoleFeetWindow];
            [self.buddhistAgent cadenceBendInheritedDogLeaseSenseDarwinType:FrictionShe.headphoneMay.sixSexDryMedia popStrategy:pickBagThat dateCode:arbitraryCode completion:^(id object) {
                [BaseLookupView adoptPickSlantResolvedEntityWindow];
                if ([object boolValue]) {
                    [PanToast warnVerify:FrictionShe.saltBurstFinal.sunPenMixExclusionCommonThumbCode];
                }else {
                    [self.renewRareButton somaliJobPartialMissingPreset];
                }
            }];
        }
    };
    [self.view addSubview:self.renewRareButton];
    [self.renewRareButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.duplexFitTextField);
        make.height.equalTo(self.duplexFitTextField);
        make.left.equalTo(self.duplexFitTextField.mas_right).offset(FrictionShe.headphoneMay.widthDateBox);
        make.right.equalTo(self.appearAloneTextField);
    }];
    
    
    [self.renewRareButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *postFloatButton = [FrictionShe icyThiaminFarsiReadoutRetColor:FrictionShe.saltBurstFinal.batterySunSlowTabRemote];
    [postFloatButton addTarget:self action:@selector(recordRowPartiallyUnwindRequireAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:postFloatButton];
    [postFloatButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.duplexFitTextField.mas_bottom).offset(FrictionShe.headphoneMay.unlockBuffer);
        make.left.mas_equalTo(FrictionShe.headphoneMay.identifyMill);
        make.right.mas_equalTo(-FrictionShe.headphoneMay.identifyMill);
        make.height.mas_equalTo(FrictionShe.headphoneMay.beatTouchMap);
    }];
}

- (void)recordRowPartiallyUnwindRequireAction:(id)sender {
    if (self.appearAloneTextField.appearAloneTextField.text.dogPipeSense) {
        [ItsAlertView hellmanPrefixedLongBetterNormalTied:FrictionShe.saltBurstFinal.bitWatery message:FrictionShe.saltBurstFinal.icelandicDustInvokeUsesDefinedPort completion:nil];
        return;
    }
    if (self.duplexFitTextField.text.dogPipeSense) {
        [ItsAlertView hellmanPrefixedLongBetterNormalTied:FrictionShe.saltBurstFinal.bitWatery message:FrictionShe.saltBurstFinal.weeklyRespectsProcessesLegacyStrip completion:nil];
        return;
    }
    NSString *arbitraryCode = self.appearAloneTextField.pintCostIllMid;
    NSString *pickBagThat = self.appearAloneTextField.vitaminProvideDecimalCapNumbers;
    if ([self.buddhistAgent respondsToSelector:@selector(albumSessionStartedMildHailAltimeterFit:code:dateCode:completion:)]) {
        [BaseLookupView mergeMoleFeetWindow];
        [self.buddhistAgent albumSessionStartedMildHailAltimeterFit:pickBagThat code:self.duplexFitTextField.text dateCode:arbitraryCode completion:^(id object) {
            [BaseLookupView adoptPickSlantResolvedEntityWindow];
            if ([object boolValue]) {
                [[OpaqueKeyManager shared] periodScreenYearsExposeWatchedExtendingViewController:self.navigationController];
                [PanToast warnVerify:FrictionShe.saltBurstFinal.promotionTapsLazyAlgorithmBoundingSystolic];
                if ([self.wonSiblings[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *applySigner = (WKWebView *)self.wonSiblings[1];
                    [applySigner reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.renewRareButton somaliJobPartialMissingPreset];
}

@end
