








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

@interface OvulationScaleListSymptomSobChoose : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *paperDoneQuickLessObserving;
@property (nonatomic, assign) NSInteger fetchBufferingManSideWeighted;

@property (nonatomic, copy) NSString *fatCrossDueData;

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

@property (nonatomic, copy) void (^fatPoolReversingInteriorPronounJson)(BOOL result, NSDictionary *hisJson);

@end

@implementation OvulationScaleListSymptomSobChoose

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

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

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


- (void)remainingFitMagicFetchCubicWarpKey:(NSString *)xxpk_maxkey jouleMinderSoccerQualityReason:(NSString *)jouleMinderSoccerQualityReason bitOldRecoveredSecurelyExpect:(NSArray *)bitOldRecoveredSecurelyExpect {
    
    
    
    Class fat = NSClassFromString(@"FBAdSettings");
    if (fat) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        [fat performSelector:@selector(setDataProcessingOptions:) withObject:@[]];
        [fat performSelector:@selector(setAdvertiserTrackingEnabled:) withObject:@(YES)];
#pragma clang diagnostic pop
    }
    
    

    
    ALSdkInitializationConfiguration *pendingProvidesModePenInteract = [ALSdkInitializationConfiguration configurationWithSdkKey:xxpk_maxkey builderBlock:^(ALSdkInitializationConfigurationBuilder * _Nonnull builder) {
        builder.mediationProvider = ALMediationProviderMAX;
        if (bitOldRecoveredSecurelyExpect) {
            builder.testDeviceAdvertisingIdentifiers = bitOldRecoveredSecurelyExpect;
        }
        if (@available(iOS 14, *)) {
            if ([ATTrackingManager trackingAuthorizationStatus] == ATTrackingManagerAuthorizationStatusAuthorized ) {
                [ALPrivacySettings setHasUserConsent: YES];
            }
        } else {
            [ALPrivacySettings setHasUserConsent: YES];
        }
    }];
    
    [[ALSdk shared] initializeWithConfiguration:pendingProvidesModePenInteract completionHandler:^(ALSdkConfiguration * _Nonnull configuration) {
        [self freeItsAxesNotifiedOneChineseTextured:jouleMinderSoccerQualityReason];
    }];
}

- (void)freeItsAxesNotifiedOneChineseTextured:(NSString *)jouleMinderSoccerQualityReason
{
    self.paperDoneQuickLessObserving = [MARewardedAd sharedWithAdUnitIdentifier:jouleMinderSoccerQualityReason];
    self.paperDoneQuickLessObserving.delegate = self;

    
    [self.paperDoneQuickLessObserving loadAd];
}


- (void)negateHandlesChineseUnboundedGuideSongData:(nullable NSString *)fatCrossDueData powerBurstJson:(void(^)(BOOL result, NSDictionary *hisJson))powerBurstJson {
    self.fatPoolReversingInteriorPronounJson = powerBurstJson;
    self.fatCrossDueData = fatCrossDueData;
    if ( [self.paperDoneQuickLessObserving isReady]) {
        [self.paperDoneQuickLessObserving showAdForPlacement:nil customData:fatCrossDueData];
    }else {
        powerBurstJson(NO,nil);
    }
}

- (void)negateHandlesChineseUnboundedGuideSongData:(nullable NSString *)fatCrossDueData stampHue:(void(^)(BOOL result))stampHue {
    self.nearSameAdopt = stampHue;
    self.fatCrossDueData = fatCrossDueData;
    if ( [self.paperDoneQuickLessObserving isReady]) {
        [self.paperDoneQuickLessObserving showAdForPlacement:nil customData:fatCrossDueData];
    }else {
        stampHue(NO);
    }
}

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

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


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

- (void)didFailToLoadAdForAdUnitIdentifier:(nonnull NSString *)adUnitIdentifier withError:(nonnull MAError *)error {
    
    [self pipeOccurredAirborneDatabasesReclaim: __PRETTY_FUNCTION__ error:error.message];
    
    
    
    self.fetchBufferingManSideWeighted++;
    NSInteger queryTop = pow(2, MIN(6, self.fetchBufferingManSideWeighted));
    
    dispatch_after(dispatch_time(DISPATCH_TIME_NOW, queryTop * NSEC_PER_SEC), dispatch_get_main_queue(), ^{
        [self.paperDoneQuickLessObserving loadAd];
    });
}

- (void)didHideAd:(MAAd *)ad {
    [self pipeOccurredAirborneDatabasesReclaim: __PRETTY_FUNCTION__ error:nil];
    
    
    [self.paperDoneQuickLessObserving loadAd];
}

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self pipeOccurredAirborneDatabasesReclaim: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.paperDoneQuickLessObserving loadAd];
    
    if (self.nearSameAdopt) {
        self.nearSameAdopt(NO);
    }
    
    if (self.fatPoolReversingInteriorPronounJson) {
        self.fatPoolReversingInteriorPronounJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self pipeOccurredAirborneDatabasesReclaim: __PRETTY_FUNCTION__ error:nil];
    
    if (self.nearSameAdopt) {
        self.nearSameAdopt(YES);
    }
    
    if (self.fatPoolReversingInteriorPronounJson) {
        NSDictionary *hisJson = [self liveVibrancyLocalizedBannerSatisfied:ad];
        self.fatPoolReversingInteriorPronounJson(YES, hisJson);
    }
}


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

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

@end
