






#import "SetupCanView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+PubImage.h"
#import "PintResting.h"
#import "NSString+TwoPhotos.h"
#import "UseAlertView.h"
#import "AutoAgeRateTryWindow.h"
#import "CocoaBinMapHitViewController.h"
#import "UIDevice+ForDevice.h"
#import "IllBundleManager.h"

@interface SetupCanView()  <UIGestureRecognizerDelegate> {
    CGPoint trademarkVisibleAppearsReceiveOverTag;
    BOOL postalSymmetricIndigoUnwrapManaged;
    BOOL slabStakeMoreSubscriptHellmanInhaler; 
    BOOL justHalfLinerGoldenSkipped; 
}


@property (nonatomic, strong) AutoAgeRateTryWindow *yardOptArtWindow;
@property (nonatomic, weak) UIWindow *pasteFatKindWindow;


@property (nonatomic, strong) UIImageView *chromaWonView;
@property (nonatomic, strong) UIView *idleWinEndsView;


@property (nonatomic, strong) UIView *inheritedView;
@property (nonatomic, strong) UILabel *estimatedLabel;
@property (nonatomic, assign) BOOL pinchBackFailAskPicture;


@property (nonatomic, strong) NSTimer *elderWhoStoodTimer;
@property (nonatomic, assign) UIEdgeInsets creditsShelfLoopsIronGrow;
@property (nonatomic, assign) CGRect nicknameFaeroeseHintBitCategoryResume;


@property (nonatomic, strong) UIImage *callingUsedImage;
@property (nonatomic, copy) NSString *goalRestartVersionEggCombine;
@property (nonatomic, strong) UIImage *unfocusedImage;
@property (nonatomic, assign) CGFloat finishedBeacon;
@property (nonatomic, assign) MuteSecurityEdge floorAudibleEdge;
@property (nonatomic, assign) NSTimeInterval minOfficialFamilyPutGenre;
@property (nonatomic, assign) BOOL grandsonBookYoungestFastWordChloride;
@end

@implementation SetupCanView


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

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

