






#import "CapturesView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+DogImage.h"
#import "SobIllWelsh.h"
#import "NSString+Precision.h"
#import "BitAlertView.h"
#import "LearnLowOptRunWindow.h"
#import "ObservedDemandViewController.h"
#import "UIDevice+MidDevice.h"
#import "SleepPairManager.h"

@interface CapturesView()  <UIGestureRecognizerDelegate> {
    CGPoint passSenderAlwaysCreatingSphericalConstruct;
    BOOL danishThresholdProtectedPlaneTraveled;
    BOOL bracketedSubgroupsHisRequiringCornersCrop; 
    BOOL catTagUnfocusedNumeratorUsability; 
}


@property (nonatomic, strong) LearnLowOptRunWindow *nonePutHisWindow;
@property (nonatomic, weak) UIWindow *sonCountTempWindow;


@property (nonatomic, strong) UIImageView *filterRedView;
@property (nonatomic, strong) UIView *fadeScalingView;


@property (nonatomic, strong) UIView *miterWakeView;
@property (nonatomic, strong) UILabel *detachingLabel;
@property (nonatomic, assign) BOOL messagingInvisibleFollowerTerabytesStone;


@property (nonatomic, strong) NSTimer *themeWonDailyTimer;
@property (nonatomic, assign) UIEdgeInsets dependentInvertConjugateVowelSignal;
@property (nonatomic, assign) CGRect ruleHandNumbersActionDecoderExclusive;


@property (nonatomic, strong) UIImage *tooSayPlateImage;
@property (nonatomic, copy) NSString *bezelTemplateJobMileAtom;
@property (nonatomic, strong) UIImage *postRealmImage;
@property (nonatomic, assign) CGFloat manHuePongLoss;
@property (nonatomic, assign) IcyDropInputEdge buddyHowHalfEdge;
@property (nonatomic, assign) NSTimeInterval rollSingleDecreaseEnablingLease;
@property (nonatomic, assign) BOOL outerBufferedDemandGramSumWork;
@end

@implementation CapturesView


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

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

