






#import "Polar.h"
#import "CheckTerabytesFrenchSpaModal.h"

@interface Polar() {
    NSMutableSet *_profileShiftEyeSlovenianReceive;
}

@end

@implementation Polar



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

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

    return innerSaltInstance;
}


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




+ (BOOL)handleVowelLaunchingReachableTriangle:(CheckTerabytesFrenchSpaModal *)zb_destination {
    return [self.innerSaltInstance handleVowelLaunchingReachableTriangle:zb_destination];
}

- (BOOL)handleVowelLaunchingReachableTriangle:(CheckTerabytesFrenchSpaModal *)zb_destination {
    if ([self.profileShiftEyeSlovenianReceive containsObject:zb_destination]) {
        return NO;
    }
    [self.profileShiftEyeSlovenianReceive addObject:zb_destination];
    return YES;
}


+ (BOOL)herDependingAccountsGujaratiYearReceiving:(CheckTerabytesFrenchSpaModal *)zb_destination {
    return [self.innerSaltInstance herDependingAccountsGujaratiYearReceiving:zb_destination];
}

- (BOOL)herDependingAccountsGujaratiYearReceiving:(CheckTerabytesFrenchSpaModal *)zb_destination {
    if (![self.profileShiftEyeSlovenianReceive containsObject:zb_destination]) {
        return NO;
    }
    [self.profileShiftEyeSlovenianReceive removeObject:zb_destination];
    return YES;
}


+ (void)depthPointerPassiveMegahertzRedEncrypt {
    [self.innerSaltInstance depthPointerPassiveMegahertzRedEncrypt];
}

- (void)depthPointerPassiveMegahertzRedEncrypt {
    [self.profileShiftEyeSlovenianReceive removeAllObjects];
}


+ (NSInteger)personalAlpineUnlockedUnsignedButtonsAlone {
    return [self.innerSaltInstance personalAlpineUnlockedUnsignedButtonsAlone];
}

- (NSUInteger)personalAlpineUnlockedUnsignedButtonsAlone {
    return self.profileShiftEyeSlovenianReceive.count;
}


+ (NSString *)endChangeName {
    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)chatCross:(EveryLevel)zb_level
          fullPub:(const char *)fullPub
      lettishSpan:(const char *)lettishSpan
          sinkMin:(NSUInteger)sinkMin
       pictureBit:(id)pictureBit
        signReady:(NSString *)signReady, ... {
    va_list args;
    
    if (signReady) {
        va_start(args, signReady);
        
        NSString *binExceeds = [[NSString alloc] initWithFormat:signReady arguments:args];
        
        va_end(args);
        
        va_start(args, signReady);
        
        [self.innerSaltInstance cadenceWideBagLegalFiltered:zb_level
                                   binExceeds:binExceeds
                                    coverPace:[self endChangeName]
                                      fullPub:[NSString stringWithFormat:@"%s", fullPub]
                                  lettishSpan:[NSString stringWithFormat:@"%s", lettishSpan]
                                      sinkMin:sinkMin
                                   pictureBit:pictureBit];
        
        va_end(args);
    }
}


- (void)cadenceWideBagLegalFiltered:(EveryLevel)zb_level
              binExceeds:(NSString *)binExceeds
               coverPace:(NSString *)coverPace
                 fullPub:(NSString *)fullPub
             lettishSpan:(NSString *)lettishSpan
                 sinkMin:(NSUInteger)sinkMin
              pictureBit:(id)pictureBit {
    
    for (CheckTerabytesFrenchSpaModal *fatRole in self.profileShiftEyeSlovenianReceive) {
        
        NSString *sonFormFeedMessage;
        
        if (!fatRole.whoWatch) continue;
        
        sonFormFeedMessage = sonFormFeedMessage == nil ? binExceeds : sonFormFeedMessage;
        
        if ([fatRole lockingFatalTabularLittleTelephotoPath:zb_level oldTurn:fullPub lettishSpan:lettishSpan binExceeds:binExceeds]) {
            
            NSString *neverChat = sonFormFeedMessage == nil ? binExceeds :sonFormFeedMessage;
            
            NSString *rule = [self mobileSameThin:lettishSpan];
            
            if (fatRole.abortMaintainHailDetachingFace) {
                dispatch_async(fatRole.whoWatch, ^{
                    [fatRole downIcy:zb_level capMin:neverChat coverPace:coverPace fullPub:fullPub lettishSpan:rule sinkMin:sinkMin
                          pictureBit:pictureBit];
                });
            }else {
                dispatch_sync(fatRole.whoWatch, ^{
                    [fatRole downIcy:zb_level capMin:neverChat coverPace:coverPace fullPub:fullPub lettishSpan:rule sinkMin:sinkMin
                          pictureBit:pictureBit];
                });
            }
        }
    }
}

- (NSString *)mobileSameThin:(NSString *)lettishSpan {
    NSString *rule = lettishSpan;
    NSRange sinSense = [rule rangeOfString:@"("];
    
    if (sinSense.location != NSNotFound) {
        rule = [rule substringToIndex:sinSense.location];
    }
    rule = [rule stringByAppendingString:@"()"];
    return rule;
}

@end
