






#import "RefreshFunViewController.h"
#import "AirCelsiusViewController.h"
#import "DenyArmMapConfig.h"
#import "NSObject+BusModel.h"
#import "UIColor+EarColor.h"
#import "NotToast.h"
#import "SchoolDayClockRemainderMargin.h"
#import "UIButton+WebCache.h"

@interface RefreshFunViewController ()

@property (nonatomic, strong) UIImageView *exportImageView;
@property (nonatomic, strong) UIButton *kinButton;
@property (nonatomic, strong) UIButton *addButton;
@property (nonatomic, strong) UIButton *bitButton;

@end

@implementation RefreshFunViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    
    self.view.backgroundColor = [UIColor scrollingCardioidBendEndpointCupNot:PriorEarSee.netListPhoto.planeTwelve];
    
    
    UIView *tiedInvalidBarRangingHigh = [[UIView alloc] init];
    tiedInvalidBarRangingHigh.backgroundColor = [UIColor clearColor];
    [self.view addSubview:tiedInvalidBarRangingHigh];
    
    
    _exportImageView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PriorEarSee.netListPhoto.hintRetTrait weight:UIImageSymbolWeightMedium];
    UIImage *headerImage = [UIImage systemImageNamed:PriorEarSee.netListPhoto.chunkyLiterClearMouseKnowSyntaxOptimize withConfiguration:config];
    _exportImageView.image = headerImage;
    _exportImageView.tintColor = [PriorEarSee seeKazakhColor];
    _exportImageView.contentMode = UIViewContentModeScaleAspectFit;
    [tiedInvalidBarRangingHigh addSubview:_exportImageView];
    
    
    UILabel *autoAlwaysLabel = [[UILabel alloc] init];
    autoAlwaysLabel.text = PriorEarSee.drawCreditLeft.sayRealPlainIntegrateParentalItalian;
    autoAlwaysLabel.font = [UIFont boldSystemFontOfSize:PriorEarSee.netListPhoto.refusedPulse];
    autoAlwaysLabel.textAlignment = NSTextAlignmentLeft;
    autoAlwaysLabel.textColor = [UIColor scrollingCardioidBendEndpointCupNot:PriorEarSee.netListPhoto.slabMixKeep];
    [tiedInvalidBarRangingHigh addSubview:autoAlwaysLabel];
    
    
    [tiedInvalidBarRangingHigh mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(PriorEarSee.netListPhoto.uighurDerive);
        make.centerX.equalTo(self.view).offset(-PriorEarSee.netListPhoto.blendTooOdd);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.butDueSafari);
    }];
    
    
    [_exportImageView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(tiedInvalidBarRangingHigh);
        make.centerY.equalTo(tiedInvalidBarRangingHigh);
        make.width.height.mas_equalTo(PriorEarSee.netListPhoto.butDueSafari);
    }];
    
    [autoAlwaysLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(_exportImageView.mas_right).offset(PriorEarSee.netListPhoto.magicChatWin);
        make.centerY.equalTo(tiedInvalidBarRangingHigh);
        make.right.equalTo(tiedInvalidBarRangingHigh);
    }];
    
    
    _kinButton = [self scoreFourthTargetedOverhangAnimatedTrailingIcon:PriorEarSee.netListPhoto.estimateSlowSaveDryFormatsToo
                                                  title:PriorEarSee.drawCreditLeft.jouleWorkingStaleBankMen
                                               subtitle:DenyArmMapConfig.shared.basicPriorNoiseHasEntities.behaviorNear.readFar];
    [self.view addSubview:_kinButton];
    [_kinButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(tiedInvalidBarRangingHigh.mas_bottom).offset(PriorEarSee.netListPhoto.uighurDerive);
        make.left.equalTo(self.view).offset(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.equalTo(self.view).offset(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.butDueSafari);
    }];
    [_kinButton addTarget:self action:@selector(airlineAmpereAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _addButton = [self scoreFourthTargetedOverhangAnimatedTrailingIcon:PriorEarSee.netListPhoto.behaveBlendDiskInsertedResponseKilowatts
                                                   title:PriorEarSee.drawCreditLeft.fiberDecipherWeekendEncodedMatch
                                                subtitle:DenyArmMapConfig.shared.basicPriorNoiseHasEntities.behaviorNear.kinInuit];
    [self.view addSubview:_addButton];
    [_addButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_kinButton.mas_bottom).offset(PriorEarSee.netListPhoto.rationalPlug);
        make.left.equalTo(self.view).offset(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.equalTo(self.view).offset(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.butDueSafari);
    }];
    [_addButton addTarget:self action:@selector(armNowEulerAddAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    _bitButton = [UIButton buttonWithType:UIButtonTypeCustom];
    _bitButton.layer.cornerRadius = PriorEarSee.netListPhoto.refusedPulse;
    _bitButton.layer.masksToBounds = YES;
    
    NSString *binRowImage = [PriorEarSee nibblesResponsesAudiencePastCapImage];
    if (binRowImage) {
        [_bitButton sd_setBackgroundImageWithURL:[NSURL URLWithString:binRowImage] forState:UIControlStateNormal];
    } else {
        _bitButton.backgroundColor = [UIColor scrollingCardioidBendEndpointCupNot:PriorEarSee.netListPhoto.seeKazakhColor];
    }
    [_bitButton setTitle:PriorEarSee.drawCreditLeft.containCapturingHeadlineBitsEngine forState:UIControlStateNormal];
    [_bitButton setTitleColor:[PriorEarSee wonVersionsColor] forState:UIControlStateNormal];
    _bitButton.titleLabel.font = [UIFont systemFontOfSize:PriorEarSee.netListPhoto.uighurDerive weight:UIFontWeightMedium];
    UIImage *spaIcon = [UIImage systemImageNamed:PriorEarSee.netListPhoto.bankContextsMatchCapTildeProvided];
    [_bitButton setImage:spaIcon forState:UIControlStateNormal];
    _bitButton.imageEdgeInsets = UIEdgeInsetsMake(0, -PriorEarSee.netListPhoto.verticalHer, 0, 0);
    _bitButton.titleEdgeInsets = UIEdgeInsetsMake(0, PriorEarSee.netListPhoto.verticalHer, 0, 0);
    _bitButton.tintColor = [PriorEarSee wonVersionsColor];
    [self.view addSubview:_bitButton];
    [_bitButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(_addButton.mas_bottom).offset(PriorEarSee.netListPhoto.rationalPlug);
        make.left.equalTo(self.view).offset(PriorEarSee.netListPhoto.twoSilentFor);
        make.right.equalTo(self.view).offset(-PriorEarSee.netListPhoto.twoSilentFor);
        make.height.mas_equalTo(PriorEarSee.netListPhoto.butDueSafari);
    }];
    [_bitButton addTarget:self action:@selector(integrateGatherStopTerahertzFootnoteAction:) forControlEvents:UIControlEventTouchUpInside];
    
    
    UILabel *maskDryPlace = [[UILabel alloc] init];
    maskDryPlace.text = [NSString stringWithFormat:PriorEarSee.netListPhoto.wonImmutableWrappersMediumAttempterProtocol, DenyArmMapConfig.shared.kitAssign.maskDryPlace];
    maskDryPlace.font = [UIFont systemFontOfSize:PriorEarSee.netListPhoto.needWasMonth weight:UIFontWeightLight];
    maskDryPlace.textAlignment = NSTextAlignmentLeft;
    maskDryPlace.textColor = [UIColor scrollingCardioidBendEndpointCupNot:PriorEarSee.netListPhoto.carTeethHex];
    [self.view addSubview:maskDryPlace];
    [maskDryPlace mas_makeConstraints:^(MASConstraintMaker *make) {
        make.bottom.equalTo(self.view).offset(-PriorEarSee.netListPhoto.cousinUsage);
        make.centerX.equalTo(self.view);
    }];
    
    
    UIView *planLoveView = [UIView new];
    planLoveView.userInteractionEnabled = YES;
    planLoveView.backgroundColor = UIColor.clearColor;
    [self.view addSubview:planLoveView];
    [planLoveView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PriorEarSee.netListPhoto.pairReceiver, PriorEarSee.netListPhoto.pairReceiver));
        make.right.bottom.equalTo(self.view);
    }];
    UITapGestureRecognizer *radioIntentsSwedishStreamsBorder = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(foodOwnManagedFifteenGallonInfo)];
    radioIntentsSwedishStreamsBorder.numberOfTapsRequired = PriorEarSee.netListPhoto.blendTooOdd;
    [planLoveView addGestureRecognizer:radioIntentsSwedishStreamsBorder];
    
    
    UIView *stationIssuerReliableSerializeYard = [UIView new];
    stationIssuerReliableSerializeYard.userInteractionEnabled = YES;
    stationIssuerReliableSerializeYard.backgroundColor = UIColor.clearColor;
    [self.view addSubview:stationIssuerReliableSerializeYard];
    [stationIssuerReliableSerializeYard mas_makeConstraints:^(MASConstraintMaker *make) {
        make.size.mas_equalTo(CGSizeMake(PriorEarSee.netListPhoto.pairReceiver, PriorEarSee.netListPhoto.pairReceiver));
        make.left.bottom.equalTo(self.view);
    }];
    
    UITapGestureRecognizer *forRearSiblingsHelpSmall = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(titleLocalized)];
    forRearSiblingsHelpSmall.numberOfTapsRequired = PriorEarSee.netListPhoto.blendTooOdd;
    [stationIssuerReliableSerializeYard addGestureRecognizer:forRearSiblingsHelpSmall];
    
    
}


