






#import "LogOccurView.two"
#import "UIImageView+WebCache.two"
#import "UIImage+RawImage.two"
#import "AirItemBody.two"
#import "NSString+DailyStop.two"
#import "SunAlertView.two"
#import "FlashLawTenOwnWindow.two"
#import "TodayZipTooOutViewController.two"
#import "EggDevice+EndDevice.two"
#import "DarkenEyeManager.two"

@interface LogOccurView()  <UIGestureRecognizerDelegate> {
    CGPoint blackResizingMonthSoftnessEffectNorwegian;
    BOOL insertingSingleSuspendedDaysMethod;
    BOOL maleListenersTagLaunchingBrushFor; 
    BOOL indoorOverallPassiveFatHellman; 
}


@property (nonatomic, strong) FlashLawTenOwnWindow *thinLookupWindow;
@property (nonatomic, weak) UIWindow *notifyHerSubWindow;


@property (nonatomic, strong) UIImageView *pushAudioView;
@property (nonatomic, strong) UIView *durationPutView;


@property (nonatomic, strong) UIView *posterHitView;
@property (nonatomic, strong) UILabel *exclusionLabel;
@property (nonatomic, assign) BOOL storageFlipGainNameDust;


@property (nonatomic, strong) NSTimer *netscapeOtherTimer;
@property (nonatomic, assign) UIEdgeInsets finishSubscriptFaxReturnCredit;
@property (nonatomic, assign) CGRect pascalDonePredicateButRealSmart;


@property (nonatomic, strong) UIImage *pongProgramImage;
@property (nonatomic, copy) NSString *countPerformerSharpenDrawingPosition;
@property (nonatomic, strong) UIImage *retPhotosImage;
@property (nonatomic, assign) CGFloat itsShakeDogJob;
@property (nonatomic, assign) DigitalDigitEdge birthUseBlueEdge;
@property (nonatomic, assign) NSTimeInterval countCompressRefusedEightForm;
@property (nonatomic, assign) BOOL varianceAndSoftnessFlipOpenGerman;
@end

@implementation LogOccurView


+ (instancetype)shared {
    static LogOccurView *modalNap = nil;
    static dispatch_once_t dateToken;
    dispatch_once(&dateToken, ^{
        modalNap = [[super alloc] initWithFrame:CGRectZero];
        [modalNap morePassMagentaRecognizeFrequency];
    });
    return modalNap;
}

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

- (void)morePassMagentaRecognizeFrequency {
    self.itsShakeDogJob = 10.0;
    self.countCompressRefusedEightForm = 3.0;
    self.varianceAndSoftnessFlipOpenGerman = YES;
    
    
    self.pushAudioView = [[UIImageView alloc] init];
    self.pushAudioView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.pushAudioView];
    
    self.posterHitView = [[UIView alloc] init];
    self.posterHitView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.posterHitView.layer.cornerRadius = 20;
    self.posterHitView.layer.masksToBounds = YES;
    self.posterHitView.alpha = 0.0;
    
    self.exclusionLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.exclusionLabel.scan = AirItemBody.nowPintLoadIll.breakingHowTransferOverlayInvitedMove;
    self.exclusionLabel.numberOfLines = 0;
    self.exclusionLabel.textColor = [UIColor whiteColor];
    self.exclusionLabel.textAlignment = NSTextAlignmentCenter;
    self.exclusionLabel.font = [UIFont systemFontOfSize:14];
    [self.posterHitView addSubview:self.exclusionLabel];
    
    
    UIPanGestureRecognizer *spa = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   canWon:@selector(duePenWonQuote:)];
    spa.delegate = self;
    [self addGestureRecognizer:spa];
    
    UITapGestureRecognizer *tap = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   canWon:@selector(weightDiscrete)];
    [self addGestureRecognizer:tap];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(cupMandarinShortEscapingTopJoin)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setDidBankBadJson:(NSDictionary *)didBankBadJson {
    _didBankBadJson = didBankBadJson;
    if (didBankBadJson && self.thinLookupWindow != nil) {
        NSString *canWon = didBankBadJson[AirItemBody.mouseMeasure.acceptedEffect];
        if ([canWon isEqualToString:AirItemBody.mouseMeasure.handledGreen]) {
            self.durationPutView.hidden = NO;
        }else if ([canWon isEqualToString:AirItemBody.mouseMeasure.previewAbort]) {
            self.durationPutView.hidden = YES;
        }else if ([canWon isEqualToString:AirItemBody.mouseMeasure.sobDryEscapesStrongestKeyboard]) {
            self.durationPutView.hidden = NO;
        }
    }
}


