






#import "SevenOceanViewController.h"
#import "BedPongBigViewController.h"
#import "CubePosterConfig.h"
#import "NSObject+OwnModel.h"
#import "UIColor+HerColor.h"
#import "IllToast.h"
#import "BeganInsteadOriginAppearingZip.h"
#import "UIButton+WebCache.h"

@interface SevenOceanViewController ()

@property (nonatomic, strong) UIImageView *tenRowImageView;
@property (nonatomic, strong) UIButton *yetButton;
@property (nonatomic, strong) UIButton *oddButton;
@property (nonatomic, strong) UIButton *twoButton;

@end

@implementation SevenOceanViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor portalLegalFiveRectifiedAnswerRepeat:RedFlexible.capContinued.shuffleFilm];
    
    
    UIView *sawArteryDescenderRootSubgroups = [[UIView alloc] init];
    sawArteryDescenderRootSubgroups.backgroundColor = [UIColor clearColor];
    [self.view addSubview:sawArteryDescenderRootSubgroups];
    
    
    _tenRowImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RedFlexible.capContinued.alarmNetLoud weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:RedFlexible.capContinued.replacedOddSodiumFlushedUserHeightTree withConfiguration:config];
    _tenRowImageView.image = headerImage;
    _tenRowImageView.tintColor = [RedFlexible northTextColor];
    _tenRowImageView.contentMode = UIViewContentModeScaleAspectFit;
    [sawArteryDescenderRootSubgroups addSubview:_tenRowImageView];
    
    
    UILabel *editorBitsLabel = [[UILabel alloc] init];
    editorBitsLabel.text = RedFlexible.daySentFaxWill.mathMakerBaselinesModelRecentSystem;
    editorBitsLabel.font = [UIFont boldSystemFontOfSize:RedFlexible.capContinued.fatSinhalese];
    editorBitsLabel.textAlignment = NSTextAlignmentLeft;
    editorBitsLabel.textColor = [UIColor portalLegalFiveRectifiedAnswerRepeat:RedFlexible.capContinued.integralCut];
    [sawArteryDescenderRootSubgroups addSubview:editorBitsLabel];
    
    
    [sawArteryDescenderRootSubgroups mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(RedFlexible.capContinued.tiedNetQuery);
        make.centerX.equalTo(self.view).offset(-RedFlexible.capContinued.submitPrint);
        make.height.mas_equalTo(RedFlexible.capContinued.charAnyUnify);
    }];
    
    
    [_tenRowImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(sawArteryDescenderRootSubgroups);
        make.centerY.equalTo(sawArteryDescenderRootSubgroups);
        make.width.height.mas_equalTo(RedFlexible.capContinued.charAnyUnify);
    }];
    
    [editorBitsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_tenRowImageView.mas_right).offset(RedFlexible.capContinued.rowDeleteMan);
        make.centerY.equalTo(sawArteryDescenderRootSubgroups);
        make.right.equalTo(sawArteryDescenderRootSubgroups);
    }];
    
    
    _yetButton = [self putInternetBodyFactoryVolatileIcelandicIcon:RedFlexible.capContinued.factoriesKilovoltsCoalesceDeletionFocusedFavorite
                                                  title:RedFlexible.daySentFaxWill.matrixAccountsCatEngravedTitle
                                               subtitle:CubePosterConfig.shared.whoPresenterNapGermanInfinity.allEyeBecome.panWarp];
    [self.view addSubview:_yetButton];
    [_yetButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(sawArteryDescenderRootSubgroups.mas_bottom).offset(RedFlexible.capContinued.tiedNetQuery);
        make.left.equalTo(self.view).offset(RedFlexible.capContinued.gallonAmpere);
        make.right.equalTo(self.view).offset(-RedFlexible.capContinued.gallonAmpere);
        make.height.mas_equalTo(RedFlexible.capContinued.charAnyUnify);
    }];
    [_yetButton addTarget:self action:@selector(updateLearnedAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _oddButton = [self putInternetBodyFactoryVolatileIcelandicIcon:RedFlexible.capContinued.rootHexProvidersBannerPredicateTwo
                                                   title:RedFlexible.daySentFaxWill.safetySemanticSecondaryTeethDividing
                                                subtitle:CubePosterConfig.shared.whoPresenterNapGermanInfinity.allEyeBecome.waterSon];
    [self.view addSubview:_oddButton];
    [_oddButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_yetButton.mas_bottom).offset(RedFlexible.capContinued.preferredWho);
        make.left.equalTo(self.view).offset(RedFlexible.capContinued.gallonAmpere);
        make.right.equalTo(self.view).offset(-RedFlexible.capContinued.gallonAmpere);
        make.height.mas_equalTo(RedFlexible.capContinued.charAnyUnify);
    }];
    [_oddButton addTarget:self action:@selector(metalRequiringAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _twoButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _twoButton.layer.cornerRadius = RedFlexible.capContinued.fatSinhalese;
    _twoButton.layer.masksToBounds = YES;
    
    NSString *yetCupImage = [RedFlexible attributeAssemblyPetabytesProvisionTailImage];
    if (yetCupImage) {
        [_twoButton sd_setBackgroundImageWithURL:[NSURL URLWithString:yetCupImage] forState:UIControlStateNormal];
    } else {
        _twoButton.backgroundColor = [UIColor portalLegalFiveRectifiedAnswerRepeat:RedFlexible.capContinued.northTextColor];
    }
    [_twoButton setTitle:RedFlexible.daySentFaxWill.underlineAdvisoryWordEstablishCar forState:UIControlStateNormal];
    [_twoButton setTitleColor:[RedFlexible heapAllNextColor] forState:UIControlStateNormal];
    _twoButton.titleLabel.font = [UIFont systemFontOfSize:RedFlexible.capContinued.tiedNetQuery weight:UIFontWeightMedium];
    UIImage *eggIcon = [UIImage systemImageNamed:RedFlexible.capContinued.audiencesVisitorReturningHasDecryptDrum];
    [_twoButton setImage:eggIcon forState:UIControlStateNormal];
    _twoButton.imageEdgeInsets = UIEdgeInsetsMake(0, -RedFlexible.capContinued.composeDone, 0, 0);
    _twoButton.titleEdgeInsets = UIEdgeInsetsMake(0, RedFlexible.capContinued.composeDone, 0, 0);
    _twoButton.tintColor = [RedFlexible heapAllNextColor];
    [self.view addSubview:_twoButton];
    [_twoButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_oddButton.mas_bottom).offset(RedFlexible.capContinued.preferredWho);
        make.left.equalTo(self.view).offset(RedFlexible.capContinued.gallonAmpere);
        make.right.equalTo(self.view).offset(-RedFlexible.capContinued.gallonAmpere);
        make.height.mas_equalTo(RedFlexible.capContinued.charAnyUnify);
    }];
    [_twoButton addTarget:self action:@selector(numeralPurposeMoireOriginalExposeAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *dictationSun = [[UILabel alloc] init];
    dictationSun.text = [NSString stringWithFormat:RedFlexible.capContinued.idleScrollingDetectionLawMethodHours, CubePosterConfig.shared.panLinear.dictationSun];
    dictationSun.font = [UIFont systemFontOfSize:RedFlexible.capContinued.languageHalf weight:UIFontWeightLight];
    dictationSun.textAlignment = NSTextAlignmentLeft;
    dictationSun.textColor = [UIColor portalLegalFiveRectifiedAnswerRepeat:RedFlexible.capContinued.laotianDate];
    [self.view addSubview:dictationSun];
    [dictationSun mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-RedFlexible.capContinued.eyeRainHand);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *slopeHasView = [UIView new];
    slopeHasView.userInteractionEnabled = YES;
    slopeHasView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:slopeHasView];
    [slopeHasView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RedFlexible.capContinued.duplexCorner, RedFlexible.capContinued.duplexCorner));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *dismissLowMixUnorderedNibbles = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(farHumanFailContainsLaunchInfo)];
    dismissLowMixUnorderedNibbles.numberOfTapsRequired = RedFlexible.capContinued.submitPrint;
    [slopeHasView addGestureRecognizer:dismissLowMixUnorderedNibbles];
    
    
    UIView *purchasedInterruptThemeGatewaysRegister = [UIView new];
    purchasedInterruptThemeGatewaysRegister.userInteractionEnabled = YES;
    purchasedInterruptThemeGatewaysRegister.backgroundColor = UIColor.clearColor;
    [self.view addSubview:purchasedInterruptThemeGatewaysRegister];
    [purchasedInterruptThemeGatewaysRegister mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RedFlexible.capContinued.duplexCorner, RedFlexible.capContinued.duplexCorner));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *librariesLearnedYetStoppedGrammar = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(hairBodyBinTry)];
    librariesLearnedYetStoppedGrammar.numberOfTapsRequired = RedFlexible.capContinued.submitPrint;
    [purchasedInterruptThemeGatewaysRegister addGestureRecognizer:librariesLearnedYetStoppedGrammar];
    
    
}


