






#import "FailureBarViewController.h"
#import "ForwardNetViewController.h"
#import "WasDaysOptConfig.h"
#import "NSObject+TabModel.h"
#import "UIColor+MidColor.h"
#import "ArmToast.h"
#import "PreviewProvidingDetailCousinArts.h"

@interface FailureBarViewController ()

@property (nonatomic, strong) UIImageView *areNapImageView;
@property (nonatomic, strong) UIButton *dogButton;
@property (nonatomic, strong) UIButton *ourButton;
@property (nonatomic, strong) UIButton *rowButton;

@end

@implementation FailureBarViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.badTenBoost];
    
    
    UIView *askHasGoalBikeIncluding = [[UIView alloc] init];
    askHasGoalBikeIncluding.backgroundColor = [UIColor clearColor];
    [self.view addSubview:askHasGoalBikeIncluding];
    
    
    _areNapImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:BurstUpload.styleOrigins.finderDryMan weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:BurstUpload.styleOrigins.safeSupportRedonePutTransmitSymmetricPriority withConfiguration:config];
    _areNapImageView.image = headerImage;
    _areNapImageView.tintColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.manGlobalColor];
    _areNapImageView.contentMode = UIViewContentModeScaleAspectFit;
    [askHasGoalBikeIncluding addSubview:_areNapImageView];
    
    
    UILabel *balticGrayLabel = [[UILabel alloc] init];
    balticGrayLabel.text = BurstUpload.ejectPrimeHour.vitaminCloseFinishingHintContainsCatalan;
    balticGrayLabel.font = [UIFont boldSystemFontOfSize:BurstUpload.styleOrigins.edgaThreaded];
    balticGrayLabel.textAlignment = NSTextAlignmentLeft;
    balticGrayLabel.textColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.coastAreFun];
    [askHasGoalBikeIncluding addSubview:balticGrayLabel];
    
    
    [askHasGoalBikeIncluding mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(BurstUpload.styleOrigins.personResize);
        make.centerX.equalTo(self.view).offset(-BurstUpload.styleOrigins.smoothEight);
        make.height.mas_equalTo(BurstUpload.styleOrigins.renewalFloat);
    }];
    
    
    [_areNapImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(askHasGoalBikeIncluding);
        make.centerY.equalTo(askHasGoalBikeIncluding);
        make.width.height.mas_equalTo(BurstUpload.styleOrigins.renewalFloat);
    }];
    
    [balticGrayLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_areNapImageView.mas_right).offset(BurstUpload.styleOrigins.areTeluguCap);
        make.centerY.equalTo(askHasGoalBikeIncluding);
        make.right.equalTo(askHasGoalBikeIncluding);
    }];
    
    
    _dogButton = [self sayDigitalPreventLibraryAppearsLawIcon:BurstUpload.styleOrigins.alarmSawFlowWrapperEncipherSix
                                                  title:BurstUpload.ejectPrimeHour.iterateCountryRowFloaterEnter
                                               subtitle:WasDaysOptConfig.shared.wasFetchVowelOptPlug.netResponder.product];
    [self.view addSubview:_dogButton];
    [_dogButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(askHasGoalBikeIncluding.mas_bottom).offset(BurstUpload.styleOrigins.personResize);
        make.left.equalTo(self.view).offset(BurstUpload.styleOrigins.factThousand);
        make.right.equalTo(self.view).offset(-BurstUpload.styleOrigins.factThousand);
        make.height.mas_equalTo(BurstUpload.styleOrigins.renewalFloat);
    }];
    [_dogButton addTarget:self action:@selector(agentLoopGoalAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _ourButton = [self sayDigitalPreventLibraryAppearsLawIcon:BurstUpload.styleOrigins.globalAlpineValidatesPacketsOurReplaced
                                                   title:BurstUpload.ejectPrimeHour.europeanIntervalsYearSixHeap
                                                subtitle:WasDaysOptConfig.shared.wasFetchVowelOptPlug.netResponder.roleClip];
    [self.view addSubview:_ourButton];
    [_ourButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_dogButton.mas_bottom).offset(BurstUpload.styleOrigins.innerNewtons);
        make.left.equalTo(self.view).offset(BurstUpload.styleOrigins.factThousand);
        make.right.equalTo(self.view).offset(-BurstUpload.styleOrigins.factThousand);
        make.height.mas_equalTo(BurstUpload.styleOrigins.renewalFloat);
    }];
    [_ourButton addTarget:self action:@selector(forkDeepIcyIllAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _rowButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _rowButton.backgroundColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.manGlobalColor];
    _rowButton.layer.cornerRadius = BurstUpload.styleOrigins.edgaThreaded;
    [_rowButton setTitle:BurstUpload.ejectPrimeHour.aliveSpringPrepPredicateWet forState:UIControlStateNormal];
    [_rowButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _rowButton.titleLabel.font = [UIFont systemFontOfSize:BurstUpload.styleOrigins.personResize weight:UIFontWeightMedium];
    UIImage *herIcon = [UIImage systemImageNamed:BurstUpload.styleOrigins.mindfulProvidingComparedClosestArrowHer];
    [_rowButton setImage:herIcon forState:UIControlStateNormal];
    _rowButton.imageEdgeInsets = UIEdgeInsetsMake(0, -BurstUpload.styleOrigins.rawQuickTip, 0, 0);
    _rowButton.titleEdgeInsets = UIEdgeInsetsMake(0, BurstUpload.styleOrigins.rawQuickTip, 0, 0);
    _rowButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_rowButton];
    [_rowButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_ourButton.mas_bottom).offset(BurstUpload.styleOrigins.innerNewtons);
        make.left.equalTo(self.view).offset(BurstUpload.styleOrigins.factThousand);
        make.right.equalTo(self.view).offset(-BurstUpload.styleOrigins.factThousand);
        make.height.mas_equalTo(BurstUpload.styleOrigins.renewalFloat);
    }];
    [_rowButton addTarget:self action:@selector(execSeparatorRetriedSmallExtraAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *capSphereSum = [[UILabel alloc] init];
    capSphereSum.text = [NSString stringWithFormat:BurstUpload.styleOrigins.recoveredDirectorWatchFunnelStereoAdvance, WasDaysOptConfig.shared.roomShape.capSphereSum];
    capSphereSum.font = [UIFont systemFontOfSize:BurstUpload.styleOrigins.ignorePinCar weight:UIFontWeightLight];
    capSphereSum.textAlignment = NSTextAlignmentLeft;
    capSphereSum.textColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.magentaBody];
    [self.view addSubview:capSphereSum];
    [capSphereSum mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-BurstUpload.styleOrigins.keysLabeled);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *pushGolfView = [UIView new];
    pushGolfView.userInteractionEnabled = YES;
    pushGolfView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:pushGolfView];
    [pushGolfView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(BurstUpload.styleOrigins.cutMalayHigh, BurstUpload.styleOrigins.cutMalayHigh));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *dailyEastRootCloudyPush = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(primePagerIconHormoneIntervalInfo)];
    dailyEastRootCloudyPush.numberOfTapsRequired = BurstUpload.styleOrigins.smoothEight;
    [pushGolfView addGestureRecognizer:dailyEastRootCloudyPush];
    
    
    UIView *mixerTwoSmallReadBest = [UIView new];
    mixerTwoSmallReadBest.userInteractionEnabled = YES;
    mixerTwoSmallReadBest.backgroundColor = UIColor.clearColor;
    [self.view addSubview:mixerTwoSmallReadBest];
    [mixerTwoSmallReadBest mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(BurstUpload.styleOrigins.cutMalayHigh, BurstUpload.styleOrigins.cutMalayHigh));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *periodFillProxyTruncatesHeap = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(reportsSharpen)];
    periodFillProxyTruncatesHeap.numberOfTapsRequired = BurstUpload.styleOrigins.smoothEight;
    [mixerTwoSmallReadBest addGestureRecognizer:periodFillProxyTruncatesHeap];
    
    
}


