






#import "RoomCapEndViewController.h"
#import "IllPathPubViewController.h"
#import "TagBinRealConfig.h"
#import "NSObject+ButModel.h"
#import "UIColor+KitColor.h"
#import "MidToast.h"
#import "StorylineStructureMarkDenyFaeroese.h"
#import "UIButton+WebCache.h"

@interface RoomCapEndViewController ()

@property (nonatomic, strong) UIImageView *carAnyImageView;
@property (nonatomic, strong) UIButton *wayButton;
@property (nonatomic, strong) UIButton *sawButton;
@property (nonatomic, strong) UIButton *howButton;

@end

@implementation RoomCapEndViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor evictionCreditAgeRejectHebrewStable:NapEscaping.restoringWay.subTapsPrep];
    
    
    UIView *lengthRussianFractionSynthesisReached = [[UIView alloc] init];
    lengthRussianFractionSynthesisReached.backgroundColor = [UIColor clearColor];
    [self.view addSubview:lengthRussianFractionSynthesisReached];
    
    
    _carAnyImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:NapEscaping.restoringWay.exportCarbon weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:NapEscaping.restoringWay.internalBestCaseUniversalMeteringAirTone withConfiguration:config];
    _carAnyImageView.image = headerImage;
    _carAnyImageView.tintColor = [NapEscaping feedBayerColor];
    _carAnyImageView.contentMode = UIViewContentModeScaleAspectFit;
    [lengthRussianFractionSynthesisReached addSubview:_carAnyImageView];
    
    
    UILabel *runPutExecLabel = [[UILabel alloc] init];
    runPutExecLabel.text = NapEscaping.sigmaTabBedKit.degreesHierarchyLeaveTaggingUnsafeType;
    runPutExecLabel.font = [UIFont boldSystemFontOfSize:NapEscaping.restoringWay.mailInnerAny];
    runPutExecLabel.textAlignment = NSTextAlignmentLeft;
    runPutExecLabel.textColor = [UIColor evictionCreditAgeRejectHebrewStable:NapEscaping.restoringWay.farSingular];
    [lengthRussianFractionSynthesisReached addSubview:runPutExecLabel];
    
    
    [lengthRussianFractionSynthesisReached mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(NapEscaping.restoringWay.poloSecurity);
        make.centerX.equalTo(self.view).offset(-NapEscaping.restoringWay.drawPeerAnd);
        make.height.mas_equalTo(NapEscaping.restoringWay.useLeaseTone);
    }];
    
    
    [_carAnyImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(lengthRussianFractionSynthesisReached);
        make.centerY.equalTo(lengthRussianFractionSynthesisReached);
        make.width.height.mas_equalTo(NapEscaping.restoringWay.useLeaseTone);
    }];
    
    [runPutExecLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_carAnyImageView.mas_right).offset(NapEscaping.restoringWay.putGradeHand);
        make.centerY.equalTo(lengthRussianFractionSynthesisReached);
        make.right.equalTo(lengthRussianFractionSynthesisReached);
    }];
    
    
    _wayButton = [self oneAdobeFrenchJustifiedRectangleAndIcon:NapEscaping.restoringWay.gracefulNecessaryBevelFragmentRawDepth
                                                  title:NapEscaping.sigmaTabBedKit.hourlyEchoGreaterBinaryOwn
                                               subtitle:TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing.relevanceEar.ruleEra];
    [self.view addSubview:_wayButton];
    [_wayButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(lengthRussianFractionSynthesisReached.mas_bottom).offset(NapEscaping.restoringWay.poloSecurity);
        make.left.equalTo(self.view).offset(NapEscaping.restoringWay.pashtoExpire);
        make.right.equalTo(self.view).offset(-NapEscaping.restoringWay.pashtoExpire);
        make.height.mas_equalTo(NapEscaping.restoringWay.useLeaseTone);
    }];
    [_wayButton addTarget:self action:@selector(napAndPlayBarAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _sawButton = [self oneAdobeFrenchJustifiedRectangleAndIcon:NapEscaping.restoringWay.latencyAccessingDisparitySeekingTruncateSpatial
                                                   title:NapEscaping.sigmaTabBedKit.pickerSourceDescendWaxInsert
                                                subtitle:TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing.relevanceEar.herMouse];
    [self.view addSubview:_sawButton];
    [_sawButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_wayButton.mas_bottom).offset(NapEscaping.restoringWay.seventeenFax);
        make.left.equalTo(self.view).offset(NapEscaping.restoringWay.pashtoExpire);
        make.right.equalTo(self.view).offset(-NapEscaping.restoringWay.pashtoExpire);
        make.height.mas_equalTo(NapEscaping.restoringWay.useLeaseTone);
    }];
    [_sawButton addTarget:self action:@selector(subSlowPackTagAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _howButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _howButton.layer.cornerRadius = NapEscaping.restoringWay.mailInnerAny;
    _howButton.layer.masksToBounds = YES;
    
    NSString *earYetImage = [NapEscaping hasDisorderChinaHisMetadataImage];
    if (earYetImage) {
        [_howButton sd_setBackgroundImageWithURL:[NSURL URLWithString:earYetImage] forState:UIControlStateNormal];
    } else {
        _howButton.backgroundColor = [UIColor evictionCreditAgeRejectHebrewStable:NapEscaping.restoringWay.feedBayerColor];
    }
    [_howButton setTitle:NapEscaping.sigmaTabBedKit.mouthFootHellmanDayEra forState:UIControlStateNormal];
    [_howButton setTitleColor:[NapEscaping barrierFlipColor] forState:UIControlStateNormal];
    _howButton.titleLabel.font = [UIFont systemFontOfSize:NapEscaping.restoringWay.poloSecurity weight:UIFontWeightMedium];
    UIImage *tipIcon = [UIImage systemImageNamed:NapEscaping.restoringWay.listenPassAssetPowerDismissalStride];
    [_howButton setImage:tipIcon forState:UIControlStateNormal];
    _howButton.imageEdgeInsets = UIEdgeInsetsMake(0, -NapEscaping.restoringWay.dayCallTall, 0, 0);
    _howButton.titleEdgeInsets = UIEdgeInsetsMake(0, NapEscaping.restoringWay.dayCallTall, 0, 0);
    _howButton.tintColor = [NapEscaping barrierFlipColor];
    [self.view addSubview:_howButton];
    [_howButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_sawButton.mas_bottom).offset(NapEscaping.restoringWay.seventeenFax);
        make.left.equalTo(self.view).offset(NapEscaping.restoringWay.pashtoExpire);
        make.right.equalTo(self.view).offset(-NapEscaping.restoringWay.pashtoExpire);
        make.height.mas_equalTo(NapEscaping.restoringWay.useLeaseTone);
    }];
    [_howButton addTarget:self action:@selector(digitalInnerAlignmentOpenTeaspoonsAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *secretPrompt = [[UILabel alloc] init];
    secretPrompt.text = [NSString stringWithFormat:NapEscaping.restoringWay.moderateInvisibleStretchCanonicalInspiredForce, TagBinRealConfig.shared.encrypted.secretPrompt];
    secretPrompt.font = [UIFont systemFontOfSize:NapEscaping.restoringWay.hisMouthTrap weight:UIFontWeightLight];
    secretPrompt.textAlignment = NSTextAlignmentLeft;
    secretPrompt.textColor = [UIColor evictionCreditAgeRejectHebrewStable:NapEscaping.restoringWay.netChestHex];
    [self.view addSubview:secretPrompt];
    [secretPrompt mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-NapEscaping.restoringWay.lowPlainLow);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *spanSlowView = [UIView new];
    spanSlowView.userInteractionEnabled = YES;
    spanSlowView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:spanSlowView];
    [spanSlowView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(NapEscaping.restoringWay.depthSubject, NapEscaping.restoringWay.depthSubject));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *silencedWrappersKeyboardChinaPortraits = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(previewPointersBankFourWrapInfo)];
    silencedWrappersKeyboardChinaPortraits.numberOfTapsRequired = NapEscaping.restoringWay.drawPeerAnd;
    [spanSlowView addGestureRecognizer:silencedWrappersKeyboardChinaPortraits];
    
    
    UIView *largeSeekingSmileSixteenEject = [UIView new];
    largeSeekingSmileSixteenEject.userInteractionEnabled = YES;
    largeSeekingSmileSixteenEject.backgroundColor = UIColor.clearColor;
    [self.view addSubview:largeSeekingSmileSixteenEject];
    [largeSeekingSmileSixteenEject mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(NapEscaping.restoringWay.depthSubject, NapEscaping.restoringWay.depthSubject));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *allocatedEitherHitPlugWide = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(parentForkBack)];
    allocatedEitherHitPlugWide.numberOfTapsRequired = NapEscaping.restoringWay.drawPeerAnd;
    [largeSeekingSmileSixteenEject addGestureRecognizer:allocatedEitherHitPlugWide];
    
    
}


