






#import "OffPeakSixViewController.h"
#import "FixDryPoloViewController.h"
#import "CopticUnitConfig.h"
#import "NSObject+TryModel.h"
#import "UIColor+FarColor.h"
#import "CanToast.h"
#import "FunCreatingLabeledReturnEnd.h"
#import "UIButton+WebCache.h"

@interface OffPeakSixViewController ()

@property (nonatomic, strong) UIImageView *stringImageView;
@property (nonatomic, strong) UIButton *pubButton;
@property (nonatomic, strong) UIButton *eraButton;
@property (nonatomic, strong) UIButton *mapButton;

@end

@implementation OffPeakSixViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor bracketedGoldenSenderExpandedConsumerResize:PartialBest.mouseEarlier.stylusTouch];
    
    
    UIView *hitRopePermuteBikeFire = [[UIView alloc] init];
    hitRopePermuteBikeFire.backgroundColor = [UIColor clearColor];
    [self.view addSubview:hitRopePermuteBikeFire];
    
    
    _stringImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PartialBest.mouseEarlier.countTenSelf weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:PartialBest.mouseEarlier.dateScannedReverseDirectorMarqueeFarLearn withConfiguration:config];
    _stringImageView.image = headerImage;
    _stringImageView.tintColor = [PartialBest turnOtherColor];
    _stringImageView.contentMode = UIViewContentModeScaleAspectFit;
    [hitRopePermuteBikeFire addSubview:_stringImageView];
    
    
    UILabel *innerMilesLabel = [[UILabel alloc] init];
    innerMilesLabel.text = PartialBest.itsOneFlowEasy.addLongitudeReportedExcludedClusterBody;
    innerMilesLabel.font = [UIFont boldSystemFontOfSize:PartialBest.mouseEarlier.adjustsState];
    innerMilesLabel.textAlignment = NSTextAlignmentLeft;
    innerMilesLabel.textColor = [UIColor bracketedGoldenSenderExpandedConsumerResize:PartialBest.mouseEarlier.rearMusical];
    [hitRopePermuteBikeFire addSubview:innerMilesLabel];
    
    
    [hitRopePermuteBikeFire mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(PartialBest.mouseEarlier.barCutoffHow);
        make.centerX.equalTo(self.view).offset(-PartialBest.mouseEarlier.proxyTipNap);
        make.height.mas_equalTo(PartialBest.mouseEarlier.kitBeforeBit);
    }];
    
    
    [_stringImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(hitRopePermuteBikeFire);
        make.centerY.equalTo(hitRopePermuteBikeFire);
        make.width.height.mas_equalTo(PartialBest.mouseEarlier.kitBeforeBit);
    }];
    
    [innerMilesLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_stringImageView.mas_right).offset(PartialBest.mouseEarlier.nameBrushDry);
        make.centerY.equalTo(hitRopePermuteBikeFire);
        make.right.equalTo(hitRopePermuteBikeFire);
    }];
    
    
    _pubButton = [self exportedTaggerTooAudiencesRectifiedCubeIcon:PartialBest.mouseEarlier.redoDialogUnderlineScalingFlatForwards
                                                  title:PartialBest.itsOneFlowEasy.genericsElevationRunMetabolicMillion
                                               subtitle:CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer.drawClickDue.outcome];
    [self.view addSubview:_pubButton];
    [_pubButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(hitRopePermuteBikeFire.mas_bottom).offset(PartialBest.mouseEarlier.barCutoffHow);
        make.left.equalTo(self.view).offset(PartialBest.mouseEarlier.sameChinaHue);
        make.right.equalTo(self.view).offset(-PartialBest.mouseEarlier.sameChinaHue);
        make.height.mas_equalTo(PartialBest.mouseEarlier.kitBeforeBit);
    }];
    [_pubButton addTarget:self action:@selector(sonItsRatingsAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _eraButton = [self exportedTaggerTooAudiencesRectifiedCubeIcon:PartialBest.mouseEarlier.mailUnderageCursorExtractCoverInfer
                                                   title:PartialBest.itsOneFlowEasy.stormEventualResonantBaselineCollation
                                                subtitle:CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer.drawClickDue.oneDaily];
    [self.view addSubview:_eraButton];
    [_eraButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_pubButton.mas_bottom).offset(PartialBest.mouseEarlier.notWayWindow);
        make.left.equalTo(self.view).offset(PartialBest.mouseEarlier.sameChinaHue);
        make.right.equalTo(self.view).offset(-PartialBest.mouseEarlier.sameChinaHue);
        make.height.mas_equalTo(PartialBest.mouseEarlier.kitBeforeBit);
    }];
    [_eraButton addTarget:self action:@selector(insideTraverseAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _mapButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _mapButton.layer.cornerRadius = PartialBest.mouseEarlier.adjustsState;
    _mapButton.layer.masksToBounds = YES;
    
    NSString *waxSobImage = [PartialBest rootSeparatedPlayableLeaveQuotesImage];
    if (waxSobImage) {
        [_mapButton sd_setBackgroundImageWithURL:[NSURL URLWithString:waxSobImage] forState:UIControlStateNormal];
    } else {
        _mapButton.backgroundColor = [UIColor bracketedGoldenSenderExpandedConsumerResize:PartialBest.mouseEarlier.turnOtherColor];
    }
    [_mapButton setTitle:PartialBest.itsOneFlowEasy.beganOptionAppendedNorwegianHundreds forState:UIControlStateNormal];
    [_mapButton setTitleColor:[PartialBest quietTorqueColor] forState:UIControlStateNormal];
    _mapButton.titleLabel.font = [UIFont systemFontOfSize:PartialBest.mouseEarlier.barCutoffHow weight:UIFontWeightMedium];
    UIImage *penIcon = [UIImage systemImageNamed:PartialBest.mouseEarlier.rangingWordTerabytesSiblingsRomanianHyphen];
    [_mapButton setImage:penIcon forState:UIControlStateNormal];
    _mapButton.imageEdgeInsets = UIEdgeInsetsMake(0, -PartialBest.mouseEarlier.stickyVideo, 0, 0);
    _mapButton.titleEdgeInsets = UIEdgeInsetsMake(0, PartialBest.mouseEarlier.stickyVideo, 0, 0);
    _mapButton.tintColor = [PartialBest quietTorqueColor];
    [self.view addSubview:_mapButton];
    [_mapButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_eraButton.mas_bottom).offset(PartialBest.mouseEarlier.notWayWindow);
        make.left.equalTo(self.view).offset(PartialBest.mouseEarlier.sameChinaHue);
        make.right.equalTo(self.view).offset(-PartialBest.mouseEarlier.sameChinaHue);
        make.height.mas_equalTo(PartialBest.mouseEarlier.kitBeforeBit);
    }];
    [_mapButton addTarget:self action:@selector(lookRootSortingDryBeganAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *showSpecific = [[UILabel alloc] init];
    showSpecific.text = [NSString stringWithFormat:PartialBest.mouseEarlier.reduceBoldExclusionMaxComposeEgg, CopticUnitConfig.shared.holdCanon.showSpecific];
    showSpecific.font = [UIFont systemFontOfSize:PartialBest.mouseEarlier.succeededRed weight:UIFontWeightLight];
    showSpecific.textAlignment = NSTextAlignmentLeft;
    showSpecific.textColor = [UIColor bracketedGoldenSenderExpandedConsumerResize:PartialBest.mouseEarlier.seasonBasic];
    [self.view addSubview:showSpecific];
    [showSpecific mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-PartialBest.mouseEarlier.tokenHexAny);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *miterTagView = [UIView new];
    miterTagView.userInteractionEnabled = YES;
    miterTagView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:miterTagView];
    [miterTagView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PartialBest.mouseEarlier.waxElderLess, PartialBest.mouseEarlier.waxElderLess));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *earlyFadeExtraPlaybackOuter = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dustEligibleSpaTooArtInfo)];
    earlyFadeExtraPlaybackOuter.numberOfTapsRequired = PartialBest.mouseEarlier.proxyTipNap;
    [miterTagView addGestureRecognizer:earlyFadeExtraPlaybackOuter];
    
    
    UIView *warpAudienceMegahertzSymbolDirect = [UIView new];
    warpAudienceMegahertzSymbolDirect.userInteractionEnabled = YES;
    warpAudienceMegahertzSymbolDirect.backgroundColor = UIColor.clearColor;
    [self.view addSubview:warpAudienceMegahertzSymbolDirect];
    [warpAudienceMegahertzSymbolDirect mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PartialBest.mouseEarlier.waxElderLess, PartialBest.mouseEarlier.waxElderLess));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *sentencesTapJobBrowsingPeople = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(rationalSpeech)];
    sentencesTapJobBrowsingPeople.numberOfTapsRequired = PartialBest.mouseEarlier.proxyTipNap;
    [warpAudienceMegahertzSymbolDirect addGestureRecognizer:sentencesTapJobBrowsingPeople];
    
    
}


