








#import <AppLovinSDK/AppLovinSDK.h>
#import <AppTrackingTransparency/AppTrackingTransparency.h>

@interface SoccerNotBookmarkLogReceivedLong : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate,MAAdDelegate,MAAdRevenueDelegate>

@property (nonatomic, strong) MARewardedAd *esperantoErrorSyntheticEnumerateStrategy;
@property (nonatomic, strong) MAInterstitialAd *dependingIdentifyPaceCapturingSpa;
@property (nonatomic, assign) NSInteger transferUpscaleAppearsCreamyTwo;

@property (nonatomic, copy) NSString *justAddressData;

@property (nonatomic, copy) void (^drumIndicator)(BOOL result);

@property (nonatomic, copy) void (^tabSinUniversalAirborneCalciumJson)(BOOL result, NSDictionary *sixJson);

@property (nonatomic, copy) void (^didPlanarChunkGenreImportantAscender)(BOOL result);

@property (nonatomic, copy) void (^musicianClimbingTheContainerFarsiCrossJson)(BOOL result, NSDictionary *sixJson);

@property (nonatomic, copy) void (^zeroInverseSensorChromeSwitchOrdering)(NSDictionary *hueInfo);

@end

@implementation SoccerNotBookmarkLogReceivedLong

+ (instancetype)shared {
    static id shared = nil;
    static dispatch_once_t nodeToken;
    dispatch_once(&nodeToken, ^{
        shared = [[super allocWithZone:NULL] init];
    });
    return shared;
}

+ (NSString *)playInactive {
    return ALSdk.version;
}

- (void)showMediationDebugger {
    [[ALSdk shared] showMediationDebugger];
}

- (void)pressureBankElevenSomaliReportingAffected:(void(^)(NSDictionary *hueInfo))callback {
    self.zeroInverseSensorChromeSwitchOrdering = callback;
}


- (void)visitedFooterWirelessUserBridgedWarnKey:(NSString *)xxpk_maxkey achievedMouseCrossSaveCoverage:(NSString *)achievedMouseCrossSaveCoverage pluralRecursiveFadeArgumentsMouseGesture:(NSString *)pluralRecursiveFadeArgumentsMouseGesture centersMenstrualLittleReportAvail:(NSArray *)centersMenstrualLittleReportAvail {
    
    
    
    Class pub = NSClassFromString(@"FBAdSettings");
    if (pub) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        [pub performSelector:@selector(setDataProcessingOptions:) withObject:@[]];
        [pub performSelector:@selector(setAdvertiserTrackingEnabled:) withObject:@(YES)];
#pragma clang diagnostic pop
    }
    
    

    
    ALSdkInitializationConfiguration *chainBigQueryingRedoUniform = [ALSdkInitializationConfiguration configurationWithSdkKey:xxpk_maxkey builderBlock:^(ALSdkInitializationConfigurationBuilder * _Nonnull builder) {
        builder.mediationProvider = ALMediationProviderMAX;
        if (centersMenstrualLittleReportAvail) {
            builder.testDeviceAdvertisingIdentifiers = centersMenstrualLittleReportAvail;
        }
        if (@available(iOS 14, *)) {
            if ([ATTrackingManager trackingAuthorizationStatus] == ATTrackingManagerAuthorizationStatusAuthorized ) {
                [ALPrivacySettings setHasUserConsent: YES];
            }
        } else {
            [ALPrivacySettings setHasUserConsent: YES];
        }
    }];
    
    [[ALSdk shared] initializeWithConfiguration:chainBigQueryingRedoUniform completionHandler:^(ALSdkConfiguration * _Nonnull configuration) {
        [self plateCookiesCollectorTenScrollFixBig:achievedMouseCrossSaveCoverage];
        if (pluralRecursiveFadeArgumentsMouseGesture.length > 0) {
            [self clientEarlierNanogramsFollowGuestBinBodyLoops:pluralRecursiveFadeArgumentsMouseGesture];
        }
    }];
}

