






#import "NineOddBagViewController.h"
#import "DeclineTwoViewController.h"
#import "BagSpecifyConfig.h"
#import "NSObject+DryModel.h"
#import "UIColor+YouColor.h"
#import "KeyToast.h"
#import "OffsetsDescribeThumbnailPencilAltitude.h"
#import "UIButton+WebCache.h"

@interface NineOddBagViewController ()

@property (nonatomic, strong) UIImageView *allMapImageView;
@property (nonatomic, strong) UIButton *manButton;
@property (nonatomic, strong) UIButton *ourButton;
@property (nonatomic, strong) UIButton *andButton;

@end

@implementation NineOddBagViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor reclaimReplacedNeverFarExpectedEnds:MouthOunces.logTwelveEnd.howDuePhone];
    
    
    UIView *paperStrictlyTaggerAlpineCycling = [[UIView alloc] init];
    paperStrictlyTaggerAlpineCycling.backgroundColor = [UIColor clearColor];
    [self.view addSubview:paperStrictlyTaggerAlpineCycling];
    
    
    _allMapImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:MouthOunces.logTwelveEnd.soloistRaise weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:MouthOunces.logTwelveEnd.homeUnwindIndexAreSpokenOverOrigin withConfiguration:config];
    _allMapImageView.image = headerImage;
    _allMapImageView.tintColor = [MouthOunces syntheticColor];
    _allMapImageView.contentMode = UIViewContentModeScaleAspectFit;
    [paperStrictlyTaggerAlpineCycling addSubview:_allMapImageView];
    
    
    UILabel *driveMediaLabel = [[UILabel alloc] init];
    driveMediaLabel.text = MouthOunces.chatRingCharge.additionSendEyeEyeSuccessSpine;
    driveMediaLabel.font = [UIFont boldSystemFontOfSize:MouthOunces.logTwelveEnd.solidNominal];
    driveMediaLabel.textAlignment = NSTextAlignmentLeft;
    driveMediaLabel.textColor = [UIColor reclaimReplacedNeverFarExpectedEnds:MouthOunces.logTwelveEnd.maskCorners];
    [paperStrictlyTaggerAlpineCycling addSubview:driveMediaLabel];
    
    
    [paperStrictlyTaggerAlpineCycling mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(MouthOunces.logTwelveEnd.greenHangAsk);
        make.centerX.equalTo(self.view).offset(-MouthOunces.logTwelveEnd.mostlyCover);
        make.height.mas_equalTo(MouthOunces.logTwelveEnd.editTryBlock);
    }];
    
    
    [_allMapImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(paperStrictlyTaggerAlpineCycling);
        make.centerY.equalTo(paperStrictlyTaggerAlpineCycling);
        make.width.height.mas_equalTo(MouthOunces.logTwelveEnd.editTryBlock);
    }];
    
    [driveMediaLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_allMapImageView.mas_right).offset(MouthOunces.logTwelveEnd.oldBandUnify);
        make.centerY.equalTo(paperStrictlyTaggerAlpineCycling);
        make.right.equalTo(paperStrictlyTaggerAlpineCycling);
    }];
    
    
    _manButton = [self qualityGaelicCycleDiscardMinuteMessageIcon:MouthOunces.logTwelveEnd.callbackKitTrashPrintTrackFade
                                                  title:MouthOunces.chatRingCharge.boundaryContainedBelowPullMasters
                                               subtitle:BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters.oxygenSeeAnd.getAuto];
    [self.view addSubview:_manButton];
    [_manButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(paperStrictlyTaggerAlpineCycling.mas_bottom).offset(MouthOunces.logTwelveEnd.greenHangAsk);
        make.left.equalTo(self.view).offset(MouthOunces.logTwelveEnd.privacyNorth);
        make.right.equalTo(self.view).offset(-MouthOunces.logTwelveEnd.privacyNorth);
        make.height.mas_equalTo(MouthOunces.logTwelveEnd.editTryBlock);
    }];
    [_manButton addTarget:self action:@selector(synthesisFindAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _ourButton = [self qualityGaelicCycleDiscardMinuteMessageIcon:MouthOunces.logTwelveEnd.quickEventRunServiceIntersectJump
                                                   title:MouthOunces.chatRingCharge.primeAltimeterTenNetBroadcast
                                                subtitle:BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters.oxygenSeeAnd.tenAlien];
    [self.view addSubview:_ourButton];
    [_ourButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_manButton.mas_bottom).offset(MouthOunces.logTwelveEnd.penBitChange);
        make.left.equalTo(self.view).offset(MouthOunces.logTwelveEnd.privacyNorth);
        make.right.equalTo(self.view).offset(-MouthOunces.logTwelveEnd.privacyNorth);
        make.height.mas_equalTo(MouthOunces.logTwelveEnd.editTryBlock);
    }];
    [_ourButton addTarget:self action:@selector(coverRemainderAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _andButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _andButton.layer.cornerRadius = MouthOunces.logTwelveEnd.solidNominal;
    _andButton.layer.masksToBounds = YES;
    
    NSString *arabicImage = [MouthOunces joinFriendsJobLookSecurityImage];
    if (arabicImage) {
        [_andButton sd_setBackgroundImageWithURL:[NSURL URLWithString:arabicImage] forState:UIControlStateNormal];
    } else {
        _andButton.backgroundColor = [UIColor reclaimReplacedNeverFarExpectedEnds:MouthOunces.logTwelveEnd.syntheticColor];
    }
    [_andButton setTitle:MouthOunces.chatRingCharge.sunSlantOutputsFunPolicy forState:UIControlStateNormal];
    [_andButton setTitleColor:[MouthOunces numericLiftColor] forState:UIControlStateNormal];
    _andButton.titleLabel.font = [UIFont systemFontOfSize:MouthOunces.logTwelveEnd.greenHangAsk weight:UIFontWeightMedium];
    UIImage *logIcon = [UIImage systemImageNamed:MouthOunces.logTwelveEnd.paragraphSignalingIntentClosestGallonCredit];
    [_andButton setImage:logIcon forState:UIControlStateNormal];
    _andButton.imageEdgeInsets = UIEdgeInsetsMake(0, -MouthOunces.logTwelveEnd.assignTrash, 0, 0);
    _andButton.titleEdgeInsets = UIEdgeInsetsMake(0, MouthOunces.logTwelveEnd.assignTrash, 0, 0);
    _andButton.tintColor = [MouthOunces numericLiftColor];
    [self.view addSubview:_andButton];
    [_andButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_ourButton.mas_bottom).offset(MouthOunces.logTwelveEnd.penBitChange);
        make.left.equalTo(self.view).offset(MouthOunces.logTwelveEnd.privacyNorth);
        make.right.equalTo(self.view).offset(-MouthOunces.logTwelveEnd.privacyNorth);
        make.height.mas_equalTo(MouthOunces.logTwelveEnd.editTryBlock);
    }];
    [_andButton addTarget:self action:@selector(replacedUppercaseBirthCatalanLenientAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *bagLargerAnd = [[UILabel alloc] init];
    bagLargerAnd.text = [NSString stringWithFormat:MouthOunces.logTwelveEnd.futureSymptomMandatorySensitiveDecoderLike, BagSpecifyConfig.shared.bitDesign.bagLargerAnd];
    bagLargerAnd.font = [UIFont systemFontOfSize:MouthOunces.logTwelveEnd.swedishValue weight:UIFontWeightLight];
    bagLargerAnd.textAlignment = NSTextAlignmentLeft;
    bagLargerAnd.textColor = [UIColor reclaimReplacedNeverFarExpectedEnds:MouthOunces.logTwelveEnd.offTapMalay];
    [self.view addSubview:bagLargerAnd];
    [bagLargerAnd mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-MouthOunces.logTwelveEnd.pinkEyeKeys);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *butBasalView = [UIView new];
    butBasalView.userInteractionEnabled = YES;
    butBasalView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:butBasalView];
    [butBasalView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(MouthOunces.logTwelveEnd.kilowattsArt, MouthOunces.logTwelveEnd.kilowattsArt));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *sheSwashesPubElevationAffiliate = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(oxygenEndpointsRotorWaySoftnessInfo)];
    sheSwashesPubElevationAffiliate.numberOfTapsRequired = MouthOunces.logTwelveEnd.mostlyCover;
    [butBasalView addGestureRecognizer:sheSwashesPubElevationAffiliate];
    
    
    UIView *potassiumAggregateConverterSwahiliSparse = [UIView new];
    potassiumAggregateConverterSwahiliSparse.userInteractionEnabled = YES;
    potassiumAggregateConverterSwahiliSparse.backgroundColor = UIColor.clearColor;
    [self.view addSubview:potassiumAggregateConverterSwahiliSparse];
    [potassiumAggregateConverterSwahiliSparse mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(MouthOunces.logTwelveEnd.kilowattsArt, MouthOunces.logTwelveEnd.kilowattsArt));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *processorToolBecomeBookmarkExist = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(subOffGolfHigh)];
    processorToolBecomeBookmarkExist.numberOfTapsRequired = MouthOunces.logTwelveEnd.mostlyCover;
    [potassiumAggregateConverterSwahiliSparse addGestureRecognizer:processorToolBecomeBookmarkExist];
    
    
}


