






#import "EggJoinSubViewController.h"
#import "SensorLiveViewController.h"
#import "ItemOneMenConfig.h"
#import "NSObject+TabModel.h"
#import "UIColor+CutColor.h"
#import "WinToast.h"
#import "DueOurSlashGolfIntrinsic.h"
#import "UIButton+WebCache.h"

@interface EggJoinSubViewController ()

@property (nonatomic, strong) UIImageView *notSonImageView;
@property (nonatomic, strong) UIButton *armButton;
@property (nonatomic, strong) UIButton *sheButton;
@property (nonatomic, strong) UIButton *mixButton;

@end

@implementation EggJoinSubViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor capExistFilmDiphthongWaxMostly:SheTintAuto.linerIndexed.aloneTipPop];
    
    
    UIView *groupLazyIndigoAsleepSob = [[UIView alloc] init];
    groupLazyIndigoAsleepSob.backgroundColor = [UIColor clearColor];
    [self.view addSubview:groupLazyIndigoAsleepSob];
    
    
    _notSonImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:SheTintAuto.linerIndexed.rearSawShift weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:SheTintAuto.linerIndexed.leapOutletSockAddDecimalRouterTip withConfiguration:config];
    _notSonImageView.image = headerImage;
    _notSonImageView.tintColor = [SheTintAuto partFocusColor];
    _notSonImageView.contentMode = UIViewContentModeScaleAspectFit;
    [groupLazyIndigoAsleepSob addSubview:_notSonImageView];
    
    
    UILabel *wayBridgedLabel = [[UILabel alloc] init];
    wayBridgedLabel.text = SheTintAuto.floatFootThird.infoPauseOurEntryTrackDetail;
    wayBridgedLabel.font = [UIFont boldSystemFontOfSize:SheTintAuto.linerIndexed.undoAudience];
    wayBridgedLabel.textAlignment = NSTextAlignmentLeft;
    wayBridgedLabel.textColor = [UIColor capExistFilmDiphthongWaxMostly:SheTintAuto.linerIndexed.kitInnerIcy];
    [groupLazyIndigoAsleepSob addSubview:wayBridgedLabel];
    
    
    [groupLazyIndigoAsleepSob mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(SheTintAuto.linerIndexed.hasDetermine);
        make.centerX.equalTo(self.view).offset(-SheTintAuto.linerIndexed.ourUsesTaps);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.putTerminate);
    }];
    
    
    [_notSonImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(groupLazyIndigoAsleepSob);
        make.centerY.equalTo(groupLazyIndigoAsleepSob);
        make.width.height.mas_equalTo(SheTintAuto.linerIndexed.putTerminate);
    }];
    
    [wayBridgedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_notSonImageView.mas_right).offset(SheTintAuto.linerIndexed.drawBehavior);
        make.centerY.equalTo(groupLazyIndigoAsleepSob);
        make.right.equalTo(groupLazyIndigoAsleepSob);
    }];
    
    
    _armButton = [self fatPreserveCombinedFitBusyWarpIcon:SheTintAuto.linerIndexed.callbackFitDesignShoulderDescendedRedo
                                                  title:SheTintAuto.floatFootThird.givenSensePrototypeCauseSense
                                               subtitle:ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince.diskLyricist.hairFar];
    [self.view addSubview:_armButton];
    [_armButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(groupLazyIndigoAsleepSob.mas_bottom).offset(SheTintAuto.linerIndexed.hasDetermine);
        make.left.equalTo(self.view).offset(SheTintAuto.linerIndexed.waxAnimation);
        make.right.equalTo(self.view).offset(-SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.putTerminate);
    }];
    [_armButton addTarget:self action:@selector(touchPowerNowAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sheButton = [self fatPreserveCombinedFitBusyWarpIcon:SheTintAuto.linerIndexed.showUpdatesForbidPromptEffectiveCarrier
                                                   title:SheTintAuto.floatFootThird.samplingControlsExecHueInventory
                                                subtitle:ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince.diskLyricist.cacheNow];
    [self.view addSubview:_sheButton];
    [_sheButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_armButton.mas_bottom).offset(SheTintAuto.linerIndexed.viewFullyWet);
        make.left.equalTo(self.view).offset(SheTintAuto.linerIndexed.waxAnimation);
        make.right.equalTo(self.view).offset(-SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.putTerminate);
    }];
    [_sheButton addTarget:self action:@selector(subThreeHerMinAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _mixButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _mixButton.layer.cornerRadius = SheTintAuto.linerIndexed.undoAudience;
    _mixButton.layer.masksToBounds = YES;
    
    NSString *offEggImage = [SheTintAuto preparingAdapterSawRankedArtsImage];
    if (offEggImage) {
        [_mixButton sd_setBackgroundImageWithURL:[NSURL URLWithString:offEggImage] forState:UIControlStateNormal];
    } else {
        _mixButton.backgroundColor = [UIColor capExistFilmDiphthongWaxMostly:SheTintAuto.linerIndexed.partFocusColor];
    }
    [_mixButton setTitle:SheTintAuto.floatFootThird.allowAfterPressSupplyEra forState:UIControlStateNormal];
    [_mixButton setTitleColor:[SheTintAuto tapElevatedColor] forState:UIControlStateNormal];
    _mixButton.titleLabel.font = [UIFont systemFontOfSize:SheTintAuto.linerIndexed.hasDetermine weight:UIFontWeightMedium];
    UIImage *cupIcon = [UIImage systemImageNamed:SheTintAuto.linerIndexed.twoJouleWrestlingBigStylusStay];
    [_mixButton setImage:cupIcon forState:UIControlStateNormal];
    _mixButton.imageEdgeInsets = UIEdgeInsetsMake(0, -SheTintAuto.linerIndexed.subUpperFix, 0, 0);
    _mixButton.titleEdgeInsets = UIEdgeInsetsMake(0, SheTintAuto.linerIndexed.subUpperFix, 0, 0);
    _mixButton.tintColor = [SheTintAuto tapElevatedColor];
    [self.view addSubview:_mixButton];
    [_mixButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_sheButton.mas_bottom).offset(SheTintAuto.linerIndexed.viewFullyWet);
        make.left.equalTo(self.view).offset(SheTintAuto.linerIndexed.waxAnimation);
        make.right.equalTo(self.view).offset(-SheTintAuto.linerIndexed.waxAnimation);
        make.height.mas_equalTo(SheTintAuto.linerIndexed.putTerminate);
    }];
    [_mixButton addTarget:self action:@selector(freeCompoundDemandDueSecureAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *allowSheFull = [[UILabel alloc] init];
    allowSheFull.text = [NSString stringWithFormat:SheTintAuto.linerIndexed.fourthRightPanoramasExtractLexiconProvide, ItemOneMenConfig.shared.sendTable.allowSheFull];
    allowSheFull.font = [UIFont systemFontOfSize:SheTintAuto.linerIndexed.tapHelperAre weight:UIFontWeightLight];
    allowSheFull.textAlignment = NSTextAlignmentLeft;
    allowSheFull.textColor = [UIColor capExistFilmDiphthongWaxMostly:SheTintAuto.linerIndexed.compactType];
    [self.view addSubview:allowSheFull];
    [allowSheFull mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-SheTintAuto.linerIndexed.logExisting);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *mindDateView = [UIView new];
    mindDateView.userInteractionEnabled = YES;
    mindDateView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:mindDateView];
    [mindDateView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(SheTintAuto.linerIndexed.revisionGolf, SheTintAuto.linerIndexed.revisionGolf));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *heartSwimmingWireFaxArt = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(cookieFurlongsPictureDrawTorchInfo)];
    heartSwimmingWireFaxArt.numberOfTapsRequired = SheTintAuto.linerIndexed.ourUsesTaps;
    [mindDateView addGestureRecognizer:heartSwimmingWireFaxArt];
    
    
    UIView *slidingBitOutlineBarFully = [UIView new];
    slidingBitOutlineBarFully.userInteractionEnabled = YES;
    slidingBitOutlineBarFully.backgroundColor = UIColor.clearColor;
    [self.view addSubview:slidingBitOutlineBarFully];
    [slidingBitOutlineBarFully mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(SheTintAuto.linerIndexed.revisionGolf, SheTintAuto.linerIndexed.revisionGolf));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *menAudiogramPopPosterStriation = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(callClickOther)];
    menAudiogramPopPosterStriation.numberOfTapsRequired = SheTintAuto.linerIndexed.ourUsesTaps;
    [slidingBitOutlineBarFully addGestureRecognizer:menAudiogramPopPosterStriation];
    
    
}


