








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

@interface SubRemoteCountryPinDesignerSuch : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *uploadRadixPerformedPanCoulombs;
@property (nonatomic, assign) NSInteger darkenSpaceInferiorsKeyContext;

@property (nonatomic, copy) NSString *sideSonFairData;

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

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

@end

@implementation SubRemoteCountryPinDesignerSuch

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

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

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


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

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

- (void)containerYouKilovoltsNaturalNominallySaySubtitle:(NSString *)canFactoredMenuCapturesPop
{
    self.uploadRadixPerformedPanCoulombs = [MARewardedAd sharedWithAdUnitIdentifier:canFactoredMenuCapturesPop];
    self.uploadRadixPerformedPanCoulombs.delegate = self;

    
    [self.uploadRadixPerformedPanCoulombs loadAd];
}


- (void)sleetNotifyingProvidesSwipeTeamGeneratorData:(nullable NSString *)sideSonFairData fisheyeOneJson:(void(^)(BOOL result, NSDictionary *hisJson))fisheyeOneJson {
    self.wateryDaughtersBoxSerifProfileJson = fisheyeOneJson;
    self.sideSonFairData = sideSonFairData;
    if ( [self.uploadRadixPerformedPanCoulombs isReady]) {
        [self.uploadRadixPerformedPanCoulombs showAdForPlacement:nil customData:sideSonFairData];
    }else {
        fisheyeOneJson(NO,nil);
    }
}

- (void)sleetNotifyingProvidesSwipeTeamGeneratorData:(nullable NSString *)sideSonFairData systolic:(void(^)(BOOL result))systolic {
    self.stayTeethLike = systolic;
    self.sideSonFairData = sideSonFairData;
    if ( [self.uploadRadixPerformedPanCoulombs isReady]) {
        [self.uploadRadixPerformedPanCoulombs showAdForPlacement:nil customData:sideSonFairData];
    }else {
        systolic(NO);
    }
}

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

- (NSDictionary *)awayBelowCreatingTalkThe:(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 seasonPeopleSectionStepAffiliate: __PRETTY_FUNCTION__ error:nil];
    
    
    self.darkenSpaceInferiorsKeyContext = 0;
}

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self seasonPeopleSectionStepAffiliate: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.uploadRadixPerformedPanCoulombs loadAd];
    
    if (self.stayTeethLike) {
        self.stayTeethLike(NO);
    }
    
    if (self.wateryDaughtersBoxSerifProfileJson) {
        self.wateryDaughtersBoxSerifProfileJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self seasonPeopleSectionStepAffiliate: __PRETTY_FUNCTION__ error:nil];
    
    if (self.stayTeethLike) {
        self.stayTeethLike(YES);
    }
    
    if (self.wateryDaughtersBoxSerifProfileJson) {
        NSDictionary *hisJson = [self awayBelowCreatingTalkThe:ad];
        self.wateryDaughtersBoxSerifProfileJson(YES, hisJson);
    }
}


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

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

@end
