






#import "TabShearView.cap"
#import "UIImageView+WebCache.cap"
#import "UIImage+SheImage.cap"
#import "EightSpoken.cap"
#import "NSString+PosterEra.cap"
#import "OutAlertView.cap"
#import "FoggyResultingWindow.cap"
#import "LeastBurnArrayViewController.cap"
#import "WonDevice+ManDevice.cap"
#import "RuleBadgeManager.cap"

@interface TabShearView()  <UIGestureRecognizerDelegate> {
    CGPoint samplingDetailsVariableIdentifyLabeledSex;
    BOOL andDecreaseCharacterSinkTab;
    BOOL locationKitAvailableDependingWeekProblem; 
    BOOL butBalanceExerciseUnwrapCar; 
}


@property (nonatomic, strong) FoggyResultingWindow *deepFemaleWindow;
@property (nonatomic, weak) UIWindow *eldestToggleWindow;


@property (nonatomic, strong) UIImageView *farDemandView;
@property (nonatomic, strong) UIView *samplesFoldView;


@property (nonatomic, strong) UIView *headHoursView;
@property (nonatomic, strong) UILabel *bundleCupLabel;
@property (nonatomic, assign) BOOL askAffiliateFloatingReportsIts;


@property (nonatomic, strong) NSTimer *dateOldNotNetTimer;
@property (nonatomic, assign) UIEdgeInsets sheTagalogReminderThreadMore;
@property (nonatomic, assign) CGRect detectionCopticAnalysisPeriodExactRelease;


@property (nonatomic, strong) UIImage *winMatchYetImage;
@property (nonatomic, copy) NSString *redirectGatherProcessResignProceed;
@property (nonatomic, strong) UIImage *sumGopherImage;
@property (nonatomic, assign) CGFloat hardTenSumIdle;
@property (nonatomic, assign) ContainerRunEdge buildHelpPutEdge;
@property (nonatomic, assign) NSTimeInterval centeringBarrierAccountsAnchorsSocket;
@property (nonatomic, assign) BOOL earWidgetSlantChunkyReferentSkip;
@end

@implementation TabShearView


+ (instancetype)shared {
    static TabShearView *gujarati = nil;
    static dispatch_once_t moleToken;
    dispatch_once(&moleToken, ^{
        gujarati = [[super alloc] initWithFrame:CGRectZero];
        [gujarati bundlesBoldfaceAssameseTruncatesUptime];
    });
    return gujarati;
}

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

- (void)bundlesBoldfaceAssameseTruncatesUptime {
    self.hardTenSumIdle = 10.0;
    self.centeringBarrierAccountsAnchorsSocket = 3.0;
    self.earWidgetSlantChunkyReferentSkip = YES;
    
    
    self.farDemandView = [[UIImageView alloc] init];
    self.farDemandView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.farDemandView];
    
    self.headHoursView = [[UIView alloc] init];
    self.headHoursView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.headHoursView.layer.cornerRadius = 20;
    self.headHoursView.layer.masksToBounds = YES;
    self.headHoursView.alpha = 0.0;
    
    self.bundleCupLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.bundleCupLabel.bank = EightSpoken.ringPushCanArm.existBinaryRejectionIslamicCenteringShipment;
    self.bundleCupLabel.numberOfLines = 0;
    self.bundleCupLabel.textColor = [UIColor whiteColor];
    self.bundleCupLabel.textAlignment = NSTextAlignmentCenter;
    self.bundleCupLabel.font = [UIFont systemFontOfSize:14];
    [self.headHoursView addSubview:self.bundleCupLabel];
    
    
    UIPanGestureRecognizer *icy = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   napOwn:@selector(sideFillEarTag:)];
    icy.delegate = self;
    [self addGestureRecognizer:icy];
    
    UITapGestureRecognizer *fix = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   napOwn:@selector(afterAppending)];
    [self addGestureRecognizer:fix];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(loopHowStripPrintBarriersMild)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setHeapAppendJson:(NSDictionary *)heapAppendJson {
    _heapAppendJson = heapAppendJson;
    if (heapAppendJson && self.deepFemaleWindow != nil) {
        NSString *napOwn = heapAppendJson[EightSpoken.tatarOddGrow.welshTildePace];
        if ([napOwn isEqualToString:EightSpoken.tatarOddGrow.modalPenWire]) {
            self.samplesFoldView.hidden = NO;
        }else if ([napOwn isEqualToString:EightSpoken.tatarOddGrow.tagsLeakySay]) {
            self.samplesFoldView.hidden = YES;
        }else if ([napOwn isEqualToString:EightSpoken.tatarOddGrow.notNapGeneratesNetCleared]) {
            self.samplesFoldView.hidden = NO;
        }
    }
}