- (void)fetchPublisherListenersPassivelyGuest {
    self.finishedBeacon = 10.0;
    self.minOfficialFamilyPutGenre = 3.0;
    self.grandsonBookYoungestFastWordChloride = YES;
    
    
    self.chromaWonView = [[UIImageView alloc] init];
    self.chromaWonView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.chromaWonView];
    
    self.inheritedView = [[UIView alloc] init];
    self.inheritedView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.inheritedView.layer.cornerRadius = 20;
    self.inheritedView.layer.masksToBounds = YES;
    self.inheritedView.alpha = 0.0;
    
    self.estimatedLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.estimatedLabel.text = PintResting.exposeLeapAuto.logHelloLogEnableDisablesSecret;
    self.estimatedLabel.numberOfLines = 0;
    self.estimatedLabel.textColor = [UIColor whiteColor];
    self.estimatedLabel.textAlignment = NSTextAlignmentCenter;
    self.estimatedLabel.font = [UIFont systemFontOfSize:14];
    [self.inheritedView addSubview:self.estimatedLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(accountIterate:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *icy = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(mergeCandidate)];
    [self addGestureRecognizer:icy];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(negativeForRenewLeapSixCinematic)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setRaceCanCupJson:(NSDictionary *)raceCanCupJson {
    _raceCanCupJson = raceCanCupJson;
    if (raceCanCupJson && self.yardOptArtWindow != nil) {
        NSString *action = raceCanCupJson[PintResting.findClickCat.hostingDecoder];
        if ([action isEqualToString:PintResting.findClickCat.cocoaLockRet]) {
            self.idleWinEndsView.hidden = NO;
        }else if ([action isEqualToString:PintResting.findClickCat.askPluralYou]) {
            self.idleWinEndsView.hidden = YES;
        }else if ([action isEqualToString:PintResting.findClickCat.bitmapHandledMonthToneHellman]) {
            self.idleWinEndsView.hidden = NO;
        }
    }
}


+ (void)cupDerive {
    [self.shared funPrecisionEighteenLargeBackwardsPortraitImage:[UIImage attributeModifyKilowattsRoomChromaName:PintResting.findClickCat.truncateFolderPathCatalogSticky] atomMore:PintResting.reverseAscendingTheFractionEnds downImage:nil];
}

+ (void)initialModifyImage:(UIImage *)image {
    [[self shared] funPrecisionEighteenLargeBackwardsPortraitImage:image downImage:nil];
}

+ (void)settlingOddImage:(UIImage *)normalImage downImage:(nullable UIImage *)downImage {
    SetupCanView *instance = [self shared];
    instance.callingUsedImage = normalImage;
    instance.goalRestartVersionEggCombine = nil;
    instance.unfocusedImage = downImage;
    instance.chromaWonView.image = normalImage;
}

+ (void)seeAuthor {
    [[self shared] highlightTorchBeganBodyRunning];
}

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


- (void)funPrecisionEighteenLargeBackwardsPortraitImage:(UIImage *)image downImage:(nullable UIImage *)downImage {
    [self funPrecisionEighteenLargeBackwardsPortraitImage:image atomMore:nil downImage:downImage];
}

- (void)funPrecisionEighteenLargeBackwardsPortraitImage:(UIImage *)image atomMore:(NSString *)atomMore downImage:(nullable UIImage *)downImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.callingUsedImage = image;
        self.goalRestartVersionEggCombine = atomMore;
        self.unfocusedImage = downImage;
        
        if (!self.yardOptArtWindow) {
            [self groupSurfaceRealmTriggeredHueWindow];
            [self kilometerMoleEnterSheChild];
            [self versionsMongolianEstablishVisualHeavyGoal];
            [self mustFootRoleViolationTapOutcome]; 
        }
        
        [self.yardOptArtWindow makeKeyAndVisible];
        [self.pasteFatKindWindow makeKeyWindow];
        
        [self promptLeavePlusRadiansFetchBaseAnimation:YES];
        [self citySubmittedMagentaProxiesCriticalTimer];
    });
}

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


- (void)groupSurfaceRealmTriggeredHueWindow {
    
    self.pasteFatKindWindow = [self tertiaryFlightsColorPreviousEqualWindow];
    
    
    AutoAgeRateTryWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[AutoAgeRateTryWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[AutoAgeRateTryWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[CocoaBinMapHitViewController alloc] init];
    window.hidden = NO;
    self.yardOptArtWindow = window;
    
    
    [self.yardOptArtWindow resignKeyWindow];
    [self.pasteFatKindWindow makeKeyWindow];
    
    
    [self addSubview:self.idleWinEndsView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.goalRestartVersionEggCombine) {
        [self.chromaWonView sd_setImageWithURL:[NSURL URLWithString:self.goalRestartVersionEggCombine] placeholderImage
                                              :[UIImage attributeModifyKilowattsRoomChromaName:PintResting.findClickCat.truncateFolderPathCatalogSticky]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.chromaWonView.image = self.callingUsedImage;
    }
    self.chromaWonView.frame = self.bounds;
    
    [self.yardOptArtWindow addSubview:self];
    [self.yardOptArtWindow addSubview:self.inheritedView];
}


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

          (ouncesBadCan.size.width - trial/2),
          ouncesBadCan.size.height - trial/2,
          trial,
          trial
        );
        self.inheritedView.layer.masksToBounds = YES;
        self.inheritedView.layer.cornerRadius = trial/2;
        self.estimatedLabel.center = CGPointMake(trial/3, trial/4);
    }
}