- (UIButton *)fatPreserveCombinedFitBusyWarpIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = SheTintAuto.linerIndexed.undoAudience;
    
    if ([SheTintAuto barsDesiredSeventeenNoiseCollectedImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [SheTintAuto partFocusColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:SheTintAuto.linerIndexed.undoAudience weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [SheTintAuto partFocusColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(SheTintAuto.linerIndexed.drawBehavior);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(SheTintAuto.linerIndexed.stepPlateJob);
    }];
    
    
    UILabel *wayBridgedLabel = [[UILabel alloc] init];
    wayBridgedLabel.text = title;
    wayBridgedLabel.font = [UIFont systemFontOfSize:SheTintAuto.linerIndexed.watchViewWax weight:UIFontWeightMedium];
    wayBridgedLabel.textColor = [UIColor capExistFilmDiphthongWaxMostly:SheTintAuto.linerIndexed.kitInnerIcy];
    [button addSubview:wayBridgedLabel];
    [wayBridgedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(SheTintAuto.linerIndexed.drawBehavior);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:SheTintAuto.linerIndexed.watchViewWax];
    subtitleLabel.textColor = [SheTintAuto partFocusColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-SheTintAuto.linerIndexed.hasDetermine);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)touchPowerNowAction:(id)sender {
    NSString *easyBits = ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince.diskLyricist.hairFar;
    if (easyBits.length > 0) {
        [self.hertzSeeWrite manGravityInteriorNameUnlockSoloistNeed:[NSString stringWithFormat:SheTintAuto.linerIndexed.sequencesStairSupportsActivateEndpointsAlone, easyBits]];
    } else {
        [WinToast songMap:SheTintAuto.floatFootThird.softInstallParsingMakeSkippedBlob];
    }
}

- (void)subThreeHerMinAction:(id)sender {
    NSString *youNearby = ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince.diskLyricist.cacheNow;
    if (youNearby.length > 0) {
        [self.hertzSeeWrite manGravityInteriorNameUnlockSoloistNeed:[NSString stringWithFormat:SheTintAuto.linerIndexed.scannerAwakeDigitalGuaraniBedDetermine, youNearby]];
    } else {
        [WinToast songMap:SheTintAuto.floatFootThird.pieceBagWelshUpperHybridPunjabi];
    }
}

- (void)freeCompoundDemandDueSecureAction:(id)sender {
    NSString *sexForMode = ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince.diskLyricist.sayTitle;
    if (sexForMode.length > 0) {
        [self.hertzSeeWrite manGravityInteriorNameUnlockSoloistNeed:sexForMode];
    } else {
        [WinToast songMap:SheTintAuto.floatFootThird.ubiquityApplySleepResolvingRateDialog];
    }
}

- (void)cookieFurlongsPictureDrawTorchInfo {
    SensorLiveViewController *shortWidth = [SensorLiveViewController new];
    NSDictionary *vitalUptime = @{
        SheTintAuto.linerIndexed.shakeFragmentAirBackupGeorgianSummaries: [[NSBundle mainBundle] infoDictionary],
        SheTintAuto.linerIndexed.retArcadeOccurArrowLeakyEighteen: [ItemOneMenConfig.shared.yetRareUndoInfo seeNepaliFitDict],
        SheTintAuto.linerIndexed.standZipInviteKilowattsWaterCompress: [ItemOneMenConfig.shared.sendTable seeNepaliFitDict],
        SheTintAuto.linerIndexed.lowBedOddFormPreserveQuarter: [ItemOneMenConfig.shared.tornadoSentInfo seeNepaliFitDict],
        SheTintAuto.linerIndexed.expandingPhoneExposeRecycleLoadingDanish: [ItemOneMenConfig.shared.hindiSignerDeferringTeamProvince seeNepaliFitDict],
        SheTintAuto.linerIndexed.kilowattsPlainRoundLicenseLogRepeats: [ItemOneMenConfig.shared.shoulderEncodingConstructHertzRadio seeNepaliFitDict]
    };
    [shortWidth megawattsDropInfo:vitalUptime withTitle:@""];
    [self.navigationController pushViewController:shortWidth animated:NO];
}

- (void)callClickOther {
    [GlyphViewController hostLateViewController:self];
}
@end
