






#import "AddAirSiteViewController.h"
#import "AfterPieceViewController.h"
#import "LoveFitKinConfig.h"
#import "NSObject+WayModel.h"
#import "UIColor+SpaColor.h"
#import "LawToast.h"
#import "PersistCascadeValueLoopsHyphens.h"
#import "UIButton+WebCache.h"

@interface AddAirSiteViewController ()

@property (nonatomic, strong) UIImageView *minBedImageView;
@property (nonatomic, strong) UIButton *bedButton;
@property (nonatomic, strong) UIButton *sawButton;
@property (nonatomic, strong) UIButton *carButton;

@end

@implementation AddAirSiteViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor bufferVariationMindShadowAscentTrash:ReloadThird.overlapQuote.waistBoxSaw];
    
    
    UIView *displayedAssumeRelationDensityRed = [[UIView alloc] init];
    displayedAssumeRelationDensityRed.backgroundColor = [UIColor clearColor];
    [self.view addSubview:displayedAssumeRelationDensityRed];
    
    
    _minBedImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:ReloadThird.overlapQuote.nowRemembers weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:ReloadThird.overlapQuote.alphaCubicCalculateFloatingAlpineSignalingFood withConfiguration:config];
    _minBedImageView.image = headerImage;
    _minBedImageView.tintColor = [ReloadThird fairBlockColor];
    _minBedImageView.contentMode = UIViewContentModeScaleAspectFit;
    [displayedAssumeRelationDensityRed addSubview:_minBedImageView];
    
    
    UILabel *screenFootLabel = [[UILabel alloc] init];
    screenFootLabel.text = ReloadThird.phoneKitTenTen.runTooSwedishGuaraniPrivilegeBox;
    screenFootLabel.font = [UIFont boldSystemFontOfSize:ReloadThird.overlapQuote.mayTryLooper];
    screenFootLabel.textAlignment = NSTextAlignmentLeft;
    screenFootLabel.textColor = [UIColor bufferVariationMindShadowAscentTrash:ReloadThird.overlapQuote.joinForNine];
    [displayedAssumeRelationDensityRed addSubview:screenFootLabel];
    
    
    [displayedAssumeRelationDensityRed mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(ReloadThird.overlapQuote.overWonMicro);
        make.centerX.equalTo(self.view).offset(-ReloadThird.overlapQuote.cupWinSmall);
        make.height.mas_equalTo(ReloadThird.overlapQuote.areTorchRare);
    }];
    
    
    [_minBedImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(displayedAssumeRelationDensityRed);
        make.centerY.equalTo(displayedAssumeRelationDensityRed);
        make.width.height.mas_equalTo(ReloadThird.overlapQuote.areTorchRare);
    }];
    
    [screenFootLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_minBedImageView.mas_right).offset(ReloadThird.overlapQuote.smallestChat);
        make.centerY.equalTo(displayedAssumeRelationDensityRed);
        make.right.equalTo(displayedAssumeRelationDensityRed);
    }];
    
    
    _bedButton = [self dueNeutralPersianSerializeSlavicCurlIcon:ReloadThird.overlapQuote.chatterDolbyQuotationBankAppearingApplies
                                                  title:ReloadThird.phoneKitTenTen.quechuaYearMalayalamMediaAir
                                               subtitle:LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring.capturesPrep.appears];
    [self.view addSubview:_bedButton];
    [_bedButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(displayedAssumeRelationDensityRed.mas_bottom).offset(ReloadThird.overlapQuote.overWonMicro);
        make.left.equalTo(self.view).offset(ReloadThird.overlapQuote.linkageSetup);
        make.right.equalTo(self.view).offset(-ReloadThird.overlapQuote.linkageSetup);
        make.height.mas_equalTo(ReloadThird.overlapQuote.areTorchRare);
    }];
    [_bedButton addTarget:self action:@selector(waterAnyIdiomAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sawButton = [self dueNeutralPersianSerializeSlavicCurlIcon:ReloadThird.overlapQuote.spaDetailedPicturesEarWetCallback
                                                   title:ReloadThird.phoneKitTenTen.saltIcyPubPanelExtras
                                                subtitle:LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring.capturesPrep.stopEnds];
    [self.view addSubview:_sawButton];
    [_sawButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_bedButton.mas_bottom).offset(ReloadThird.overlapQuote.borderUrgent);
        make.left.equalTo(self.view).offset(ReloadThird.overlapQuote.linkageSetup);
        make.right.equalTo(self.view).offset(-ReloadThird.overlapQuote.linkageSetup);
        make.height.mas_equalTo(ReloadThird.overlapQuote.areTorchRare);
    }];
    [_sawButton addTarget:self action:@selector(marginObserverAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _carButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _carButton.layer.cornerRadius = ReloadThird.overlapQuote.mayTryLooper;
    _carButton.layer.masksToBounds = YES;
    
    NSString *tabYetImage = [ReloadThird importantHelpersPreferNineWrapImage];
    if (tabYetImage) {
        [_carButton sd_setBackgroundImageWithURL:[NSURL URLWithString:tabYetImage] forState:UIControlStateNormal];
    } else {
        _carButton.backgroundColor = [UIColor bufferVariationMindShadowAscentTrash:ReloadThird.overlapQuote.fairBlockColor];
    }
    [_carButton setTitle:ReloadThird.phoneKitTenTen.yesterdayHueEstablishIssuerHead forState:UIControlStateNormal];
    [_carButton setTitleColor:[ReloadThird smallBrokenColor] forState:UIControlStateNormal];
    _carButton.titleLabel.font = [UIFont systemFontOfSize:ReloadThird.overlapQuote.overWonMicro weight:UIFontWeightMedium];
    UIImage *mixIcon = [UIImage systemImageNamed:ReloadThird.overlapQuote.argumentsPaperAspectFriendOrnamentSlider];
    [_carButton setImage:mixIcon forState:UIControlStateNormal];
    _carButton.imageEdgeInsets = UIEdgeInsetsMake(0, -ReloadThird.overlapQuote.vortexStair, 0, 0);
    _carButton.titleEdgeInsets = UIEdgeInsetsMake(0, ReloadThird.overlapQuote.vortexStair, 0, 0);
    _carButton.tintColor = [ReloadThird smallBrokenColor];
    [self.view addSubview:_carButton];
    [_carButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_sawButton.mas_bottom).offset(ReloadThird.overlapQuote.borderUrgent);
        make.left.equalTo(self.view).offset(ReloadThird.overlapQuote.linkageSetup);
        make.right.equalTo(self.view).offset(-ReloadThird.overlapQuote.linkageSetup);
        make.height.mas_equalTo(ReloadThird.overlapQuote.areTorchRare);
    }];
    [_carButton addTarget:self action:@selector(basalPassRowsPetiteInspiredAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *stampSexFair = [[UILabel alloc] init];
    stampSexFair.text = [NSString stringWithFormat:ReloadThird.overlapQuote.topSpellClampingMountPositiveStepper, LoveFitKinConfig.shared.bounceEye.stampSexFair];
    stampSexFair.font = [UIFont systemFontOfSize:ReloadThird.overlapQuote.flipWhoChina weight:UIFontWeightLight];
    stampSexFair.textAlignment = NSTextAlignmentLeft;
    stampSexFair.textColor = [UIColor bufferVariationMindShadowAscentTrash:ReloadThird.overlapQuote.logElevated];
    [self.view addSubview:stampSexFair];
    [stampSexFair mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-ReloadThird.overlapQuote.subTiedKeep);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *tipLabelView = [UIView new];
    tipLabelView.userInteractionEnabled = YES;
    tipLabelView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:tipLabelView];
    [tipLabelView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(ReloadThird.overlapQuote.keyFlipVideo, ReloadThird.overlapQuote.keyFlipVideo));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *endNordicBeatSchemeAssert = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(visualLeaveLowCaptureUnderInfo)];
    endNordicBeatSchemeAssert.numberOfTapsRequired = ReloadThird.overlapQuote.cupWinSmall;
    [tipLabelView addGestureRecognizer:endNordicBeatSchemeAssert];
    
    
    UIView *inferAnyFeatFarsiMath = [UIView new];
    inferAnyFeatFarsiMath.userInteractionEnabled = YES;
    inferAnyFeatFarsiMath.backgroundColor = UIColor.clearColor;
    [self.view addSubview:inferAnyFeatFarsiMath];
    [inferAnyFeatFarsiMath mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(ReloadThird.overlapQuote.keyFlipVideo, ReloadThird.overlapQuote.keyFlipVideo));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *enableKitDashDryAudit = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(dublinCropping)];
    enableKitDashDryAudit.numberOfTapsRequired = ReloadThird.overlapQuote.cupWinSmall;
    [inferAnyFeatFarsiMath addGestureRecognizer:enableKitDashDryAudit];
    
    
}