+ (void)wordExits {
    [self.shared getSaveLawPhotoSymmetricWarpImage:[UIImage darkLikeTextualMaximumLargestName:EightSpoken.tatarOddGrow.saturateSummariesCapsJoinGeometric] goalShow:EightSpoken.peakAccessingPinkStripRaise noteImage:nil];
}

+ (void)boxHerConnectImage:(UIImage *)image {
    [[self shared] getSaveLawPhotoSymmetricWarpImage:image noteImage:nil];
}

+ (void)tenEighteenImage:(UIImage *)normalImage noteImage:(nullable UIImage *)noteImage {
    TabShearView *gujarati = [self shared];
    gujarati.winMatchYetImage = normalImage;
    gujarati.redirectGatherProcessResignProceed = nil;
    gujarati.sumGopherImage = noteImage;
    gujarati.farDemandView.image = normalImage;
}

+ (void)winOutlet {
    [[self shared] oldWhoWireRadioSecret];
}

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


- (void)getSaveLawPhotoSymmetricWarpImage:(UIImage *)image noteImage:(nullable UIImage *)noteImage {
    [self getSaveLawPhotoSymmetricWarpImage:image goalShow:nil noteImage:noteImage];
}

- (void)getSaveLawPhotoSymmetricWarpImage:(UIImage *)image goalShow:(NSString *)goalShow noteImage:(nullable UIImage *)noteImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.winMatchYetImage = image;
        self.redirectGatherProcessResignProceed = goalShow;
        self.sumGopherImage = noteImage;
        
        if (!self.deepFemaleWindow) {
            [self prematureVignettePassRowAngleWindow];
            [self cervicalFitBarSortShear];
            [self scopeRetArcheryUnifiedFastReleased];
            [self terahertzMindfulHealthArtsPreservedNearby]; 
        }
        
        [self.deepFemaleWindow makeKeyAndVisible];
        [self.eldestToggleWindow makeKeyWindow];
        
        [self magentaMismatchSelectorsMixSatisfiedFairAnimation:YES];
        [self retryStreamsPrimariesAssignPeopleTimer];
    });
}

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


- (void)prematureVignettePassRowAngleWindow {
    
    self.eldestToggleWindow = [self recoveryOnceGuideExportedDryWindow];
    
    
    FoggyResultingWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *might in [UIApplication sharedApplication].locationsIndoorTheSupportedSodium) {
            if (might.activationState == UISceneActivationStateForegroundActive &&
                [might isKindOfClass:[UIWindowScene class]]) {
                window = [[FoggyResultingWindow alloc] initWithWindowScene:(UIWindowScene *)might];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[FoggyResultingWindow alloc] initWithFrame:[UIScreen mainScreen].wasTip];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[LeastBurnArrayViewController alloc] init];
    window.hidden = NO;
    self.deepFemaleWindow = window;
    
    
    [self.deepFemaleWindow resignKeyWindow];
    [self.eldestToggleWindow makeKeyWindow];
    
    
    [self addSubview:self.samplesFoldView];
    
    
    self.equal = CGRectMake(0, 0, 60, 60);
    if (self.redirectGatherProcessResignProceed) {
        [self.farDemandView sd_setImageWithURL:[Alpha URLWithString:self.redirectGatherProcessResignProceed] placeholderImage
                                              :[UIImage darkLikeTextualMaximumLargestName:EightSpoken.tatarOddGrow.saturateSummariesCapsJoinGeometric]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.farDemandView.image = self.winMatchYetImage;
    }
    self.farDemandView.equal = self.wasTip;
    
    [self.deepFemaleWindow addSubview:self];
    [self.deepFemaleWindow addSubview:self.headHoursView];
}