- (UIButton *)exportedTaggerTooAudiencesRectifiedCubeIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = PartialBest.mouseEarlier.adjustsState;
    
    if ([PartialBest socialForRenewalRainRetImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [PartialBest turnOtherColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PartialBest.mouseEarlier.adjustsState weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [PartialBest turnOtherColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(PartialBest.mouseEarlier.nameBrushDry);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(PartialBest.mouseEarlier.barSceneEasy);
    }];
    
    
    UILabel *innerMilesLabel = [[UILabel alloc] init];
    innerMilesLabel.text = title;
    innerMilesLabel.font = [UIFont systemFontOfSize:PartialBest.mouseEarlier.outSocketMix weight:UIFontWeightMedium];
    innerMilesLabel.textColor = [UIColor bracketedGoldenSenderExpandedConsumerResize:PartialBest.mouseEarlier.rearMusical];
    [button addSubview:innerMilesLabel];
    [innerMilesLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(PartialBest.mouseEarlier.nameBrushDry);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:PartialBest.mouseEarlier.outSocketMix];
    subtitleLabel.textColor = [PartialBest turnOtherColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-PartialBest.mouseEarlier.barCutoffHow);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)sonItsRatingsAction:(id)sender {
    NSString *whileBar = CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer.drawClickDue.outcome;
    if (whileBar.length > 0) {
        [self.blueOffWaxSee purchasedItemDictationTailDayFunTower:[NSString stringWithFormat:PartialBest.mouseEarlier.forMidStyleIntersectAnchoringAccessing, whileBar]];
    } else {
        [CanToast endTemp:PartialBest.itsOneFlowEasy.takeNibblesNearDismissAdjustPartner];
    }
}

- (void)insideTraverseAction:(id)sender {
    NSString *monitored = CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer.drawClickDue.oneDaily;
    if (monitored.length > 0) {
        [self.blueOffWaxSee purchasedItemDictationTailDayFunTower:[NSString stringWithFormat:PartialBest.mouseEarlier.actionsChromaticFractionFilteredAcceptCalcium, monitored]];
    } else {
        [CanToast endTemp:PartialBest.itsOneFlowEasy.clangFiveStreamHoursAtomWide];
    }
}

- (void)lookRootSortingDryBeganAction:(id)sender {
    NSString *binaryFree = CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer.drawClickDue.serifEnd;
    if (binaryFree.length > 0) {
        [self.blueOffWaxSee purchasedItemDictationTailDayFunTower:binaryFree];
    } else {
        [CanToast endTemp:PartialBest.itsOneFlowEasy.purposeAwakePressureBarsFifteenBlend];
    }
}

- (void)dustEligibleSpaTooArtInfo {
    FixDryPoloViewController *userStreet = [FixDryPoloViewController new];
    NSDictionary *lowRuleSolo = @{
        PartialBest.mouseEarlier.gopherAreaInvertedAspectParserSpectral: [[NSBundle mainBundle] infoDictionary],
        PartialBest.mouseEarlier.loadReportsStayFoundSentinelSub: [CopticUnitConfig.shared.backBusDragInfo optimizePlusDict],
        PartialBest.mouseEarlier.gatewaysDesignConvertedAdvancesCapturingBad: [CopticUnitConfig.shared.holdCanon optimizePlusDict],
        PartialBest.mouseEarlier.threadElapsedFlightWelshBufferingProgress: [CopticUnitConfig.shared.hitFunLoopsInfo optimizePlusDict],
        PartialBest.mouseEarlier.multipleStackCatalystFigureLegibleChecked: [CopticUnitConfig.shared.gatheringShortcutsHumanCancelledEngineer optimizePlusDict],
        PartialBest.mouseEarlier.shadowBoldOrderSpaceDirtyMessaging: [CopticUnitConfig.shared.guideVersionsMakeMajorTranslate optimizePlusDict]
    };
    [userStreet optDogPoolSumInfo:lowRuleSolo withTitle:@""];
    [self.navigationController pushViewController:userStreet animated:NO];
}

- (void)rationalSpeech {
    [MediaViewController showFromViewController:self];
}
@end
