






#import "IconEffectViewController.h"
#import "OutHoldOffViewController.h"
#import "RestWhoEarConfig.h"
#import "NSObject+LawModel.h"
#import "UIColor+EggColor.h"
#import "FixToast.h"
#import "SingularHierarchySolveFootFade.h"

@interface IconEffectViewController ()

@property (nonatomic, strong) UIImageView *cutterImageView;
@property (nonatomic, strong) UIButton *subButton;
@property (nonatomic, strong) UIButton *eraButton;
@property (nonatomic, strong) UIButton *getButton;

@end

@implementation IconEffectViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.allPinchLaw];
    
    
    UIView *thinPedometerWidthLoudAccessed = [[UIView alloc] init];
    thinPedometerWidthLoudAccessed.backgroundColor = [UIColor clearColor];
    [self.view addSubview:thinPedometerWidthLoudAccessed];
    
    
    _cutterImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RaceRateYou.wristBoldNot.charAlbumOur weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:RaceRateYou.wristBoldNot.digitalOffLittleCloudExposeInsertedChannel withConfiguration:config];
    _cutterImageView.image = headerImage;
    _cutterImageView.tintColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.ropeCauseColor];
    _cutterImageView.contentMode = UIViewContentModeScaleAspectFit;
    [thinPedometerWidthLoudAccessed addSubview:_cutterImageView];
    
    
    UILabel *upscaleRawLabel = [[UILabel alloc] init];
    upscaleRawLabel.text = RaceRateYou.maxSnapYearShe.justifiedAffinitySwapHighestObscuredBound;
    upscaleRawLabel.font = [UIFont boldSystemFontOfSize:RaceRateYou.wristBoldNot.renameTheSaw];
    upscaleRawLabel.textAlignment = NSTextAlignmentLeft;
    upscaleRawLabel.textColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.endDropJump];
    [thinPedometerWidthLoudAccessed addSubview:upscaleRawLabel];
    
    
    [thinPedometerWidthLoudAccessed mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(RaceRateYou.wristBoldNot.signalForNap);
        make.centerX.equalTo(self.view).offset(-RaceRateYou.wristBoldNot.youSiteLink);
        make.height.mas_equalTo(RaceRateYou.wristBoldNot.semanticsDid);
    }];
    
    
    [_cutterImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(thinPedometerWidthLoudAccessed);
        make.centerY.equalTo(thinPedometerWidthLoudAccessed);
        make.width.height.mas_equalTo(RaceRateYou.wristBoldNot.semanticsDid);
    }];
    
    [upscaleRawLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_cutterImageView.mas_right).offset(RaceRateYou.wristBoldNot.fingerKitPop);
        make.centerY.equalTo(thinPedometerWidthLoudAccessed);
        make.right.equalTo(thinPedometerWidthLoudAccessed);
    }];
    
    
    _subButton = [self teamTwistNowIncrementPreservedComputerIcon:RaceRateYou.wristBoldNot.twitterStructureMasteringZoomFeedbackPashto
                                                  title:RaceRateYou.maxSnapYearShe.disparityPromiseChannelMercuryJoule
                                               subtitle:RestWhoEarConfig.shared.provisionMapCostProviderEgg.tintMiterOur.eggTurn];
    [self.view addSubview:_subButton];
    [_subButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(thinPedometerWidthLoudAccessed.mas_bottom).offset(RaceRateYou.wristBoldNot.signalForNap);
        make.left.equalTo(self.view).offset(RaceRateYou.wristBoldNot.hisDirection);
        make.right.equalTo(self.view).offset(-RaceRateYou.wristBoldNot.hisDirection);
        make.height.mas_equalTo(RaceRateYou.wristBoldNot.semanticsDid);
    }];
    [_subButton addTarget:self action:@selector(outHueBeenManAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _eraButton = [self teamTwistNowIncrementPreservedComputerIcon:RaceRateYou.wristBoldNot.genreExecutingIodineStalledQuitWay
                                                   title:RaceRateYou.maxSnapYearShe.thickFunAppliesAssemblyDisk
                                                subtitle:RestWhoEarConfig.shared.provisionMapCostProviderEgg.tintMiterOur.disallow];
    [self.view addSubview:_eraButton];
    [_eraButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_subButton.mas_bottom).offset(RaceRateYou.wristBoldNot.tryFileDaily);
        make.left.equalTo(self.view).offset(RaceRateYou.wristBoldNot.hisDirection);
        make.right.equalTo(self.view).offset(-RaceRateYou.wristBoldNot.hisDirection);
        make.height.mas_equalTo(RaceRateYou.wristBoldNot.semanticsDid);
    }];
    [_eraButton addTarget:self action:@selector(taskAppleAlertAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _getButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _getButton.backgroundColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.ropeCauseColor];
    _getButton.layer.cornerRadius = RaceRateYou.wristBoldNot.renameTheSaw;
    [_getButton setTitle:RaceRateYou.maxSnapYearShe.jobExerciseEscapeBackupMusic forState:UIControlStateNormal];
    [_getButton setTitleColor:[UIColor whiteColor] forState:UIControlStateNormal];
    _getButton.titleLabel.font = [UIFont systemFontOfSize:RaceRateYou.wristBoldNot.signalForNap weight:UIFontWeightMedium];
    UIImage *lawIcon = [UIImage systemImageNamed:RaceRateYou.wristBoldNot.maxVolumeContrastForSixAnimated];
    [_getButton setImage:lawIcon forState:UIControlStateNormal];
    _getButton.imageEdgeInsets = UIEdgeInsetsMake(0, -RaceRateYou.wristBoldNot.angularLoad, 0, 0);
    _getButton.titleEdgeInsets = UIEdgeInsetsMake(0, RaceRateYou.wristBoldNot.angularLoad, 0, 0);
    _getButton.tintColor = [UIColor whiteColor];
    [self.view addSubview:_getButton];
    [_getButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_eraButton.mas_bottom).offset(RaceRateYou.wristBoldNot.tryFileDaily);
        make.left.equalTo(self.view).offset(RaceRateYou.wristBoldNot.hisDirection);
        make.right.equalTo(self.view).offset(-RaceRateYou.wristBoldNot.hisDirection);
        make.height.mas_equalTo(RaceRateYou.wristBoldNot.semanticsDid);
    }];
    [_getButton addTarget:self action:@selector(eggRareInterRecoveryRequiringAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *helperPutOut = [[UILabel alloc] init];
    helperPutOut.text = [NSString stringWithFormat:RaceRateYou.wristBoldNot.framePosterFixAllocatorChatAccording, RestWhoEarConfig.shared.mirroring.helperPutOut];
    helperPutOut.font = [UIFont systemFontOfSize:RaceRateYou.wristBoldNot.featMixTrial weight:UIFontWeightLight];
    helperPutOut.textAlignment = NSTextAlignmentLeft;
    helperPutOut.textColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.appliesMale];
    [self.view addSubview:helperPutOut];
    [helperPutOut mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-RaceRateYou.wristBoldNot.typeSampler);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *butFlushView = [UIView new];
    butFlushView.userInteractionEnabled = YES;
    butFlushView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:butFlushView];
    [butFlushView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RaceRateYou.wristBoldNot.lettersEmail, RaceRateYou.wristBoldNot.lettersEmail));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *distantSayOutcomeBackwardsAscended = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(preventedRedoOuterConfigureBasicInfo)];
    distantSayOutcomeBackwardsAscended.numberOfTapsRequired = RaceRateYou.wristBoldNot.youSiteLink;
    [butFlushView addGestureRecognizer:distantSayOutcomeBackwardsAscended];
    
    
    UIView *uploadingApplyAgeFaxForward = [UIView new];
    uploadingApplyAgeFaxForward.userInteractionEnabled = YES;
    uploadingApplyAgeFaxForward.backgroundColor = UIColor.clearColor;
    [self.view addSubview:uploadingApplyAgeFaxForward];
    [uploadingApplyAgeFaxForward mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(RaceRateYou.wristBoldNot.lettersEmail, RaceRateYou.wristBoldNot.lettersEmail));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *strokeAscendingCallingClangTrainer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(raceEggBadTake)];
    strokeAscendingCallingClangTrainer.numberOfTapsRequired = RaceRateYou.wristBoldNot.youSiteLink;
    [uploadingApplyAgeFaxForward addGestureRecognizer:strokeAscendingCallingClangTrainer];
    
    
}


