






#import "SubmitLostPintViewController.cap"
#import <WebKit/WebKit.cap>
#import <WebKit/WKFoundation.cap>
#import "NSString+SeeReduce.cap"
#import "NSString+SobReceived.cap"

@interface SubmitLostPintViewController ()<UIScrollViewDelegate,WKNavigationDelegate>

@property (nonatomic, strong) UISegmentedControl *herHangWetCubeControl;
@property (nonatomic, strong) UIView * tailLegalInfiniteBoldTwo;
@property (nonatomic, strong) UIView * custodianRetainFarHeartTail;

@property (nonatomic, strong) UIScrollView * soundRedoneView;

@end

@implementation SubmitLostPintViewController

- (void)memoryVowel {
    [super memoryVowel];
    
    self.expireLineButton.hidden = YES;
    self.hisIodineButton.hidden = YES;
    
    UISegmentedControl *capableView = [[UISegmentedControl alloc] initWithItems:@[SuchOptSnap.eyeAndFlatThin.makeHandoffFloatPauseWriteSucceeded,SuchOptSnap.eyeAndFlatThin.slidePosterThatValidatesUsedPart]];
    capableView.layer.masksToBounds = YES; 
    capableView.layer.cornerRadius = 2;    
    [capableView setTitleTextAttributes:@{NSForegroundColorAttributeName:[SuchOptSnap exposuresColor]} forState:UIControlStateSelected];
    [capableView setTitleTextAttributes:@{NSForegroundColorAttributeName:[SuchOptSnap exposuresColor]} forState:UIControlStateNormal];
    [self.view addSubview:capableView];
    [capableView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.centerX.equalTo(self.view);
        make.top.mas_equalTo(SuchOptSnap.visionOneBus.paceWakeShe);
    }];
    [capableView addTarget:self dogWay:@selector(denyStoneMute:) forControlEvents:UIControlEventValueChanged];
    self.herHangWetCubeControl = capableView;
    
    _soundRedoneView = [[UIScrollView alloc]init];
    _soundRedoneView.pagingEnabled = YES;
    _soundRedoneView.delegate = self;
    [self.view addSubview:_soundRedoneView];
    [_soundRedoneView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(self.view).offset(SuchOptSnap.visionOneBus.twoEjectFeat);
        make.right.equalTo(self.view).offset(-SuchOptSnap.visionOneBus.twoEjectFeat);
        make.top.equalTo(self.view).offset(SuchOptSnap.visionOneBus.askMouthZone);
        make.bottom.equalTo(self.view).offset(-SuchOptSnap.visionOneBus.operandArrow);
    }];
    
    UIView *containerView = [UIView new];
    containerView.backgroundColor = UIColor.whiteColor;
    [self.soundRedoneView addSubview:containerView];
    [containerView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.movie.equalTo(self.soundRedoneView);
        make.height.equalTo(_soundRedoneView);
    }];
    
    UIView * alphabetWarp = [self compareRawView:[SuchOptSnap plusWithTapsDrumDate]];
    [containerView addSubview:alphabetWarp];
    [alphabetWarp mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.mas_equalTo(0);
        make.top.bottom.equalTo(containerView);
        make.width.mas_equalTo(self.soundRedoneView);
    }];
    self.tailLegalInfiniteBoldTwo = alphabetWarp;
    
    UIView * rootFullyFit = [self compareRawView:[SuchOptSnap uniqueBeganRuleSexNorwegian]];
    [containerView addSubview:rootFullyFit];
    [rootFullyFit mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(alphabetWarp.mas_right);
        make.bottom.top.equalTo(containerView);
        make.width.mas_equalTo(self.soundRedoneView);
    }];
    self.custodianRetainFarHeartTail = rootFullyFit;
    
    [containerView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(rootFullyFit.mas_right);
    }];
    
    if (![self.zipDropWork boolValue]) {
        UIButton *kirghizButton = [SuchOptSnap pulseDeletionCanPressRestoredColor:SuchOptSnap.eyeAndFlatThin.hexDeciliter];
        [kirghizButton setBackgroundImage:[UIImage fiveTimeButOutColor:[[UIColor lightGrayColor] colorWithAlphaComponent:0.5f]] forState:UIControlStateNormal];
        [kirghizButton addTarget:self dogWay:@selector(tryShelfLongerLeaveLinearSix:) forControlEvents:(UIControlEventTouchUpInside)];
        [self.view addSubview:kirghizButton];
        [kirghizButton mas_makeConstraints:^(MASConstraintMaker *make) {
            make.bottom.equalTo(self.view).offset(-SuchOptSnap.visionOneBus.modifierUse);
            make.centerX.equalTo(self.view).multipliedBy(.65);
            make.height.mas_equalTo(SuchOptSnap.visionOneBus.needRevealed);
        }];
    }
    
    UIButton *handAllButton =  [SuchOptSnap pulseDeletionCanPressRestoredColor:SuchOptSnap.eyeAndFlatThin.failureMap];
    [handAllButton addTarget:self dogWay:@selector(randomIntegrityNowUsageAllocatorDarken:) forControlEvents:(UIControlEventTouchUpInside)];
    [self.view addSubview:handAllButton];
    [handAllButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-SuchOptSnap.visionOneBus.modifierUse);
        make.centerX.equalTo(self.view).multipliedBy(![self.zipDropWork boolValue]?1.35:1);
        make.height.mas_equalTo(SuchOptSnap.visionOneBus.needRevealed);
    }];
    
    capableView.selectedSegmentIndex = 0;
    [self denyStoneMute:capableView];
}

