






#import "SumSmileView.h"
#import "UIImageView+WebCache.h"
#import "UIImage+SunImage.h"
#import "DistantEach.h"
#import "NSString+Redirects.h"
#import "IcyAlertView.h"
#import "ParseYouOptDryWindow.h"
#import "EncryptedBlackViewController.h"
#import "UIDevice+SonDevice.h"
#import "MatrixFixManager.h"

@interface SumSmileView()  <UIGestureRecognizerDelegate> {
    CGPoint bordersCaretMinAwaySamplingReplace;
    BOOL aspectProcessesOccurAmharicConnected;
    BOOL thousandLocalizedMartialMinimumDustAscended; 
    BOOL kitHostingAlphaTitleEuler; 
}


@property (nonatomic, strong) ParseYouOptDryWindow *napTenFailWindow;
@property (nonatomic, weak) UIWindow *endpointsCatWindow;


@property (nonatomic, strong) UIImageView *slashEndsView;
@property (nonatomic, strong) UIView *tapsAddListView;


@property (nonatomic, strong) UIView *strokeMixView;
@property (nonatomic, strong) UILabel *farMiddleLabel;
@property (nonatomic, assign) BOOL binaryActualInsertedPinChrome;


@property (nonatomic, strong) NSTimer *artsNeverWireTimer;
@property (nonatomic, assign) UIEdgeInsets spanDescribesKannadaEstonianColored;
@property (nonatomic, assign) CGRect carDrizzleQuitBarrierAnyStarting;


@property (nonatomic, strong) UIImage *unloadFoundImage;
@property (nonatomic, copy) NSString *growCanadianRetainProducedBits;
@property (nonatomic, strong) UIImage *gregorianImage;
@property (nonatomic, assign) CGFloat catPingSoloDay;
@property (nonatomic, assign) GaussianPrepEdge renamingGramEdge;
@property (nonatomic, assign) NSTimeInterval wakeOptRotateNearTower;
@property (nonatomic, assign) BOOL eraDebuggerCursorFourTemplateIndent;
@end

@implementation SumSmileView


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

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

- (void)mapEphemeralEnsureStorylineBand {
    self.catPingSoloDay = 10.0;
    self.wakeOptRotateNearTower = 3.0;
    self.eraDebuggerCursorFourTemplateIndent = YES;
    
    
    self.slashEndsView = [[UIImageView alloc] init];
    self.slashEndsView.contentMode = UIViewContentModeScaleAspectFit;
    [self addSubview:self.slashEndsView];
    
    self.strokeMixView = [[UIView alloc] init];
    self.strokeMixView.backgroundColor = [UIColor colorWithWhite:0 alpha:0.7];
    self.strokeMixView.layer.cornerRadius = 20;
    self.strokeMixView.layer.masksToBounds = YES;
    self.strokeMixView.alpha = 0.0;
    
    self.farMiddleLabel = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 80, 40)];
    self.farMiddleLabel.text = DistantEach.earMayTopModel.connectCameraSegmentsBaselinePrimeObscured;
    self.farMiddleLabel.numberOfLines = 0;
    self.farMiddleLabel.textColor = [UIColor whiteColor];
    self.farMiddleLabel.textAlignment = NSTextAlignmentCenter;
    self.farMiddleLabel.font = [UIFont systemFontOfSize:14];
    [self.strokeMixView addSubview:self.farMiddleLabel];
    
    
    UIPanGestureRecognizer *pan = [[UIPanGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(boxMidAllRebus:)];
    pan.delegate = self;
    [self addGestureRecognizer:pan];
    
    UITapGestureRecognizer *yet = [[UITapGestureRecognizer alloc]
                                   initWithTarget:self
                                   action:@selector(levelHisSawIcy)];
    [self addGestureRecognizer:yet];
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    
    [[NSNotificationCenter defaultCenter] addObserver:self
                                             selector:@selector(detailApertureVowelAlpineTagsLower)
                                                 name:UIApplicationDidChangeStatusBarOrientationNotification
                                               object:nil];
#pragma clang diagnostic pop
}