- (UIButton *)teamTwistNowIncrementPreservedComputerIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.backgroundColor = [UIColor whiteColor];
    button.layer.cornerRadius = RaceRateYou.wristBoldNot.renameTheSaw;
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:RaceRateYou.wristBoldNot.renameTheSaw weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.ropeCauseColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(RaceRateYou.wristBoldNot.fingerKitPop);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(RaceRateYou.wristBoldNot.floorKernels);
    }];
    
    
    UILabel *upscaleRawLabel = [[UILabel alloc] init];
    upscaleRawLabel.text = title;
    upscaleRawLabel.font = [UIFont systemFontOfSize:RaceRateYou.wristBoldNot.cacheFatStay weight:UIFontWeightMedium];
    upscaleRawLabel.textColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.endDropJump];
    [button addSubview:upscaleRawLabel];
    [upscaleRawLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(RaceRateYou.wristBoldNot.fingerKitPop);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:RaceRateYou.wristBoldNot.cacheFatStay];
    subtitleLabel.textColor = [UIColor reuseOriginsArgumentsActivityUtteranceGigabytes:RaceRateYou.wristBoldNot.appliesMale];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-RaceRateYou.wristBoldNot.signalForNap);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)outHueBeenManAction:(id)sender {
    NSString *implicit = RestWhoEarConfig.shared.provisionMapCostProviderEgg.tintMiterOur.eggTurn;
    if (implicit.length > 0) {
        [self.alarmEditUnit barSensitiveCornerFinishingDuplicateSessionsCat:[NSString stringWithFormat:RaceRateYou.wristBoldNot.youPhaseCompoundOrdinaryIrregularLocation, implicit]];
    } else {
        [FixToast general:RaceRateYou.maxSnapYearShe.dueRenamingEncryptedArmCosmicTool];
    }
}

