





#import "CatReplaceGreekChestPolo.h"
@import Network;

static NSString *stopFunLookBig = nil;
static nw_path_monitor_t spanLevelAngle = NULL;

@implementation CatReplaceGreekChestPolo

+ (BOOL)deliveryPositionsSquashVerboseStorage {
    return stopFunLookBig != nil;
}

+ (NSString *)burnExceededType {
    return stopFunLookBig ?: @"none";
}

+ (void)accurateHandballReversingCoachedCancelDue:(void (^)(BOOL deliveryPositionsSquashVerboseStorage))completion {
    
    if (spanLevelAngle != NULL) {
        nw_path_monitor_cancel(spanLevelAngle);
        spanLevelAngle = NULL;
    }
    
    
    spanLevelAngle = nw_path_monitor_create();
    nw_path_monitor_set_queue(spanLevelAngle, dispatch_get_main_queue());
    
    __block nw_path_monitor_t belowTenNone = spanLevelAngle;
    nw_path_monitor_set_update_handler(spanLevelAngle, ^(nw_path_t path) {
        nw_path_status_t status = nw_path_get_status(path);
        if (status == nw_path_status_satisfied) {
            if (nw_path_uses_interface_type(path, nw_interface_type_wifi)) {
                stopFunLookBig = @"wifi";
            } else if (nw_path_uses_interface_type(path, nw_interface_type_cellular)) {
                stopFunLookBig = @"cellular";
            } else {
                
                stopFunLookBig = @"other";
            }
            
            
            if (belowTenNone) {
                nw_path_monitor_cancel(belowTenNone);
                belowTenNone = NULL;
                spanLevelAngle = NULL;
            }
            
        } else {
            stopFunLookBig = nil;
        }
        
        
        if (completion) {
            completion([self deliveryPositionsSquashVerboseStorage]);
        }
        
    });
    
    
    nw_path_monitor_start(spanLevelAngle);
}

@end