- (void)setBitLogDoneJson:(NSDictionary *)bitLogDoneJson {
    _bitLogDoneJson = bitLogDoneJson;
    if (bitLogDoneJson && self.napTenFailWindow != nil) {
        NSString *action = bitLogDoneJson[DistantEach.whoFrenchMin.runMagicLawBox];
        if ([action isEqualToString:DistantEach.whoFrenchMin.comparedMute]) {
            self.tapsAddListView.hidden = NO;
        }else if ([action isEqualToString:DistantEach.whoFrenchMin.wonMountMake]) {
            self.tapsAddListView.hidden = YES;
        }else if ([action isEqualToString:DistantEach.whoFrenchMin.buddhistExpansionThumbnailCellPaper]) {
            self.tapsAddListView.hidden = NO;
        }
    }
}


+ (void)gramTorch {
    [self.shared tailReadableVendorDriveGatheringNextImage:[UIImage exerciseSoundDescribeSunAnchoredName:DistantEach.whoFrenchMin.renewalElevenBadmintonBirthCellphone] getWidth:DistantEach.speakingRetFiltersSupportsCutter jumpImage:nil];
}

+ (void)domainsGermanImage:(UIImage *)image {
    [[self shared] tailReadableVendorDriveGatheringNextImage:image jumpImage:nil];
}

+ (void)rawShapeHowImage:(UIImage *)normalImage jumpImage:(nullable UIImage *)jumpImage {
    SumSmileView *instance = [self shared];
    instance.unloadFoundImage = normalImage;
    instance.growCanadianRetainProducedBits = nil;
    instance.gregorianImage = jumpImage;
    instance.slashEndsView.image = normalImage;
}

+ (void)secretMin {
    [[self shared] switchWalkingAdverbBoyfriendConclude];
}

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


- (void)tailReadableVendorDriveGatheringNextImage:(UIImage *)image jumpImage:(nullable UIImage *)jumpImage {
    [self tailReadableVendorDriveGatheringNextImage:image getWidth:nil jumpImage:jumpImage];
}

- (void)tailReadableVendorDriveGatheringNextImage:(UIImage *)image getWidth:(NSString *)getWidth jumpImage:(nullable UIImage *)jumpImage {
    dispatch_async(dispatch_get_main_queue(), ^{
        self.unloadFoundImage = image;
        self.growCanadianRetainProducedBits = getWidth;
        self.gregorianImage = jumpImage;
        
        if (!self.napTenFailWindow) {
            [self slidePackMarkUnboundEggWindow];
            [self auxiliaryColleagueRoundEyeOur];
            [self groupPressedReturnsRowPrefersExporter];
            [self derivedExpectingEffectiveEnhancedArchiveTop]; 
        }
        
        [self.napTenFailWindow makeKeyAndVisible];
        [self.endpointsCatWindow makeKeyWindow];
        
        [self todayGopherThousandsSoundBufferScheduledAnimation:YES];
        [self zeroCreamyRangingClangGetTimer];
    });
}

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


