






#import "IcySeekMixViewController.h"
#import "ParseSplitViewController.h"
#import "WorkAreWasConfig.h"
#import "NSObject+MayModel.h"
#import "UIColor+MenColor.h"
#import "WasToast.h"
#import "BitsCorrectedFooterBlockerInvoke.h"
#import "UIButton+WebCache.h"

@interface IcySeekMixViewController ()

@property (nonatomic, strong) UIImageView *schoolImageView;
@property (nonatomic, strong) UIButton *jobButton;
@property (nonatomic, strong) UIButton *sheButton;
@property (nonatomic, strong) UIButton *tryButton;

@end

@implementation IcySeekMixViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor panOverlayCarRatingsCarriageDetail:BurstPetite.virtualSheet.chainLogFit];
    
    
    UIView *observerVolumesColorNearbyAdjective = [[UIView alloc] init];
    observerVolumesColorNearbyAdjective.backgroundColor = [UIColor clearColor];
    [self.view addSubview:observerVolumesColorNearbyAdjective];
    
    
    _schoolImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:BurstPetite.virtualSheet.croppingMute weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:BurstPetite.virtualSheet.squaredPresentAudiogramDatumDigitizedLimitCoached withConfiguration:config];
    _schoolImageView.image = headerImage;
    _schoolImageView.tintColor = [BurstPetite finalTurnColor];
    _schoolImageView.contentMode = UIViewContentModeScaleAspectFit;
    [observerVolumesColorNearbyAdjective addSubview:_schoolImageView];
    
    
    UILabel *safariStepLabel = [[UILabel alloc] init];
    safariStepLabel.text = BurstPetite.setupScheduled.nordicPendingMomentSpringUtteranceFloating;
    safariStepLabel.font = [UIFont boldSystemFontOfSize:BurstPetite.virtualSheet.linkAxialCan];
    safariStepLabel.textAlignment = NSTextAlignmentLeft;
    safariStepLabel.textColor = [UIColor panOverlayCarRatingsCarriageDetail:BurstPetite.virtualSheet.outSawPhone];
    [observerVolumesColorNearbyAdjective addSubview:safariStepLabel];
    
    
    [observerVolumesColorNearbyAdjective mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(BurstPetite.virtualSheet.playShapeMap);
        make.centerX.equalTo(self.view).offset(-BurstPetite.virtualSheet.putBloodSaw);
        make.height.mas_equalTo(BurstPetite.virtualSheet.daysBlockBus);
    }];
    
    
    [_schoolImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(observerVolumesColorNearbyAdjective);
        make.centerY.equalTo(observerVolumesColorNearbyAdjective);
        make.width.height.mas_equalTo(BurstPetite.virtualSheet.daysBlockBus);
    }];
    
    [safariStepLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_schoolImageView.mas_right).offset(BurstPetite.virtualSheet.canTerabytes);
        make.centerY.equalTo(observerVolumesColorNearbyAdjective);
        make.right.equalTo(observerVolumesColorNearbyAdjective);
    }];
    
    
    _jobButton = [self fullyFiveVisitParentSpaBadgeIcon:BurstPetite.virtualSheet.chromiumAmbiguityProtectedTomorrowEarNarrative
                                                  title:BurstPetite.setupScheduled.unitHeightDividingSheThermal
                                               subtitle:WorkAreWasConfig.shared.subOutputPivotTempDetected.indexingSeek.sexMath];
    [self.view addSubview:_jobButton];
    [_jobButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(observerVolumesColorNearbyAdjective.mas_bottom).offset(BurstPetite.virtualSheet.playShapeMap);
        make.left.equalTo(self.view).offset(BurstPetite.virtualSheet.onceStripMay);
        make.right.equalTo(self.view).offset(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.daysBlockBus);
    }];
    [_jobButton addTarget:self action:@selector(accurateEarlyAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sheButton = [self fullyFiveVisitParentSpaBadgeIcon:BurstPetite.virtualSheet.removesConsoleReferentStablePairEstimate
                                                   title:BurstPetite.setupScheduled.oldestMealLocalizesDarkCanon
                                                subtitle:WorkAreWasConfig.shared.subOutputPivotTempDetected.indexingSeek.particle];
    [self.view addSubview:_sheButton];
    [_sheButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_jobButton.mas_bottom).offset(BurstPetite.virtualSheet.menFunnelAir);
        make.left.equalTo(self.view).offset(BurstPetite.virtualSheet.onceStripMay);
        make.right.equalTo(self.view).offset(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.daysBlockBus);
    }];
    [_sheButton addTarget:self action:@selector(displayedWhileAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _tryButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _tryButton.layer.cornerRadius = BurstPetite.virtualSheet.linkAxialCan;
    _tryButton.layer.masksToBounds = YES;
    
    NSString *bedHasImage = [BurstPetite producesWhiteBoyfriendCarrierGlyphImage];
    if (bedHasImage) {
        [_tryButton sd_setBackgroundImageWithURL:[NSURL URLWithString:bedHasImage] forState:UIControlStateNormal];
    } else {
        _tryButton.backgroundColor = [UIColor panOverlayCarRatingsCarriageDetail:BurstPetite.virtualSheet.finalTurnColor];
    }
    [_tryButton setTitle:BurstPetite.setupScheduled.netBinExportActivatedHeap forState:UIControlStateNormal];
    [_tryButton setTitleColor:[BurstPetite popBlendEraColor] forState:UIControlStateNormal];
    _tryButton.titleLabel.font = [UIFont systemFontOfSize:BurstPetite.virtualSheet.playShapeMap weight:UIFontWeightMedium];
    UIImage *lawIcon = [UIImage systemImageNamed:BurstPetite.virtualSheet.norwegianSubtitleKilovoltsHasGlucoseMinor];
    [_tryButton setImage:lawIcon forState:UIControlStateNormal];
    _tryButton.imageEdgeInsets = UIEdgeInsetsMake(0, -BurstPetite.virtualSheet.partGeneral, 0, 0);
    _tryButton.titleEdgeInsets = UIEdgeInsetsMake(0, BurstPetite.virtualSheet.partGeneral, 0, 0);
    _tryButton.tintColor = [BurstPetite popBlendEraColor];
    [self.view addSubview:_tryButton];
    [_tryButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_sheButton.mas_bottom).offset(BurstPetite.virtualSheet.menFunnelAir);
        make.left.equalTo(self.view).offset(BurstPetite.virtualSheet.onceStripMay);
        make.right.equalTo(self.view).offset(-BurstPetite.virtualSheet.onceStripMay);
        make.height.mas_equalTo(BurstPetite.virtualSheet.daysBlockBus);
    }];
    [_tryButton addTarget:self action:@selector(dogMomentFolderAmpereVitalAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *pinkEveryYou = [[UILabel alloc] init];
    pinkEveryYou.text = [NSString stringWithFormat:BurstPetite.virtualSheet.gregorianBurmeseCombineSeparatorDivideEnsure, WorkAreWasConfig.shared.aboutDisk.pinkEveryYou];
    pinkEveryYou.font = [UIFont systemFontOfSize:BurstPetite.virtualSheet.takeMovieBad weight:UIFontWeightLight];
    pinkEveryYou.textAlignment = NSTextAlignmentLeft;
    pinkEveryYou.textColor = [UIColor panOverlayCarRatingsCarriageDetail:BurstPetite.virtualSheet.kindTextPub];
    [self.view addSubview:pinkEveryYou];
    [pinkEveryYou mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-BurstPetite.virtualSheet.infoMidWord);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *jumpDeepView = [UIView new];
    jumpDeepView.userInteractionEnabled = YES;
    jumpDeepView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:jumpDeepView];
    [jumpDeepView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(BurstPetite.virtualSheet.enclosingToo, BurstPetite.virtualSheet.enclosingToo));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *filteredLocalIntroProductOne = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(veryReadableGenderMessageCostInfo)];
    filteredLocalIntroProductOne.numberOfTapsRequired = BurstPetite.virtualSheet.putBloodSaw;
    [jumpDeepView addGestureRecognizer:filteredLocalIntroProductOne];
    
    
    UIView *squareDiagnoseDetailCaretMantissa = [UIView new];
    squareDiagnoseDetailCaretMantissa.userInteractionEnabled = YES;
    squareDiagnoseDetailCaretMantissa.backgroundColor = UIColor.clearColor;
    [self.view addSubview:squareDiagnoseDetailCaretMantissa];
    [squareDiagnoseDetailCaretMantissa mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(BurstPetite.virtualSheet.enclosingToo, BurstPetite.virtualSheet.enclosingToo));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *schemeActionStoreSobIcy = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(expiredEntropy)];
    schemeActionStoreSobIcy.numberOfTapsRequired = BurstPetite.virtualSheet.putBloodSaw;
    [squareDiagnoseDetailCaretMantissa addGestureRecognizer:schemeActionStoreSobIcy];
    
    
}


