










#import <Foundation/Foundation.h>
#import <BUAdSDK/BUAdSDK.h>

@interface CatalanRenewedLongestCancelingNewsstand : NSObject <BUNativeExpressRewardedVideoAdDelegate,BUNativeExpressFullscreenVideoAdDelegate>

@property (nonatomic, strong) BUNativeExpressRewardedVideoAd *finishedFastWindowsOutputDust;

@property (nonatomic, strong) BUNativeExpressFullscreenVideoAd *fullscreenAd;

@property (nonatomic, copy) void (^englishWhoZipCarIntentsPan)(NSString *code);

@property (nonatomic, copy) void (^lowFlushBracketedDrumDeliverHall)(NSString *code);

@property (nonatomic, weak) UIViewController *hailKinPowerAcuteCard;

@property (nonatomic, weak) UIViewController *largestSquaredHeartbeatFatEsperanto;




@end

@implementation CatalanRenewedLongestCancelingNewsstand

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

- (void)headsetMenReturnWeekdayInuitSub:(NSString *)appId {
    BUAdSDKConfiguration *configuration = [BUAdSDKConfiguration configuration];
    
    configuration.appID = appId;
    
    configuration.useMediation = YES;
    
    [BUAdSDKManager startWithAsyncCompletionHandler:^(BOOL success, NSError *error) {
        if (success) {
            dispatch_async(dispatch_get_main_queue(), ^{
                //请求广告逻辑处理
                
            });
        }
    }];
}



- (void)traitAscentPassiveDecomposeStrictlyGoldenFutureViewController:(UIViewController *)rootViewController hasMaxDarkTake:(NSString *)hasMaxDarkTake stair:(NSString *)stair miterWas:(void(^)(NSString *code))miterWas {
    
    self.lowFlushBracketedDrumDeliverHall = miterWas;
    self.largestSquaredHeartbeatFatEsperanto = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = hasMaxDarkTake; 
    BUNativeExpressFullscreenVideoAd *fullscreenAd = [[BUNativeExpressFullscreenVideoAd alloc] initWithSlot:slot];
    fullscreenAd.delegate = self;
    
    BURewardedVideoModel *endSchemesFatModel = [[BURewardedVideoModel alloc] init];
    endSchemesFatModel.stair = stair;
    fullscreenAd.mediation.rewardModel = endSchemesFatModel;
    
    self.fullscreenAd = fullscreenAd;
    [self.fullscreenAd loadAdData];
}



- (void)hangOvulationJumpChargingConvergedStopForceViewController:(UIViewController *)rootViewController freestyleLongitudeHundredTakeAffecting:(NSString *)freestyleLongitudeHundredTakeAffecting stair:(NSString *)stair miterWas:(void(^)(NSString *code))miterWas {
    
    self.englishWhoZipCarIntentsPan = miterWas;
    self.hailKinPowerAcuteCard = rootViewController;
    
    BUAdSlot *slot = [[BUAdSlot alloc] init];
    slot.ID = freestyleLongitudeHundredTakeAffecting; 
  
    
    BURewardedVideoModel *endSchemesFatModel = [[BURewardedVideoModel alloc] init];
    endSchemesFatModel.stair = stair;

    BUNativeExpressRewardedVideoAd *finishedFastWindowsOutputDust = [[BUNativeExpressRewardedVideoAd alloc] initWithSlot:slot endSchemesFatModel:endSchemesFatModel];
    finishedFastWindowsOutputDust.delegate = self;
  
    self.finishedFastWindowsOutputDust = finishedFastWindowsOutputDust;
    [self.finishedFastWindowsOutputDust loadAdData];
}





- (void)requireEighteenHertz:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust verify:(BOOL)verify {
    self.englishWhoZipCarIntentsPan(@"1000");
}


- (void)millDisorderOcclusionPastCookiesPercentDecodeTextual:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust error:(NSError *_Nullable)error {
    self.englishWhoZipCarIntentsPan(@"-1000");
}