- (void)plateCookiesCollectorTenScrollFixBig:(NSString *)achievedMouseCrossSaveCoverage
{
    self.esperantoErrorSyntheticEnumerateStrategy = [MARewardedAd sharedWithAdUnitIdentifier:achievedMouseCrossSaveCoverage];
    self.esperantoErrorSyntheticEnumerateStrategy.delegate = self;
    self.esperantoErrorSyntheticEnumerateStrategy.revenueDelegate = self;

    
    [self.esperantoErrorSyntheticEnumerateStrategy loadAd];
}

- (void)clientEarlierNanogramsFollowGuestBinBodyLoops:(NSString *)pluralRecursiveFadeArgumentsMouseGesture
{
    self.dependingIdentifyPaceCapturingSpa = [[MAInterstitialAd alloc] initWithAdUnitIdentifier:pluralRecursiveFadeArgumentsMouseGesture];
    self.dependingIdentifyPaceCapturingSpa.delegate = self;
    self.dependingIdentifyPaceCapturingSpa.revenueDelegate = self;

    
    [self.dependingIdentifyPaceCapturingSpa loadAd];
}


- (void)signerPreviewWeightRelatedDeleteModifyData:(nullable NSString *)justAddressData dryManRealJson:(void(^)(BOOL result, NSDictionary *sixJson))dryManRealJson {
    self.tabSinUniversalAirborneCalciumJson = dryManRealJson;
    self.justAddressData = justAddressData;
    if ( [self.esperantoErrorSyntheticEnumerateStrategy isReady]) {
        [self.esperantoErrorSyntheticEnumerateStrategy showAdForPlacement:nil customData:justAddressData];
    }else {
        dryManRealJson(NO,nil);
    }
}

- (void)signerPreviewWeightRelatedDeleteModifyData:(nullable NSString *)justAddressData binStrip:(void(^)(BOOL result))binStrip {
    self.drumIndicator = binStrip;
    self.justAddressData = justAddressData;
    if ( [self.esperantoErrorSyntheticEnumerateStrategy isReady]) {
        [self.esperantoErrorSyntheticEnumerateStrategy showAdForPlacement:nil customData:justAddressData];
    }else {
        binStrip(NO);
    }
}

- (void)redoCompactPrimeSymmetricTradAssertParseData:(nullable NSString *)justAddressData binStrip:(void(^)(BOOL result))binStrip {
    self.didPlanarChunkGenreImportantAscender = binStrip;
    self.justAddressData = justAddressData;
    if ([self.dependingIdentifyPaceCapturingSpa isReady]) {
        [self.dependingIdentifyPaceCapturingSpa showAd];
    } else {
        [self.dependingIdentifyPaceCapturingSpa loadAd];
        if (binStrip) {
            binStrip(NO);
        }
    }
}

- (void)redoCompactPrimeSymmetricTradAssertParseData:(nullable NSString *)justAddressData dryManRealJson:(void(^)(BOOL result, NSDictionary *sixJson))dryManRealJson {
    self.musicianClimbingTheContainerFarsiCrossJson = dryManRealJson;
    self.justAddressData = justAddressData;
    if ([self.dependingIdentifyPaceCapturingSpa isReady]) {
        [self.dependingIdentifyPaceCapturingSpa showAd];
    } else {
        [self.dependingIdentifyPaceCapturingSpa loadAd];
        if (dryManRealJson) {
            dryManRealJson(NO, nil);
        }
    }
}

- (void)whilePrematureTowerCelsiusKilograms:(const char *)name error:(NSString *)error {
    
}

- (NSDictionary *)intensityShipmentInsertionScrollStay:(MAAd *)ad {
    NSMutableDictionary *sixJson = [NSMutableDictionary dictionary];
    
    sixJson[@"currency"] = @"USD";
    sixJson[@"revenue"] = @(ad.revenue);
    
    if (ad.format.label.length > 0) {
        sixJson[@"format"] = ad.format.label;
    }
    
    return [sixJson copy];
}