- (void)slidePackMarkUnboundEggWindow {
    
    self.endpointsCatWindow = [self adobeUnsavedThicknessPolicyRetainWindow];
    
    
    ParseYouOptDryWindow *window = nil;
    
    
    if (@available(iOS 13.0, *)) {
        for (UIScene *scene in [UIApplication sharedApplication].connectedScenes) {
            if (scene.activationState == UISceneActivationStateForegroundActive &&
                [scene isKindOfClass:[UIWindowScene class]]) {
                window = [[ParseYouOptDryWindow alloc] initWithWindowScene:(UIWindowScene *)scene];
                break;
            }
        }
    }
    
    
    if (!window) {
        window = [[ParseYouOptDryWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
    }
    
    
    window.backgroundColor = [UIColor clearColor];
    window.clipsToBounds = YES; 
    window.windowLevel = UIWindowLevelAlert + 1000;
    window.backgroundColor = [UIColor clearColor];
    window.rootViewController = [[EncryptedBlackViewController alloc] init];
    window.hidden = NO;
    self.napTenFailWindow = window;
    
    
    [self.napTenFailWindow resignKeyWindow];
    [self.endpointsCatWindow makeKeyWindow];
    
    
    [self addSubview:self.tapsAddListView];
    
    
    self.frame = CGRectMake(0, 0, 60, 60);
    if (self.growCanadianRetainProducedBits) {
        [self.slashEndsView sd_setImageWithURL:[NSURL URLWithString:self.growCanadianRetainProducedBits] placeholderImage
                                              :[UIImage exerciseSoundDescribeSunAnchoredName:DistantEach.whoFrenchMin.renewalElevenBadmintonBirthCellphone]
                                       options:(SDWebImageDelayPlaceholder)];
    }else {
        self.slashEndsView.image = self.unloadFoundImage;
    }
    self.slashEndsView.frame = self.bounds;
    
    [self.napTenFailWindow addSubview:self];
    [self.napTenFailWindow addSubview:self.strokeMixView];
}


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

          (colorCalorie.size.width - shake/2),
          colorCalorie.size.height - shake/2,
          shake,
          shake
        );
        self.strokeMixView.layer.masksToBounds = YES;
        self.strokeMixView.layer.cornerRadius = shake/2;
        self.farMiddleLabel.center = CGPointMake(shake/3, shake/4);
    }
}


- (void)levelHisSawIcy {
    if (self.bitLogDoneJson) {
        !self.bankStayHandler ?: self.bankStayHandler(self.bitLogDoneJson[DistantEach.whoFrenchMin.tripleMagic]);
        if ([self.bitLogDoneJson[DistantEach.whoFrenchMin.runMagicLawBox] isEqualToString:DistantEach.whoFrenchMin.buddhistExpansionThumbnailCellPaper]) {
            self.tapsAddListView.hidden = YES;
            _bitLogDoneJson = nil;
        }
    }else {
        !self.bankStayHandler ?: self.bankStayHandler(nil);
    }
}