- (void)mergeCandidate {
    if (self.raceCanCupJson) {
        !self.scopeMaxHandler ?: self.scopeMaxHandler(self.raceCanCupJson[PintResting.findClickCat.allLoopsOut]);
        if ([self.raceCanCupJson[PintResting.findClickCat.hostingDecoder] isEqualToString:PintResting.findClickCat.bitmapHandledMonthToneHellman]) {
            self.idleWinEndsView.hidden = YES;
            _raceCanCupJson = nil;
        }
    }else {
        !self.scopeMaxHandler ?: self.scopeMaxHandler(nil);
    }
}

- (void)accountIterate:(UIPanGestureRecognizer *)gesture {
    if (postalSymmetricIndigoUnwrapManaged) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            trademarkVisibleAppearsReceiveOverTag = self.center;
            _chromaWonView.alpha = 1;
            [self alienPrecisionAnonymousEditorDaughter];
            slabStakeMoreSubscriptHellmanInhaler = NO; 
            justHalfLinerGoldenSkipped = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.inheritedView.layer removeAllAnimations];
            
            
            self.inheritedView.alpha = 0.0;
            self.inheritedView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self skipRetainSockDescribeSugarPackNetCenter:
                           CGPointMake(trademarkVisibleAppearsReceiveOverTag.x + translation.x,
                                       trademarkVisibleAppearsReceiveOverTag.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL RollLastFor = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect sameFrame = self.inheritedView.frame;
            CGRect ropeExtra = CGRectInset(sameFrame, -280, RollLastFor?-100:-280); 
            BOOL interiorGram = CGRectContainsPoint(ropeExtra, self.center);
            
            
            
            
            if (interiorGram != justHalfLinerGoldenSkipped) {
                justHalfLinerGoldenSkipped = interiorGram;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.inheritedView.alpha = interiorGram ? 1.0 : 0.0;
                    self.inheritedView.transform = interiorGram ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            interiorGram = CGRectContainsPoint(CGRectInset(sameFrame, 0, 0), self.center);
            if (interiorGram && !slabStakeMoreSubscriptHellmanInhaler) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                slabStakeMoreSubscriptHellmanInhaler = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.inheritedView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!interiorGram) {
                if (slabStakeMoreSubscriptHellmanInhaler) {
                    self.inheritedView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                slabStakeMoreSubscriptHellmanInhaler = NO;
            }
            
            
            ropeExtra = CGRectInset(sameFrame, 0, 0);
            _pinchBackFailAskPicture = CGRectContainsPoint(ropeExtra, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.inheritedView.alpha = 0.0;
                self.inheritedView.transform = CGAffineTransformIdentity;
            }];
            
            if (_pinchBackFailAskPicture) {
                [UseAlertView succeededTopPoolClipDanceQuerying:nil message:PintResting.exposeLeapAuto.returningEdgaLostUnderlineAxesArchery auditHalfFix:@[PintResting.exposeLeapAuto.sheSpecific, PintResting.exposeLeapAuto.checker] completion:^(NSInteger binWasIndex) {
                    if (binWasIndex ==1) {
                        [self highlightTorchBeganBodyRunning];
                    }else {
                        [self promptLeavePlusRadiansFetchBaseAnimation:YES];
                        [self citySubmittedMagentaProxiesCriticalTimer];
                    }
                }];
            } else {
                [self promptLeavePlusRadiansFetchBaseAnimation:YES];
                [self citySubmittedMagentaProxiesCriticalTimer];
            }
            slabStakeMoreSubscriptHellmanInhaler = NO;
            justHalfLinerGoldenSkipped = NO;
            break;
        }

        default: break;
    }
}


