






#import "PersonInfo.h"
#import "PopPoloAddConfig.h"
#import "CapturesCoalescedTapTrapFocuses.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 PersonInfo

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

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

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

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

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

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

    return displayName;
}

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

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

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

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

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

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

+ (BOOL)holdHitTooCenteredHighlight {
    CTTelephonyNetworkInfo *info = [[CTTelephonyNetworkInfo alloc] init];
    NSDictionary<NSString *, CTCarrier *> *sinMaker = info.serviceSubscriberCellularProviders;
    if (sinMaker.count == 0) {
        return NO;
    }
    NSDictionary<NSString *, NSString *> *stickyScript = info.serviceCurrentRadioAccessTechnology; 
    for (NSString *eventGray in sinMaker.allKeys) {
        CTCarrier *carrier = sinMaker[eventGray];
        if (!carrier) { continue; }
        NSString *bit = carrier.mobileCountryCode ?: @"";
        NSString *its = carrier.mobileNetworkCode ?: @"";
        NSInteger oneIll = bit.integerValue;
        NSInteger copper = its.integerValue;
        BOOL flipNine = (bit.length > 0) && (oneIll > 0);
        BOOL funkRate = (its.length > 0) && (copper > 0);
        NSString *fax = stickyScript[eventGray];
        BOOL youOdd = (fax.length > 0);
        if (flipNine && funkRate && youOdd) {
            return YES;
        }
    }
    return NO;
}

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


+ (void)putRelationSliceEveryPossiblePartially:(void (^)(void))lowLocal {
    static dispatch_once_t restToken;
    static BOOL anchorFatAll = NO;

    
    if (anchorFatAll) {
        HertzInfo(nonceTwoEar.functionsRetriedEnableAcceptMenuTrySob);
        return;
    }	

    dispatch_once(&restToken, ^{
        anchorFatAll = YES;
        HertzInfo(nonceTwoEar.higherRecordingAmountQualifierCapPlane);

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

            NSString *plugLogRed = [self hitSinPanelSonStatus:status];

            HertzInfo(nonceTwoEar.greatHitMetadataAcceptingSquaredStroke, plugLogRed, (long)status);

            switch (status) {
                case ATTrackingManagerAuthorizationStatusAuthorized:
                    HertzInfo(nonceTwoEar.leaveWelshMartialResumedBusScrollingConsole);
                    anchorFatAll = NO;
                    if (lowLocal) {
                        lowLocal();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusDenied:
                    HertzInfo(nonceTwoEar.phoneBinCondensedYoungestInhaler);
                    anchorFatAll = NO;
                    if (lowLocal) {
                        lowLocal();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusRestricted:
                    HertzInfo(nonceTwoEar.existingBengaliEnhanceDeliverZeroSorting);
                    anchorFatAll = NO;
                    if (lowLocal) {
                        lowLocal();
                    }
                    break;

                case ATTrackingManagerAuthorizationStatusNotDetermined:
                    HertzInfo(nonceTwoEar.minimizeGreekMusicOriginTheEstimated);
                    [self roomNicknameLanguageTwelveOutputTopPlaying:^{
                        anchorFatAll = NO;
                        if (lowLocal) {
                            lowLocal();
                        }
                    }];
                    break;
            }
        } else {
            HertzInfo(nonceTwoEar.sameAskAssumeCompressDeviceFar);
            anchorFatAll = NO;
            if (lowLocal) {
                lowLocal();
            }
        }
    });
}

+ (void)roomNicknameLanguageTwelveOutputTopPlaying:(void (^)(void))completion {
    HertzInfo(nonceTwoEar.descentPlanarInspiredAlphabetHaveEnglish);

    
    static int bridgeDarker = 6;

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

        HertzInfo(nonceTwoEar.tapDependingEdgaDisabledSlavicAssamese, bridgeDarker);

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


            UIApplicationState currentState = [UIApplication sharedApplication].applicationState;

            NSString *artCursor = [self pivotWorkClearState:currentState];

            HertzInfo(nonceTwoEar.automaticGloballyArmShowIndicatedDays, artCursor);

            if (currentState == UIApplicationStateActive) {
                HertzInfo(nonceTwoEar.shoulderFontExtentFitSelectionSideProtected);
                [self tooRecipientRequest:completion];
            } else {

                HertzInfo(nonceTwoEar.indexGrowCombiningEyeEldestDetail, artCursor);
                HertzInfo(nonceTwoEar.hierarchyTintBoundButtonsQuickEnergy);
                commands = [[NSNotificationCenter defaultCenter]
                    addObserverForName:UIApplicationDidBecomeActiveNotification
                                object:nil
                                 queue:[NSOperationQueue mainQueue]
                            usingBlock:^(NSNotification *notification) {
                    
                    HertzInfo(nonceTwoEar.flashFactCloudyOneIntentCup);
                    [[NSNotificationCenter defaultCenter] removeObserver:commands];
                    HertzInfo(nonceTwoEar.attachedIdenticalTruncatesPongDirtyHitProvince);
                    [self tooRecipientRequest:completion];
                }];
            }

        });

        HertzInfo(nonceTwoEar.stylusMalteseIntegrityOpticalDrainSilent);
        
        [[NSNotificationCenter defaultCenter] removeObserver:commands];
    }];
}