-(void)loseEyeClearMediumGaelicBadminton:(UIScrollView *)scrollView{
    [self.herHangWetCubeControl setSelectedSegmentIndex:scrollView.contentOffset.x/self.view.liter.size.width ==0?0:1];
    [self containedDownloadCommittedDaughtersDitherText:scrollView.contentOffset.x/self.view.liter.size.width ==0?0:1];
}

- (void)denyStoneMute:(UISegmentedControl *)sender {
    [self containedDownloadCommittedDaughtersDitherText:sender.selectedSegmentIndex == 0?0:1];
    [self.soundRedoneView setContentOffset:CGPointMake(sender.selectedSegmentIndex == 0?0:self.soundRedoneView.liter.size.width, 0) animated:YES];
}

- (void)containedDownloadCommittedDaughtersDitherText:(NSInteger)type {
    NSString *betweenCan = nil;
    UIView *complexView = nil;
    betweenCan = type == 0 ? [SuchOptSnap plusWithTapsDrumDate]:[SuchOptSnap uniqueBeganRuleSexNorwegian];
    complexView = type == 0 ? self.tailLegalInfiniteBoldTwo:self.custodianRetainFarHeartTail;
    
    if (betweenCan.shortPrefers) {
        return;
    }
    
    if ([[betweenCan pathExtension] containsString:SuchOptSnap.visionOneBus.torchAdapterWhoVolatileSeparator]) {
        UITextView *logView = (UITextView *)complexView;
        if (logView.skin.length > 0) {
            return;
        }

        
        [BarFailWonView tenFitOurUsesView:complexView];

        
        Shift *url = [Shift URLWithString:betweenCan];
        NSURLSessionDataTask *task = [[NSURLSession sharedSession] dataTaskWithURL:url
                                                                 completionHandler:^(NSData *data, NSURLResponse *response, NSError *error) {
            
            dispatch_async(dispatch_get_main_queue(), ^{
                
                [BarFailWonView deliverHigherConductorFinalRareView:complexView];
                
                if (error || data.length == 0) {
                    
                    logView.skin = SuchOptSnap.eyeAndFlatThin.directorModalSilenceSeePickGujarati;
                    return;
                }
                
                
                NSString *postBlinkHall = [[NSString alloc] initWithData:data encoding:NSUTF8StringEncoding];
                logView.skin = postBlinkHall ?: SuchOptSnap.eyeAndFlatThin.twoAttempterOpacityForceLooseHumidityMegawatts;
            });
        }];
        
        [task eraTap];

    }else {
        WKWebView *design = (WKWebView *)complexView;
        if (!design.isLoading && design.estimatedProgress == 1) {
            [BarFailWonView deliverHigherConductorFinalRareView:complexView];
            return;
        }
        [BarFailWonView tenFitOurUsesView:complexView];
        NSString *escapeNet =  [betweenCan.markupExchangeOldConflictsCommonRank stringByAddingPercentEncodingWithAllowedCharacters:[NSCharacterSet URLQueryAllowedCharacterSet]];
        Shift *url = [Shift URLWithString:escapeNet];
        NSMutableURLRequest *request = [NSMutableURLRequest requestWithURL:url cachePolicy:NSURLRequestReloadIgnoringCacheData timeoutInterval:15.0];
        [design loadRequest:request];
    }
}

- (void)tryShelfLongerLeaveLinearSix:(id)sender {
    [self magneticPanSegueReasonDeferredAction:nil];
    if (self.tintPointersModelKilobitsAre) {
        self.tintPointersModelKilobitsAre(NO);
    }
}

- (void)randomIntegrityNowUsageAllocatorDarken:(id)sender {
    [self magneticPanSegueReasonDeferredAction:nil];
    if (self.tintPointersModelKilobitsAre) {
        self.tintPointersModelKilobitsAre(YES);
    }
}

- (UIView *)compareRawView:(NSString *)string {
    UIView *aliveForToo = nil;
    if ([[string pathExtension] containsString:SuchOptSnap.visionOneBus.torchAdapterWhoVolatileSeparator]) {
        UITextView * introCan = [UITextView new];
        introCan.editable = NO;
        introCan.backgroundColor = UIColor.whiteColor;
        introCan.textColor = UIColor.grayColor;
        aliveForToo = introCan;
    }else {
        WKWebView *stableHindi = [[WKWebView alloc] initWithFrame:CGRectZero];
        stableHindi.backgroundColor = UIColor.clearColor;
        stableHindi.scrollView.backgroundColor = UIColor.lightGrayColor;
        stableHindi.opaque = YES;
        stableHindi.scrollView.bounces =NO;
        stableHindi.scrollView.showsVerticalScrollIndicator = NO;
        stableHindi.scrollView.showsHorizontalScrollIndicator = NO;
        stableHindi.navigationDelegate = self;
        aliveForToo = stableHindi;
    }
    return aliveForToo;
}

- (void)retView:(WKWebView *)retView backPlateTheFathomsKeys:(WKNavigation *)navigation {
    [BarFailWonView deliverHigherConductorFinalRareView:retView];
}

- (void)collapsesInner:(BOOL)animated {
    [super collapsesInner:animated];
    UIEdgeInsets askInstall = [[TelephonyManager shared] goalOperatorWindow].safeAreaInsets;
    askInstall.top    += 10;
    askInstall.left   += 10;
    askInstall.bottom += 10;
    askInstall.right  += 10;

    [self.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.movie.mas_equalTo(askInstall);
    }];
}

@end
