






#import "NotAlphaView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+WasImage.h"
#import "MenTintSave.h"
#import "NSString+SubEntity.h"
#import "TwoAlertView.h"
#import "FarTempRateWayWindow.h"
#import "FixingBaseLeapViewController.h"
#import "UIDevice+OurDevice.h"
#import "ExportKitManager.h"

@interface NotAlphaView()  <UIGestureRecognizerDelegate> {
    CGPoint previewAverageFoggyMaskAdobeProtected;
    BOOL subIndexingAlbumHellmanMandarin;
    BOOL fairSiblingsWaxKilowattElectricProxy; 
    BOOL seedMixSquarePintNeutral; 
}


@property (nonatomic, strong) FarTempRateWayWindow *areArtCropWindow;
@property (nonatomic, weak) UIWindow *neverStylizeWindow;


@property (nonatomic, strong) UIImageView *selectionView;
@property (nonatomic, strong) UIView *wideDestroyView;


@property (nonatomic, strong) UIView *upperLinkView;
@property (nonatomic, strong) UILabel *laterCityLabel;
@property (nonatomic, assign) BOOL selfMalayalamDaysSpeedProviders;


@property (nonatomic, strong) NSTimer *streamReceiveTimer;
@property (nonatomic, assign) UIEdgeInsets gradientBinPrimeReactorCancelled;
@property (nonatomic, assign) CGRect casePictureDepthAlignAnotherMounted;


@property (nonatomic, strong) UIImage *blurRawTurnImage;
@property (nonatomic, copy) NSString *signCursorsLocalizedRetryViolation;
@property (nonatomic, strong) UIImage *appendSheImage;
@property (nonatomic, assign) CGFloat bracketedMetal;
@property (nonatomic, assign) AlpinePosterEdge spaRowsRadioEdge;
@property (nonatomic, assign) NSTimeInterval designFocusesSmallAlphabetResign;
@property (nonatomic, assign) BOOL archivedCookieThicknessSeparatorExtendMusic;
@end

@implementation NotAlphaView


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

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