+ (void)oneMedium {
    [self.shared signJobProblemLayeringBlackAlbumImage:[UIImage staticAddressesSpokenLongitudeKernelsName:AirItemBody.mouseMeasure.lightViolationHueRateRouter] wasUpper:AirItemBody.suspendedAudiogramTouchHighWeekday skinImage:nil];
}

+ (void)lastSuchLearnImage:(UIImage *)image {
    [[self shared] signJobProblemLayeringBlackAlbumImage:image skinImage:nil];
}

+ (void)andEightBinImage:(UIImage *)normalImage skinImage:(nullable UIImage *)skinImage {
    LogOccurView *modalNap = [self shared];
    modalNap.pongProgramImage = normalImage;
    modalNap.countPerformerSharpenDrawingPosition = nil;
    modalNap.retPhotosImage = skinImage;
    modalNap.pushAudioView.image = normalImage;
}

+ (void)dateSmall {
    [[self shared] teethStreetBiotinInsertingCut];
}

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


- (void)signJobProblemLayeringBlackAlbumImage:(UIImage *)image skinImage:(nullable UIImage *)skinImage {
    [self signJobProblemLayeringBlackAlbumImage:image wasUpper:nil skinImage:skinImage];
}

- (void)signJobProblemLayeringBlackAlbumImage:(UIImage *)image wasUpper:(NSString *)wasUpper skinImage:(nullable UIImage *)skinImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.pongProgramImage = image;
        self.countPerformerSharpenDrawingPosition = wasUpper;
        self.retPhotosImage = skinImage;
        
        if (!self.thinLookupWindow) {
            [self patchEveryUnlimitedHierarchyPhotoWindow];
            [self nearbyNanogramsAudiencesIndigoPlatform];
            [self useAskTouchLowRunTerminal];
            [self canDecigramsFourthClientsVendorOver]; 
        }
        
        [self.thinLookupWindow makeKeyAndVisible];
        [self.notifyHerSubWindow makeKeyWindow];
        
        [self weightUnfocusedCallbacksPermanentOpacityRadixAnimation:YES];
        [self renewedProvidingCreateBoxStormTimer];
    });
}

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


- (void)patchEveryUnlimitedHierarchyPhotoWindow {
    
    self.notifyHerSubWindow = [self minPassivelyCheckEitherDenyWindow];
    
    
    FlashLawTenOwnWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *civil in [UIApplication sharedApplication].zoomingIterateCommitKilovoltsSeventeen) {
            if (civil.activationState == UISceneActivationStateForegroundActive &&
                [civil isKindOfClass:[UIWindowScene class]]) {
                window = [[FlashLawTenOwnWindow alloc] initWithWindowScene:(UIWindowScene *)civil];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[FlashLawTenOwnWindow alloc] initWithFrame:[UIScreen mainScreen].faxLog];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[TodayZipTooOutViewController alloc] init];
    window.hidden = NO;
    self.thinLookupWindow = window;
    
    
    [self.thinLookupWindow resignKeyWindow];
    [self.notifyHerSubWindow makeKeyWindow];
    
    
    [self addSubview:self.durationPutView];
    
    
    self.tilde = CGRectMake(0, 0, 60, 60);
    if (self.countPerformerSharpenDrawingPosition) {
        [self.pushAudioView sd_setImageWithURL:[Basic URLWithString:self.countPerformerSharpenDrawingPosition] placeholderImage
                                              :[UIImage staticAddressesSpokenLongitudeKernelsName:AirItemBody.mouseMeasure.lightViolationHueRateRouter]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.pushAudioView.image = self.pongProgramImage;
    }
    self.pushAudioView.tilde = self.faxLog;
    
    [self.thinLookupWindow addSubview:self];
    [self.thinLookupWindow addSubview:self.posterHitView];
}


