






#import "WhoEggInfo.h"
#import "SubRingEyeConfig.h"
#import "ProviderPingPrefixedWakeFemale.h"

@import AdSupport;
@import AppTrackingTransparency;
@import UIKit;

#import <CoreTelephony/CTTelephonyNetworkInfo.h>
#import <CoreTelephony/CTCarrier.h>
#import <SystemConfiguration/SystemConfiguration.h>

#import "sys/utsname.h" //utsname


#import <AdServices/AdServices.h>

@implementation WhoEggInfo

+ (UIImage *)handshakeFastestLineLighterFunImage {
    NSDictionary *loveBurst = [[NSBundle mainBundle] infoDictionary];
    NSString *icon = [[loveBurst valueForKeyPath:@"CFBundleIcons.CFBundlePrimaryIcon.CFBundleIconFiles"] lastObject];
    return [UIImage imageNamed:icon];
}

+ (NSString *)loseRetRopeWasIdentifier {
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleIdentifier"];
}

+ (NSString *)discardPetabytesRenderedSurrogateLinger {
    return [[[NSBundle mainBundle] infoDictionary] objectForKey:@"CFBundleShortVersionString"];
}

+ (NSString *)attachedName {
    NSString *displayName = [[NSBundle mainBundle] localizedInfoDictionary][@"CFBundleDisplayName"];

    if (!displayName) {
        displayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleDisplayName"];
    }

    if (!displayName) {
        displayName = [[NSBundle mainBundle] infoDictionary][@"CFBundleName"];
    }

    return displayName;
}

+ (NSString *)stopSecondsName {
    return [UIDevice currentDevice].name;
}

+ (NSString *)raceRelationsOrderingEngineUnbound {
    return [ASIdentifierManager sharedManager].advertisingIdentifier.UUIDString;
}

+ (NSString *)consumerTintSnowOperatorLocking {
    return [UIDevice currentDevice].identifierForVendor.UUIDString;
}

+ (NSString *)partnerLineModel {
    struct utsname systemInfo;
    uname(&systemInfo);
    NSString *deviceModel = [NSString stringWithCString:systemInfo.machine encoding:NSUTF8StringEncoding];
    return deviceModel;
}

+ (NSString *)aliveFullyWasMileOccurred {
    return [UIDevice currentDevice].systemVersion;
}

+ (NSString *)optimizedChooseSlabCommittedSpellPath {
    return NSHomeDirectory().lastPathComponent;
}

+ (BOOL)highestPostModalRectifiedTrainer {
    CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
    NSDictionary<NSString *, CTCarrier *> *rotorSix = info.serviceSubscriberCellularProviders;
    if (rotorSix.count == 0) {
        return NO;
    }
    NSDictionary<NSString *, NSString *> *superiorsCap = info.serviceCurrentRadioAccessTechnology; 
    for (NSString *chunkyNet in rotorSix.allKeys) {
        CTCarrier *carrier = rotorSix[chunkyNet];
        if (!carrier) { continue; }
        NSString *bag = carrier.mobileCountryCode ?: @"";
        NSString *way = carrier.mobileNetworkCode ?: @"";
        NSInteger twoArt = bag.integerValue;
        NSInteger cupNot = way.integerValue;
        BOOL atomSolo = (bag.length > 0) && (twoArt > 0);
        BOOL eastDeny = (way.length > 0) && (cupNot > 0);
        NSString *sub = superiorsCap[chunkyNet];
        BOOL putFit = (sub.length > 0);
        if (atomSolo && eastDeny && putFit) {
            return YES;
        }
    }
    return NO;
}

+ (NSString *)cardFileBadToken {
    
    if (@available(iOS 14.3, *)) {
        NSError *error = nil;
        NSString *token = [AAAttribution attributionTokenWithError:&error];
        
        if (token) {
            
            
            return token;
        } else {
            
            return @"";
        }
    } else {
        
        return @"";
    }
}


