






#import "Pulse.h"
#import "FlatnessGoogleSpeedClientWho.h"

@interface Pulse() {
    NSMutableSet *_bagPlugTapAvailableAudible;
}

@end

@implementation Pulse



+ (instancetype)assertionInstance {
    static id assertionInstance = nil;

    static dispatch_once_t hourToken;
    dispatch_once(&hourToken, ^{
        assertionInstance = [[self alloc] init];
    });

    return assertionInstance;
}


- (NSMutableSet *)bagPlugTapAvailableAudible {
    if (!_bagPlugTapAvailableAudible) {
        _bagPlugTapAvailableAudible = [[NSMutableSet alloc] init];
    }
    return _bagPlugTapAvailableAudible;
}




+ (BOOL)samplerSerialFolderWorldOpen:(FlatnessGoogleSpeedClientWho *)zb_destination {
    return [self.assertionInstance samplerSerialFolderWorldOpen:zb_destination];
}

- (BOOL)samplerSerialFolderWorldOpen:(FlatnessGoogleSpeedClientWho *)zb_destination {
    if ([self.bagPlugTapAvailableAudible containsObject:zb_destination]) {
        return NO;
    }
    [self.bagPlugTapAvailableAudible addObject:zb_destination];
    return YES;
}


+ (BOOL)energyFormattedIndexedHockeyGatherStiffness:(FlatnessGoogleSpeedClientWho *)zb_destination {
    return [self.assertionInstance energyFormattedIndexedHockeyGatherStiffness:zb_destination];
}

- (BOOL)energyFormattedIndexedHockeyGatherStiffness:(FlatnessGoogleSpeedClientWho *)zb_destination {
    if (![self.bagPlugTapAvailableAudible containsObject:zb_destination]) {
        return NO;
    }
    [self.bagPlugTapAvailableAudible removeObject:zb_destination];
    return YES;
}


+ (void)silencedNearbyPresentedDayFilterCorner {
    [self.assertionInstance silencedNearbyPresentedDayFilterCorner];
}

- (void)silencedNearbyPresentedDayFilterCorner {
    [self.bagPlugTapAvailableAudible removeAllObjects];
}


+ (NSInteger)slowBurmeseTaskDeviationDateWire {
    return [self.assertionInstance slowBurmeseTaskDeviationDateWire];
}

- (NSUInteger)slowBurmeseTaskDeviationDateWire {
    return self.bagPlugTapAvailableAudible.count;
}


+ (NSString *)allMostlyName {
    if (NSThread.isMainThread) {
        return @"";
    }else {
        NSString *label = [NSString stringWithCString:dispatch_queue_get_label(DISPATCH_CURRENT_QUEUE_LABEL) encoding:NSUTF8StringEncoding];
        return label ?: NSThread.currentThread.name;
    }
}


+ (void)collector:(WhiteLevel)zb_level
          fillArt:(const char *)fillArt
      warnRunFact:(const char *)warnRunFact
          calorie:(NSUInteger)calorie
       yetDigital:(id)yetDigital
        ownAcross:(NSString *)ownAcross, ... {
    va_list args;
    
    if (ownAcross) {
        va_start(args, ownAcross);
        
        NSString *outFourFat = [[NSString alloc] initWithFormat:ownAcross arguments:args];
        
        va_end(args);
        
        va_start(args, ownAcross);
        
        [self.assertionInstance kitExistIntervalsFiveDiscard:zb_level
                                   outFourFat:outFourFat
                                    playPlane:[self allMostlyName]
                                      fillArt:[NSString stringWithFormat:@"%s", fillArt]
                                  warnRunFact:[NSString stringWithFormat:@"%s", warnRunFact]
                                      calorie:calorie
                                   yetDigital:yetDigital];
        
        va_end(args);
    }
}


- (void)kitExistIntervalsFiveDiscard:(WhiteLevel)zb_level
              outFourFat:(NSString *)outFourFat
               playPlane:(NSString *)playPlane
                 fillArt:(NSString *)fillArt
             warnRunFact:(NSString *)warnRunFact
                 calorie:(NSUInteger)calorie
              yetDigital:(id)yetDigital {
    
    for (FlatnessGoogleSpeedClientWho *artMail in self.bagPlugTapAvailableAudible) {
        
        NSString *buttonEnterMessage;
        
        if (!artMail.cubicOur) continue;
        
        buttonEnterMessage = buttonEnterMessage == nil ? outFourFat : buttonEnterMessage;
        
        if ([artMail hairMegabytesLoseDifferentBridgedVolumes:zb_level chatDry:fillArt warnRunFact:warnRunFact outFourFat:outFourFat]) {
            
            NSString *impactKit = buttonEnterMessage == nil ? outFourFat :buttonEnterMessage;
            
            NSString *five = [self armTooRarePlan:warnRunFact];
            
            if (artMail.consumesSequencerBinPlayDeletion) {
                dispatch_async(artMail.cubicOur, ^{
                    [artMail itsYear:zb_level addEar:impactKit playPlane:playPlane fillArt:fillArt warnRunFact:five calorie:calorie
                          yetDigital:yetDigital];
                });
            }else {
                dispatch_sync(artMail.cubicOur, ^{
                    [artMail itsYear:zb_level addEar:impactKit playPlane:playPlane fillArt:fillArt warnRunFact:five calorie:calorie
                          yetDigital:yetDigital];
                });
            }
        }
    }
}

- (NSString *)armTooRarePlan:(NSString *)warnRunFact {
    NSString *five = warnRunFact;
    NSRange skinWork = [five rangeOfString:@"("];
    
    if (skinWork.location != NSNotFound) {
        five = [five substringToIndex:skinWork.location];
    }
    five = [five stringByAppendingString:@"()"];
    return five;
}

@end
