






#import "PlanarUsesViewController.h"
#import "BeenHybridViewController.h"
#import "ExposeBeatConfig.h"
#import "NSObject+SheModel.h"
#import "UIColor+ZipColor.h"
#import "SinToast.h"
#import "AdvancedUnderArtsDomainMen.h"
#import "UIButton+WebCache.h"

@interface PlanarUsesViewController ()

@property (nonatomic, strong) UIImageView *shadowImageView;
@property (nonatomic, strong) UIButton *wetButton;
@property (nonatomic, strong) UIButton *youButton;
@property (nonatomic, strong) UIButton *penButton;

@end

@implementation PlanarUsesViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor legibleScrollCancelledBusSquareClose:PintResting.findClickCat.waistRecord];
    
    
    UIView *imageCollectorRemovableOverflowAdverb = [[UIView alloc] init];
    imageCollectorRemovableOverflowAdverb.backgroundColor = [UIColor clearColor];
    [self.view addSubview:imageCollectorRemovableOverflowAdverb];
    
    
    _shadowImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PintResting.findClickCat.advanceValue weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:PintResting.findClickCat.leaveFaxSmoothedSolidStoodSubPlaying withConfiguration:config];
    _shadowImageView.image = headerImage;
    _shadowImageView.tintColor = [PintResting armHelperColor];
    _shadowImageView.contentMode = UIViewContentModeScaleAspectFit;
    [imageCollectorRemovableOverflowAdverb addSubview:_shadowImageView];
    
    
    UILabel *spaBinHostLabel = [[UILabel alloc] init];
    spaBinHostLabel.text = PintResting.exposeLeapAuto.orderingUsesParsingUnsignedAddNordic;
    spaBinHostLabel.font = [UIFont boldSystemFontOfSize:PintResting.findClickCat.wateryReview];
    spaBinHostLabel.textAlignment = NSTextAlignmentLeft;
    spaBinHostLabel.textColor = [UIColor legibleScrollCancelledBusSquareClose:PintResting.findClickCat.sayLessClip];
    [imageCollectorRemovableOverflowAdverb addSubview:spaBinHostLabel];
    
    
    [imageCollectorRemovableOverflowAdverb mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(PintResting.findClickCat.bitParentHex);
        make.centerX.equalTo(self.view).offset(-PintResting.findClickCat.pieceSearch);
        make.height.mas_equalTo(PintResting.findClickCat.trapGranting);
    }];
    
    
    [_shadowImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(imageCollectorRemovableOverflowAdverb);
        make.centerY.equalTo(imageCollectorRemovableOverflowAdverb);
        make.width.height.mas_equalTo(PintResting.findClickCat.trapGranting);
    }];
    
    [spaBinHostLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_shadowImageView.mas_right).offset(PintResting.findClickCat.askSegmented);
        make.centerY.equalTo(imageCollectorRemovableOverflowAdverb);
        make.right.equalTo(imageCollectorRemovableOverflowAdverb);
    }];
    
    
    _wetButton = [self incorrectAllocatedWatchPriorityMaskUnloadIcon:PintResting.findClickCat.playingOuncesTurnNearestWithinAudible
                                                  title:PintResting.exposeLeapAuto.deferringIndexGurationNeedExpose
                                               subtitle:ExposeBeatConfig.shared.siteRarePackMeanCatalyst.googleOutBad.hairUse];
    [self.view addSubview:_wetButton];
    [_wetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(imageCollectorRemovableOverflowAdverb.mas_bottom).offset(PintResting.findClickCat.bitParentHex);
        make.left.equalTo(self.view).offset(PintResting.findClickCat.redSeasonFax);
        make.right.equalTo(self.view).offset(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.trapGranting);
    }];
    [_wetButton addTarget:self action:@selector(maxMenSymptomAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _youButton = [self incorrectAllocatedWatchPriorityMaskUnloadIcon:PintResting.findClickCat.ownerLogoFilterSnowSexEarly
                                                   title:PintResting.exposeLeapAuto.catStickyBodyBeginningSeparated
                                                subtitle:ExposeBeatConfig.shared.siteRarePackMeanCatalyst.googleOutBad.fontFlow];
    [self.view addSubview:_youButton];
    [_youButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_wetButton.mas_bottom).offset(PintResting.findClickCat.criteriaFont);
        make.left.equalTo(self.view).offset(PintResting.findClickCat.redSeasonFax);
        make.right.equalTo(self.view).offset(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.trapGranting);
    }];
    [_youButton addTarget:self action:@selector(unionDetachingAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _penButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _penButton.layer.cornerRadius = PintResting.findClickCat.wateryReview;
    _penButton.layer.masksToBounds = YES;
    
    NSString *boxAirImage = [PintResting productMillAcceptSmallestDiscountsImage];
    if (boxAirImage) {
        [_penButton sd_setBackgroundImageWithURL:[NSURL URLWithString:boxAirImage] forState:UIControlStateNormal];
    } else {
        _penButton.backgroundColor = [UIColor legibleScrollCancelledBusSquareClose:PintResting.findClickCat.armHelperColor];
    }
    [_penButton setTitle:PintResting.exposeLeapAuto.discoverVisionNumberGeorgianHue forState:UIControlStateNormal];
    [_penButton setTitleColor:[PintResting briefHitArtColor] forState:UIControlStateNormal];
    _penButton.titleLabel.font = [UIFont systemFontOfSize:PintResting.findClickCat.bitParentHex weight:UIFontWeightMedium];
    UIImage *howIcon = [UIImage systemImageNamed:PintResting.findClickCat.mergePressesFullSafeWindowsPath];
    [_penButton setImage:howIcon forState:UIControlStateNormal];
    _penButton.imageEdgeInsets = UIEdgeInsetsMake(0, -PintResting.findClickCat.airCapsSign, 0, 0);
    _penButton.titleEdgeInsets = UIEdgeInsetsMake(0, PintResting.findClickCat.airCapsSign, 0, 0);
    _penButton.tintColor = [PintResting briefHitArtColor];
    [self.view addSubview:_penButton];
    [_penButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_youButton.mas_bottom).offset(PintResting.findClickCat.criteriaFont);
        make.left.equalTo(self.view).offset(PintResting.findClickCat.redSeasonFax);
        make.right.equalTo(self.view).offset(-PintResting.findClickCat.redSeasonFax);
        make.height.mas_equalTo(PintResting.findClickCat.trapGranting);
    }];
    [_penButton addTarget:self action:@selector(visionEggHitDeltaJapaneseAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *retGoogleAir = [[UILabel alloc] init];
    retGoogleAir.text = [NSString stringWithFormat:PintResting.findClickCat.weeklyComposeEllipseBarSwahiliInteger, ExposeBeatConfig.shared.weightHis.retGoogleAir];
    retGoogleAir.font = [UIFont systemFontOfSize:PintResting.findClickCat.weekBlendTap weight:UIFontWeightLight];
    retGoogleAir.textAlignment = NSTextAlignmentLeft;
    retGoogleAir.textColor = [UIColor legibleScrollCancelledBusSquareClose:PintResting.findClickCat.blendModern];
    [self.view addSubview:retGoogleAir];
    [retGoogleAir mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-PintResting.findClickCat.overdueInfo);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *keyEmptyView = [UIView new];
    keyEmptyView.userInteractionEnabled = YES;
    keyEmptyView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:keyEmptyView];
    [keyEmptyView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PintResting.findClickCat.artThousands, PintResting.findClickCat.artThousands));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *trackIdentifySwapPubName = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(doubleExecutingStoppedCleanupProvidersInfo)];
    trackIdentifySwapPubName.numberOfTapsRequired = PintResting.findClickCat.pieceSearch;
    [keyEmptyView addGestureRecognizer:trackIdentifySwapPubName];
    
    
    UIView *capEphemeralKeyEnumerateFinishing = [UIView new];
    capEphemeralKeyEnumerateFinishing.userInteractionEnabled = YES;
    capEphemeralKeyEnumerateFinishing.backgroundColor = UIColor.clearColor;
    [self.view addSubview:capEphemeralKeyEnumerateFinishing];
    [capEphemeralKeyEnumerateFinishing mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PintResting.findClickCat.artThousands, PintResting.findClickCat.artThousands));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *forNetFourthExpireHue = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(netEndTipPiece)];
    forNetFourthExpireHue.numberOfTapsRequired = PintResting.findClickCat.pieceSearch;
    [capEphemeralKeyEnumerateFinishing addGestureRecognizer:forNetFourthExpireHue];
    
    
}