- (void)engineerTeamAlbanianSayAttach {
    self.bracketedMetal = 10.0;
    self.designFocusesSmallAlphabetResign = 3.0;
    self.archivedCookieThicknessSeparatorExtendMusic = YES;
    
    
    self.selectionView = [[UIImageView alloc] init];
    self.selectionView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.selectionView];
    
    self.upperLinkView = [[UIView alloc] init];
    self.upperLinkView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.upperLinkView.layer.cornerRadius = 20;
    self.upperLinkView.layer.masksToBounds = YES;
    self.upperLinkView.alpha = 0.0;
    
    self.laterCityLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.laterCityLabel.text = MenTintSave.mixerRetDogPub.capturedBestOrdinalStepFixSwipe;
    self.laterCityLabel.numberOfLines = 0;
    self.laterCityLabel.textColor = [UIColor whiteColor];
    self.laterCityLabel.textAlignment = NSTextAlignmentCenter;
    self.laterCityLabel.font = [UIFont systemFontOfSize:14];
    [self.upperLinkView addSubview:self.laterCityLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(focusingFactor:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(motionInternet)];
    [self addGestureRecognizer:tap];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(shrinkOutcomePointerReleasedSeleniumSuffix)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setCutterAreaJson:(NSDictionary *)cutterAreaJson {
    _cutterAreaJson = cutterAreaJson;
    if (cutterAreaJson && self.areArtCropWindow != nil) {
        NSString *action = cutterAreaJson[MenTintSave.ironRouteMix.tipArePopCheck];
        if ([action isEqualToString:MenTintSave.ironRouteMix.insideYouSin]) {
            self.wideDestroyView.hidden = NO;
        }else if ([action isEqualToString:MenTintSave.ironRouteMix.submitSonSee]) {
            self.wideDestroyView.hidden = YES;
        }else if ([action isEqualToString:MenTintSave.ironRouteMix.boxPluralSindhiExportingPrior]) {
            self.wideDestroyView.hidden = NO;
        }
    }
}


+ (void)rejection {
    [self.shared locallyBiometrySwimmingWillDirectoryArcadeImage:[UIImage cautionPreservesLevelEnglishFlowName:MenTintSave.ironRouteMix.effectiveDirectorNativeGermanGenre] alignAsk:MenTintSave.distanceLinearFaeroeseOnlineExpecting execImage:nil];
}

+ (void)mainToleranceImage:(UIImage *)image {
    [[self shared] locallyBiometrySwimmingWillDirectoryArcadeImage:image execImage:nil];
}

+ (void)tipScrolledImage:(UIImage *)normalImage execImage:(nullable UIImage *)execImage {
    NotAlphaView *instance = [self shared];
    instance.blurRawTurnImage = normalImage;
    instance.signCursorsLocalizedRetryViolation = nil;
    instance.appendSheImage = execImage;
    instance.selectionView.image = normalImage;
}

+ (void)carActual {
    [[self shared] previewsSlidingRecordingFitAngle];
}

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


- (void)locallyBiometrySwimmingWillDirectoryArcadeImage:(UIImage *)image execImage:(nullable UIImage *)execImage {
    [self locallyBiometrySwimmingWillDirectoryArcadeImage:image alignAsk:nil execImage:execImage];
}

- (void)locallyBiometrySwimmingWillDirectoryArcadeImage:(UIImage *)image alignAsk:(NSString *)alignAsk execImage:(nullable UIImage *)execImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.blurRawTurnImage = image;
        self.signCursorsLocalizedRetryViolation = alignAsk;
        self.appendSheImage = execImage;
        
        if (!self.areArtCropWindow) {
            [self waterWindowStandSignUseWindow];
            [self homeUnlockTruncatesCapQuarter];
            [self missingFitLastDefinedCupNewsstand];
            [self duplexPaddleRefreshHasRevisionsDetailed]; 
        }
        
        [self.areArtCropWindow makeKeyAndVisible];
        [self.neverStylizeWindow makeKeyWindow];
        
        [self effectiveIncomingPublicAnalysisChromaBusAnimation:YES];
        [self ageMenIntegerMindfulSwitchTimer];
    });
}

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


- (void)waterWindowStandSignUseWindow {
    
    self.neverStylizeWindow = [self eraBackwardsVitaminUtilitiesIdleWindow];
    
    
    FarTempRateWayWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[FarTempRateWayWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[FarTempRateWayWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[FixingBaseLeapViewController alloc] init];
    window.hidden = NO;
    self.areArtCropWindow = window;
    
    
    [self.areArtCropWindow resignKeyWindow];
    [self.neverStylizeWindow makeKeyWindow];
    
    
    [self addSubview:self.wideDestroyView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.signCursorsLocalizedRetryViolation) {
        [self.selectionView sd_setImageWithURL:[NSURL URLWithString:self.signCursorsLocalizedRetryViolation] placeholderImage
                                              :[UIImage cautionPreservesLevelEnglishFlowName:MenTintSave.ironRouteMix.effectiveDirectorNativeGermanGenre]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.selectionView.image = self.blurRawTurnImage;
    }
    self.selectionView.frame = self.bounds;
    
    [self.areArtCropWindow addSubview:self];
    [self.areArtCropWindow addSubview:self.upperLinkView];
}


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

          (andDiscarded.size.width - along/2),
          andDiscarded.size.height - along/2,
          along,
          along
        );
        self.upperLinkView.layer.masksToBounds = YES;
        self.upperLinkView.layer.cornerRadius = along/2;
        self.laterCityLabel.center = CGPointMake(along/3, along/4);
    }
}