- (void)boxMidAllRebus:(UIPanGestureRecognizer *)gesture {
    if (aspectProcessesOccurAmharicConnected) return;
        
    CGPoint translation = [gesture translationInView:self.superview];
    
    switch (gesture.state) {
        case UIGestureRecognizerStateBegan:
            bordersCaretMinAwaySamplingReplace = self.center;
            _slashEndsView.alpha = 1;
            [self eitherPushSliceAlbumExceeded];
            thousandLocalizedMartialMinimumDustAscended = NO; 
            kitHostingAlphaTitleEuler = NO; 
            
            
            [self.layer removeAllAnimations];
            [self.strokeMixView.layer removeAllAnimations];
            
            
            self.strokeMixView.alpha = 0.0;
            self.strokeMixView.transform = CGAffineTransformIdentity;
            break;
            
        case UIGestureRecognizerStateChanged:{
            
            self.center = [self keyResultPurposeDatumDiagnoseRejectMinorCenter:
                           CGPointMake(bordersCaretMinAwaySamplingReplace.x + translation.x,
                                       bordersCaretMinAwaySamplingReplace.y + translation.y)];
            
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
            
            BOOL IdentityWay = UIInterfaceOrientationIsLandscape([UIApplication sharedApplication].statusBarOrientation);
#pragma clang diagnostic pop
            CGRect poolFrame = self.strokeMixView.frame;
            CGRect plateOver = CGRectInset(poolFrame, -280, IdentityWay?-100:-280); 
            BOOL momentSpaCat = CGRectContainsPoint(plateOver, self.center);
            
            
            
            
            if (momentSpaCat != kitHostingAlphaTitleEuler) {
                kitHostingAlphaTitleEuler = momentSpaCat;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.strokeMixView.alpha = momentSpaCat ? 1.0 : 0.0;
                    self.strokeMixView.transform = momentSpaCat ? CGAffineTransformMakeScale(1.2, 1.2) : CGAffineTransformIdentity;
                } completion:nil];
            }
            
            
            momentSpaCat = CGRectContainsPoint(CGRectInset(poolFrame, 0, 0), self.center);
            if (momentSpaCat && !thousandLocalizedMartialMinimumDustAscended) {
                UIImpactFeedbackGenerator *feedback = [[UIImpactFeedbackGenerator alloc] initWithStyle:UIImpactFeedbackStyleMedium];
                [feedback prepare]; 
                [feedback impactOccurred];
                thousandLocalizedMartialMinimumDustAscended = YES;
                
                
                [UIView animateWithDuration:0.3
                                      delay:0
                                    options:UIViewAnimationOptionBeginFromCurrentState
                                 animations:^{
                    self.strokeMixView.transform = CGAffineTransformMakeScale(1.3, 1.3);
                } completion:nil];
            } else if (!momentSpaCat) {
                if (thousandLocalizedMartialMinimumDustAscended) {
                    self.strokeMixView.transform = CGAffineTransformMakeScale(1.2, 1.2);
                }
                thousandLocalizedMartialMinimumDustAscended = NO;
            }
            
            
            plateOver = CGRectInset(poolFrame, 0, 0);
            _binaryActualInsertedPinChrome = CGRectContainsPoint(plateOver, self.center);
            break;
        }
            
        case UIGestureRecognizerStateEnded:
        case UIGestureRecognizerStateCancelled: {
            
            [UIView animateWithDuration:0.3 animations:^{
                self.strokeMixView.alpha = 0.0;
                self.strokeMixView.transform = CGAffineTransformIdentity;
            }];
            
            if (_binaryActualInsertedPinChrome) {
                [IcyAlertView quotationCollectedPubPopSupportsMouse:nil message:DistantEach.earMayTopModel.receiveRotationKitIronAmbiguityPassively polarClosest:@[DistantEach.earMayTopModel.axesGoalYet, DistantEach.earMayTopModel.tension] completion:^(NSInteger artistIndex) {
                    if (artistIndex ==1) {
                        [self switchWalkingAdverbBoyfriendConclude];
                    }else {
                        [self todayGopherThousandsSoundBufferScheduledAnimation:YES];
                        [self zeroCreamyRangingClangGetTimer];
                    }
                }];
            } else {
                [self todayGopherThousandsSoundBufferScheduledAnimation:YES];
                [self zeroCreamyRangingClangGetTimer];
            }
            thousandLocalizedMartialMinimumDustAscended = NO;
            kitHostingAlphaTitleEuler = NO;
            break;
        }

        default: break;
    }
}


- (void)todayGopherThousandsSoundBufferScheduledAnimation:(BOOL)animate {
    if (!_eraDebuggerCursorFourTemplateIndent) return;
    
    
    if (aspectProcessesOccurAmharicConnected && animate) return;
    
    CGRect ironFrame = [self schedulerImpliedMinderWorkoutPlayableFrame];
    CGPoint center = self.center;
    
    CGFloat four = ironFrame.origin.x;
    CGFloat mild = ironFrame.origin.x + ironFrame.size.width;
    CGFloat drum = ironFrame.origin.y;
    CGFloat seek = ironFrame.origin.y + ironFrame.size.height;
    
    
    GaussianPrepEdge useItsEdge = CalendarFiveCounterEitherSlowIntegrate;
    CGFloat ropeSpaLook = CGFLOAT_MAX;
    
    
    CGFloat demand = center.x - four;
    CGFloat kernels = mild - center.x;
    CGFloat never = center.y - drum;
    CGFloat imageTwo = seek - center.y;
    
    NSArray *dayExtras = @[@(demand), @(kernels), @(never), @(imageTwo)];
    NSArray *edges = @[@(StaticSalientQuickSumNecessaryAdd), @(OfficialScalingCoalescedCommittedTranslateKilograms),
                       @(LiftOutHertzVoicePostal), @(BloodExistDiacriticAffinityRecycleSundanese)];
    
    for (NSInteger i = 0; i < dayExtras.count; i++) {
        CGFloat distance = [dayExtras[i] floatValue];
        if (distance < ropeSpaLook) {
            ropeSpaLook = distance;
            useItsEdge = [edges[i] integerValue];
        }
    }
    
    
    if (useItsEdge == self.renamingGramEdge) {
        CGPoint calorieCenter = self.center;
        CGPoint funSheCenter = [self telephoneSendHalfRemotelyAngularProposedEdge:useItsEdge];
        CGFloat distance = hypot(calorieCenter.x - funSheCenter.x, calorieCenter.y - funSheCenter.y);
        if (distance < 5.0) { 
            return;
        }
    }
    
    self.renamingGramEdge = useItsEdge;
    
    
    CGPoint funSheCenter = [self telephoneSendHalfRemotelyAngularProposedEdge:useItsEdge];
    CGPoint shelfCenter = [self calculateTimeTrackKernelsPenScanParsecsEdge:useItsEdge];
    
    
    aspectProcessesOccurAmharicConnected = YES;
    
    
    [CATransaction begin];
    [CATransaction setCompletionBlock:^{
        self->aspectProcessesOccurAmharicConnected = NO;
    }];
    
    [UIView animateWithDuration:animate ? 0.3 : 0
                     animations:^{
        self.center = funSheCenter;
        self.tapsAddListView.center = shelfCenter;
    }];
    
    [CATransaction commit];
}


