






#import "NearDueRetViewController.h"
#import "WasLettersViewController.h"
#import "HundredTagConfig.h"
#import "NSObject+RowModel.h"
#import "UIColor+AddColor.h"
#import "CatToast.h"
#import "VeryFlashFadeStrategyThin.h"
#import "UIButton+WebCache.h"

@interface NearDueRetViewController ()

@property (nonatomic, strong) UIImageView *prefixImageView;
@property (nonatomic, strong) UIButton *canButton;
@property (nonatomic, strong) UIButton *zipButton;
@property (nonatomic, strong) UIButton *eyeButton;

@end

@implementation NearDueRetViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor bleedAggregateDidCaretRecognizeStore:DistantEach.whoFrenchMin.nonceHybrid];
    
    
    UIView *manCaretEntitiesCreatingDefine = [[UIView alloc] init];
    manCaretEntitiesCreatingDefine.backgroundColor = [UIColor clearColor];
    [self.view addSubview:manCaretEntitiesCreatingDefine];
    
    
    _prefixImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:DistantEach.whoFrenchMin.pipeFlexible weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:DistantEach.whoFrenchMin.hitGatherButCoalesceFactorThatYears withConfiguration:config];
    _prefixImageView.image = headerImage;
    _prefixImageView.tintColor = [DistantEach tildePastColor];
    _prefixImageView.contentMode = UIViewContentModeScaleAspectFit;
    [manCaretEntitiesCreatingDefine addSubview:_prefixImageView];
    
    
    UILabel *showingMapLabel = [[UILabel alloc] init];
    showingMapLabel.text = DistantEach.earMayTopModel.curveCarNordicCervicalExportingPick;
    showingMapLabel.font = [UIFont boldSystemFontOfSize:DistantEach.whoFrenchMin.prefixesFire];
    showingMapLabel.textAlignment = NSTextAlignmentLeft;
    showingMapLabel.textColor = [UIColor bleedAggregateDidCaretRecognizeStore:DistantEach.whoFrenchMin.deletionAdd];
    [manCaretEntitiesCreatingDefine addSubview:showingMapLabel];
    
    
    [manCaretEntitiesCreatingDefine mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(DistantEach.whoFrenchMin.responderPop);
        make.centerX.equalTo(self.view).offset(-DistantEach.whoFrenchMin.endLeaseHit);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.addOwnCutter);
    }];
    
    
    [_prefixImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(manCaretEntitiesCreatingDefine);
        make.centerY.equalTo(manCaretEntitiesCreatingDefine);
        make.width.height.mas_equalTo(DistantEach.whoFrenchMin.addOwnCutter);
    }];
    
    [showingMapLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_prefixImageView.mas_right).offset(DistantEach.whoFrenchMin.loopsTypeRet);
        make.centerY.equalTo(manCaretEntitiesCreatingDefine);
        make.right.equalTo(manCaretEntitiesCreatingDefine);
    }];
    
    
    _canButton = [self exitsLegacyPubStripPenRetIcon:DistantEach.whoFrenchMin.capturesBandAskTwistBadmintonOfficial
                                                  title:DistantEach.earMayTopModel.printSquareWrapperBarsNegative
                                               subtitle:HundredTagConfig.shared.forwardVirtualActivatedShortNow.perfusionFat.snapHow];
    [self.view addSubview:_canButton];
    [_canButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(manCaretEntitiesCreatingDefine.mas_bottom).offset(DistantEach.whoFrenchMin.responderPop);
        make.left.equalTo(self.view).offset(DistantEach.whoFrenchMin.topFatChrome);
        make.right.equalTo(self.view).offset(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.addOwnCutter);
    }];
    [_canButton addTarget:self action:@selector(ownSlowHueFaxAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _zipButton = [self exitsLegacyPubStripPenRetIcon:DistantEach.whoFrenchMin.airborneSplatSpacingTowerAuditSignal
                                                   title:DistantEach.earMayTopModel.carAdvancedSpaceExtrinsicRight
                                                subtitle:HundredTagConfig.shared.forwardVirtualActivatedShortNow.perfusionFat.mayAcute];
    [self.view addSubview:_zipButton];
    [_zipButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_canButton.mas_bottom).offset(DistantEach.whoFrenchMin.azimuthStake);
        make.left.equalTo(self.view).offset(DistantEach.whoFrenchMin.topFatChrome);
        make.right.equalTo(self.view).offset(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.addOwnCutter);
    }];
    [_zipButton addTarget:self action:@selector(filePinkBedTabAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _eyeButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _eyeButton.layer.cornerRadius = DistantEach.whoFrenchMin.prefixesFire;
    _eyeButton.layer.masksToBounds = YES;
    
    NSString *kitCanImage = [DistantEach tabRenamingIndoorAppleResultingImage];
    if (kitCanImage) {
        [_eyeButton sd_setBackgroundImageWithURL:[NSURL URLWithString:kitCanImage] forState:UIControlStateNormal];
    } else {
        _eyeButton.backgroundColor = [UIColor bleedAggregateDidCaretRecognizeStore:DistantEach.whoFrenchMin.tildePastColor];
    }
    [_eyeButton setTitle:DistantEach.earMayTopModel.creatingRawHueEmptyMisplaced forState:UIControlStateNormal];
    [_eyeButton setTitleColor:[DistantEach orderingWaxColor] forState:UIControlStateNormal];
    _eyeButton.titleLabel.font = [UIFont systemFontOfSize:DistantEach.whoFrenchMin.responderPop weight:UIFontWeightMedium];
    UIImage *ourIcon = [UIImage systemImageNamed:DistantEach.whoFrenchMin.fillerWeightNineteenLowercaseObtainConverter];
    [_eyeButton setImage:ourIcon forState:UIControlStateNormal];
    _eyeButton.imageEdgeInsets = UIEdgeInsetsMake(0, -DistantEach.whoFrenchMin.scoreTriple, 0, 0);
    _eyeButton.titleEdgeInsets = UIEdgeInsetsMake(0, DistantEach.whoFrenchMin.scoreTriple, 0, 0);
    _eyeButton.tintColor = [DistantEach orderingWaxColor];
    [self.view addSubview:_eyeButton];
    [_eyeButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_zipButton.mas_bottom).offset(DistantEach.whoFrenchMin.azimuthStake);
        make.left.equalTo(self.view).offset(DistantEach.whoFrenchMin.topFatChrome);
        make.right.equalTo(self.view).offset(-DistantEach.whoFrenchMin.topFatChrome);
        make.height.mas_equalTo(DistantEach.whoFrenchMin.addOwnCutter);
    }];
    [_eyeButton addTarget:self action:@selector(learnedPersianKinLargerCardioidAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *certScrolled = [[UILabel alloc] init];
    certScrolled.text = [NSString stringWithFormat:DistantEach.whoFrenchMin.rebusExecutionTreeAirRequiringAgreement, HundredTagConfig.shared.fatRemove.certScrolled];
    certScrolled.font = [UIFont systemFontOfSize:DistantEach.whoFrenchMin.napDatumUsed weight:UIFontWeightLight];
    certScrolled.textAlignment = NSTextAlignmentLeft;
    certScrolled.textColor = [UIColor bleedAggregateDidCaretRecognizeStore:DistantEach.whoFrenchMin.notationOpt];
    [self.view addSubview:certScrolled];
    [certScrolled mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-DistantEach.whoFrenchMin.bitRealmSaw);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *faxBadgeView = [UIView new];
    faxBadgeView.userInteractionEnabled = YES;
    faxBadgeView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:faxBadgeView];
    [faxBadgeView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(DistantEach.whoFrenchMin.torchTheSolo, DistantEach.whoFrenchMin.torchTheSolo));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *disablesKernelExpectBorderMostly = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(privilegeOptimizeSunFiltersSurgeInfo)];
    disablesKernelExpectBorderMostly.numberOfTapsRequired = DistantEach.whoFrenchMin.endLeaseHit;
    [faxBadgeView addGestureRecognizer:disablesKernelExpectBorderMostly];
    
    
    UIView *badUkrainianPriorDueUnlocked = [UIView new];
    badUkrainianPriorDueUnlocked.userInteractionEnabled = YES;
    badUkrainianPriorDueUnlocked.backgroundColor = UIColor.clearColor;
    [self.view addSubview:badUkrainianPriorDueUnlocked];
    [badUkrainianPriorDueUnlocked mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(DistantEach.whoFrenchMin.torchTheSolo, DistantEach.whoFrenchMin.torchTheSolo));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *greekJabberSegueMaskVitality = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(loveChildStamp)];
    greekJabberSegueMaskVitality.numberOfTapsRequired = DistantEach.whoFrenchMin.endLeaseHit;
    [badUkrainianPriorDueUnlocked addGestureRecognizer:greekJabberSegueMaskVitality];
    
    
}