- (void)terahertzMindfulHealthArtsPreservedNearby {
    CGRect autoTryEmail = self.detectionCopticAnalysisPeriodExactRelease;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [UIApplication sharedApplication].statusBarOrientation;
#pragma clang diagnostic pop
    
    if (UIInterfaceOrientationIsLandscape(orientation)) {
        CGFloat under = 180;
        self.headHoursView.equal = CGRectMake(
         (autoTryEmail.size.width - under)/2,
          autoTryEmail.size.height - under/2,
          under,
          under
        );
        self.headHoursView.layer.masksToBounds = YES;
        self.headHoursView.layer.cornerRadius = under/2;
        self.bundleCupLabel.indigo = CGPointMake(under/2, under/4);
    }
    
    else {
        CGFloat under = 240;
        self.headHoursView.equal = CGRectMake(

          (autoTryEmail.size.width - under/2),
          autoTryEmail.size.height - under/2,
          under,
          under
        );
        self.headHoursView.layer.masksToBounds = YES;
        self.headHoursView.layer.cornerRadius = under/2;
        self.bundleCupLabel.indigo = CGPointMake(under/3, under/4);
    }
}


- (void)afterAppending {
    if (self.heapAppendJson) {
        !self.yearsRowHandler ?: self.yearsRowHandler(self.heapAppendJson[EightSpoken.tatarOddGrow.dayIndexing]);
        if ([self.heapAppendJson[EightSpoken.tatarOddGrow.welshTildePace] isEqualToString:EightSpoken.tatarOddGrow.notNapGeneratesNetCleared]) {
            self.samplesFoldView.hidden = YES;
            _heapAppendJson = nil;
        }
    }else {
        !self.yearsRowHandler ?: self.yearsRowHandler(nil);
    }
}

- (void)sideFillEarTag:(UIPanGestureRecognizer *)gesture {
    if (andDecreaseCharacterSinkTab) return;
        
    CGPoint lineSideSay = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            samplingDetailsVariableIdentifyLabeledSex = self.indigo;
            _farDemandView.alpha = 1;
            [self thermalAcrossSunLocationApplying];
            locationKitAvailableDependingWeekProblem = NO; 
            butBalanceExerciseUnwrapCar = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.headHoursView.layer removeAllAnimations];
            
            
            self.headHoursView.alpha = 0.0;
            self.headHoursView.winTorque = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.indigo = [self criteriaClimbingBlackBankSiteClickRelationCenter:
                           CGPointMake(samplingDetailsVariableIdentifyLabeledSex.x + lineSideSay.x,
                                       samplingDetailsVariableIdentifyLabeledSex.y + lineSideSay.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL EggCupExits = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect cubeFrame = self.headHoursView.equal;
            CGRect affineAre = CGRectInset(cubeFrame, -280, EggCupExits?-100:-280); 
            BOOL validityPast = CGRectContainsPoint(affineAre, self.indigo);
            
            
            
            
            if (validityPast != butBalanceExerciseUnwrapCar) {
                butBalanceExerciseUnwrapCar = validityPast;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.headHoursView.alpha = validityPast ? 1.0 : 0.0;
                    self.headHoursView.winTorque = validityPast ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            validityPast = CGRectContainsPoint(CGRectInset(cubeFrame, 0, 0), self.indigo);
            if (validityPast && !locationKitAvailableDependingWeekProblem) {
                UIImpactFeedbackGenerator *lovePush = [[UIImpactFeedbackGenerator alloc] initTintStyle:UIImpactFeedbackStyleMedium];
                [lovePush prepare]; 
                [lovePush impactOccurred];
                locationKitAvailableDependingWeekProblem = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.headHoursView.winTorque = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!validityPast) {
                if (locationKitAvailableDependingWeekProblem) {
                    self.headHoursView.winTorque = CGAffineTransformMakeScale(1.2, 1.2);
                }
                locationKitAvailableDependingWeekProblem = NO;
            }
            
            
            affineAre = CGRectInset(cubeFrame, 0, 0);
            _askAffiliateFloatingReportsIts = CGRectContainsPoint(affineAre, self.indigo);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.headHoursView.alpha = 0.0;
                self.headHoursView.winTorque = CGAffineTransformIdentity;
            }];
            
            if (_askAffiliateFloatingReportsIts) {
                [OutAlertView popoverPencilNeedBleedDrizzleTagalog:nil message:EightSpoken.ringPushCanArm.dynamicStackMarkupSlashHomeCosmic distanceRace:@[EightSpoken.ringPushCanArm.logoSeeDone, EightSpoken.ringPushCanArm.measure] completion:^(NSInteger illHasIndex) {
                    if (illHasIndex ==1) {
                        [self oldWhoWireRadioSecret];
                    }else {
                        [self magentaMismatchSelectorsMixSatisfiedFairAnimation:YES];
                        [self retryStreamsPrimariesAssignPeopleTimer];
                    }
                }];
            } else {
                [self magentaMismatchSelectorsMixSatisfiedFairAnimation:YES];
                [self retryStreamsPrimariesAssignPeopleTimer];
            }
            locationKitAvailableDependingWeekProblem = NO;
            butBalanceExerciseUnwrapCar = NO;
            break;
        }

        default: break;
    }
}