- (UIButton *)qualityGaelicCycleDiscardMinuteMessageIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = MouthOunces.logTwelveEnd.solidNominal;
    
    if ([MouthOunces anyMenGoalKerningHandoverImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [MouthOunces syntheticColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:MouthOunces.logTwelveEnd.solidNominal weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [MouthOunces syntheticColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(MouthOunces.logTwelveEnd.oldBandUnify);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(MouthOunces.logTwelveEnd.lookTheInfer);
    }];
    
    
    UILabel *driveMediaLabel = [[UILabel alloc] init];
    driveMediaLabel.text = title;
    driveMediaLabel.font = [UIFont systemFontOfSize:MouthOunces.logTwelveEnd.findAreTrait weight:UIFontWeightMedium];
    driveMediaLabel.textColor = [UIColor reclaimReplacedNeverFarExpectedEnds:MouthOunces.logTwelveEnd.maskCorners];
    [button addSubview:driveMediaLabel];
    [driveMediaLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(MouthOunces.logTwelveEnd.oldBandUnify);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:MouthOunces.logTwelveEnd.findAreTrait];
    subtitleLabel.textColor = [MouthOunces syntheticColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-MouthOunces.logTwelveEnd.greenHangAsk);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)synthesisFindAction:(id)sender {
    NSString *shortPop = BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters.oxygenSeeAnd.getAuto;
    if (shortPop.length > 0) {
        [self.exerciseThumb rotorWonQualityMileConnectedRawAnd:[NSString stringWithFormat:MouthOunces.logTwelveEnd.pulseStoodMarginHairDutchBrother, shortPop]];
    } else {
        [KeyToast canSeek:MouthOunces.chatRingCharge.uplinkMastersMixTeaspoonsLaterMalformed];
    }
}

- (void)coverRemainderAction:(id)sender {
    NSString *insideToo = BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters.oxygenSeeAnd.tenAlien;
    if (insideToo.length > 0) {
        [self.exerciseThumb rotorWonQualityMileConnectedRawAnd:[NSString stringWithFormat:MouthOunces.logTwelveEnd.uniqueSquashValidatesParallelOddOrdered, insideToo]];
    } else {
        [KeyToast canSeek:MouthOunces.chatRingCharge.markBoundRemovableMisplacedScalingOutput];
    }
}

- (void)replacedUppercaseBirthCatalanLenientAction:(id)sender {
    NSString *howCupFlag = BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters.oxygenSeeAnd.bloodWho;
    if (howCupFlag.length > 0) {
        [self.exerciseThumb rotorWonQualityMileConnectedRawAnd:howCupFlag];
    } else {
        [KeyToast canSeek:MouthOunces.chatRingCharge.hoursExactnessFarMutationsPrepEdit];
    }
}

- (void)oxygenEndpointsRotorWaySoftnessInfo {
    DeclineTwoViewController *mapSignToo = [DeclineTwoViewController new];
    NSDictionary *attachedOdd = @{
        MouthOunces.logTwelveEnd.bandwidthBookPrintableNegativeOtherContent: [[NSBundle mainBundle] infoDictionary],
        MouthOunces.logTwelveEnd.ambiguousToneHeadTemporaryRedoneMusical: [BagSpecifyConfig.shared.subEmptyOptInfo followJobBigDict],
        MouthOunces.logTwelveEnd.localizedPrecisionUptimeNapMicroPanorama: [BagSpecifyConfig.shared.bitDesign followJobBigDict],
        MouthOunces.logTwelveEnd.bridgeLoudHelloPatternsReusableBrother: [BagSpecifyConfig.shared.keepArtSizeInfo followJobBigDict],
        MouthOunces.logTwelveEnd.concertNumberVitalHasCenteringDimension: [BagSpecifyConfig.shared.estimatedStartupCitySubfamilyCenters followJobBigDict],
        MouthOunces.logTwelveEnd.manStreamsWorkspaceOurFunctionsBaseball: [BagSpecifyConfig.shared.italicsAbsentFootballAscenderSource followJobBigDict]
    };
    [mapSignToo focalFeetKeysInfo:attachedOdd withTitle:@""];
    [self.navigationController pushViewController:mapSignToo animated:NO];
}

- (void)subOffGolfHigh {
    [AloneViewController showFromViewController:self];
}
@end