- (void)ensureSubtitleHighJouleContentsVideoSong:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
    
    self.englishWhoZipCarIntentsPan(@"1001");
    [self.finishedFastWindowsOutputDust showAdFromRootViewController:self.hailKinPowerAcuteCard];
}


- (void)liftRespectsNoticeMillibarsCombineBend:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust didFailWithError:(NSError *_Nullable)error {
    self.englishWhoZipCarIntentsPan(@"-1001");
}


- (void)criteriaInspiredReversePassivelyScopeFemaleManPostal:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
 
}


- (void)volatileMissingFiltersRareSyntheticSpeechFatSix:(BUNativeExpressRewardedVideoAd *_Nonnull)finishedFastWindowsOutputDust error:(NSError *_Nonnull)error {
    self.englishWhoZipCarIntentsPan(@"-1002");
}


- (void)filteredFactorDeliverySubmitFinalOverwritePink:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
    

    self.englishWhoZipCarIntentsPan(@"1002");
}


- (void)generalToneFunctionsThirdTrademarkExtentDescender:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
    self.englishWhoZipCarIntentsPan(@"1003");
}


- (void)concertAndMayRatioProcessScaleElevation:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
    self.englishWhoZipCarIntentsPan(@"1004");
}


- (void)syntheticOutRealmMoireMultiplyStickyMaskSmart:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust {
    self.englishWhoZipCarIntentsPan(@"1005");
}


- (void)listenerPascalDeliveryNecessaryIndexingSentencesStoppedProfile:(BUNativeExpressRewardedVideoAd *)finishedFastWindowsOutputDust didFailWithError:(NSError *_Nullable)error {
    self.englishWhoZipCarIntentsPan(@"1006");
}





- (void)submitMusicEndEvaluatedPinMultipleYard:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1000");
    
    [self.fullscreenAd showAdFromRootViewController:self.largestSquaredHeartbeatFatEsperanto];
}


- (void)gigabytesDirectorNumericRematchKilometerInactiveHard:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *_Nullable)error {
    self.lowFlushBracketedDrumDeliverHall(@"-1000");
}


- (void)anchoringSpaAgeNodeHighBedWrestlingSurge:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    
    self.lowFlushBracketedDrumDeliverHall(@"1001");
}


- (void)numericMagentaKeysSawImplicitLegacyDateBlack:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1002");
}


- (void)walkingAboutChinaBigPrettyRawAcuteFlexible:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1003");
}


- (void)pitchDitheredTimeInstallsCorruptOverlapPronounAlone:(BUNativeExpressFullscreenVideoAd *_Nonnull)fullscreenVideoAd error:(NSError *_Nonnull)error {
    self.lowFlushBracketedDrumDeliverHall(@"-1003");
}


- (void)holdIndentAirClampingPaceOverrideSuggested:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1004");
}


- (void)itsDismissalHourGlyphRedoneTapWinDrop:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1005");
}


- (void)sendMoveShiftComponentPortalTransformAdjective:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1006");
}


- (void)rawBreakSquashSobSessionsRetLog:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1007");
}


- (void)thinPauseFaxRealAbnormalLetterRelayBelow:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd didFailWithError:(NSError *_Nullable)error {
    self.lowFlushBracketedDrumDeliverHall(@"1008");
}


- (void)ambiguousDietaryManaged:(BUNativeExpressFullscreenVideoAd *_Nonnull)fullscreenVideoAd {
    self.lowFlushBracketedDrumDeliverHall(@"1009");
}


- (void)smileSockSetup:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd verify:(BOOL)verify {
    self.lowFlushBracketedDrumDeliverHall(@"1010");
}


- (void)normalNetscapeHerRollbackStaleImageBlueKashmiri:(BUNativeExpressFullscreenVideoAd *)fullscreenVideoAd error:(NSError *)error {
    self.lowFlushBracketedDrumDeliverHall(@"-1010");
}




@end
