






#import "BlindingView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+ManImage.h"
#import "SheTintAuto.h"
#import "NSString+RepairBar.h"
#import "DryAlertView.h"
#import "PrepDueMoodMapWindow.h"
#import "BurstSockHeartViewController.h"
#import "UIDevice+PenDevice.h"
#import "RotorWaitManager.h"

@interface BlindingView()  <UIGestureRecognizerDelegate> {
    CGPoint indoorHowModuleDuplicateDecrementBike;
    BOOL ourTenHailMaxTatar;
    BOOL precisionTrapAskTooWaistGreek; 
    BOOL acceptedGoalInsertedSeparateDerived; 
}


@property (nonatomic, strong) PrepDueMoodMapWindow *theTheCharWindow;
@property (nonatomic, weak) UIWindow *portDeliveryWindow;


@property (nonatomic, strong) UIImageView *factorPenView;
@property (nonatomic, strong) UIView *carPoliciesView;


@property (nonatomic, strong) UIView *hourOwnerView;
@property (nonatomic, strong) UILabel *binaryEndLabel;
@property (nonatomic, assign) BOOL rankOppositeBoundExclusiveBurn;


@property (nonatomic, strong) NSTimer *saturatedSlabTimer;
@property (nonatomic, assign) UIEdgeInsets lappishIgnoreTargetAssertionMinute;
@property (nonatomic, assign) CGRect throughMinRowRedonePassAxes;


@property (nonatomic, strong) UIImage *lowProviderImage;
@property (nonatomic, copy) NSString *cosmicAddStopEncodingHurricane;
@property (nonatomic, strong) UIImage *toleranceImage;
@property (nonatomic, assign) CGFloat bloodRedoGuide;
@property (nonatomic, assign) GatherParentEdge surrogateSonEdge;
@property (nonatomic, assign) NSTimeInterval layerCostBatteryToneDrop;
@property (nonatomic, assign) BOOL dirtyEggFlashArmSilencedFound;
@end

@implementation BlindingView


+ (instancetype)shared {
    static BlindingView *instance = nil;
    static dispatch_once_t menuToken;
    dispatch_once(&menuToken, ^{
        instance = [[super alloc] initWithFrame:CGRectZero];
        [instance cellDeciliterPurposeMiddleOwn];
    });
    return instance;
}

- (UIView *)carPoliciesView {
    if (!_carPoliciesView) {
        _carPoliciesView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 8, 8)];
        _carPoliciesView.backgroundColor = UIColor.redColor;
        _carPoliciesView.layer.cornerRadius = 4;
        _carPoliciesView.hidden = YES;
    }
    return _carPoliciesView;
}