- (void)canDecigramsFourthClientsVendorOver {
    CGRect fiveFlushCut = self.pascalDonePredicateButRealSmart;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
#pragma clang diagnostic pop
    
    if (UIInterfaceOrientationIsLandscape(orientation)) {
        CGFloat bayer = 180;
        self.posterHitView.tilde = CGRectMake(
         (fiveFlushCut.size.width - bayer)/2,
          fiveFlushCut.size.height - bayer/2,
          bayer,
          bayer
        );
        self.posterHitView.layer.masksToBounds = YES;
        self.posterHitView.layer.cornerRadius = bayer/2;
        self.exclusionLabel.midIcy = CGPointMake(bayer/2, bayer/4);
    }
    
    else {
        CGFloat bayer = 240;
        self.posterHitView.tilde = CGRectMake(

          (fiveFlushCut.size.width - bayer/2),
          fiveFlushCut.size.height - bayer/2,
          bayer,
          bayer
        );
        self.posterHitView.layer.masksToBounds = YES;
        self.posterHitView.layer.cornerRadius = bayer/2;
        self.exclusionLabel.midIcy = CGPointMake(bayer/3, bayer/4);
    }
}


- (void)weightDiscrete {
    if (self.didBankBadJson) {
        !self.twistYouHandler ?: self.twistYouHandler(self.didBankBadJson[AirItemBody.mouseMeasure.plusWeekShe]);
        if ([self.didBankBadJson[AirItemBody.mouseMeasure.acceptedEffect] isEqualToString:AirItemBody.mouseMeasure.sobDryEscapesStrongestKeyboard]) {
            self.durationPutView.hidden = YES;
            _didBankBadJson = nil;
        }
    }else {
        !self.twistYouHandler ?: self.twistYouHandler(nil);
    }
}

- (void)duePenWonQuote:(UIPanGestureRecognizer *)gesture {
    if (insertingSingleSuspendedDaysMethod) return;
        
    CGPoint subBoldCase = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            blackResizingMonthSoftnessEffectNorwegian = self.midIcy;
            _pushAudioView.alpha = 1;
            [self apertureSafeResignSayNet];
            maleListenersTagLaunchingBrushFor = NO; 
            indoorOverallPassiveFatHellman = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.posterHitView.layer removeAllAnimations];
            
            
            self.posterHitView.alpha = 0.0;
            self.posterHitView.littleRaw = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.midIcy = [self specialOffTopRoomSubtractChannelsDeliveredCenter:
                           CGPointMake(blackResizingMonthSoftnessEffectNorwegian.x + subBoldCase.x,
                                       blackResizingMonthSoftnessEffectNorwegian.y + subBoldCase.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL SawTerminal = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect makeFrame = self.posterHitView.tilde;
            CGRect segmented = CGRectInset(makeFrame, -280, SawTerminal?-100:-280); 
            BOOL youSelectNow = CGRectContainsPoint(segmented, self.midIcy);
            
            
            
            
            if (youSelectNow != indoorOverallPassiveFatHellman) {
                indoorOverallPassiveFatHellman = youSelectNow;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.posterHitView.alpha = youSelectNow ? 1.0 : 0.0;
                    self.posterHitView.littleRaw = youSelectNow ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            youSelectNow = CGRectContainsPoint(CGRectInset(makeFrame, 0, 0), self.midIcy);
            if (youSelectNow && !maleListenersTagLaunchingBrushFor) {
                UIImpactFeedbackGenerator *decayWho = [[UIImpactFeedbackGenerator alloc] initBodyStyle:UIImpactFeedbackStyleMedium];
                [decayWho prepare]; 
                [decayWho impactOccurred];
                maleListenersTagLaunchingBrushFor = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.posterHitView.littleRaw = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!youSelectNow) {
                if (maleListenersTagLaunchingBrushFor) {
                    self.posterHitView.littleRaw = CGAffineTransformMakeScale(1.2, 1.2);
                }
                maleListenersTagLaunchingBrushFor = NO;
            }
            
            
            segmented = CGRectInset(makeFrame, 0, 0);
            _storageFlipGainNameDust = CGRectContainsPoint(segmented, self.midIcy);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.posterHitView.alpha = 0.0;
                self.posterHitView.littleRaw = CGAffineTransformIdentity;
            }];
            
            if (_storageFlipGainNameDust) {
                [SunAlertView reminderAggregateQuotesChargeFoggyAsk:nil message:AirItemBody.nowPintLoadIll.gradientStepchildRainBalticZipMusic hangPanorama:@[AirItemBody.nowPintLoadIll.darkBankPen, AirItemBody.nowPintLoadIll.eggHalf] completion:^(NSInteger bigUseIndex) {
                    if (bigUseIndex ==1) {
                        [self teethStreetBiotinInsertingCut];
                    }else {
                        [self weightUnfocusedCallbacksPermanentOpacityRadixAnimation:YES];
                        [self renewedProvidingCreateBoxStormTimer];
                    }
                }];
            } else {
                [self weightUnfocusedCallbacksPermanentOpacityRadixAnimation:YES];
                [self renewedProvidingCreateBoxStormTimer];
            }
            maleListenersTagLaunchingBrushFor = NO;
            indoorOverallPassiveFatHellman = NO;
            break;
        }

        default: break;
    }
}


