






#import "FitAboveViewController.h"
#import "TalkArrayManager.h"

@interface FitAboveViewController ()

@end

@implementation FitAboveViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.whoEraPause.opaque = NO;
    if ([self indirectMindResetPromptBelow:self.weeklySpeed]) {
        NSMutableDictionary *saw = [NSMutableDictionary new];
        saw[DueIcyFetch.itsPosterIcy.oddWaySubHandoffMultiple] = @{
            DueIcyFetch.itsPosterIcy.denyOrderingScanContainerMonth:@(MAXFLOAT),
            DueIcyFetch.itsPosterIcy.entitledSoundPinchSelectorsLift:@(MAXFLOAT)
        };
        saw[DueIcyFetch.itsPosterIcy.dutchShowInput] = self.weeklySpeed;
        saw[DueIcyFetch.itsPosterIcy.measuredKirghizLooseBoundaryBeganReferent] = @(NO);
        saw[DueIcyFetch.itsPosterIcy.borderedPopCopticFavoritesMediaBlood] = @(NO);
        self.weeklySpeed = saw;
    }
    
    if (![self.weeklySpeed[DueIcyFetch.itsPosterIcy.methodLostAllBeatSubtitles] boolValue]) {
        self.view.backgroundColor = UIColor.blackColor;
    }else {
        self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    }
    self.bankViewSex = self.weeklySpeed[DueIcyFetch.itsPosterIcy.dutchShowInput];
    
}

- (BOOL)indirectMindResetPromptBelow:(NSString *)url
{
    if (![url isKindOfClass:[NSString class]]) {
        return NO;
    }
    NSString *apple =@"[a-zA-z]+://[^\\s]*";
    NSPredicate *collect = [NSPredicate predicateWithFormat:@"SELF MATCHES %@",apple];
    return [collect evaluateWithObject:url];
}

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    if ([self.weeklySpeed[DueIcyFetch.itsPosterIcy.measuredKirghizLooseBoundaryBeganReferent] boolValue]) {
        self.dueLexiconButton.hidden = NO;
        [self.view bringSubviewToFront:self.dueLexiconButton];
    }
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    CGFloat width = [self.weeklySpeed[DueIcyFetch.itsPosterIcy.oddWaySubHandoffMultiple][DueIcyFetch.itsPosterIcy.denyOrderingScanContainerMonth] floatValue];
    CGFloat height = [self.weeklySpeed[DueIcyFetch.itsPosterIcy.oddWaySubHandoffMultiple][DueIcyFetch.itsPosterIcy.entitledSoundPinchSelectorsLift] floatValue];
    CGFloat HueRare = [UIScreen mainScreen].bounds.size.width;
    CGFloat TooLive = [UIScreen mainScreen].bounds.size.height;
    CGFloat realDatum = width == 0 ? HueRare : MIN(width, HueRare);
    CGFloat sinNextFun = height == 0 ? TooLive : MIN(height, TooLive);
    [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(0);
        make.size.mas_equalTo(CGSizeMake(realDatum, sinNextFun));
    }];
    if (HueRare == realDatum && TooLive == sinNextFun) {
        UIWindow *pintTipWindow = [[TalkArrayManager shared] oceanIntegerWindow];
        UIEdgeInsets safe = pintTipWindow.safeAreaInsets;
        [self.whoEraPause mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(safe);
        }];
    }else {
        [self.whoEraPause mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 0, 0, 0));
        }];
    }
}


- (void)webView:(WKWebView *)webView didFailProvisionalNavigation:(WKNavigation *)navigation {
    [super webView:webView didFailProvisionalNavigation:navigation];
    self.dueLexiconButton.hidden = NO;
}

- (void)tradPackInteriorSecurelyLacrosseSwitchWebpage:(NSURL *)URL {
    [super tradPackInteriorSecurelyLacrosseSwitchWebpage:URL];
    
    
    
    
    void (^completionBlock)(BOOL) = self.weeklySpeed[DueIcyFetch.itsPosterIcy.bankersJumpSegueAtomBetweenThe];
    if (completionBlock) {
        [[TalkArrayManager shared] whileRearBigWindow];
        completionBlock([URL.host isEqualToString:DueIcyFetch.itsPosterIcy.thicknessProtectedOrnamentToolOutputPin]);
    }
}

- (void)breakTagHalftoneSheHit:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super breakTagHalftoneSheHit:touches withEvent:event];
    if ([self.weeklySpeed[DueIcyFetch.itsPosterIcy.borderedPopCopticFavoritesMediaBlood] boolValue]) {
        [self totalHighestTicketsRunCommonAction:nil];
    }
}
@end