- (void)cellDeciliterPurposeMiddleOwn {
    self.bloodRedoGuide = 10.0;
    self.layerCostBatteryToneDrop = 3.0;
    self.dirtyEggFlashArmSilencedFound = YES;
    
    
    self.factorPenView = [[UIImageView alloc] init];
    self.factorPenView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.factorPenView];
    
    self.hourOwnerView = [[UIView alloc] init];
    self.hourOwnerView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.hourOwnerView.layer.cornerRadius = 20;
    self.hourOwnerView.layer.masksToBounds = YES;
    self.hourOwnerView.alpha = 0.0;
    
    self.binaryEndLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.binaryEndLabel.text = SheTintAuto.floatFootThird.reportEntitiesAllergyTransitDecideButterfly;
    self.binaryEndLabel.numberOfLines = 0;
    self.binaryEndLabel.textColor = [UIColor whiteColor];
    self.binaryEndLabel.textAlignment = NSTextAlignmentCenter;
    self.binaryEndLabel.font = [UIFont systemFontOfSize:14];
    [self.hourOwnerView addSubview:self.binaryEndLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(priceNorwegian:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *arm = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(chunkEulerSkin)];
    [self addGestureRecognizer:arm];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(justRouterWorkoutsKannadaLambdaRequire)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setAtomSobEarJson:(NSDictionary *)atomSobEarJson {
    _atomSobEarJson = atomSobEarJson;
    if (atomSobEarJson && self.theTheCharWindow != nil) {
        NSString *action = atomSobEarJson[SheTintAuto.linerIndexed.excludeHelpers];
        if ([action isEqualToString:SheTintAuto.linerIndexed.memberSoccer]) {
            self.carPoliciesView.hidden = NO;
        }else if ([action isEqualToString:SheTintAuto.linerIndexed.minBackReset]) {
            self.carPoliciesView.hidden = YES;
        }else if ([action isEqualToString:SheTintAuto.linerIndexed.componentLanguagesBandMonotonicWet]) {
            self.carPoliciesView.hidden = NO;
        }
    }
}


+ (void)wayResign {
    [self.shared deriveTipSquashTallShiftAvailableImage:[UIImage rainClosureAbortCollectStarName:SheTintAuto.linerIndexed.hurricaneNotKilowattAfterAtomic] zipCaret:SheTintAuto.extendRenameEvictSleepJob userImage:nil];
}

+ (void)dayCupTabSlowImage:(UIImage *)image {
    [[self shared] deriveTipSquashTallShiftAvailableImage:image userImage:nil];
}

+ (void)partOddBaseImage:(UIImage *)normalImage userImage:(nullable UIImage *)userImage {
    BlindingView *instance = [self shared];
    instance.lowProviderImage = normalImage;
    instance.cosmicAddStopEncodingHurricane = nil;
    instance.toleranceImage = userImage;
    instance.factorPenView.image = normalImage;
}

+ (void)sinkGroup {
    [[self shared] petiteSearchingSpeakMediaDecode];
}

+ (BOOL)deltaCollector {
    return [self shared].theTheCharWindow != nil;
}


- (void)deriveTipSquashTallShiftAvailableImage:(UIImage *)image userImage:(nullable UIImage *)userImage {
    [self deriveTipSquashTallShiftAvailableImage:image zipCaret:nil userImage:userImage];
}

- (void)deriveTipSquashTallShiftAvailableImage:(UIImage *)image zipCaret:(NSString *)zipCaret userImage:(nullable UIImage *)userImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.lowProviderImage = image;
        self.cosmicAddStopEncodingHurricane = zipCaret;
        self.toleranceImage = userImage;
        
        if (!self.theTheCharWindow) {
            [self gaelicSlidingSyntaxSobFilenameWindow];
            [self primeIllegalTalkUnionLow];
            [self slidingApplierBiometrySpatialDetailContents];
            [self increaseJouleLearnSaveInsertedPush]; 
        }
        
        [self.theTheCharWindow makeKeyAndVisible];
        [self.portDeliveryWindow makeKeyWindow];
        
        [self normalizeCorruptUndoRunAlbanianBeaconAnimation:YES];
        [self countingBurstTransferFloaterCategoryTimer];
    });
}

- (void)petiteSearchingSpeakMediaDecode {
    dispatch_async(dispatch_get_main_queue(), ^{
        [self.theTheCharWindow resignKeyWindow];
        self.theTheCharWindow.hidden = YES;
        self.theTheCharWindow = nil;
    });
}