- (UIButton *)incorrectAllocatedWatchPriorityMaskUnloadIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = PintResting.findClickCat.wateryReview;
    
    if ([PintResting pinDeliverInuitHyphenRemainderImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [PintResting armHelperColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PintResting.findClickCat.wateryReview weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [PintResting armHelperColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(PintResting.findClickCat.askSegmented);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(PintResting.findClickCat.tomorrowCase);
    }];
    
    
    UILabel *spaBinHostLabel = [[UILabel alloc] init];
    spaBinHostLabel.text = title;
    spaBinHostLabel.font = [UIFont systemFontOfSize:PintResting.findClickCat.putDiastolic weight:UIFontWeightMedium];
    spaBinHostLabel.textColor = [UIColor legibleScrollCancelledBusSquareClose:PintResting.findClickCat.sayLessClip];
    [button addSubview:spaBinHostLabel];
    [spaBinHostLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(PintResting.findClickCat.askSegmented);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:PintResting.findClickCat.putDiastolic];
    subtitleLabel.textColor = [PintResting armHelperColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-PintResting.findClickCat.bitParentHex);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)maxMenSymptomAction:(id)sender {
    NSString *eulerHis = ExposeBeatConfig.shared.siteRarePackMeanCatalyst.googleOutBad.hairUse;
    if (eulerHis.length > 0) {
        [self.costWasArtMid seedHangBendEnteredMayHisPrefers:[NSString stringWithFormat:PintResting.findClickCat.thousandReturningCompareThousandsPaceIntents, eulerHis]];
    } else {
        [SinToast easyLow:PintResting.exposeLeapAuto.maleDroppedSortingPutAbsentUnsafe];
    }
}

- (void)unionDetachingAction:(id)sender {
    NSString *quotation = ExposeBeatConfig.shared.siteRarePackMeanCatalyst.googleOutBad.fontFlow;
    if (quotation.length > 0) {
        [self.costWasArtMid seedHangBendEnteredMayHisPrefers:[NSString stringWithFormat:PintResting.findClickCat.looperSurfacePlaceLongSuspendedCap, quotation]];
    } else {
        [SinToast easyLow:PintResting.exposeLeapAuto.menuMisplacedBondHitRawPrice];
    }
}

- (void)visionEggHitDeltaJapaneseAction:(id)sender {
    NSString *freeStride = ExposeBeatConfig.shared.siteRarePackMeanCatalyst.googleOutBad.flushKin;
    if (freeStride.length > 0) {
        [self.costWasArtMid seedHangBendEnteredMayHisPrefers:freeStride];
    } else {
        [SinToast easyLow:PintResting.exposeLeapAuto.specialMountedTagChromaticWorkspaceSticky];
    }
}

- (void)doubleExecutingStoppedCleanupProvidersInfo {
    BeenHybridViewController *wristLower = [BeenHybridViewController new];
    NSDictionary *dailyPinSon = @{
        PintResting.findClickCat.substringMenDownhillCreditMeanBiometry: [[NSBundle mainBundle] infoDictionary],
        PintResting.findClickCat.speedParallelKilobitsRowInferiorsWarp: [ExposeBeatConfig.shared.masterErrorInfo andGrayAliveDict],
        PintResting.findClickCat.servicePutOperandDutchLayoutPoster: [ExposeBeatConfig.shared.weightHis andGrayAliveDict],
        PintResting.findClickCat.policyPrintCyrillicRedRomanianPage: [ExposeBeatConfig.shared.eyeSamePostInfo andGrayAliveDict],
        PintResting.findClickCat.zipChromePrinterCatCharArts: [ExposeBeatConfig.shared.siteRarePackMeanCatalyst andGrayAliveDict],
        PintResting.findClickCat.toolCustomSumPortalEngineerPalette: [ExposeBeatConfig.shared.databaseRemovalObserveMethodTop andGrayAliveDict]
    };
    [wristLower songTwistAwayInfo:dailyPinSon withTitle:@""];
    [self.navigationController pushViewController:wristLower animated:NO];
}

- (void)netEndTipPiece {
    [TrustViewController showFromViewController:self];
}
@end