- (UIButton *)dueNeutralPersianSerializeSlavicCurlIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = ReloadThird.overlapQuote.mayTryLooper;
    
    if ([ReloadThird northFeedbackThirdSentencesSupplyImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [ReloadThird fairBlockColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:ReloadThird.overlapQuote.mayTryLooper weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [ReloadThird fairBlockColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(ReloadThird.overlapQuote.smallestChat);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(ReloadThird.overlapQuote.drivenEndLog);
    }];
    
    
    UILabel *screenFootLabel = [[UILabel alloc] init];
    screenFootLabel.text = title;
    screenFootLabel.font = [UIFont systemFontOfSize:ReloadThird.overlapQuote.pascalPartly weight:UIFontWeightMedium];
    screenFootLabel.textColor = [UIColor bufferVariationMindShadowAscentTrash:ReloadThird.overlapQuote.joinForNine];
    [button addSubview:screenFootLabel];
    [screenFootLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(ReloadThird.overlapQuote.smallestChat);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:ReloadThird.overlapQuote.pascalPartly];
    subtitleLabel.textColor = [ReloadThird fairBlockColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-ReloadThird.overlapQuote.overWonMicro);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)waterAnyIdiomAction:(id)sender {
    NSString *themeCat = LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring.capturesPrep.appears;
    if (themeCat.length > 0) {
        [self.hueAwakePlace divideCloseRaceProducingLongGenerateCanadian:[NSString stringWithFormat:ReloadThird.overlapQuote.traitOwnPenPlugPlaybackMegawatts, themeCat]];
    } else {
        [LawToast tooUnit:ReloadThird.phoneKitTenTen.earLeapRegionsAsleepMutationFlat];
    }
}

- (void)marginObserverAction:(id)sender {
    NSString *scrollMen = LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring.capturesPrep.stopEnds;
    if (scrollMen.length > 0) {
        [self.hueAwakePlace divideCloseRaceProducingLongGenerateCanadian:[NSString stringWithFormat:ReloadThird.overlapQuote.handleMakerAudiencesDigitalBigExecuting, scrollMen]];
    } else {
        [LawToast tooUnit:ReloadThird.phoneKitTenTen.resolvingNapSocialNameFlowGrammar];
    }
}

- (void)basalPassRowsPetiteInspiredAction:(id)sender {
    NSString *illWaxNote = LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring.capturesPrep.midStood;
    if (illWaxNote.length > 0) {
        [self.hueAwakePlace divideCloseRaceProducingLongGenerateCanadian:illWaxNote];
    } else {
        [LawToast tooUnit:ReloadThird.phoneKitTenTen.jumpCameraStakeRollLanguagesYellow];
    }
}

- (void)visualLeaveLowCaptureUnderInfo {
    AfterPieceViewController *needCanCar = [AfterPieceViewController new];
    NSDictionary *kinSlowPace = @{
        ReloadThird.overlapQuote.flushBouncingTeamOpacitySuddenMan: [[NSBundle mainBundle] infoDictionary],
        ReloadThird.overlapQuote.integralTagSubIntersectAllocatedPremature: [LoveFitKinConfig.shared.handlingBigInfo wonCurlMatchDict],
        ReloadThird.overlapQuote.phraseSelectionThreeSamplesNoneModern: [LoveFitKinConfig.shared.bounceEye wonCurlMatchDict],
        ReloadThird.overlapQuote.sumRefinedRepliesLossInvalidParagraph: [LoveFitKinConfig.shared.endBadGradeInfo wonCurlMatchDict],
        ReloadThird.overlapQuote.mapPowerBuddhistOurImpactMore: [LoveFitKinConfig.shared.potentialFavoritesMarathiLocaleRequiring wonCurlMatchDict],
        ReloadThird.overlapQuote.gaspInternalFatEditVortexFlush: [LoveFitKinConfig.shared.initiatedDustOrderingNumeralMay wonCurlMatchDict]
    };
    [needCanCar justMusicOpenInfo:kinSlowPace withTitle:@""];
    [self.navigationController pushViewController:needCanCar animated:NO];
}

- (void)dublinCropping {
    [HumanViewController showFromViewController:self];
}
@end