- (void)promptLeavePlusRadiansFetchBaseAnimation:(BOOL)animate {
    if (!_grandsonBookYoungestFastWordChloride) return;
    
    
    if (postalSymmetricIndigoUnwrapManaged && animate) return;
    
    CGRect drumFrame = [self targetMacintoshAlwaysSerialLibrariesFrame];
    CGPoint center = self.center;
    
    CGFloat scan = drumFrame.origin.x;
    CGFloat work = drumFrame.origin.x + drumFrame.size.width;
    CGFloat gray = drumFrame.origin.y;
    CGFloat loud = drumFrame.origin.y + drumFrame.size.height;
    
    
    MuteSecurityEdge airJobEdge = WetCharHisNineMealRenew;
    CGFloat reportsWide = CGFLOAT_MAX;
    
    
    CGFloat extend = center.x - scan;
    CGFloat minimal = work - center.x;
    CGFloat brown = center.y - gray;
    CGFloat enterNap = loud - center.y;
    
    NSArray *usesBegan = @[@(extend), @(minimal), @(brown), @(enterNap)];
    NSArray *edges = @[@(ClustersDetailExchangesAllHandledFactories), @(OutsideClampedReasonWinEngineerRope),
                       @(NetscapeRuleTiedInitiatedComments), @(RuleDogStoppedImperialSeeCritical)];
    
    for (NSInteger i = 0; i < usesBegan.count; i++) {
        CGFloat distance = [usesBegan[i] floatValue];
        if (distance < reportsWide) {
            reportsWide = distance;
            airJobEdge = [edges[i] integerValue];
        }
    }
    
    
    if (airJobEdge == self.floorAudibleEdge) {
        CGPoint trustedCenter = self.center;
        CGPoint runBitCenter = [self spouseClearPreciseHiddenMobileThicknessEdge:airJobEdge];
        CGFloat distance = hypot(trustedCenter.x - runBitCenter.x, trustedCenter.y - runBitCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.floorAudibleEdge = airJobEdge;
    
    
    CGPoint runBitCenter = [self spouseClearPreciseHiddenMobileThicknessEdge:airJobEdge];
    CGPoint readyCenter = [self systemListenerShrinkSkipCreamyDrawGlucoseEdge:airJobEdge];
    
    
    postalSymmetricIndigoUnwrapManaged = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->postalSymmetricIndigoUnwrapManaged = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = runBitCenter;
        self.idleWinEndsView.center = readyCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)spouseClearPreciseHiddenMobileThicknessEdge:(MuteSecurityEdge)edge {
    CGRect drumFrame = [self targetMacintoshAlwaysSerialLibrariesFrame];
    CGPoint center = self.center;
    
    CGFloat scan = drumFrame.origin.x;
    CGFloat work = drumFrame.origin.x + drumFrame.size.width;
    CGFloat gray = drumFrame.origin.y;
    CGFloat loud = drumFrame.origin.y + drumFrame.size.height;
    
    CGPoint runBitCenter = center;
    
    switch (edge) {
        case ClustersDetailExchangesAllHandledFactories:
            runBitCenter.x = scan + self.bounds.size.width/2 + _finishedBeacon;
            break;
        case OutsideClampedReasonWinEngineerRope:
            runBitCenter.x = work - self.bounds.size.width/2 - _finishedBeacon;
            break;
        case NetscapeRuleTiedInitiatedComments:
            runBitCenter.y = gray + self.bounds.size.height/2 + _finishedBeacon;
            break;
        case RuleDogStoppedImperialSeeCritical:
            runBitCenter.y = loud - self.bounds.size.height/2 - _finishedBeacon;
            break;
        default:
            break;
    }
    
    
    return [self skipRetainSockDescribeSugarPackNetCenter:runBitCenter];
}


- (CGPoint)systemListenerShrinkSkipCreamyDrawGlucoseEdge:(MuteSecurityEdge)edge {
    CGPoint readyCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case ClustersDetailExchangesAllHandledFactories:
            readyCenter.x = self.bounds.size.width;
            break;
        case OutsideClampedReasonWinEngineerRope:
            
            break;
        case NetscapeRuleTiedInitiatedComments:
            readyCenter.x = self.bounds.size.width;
            readyCenter.y = self.bounds.size.height;
            break;
        case RuleDogStoppedImperialSeeCritical:
            readyCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return readyCenter;
}


- (void)citySubmittedMagentaProxiesCriticalTimer {
    if (_minOfficialFamilyPutGenre <= 0) return;
    
    [self alienPrecisionAnonymousEditorDaughter];
    _elderWhoStoodTimer = [NSTimer scheduledTimerWithTimeInterval:_minOfficialFamilyPutGenre
                                                     target:self
                                                   selector:@selector(fiberThreadedKilogramsPitchDecigrams)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)alienPrecisionAnonymousEditorDaughter {
    [_elderWhoStoodTimer invalidate];
    _elderWhoStoodTimer = nil;
}

- (void)fiberThreadedKilogramsPitchDecigrams {
    [UIView animateWithDuration:0.3 animations:^{
        self.chromaWonView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.floorAudibleEdge) {
            case ClustersDetailExchangesAllHandledFactories:
                frame.origin.x -= self.finishedBeacon;
                break;
            case OutsideClampedReasonWinEngineerRope:
                frame.origin.x += self.finishedBeacon;
                break;
            case NetscapeRuleTiedInitiatedComments:
                frame.origin.y -= self.finishedBeacon;
                break;
            case RuleDogStoppedImperialSeeCritical:
                frame.origin.y += self.finishedBeacon;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)negativeForRenewLeapSixCinematic {
    [self kilometerMoleEnterSheChild];
    [self mustFootRoleViolationTapOutcome]; 
    [self promptLeavePlusRadiansFetchBaseAnimation:YES];
}


- (void)kilometerMoleEnterSheChild {
    UIWindow *keyWindow = IllBundleManager.shared.masterFourthWindow; //self.pasteFatKindWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice clangHas]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice popIts]) {
        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.creditsShelfLoopsIronGrow = safeArea;
    self.nicknameFaeroeseHintBitCategoryResume = keyWindow.bounds;
}

- (CGRect)targetMacintoshAlwaysSerialLibrariesFrame {
    
    return CGRectMake(
        self.nicknameFaeroeseHintBitCategoryResume.origin.x + self.creditsShelfLoopsIronGrow.left,
        self.nicknameFaeroeseHintBitCategoryResume.origin.y + self.creditsShelfLoopsIronGrow.top,
        self.nicknameFaeroeseHintBitCategoryResume.size.width - (self.creditsShelfLoopsIronGrow.left + self.creditsShelfLoopsIronGrow.right),
        self.nicknameFaeroeseHintBitCategoryResume.size.height - (self.creditsShelfLoopsIronGrow.top + self.creditsShelfLoopsIronGrow.bottom)
    );
}


- (void)versionsMongolianEstablishVisualHeavyGoal {
    NSString *guideSunMild = [[NSUserDefaults standardUserDefaults] valueForKey:PintResting.findClickCat.actualRespondsFrontCancelsEdgaCreated];
    if (guideSunMild) {
        self.center = CGPointFromString(guideSunMild);
    }else {
        
        CGRect drumFrame = [self targetMacintoshAlwaysSerialLibrariesFrame];
        self.center = CGPointMake(drumFrame.origin.x + drumFrame.size.width - self.bounds.size.width/2 - _finishedBeacon,
                                  drumFrame.origin.y + drumFrame.size.height/2);
    }
}


- (UIWindow *)tertiaryFlightsColorPreviousEqualWindow {
    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)skipRetainSockDescribeSugarPackNetCenter:(CGPoint)proposedCenter {
    CGRect drumFrame = [self targetMacintoshAlwaysSerialLibrariesFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat scan = drumFrame.origin.x + buttonSize.width/2;
    CGFloat work = drumFrame.origin.x + drumFrame.size.width - buttonSize.width/2;
    CGFloat gray = drumFrame.origin.y + buttonSize.height/2;
    CGFloat loud = drumFrame.origin.y + drumFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(scan, MIN(proposedCenter.x, work)),
        MAX(gray, MIN(proposedCenter.y, loud))
    );
}

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

@end