- (void)motionInternet {
    if (self.cutterAreaJson) {
        !self.availCupHandler ?: self.availCupHandler(self.cutterAreaJson[MenTintSave.ironRouteMix.mainSunRead]);
        if ([self.cutterAreaJson[MenTintSave.ironRouteMix.tipArePopCheck] isEqualToString:MenTintSave.ironRouteMix.boxPluralSindhiExportingPrior]) {
            self.wideDestroyView.hidden = YES;
            _cutterAreaJson = nil;
        }
    }else {
        !self.availCupHandler ?: self.availCupHandler(nil);
    }
}

- (void)focusingFactor:(UIPanGestureRecognizer *)gesture {
    if (subIndexingAlbumHellmanMandarin) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            previewAverageFoggyMaskAdobeProtected = self.center;
            _selectionView.alpha = 1;
            [self lowManualChainWasPartly];
            fairSiblingsWaxKilowattElectricProxy = NO; 
            seedMixSquarePintNeutral = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.upperLinkView.layer removeAllAnimations];
            
            
            self.upperLinkView.alpha = 0.0;
            self.upperLinkView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self pullOverDecrementLowerImportantMouthEndpointCenter:
                           CGPointMake(previewAverageFoggyMaskAdobeProtected.x + translation.x,
                                       previewAverageFoggyMaskAdobeProtected.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL FindRuleMan = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect helpFrame = self.upperLinkView.frame;
            CGRect textDigit = CGRectInset(helpFrame, -280, FindRuleMan?-100:-280); 
            BOOL wrapFetchOdd = CGRectContainsPoint(textDigit, self.center);
            
            
            
            
            if (wrapFetchOdd != seedMixSquarePintNeutral) {
                seedMixSquarePintNeutral = wrapFetchOdd;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.upperLinkView.alpha = wrapFetchOdd ? 1.0 : 0.0;
                    self.upperLinkView.transform = wrapFetchOdd ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            wrapFetchOdd = CGRectContainsPoint(CGRectInset(helpFrame, 0, 0), self.center);
            if (wrapFetchOdd && !fairSiblingsWaxKilowattElectricProxy) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                fairSiblingsWaxKilowattElectricProxy = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.upperLinkView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!wrapFetchOdd) {
                if (fairSiblingsWaxKilowattElectricProxy) {
                    self.upperLinkView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                fairSiblingsWaxKilowattElectricProxy = NO;
            }
            
            
            textDigit = CGRectInset(helpFrame, 0, 0);
            _selfMalayalamDaysSpeedProviders = CGRectContainsPoint(textDigit, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.upperLinkView.alpha = 0.0;
                self.upperLinkView.transform = CGAffineTransformIdentity;
            }];
            
            if (_selfMalayalamDaysSpeedProviders) {
                [TwoAlertView newsstandMessagingAppleDrawDropFuture:nil message:MenTintSave.mixerRetDogPub.remoteRejectButSelectingFrequencySix absoluteType:@[MenTintSave.mixerRetDogPub.plugRedEach, MenTintSave.mixerRetDogPub.canRank] completion:^(NSInteger bitUseIndex) {
                    if (bitUseIndex ==1) {
                        [self previewsSlidingRecordingFitAngle];
                    }else {
                        [self effectiveIncomingPublicAnalysisChromaBusAnimation:YES];
                        [self ageMenIntegerMindfulSwitchTimer];
                    }
                }];
            } else {
                [self effectiveIncomingPublicAnalysisChromaBusAnimation:YES];
                [self ageMenIntegerMindfulSwitchTimer];
            }
            fairSiblingsWaxKilowattElectricProxy = NO;
            seedMixSquarePintNeutral = NO;
            break;
        }

        default: break;
    }
}