- (UIButton *)exitsLegacyPubStripPenRetIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = DistantEach.whoFrenchMin.prefixesFire;
    
    if ([DistantEach beforeDeliveredBreakBlockerShutterImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [DistantEach tildePastColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:DistantEach.whoFrenchMin.prefixesFire weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [DistantEach tildePastColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(DistantEach.whoFrenchMin.loopsTypeRet);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(DistantEach.whoFrenchMin.catPointEach);
    }];
    
    
    UILabel *showingMapLabel = [[UILabel alloc] init];
    showingMapLabel.text = title;
    showingMapLabel.font = [UIFont systemFontOfSize:DistantEach.whoFrenchMin.jobMapReason weight:UIFontWeightMedium];
    showingMapLabel.textColor = [UIColor bleedAggregateDidCaretRecognizeStore:DistantEach.whoFrenchMin.deletionAdd];
    [button addSubview:showingMapLabel];
    [showingMapLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(DistantEach.whoFrenchMin.loopsTypeRet);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:DistantEach.whoFrenchMin.jobMapReason];
    subtitleLabel.textColor = [DistantEach tildePastColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-DistantEach.whoFrenchMin.responderPop);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)ownSlowHueFaxAction:(id)sender {
    NSString *kitGrade = HundredTagConfig.shared.forwardVirtualActivatedShortNow.perfusionFat.snapHow;
    if (kitGrade.length > 0) {
        [self.passiveAuthor suggestedFetchSequencesCollectorTexturedPreventFocused:[NSString stringWithFormat:DistantEach.whoFrenchMin.clearedAbnormalIndexingUpdatingMenHelpers, kitGrade]];
    } else {
        [CatToast calcium:DistantEach.earMayTopModel.offReusableStoreStrictRopeRed];
    }
}

- (void)filePinkBedTabAction:(id)sender {
    NSString *affiliate = HundredTagConfig.shared.forwardVirtualActivatedShortNow.perfusionFat.mayAcute;
    if (affiliate.length > 0) {
        [self.passiveAuthor suggestedFetchSequencesCollectorTexturedPreventFocused:[NSString stringWithFormat:DistantEach.whoFrenchMin.preservedConnectedBypassMegawattsPublicVector, affiliate]];
    } else {
        [CatToast calcium:DistantEach.earMayTopModel.basalSeasonInvertedDeclineClimbingTap];
    }
}

- (void)learnedPersianKinLargerCardioidAction:(id)sender {
    NSString *outputAtom = HundredTagConfig.shared.forwardVirtualActivatedShortNow.perfusionFat.itsSheet;
    if (outputAtom.length > 0) {
        [self.passiveAuthor suggestedFetchSequencesCollectorTexturedPreventFocused:outputAtom];
    } else {
        [CatToast calcium:DistantEach.earMayTopModel.prototypeGenericsSecondsPeakWrappingProposal];
    }
}

- (void)privilegeOptimizeSunFiltersSurgeInfo {
    WasLettersViewController *carIllegal = [WasLettersViewController new];
    NSDictionary *flemishSize = @{
        DistantEach.whoFrenchMin.farQueryCommentsProposedEachBridged: [[NSBundle mainBundle] infoDictionary],
        DistantEach.whoFrenchMin.insulinCubicBayerOtherEscapeMale: [HundredTagConfig.shared.nominalNextInfo rotateGoldenDict],
        DistantEach.whoFrenchMin.farUploadedLikeInitiatedUnlockGrammar: [HundredTagConfig.shared.fatRemove rotateGoldenDict],
        DistantEach.whoFrenchMin.wayUnionAgeTrustedHourSplit: [HundredTagConfig.shared.adjustedYetInfo rotateGoldenDict],
        DistantEach.whoFrenchMin.areVectorArtNauticalMalayalamRatio: [HundredTagConfig.shared.forwardVirtualActivatedShortNow rotateGoldenDict],
        DistantEach.whoFrenchMin.yearContainerSameProcedureGoalHit: [HundredTagConfig.shared.kitSnowVibrancySwitchFind rotateGoldenDict]
    };
    [carIllegal loseSchedulerInfo:flemishSize withTitle:@""];
    [self.navigationController pushViewController:carIllegal animated:NO];
}

- (void)loveChildStamp {
    [AlongViewController showFromViewController:self];
}
@end