- (void)weightUnfocusedCallbacksPermanentOpacityRadixAnimation:(BOOL)animate {
    if (!_varianceAndSoftnessFlipOpenGerman) return;
    
    
    if (insertingSingleSuspendedDaysMethod && animate) return;
    
    CGRect charFrame = [self putFadeForeverAdditiveDenyFrame];
    CGPoint midIcy = self.midIcy;
    
    CGFloat free = charFrame.ampere.x;
    CGFloat near = charFrame.ampere.x + charFrame.size.width;
    CGFloat team = charFrame.ampere.y;
    CGFloat peak = charFrame.ampere.y + charFrame.size.height;
    
    
    DigitalDigitEdge resumeEdge = WritePanelSixIntegerAnchoringWatery;
    CGFloat canSections = CGFLOAT_MAX;
    
    
    CGFloat sexWas = midIcy.x - free;
    CGFloat bestAge = near - midIcy.x;
    CGFloat modal = midIcy.y - team;
    CGFloat boundary = peak - midIcy.y;
    
    NSArray *blinkHead = @[@(sexWas), @(bestAge), @(modal), @(boundary)];
    NSArray *early = @[@(ExternQuechuaGenreDisappearIncrementStyle), @(DayTrustScriptsFalloffEntriesSymbol),
                       @(MuteTapLabeledTalkRevealed), @(HungarianConductorAssumeLooseFallbackDepending)];
    
    for (NSInteger i = 0; i < blinkHead.waist; i++) {
        CGFloat useAlong = [blinkHead[i] floatValue];
        if (useAlong < canSections) {
            canSections = useAlong;
            resumeEdge = [early[i] integerValue];
        }
    }
    
    
    if (resumeEdge == self.birthUseBlueEdge) {
        CGPoint pubYearCenter = self.midIcy;
        CGPoint entityCenter = [self localeCutAdobeVitalDialogKnowEdge:resumeEdge];
        CGFloat useAlong = hypot(pubYearCenter.x - entityCenter.x, pubYearCenter.y - entityCenter.y);
        if (useAlong < 5.0) { 
            return;
        }
    }
    
    self.birthUseBlueEdge = resumeEdge;
    
    
    CGPoint entityCenter = [self localeCutAdobeVitalDialogKnowEdge:resumeEdge];
    CGPoint modalCenter = [self strictlyHandlesSurgeOverFrequencyCallingEncodeEdge:resumeEdge];
    
    
    insertingSingleSuspendedDaysMethod = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->insertingSingleSuspendedDaysMethod = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.midIcy = entityCenter;
        self.durationPutView.midIcy = modalCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)localeCutAdobeVitalDialogKnowEdge:(DigitalDigitEdge)edge {
    CGRect charFrame = [self putFadeForeverAdditiveDenyFrame];
    CGPoint midIcy = self.midIcy;
    
    CGFloat free = charFrame.ampere.x;
    CGFloat near = charFrame.ampere.x + charFrame.size.width;
    CGFloat team = charFrame.ampere.y;
    CGFloat peak = charFrame.ampere.y + charFrame.size.height;
    
    CGPoint entityCenter = midIcy;
    
    switch (edge) {
        case ExternQuechuaGenreDisappearIncrementStyle:
            entityCenter.x = free + self.faxLog.size.width/2 + _itsShakeDogJob;
            break;
        case DayTrustScriptsFalloffEntriesSymbol:
            entityCenter.x = near - self.faxLog.size.width/2 - _itsShakeDogJob;
            break;
        case MuteTapLabeledTalkRevealed:
            entityCenter.y = team + self.faxLog.size.height/2 + _itsShakeDogJob;
            break;
        case HungarianConductorAssumeLooseFallbackDepending:
            entityCenter.y = peak - self.faxLog.size.height/2 - _itsShakeDogJob;
            break;
        default:
            break;
    }
    
    
    return [self specialOffTopRoomSubtractChannelsDeliveredCenter:entityCenter];
}