- (CGPoint)telephoneSendHalfRemotelyAngularProposedEdge:(GaussianPrepEdge)edge {
    CGRect ironFrame = [self schedulerImpliedMinderWorkoutPlayableFrame];
    CGPoint center = self.center;
    
    CGFloat four = ironFrame.origin.x;
    CGFloat mild = ironFrame.origin.x + ironFrame.size.width;
    CGFloat drum = ironFrame.origin.y;
    CGFloat seek = ironFrame.origin.y + ironFrame.size.height;
    
    CGPoint funSheCenter = center;
    
    switch (edge) {
        case StaticSalientQuickSumNecessaryAdd:
            funSheCenter.x = four + self.bounds.size.width/2 + _catPingSoloDay;
            break;
        case OfficialScalingCoalescedCommittedTranslateKilograms:
            funSheCenter.x = mild - self.bounds.size.width/2 - _catPingSoloDay;
            break;
        case LiftOutHertzVoicePostal:
            funSheCenter.y = drum + self.bounds.size.height/2 + _catPingSoloDay;
            break;
        case BloodExistDiacriticAffinityRecycleSundanese:
            funSheCenter.y = seek - self.bounds.size.height/2 - _catPingSoloDay;
            break;
        default:
            break;
    }
    
    
    return [self keyResultPurposeDatumDiagnoseRejectMinorCenter:funSheCenter];
}


- (CGPoint)calculateTimeTrackKernelsPenScanParsecsEdge:(GaussianPrepEdge)edge {
    CGPoint shelfCenter = CGPointMake(0, 0);
    
    switch (edge) {
        case StaticSalientQuickSumNecessaryAdd:
            shelfCenter.x = self.bounds.size.width;
            break;
        case OfficialScalingCoalescedCommittedTranslateKilograms:
            
            break;
        case LiftOutHertzVoicePostal:
            shelfCenter.x = self.bounds.size.width;
            shelfCenter.y = self.bounds.size.height;
            break;
        case BloodExistDiacriticAffinityRecycleSundanese:
            shelfCenter.x = self.bounds.size.width;
            break;
        default:
            break;
    }
    
    return shelfCenter;
}


- (void)zeroCreamyRangingClangGetTimer {
    if (_wakeOptRotateNearTower <= 0) return;
    
    [self eitherPushSliceAlbumExceeded];
    _artsNeverWireTimer = [NSTimer scheduledTimerWithTimeInterval:_wakeOptRotateNearTower
                                                     target:self
                                                   selector:@selector(calciumDingbatsLaterFlightsSetup)
                                                   userInfo:nil
                                                    repeats:NO];
}

- (void)eitherPushSliceAlbumExceeded {
    [_artsNeverWireTimer invalidate];
    _artsNeverWireTimer = nil;
}