- (UIButton *)scoreFourthTargetedOverhangAnimatedTrailingIcon:(NSString *)iconName title:(NSString *)title subtitle:(NSString *)subtitle {
    UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom];
    button.layer.cornerRadius = PriorEarSee.netListPhoto.refusedPulse;
    
    if ([PriorEarSee adjustingTexturedPreventProximityLaunchingImage]) {
        button.backgroundColor = UIColor.clearColor;
        button.layer.borderColor = [PriorEarSee seeKazakhColor].CGColor;
        button.layer.borderWidth = 0.6;
    } else {
        button.backgroundColor = [UIColor whiteColor];
    }
    
    
    UIImageView *iconView = [[UIImageView alloc] init];
    UIImageSymbolConfiguration *config = [UIImageSymbolConfiguration configurationWithPointSize:PriorEarSee.netListPhoto.refusedPulse weight:UIImageSymbolWeightMedium];
    UIImage *icon = [UIImage systemImageNamed:iconName withConfiguration:config];
    iconView.image = icon;
    iconView.tintColor = [PriorEarSee seeKazakhColor];
    iconView.contentMode = UIViewContentModeScaleAspectFit;
    [button addSubview:iconView];
    [iconView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(button).offset(PriorEarSee.netListPhoto.magicChatWin);
        make.centerY.equalTo(button);
        make.width.height.mas_equalTo(PriorEarSee.netListPhoto.ownChromaToo);
    }];
    
    
    UILabel *autoAlwaysLabel = [[UILabel alloc] init];
    autoAlwaysLabel.text = title;
    autoAlwaysLabel.font = [UIFont systemFontOfSize:PriorEarSee.netListPhoto.butCopperOpt weight:UIFontWeightMedium];
    autoAlwaysLabel.textColor = [UIColor scrollingCardioidBendEndpointCupNot:PriorEarSee.netListPhoto.slabMixKeep];
    [button addSubview:autoAlwaysLabel];
    [autoAlwaysLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.equalTo(iconView.mas_right).offset(PriorEarSee.netListPhoto.magicChatWin);
        make.centerY.equalTo(button);
    }];
    
    
    UILabel *subtitleLabel = [[UILabel alloc] init];
    subtitleLabel.text = subtitle;
    subtitleLabel.font = [UIFont systemFontOfSize:PriorEarSee.netListPhoto.butCopperOpt];
    subtitleLabel.textColor = [PriorEarSee seeKazakhColor];
    [button addSubview:subtitleLabel];
    [subtitleLabel mas_makeConstraints:^(MASConstraintMaker *make) {
        make.right.equalTo(button).offset(-PriorEarSee.netListPhoto.uighurDerive);
        make.centerY.equalTo(button);
    }];
    
    return button;
}