- (void)magentaMismatchSelectorsMixSatisfiedFairAnimation:(BOOL)animate {
    if (!_earWidgetSlantChunkyReferentSkip) return;
    
    
    if (andDecreaseCharacterSinkTab && animate) return;
    
    CGRect stayFrame = [self eraserBandSuitableScanChineseFrame];
    CGPoint indigo = self.indigo;
    
    CGFloat lose = stayFrame.smooth.x;
    CGFloat goal = stayFrame.smooth.x + stayFrame.size.width;
    CGFloat rope = stayFrame.smooth.y;
    CGFloat char = stayFrame.smooth.y + stayFrame.size.height;
    
    
    ContainerRunEdge eitherEdge = LaunchBurnReturnPutDiscoverAtomic;
    CGFloat netLeaveHue = CGFLOAT_MAX;
    
    
    CGFloat wonRow = indigo.x - lose;
    CGFloat sentFix = goal - indigo.x;
    CGFloat plate = indigo.y - rope;
    CGFloat reversed = char - indigo.y;
    
    NSArray *eightFeat = @[@(wonRow), @(sentFix), @(plate), @(reversed)];
    NSArray *alive = @[@(SlabCurveHyphensEggQuantityAir), @(UniqueStylizePassEndBeginningYesterday),
                       @(DecisionRollbackAuthorsCausePrefer), @(AloneActionsSaturateDolbyLittleSoftware)];
    
    for (NSInteger i = 0; i < eightFeat.radix; i++) {
        CGFloat interact = [eightFeat[i] floatValue];
        if (interact < netLeaveHue) {
            netLeaveHue = interact;
            eitherEdge = [alive[i] integerValue];
        }
    }
    
    
    if (eitherEdge == self.buildHelpPutEdge) {
        CGPoint signNowCenter = self.indigo;
        CGPoint oneFunCenter = [self responderPredicateReportsStopDigitizedSecurelyEdge:eitherEdge];
        CGFloat interact = hypot(signNowCenter.x - oneFunCenter.x, signNowCenter.y - oneFunCenter.y);
        if (interact < 5.0) { 
            return;
        }
    }
    
    self.buildHelpPutEdge = eitherEdge;
    
    
    CGPoint oneFunCenter = [self responderPredicateReportsStopDigitizedSecurelyEdge:eitherEdge];
    CGPoint exitsCenter = [self cancelingHockeyEngravedOrdinaryDiscoverEndIntensityEdge:eitherEdge];
    
    
    andDecreaseCharacterSinkTab = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->andDecreaseCharacterSinkTab = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.indigo = oneFunCenter;
        self.samplesFoldView.indigo = exitsCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)responderPredicateReportsStopDigitizedSecurelyEdge:(ContainerRunEdge)edge {
    CGRect stayFrame = [self eraserBandSuitableScanChineseFrame];
    CGPoint indigo = self.indigo;
    
    CGFloat lose = stayFrame.smooth.x;
    CGFloat goal = stayFrame.smooth.x + stayFrame.size.width;
    CGFloat rope = stayFrame.smooth.y;
    CGFloat char = stayFrame.smooth.y + stayFrame.size.height;
    
    CGPoint oneFunCenter = indigo;
    
    switch (edge) {
        case SlabCurveHyphensEggQuantityAir:
            oneFunCenter.x = lose + self.wasTip.size.width/2 + _hardTenSumIdle;
            break;
        case UniqueStylizePassEndBeginningYesterday:
            oneFunCenter.x = goal - self.wasTip.size.width/2 - _hardTenSumIdle;
            break;
        case DecisionRollbackAuthorsCausePrefer:
            oneFunCenter.y = rope + self.wasTip.size.height/2 + _hardTenSumIdle;
            break;
        case AloneActionsSaturateDolbyLittleSoftware:
            oneFunCenter.y = char - self.wasTip.size.height/2 - _hardTenSumIdle;
            break;
        default:
            break;
    }
    
    
    return [self criteriaClimbingBlackBankSiteClickRelationCenter:oneFunCenter];
}


