






#import "KeySocketViewController.h"
#import "ArmToast.h"
#import "PreviewProvidingDetailCousinArts.h"
@import WebKit;

@interface KeySocketViewController ()

@property (nonatomic, strong) UITextField *catDependingTextField;
@property (nonatomic, strong) UITextField *renameSalientTextField;
@property (nonatomic, strong) UITextField *heartbeatSixAssignChainAgentTextField;

@end

@implementation KeySocketViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.slashShapeButton.hidden = NO;
    
    
    self.catDependingTextField = [BurstUpload primeDemandAndCoalesceTrailingAccount];
    self.catDependingTextField.text = [BurstUpload cellOldDependingPickerOffName];
    self.catDependingTextField.enabled = NO;
    [self.view addSubview:self.catDependingTextField];
    [self.catDependingTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.mas_equalTo(BurstUpload.styleOrigins.cutMalayHigh);
        make.left.mas_equalTo(BurstUpload.styleOrigins.factThousand);
        make.right.mas_equalTo(-BurstUpload.styleOrigins.factThousand);
        make.height.mas_equalTo(BurstUpload.styleOrigins.paymentsTaps);
    }];
    
    
    self.renameSalientTextField = [BurstUpload whoMakeColorCreationCricketPassword:NO];
    [self.view addSubview:self.renameSalientTextField];
    [self.renameSalientTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.catDependingTextField.mas_bottom).offset(BurstUpload.styleOrigins.rawQuickTip);
        make.left.right.equalTo(self.catDependingTextField);
        make.height.mas_equalTo(BurstUpload.styleOrigins.paymentsTaps);
    }];
    UIButton *rightButton = self.renameSalientTextField.rightView.subviews.firstObject;
    [rightButton addTarget:self action:@selector(plusInsetCropDivideItsKilogramHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    self.heartbeatSixAssignChainAgentTextField = [BurstUpload whoMakeColorCreationCricketPassword:YES];
    [self.view addSubview:self.heartbeatSixAssignChainAgentTextField];
    [self.heartbeatSixAssignChainAgentTextField mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.renameSalientTextField.mas_bottom).offset(BurstUpload.styleOrigins.rawQuickTip);
        make.left.right.equalTo(self.catDependingTextField);
        make.height.mas_equalTo(BurstUpload.styleOrigins.paymentsTaps);
    }];
    UIButton *trackingButton = self.heartbeatSixAssignChainAgentTextField.rightView.subviews.firstObject;
    [trackingButton addTarget:self action:@selector(yearsScalarOneMagnesiumActiveMutationCatHandler:) forControlEvents:(UIControlEventTouchUpInside)];
    
    
    UIButton *outerDenseMaleBorderPhotoButton = [BurstUpload oneUpdatesSpatialSonGermanColor:BurstUpload.ejectPrimeHour.sindhiPrincipalAllocatedAgeEnhanced];
    [outerDenseMaleBorderPhotoButton addTarget:self action:@selector(dimensionFilmInvokeStakeRollbackBusAction:) forControlEvents:UIControlEventTouchUpInside];
    [self.view addSubview:outerDenseMaleBorderPhotoButton];
    [outerDenseMaleBorderPhotoButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.heartbeatSixAssignChainAgentTextField.mas_bottom).offset(BurstUpload.styleOrigins.rawQuickTip);
        make.left.mas_equalTo(BurstUpload.styleOrigins.factThousand);
        make.right.mas_equalTo(-BurstUpload.styleOrigins.factThousand);
        make.height.mas_equalTo(BurstUpload.styleOrigins.cutMalayHigh);
    }];
    
    
    UIView *mixerTwoSmallReadBest = [UIView new];
    mixerTwoSmallReadBest.userInteractionEnabled = YES;
    mixerTwoSmallReadBest.backgroundColor = UIColor.clearColor;
    [self.view addSubview:mixerTwoSmallReadBest];
    [mixerTwoSmallReadBest mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(BurstUpload.styleOrigins.cutMalayHigh, BurstUpload.styleOrigins.cutMalayHigh));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *periodFillProxyTruncatesHeap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(reportsSharpen)];
    periodFillProxyTruncatesHeap.numberOfTapsRequired = BurstUpload.styleOrigins.smoothEight;
    [mixerTwoSmallReadBest addGestureRecognizer:periodFillProxyTruncatesHeap];
}

- (void)reportsSharpen {
    [UnifyViewController showFromViewController:self];
}

- (void)plusInsetCropDivideItsKilogramHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.renameSalientTextField.secureTextEntry = !self.renameSalientTextField.isSecureTextEntry;
}

- (void)yearsScalarOneMagnesiumActiveMutationCatHandler:(UIButton *)sender {
    sender.selected = !sender.isSelected;
    self.heartbeatSixAssignChainAgentTextField.secureTextEntry = !self.heartbeatSixAssignChainAgentTextField.isSecureTextEntry;
}

- (void)dimensionFilmInvokeStakeRollbackBusAction:(UIButton *)sender  {
    if (self.renameSalientTextField.text.length < BurstUpload.styleOrigins.keysLabeled ||
        self.heartbeatSixAssignChainAgentTextField.text.length < BurstUpload.styleOrigins.keysLabeled) {
        [BoxAlertView yearsCommonPresenceDeprecateInnerDisplayed:BurstUpload.ejectPrimeHour.stripPong message:BurstUpload.ejectPrimeHour.promisedRegionUniversalOverHelpSide completion:nil];
        return;
    }
    if ([self.releaseRandom respondsToSelector:@selector(stakeArtworkRejectPutTwentyFunkAllExcludedKey:finderKey:completion:)]) {
        [SiteHiddenView blurBuddyWarpWindow];
        [self.releaseRandom stakeArtworkRejectPutTwentyFunkAllExcludedKey:self.renameSalientTextField.text finderKey:self.heartbeatSixAssignChainAgentTextField.text completion:^(id object) {
            [SiteHiddenView motionOverlayDayEffectiveExistWindow];
            if ([object boolValue]) {
                [[SquarePenManager shared] nameEarListOneHandballRainViewController:self.navigationController];
                [ArmToast tabAlcohol:BurstUpload.ejectPrimeHour.cellBundlesLossyPortraitsDecibelMay];
                
                if (self.notationFat && [self.notationFat isKindOfClass:[WKWebView class]]) {
                    WKWebView *oldBookOpen = (WKWebView *)self.notationFat;
                    [oldBookOpen reload];
                }
            }
        }];
    }
}

@end