- (void)airlineAmpereAction:(id)sender {
    NSString *kinSerif = DenyArmMapConfig.shared.basicPriorNoiseHasEntities.behaviorNear.readFar;
    if (kinSerif.length > 0) {
        [self.configureRank allQueueTopAssignNetworkOriginFootball:[NSString stringWithFormat:PriorEarSee.netListPhoto.topRowLeakyVersionMasteringInvitee, kinSerif]];
    } else {
        [NotToast farOver:PriorEarSee.drawCreditLeft.smallAnyRedPenIntentsChannels];
    }
}

- (void)armNowEulerAddAction:(id)sender {
    NSString *anchoring = DenyArmMapConfig.shared.basicPriorNoiseHasEntities.behaviorNear.kinInuit;
    if (anchoring.length > 0) {
        [self.configureRank allQueueTopAssignNetworkOriginFootball:[NSString stringWithFormat:PriorEarSee.netListPhoto.elevenQuantizeAngleSimpleTipStride, anchoring]];
    } else {
        [NotToast farOver:PriorEarSee.drawCreditLeft.compressThreadSubsetSpecificBaselinesStamp];
    }
}

- (void)integrateGatherStopTerahertzFootnoteAction:(id)sender {
    NSString *barKitGram = DenyArmMapConfig.shared.basicPriorNoiseHasEntities.behaviorNear.revealed;
    if (barKitGram.length > 0) {
        [self.configureRank allQueueTopAssignNetworkOriginFootball:barKitGram];
    } else {
        [NotToast farOver:PriorEarSee.drawCreditLeft.legacyCutAffiliateKilowattMetricCanonical];
    }
}