- (UIButton *)sayDigitalPreventLibraryAppearsLawIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = BurstUpload.styleOrigins.edgaThreaded;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:BurstUpload.styleOrigins.edgaThreaded weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.manGlobalColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(BurstUpload.styleOrigins.areTeluguCap);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(BurstUpload.styleOrigins.ageChargeCup);
    }];
    
    
    UILabel *balticGrayLabel = [[UILabel alloc] init];
    balticGrayLabel.text = title;
    balticGrayLabel.font = [UIFont systemFontOfSize:BurstUpload.styleOrigins.idiomShuffle weight:UIFontWeightMedium];
    balticGrayLabel.textColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.coastAreFun];
    [button addSubview:balticGrayLabel];
    [balticGrayLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(BurstUpload.styleOrigins.areTeluguCap);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:BurstUpload.styleOrigins.idiomShuffle];
    subtitleLabel.textColor = [UIColor launchingCutoffRenewingDescenderRainResults:BurstUpload.styleOrigins.magentaBody];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-BurstUpload.styleOrigins.personResize);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)agentLoopGoalAction:(id)sender {
    NSString *fourSign = WasDaysOptConfig.shared.wasFetchVowelOptPlug.netResponder.product;
    if (fourSign.length > 0) {
        [self.releaseRandom convertQueueWaxSlideStairTruncateRestores:[NSString stringWithFormat:BurstUpload.styleOrigins.awayPerformedAdvisedCurlNewsstandFooters, fourSign]];
    } else {
        [ArmToast menuHex:BurstUpload.ejectPrimeHour.armTraveledPopTopHoverThe];
    }
}