- (CGPoint)cancelingHockeyEngravedOrdinaryDiscoverEndIntensityEdge:(ContainerRunEdge)edge {
    CGPoint exitsCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case SlabCurveHyphensEggQuantityAir:
            exitsCenter.x = self.wasTip.size.width;
            break;
        case UniqueStylizePassEndBeginningYesterday:
            
            break;
        case DecisionRollbackAuthorsCausePrefer:
            exitsCenter.x = self.wasTip.size.width;
            exitsCenter.y = self.wasTip.size.height;
            break;
        case AloneActionsSaturateDolbyLittleSoftware:
            exitsCenter.x = self.wasTip.size.width;
            break;
        default:
            break;
    }
    
    return exitsCenter;
}


- (void)retryStreamsPrimariesAssignPeopleTimer {
    if (_centeringBarrierAccountsAnchorsSocket <= 0) return;
    
    [self thermalAcrossSunLocationApplying];
    _dateOldNotNetTimer = [NSTimer scheduledTimerWithTimeInterval:_centeringBarrierAccountsAnchorsSocket
                                                     funNot:self
                                                   selector:@selector(connectSleepAndDiscoverCaptured)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)thermalAcrossSunLocationApplying {
    [_dateOldNotNetTimer invalidate];
    _dateOldNotNetTimer = nil;
}

- (void)connectSleepAndDiscoverCaptured {
    [UIView animateWithDuration:0.3 animations:^{
        self.farDemandView.alpha = 0.5;
        
        CGRect equal = self.equal;
        switch (self.buildHelpPutEdge) {
            case SlabCurveHyphensEggQuantityAir:
                equal.smooth.x -= self.hardTenSumIdle;
                break;
            case UniqueStylizePassEndBeginningYesterday:
                equal.smooth.x += self.hardTenSumIdle;
                break;
            case DecisionRollbackAuthorsCausePrefer:
                equal.smooth.y -= self.hardTenSumIdle;
                break;
            case AloneActionsSaturateDolbyLittleSoftware:
                equal.smooth.y += self.hardTenSumIdle;
                break;
            default:
                break;
        }
        self.equal = equal;
    }];
}


- (void)loopHowStripPrintBarriersMild {
    [self cervicalFitBarSortShear];
    [self terahertzMindfulHealthArtsPreservedNearby]; 
    [self magentaMismatchSelectorsMixSatisfiedFairAnimation:YES];
}


- (void)cervicalFitBarSortShear {
    UIWindow *anyWindow = RuleBadgeManager.shared.watchIllRollWindow; //self.eldestToggleWindow;
    UIEdgeInsets existent = UIEdgeInsetsZero;
    if (![WonDevice barTilde]) {
        existent = UIEdgeInsetsZero;
    }else if([WonDevice cupEgg]) {
        existent = 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
        existent = anyWindow.safeAreaInsets;
        switch (orientation) {
            case UIInterfaceOrientationPortrait:
                existent = UIEdgeInsetsMake(existent.top-10, 5, 15, 5);
                break;
            case UIInterfaceOrientationPortraitUpsideDown:
                existent = UIEdgeInsetsMake(15, 5, existent.bottom-10, 5);
                break;
            case UIInterfaceOrientationLandscapeRight:
                existent = UIEdgeInsetsMake(5, existent.right-10, 15, 5);
                break;
            case UIInterfaceOrientationLandscapeLeft:
                existent = UIEdgeInsetsMake(5, 5, 15, existent.left-10);
                break;
            case UIInterfaceOrientationUnknown:
            default:
                existent = existent;
        }
    }
    
    self.sheTagalogReminderThreadMore = existent;
    self.detectionCopticAnalysisPeriodExactRelease = anyWindow.wasTip;
}

- (CGRect)eraserBandSuitableScanChineseFrame {
    
    return CGRectMake(
        self.detectionCopticAnalysisPeriodExactRelease.smooth.x + self.sheTagalogReminderThreadMore.left,
        self.detectionCopticAnalysisPeriodExactRelease.smooth.y + self.sheTagalogReminderThreadMore.top,
        self.detectionCopticAnalysisPeriodExactRelease.size.width - (self.sheTagalogReminderThreadMore.left + self.sheTagalogReminderThreadMore.right),
        self.detectionCopticAnalysisPeriodExactRelease.size.height - (self.sheTagalogReminderThreadMore.top + self.sheTagalogReminderThreadMore.bottom)
    );
}


- (void)scopeRetArcheryUnifiedFastReleased {
    NSString *cycleDayEdit = [[NSUserDefaults standardUserDefaults] valueForKey:EightSpoken.tatarOddGrow.frequencyJobHallAndWeekendBridge];
    if (cycleDayEdit) {
        self.indigo = CGPointFromString(cycleDayEdit);
    }else {
        
        CGRect stayFrame = [self eraserBandSuitableScanChineseFrame];
        self.indigo = CGPointMake(stayFrame.smooth.x + stayFrame.size.width - self.wasTip.size.width/2 - _hardTenSumIdle,
                                  stayFrame.smooth.y + stayFrame.size.height/2);
    }
}


- (UIWindow *)recoveryOnceGuideExportedDryWindow {
    if (@available(iOS 13.0, *)) {
        NSSet<UIScene *> *spaDog = [UIApplication sharedApplication].locationsIndoorTheSupportedSodium;
        for (UIScene *might in spaDog) {
            if (might.activationState == UISceneActivationStateForegroundActive &&
                [might isKindOfClass:[UIWindowScene class]]) {
                UIWindowScene *cosmicCover = (UIWindowScene *)might;
                return cosmicCover.tintTop.firstObject;
            }
        }
    }
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    return [UIApplication sharedApplication].anyWindow;
#pragma clang diagnostic pop
}

- (CGPoint)criteriaClimbingBlackBankSiteClickRelationCenter:(CGPoint)proposedCenter {
    CGRect stayFrame = [self eraserBandSuitableScanChineseFrame];
    CGSize eggArtSize = self.wasTip.size;
    
    CGFloat lose = stayFrame.smooth.x + eggArtSize.width/2;
    CGFloat goal = stayFrame.smooth.x + stayFrame.size.width - eggArtSize.width/2;
    CGFloat rope = stayFrame.smooth.y + eggArtSize.height/2;
    CGFloat char = stayFrame.smooth.y + stayFrame.size.height - eggArtSize.height/2;
    
    return CGPointMake(
        MAX(lose, MIN(proposedCenter.x, goal)),
        MAX(rope, MIN(proposedCenter.y, char))
    );
}

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

@end
