






#import "LargeLawViewController.h"
#import "AutoIntroManager.h"

@interface LargeLawViewController ()

@end

@implementation LargeLawViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    self.touchesNeed.opaque = NO;
    if ([self underRestoringPathAbsentWeekday:self.endOnlyCall]) {
        NSMutableDictionary *era = [NSMutableDictionary new];
        era[WinSubAbove.swipeFlagDay.bitsUnderQuietInterDiamond] = @{
            WinSubAbove.swipeFlagDay.otherUpperGramExecAlways:@(MAXFLOAT),
            WinSubAbove.swipeFlagDay.blockerMeanFixingFocalHello:@(MAXFLOAT)
        };
        era[WinSubAbove.swipeFlagDay.modelClipLossy] = self.endOnlyCall;
        era[WinSubAbove.swipeFlagDay.emergencySawHeadSlovakSyntheticCancel] = @(NO);
        era[WinSubAbove.swipeFlagDay.producingTallLowKilowattNineteenWake] = @(NO);
        self.endOnlyCall = era;
    }
    
    if (![self.endOnlyCall[WinSubAbove.swipeFlagDay.beaconsSumHeadsetArrowCoulombs] boolValue]) {
        self.view.backgroundColor = UIColor.blackColor;
    }else {
        self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    }
    self.insetAllCut = self.endOnlyCall[WinSubAbove.swipeFlagDay.modelClipLossy];
    
}

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

- (void)viewDidAppear:(BOOL)animated {
    [super viewDidAppear:animated];
    if ([self.endOnlyCall[WinSubAbove.swipeFlagDay.emergencySawHeadSlovakSyntheticCancel] boolValue]) {
        self.sunTreeIllButton.hidden = NO;
        [self.view bringSubviewToFront:self.sunTreeIllButton];
    }
}

- (void)viewWillAppear:(BOOL)animated {
    [super viewWillAppear:animated];
    CGFloat width = [self.endOnlyCall[WinSubAbove.swipeFlagDay.bitsUnderQuietInterDiamond][WinSubAbove.swipeFlagDay.otherUpperGramExecAlways] floatValue];
    CGFloat height = [self.endOnlyCall[WinSubAbove.swipeFlagDay.bitsUnderQuietInterDiamond][WinSubAbove.swipeFlagDay.blockerMeanFixingFocalHello] floatValue];
    CGFloat Italics = [UIScreen mainScreen].bounds.size.width;
    CGFloat OneBond = [UIScreen mainScreen].bounds.size.height;
    CGFloat faceChina = width == 0 ? Italics : MIN(width, Italics);
    CGFloat realAddBad = height == 0 ? OneBond : MIN(height, OneBond);
    [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
        make.center.mas_equalTo(0);
        make.size.mas_equalTo(CGSizeMake(faceChina, realAddBad));
    }];
    if (Italics == faceChina && OneBond == realAddBad) {
        UIWindow *offFeetWindow = [[AutoIntroManager shared] drySlightBagWindow];
        UIEdgeInsets safe = offFeetWindow.safeAreaInsets;
        [self.touchesNeed mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(safe);
        }];
    }else {
        [self.touchesNeed 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.sunTreeIllButton.hidden = NO;
}

- (void)frameAccordingRelationsPinchEnergyBookBring:(NSURL *)URL {
    [super frameAccordingRelationsPinchEnergyBookBring:URL];
    
    
    
    
    void (^completionBlock)(BOOL) = self.endOnlyCall[WinSubAbove.swipeFlagDay.thinSpotlightSelectorsInactiveHelperAccepted];
    if (completionBlock) {
        [[AutoIntroManager shared] fullHertzKeyWindow];
        completionBlock([URL.host isEqualToString:WinSubAbove.swipeFlagDay.drizzlePortalIndexingSchedulerSaySemaphore]);
    }
}

- (void)herPrintableFootnoteProtocolsReplies:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event {
    [super herPrintableFootnoteProtocolsReplies:touches withEvent:event];
    if ([self.endOnlyCall[WinSubAbove.swipeFlagDay.producingTallLowKilowattNineteenWake] boolValue]) {
        [self fitGlucoseReclaimHasEndpointAction:nil];
    }
}
@end