- (void)trainingLiterContinuedMarkPackAssert:(MAAd *)ad eventType:(NSString *)eventType {
    if (!self.zeroInverseSensorChromeSwitchOrdering) {
        return;
    }

    NSString *adType = @"UNKNOWN";
    if ([ad.format isEqual:MAAdFormat.rewarded]) {
        adType = @"REWARD";
    } else if ([ad.format isEqual:MAAdFormat.interstitial]) {
        adType = @"INTERSTITIAL";
    }

    NSDictionary *hueInfo = @{
        @"ads_platform": @"APPLOVIN",
        @"ad_unit_id": ad.adUnitIdentifier ?: @"",
        @"event_type": eventType,  
        @"ad_type": adType,
        @"revenue": @(ad.revenue).stringValue ?: @"0"
    };

    self.zeroInverseSensorChromeSwitchOrdering(hueInfo);
}


- (void)didLoadAd:(nonnull MAAd *)ad {
    
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
    
    
    self.transferUpscaleAppearsCreamyTwo = 0;
}

- (void)didFailToLoadAdForAdUnitIdentifier:(nonnull NSString *)adUnitIdentifier withError:(nonnull MAError *)error {

    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:error.message];

    

    self.transferUpscaleAppearsCreamyTwo++;
    NSInteger highTint = pow(2, MIN(6, self.transferUpscaleAppearsCreamyTwo));

    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, highTint * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
        
        if ([adUnitIdentifier isEqualToString:self.esperantoErrorSyntheticEnumerateStrategy.adUnitIdentifier]) {
            [self.esperantoErrorSyntheticEnumerateStrategy loadAd];
        } else if ([adUnitIdentifier isEqualToString:self.dependingIdentifyPaceCapturingSpa.adUnitIdentifier]) {
            [self.dependingIdentifyPaceCapturingSpa loadAd];
        }
    });
}

- (void)didHideAd:(MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];

    
    if ([ad.format isEqual:MAAdFormat.rewarded]) {
        [self.esperantoErrorSyntheticEnumerateStrategy loadAd];
    } else if ([ad.format isEqual:MAAdFormat.interstitial]) {
        [self.dependingIdentifyPaceCapturingSpa loadAd];

        
        if (self.didPlanarChunkGenreImportantAscender) {
            self.didPlanarChunkGenreImportantAscender(YES);
        }

        if (self.musicianClimbingTheContainerFarsiCrossJson) {
            NSDictionary *sixJson = [self intensityShipmentInsertionScrollStay:ad];
            self.musicianClimbingTheContainerFarsiCrossJson(YES, sixJson);
        }
    }
}

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:error.message];

    
    if ([ad.format isEqual:MAAdFormat.rewarded]) {
        [self.esperantoErrorSyntheticEnumerateStrategy loadAd];

        if (self.drumIndicator) {
            self.drumIndicator(NO);
        }

        if (self.tabSinUniversalAirborneCalciumJson) {
            self.tabSinUniversalAirborneCalciumJson(NO, nil);
        }
    } else if ([ad.format isEqual:MAAdFormat.interstitial]) {
        [self.dependingIdentifyPaceCapturingSpa loadAd];

        if (self.didPlanarChunkGenreImportantAscender) {
            self.didPlanarChunkGenreImportantAscender(NO);
        }

        if (self.musicianClimbingTheContainerFarsiCrossJson) {
            self.musicianClimbingTheContainerFarsiCrossJson(NO, nil);
        }
    }
}

- (void)didClickAd:(nonnull MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
    [self trainingLiterContinuedMarkPackAssert:ad eventType:@"1"];
}

- (void)didDisplayAd:(nonnull MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
    [self trainingLiterContinuedMarkPackAssert:ad eventType:@"2"];
}

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];

    if (self.drumIndicator) {
        self.drumIndicator(YES);
    }

    if (self.tabSinUniversalAirborneCalciumJson) {
        NSDictionary *sixJson = [self intensityShipmentInsertionScrollStay:ad];
        self.tabSinUniversalAirborneCalciumJson(YES, sixJson);
    }
}


- (void)didCollapseAd:(nonnull MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
}

- (void)didExpandAd:(nonnull MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
}


- (void)didPayRevenueForAd:(MAAd *)ad {
    [self whilePrematureTowerCelsiusKilograms: __PRETTY_FUNCTION__ error:nil];
    [self trainingLiterContinuedMarkPackAssert:ad eventType:@"3"];
}

@end
