






#import "EyeSwipeView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+GetImage.h"
#import "TextualTemp.h"
#import "NSString+FindPrice.h"
#import "OffAlertView.h"
#import "TallGainEnableWindow.h"
#import "FeedItsOpenTopViewController.h"
#import "UIDevice+ArmDevice.h"
#import "WeekEulerManager.h"

@interface EyeSwipeView()  <UIGestureRecognizerDelegate> {
    CGPoint invertRopeFullyIntegrityPrologOrnaments;
    BOOL languagesDocumentsBurnHitSlovak;
    BOOL exponentsDrainHandshakeEjectCallbackInfer; 
    BOOL tabHandAuthorityNativeRename; 
}


@property (nonatomic, strong) TallGainEnableWindow *midHexTailWindow;
@property (nonatomic, weak) UIWindow *barWorkspaceWindow;


@property (nonatomic, strong) UIImageView *separatedView;
@property (nonatomic, strong) UIView *anyUploadedView;


@property (nonatomic, strong) UIView *pinchMillView;
@property (nonatomic, strong) UILabel *newsstandLabel;
@property (nonatomic, assign) BOOL outsideRealmFastNowLigatures;


@property (nonatomic, strong) NSTimer *arrayKeyStampTimer;
@property (nonatomic, assign) UIEdgeInsets flippedIntervalCaffeineArchivedOff;
@property (nonatomic, assign) CGRect smoothedFavoriteAutomaticMakerSquareOptional;


@property (nonatomic, strong) UIImage *redTemplateImage;
@property (nonatomic, copy) NSString *outdoorGraphicsEndpointRevokedPart;
@property (nonatomic, strong) UIImage *hoverIronImage;
@property (nonatomic, assign) CGFloat alignBigPenBit;
@property (nonatomic, assign) BandPostcardEdge majorLegibleEdge;
@property (nonatomic, assign) NSTimeInterval relationExportedApplierWonBend;
@property (nonatomic, assign) BOOL scoreItalianThumbnailPreferredHeavyPrevents;
@end

@implementation EyeSwipeView


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

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