- (void)forkDeepIcyIllAction:(id)sender {
    NSString *wideSolid = WasDaysOptConfig.shared.wasFetchVowelOptPlug.netResponder.roleClip;
    if (wideSolid.length > 0) {
        [self.releaseRandom convertQueueWaxSlideStairTruncateRestores:[NSString stringWithFormat:BurstUpload.styleOrigins.metabolicPinkTruncatesLawUnlimitedClients, wideSolid]];
    } else {
        [ArmToast menuHex:BurstUpload.ejectPrimeHour.itsDeveloperMapAdapterFinalizeLoss];
    }
}

- (void)execSeparatorRetriedSmallExtraAction:(id)sender {
    NSString *prologFail = WasDaysOptConfig.shared.wasFetchVowelOptPlug.netResponder.sexLocal;
    if (prologFail.length > 0) {
        [self.releaseRandom convertQueueWaxSlideStairTruncateRestores:prologFail];
    } else {
        [ArmToast menuHex:BurstUpload.ejectPrimeHour.hitAreAboutCentralsBlobFooters];
    }
}

- (void)primePagerIconHormoneIntervalInfo {
    ForwardNetViewController *packUnwrap = [ForwardNetViewController new];
    NSDictionary *arrowPicker = @{
        BurstUpload.styleOrigins.exactMolarAcrossNaturalExpansionAirline: [[NSBundle mainBundle] infoDictionary],
        BurstUpload.styleOrigins.successOddSameHueIndentConjugate: [WasDaysOptConfig.shared.paletteSiteInfo unsignedForkDict],
        BurstUpload.styleOrigins.partlyViabilityNodeCollisionArrangedRendered: [WasDaysOptConfig.shared.roomShape unsignedForkDict],
        BurstUpload.styleOrigins.hasMonotonicTransformProducerPermanentWrite: [WasDaysOptConfig.shared.grayAuthorsInfo unsignedForkDict],
        BurstUpload.styleOrigins.priorAmbienceStrategyRetrieveLogAtom: [WasDaysOptConfig.shared.wasFetchVowelOptPlug unsignedForkDict],
        BurstUpload.styleOrigins.objectVisitLibrariesFlexibleDidFeature: [WasDaysOptConfig.shared.categoryLaotianLowEitherOverage unsignedForkDict]
    };
    [packUnwrap postBadDryDidInfo:arrowPicker withTitle:@""];
    [self.navigationController pushViewController:packUnwrap animated:NO];
}

- (void)reportsSharpen {
    [UnifyViewController showFromViewController:self];
}
@end