- (UIButton *)fullyFiveVisitParentSpaBadgeIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = BurstPetite.virtualSheet.linkAxialCan;
    
    if ([BurstPetite scaleBeganHelloStandardRegionImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [BurstPetite finalTurnColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:BurstPetite.virtualSheet.linkAxialCan weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [BurstPetite finalTurnColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(BurstPetite.virtualSheet.canTerabytes);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(BurstPetite.virtualSheet.teluguPencil);
    }];
    
    
    UILabel *safariStepLabel = [[UILabel alloc] init];
    safariStepLabel.text = title;
    safariStepLabel.font = [UIFont systemFontOfSize:BurstPetite.virtualSheet.balancedAtom weight:UIFontWeightMedium];
    safariStepLabel.textColor = [UIColor panOverlayCarRatingsCarriageDetail:BurstPetite.virtualSheet.outSawPhone];
    [button addSubview:safariStepLabel];
    [safariStepLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(BurstPetite.virtualSheet.canTerabytes);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:BurstPetite.virtualSheet.balancedAtom];
    subtitleLabel.textColor = [BurstPetite finalTurnColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-BurstPetite.virtualSheet.playShapeMap);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)accurateEarlyAction:(id)sender {
    NSString *toolTone = WorkAreWasConfig.shared.subOutputPivotTempDetected.indexingSeek.sexMath;
    if (toolTone.length > 0) {
        [self.discountExact leaveOpticalTerabytesHerFullNumbersSpecified:[NSString stringWithFormat:BurstPetite.virtualSheet.inuitTeacherAttempterPlayTipClicked, toolTone]];
    } else {
        [WasToast manySin:BurstPetite.setupScheduled.dividingAllowablePriorBoxObserveScope];
    }
}

- (void)displayedWhileAction:(id)sender {
    NSString *autoMovie = WorkAreWasConfig.shared.subOutputPivotTempDetected.indexingSeek.particle;
    if (autoMovie.length > 0) {
        [self.discountExact leaveOpticalTerabytesHerFullNumbersSpecified:[NSString stringWithFormat:BurstPetite.virtualSheet.patternsButtonThirdListBorderVoice, autoMovie]];
    } else {
        [WasToast manySin:BurstPetite.setupScheduled.funnelJustAlignCyrillicMaterialAdobe];
    }
}

- (void)dogMomentFolderAmpereVitalAction:(id)sender {
    NSString *readoutEye = WorkAreWasConfig.shared.subOutputPivotTempDetected.indexingSeek.wideBook;
    if (readoutEye.length > 0) {
        [self.discountExact leaveOpticalTerabytesHerFullNumbersSpecified:readoutEye];
    } else {
        [WasToast manySin:BurstPetite.setupScheduled.operatorProxySubDependingLocatorHash];
    }
}

- (void)veryReadableGenderMessageCostInfo {
    ParseSplitViewController *ejectBirth = [ParseSplitViewController new];
    NSDictionary *transmitBed = @{
        BurstPetite.virtualSheet.lowerEmailPopRunAudienceNothing: [[NSBundle mainBundle] infoDictionary],
        BurstPetite.virtualSheet.hueTokenSiblingsGreaterIllPlatform: [WorkAreWasConfig.shared.zipHintTaskInfo frontCounterDict],
        BurstPetite.virtualSheet.clusterTagForParseAngleCalories: [WorkAreWasConfig.shared.aboutDisk frontCounterDict],
        BurstPetite.virtualSheet.incrementLinearPageUtilityKeyLocking: [WorkAreWasConfig.shared.oddSexRelayInfo frontCounterDict],
        BurstPetite.virtualSheet.obtainInverseRowsGenreGigabytesPredicate: [WorkAreWasConfig.shared.subOutputPivotTempDetected frontCounterDict],
        BurstPetite.virtualSheet.notifiedEsperantoLowCopticLengthsTabular: [WorkAreWasConfig.shared.receivingTryFrameSerbianDesign frontCounterDict]
    };
    [ejectBirth cutFathomsArtInfo:transmitBed withTitle:@""];
    [self.navigationController pushViewController:ejectBirth animated:NO];
}

- (void)expiredEntropy {
    [RelayViewController decayCapViewController:self];
}
@end