- (void)calciumDingbatsLaterFlightsSetup {
    [UIView animateWithDuration:0.3 animations:^{
        self.slashEndsView.alpha = 0.5;
        
        CGRect frame = self.frame;
        switch (self.renamingGramEdge) {
            case StaticSalientQuickSumNecessaryAdd:
                frame.origin.x -= self.catPingSoloDay;
                break;
            case OfficialScalingCoalescedCommittedTranslateKilograms:
                frame.origin.x += self.catPingSoloDay;
                break;
            case LiftOutHertzVoicePostal:
                frame.origin.y -= self.catPingSoloDay;
                break;
            case BloodExistDiacriticAffinityRecycleSundanese:
                frame.origin.y += self.catPingSoloDay;
                break;
            default:
                break;
        }
        self.frame = frame;
    }];
}


- (void)detailApertureVowelAlpineTagsLower {
    [self auxiliaryColleagueRoundEyeOur];
    [self derivedExpectingEffectiveEnhancedArchiveTop]; 
    [self todayGopherThousandsSoundBufferScheduledAnimation:YES];
}


- (void)auxiliaryColleagueRoundEyeOur {
    UIWindow *keyWindow = MatrixFixManager.shared.lawStylisticWindow; //self.endpointsCatWindow;
    UIEdgeInsets safeArea = UIEdgeInsetsZero;
    if (![UIDevice rightSin]) {
        safeArea = UIEdgeInsetsZero;
    }else if([UIDevice hexMay]) {
        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.spanDescribesKannadaEstonianColored = safeArea;
    self.carDrizzleQuitBarrierAnyStarting = keyWindow.bounds;
}

- (CGRect)schedulerImpliedMinderWorkoutPlayableFrame {
    
    return CGRectMake(
        self.carDrizzleQuitBarrierAnyStarting.origin.x + self.spanDescribesKannadaEstonianColored.left,
        self.carDrizzleQuitBarrierAnyStarting.origin.y + self.spanDescribesKannadaEstonianColored.top,
        self.carDrizzleQuitBarrierAnyStarting.size.width - (self.spanDescribesKannadaEstonianColored.left + self.spanDescribesKannadaEstonianColored.right),
        self.carDrizzleQuitBarrierAnyStarting.size.height - (self.spanDescribesKannadaEstonianColored.top + self.spanDescribesKannadaEstonianColored.bottom)
    );
}


- (void)groupPressedReturnsRowPrefersExporter {
    NSString *restWhiteOdd = [[NSUserDefaults standardUserDefaults] valueForKey:DistantEach.whoFrenchMin.clientCanonicalFactoryLowPortUsage];
    if (restWhiteOdd) {
        self.center = CGPointFromString(restWhiteOdd);
    }else {
        
        CGRect ironFrame = [self schedulerImpliedMinderWorkoutPlayableFrame];
        self.center = CGPointMake(ironFrame.origin.x + ironFrame.size.width - self.bounds.size.width/2 - _catPingSoloDay,
                                  ironFrame.origin.y + ironFrame.size.height/2);
    }
}


- (UIWindow *)adobeUnsavedThicknessPolicyRetainWindow {
    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)keyResultPurposeDatumDiagnoseRejectMinorCenter:(CGPoint)proposedCenter {
    CGRect ironFrame = [self schedulerImpliedMinderWorkoutPlayableFrame];
    CGSize buttonSize = self.bounds.size;
    
    CGFloat four = ironFrame.origin.x + buttonSize.width/2;
    CGFloat mild = ironFrame.origin.x + ironFrame.size.width - buttonSize.width/2;
    CGFloat drum = ironFrame.origin.y + buttonSize.height/2;
    CGFloat seek = ironFrame.origin.y + ironFrame.size.height - buttonSize.height/2;
    
    return CGPointMake(
        MAX(four, MIN(proposedCenter.x, mild)),
        MAX(drum, MIN(proposedCenter.y, seek))
    );
}

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

@end
