








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

@interface ObjectNetEulerFoundBarrierRendered : Reliable<MARewardedAdDelegate,MAAdViewAdDelegate>

@property (nonatomic, strong) MARewardedAd *pinEncodeHighFinderDisplay;
@property (nonatomic, assign) NSInteger tallDidMinimumEnergyReplies;

@property (nonatomic, copy) NSString *fragmentWasData;

@property (nonatomic, copy) void (^pasteGainFact)(BOOL sumDry);

@property (nonatomic, copy) void (^lowUnlimitedSucceededDueBirthJson)(BOOL sumDry, NSDictionary *capJson);

@end

@implementation ObjectNetEulerFoundBarrierRendered

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

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

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


- (void)redContentFinishingWetDogRealKey:(NSString *)xxpk_maxkey silencedFillerAllDeveloperExact:(NSString *)silencedFillerAllDeveloperExact containsVowelSayMatchConjugate:(NSArray *)containsVowelSayMatchConjugate {
    
    
    
    Class son = NSClassFromString(@"FBAdSettings");
    if (son) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        [son performSelector:@selector(setDataProcessingOptions:) fullReduce:@[]];
        [son performSelector:@selector(setAdvertiserTrackingEnabled:) fullReduce:@(YES)];
#pragma clang diagnostic pop
    }
    
    

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

- (void)veryPlanWhoVitalitySmallStormUse:(NSString *)silencedFillerAllDeveloperExact
{
    self.pinEncodeHighFinderDisplay = [MARewardedAd sharedWithAdUnitIdentifier:silencedFillerAllDeveloperExact];
    self.pinEncodeHighFinderDisplay.delegate = self;

    
    [self.pinEncodeHighFinderDisplay loadAd];
}


- (void)pronounFullyDaughtersDistantElderScoreData:(nullable NSString *)fragmentWasData wetFactNapJson:(void(^)(BOOL sumDry, NSDictionary *capJson))wetFactNapJson {
    self.lowUnlimitedSucceededDueBirthJson = wetFactNapJson;
    self.fragmentWasData = fragmentWasData;
    if ( [self.pinEncodeHighFinderDisplay isReady]) {
        [self.pinEncodeHighFinderDisplay showAdForPlacement:nil customData:fragmentWasData];
    }else {
        wetFactNapJson(NO,nil);
    }
}

- (void)pronounFullyDaughtersDistantElderScoreData:(nullable NSString *)fragmentWasData quickTag:(void(^)(BOOL sumDry))quickTag {
    self.pasteGainFact = quickTag;
    self.fragmentWasData = fragmentWasData;
    if ( [self.pinEncodeHighFinderDisplay isReady]) {
        [self.pinEncodeHighFinderDisplay showAdForPlacement:nil customData:fragmentWasData];
    }else {
        quickTag(NO);
    }
}

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

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


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

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

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

- (void)didFailToDisplayAd:(MAAd *)ad withError:(MAError *)error
{
    [self rowSortRecipientRedirectsAdverb: __PRETTY_FUNCTION__ error:error.message];
    
    
    [self.pinEncodeHighFinderDisplay loadAd];
    
    if (self.pasteGainFact) {
        self.pasteGainFact(NO);
    }
    
    if (self.lowUnlimitedSucceededDueBirthJson) {
        self.lowUnlimitedSucceededDueBirthJson(NO, nil);
    }
}

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

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

- (void)didRewardUserForAd:(nonnull MAAd *)ad withReward:(nonnull MAReward *)reward {
    [self rowSortRecipientRedirectsAdverb: __PRETTY_FUNCTION__ error:nil];
    
    if (self.pasteGainFact) {
        self.pasteGainFact(YES);
    }
    
    if (self.lowUnlimitedSucceededDueBirthJson) {
        NSDictionary *capJson = [self customVortexStayDescenderBit:ad];
        self.lowUnlimitedSucceededDueBirthJson(YES, capJson);
    }
}


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

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

@end