- (void)poolBaseballDestroyBuildRearrange {
    self.manHuePongLoss = 10.0;
    self.rollSingleDecreaseEnablingLease = 3.0;
    self.outerBufferedDemandGramSumWork = YES;
    
    
    self.filterRedView = [[UIImageView alloc] init];
    self.filterRedView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.filterRedView];
    
    self.miterWakeView = [[UIView alloc] init];
    self.miterWakeView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.miterWakeView.layer.cornerRadius = 20;
    self.miterWakeView.layer.masksToBounds = YES;
    self.miterWakeView.alpha = 0.0;
    
    self.detachingLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.detachingLabel.text = SobIllWelsh.notHeapPeerRed.slopeMalayDebuggingInsertedPaperDust;
    self.detachingLabel.numberOfLines = 0;
    self.detachingLabel.textColor = [UIColor whiteColor];
    self.detachingLabel.textAlignment = NSTextAlignmentCenter;
    self.detachingLabel.font = [UIFont systemFontOfSize:14];
    [self.miterWakeView addSubview:self.detachingLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(eighteenInvert:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(nominallyToday)];
    [self addGestureRecognizer:tap];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(yardPanBusSeekUpdatesFun)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setFinishFireJson:(NSDictionary *)finishFireJson {
    _finishFireJson = finishFireJson;
    if (finishFireJson && self.nonePutHisWindow != nil) {
        NSString *action = finishFireJson[SobIllWelsh.followBigKit.legibleThiamin];
        if ([action isEqualToString:SobIllWelsh.followBigKit.stormWorking]) {
            self.fadeScalingView.hidden = NO;
        }else if ([action isEqualToString:SobIllWelsh.followBigKit.flagClusters]) {
            self.fadeScalingView.hidden = YES;
        }else if ([action isEqualToString:SobIllWelsh.followBigKit.demandBalticContactsStopPronoun]) {
            self.fadeScalingView.hidden = NO;
        }
    }
}


+ (void)deriveOne {
    [self.shared pipeDebuggerRestartBlendNewsstandSecretImage:[UIImage loveObserveBestAxesFitName:SobIllWelsh.followBigKit.sideShortcutRedCaptureGrouped] electric:SobIllWelsh.funFitAndCancelingWindow usesImage:nil];
}

+ (void)unableConnectImage:(UIImage *)image {
    [[self shared] pipeDebuggerRestartBlendNewsstandSecretImage:image usesImage:nil];
}

+ (void)peoplePauseImage:(UIImage *)normalImage usesImage:(nullable UIImage *)usesImage {
    CapturesView *instance = [self shared];
    instance.tooSayPlateImage = normalImage;
    instance.bezelTemplateJobMileAtom = nil;
    instance.postRealmImage = usesImage;
    instance.filterRedView.image = normalImage;
}

+ (void)rejection {
    [[self shared] attachTrialSpaArtworkCall];
}

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


- (void)pipeDebuggerRestartBlendNewsstandSecretImage:(UIImage *)image usesImage:(nullable UIImage *)usesImage {
    [self pipeDebuggerRestartBlendNewsstandSecretImage:image electric:nil usesImage:usesImage];
}

- (void)pipeDebuggerRestartBlendNewsstandSecretImage:(UIImage *)image electric:(NSString *)electric usesImage:(nullable UIImage *)usesImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.tooSayPlateImage = image;
        self.bezelTemplateJobMileAtom = electric;
        self.postRealmImage = usesImage;
        
        if (!self.nonePutHisWindow) {
            [self ownerDismissalCapHisForWindow];
            [self signatureCanonHandlerNearbyFix];
            [self skippedSawBankSuccessSupportsHow];
            [self dividingTagOurPromotionOwnSession]; 
        }
        
        [self.nonePutHisWindow makeKeyAndVisible];
        [self.sonCountTempWindow makeKeyWindow];
        
        [self acceptingBriefAmericanDanceShowingLogicalAnimation:YES];
        [self inheritedOddEachAdvancedWinTimer];
    });
}

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


- (void)ownerDismissalCapHisForWindow {
    
    self.sonCountTempWindow = [self unlockedGroupedArcadeMostDerivedWindow];
    
    
    LearnLowOptRunWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[LearnLowOptRunWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[LearnLowOptRunWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[ObservedDemandViewController alloc] init];
    window.hidden = NO;
    self.nonePutHisWindow = window;
    
    
    [self.nonePutHisWindow resignKeyWindow];
    [self.sonCountTempWindow makeKeyWindow];
    
    
    [self addSubview:self.fadeScalingView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.bezelTemplateJobMileAtom) {
        [self.filterRedView sd_setImageWithURL:[NSURL URLWithString:self.bezelTemplateJobMileAtom] placeholderImage
                                              :[UIImage loveObserveBestAxesFitName:SobIllWelsh.followBigKit.sideShortcutRedCaptureGrouped]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.filterRedView.image = self.tooSayPlateImage;
    }
    self.filterRedView.frame = self.bounds;
    
    [self.nonePutHisWindow addSubview:self];
    [self.nonePutHisWindow addSubview:self.miterWakeView];
}


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

          (draftAddress.size.width - blood/2),
          draftAddress.size.height - blood/2,
          blood,
          blood
        );
        self.miterWakeView.layer.masksToBounds = YES;
        self.miterWakeView.layer.cornerRadius = blood/2;
        self.detachingLabel.center = CGPointMake(blood/3, blood/4);
    }
}


- (void)nominallyToday {
    if (self.finishFireJson) {
        !self.orderCutHandler ?: self.orderCutHandler(self.finishFireJson[SobIllWelsh.followBigKit.lawRenewHit]);
        if ([self.finishFireJson[SobIllWelsh.followBigKit.legibleThiamin] isEqualToString:SobIllWelsh.followBigKit.demandBalticContactsStopPronoun]) {
            self.fadeScalingView.hidden = YES;
            _finishFireJson = nil;
        }
    }else {
        !self.orderCutHandler ?: self.orderCutHandler(nil);
    }
}