- (void)sixteenPlateAngleWithinLatency {
    self.alignBigPenBit = 10.0;
    self.relationExportedApplierWonBend = 3.0;
    self.scoreItalianThumbnailPreferredHeavyPrevents = YES;
    
    
    self.separatedView = [[UIImageView alloc] init];
    self.separatedView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.separatedView];
    
    self.pinchMillView = [[UIView alloc] init];
    self.pinchMillView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.pinchMillView.layer.cornerRadius = 20;
    self.pinchMillView.layer.masksToBounds = YES;
    self.pinchMillView.alpha = 0.0;
    
    self.newsstandLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.newsstandLabel.text = TextualTemp.mindSnowHeader.rectifiedFemaleFoundClipStreamWeekend;
    self.newsstandLabel.numberOfLines = 0;
    self.newsstandLabel.textColor = [UIColor whiteColor];
    self.newsstandLabel.textAlignment = NSTextAlignmentCenter;
    self.newsstandLabel.font = [UIFont systemFontOfSize:14];
    [self.pinchMillView addSubview:self.newsstandLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(howTintOneHalf:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *ill = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(lenientDisplay)];
    [self addGestureRecognizer:ill];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(youCallbacksRenderViabilityWarningExplicit)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setFeetCopperJson:(NSDictionary *)feetCopperJson {
    _feetCopperJson = feetCopperJson;
    if (feetCopperJson && self.midHexTailWindow != nil) {
        NSString *action = feetCopperJson[TextualTemp.cancelsParse.dateLabelToday];
        if ([action isEqualToString:TextualTemp.cancelsParse.hintSpaCubic]) {
            self.anyUploadedView.hidden = NO;
        }else if ([action isEqualToString:TextualTemp.cancelsParse.hardTodayTag]) {
            self.anyUploadedView.hidden = YES;
        }else if ([action isEqualToString:TextualTemp.cancelsParse.auditedWakeFunctionPrintBox]) {
            self.anyUploadedView.hidden = NO;
        }
    }
}


+ (void)metabolic {
    [self.shared equallyRealmUniversalRotorRankAnchorImage:[UIImage workGrowBeginAnimatorExcludedName:TextualTemp.cancelsParse.somaliSaltSoloDublinProducts] shapeWin:TextualTemp.stopTriggeredEqualCubeWarp hardImage:nil];
}

+ (void)operatingModeImage:(UIImage *)image {
    [[self shared] equallyRealmUniversalRotorRankAnchorImage:image hardImage:nil];
}

+ (void)farChatStepImage:(UIImage *)normalImage hardImage:(nullable UIImage *)hardImage {
    EyeSwipeView *instance = [self shared];
    instance.redTemplateImage = normalImage;
    instance.outdoorGraphicsEndpointRevokedPart = nil;
    instance.hoverIronImage = hardImage;
    instance.separatedView.image = normalImage;
}

+ (void)affecting {
    [[self shared] learnMatrixNetworkFunSeparated];
}

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


- (void)equallyRealmUniversalRotorRankAnchorImage:(UIImage *)image hardImage:(nullable UIImage *)hardImage {
    [self equallyRealmUniversalRotorRankAnchorImage:image shapeWin:nil hardImage:hardImage];
}

- (void)equallyRealmUniversalRotorRankAnchorImage:(UIImage *)image shapeWin:(NSString *)shapeWin hardImage:(nullable UIImage *)hardImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.redTemplateImage = image;
        self.outdoorGraphicsEndpointRevokedPart = shapeWin;
        self.hoverIronImage = hardImage;
        
        if (!self.midHexTailWindow) {
            [self cacheQuechuaShutdownHyphenQuechuaWindow];
            [self speakerPreferPickerSlowTry];
            [self twentyWonFourthScopeForbidBreak];
            [self formLegibleLeadSinPresentedRoman]; 
        }
        
        [self.midHexTailWindow makeKeyAndVisible];
        [self.barWorkspaceWindow makeKeyWindow];
        
        [self exportedSymbolThirdManyRevisionRollAnimation:YES];
        [self graphicsScriptsHailGreekShelfTimer];
    });
}

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


- (void)cacheQuechuaShutdownHyphenQuechuaWindow {
    
    self.barWorkspaceWindow = [self drizzleDescendSixEvictionIncreaseWindow];
    
    
    TallGainEnableWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[TallGainEnableWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[TallGainEnableWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[FeedItsOpenTopViewController alloc] init];
    window.hidden = NO;
    self.midHexTailWindow = window;
    
    
    [self.midHexTailWindow resignKeyWindow];
    [self.barWorkspaceWindow makeKeyWindow];
    
    
    [self addSubview:self.anyUploadedView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.outdoorGraphicsEndpointRevokedPart) {
        [self.separatedView sd_setImageWithURL:[NSURL URLWithString:self.outdoorGraphicsEndpointRevokedPart] placeholderImage
                                              :[UIImage workGrowBeginAnimatorExcludedName:TextualTemp.cancelsParse.somaliSaltSoloDublinProducts]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.separatedView.image = self.redTemplateImage;
    }
    self.separatedView.frame = self.bounds;
    
    [self.midHexTailWindow addSubview:self];
    [self.midHexTailWindow addSubview:self.pinchMillView];
}


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

          (genderEncode.size.width - paper/2),
          genderEncode.size.height - paper/2,
          paper,
          paper
        );
        self.pinchMillView.layer.masksToBounds = YES;
        self.pinchMillView.layer.cornerRadius = paper/2;
        self.newsstandLabel.center = CGPointMake(paper/3, paper/4);
    }
}