+ (void)penFormatsTransportBuilderSamplerResponses:(void (^)(void))runWhite {
    static dispatch_once_t millToken;
    static BOOL smileGeneric = NO;

    
    if (smileGeneric) {
        PhotoInfo(youPenPower.cubeDiscountMuteCelticCourseCharacterMusical);
        return;
    }	

    dispatch_once(&millToken, ^{
        smileGeneric = YES;
        PhotoInfo(youPenPower.cookieWorkMutationsWonMiterBuffered);

        if (@available(iOS 14, *)) {
            ATTrackingManagerAuthorizationStatus status = [ATTrackingManager trackingAuthorizationStatus];

            NSString *circleItem = [self busyChunkyMuteStatus:status];

            PhotoInfo(youPenPower.rotatingNoteDismissTailInsertingMargins, circleItem, (long)status);

            switch (status) {
                case ATTrackingManagerAuthorizationStatusAuthorized:
                    PhotoInfo(youPenPower.mathDiscardTrustedWaxThroughWrongLove);
                    smileGeneric = NO;
                    if (runWhite) {
                        runWhite();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusDenied:
                    PhotoInfo(youPenPower.centeredNotifyingLanguagesProducingPiece);
                    smileGeneric = NO;
                    if (runWhite) {
                        runWhite();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusRestricted:
                    PhotoInfo(youPenPower.focusesQueryGroupedRadixConductorDisk);
                    smileGeneric = NO;
                    if (runWhite) {
                        runWhite();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusNotDetermined:
                    PhotoInfo(youPenPower.soloCollisionOccurCyclingSubfamilyMultiply);
                    [self sizeAlbumExhaustedInvisibleFoodEntitledIndicated:^{
                        smileGeneric = NO;
                        if (runWhite) {
                            runWhite();
                        }
                    }];
                    break;
            }
        } else {
            PhotoInfo(youPenPower.declineTruncatedCapWayExpansionBox);
            smileGeneric = NO;
            if (runWhite) {
                runWhite();
            }
        }
    });
}

+ (void)sizeAlbumExhaustedInvisibleFoodEntitledIndicated:(void (^)(void))completion {
    PhotoInfo(youPenPower.instancesCalendarNowExceededEmptyResize);

    
    static int keyDirection = 6;

    __block id fatDutch = [[NSNotificationCenter defaultCenter]
        addObserverForName:UIApplicationDidBecomeActiveNotification
                    object:nil
                     queue:[NSOperationQueue mainQueue]
                usingBlock:^(NSNotification *notification) {

        PhotoInfo(youPenPower.declinedForbidMindReclaimMessageLookup, keyDirection);

        
        dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(keyDirection * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{


            UIApplicationState currentState = [UIApplication sharedApplication].applicationState;

            NSString *resetMail = [self birthLossClickState:currentState];

            PhotoInfo(youPenPower.inferEachSubCoastLegalAmbiguity, resetMail);

            if (currentState == UIApplicationStateActive) {
                PhotoInfo(youPenPower.observeVersionDingbatsProfilesLiterCropSections);
                [self quitFirstArtRequest:completion];
            } else {

                PhotoInfo(youPenPower.visitDigitalTrackingIntegrateFootDismissed, resetMail);
                PhotoInfo(youPenPower.cutChapterNothingSinhaleseSolveBatch);
                fatDutch = [[NSNotificationCenter defaultCenter]
                    addObserverForName:UIApplicationDidBecomeActiveNotification
                                object:nil
                                 queue:[NSOperationQueue mainQueue]
                            usingBlock:^(NSNotification *notification) {
                    
                    PhotoInfo(youPenPower.strategyReversingItemInspiredTruncatedLaw);
                    [[NSNotificationCenter defaultCenter] removeObserver:fatDutch];
                    PhotoInfo(youPenPower.teluguAssamesePassConvertedSecondaryIntervalsShape);
                    [self quitFirstArtRequest:completion];
                }];
            }

        });

        PhotoInfo(youPenPower.quantizeValueInterActivateSnapFire);
        
        [[NSNotificationCenter defaultCenter] removeObserver:fatDutch];
    }];
}

+ (void)quitFirstArtRequest:(void (^)(void))completion {
    if (@available(iOS 14, *)) {
        PhotoInfo(youPenPower.limitedRelayExternUpdatingStairAwake);

        [ATTrackingManager requestTrackingAuthorizationWithCompletionHandler:^(ATTrackingManagerAuthorizationStatus status) {
            ATTrackingManagerAuthorizationStatus zoomSheStatus = [ATTrackingManager trackingAuthorizationStatus];

            NSString *driveSampleWetEachSmile = [self busyChunkyMuteStatus:status];
            NSString *kurdishTemporaryPartiallyAmbiguousPolar = [self busyChunkyMuteStatus:zoomSheStatus];

            PhotoInfo(youPenPower.boundItsRematchPerfusionBarrierTab);
            PhotoInfo(youPenPower.nextChargingCancelsStableChromaticKernel, driveSampleWetEachSmile, (long)status);
            PhotoInfo(youPenPower.previewCourseYoungerVerboseForCategoryYounger, kurdishTemporaryPartiallyAmbiguousPolar, (long)zoomSheStatus);

            
            
            
            
            BOOL twoArmCursor = (zoomSheStatus == ATTrackingManagerAuthorizationStatusAuthorized) ||
                               (status == ATTrackingManagerAuthorizationStatusAuthorized);

            if (twoArmCursor) {
                PhotoInfo(youPenPower.makerDismissedExcludedPressedSilenceSomaliTolerance);
                if (completion) {
                    completion();
                }
            } else if (zoomSheStatus == ATTrackingManagerAuthorizationStatusNotDetermined) {
                PhotoInfo(youPenPower.mirroredDogArcadeChatIntervalNormalRhythm);
                [self reservedLicenseRelayNegativeEuropeanLexicalWire:completion sheTagAnyMicro:0];
            } else {
                PhotoInfo(youPenPower.generatorOuterStrongExpiresTrackingMajorDelivered);
                if (completion) {
                    completion();
                }
            }
        }];
    }
}


+ (NSString *)busyChunkyMuteStatus:(ATTrackingManagerAuthorizationStatus)status  API_AVAILABLE(ios(14)){
    if (@available(iOS 14, *)) {
        switch (status) {
            case ATTrackingManagerAuthorizationStatusNotDetermined:
                return youPenPower.implicitHueCatEntropyListenersInsertionCombine;
            case ATTrackingManagerAuthorizationStatusRestricted:
                return youPenPower.beaconsSeventeenReportsElevatedPatternSaturate;
            case ATTrackingManagerAuthorizationStatusDenied:
                return youPenPower.boldPetiteForbidBiometryBrokenAnimating;
            case ATTrackingManagerAuthorizationStatusAuthorized:
                return youPenPower.sphereChangedUnifiedLateAnyReady;
            default:
                return [NSString stringWithFormat:youPenPower.dropAdvisedSayPatientPressElements, (long)status];
        }
    }
    return youPenPower.cutoffEstimatePrologBoldPendingBikeNiacin;
}

+ (NSString *)birthLossClickState:(UIApplicationState)state {
    switch (state) {
        case UIApplicationStateActive:
            return youPenPower.failHandCutterPresetCascadeStylize;
        case UIApplicationStateInactive:
            return youPenPower.elasticArabicPartlyContainsBirthTaps;
        case UIApplicationStateBackground:
            return youPenPower.agentBoundPresentedShearPlayableIndent;
        default:
            return [NSString stringWithFormat:youPenPower.downChangeAttempterFarEvaluateBrown, (long)state];
    }
}


+ (void)reservedLicenseRelayNegativeEuropeanLexicalWire:(void (^)(void))runWhite sheTagAnyMicro:(NSInteger)sheTagAnyMicro {
    NSInteger scaleCount = 10;

    if (@available(iOS 14, *)) {
        ATTrackingManagerAuthorizationStatus zoomSheStatus = [ATTrackingManager trackingAuthorizationStatus];

        NSString *circleItem = [self busyChunkyMuteStatus:zoomSheStatus];

        PhotoInfo(youPenPower.kilohertzGatewaysAnimationAffinePlugAdvisory,
              (long)(sheTagAnyMicro + 1), (long)scaleCount, circleItem);

        
        if (zoomSheStatus == ATTrackingManagerAuthorizationStatusNotDetermined && sheTagAnyMicro < scaleCount) {
            PhotoInfo(youPenPower.existingFitUniformCivilAboutEscape, (long)(sheTagAnyMicro + 2));

            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)),
                          dispatch_get_main_queue(), ^{
                [self reservedLicenseRelayNegativeEuropeanLexicalWire:runWhite sheTagAnyMicro:sheTagAnyMicro + 1];
            });
            return;
        } else {
            
            
            if (sheTagAnyMicro >= scaleCount) {
                PhotoInfo(youPenPower.endpointsLoadingInnerWhoShowTurn, (long)scaleCount);
                PhotoInfo(youPenPower.annotatedRemoteExceptionAfterInsertSafety, circleItem);
            } else {
                PhotoInfo(youPenPower.sinhaleseConjugateBinSelectBusDance, circleItem);

                if (zoomSheStatus == ATTrackingManagerAuthorizationStatusAuthorized) {
                    PhotoInfo(youPenPower.hueLargeAcceptSupportTitleArmour);
                } else if (zoomSheStatus == ATTrackingManagerAuthorizationStatusDenied) {
                    PhotoInfo(youPenPower.pinkCopticAnchoringTomorrowZeroLocalizes);
                } else if (zoomSheStatus == ATTrackingManagerAuthorizationStatusRestricted) {
                    PhotoInfo(youPenPower.failureJoinBoundSerbianGlucosePlain);
                }
            }

            PhotoInfo(youPenPower.marqueeLiveEyeTransformGatheringCurrency);
            if (runWhite) {
                runWhite();
            }
        }
    } else {
        PhotoInfo(youPenPower.cardIllLongBitDescendChunkyPlane);
        if (runWhite) {
            runWhite();
        }
    }
}
@end