- (void)gaelicSlidingSyntaxSobFilenameWindow {
    
    self.portDeliveryWindow = [self invokeCenteredCarOneRevisionWindow];
    
    
    PrepDueMoodMapWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[PrepDueMoodMapWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[PrepDueMoodMapWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[BurstSockHeartViewController alloc] init];
    window.hidden = NO;
    self.theTheCharWindow = window;
    
    
    [self.theTheCharWindow resignKeyWindow];
    [self.portDeliveryWindow makeKeyWindow];
    
    
    [self addSubview:self.carPoliciesView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.cosmicAddStopEncodingHurricane) {
        [self.factorPenView sd_setImageWithURL:[NSURL URLWithString:self.cosmicAddStopEncodingHurricane] placeholderImage
                                              :[UIImage rainClosureAbortCollectStarName:SheTintAuto.linerIndexed.hurricaneNotKilowattAfterAtomic]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.factorPenView.image = self.lowProviderImage;
    }
    self.factorPenView.frame = self.bounds;
    
    [self.theTheCharWindow addSubview:self];
    [self.theTheCharWindow addSubview:self.hourOwnerView];
}


- (void)increaseJouleLearnSaveInsertedPush {
    CGRect footballNeed = self.throughMinRowRedonePassAxes;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
#pragma clang diagnostic pop
    
    if (UIInterfaceOrientationIsLandscape(orientation)) {
        CGFloat stack = 180;
        self.hourOwnerView.frame = CGRectMake(
         (footballNeed.size.width - stack)/2,
          footballNeed.size.height - stack/2,
          stack,
          stack
        );
        self.hourOwnerView.layer.masksToBounds = YES;
        self.hourOwnerView.layer.cornerRadius = stack/2;
        self.binaryEndLabel.center = CGPointMake(stack/2, stack/4);
    }
    
    else {
        CGFloat stack = 240;
        self.hourOwnerView.frame = CGRectMake(

          (footballNeed.size.width - stack/2),
          footballNeed.size.height - stack/2,
          stack,
          stack
        );
        self.hourOwnerView.layer.masksToBounds = YES;
        self.hourOwnerView.layer.cornerRadius = stack/2;
        self.binaryEndLabel.center = CGPointMake(stack/3, stack/4);
    }
}


- (void)chunkEulerSkin {
    if (self.atomSobEarJson) {
        !self.angleJobHandler ?: self.angleJobHandler(self.atomSobEarJson[SheTintAuto.linerIndexed.beganWetWin]);
        if ([self.atomSobEarJson[SheTintAuto.linerIndexed.excludeHelpers] isEqualToString:SheTintAuto.linerIndexed.componentLanguagesBandMonotonicWet]) {
            self.carPoliciesView.hidden = YES;
            _atomSobEarJson = nil;
        }
    }else {
        !self.angleJobHandler ?: self.angleJobHandler(nil);
    }
}

- (void)priceNorwegian:(UIPanGestureRecognizer *)gesture {
    if (ourTenHailMaxTatar) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            indoorHowModuleDuplicateDecrementBike = self.center;
            _factorPenView.alpha = 1;
            [self containsInvisibleInfoSearchEncrypted];
            precisionTrapAskTooWaistGreek = NO; 
            acceptedGoalInsertedSeparateDerived = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.hourOwnerView.layer removeAllAnimations];
            
            
            self.hourOwnerView.alpha = 0.0;
            self.hourOwnerView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self reductionKeyFunkFlushedIncreaseSentencesBuddyCenter:
                           CGPointMake(indoorHowModuleDuplicateDecrementBike.x + translation.x,
                                       indoorHowModuleDuplicateDecrementBike.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL FarEmailCan = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect nameFrame = self.hourOwnerView.frame;
            CGRect describes = CGRectInset(nameFrame, -280, FarEmailCan?-100:-280); 
            BOOL civilStorage = CGRectContainsPoint(describes, self.center);
            
            
            
            
            if (civilStorage != acceptedGoalInsertedSeparateDerived) {
                acceptedGoalInsertedSeparateDerived = civilStorage;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.hourOwnerView.alpha = civilStorage ? 1.0 : 0.0;
                    self.hourOwnerView.transform = civilStorage ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            civilStorage = CGRectContainsPoint(CGRectInset(nameFrame, 0, 0), self.center);
            if (civilStorage && !precisionTrapAskTooWaistGreek) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                precisionTrapAskTooWaistGreek = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.hourOwnerView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!civilStorage) {
                if (precisionTrapAskTooWaistGreek) {
                    self.hourOwnerView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                precisionTrapAskTooWaistGreek = NO;
            }
            
            
            describes = CGRectInset(nameFrame, 0, 0);
            _rankOppositeBoundExclusiveBurn = CGRectContainsPoint(describes, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.hourOwnerView.alpha = 0.0;
                self.hourOwnerView.transform = CGAffineTransformIdentity;
            }];
            
            if (_rankOppositeBoundExclusiveBurn) {
                [DryAlertView layoutRotationKitBottomStepsonSharing:nil message:SheTintAuto.floatFootThird.asteriskSubjectOnlineZipSpanPrincipal onceFraction:@[SheTintAuto.floatFootThird.likeCapBeen, SheTintAuto.floatFootThird.maxForm] completion:^(NSInteger marginIndex) {
                    if (marginIndex ==1) {
                        [self petiteSearchingSpeakMediaDecode];
                    }else {
                        [self normalizeCorruptUndoRunAlbanianBeaconAnimation:YES];
                        [self countingBurstTransferFloaterCategoryTimer];
                    }
                }];
            } else {
                [self normalizeCorruptUndoRunAlbanianBeaconAnimation:YES];
                [self countingBurstTransferFloaterCategoryTimer];
            }
            precisionTrapAskTooWaistGreek = NO;
            acceptedGoalInsertedSeparateDerived = NO;
            break;
        }

        default: break;
    }
}


