






#import "LooseFontKeysViewController.h"
#import "PickWayEdgaButton.h"
#import "PutToast.h"
#import "YellowBagTextField.h"
#import "NSString+LayerPair.h"
@import WebKit;

@interface LooseFontKeysViewController ()

@property (nonatomic, strong) YellowBagTextField *anchorsHighTextField;
@property (nonatomic, strong) UITextField *minderNotTextField;
@property (nonatomic, strong) PickWayEdgaButton *integrateButton;

@end

@implementation LooseFontKeysViewController


- (PickWayEdgaButton *)integrateButton {
    if (!_integrateButton) {
        _integrateButton = [[PickWayEdgaButton alloc] init];
    }
    return _integrateButton;
}

- (void)viewDidLoad {
    [super viewDidLoad];
    self.ringRemoveButton.hidden = [self.arrowSunSex[0] boolValue];
    
    UILabel *sumLabel = [CityPublish shortcutsFigureCanadianSpouseTamil:CityPublish.throughHosting.effortForwardsCrossStormStandardLease];
    sumLabel.numberOfLines = 0;
    [self.view addSubview:sumLabel];
    [sumLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(CityPublish.halfInferCan.bitsRawPolar);
        make.left.mas_equalTo(CityPublish.halfInferCan.bitsRawPolar);
        make.right.mas_equalTo(-CityPublish.halfInferCan.bitsRawPolar);
    }];
    
    
    self.anchorsHighTextField = [[YellowBagTextField alloc] initWithController:self];
    [self.view addSubview:self.anchorsHighTextField];
    [self.anchorsHighTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(sumLabel.mas_bottom).offset(CityPublish.halfInferCan.aloneCreator);
        make.left.mas_equalTo(CityPublish.halfInferCan.shortRearTen);
        make.right.mas_equalTo(-CityPublish.halfInferCan.shortRearTen);
        make.height.mas_equalTo(CityPublish.halfInferCan.instancesAre);
    }];
    
    
    self.minderNotTextField = [CityPublish sawControlTreeDecayKeyUnderCode];
    [self.view addSubview:self.minderNotTextField];
    [self.minderNotTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.anchorsHighTextField.mas_bottom).offset(CityPublish.halfInferCan.suffixSumRet);
        make.left.mas_equalTo(CityPublish.halfInferCan.shortRearTen);
        make.height.mas_equalTo(CityPublish.halfInferCan.instancesAre);
    }];
    
    archery(self);
    self.integrateButton.faceGetKinMayAction = ^{
        leapHover(self);
        NSString *tallEveryCode = self.anchorsHighTextField.startedCorrupt;
        NSString *patternsTen = self.anchorsHighTextField.socketStorylineLineHeadIrish;
        if (self.anchorsHighTextField.anchorsHighTextField.text.multipleUses) {
            [self.integrateButton sequencesArtDetectorAgreementNorth];
            [KeyAlertView dropProduceChineseEraInvertedTruncated:CityPublish.throughHosting.establish message:CityPublish.throughHosting.pointerPotentialSessionLayerUnlikelyOur completion:nil];
            return;
        }
        if ([self.pushDeviation respondsToSelector:@selector(artMinRearrangeBracketDarkerNearUighurType:invertModal:stayCode:completion:)]) {
            [AreSnapCatView theNowFixToneWindow];
            [self.pushDeviation artMinRearrangeBracketDarkerNearUighurType:CityPublish.halfInferCan.plugHallVendor invertModal:patternsTen stayCode:tallEveryCode completion:^(id object) {
                [AreSnapCatView peakCalculateAllowableRepliesQuitWindow];
                if ([object boolValue]) {
                    [PutToast roleExpert:CityPublish.throughHosting.canonChatClickedDayTrackWhoCode];
                }else {
                    [self.integrateButton sequencesArtDetectorAgreementNorth];
                }
            }];
        }
    };
    [self.view addSubview:self.integrateButton];
    [self.integrateButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerY.equalTo(self.minderNotTextField);
        make.height.equalTo(self.minderNotTextField);
        make.left.equalTo(self.minderNotTextField.mas_right).offset(CityPublish.halfInferCan.minSynthetic);
        make.right.equalTo(self.anchorsHighTextField);
    }];
    
    
    [self.integrateButton setContentHuggingPriority:UILayoutPriorityRequired forAxis:UILayoutConstraintAxisHorizontal];
    
    
    UIButton *saltDirtyButton = [CityPublish segmentGeometricTripleOldestZoomColor:CityPublish.throughHosting.wakeUrgencyAlongNextExposure];
    [saltDirtyButton addTarget:self action:@selector(topWakeSettingsRedoSliderAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:saltDirtyButton];
    [saltDirtyButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.minderNotTextField.mas_bottom).offset(CityPublish.halfInferCan.suffixSumRet);
        make.left.mas_equalTo(CityPublish.halfInferCan.shortRearTen);
        make.right.mas_equalTo(-CityPublish.halfInferCan.shortRearTen);
        make.height.mas_equalTo(CityPublish.halfInferCan.hiddenPlural);
    }];
}

- (void)topWakeSettingsRedoSliderAction:(id)sender {
    if (self.anchorsHighTextField.anchorsHighTextField.text.multipleUses) {
        [KeyAlertView dropProduceChineseEraInvertedTruncated:CityPublish.throughHosting.establish message:CityPublish.throughHosting.pointerPotentialSessionLayerUnlikelyOur completion:nil];
        return;
    }
    if (self.minderNotTextField.text.multipleUses) {
        [KeyAlertView dropProduceChineseEraInvertedTruncated:CityPublish.throughHosting.establish message:CityPublish.throughHosting.committedSoloistReaderEasyColumns completion:nil];
        return;
    }
    NSString *tallEveryCode = self.anchorsHighTextField.startedCorrupt;
    NSString *patternsTen = self.anchorsHighTextField.socketStorylineLineHeadIrish;
    if ([self.pushDeviation respondsToSelector:@selector(adapterOptPipeSphericalSideCinematicClaim:code:stayCode:completion:)]) {
        [AreSnapCatView theNowFixToneWindow];
        [self.pushDeviation adapterOptPipeSphericalSideCinematicClaim:patternsTen code:self.minderNotTextField.text stayCode:tallEveryCode completion:^(id object) {
            [AreSnapCatView peakCalculateAllowableRepliesQuitWindow];
            if ([object boolValue]) {
                [[MapUnwindManager shared] darkSalientRetainCyrillicTrialPressViewController:self.navigationController];
                [PutToast roleExpert:CityPublish.throughHosting.composeHighRatingsInitiatedInvokeSaw];
                if ([self.arrowSunSex[1] isKindOfClass:[WKWebView class]]) {
                    WKWebView *farMixSmall = (WKWebView *)self.arrowSunSex[1];
                    [farMixSmall reload];
                }
            }
        }];
    }
}

- (void)dealloc {
    [self.integrateButton sequencesArtDetectorAgreementNorth];
}

@end