- (void)eighteenInvert:(UIPanGestureRecognizer *)gesture {
    if (danishThresholdProtectedPlaneTraveled) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            passSenderAlwaysCreatingSphericalConstruct = self.center;
            _filterRedView.alpha = 1;
            [self popIdiomUnlikelyFlushedRemainder];
            bracketedSubgroupsHisRequiringCornersCrop = NO; 
            catTagUnfocusedNumeratorUsability = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.miterWakeView.layer removeAllAnimations];
            
            
            self.miterWakeView.alpha = 0.0;
            self.miterWakeView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self outlineOutletModeAnimateAutomaticCountAllergyCenter:
                           CGPointMake(passSenderAlwaysCreatingSphericalConstruct.x + translation.x,
                                       passSenderAlwaysCreatingSphericalConstruct.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL SlowDomains = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect funkFrame = self.miterWakeView.frame;
            CGRect sequences = CGRectInset(funkFrame, -280, SlowDomains?-100:-280); 
            BOOL howJustified = CGRectContainsPoint(sequences, self.center);
            
            
            
            
            if (howJustified != catTagUnfocusedNumeratorUsability) {
                catTagUnfocusedNumeratorUsability = howJustified;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.miterWakeView.alpha = howJustified ? 1.0 : 0.0;
                    self.miterWakeView.transform = howJustified ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            howJustified = CGRectContainsPoint(CGRectInset(funkFrame, 0, 0), self.center);
            if (howJustified && !bracketedSubgroupsHisRequiringCornersCrop) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                bracketedSubgroupsHisRequiringCornersCrop = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.miterWakeView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!howJustified) {
                if (bracketedSubgroupsHisRequiringCornersCrop) {
                    self.miterWakeView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                bracketedSubgroupsHisRequiringCornersCrop = NO;
            }
            
            
            sequences = CGRectInset(funkFrame, 0, 0);
            _messagingInvisibleFollowerTerabytesStone = CGRectContainsPoint(sequences, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.miterWakeView.alpha = 0.0;
                self.miterWakeView.transform = CGAffineTransformIdentity;
            }];
            
            if (_messagingInvisibleFollowerTerabytesStone) {
                [BitAlertView combinedSymbolsConjugateOptReuseFarthest:nil message:SobIllWelsh.notHeapPeerRed.subtitleSamplerProximityMixerWrapperAborted lossAccuracy:@[SobIllWelsh.notHeapPeerRed.sumDistinct, SobIllWelsh.notHeapPeerRed.foodBad] completion:^(NSInteger boxAnyIndex) {
                    if (boxAnyIndex ==1) {
                        [self attachTrialSpaArtworkCall];
                    }else {
                        [self acceptingBriefAmericanDanceShowingLogicalAnimation:YES];
                        [self inheritedOddEachAdvancedWinTimer];
                    }
                }];
            } else {
                [self acceptingBriefAmericanDanceShowingLogicalAnimation:YES];
                [self inheritedOddEachAdvancedWinTimer];
            }
            bracketedSubgroupsHisRequiringCornersCrop = NO;
            catTagUnfocusedNumeratorUsability = NO;
            break;
        }

        default: break;
    }
}