- (void)normalizeCorruptUndoRunAlbanianBeaconAnimation:(BOOL)animate {
    if (!_dirtyEggFlashArmSilencedFound) return;
    
    
    if (ourTenHailMaxTatar && animate) return;
    
    CGRect hailFrame = [self ignoredFingerTagsSuspendedRearFrame];
    CGPoint center = self.center;
    
    CGFloat plus = hailFrame.origin.x;
    CGFloat list = hailFrame.origin.x + hailFrame.size.width;
    CGFloat hang = hailFrame.origin.y;
    CGFloat chat = hailFrame.origin.y + hailFrame.size.height;
    
    
    GatherParentEdge withinEdge = CornerNeverBedGesturesDustDatum;
    CGFloat anyInferGet = CGFLOAT_MAX;
    
    
    CGFloat getHas = center.x - plus;
    CGFloat tryHint = list - center.x;
    CGFloat click = center.y - hang;
    CGFloat previews = chat - center.y;
    
    NSArray *taskAdobe = @[@(getHas), @(tryHint), @(click), @(previews)];
    NSArray *edges = @[@(OperatorMisplacedRelativeAssertNoneUndo), @(LeapItsCloudMultiplyLocalesPerformer),
                       @(DecipherAdjustConstantDeliverCellphone), @(PresentedTempSliceOnlineDepartureUnfocused)];
    
    for (NSInteger i = 0; i < taskAdobe.count; i++) {
        CGFloat distance = [taskAdobe[i] floatValue];
        if (distance < anyInferGet) {
            anyInferGet = distance;
            withinEdge = [edges[i] integerValue];
        }
    }
    
    
    if (withinEdge == self.surrogateSonEdge) {
        CGPoint carrierCenter = self.center;
        CGPoint uniqueCenter = [self napTrackOpaqueGeneralIndirectNowEdge:withinEdge];
        CGFloat distance = hypot(carrierCenter.x - uniqueCenter.x, carrierCenter.y - uniqueCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.surrogateSonEdge = withinEdge;
    
    
    CGPoint uniqueCenter = [self napTrackOpaqueGeneralIndirectNowEdge:withinEdge];
    CGPoint radixCenter = [self coastRedoneArmOldCapsFailingPartialEdge:withinEdge];
    
    
    ourTenHailMaxTatar = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->ourTenHailMaxTatar = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = uniqueCenter;
        self.carPoliciesView.center = radixCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)napTrackOpaqueGeneralIndirectNowEdge:(GatherParentEdge)edge {
    CGRect hailFrame = [self ignoredFingerTagsSuspendedRearFrame];
    CGPoint center = self.center;
    
    CGFloat plus = hailFrame.origin.x;
    CGFloat list = hailFrame.origin.x + hailFrame.size.width;
    CGFloat hang = hailFrame.origin.y;
    CGFloat chat = hailFrame.origin.y + hailFrame.size.height;
    
    CGPoint uniqueCenter = center;
    
    switch (edge) {
        case OperatorMisplacedRelativeAssertNoneUndo:
            uniqueCenter.x = plus + self.bounds.size.width/2 + _bloodRedoGuide;
            break;
        case LeapItsCloudMultiplyLocalesPerformer:
            uniqueCenter.x = list - self.bounds.size.width/2 - _bloodRedoGuide;
            break;
        case DecipherAdjustConstantDeliverCellphone:
            uniqueCenter.y = hang + self.bounds.size.height/2 + _bloodRedoGuide;
            break;
        case PresentedTempSliceOnlineDepartureUnfocused:
            uniqueCenter.y = chat - self.bounds.size.height/2 - _bloodRedoGuide;
            break;
        default:
            break;
    }
    
    
    return [self reductionKeyFunkFlushedIncreaseSentencesBuddyCenter:uniqueCenter];
}


- (CGPoint)coastRedoneArmOldCapsFailingPartialEdge:(GatherParentEdge)edge {
    CGPoint radixCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case OperatorMisplacedRelativeAssertNoneUndo:
            radixCenter.x = self.bounds.size.width;
            break;
        case LeapItsCloudMultiplyLocalesPerformer:
            
            break;
        case DecipherAdjustConstantDeliverCellphone:
            radixCenter.x = self.bounds.size.width;
            radixCenter.y = self.bounds.size.height;
            break;
        case PresentedTempSliceOnlineDepartureUnfocused:
            radixCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return radixCenter;
}


- (void)countingBurstTransferFloaterCategoryTimer {
    if (_layerCostBatteryToneDrop <= 0) return;
    
    [self containsInvisibleInfoSearchEncrypted];
    _saturatedSlabTimer = [NSTimer scheduledTimerWithTimeInterval:_layerCostBatteryToneDrop
                                                     target:self
                                                   selector:@selector(albumFitUbiquityTowerAir)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)containsInvisibleInfoSearchEncrypted {
    [_saturatedSlabTimer invalidate];
    _saturatedSlabTimer = nil;
}

- (void)albumFitUbiquityTowerAir {
    [UIView animateWithDuration:0.3 animations:^{
        self.factorPenView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.surrogateSonEdge) {
            case OperatorMisplacedRelativeAssertNoneUndo:
                frame.origin.x -= self.bloodRedoGuide;
                break;
            case LeapItsCloudMultiplyLocalesPerformer:
                frame.origin.x += self.bloodRedoGuide;
                break;
            case DecipherAdjustConstantDeliverCellphone:
                frame.origin.y -= self.bloodRedoGuide;
                break;
            case PresentedTempSliceOnlineDepartureUnfocused:
                frame.origin.y += self.bloodRedoGuide;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)justRouterWorkoutsKannadaLambdaRequire {
    [self primeIllegalTalkUnionLow];
    [self increaseJouleLearnSaveInsertedPush]; 
    [self normalizeCorruptUndoRunAlbanianBeaconAnimation:YES];
}


- (void)primeIllegalTalkUnionLow {
    UIWindow *keyWindow = RotorWaitManager.shared.terminateRowWindow; //self.portDeliveryWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice runSolid]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice dogIll]) {
        safeArea = UIEdgeInsetsMake(0, 0, 20, 0);
    }else {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
        UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
        safeArea = keyWindow.safeAreaInsets;
        switch (orientation) {
            case UIInterfaceOrientationPortrait:
                safeArea = UIEdgeInsetsMake(safeArea.top-10, 5, 15, 5);
                break;
            case UIInterfaceOrientationPortraitUpsideDown:
                safeArea = UIEdgeInsetsMake(15, 5, safeArea.bottom-10, 5);
                break;
            case UIInterfaceOrientationLandscapeRight:
                safeArea = UIEdgeInsetsMake(5, safeArea.right-10, 15, 5);
                break;
            case UIInterfaceOrientationLandscapeLeft:
                safeArea = UIEdgeInsetsMake(5, 5, 15, safeArea.left-10);
                break;
            case UIInterfaceOrientationUnknown:
            default:
                safeArea = safeArea;
        }
    }
    
    self.lappishIgnoreTargetAssertionMinute = safeArea;
    self.throughMinRowRedonePassAxes = keyWindow.bounds;
}

- (CGRect)ignoredFingerTagsSuspendedRearFrame {
    
    return CGRectMake(
        self.throughMinRowRedonePassAxes.origin.x + self.lappishIgnoreTargetAssertionMinute.left,
        self.throughMinRowRedonePassAxes.origin.y + self.lappishIgnoreTargetAssertionMinute.top,
        self.throughMinRowRedonePassAxes.size.width - (self.lappishIgnoreTargetAssertionMinute.left + self.lappishIgnoreTargetAssertionMinute.right),
        self.throughMinRowRedonePassAxes.size.height - (self.lappishIgnoreTargetAssertionMinute.top + self.lappishIgnoreTargetAssertionMinute.bottom)
    );
}


- (void)slidingApplierBiometrySpatialDetailContents {
    NSString *adoptKeepAll = [[NSUserDefaults standardUserDefaults] valueForKey:SheTintAuto.linerIndexed.readoutGrayHairUnknownAppleScrolled];
    if (adoptKeepAll) {
        self.center = CGPointFromString(adoptKeepAll);
    }else {
        
        CGRect hailFrame = [self ignoredFingerTagsSuspendedRearFrame];
        self.center = CGPointMake(hailFrame.origin.x + hailFrame.size.width - self.bounds.size.width/2 - _bloodRedoGuide,
                                  hailFrame.origin.y + hailFrame.size.height/2);
    }
}


- (UIWindow *)invokeCenteredCarOneRevisionWindow {
    if (@available(iOS 13.0, *)) {
        NSSet<UIScene *> *scenes = [UIApplication sharedApplication].connectedScenes;
        for (UIScene *scene in scenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                UIWindowScene *windowScene = (UIWindowScene *)scene;
                return windowScene.windows.firstObject;
            }
        }
    }
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return [UIApplication sharedApplication].keyWindow;
#pragma clang diagnostic pop
}

- (CGPoint)reductionKeyFunkFlushedIncreaseSentencesBuddyCenter:(CGPoint)proposedCenter {
    CGRect hailFrame = [self ignoredFingerTagsSuspendedRearFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat plus = hailFrame.origin.x + buttonSize.width/2;
    CGFloat list = hailFrame.origin.x + hailFrame.size.width - buttonSize.width/2;
    CGFloat hang = hailFrame.origin.y + buttonSize.height/2;
    CGFloat chat = hailFrame.origin.y + hailFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(plus, MIN(proposedCenter.x, list)),
        MAX(hang, MIN(proposedCenter.y, chat))
    );
}

- (void)dealloc {
    [[NSNotificationCenter defaultCenter] removeObserver:self];
}

@end
