








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

@interface PrintedCreatingInterlaceSpaOldPassive : NSObject<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *armourLearnChineseRevertingRecovered;
@property (nonatomic, assign) NSInteger unboundedCarbonNewtonsCapPostal;

@property (nonatomic, copy) NSString *checksumTryData;

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

@property (nonatomic, copy) void (^collapseThatJouleGolfMaxJson)(BOOL result, NSDictionary *useJson);

@end

@implementation PrintedCreatingInterlaceSpaOldPassive

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

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

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


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

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

- (void)certSameTorqueDefaultRetContainsColumn:(NSString *)filePluralFixRearAdverb
{
    self.armourLearnChineseRevertingRecovered = [MARewardedAd sharedWithAdUnitIdentifier:filePluralFixRearAdverb];
    self.armourLearnChineseRevertingRecovered.delegate = self;

    
    [self.armourLearnChineseRevertingRecovered loadAd];
}


- (void)literalIslamicNegateObscuredUploadedStylusData:(nullable NSString *)checksumTryData offYouDrumJson:(void(^)(BOOL result, NSDictionary *useJson))offYouDrumJson {
    self.collapseThatJouleGolfMaxJson = offYouDrumJson;
    self.checksumTryData = checksumTryData;
    if ( [self.armourLearnChineseRevertingRecovered isReady]) {
        [self.armourLearnChineseRevertingRecovered showAdForPlacement:nil customData:checksumTryData];
    }else {
        offYouDrumJson(NO,nil);
    }
}

- (void)literalIslamicNegateObscuredUploadedStylusData:(nullable NSString *)checksumTryData unlikely:(void(^)(BOOL result))unlikely {
    self.certNotifying = unlikely;
    self.checksumTryData = checksumTryData;
    if ( [self.armourLearnChineseRevertingRecovered isReady]) {
        [self.armourLearnChineseRevertingRecovered showAdForPlacement:nil customData:checksumTryData];
    }else {
        unlikely(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self gregorianFlippedPressureEggRow: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.armourLearnChineseRevertingRecovered loadAd];
    
    if (self.certNotifying) {
        self.certNotifying(NO);
    }
    
    if (self.collapseThatJouleGolfMaxJson) {
        self.collapseThatJouleGolfMaxJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self gregorianFlippedPressureEggRow: __PRETTY_FUNCTION__ error:nil];
    
    if (self.certNotifying) {
        self.certNotifying(YES);
    }
    
    if (self.collapseThatJouleGolfMaxJson) {
        NSDictionary *useJson = [self axesSpousesMeasureGrandauntWhite:ad];
        self.collapseThatJouleGolfMaxJson(YES, useJson);
    }
}


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

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

@end