- (void)effectiveIncomingPublicAnalysisChromaBusAnimation:(BOOL)animate {
    if (!_archivedCookieThicknessSeparatorExtendMusic) return;
    
    
    if (subIndexingAlbumHellmanMandarin && animate) return;
    
    CGRect barsFrame = [self ovulationPageVarianceInsertionTabFrame];
    CGPoint center = self.center;
    
    CGFloat part = barsFrame.origin.x;
    CGFloat dash = barsFrame.origin.x + barsFrame.size.width;
    CGFloat clip = barsFrame.origin.y;
    CGFloat grow = barsFrame.origin.y + barsFrame.size.height;
    
    
    AlpinePosterEdge sayMidEdge = FlightWrongEmbeddingFathomsEraQuotation;
    CGFloat airRollback = CGFLOAT_MAX;
    
    
    CGFloat winBed = center.x - part;
    CGFloat funUnit = dash - center.x;
    CGFloat thick = center.y - clip;
    CGFloat factored = grow - center.y;
    
    NSArray *boundGolf = @[@(winBed), @(funUnit), @(thick), @(factored)];
    NSArray *edges = @[@(NineWorkoutResultingAngularKurdishLazy), @(InvokeMergeMenKernelCopticObtain),
                       @(ResultLacrosseRetriedPencilWeek), @(NegotiateChineseSameEndAliveMay)];
    
    for (NSInteger i = 0; i < boundGolf.count; i++) {
        CGFloat distance = [boundGolf[i] floatValue];
        if (distance < airRollback) {
            airRollback = distance;
            sayMidEdge = [edges[i] integerValue];
        }
    }
    
    
    if (sayMidEdge == self.spaRowsRadioEdge) {
        CGPoint armWakeCenter = self.center;
        CGPoint icyCupCenter = [self soundDiscardCloseUnwindSplatReplacedEdge:sayMidEdge];
        CGFloat distance = hypot(armWakeCenter.x - icyCupCenter.x, armWakeCenter.y - icyCupCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.spaRowsRadioEdge = sayMidEdge;
    
    
    CGPoint icyCupCenter = [self soundDiscardCloseUnwindSplatReplacedEdge:sayMidEdge];
    CGPoint clampCenter = [self carMustWaistLatencyMongolianGenrePartEdge:sayMidEdge];
    
    
    subIndexingAlbumHellmanMandarin = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->subIndexingAlbumHellmanMandarin = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = icyCupCenter;
        self.wideDestroyView.center = clampCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)soundDiscardCloseUnwindSplatReplacedEdge:(AlpinePosterEdge)edge {
    CGRect barsFrame = [self ovulationPageVarianceInsertionTabFrame];
    CGPoint center = self.center;
    
    CGFloat part = barsFrame.origin.x;
    CGFloat dash = barsFrame.origin.x + barsFrame.size.width;
    CGFloat clip = barsFrame.origin.y;
    CGFloat grow = barsFrame.origin.y + barsFrame.size.height;
    
    CGPoint icyCupCenter = center;
    
    switch (edge) {
        case NineWorkoutResultingAngularKurdishLazy:
            icyCupCenter.x = part + self.bounds.size.width/2 + _bracketedMetal;
            break;
        case InvokeMergeMenKernelCopticObtain:
            icyCupCenter.x = dash - self.bounds.size.width/2 - _bracketedMetal;
            break;
        case ResultLacrosseRetriedPencilWeek:
            icyCupCenter.y = clip + self.bounds.size.height/2 + _bracketedMetal;
            break;
        case NegotiateChineseSameEndAliveMay:
            icyCupCenter.y = grow - self.bounds.size.height/2 - _bracketedMetal;
            break;
        default:
            break;
    }
    
    
    return [self pullOverDecrementLowerImportantMouthEndpointCenter:icyCupCenter];
}


- (CGPoint)carMustWaistLatencyMongolianGenrePartEdge:(AlpinePosterEdge)edge {
    CGPoint clampCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case NineWorkoutResultingAngularKurdishLazy:
            clampCenter.x = self.bounds.size.width;
            break;
        case InvokeMergeMenKernelCopticObtain:
            
            break;
        case ResultLacrosseRetriedPencilWeek:
            clampCenter.x = self.bounds.size.width;
            clampCenter.y = self.bounds.size.height;
            break;
        case NegotiateChineseSameEndAliveMay:
            clampCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return clampCenter;
}


- (void)ageMenIntegerMindfulSwitchTimer {
    if (_designFocusesSmallAlphabetResign <= 0) return;
    
    [self lowManualChainWasPartly];
    _streamReceiveTimer = [NSTimer scheduledTimerWithTimeInterval:_designFocusesSmallAlphabetResign
                                                     target:self
                                                   selector:@selector(producePauseDarkerFramePower)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)lowManualChainWasPartly {
    [_streamReceiveTimer invalidate];
    _streamReceiveTimer = nil;
}

- (void)producePauseDarkerFramePower {
    [UIView animateWithDuration:0.3 animations:^{
        self.selectionView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.spaRowsRadioEdge) {
            case NineWorkoutResultingAngularKurdishLazy:
                frame.origin.x -= self.bracketedMetal;
                break;
            case InvokeMergeMenKernelCopticObtain:
                frame.origin.x += self.bracketedMetal;
                break;
            case ResultLacrosseRetriedPencilWeek:
                frame.origin.y -= self.bracketedMetal;
                break;
            case NegotiateChineseSameEndAliveMay:
                frame.origin.y += self.bracketedMetal;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)shrinkOutcomePointerReleasedSeleniumSuffix {
    [self homeUnlockTruncatesCapQuarter];
    [self duplexPaddleRefreshHasRevisionsDetailed]; 
    [self effectiveIncomingPublicAnalysisChromaBusAnimation:YES];
}


- (void)homeUnlockTruncatesCapQuarter {
    UIWindow *keyWindow = ExportKitManager.shared.outButtonFarWindow; //self.neverStylizeWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice pingMask]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice getGet]) {
        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.gradientBinPrimeReactorCancelled = safeArea;
    self.casePictureDepthAlignAnotherMounted = keyWindow.bounds;
}

- (CGRect)ovulationPageVarianceInsertionTabFrame {
    
    return CGRectMake(
        self.casePictureDepthAlignAnotherMounted.origin.x + self.gradientBinPrimeReactorCancelled.left,
        self.casePictureDepthAlignAnotherMounted.origin.y + self.gradientBinPrimeReactorCancelled.top,
        self.casePictureDepthAlignAnotherMounted.size.width - (self.gradientBinPrimeReactorCancelled.left + self.gradientBinPrimeReactorCancelled.right),
        self.casePictureDepthAlignAnotherMounted.size.height - (self.gradientBinPrimeReactorCancelled.top + self.gradientBinPrimeReactorCancelled.bottom)
    );
}


- (void)missingFitLastDefinedCupNewsstand {
    NSString *hasPerformer = [[NSUserDefaults standardUserDefaults] valueForKey:MenTintSave.ironRouteMix.footerLimitSemicolonPrimariesAdvisoryHost];
    if (hasPerformer) {
        self.center = CGPointFromString(hasPerformer);
    }else {
        
        CGRect barsFrame = [self ovulationPageVarianceInsertionTabFrame];
        self.center = CGPointMake(barsFrame.origin.x + barsFrame.size.width - self.bounds.size.width/2 - _bracketedMetal,
                                  barsFrame.origin.y + barsFrame.size.height/2);
    }
}


- (UIWindow *)eraBackwardsVitaminUtilitiesIdleWindow {
    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)pullOverDecrementLowerImportantMouthEndpointCenter:(CGPoint)proposedCenter {
    CGRect barsFrame = [self ovulationPageVarianceInsertionTabFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat part = barsFrame.origin.x + buttonSize.width/2;
    CGFloat dash = barsFrame.origin.x + barsFrame.size.width - buttonSize.width/2;
    CGFloat clip = barsFrame.origin.y + buttonSize.height/2;
    CGFloat grow = barsFrame.origin.y + barsFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(part, MIN(proposedCenter.x, dash)),
        MAX(clip, MIN(proposedCenter.y, grow))
    );
}

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

@end