+ (void)tooRecipientRequest:(void (^)(void))completion {
    if (@available(iOS 14, *)) {
        HertzInfo(nonceTwoEar.doneBasqueFairSubtitlesCascadeAccept);

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

            NSString *cellularActivateBleedServicesFound = [self hitSinPanelSonStatus:status];
            NSString *generatorMoleTrackingSequencesDeep = [self hitSinPanelSonStatus:wasHairStatus];

            HertzInfo(nonceTwoEar.mastersFullCentersConstantCreditMay);
            HertzInfo(nonceTwoEar.conductorFoldAirHighlightExposureMonth, cellularActivateBleedServicesFound, (long)status);
            HertzInfo(nonceTwoEar.fusionPreciseReflectRouterLoopsReservedSchool, generatorMoleTrackingSequencesDeep, (long)wasHairStatus);

            
            
            
            
            BOOL optCameraFun = (wasHairStatus == ATTrackingManagerAuthorizationStatusAuthorized) ||
                               (status == ATTrackingManagerAuthorizationStatusAuthorized);

            if (optCameraFun) {
                HertzInfo(nonceTwoEar.yearHoursFullyPredicateAwakeFiltersFlash);
                if (completion) {
                    completion();
                }
            } else if (wasHairStatus == ATTrackingManagerAuthorizationStatusNotDetermined) {
                HertzInfo(nonceTwoEar.didOutletSnapshotCostCatToolMinimum);
                [self butOwnerMutePhotosPriceJumpFun:completion kurdishChanged:0];
            } else {
                HertzInfo(nonceTwoEar.mandatoryDistinctTooBeginningRecordHailPosition);
                if (completion) {
                    completion();
                }
            }
        }];
    }
}


+ (NSString *)hitSinPanelSonStatus:(ATTrackingManagerAuthorizationStatus)status  API_AVAILABLE(ios(14)){
    if (@available(iOS 14, *)) {
        switch (status) {
            case ATTrackingManagerAuthorizationStatusNotDetermined:
                return nonceTwoEar.welshUndoneDustYardButtonWrappedRename;
            case ATTrackingManagerAuthorizationStatusRestricted:
                return nonceTwoEar.cellAlcoholMinCubeLexicalInhaler;
            case ATTrackingManagerAuthorizationStatusDenied:
                return nonceTwoEar.periodSquashImportantProposalTabTwo;
            case ATTrackingManagerAuthorizationStatusAuthorized:
                return nonceTwoEar.dayBigElevenTipGuideNegative;
            default:
                return [NSString stringWithFormat:nonceTwoEar.hisMemberReportsRunFilteringFixing, (long)status];
        }
    }
    return nonceTwoEar.hormonePassiveHybridFunPutRoomProviding;
}

+ (NSString *)pivotWorkClearState:(UIApplicationState)state {
    switch (state) {
        case UIApplicationStateActive:
            return nonceTwoEar.soundRepairZoomingDeclineManualAny;
        case UIApplicationStateInactive:
            return nonceTwoEar.feedConstantsStreamMountedElevenConstants;
        case UIApplicationStateBackground:
            return nonceTwoEar.browsingChromaActivityMusicianFadeMaterial;
        default:
            return [NSString stringWithFormat:nonceTwoEar.songTelephotoBarRetainGuestWindows, (long)state];
    }
}


+ (void)butOwnerMutePhotosPriceJumpFun:(void (^)(void))lowLocal kurdishChanged:(NSInteger)kurdishChanged {
    NSInteger focusCount = 10;

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

        NSString *plugLogRed = [self hitSinPanelSonStatus:wasHairStatus];

        HertzInfo(nonceTwoEar.searchAnswerShrinkHandballExpandedIgnored,
              (long)(kurdishChanged + 1), (long)focusCount, plugLogRed);

        
        if (wasHairStatus == ATTrackingManagerAuthorizationStatusNotDetermined && kurdishChanged < focusCount) {
            HertzInfo(nonceTwoEar.yetHandleFaeroeseDeltaArrowApplier, (long)(kurdishChanged + 2));

            dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(1.0f * NSEC_PER_SEC)),
                          dispatch_get_main_queue(), ^{
                [self butOwnerMutePhotosPriceJumpFun:lowLocal kurdishChanged:kurdishChanged + 1];
            });
            return;
        } else {
            
            
            if (kurdishChanged >= focusCount) {
                HertzInfo(nonceTwoEar.keepYouPersianIntegrityBringSwashes, (long)focusCount);
                HertzInfo(nonceTwoEar.retPatientIssuerAdditiveOppositeGiven, plugLogRed);
            } else {
                HertzInfo(nonceTwoEar.causePutLeadRhythmPositiveFastest, plugLogRed);

                if (wasHairStatus == ATTrackingManagerAuthorizationStatusAuthorized) {
                    HertzInfo(nonceTwoEar.dropPartialPauseStickySeekingDublin);
                } else if (wasHairStatus == ATTrackingManagerAuthorizationStatusDenied) {
                    HertzInfo(nonceTwoEar.eraserPenCropWaxStreamedDecipher);
                } else if (wasHairStatus == ATTrackingManagerAuthorizationStatusRestricted) {
                    HertzInfo(nonceTwoEar.sixLappishScaleSubTightAnswer);
                }
            }

            HertzInfo(nonceTwoEar.customListenerAddAndDetectedResize);
            if (lowLocal) {
                lowLocal();
            }
        }
    } else {
        HertzInfo(nonceTwoEar.thinButterflyReuseChangeDrumAcceptBridging);
        if (lowLocal) {
            lowLocal();
        }
    }
}
@end
