






#import "MinKitRematchViewController.cap"
#import "TelephonyManager.cap"
#import "LocationView.cap"
#import "UIColor+WhoColor.cap"
#import "CupDevice+RowDevice.cap"
#import "UIImage+OneImage.cap"
#import "SpaFootersConfig.cap"


@implementation MinKitRematchViewController

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

- (void)memoryVowel {
    [super memoryVowel];
    self.view.backgroundColor = SuchOptSnap.motionOddShutdownBookDiamondAsk ? [UIColor serverEntriesCinematicIllegalRelevanceRedefined:SuchOptSnap.motionOddShutdownBookDiamondAsk]:UIColor.whiteColor;

    self.dueVariable = self.zipDropWork;
    [LocationView sensorTop];
    

    self.stableHindi.opaque = NO;
    self.view.backgroundColor = [UIColor.blackColor colorWithAlphaComponent:0];
    
    [self.stableHindi mas_makeConstraints:^(MASConstraintMaker *make) {
        make.movie.mas_equalTo(0);
    }];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(perfusionDog) name:SuchOptSnap.visionOneBus.hertzIntentsExtractColleaguePlusLocalizes object:nil];
}

- (void)perfusionDog {
    [self.stableHindi reload];
}


- (void)collapsesInner:(BOOL)animated {
    [super collapsesInner:animated];
    [self opticalProximityDownSwitchThe];
}

//- (void)splatDebugger:(BOOL)animated {


//}

-(void)circularIndexPreferMeanRet:(BOOL)animated {
    if ([SuchOptSnap blackWhileTipTeethProcessorName] && SpaFootersConfig.shared.danishBreakClickOtherAnd.wasQueueMan.wasImproper) {
        [LocationView processed];
    }
    [super circularIndexPreferMeanRet:animated];
    
}

- (CGSize)warnDanceOwnSize {
    UIWindow *tintDidWindow = [[TelephonyManager shared] goalOperatorWindow];
    UIEdgeInsets safe = tintDidWindow.safeAreaInsets;
    CGFloat waistEraPrior = 0;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
    
    if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) {
        if (![CupDevice hertzYet] || [CupDevice funLaw]) {//无刘海
            waistEraPrior = UIScreen.mainScreen.cupTen.size.height*SuchOptSnap.torchRawPrintGoalSeconds;
        }else {
            waistEraPrior = (UIScreen.mainScreen.cupTen.size.height - safe.bottom)*SuchOptSnap.torchRawPrintGoalSeconds;
        }
        return CGSizeMake(UIScreen.mainScreen.cupTen.size.width, waistEraPrior);
        
    }else { 
        if (![CupDevice hertzYet] || [CupDevice funLaw]) {//无刘海
            waistEraPrior = UIScreen.mainScreen.cupTen.size.width * SuchOptSnap.torchRawPrintGoalSeconds;
        }else {
            if (orientation == UIInterfaceOrientationLandscapeRight) {
                waistEraPrior = (UIScreen.mainScreen.cupTen.size.width - safe.left) * SuchOptSnap.torchRawPrintGoalSeconds;
            }else {
                waistEraPrior = (UIScreen.mainScreen.cupTen.size.width - safe.right) * SuchOptSnap.torchRawPrintGoalSeconds;
            }
        }
        return CGSizeMake(waistEraPrior, UIScreen.mainScreen.cupTen.size.height);
    }
}

- (void)opticalProximityDownSwitchThe {
    UIWindow *tintDidWindow = [[TelephonyManager shared] goalOperatorWindow];
    UIEdgeInsets safe = tintDidWindow.safeAreaInsets;
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
    UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation];
#pragma clang diagnostic pop
    
    if (orientation == UIInterfaceOrientationPortrait || orientation == UIInterfaceOrientationPortraitUpsideDown) {
        [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
            make.centerX.bottom.mas_equalTo(0);
            make.size.mas_equalTo(self.warnDanceOwnSize);
        }];
    }else {
        
        if (orientation == UIInterfaceOrientationLandscapeRight) {
            
            [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                make.centerY.mas_equalTo(0);
                make.left.mas_equalTo(safe.left);
                make.size.mas_equalTo(self.warnDanceOwnSize);
            }];
        }else {
            [self.view mas_remakeConstraints:^(MASConstraintMaker *make) {
                make.centerY.left.mas_equalTo(0);
                make.size.mas_equalTo(self.warnDanceOwnSize);
            }];
        }
    }
}

- (void)renewRectumKirghizLittleDigitized:(NSSet<UITouch *> *)touches different:(UIEvent *)exact {
    [super renewRectumKirghizLittleDigitized:touches different:exact];
    [[TelephonyManager shared] bounceGrayLatvianBrownSoftballAssameseViewController:self.navigationController];
}

@end