- (UIButton *)oneAdobeFrenchJustifiedRectangleAndIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = NapEscaping.restoringWay.mailInnerAny;
    
    if ([NapEscaping relativeWrapperLostDeltaPitchImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [NapEscaping feedBayerColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:NapEscaping.restoringWay.mailInnerAny weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [NapEscaping feedBayerColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(NapEscaping.restoringWay.putGradeHand);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(NapEscaping.restoringWay.interlaceNap);
    }];
    
    
    UILabel *runPutExecLabel = [[UILabel alloc] init];
    runPutExecLabel.text = title;
    runPutExecLabel.font = [UIFont systemFontOfSize:NapEscaping.restoringWay.tabRaiseMark weight:UIFontWeightMedium];
    runPutExecLabel.textColor = [UIColor evictionCreditAgeRejectHebrewStable:NapEscaping.restoringWay.farSingular];
    [button addSubview:runPutExecLabel];
    [runPutExecLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(NapEscaping.restoringWay.putGradeHand);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:NapEscaping.restoringWay.tabRaiseMark];
    subtitleLabel.textColor = [NapEscaping feedBayerColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-NapEscaping.restoringWay.poloSecurity);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)napAndPlayBarAction:(id)sender {
    NSString *catThree = TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing.relevanceEar.ruleEra;
    if (catThree.length > 0) {
        [self.pongEsperanto kilobytesDescribeKeyMindStopCaloriePrinted:[NSString stringWithFormat:NapEscaping.restoringWay.resolvedReduceLockRevisionLookTibetan, catThree]];
    } else {
        [MidToast outUses:NapEscaping.sigmaTabBedKit.lawQuickInactiveCompareEightHex];
    }
}

- (void)subSlowPackTagAction:(id)sender {
    NSString *helpSerif = TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing.relevanceEar.herMouse;
    if (helpSerif.length > 0) {
        [self.pongEsperanto kilobytesDescribeKeyMindStopCaloriePrinted:[NSString stringWithFormat:NapEscaping.restoringWay.awakeLessEqualitySunConfirmOff, helpSerif]];
    } else {
        [MidToast outUses:NapEscaping.sigmaTabBedKit.primeOldestExerciseDigitizedPreservedObscures];
    }
}

- (void)digitalInnerAlignmentOpenTeaspoonsAction:(id)sender {
    NSString *cropKeyRow = TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing.relevanceEar.axesBold;
    if (cropKeyRow.length > 0) {
        [self.pongEsperanto kilobytesDescribeKeyMindStopCaloriePrinted:cropKeyRow];
    } else {
        [MidToast outUses:NapEscaping.sigmaTabBedKit.selfEveryEnumerateTargetedStationPresenter];
    }
}

- (void)previewPointersBankFourWrapInfo {
    IllPathPubViewController *elevenGasp = [IllPathPubViewController new];
    NSDictionary *mealRenewed = @{
        NapEscaping.restoringWay.factorPutWaxMidMinuteSubgroup: [[NSBundle mainBundle] infoDictionary],
        NapEscaping.restoringWay.endAnchoredRequestedTexturedBetweenMaximum: [TagBinRealConfig.shared.abortBigBitInfo justPossibleDict],
        NapEscaping.restoringWay.justMegawattsExpansionFlatnessBalticEngineer: [TagBinRealConfig.shared.encrypted justPossibleDict],
        NapEscaping.restoringWay.registerNumericAttachedSigmaIrregularWon: [TagBinRealConfig.shared.capBuddhistInfo justPossibleDict],
        NapEscaping.restoringWay.secureSalientSegmentsPickerMomentaryScattered: [TagBinRealConfig.shared.cautionMacintoshAbortedMixIndexing justPossibleDict],
        NapEscaping.restoringWay.angularPanoramasReceiveIdenticalInstallMaltese: [TagBinRealConfig.shared.singularConnectedBouncingDesignNap justPossibleDict]
    };
    [elevenGasp spaTagBlobSumInfo:mealRenewed withTitle:@""];
    [self.navigationController pushViewController:elevenGasp animated:NO];
}

- (void)parentForkBack {
    [BadgeViewController showFromViewController:self];
}
@end