- (void)acceptingBriefAmericanDanceShowingLogicalAnimation:(BOOL)animate {
    if (!_outerBufferedDemandGramSumWork) return;
    
    
    if (danishThresholdProtectedPlaneTraveled && animate) return;
    
    CGRect awayFrame = [self offerSingularAwakeAlphabetDenyFrame];
    CGPoint center = self.center;
    
    CGFloat face = awayFrame.origin.x;
    CGFloat uses = awayFrame.origin.x + awayFrame.size.width;
    CGFloat work = awayFrame.origin.y;
    CGFloat edge = awayFrame.origin.y + awayFrame.size.height;
    
    
    IcyDropInputEdge reportEdge = SizeMenVortexSuchTwoDeferred;
    CGFloat rowCapHeavy = CGFLOAT_MAX;
    
    
    CGFloat always = center.x - face;
    CGFloat thinWax = uses - center.x;
    CGFloat hello = center.y - work;
    CGFloat kinPrior = edge - center.y;
    
    NSArray *menLonger = @[@(always), @(thinWax), @(hello), @(kinPrior)];
    NSArray *edges = @[@(ConflictsRotatingPhotosThroughScheduledPace), @(ChineseForwardFaxLoadRawMindful),
                       @(GaspHerSyntheticRestoresEsperanto), @(MisplacedLuminanceHellmanLocationAppearBleed)];
    
    for (NSInteger i = 0; i < menLonger.count; i++) {
        CGFloat distance = [menLonger[i] floatValue];
        if (distance < rowCapHeavy) {
            rowCapHeavy = distance;
            reportEdge = [edges[i] integerValue];
        }
    }
    
    
    if (reportEdge == self.buddyHowHalfEdge) {
        CGPoint thiaminCenter = self.center;
        CGPoint selectCenter = [self writtenKeyboardRenewalAllDarkenSetupEdge:reportEdge];
        CGFloat distance = hypot(thiaminCenter.x - selectCenter.x, thiaminCenter.y - selectCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.buddyHowHalfEdge = reportEdge;
    
    
    CGPoint selectCenter = [self writtenKeyboardRenewalAllDarkenSetupEdge:reportEdge];
    CGPoint polarCenter = [self italicKernelsSectionsAllergySeparateExecSpellEdge:reportEdge];
    
    
    danishThresholdProtectedPlaneTraveled = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->danishThresholdProtectedPlaneTraveled = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = selectCenter;
        self.fadeScalingView.center = polarCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)writtenKeyboardRenewalAllDarkenSetupEdge:(IcyDropInputEdge)edge {
    CGRect awayFrame = [self offerSingularAwakeAlphabetDenyFrame];
    CGPoint center = self.center;
    
    CGFloat face = awayFrame.origin.x;
    CGFloat uses = awayFrame.origin.x + awayFrame.size.width;
    CGFloat work = awayFrame.origin.y;
    CGFloat edge = awayFrame.origin.y + awayFrame.size.height;
    
    CGPoint selectCenter = center;
    
    switch (edge) {
        case ConflictsRotatingPhotosThroughScheduledPace:
            selectCenter.x = face + self.bounds.size.width/2 + _manHuePongLoss;
            break;
        case ChineseForwardFaxLoadRawMindful:
            selectCenter.x = uses - self.bounds.size.width/2 - _manHuePongLoss;
            break;
        case GaspHerSyntheticRestoresEsperanto:
            selectCenter.y = work + self.bounds.size.height/2 + _manHuePongLoss;
            break;
        case MisplacedLuminanceHellmanLocationAppearBleed:
            selectCenter.y = edge - self.bounds.size.height/2 - _manHuePongLoss;
            break;
        default:
            break;
    }
    
    
    return [self outlineOutletModeAnimateAutomaticCountAllergyCenter:selectCenter];
}


- (CGPoint)italicKernelsSectionsAllergySeparateExecSpellEdge:(IcyDropInputEdge)edge {
    CGPoint polarCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case ConflictsRotatingPhotosThroughScheduledPace:
            polarCenter.x = self.bounds.size.width;
            break;
        case ChineseForwardFaxLoadRawMindful:
            
            break;
        case GaspHerSyntheticRestoresEsperanto:
            polarCenter.x = self.bounds.size.width;
            polarCenter.y = self.bounds.size.height;
            break;
        case MisplacedLuminanceHellmanLocationAppearBleed:
            polarCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return polarCenter;
}


- (void)inheritedOddEachAdvancedWinTimer {
    if (_rollSingleDecreaseEnablingLease <= 0) return;
    
    [self popIdiomUnlikelyFlushedRemainder];
    _themeWonDailyTimer = [NSTimer scheduledTimerWithTimeInterval:_rollSingleDecreaseEnablingLease
                                                     target:self
                                                   selector:@selector(variationPoloPlayableBeaconsPrimaries)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)popIdiomUnlikelyFlushedRemainder {
    [_themeWonDailyTimer invalidate];
    _themeWonDailyTimer = nil;
}

- (void)variationPoloPlayableBeaconsPrimaries {
    [UIView animateWithDuration:0.3 animations:^{
        self.filterRedView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.buddyHowHalfEdge) {
            case ConflictsRotatingPhotosThroughScheduledPace:
                frame.origin.x -= self.manHuePongLoss;
                break;
            case ChineseForwardFaxLoadRawMindful:
                frame.origin.x += self.manHuePongLoss;
                break;
            case GaspHerSyntheticRestoresEsperanto:
                frame.origin.y -= self.manHuePongLoss;
                break;
            case MisplacedLuminanceHellmanLocationAppearBleed:
                frame.origin.y += self.manHuePongLoss;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)yardPanBusSeekUpdatesFun {
    [self signatureCanonHandlerNearbyFix];
    [self dividingTagOurPromotionOwnSession]; 
    [self acceptingBriefAmericanDanceShowingLogicalAnimation:YES];
}


- (void)signatureCanonHandlerNearbyFix {
    UIWindow *keyWindow = SleepPairManager.shared.specifierKinWindow; //self.sonCountTempWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice sumGroup]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice cupEra]) {
        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.dependentInvertConjugateVowelSignal = safeArea;
    self.ruleHandNumbersActionDecoderExclusive = keyWindow.bounds;
}

- (CGRect)offerSingularAwakeAlphabetDenyFrame {
    
    return CGRectMake(
        self.ruleHandNumbersActionDecoderExclusive.origin.x + self.dependentInvertConjugateVowelSignal.left,
        self.ruleHandNumbersActionDecoderExclusive.origin.y + self.dependentInvertConjugateVowelSignal.top,
        self.ruleHandNumbersActionDecoderExclusive.size.width - (self.dependentInvertConjugateVowelSignal.left + self.dependentInvertConjugateVowelSignal.right),
        self.ruleHandNumbersActionDecoderExclusive.size.height - (self.dependentInvertConjugateVowelSignal.top + self.dependentInvertConjugateVowelSignal.bottom)
    );
}


- (void)skippedSawBankSuccessSupportsHow {
    NSString *abortHangArt = [[NSUserDefaults standardUserDefaults] valueForKey:SobIllWelsh.followBigKit.ambiguousKernelCurlMinuteSlavicYoungest];
    if (abortHangArt) {
        self.center = CGPointFromString(abortHangArt);
    }else {
        
        CGRect awayFrame = [self offerSingularAwakeAlphabetDenyFrame];
        self.center = CGPointMake(awayFrame.origin.x + awayFrame.size.width - self.bounds.size.width/2 - _manHuePongLoss,
                                  awayFrame.origin.y + awayFrame.size.height/2);
    }
}


- (UIWindow *)unlockedGroupedArcadeMostDerivedWindow {
    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)outlineOutletModeAnimateAutomaticCountAllergyCenter:(CGPoint)proposedCenter {
    CGRect awayFrame = [self offerSingularAwakeAlphabetDenyFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat face = awayFrame.origin.x + buttonSize.width/2;
    CGFloat uses = awayFrame.origin.x + awayFrame.size.width - buttonSize.width/2;
    CGFloat work = awayFrame.origin.y + buttonSize.height/2;
    CGFloat edge = awayFrame.origin.y + awayFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(face, MIN(proposedCenter.x, uses)),
        MAX(work, MIN(proposedCenter.y, edge))
    );
}

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

@end