- (void)taskAppleAlertAction:(id)sender {
    NSString *wetResult = RestWhoEarConfig.shared.provisionMapCostProviderEgg.tintMiterOur.disallow;
    if (wetResult.length > 0) {
        [self.alarmEditUnit barSensitiveCornerFinishingDuplicateSessionsCat:[NSString stringWithFormat:RaceRateYou.wristBoldNot.icelandicBridgeSummariesSleetSectionsDirector, wetResult]];
    } else {
        [FixToast general:RaceRateYou.maxSnapYearShe.childrenTrimmingMegabitsGuestConductorDynamic];
    }
}

- (void)eggRareInterRecoveryRequiringAction:(id)sender {
    NSString *anyButSeed = RestWhoEarConfig.shared.provisionMapCostProviderEgg.tintMiterOur.mapWrist;
    if (anyButSeed.length > 0) {
        [self.alarmEditUnit barSensitiveCornerFinishingDuplicateSessionsCat:anyButSeed];
    } else {
        [FixToast general:RaceRateYou.maxSnapYearShe.neverMaskDraftTotalElementAdvanced];
    }
}

- (void)preventedRedoOuterConfigureBasicInfo {
    OutHoldOffViewController *mayPenTrap = [OutHoldOffViewController new];
    NSDictionary *cubicFatBox = @{
        RaceRateYou.wristBoldNot.tightFolderReportsNumbersStreamedBeacons: [[NSBundle mainBundle] infoDictionary],
        RaceRateYou.wristBoldNot.flowWhiteImplicitHasSigmaSuffix: [RestWhoEarConfig.shared.andHerRelayInfo fitTransposeDict],
        RaceRateYou.wristBoldNot.bankersAnnotatedMixUnifyOptionalMain: [RestWhoEarConfig.shared.mirroring fitTransposeDict],
        RaceRateYou.wristBoldNot.providesReadyWarpEscapedJoinBoundary: [RestWhoEarConfig.shared.hintIcyFreeInfo fitTransposeDict],
        RaceRateYou.wristBoldNot.dolbyNameDistanceUnitOneFemale: [RestWhoEarConfig.shared.provisionMapCostProviderEgg fitTransposeDict],
        RaceRateYou.wristBoldNot.clampedManQuietSomaliReaderPalette: [RestWhoEarConfig.shared.traverseRateArrivalWetImperial fitTransposeDict]
    };
    [mayPenTrap texturedSurgeInfo:cubicFatBox withTitle:@""];
    [self.navigationController pushViewController:mayPenTrap animated:NO];
}

- (void)raceEggBadTake {
    [NoiseViewController preventsViewController:self];
}
@end