- (UIButton *)putInternetBodyFactoryVolatileIcelandicIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = RedFlexible.capContinued.fatSinhalese;
    
    if ([RedFlexible callbacksScrolledTakeButterflyGetImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [RedFlexible northTextColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RedFlexible.capContinued.fatSinhalese weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [RedFlexible northTextColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(RedFlexible.capContinued.rowDeleteMan);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(RedFlexible.capContinued.pinchExtract);
    }];
    
    
    UILabel *editorBitsLabel = [[UILabel alloc] init];
    editorBitsLabel.text = title;
    editorBitsLabel.font = [UIFont systemFontOfSize:RedFlexible.capContinued.vitalAndSeed weight:UIFontWeightMedium];
    editorBitsLabel.textColor = [UIColor portalLegalFiveRectifiedAnswerRepeat:RedFlexible.capContinued.integralCut];
    [button addSubview:editorBitsLabel];
    [editorBitsLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(RedFlexible.capContinued.rowDeleteMan);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:RedFlexible.capContinued.vitalAndSeed];
    subtitleLabel.textColor = [RedFlexible northTextColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-RedFlexible.capContinued.tiedNetQuery);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)updateLearnedAction:(id)sender {
    NSString *stripUse = CubePosterConfig.shared.whoPresenterNapGermanInfinity.allEyeBecome.panWarp;
    if (stripUse.length > 0) {
        [self.wonHoldDogRaw climbedMildJouleEdgaCapBoldSense:[NSString stringWithFormat:RedFlexible.capContinued.localizesThousandNegotiateCleanupMarkMark, stripUse]];
    } else {
        [IllToast fatTrad:RedFlexible.daySentFaxWill.intrinsicRearHerAskTotalJoining];
    }
}

- (void)metalRequiringAction:(id)sender {
    NSString *phonogram = CubePosterConfig.shared.whoPresenterNapGermanInfinity.allEyeBecome.waterSon;
    if (phonogram.length > 0) {
        [self.wonHoldDogRaw climbedMildJouleEdgaCapBoldSense:[NSString stringWithFormat:RedFlexible.capContinued.secondBroadcastSpanBrushSubDiscard, phonogram]];
    } else {
        [IllToast fatTrad:RedFlexible.daySentFaxWill.detectionHasMileHexOtherRomanian];
    }
}

- (void)numeralPurposeMoireOriginalExposeAction:(id)sender {
    NSString *winSexFilm = CubePosterConfig.shared.whoPresenterNapGermanInfinity.allEyeBecome.yardDraw;
    if (winSexFilm.length > 0) {
        [self.wonHoldDogRaw climbedMildJouleEdgaCapBoldSense:winSexFilm];
    } else {
        [IllToast fatTrad:RedFlexible.daySentFaxWill.permittedSayMustTrustedLateQuerying];
    }
}

- (void)farHumanFailContainsLaunchInfo {
    BedPongBigViewController *dayDenySin = [BedPongBigViewController new];
    NSDictionary *hasBadWrist = @{
        RedFlexible.capContinued.outerHandlingToggleForbiddenCheckingOffer: [[NSBundle mainBundle] infoDictionary],
        RedFlexible.capContinued.lighterHandleRetryPriceGrayAlbum: [CubePosterConfig.shared.handlePanelInfo notifiesPlayDict],
        RedFlexible.capContinued.hailFaceEvaluatedAdvisoryCompactBitmap: [CubePosterConfig.shared.panLinear notifiesPlayDict],
        RedFlexible.capContinued.sinkBadWillLifetimeDayFun: [CubePosterConfig.shared.winLifetimeInfo notifiesPlayDict],
        RedFlexible.capContinued.qualifierSinCallPersistFreeAdditions: [CubePosterConfig.shared.whoPresenterNapGermanInfinity notifiesPlayDict],
        RedFlexible.capContinued.duplexPartialDeprecateFiveVignetteCredit: [CubePosterConfig.shared.forkOuncesPopCornersExceeds notifiesPlayDict]
    };
    [dayDenySin kerningFixingInfo:hasBadWrist withTitle:@""];
    [self.navigationController pushViewController:dayDenySin animated:NO];
}

- (void)hairBodyBinTry {
    [CheckViewController showFromViewController:self];
}
@end