- (void)lenientDisplay {
    if (self.feetCopperJson) {
        !self.peakBitsHandler ?: self.peakBitsHandler(self.feetCopperJson[TextualTemp.cancelsParse.serifCourse]);
        if ([self.feetCopperJson[TextualTemp.cancelsParse.dateLabelToday] isEqualToString:TextualTemp.cancelsParse.auditedWakeFunctionPrintBox]) {
            self.anyUploadedView.hidden = YES;
            _feetCopperJson = nil;
        }
    }else {
        !self.peakBitsHandler ?: self.peakBitsHandler(nil);
    }
}

- (void)howTintOneHalf:(UIPanGestureRecognizer *)gesture {
    if (languagesDocumentsBurnHitSlovak) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            invertRopeFullyIntegrityPrologOrnaments = self.center;
            _separatedView.alpha = 1;
            [self warnRectangleGenerateLockingBin];
            exponentsDrainHandshakeEjectCallbackInfer = NO; 
            tabHandAuthorityNativeRename = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.pinchMillView.layer removeAllAnimations];
            
            
            self.pinchMillView.alpha = 0.0;
            self.pinchMillView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self threeTrustedGroupRegionIntervalDisparityAdvanceCenter:
                           CGPointMake(invertRopeFullyIntegrityPrologOrnaments.x + translation.x,
                                       invertRopeFullyIntegrityPrologOrnaments.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL ShapeDueSun = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect costFrame = self.pinchMillView.frame;
            CGRect atomicThe = CGRectInset(costFrame, -280, ShapeDueSun?-100:-280); 
            BOOL downhillHall = CGRectContainsPoint(atomicThe, self.center);
            
            
            
            
            if (downhillHall != tabHandAuthorityNativeRename) {
                tabHandAuthorityNativeRename = downhillHall;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.pinchMillView.alpha = downhillHall ? 1.0 : 0.0;
                    self.pinchMillView.transform = downhillHall ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            downhillHall = CGRectContainsPoint(CGRectInset(costFrame, 0, 0), self.center);
            if (downhillHall && !exponentsDrainHandshakeEjectCallbackInfer) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                exponentsDrainHandshakeEjectCallbackInfer = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.pinchMillView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!downhillHall) {
                if (exponentsDrainHandshakeEjectCallbackInfer) {
                    self.pinchMillView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                exponentsDrainHandshakeEjectCallbackInfer = NO;
            }
            
            
            atomicThe = CGRectInset(costFrame, 0, 0);
            _outsideRealmFastNowLigatures = CGRectContainsPoint(atomicThe, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.pinchMillView.alpha = 0.0;
                self.pinchMillView.transform = CGAffineTransformIdentity;
            }];
            
            if (_outsideRealmFastNowLigatures) {
                [OffAlertView serializeMightQualifierTildeGaussianExist:nil message:TextualTemp.mindSnowHeader.furlongsEdgaDriveFourthEndBed whoConflicts:@[TextualTemp.mindSnowHeader.volumeStale, TextualTemp.mindSnowHeader.optFire] completion:^(NSInteger cutoffIndex) {
                    if (cutoffIndex ==1) {
                        [self learnMatrixNetworkFunSeparated];
                    }else {
                        [self exportedSymbolThirdManyRevisionRollAnimation:YES];
                        [self graphicsScriptsHailGreekShelfTimer];
                    }
                }];
            } else {
                [self exportedSymbolThirdManyRevisionRollAnimation:YES];
                [self graphicsScriptsHailGreekShelfTimer];
            }
            exponentsDrainHandshakeEjectCallbackInfer = NO;
            tabHandAuthorityNativeRename = NO;
            break;
        }

        default: break;
    }
}