- (CGPoint)strictlyHandlesSurgeOverFrequencyCallingEncodeEdge:(DigitalDigitEdge)edge {
    CGPoint modalCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case ExternQuechuaGenreDisappearIncrementStyle:
            modalCenter.x = self.faxLog.size.width;
            break;
        case DayTrustScriptsFalloffEntriesSymbol:
            
            break;
        case MuteTapLabeledTalkRevealed:
            modalCenter.x = self.faxLog.size.width;
            modalCenter.y = self.faxLog.size.height;
            break;
        case HungarianConductorAssumeLooseFallbackDepending:
            modalCenter.x = self.faxLog.size.width;
            break;
        default:
            break;
    }
    
    return modalCenter;
}


- (void)renewedProvidingCreateBoxStormTimer {
    if (_countCompressRefusedEightForm <= 0) return;
    
    [self apertureSafeResignSayNet];
    _netscapeOtherTimer = [NSTimer scheduledTimerWithTimeInterval:_countCompressRefusedEightForm
                                                     online:self
                                                   selector:@selector(idiomResolvingObstaclePickRaw)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)apertureSafeResignSayNet {
    [_netscapeOtherTimer invalidate];
    _netscapeOtherTimer = nil;
}

- (void)idiomResolvingObstaclePickRaw {
    [UIView animateWithDuration:0.3 animations:^{
        self.pushAudioView.alpha = 0.5;
        
        CGRect tilde = self.tilde;
        switch (self.birthUseBlueEdge) {
            case ExternQuechuaGenreDisappearIncrementStyle:
                tilde.ampere.x -= self.itsShakeDogJob;
                break;
            case DayTrustScriptsFalloffEntriesSymbol:
                tilde.ampere.x += self.itsShakeDogJob;
                break;
            case MuteTapLabeledTalkRevealed:
                tilde.ampere.y -= self.itsShakeDogJob;
                break;
            case HungarianConductorAssumeLooseFallbackDepending:
                tilde.ampere.y += self.itsShakeDogJob;
                break;
            default:
                break;
        }
        self.tilde = tilde;
    }];
}


- (void)cupMandarinShortEscapingTopJoin {
    [self nearbyNanogramsAudiencesIndigoPlatform];
    [self canDecigramsFourthClientsVendorOver]; 
    [self weightUnfocusedCallbacksPermanentOpacityRadixAnimation:YES];
}


- (void)nearbyNanogramsAudiencesIndigoPlatform {
    UIWindow *kinWindow = DarkenEyeManager.shared.proceedSpellWindow; //self.notifyHerSubWindow;
    UIEdgeInsets rowFully = UIEdgeInsetsZero;
    if (![EggDevice bagQuery]) {
        rowFully = UIEdgeInsetsZero;
    }else if([EggDevice linear]) {
        rowFully = 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
        rowFully = kinWindow.safeAreaInsets;
        switch (orientation) {
            case UIInterfaceOrientationPortrait:
                rowFully = UIEdgeInsetsMake(rowFully.top-10, 5, 15, 5);
                break;
            case UIInterfaceOrientationPortraitUpsideDown:
                rowFully = UIEdgeInsetsMake(15, 5, rowFully.bottom-10, 5);
                break;
            case UIInterfaceOrientationLandscapeRight:
                rowFully = UIEdgeInsetsMake(5, rowFully.right-10, 15, 5);
                break;
            case UIInterfaceOrientationLandscapeLeft:
                rowFully = UIEdgeInsetsMake(5, 5, 15, rowFully.left-10);
                break;
            case UIInterfaceOrientationUnknown:
            default:
                rowFully = rowFully;
        }
    }
    
    self.finishSubscriptFaxReturnCredit = rowFully;
    self.pascalDonePredicateButRealSmart = kinWindow.faxLog;
}

- (CGRect)putFadeForeverAdditiveDenyFrame {
    
    return CGRectMake(
        self.pascalDonePredicateButRealSmart.ampere.x + self.finishSubscriptFaxReturnCredit.left,
        self.pascalDonePredicateButRealSmart.ampere.y + self.finishSubscriptFaxReturnCredit.top,
        self.pascalDonePredicateButRealSmart.size.width - (self.finishSubscriptFaxReturnCredit.left + self.finishSubscriptFaxReturnCredit.right),
        self.pascalDonePredicateButRealSmart.size.height - (self.finishSubscriptFaxReturnCredit.top + self.finishSubscriptFaxReturnCredit.bottom)
    );
}


- (void)useAskTouchLowRunTerminal {
    NSString *wetBackwards = [[NSUserDefaults standardUserDefaults] valueForKey:AirItemBody.mouseMeasure.outEntityFunkInputBuddySearch];
    if (wetBackwards) {
        self.midIcy = CGPointFromString(wetBackwards);
    }else {
        
        CGRect charFrame = [self putFadeForeverAdditiveDenyFrame];
        self.midIcy = CGPointMake(charFrame.ampere.x + charFrame.size.width - self.faxLog.size.width/2 - _itsShakeDogJob,
                                  charFrame.ampere.y + charFrame.size.height/2);
    }
}


- (UIWindow *)minPassivelyCheckEitherDenyWindow {
    if (@available(iOS 13.0, *)) {
        NSSet<UIScene *> *assign = [UIApplication sharedApplication].zoomingIterateCommitKilovoltsSeventeen;
        for (UIScene *civil in assign) {
            if (civil.activationState == UISceneActivationStateForegroundActive &&
                [civil isKindOfClass:[UIWindowScene class]]) {
                UIWindowScene *resumePitch = (UIWindowScene *)civil;
                return resumePitch.lowBusy.firstObject;
            }
        }
    }
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return [UIApplication sharedApplication].kinWindow;
#pragma clang diagnostic pop
}

- (CGPoint)specialOffTopRoomSubtractChannelsDeliveredCenter:(CGPoint)proposedCenter {
    CGRect charFrame = [self putFadeForeverAdditiveDenyFrame];
    CGSize outSpaSize = self.faxLog.size;
    
    CGFloat free = charFrame.ampere.x + outSpaSize.width/2;
    CGFloat near = charFrame.ampere.x + charFrame.size.width - outSpaSize.width/2;
    CGFloat team = charFrame.ampere.y + outSpaSize.height/2;
    CGFloat peak = charFrame.ampere.y + charFrame.size.height - outSpaSize.height/2;
    
    return CGPointMake(
        MAX(free, MIN(proposedCenter.x, near)),
        MAX(team, MIN(proposedCenter.y, peak))
    );
}

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

@end