- (void)foodOwnManagedFifteenGallonInfo {
    AirCelsiusViewController *rollDerive = [AirCelsiusViewController new];
    NSDictionary *bodyBagSave = @{
        PriorEarSee.netListPhoto.restTraitLawMeasureRectumItalics: [[NSBundle mainBundle] infoDictionary],
        PriorEarSee.netListPhoto.sourcesValidityReachedOrderChestTexture: [DenyArmMapConfig.shared.encryptBlurInfo symbolEarHasDict],
        PriorEarSee.netListPhoto.endpointActivatedCollationCustomLegacyLose: [DenyArmMapConfig.shared.kitAssign symbolEarHasDict],
        PriorEarSee.netListPhoto.greatAdvancesMenComponentEmptySamples: [DenyArmMapConfig.shared.fatMapSplatInfo symbolEarHasDict],
        PriorEarSee.netListPhoto.tryCanDueVisitAxesFlow: [DenyArmMapConfig.shared.basicPriorNoiseHasEntities symbolEarHasDict],
        PriorEarSee.netListPhoto.obtainBirthDebuggingUpsideQueryingStake: [DenyArmMapConfig.shared.terminalReadyDayPromptRadians symbolEarHasDict]
    };
    [rollDerive roundLeakyLawInfo:bodyBagSave withTitle:@""];
    [self.navigationController pushViewController:rollDerive animated:NO];
}

- (void)titleLocalized {
    [CycleViewController showFromViewController:self];
}
@end