- (void)exportedSymbolThirdManyRevisionRollAnimation:(BOOL)animate {
    if (!_scoreItalianThumbnailPreferredHeavyPrevents) return;
    
    
    if (languagesDocumentsBurnHitSlovak && animate) return;
    
    CGRect logoFrame = [self evaluatedThemeSelectorOperandAccuracyFrame];
    CGPoint center = self.center;
    
    CGFloat skip = logoFrame.origin.x;
    CGFloat loop = logoFrame.origin.x + logoFrame.size.width;
    CGFloat like = logoFrame.origin.y;
    CGFloat mill = logoFrame.origin.y + logoFrame.size.height;
    
    
    BandPostcardEdge regionEdge = BitCopticArmenianCroatianCarSilenced;
    CGFloat mildFontHis = CGFLOAT_MAX;
    
    
    CGFloat askOne = center.x - skip;
    CGFloat awayWin = loop - center.x;
    CGFloat batch = center.y - like;
    CGFloat clipping = mill - center.y;
    
    NSArray *scaleDark = @[@(askOne), @(awayWin), @(batch), @(clipping)];
    NSArray *edges = @[@(LoveUnderThreadPascalEthernetReturning), @(AddExpectedSubgroupAdoptChangedNumbers),
                       @(LimitedMemorySameRetryDetects), @(FatalSignNumeratorCounterCrossWith)];
    
    for (NSInteger i = 0; i < scaleDark.count; i++) {
        CGFloat distance = [scaleDark[i] floatValue];
        if (distance < mildFontHis) {
            mildFontHis = distance;
            regionEdge = [edges[i] integerValue];
        }
    }
    
    
    if (regionEdge == self.majorLegibleEdge) {
        CGPoint earHourCenter = self.center;
        CGPoint ignoreCenter = [self tagsHasCharOrdinaryScatteredFactorEdge:regionEdge];
        CGFloat distance = hypot(earHourCenter.x - ignoreCenter.x, earHourCenter.y - ignoreCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.majorLegibleEdge = regionEdge;
    
    
    CGPoint ignoreCenter = [self tagsHasCharOrdinaryScatteredFactorEdge:regionEdge];
    CGPoint modalCenter = [self auxiliaryHaveUseSeeModerateOverdueAreaEdge:regionEdge];
    
    
    languagesDocumentsBurnHitSlovak = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->languagesDocumentsBurnHitSlovak = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = ignoreCenter;
        self.anyUploadedView.center = modalCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)tagsHasCharOrdinaryScatteredFactorEdge:(BandPostcardEdge)edge {
    CGRect logoFrame = [self evaluatedThemeSelectorOperandAccuracyFrame];
    CGPoint center = self.center;
    
    CGFloat skip = logoFrame.origin.x;
    CGFloat loop = logoFrame.origin.x + logoFrame.size.width;
    CGFloat like = logoFrame.origin.y;
    CGFloat mill = logoFrame.origin.y + logoFrame.size.height;
    
    CGPoint ignoreCenter = center;
    
    switch (edge) {
        case LoveUnderThreadPascalEthernetReturning:
            ignoreCenter.x = skip + self.bounds.size.width/2 + _alignBigPenBit;
            break;
        case AddExpectedSubgroupAdoptChangedNumbers:
            ignoreCenter.x = loop - self.bounds.size.width/2 - _alignBigPenBit;
            break;
        case LimitedMemorySameRetryDetects:
            ignoreCenter.y = like + self.bounds.size.height/2 + _alignBigPenBit;
            break;
        case FatalSignNumeratorCounterCrossWith:
            ignoreCenter.y = mill - self.bounds.size.height/2 - _alignBigPenBit;
            break;
        default:
            break;
    }
    
    
    return [self threeTrustedGroupRegionIntervalDisparityAdvanceCenter:ignoreCenter];
}


- (CGPoint)auxiliaryHaveUseSeeModerateOverdueAreaEdge:(BandPostcardEdge)edge {
    CGPoint modalCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case LoveUnderThreadPascalEthernetReturning:
            modalCenter.x = self.bounds.size.width;
            break;
        case AddExpectedSubgroupAdoptChangedNumbers:
            
            break;
        case LimitedMemorySameRetryDetects:
            modalCenter.x = self.bounds.size.width;
            modalCenter.y = self.bounds.size.height;
            break;
        case FatalSignNumeratorCounterCrossWith:
            modalCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return modalCenter;
}


- (void)graphicsScriptsHailGreekShelfTimer {
    if (_relationExportedApplierWonBend <= 0) return;
    
    [self warnRectangleGenerateLockingBin];
    _arrayKeyStampTimer = [NSTimer scheduledTimerWithTimeInterval:_relationExportedApplierWonBend
                                                     target:self
                                                   selector:@selector(partnerCallbackFourBusOur)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)warnRectangleGenerateLockingBin {
    [_arrayKeyStampTimer invalidate];
    _arrayKeyStampTimer = nil;
}

- (void)partnerCallbackFourBusOur {
    [UIView animateWithDuration:0.3 animations:^{
        self.separatedView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.majorLegibleEdge) {
            case LoveUnderThreadPascalEthernetReturning:
                frame.origin.x -= self.alignBigPenBit;
                break;
            case AddExpectedSubgroupAdoptChangedNumbers:
                frame.origin.x += self.alignBigPenBit;
                break;
            case LimitedMemorySameRetryDetects:
                frame.origin.y -= self.alignBigPenBit;
                break;
            case FatalSignNumeratorCounterCrossWith:
                frame.origin.y += self.alignBigPenBit;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)youCallbacksRenderViabilityWarningExplicit {
    [self speakerPreferPickerSlowTry];
    [self formLegibleLeadSinPresentedRoman]; 
    [self exportedSymbolThirdManyRevisionRollAnimation:YES];
}


- (void)speakerPreferPickerSlowTry {
    UIWindow *keyWindow = WeekEulerManager.shared.sonAssignOwnWindow; //self.barWorkspaceWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice retrieve]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice illPub]) {
        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.flippedIntervalCaffeineArchivedOff = safeArea;
    self.smoothedFavoriteAutomaticMakerSquareOptional = keyWindow.bounds;
}

- (CGRect)evaluatedThemeSelectorOperandAccuracyFrame {
    
    return CGRectMake(
        self.smoothedFavoriteAutomaticMakerSquareOptional.origin.x + self.flippedIntervalCaffeineArchivedOff.left,
        self.smoothedFavoriteAutomaticMakerSquareOptional.origin.y + self.flippedIntervalCaffeineArchivedOff.top,
        self.smoothedFavoriteAutomaticMakerSquareOptional.size.width - (self.flippedIntervalCaffeineArchivedOff.left + self.flippedIntervalCaffeineArchivedOff.right),
        self.smoothedFavoriteAutomaticMakerSquareOptional.size.height - (self.flippedIntervalCaffeineArchivedOff.top + self.flippedIntervalCaffeineArchivedOff.bottom)
    );
}


- (void)twentyWonFourthScopeForbidBreak {
    NSString *cellEndWhile = [[NSUserDefaults standardUserDefaults] valueForKey:TextualTemp.cancelsParse.unifiedEphemeralExistingAscendedExportingDigit];
    if (cellEndWhile) {
        self.center = CGPointFromString(cellEndWhile);
    }else {
        
        CGRect logoFrame = [self evaluatedThemeSelectorOperandAccuracyFrame];
        self.center = CGPointMake(logoFrame.origin.x + logoFrame.size.width - self.bounds.size.width/2 - _alignBigPenBit,
                                  logoFrame.origin.y + logoFrame.size.height/2);
    }
}


- (UIWindow *)drizzleDescendSixEvictionIncreaseWindow {
    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)threeTrustedGroupRegionIntervalDisparityAdvanceCenter:(CGPoint)proposedCenter {
    CGRect logoFrame = [self evaluatedThemeSelectorOperandAccuracyFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat skip = logoFrame.origin.x + buttonSize.width/2;
    CGFloat loop = logoFrame.origin.x + logoFrame.size.width - buttonSize.width/2;
    CGFloat like = logoFrame.origin.y + buttonSize.height/2;
    CGFloat mill = logoFrame.origin.y + logoFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(skip, MIN(proposedCenter.x, loop)),
        MAX(like, MIN(proposedCenter.y, mill))
    );
}

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

@end
