Update galore
No files matched your search
@@ -10,9 +10,9 @@ function akismet_admin_init() {
|
||||
if ( !function_exists('is_multisite') && version_compare( $wp_version, '3.0', '<' ) ) {
|
||||
|
||||
function akismet_version_warning() {
|
||||
echo "
|
||||
<div id='akismet-warning' class='updated fade'><p><strong>".sprintf(__('Akismet %s requires WordPress 3.0 or higher.'), AKISMET_VERSION) ."</strong> ".sprintf(__('Please <a href="%s">upgrade WordPress</a> to a current version, or <a href="%s">downgrade to version 2.4 of the Akismet plugin</a>.'), 'http://codex.wordpress.org/Upgrading_WordPress', 'http://wordpress.org/extend/plugins/akismet/download/'). "</p></div>
|
||||
";
|
||||
echo '
|
||||
<div id="akismet-warning" class="updated fade"><p><strong>'.sprintf(__('Akismet %s requires WordPress 3.0 or higher.'), AKISMET_VERSION) .'</strong> '.sprintf(__('Please <a href="%s">upgrade WordPress</a> to a current version, or <a href="%s">downgrade to version 2.4 of the Akismet plugin</a>.'), 'http://codex.wordpress.org/Upgrading_WordPress', 'http://wordpress.org/extend/plugins/akismet/download/'). '</p></div>
|
||||
';
|
||||
}
|
||||
add_action('admin_notices', 'akismet_version_warning');
|
||||
|
||||
@@ -23,7 +23,6 @@ function akismet_admin_init() {
|
||||
$hook = get_plugin_page_hook( 'akismet-stats-display', 'index.php' );
|
||||
else
|
||||
$hook = 'dashboard_page_akismet-stats-display';
|
||||
add_action('admin_head-'.$hook, 'akismet_stats_script');
|
||||
add_meta_box('akismet-status', __('Comment History'), 'akismet_comment_status_meta_box', 'comment', 'normal');
|
||||
}
|
||||
add_action('admin_init', 'akismet_admin_init');
|
||||
@@ -32,20 +31,28 @@ add_action( 'admin_enqueue_scripts', 'akismet_load_js_and_css' );
|
||||
function akismet_load_js_and_css() {
|
||||
global $hook_suffix;
|
||||
|
||||
if (
|
||||
$hook_suffix == 'index.php' # dashboard
|
||||
|| $hook_suffix == 'edit-comments.php'
|
||||
|| $hook_suffix == 'comment.php'
|
||||
|| $hook_suffix == 'post.php'
|
||||
|| $hook_suffix == 'plugins_page_akismet-key-config'
|
||||
) {
|
||||
wp_register_style( 'akismet.css', AKISMET_PLUGIN_URL . 'akismet.css', array(), '2.5.4.4' );
|
||||
if ( in_array( $hook_suffix, array(
|
||||
'index.php', # dashboard
|
||||
'edit-comments.php',
|
||||
'comment.php',
|
||||
'post.php',
|
||||
'plugins_page_akismet-key-config',
|
||||
'jetpack_page_akismet-key-config',
|
||||
) ) ) {
|
||||
wp_register_style( 'akismet.css', AKISMET_PLUGIN_URL . 'akismet.css', array(), AKISMET_VERSION );
|
||||
wp_enqueue_style( 'akismet.css');
|
||||
|
||||
wp_register_script( 'akismet.js', AKISMET_PLUGIN_URL . 'akismet.js', array('jquery'), '2.5.4.6' );
|
||||
wp_register_script( 'akismet.js', AKISMET_PLUGIN_URL . 'akismet.js', array('jquery'), AKISMET_VERSION );
|
||||
wp_enqueue_script( 'akismet.js' );
|
||||
wp_localize_script( 'akismet.js', 'WPAkismet', array(
|
||||
'comment_author_url_nonce' => wp_create_nonce( 'comment_author_url_nonce' )
|
||||
'comment_author_url_nonce' => wp_create_nonce( 'comment_author_url_nonce' ),
|
||||
'strings' => array(
|
||||
'Remove this URL' => __( 'Remove this URL' ),
|
||||
'Removing...' => __( 'Removing...' ),
|
||||
'URL removed' => __( 'URL removed' ),
|
||||
'(undo)' => __( '(undo)' ),
|
||||
'Re-adding...' => __( 'Re-adding...' ),
|
||||
)
|
||||
) );
|
||||
}
|
||||
}
|
||||
@@ -56,7 +63,7 @@ $akismet_nonce = 'akismet-update-key';
|
||||
|
||||
function akismet_plugin_action_links( $links, $file ) {
|
||||
if ( $file == plugin_basename( dirname(__FILE__).'/akismet.php' ) ) {
|
||||
$links[] = '<a href="admin.php?page=akismet-key-config">'.__('Settings').'</a>';
|
||||
$links[] = '<a href="' . admin_url( 'admin.php?page=akismet-key-config' ) . '">'.__( 'Settings' ).'</a>';
|
||||
}
|
||||
|
||||
return $links;
|
||||
@@ -65,35 +72,54 @@ function akismet_plugin_action_links( $links, $file ) {
|
||||
add_filter( 'plugin_action_links', 'akismet_plugin_action_links', 10, 2 );
|
||||
|
||||
function akismet_conf() {
|
||||
global $akismet_nonce, $wpcom_api_key;
|
||||
global $akismet_nonce, $current_user;
|
||||
|
||||
$new_key_link = 'https://akismet.com/get/';
|
||||
$config_link = esc_url( add_query_arg( array( 'page' => 'akismet-key-config', 'show' => 'enter-api-key' ), class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'plugins.php' ) ) );
|
||||
$stats_link = esc_url( add_query_arg( array( 'page' => 'akismet-stats-display' ), class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'index.php' ) ) );
|
||||
$api_key = akismet_get_key();
|
||||
$show_key_form = $api_key;
|
||||
$key_status = 'empty';
|
||||
$saved_ok = false;
|
||||
$key_status_text = '';
|
||||
|
||||
$ms = array();
|
||||
|
||||
if ( isset($_POST['submit']) ) {
|
||||
if ( isset( $_POST['submit'] ) ) {
|
||||
if ( function_exists('current_user_can') && !current_user_can('manage_options') )
|
||||
die(__('Cheatin’ uh?'));
|
||||
|
||||
$show_key_form = true;
|
||||
|
||||
check_admin_referer( $akismet_nonce );
|
||||
$key = preg_replace( '/[^a-h0-9]/i', '', $_POST['key'] );
|
||||
$key = preg_replace( '/[^a-h0-9]/i', '', $_POST['key'] );
|
||||
$home_url = parse_url( get_bloginfo('url') );
|
||||
|
||||
if ( empty($key) ) {
|
||||
$key_status = 'empty';
|
||||
$ms[] = 'new_key_empty';
|
||||
delete_option('wordpress_api_key');
|
||||
} elseif ( empty($home_url['host']) ) {
|
||||
$key_status = 'empty';
|
||||
|
||||
if ( empty( $home_url['host'] ) )
|
||||
$ms[] = 'bad_home_url';
|
||||
} else {
|
||||
$key_status = akismet_verify_key( $key );
|
||||
}
|
||||
|
||||
if ( $key_status == 'valid' ) {
|
||||
update_option('wordpress_api_key', $key);
|
||||
if ( empty( $key ) ) {
|
||||
if ( $api_key ) {
|
||||
delete_option('wordpress_api_key');
|
||||
$saved_ok = true;
|
||||
$ms[] = 'new_key_empty';
|
||||
}
|
||||
else
|
||||
$ms[] = 'key_empty';
|
||||
}
|
||||
else
|
||||
$key_status = akismet_verify_key( $key );
|
||||
|
||||
if ( $key != $api_key && $key_status == 'valid' ) {
|
||||
$ms[] = 'new_key_valid';
|
||||
} else if ( $key_status == 'invalid' ) {
|
||||
$ms[] = 'new_key_invalid';
|
||||
} else if ( $key_status == 'failed' ) {
|
||||
$ms[] = 'new_key_failed';
|
||||
update_option('wordpress_api_key', $key);
|
||||
}
|
||||
elseif ( $key_status == 'invalid' )
|
||||
$ms[] = 'new_key_invalid';
|
||||
elseif ( $key_status == 'failed' )
|
||||
$ms[] = 'new_key_failed';
|
||||
|
||||
$api_key = $key_status == 'valid' ? $key : false;
|
||||
|
||||
if ( isset( $_POST['akismet_discard_month'] ) )
|
||||
update_option( 'akismet_discard_month', 'true' );
|
||||
@@ -104,174 +130,208 @@ function akismet_conf() {
|
||||
update_option( 'akismet_show_user_comments_approved', 'true' );
|
||||
else
|
||||
update_option( 'akismet_show_user_comments_approved', 'false' );
|
||||
|
||||
if ( empty( $ms ) )
|
||||
$saved_ok = true;
|
||||
|
||||
} elseif ( isset($_POST['check']) ) {
|
||||
}
|
||||
elseif ( isset( $_POST['check'] ) ) {
|
||||
$show_key_form = true;
|
||||
check_admin_referer( $akismet_nonce );
|
||||
akismet_get_server_connectivity(0);
|
||||
}
|
||||
|
||||
if ( empty( $key_status) || $key_status != 'valid' ) {
|
||||
$key = get_option('wordpress_api_key');
|
||||
if ( empty( $key ) ) {
|
||||
if ( empty( $key_status ) || $key_status != 'failed' ) {
|
||||
if ( akismet_verify_key( '1234567890ab' ) == 'failed' )
|
||||
$ms[] = 'no_connection';
|
||||
else
|
||||
$ms[] = 'key_empty';
|
||||
}
|
||||
$key_status = 'empty';
|
||||
} else {
|
||||
$key_status = akismet_verify_key( $key );
|
||||
}
|
||||
if ( $key_status == 'valid' ) {
|
||||
$ms[] = 'key_valid';
|
||||
} else if ( $key_status == 'invalid' ) {
|
||||
$ms[] = 'key_invalid';
|
||||
} else if ( !empty($key) && $key_status == 'failed' ) {
|
||||
$ms[] = 'key_failed';
|
||||
}
|
||||
}
|
||||
|
||||
$messages = array(
|
||||
'new_key_empty' => array('color' => 'aa0', 'text' => __('Your key has been cleared.')),
|
||||
'new_key_valid' => array('color' => '4AB915', 'text' => __('Your key has been verified. Happy blogging!')),
|
||||
'new_key_invalid' => array('color' => '888', 'text' => __('The key you entered is invalid. Please double-check it.')),
|
||||
'new_key_failed' => array('color' => '888', 'text' => __('The key you entered could not be verified because a connection to akismet.com could not be established. Please check your server configuration.')),
|
||||
'no_connection' => array('color' => '888', 'text' => __('There was a problem connecting to the Akismet server. Please check your server configuration.')),
|
||||
'key_empty' => array('color' => 'aa0', 'text' => sprintf(__('Please enter an API key. (<a href="%s" style="color:#fff">Get your key.</a>)'), 'http://akismet.com/get/?return=true')),
|
||||
'key_valid' => array('color' => '4AB915', 'text' => __('This key is valid.')),
|
||||
'key_invalid' => array('color' => '888', 'text' => __('This key is invalid.')),
|
||||
'key_failed' => array('color' => 'aa0', 'text' => __('The key below was previously validated but a connection to akismet.com can not be established at this time. Please check your server configuration.')),
|
||||
'bad_home_url' => array('color' => '888', 'text' => sprintf( __('Your WordPress home URL %s is invalid. Please fix the <a href="%s">home option</a>.'), esc_html( get_bloginfo('url') ), admin_url('options.php#home') ) ),
|
||||
);
|
||||
?>
|
||||
<?php if ( !empty($_POST['submit'] ) ) : ?>
|
||||
<div id="message" class="updated fade"><p><strong><?php _e('Options saved.') ?></strong></p></div>
|
||||
<?php endif; ?>
|
||||
<div class="wrap">
|
||||
<h2><?php _e('Akismet Configuration'); ?></h2>
|
||||
<?php if (isset($_GET['message']) && $_GET['message'] == 'success') { ?>
|
||||
<div class="updated below-h2" id="message"><p><?php _e( '<strong>Sign up success!</strong> Please check your email for your Akismet API Key and enter it below.' ); ?></p></div>
|
||||
<?php } ?>
|
||||
<div class="narrow">
|
||||
<form action="" method="post" id="akismet-conf" style="margin: auto; width: 400px; ">
|
||||
<?php if ( !$wpcom_api_key ) { ?>
|
||||
<p><?php printf(__('For many people, <a href="%1$s">Akismet</a> will greatly reduce or even completely eliminate the comment and trackback spam you get on your site. If one does happen to get through, simply mark it as "spam" on the moderation screen and Akismet will learn from the mistakes. If you don\'t have an API key yet, you can get one at <a href="%2$s">Akismet.com</a>.'), 'http://akismet.com/?return=true', 'http://akismet.com/get/?return=true'); ?></p>
|
||||
|
||||
<h3><label for="key"><?php _e('Akismet API Key'); ?></label></h3>
|
||||
<?php foreach ( $ms as $m ) : ?>
|
||||
<p style="padding: .5em; background-color: #<?php echo $messages[$m]['color']; ?>; color: #fff; font-weight: bold;"><?php echo $messages[$m]['text']; ?></p>
|
||||
<?php endforeach; ?>
|
||||
<p><input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo get_option('wordpress_api_key'); ?>" style="font-family: 'Courier New', Courier, mono; font-size: 1.5em;" /> (<?php _e('<a href="http://akismet.com/get/?return=true">What is this?</a>'); ?>)</p>
|
||||
<?php if ( isset( $invalid_key) && $invalid_key ) { ?>
|
||||
<h3><?php _e('Why might my key be invalid?'); ?></h3>
|
||||
<p><?php _e('This can mean one of two things, either you copied the key wrong or that the plugin is unable to reach the Akismet servers, which is most often caused by an issue with your web host around firewalls or similar.'); ?></p>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
<?php akismet_nonce_field($akismet_nonce) ?>
|
||||
<p><label><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php if ( get_option('akismet_discard_month') == 'true' ) echo ' checked="checked" '; ?> /> <?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></label></p>
|
||||
<p><label><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php if ( get_option('akismet_show_user_comments_approved') == 'true' ) echo ' checked="checked" '; ?> /> <?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></label></p>
|
||||
<p class="submit"><input type="submit" name="submit" value="<?php _e('Update options »'); ?>" /></p>
|
||||
</form>
|
||||
|
||||
<form action="" method="post" id="akismet-connectivity" style="margin: auto; width: 400px; ">
|
||||
|
||||
<h3><?php _e('Server Connectivity'); ?></h3>
|
||||
<?php
|
||||
if ( !function_exists('fsockopen') || !function_exists('gethostbynamel') ) {
|
||||
?>
|
||||
<p style="padding: .5em; background-color: #888; color: #fff; font-weight:bold;"><?php _e('Network functions are disabled.'); ?></p>
|
||||
<p><?php echo sprintf( __('Your web host or server administrator has disabled PHP\'s <code>fsockopen</code> or <code>gethostbynamel</code> functions. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet\'s system requirements</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php
|
||||
} else {
|
||||
$servers = akismet_get_server_connectivity();
|
||||
$fail_count = count($servers) - count( array_filter($servers) );
|
||||
if ( is_array($servers) && count($servers) > 0 ) {
|
||||
// some connections work, some fail
|
||||
if ( $fail_count > 0 && $fail_count < count($servers) ) { ?>
|
||||
<p style="padding: .5em; background-color: #aa0; color: #fff; font-weight:bold;"><?php _e('Unable to reach some Akismet servers.'); ?></p>
|
||||
<p><?php echo sprintf( __('A network problem or firewall is blocking some connections from your web server to Akismet.com. Akismet is working but this may cause problems during times of network congestion. Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php
|
||||
// all connections fail
|
||||
} elseif ( $fail_count > 0 ) { ?>
|
||||
<p style="padding: .5em; background-color: #888; color: #fff; font-weight:bold;"><?php _e('Unable to reach any Akismet servers.'); ?></p>
|
||||
<p><?php echo sprintf( __('A network problem or firewall is blocking all connections from your web server to Akismet.com. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php
|
||||
// all connections work
|
||||
} else { ?>
|
||||
<p style="padding: .5em; background-color: #4AB915; color: #fff; font-weight:bold;"><?php _e('All Akismet servers are available.'); ?></p>
|
||||
<p><?php _e('Akismet is working correctly. All servers are accessible.'); ?></p>
|
||||
<?php
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
<p style="padding: .5em; background-color: #888; color: #fff; font-weight:bold;"><?php _e('Unable to find Akismet servers.'); ?></p>
|
||||
<p><?php echo sprintf( __('A DNS problem or firewall is preventing all access from your web server to Akismet.com. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php
|
||||
}
|
||||
elseif ( isset( $_GET['show'] ) && $_GET['show'] == 'enter-api-key' ) {
|
||||
$show_key_form = true;
|
||||
}
|
||||
|
||||
if ( !empty($servers) ) {
|
||||
?>
|
||||
<table style="width: 100%;">
|
||||
<thead><th><?php _e('Akismet server'); ?></th><th><?php _e('Network Status'); ?></th></thead>
|
||||
<tbody>
|
||||
<?php
|
||||
asort($servers);
|
||||
foreach ( $servers as $ip => $status ) {
|
||||
$color = ( $status ? '#4AB915' : '#888');
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo htmlspecialchars($ip); ?></td>
|
||||
<td style="padding: 0 .5em; font-weight:bold; color: #fff; background-color: <?php echo $color; ?>"><?php echo ($status ? __('Accessible') : __('Re-trying') ); ?></td>
|
||||
|
||||
<?php
|
||||
if ( $show_key_form ) {
|
||||
//check current key status
|
||||
//only get this if showing the key form otherwise takes longer for page to load for new user
|
||||
//no need to get it if we already know it and its valid
|
||||
if ( in_array( $key_status, array( 'invalid', 'failed', 'empty' ) ) ) {
|
||||
$key = get_option('wordpress_api_key');
|
||||
if ( empty( $key ) ) {
|
||||
//no key saved yet - maybe connection to Akismet down?
|
||||
if ( in_array( $key_status, array( 'invalid', 'empty' ) ) ) {
|
||||
if ( akismet_verify_key( '1234567890ab' ) == 'failed' )
|
||||
$ms[] = 'no_connection';
|
||||
}
|
||||
}
|
||||
else
|
||||
$key_status = akismet_verify_key( $key );
|
||||
}
|
||||
}
|
||||
?>
|
||||
</tbody>
|
||||
</table>
|
||||
<p><?php if ( get_option('akismet_connectivity_time') ) echo sprintf( __('Last checked %s ago.'), human_time_diff( get_option('akismet_connectivity_time') ) ); ?></p>
|
||||
<p class="submit"><input type="submit" name="check" value="<?php _e('Check network status »'); ?>" /></p>
|
||||
<p><?php printf( __('<a href="%s" target="_blank">Click here</a> to confirm that <a href="%s" target="_blank">Akismet.com is up</a>.'), 'http://status.automattic.com/9931/136079/Akismet-API', 'http://status.automattic.com/9931/136079/Akismet-API' ); ?></p>
|
||||
</form>
|
||||
|
||||
if ( !isset( $_POST['submit'] ) ) {
|
||||
if ( $key_status == 'invalid' )
|
||||
$ms[] = 'key_invalid';
|
||||
elseif ( !empty( $key ) && $key_status == 'failed' )
|
||||
$ms[] = 'key_failed';
|
||||
}
|
||||
}
|
||||
|
||||
$key_status_strings = array(
|
||||
'empty' => __( 'Empty' ),
|
||||
'valid' => __( 'Valid' ),
|
||||
'invalid' => __( 'Invalid' ),
|
||||
'failed' => __( 'Failed' ),
|
||||
);
|
||||
|
||||
</div>
|
||||
$messages = array(
|
||||
'new_key_empty' => array( 'class' => 'updated fade', 'text' => __('Your key has been cleared.' ) ),
|
||||
'new_key_valid' => array( 'class' => 'updated fade', 'text' => __('Your Akismet account has been successfully set up and activated. Happy blogging!' ) ),
|
||||
'new_key_invalid' => array( 'class' => 'error', 'text' => __('The key you entered is invalid. Please double-check it.' ) ),
|
||||
'new_key_failed' => array( 'class' => 'error', 'text' => __('The key you entered could not be verified because a connection to akismet.com could not be established. Please check your server configuration.' ) ),
|
||||
'no_connection' => array( 'class' => 'error', 'text' => __('There was a problem connecting to the Akismet server. Please check your server configuration.' ) ),
|
||||
'key_empty' => array( 'class' => 'updated fade', 'text' => __('Please enter an API key' ) ),
|
||||
'key_invalid' => array( 'class' => 'error', 'text' => __('This key is invalid.' ) ),
|
||||
'key_failed' => array( 'class' => 'error', 'text' => __('The key below was previously validated but a connection to akismet.com can not be established at this time. Please check your server configuration.' ) ),
|
||||
'bad_home_url' => array( 'class' => 'error', 'text' => sprintf( __('Your WordPress home URL %s is invalid. Please fix the <a href="%s">home option</a>.'), esc_html( get_bloginfo('url') ), admin_url('options.php#home') ) )
|
||||
);
|
||||
?>
|
||||
|
||||
|
||||
<div class="wrap">
|
||||
<?php if ( !$api_key ) : ?>
|
||||
<h2 class="ak-header"><?php _e('Akismet'); ?></h2>
|
||||
<?php else: ?>
|
||||
<h2 class="ak-header"><?php printf( __( 'Akismet <a href="%s" class="add-new-h2">Stats</a>' ), $stats_link ); ?></h2>
|
||||
<?php endif; ?>
|
||||
<div class="no-key <?php echo $show_key_form ? 'hidden' : '';?>">
|
||||
<p><?php _e('Akismet eliminates the comment and trackback spam you get on your site. To use Akismet you may need to sign up for an API key. Click the button below to get started.'); ?></p>
|
||||
<form name="akismet_activate" action="https://akismet.com/get/" method="POST">
|
||||
<input type="hidden" name="return" value="1"/>
|
||||
<input type="hidden" name="jetpack" value="<?php echo (string) class_exists( 'Jetpack' );?>"/>
|
||||
<input type="hidden" name="user" value="<?php echo esc_attr( $current_user->user_login );?>"/>
|
||||
<input type="submit" class="button button-primary" value="<?php esc_attr_e( 'Create a new Akismet Key' ); ?>"/>
|
||||
</form>
|
||||
<br/>
|
||||
<a href="<?php echo $config_link;?>"><?php _e('I already have a key'); ?></a>
|
||||
</div>
|
||||
<div class="have-key <?php echo $show_key_form ? '' : 'hidden';?>">
|
||||
<?php if ( !empty($_POST['submit'] ) && $saved_ok ) : ?>
|
||||
<div id="message" class="updated fade"><p><strong><?php _e('Settings saved.') ?></strong></p></div>
|
||||
<?php endif; ?>
|
||||
<?php if ( isset($_GET['message']) && $_GET['message'] == 'success' ) : ?>
|
||||
<div id="message" class="updated fade"><p><?php _e('<strong>Sign up success!</strong> Please check your email for your Akismet API Key and enter it below.') ?></p></div>
|
||||
<?php endif; ?>
|
||||
<?php foreach( $ms as $m ) : ?>
|
||||
<div class="<?php echo $messages[$m]['class']; ?>"><p><strong><?php echo $messages[$m]['text']; ?></strong></p></div>
|
||||
<?php endforeach; ?>
|
||||
<form action="" method="post" id="akismet-conf">
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><label for="key"><?php _e('Akismet API Key');?></label></th>
|
||||
<td>
|
||||
<input id="key" name="key" type="text" size="15" maxlength="12" value="<?php echo esc_attr( get_option('wordpress_api_key') ); ?>" class="regular-text code <?php echo $key_status;?>"><div class="under-input key-status <?php echo $key_status;?>"><?php echo isset( $key_status_strings[ $key_status ] ) ? $key_status_strings[ $key_status ] : '';?></div>
|
||||
<p class="need-key description"><?php printf( __('You must enter a valid Akismet API key here. If you need an API key, you can <a href="%s">create one here</a>'), '#' );?></p>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ( $api_key ):?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><?php _e('Settings');?></th>
|
||||
<td>
|
||||
<fieldset><legend class="screen-reader-text"><span><?php _e('Settings');?></span></legend>
|
||||
<label for="akismet_discard_month" title="<?php esc_attr_e( 'Auto-detete old spam' ); ?>"><input name="akismet_discard_month" id="akismet_discard_month" value="true" type="checkbox" <?php echo get_option('akismet_discard_month') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Auto-delete spam submitted on posts more than a month old.'); ?></span></label><br>
|
||||
<label for="akismet_show_user_comments_approved" title="<?php esc_attr_e( 'Show approved comments' ); ?>"><input name="akismet_show_user_comments_approved" id="akismet_show_user_comments_approved" value="true" type="checkbox" <?php echo get_option('akismet_show_user_comments_approved') == 'true' ? 'checked="checked"':''; ?>> <span><?php _e('Show the number of comments you\'ve approved beside each comment author.'); ?></span></label>
|
||||
</fieldset>
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php akismet_nonce_field($akismet_nonce) ?>
|
||||
<p class="submit">
|
||||
<input type="submit" name="submit" id="submit" class="button button-primary" value="<?php _e('Save Changes');?>">
|
||||
</p>
|
||||
</form>
|
||||
|
||||
<?php if ( $api_key ) : ?>
|
||||
<h3><?php _e('Server Connectivity'); ?></h3>
|
||||
<form action="" method="post" id="akismet-connectivity">
|
||||
<table class="form-table">
|
||||
<tbody>
|
||||
<tr>
|
||||
<th><label for="key"><?php _e('Server Status');?></label></th>
|
||||
<td>
|
||||
<?php if ( !function_exists('fsockopen') || !function_exists('gethostbynamel') ) : ?>
|
||||
<p class="key-status failed"><?php _e('Network functions are disabled.'); ?></p>
|
||||
<p class="description"><?php echo sprintf( __('Your web host or server administrator has disabled PHP\'s <code>fsockopen</code> or <code>gethostbynamel</code> functions. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet\'s system requirements</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php else :
|
||||
$servers = akismet_get_server_connectivity();
|
||||
$fail_count = count( $servers ) - count( array_filter( $servers ) );
|
||||
if ( is_array( $servers ) && count( $servers ) > 0 ) {
|
||||
if ( $fail_count > 0 && $fail_count < count( $servers ) ) { // some connections work, some fail ?>
|
||||
<p class="key-status some"><?php _e('Unable to reach some Akismet servers.'); ?></p>
|
||||
<p class="description"><?php echo sprintf( __('A network problem or firewall is blocking some connections from your web server to Akismet.com. Akismet is working but this may cause problems during times of network congestion. Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php } elseif ( $fail_count > 0 ) { // all connections fail ?>
|
||||
<p class="key-status failed"><?php _e('Unable to reach any Akismet servers.'); ?></p>
|
||||
<p class="description"><?php echo sprintf( __('A network problem or firewall is blocking all connections from your web server to Akismet.com. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php } else { // all connections work ?>
|
||||
<p class="key-status valid"><?php _e('All Akismet servers are available.'); ?></p>
|
||||
<p class="description"><?php _e('Akismet is working correctly. All servers are accessible.'); ?></p>
|
||||
<?php }
|
||||
} else { //can't connect to any server ?>
|
||||
<p class="key-status failed"><?php _e('Unable to find Akismet servers.'); ?></p>
|
||||
<p class="description"><?php echo sprintf( __('A DNS problem or firewall is preventing all access from your web server to Akismet.com. <strong>Akismet cannot work correctly until this is fixed.</strong> Please contact your web host or firewall administrator and give them <a href="%s" target="_blank">this information about Akismet and firewalls</a>.'), 'http://blog.akismet.com/akismet-hosting-faq/'); ?></p>
|
||||
<?php }
|
||||
endif; ?>
|
||||
</td>
|
||||
</tr>
|
||||
<?php if ( !empty( $servers ) ) : ?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><?php _e('Network Status');?></th>
|
||||
<td>
|
||||
<table class="network-status">
|
||||
<thead>
|
||||
<th><?php _e('Akismet server'); ?></th><th><?php _e('Network Status'); ?></th>
|
||||
</thead>
|
||||
<tbody>
|
||||
<?php
|
||||
asort($servers);
|
||||
foreach ( $servers as $ip => $status ) : ?>
|
||||
<tr>
|
||||
<td align="center"><?php echo esc_html( $ip ); ?></td>
|
||||
<td class="key-status <?php echo $status ? 'valid' : 'failed'; ?>"><?php echo $status ? __('Accessible') : __('Re-trying'); ?></td>
|
||||
</tr>
|
||||
<?php endforeach; ?>
|
||||
</tbody>
|
||||
</table>
|
||||
<br/>
|
||||
<input type="submit" name="check" id="submit" class="button" style="margin-left: 13.3em;" value="<?php _e('Check Network Status');?>">
|
||||
</td>
|
||||
</tr>
|
||||
<?php endif; ?>
|
||||
<tr valign="top">
|
||||
<th scope="row"><?php _e('Last Checked');?></th>
|
||||
<td>
|
||||
<p><strong><?php echo get_option('akismet_connectivity_time') ? sprintf( __('%s Ago'), ucwords( human_time_diff( get_option('akismet_connectivity_time') ) ) ) : __( 'Not yet' ); ?></strong></p>
|
||||
<p class="description"><?php printf( __('You can confirm that Akismet.com is up by <a href="%s" target="_blank">clicking here</a>.'), 'http://status.automattic.com/9931/136079/Akismet-API' ); ?></p>
|
||||
</td>
|
||||
</tbody>
|
||||
</table>
|
||||
<?php akismet_nonce_field($akismet_nonce) ?>
|
||||
</form>
|
||||
<?php endif;?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
|
||||
function akismet_stats_script() {
|
||||
?>
|
||||
<script type="text/javascript">
|
||||
function resizeIframe() {
|
||||
|
||||
document.getElementById('akismet-stats-frame').style.height = "2500px";
|
||||
|
||||
};
|
||||
function resizeIframeInit() {
|
||||
document.getElementById('akismet-stats-frame').onload = resizeIframe;
|
||||
window.onresize = resizeIframe;
|
||||
}
|
||||
addLoadEvent(resizeIframeInit);
|
||||
</script><?php
|
||||
}
|
||||
|
||||
|
||||
function akismet_stats_display() {
|
||||
global $akismet_api_host, $akismet_api_port, $wpcom_api_key;
|
||||
$blog = urlencode( get_bloginfo('url') );
|
||||
|
||||
$url = 'http://';
|
||||
if ( is_ssl() )
|
||||
$url = 'https://';
|
||||
|
||||
$url .= 'akismet.com/web/1.0/user-stats.php';
|
||||
$url .= "?blog={$blog}&api_key=" . akismet_get_key();
|
||||
?>
|
||||
<div class="wrap">
|
||||
<iframe src="<?php echo $url; ?>" width="100%" height="100%" frameborder="0" id="akismet-stats-frame"></iframe>
|
||||
</div>
|
||||
<?php
|
||||
global $akismet_api_host, $akismet_api_port;
|
||||
|
||||
$blog = urlencode( get_bloginfo('url') );
|
||||
$api_key = akismet_get_key();
|
||||
$config_link = esc_url( add_query_arg( array( 'page' => 'akismet-key-config' ), class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'plugins.php' ) ) );?>
|
||||
|
||||
<div class="wrap"><?php
|
||||
if ( !$api_key ) :?>
|
||||
<div id="akismet-warning" class="updated fade"><p><strong><?php _e('Akismet is almost ready.');?></strong> <?php printf( __( 'You must <a href="%1$s">enter your Akismet API key</a> for it to work.' ), $config_link );?></p></div><?php
|
||||
else :?>
|
||||
<iframe src="<?php echo esc_url( sprintf( '%s://akismet.com/web/1.0/user-stats.php?blog=%s&api_key=%s', is_ssl()?'https':'http', $blog, $api_key ) ); ?>" width="100%" height="2500px" frameborder="0" id="akismet-stats-frame"></iframe><?php
|
||||
endif;?>
|
||||
</div><?php
|
||||
}
|
||||
|
||||
function akismet_stats() {
|
||||
@@ -282,11 +342,7 @@ function akismet_stats() {
|
||||
$path = plugin_basename(__FILE__);
|
||||
echo '<h3>' . _x( 'Spam', 'comments' ) . '</h3>';
|
||||
global $submenu;
|
||||
if ( isset( $submenu['edit-comments.php'] ) )
|
||||
$link = 'edit-comments.php';
|
||||
else
|
||||
$link = 'edit.php';
|
||||
echo '<p>'.sprintf( _n( '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', $count ), 'http://akismet.com/?return=true', clean_url("$link?page=akismet-admin"), number_format_i18n($count) ).'</p>';
|
||||
echo '<p>'.sprintf( _n( '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', '<a href="%1$s">Akismet</a> has protected your site from <a href="%2$s">%3$s spam comments</a>.', $count ), 'http://akismet.com/?return=true', esc_url( add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( isset( $submenu['edit-comments.php'] ) ? 'edit-comments.php' : 'edit.php' ) ) ), number_format_i18n($count) ).'</p>';
|
||||
}
|
||||
add_action('activity_box_end', 'akismet_stats');
|
||||
|
||||
@@ -306,9 +362,11 @@ function akismet_admin_warnings() {
|
||||
);
|
||||
?>
|
||||
<div class='error'>
|
||||
<p><strong>Akismet Error Code: <?php echo $alert['code']; ?></strong></p>
|
||||
<p><strong><?php _e( 'Akismet Error Code');?>: <?php echo $alert['code']; ?></strong></p>
|
||||
<p><?php esc_html_e( $alert['msg'] ); ?></p>
|
||||
<p>More information is available at <a href="https://akismet.com/errors/<?php echo $alert['code']; ?>">https://akismet.com/errors/<?php echo $alert['code']; ?></a></p>
|
||||
<p><?php //FIXME: need to revert this to using __() in next version
|
||||
printf( translate( 'For more information:' ) . ' <a href="%s">%s</a>' , 'https://akismet.com/errors/'.$alert['code'], 'https://akismet.com/errors/'.$alert['code'] );?>
|
||||
</p>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
@@ -319,22 +377,45 @@ function akismet_admin_warnings() {
|
||||
|
||||
if ( !get_option('wordpress_api_key') && !$wpcom_api_key && !isset($_POST['submit']) ) {
|
||||
function akismet_warning() {
|
||||
echo "
|
||||
<div id='akismet-warning' class='updated fade'><p><strong>".__('Akismet is almost ready.')."</strong> ".sprintf(__('You must <a href="%1$s">enter your Akismet API key</a> for it to work.'), "admin.php?page=akismet-key-config")."</p></div>
|
||||
";
|
||||
global $hook_suffix, $current_user;
|
||||
|
||||
if ( $hook_suffix == 'plugins.php' ) {
|
||||
echo '
|
||||
<div class="updated" style="padding: 0; margin: 0; border: none; background: none;">
|
||||
<style type="text/css">
|
||||
.akismet_activate{min-width:825px;border:1px solid #4F800D;padding:5px;margin:15px 0;background:#83AF24;background-image:-webkit-gradient(linear,0% 0,80% 100%,from(#83AF24),to(#4F800D));background-image:-moz-linear-gradient(80% 100% 120deg,#4F800D,#83AF24);-moz-border-radius:3px;border-radius:3px;-webkit-border-radius:3px;position:relative;overflow:hidden}.akismet_activate .aa_a{position:absolute;top:-5px;right:10px;font-size:140px;color:#769F33;font-family:Georgia, "Times New Roman", Times, serif;z-index:1}.akismet_activate .aa_button{font-weight:bold;border:1px solid #029DD6;border-top:1px solid #06B9FD;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#FFF;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button:hover{text-decoration:none !important;border:1px solid #029DD6;border-bottom:1px solid #00A8EF;font-size:15px;text-align:center;padding:9px 0 8px 0;color:#F0F8FB;background:#0079B1;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#0079B1),to(#0092BF));background-image:-moz-linear-gradient(0% 100% 90deg,#0092BF,#0079B1);-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px}.akismet_activate .aa_button_border{border:1px solid #006699;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;background:#029DD6;background-image:-webkit-gradient(linear,0% 0,0% 100%,from(#029DD6),to(#0079B1));background-image:-moz-linear-gradient(0% 100% 90deg,#0079B1,#029DD6)}.akismet_activate .aa_button_container{cursor:pointer;display:inline-block;background:#DEF1B8;padding:5px;-moz-border-radius:2px;border-radius:2px;-webkit-border-radius:2px;width:266px}.akismet_activate .aa_description{position:absolute;top:22px;left:285px;margin-left:25px;color:#E5F2B1;font-size:15px;z-index:1000}.akismet_activate .aa_description strong{color:#FFF;font-weight:normal}
|
||||
</style>
|
||||
<form name="akismet_activate" action="'.esc_url( add_query_arg( array( 'page' => 'akismet-key-config' ), class_exists( 'Jetpack' ) ? admin_url( 'admin.php' ) : admin_url( 'plugins.php' ) ) ).'" method="POST">
|
||||
<input type="hidden" name="return" value="1"/>
|
||||
<input type="hidden" name="jetpack" value="'.(string) class_exists( 'Jetpack' ).'"/>
|
||||
<input type="hidden" name="user" value="'.esc_attr( $current_user->user_login ).'"/>
|
||||
<div class="akismet_activate">
|
||||
<div class="aa_a">A</div>
|
||||
<div class="aa_button_container" onclick="document.akismet_activate.submit();">
|
||||
<div class="aa_button_border">
|
||||
<div class="aa_button">'.__('Activate your Akismet account').'</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="aa_description">'.__('<strong>Almost done</strong> - activate your account and say goodbye to comment spam').'</div>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
||||
';
|
||||
}
|
||||
}
|
||||
|
||||
add_action('admin_notices', 'akismet_warning');
|
||||
return;
|
||||
} elseif ( ( empty($_SERVER['SCRIPT_FILENAME']) || basename($_SERVER['SCRIPT_FILENAME']) == 'edit-comments.php' ) && wp_next_scheduled('akismet_schedule_cron_recheck') ) {
|
||||
function akismet_warning() {
|
||||
global $wpdb;
|
||||
akismet_fix_scheduled_recheck();
|
||||
$waiting = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->commentmeta WHERE meta_key = 'akismet_error'" ) );
|
||||
$waiting = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->commentmeta WHERE meta_key = 'akismet_error'" );
|
||||
$next_check = wp_next_scheduled('akismet_schedule_cron_recheck');
|
||||
if ( $waiting > 0 && $next_check > time() )
|
||||
echo "
|
||||
<div id='akismet-warning' class='updated fade'><p><strong>".__('Akismet has detected a problem.')."</strong> ".sprintf(__('Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation. Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.'), 'admin.php?page=akismet-key-config')."</p></div>
|
||||
";
|
||||
echo '
|
||||
<div id="akismet-warning" class="updated fade"><p><strong>'.__('Akismet has detected a problem.').'</strong> '.sprintf(__('Some comments have not yet been checked for spam by Akismet. They have been temporarily held for moderation. Please check your <a href="%s">Akismet configuration</a> and contact your web host if problems persist.'), 'admin.php?page=akismet-key-config').'</p></div>
|
||||
';
|
||||
}
|
||||
add_action('admin_notices', 'akismet_warning');
|
||||
return;
|
||||
@@ -350,8 +431,8 @@ function akismet_comment_row_action( $a, $comment ) {
|
||||
return $a;
|
||||
|
||||
$akismet_result = get_comment_meta( $comment->comment_ID, 'akismet_result', true );
|
||||
$akismet_error = get_comment_meta( $comment->comment_ID, 'akismet_error', true );
|
||||
$user_result = get_comment_meta( $comment->comment_ID, 'akismet_user_result', true);
|
||||
$akismet_error = get_comment_meta( $comment->comment_ID, 'akismet_error', true );
|
||||
$user_result = get_comment_meta( $comment->comment_ID, 'akismet_user_result', true);
|
||||
$comment_status = wp_get_comment_status( $comment->comment_ID );
|
||||
$desc = null;
|
||||
if ( $akismet_error ) {
|
||||
@@ -387,7 +468,7 @@ function akismet_comment_row_action( $a, $comment ) {
|
||||
}
|
||||
|
||||
if ( $desc )
|
||||
echo '<span class="akismet-status" commentid="'.$comment->comment_ID.'"><a href="comment.php?action=editcomment&c='.$comment->comment_ID.'#akismet-status" title="' . esc_attr__( 'View comment history' ) . '">'.htmlspecialchars($desc).'</a></span>';
|
||||
echo '<span class="akismet-status" commentid="'.$comment->comment_ID.'"><a href="comment.php?action=editcomment&c='.$comment->comment_ID.'#akismet-status" title="' . esc_attr__( 'View comment history' ) . '">'.esc_html( $desc ).'</a></span>';
|
||||
|
||||
if ( apply_filters( 'akismet_show_user_comments_approved', get_option('akismet_show_user_comments_approved') ) == 'true' ) {
|
||||
$comment_count = akismet_get_user_comments_approved( $comment->user_id, $comment->comment_author_email, $comment->comment_author, $comment->comment_author_url );
|
||||
@@ -408,7 +489,7 @@ function akismet_comment_status_meta_box($comment) {
|
||||
foreach ( $history as $row ) {
|
||||
$time = date( 'D d M Y @ h:i:m a', $row['time'] ) . ' GMT';
|
||||
echo '<div style="margin-bottom: 13px;"><span style="color: #999;" alt="' . $time . '" title="' . $time . '">' . sprintf( __('%s ago'), human_time_diff( $row['time'] ) ) . '</span> - ';
|
||||
echo htmlspecialchars( $row['message'] ) . '</div>';
|
||||
echo esc_html( $row['message'] ) . '</div>';
|
||||
}
|
||||
|
||||
echo '</div>';
|
||||
@@ -436,7 +517,7 @@ function akismet_comment_column_row( $column, $comment_id ) {
|
||||
echo '<dl class="akismet-history">';
|
||||
foreach ( $history as $row ) {
|
||||
echo '<dt>' . sprintf( __('%s ago'), human_time_diff( $row['time'] ) ) . '</dt>';
|
||||
echo '<dd>' . htmlspecialchars( $row['message'] ) . '</dd>';
|
||||
echo '<dd>' . esc_html( $row['message'] ) . '</dd>';
|
||||
}
|
||||
|
||||
echo '</dl>';
|
||||
@@ -448,18 +529,16 @@ function akismet_comment_column_row( $column, $comment_id ) {
|
||||
// END FIXME
|
||||
|
||||
// call out URLS in comments
|
||||
function akismet_text_add_link_callback( $m ) {
|
||||
|
||||
// bare link?
|
||||
if ( $m[4] == $m[2] )
|
||||
return '<a '.$m[1].' href="'.$m[2].'" '.$m[3].' class="comment-link">'.$m[4].'</a>';
|
||||
else
|
||||
return '<span title="'.$m[2].'" class="comment-link"><a '.$m[1].' href="'.$m[2].'" '.$m[3].' class="comment-link">'.$m[4].'</a></span>';
|
||||
function akismet_text_add_link_callback( $m ) {
|
||||
// bare link?
|
||||
if ( $m[4] == $m[2] )
|
||||
return '<a '.$m[1].' href="'.$m[2].'" '.$m[3].' class="comment-link">'.$m[4].'</a>';
|
||||
else
|
||||
return '<span title="'.$m[2].'" class="comment-link"><a '.$m[1].' href="'.$m[2].'" '.$m[3].' class="comment-link">'.$m[4].'</a></span>';
|
||||
}
|
||||
|
||||
function akismet_text_add_link_class( $comment_text ) {
|
||||
|
||||
return preg_replace_callback( '#<a ([^>]*)href="([^"]+)"([^>]*)>(.*?)</a>#i', 'akismet_text_add_link_callback', $comment_text );
|
||||
return preg_replace_callback( '#<a ([^>]*)href="([^"]+)"([^>]*)>(.*?)</a>#i', 'akismet_text_add_link_callback', $comment_text );
|
||||
}
|
||||
|
||||
add_filter('comment_text', 'akismet_text_add_link_class');
|
||||
@@ -470,11 +549,11 @@ function akismet_rightnow() {
|
||||
global $submenu, $wp_db_version;
|
||||
|
||||
if ( 8645 < $wp_db_version ) // 2.7
|
||||
$link = 'edit-comments.php?comment_status=spam';
|
||||
$link = add_query_arg( array( 'comment_status' => 'spam' ), admin_url( 'edit-comments.php' ) );
|
||||
elseif ( isset( $submenu['edit-comments.php'] ) )
|
||||
$link = 'edit-comments.php?page=akismet-admin';
|
||||
$link = add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( 'edit-comments.php' ) );
|
||||
else
|
||||
$link = 'edit.php?page=akismet-admin';
|
||||
$link = add_query_arg( array( 'page' => 'akismet-admin' ), admin_url( 'edit.php' ) );
|
||||
|
||||
if ( $count = get_option('akismet_spam_count') ) {
|
||||
$intro = sprintf( _n(
|
||||
@@ -505,14 +584,17 @@ add_action('rightnow_end', 'akismet_rightnow');
|
||||
|
||||
|
||||
// For WP >= 2.5
|
||||
function akismet_check_for_spam_button($comment_status) {
|
||||
function akismet_check_for_spam_button( $comment_status ) {
|
||||
if ( 'approved' == $comment_status )
|
||||
return;
|
||||
|
||||
if ( function_exists('plugins_url') )
|
||||
$link = 'admin.php?action=akismet_recheck_queue';
|
||||
$link = add_query_arg( array( 'action' => 'akismet_recheck_queue' ), admin_url( 'admin.php' ) );
|
||||
else
|
||||
$link = 'edit-comments.php?page=akismet-admin&recheckqueue=true&noheader=true';
|
||||
echo "</div><div class='alignleft'><a class='button-secondary checkforspam' href='$link'>" . __('Check for Spam') . "</a>";
|
||||
$link = add_query_arg( array( 'page' => 'akismet-admin', 'recheckqueue' => 'true', 'noheader' => 'true' ), admin_url( 'edit-comments.php' ) );
|
||||
|
||||
echo '</div><div class="alignleft"><a class="button-secondary checkforspam" href="' . $link . '">' . esc_html__('Check for Spam') . '</a>';
|
||||
echo '<img src="' . esc_url( admin_url( 'images/wpspin_light.gif' ) ) . '" class="checkforspam-spinner" />';
|
||||
}
|
||||
add_action('manage_comments_nav', 'akismet_check_for_spam_button');
|
||||
|
||||
@@ -534,7 +616,6 @@ function akismet_submit_nonspam_comment ( $comment_id ) {
|
||||
$comment->blog_lang = get_locale();
|
||||
$comment->blog_charset = get_option('blog_charset');
|
||||
$comment->permalink = get_permalink($comment->comment_post_ID);
|
||||
$comment->reporter_ip = $_SERVER['REMOTE_ADDR'];
|
||||
if ( is_object($current_user) ) {
|
||||
$comment->reporter = $current_user->user_login;
|
||||
}
|
||||
@@ -586,7 +667,6 @@ function akismet_submit_spam_comment ( $comment_id ) {
|
||||
$comment->blog_lang = get_locale();
|
||||
$comment->blog_charset = get_option('blog_charset');
|
||||
$comment->permalink = get_permalink($comment->comment_post_ID);
|
||||
$comment->reporter_ip = $_SERVER['REMOTE_ADDR'];
|
||||
if ( is_object($current_user) ) {
|
||||
$comment->reporter = $current_user->user_login;
|
||||
}
|
||||
@@ -697,8 +777,12 @@ function akismet_recheck_queue() {
|
||||
|
||||
if ( ! ( isset( $_GET['recheckqueue'] ) || ( isset( $_REQUEST['action'] ) && 'akismet_recheck_queue' == $_REQUEST['action'] ) ) )
|
||||
return;
|
||||
|
||||
$moderation = $wpdb->get_results( "SELECT * FROM $wpdb->comments WHERE comment_approved = '0'", ARRAY_A );
|
||||
|
||||
$paginate = '';
|
||||
if ( isset( $_POST['limit'] ) && isset( $_POST['offset'] ) ) {
|
||||
$paginate = $wpdb->prepare( " LIMIT %d OFFSET %d", array( $_POST['limit'], $_POST['offset'] ) );
|
||||
}
|
||||
$moderation = $wpdb->get_results( "SELECT * FROM {$wpdb->comments} WHERE comment_approved = '0'{$paginate}", ARRAY_A );
|
||||
foreach ( (array) $moderation as $c ) {
|
||||
$c['user_ip'] = $c['comment_author_IP'];
|
||||
$c['user_agent'] = $c['comment_agent'];
|
||||
@@ -706,7 +790,7 @@ function akismet_recheck_queue() {
|
||||
$c['blog'] = get_bloginfo('url');
|
||||
$c['blog_lang'] = get_locale();
|
||||
$c['blog_charset'] = get_option('blog_charset');
|
||||
$c['permalink'] = get_permalink($c['comment_post_ID']);
|
||||
$c['permalink'] = get_permalink($c['comment_post_ID']);
|
||||
|
||||
$c['user_role'] = '';
|
||||
if ( isset( $c['user_ID'] ) )
|
||||
@@ -741,11 +825,20 @@ function akismet_recheck_queue() {
|
||||
|
||||
delete_comment_meta( $c['comment_ID'], 'akismet_rechecking' );
|
||||
}
|
||||
wp_safe_redirect( $_SERVER['HTTP_REFERER'] );
|
||||
exit;
|
||||
if ( defined( 'DOING_AJAX' ) && DOING_AJAX ) {
|
||||
wp_send_json( array(
|
||||
'processed' => count((array) $moderation),
|
||||
));
|
||||
}
|
||||
else {
|
||||
$redirect_to = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : admin_url( 'edit-comments.php' );
|
||||
wp_safe_redirect( $redirect_to );
|
||||
exit;
|
||||
}
|
||||
}
|
||||
|
||||
add_action('admin_action_akismet_recheck_queue', 'akismet_recheck_queue');
|
||||
add_action('wp_ajax_akismet_recheck_queue', 'akismet_recheck_queue');
|
||||
|
||||
// Adds an 'x' link next to author URLs, clicking will remove the author URL and show an undo link
|
||||
function akismet_remove_comment_author_url() {
|
||||
@@ -839,12 +932,12 @@ function akismet_admin_menu() {
|
||||
}
|
||||
}
|
||||
|
||||
function akismet_load_menu() {
|
||||
function akismet_load_menu() {
|
||||
if ( class_exists( 'Jetpack' ) ) {
|
||||
add_submenu_page( 'jetpack', __( 'Akismet Configuration' ), __( 'Akismet Configuration' ), 'manage_options', 'akismet-key-config', 'akismet_conf' );
|
||||
add_submenu_page( 'jetpack', __( 'Akismet' ), __( 'Akismet' ), 'manage_options', 'akismet-key-config', 'akismet_conf' );
|
||||
add_submenu_page( 'jetpack', __( 'Akismet Stats' ), __( 'Akismet Stats' ), 'manage_options', 'akismet-stats-display', 'akismet_stats_display' );
|
||||
} else {
|
||||
add_submenu_page('plugins.php', __('Akismet Configuration'), __('Akismet Configuration'), 'manage_options', 'akismet-key-config', 'akismet_conf');
|
||||
add_submenu_page('plugins.php', __('Akismet'), __('Akismet'), 'manage_options', 'akismet-key-config', 'akismet_conf');
|
||||
add_submenu_page('index.php', __('Akismet Stats'), __('Akismet Stats'), 'manage_options', 'akismet-stats-display', 'akismet_stats_display');
|
||||
}
|
||||
}
|
||||
@@ -1,12 +1 @@
|
||||
#submitted-on { position: relative; }
|
||||
#the-comment-list .author .akismet-user-comment-count { display: inline; }
|
||||
#the-comment-list .author a span { text-decoration: none; color: #999; }
|
||||
#the-comment-list .remove_url { margin-left: 3px; color: #999; padding: 2px 3px 2px 0; }
|
||||
#the-comment-list .remove_url:hover { color: #A7301F; font-weight: bold; padding: 2px 2px 2px 0; }
|
||||
#dashboard_recent_comments .akismet-status { display: none; } /* never show the flagged by text on the dashboard */
|
||||
.akismet-status { float: right; }
|
||||
.akismet-status a { color: #AAA; font-style: italic; }
|
||||
span.comment-link a { text-decoration: underline; }
|
||||
span.comment-link:after { content: " " attr(title) " "; color: #aaa; text-decoration: none; }
|
||||
.mshot-arrow { width: 0; height: 0; border-top: 10px solid transparent; border-bottom: 10px solid transparent; border-right:10px solid #5C5C5C; position: absolute; left: -6px; top: 91px; }
|
||||
.mshot-container { background: #5C5C5C; position: absolute; top: -94px; padding: 7px; width: 450px; height: 338px; z-index: 20000; -moz-border-radius:6px; border-radius:6px; -webkit-border-radius:6px; }
|
||||
#submitted-on{position:relative}#the-comment-list .author .akismet-user-comment-count{display:inline}#the-comment-list .author a span{text-decoration:none;color:#999}#the-comment-list .remove_url{margin-left:3px;color:#999;padding:2px 3px 2px 0}#the-comment-list .remove_url:hover{color:#A7301F;font-weight:bold;padding:2px 2px 2px 0}#dashboard_recent_comments .akismet-status{display:none}.akismet-status{float:right}.akismet-status a{color:#AAA;font-style:italic}span.comment-link a{text-decoration:underline}span.comment-link:after{content:" "attr(title) " ";color:#aaa;text-decoration:none}.mshot-arrow{width:0;height:0;border-top:10px solid transparent;border-bottom:10px solid transparent;border-right:10px solid #5C5C5C;position:absolute;left:-6px;top:91px}.mshot-container{background:#5C5C5C;position:absolute;top:-94px;padding:7px;width:450px;height:338px;z-index:20000;-moz-border-radius:6px;border-radius:6px;-webkit-border-radius:6px}h2.ak-header{padding-left:38px;background:url('img/logo.png') no-repeat 0 9px;margin-bottom:14px;line-height:32px}.key-status{padding:0.4em 1em;color:#fff;font-weight:bold;text-align:center;-webkit-border-radius:3px;border-radius:3px;border-width:1px;border-style:solid;max-width:23.3em}input#key{width:25.3em !important}input#key.valid{border-color:#4F800D}input#key.invalid,input#key.failed{border-color:#888}.key-status.under-input{margin-top:-5px;padding-bottom:0px}.key-status.invalid,.key-status.failed{background-color:#888}.key-status.valid{background-color:#4F800D}.key-status.some{background-color:#993300}.key-status.empty{display:none}table.network-status th,table.network-status td{padding:0.4em;margin:0;text-align:center}table.network-status{border-color:#dfdfdf;border-width:0 0 1px 1px;border-style:solid;border-spacing:0;width:25.6em}table.network-status th,table.network-status td{border-color:#dfdfdf;border-width:1px 1px 0 0;border-style:solid;margin:0;border-spacing:0}table.network-status td.key-status{border-radius:0px;-webkit-border-radius:0px}.checkforspam{display:inline-block !important;}.checkforspam-spinner{display:none;margin-top:10px;}
|
||||
@@ -1,101 +1,154 @@
|
||||
jQuery(document).ready(function () {
|
||||
jQuery('.akismet-status').each(function () {
|
||||
var thisId = jQuery(this).attr('commentid');
|
||||
jQuery(this).prependTo('#comment-' + thisId + ' .column-comment div:first-child');
|
||||
jQuery( function ( $ ) {
|
||||
$( '.switch-have-key' ).click( function() {
|
||||
var no_key = $( this ).parents().find('div.no-key');
|
||||
var have_key = $( this ).parents().find('div.have-key');
|
||||
|
||||
no_key.addClass( 'hidden' );
|
||||
have_key.removeClass( 'hidden' );
|
||||
|
||||
return false;
|
||||
});
|
||||
jQuery('.akismet-user-comment-count').each(function () {
|
||||
var thisId = jQuery(this).attr('commentid');
|
||||
jQuery(this).insertAfter('#comment-' + thisId + ' .author strong:first').show();
|
||||
$( 'p.need-key a' ).click( function(){
|
||||
document.akismet_activate.submit();
|
||||
});
|
||||
jQuery('#the-comment-list tr.comment .column-author a[title ^= "http://"]').each(function () {
|
||||
var thisTitle = jQuery(this).attr('title');
|
||||
thisCommentId = jQuery(this).parents('tr:first').attr('id').split("-");
|
||||
$('.akismet-status').each(function () {
|
||||
var thisId = $(this).attr('commentid');
|
||||
$(this).prependTo('#comment-' + thisId + ' .column-comment div:first-child');
|
||||
});
|
||||
$('.akismet-user-comment-count').each(function () {
|
||||
var thisId = $(this).attr('commentid');
|
||||
$(this).insertAfter('#comment-' + thisId + ' .author strong:first').show();
|
||||
});
|
||||
$('#the-comment-list').find('tr.comment, tr[id ^= "comment-"]').find('.column-author a[title ^= "http://"]').each(function () {
|
||||
var thisTitle = $(this).attr('title');
|
||||
thisCommentId = $(this).parents('tr:first').attr('id').split("-");
|
||||
|
||||
jQuery(this).attr("id", "author_comment_url_"+ thisCommentId[1]);
|
||||
$(this).attr("id", "author_comment_url_"+ thisCommentId[1]);
|
||||
|
||||
if (thisTitle) {
|
||||
jQuery(this).after(' <a href="#" class="remove_url" commentid="'+ thisCommentId[1] +'" title="Remove this URL">x</a>');
|
||||
$(this).after(
|
||||
$( '<a href="#" class="remove_url">x</a>' )
|
||||
.attr( 'commentid', thisCommentId[1] )
|
||||
.attr( 'title', WPAkismet.strings['Remove this URL'] )
|
||||
);
|
||||
}
|
||||
});
|
||||
jQuery('.remove_url').live('click', function () {
|
||||
var thisId = jQuery(this).attr('commentid');
|
||||
$('.remove_url').live('click', function () {
|
||||
var thisId = $(this).attr('commentid');
|
||||
var data = {
|
||||
action: 'comment_author_deurl',
|
||||
_wpnonce: WPAkismet.comment_author_url_nonce,
|
||||
id: thisId
|
||||
};
|
||||
jQuery.ajax({
|
||||
$.ajax({
|
||||
url: ajaxurl,
|
||||
type: 'POST',
|
||||
data: data,
|
||||
beforeSend: function () {
|
||||
// Removes "x" link
|
||||
jQuery("a[commentid='"+ thisId +"']").hide();
|
||||
$("a[commentid='"+ thisId +"']").hide();
|
||||
// Show temp status
|
||||
jQuery("#author_comment_url_"+ thisId).html('<span>Removing...</span>');
|
||||
$("#author_comment_url_"+ thisId).html( $( '<span/>' ).text( WPAkismet.strings['Removing...'] ) );
|
||||
},
|
||||
success: function (response) {
|
||||
if (response) {
|
||||
// Show status/undo link
|
||||
jQuery("#author_comment_url_"+ thisId).attr('cid', thisId).addClass('akismet_undo_link_removal').html('<span>URL removed (</span>undo<span>)</span>');
|
||||
}
|
||||
$("#author_comment_url_"+ thisId)
|
||||
.attr('cid', thisId)
|
||||
.addClass('akismet_undo_link_removal')
|
||||
.html(
|
||||
$( '<span/>' ).text( WPAkismet.strings['URL removed'] )
|
||||
)
|
||||
.append( ' ' )
|
||||
.append(
|
||||
$( '<span/>' )
|
||||
.text( WPAkismet.strings['(undo)'] )
|
||||
.addClass( 'akismet-span-link' )
|
||||
);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
jQuery('.akismet_undo_link_removal').live('click', function () {
|
||||
var thisId = jQuery(this).attr('cid');
|
||||
var thisUrl = jQuery(this).attr('href').replace("http://www.", "").replace("http://", "");
|
||||
$('.akismet_undo_link_removal').live('click', function () {
|
||||
var thisId = $(this).attr('cid');
|
||||
var thisUrl = $(this).attr('href').replace("http://www.", "").replace("http://", "");
|
||||
var data = {
|
||||
action: 'comment_author_reurl',
|
||||
_wpnonce: WPAkismet.comment_author_url_nonce,
|
||||
id: thisId,
|
||||
url: thisUrl
|
||||
};
|
||||
jQuery.ajax({
|
||||
$.ajax({
|
||||
url: ajaxurl,
|
||||
type: 'POST',
|
||||
data: data,
|
||||
beforeSend: function () {
|
||||
// Show temp status
|
||||
jQuery("#author_comment_url_"+ thisId).html('<span>Re-adding…</span>');
|
||||
$("#author_comment_url_"+ thisId).html( $( '<span/>' ).text( WPAkismet.strings['Re-adding...'] ) );
|
||||
},
|
||||
success: function (response) {
|
||||
if (response) {
|
||||
// Add "x" link
|
||||
jQuery("a[commentid='"+ thisId +"']").show();
|
||||
$("a[commentid='"+ thisId +"']").show();
|
||||
// Show link
|
||||
jQuery("#author_comment_url_"+ thisId).removeClass('akismet_undo_link_removal').html(thisUrl);
|
||||
$("#author_comment_url_"+ thisId).removeClass('akismet_undo_link_removal').html(thisUrl);
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
jQuery('a[id^="author_comment_url"]').mouseover(function () {
|
||||
$('a[id^="author_comment_url"], tr.pingback td.column-author a:first-of-type').mouseover(function () {
|
||||
var wpcomProtocol = ( 'https:' === location.protocol ) ? 'https://' : 'http://';
|
||||
// Need to determine size of author column
|
||||
var thisParentWidth = jQuery(this).parent().width();
|
||||
var thisParentWidth = $(this).parent().width();
|
||||
// It changes based on if there is a gravatar present
|
||||
thisParentWidth = (jQuery(this).parent().find('.grav-hijack').length) ? thisParentWidth - 42 + 'px' : thisParentWidth + 'px';
|
||||
if (jQuery(this).find('.mShot').length == 0 && !jQuery(this).hasClass('akismet_undo_link_removal')) {
|
||||
var thisId = jQuery(this).attr('id').replace('author_comment_url_', '');
|
||||
jQuery('.widefat td').css('overflow', 'visible');
|
||||
jQuery(this).css('position', 'relative');
|
||||
var thisHref = jQuery.URLEncode(jQuery(this).attr('href'));
|
||||
jQuery(this).append('<div class="mShot mshot-container" style="left: '+thisParentWidth+'"><div class="mshot-arrow"></div><img src="http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450" width="450" class="mshot-image_'+thisId+'" style="margin: 0;" /></div>');
|
||||
thisParentWidth = ($(this).parent().find('.grav-hijack').length) ? thisParentWidth - 42 + 'px' : thisParentWidth + 'px';
|
||||
if ($(this).find('.mShot').length == 0 && !$(this).hasClass('akismet_undo_link_removal')) {
|
||||
var self = $( this );
|
||||
$('.widefat td').css('overflow', 'visible');
|
||||
$(this).css('position', 'relative');
|
||||
var thisHref = $.URLEncode( $(this).attr('href') );
|
||||
$(this).append('<div class="mShot mshot-container" style="left: '+thisParentWidth+'"><div class="mshot-arrow"></div><img src="//s0.wordpress.com/mshots/v1/'+thisHref+'?w=450" width="450" class="mshot-image" style="margin: 0;" /></div>');
|
||||
setTimeout(function () {
|
||||
jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=2');
|
||||
self.find( '.mshot-image' ).attr('src', '//s0.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=2');
|
||||
}, 6000);
|
||||
setTimeout(function () {
|
||||
jQuery('.mshot-image_'+thisId).attr('src', 'http://s.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=3');
|
||||
self.find( '.mshot-image' ).attr('src', '//s0.wordpress.com/mshots/v1/'+thisHref+'?w=450&r=3');
|
||||
}, 12000);
|
||||
} else {
|
||||
jQuery(this).find('.mShot').css('left', thisParentWidth).show();
|
||||
$(this).find('.mShot').css('left', thisParentWidth).show();
|
||||
}
|
||||
}).mouseout(function () {
|
||||
jQuery(this).find('.mShot').hide();
|
||||
$(this).find('.mShot').hide();
|
||||
});
|
||||
$('.checkforspam:not(.button-disabled)').click( function(e) {
|
||||
$('.checkforspam:not(.button-disabled)').addClass('button-disabled');
|
||||
$('.checkforspam-spinner').show();
|
||||
akismet_check_for_spam(0, 100);
|
||||
e.preventDefault();
|
||||
});
|
||||
|
||||
function akismet_check_for_spam(offset, limit) {
|
||||
$.post(
|
||||
ajaxurl,
|
||||
{
|
||||
'action': 'akismet_recheck_queue',
|
||||
'offset': offset,
|
||||
'limit': limit
|
||||
},
|
||||
function(result) {
|
||||
if (result.processed < limit) {
|
||||
window.location.reload();
|
||||
}
|
||||
else {
|
||||
akismet_check_for_spam(offset + limit, limit);
|
||||
}
|
||||
}
|
||||
);
|
||||
}
|
||||
});
|
||||
// URL encode plugin
|
||||
jQuery.extend({URLEncode:function(c){var o='';var x=0;c=c.toString();var r=/(^[a-zA-Z0-9_.]*)/;
|
||||
@@ -104,9 +157,3 @@ jQuery.extend({URLEncode:function(c){var o='';var x=0;c=c.toString();var r=/(^[a
|
||||
}else{if(c[x]==' ')o+='+';else{var d=c.charCodeAt(x);var h=d.toString(16);
|
||||
o+='%'+(h.length<2?'0':'')+h.toUpperCase();}x++;}}return o;}
|
||||
});
|
||||
// Preload mshot images after everything else has loaded
|
||||
jQuery(window).load(function() {
|
||||
jQuery('a[id^="author_comment_url"]').each(function () {
|
||||
jQuery.get('http://s.wordpress.com/mshots/v1/'+jQuery.URLEncode(jQuery(this).attr('href'))+'?w=450');
|
||||
});
|
||||
});
|
||||
@@ -5,8 +5,8 @@
|
||||
/*
|
||||
Plugin Name: Akismet
|
||||
Plugin URI: http://akismet.com/?return=true
|
||||
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/?return=true">Sign up for an Akismet API key</a>, and 3) Go to your <a href="admin.php?page=akismet-key-config">Akismet configuration</a> page, and save your API key.
|
||||
Version: 2.5.6
|
||||
Description: Used by millions, Akismet is quite possibly the best way in the world to <strong>protect your blog from comment and trackback spam</strong>. It keeps your site protected from spam even while you sleep. To get started: 1) Click the "Activate" link to the left of this description, 2) <a href="http://akismet.com/get/?return=true">Sign up for an Akismet API key</a>, and 3) Go to your Akismet configuration page, and save your API key.
|
||||
Version: 2.6.0
|
||||
Author: Automattic
|
||||
Author URI: http://automattic.com/wordpress-plugins/
|
||||
License: GPLv2 or later
|
||||
@@ -28,8 +28,15 @@ along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
define('AKISMET_VERSION', '2.5.6');
|
||||
// Make sure we don't expose any info if called directly
|
||||
if ( !function_exists( 'add_action' ) ) {
|
||||
echo 'Hi there! I\'m just a plugin, not much I can do when called directly.';
|
||||
exit;
|
||||
}
|
||||
|
||||
define('AKISMET_VERSION', '2.6.0');
|
||||
define('AKISMET_PLUGIN_URL', plugin_dir_url( __FILE__ ));
|
||||
define('AKISMET_DELETE_LIMIT', 10000);
|
||||
|
||||
/** If you hardcode a WP.com API key here, all key config screens will be hidden */
|
||||
if ( defined('WPCOM_API_KEY') )
|
||||
@@ -37,12 +44,6 @@ if ( defined('WPCOM_API_KEY') )
|
||||
else
|
||||
$wpcom_api_key = '';
|
||||
|
||||
// Make sure we don't expose any info if called directly
|
||||
if ( !function_exists( 'add_action' ) ) {
|
||||
echo "Hi there! I'm just a plugin, not much I can do when called directly.";
|
||||
exit;
|
||||
}
|
||||
|
||||
if ( isset($wp_db_version) && $wp_db_version <= 9872 )
|
||||
include_once dirname( __FILE__ ) . '/legacy.php';
|
||||
|
||||
@@ -110,7 +111,7 @@ function akismet_test_mode() {
|
||||
}
|
||||
|
||||
// return a comma-separated list of role names for the given user
|
||||
function akismet_get_user_roles($user_id ) {
|
||||
function akismet_get_user_roles( $user_id ) {
|
||||
$roles = false;
|
||||
|
||||
if ( !class_exists('WP_User') )
|
||||
@@ -197,17 +198,26 @@ function akismet_http_post($request, $host, $path, $port = 80, $ip=null) {
|
||||
|
||||
// filter handler used to return a spam result to pre_comment_approved
|
||||
function akismet_result_spam( $approved ) {
|
||||
static $just_once = false;
|
||||
if ( $just_once )
|
||||
return $approved;
|
||||
|
||||
// bump the counter here instead of when the filter is added to reduce the possibility of overcounting
|
||||
if ( $incr = apply_filters('akismet_spam_count_incr', 1) )
|
||||
update_option( 'akismet_spam_count', get_option('akismet_spam_count') + $incr );
|
||||
|
||||
// this is a one-shot deal
|
||||
remove_filter( 'pre_comment_approved', 'akismet_result_spam' );
|
||||
$just_once = true;
|
||||
return 'spam';
|
||||
}
|
||||
|
||||
function akismet_result_hold( $approved ) {
|
||||
static $just_once = false;
|
||||
if ( $just_once )
|
||||
return $approved;
|
||||
|
||||
// once only
|
||||
remove_filter( 'pre_comment_approved', 'akismet_result_hold' );
|
||||
$just_once = true;
|
||||
return '0';
|
||||
}
|
||||
|
||||
@@ -277,10 +287,13 @@ function akismet_auto_check_update_meta( $id, $comment ) {
|
||||
if ( !function_exists('add_comment_meta') )
|
||||
return false;
|
||||
|
||||
if ( !isset( $akismet_last_comment['comment_author_email'] ) )
|
||||
$akismet_last_comment['comment_author_email'] = '';
|
||||
|
||||
// wp_insert_comment() might be called in other contexts, so make sure this is the same comment
|
||||
// as was checked by akismet_auto_check_comment
|
||||
if ( is_object($comment) && !empty($akismet_last_comment) && is_array($akismet_last_comment) ) {
|
||||
if ( intval($akismet_last_comment['comment_post_ID']) == intval($comment->comment_post_ID)
|
||||
if ( isset($akismet_last_comment['comment_post_ID']) && intval($akismet_last_comment['comment_post_ID']) == intval($comment->comment_post_ID)
|
||||
&& $akismet_last_comment['comment_author'] == $comment->comment_author
|
||||
&& $akismet_last_comment['comment_author_email'] == $comment->comment_author_email ) {
|
||||
// normal result: true or false
|
||||
@@ -318,16 +331,16 @@ function akismet_auto_check_comment( $commentdata ) {
|
||||
global $akismet_api_host, $akismet_api_port, $akismet_last_comment;
|
||||
|
||||
$comment = $commentdata;
|
||||
$comment['user_ip'] = $_SERVER['REMOTE_ADDR'];
|
||||
$comment['user_agent'] = $_SERVER['HTTP_USER_AGENT'];
|
||||
$comment['referrer'] = $_SERVER['HTTP_REFERER'];
|
||||
$comment['user_ip'] = akismet_get_ip_address();
|
||||
$comment['user_agent'] = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : null;
|
||||
$comment['referrer'] = isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : null;
|
||||
$comment['blog'] = get_option('home');
|
||||
$comment['blog_lang'] = get_locale();
|
||||
$comment['blog_charset'] = get_option('blog_charset');
|
||||
$comment['permalink'] = get_permalink($comment['comment_post_ID']);
|
||||
|
||||
if ( !empty( $comment['user_ID'] ) ) {
|
||||
$comment['user_role'] = akismet_get_user_roles($comment['user_ID']);
|
||||
$comment['user_role'] = akismet_get_user_roles( $comment['user_ID'] );
|
||||
}
|
||||
|
||||
$akismet_nonce_option = apply_filters( 'akismet_comment_nonce', get_option( 'akismet_comment_nonce' ) );
|
||||
@@ -370,6 +383,7 @@ function akismet_auto_check_comment( $commentdata ) {
|
||||
$commentdata['comment_as_submitted'] = $comment;
|
||||
|
||||
$response = akismet_http_post($query_string, $akismet_api_host, '/1.1/comment-check', $akismet_api_port);
|
||||
do_action( 'akismet_comment_check_response', $response );
|
||||
akismet_update_alert( $response );
|
||||
$commentdata['akismet_result'] = $response[1];
|
||||
if ( 'true' == $response[1] ) {
|
||||
@@ -386,7 +400,8 @@ function akismet_auto_check_comment( $commentdata ) {
|
||||
// akismet_result_spam() won't be called so bump the counter here
|
||||
if ( $incr = apply_filters('akismet_spam_count_incr', 1) )
|
||||
update_option( 'akismet_spam_count', get_option('akismet_spam_count') + $incr );
|
||||
wp_safe_redirect( $_SERVER['HTTP_REFERER'] );
|
||||
$redirect_to = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : get_permalink( $post );
|
||||
wp_safe_redirect( $redirect_to );
|
||||
die();
|
||||
}
|
||||
}
|
||||
@@ -417,58 +432,70 @@ function akismet_auto_check_comment( $commentdata ) {
|
||||
|
||||
add_action('preprocess_comment', 'akismet_auto_check_comment', 1);
|
||||
|
||||
function akismet_get_ip_address() {
|
||||
foreach( array( 'HTTP_CLIENT_IP', 'HTTP_X_FORWARDED_FOR', 'HTTP_X_FORWARDED', 'HTTP_X_CLUSTER_CLIENT_IP', 'HTTP_FORWARDED_FOR', 'HTTP_FORWARDED', 'REMOTE_ADDR' ) as $key ) {
|
||||
if ( array_key_exists( $key, $_SERVER ) === true ) {
|
||||
foreach ( explode( ',', $_SERVER[$key] ) as $ip ) {
|
||||
$ip = trim($ip);
|
||||
|
||||
if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_NO_PRIV_RANGE | FILTER_FLAG_NO_RES_RANGE) !== false ) {
|
||||
return $ip;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
|
||||
function akismet_delete_old() {
|
||||
global $wpdb;
|
||||
$now_gmt = current_time('mysql', 1);
|
||||
$comment_ids = $wpdb->get_col("SELECT comment_id FROM $wpdb->comments WHERE DATE_SUB('$now_gmt', INTERVAL 15 DAY) > comment_date_gmt AND comment_approved = 'spam'");
|
||||
if ( empty( $comment_ids ) )
|
||||
return;
|
||||
|
||||
while( $comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT comment_id FROM {$wpdb->comments} WHERE DATE_SUB(NOW(), INTERVAL 15 DAY) > comment_date_gmt AND comment_approved = 'spam' LIMIT %d", defined( 'AKISMET_DELETE_LIMIT' ) ? AKISMET_DELETE_LIMIT : 10000 ) ) ) {
|
||||
if ( empty( $comment_ids ) )
|
||||
return;
|
||||
|
||||
$comma_comment_ids = implode( ', ', array_map('intval', $comment_ids) );
|
||||
$wpdb->queries = array();
|
||||
|
||||
do_action( 'delete_comment', $comment_ids );
|
||||
$wpdb->query("DELETE FROM $wpdb->comments WHERE comment_id IN ( $comma_comment_ids )");
|
||||
$wpdb->query("DELETE FROM $wpdb->commentmeta WHERE comment_id IN ( $comma_comment_ids )");
|
||||
clean_comment_cache( $comment_ids );
|
||||
$n = mt_rand(1, 5000);
|
||||
if ( apply_filters('akismet_optimize_table', ($n == 11)) ) // lucky number
|
||||
$wpdb->query("OPTIMIZE TABLE $wpdb->comments");
|
||||
do_action( 'delete_comment', $comment_ids );
|
||||
|
||||
$comma_comment_ids = implode( ', ', array_map('intval', $comment_ids) );
|
||||
|
||||
$wpdb->query("DELETE FROM {$wpdb->comments} WHERE comment_id IN ( $comma_comment_ids )");
|
||||
$wpdb->query("DELETE FROM {$wpdb->commentmeta} WHERE comment_id IN ( $comma_comment_ids )");
|
||||
|
||||
clean_comment_cache( $comment_ids );
|
||||
}
|
||||
|
||||
if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11) ) ) // lucky number
|
||||
$wpdb->query("OPTIMIZE TABLE {$wpdb->comments}");
|
||||
}
|
||||
|
||||
function akismet_delete_old_metadata() {
|
||||
global $wpdb;
|
||||
|
||||
$now_gmt = current_time( 'mysql', 1 );
|
||||
$interval = apply_filters( 'akismet_delete_commentmeta_interval', 15 );
|
||||
|
||||
# enfore a minimum of 1 day
|
||||
$interval = absint( $interval );
|
||||
if ( $interval < 1 ) {
|
||||
return;
|
||||
}
|
||||
if ( $interval < 1 )
|
||||
$interval = 1;
|
||||
|
||||
// akismet_as_submitted meta values are large, so expire them
|
||||
// after $interval days regardless of the comment status
|
||||
while ( TRUE ) {
|
||||
$comment_ids = $wpdb->get_col( "SELECT $wpdb->comments.comment_id FROM $wpdb->commentmeta INNER JOIN $wpdb->comments USING(comment_id) WHERE meta_key = 'akismet_as_submitted' AND DATE_SUB('$now_gmt', INTERVAL {$interval} DAY) > comment_date_gmt LIMIT 10000" );
|
||||
|
||||
if ( empty( $comment_ids ) ) {
|
||||
return;
|
||||
}
|
||||
|
||||
while ( $comment_ids = $wpdb->get_col( $wpdb->prepare( "SELECT m.comment_id FROM {$wpdb->commentmeta} as m INNER JOIN {$wpdb->comments} as c USING(comment_id) WHERE m.meta_key = 'akismet_as_submitted' AND DATE_SUB(NOW(), INTERVAL %d DAY) > c.comment_date_gmt LIMIT 10000", $interval ) ) ) {
|
||||
if ( empty( $comment_ids ) )
|
||||
return;
|
||||
|
||||
$wpdb->queries = array();
|
||||
|
||||
foreach ( $comment_ids as $comment_id ) {
|
||||
delete_comment_meta( $comment_id, 'akismet_as_submitted' );
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
$n = mt_rand( 1, 5000 );
|
||||
if ( apply_filters( 'akismet_optimize_table', ( $n == 11 ), 'commentmeta' ) ) { // lucky number
|
||||
$wpdb->query( "OPTIMIZE TABLE $wpdb->commentmeta" );
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
||||
if ( apply_filters( 'akismet_optimize_table', ( mt_rand(1, 5000) == 11) ) ) // lucky number
|
||||
$wpdb->query("OPTIMIZE TABLE {$wpdb->comments}");
|
||||
}
|
||||
|
||||
add_action('akismet_scheduled_delete', 'akismet_delete_old');
|
||||
add_action('akismet_scheduled_delete', 'akismet_delete_old_metadata');
|
||||
@@ -498,7 +525,7 @@ function akismet_check_db_comment( $id, $recheck_reason = 'recheck_queue' ) {
|
||||
$query_string .= $key . '=' . urlencode( stripslashes($data) ) . '&';
|
||||
|
||||
$response = akismet_http_post($query_string, $akismet_api_host, '/1.1/comment-check', $akismet_api_port);
|
||||
return $response[1];
|
||||
return ( is_array( $response ) && isset( $response[1] ) ) ? $response[1] : false;
|
||||
}
|
||||
|
||||
function akismet_cron_recheck() {
|
||||
@@ -565,7 +592,7 @@ function akismet_cron_recheck() {
|
||||
delete_comment_meta( $comment_id, 'akismet_rechecking' );
|
||||
}
|
||||
|
||||
$remaining = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->commentmeta WHERE meta_key = 'akismet_error'" ) );
|
||||
$remaining = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->commentmeta WHERE meta_key = 'akismet_error'" );
|
||||
if ( $remaining && !wp_next_scheduled('akismet_schedule_cron_recheck') ) {
|
||||
wp_schedule_single_event( time() + 1200, 'akismet_schedule_cron_recheck' );
|
||||
}
|
||||
@@ -583,6 +610,71 @@ $akismet_comment_nonce_option = apply_filters( 'akismet_comment_nonce', get_opti
|
||||
if ( $akismet_comment_nonce_option == 'true' || $akismet_comment_nonce_option == '' )
|
||||
add_action( 'comment_form', 'akismet_add_comment_nonce' );
|
||||
|
||||
function akismet_pingback_forwarded_for( $r, $url ) {
|
||||
static $urls = array();
|
||||
|
||||
// Call this with $r == null to prime the callback to add headers on a specific URL
|
||||
if ( is_null( $r ) && !in_array( $url, $urls ) ) {
|
||||
$urls[] = $url;
|
||||
}
|
||||
|
||||
// Add X-Pingback-Forwarded-For header, but only for requests to a specific URL (the apparent pingback source)
|
||||
if ( is_array( $r ) && is_array( $r['headers'] ) && !isset( $r['headers']['X-Pingback-Forwarded-For'] ) && in_array( $url, $urls ) ) {
|
||||
$remote_ip = preg_replace( '/[^a-fx0-9:.,]/i', '', $_SERVER['REMOTE_ADDR'] );
|
||||
|
||||
// Note: this assumes REMOTE_ADDR is correct, and it may not be if a reverse proxy or CDN is in use
|
||||
$r['headers']['X-Pingback-Forwarded-For'] = $remote_ip;
|
||||
|
||||
// Also identify the request as a pingback verification in the UA string so it appears in logs
|
||||
$r['user-agent'] .= '; verifying pingback from ' . $remote_ip;
|
||||
}
|
||||
|
||||
return $r;
|
||||
}
|
||||
|
||||
function akismet_pre_check_pingback( $method ) {
|
||||
|
||||
if ( $method !== 'pingback.ping' )
|
||||
return;
|
||||
|
||||
global $wp_xmlrpc_server;
|
||||
|
||||
if ( !is_object( $wp_xmlrpc_server ) )
|
||||
return false;
|
||||
|
||||
// Lame: tightly coupled with the IXR class.
|
||||
$args = $wp_xmlrpc_server->message->params;
|
||||
|
||||
if ( !empty( $args[1] ) ) {
|
||||
$post_id = url_to_postid( $args[1] );
|
||||
|
||||
// If this gets through the pre-check, make sure we properly identify the outbound request as a pingback verification
|
||||
akismet_pingback_forwarded_for( null, $args[0] );
|
||||
add_filter( 'http_request_args', 'akismet_pingback_forwarded_for', 10, 2 );
|
||||
|
||||
$comment = array(
|
||||
'comment_author_url' => $args[0],
|
||||
'comment_post_ID' => $post_id,
|
||||
'comment_author' => '',
|
||||
'comment_author_email' => '',
|
||||
'comment_content' => '',
|
||||
'comment_type' => 'pingback',
|
||||
'akismet_pre_check' => '1',
|
||||
'comment_pingback_target' => $args[1],
|
||||
);
|
||||
|
||||
$comment = akismet_auto_check_comment( $comment );
|
||||
|
||||
if ( isset( $comment['akismet_result'] ) && 'true' == $comment['akismet_result'] ) {
|
||||
// Lame: tightly coupled with the IXR classes. Unfortunately the action provides no context and no way to return anything.
|
||||
$wp_xmlrpc_server->error( new IXR_Error( 0, 'Invalid discovery target' ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Run this early in the pingback call, before doing a remote fetch of the source uri
|
||||
add_action( 'xmlrpc_call', 'akismet_pre_check_pingback' );
|
||||
|
||||
global $wp_version;
|
||||
if ( '3.0.5' == $wp_version ) {
|
||||
remove_filter( 'comment_text', 'wp_kses_data' );
|
||||
|
||||
|
After Width: | Height: | Size: 2.6 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
@@ -1,9 +1,9 @@
|
||||
=== Akismet ===
|
||||
Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, automattic
|
||||
Contributors: matt, ryan, andy, mdawaffe, tellyworth, josephscott, lessbloat, eoigal, automattic
|
||||
Tags: akismet, comments, spam
|
||||
Requires at least: 3.0
|
||||
Tested up to: 3.4
|
||||
Stable tag: 2.5.6
|
||||
Tested up to: 3.8.1
|
||||
Stable tag: 2.6.0
|
||||
License: GPLv2 or later
|
||||
|
||||
Akismet checks your comments against the Akismet web service to see if they look like spam or not.
|
||||
@@ -31,6 +31,33 @@ Upload the Akismet plugin to your blog, Activate it, then enter your [Akismet.co
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 2.6.0 =
|
||||
* Add ajax paging to the check for spam button to handle large volumes of comments
|
||||
* Optimize javascript and add localization support
|
||||
* Fix bug in link to spam comments from right now dashboard widget
|
||||
* Fix bug with deleting old comments to avoid timeouts dealing with large volumes of comments
|
||||
* Include X-Pingback-Forwarded-For header in outbound WordPress pingback verifications
|
||||
* Add pre-check for pingbacks, to stop spam before an outbound verification request is made
|
||||
|
||||
= 2.5.9 =
|
||||
* Update 'Already have a key' link to redirect page rather than depend on javascript
|
||||
* Fix some non-translatable strings to be translatable
|
||||
* Update Activation banner in plugins page to redirect user to Akismet config page
|
||||
|
||||
= 2.5.8 =
|
||||
* Simplify the activation process for new users
|
||||
* Remove the reporter_ip parameter
|
||||
* Minor preventative security improvements
|
||||
|
||||
= 2.5.7 =
|
||||
* FireFox Stats iframe preview bug
|
||||
* Fix mshots preview when using https
|
||||
* Add .htaccess to block direct access to files
|
||||
* Prevent some PHP notices
|
||||
* Fix Check For Spam return location when referrer is empty
|
||||
* Fix Settings links for network admins
|
||||
* Fix prepare() warnings in WP 3.5
|
||||
|
||||
= 2.5.6 =
|
||||
* Prevent retry scheduling problems on sites where wp_cron is misbehaving
|
||||
* Preload mshot previews
|
||||
|
||||
@@ -0,0 +1,103 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
* A data object representing the data to be added into Wordpress
|
||||
*/
|
||||
|
||||
if (!class_exists('BloggerEntry'))
|
||||
{
|
||||
class BloggerEntry
|
||||
{
|
||||
var $links = array();
|
||||
var $categories = array();
|
||||
var $blogurl = '';
|
||||
|
||||
function parselinks() {
|
||||
foreach ($this->links as $link) {
|
||||
// save the self link as meta
|
||||
if ($link['rel'] == 'self')
|
||||
{
|
||||
$postself = $link['href'];
|
||||
$parts = parse_url($link['href']);
|
||||
$this->old_permalink = $parts['path'];
|
||||
}
|
||||
|
||||
// get the old URI for the page when available
|
||||
if ($link['rel'] == 'alternate')
|
||||
{
|
||||
$parts = parse_url($link['href']);
|
||||
$this->bookmark = $parts['path'];
|
||||
}
|
||||
|
||||
// save the replies feed link as meta (ignore the comment form one)
|
||||
if ($link['rel'] == 'replies' && false === strpos($link['href'], '#comment-form'))
|
||||
{
|
||||
$this->postreplies = $link['href'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function import() {
|
||||
|
||||
$post_date = $this->published;
|
||||
$post_content = $this->content;
|
||||
$post_title = $this->title;
|
||||
$post_status = $this->isDraft ? 'draft' : 'publish';
|
||||
//AGC:24/10/2013 Turn off the pingbacks
|
||||
$post_pingback = Blogger_Import::POST_PINGBACK;
|
||||
|
||||
// N.B. Clean up of $post_content is now part of the sanitize class
|
||||
// Check for duplication part of calling function
|
||||
$post = compact('post_date', 'post_content', 'post_title', 'post_status', 'post_pingback');
|
||||
|
||||
$post_id = wp_insert_post($post);
|
||||
if (is_wp_error($post_id))
|
||||
return $post_id;
|
||||
|
||||
wp_create_categories(array_map('addslashes', $this->categories), $post_id);
|
||||
|
||||
add_post_meta($post_id, 'blogger_blog', $this->blogurl, true);
|
||||
add_post_meta($post_id, 'blogger_author', $this->author, true);
|
||||
|
||||
if (!$this->isDraft && isset($this->bookmark))
|
||||
add_post_meta($post_id, 'blogger_permalink', $this->bookmark, true);
|
||||
|
||||
add_post_meta($post_id, 'blogger_internal', $this->old_permalink, true);
|
||||
|
||||
if (isset($this->geotags)) {
|
||||
add_post_meta($post_id,'geo_latitude',$this->geotags['geo_latitude']);
|
||||
add_post_meta($post_id,'geo_longitude',$this->geotags['geo_longitude']);
|
||||
add_post_meta($post_id,'geo_public',1);
|
||||
if (isset($this->geotags['geo_address'])) {
|
||||
add_post_meta($post_id,'geo_address',$this->geotags['geo_address']);
|
||||
}
|
||||
}
|
||||
|
||||
return $post_id;
|
||||
}
|
||||
|
||||
|
||||
function post_exists() {
|
||||
$p = $this->get_post_by_oldID($this->old_permalink);
|
||||
|
||||
if ($p == 0 && isset($this->bookmark)) {
|
||||
$p = $this->get_post_by_oldID($this->bookmark);
|
||||
}
|
||||
return $p;
|
||||
}
|
||||
|
||||
function get_post_by_oldID($oldID) {
|
||||
//Check to see if this post has been loaded already
|
||||
//Can we use get_posts for this?
|
||||
global $wpdb;
|
||||
$query = "SELECT post_id FROM $wpdb->postmeta m inner join $wpdb->posts p on p.ID = m.post_id where meta_key = 'blogger_internal' and meta_value = '%s' and p.post_type = 'post' LIMIT 0 , 1";
|
||||
$p = (int) $wpdb->get_var( $wpdb->prepare($query, $oldID) );
|
||||
return $p;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,811 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
* The overall blog, stats and methods for importing
|
||||
*/
|
||||
|
||||
class Blogger_Importer_Blog
|
||||
{
|
||||
var $ID;
|
||||
var $comments_url;
|
||||
|
||||
function init_defaults($totalposts,$totalcomments)
|
||||
{
|
||||
$this->total_posts = $totalposts;
|
||||
$this->total_comments = $totalcomments;
|
||||
|
||||
$this->posts_done = $this->count_imported_posts();
|
||||
$this->comments_done = $this->count_imported_comments();
|
||||
|
||||
//Initialise other vars
|
||||
$this->posts_skipped = 0;
|
||||
$this->comments_skipped = 0;
|
||||
|
||||
$this->images_done = $this->count_imported_images();
|
||||
$this->images_progress = 0;
|
||||
$this->images_skipped = 0;
|
||||
$this->links_done = 0; //Can't count these as we don't store them in separately in the DB
|
||||
$this->links_progress = 0;
|
||||
|
||||
$this->mode = 'init';
|
||||
}
|
||||
|
||||
//Return the blog from the options or false for failure
|
||||
static function read_option($blogID)
|
||||
{
|
||||
$blog = false;
|
||||
$blogopt = get_option('blogger_importer_blog_'.$blogID);
|
||||
if (is_array($blogopt)) {
|
||||
$blog = new Blogger_Importer_Blog();
|
||||
foreach ($blogopt as $key => $value)
|
||||
$blog->$key = $value;
|
||||
}
|
||||
return $blog;
|
||||
}
|
||||
|
||||
function import_blog($connector)
|
||||
{
|
||||
//AGC: Moved the parameter parsing out to start and the importing into separate functions.
|
||||
//25/1/2013 Suppress post revisions whilst we are importing
|
||||
remove_post_type_support('post', 'revisions');
|
||||
|
||||
$this->importer_started = time();
|
||||
|
||||
if (!$this->import_posts($connector))
|
||||
return ('continue');
|
||||
if (!$this->import_comments($connector))
|
||||
return ('continue');
|
||||
|
||||
if (Blogger_Import::IMPORT_IMG)
|
||||
{
|
||||
if (!$this->process_images())
|
||||
return('continue');
|
||||
}
|
||||
|
||||
if (!$this->process_links())
|
||||
return('continue');
|
||||
|
||||
$this->mode = 'authors';
|
||||
$this->save_vars();
|
||||
|
||||
if (!$this->posts_done && !$this->comments_done)
|
||||
return('nothing');
|
||||
|
||||
//Thought: Should this be passing an ID so we know which blog just got imported.
|
||||
do_action('import_done', 'blogger');
|
||||
|
||||
return('done');
|
||||
}
|
||||
|
||||
|
||||
function import_posts($connector)
|
||||
{
|
||||
//Simpler counting for posts as we load them forwards
|
||||
if (isset($this->posts_start_index))
|
||||
$start_index = (int)$this->posts_start_index;
|
||||
else
|
||||
$start_index = 1;
|
||||
|
||||
if ($this->total_posts > $start_index)
|
||||
{
|
||||
// Grab all the posts
|
||||
$this->mode = 'posts';
|
||||
do
|
||||
{
|
||||
$index = $struct = $entries = array();
|
||||
|
||||
$url = $this->posts_url;
|
||||
|
||||
//Thought, how do we decouple this method from the source?
|
||||
//Perhaps the "get data function" can somehow be passed through as a parameter to this.
|
||||
//This decoupling would then allow an easier re-code for say when the blogger data arrives as a file not as a URL
|
||||
$response = $connector->oauth_get($url, array('max-results' => Blogger_Import::MAX_RESULTS, 'start-index' => $start_index));
|
||||
|
||||
if ($response == false)
|
||||
break;
|
||||
|
||||
// parse the feed
|
||||
$feed = new SimplePie();
|
||||
|
||||
//set_xxxx methods depreciated (and not working?) replaced with get_registry as per docs
|
||||
$reg = $feed->get_registry();
|
||||
|
||||
$reg->register('Sanitize', 'Blogger_Importer_Sanitize');
|
||||
$feed->sanitize = $reg->create('Sanitize'); //Should not really need to do this but there seems to be an issue with the SimplePie class?
|
||||
$reg->register('Item', 'WP_SimplePie_Blog_Item');
|
||||
|
||||
$feed->set_raw_data($response);
|
||||
$feed->init();
|
||||
|
||||
foreach ($feed->get_items() as $item)
|
||||
{
|
||||
$blogentry = new BloggerEntry();
|
||||
|
||||
$blogentry->blogurl = $this->host;
|
||||
$blogentry->id = $item->get_id();
|
||||
$blogentry->published = $item->get_published();
|
||||
$blogentry->updated = $item->get_updated();
|
||||
$blogentry->isDraft = $item->get_draft_status();
|
||||
$blogentry->title = $item->get_title();
|
||||
$blogentry->content = $item->get_content();
|
||||
$blogentry->author = $item->get_author()->get_name();
|
||||
$blogentry->geotags = $item->get_geotags();
|
||||
|
||||
$blogentry->links = $item->get_links(array('replies', 'edit', 'self', 'alternate'));
|
||||
$blogentry->parselinks();
|
||||
|
||||
$blogentry->categories = $item->get_categories();
|
||||
|
||||
// Checks for duplicates
|
||||
$post_id = $blogentry->post_exists();
|
||||
|
||||
if ($post_id != 0)
|
||||
{
|
||||
$this->posts_skipped++;
|
||||
} else
|
||||
{
|
||||
//Unique new post so import it
|
||||
$post_id = $blogentry->import();
|
||||
$this->posts_done++;
|
||||
$this->save_vars();
|
||||
}
|
||||
|
||||
//Ref: Not importing properly http://core.trac.wordpress.org/ticket/19096
|
||||
//Simplified this section to count what is loaded rather than parsing the results again
|
||||
$start_index++;
|
||||
}
|
||||
|
||||
$this->posts_start_index = $start_index;
|
||||
|
||||
$this->save_vars();
|
||||
|
||||
} while ($this->total_posts > $start_index && $this->have_time());
|
||||
}
|
||||
return ($this->total_posts <= $start_index);
|
||||
}
|
||||
|
||||
function import_comments($connector)
|
||||
{
|
||||
if (isset($this->comments_start_index))
|
||||
$start_index = (int)$this->comments_start_index;
|
||||
else
|
||||
$start_index = 1;
|
||||
|
||||
if ($start_index > 0 && $this->total_comments > 0)
|
||||
{
|
||||
|
||||
$this->mode = 'comments';
|
||||
do
|
||||
{
|
||||
$index = $struct = $entries = array();
|
||||
|
||||
//So we can link up the comments as we go we need to load them in reverse order
|
||||
//Reverse the start index as the GData Blogger feed can't be sorted
|
||||
$batch = ((floor(($this->total_comments - $start_index) / Blogger_Import::MAX_RESULTS) * Blogger_Import::MAX_RESULTS) + 1);
|
||||
|
||||
$response = $connector->oauth_get($this->comments_url,array('max-results' => Blogger_Import::MAX_RESULTS, 'start-index' => $batch));
|
||||
// parse the feed
|
||||
$feed = new SimplePie();
|
||||
//3/1/2012 Updated syntax for registering the item
|
||||
$reg = $feed->get_registry();
|
||||
$reg->register('Item', 'WP_SimplePie_Blog_Item');
|
||||
// Use the standard "stricter" sanitize class for comments
|
||||
$feed->set_raw_data($response);
|
||||
$feed->init();
|
||||
|
||||
//Reverse the batch so we load the oldest comments first and hence can link up nested comments
|
||||
$comments = array_reverse($feed->get_items());
|
||||
|
||||
if (!is_null($comments))
|
||||
{
|
||||
foreach ($comments as $item)
|
||||
{
|
||||
$commententry = new CommentEntry();
|
||||
|
||||
$commententry->id = $item->get_id();
|
||||
$commententry->updated = $item->get_updated();
|
||||
$commententry->content = $item->get_content();
|
||||
$commententry->author = $item->get_author()->get_name();
|
||||
$commententry->authoruri = $item->get_author()->get_link();
|
||||
$commententry->authoremail = $item->get_author()->get_email();
|
||||
|
||||
$commententry->source = $item->get_source();
|
||||
$parts = parse_url($commententry->source);
|
||||
$commententry->old_post_permalink = $parts['path']; //Will be something like this '/feeds/417730729915399755/posts/default/8397846992898424746'
|
||||
|
||||
$commententry->post_ID = BloggerEntry::get_post_by_oldID($commententry->old_post_permalink);
|
||||
|
||||
//Get the links
|
||||
$commententry->links = $item->get_links(array('edit', 'self', 'alternate', 'related'));
|
||||
$commententry->parselinks();
|
||||
|
||||
// Nested comment?
|
||||
if (isset($commententry->related))
|
||||
{
|
||||
$commententry->parentcommentid = CommentEntry::get_comment_by_oldID($commententry->related);
|
||||
}
|
||||
|
||||
//Perhaps could log errors here?
|
||||
if ($commententry->post_ID != 0)
|
||||
{
|
||||
// Checks for duplicates
|
||||
if ($comment_id = $commententry->exists())
|
||||
{
|
||||
$this->comments_skipped++;
|
||||
} else
|
||||
{
|
||||
$comment_id = $commententry->import();
|
||||
$this->comments_done++;
|
||||
}
|
||||
} else
|
||||
{
|
||||
$this->comments_skipped++;
|
||||
}
|
||||
$this->save_vars();
|
||||
$start_index++;
|
||||
}
|
||||
}
|
||||
|
||||
$this->comments_start_index = $start_index;
|
||||
$this->save_vars();
|
||||
} while ($this->total_comments > $start_index && $this->have_time());
|
||||
}
|
||||
return ($this->total_comments <= $start_index);
|
||||
}
|
||||
|
||||
function save_authors()
|
||||
{
|
||||
global $wpdb;
|
||||
|
||||
//Change to take authors as a parameter
|
||||
$authors = (array )$_POST['authors'];
|
||||
|
||||
//Todo: Handle the case where there are no more authors to remap
|
||||
|
||||
// Get an array of posts => authors
|
||||
$post_ids = (array )$wpdb->get_col($wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = 'blogger_blog' AND meta_value = %s", $this->host));
|
||||
$post_ids = join(',', $post_ids);
|
||||
$results = (array )$wpdb->get_results("SELECT post_id, meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_author' AND post_id IN ($post_ids)");
|
||||
foreach ($results as $row)
|
||||
$authors_posts[$row->post_id] = $row->meta_value;
|
||||
|
||||
foreach ($authors as $author => $user_id)
|
||||
{
|
||||
$user_id = (int)$user_id;
|
||||
|
||||
// Skip authors that haven't been changed
|
||||
if ($user_id == $this->authors[$author][1])
|
||||
continue;
|
||||
|
||||
// Get a list of the selected author's posts
|
||||
$post_ids = (array )array_keys($authors_posts, $this->authors[$author][0]);
|
||||
$post_ids = join(',', $post_ids);
|
||||
|
||||
$wpdb->query($wpdb->prepare("UPDATE $wpdb->posts SET post_author = %d WHERE id IN ($post_ids)", $user_id));
|
||||
$this->authors[$author][1] = $user_id;
|
||||
|
||||
//Should we be tidying up the post meta data here, rather than in restart?
|
||||
//$wpdb->query("DELETE FROM $wpdb->postmeta WHERE meta_key = 'blogger_author'");
|
||||
}
|
||||
return '';
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Return count of imported posts from WordPress database
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
function count_imported_posts()
|
||||
{
|
||||
global $wpdb;
|
||||
$count = 0;
|
||||
$meta_key = 'blogger_blog';
|
||||
$sql = $wpdb->prepare("SELECT count(post_id) as cnt FROM $wpdb->postmeta m
|
||||
inner join $wpdb->posts p on p.id = m.post_id and post_type = 'post'
|
||||
where meta_key = '%s' and meta_value = '%s'", $meta_key, $this->host);
|
||||
|
||||
$result = $wpdb->get_results($sql);
|
||||
|
||||
if (!empty($result))
|
||||
$count = intval($result[0]->cnt);
|
||||
|
||||
// unset to save memory
|
||||
unset($results);
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return count of imported images from WordPress database
|
||||
*
|
||||
* @param string $bloghost url
|
||||
* @return int
|
||||
*/
|
||||
function count_imported_images()
|
||||
{
|
||||
global $wpdb;
|
||||
$count = 0;
|
||||
$meta_key = 'blogger_blog';
|
||||
$sql = $wpdb->prepare("SELECT count(post_id) as cnt FROM $wpdb->postmeta m
|
||||
inner join $wpdb->posts p on p.id = m.post_id and post_type = 'attachment'
|
||||
where meta_key = '%s' and meta_value = '%s'", $meta_key, $this->host);
|
||||
|
||||
$result = $wpdb->get_results($sql);
|
||||
|
||||
if (!empty($result))
|
||||
$count = intval($result[0]->cnt);
|
||||
|
||||
// unset to save memory
|
||||
unset($results);
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return count of imported comments from WordPress database
|
||||
*
|
||||
* @param string $bloghost url
|
||||
* @return int
|
||||
*/
|
||||
function count_imported_comments()
|
||||
{
|
||||
global $wpdb;
|
||||
$count = 0;
|
||||
$meta_key = 'blogger_blog';
|
||||
$sql = $wpdb->prepare("SELECT count(post_id) as cnt FROM $wpdb->postmeta m
|
||||
inner join $wpdb->posts p on p.id = m.post_id and post_type = 'post'
|
||||
inner join $wpdb->comments c on p.id = c.comment_post_ID
|
||||
where meta_key = '%s' and meta_value = '%s'
|
||||
and c.comment_type <> 'pingback'", $meta_key, $this->host);
|
||||
|
||||
$result = $wpdb->get_results($sql);
|
||||
|
||||
if (!empty($result))
|
||||
$count = intval($result[0]->cnt);
|
||||
|
||||
// unset to save memory
|
||||
unset($results);
|
||||
|
||||
return $count;
|
||||
}
|
||||
|
||||
function process_links()
|
||||
{
|
||||
//Update all of the links in the blog
|
||||
global $wpdb;
|
||||
|
||||
$postsprocessed = $this->links_progress;
|
||||
if ($postsprocessed == 0)
|
||||
{
|
||||
$linksprocessed = 0;
|
||||
} else
|
||||
{
|
||||
$linksprocessed = $this->links_done;
|
||||
}
|
||||
$batchsize = 20;
|
||||
|
||||
$oldurlsearch = $this->host;
|
||||
|
||||
if (substr($oldurlsearch, 0, 3) == 'www.')
|
||||
{
|
||||
$oldurlsearch = substr($oldurlsearch, 3, strlen($oldurlsearch - 3));
|
||||
}
|
||||
|
||||
$oldurlsearch = str_replace('.', '\.', $oldurlsearch);
|
||||
|
||||
$blogspot = stripos($oldurlsearch, '\.blogspot\.');
|
||||
if ($blogspot)
|
||||
{ //Blogspot addresses can be international e.g. myblog.blogspot.com, myblog.blogspot.com.au or myblog.blogspot.co.uk or myblog.blogspot.de both resolve to the same blog.
|
||||
//See http://www.searchenginejournal.com/google-blogger-url-censorship/39724/
|
||||
$oldurlsearch = substr($oldurlsearch, 0, $blogspot + 12) . '[\w\.]{2,6}';
|
||||
}
|
||||
|
||||
$loadedposts = get_posts(array('meta_key' => 'blogger_blog', 'meta_value' => $this->host, 'posts_per_page' => $batchsize, 'offset' => $postsprocessed, 'post_status' => array('draft', 'publish','future')));
|
||||
|
||||
//Stop if nothing left
|
||||
if (count($loadedposts) == 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach ($loadedposts as $importedpost) {
|
||||
$importedcontent = $importedpost->post_content;
|
||||
|
||||
$regexp = '<a\s[^>]*href=([\"\'`])(https?:\/\/(?:www\.)*' . $oldurlsearch . '\/)([^\" >]*?)\1[^>]*>(.*)<\/a>';
|
||||
if (preg_match_all("/$regexp/siU", $importedcontent, $matches, PREG_SET_ORDER))
|
||||
{
|
||||
foreach ($matches as $match)
|
||||
{
|
||||
$HostURL = substr($match[2], 0, strlen($match[2]) - 1); //e.g. http://minitemp.blogspot.co.uk
|
||||
$PageURL = '/' . $match[3]; //e.g. '/2011/04/what-happens-if-blog-title-is-really.html'
|
||||
$sql = $wpdb->prepare("SELECT post_id FROM $wpdb->postmeta m
|
||||
inner join $wpdb->posts p on p.id = m.post_id and post_type = 'post'
|
||||
where meta_key = '%s' and meta_value = '%s'", 'blogger_permalink', $PageURL);
|
||||
|
||||
$linkpostid = $wpdb->get_var($sql);
|
||||
|
||||
if ($linkpostid != 0) {
|
||||
$NewURL = get_permalink($linkpostid);
|
||||
} else { // Page not found, update content with just the new domain
|
||||
$NewURL = site_url($PageURL);
|
||||
}
|
||||
|
||||
$importedcontent = str_replace($HostURL . $PageURL, $NewURL, $importedcontent);
|
||||
$linksprocessed++;
|
||||
}
|
||||
|
||||
if ($importedcontent == '')
|
||||
{
|
||||
return new WP_Error('Empty Content', __("Attempting to write back empty content"));
|
||||
}
|
||||
|
||||
$importedpost->post_content = $importedcontent;
|
||||
wp_update_post($importedpost);
|
||||
|
||||
}
|
||||
$postsprocessed++;
|
||||
|
||||
//For some reason the intermediate values are not getting written, is it that the options are cached hence not read back?
|
||||
$this->links_done = $linksprocessed;
|
||||
$this->links_progress = $postsprocessed;
|
||||
$saved = $this->save_vars();
|
||||
}
|
||||
unset($loadedposts);
|
||||
return ($postsprocessed >= $this->total_posts);;
|
||||
}
|
||||
|
||||
function isurlimage($srcurl)
|
||||
{
|
||||
//Process picasaweb links and files that are images
|
||||
if (substr($srcurl, 0, 27) == 'http://picasaweb.google.com')
|
||||
return true;
|
||||
return preg_match('/(?i)\.(jpe?g|png|gif|bmp)$/i', $srcurl);
|
||||
}
|
||||
|
||||
//Get the current status for this blog
|
||||
function get_js_status()
|
||||
{
|
||||
//Trap for division by zero errors
|
||||
if ($this->total_posts == 0) {
|
||||
$p1 = 100;
|
||||
$i2 = 100;
|
||||
$l2 = 100;
|
||||
} else {
|
||||
$p1 = ($this->posts_done / $this->total_posts) * 100;
|
||||
$i2 = ($this->images_progress / $this->total_posts) * 100;
|
||||
$l2 = ($this->links_progress / $this->total_posts) * 100;
|
||||
}
|
||||
|
||||
$p2 = sprintf(__('%d of %d', 'blogger-importer'), $this->posts_done, $this->total_posts);
|
||||
$p3 = sprintf(__('%d posts skipped', 'blogger-importer'), $this->posts_skipped);
|
||||
$c1 = $this->total_comments == 0 ? 100 : ($this->comments_done / $this->total_comments) * 100;
|
||||
$c2 = sprintf(__('%d of %d', 'blogger-importer'), $this->comments_done, $this->total_comments);
|
||||
$c3 = sprintf(__('%d comments skipped', 'blogger-importer'), $this->comments_skipped);
|
||||
$i1 = isset($this->images_done) ? (int)$this->images_done : 0;
|
||||
$i3 = sprintf(__('%d images skipped', 'blogger-importer'), $this->images_skipped);
|
||||
|
||||
$l1 = isset($this->links_done) ? (int)$this->links_done : 0;
|
||||
|
||||
return "{p1:$p1,p2:\"$p2\",p3:\"$p3\",c1:$c1,c2:\"$c2\",c3:\"$c3\",i1:$i1,i2:$i2,i3:\"$i3\",l1:$l1,l2:$l2}";
|
||||
}
|
||||
|
||||
function get_authors()
|
||||
{
|
||||
global $wpdb;
|
||||
global $current_user;
|
||||
|
||||
$post_ids = (array )$wpdb->get_col($wpdb->prepare("SELECT post_id FROM $wpdb->postmeta WHERE meta_key = 'blogger_blog' AND meta_value = %s", $this->host));
|
||||
$post_ids = join(',', $post_ids);
|
||||
$authors = (array )$wpdb->get_col($wpdb->prepare("SELECT DISTINCT meta_value FROM $wpdb->postmeta WHERE meta_key = 'blogger_author' AND post_id IN (%s)",$post_ids));
|
||||
|
||||
$this->authors = array_map(null, $authors, array_fill(0, count($authors), $current_user->ID));
|
||||
}
|
||||
|
||||
/*
|
||||
* Search for either a linked image or a non linked image within the supplied html
|
||||
* <a href="xxx" yyyy><img src="zzz" ></a> or <img src="zzz" >
|
||||
* Ref: http://www.the-art-of-web.com/php/parse-links/
|
||||
* "<a\s[^>]*href=(\"??)([^\" >]*?)\\1[^>]*>(.*)<\/a>"
|
||||
* http://wordpress.org/extend/plugins/blogger-image-import/
|
||||
* "<a[^>]+href\=([\"'`])(.*)\\1[^<]*?<img[^>]*src\=([\"'`])(.*)\\3[^>]*>"
|
||||
*/
|
||||
function get_images($content)
|
||||
{
|
||||
$highrez = array();
|
||||
$lowrez = array();
|
||||
|
||||
//First images with links
|
||||
//Might be nice to expand this top try and get Alt and/or Title attributes for use as description
|
||||
$regexp = "<a\s[^>]*href\=([\"'`])([^> ]*?)\\1[^<]*?<img[^>]*src\=([\"'`])([^\> ]*?)\\3[^>]*>";
|
||||
|
||||
if (preg_match_all("/$regexp/siU", $content, $matches1, PREG_SET_ORDER))
|
||||
{
|
||||
//http://www.techrepublic.com/article/17-useful-functions-for-manipulating-arrays-in-php/5792851
|
||||
foreach ($matches1 as $match)
|
||||
{
|
||||
if ($this->isurlimage($match[2]))
|
||||
{
|
||||
$highrez[$match[4]] = $match[2];
|
||||
} else
|
||||
{
|
||||
$lowrez[$match[4]] = '';
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//Now any image (n.b. this overlaps the previous set)
|
||||
$regexp = "<img[^>]*src\=([\"'`])([^\> ]*?)\\1[^>]*>";
|
||||
|
||||
if (preg_match_all("/$regexp/siU", $content, $matches2, PREG_SET_ORDER))
|
||||
{
|
||||
foreach ($matches2 as $match)
|
||||
{
|
||||
$lowrez[$match[2]] = '';
|
||||
}
|
||||
}
|
||||
|
||||
//Remove any rows from this second set that are already in the first set and merge two sets of results
|
||||
$images = array_merge($lowrez, $highrez);
|
||||
return $images;
|
||||
}
|
||||
|
||||
/**
|
||||
* Update all of the images in the posts that have already been imported
|
||||
*/
|
||||
function process_images()
|
||||
{
|
||||
$postsprocessed = $this->images_progress;
|
||||
if ($postsprocessed == 0)
|
||||
{
|
||||
$imagesprocessed = 0;
|
||||
$imagesskipped = 0;
|
||||
} else
|
||||
{
|
||||
$imagesprocessed = $this->images_done;
|
||||
$imagesskipped = $this->images_skipped;
|
||||
}
|
||||
|
||||
$batchsize = 20;
|
||||
|
||||
$loadedposts = get_posts(array('meta_key' => 'blogger_blog', 'meta_value' => $this->host, 'posts_per_page' => $batchsize, 'offset' => $postsprocessed, 'post_status' => array('draft', 'publish','future')));
|
||||
|
||||
//Stop if nothing left
|
||||
if (count($loadedposts) == 0){
|
||||
return true;
|
||||
}
|
||||
|
||||
foreach ($loadedposts as $importedpost)
|
||||
{
|
||||
|
||||
$importedcontent = $importedpost->post_content;
|
||||
$author = get_post_meta($importedpost->ID, 'blogger_author', true);
|
||||
|
||||
$img_count = 0; //Count of images for this post
|
||||
foreach ($this->get_images($importedcontent) as $lowrez => $highrez)
|
||||
{
|
||||
if (!$this->image_filter($lowrez))
|
||||
{
|
||||
//Pass null for description so that the default (filename) is used, might be good to use Alt tag instead?
|
||||
$newcontent = $this->import_image($importedpost->ID, $lowrez, $highrez, null, $img_count, $importedcontent, $this->host, $author);
|
||||
if (!is_wp_error($newcontent)) {
|
||||
$importedcontent = $newcontent;
|
||||
$img_count++;
|
||||
} else {
|
||||
Blogger_Import::_log($newcontent);
|
||||
$imagesskipped++;
|
||||
}
|
||||
}
|
||||
}
|
||||
$imagesprocessed += $img_count;
|
||||
|
||||
$importedpost->post_content = $importedcontent;
|
||||
wp_update_post($importedpost);
|
||||
$postsprocessed++;
|
||||
|
||||
//For some reason the intermediate values are not getting written
|
||||
$this->images_done = $imagesprocessed;
|
||||
$this->images_progress = $postsprocessed;
|
||||
$this->images_skipped = $imagesskipped;
|
||||
$saved = $this->save_vars();
|
||||
}
|
||||
unset($loadedposts);
|
||||
return ($postsprocessed >= $this->total_posts);
|
||||
}
|
||||
|
||||
function image_urlremap($url,$large)
|
||||
{ /* Fix problem urls
|
||||
e.g. change https://lh4.googleusercontent.com/-nt66qhxzDyY/TZOD-RhTYMI/AAAAAAAACd4/Elzm1smRFb4/s800-h/Ski%2520Trip.jpg to
|
||||
to https://lh4.googleusercontent.com/-nt66qhxzDyY/TZOD-RhTYMI/AAAAAAAACd4/Elzm1smRFb4/s800/Ski%2520Trip.jpg
|
||||
Could use a apply_filter here to allow users to add their own tweeks
|
||||
*/
|
||||
$pattern = '/(\/)(s\d*)-h(\/)/i';
|
||||
$replacement = '$1$2$3';
|
||||
$img = preg_replace($pattern, $replacement, $url);
|
||||
|
||||
/* Strip out ? and # on the end of files */
|
||||
$pattern = '/(.*)[#\?].*/i';
|
||||
$replacement = '$1';
|
||||
$img = preg_replace($pattern, $replacement, $img);
|
||||
|
||||
if ($large) {
|
||||
// For images on blogger we can swap /sXXX/ with for example /s1600/ to get a larger file.
|
||||
// Use a standardised large size so we can control quality vs filesize.
|
||||
$pattern = '/(\/)(s\d*)(\/)/i';
|
||||
$replacement = '$1s'.Blogger_Import::LARGE_IMAGE_SIZE.'$3';
|
||||
$img = preg_replace($pattern, $replacement, $img);
|
||||
}
|
||||
return $img;
|
||||
}
|
||||
|
||||
function image_filter($url)
|
||||
{
|
||||
// Do we exclude this particular image?
|
||||
// Don't include images that are already loaded onto this site
|
||||
// Could use a apply_filter here to allow users to add their own tweeks
|
||||
return (substr($url, 0, strlen(site_url())) == site_url());
|
||||
}
|
||||
|
||||
function import_image($post_id, $lowrez, $highrez, $description, $imgcount, $postcontent, $blogname, $author)
|
||||
{
|
||||
/* Import a new image unless we specifically filter it out or if it has already been downloaded on another page.
|
||||
Based on http://wordpress.stackexchange.com/questions//media-sideload-image-file-name and the tumblr-importer
|
||||
Simple filename cleaning as characters such as +, % cause issues ref: http://wordpress.org/extend/plugins/uploadplus/
|
||||
|
||||
It's processing links of a form similar to these as provided by the "get_images" function
|
||||
<a href="myhighrezimage.jpg"><img src="mylowrezimage.jpg"></a>
|
||||
or
|
||||
<img src="mylowrezimage.jpg">
|
||||
|
||||
If the high resolution (linked) file is not an image then the low resolution version is downloaded.
|
||||
*/
|
||||
$lowrez_old = $lowrez;
|
||||
$highrez_old = $highrez;
|
||||
$highrezispage = false;
|
||||
|
||||
$lowrez = $this->image_urlremap($lowrez,false);
|
||||
if ($lowrez == '')
|
||||
return new WP_Error('Not an image',$message = __('Lowrez not an image','blogger-importer'), $data = array($lowrez_old, $highrez_old));
|
||||
|
||||
if ($highrez != '')
|
||||
{
|
||||
$highrez = $this->image_urlremap($highrez,true);
|
||||
} else
|
||||
{
|
||||
$highrez = $this->image_urlremap($lowrez,true);
|
||||
}
|
||||
|
||||
if (!$att_id = $this->image_exists($lowrez))
|
||||
{
|
||||
//Option to add a timeout to download_url, but don't use the wp_remote_get timeout as that's much shorter than the default here of 300s
|
||||
$tmp = download_url($highrez);
|
||||
|
||||
if (is_wp_error($tmp))
|
||||
{
|
||||
@unlink($tmp); // clean up, copied this from other examples but how is this supposed to work if $tmp is an error??
|
||||
//Don't exit as can still try the small image
|
||||
}
|
||||
|
||||
// If the highrez was not an image then try the lowrex
|
||||
if (!$this->is_image($tmp, $highrez))
|
||||
{
|
||||
$highrezispage = true; //That image was not valid
|
||||
$tmp = download_url($lowrez); // Option to add a timeout here
|
||||
|
||||
if (is_wp_error($tmp))
|
||||
{
|
||||
@unlink($tmp); // clean up
|
||||
return $tmp; // output wp_error
|
||||
}
|
||||
|
||||
if (!$this->is_image($tmp, $lowrez))
|
||||
{
|
||||
@unlink($tmp); // clean up None of items are actually images, for example might be a single pixel, deliberately filtered out or a 404 error?
|
||||
return new WP_Error('No Images',__('None of the images are valid','blogger-importer'), $data = array($lowrez_old, $highrez_old));
|
||||
}
|
||||
}
|
||||
|
||||
$new_name = preg_replace('/[^A-Za-z0-9._ ]/i', '-', basename($lowrez));
|
||||
|
||||
$file_array = array('name' => $new_name, 'tmp_name' => $tmp);
|
||||
|
||||
$att_id = media_handle_sideload($file_array, $post_id, $description, array('post_excerpt' => $description));
|
||||
if (is_wp_error($att_id))
|
||||
{
|
||||
@unlink($file_array['tmp_name']);
|
||||
return $att_id;
|
||||
}
|
||||
|
||||
// Link attachment upto old url, store the author so we can replace it later
|
||||
add_post_meta($att_id, 'blogger_permalink', $lowrez);
|
||||
add_post_meta($att_id, 'blogger_blog', $blogname, true);
|
||||
add_post_meta($att_id, 'blogger_author', $author, true);
|
||||
|
||||
if ($highrezispage) //Not an image so store so we can link later
|
||||
add_post_meta($att_id, 'blogger_largeimgispage', true);
|
||||
|
||||
} else
|
||||
{
|
||||
//Image already exists, check if the high rez one was valid last time
|
||||
$tmp = get_post_meta($att_id, 'blogger_largeimgispage', true);
|
||||
if ($tmp == true)
|
||||
$highrezispage = true;
|
||||
}
|
||||
|
||||
//Always treat picassa webs as image so they get replaced with the new High rez link
|
||||
if (substr($highrez, 0, 27) == 'http://picasaweb.google.com')
|
||||
$highrezispage = false;
|
||||
|
||||
//Replace the image strings
|
||||
if (!$highrezispage && $highrez_old != '')
|
||||
{
|
||||
$highrez_new = reset(wp_get_attachment_image_src($att_id, 'full'));
|
||||
$postcontent = str_replace($highrez_old, $highrez_new, $postcontent);
|
||||
}
|
||||
$lowrez_new = reset(wp_get_attachment_image_src($att_id, 'medium'));
|
||||
$postcontent = str_replace($lowrez_old, $lowrez_new, $postcontent);
|
||||
|
||||
//Set the first image to be the post thumbnail (zero index)
|
||||
if ($imgcount == 0)
|
||||
{
|
||||
set_post_thumbnail($post_id, $att_id);
|
||||
}
|
||||
|
||||
//media handle sideload moves the file so there should be no temp file left but cleanup just incase.
|
||||
@unlink($tmp);
|
||||
|
||||
// incase something goes wrong
|
||||
if ($postcontent == '')
|
||||
{
|
||||
return new WP_Error('Empty Content', __("Attempting to write back empty content",'blogger-importer'), $data = array($lowrez_old, $highrez_old));
|
||||
}
|
||||
return $postcontent;
|
||||
}
|
||||
|
||||
function is_image($file, $filename)
|
||||
{
|
||||
//Is the downloaded file really an image
|
||||
//e.g. it looked like an image from the URL but when downloaded it was something else perhaps a html page
|
||||
//Also filter out tracking images of 1 pixel square
|
||||
//Found that wp_check_filetype_and_ext and wp_match_mime_types was giving false positives
|
||||
$imgstats = @getimagesize($file);
|
||||
if (!$imgstats)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return (($imgstats[0] > 1) && ($imgstats[1] > 1));
|
||||
}
|
||||
|
||||
function image_exists($lowrez)
|
||||
{
|
||||
global $wpdb;
|
||||
return $wpdb->get_var($wpdb->prepare("SELECT ID FROM $wpdb->posts p INNER JOIN $wpdb->postmeta m ON p.ID = m.post_id AND meta_key = 'blogger_permalink' WHERE post_type = 'attachment' AND meta_value = %s LIMIT 0 , 1",
|
||||
$lowrez));
|
||||
}
|
||||
|
||||
function have_time()
|
||||
{
|
||||
return (time() - $this->importer_started < Blogger_Import::MAX_EXECUTION_TIME);
|
||||
}
|
||||
|
||||
function save_vars()
|
||||
{
|
||||
$vars = get_object_vars($this);
|
||||
//http://core.trac.wordpress.org/ticket/13480
|
||||
//Calling update options multiple times in a page (or ajax call) means that the cache kicks in and does not save to DB??
|
||||
|
||||
//Store each blog it it's own setting so that we retrieve and save less data each time it updates the stats
|
||||
if (!update_option('blogger_importer_blog_'.$this->ID, $vars)) {
|
||||
Blogger_Import::_log('Error saving blogger status');
|
||||
Blogger_Import::_log(var_export(get_object_vars($this),true));
|
||||
};
|
||||
|
||||
return !empty($vars);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,123 +1,163 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Based on WP_SimplePieAtomPub_Item
|
||||
* Expect this to become part of core wordpress at some point.
|
||||
* See http://core.trac.wordpress.org/ticket/7652
|
||||
*
|
||||
* Todo GeoTag parsing
|
||||
* http://codex.wordpress.org/Geodata
|
||||
*
|
||||
*/
|
||||
|
||||
define('SIMPLEPIE_NAMESPACE_ATOMPUB', 'http://www.w3.org/2007/app');
|
||||
define('SIMPLEPIE_NAMESPACE_GEOTAG', 'http://www.georss.org/georss');
|
||||
|
||||
/**
|
||||
* SimplePie Helper for AtomPub
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Publishing
|
||||
* @since 3.1
|
||||
*/
|
||||
if (!class_exists('WP_SimplePie_Blog_Item'))
|
||||
{
|
||||
class WP_SimplePie_Blog_Item extends SimplePie_Item
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
function WP_SimplePieAtomPub_Item($feed, $data)
|
||||
{
|
||||
parent::SimplePie_Item($feed, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the status of the entry
|
||||
*
|
||||
* @return bool True if the item is a draft, false otherwise
|
||||
*/
|
||||
function get_draft_status()
|
||||
{
|
||||
$draft = false;
|
||||
if (($control = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOMPUB, 'control')) && !empty($control[0]['child'][SIMPLEPIE_NAMESPACE_ATOMPUB]['draft'][0]['data']))
|
||||
{
|
||||
$draft = ('yes' == $control[0]['child'][SIMPLEPIE_NAMESPACE_ATOMPUB]['draft'][0]['data']);
|
||||
}
|
||||
return $draft;
|
||||
}
|
||||
|
||||
//Tried using date functions from http://core.trac.wordpress.org/attachment/ticket/7652/7652-separate.diff
|
||||
//but ended up with 1970s dates so returned to Otto's version which is much simplified
|
||||
function get_updated()
|
||||
{
|
||||
$temparray = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'updated');
|
||||
if (isset($temparray[0]['data']))
|
||||
return $this->convert_date($temparray[0]['data']);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
function get_published()
|
||||
{
|
||||
$temparray = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'published');
|
||||
if (isset($temparray[0]['data']))
|
||||
return $this->convert_date($temparray[0]['data']);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
function get_geotags()
|
||||
{//Return an array of geo tags see http://codex.wordpress.org/Geodata
|
||||
//example source
|
||||
// <georss:featurename>Rådhuspladsen 3, 1550 Copenhagen, Denmark</georss:featurename>
|
||||
// <georss:point>55.6760968 12.5683371</georss:point>
|
||||
|
||||
|
||||
$latlong = $this->get_item_tags(SIMPLEPIE_NAMESPACE_GEOTAG, 'point');
|
||||
|
||||
if (isset($latlong[0]['data'])) {
|
||||
preg_match('/([0-9.-]+).+?([0-9.-]+)/', $latlong[0]['data'], $matches);
|
||||
$lat=(float)$matches[1];
|
||||
$long=(float)$matches[2];
|
||||
}
|
||||
|
||||
if (!isset($lat) |!isset($long)) {
|
||||
return null; //Without lat long we can't have a valid location
|
||||
}
|
||||
|
||||
$address = $this->get_item_tags(SIMPLEPIE_NAMESPACE_GEOTAG, 'featurename');
|
||||
if (isset($address[0]['data']))
|
||||
$geo_address = $address[0]['data'];
|
||||
else
|
||||
$geo_address = null;
|
||||
|
||||
$geo = array('geo_latitude' => $lat, 'geo_longitude' => $long, 'geo_address' => $geo_address );
|
||||
|
||||
return $geo;
|
||||
}
|
||||
|
||||
function convert_date($date)
|
||||
{
|
||||
preg_match('#([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?(Z|[\+|\-][0-9]{2,4}){0,1}#', $date, $date_bits);
|
||||
$offset = iso8601_timezone_to_offset($date_bits[7]);
|
||||
$timestamp = gmmktime($date_bits[4], $date_bits[5], $date_bits[6], $date_bits[2], $date_bits[3], $date_bits[1]);
|
||||
$timestamp -= $offset; // Convert from Blogger local time to GMT
|
||||
$timestamp += get_option('gmt_offset') * 3600; // Convert from GMT to WP local time
|
||||
return gmdate('Y-m-d H:i:s', $timestamp);
|
||||
}
|
||||
|
||||
//Don't Sanitize the ID, the default get_id was cleaning our IDs and that meant that nested comments did not work
|
||||
function get_id()
|
||||
{
|
||||
if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'id'))
|
||||
{
|
||||
return $return[0]['data'];
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Based on WP_SimplePieAtomPub_Item
|
||||
* Expect this to become part of core wordpress at some point.
|
||||
* See http://core.trac.wordpress.org/ticket/7652
|
||||
*
|
||||
* http://codex.wordpress.org/Geodata
|
||||
*
|
||||
*/
|
||||
|
||||
define('SIMPLEPIE_NAMESPACE_ATOMPUB', 'http://purl.org/atom/app#');
|
||||
define('SIMPLEPIE_NAMESPACE_GEOTAG', 'http://www.georss.org/georss');
|
||||
|
||||
/**
|
||||
* SimplePie Helper for AtomPub
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Publishing
|
||||
* @since 3.1
|
||||
*/
|
||||
if (!class_exists('WP_SimplePie_Blog_Item'))
|
||||
{
|
||||
class WP_SimplePie_Blog_Item extends SimplePie_Item
|
||||
{
|
||||
/**
|
||||
* Constructor
|
||||
*/
|
||||
function __construct($feed, $data)
|
||||
{
|
||||
parent::__construct($feed, $data);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the status of the entry
|
||||
*
|
||||
* @return bool True if the item is a draft, false otherwise
|
||||
*/
|
||||
function get_draft_status()
|
||||
{
|
||||
$draft = false;
|
||||
if (($control = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOMPUB, 'control')) && !empty($control[0]['child'][SIMPLEPIE_NAMESPACE_ATOMPUB]['draft'][0]['data']))
|
||||
{
|
||||
$draft = ('yes' == $control[0]['child'][SIMPLEPIE_NAMESPACE_ATOMPUB]['draft'][0]['data']);
|
||||
}
|
||||
return $draft;
|
||||
}
|
||||
|
||||
//Tried using date functions from http://core.trac.wordpress.org/attachment/ticket/7652/7652-separate.diff
|
||||
//but ended up with 1970s dates so returned to Otto's version which is much simplified
|
||||
function get_updated()
|
||||
{
|
||||
$temparray = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'updated');
|
||||
if (isset($temparray[0]['data']))
|
||||
return $this->convert_date($temparray[0]['data']);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
function get_published()
|
||||
{
|
||||
$temparray = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'published');
|
||||
if (isset($temparray[0]['data']))
|
||||
return $this->convert_date($temparray[0]['data']);
|
||||
else
|
||||
return null;
|
||||
}
|
||||
|
||||
function get_geotags()
|
||||
{//Return an array of geo tags see http://codex.wordpress.org/Geodata
|
||||
//example source
|
||||
// <georss:featurename>Rådhuspladsen 3, 1550 Copenhagen, Denmark</georss:featurename>
|
||||
// <georss:point>55.6760968 12.5683371</georss:point>
|
||||
|
||||
|
||||
$latlong = $this->get_item_tags(SIMPLEPIE_NAMESPACE_GEOTAG, 'point');
|
||||
|
||||
if (isset($latlong[0]['data'])) {
|
||||
preg_match('/([0-9.-]+).+?([0-9.-]+)/', $latlong[0]['data'], $matches);
|
||||
$lat=(float)$matches[1];
|
||||
$long=(float)$matches[2];
|
||||
}
|
||||
|
||||
if (!isset($lat) |!isset($long)) {
|
||||
return null; //Without lat long we can't have a valid location
|
||||
}
|
||||
|
||||
$address = $this->get_item_tags(SIMPLEPIE_NAMESPACE_GEOTAG, 'featurename');
|
||||
if (isset($address[0]['data']))
|
||||
$geo_address = $address[0]['data'];
|
||||
else
|
||||
$geo_address = null;
|
||||
|
||||
$geo = array('geo_latitude' => $lat, 'geo_longitude' => $long, 'geo_address' => $geo_address );
|
||||
|
||||
return $geo;
|
||||
}
|
||||
|
||||
function convert_date($date)
|
||||
{
|
||||
preg_match('#([0-9]{4})-([0-9]{2})-([0-9]{2})T([0-9]{2}):([0-9]{2}):([0-9]{2})(?:\.[0-9]+)?(Z|[\+|\-][0-9]{2,4}){0,1}#', $date, $date_bits);
|
||||
$offset = iso8601_timezone_to_offset($date_bits[7]);
|
||||
$timestamp = gmmktime($date_bits[4], $date_bits[5], $date_bits[6], $date_bits[2], $date_bits[3], $date_bits[1]);
|
||||
$timestamp -= $offset; // Convert from Blogger local time to GMT
|
||||
$timestamp += get_option('gmt_offset') * 3600; // Convert from GMT to WP local time
|
||||
return gmdate('Y-m-d H:i:s', $timestamp);
|
||||
}
|
||||
|
||||
//Don't Sanitize the ID, the default get_id was cleaning our IDs and that meant that nested comments did not work
|
||||
function get_id()
|
||||
{
|
||||
if ($return = $this->get_item_tags(SIMPLEPIE_NAMESPACE_ATOM_10, 'id'))
|
||||
{
|
||||
return $return[0]['data'];
|
||||
}
|
||||
}
|
||||
|
||||
//Prefiltered links
|
||||
function get_links($linktypes) {
|
||||
|
||||
$mylinks = array();
|
||||
foreach ($linktypes as $type)
|
||||
{
|
||||
$links =parent::get_links($type);
|
||||
|
||||
if (!is_null($links)) {
|
||||
foreach ($links as $link) {
|
||||
$mylinks[] = array('rel' => $type, 'href' => $link);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $mylinks;
|
||||
}
|
||||
|
||||
//Preprocessed categories
|
||||
function get_categories() {
|
||||
$cats = parent::get_categories();
|
||||
$mycats = array();
|
||||
|
||||
if (!is_null($cats)) {
|
||||
foreach ($cats as $cat) {
|
||||
$mycats[] = $cat->term;
|
||||
}
|
||||
}
|
||||
return $mycats;
|
||||
}
|
||||
|
||||
function get_source() {
|
||||
$temp = $this->get_item_tags('http://purl.org/syndication/thread/1.0', 'in-reply-to');
|
||||
|
||||
foreach ($temp as $t) {
|
||||
if (isset($t['attribs']['']['source'])) {
|
||||
$source = $t['attribs']['']['source'];
|
||||
}
|
||||
}
|
||||
return $source;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,195 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
* Connector for Google Blogger
|
||||
*
|
||||
*/
|
||||
|
||||
class Blogger_Importer_Connector
|
||||
{
|
||||
var $token;
|
||||
var $secret;
|
||||
var $endpoint;
|
||||
var $oauth_token;
|
||||
var $callback_url;
|
||||
|
||||
/*
|
||||
Make the initial connection to blogger, authorise tokens etc.
|
||||
*/
|
||||
function connect($url)
|
||||
{
|
||||
// Establish an Blogger_OAuth consumer
|
||||
$base_url = admin_url();
|
||||
$request_token_endpoint = 'https://www.google.com/accounts/OAuthGetRequestToken';
|
||||
$authorize_endpoint = 'https://www.google.com/accounts/OAuthAuthorizeToken';
|
||||
|
||||
$test_consumer = new Blogger_OAuthConsumer('anonymous', 'anonymous', null); // anonymous is a google thing to allow non-registered apps to work
|
||||
|
||||
if (!Blogger_OAuthUtil::sslinstalled())
|
||||
{
|
||||
return new WP_Error('OpenSSL', __('OpenSSL is not installed check your PHP.INI or ask your server provider to enable the OpenSSL module.','blogger-importer'));
|
||||
}
|
||||
|
||||
//prepare to get request token
|
||||
//https://developers.google.com/accounts/docs/OAuth_ref#RequestToken
|
||||
$sig_method = new Blogger_OAuthSignatureMethod_HMAC_SHA1();
|
||||
$parsed = parse_url($request_token_endpoint);
|
||||
$params = array('callback' => $base_url, 'scope' => 'http://www.blogger.com/feeds/', 'xoauth_displayname' => 'WordPress');
|
||||
|
||||
$req_req = Blogger_OAuthRequest::from_consumer_and_token($test_consumer, null, "GET", $request_token_endpoint, $params);
|
||||
$req_req->sign_request($sig_method, $test_consumer, null);
|
||||
|
||||
// go get the request tokens from Google
|
||||
$req_response = wp_remote_get($req_req->to_url(), array('sslverify' => false, 'timeout' => Blogger_Import::REMOTE_TIMEOUT));
|
||||
if (is_wp_error($req_response))
|
||||
{
|
||||
return $req_response;
|
||||
}
|
||||
$req_token = wp_remote_retrieve_body($req_response);
|
||||
if (is_wp_error($req_token))
|
||||
{
|
||||
return $req_token;
|
||||
}
|
||||
|
||||
// parse the tokens
|
||||
parse_str($req_token, $tokens);
|
||||
|
||||
$oauth_token = $tokens['oauth_token'];
|
||||
$oauth_token_secret = $tokens['oauth_token_secret'];
|
||||
|
||||
//AGC:10/10/2012 Added error handling here based on http://wordpress.org/support/topic/plugin-blogger-importer-invalid-token/page/2?replies=31#post-3243710
|
||||
if ($oauth_token == '')
|
||||
{
|
||||
return new WP_Error('Invalid Token', __('Invalid Token: Check server date, firewall settings and transports (curl, streams and fsockopen)','blogger-importer'));
|
||||
} else
|
||||
{
|
||||
$this->callback_url = add_query_arg(array( 'token' => $oauth_token, 'secret' => $oauth_token_secret ),$url);
|
||||
$this->endpoint = $authorize_endpoint;
|
||||
$this->oauth_token = $oauth_token;
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
*
|
||||
*/
|
||||
function auth_form(){
|
||||
//$next_url = admin_url('index.php?import=blogger&noheader=true');
|
||||
$auth = esc_attr__('Authorize', 'blogger-importer');
|
||||
|
||||
return(sprintf ("<form action='%s' method='get'>
|
||||
<p class='submit' style='text-align:left;'>
|
||||
<input type='submit' class='button' value='%s' />
|
||||
<input type='hidden' name='oauth_token' value='%s' />
|
||||
<input type='hidden' name='oauth_callback' value='%s' />
|
||||
</p>
|
||||
</form>
|
||||
</div>\n",$this->endpoint,$auth,$this->oauth_token,$this->callback_url));
|
||||
}
|
||||
|
||||
/**
|
||||
* We have a authorized request token now, so upgrade it to an access token
|
||||
*
|
||||
* @link https://developers.google.com/gdata/articles/oauth#UsingAccessToken
|
||||
*/
|
||||
function auth($token,$secret)
|
||||
{
|
||||
$oauth_access_token_endpoint = 'https://www.google.com/accounts/OAuthGetAccessToken';
|
||||
|
||||
// auth the token
|
||||
$test_consumer = new Blogger_OAuthConsumer('anonymous', 'anonymous', null);
|
||||
$auth_token = new Blogger_OAuthConsumer($token, $secret);
|
||||
$access_token_req = new Blogger_OAuthRequest("GET", $oauth_access_token_endpoint);
|
||||
$access_token_req = $access_token_req->from_consumer_and_token($test_consumer, $auth_token, "GET", $oauth_access_token_endpoint);
|
||||
|
||||
$access_token_req->sign_request(new Blogger_OAuthSignatureMethod_HMAC_SHA1(), $test_consumer, $auth_token);
|
||||
|
||||
// Should be doing validation here, what if wp_remote calls failed?
|
||||
$after_access_request = wp_remote_retrieve_body(wp_remote_get($access_token_req->to_url(), array('sslverify' => false, 'timeout' => Blogger_Import::REMOTE_TIMEOUT)));
|
||||
|
||||
parse_str($after_access_request, $access_tokens);
|
||||
|
||||
$this->token = $access_tokens['oauth_token'];
|
||||
$this->secret = $access_tokens['oauth_token_secret'];
|
||||
|
||||
$this->save_vars();
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get a URL using the oauth token for authentication (returns false on failure)
|
||||
*/
|
||||
function oauth_get($url,$params = null)
|
||||
{
|
||||
$test_consumer = new Blogger_OAuthConsumer('anonymous', 'anonymous', null);
|
||||
$goog = new Blogger_OAuthConsumer($this->token, $this->secret, null);
|
||||
$request = new Blogger_OAuthRequest("GET", $url, $params);
|
||||
|
||||
//Ref: Not importing properly http://core.trac.wordpress.org/ticket/19096
|
||||
$blog_req = $request->from_consumer_and_token($test_consumer, $goog, 'GET', $url, $params);
|
||||
|
||||
$blog_req->sign_request(new Blogger_OAuthSignatureMethod_HMAC_SHA1(), $test_consumer, $goog);
|
||||
|
||||
$data = wp_remote_get($blog_req->to_url(), array('sslverify' => false, 'timeout' => Blogger_Import::REMOTE_TIMEOUT));
|
||||
|
||||
if (wp_remote_retrieve_response_code($data) == 200)
|
||||
{
|
||||
$response = wp_remote_retrieve_body($data);
|
||||
} else
|
||||
{
|
||||
$response = false;
|
||||
}
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
//Need to check, why start index 2? Surely 1 would be better
|
||||
function get_total_results($url)
|
||||
{
|
||||
$response = $this->oauth_get($url,array('max-results' => 1, 'start-index' => 2));
|
||||
|
||||
$feed = new SimplePie();
|
||||
$feed->set_raw_data($response);
|
||||
$feed->init();
|
||||
$results = $feed->get_channel_tags('http://a9.com/-/spec/opensearchrss/1.0/', 'totalResults');
|
||||
|
||||
$total_results = $results[0]['data'];
|
||||
unset($feed);
|
||||
return (int)$total_results;
|
||||
}
|
||||
|
||||
//Have we authorised the connection
|
||||
function isconnected()
|
||||
{
|
||||
return (isset($this->secret));
|
||||
}
|
||||
|
||||
function reset()
|
||||
{
|
||||
unset($this->secret);
|
||||
unset($this->token);
|
||||
delete_option('blogger_importer_connector');
|
||||
}
|
||||
|
||||
function save_vars()
|
||||
{
|
||||
if (!update_option('blogger_importer_connector', $this)) {
|
||||
Blogger_Import::_log('Error saving connection');
|
||||
Blogger_Import::_log(var_export(get_object_vars($this),true));
|
||||
};
|
||||
return !empty($vars);
|
||||
}
|
||||
|
||||
//Return the connection
|
||||
static function read_option()
|
||||
{
|
||||
$connection = get_option('blogger_importer_connector',new Blogger_Importer_Connector());
|
||||
return $connection;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -1,152 +1,134 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* New class to sanitize trusted content from blogger import
|
||||
* Based on the SimplePie_Sanitize class by Ryan Parman and Geoffrey Sneddon
|
||||
*
|
||||
*/
|
||||
|
||||
class Blogger_Importer_Sanitize extends Simplepie_Sanitize
|
||||
{
|
||||
// Private vars
|
||||
var $base;
|
||||
|
||||
// Options
|
||||
var $image_handler = '';
|
||||
var $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'font', 'form', 'frame', 'frameset', 'html', 'input', 'marquee', 'meta', 'script', 'style');
|
||||
//Allow iframe (new style) and embed, param and object(old style) so that we get youtube videos transferred
|
||||
//Allow object and noscript for Amazon widgets
|
||||
var $encode_instead_of_strip = false;
|
||||
var $strip_attributes = array('bgsound', 'class', 'expr', 'id', 'imageanchor', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc');
|
||||
//Allow styles so we don't have to redo in Wordpress
|
||||
//Brett Morgan from Google has confirmed that imageanchor is a made up attribute that is just used in the blogger editor so we can remove that
|
||||
var $output_encoding = 'UTF-8';
|
||||
var $enable_cache = true;
|
||||
var $cache_location = './cache';
|
||||
var $cache_name_function = 'md5';
|
||||
var $cache_class = 'SimplePie_Cache';
|
||||
var $file_class = 'SimplePie_File';
|
||||
var $timeout = 10;
|
||||
var $useragent = '';
|
||||
var $force_fsockopen = false;
|
||||
|
||||
var $replace_url_attributes = array('a' => 'href', 'area' => 'href', 'blockquote' => 'cite', 'del' => 'cite', 'form' => 'action', 'img' => array('longdesc', 'src'), 'input' => 'src', 'ins' => 'cite',
|
||||
'q' => 'cite');
|
||||
|
||||
function _normalize_tag($matches)
|
||||
{
|
||||
return '<' . strtolower($matches[1]);
|
||||
}
|
||||
|
||||
function sanitize($data, $type, $base = '')
|
||||
{
|
||||
//Simplified function
|
||||
$data = trim($data);
|
||||
|
||||
// Remappings
|
||||
$data = str_replace('<br>', '<br />', $data);
|
||||
$data = str_replace('<hr>', '<hr />', $data);
|
||||
//<span style="font-weight:bold;">Workshopshed:</span> > <b>Workshopshed:</b>
|
||||
$data = preg_replace('|(<span style="font-weight:bold;">)(?<!<span style="font-weight:bold;">).*(.*)(</span>)|', '<strong>$2</strong>', $data);
|
||||
|
||||
//N.B. Don't strip comments as blogger uses <!--more--> which is the same as Wordpress
|
||||
|
||||
//Now clean up
|
||||
foreach ($this->strip_htmltags as $tag)
|
||||
{
|
||||
$pcre = "/<($tag)" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$tag" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . '>|(\/)?>)/siU';
|
||||
while (preg_match($pcre, $data))
|
||||
{
|
||||
$data = preg_replace_callback($pcre, array(&$this, 'do_strip_htmltags'), $data);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->strip_attributes as $attrib)
|
||||
{
|
||||
$data = preg_replace('/(<[A-Za-z][^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3E]*)' . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . trim($attrib) . '(?:\s*=\s*(?:"(?:[^"]*)"|\'(?:[^\']*)\'|(?:[^\x09\x0A\x0B\x0C\x0D\x20\x22\x27\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x3E]*)?))?' .
|
||||
SIMPLEPIE_PCRE_HTML_ATTRIBUTE . '>/', '\1\2\3>', $data);
|
||||
}
|
||||
|
||||
// Replace relative URLs
|
||||
$this->base = $base;
|
||||
foreach ($this->replace_url_attributes as $element => $attributes)
|
||||
{
|
||||
$data = $this->replace_urls($data, $element, $attributes);
|
||||
}
|
||||
|
||||
// If image handling (caching, etc.) is enabled, cache and rewrite all the image tags.
|
||||
if (isset($this->image_handler) && ((string )$this->image_handler) !== '' && $this->enable_cache)
|
||||
{
|
||||
$images = SimplePie_Misc::get_element('img', $data);
|
||||
foreach ($images as $img)
|
||||
{
|
||||
if (isset($img['attribs']['src']['data']))
|
||||
{
|
||||
$image_url = call_user_func($this->cache_name_function, $img['attribs']['src']['data']);
|
||||
$cache = call_user_func(array($this->cache_class, 'create'), $this->cache_location, $image_url, 'spi');
|
||||
if ($cache->load())
|
||||
{
|
||||
$img['attribs']['src']['data'] = $this->image_handler . $image_url;
|
||||
$data = str_replace($img['full'], SimplePie_Misc::element_implode($img), $data);
|
||||
} else
|
||||
{
|
||||
$file = &new $this->file_class($img['attribs']['src']['data'], $this->timeout, 5, array('X-FORWARDED-FOR' => $_SERVER['REMOTE_ADDR']), $this->useragent, $this->force_fsockopen);
|
||||
$headers = $file->headers;
|
||||
if ($file->success && ($file->method & SIMPLEPIE_FILE_SOURCE_REMOTE === 0 || ($file->status_code === 200 || $file->status_code > 206 && $file->status_code < 300)))
|
||||
{
|
||||
if ($cache->save(array('headers' => $file->headers, 'body' => $file->body)))
|
||||
{
|
||||
$img['attribs']['src']['data'] = $this->image_handler . $image_url;
|
||||
$data = str_replace($img['full'], SimplePie_Misc::element_implode($img), $data);
|
||||
} else
|
||||
{
|
||||
trigger_error("$this->cache_location is not writeable", E_USER_WARNING);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Having (possibly) taken stuff out, there may now be whitespace at the beginning/end of the data
|
||||
$data = trim($data);
|
||||
|
||||
// Normalise tags
|
||||
$data = preg_replace_callback('|<(/?[A-Z]+)|', array(&$this, '_normalize_tag'), $data);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
function replace_urls($data, $tag, $attributes)
|
||||
{
|
||||
if (!is_array($this->strip_htmltags) || !in_array($tag, $this->strip_htmltags))
|
||||
{
|
||||
$elements = SimplePie_Misc::get_element($tag, $data);
|
||||
foreach ($elements as $element)
|
||||
{
|
||||
if (is_array($attributes))
|
||||
{
|
||||
foreach ($attributes as $attribute)
|
||||
{
|
||||
if (isset($element['attribs'][$attribute]['data']))
|
||||
{
|
||||
$element['attribs'][$attribute]['data'] = SimplePie_Misc::absolutize_url($element['attribs'][$attribute]['data'], $this->base);
|
||||
$new_element = SimplePie_Misc::element_implode($element);
|
||||
$data = str_replace($element['full'], $new_element, $data);
|
||||
$element['full'] = $new_element;
|
||||
}
|
||||
}
|
||||
} elseif (isset($element['attribs'][$attributes]['data']))
|
||||
{
|
||||
$element['attribs'][$attributes]['data'] = SimplePie_Misc::absolutize_url($element['attribs'][$attributes]['data'], $this->base);
|
||||
$data = str_replace($element['full'], SimplePie_Misc::element_implode($element), $data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
<?php
|
||||
|
||||
/**
|
||||
* New class to sanitize trusted content from blogger import
|
||||
* Based on the SimplePie_Sanitize class by Ryan Parman and Geoffrey Sneddon
|
||||
*
|
||||
*/
|
||||
|
||||
class Blogger_Importer_Sanitize extends SimplePie_Sanitize
|
||||
{
|
||||
// Private vars
|
||||
var $base;
|
||||
|
||||
// Options
|
||||
var $image_handler = '';
|
||||
var $strip_htmltags = array('base', 'blink', 'body', 'doctype', 'font', 'form', 'frame', 'frameset', 'html', 'input', 'marquee', 'meta', 'script', 'style');
|
||||
//Allow iframe (new style) and embed, param and object(old style) so that we get youtube videos transferred
|
||||
//Allow object and noscript for Amazon widgets
|
||||
var $encode_instead_of_strip = false;
|
||||
var $strip_attributes = array('bgsound', 'class', 'expr', 'id', 'imageanchor', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc', 'trbidi');
|
||||
//Allow styles so we don't have to redo in WordPress
|
||||
//Brett Morgan from Google has confirmed that imageanchor is a made up attribute that is just used in the blogger editor so we can remove that
|
||||
//trbidi another blogger proprietory attribute
|
||||
var $output_encoding = 'UTF-8';
|
||||
var $enable_cache = true;
|
||||
var $cache_location = './cache';
|
||||
var $cache_name_function = 'md5';
|
||||
var $cache_class = 'SimplePie_Cache';
|
||||
var $file_class = 'SimplePie_File';
|
||||
var $timeout = 10;
|
||||
var $useragent = '';
|
||||
var $force_fsockopen = false;
|
||||
|
||||
var $replace_url_attributes = array('a' => 'href', 'area' => 'href', 'blockquote' => 'cite', 'del' => 'cite', 'form' => 'action', 'img' => array('longdesc', 'src'), 'input' => 'src', 'ins' => 'cite',
|
||||
'q' => 'cite');
|
||||
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
function _normalize_tag($matches)
|
||||
{
|
||||
return '<' . strtolower($matches[1]);
|
||||
}
|
||||
|
||||
function sanitize($data, $type, $base = '')
|
||||
{
|
||||
//Simplified function
|
||||
$data = trim($data);
|
||||
|
||||
// Normalise tags (string replacement is case sensitive)
|
||||
$data = preg_replace_callback('|<(/?[A-Z]+)|', array(&$this, '_normalize_tag'), $data);
|
||||
|
||||
// Remappings
|
||||
$data = str_replace('<br>', '<br />', $data);
|
||||
$data = str_replace('<hr>', '<hr />', $data);
|
||||
//<span style="font-weight:bold;">Workshopshed:</span> > <b>Workshopshed:</b>
|
||||
$data = preg_replace('|(<span style="font-weight:bold;">)(?<!<span style="font-weight:bold;">).*(.*)(</span>)|', '<strong>$2</strong>', $data);
|
||||
|
||||
//N.B. Don't strip comments as blogger uses <!--more--> which is the same as WordPress
|
||||
// Comments might also contain section targetting e.g. <!-- google_ad_section_start -->
|
||||
|
||||
//Now clean up
|
||||
foreach ($this->strip_htmltags as $tag)
|
||||
{
|
||||
$pcre = "/<($tag)" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . "(>(.*)<\/$tag" . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . '>|(\/)?>)/siU';
|
||||
while (preg_match($pcre, $data))
|
||||
{
|
||||
$data = preg_replace_callback($pcre, array(&$this, 'do_strip_htmltags'), $data);
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($this->strip_attributes as $attrib)
|
||||
{
|
||||
$data = preg_replace('/(<[A-Za-z][^\x09\x0A\x0B\x0C\x0D\x20\x2F\x3E]*)' . SIMPLEPIE_PCRE_HTML_ATTRIBUTE . trim($attrib) . '(?:\s*=\s*(?:"(?:[^"]*)"|\'(?:[^\']*)\'|(?:[^\x09\x0A\x0B\x0C\x0D\x20\x22\x27\x3E][^\x09\x0A\x0B\x0C\x0D\x20\x3E]*)?))?' .
|
||||
SIMPLEPIE_PCRE_HTML_ATTRIBUTE . '>/', '\1\2\3>', $data);
|
||||
}
|
||||
|
||||
// Replace relative URLs
|
||||
$this->base = $base;
|
||||
|
||||
foreach ($this->replace_url_attributes as $element => $attributes)
|
||||
{
|
||||
$data = $this->replace_urls($data, $element, $attributes);
|
||||
}
|
||||
|
||||
// Images are handled as a separate step as we need to download them
|
||||
|
||||
// Having (possibly) taken stuff out, there may now be whitespace at the beginning/end of the data
|
||||
$data = trim($data);
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
function replace_urls($data, $tag, $attributes)
|
||||
{
|
||||
//This seems to do nothing at all!?
|
||||
if (!is_array($this->strip_htmltags) || !in_array($tag, $this->strip_htmltags))
|
||||
{
|
||||
$elements = SimplePie_Misc::get_element($tag, $data);
|
||||
foreach ($elements as $element)
|
||||
{
|
||||
if (is_array($attributes))
|
||||
{
|
||||
foreach ($attributes as $attribute)
|
||||
{
|
||||
if (isset($element['attribs'][$attribute]['data']))
|
||||
{
|
||||
$element['attribs'][$attribute]['data'] = SimplePie_Misc::absolutize_url($element['attribs'][$attribute]['data'], $this->base);
|
||||
$new_element = SimplePie_Misc::element_implode($element);
|
||||
$data = str_replace($element['full'], $new_element, $data);
|
||||
$element['full'] = $new_element;
|
||||
}
|
||||
}
|
||||
} elseif (isset($element['attribs'][$attributes]['data']))
|
||||
{
|
||||
$element['attribs'][$attributes]['data'] = SimplePie_Misc::absolutize_url($element['attribs'][$attributes]['data'], $this->base);
|
||||
$data = str_replace($element['full'], SimplePie_Misc::element_implode($element), $data);
|
||||
}
|
||||
}
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
//Latest SimplePie checks for this function
|
||||
public function set_registry(SimplePie_Registry $registry)
|
||||
{
|
||||
parent::set_registry($registry);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,118 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
* Ref:http://wpengineer.com/2426/wp_list_table-a-step-by-step-guide/
|
||||
* Class to render the blog table
|
||||
*/
|
||||
|
||||
if( ! class_exists( 'WP_List_Table' ) ) {
|
||||
require_once( ABSPATH . 'wp-admin/includes/class-wp-list-table.php' );
|
||||
}
|
||||
|
||||
class Blogger_Import_List_Table extends WP_List_Table {
|
||||
|
||||
//Use unique names here so that WP does not style our comments as pers some other tables.
|
||||
function get_columns(){
|
||||
$columns = array(
|
||||
'BL_name' => __('Blog Name','blogger-importer'),
|
||||
'BL_url' => __('Blog URL','blogger-importer'),
|
||||
'BL_posts' => __('Posts','blogger-importer'),
|
||||
'BL_comments' => __('Comments','blogger-importer'),
|
||||
'BL_images' => __('Images','blogger-importer'),
|
||||
'BL_links' => __('Links','blogger-importer'),
|
||||
'BL_action' => __('Action Button','blogger-importer')
|
||||
);
|
||||
|
||||
return $columns;
|
||||
}
|
||||
|
||||
function prepare_items($blogs,$JSInit) {
|
||||
|
||||
$columns = $this->get_columns();
|
||||
$hidden = array();
|
||||
$sortable = array();
|
||||
$this->_column_headers = array($columns, $hidden, $sortable);
|
||||
$this->JSInit = $JSInit;
|
||||
|
||||
foreach ($blogs as $i => $blog) {
|
||||
$row = array();
|
||||
$row['ID'] = $i;
|
||||
$row['BL_name'] = esc_js($blog->title);
|
||||
$row['BL_url'] = $blog->host;
|
||||
$row['BL_posts'] = array('posts_done'=> ($blog->posts_done) ? (int)$blog->posts_done : 0,'total_posts' => $blog->total_posts);
|
||||
$row['BL_comments'] = array('comments_done'=> ($blog->comments_done) ? (int)$blog->comments_done : 0,'total_comments' => $blog->total_comments);
|
||||
$row['BL_images'] = $blog->images_done ? (int)$blog->images_done : 0;
|
||||
$row['BL_links'] = $blog->links_done ? (int)$blog->links_done : 0;
|
||||
$row['BL_action'] = $blog->mode;
|
||||
$this->items[] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
//Column Rendering
|
||||
function column_BL_posts( $item ) {
|
||||
return sprintf('<div ID="Posts%s"><div ID="PostsLabel%s" class="ui-progressbar-caption">'.__('%d of %d', 'blogger-importer').'</div></div>',$item['ID'],$item['ID'],$item['BL_posts']['posts_done'],$item['BL_posts']['total_posts']);
|
||||
}
|
||||
|
||||
function column_BL_comments( $item ) {
|
||||
return sprintf('<div ID="Comments%s"><div ID="CommentsLabel%s" class="ui-progressbar-caption">'.__('%d of %d', 'blogger-importer').'</div></div>',$item['ID'],$item['ID'],$item['BL_comments']['comments_done'],$item['BL_comments']['total_comments']);
|
||||
}
|
||||
|
||||
function column_BL_images( $item ) {
|
||||
return sprintf('<div ID="Images%s"><div ID="ImagesLabel%s" class="ui-progressbar-caption">%d</div></div>',$item['ID'],$item['ID'],$item['BL_images']);
|
||||
}
|
||||
|
||||
function column_BL_links( $item ) {
|
||||
return sprintf('<div ID="Links%s"><div ID="LinksLabel%s" class="ui-progressbar-caption">%d</div></div>',$item['ID'],$item['ID'],$item['BL_links']);
|
||||
}
|
||||
|
||||
function column_BL_action( $item ) {
|
||||
$start = esc_js(__('Import', 'blogger-importer'));
|
||||
$continue = esc_js(__('Continue', 'blogger-importer'));
|
||||
$stop = esc_js(__('Importing...', 'blogger-importer'));
|
||||
$authors = esc_js(__('Set Authors', 'blogger-importer'));
|
||||
|
||||
if ($item['BL_action'] == 'init')
|
||||
$value = $start;
|
||||
elseif ($item['BL_action'] == 'posts' || $item['BL_action'] == 'comments')
|
||||
$value = $continue;
|
||||
else
|
||||
$value = $authors;
|
||||
$value = esc_attr($value);
|
||||
|
||||
return sprintf("<input type='submit' class='button' id='submit%s' value='%s' /><input type='hidden' name='blog' value='%s' />",$item['ID'],$value,$item['ID']);
|
||||
}
|
||||
|
||||
function column_default( $item, $column_name ) {
|
||||
switch( $column_name ) {
|
||||
case 'BL_name':
|
||||
case 'BL_url':
|
||||
case 'BL_comments':
|
||||
case 'BL_images':
|
||||
case 'BL_links':
|
||||
case 'BL_action':
|
||||
return $item[ $column_name ];
|
||||
default:
|
||||
return print_r( $item, true ) ; //Show the whole array for troubleshooting purposes
|
||||
}
|
||||
}
|
||||
|
||||
//Run Javascript at the bottom of the page to pass table data through to JQuery
|
||||
function _js_vars() {
|
||||
printf( "<!--blogger-importer-table _js_vars -->
|
||||
<script type='text/javascript'>
|
||||
/* <![CDATA[ */
|
||||
var blogs = {};
|
||||
jQuery(function() {
|
||||
%s
|
||||
jQuery.each(blogs, function(i, me){me.init();});
|
||||
jQuery('#Refresh').bind('click', function(){return jQuery.each(blogs, function(i, me){me.stop();})});
|
||||
});
|
||||
/* ]]> */
|
||||
</script>\n",$this->JSInit );
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
?>
|
||||
@@ -1,29 +1,62 @@
|
||||
|
||||
td { text-align: center; line-height: 2em;}
|
||||
thead td { font-weight: bold; }
|
||||
.bar {
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
line-height: 2em;
|
||||
padding: 0px;
|
||||
}
|
||||
.ind {
|
||||
position: absolute;
|
||||
background-color: #83B4D8;
|
||||
width: 1px;
|
||||
z-index: 9;
|
||||
}
|
||||
.stat {
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
td.submit {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
}
|
||||
|
||||
td { text-align: center; line-height: 2em;}
|
||||
thead td { font-weight: bold; }
|
||||
.bar {
|
||||
width: 200px;
|
||||
text-align: left;
|
||||
line-height: 2em;
|
||||
padding: 0px;
|
||||
}
|
||||
.ind {
|
||||
position: absolute;
|
||||
background-color: #83B4D8;
|
||||
width: 1px;
|
||||
z-index: 9;
|
||||
}
|
||||
/* Todo: Review some of these since moving to WP_Tables */
|
||||
.stat {
|
||||
z-index: 10;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
}
|
||||
td.submit {
|
||||
margin:0;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
td {
|
||||
padding-left:10px;
|
||||
padding-right:10px;
|
||||
}
|
||||
|
||||
/* Fix for MP6 plugin aka future styling for Admin UI */
|
||||
table.wp-list-table td { line-height: 2em;}
|
||||
|
||||
.column-BL_name { text-align: left;}
|
||||
.column-BL_url { text-align: left;}
|
||||
.column-BL_posts { text-align: left; width:12%; }
|
||||
.column-BL_comments { text-align: left; width:12%;}
|
||||
.column-BL_images { text-align: left; width:12%;}
|
||||
.column-BL_links { text-align: left; width:12%;}
|
||||
.column-BL_action { text-align: left; width:8%;}
|
||||
|
||||
td.column-BL_posts div { width: 100%; }
|
||||
|
||||
/* JQuery Progress Bars */
|
||||
.ui-progressbar-value {background-color: #83B4D8;
|
||||
position:relative;
|
||||
height:2em;
|
||||
margin-top:-2em;
|
||||
z-index: 9;
|
||||
display: block;}
|
||||
.ui-progressbar {border: thin solid;
|
||||
height:2em;
|
||||
}
|
||||
|
||||
.ui-progressbar-caption {
|
||||
z-index:10;
|
||||
display: block;
|
||||
position: relative;
|
||||
text-align: center;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,146 @@
|
||||
/* Javascript for refreshing the blog table. */
|
||||
/* Localised strings passed to this via wp_localize_script and BL_strings object */
|
||||
/* Stop on error or stop if Ajax Admin can't find a suitable handler */
|
||||
function blog(i, title, mode, status){
|
||||
this.blog = i;
|
||||
this.mode = mode;
|
||||
this.title = title;
|
||||
eval('this.status='+status);
|
||||
this.button = '#submit'+this.blog;
|
||||
};
|
||||
blog.prototype = {
|
||||
start: function() {
|
||||
this.cont = true;
|
||||
this.kick();
|
||||
this.check();
|
||||
},
|
||||
kick: function() {
|
||||
++this.kicks;
|
||||
with ({currentblog: this.blog}) {
|
||||
jQuery.post(BL_strings.ajaxURL,{
|
||||
action: 'BL_import',
|
||||
blogID:this.blog
|
||||
},
|
||||
function(text,result){blogs[currentblog].kickd(text,result)});
|
||||
}
|
||||
},
|
||||
check: function() {
|
||||
++this.checks;
|
||||
with ({currentblog: this.blog}) {
|
||||
jQuery.post(BL_strings.ajaxURL,{
|
||||
action: 'BL_status',
|
||||
blogID:this.blog
|
||||
},
|
||||
function(text,result){blogs[currentblog].checkd(text,result)});
|
||||
}
|
||||
},
|
||||
kickd: function(text, result) {
|
||||
--this.kicks;
|
||||
if ( result == 'error' || text == '0' ) {
|
||||
// TODO: exception handling
|
||||
this.stop();
|
||||
} else {
|
||||
if ( text == 'done' ) {
|
||||
this.stop();
|
||||
this.done();
|
||||
this.check();
|
||||
} else if ( text == 'nothing' ) {
|
||||
this.stop();
|
||||
this.nothing();
|
||||
this.done();
|
||||
} else if ( text == 'continue' ) {
|
||||
this.kick();
|
||||
} else if ( this.mode == 'stopped' )
|
||||
jQuery(this.button).attr('value', BL_strings.cont);
|
||||
|
||||
}
|
||||
},
|
||||
checkd: function(text, result) {
|
||||
--this.checks;
|
||||
if ( result == 'error' || text == '0' ) {
|
||||
// TODO: exception handling
|
||||
this.stop();
|
||||
} else {
|
||||
eval('this.status='+text);
|
||||
this.update();
|
||||
if ( this.cont || this.kicks > 0 ) {
|
||||
with ({currentblog: this.blog}) {
|
||||
setTimeout(function() {
|
||||
blogs[currentblog].check();
|
||||
},parseInt(BL_strings.interval));
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
update: function() {
|
||||
try
|
||||
{
|
||||
jQuery('#Posts'+this.blog).progressbar({ value: this.status.p1});
|
||||
jQuery('#PostsLabel'+this.blog).text(this.status.p2);
|
||||
jQuery('#Posts'+this.blog).attr('title', this.status.p3);
|
||||
jQuery('#Comments'+this.blog).progressbar({ value: this.status.c1 });
|
||||
jQuery('#CommentsLabel'+this.blog).text(this.status.c2);
|
||||
jQuery('#Comments'+this.blog).attr('title',this.status.c3);
|
||||
jQuery('#Images'+this.blog).progressbar({ value: this.status.i2});
|
||||
jQuery('#ImagesLabel'+this.blog).text(this.status.i1);
|
||||
jQuery('#Images'+this.blog).attr('title',this.status.i3);
|
||||
jQuery('#Links'+this.blog).progressbar({ value: this.status.l2 });
|
||||
jQuery('#LinksLabel'+this.blog).text(this.status.l1);
|
||||
}
|
||||
catch(err)
|
||||
{
|
||||
txt="Error displaying updates for "+this.title+", importer cannot continue\n\n";
|
||||
txt+="Error description: " + err.message + "\n\n";
|
||||
txt+="Click OK to continue.\n\n";
|
||||
alert(txt);
|
||||
}
|
||||
},
|
||||
stop: function() {
|
||||
this.cont = false;
|
||||
},
|
||||
done: function() {
|
||||
this.mode = 'authors';
|
||||
jQuery(this.button).attr('value', BL_strings.authors);
|
||||
},
|
||||
nothing: function() {
|
||||
this.mode = 'nothing';
|
||||
jQuery(this.button).remove();
|
||||
alert(BL_strings.nothing);
|
||||
},
|
||||
getauthors: function() {
|
||||
if ( jQuery('div.wrap').length > 1 )
|
||||
jQuery('div.wrap').gt(0).remove();
|
||||
jQuery('div.wrap').empty().append('<h2>'+BL_strings.authhead+'</h2><h3>' + this.title + '</h3>');
|
||||
jQuery('div.wrap').append('<p id=\"auth\">'+BL_strings.loadauth+'</p>');
|
||||
jQuery('p#auth').load('index.php?import=blogger&noheader=true&authors=1',{blog:this.blog});
|
||||
},
|
||||
init: function() {
|
||||
this.update();
|
||||
var i = this.blog;
|
||||
jQuery(this.button).bind('click', function(){return blogs[i].click();});
|
||||
this.kicks = 0;
|
||||
this.checks = 0;
|
||||
},
|
||||
click: function() {
|
||||
if ( this.mode == 'init' || this.mode == 'stopped' || this.mode == 'posts' || this.mode == 'comments' ) {
|
||||
this.mode = 'started';
|
||||
this.start();
|
||||
jQuery(this.button).attr('value', BL_strings.stop);
|
||||
} else if ( this.mode == 'started' ) {
|
||||
//return false; // let it run...
|
||||
this.mode = 'stopped';
|
||||
this.stop();
|
||||
if ( this.checks > 0 || this.kicks > 0 ) {
|
||||
this.mode = 'stopping';
|
||||
jQuery(this.button).attr('value', BL_strings.stopping);
|
||||
} else {
|
||||
jQuery(this.button).attr('value', BL_strings.cont);
|
||||
}
|
||||
} else if ( this.mode == 'authors' ) {
|
||||
document.location = 'index.php?import=blogger&authors=1&blog='+this.blog;
|
||||
//this.mode = 'authors2';
|
||||
//this.getauthors();
|
||||
}
|
||||
return false;
|
||||
}
|
||||
};
|
||||
@@ -0,0 +1,102 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
* A data object representing the data to be added into Wordpress
|
||||
*/
|
||||
|
||||
if (!class_exists('CommentEntry'))
|
||||
{
|
||||
class CommentEntry {
|
||||
|
||||
var $links = array();
|
||||
var $categories = array();
|
||||
|
||||
function parselinks() {
|
||||
// Drop the #fragment and we have the comment's old post permalink.
|
||||
foreach ($this->links as $link)
|
||||
{
|
||||
if ($link['rel'] == 'alternate')
|
||||
{
|
||||
$parts = parse_url($link['href']);
|
||||
$this->old_permalink = $parts['fragment'];
|
||||
}
|
||||
//Parent post for nested links
|
||||
if ($link['rel'] == 'related')
|
||||
{
|
||||
$parts = parse_url($link['href']);
|
||||
$this->related = $parts['path'];
|
||||
}
|
||||
if ($link['rel'] == 'self')
|
||||
{
|
||||
$parts = parse_url($link['href']);
|
||||
$this->self = $parts['path'];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function import() {
|
||||
|
||||
$comment_author = $this->author;
|
||||
$comment_author_url = $this->authoruri;
|
||||
$comment_author_email = $this->authoremail;
|
||||
$comment_date = $this->updated;
|
||||
|
||||
$comment_content = $this->content;
|
||||
$comment_post_ID = $this->post_ID;
|
||||
$comment_author_IP = '127.0.0.1'; //Blogger does not supply the IP so default this
|
||||
|
||||
// Clean up content
|
||||
// Simplepie does some cleaning but does not do these.
|
||||
$comment_content = str_replace('<br>', '<br />', $comment_content);
|
||||
$comment_content = str_replace('<hr>', '<hr />', $comment_content);
|
||||
|
||||
$comment_parent = isset($this->parentcommentid) ? $this->parentcommentid : 0;
|
||||
|
||||
$comment = compact('comment_post_ID', 'comment_author', 'comment_author_url', 'comment_author_email','comment_author_IP','comment_date', 'comment_content', 'comment_parent');
|
||||
|
||||
$comment = wp_filter_comment($comment);
|
||||
$comment_id = wp_insert_comment($comment);
|
||||
|
||||
//links of the form /feeds/417730729915399755/8397846992898424746/comments/default/7732208643735403000
|
||||
add_comment_meta($comment_id, 'blogger_internal', $this->self, true);
|
||||
|
||||
return $comment_id;
|
||||
}
|
||||
|
||||
function exists()
|
||||
{
|
||||
//Do we have 2 comments for the same author at the same time, on the same post?
|
||||
//returns comment id
|
||||
|
||||
//Updated to first check the internal id
|
||||
//Can we use get_comments here?
|
||||
global $wpdb;
|
||||
$c = $this->get_comment_by_oldID($this->self);
|
||||
if ($c <> 0) {
|
||||
return ($c);
|
||||
}
|
||||
else {
|
||||
$commentID = $wpdb->get_var($wpdb->prepare("SELECT comment_ID FROM $wpdb->comments
|
||||
WHERE comment_post_ID = %s and comment_author = %s AND comment_date = %s",
|
||||
$this->post_ID, $this->author, $this->updated));
|
||||
return ($commentID);
|
||||
}
|
||||
}
|
||||
|
||||
function get_comment_by_oldID($oldID) {
|
||||
//Check to see if this post has been loaded already
|
||||
//Can we use get_comments for this?
|
||||
global $wpdb;
|
||||
$query = "SELECT c.comment_id FROM $wpdb->commentmeta m inner join $wpdb->comments c on c.comment_ID = m.comment_id where meta_key = 'blogger_internal' and meta_value = '%s' LIMIT 0 , 1";
|
||||
$c = (int) $wpdb->get_var( $wpdb->prepare($query, $oldID) );
|
||||
return $c;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,371 @@
|
||||
# Translation of the WordPress plugin Blogger Importer 0.2 by wordpressdotorg.
|
||||
# Copyright (C) 2010 wordpressdotorg
|
||||
# This file is distributed under the same license as the Blogger Importer package.
|
||||
# FIRST AUTHOR <EMAIL@ADDRESS>, 2010.
|
||||
#
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Blogger Importer 0.2\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-10-29 12:10-0000\n"
|
||||
"PO-Revision-Date: 2013-10-29 15:45+0200\n"
|
||||
"Last-Translator: Stergatu Lena <stergatu@cti.gr>\n"
|
||||
"Language-Team: \n"
|
||||
"Language: el_GR\n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"X-Poedit-SourceCharset: utf-8\n"
|
||||
"X-Generator: Poedit 1.5.7\n"
|
||||
|
||||
#: ../blogger-importer-blog.php:462 ../blogger-importer-blog.php:787
|
||||
msgid "Attempting to write back empty content"
|
||||
msgstr "Προσπάθειας εγγραφής κενού περιεχομένου"
|
||||
|
||||
#: ../blogger-importer-blog.php:502 ../blogger-importer-blog.php:505
|
||||
#: ../blogger-importer-table.php:55 ../blogger-importer-table.php:59
|
||||
#, php-format
|
||||
msgid "%d of %d"
|
||||
msgstr "%d από %d"
|
||||
|
||||
#: ../blogger-importer-blog.php:503
|
||||
#, php-format
|
||||
msgid "%d posts skipped"
|
||||
msgstr "%d άρθρα αγνοήθηκαν"
|
||||
|
||||
#: ../blogger-importer-blog.php:506
|
||||
#, php-format
|
||||
msgid "%d comments skipped"
|
||||
msgstr "%d σχόλια αγνοήθηκαν"
|
||||
|
||||
#: ../blogger-importer-blog.php:508
|
||||
#, php-format
|
||||
msgid "%d images skipped"
|
||||
msgstr "%d εικόνες αγνοήθηκαν"
|
||||
|
||||
#: ../blogger-importer-blog.php:695
|
||||
msgid "Lowrez not an image"
|
||||
msgstr "Lowrez δεν είναι εικόνα"
|
||||
|
||||
#: ../blogger-importer-blog.php:731
|
||||
msgid "None of the images are valid"
|
||||
msgstr "Καμία από τις εικόνες δεν είναι έγκυρη"
|
||||
|
||||
#: ../blogger-importer-table.php:19
|
||||
msgid "Blog Name"
|
||||
msgstr "Όνομα Ιστολογίου"
|
||||
|
||||
#: ../blogger-importer-table.php:20
|
||||
msgid "Blog URL"
|
||||
msgstr "URL Ιστολογίου"
|
||||
|
||||
#: ../blogger-importer-table.php:21
|
||||
msgid "Posts"
|
||||
msgstr "Άρθρα"
|
||||
|
||||
#: ../blogger-importer-table.php:22
|
||||
msgid "Comments"
|
||||
msgstr "Σχόλια"
|
||||
|
||||
#: ../blogger-importer-table.php:23
|
||||
msgid "Images"
|
||||
msgstr "Εικόνες"
|
||||
|
||||
#: ../blogger-importer-table.php:24
|
||||
msgid "Links"
|
||||
msgstr "Σύνδεσμοι"
|
||||
|
||||
#: ../blogger-importer-table.php:25
|
||||
msgid "Action Button"
|
||||
msgstr "Κουμπί ενέργειας"
|
||||
|
||||
#: ../blogger-importer-table.php:71
|
||||
msgid "Import"
|
||||
msgstr "Εισαγωγή"
|
||||
|
||||
#: ../blogger-importer-table.php:72 ../blogger-importer.php:84
|
||||
msgid "Continue"
|
||||
msgstr "Συνέχεια"
|
||||
|
||||
#: ../blogger-importer-table.php:73 ../blogger-importer.php:84
|
||||
msgid "Importing..."
|
||||
msgstr "Εισαγωγή…"
|
||||
|
||||
#: ../blogger-importer-table.php:74 ../blogger-importer.php:85
|
||||
msgid "Set Authors"
|
||||
msgstr "Ορισμός συντακτών"
|
||||
|
||||
#: ../blogger-importer.php:77
|
||||
msgid "Blogger"
|
||||
msgstr "Blogger"
|
||||
|
||||
#: ../blogger-importer.php:77
|
||||
msgid ""
|
||||
"Import categories, posts, images and comments then maps users from a Blogger "
|
||||
"blog."
|
||||
msgstr ""
|
||||
"Εισαγωγή κατηγοριών, άρθρων, εικόνων και σχολίων και στην συνέχεια "
|
||||
"αντιστοίχιση μελών από ιστολόγιο Blogger."
|
||||
|
||||
#: ../blogger-importer.php:85
|
||||
msgid "Nothing was imported. Had you already imported this blog?"
|
||||
msgstr "Δεν εισήχθη τίποτα. Μήπως είχατε εισάγει ήδη το ιστολόγιο;"
|
||||
|
||||
#: ../blogger-importer.php:85
|
||||
msgid "Preparing author mapping form..."
|
||||
msgstr "Προετοιμασία χάρτη συντακτών…"
|
||||
|
||||
#: ../blogger-importer.php:86
|
||||
msgid "Final Step: Author Mapping"
|
||||
msgstr "Τελευταίο βήμα: Χάρτης συντακτών"
|
||||
|
||||
#: ../blogger-importer.php:99
|
||||
msgid "Import Blogger"
|
||||
msgstr "Εισαγωγή Blogger"
|
||||
|
||||
#: ../blogger-importer.php:100
|
||||
msgid ""
|
||||
"Howdy! This importer allows you to import posts and comments from your "
|
||||
"Blogger account into your WordPress site."
|
||||
msgstr ""
|
||||
"Καλώς ήρθατε! Ο εισαγωγέας αυτός είναι για να εισάγετε άρθρα και σχόλια από "
|
||||
"λογαριασμό Blogger σε ένα ιστολόγιο WordPress."
|
||||
|
||||
#: ../blogger-importer.php:101
|
||||
msgid ""
|
||||
"To use this importer, you must have a Google account and an upgraded (New, "
|
||||
"was Beta) blog hosted on blogspot.com or a custom domain (not FTP)."
|
||||
msgstr ""
|
||||
"Για να χρησιμοποιήσετε τον εισαγωγέα, πρέπει να έχετε λογαριασμό Google και "
|
||||
"αναβαθμισμένο ιστολόγιο στο blogspot.com ή σε δικό σας όνομα (όχι FTP)."
|
||||
|
||||
#: ../blogger-importer.php:102
|
||||
msgid ""
|
||||
"The first thing you need to do is tell Blogger to let WordPress access your "
|
||||
"account. You will be sent back here after providing authorization."
|
||||
msgstr ""
|
||||
"Καταρχάς, πρέπει να πείτε στο Blogger να δώσει πρόσβαση στον λογαριασμό του "
|
||||
"WordPress. Αφού δώσετε την έγκριση, θα επιστρέψετε αυτόματα εδώ."
|
||||
|
||||
#: ../blogger-importer.php:104
|
||||
msgid "Error occurred getting OAuth tokens from Google"
|
||||
msgstr "Σφάλμα ανάκτησης OAuth tokens από την Google"
|
||||
|
||||
#: ../blogger-importer.php:142
|
||||
msgid ""
|
||||
"OpenSSL is not installed check your PHP.INI or ask your server provider to "
|
||||
"enable the OpenSSL module."
|
||||
msgstr ""
|
||||
"Το OpenSSL δεν είναι εγκατεστημένο. Ελέξτε το PHP.INI ή ζητήστε από τον "
|
||||
"server provider να ενεργοποιήσει το OpenSSL module."
|
||||
|
||||
#: ../blogger-importer.php:175
|
||||
msgid ""
|
||||
"Invalid Token: Check server date, firewall settings and transports (curl, "
|
||||
"streams and fsockopen)"
|
||||
msgstr ""
|
||||
"Μη έγκυρο Token: Ελέξτε την ημερομηνία του server, τις ρυθμίσεις firewall "
|
||||
"και μεταφοράς δεδομένων (curl, streams and fsockopen)"
|
||||
|
||||
#: ../blogger-importer.php:394
|
||||
#, php-format
|
||||
msgid ""
|
||||
"All posts were imported with the current user as author. Use this form to "
|
||||
"move each Blogger user’s posts to a different WordPress user. You may "
|
||||
"<a href=\"%s\">add users</a> and then return to this page and complete the "
|
||||
"user mapping. This form may be used as many times as you like until you "
|
||||
"activate the “Restart” function below."
|
||||
msgstr ""
|
||||
"Όλα τα άρθρα εισήχθησαν με συντάκτη τον τρέχοντα χρήστη. Χρησιμοποιήστε τη "
|
||||
"φόρμα για να μεταφέρετε τα άρθρα κάθε συντάκτη του Blogger σε διαφορετικό "
|
||||
"συντάκτη του WordPress. Μπορείτε να <a href=\"%s\">προσθέσετε μέλη</a> και "
|
||||
"να επιστρέψετε για να ολοκληρώσετε την αναχαρτογράφηση. Μέχρι να "
|
||||
"ενεργοποιήσετε την «Επανεκκίνηση», γίνεται να χρησιμοποιήσετε τη φόρμα όσες "
|
||||
"φορές θέλετε."
|
||||
|
||||
#: ../blogger-importer.php:396
|
||||
msgid "Author mapping"
|
||||
msgstr "Χάρτης συντακτών"
|
||||
|
||||
#: ../blogger-importer.php:398
|
||||
msgid "Blogger username"
|
||||
msgstr "Όνομα χρήστη Blogger"
|
||||
|
||||
#: ../blogger-importer.php:399
|
||||
msgid "WordPress login"
|
||||
msgstr "Σύνδεση WordPress"
|
||||
|
||||
#: ../blogger-importer.php:400
|
||||
msgid "Save Changes"
|
||||
msgstr "Αποθήκευση αλλαγών"
|
||||
|
||||
#: ../blogger-importer.php:447
|
||||
msgid "Congratulations!"
|
||||
msgstr "Συγχαρητήρια!"
|
||||
|
||||
#: ../blogger-importer.php:447
|
||||
msgid ""
|
||||
"Now that you have imported your Blogger blog into WordPress, what are you "
|
||||
"going to do? Here are some suggestions:"
|
||||
msgstr ""
|
||||
"Η εισαγωγή του ιστολογίου Blogger στο WordPress τελείωσε. Τι θα κάνετε τώρα; "
|
||||
"Να μερικές ιδέες:"
|
||||
|
||||
#: ../blogger-importer.php:451
|
||||
msgid "For security, click the link below to reset this importer."
|
||||
msgstr "Για λόγους ασφαλείας, κάντε κλικ πιο κάτω να μηδενίσετε τον εισαγωγέα."
|
||||
|
||||
#: ../blogger-importer.php:460
|
||||
msgid "Review posts"
|
||||
msgstr "Ανασκόπηση άρθρων"
|
||||
|
||||
#: ../blogger-importer.php:461
|
||||
msgid "Review categories"
|
||||
msgstr "Ανασκόπηση ετικετών"
|
||||
|
||||
#: ../blogger-importer.php:462
|
||||
msgid "Convert categories to tags"
|
||||
msgstr "Μετατροπή κατηγοριών σε ετικέτες"
|
||||
|
||||
#: ../blogger-importer.php:463
|
||||
msgid "Review comments"
|
||||
msgstr "Ανασκόπηση σχολίων"
|
||||
|
||||
#: ../blogger-importer.php:464
|
||||
msgid "Review media"
|
||||
msgstr "Ανασκόπηση πολυμέσων"
|
||||
|
||||
#: ../blogger-importer.php:468
|
||||
msgid ""
|
||||
"In case you haven’t done it already, you can import the posts from "
|
||||
"your other blogs:"
|
||||
msgstr ""
|
||||
"Αν δεν το έχετε κάνει ήδη, μπορείτε να εισάγετε άρθρα από άλλα ιστολόγια σας:"
|
||||
|
||||
#: ../blogger-importer.php:469
|
||||
msgid "Show blogs"
|
||||
msgstr "Προβολή ιστολογίων"
|
||||
|
||||
#: ../blogger-importer.php:554
|
||||
msgid "Trouble signing in"
|
||||
msgstr "Πρόβλημα στη σύνδεση"
|
||||
|
||||
#: ../blogger-importer.php:554
|
||||
msgid "We were not able to gain access to your account. Try starting over."
|
||||
msgstr ""
|
||||
"Δεν ήταν δυνατή η πρόσβαση στον λογαριασμό σας. Δοκιμάστε άλλη μία φορά."
|
||||
|
||||
#: ../blogger-importer.php:557
|
||||
msgid "No blogs found"
|
||||
msgstr "Δεν βρέθηκαν ιστολόγια"
|
||||
|
||||
#: ../blogger-importer.php:557
|
||||
msgid ""
|
||||
"We were able to log in but there were no blogs. Try a different account next "
|
||||
"time."
|
||||
msgstr ""
|
||||
"Η είσοδος έγινε κανονικά αλλά δεν βρέθηκε ιστολόγιο. Δοκιμάστε έναν άλλο "
|
||||
"λογαριασμό."
|
||||
|
||||
#: ../blogger-importer.php:568
|
||||
msgid "Restart"
|
||||
msgstr "Επανεκκίνηση"
|
||||
|
||||
#: ../blogger-importer.php:569
|
||||
msgid ""
|
||||
"We have saved some information about your Blogger account in your WordPress "
|
||||
"database. Clearing this information will allow you to start over. Restarting "
|
||||
"will not affect any posts you have already imported. If you attempt to re-"
|
||||
"import a blog, duplicate posts and comments will be skipped."
|
||||
msgstr ""
|
||||
"Αποθηκεύσαμε στη βάση δεδομένων του WordPress κάποια στοιχεία από τον "
|
||||
"λογαριασμό σας στο Blogger. Η αφαίρεση αυτών των στοιχείων σας επιτρέπει να "
|
||||
"ξεκινήσετε από την αρχή. Άρθρα που έχουν ήδη εισαχθεί δεν επηρεάζονται. Αν "
|
||||
"επιχειρήσετε να επανεισάγετε ένα ιστολόγιο, τα ήδη εισηγμένα άρθρα και "
|
||||
"σχόλια δεν επανεισάγονται."
|
||||
|
||||
#~ msgid "Authorize"
|
||||
#~ msgstr "Εξουσιοδότηση"
|
||||
|
||||
#~ msgid "Blogger Blogs"
|
||||
#~ msgstr "Ιστολόγια Blogger"
|
||||
|
||||
#~ msgid "The Magic Button"
|
||||
#~ msgstr "Το Μαγικό Κουμπί"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "This feature requires Javascript but it seems to be disabled. Please "
|
||||
#~ "enable Javascript and then reload this page. Don’t worry, you can "
|
||||
#~ "turn it back off when you’re done."
|
||||
#~ msgstr ""
|
||||
#~ "Η λειτουργία αυτή απαιτεί JavaScript, που φαίνεται ότι είναι "
|
||||
#~ "απενεργοποιημένη. Παρακαλούμε ενεργοποιήστε την JavaScript και ανανεώστε "
|
||||
#~ "τη σελίδα. (Μόλις τελειώσετε, μπορείτε να απενεργοποιήσετε πάλι την "
|
||||
#~ "JavaScript.)"
|
||||
|
||||
#~ msgid "That was hard work! Take a break."
|
||||
#~ msgstr "Ήταν κουραστική εργασία! Κάντε ένα διάλειμμα!"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Go to <a href=\"%s\" target=\"%s\">Authors & Users</a>, where you can "
|
||||
#~ "modify the new user(s) or delete them. If you want to make all of the "
|
||||
#~ "imported posts yours, you will be given that option when you delete the "
|
||||
#~ "new authors."
|
||||
#~ msgstr ""
|
||||
#~ "Στο <a href=\"%s\" target=\"%s\">Συντάκτες & Μέλη</a> μπορείτε να "
|
||||
#~ "επεξεργαστείτε νέα μέλη ή να τα διαγράψετε. Αν θέλετε να μεταφέρετε στον "
|
||||
#~ "δικό σας λογαριασμό όλα τα εισηγμένα άρθρα, σας δίνεται η επιλογή όταν "
|
||||
#~ "διαγράφετε τους νέους συντάκτες."
|
||||
|
||||
#~ msgid "Clear account information"
|
||||
#~ msgstr "Καθαρισμός πληροφοριών λογαριασμού"
|
||||
|
||||
#~ msgid "Blogger Importer"
|
||||
#~ msgstr "Εισαγωγέας Blogger"
|
||||
|
||||
#~ msgid "http://wordpress.org/extend/plugins/blogger-importer/"
|
||||
#~ msgstr "http://wordpress.org/extend/plugins/blogger-importer/"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Import posts, comments and tags from a Blogger blog and migrate authors "
|
||||
#~ "to WordPress users."
|
||||
#~ msgstr ""
|
||||
#~ "Εισαγωγή άρθρων, σχολίων και ετικετών από ιστολόγιο Blogger και στην "
|
||||
#~ "συνέχεια αντιστοίχιση συντακτών με μέλη του ιστολογίου σας."
|
||||
|
||||
#~ msgid "wordpressdotorg"
|
||||
#~ msgstr "wordpressdotorg"
|
||||
|
||||
#~ msgid "http://wordpress.org/"
|
||||
#~ msgstr "http://wordpress.org/"
|
||||
|
||||
#~ msgid "Authorization failed"
|
||||
#~ msgstr "Εξουσιοδότηση απέτυχε"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "Something went wrong. If the problem persists, send this info to support:"
|
||||
#~ msgstr ""
|
||||
#~ "Κάτι δεν πήγε καλά. Αν επιμείνει το πρόβλημα, στείλτε αυτά τα στοιχεία "
|
||||
#~ "στην υποστήριξη:"
|
||||
|
||||
#~ msgid "Could not connect to https://www.google.com"
|
||||
#~ msgstr "Αδύνατη η σύνδεση με https://www.google.com"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "There was a problem opening a secure connection to Google. This is what "
|
||||
#~ "went wrong:"
|
||||
#~ msgstr ""
|
||||
#~ "Δεν ήταν δυνατή η ασφαλής σύνδεση με το Google. Να τι δεν πήγε καλά:"
|
||||
|
||||
#~ msgid "Could not connect to %s"
|
||||
#~ msgstr "Αδύνατη η σύνδεση με %s"
|
||||
|
||||
#~ msgid ""
|
||||
#~ "There was a problem opening a connection to Blogger. This is what went "
|
||||
#~ "wrong:"
|
||||
#~ msgstr "Δεν ήταν δυνατή η σύνδεση με το Blogger. Να τι δεν πήγε καλά:"
|
||||
|
||||
#~ msgid "Import posts, comments, tags, and attachments from a Blogger blog."
|
||||
#~ msgstr ""
|
||||
#~ "Εγκαταστήστε τον εισαγωγέα Blogger για να εισάγετε άρθρα, σχόλια και μέλη "
|
||||
#~ "ιστολόγιο Blogger."
|
||||
@@ -2,219 +2,232 @@
|
||||
# This file is distributed under the same license as the Blogger Importer package.
|
||||
msgid ""
|
||||
msgstr ""
|
||||
"Project-Id-Version: Blogger Importer 0.5\n"
|
||||
"Report-Msgid-Bugs-To: http://wordpress.org/tag/blogger-importer\n"
|
||||
"POT-Creation-Date: 2012-06-13 16:29:40+00:00\n"
|
||||
"Project-Id-Version: Blogger Importer 0.7\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2013-10-29 12:10-0000\n"
|
||||
"PO-Revision-Date: 2013-10-29 12:11-0000\n"
|
||||
"Last-Translator: Andy from Workshopshed <andy@workshopshed.com>\n"
|
||||
"Language-Team: \n"
|
||||
"MIME-Version: 1.0\n"
|
||||
"Content-Type: text/plain; charset=UTF-8\n"
|
||||
"Content-Transfer-Encoding: 8bit\n"
|
||||
"PO-Revision-Date: 2012-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
"X-Poedit-Basepath: ./\n"
|
||||
"X-Poedit-KeywordsList: _e;__\n"
|
||||
"X-Poedit-SearchPath-0: ..\n"
|
||||
|
||||
#: blogger-importer.php:101
|
||||
msgid "Import Blogger"
|
||||
#: ../blogger-importer-blog.php:462
|
||||
#: ../blogger-importer-blog.php:787
|
||||
msgid "Attempting to write back empty content"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:102
|
||||
msgid ""
|
||||
"Howdy! This importer allows you to import posts and comments from your "
|
||||
"Blogger account into your WordPress site."
|
||||
#: ../blogger-importer-blog.php:502
|
||||
#: ../blogger-importer-blog.php:505
|
||||
#: ../blogger-importer-table.php:55
|
||||
#: ../blogger-importer-table.php:59
|
||||
#, php-format
|
||||
msgid "%d of %d"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:103
|
||||
msgid ""
|
||||
"To use this importer, you must have a Google account and an upgraded (New, "
|
||||
"was Beta) blog hosted on blogspot.com or a custom domain (not FTP)."
|
||||
#: ../blogger-importer-blog.php:503
|
||||
#, php-format
|
||||
msgid "%d posts skipped"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:104
|
||||
msgid ""
|
||||
"The first thing you need to do is tell Blogger to let WordPress access your "
|
||||
"account. You will be sent back here after providing authorization."
|
||||
#: ../blogger-importer-blog.php:506
|
||||
#, php-format
|
||||
msgid "%d comments skipped"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:105
|
||||
msgid "Authorize"
|
||||
#: ../blogger-importer-blog.php:508
|
||||
#, php-format
|
||||
msgid "%d images skipped"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:225
|
||||
msgid "Trouble signing in"
|
||||
#: ../blogger-importer-blog.php:695
|
||||
msgid "Lowrez not an image"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:225
|
||||
msgid "We were not able to gain access to your account. Try starting over."
|
||||
#: ../blogger-importer-blog.php:731
|
||||
msgid "None of the images are valid"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:267
|
||||
msgid "No blogs found"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:267
|
||||
msgid ""
|
||||
"We were able to log in but there were no blogs. Try a different account next "
|
||||
"time."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:275
|
||||
msgid "Import"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:276
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:277
|
||||
msgid "Importing..."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:278
|
||||
msgid "Set Authors"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:279
|
||||
msgid "Preparing author mapping form..."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:280
|
||||
msgid "Final Step: Author Mapping"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:281
|
||||
msgid "Nothing was imported. Had you already imported this blog?"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:283
|
||||
msgid "Blogger Blogs"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:284
|
||||
#: ../blogger-importer-table.php:19
|
||||
msgid "Blog Name"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:285
|
||||
#: ../blogger-importer-table.php:20
|
||||
msgid "Blog URL"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:286
|
||||
msgid "The Magic Button"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:287
|
||||
#: ../blogger-importer-table.php:21
|
||||
msgid "Posts"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:288
|
||||
#: ../blogger-importer-table.php:22
|
||||
msgid "Comments"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:289
|
||||
msgid ""
|
||||
"This feature requires Javascript but it seems to be disabled. Please enable "
|
||||
"Javascript and then reload this page. Don’t worry, you can turn it "
|
||||
"back off when you’re done."
|
||||
#: ../blogger-importer-table.php:23
|
||||
msgid "Images"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:858
|
||||
msgid ""
|
||||
"All posts were imported with the current user as author. Use this form to "
|
||||
"move each Blogger user’s posts to a different WordPress user. You may "
|
||||
"<a href=\"%s\">add users</a> and then return to this page and complete the "
|
||||
"user mapping. This form may be used as many times as you like until you "
|
||||
"activate the “Restart” function below."
|
||||
#: ../blogger-importer-table.php:24
|
||||
msgid "Links"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:860
|
||||
msgid "Author mapping"
|
||||
#: ../blogger-importer-table.php:25
|
||||
msgid "Action Button"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:862
|
||||
msgid "Blogger username"
|
||||
#: ../blogger-importer-table.php:71
|
||||
msgid "Import"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:863
|
||||
msgid "WordPress login"
|
||||
#: ../blogger-importer-table.php:72
|
||||
#: ../blogger-importer.php:84
|
||||
msgid "Continue"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:864
|
||||
msgid "Save Changes"
|
||||
#: ../blogger-importer-table.php:73
|
||||
#: ../blogger-importer.php:84
|
||||
msgid "Importing..."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:941
|
||||
msgid "Congratulations!"
|
||||
#: ../blogger-importer-table.php:74
|
||||
#: ../blogger-importer.php:85
|
||||
msgid "Set Authors"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:941
|
||||
msgid ""
|
||||
"Now that you have imported your Blogger blog into WordPress, what are you "
|
||||
"going to do? Here are some suggestions:"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:942
|
||||
msgid "That was hard work! Take a break."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:944
|
||||
msgid ""
|
||||
"In case you haven’t done it already, you can import the posts from "
|
||||
"your other blogs:"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:946
|
||||
msgid ""
|
||||
"Go to <a href=\"%s\" target=\"%s\">Authors & Users</a>, where you can "
|
||||
"modify the new user(s) or delete them. If you want to make all of the "
|
||||
"imported posts yours, you will be given that option when you delete the new "
|
||||
"authors."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:948
|
||||
msgid "For security, click the link below to reset this importer."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:982
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:983
|
||||
msgid ""
|
||||
"We have saved some information about your Blogger account in your WordPress "
|
||||
"database. Clearing this information will allow you to start over. Restarting "
|
||||
"will not affect any posts you have already imported. If you attempt to re-"
|
||||
"import a blog, duplicate posts and comments will be skipped."
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:985
|
||||
msgid "Clear account information"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:1026
|
||||
#: ../blogger-importer.php:77
|
||||
msgid "Blogger"
|
||||
msgstr ""
|
||||
|
||||
#: blogger-importer.php:1026
|
||||
msgid ""
|
||||
"Import categories, posts and comments then maps users from a Blogger blog."
|
||||
#: ../blogger-importer.php:77
|
||||
msgid "Import categories, posts, images and comments then maps users from a Blogger blog."
|
||||
msgstr ""
|
||||
|
||||
#. Plugin Name of the plugin/theme
|
||||
msgid "Blogger Importer"
|
||||
#: ../blogger-importer.php:85
|
||||
msgid "Nothing was imported. Had you already imported this blog?"
|
||||
msgstr ""
|
||||
|
||||
#. Plugin URI of the plugin/theme
|
||||
msgid "http://wordpress.org/extend/plugins/blogger-importer/"
|
||||
#: ../blogger-importer.php:85
|
||||
msgid "Preparing author mapping form..."
|
||||
msgstr ""
|
||||
|
||||
#. Description of the plugin/theme
|
||||
msgid ""
|
||||
"Import posts, comments and tags from a Blogger blog and migrate authors to "
|
||||
"Wordpress users."
|
||||
#: ../blogger-importer.php:86
|
||||
msgid "Final Step: Author Mapping"
|
||||
msgstr ""
|
||||
|
||||
#. Author of the plugin/theme
|
||||
msgid "wordpressdotorg"
|
||||
#: ../blogger-importer.php:99
|
||||
msgid "Import Blogger"
|
||||
msgstr ""
|
||||
|
||||
#. Author URI of the plugin/theme
|
||||
msgid "http://wordpress.org/"
|
||||
#: ../blogger-importer.php:100
|
||||
msgid "Howdy! This importer allows you to import posts and comments from your Blogger account into your WordPress site."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:101
|
||||
msgid "To use this importer, you must have a Google account and an upgraded (New, was Beta) blog hosted on blogspot.com or a custom domain (not FTP)."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:102
|
||||
msgid "The first thing you need to do is tell Blogger to let WordPress access your account. You will be sent back here after providing authorization."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:104
|
||||
msgid "Error occurred getting OAuth tokens from Google"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:142
|
||||
msgid "OpenSSL is not installed check your PHP.INI or ask your server provider to enable the OpenSSL module."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:175
|
||||
msgid "Invalid Token: Check server date, firewall settings and transports (curl, streams and fsockopen)"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:394
|
||||
#, php-format
|
||||
msgid "All posts were imported with the current user as author. Use this form to move each Blogger user’s posts to a different WordPress user. You may <a href=\"%s\">add users</a> and then return to this page and complete the user mapping. This form may be used as many times as you like until you activate the “Restart” function below."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:396
|
||||
msgid "Author mapping"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:398
|
||||
msgid "Blogger username"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:399
|
||||
msgid "WordPress login"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:400
|
||||
msgid "Save Changes"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:447
|
||||
msgid "Congratulations!"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:447
|
||||
msgid "Now that you have imported your Blogger blog into WordPress, what are you going to do? Here are some suggestions:"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:451
|
||||
msgid "For security, click the link below to reset this importer."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:460
|
||||
msgid "Review posts"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:461
|
||||
msgid "Review categories"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:462
|
||||
msgid "Convert categories to tags"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:463
|
||||
msgid "Review comments"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:464
|
||||
msgid "Review media"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:468
|
||||
msgid "In case you haven’t done it already, you can import the posts from your other blogs:"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:469
|
||||
msgid "Show blogs"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:554
|
||||
msgid "Trouble signing in"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:554
|
||||
msgid "We were not able to gain access to your account. Try starting over."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:557
|
||||
msgid "No blogs found"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:557
|
||||
msgid "We were able to log in but there were no blogs. Try a different account next time."
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:568
|
||||
msgid "Restart"
|
||||
msgstr ""
|
||||
|
||||
#: ../blogger-importer.php:569
|
||||
msgid "We have saved some information about your Blogger account in your WordPress database. Clearing this information will allow you to start over. Restarting will not affect any posts you have already imported. If you attempt to re-import a blog, duplicate posts and comments will be skipped."
|
||||
msgstr ""
|
||||
|
||||
@@ -1,132 +1,248 @@
|
||||
=== Plugin Name ===
|
||||
Contributors: wordpressdotorg, Otto42, Workshopshed, SergeyBiryukov, rmccue
|
||||
Donate link:
|
||||
Tags: importer, blogger
|
||||
Requires at least: 3.0
|
||||
Tested up to: 3.4
|
||||
Stable tag: 0.5
|
||||
License: GPLv2 or later
|
||||
|
||||
Imports posts, comments, and categories (blogger tags) from a Blogger blog then migrates authors to Wordpress users.
|
||||
|
||||
== Description ==
|
||||
|
||||
The Blogger Importer imports your blog data from a Blogger site into a WordPress.org installation.
|
||||
|
||||
= Items imported =
|
||||
|
||||
* Categories
|
||||
* Posts (published, scheduled and draft)
|
||||
* Comments (not spam)
|
||||
|
||||
= Items not imported =
|
||||
|
||||
* Pages
|
||||
* Images (the images will appear in your new blog but will link to the old blogspot or picassa web locations)
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Upload the `blogger-importer` folder to the `/wp-content/plugins/` directory
|
||||
1. Activate the plugin through the 'Plugins' menu in WordPress
|
||||
|
||||
= How to use =
|
||||
|
||||
1. Blogger Importer is available from the WordPress Tools->Import screen.
|
||||
1. Press Authorise
|
||||
1. If you are not already logged into Google you will be asked to login
|
||||
1. You will be asked to grant Wordpress access to your Blogger information, to continue press Grant Access
|
||||
1. You will be presented with a list of all your blogs
|
||||
1. Select the appropriate blog and press the import button
|
||||
1. Wait whilst the posts and comments are imported
|
||||
1. Press the Set Authors button
|
||||
1. Select the appropriate mapping for the authors
|
||||
1. Review categories, posts and comments
|
||||
|
||||
You can now remove the importer plugin if you no longer need to use it.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= How do I re-import? =
|
||||
|
||||
Press the clear account information button, then re-connect to blogger and re-import, the importer is designed not to re-import the same posts. If you need to do a full re-import then delete the posts and then empty the trash before re-importing.
|
||||
|
||||
= How do I know which posts were imported? =
|
||||
|
||||
Each of the posts loaded is tagged with a meta tags indicating where the posts were loaded from. The permalink will be set to the visible URL if the post was published or the internal ID if it was still a draft or scheduled post
|
||||
|
||||
* blogger_author
|
||||
* blogger_blog
|
||||
* blogger_permalink
|
||||
|
||||
= Why does it keep stopping? =
|
||||
|
||||
The importer is designed not to overload blogger or your site so only imports in batches and will run for a fixed number of seconds before pausing, the admin screen will refresh every few seconds to show how many it has done so far. Press continue to continue importing posts and comments.
|
||||
|
||||
= After importing there are a lot of categories =
|
||||
|
||||
Blogger does not distinguish between tags and categories so you will likely want to review what was imported and then use the categories to tags converter
|
||||
|
||||
= What about pages? =
|
||||
|
||||
This importer does not handle blogger pages, you will need to manually transfer them.
|
||||
|
||||
= What about images? =
|
||||
|
||||
The importer will simply load the tags for the images as they appear in your source data, so you will have references to blogspot and picassa based images. If you do not migrate these with a separate tool then these will be lost when you delete your old blogger blog.
|
||||
|
||||
= Are the permalinks the same? =
|
||||
|
||||
No, Wordpress and Blogger handle the permalinks differently. However, it is possible to use the redirection plugin to map the old URLs across to the new URLs.
|
||||
|
||||
= What about future posts? =
|
||||
|
||||
The scheduled posts will be transferred and will be published as specified. However, Blogger and Wordpress handle drafts differently, Wordpress does not support dates on draft posts so you will need to use a plugin if you wish to plan your writing schedule.
|
||||
|
||||
= My posts and comments moved across but some things are stripped out =
|
||||
|
||||
The importer uses the SimplePie classes to process the data, these in turn use a Simplepie_Sanitize class to remove potentially malicious code from the source data.
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
== Reference ==
|
||||
|
||||
* https://developers.google.com/blogger/docs/1.0/developers_guide_php
|
||||
* https://developers.google.com/gdata/articles/oauth
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.5 =
|
||||
* Merged in fix by SergeyBiryukov http://core.trac.wordpress.org/ticket/16012
|
||||
* Merged in rmccue change to get_total_results to also use SimplePie from http://core.trac.wordpress.org/attachment/ticket/7652/7652-blogger.diff
|
||||
* Reviewed in rmccue's changes in http://core.trac.wordpress.org/attachment/ticket/7652/7652-separate.diff issues with date handling functions so skipped those
|
||||
* Moved SimplePie functions in new class WP_SimplePie_Blog_Item incorporating get_draft_status and get_updated and convert date
|
||||
* Tested comments from source blog GMT-8, destination London (currently GMT-1), comment dates transferred correctly.
|
||||
* Fixed typo in oauth_get
|
||||
* Added screen_icon() to all pages
|
||||
* Added GeoTags as per spec on http://codex.wordpress.org/Geodata
|
||||
* Change by Otto42, rmccue to use Simplepie XML processing rather than Atomparser, http://core.trac.wordpress.org/ticket/14525 ref: http://core.trac.wordpress.org/attachment/ticket/7652/7652-blogger.diff (this also fixes http://core.trac.wordpress.org/ticket/15560)
|
||||
* Change by Otto42 to use OAuth rather than AuthSub authentication, should make authentication more reliable
|
||||
* Fix by Andy from Workshopshed to load comments and nested comments correctly
|
||||
* Fix by Andy from Workshopshed to correctly pass the blogger start-index and max-results parameters to oAuth functions and to process more than one batch http://core.trac.wordpress.org/ticket/19096
|
||||
* Fix by Andy from Workshopshed error about incorrect enqueuing of scripts also changed styles to work the same
|
||||
* Change by Andy from Workshopshed testing in debug mode and wrapped ajax return into a function to suppress debug messages
|
||||
* Fix by Andy from Workshopshed notices for undefined variables.
|
||||
* Change by Andy from Workshopshed Added tooltip to results table to show numbers of posts and comments skipped (duplicates / missing key)
|
||||
* Fix by Andy from Workshopshed incorrectly checking for duplicates based on only the date and username, this gave false positives when large numbers of comments, particularly anonymous ones.
|
||||
|
||||
= 0.4 =
|
||||
* Fix for tracking images being added by Blogger to non-authenticated feeds http://core.trac.wordpress.org/ticket/17623
|
||||
|
||||
= 0.3 =
|
||||
* Bugfix for 403 Invalid AuthSub Token http://core.trac.wordpress.org/ticket/14629
|
||||
|
||||
= 0.1 =
|
||||
* Initial release
|
||||
|
||||
== Upgrade Notice ==
|
||||
|
||||
= 0.5 =
|
||||
|
||||
Merged in fixes found in Trac
|
||||
This version is a significant re-write based on previous versions.
|
||||
|
||||
=== Plugin Name ===
|
||||
Contributors: wordpressdotorg, Otto42, Workshopshed, SergeyBiryukov, rmccue
|
||||
Donate link:
|
||||
Tags: importer, blogger
|
||||
Requires at least: 3.0
|
||||
Tested up to: 3.81
|
||||
Stable tag: 0.7
|
||||
License: GPLv2 or later
|
||||
|
||||
Imports posts, images, comments, and categories (blogger tags) from a Blogger blog then migrates authors to WordPress users.
|
||||
|
||||
== Description ==
|
||||
|
||||
The Blogger Importer imports your blog data from a Google Blogger site into a WordPress.org installation.
|
||||
|
||||
= Items imported =
|
||||
|
||||
* Categories
|
||||
* Posts (published, scheduled and draft)
|
||||
* Comments (not spam)
|
||||
* Images
|
||||
|
||||
= Items not imported =
|
||||
|
||||
* Pages
|
||||
* Widgets/Widget Data
|
||||
* Templates/Theme
|
||||
* Comment and author Avatars
|
||||
|
||||
== Installation ==
|
||||
|
||||
1. Upload the `blogger-importer` folder to the `/wp-content/plugins/` directory
|
||||
1. Activate the plugin through the 'Plugins' menu in WordPress
|
||||
|
||||
= Prerequisites =
|
||||
|
||||
The importer connects your server to the blogger server to copy across the posts. For this to work you need to have connectivity from the server to the internet and also have at least one of the remote access protocols enabled, e.g. curl, streams or fsockopen. You can use the Core Control plugin to test if these are working correctly. The importer connects to Google over a secure connection so OpenSSL needs to be enabled on your server.
|
||||
The importer uses the SimplePie classes to read and process the data from blogger so you will need the php-xml module installed on your webserver.
|
||||
|
||||
= How to use =
|
||||
|
||||
1. Blogger Importer is available from the WordPress Tools->Import screen.
|
||||
1. Press Authorise
|
||||
1. If you are not already logged into Google you will be asked to login
|
||||
1. You will be asked to grant WordPress access to your Blogger information, to continue press Grant Access
|
||||
1. You will be presented with a list of all your blogs
|
||||
1. Select the appropriate blog and press the import button
|
||||
1. Wait whilst the posts, comments and images are imported
|
||||
1. Press the Set Authors button
|
||||
1. Select the appropriate mapping for the authors
|
||||
1. Review categories, posts and comments
|
||||
|
||||
You can now remove the importer plugin if you no longer need to use it.
|
||||
|
||||
== Frequently Asked Questions ==
|
||||
|
||||
= How do I re-import? =
|
||||
|
||||
Press the clear account information button, then re-connect to blogger and re-import, the importer is designed not to re-import the same posts. If you need to do a full re-import then delete the posts and then empty the trash before re-importing.
|
||||
|
||||
= Once I've imported the posts do I need to keep the plugin? =
|
||||
|
||||
No, you can remove the plugin once you've completed your migration.
|
||||
|
||||
= How do I know which posts were imported? =
|
||||
|
||||
Each of the posts loaded is tagged with a meta tags indicating where the posts were loaded from. The permalink will be set to the visible URL if the post was published or the internal ID if it was still a draft or scheduled post
|
||||
|
||||
* blogger_author
|
||||
* blogger_blog
|
||||
* blogger_permalink
|
||||
|
||||
= After importing there are a lot of categories =
|
||||
|
||||
Blogger does not distinguish between tags and categories so you will likely want to review what was imported and then use the categories to tags converter
|
||||
|
||||
= What about pages? =
|
||||
|
||||
This importer does not handle blogger pages, you will need to manually transfer them.
|
||||
|
||||
= What about images? =
|
||||
|
||||
This version of the importer imports these too, but you can disable this via a setting in the blogger-importer.php file. Tracking images of size 1x1 are not processed. If you with to specifically exclude other images you could code something for the image_filter function.
|
||||
|
||||
= What size are the images? =
|
||||
|
||||
The importer will attempt to download the a large version of the file if one is available. This is controlled by the setting "LARGE_IMAGE_SIZE" and defaults to a width of 1024. The display size of the images is the "medium" size of images as defined on Wordpress. You can change this in advance if you want to show a different size.
|
||||
|
||||
= How do I know what images are skipped? =
|
||||
|
||||
If you hover over the progress bar for images it will tell you how many images are skipped. To see the filenames of these images you will need to enable Wordpress debugging to log to file. See http://codex.wordpress.org/Debugging_in_WordPress
|
||||
|
||||
= What about future posts? =
|
||||
|
||||
The scheduled posts will be transferred and will be published as specified. However, Blogger and WordPress handle drafts differently, WordPress does not support dates on draft posts so you will need to use a plugin if you wish to plan your writing schedule.
|
||||
|
||||
= Are the permalinks the same? =
|
||||
|
||||
No, WordPress and Blogger handle the permalinks differently. However, it is possible to use the redirection plugin or your .htaccess file to map the old URLs across to the new URLs.
|
||||
|
||||
= My posts and comments moved across but some things are stripped out =
|
||||
|
||||
The importer uses the SimplePie classes to process the data, these in turn use a Simplepie_Sanitize class to remove potentially malicious code from the source data.
|
||||
|
||||
= The dashboard is reporting that there are 0 comments in blogger =
|
||||
|
||||
This can occur if your blogger blog is set to private.
|
||||
|
||||
= The comments don't have avatars =
|
||||
|
||||
This is a know limitation of the data that is provided from Blogger. The Wordpress system uses Gravatar to provide the images for the comment avatars. This relies the email of the person making the comment. Blogger does not provide the email address in the data feed so Wordpress does not display the correct images. You can manually update or script change to the comment email addresses to work around this issue.
|
||||
|
||||
= How do I diagnose communication issues? =
|
||||
|
||||
If you've got issues with the blogger importer talking to Google then you can use the Core Control plugin to first check that your communication is working with the HTTP Module and if that is all ok then check the HTTP Logging Module to see if any of the remote calls to Google are returning errors. Also the OAuth Playground is a good way to test your access to the blogger data. http://googlecodesamples.com/oauth_playground/
|
||||
|
||||
= I'm getting timeouts connecting to Google =
|
||||
|
||||
Try the core control plugin as mentioned above. Also you try changing the constant REMOTE_TIMEOUT in the blogger-importer.php file to be a larger number of seconds.
|
||||
|
||||
= Why does it keep stopping? =
|
||||
|
||||
The importer uses JQuery to process it's form so problems with it not refreshing or stalling could be due to an incompatibility with another plugin, disable any other plugins and see if the problem persists.
|
||||
|
||||
= It does not seem to be processing the images =
|
||||
|
||||
Check you've not run out of disk space on your server. Because Wordpress stores the files in multiple resolutions one image might take up as much as 250kb spread across 5 files of different sizes.
|
||||
|
||||
= How do I make the images bigger or smaller? =
|
||||
|
||||
The importer will attempt to download a large version of images but it displays them on the blog at the medium size. If you go into your settings->media options then you can display a different size "medium" image by default. You can't make this bigger than the file that has been downloaded which is where the next setting comes in.
|
||||
|
||||
The default size for the large images is 1024, you can change this to an even larger size by changing the following line in the blogger-import.php file.
|
||||
|
||||
const LARGE_IMAGE_SIZE = '1024';
|
||||
|
||||
The file downloaded won't be bigger than the origional file so if it was only 800x600 to start with then it won't be any bigger than that.
|
||||
|
||||
= I've run out of disk space processing the images =
|
||||
|
||||
The importer is designed to download the high resolution images where they are available. You can either disable the downloading of images or you can change the constant LARGE_IMAGE_SIZE string in the blogger-importer.php file to swap the links with a smaller image.
|
||||
|
||||
== Screenshots ==
|
||||
|
||||
1. Import in progress
|
||||
2. Custom Fields added to Posts, Attachements and Comments
|
||||
|
||||
== Reference ==
|
||||
|
||||
* https://developers.google.com/blogger/docs/1.0/developers_guide_php
|
||||
* https://developers.google.com/gdata/articles/oauth
|
||||
* http://www.simplepie.org/
|
||||
|
||||
The following were referenced for implementing the images and links
|
||||
|
||||
* http://wordpress.org/extend/plugins/remote-images-grabber
|
||||
* http://notions.okuda.ca/wordpress-plugins/blogger-image-import/
|
||||
* http://wordpress.org/extend/plugins/cache-images/
|
||||
* http://wordpress.org/extend/plugins/tumblr-importer/
|
||||
* http://core.trac.wordpress.org/ticket/14525
|
||||
* http://wpengineer.com/1735/easier-better-solutions-to-get-pictures-on-your-posts/
|
||||
* http://www.velvetblues.com/web-development-blog/wordpress-plugin-update-urls/
|
||||
* http://wordpress.stackexchange.com/questions//media-sideload-image-file-name
|
||||
* http://wp.tutsplus.com/tutorials/plugins/a-guide-to-the-wordpress-http-api-the-basics/
|
||||
|
||||
== Known Issues ==
|
||||
|
||||
* Some users have reported that their IFrames are stripped out of the post content.
|
||||
* Requests for better performance of larger transfers and tranfers of images
|
||||
* Drop the check for OpenSSL and Blogger_OAuthSignatureMethod_RSA_SHA1 is not used by any other code in the plugin and can probably just be removed.
|
||||
* Review of behavior when it re-imports, partiularly are the counts correct
|
||||
* Review using get_posts or get_comments with the appropriate parameters to get the counts and exists instead of using SQL
|
||||
* Incorrect notice, PHP Notice: The data could not be converted to UTF-8. You MUST have either the iconv or mbstring extension installed. This occurs even when Iconv is installed, could be related to Blogger reporting 0 comments
|
||||
* When the importer is running it's not possible to stop it using the stop button
|
||||
|
||||
== Changelog ==
|
||||
|
||||
= 0.7 =
|
||||
* Fixed issue with drafts not being imported in the right state
|
||||
* Added extra error handling for get_oauth_link to stop blank tokens being sent to the form
|
||||
* Restructured code to keep similar steps in single function and to allow testing of components to be done
|
||||
* Re-incorporated the "congrats" function and provided a sensible list of what to do next
|
||||
* Add a geo_public flag to posts with geotags
|
||||
* Dropped _normalize_tag after confirming that it's handled by SimplePie
|
||||
* Added image handling http://core.trac.wordpress.org/ticket/4010
|
||||
* Added setting author on images
|
||||
* Added error handling in get_oauth_link() as suggested by daniel_henrique ref http://core.trac.wordpress.org/ticket/21163
|
||||
* Added a check for OpenSSL as suggested by digitalsensus
|
||||
* Fixed issue with SimplePie santizer not getting set in Wordpress 3.5
|
||||
* Added filter for the congrats function 'blogger_importer_congrats' so other plugins can add in new options
|
||||
* Converted manual HTML table to WP_LIST_TABLE
|
||||
* Moved inline Javascript to separate file to aid debugging and testing
|
||||
* Wrapped data sent to Javascript in I18n functions.
|
||||
* Fixed timeout error in the Javascript, timeouts were not being used.
|
||||
* Supress post revisions when importing so that DB does not grow
|
||||
* Added processing of internal links
|
||||
* Added uninstall.php to remove options on uninstall
|
||||
* Added a timeout value to all of the wp_remote_get calls as people have reported timeout issues
|
||||
* Added a setting to control the large images downloaded from blogger.
|
||||
* Stopped logging all the post and comment IDs in arrays and storing in option this improved the importing of very large blogs
|
||||
* Fixed issue with comment_author_IP notice
|
||||
* Code restructuring to use classes for blog objects
|
||||
* Changed AJAX calls to use technique described here http://codex.wordpress.org/AJAX_in_Plugins#Ajax_on_the_Administration_Side
|
||||
* Added AdminURL to the greet function rather than hardcoded path
|
||||
* Defaulted to turn off post pingbacks
|
||||
* Fix to stop it counting pingbacks, issue reported by realdoublebee
|
||||
* Retrofitted Security enhancement from 0.6, nonce added to form buttons on main screen
|
||||
* Security enhancement, nonce added to form button on authors screen
|
||||
* Updated POT file
|
||||
* Greek Translation from Stergatou Eleni http://buddypress.org/community/members/lenasterg/
|
||||
|
||||
= 0.6 =
|
||||
* Security enhancement, nonce added to form button on main screen
|
||||
|
||||
= 0.5 =
|
||||
* Merged in fix by SergeyBiryukov http://core.trac.wordpress.org/ticket/16012
|
||||
* Merged in rmccue change to get_total_results to also use SimplePie from http://core.trac.wordpress.org/attachment/ticket/7652/7652-blogger.diff
|
||||
* Reviewed in rmccue's changes in http://core.trac.wordpress.org/attachment/ticket/7652/7652-separate.diff issues with date handling functions so skipped those
|
||||
* Moved SimplePie functions in new class WP_SimplePie_Blog_Item incorporating get_draft_status and get_updated and convert date
|
||||
* Tested comments from source blog GMT-8, destination London (currently GMT-1), comment dates transferred correctly.
|
||||
* Fixed typo in oauth_get
|
||||
* Added screen_icon() to all pages
|
||||
* Added GeoTags as per spec on http://codex.wordpress.org/Geodata
|
||||
* Change by Otto42, rmccue to use Simplepie XML processing rather than Atomparser, http://core.trac.wordpress.org/ticket/14525 ref: http://core.trac.wordpress.org/attachment/ticket/7652/7652-blogger.diff
|
||||
this also fixes http://core.trac.wordpress.org/ticket/15560
|
||||
* Change by Otto42 to use OAuth rather than AuthSub authentication, should make authentication more reliable
|
||||
* Fix by Andy from Workshopshed to load comments and nested comments correctly
|
||||
* Fix by Andy from Workshopshed to correctly pass the blogger start-index and max-results parameters to oAuth functions and to process more than one batch http://core.trac.wordpress.org/ticket/19096
|
||||
* Fix by Andy from Workshopshed error about incorrect enqueuing of scripts also changed styles to work the same
|
||||
* Change by Andy from Workshopshed testing in debug mode and wrapped ajax return into a function to suppress debug messages
|
||||
* Fix by Andy from Workshopshed notices for undefined variables.
|
||||
* Change by Andy from Workshopshed Added tooltip to results table to show numbers of posts and comments skipped (duplicates / missing key)
|
||||
* Fix by Andy from Workshopshed incorrectly checking for duplicates based on only the date and username, this gave false positives when large numbers of comments, particularly anonymous ones.
|
||||
|
||||
= 0.4 =
|
||||
* Fix for tracking images being added by Blogger to non-authenticated feeds http://core.trac.wordpress.org/ticket/17623
|
||||
|
||||
= 0.3 =
|
||||
* Bugfix for 403 Invalid AuthSub Token http://core.trac.wordpress.org/ticket/14629
|
||||
|
||||
= 0.1 =
|
||||
* Initial release
|
||||
|
||||
== Upgrade Notice ==
|
||||
|
||||
= 0.7 =
|
||||
|
||||
Added support for images and links. Improvements in error handling when connecting to Google. Some bug fixes, see change log. User interface refresh
|
||||
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* @author Andy Clark
|
||||
* @copyright 2013
|
||||
*
|
||||
* Tidy up things left over by the plugin
|
||||
* Keep this as simple as possible so we don't stall the uninstallation process
|
||||
*/
|
||||
|
||||
delete_option('blogger_importer');
|
||||
delete_option('blogger_importer_connector');
|
||||
$blogopt = true;
|
||||
for ($i = 1; $blogopt ; $i++) {
|
||||
$blogopt = get_option('blogger_importer_blog_'.$i);
|
||||
if (is_array($blogopt))
|
||||
delete_option('blogger_importer_blog_'.$i);
|
||||
}
|
||||
|
||||
|
||||
?>
|
||||
@@ -0,0 +1,414 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata></metadata>
|
||||
<defs>
|
||||
<font id="fontawesomeregular" horiz-adv-x="1536" >
|
||||
<font-face units-per-em="1792" ascent="1536" descent="-256" />
|
||||
<missing-glyph horiz-adv-x="448" />
|
||||
<glyph unicode=" " horiz-adv-x="448" />
|
||||
<glyph unicode="	" horiz-adv-x="448" />
|
||||
<glyph unicode=" " horiz-adv-x="448" />
|
||||
<glyph unicode="¨" horiz-adv-x="1792" />
|
||||
<glyph unicode="©" horiz-adv-x="1792" />
|
||||
<glyph unicode="®" horiz-adv-x="1792" />
|
||||
<glyph unicode="´" horiz-adv-x="1792" />
|
||||
<glyph unicode="Æ" horiz-adv-x="1792" />
|
||||
<glyph unicode=" " horiz-adv-x="768" />
|
||||
<glyph unicode=" " />
|
||||
<glyph unicode=" " horiz-adv-x="768" />
|
||||
<glyph unicode=" " />
|
||||
<glyph unicode=" " horiz-adv-x="512" />
|
||||
<glyph unicode=" " horiz-adv-x="384" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
<glyph unicode=" " horiz-adv-x="256" />
|
||||
<glyph unicode=" " horiz-adv-x="192" />
|
||||
<glyph unicode=" " horiz-adv-x="307" />
|
||||
<glyph unicode=" " horiz-adv-x="85" />
|
||||
<glyph unicode=" " horiz-adv-x="307" />
|
||||
<glyph unicode=" " horiz-adv-x="384" />
|
||||
<glyph unicode="™" horiz-adv-x="1792" />
|
||||
<glyph unicode="∞" horiz-adv-x="1792" />
|
||||
<glyph unicode="≠" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="500" d="M0 0z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
|
||||
<glyph unicode="" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
|
||||
<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " />
|
||||
<glyph unicode="" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
|
||||
<glyph unicode="" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
|
||||
<glyph unicode="" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
|
||||
<glyph unicode="" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
|
||||
<glyph unicode="" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" />
|
||||
<glyph unicode="" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
|
||||
<glyph unicode="" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
|
||||
<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
|
||||
<glyph unicode="" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" />
|
||||
<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
|
||||
<glyph unicode="" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
|
||||
<glyph unicode="" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
|
||||
<glyph unicode="" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
|
||||
<glyph unicode="" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
|
||||
<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
|
||||
<glyph unicode="" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
|
||||
<glyph unicode="" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
|
||||
<glyph unicode="" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
|
||||
<glyph unicode="" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
|
||||
<glyph unicode="" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
|
||||
<glyph unicode="" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
|
||||
<glyph unicode="" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
|
||||
<glyph unicode="" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" />
|
||||
<glyph unicode="" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
|
||||
<glyph unicode="" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
|
||||
<glyph unicode="" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
|
||||
<glyph unicode="" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
|
||||
<glyph unicode="" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
|
||||
<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
|
||||
<glyph unicode="" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
|
||||
<glyph unicode="" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
|
||||
<glyph unicode="" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
|
||||
<glyph unicode="" d="M678 -57q0 -38 -10 -71h-380q-95 0 -171.5 56.5t-103.5 147.5q24 45 69 77.5t100 49.5t107 24t107 7q32 0 49 -2q6 -4 30.5 -21t33 -23t31 -23t32 -25.5t27.5 -25.5t26.5 -29.5t21 -30.5t17.5 -34.5t9.5 -36t4.5 -40.5zM385 294q-234 -7 -385 -85v433q103 -118 273 -118 q32 0 70 5q-21 -61 -21 -86q0 -67 63 -149zM558 805q0 -100 -43.5 -160.5t-140.5 -60.5q-51 0 -97 26t-78 67.5t-56 93.5t-35.5 104t-11.5 99q0 96 51.5 165t144.5 69q66 0 119 -41t84 -104t47 -130t16 -128zM1536 896v-736q0 -119 -84.5 -203.5t-203.5 -84.5h-468 q39 73 39 157q0 66 -22 122.5t-55.5 93t-72 71t-72 59.5t-55.5 54.5t-22 59.5q0 36 23 68t56 61.5t65.5 64.5t55.5 93t23 131t-26.5 145.5t-75.5 118.5q-6 6 -14 11t-12.5 7.5t-10 9.5t-10.5 17h135l135 64h-437q-138 0 -244.5 -38.5t-182.5 -133.5q0 126 81 213t207 87h960 q119 0 203.5 -84.5t84.5 -203.5v-96h-256v256h-128v-256h-256v-128h256v-256h128v256h256z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M876 71q0 21 -4.5 40.5t-9.5 36t-17.5 34.5t-21 30.5t-26.5 29.5t-27.5 25.5t-32 25.5t-31 23t-33 23t-30.5 21q-17 2 -50 2q-54 0 -106 -7t-108 -25t-98 -46t-69 -75t-27 -107q0 -68 35.5 -121.5t93 -84t120.5 -45.5t127 -15q59 0 112.5 12.5t100.5 39t74.5 73.5 t27.5 110zM756 933q0 60 -16.5 127.5t-47 130.5t-84 104t-119.5 41q-93 0 -144 -69t-51 -165q0 -47 11.5 -99t35.5 -104t56 -93.5t78 -67.5t97 -26q97 0 140.5 60.5t43.5 160.5zM625 1408h437l-135 -79h-135q71 -45 110 -126t39 -169q0 -74 -23 -131.5t-56 -92.5t-66 -64.5 t-56 -61t-23 -67.5q0 -26 16.5 -51t43 -48t58.5 -48t64 -55.5t58.5 -66t43 -85t16.5 -106.5q0 -160 -140 -282q-152 -131 -420 -131q-59 0 -119.5 10t-122 33.5t-108.5 58t-77 89t-30 121.5q0 61 37 135q32 64 96 110.5t145 71t155 36t150 13.5q-64 83 -64 149q0 12 2 23.5 t5 19.5t8 21.5t7 21.5q-40 -5 -70 -5q-149 0 -255.5 98t-106.5 246q0 140 95 250.5t234 141.5q94 20 187 20zM1664 1152v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
|
||||
<glyph unicode="" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
|
||||
<glyph unicode="" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
|
||||
<glyph unicode="" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1664 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5 q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1024 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1024 608v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280z M768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
|
||||
<glyph unicode="" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
|
||||
<glyph unicode="" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
|
||||
<glyph unicode="" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" />
|
||||
<glyph unicode="" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M896 608v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h224q14 0 23 -9t9 -23zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28 t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68zM1152 928v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704q93 0 158.5 -65.5t65.5 -158.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M928 1152q93 0 158.5 -65.5t65.5 -158.5v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68z M864 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576z" />
|
||||
<glyph unicode="" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
|
||||
<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />
|
||||
<glyph unicode="" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1745 763l-164 -763h-334l178 832q13 56 -15 88q-27 33 -83 33h-169l-204 -953h-334l204 953h-286l-204 -953h-334l204 953l-153 327h1276q101 0 189.5 -40.5t147.5 -113.5q60 -73 81 -168.5t0 -194.5z" />
|
||||
<glyph unicode="" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
|
||||
<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
|
||||
<glyph unicode="" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
|
||||
<glyph unicode="" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
|
||||
<glyph unicode="" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />
|
||||
<glyph unicode="" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1043 971q0 100 -65 162t-171 62h-320v-448h320q106 0 171 62t65 162zM1280 971q0 -193 -126.5 -315t-326.5 -122h-340v-118h505q14 0 23 -9t9 -23v-128q0 -14 -9 -23t-23 -9h-505v-192q0 -14 -9.5 -23t-22.5 -9h-167q-14 0 -23 9t-9 23v192h-224q-14 0 -23 9t-9 23v128 q0 14 9 23t23 9h224v118h-224q-14 0 -23 9t-9 23v149q0 13 9 22.5t23 9.5h224v629q0 14 9 23t23 9h539q200 0 326.5 -122t126.5 -315z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1024 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1024 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28 t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
|
||||
<glyph unicode="" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
|
||||
<glyph unicode="" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />
|
||||
<glyph unicode="" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" />
|
||||
<glyph unicode="" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />
|
||||
<glyph unicode="" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
|
||||
<glyph unicode="" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
|
||||
<glyph unicode="" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M390 1408h219v-388h364v-241h-364v-394q0 -136 14 -172q13 -37 52 -60q50 -31 117 -31q117 0 232 76v-242q-102 -48 -178 -65q-77 -19 -173 -19q-105 0 -186 27q-78 25 -138 75q-58 51 -79 105q-22 54 -22 161v539h-170v217q91 30 155 84q64 55 103 132q39 78 54 196z " />
|
||||
<glyph unicode="" d="M1123 127v181q-88 -56 -174 -56q-51 0 -88 23q-29 17 -39 45q-11 30 -11 129v295h274v181h-274v291h-164q-11 -90 -40 -147t-78 -99q-48 -40 -116 -63v-163h127v-404q0 -78 17 -121q17 -42 59 -78q43 -37 104 -57q62 -20 140 -20q67 0 129 14q57 13 134 49zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
|
||||
<glyph unicode="" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
|
||||
<glyph unicode="" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
|
||||
<glyph unicode="" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1483 512l-587 -587q-52 -53 -127.5 -53t-128.5 53l-587 587q-53 53 -53 128t53 128l587 587q53 53 128 53t128 -53l265 -265l-398 -399l-188 188q-42 42 -99 42q-59 0 -100 -41l-120 -121q-42 -40 -42 -99q0 -58 42 -100l406 -408q30 -28 67 -37l6 -4h28q60 0 99 41 l619 619l2 -3q53 -53 53 -128t-53 -128zM1406 1138l120 -120q14 -15 14 -36t-14 -36l-730 -730q-17 -15 -37 -15v0q-4 0 -6 1q-18 2 -30 14l-407 408q-14 15 -14 36t14 35l121 120q13 15 35 15t36 -15l252 -252l574 575q15 15 36 15t36 -15z" />
|
||||
<glyph unicode="" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
|
||||
<glyph unicode="" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
|
||||
<glyph unicode="" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
|
||||
<glyph unicode="" d="M1133 -34q-171 -94 -368 -94q-196 0 -367 94q138 87 235.5 211t131.5 268q35 -144 132.5 -268t235.5 -211zM638 1394v-485q0 -252 -126.5 -459.5t-330.5 -306.5q-181 215 -181 495q0 187 83.5 349.5t229.5 269.5t325 137zM1536 638q0 -280 -181 -495 q-204 99 -330.5 306.5t-126.5 459.5v485q179 -30 325 -137t229.5 -269.5t83.5 -349.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1408" d="M1402 433q-32 -80 -76 -138t-91 -88.5t-99 -46.5t-101.5 -14.5t-96.5 8.5t-86.5 22t-69.5 27.5t-46 22.5l-17 10q-113 -228 -289.5 -359.5t-384.5 -132.5q-19 0 -32 13t-13 32t13 31.5t32 12.5q173 1 322.5 107.5t251.5 294.5q-36 -14 -72 -23t-83 -13t-91 2.5t-93 28.5 t-92 59t-84.5 100t-74.5 146q114 47 214 57t167.5 -7.5t124.5 -56.5t88.5 -77t56.5 -82q53 131 79 291q-7 -1 -18 -2.5t-46.5 -2.5t-69.5 0.5t-81.5 10t-88.5 23t-84 42.5t-75 65t-54.5 94.5t-28.5 127.5q70 28 133.5 36.5t112.5 -1t92 -30t73.5 -50t56 -61t42 -63t27.5 -56 t16 -39.5l4 -16q12 122 12 195q-8 6 -21.5 16t-49 44.5t-63.5 71.5t-54 93t-33 112.5t12 127t70 138.5q73 -25 127.5 -61.5t84.5 -76.5t48 -85t20.5 -89t-0.5 -85.5t-13 -76.5t-19 -62t-17 -42l-7 -15q1 -5 1 -50.5t-1 -71.5q3 7 10 18.5t30.5 43t50.5 58t71 55.5t91.5 44.5 t112 14.5t132.5 -24q-2 -78 -21.5 -141.5t-50 -104.5t-69.5 -71.5t-81.5 -45.5t-84.5 -24t-80 -9.5t-67.5 1t-46.5 4.5l-17 3q-23 -147 -73 -283q6 7 18 18.5t49.5 41t77.5 52.5t99.5 42t117.5 20t129 -23.5t137 -77.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1280" d="M1259 283v-66q0 -85 -57.5 -144.5t-138.5 -59.5h-57l-260 -269v269h-529q-81 0 -138.5 59.5t-57.5 144.5v66h1238zM1259 609v-255h-1238v255h1238zM1259 937v-255h-1238v255h1238zM1259 1077v-67h-1238v67q0 84 57.5 143.5t138.5 59.5h846q81 0 138.5 -59.5t57.5 -143.5z " />
|
||||
<glyph unicode="" d="M1152 640q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192h-352q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h352v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1152 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-352v-192q0 -14 -9 -23t-23 -9q-12 0 -24 10l-319 319q-9 9 -9 23t9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h352q13 0 22.5 -9.5t9.5 -22.5zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198 t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" d="M1024 960v-640q0 -26 -19 -45t-45 -19q-20 0 -37 12l-448 320q-27 19 -27 52t27 52l448 320q17 12 37 12q26 0 45 -19t19 -45zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5z M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5 t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1664" d="M1023 349l102 -204q-58 -179 -210 -290t-339 -111q-156 0 -288.5 77.5t-210 210t-77.5 288.5q0 181 104.5 330t274.5 211l17 -131q-122 -54 -195 -165.5t-73 -244.5q0 -185 131.5 -316.5t316.5 -131.5q126 0 232.5 65t165 175.5t49.5 236.5zM1571 249l58 -114l-256 -128 q-13 -7 -29 -7q-40 0 -57 35l-239 477h-472q-24 0 -42.5 16.5t-21.5 40.5l-96 779q-2 16 6 42q14 51 57 82.5t97 31.5q66 0 113 -47t47 -113q0 -69 -52 -117.5t-120 -41.5l37 -289h423v-128h-407l16 -128h455q40 0 57 -35l228 -455z" />
|
||||
<glyph unicode="" d="M1254 899q16 85 -21 132q-52 65 -187 45q-17 -3 -41 -12.5t-57.5 -30.5t-64.5 -48.5t-59.5 -70t-44.5 -91.5q80 7 113.5 -16t26.5 -99q-5 -52 -52 -143q-43 -78 -71 -99q-44 -32 -87 14q-23 24 -37.5 64.5t-19 73t-10 84t-8.5 71.5q-23 129 -34 164q-12 37 -35.5 69 t-50.5 40q-57 16 -127 -25q-54 -32 -136.5 -106t-122.5 -102v-7q16 -8 25.5 -26t21.5 -20q21 -3 54.5 8.5t58 10.5t41.5 -30q11 -18 18.5 -38.5t15 -48t12.5 -40.5q17 -46 53 -187q36 -146 57 -197q42 -99 103 -125q43 -12 85 -1.5t76 31.5q131 77 250 237 q104 139 172.5 292.5t82.5 226.5zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
|
||||
<glyph unicode="" horiz-adv-x="1152" d="M1152 704q0 -191 -94.5 -353t-256.5 -256.5t-353 -94.5h-160q-14 0 -23 9t-9 23v611l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v93l-215 -66q-3 -1 -9 -1q-10 0 -19 6q-13 10 -13 26v128q0 23 23 31l233 71v250q0 14 9 23t23 9h160 q14 0 23 -9t9 -23v-181l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-93l375 116q15 5 28 -5t13 -26v-128q0 -23 -23 -31l-393 -121v-487q188 13 318 151t130 328q0 14 9 23t23 9h160q14 0 23 -9t9 -23z" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
<glyph unicode="" horiz-adv-x="1792" />
|
||||
</font>
|
||||
</defs></svg>
|
||||
|
After Width: | Height: | Size: 198 KiB |
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" standalone="no"?>
|
||||
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
||||
<svg xmlns="http://www.w3.org/2000/svg">
|
||||
<metadata>Copyright (C) 2012 by original authors @ fontello.com</metadata>
|
||||
<defs>
|
||||
<font id="fontello" horiz-adv-x="1000" >
|
||||
<font-face font-family="fontello" font-weight="400" font-stretch="normal" units-per-em="1000" ascent="850" descent="-150" />
|
||||
<missing-glyph horiz-adv-x="1000" />
|
||||
<glyph glyph-name="location" unicode="" d="M429 493q0 59-42 101t-101 42-101-42-42-101 42-101 101-42 101 42 42 101z m143 0q0-61-18-100l-203-432q-9-18-27-29t-38-11-38 11-26 29l-204 432q-18 39-18 100 0 118 84 202t202 84 202-84 84-202z" horiz-adv-x="571.429" />
|
||||
<glyph glyph-name="fit" unicode="" d="M429 314l0-250q0-15-11-25t-25-11-25 11l-80 80-185-185q-6-6-13-6t-13 6l-64 64q-6 6-6 13t6 13l185 185-80 80q-11 11-11 25t11 25 25 11l250 0q15 0 25-11t11-25z m421 375q0-7-6-13l-185-185 80-80q11-11 11-25t-11-25-25-11l-250 0q-15 0-25 11t-11 25l0 250q0 15 11 25t25 11 25-11l80-80 185 185q6 6 13 6t13-6l64-64q6-6 6-13z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="bold" unicode="" d="M310 1q42-18 78-18 73 0 121 23t68 63q21 39 21 101 0 64-23 100-32 52-79 70-45 18-138 18-41 0-56-6l0-80-1-97 2-151q0-8 7-25z m-8 416q24-4 61-4 98 0 147 36t50 125q0 62-47 104t-142 42q-29 0-73-7 0-25 1-43 4-68 3-156l-1-55q0-24 1-43z m-302-496l1 52q25 5 38 7 43 7 69 17 9 15 12 28 5 37 5 108l-1 277q-3 143-5 225-1 49-6 61-1 2-7 7-10 7-39 8-17 1-64 7l-2 46 145 3 212 7 25 1q3 0 8 0t8 0q1 0 12 0t23 0l41 0q49 0 107-15 24-7 54-22 32-16 57-42t36-58 12-68q0-39-18-71t-53-59q-15-11-84-43 99-23 149-81 51-59 51-132 0-42-16-90-12-35-40-65-37-40-78-60t-113-33q-46-8-110-6l-110 2q-47 1-166-6-18-2-152-6z" horiz-adv-x="785.714" />
|
||||
<glyph glyph-name="italic" unicode="" d="M0-77l9 47q2 1 43 11 42 11 65 22 16 21 23 56l15 78 31 150 7 36q4 25 9 47t9 37 7 26 5 17 2 6l16 88 9 35 12 75 4 28 0 21q-23 12-80 16-16 1-21 2l11 57 177-8q22-1 41-1 37 0 119 5 18 1 38 3t20 1q-1-11-3-21-4-16-7-28-31-11-61-17-36-9-56-17-7-17-13-49-5-25-7-46-25-111-37-171l-34-174-21-88-24-131-7-25q-1-4 1-15 36-8 66-12 20-3 37-6-1-16-4-32-4-17-5-23-10 0-13-1-13-1-23-1-5 0-16 2t-81 9l-110 1q-23 1-97-6-41-4-55-5z" horiz-adv-x="571.429" />
|
||||
<glyph glyph-name="justifyleft" unicode="" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-714 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l714 0q15 0 25-11t11-25z m143 214l0-71q0-15-11-25t-25-11l-857 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l857 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-643 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l643 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="justifycenter" unicode="" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-500 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l500 0q15 0 25-11t11-25z m143 214l0-71q0-15-11-25t-25-11l-786 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l786 0q15 0 25-11t11-25z m-214 214l0-71q0-15-11-25t-25-11l-357 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l357 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="justifyright" unicode="" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-714 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l714 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-857 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l857 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-643 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l643 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="justifyfull" unicode="" d="M1000 100l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z m0 214l0-71q0-15-11-25t-25-11l-929 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l929 0q15 0 25-11t11-25z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="outdent" unicode="" d="M214 546l0-321q0-7-5-13t-13-5q-8 0-13 5l-161 161q-5 5-5 13t5 13l161 161q5 5 13 5 7 0 13-5t5-13z m786-429l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="indent" unicode="" d="M196 386q0-8-5-13l-161-161q-5-5-13-5-7 0-13 5t-5 13l0 321q0 7 5 13t13 5q8 0 13-5l161-161q5-5 5-13z m804-268l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-607 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l607 0q7 0 13-5t5-13z m0 214l0-107q0-7-5-13t-13-5l-964 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l964 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="mode" unicode="" d="M429 46l0 607q-83 0-152-41t-110-110-41-152 41-152 110-110 152-41z m429 304q0-117-57-215t-156-156-215-57-215 57-156 156-57 215 57 215 156 156 215 57 215-57 156-156 57-215z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="fullscreen" unicode="" d="M716 548l-198-198 198-198 80 80q16 17 39 8 22-9 22-33l0-250q0-15-11-25t-25-11l-250 0q-23 0-33 22-9 22 8 39l80 80-198 198-198-198 80-80q17-17 8-39t-33-22l-250 0q-15 0-25 11t-11 25l0 250q0 23 22 33 22 9 39-8l80-80 198 198-198 198-80-80q-11-11-25-11-7 0-13 3-22 9-22 33l0 250q0 15 11 25t25 11l250 0q23 0 33-22 9-22-8-39l-80-80 198-198 198 198-80 80q-17 17-8 39t33 22l250 0q15 0 25-11t11-25l0-250q0-23-22-33-7-3-14-3-15 0-25 11z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="insertunorderedlist" unicode="" d="M214 64q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m0 286q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z m-786 518q0-45-31-76t-76-31-76 31-31 76 31 76 76 31 76-31 31-76z m786-232l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z m0 286l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="insertorderedlist" unicode="" d="M213-54q0-45-30-70t-76-26q-59 0-96 37l32 49q27-25 59-25 16 0 28 8t12 24q0 36-59 31l-15 31q4 6 18 24t24 30 21 21l0 1q-9 0-27-1t-27-1l0-30-59 0 0 85 186 0 0-49-53-64q28-7 45-27t17-49z m1 350l0-89-202 0q-3 20-3 30 0 28 13 52t32 38 37 27 32 24 13 25q0 14-8 21t-22 8q-26 0-45-32l-47 33q13 28 40 44t59 16q41 0 69-23t28-63q0-28-19-51t-42-36-42-28-20-29l71 0 0 33 59 0z m786-178l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 8 5 13t13 5l679 0q7 0 13-5t5-13z m-786 502l0-55-187 0 0 55 60 0q0 23 0 68t0 68l0 7-1 0q-4-9-28-30l-40 42 76 71 59 0 0-225 60 0z m786-216l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 8 5 13t13 5l679 0q7 0 13-5t5-13z m0 286l0-107q0-7-5-13t-13-5l-679 0q-7 0-13 5t-5 13l0 107q0 7 5 13t13 5l679 0q7 0 13-5t5-13z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="strikethrough" unicode="" d="M982 350q8 0 13-5t5-13l0-36q0-8-5-13t-13-5l-964 0q-8 0-13 5t-5 13l0 36q0 8 5 13t13 5l964 0z m-713 36q-16 20-28 45-27 54-27 105 0 101 75 172 74 71 219 71 28 0 93-11 37-7 99-27 6-21 12-66 8-69 8-102 0-10-3-25l-7-2-47 3-8 1q-28 83-57 114-49 51-117 51-64 0-102-33-37-32-37-81 0-41 37-78t156-72q39-11 97-37 32-16 53-29l-415 0z m283-143l229 0q4-22 4-51 0-62-23-118-13-31-40-58-21-20-61-45-45-27-85-37-45-12-113-12-64 0-109 13l-78 22q-32 9-40 16-4 4-4 12l0 7q0 60-1 87-1 17 0 38l1 21 0 25 57 1q8-19 17-40t13-31 7-15q20-32 45-52 24-20 59-32 33-12 74-12 36 0 78 15 43 15 68 48 26 34 26 72 0 47-45 88-19 16-76 40z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="underline" unicode="" d="M27 726q-21 1-25 2l-2 49q7 1 22 1 33 0 62-2 74-4 93-4 48 0 94 2 65 2 81 3 31 0 48 1l-1-8 1-36 0-5q-33-5-69-5-33 0-44-14-7-8-7-74 0-7 0-18t0-14l1-128 8-156q3-69 28-113 20-33 54-51 49-26 99-26 58 0 107 16 31 10 55 28 27 20 36 36 20 31 30 64 12 41 12 128 0 44-2 71t-6 68-8 89l-2 33q-3 37-13 49-19 20-43 19l-56-1-8 2 1 48 47 0 114-6q42-2 109 6l10-1q3-21 3-28 0-4-2-17-25-7-47-7-41-6-44-9-8-8-8-23 0-4 1-15t1-17q4-11 12-221 3-109-8-170-8-42-23-68-21-36-62-69-42-32-102-50-61-18-142-18-93 0-158 26-66 26-100 68t-46 109q-9 45-9 132l0 186q0 105-9 119-14 20-82 22z m830-786l0 36q0 8-5 13t-13 5l-821 0q-8 0-13-5t-5-13l0-36q0-8 5-13t13-5l821 0q8 0 13 5t5 13z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="blockquote" unicode="" d="M429 671l0-393q0-58-23-111t-61-91-91-61-111-23l-36 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l36 0q59 0 101 42t42 101l0 18q0 22-16 38t-38 16l-125 0q-45 0-76 31t-31 76l0 214q0 45 31 76t76 31l214 0q45 0 76-31t31-76z m500 0l0-393q0-58-23-111t-61-91-91-61-111-23l-36 0q-15 0-25 11t-11 25l0 71q0 15 11 25t25 11l36 0q59 0 101 42t42 101l0 18q0 22-16 38t-38 16l-125 0q-45 0-76 31t-31 76l0 214q0 45 31 76t76 31l214 0q45 0 76-31t31-76z" horiz-adv-x="928.571" />
|
||||
<glyph glyph-name="undo" unicode="" d="M1000 225q0-93-71-252-2-4-6-13t-8-17-7-12q-7-9-16-9-8 0-13 6t-5 14q0 5 1 15t1 13q3 38 3 69 0 56-10 101t-27 77-45 56-59 39-74 24-86 12-98 3l-125 0 0-143q0-15-11-25t-25-11-25 11l-286 286q-11 11-11 25t11 25l286 286q11 11 25 11t25-11 11-25l0-143 125 0q398 0 488-225 30-75 30-186z" horiz-adv-x="1000" />
|
||||
<glyph glyph-name="code" unicode="" d="M344 69l-28-28q-6-6-13-6t-13 6l-260 260q-6 6-6 13t6 13l260 260q6 6 13 6t13-6l28-28q6-6 6-13t-6-13l-219-219 219-219q6-6 6-13t-6-13z m330 595l-208-720q-2-7-9-11t-13-1l-35 9q-7 2-11 9t-1 14l208 720q2 7 9 11t13 1l35-9q7-2 11-9t1-14z m367-363l-260-260q-6-6-13-6t-13 6l-28 28q-6 6-6 13t6 13l219 219-219 219q-6 6-6 13t6 13l28 28q6 6 13 6t13-6l260-260q6-6 6-13t-6-13z" horiz-adv-x="1071.429" />
|
||||
<glyph glyph-name="unlink" unicode="" d="M245 141l-143-143q-6-5-13-5t-13 5q-5 6-5 13t5 13l143 143q6 5 13 5t13-5q5-6 5-13t-5-13z m94-23l0-179q0-8-5-13t-13-5-13 5-5 13l0 179q0 8 5 13t13 5 13-5 5-13z m-125 125q0-8-5-13t-13-5l-179 0q-8 0-13 5t-5 13 5 13 13 5l179 0q8 0 13-5t5-13z m705-71q0-67-47-113l-82-81q-46-46-113-46-68 0-114 47l-186 187q-12 12-23 31l133 10 152-153q15-15 38-15t38 15l82 81q16 16 16 37 0 22-16 38l-153 153 10 133q20-12 31-23l187-187q47-48 47-114z m-344 404l-133-10-152 153q-16 16-38 16t-38-15l-82-81q-16-16-16-37 0-22 16-38l153-153-10-134q-20 12-31 23l-187 187q-47 48-47 114 0 67 47 113l82 81q46 46 113 46 68 0 114-47l186-187q12-12 23-31z m353-47q0-8-5-13t-13-5l-179 0q-8 0-13 5t-5 13 5 13 13 5l179 0q8 0 13-5t5-13z m-304 304l0-179q0-8-5-13t-13-5-13 5-5 13l0 179q0 8 5 13t13 5 13-5 5-13z m227-84l-143-143q-6-5-13-5t-13 5q-5 6-5 13t5 13l143 143q6 5 13 5t13-5q5-6 5-13t-5-13z" horiz-adv-x="928.571" />
|
||||
<glyph glyph-name="superscript" unicode="" d="M501 86l0-93-138 0-89 141-13 23q-4 5-6 12l-2 0-5-12q-6-11-14-25l-86-140-144 0 0 93 71 0 110 162-103 152-76 0 0 94 154 0 78-127q1-2 13-23 4-5 6-12l2 0q2 5 6 12l14 23 78 127 143 0 0-94-70 0-103-149 114-165 61 0z m355 379l0-115-287 0-2 15q-2 16-2 26 0 36 15 65t36 48 47 36 47 30 36 30 15 36q0 21-16 35t-39 14q-28 0-54-22-8-6-20-21l-59 51q15 21 35 37 46 36 105 36 61 0 99-33t38-88q0-31-14-57t-35-43-45-33-46-28-37-29-17-35l129 0 0 45 70 0z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="subscript" unicode="" d="M501 86l0-93-138 0-89 141-13 23q-4 5-6 12l-2 0-5-12q-6-11-14-25l-86-140-144 0 0 93 71 0 110 162-103 152-76 0 0 94 154 0 78-127q1-2 13-23 4-5 6-12l2 0q2 5 6 12l14 23 78 127 143 0 0-94-70 0-103-149 114-165 61 0z m357-121l0-115-287 0-2 15q-2 25-2 26 0 36 15 65t36 48 47 36 47 30 36 30 15 36q0 21-16 35t-39 14q-28 0-54-22-8-6-20-21l-59 51q15 21 35 37 45 36 105 36 61 0 99-33t38-88q0-37-19-66t-47-48-56-35-49-35-23-41l129 0 0 45 70 0z" horiz-adv-x="857.143" />
|
||||
<glyph glyph-name="inserthorizontalrule" unicode="" d="M214 439l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z m286 0l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z m286 0l0-107q0-22-16-38t-38-16l-107 0q-22 0-38 16t-16 38l0 107q0 22 16 38t38 16l107 0q22 0 38-16t16-38z" horiz-adv-x="785.714" />
|
||||
<glyph glyph-name="pin" unicode="" d="M268 368l0 250q0 8-5 13t-13 5-13-5-5-13l0-250q0-8 5-13t13-5 13 5 5 13z m375-196q0-15-11-25t-25-11l-239 0-28-270q-1-7-6-11t-11-5l-1 0q-15 0-18 15l-42 271-225 0q-15 0-25 11t-11 25q0 69 44 124t99 55l0 286q-29 0-50 21t-21 50 21 50 50 21l357 0q29 0 50-21t21-50-21-50-50-21l0-286q55 0 99-55t44-124z" horiz-adv-x="642.857" />
|
||||
<glyph glyph-name="createlink" unicode="" d="M812 171q0 22-16 38l-116 116q-16 16-38 16-23 0-40-18 2-2 11-10t12-12 8-11 7-14 2-15q0-22-16-38t-38-16q-8 0-15 2t-14 7-11 8-12 12-10 11q-18-17-18-41 0-22 16-38l115-116q15-15 38-15 22 0 38 15l82 81q16 16 16 37z m-392 393q0 22-16 38l-115 116q-16 16-38 16t-38-15l-82-81q-16-16-16-37 0-22 16-38l116-116q15-15 38-15t40 17q-2 2-11 10t-12 12-8 11-7 14-2 15q0 22 16 38t38 16q8 0 15-2t14-7 11-8 12-12 10-11q18 17 18 41z m499-393q0-67-47-113l-82-81q-46-46-113-46-68 0-114 47l-115 116q-46 46-46 113 0 69 49 117l-49 49q-48-49-116-49-67 0-114 47l-116 116q-47 47-47 114t47 113l82 81q46 46 113 46 68 0 114-47l115-116q46-46 46-113 0-69-49-117l49-49q48 49 116 49 67 0 114-47l116-116q47-47 47-114z" horiz-adv-x="928.571" />
|
||||
</font>
|
||||
</defs>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 13 KiB |
@@ -0,0 +1,682 @@
|
||||
/*
|
||||
* Core Owl Carousel CSS File
|
||||
* v1.24
|
||||
*/
|
||||
|
||||
/* clearfix */
|
||||
.owl-carousel .owl-wrapper:after {
|
||||
content: ".";
|
||||
display: block;
|
||||
clear: both;
|
||||
visibility: hidden;
|
||||
line-height: 0;
|
||||
height: 0;
|
||||
}
|
||||
/* display none until init */
|
||||
.owl-carousel{
|
||||
display: none;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
-ms-touch-action: pan-y;
|
||||
}
|
||||
.owl-carousel .owl-wrapper{
|
||||
display: none;
|
||||
position: relative;
|
||||
-webkit-transform: translate3d(0px, 0px, 0px);
|
||||
}
|
||||
.owl-carousel .owl-wrapper-outer{
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
}
|
||||
.owl-carousel .owl-wrapper-outer.autoHeight{
|
||||
-webkit-transition: height 500ms ease-in-out;
|
||||
-moz-transition: height 500ms ease-in-out;
|
||||
-ms-transition: height 500ms ease-in-out;
|
||||
-o-transition: height 500ms ease-in-out;
|
||||
transition: height 500ms ease-in-out;
|
||||
}
|
||||
|
||||
.owl-carousel .owl-item{
|
||||
float: left;
|
||||
}
|
||||
.owl-controls .owl-page,
|
||||
.owl-controls .owl-buttons div{
|
||||
cursor: pointer;
|
||||
}
|
||||
.owl-controls {
|
||||
-webkit-user-select: none;
|
||||
-khtml-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
user-select: none;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
|
||||
}
|
||||
|
||||
/* mouse grab icon */
|
||||
.grabbing {
|
||||
cursor:url(grabbing.png) 8 8, move;
|
||||
}
|
||||
|
||||
/* fix */
|
||||
.owl-carousel .owl-wrapper,
|
||||
.owl-carousel .owl-item{
|
||||
-webkit-backface-visibility: hidden;
|
||||
-moz-backface-visibility: hidden;
|
||||
-ms-backface-visibility: hidden;
|
||||
-webkit-transform: translate3d(0,0,0);
|
||||
-moz-transform: translate3d(0,0,0);
|
||||
-ms-transform: translate3d(0,0,0);
|
||||
}
|
||||
|
||||
/* CSS3 Transitions */
|
||||
|
||||
.owl-origin {
|
||||
-webkit-perspective: 1200px;
|
||||
-webkit-perspective-origin-x : 50%;
|
||||
-webkit-perspective-origin-y : 50%;
|
||||
-moz-perspective : 1200px;
|
||||
-moz-perspective-origin-x : 50%;
|
||||
-moz-perspective-origin-y : 50%;
|
||||
perspective : 1200px;
|
||||
}
|
||||
/* fade */
|
||||
.owl-fade-out {
|
||||
z-index: 10;
|
||||
-webkit-animation: fadeOut .7s both ease;
|
||||
-moz-animation: fadeOut .7s both ease;
|
||||
animation: fadeOut .7s both ease;
|
||||
}
|
||||
.owl-fade-in {
|
||||
-webkit-animation: fadeIn .7s both ease;
|
||||
-moz-animation: fadeIn .7s both ease;
|
||||
animation: fadeIn .7s both ease;
|
||||
}
|
||||
/* backSlide */
|
||||
.owl-backSlide-out {
|
||||
-webkit-animation: backSlideOut 1s both ease;
|
||||
-moz-animation: backSlideOut 1s both ease;
|
||||
animation: backSlideOut 1s both ease;
|
||||
}
|
||||
.owl-backSlide-in {
|
||||
-webkit-animation: backSlideIn 1s both ease;
|
||||
-moz-animation: backSlideIn 1s both ease;
|
||||
animation: backSlideIn 1s both ease;
|
||||
}
|
||||
/* goDown */
|
||||
.owl-goDown-out {
|
||||
-webkit-animation: scaleToFade .7s ease both;
|
||||
-moz-animation: scaleToFade .7s ease both;
|
||||
animation: scaleToFade .7s ease both;
|
||||
}
|
||||
.owl-goDown-in {
|
||||
-webkit-animation: goDown .6s ease both;
|
||||
-moz-animation: goDown .6s ease both;
|
||||
animation: goDown .6s ease both;
|
||||
}
|
||||
/* scaleUp */
|
||||
.owl-fadeUp-in {
|
||||
-webkit-animation: scaleUpFrom .5s ease both;
|
||||
-moz-animation: scaleUpFrom .5s ease both;
|
||||
animation: scaleUpFrom .5s ease both;
|
||||
}
|
||||
|
||||
.owl-fadeUp-out {
|
||||
-webkit-animation: scaleUpTo .5s ease both;
|
||||
-moz-animation: scaleUpTo .5s ease both;
|
||||
animation: scaleUpTo .5s ease both;
|
||||
}
|
||||
/* Keyframes */
|
||||
/*empty*/
|
||||
@-webkit-keyframes empty {
|
||||
0% {opacity: 1}
|
||||
}
|
||||
@-moz-keyframes empty {
|
||||
0% {opacity: 1}
|
||||
}
|
||||
@keyframes empty {
|
||||
0% {opacity: 1}
|
||||
}
|
||||
@-webkit-keyframes fadeIn {
|
||||
0% { opacity:0; }
|
||||
100% { opacity:1; }
|
||||
}
|
||||
@-moz-keyframes fadeIn {
|
||||
0% { opacity:0; }
|
||||
100% { opacity:1; }
|
||||
}
|
||||
@keyframes fadeIn {
|
||||
0% { opacity:0; }
|
||||
100% { opacity:1; }
|
||||
}
|
||||
@-webkit-keyframes fadeOut {
|
||||
0% { opacity:1; }
|
||||
100% { opacity:0; }
|
||||
}
|
||||
@-moz-keyframes fadeOut {
|
||||
0% { opacity:1; }
|
||||
100% { opacity:0; }
|
||||
}
|
||||
@keyframes fadeOut {
|
||||
0% { opacity:1; }
|
||||
100% { opacity:0; }
|
||||
}
|
||||
@-webkit-keyframes backSlideOut {
|
||||
25% { opacity: .5; -webkit-transform: translateZ(-500px); }
|
||||
75% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
|
||||
100% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(-200%); }
|
||||
}
|
||||
@-moz-keyframes backSlideOut {
|
||||
25% { opacity: .5; -moz-transform: translateZ(-500px); }
|
||||
75% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
|
||||
100% { opacity: .5; -moz-transform: translateZ(-500px) translateX(-200%); }
|
||||
}
|
||||
@keyframes backSlideOut {
|
||||
25% { opacity: .5; transform: translateZ(-500px); }
|
||||
75% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
|
||||
100% { opacity: .5; transform: translateZ(-500px) translateX(-200%); }
|
||||
}
|
||||
@-webkit-keyframes backSlideIn {
|
||||
0%, 25% { opacity: .5; -webkit-transform: translateZ(-500px) translateX(200%); }
|
||||
75% { opacity: .5; -webkit-transform: translateZ(-500px); }
|
||||
100% { opacity: 1; -webkit-transform: translateZ(0) translateX(0); }
|
||||
}
|
||||
@-moz-keyframes backSlideIn {
|
||||
0%, 25% { opacity: .5; -moz-transform: translateZ(-500px) translateX(200%); }
|
||||
75% { opacity: .5; -moz-transform: translateZ(-500px); }
|
||||
100% { opacity: 1; -moz-transform: translateZ(0) translateX(0); }
|
||||
}
|
||||
@keyframes backSlideIn {
|
||||
0%, 25% { opacity: .5; transform: translateZ(-500px) translateX(200%); }
|
||||
75% { opacity: .5; transform: translateZ(-500px); }
|
||||
100% { opacity: 1; transform: translateZ(0) translateX(0); }
|
||||
}
|
||||
@-webkit-keyframes scaleToFade {
|
||||
to { opacity: 0; -webkit-transform: scale(.8); }
|
||||
}
|
||||
@-moz-keyframes scaleToFade {
|
||||
to { opacity: 0; -moz-transform: scale(.8); }
|
||||
}
|
||||
@keyframes scaleToFade {
|
||||
to { opacity: 0; transform: scale(.8); }
|
||||
}
|
||||
@-webkit-keyframes goDown {
|
||||
from { -webkit-transform: translateY(-100%); }
|
||||
}
|
||||
@-moz-keyframes goDown {
|
||||
from { -moz-transform: translateY(-100%); }
|
||||
}
|
||||
@keyframes goDown {
|
||||
from { transform: translateY(-100%); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes scaleUpFrom {
|
||||
from { opacity: 0; -webkit-transform: scale(1.5); }
|
||||
}
|
||||
@-moz-keyframes scaleUpFrom {
|
||||
from { opacity: 0; -moz-transform: scale(1.5); }
|
||||
}
|
||||
@keyframes scaleUpFrom {
|
||||
from { opacity: 0; transform: scale(1.5); }
|
||||
}
|
||||
|
||||
@-webkit-keyframes scaleUpTo {
|
||||
to { opacity: 0; -webkit-transform: scale(1.5); }
|
||||
}
|
||||
@-moz-keyframes scaleUpTo {
|
||||
to { opacity: 0; -moz-transform: scale(1.5); }
|
||||
}
|
||||
@keyframes scaleUpTo {
|
||||
to { opacity: 0; transform: scale(1.5); }
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
* Owl Carousel Owl Demo Theme
|
||||
* v1.24
|
||||
*/
|
||||
|
||||
.owl-theme .owl-controls{
|
||||
margin-top: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* Styling Next and Prev buttons */
|
||||
|
||||
.owl-theme .owl-controls .owl-buttons div{
|
||||
color: #FFF;
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;/*IE7 life-saver */
|
||||
margin: 5px;
|
||||
padding: 3px 10px;
|
||||
font-size: 12px;
|
||||
-webkit-border-radius: 30px;
|
||||
-moz-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
background: #869791;
|
||||
filter: Alpha(Opacity=50);/*IE7 fix*/
|
||||
opacity: 0.5;
|
||||
}
|
||||
/* Clickable class fix problem with hover on touch devices */
|
||||
/* Use it for non-touch hover action */
|
||||
.owl-theme .owl-controls.clickable .owl-buttons div:hover{
|
||||
filter: Alpha(Opacity=100);/*IE7 fix*/
|
||||
opacity: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
/* Styling Pagination*/
|
||||
|
||||
.owl-theme .owl-controls .owl-page{
|
||||
display: inline-block;
|
||||
zoom: 1;
|
||||
*display: inline;/*IE7 life-saver */
|
||||
}
|
||||
.owl-theme .owl-controls .owl-page span{
|
||||
display: block;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
margin: 5px 7px;
|
||||
filter: Alpha(Opacity=50);/*IE7 fix*/
|
||||
opacity: 0.5;
|
||||
-webkit-border-radius: 20px;
|
||||
-moz-border-radius: 20px;
|
||||
border-radius: 20px;
|
||||
background: #869791;
|
||||
}
|
||||
|
||||
.owl-theme .owl-controls .owl-page.active span,
|
||||
.owl-theme .owl-controls.clickable .owl-page:hover span{
|
||||
filter: Alpha(Opacity=100);/*IE7 fix*/
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* If PaginationNumbers is true */
|
||||
|
||||
.owl-theme .owl-controls .owl-page span.owl-numbers{
|
||||
height: auto;
|
||||
width: auto;
|
||||
color: #FFF;
|
||||
padding: 2px 10px;
|
||||
font-size: 12px;
|
||||
-webkit-border-radius: 30px;
|
||||
-moz-border-radius: 30px;
|
||||
border-radius: 30px;
|
||||
}
|
||||
|
||||
/* preloading images */
|
||||
.owl-item.loading{
|
||||
min-height: 150px;
|
||||
background: url(AjaxLoader.gif) no-repeat center center
|
||||
}
|
||||
|
||||
|
||||
/* Magnific Popup CSS */
|
||||
.mfp-bg {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1042;
|
||||
overflow: hidden;
|
||||
position: fixed;
|
||||
background: #0b0b0b;
|
||||
opacity: 0.8;
|
||||
filter: alpha(opacity=80); }
|
||||
|
||||
.mfp-wrap {
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-index: 1043;
|
||||
position: fixed;
|
||||
outline: none !important;
|
||||
-webkit-backface-visibility: hidden; }
|
||||
|
||||
.mfp-container {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
left: 0;
|
||||
top: 0;
|
||||
padding: 0 8px;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
|
||||
.mfp-container:before {
|
||||
content: '';
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
vertical-align: middle; }
|
||||
|
||||
.mfp-align-top .mfp-container:before {
|
||||
display: none; }
|
||||
|
||||
.mfp-content {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin: 0 auto;
|
||||
text-align: left;
|
||||
z-index: 1045; }
|
||||
|
||||
.mfp-inline-holder .mfp-content, .mfp-ajax-holder .mfp-content {
|
||||
width: 100%;
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-ajax-cur {
|
||||
cursor: progress; }
|
||||
|
||||
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
|
||||
cursor: -moz-zoom-out;
|
||||
cursor: -webkit-zoom-out;
|
||||
cursor: zoom-out; }
|
||||
|
||||
.mfp-zoom {
|
||||
cursor: pointer;
|
||||
cursor: -webkit-zoom-in;
|
||||
cursor: -moz-zoom-in;
|
||||
cursor: zoom-in; }
|
||||
|
||||
.mfp-auto-cursor .mfp-content {
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-close, .mfp-arrow, .mfp-preloader, .mfp-counter {
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
user-select: none; }
|
||||
|
||||
.mfp-loading.mfp-figure {
|
||||
display: none; }
|
||||
|
||||
.mfp-hide {
|
||||
display: none !important; }
|
||||
|
||||
.mfp-preloader {
|
||||
color: #cccccc;
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: auto;
|
||||
text-align: center;
|
||||
margin-top: -0.8em;
|
||||
left: 8px;
|
||||
right: 8px;
|
||||
z-index: 1044; }
|
||||
.mfp-preloader a {
|
||||
color: #cccccc; }
|
||||
.mfp-preloader a:hover {
|
||||
color: white; }
|
||||
|
||||
.mfp-s-ready .mfp-preloader {
|
||||
display: none; }
|
||||
|
||||
.mfp-s-error .mfp-content {
|
||||
display: none; }
|
||||
|
||||
button.mfp-close, button.mfp-arrow {
|
||||
overflow: visible;
|
||||
cursor: pointer;
|
||||
background: transparent;
|
||||
border: 0;
|
||||
-webkit-appearance: none;
|
||||
display: block;
|
||||
outline: none;
|
||||
padding: 0;
|
||||
z-index: 1046;
|
||||
-webkit-box-shadow: none;
|
||||
box-shadow: none; }
|
||||
button::-moz-focus-inner {
|
||||
padding: 0;
|
||||
border: 0; }
|
||||
|
||||
.mfp-close {
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
line-height: 44px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 0;
|
||||
text-decoration: none;
|
||||
text-align: center;
|
||||
opacity: 0.65;
|
||||
filter: alpha(opacity=65);
|
||||
padding: 0 0 18px 10px;
|
||||
color: white;
|
||||
font-style: normal;
|
||||
font-size: 28px;
|
||||
font-family: Arial, Baskerville, monospace; }
|
||||
.mfp-close:hover, .mfp-close:focus {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100); }
|
||||
.mfp-close:active {
|
||||
top: 1px; }
|
||||
|
||||
.mfp-close-btn-in .mfp-close {
|
||||
color: #333333; }
|
||||
|
||||
.mfp-image-holder .mfp-close, .mfp-iframe-holder .mfp-close {
|
||||
color: white;
|
||||
right: -6px;
|
||||
text-align: right;
|
||||
padding-right: 6px;
|
||||
width: 100%; }
|
||||
|
||||
.mfp-counter {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
color: #cccccc;
|
||||
font-size: 12px;
|
||||
line-height: 18px; }
|
||||
|
||||
.mfp-arrow {
|
||||
position: absolute;
|
||||
opacity: 0.65;
|
||||
filter: alpha(opacity=65);
|
||||
margin: 0;
|
||||
top: 50%;
|
||||
margin-top: -55px;
|
||||
padding: 0;
|
||||
width: 90px;
|
||||
height: 110px;
|
||||
-webkit-tap-highlight-color: rgba(0, 0, 0, 0); }
|
||||
.mfp-arrow:active {
|
||||
margin-top: -54px; }
|
||||
.mfp-arrow:hover, .mfp-arrow:focus {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=100); }
|
||||
.mfp-arrow:before, .mfp-arrow:after, .mfp-arrow .mfp-b, .mfp-arrow .mfp-a {
|
||||
content: '';
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
margin-top: 35px;
|
||||
margin-left: 35px;
|
||||
border: medium inset transparent; }
|
||||
.mfp-arrow:after, .mfp-arrow .mfp-a {
|
||||
border-top-width: 13px;
|
||||
border-bottom-width: 13px;
|
||||
top: 8px; }
|
||||
.mfp-arrow:before, .mfp-arrow .mfp-b {
|
||||
border-top-width: 21px;
|
||||
border-bottom-width: 21px;
|
||||
opacity: 0.7; }
|
||||
|
||||
.mfp-arrow-left {
|
||||
left: 0; }
|
||||
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
|
||||
border-right: 17px solid white;
|
||||
margin-left: 31px; }
|
||||
.mfp-arrow-left:before, .mfp-arrow-left .mfp-b {
|
||||
margin-left: 25px;
|
||||
border-right: 27px solid #3f3f3f; }
|
||||
|
||||
.mfp-arrow-right {
|
||||
right: 0; }
|
||||
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
|
||||
border-left: 17px solid white;
|
||||
margin-left: 39px; }
|
||||
.mfp-arrow-right:before, .mfp-arrow-right .mfp-b {
|
||||
border-left: 27px solid #3f3f3f; }
|
||||
|
||||
.mfp-iframe-holder {
|
||||
padding-top: 40px;
|
||||
padding-bottom: 40px; }
|
||||
.mfp-iframe-holder .mfp-content {
|
||||
line-height: 0;
|
||||
width: 100%;
|
||||
max-width: 900px; }
|
||||
.mfp-iframe-holder .mfp-close {
|
||||
top: -40px; }
|
||||
|
||||
.mfp-iframe-scaler {
|
||||
width: 100%;
|
||||
height: 0;
|
||||
overflow: hidden;
|
||||
padding-top: 56.25%; }
|
||||
.mfp-iframe-scaler iframe {
|
||||
position: absolute;
|
||||
display: block;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
||||
background: black; }
|
||||
|
||||
/* Main image in popup */
|
||||
img.mfp-img {
|
||||
width: auto;
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
display: block;
|
||||
line-height: 0;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box;
|
||||
padding: 40px 0 40px;
|
||||
margin: 0 auto; }
|
||||
|
||||
/* The shadow behind the image */
|
||||
.mfp-figure {
|
||||
line-height: 0; }
|
||||
.mfp-figure:after {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 40px;
|
||||
bottom: 40px;
|
||||
display: block;
|
||||
right: 0;
|
||||
width: auto;
|
||||
height: auto;
|
||||
z-index: -1;
|
||||
box-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
|
||||
background: #444444; }
|
||||
.mfp-figure small {
|
||||
color: #bdbdbd;
|
||||
display: block;
|
||||
font-size: 12px;
|
||||
line-height: 14px; }
|
||||
.mfp-figure figure {
|
||||
margin: 0; }
|
||||
|
||||
.mfp-bottom-bar {
|
||||
margin-top: -36px;
|
||||
position: absolute;
|
||||
top: 100%;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
cursor: auto; }
|
||||
|
||||
.mfp-title {
|
||||
text-align: left;
|
||||
line-height: 18px;
|
||||
color: #f3f3f3;
|
||||
word-wrap: break-word;
|
||||
padding-right: 36px; }
|
||||
|
||||
.mfp-image-holder .mfp-content {
|
||||
max-width: 100%; }
|
||||
|
||||
.mfp-gallery .mfp-image-holder .mfp-figure {
|
||||
cursor: pointer; }
|
||||
|
||||
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
|
||||
/**
|
||||
* Remove all paddings around the image on small screen
|
||||
*/
|
||||
.mfp-img-mobile .mfp-image-holder {
|
||||
padding-left: 0;
|
||||
padding-right: 0; }
|
||||
.mfp-img-mobile img.mfp-img {
|
||||
padding: 0; }
|
||||
.mfp-img-mobile .mfp-figure:after {
|
||||
top: 0;
|
||||
bottom: 0; }
|
||||
.mfp-img-mobile .mfp-figure small {
|
||||
display: inline;
|
||||
margin-left: 5px; }
|
||||
.mfp-img-mobile .mfp-bottom-bar {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
bottom: 0;
|
||||
margin: 0;
|
||||
top: auto;
|
||||
padding: 3px 5px;
|
||||
position: fixed;
|
||||
-webkit-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
box-sizing: border-box; }
|
||||
.mfp-img-mobile .mfp-bottom-bar:empty {
|
||||
padding: 0; }
|
||||
.mfp-img-mobile .mfp-counter {
|
||||
right: 5px;
|
||||
top: 3px; }
|
||||
.mfp-img-mobile .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 35px;
|
||||
height: 35px;
|
||||
line-height: 35px;
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
position: fixed;
|
||||
text-align: center;
|
||||
padding: 0; } }
|
||||
|
||||
@media all and (max-width: 900px) {
|
||||
.mfp-arrow {
|
||||
-webkit-transform: scale(0.75);
|
||||
transform: scale(0.75); }
|
||||
.mfp-arrow-left {
|
||||
-webkit-transform-origin: 0;
|
||||
transform-origin: 0; }
|
||||
.mfp-arrow-right {
|
||||
-webkit-transform-origin: 100%;
|
||||
transform-origin: 100%; }
|
||||
.mfp-container {
|
||||
padding-left: 6px;
|
||||
padding-right: 6px; } }
|
||||
|
||||
.mfp-ie7 .mfp-img {
|
||||
padding: 0; }
|
||||
.mfp-ie7 .mfp-bottom-bar {
|
||||
width: 600px;
|
||||
left: 50%;
|
||||
margin-left: -300px;
|
||||
margin-top: 5px;
|
||||
padding-bottom: 5px; }
|
||||
.mfp-ie7 .mfp-container {
|
||||
padding: 0; }
|
||||
.mfp-ie7 .mfp-content {
|
||||
padding-top: 44px; }
|
||||
.mfp-ie7 .mfp-close {
|
||||
top: 0;
|
||||
right: 0;
|
||||
padding-top: 0; }
|
||||
@@ -0,0 +1,693 @@
|
||||
#dslc-content {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dslc-content b { font-weight: bold; }
|
||||
#dslc-content i { font-style: italic; }
|
||||
|
||||
.dslca-container .dslca-close-composer-hook,
|
||||
.dslca-activate-composer-hook,
|
||||
.dslca-container .dslca-hide-composer-hook,
|
||||
.dslca-container .dslca-show-composer-hook {
|
||||
background: #e55f5f;
|
||||
border-radius: 3px;
|
||||
bottom: 4px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
font-size: 11px;
|
||||
font-family: "Open Sans";
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
padding: 11px 12px;
|
||||
text-transform: uppercase;
|
||||
text-decoration: none;
|
||||
white-space: nowrap;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
|
||||
.dslca-container .dslca-hide-composer-hook {
|
||||
background: #06b2ac;
|
||||
}
|
||||
|
||||
.dslca-container .dslca-show-composer-hook {
|
||||
background: #9268a9;
|
||||
}
|
||||
|
||||
.dslca-close-composer-hook:hover,
|
||||
.dslca-activate-composer-hook:hover {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.dslca-activate-composer-hook {
|
||||
background: #54c13f;
|
||||
position: fixed;
|
||||
z-index: 99999;
|
||||
right: 5px;
|
||||
bottom: 5px;
|
||||
}
|
||||
|
||||
.dslca-container .dslca-show-composer-hook {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.dslca-container .dslca-close-composer-hook .dslca-icon,
|
||||
.dslca-activate-composer-hook .dslca-icon,
|
||||
.dslca-container .dslca-hide-composer-hook .dslca-icon,
|
||||
.dslca-container .dslca-show-composer-hook .dslca-icon {
|
||||
color: rgba( 255, 255, 255, 0.66 );
|
||||
margin-right: 5px;
|
||||
}
|
||||
|
||||
.dslc-modules-section {
|
||||
border: 0px solid transparent;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dslc-modules-section.dslc-init-parallax {
|
||||
background-attachment: fixed;
|
||||
}
|
||||
|
||||
.dslc-modules-section-wrapper {
|
||||
max-width: 100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.dslc-modules-section.dslc-full .dslc-modules-section-wrapper {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dslc-module-front {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/**
|
||||
* Grid System
|
||||
*/
|
||||
|
||||
.dslc-col {
|
||||
display: block;
|
||||
float: left;
|
||||
margin-right: 2.12766%;
|
||||
}
|
||||
|
||||
.dslc-1-col { width: 6.38297%; }
|
||||
.dslc-2-col { width: 14.89361%; }
|
||||
.dslc-3-col { width: 23.40425%; }
|
||||
.dslc-4-col { width: 31.91489%; }
|
||||
.dslc-5-col { width: 40.42553%; }
|
||||
.dslc-6-col { width: 48.93617%; }
|
||||
.dslc-7-col { width: 57.4468%; }
|
||||
.dslc-8-col { width: 65.95744%; }
|
||||
.dslc-9-col { width: 74.46808%; }
|
||||
.dslc-10-col { width: 82.97872%; }
|
||||
.dslc-11-col { width: 91.48936%; }
|
||||
.dslc-12-col { width: 100%; }
|
||||
|
||||
.dslc-last-col {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.dslc-first-col {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dslc-module-heading:before,
|
||||
.dslc-module-heading:after,
|
||||
.dslc-clearfix:before,
|
||||
.dslc-clearfix:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.dslc-module-heading:after,
|
||||
.dslc-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dslc-module-heading,
|
||||
.dslc-clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.dslc-clear {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dslc-no-float {
|
||||
float: none !important;
|
||||
}
|
||||
|
||||
.dslc-carousel .dslc-col,
|
||||
.dslc-carousel .dslc-first-col,
|
||||
.dslc-carousel .dslc-last-col {
|
||||
float: none;
|
||||
clear: none;
|
||||
margin: 0;
|
||||
margin-left: 10px;
|
||||
/* margin-right: 2.12766% !important; */
|
||||
}
|
||||
|
||||
.dslc-carousel .owl-item:first-child .dslc-col {
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.dslc-carousel-item {
|
||||
width: auto;
|
||||
|
||||
}
|
||||
|
||||
.dslc-carousel-nav {
|
||||
float: right;
|
||||
}
|
||||
|
||||
.dslc-carousel-nav-inner {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.dslc-carousel-nav-prev,
|
||||
.dslc-carousel-nav-next {
|
||||
background: #c9c9c9;
|
||||
border: 0px solid transparent;
|
||||
border-radius: 3px;
|
||||
display: inline-block;
|
||||
height: 23px;
|
||||
position: relative;
|
||||
width: 23px;
|
||||
text-decoration: none;
|
||||
vertical-align: bottom;
|
||||
}
|
||||
|
||||
.dslc-carousel-nav-prev {
|
||||
margin-right: 7px;
|
||||
}
|
||||
|
||||
.dslc-carousel-nav-next {
|
||||
|
||||
}
|
||||
|
||||
.dslc-carousel-nav-prev span,
|
||||
.dslc-carousel-nav-next span {
|
||||
color: #fff;
|
||||
font-size: 10px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
text-align: center;
|
||||
font-weight: normal;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-carousel .owl-pagination .owl-page span {
|
||||
margin: 0;
|
||||
filter: Alpha(Opacity=100);/*IE7 fix*/
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Slider
|
||||
*/
|
||||
|
||||
#dslc-content .dslc-slider {
|
||||
padding-bottom: 1px;
|
||||
opacity: 0;
|
||||
max-height: 10px;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-slider img {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-slider .owl-pagination .owl-page span {
|
||||
margin: 0;
|
||||
filter: Alpha(Opacity=100);/*IE7 fix*/
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
|
||||
.dslc-button {
|
||||
/*
|
||||
border: 2px solid #d8d8d8;
|
||||
color: #686868;
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
line-height: 1;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
*/
|
||||
}
|
||||
|
||||
.dslc-carousel {
|
||||
opacity: 0;
|
||||
max-height: 100px;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loader
|
||||
*/
|
||||
|
||||
@keyframes "dslcSpin" {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
-moz-transform: rotate(0deg);
|
||||
-o-transform: rotate(0deg);
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
-moz-transform: rotate(360deg);
|
||||
-o-transform: rotate(360deg);
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-moz-keyframes dslcSpin {
|
||||
0% {
|
||||
-moz-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-moz-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-webkit-keyframes "dslcSpin" {
|
||||
0% {
|
||||
-webkit-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-webkit-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-ms-keyframes "dslcSpin" {
|
||||
0% {
|
||||
-ms-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-ms-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
@-o-keyframes "dslcSpin" {
|
||||
0% {
|
||||
-o-transform: rotate(0deg);
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
100% {
|
||||
-o-transform: rotate(360deg);
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
.dslc-loader {
|
||||
position: relative;
|
||||
display: inline-block;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
border: 2px solid #0cf;
|
||||
border-radius: 50%;
|
||||
-webkit-animation: dslcSpin 0.75s infinite linear;
|
||||
-moz-animation: dslcSpin 0.75s infinite linear;
|
||||
-ms-animation: dslcSpin 0.75s infinite linear;
|
||||
-o-animation: dslcSpin 0.75s infinite linear;
|
||||
animation: dslcSpin 0.75s infinite linear;
|
||||
margin-left: 48%;
|
||||
}
|
||||
|
||||
.dslc-loader::before,
|
||||
.dslc-loader::after {
|
||||
left: -2px;
|
||||
top: -2px;
|
||||
display: none;
|
||||
position: absolute;
|
||||
content: '';
|
||||
width: inherit;
|
||||
height: inherit;
|
||||
border: inherit;
|
||||
border-radius: inherit;
|
||||
}
|
||||
|
||||
.dslc-loader,
|
||||
.dslc-loader::before {
|
||||
display: inline-block;
|
||||
border-color: transparent;
|
||||
border-top-color: #0cf;
|
||||
}
|
||||
|
||||
.dslc-loader::before {
|
||||
-webkit-animation: dslcSpin 1.5s infinite ease;
|
||||
-moz-animation: dslcSpin 1.5s infinite ease;
|
||||
-ms-animation: dslcSpin 1.5s infinite ease;
|
||||
-o-animation: dslcSpin 1.5s infinite ease;
|
||||
animation: dslcSpin 1.5s infinite ease;
|
||||
}
|
||||
|
||||
/**
|
||||
* Elements
|
||||
*/
|
||||
|
||||
.dslc-notification {
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
border-radius: 3px;
|
||||
color: #979797;
|
||||
margin-bottom: 20px;
|
||||
padding: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.dslc-notification .dslc-icon {
|
||||
cursor: pointer;
|
||||
position: absolute;
|
||||
right: 14px;
|
||||
top: 21px;
|
||||
}
|
||||
|
||||
.dslc-notification.dslc-red {
|
||||
background: #f65757;
|
||||
border-color: #e43737;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
||||
}
|
||||
|
||||
.dslc-notification.dslc-yellow {
|
||||
background: #fac841;
|
||||
border-color: #eab72e;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
||||
}
|
||||
|
||||
.dslc-notification.dslc-green {
|
||||
background: #8ccb25;
|
||||
border-color: #77b01a;
|
||||
color: #fff;
|
||||
text-shadow: 0 1px 1px rgba(0,0,0,.14);
|
||||
}
|
||||
|
||||
#dslc-content .dslc-module-heading {
|
||||
overflow: hidden;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-module-heading h2 {
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 17px;
|
||||
font-weight: 400;
|
||||
font-family: "Oswald";
|
||||
line-height: 1;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-right: 15px;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-module-heading-view-all {
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
margin: 3px 0;
|
||||
margin-right: 20px;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-module-heading-view-all a {
|
||||
display: block;
|
||||
padding-left: 15px;
|
||||
border-left: 1px dotted #4f4f4f;
|
||||
font-family: "Open Sans";
|
||||
font-weight: 600;
|
||||
line-height: 1;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dslc-masonry-item {
|
||||
margin-bottom: 30px;
|
||||
}
|
||||
|
||||
.dslc-masonry-item-animate {
|
||||
-webkit-transition: all 0.5s ease-in-out;
|
||||
-moz-transition: all 0.5s ease-in-out;
|
||||
-o-transition: all 0.5s ease-in-out;
|
||||
-ms-transition: all 0.5s ease-in-out;
|
||||
transition: all 0.5s ease-in-out;
|
||||
}
|
||||
|
||||
.dslc-post-separator {
|
||||
clear: both;
|
||||
height: 1px;
|
||||
margin-bottom: 15px;
|
||||
padding-bottom: 15px;
|
||||
border-bottom: 1px solid #ededed;
|
||||
}
|
||||
|
||||
.dslc-pagination {
|
||||
border: 0px solid transparent;
|
||||
overflow: hidden;
|
||||
margin-top: 30px;
|
||||
}
|
||||
|
||||
.dslc-pagination ul {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.dslc-pagination li {
|
||||
display: inline-block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.dslc-pagination li a {
|
||||
background: #eee;
|
||||
border: 0px solid transparent;
|
||||
color: #000;
|
||||
display: block;
|
||||
line-height: 1;
|
||||
padding: 10px;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.dslc-pagination li.current a {
|
||||
background: #000;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.dslc-init-center {
|
||||
visibility: hidden;
|
||||
}
|
||||
|
||||
.dslc-init-topleft {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
left: 0 !important;
|
||||
bottom: auto !important;
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
.dslc-init-topright {
|
||||
position: absolute !important;
|
||||
top: 0 !important;
|
||||
right: 0 !important;
|
||||
bottom: auto !important;
|
||||
left: auto !important
|
||||
}
|
||||
|
||||
.dslc-init-bottomleft {
|
||||
position: absolute !important;
|
||||
bottom: 0 !important;
|
||||
left: 0 !important;
|
||||
top: auto !important;
|
||||
right: auto !important;
|
||||
}
|
||||
|
||||
.dslc-init-bottomright {
|
||||
position: absolute !important;
|
||||
bottom: 0 !important;
|
||||
right: 0 !important;
|
||||
top: auto !important;
|
||||
left: auto !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Post Filters
|
||||
*/
|
||||
|
||||
.dslc-post-filters {
|
||||
float: left;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dslc-post-filter {
|
||||
background: #fff;
|
||||
border: 1px solid #e8e8e8;
|
||||
border-radius: 3px;
|
||||
color: #979797;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
float: left;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
font-family: "Open Sans";
|
||||
line-height: 1;
|
||||
padding: 12px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.dslc-post-filter.dslc-active {
|
||||
color: #ff4e01;
|
||||
}
|
||||
|
||||
.dslc-post-filter:last-child {
|
||||
margin-right: 0 !important;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Full Width Video BG
|
||||
*/
|
||||
|
||||
#dslc-content .dslc-bg-video {
|
||||
background: transparent;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-bg-video.dslc-force-show {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-bg-video .mejs-container {
|
||||
background: transparent;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
top: 0;
|
||||
width: 100% !important;
|
||||
height: auto !important;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-bg-video video {
|
||||
min-width: 100%;
|
||||
height: auto !important;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-bg-video .mejs-controls {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
#dslc-content .dslc-bg-video-overlay {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
opacity : 0;
|
||||
background: #000;
|
||||
}
|
||||
|
||||
/*
|
||||
#dslc-content[max-width~="850px"] {
|
||||
|
||||
}
|
||||
|
||||
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col {
|
||||
width: 31.91489%;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.dslc-modules-area[max-width~="850px"] .dslc-res-sm-auto.dslc-post.dslc-2-col:nth-child(3n+3) {
|
||||
margin-right: 0;
|
||||
}
|
||||
*/
|
||||
|
||||
|
||||
|
||||
|
||||
.dslc-col {
|
||||
/* min-width: 200px; */
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] {
|
||||
/* padding: 0 15px; */
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] .dslc-modules-section {
|
||||
padding: 20px !important;
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] .dslc-col {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
margin-bottom: 30px;
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] .dslc-col.dslc-carousel-item {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] .dslc-post-separator,
|
||||
#dslc-content[max-width~="480px"] .dslc-post-filters {
|
||||
display: none;
|
||||
}
|
||||
|
||||
#dslc-content[max-width~="480px"] .dslc-blog-posts-orientation-horizontal .dslc-blog-post-thumb {
|
||||
width: 100% !important;
|
||||
margin-bottom: 15px !important;
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsive ( User Set )
|
||||
*/
|
||||
|
||||
body.dslc-res-phone .dslc-col {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
margin-bottom: 30px;
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
@media only screen and ( max-width: 767px ) {
|
||||
|
||||
.dslc-col {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
margin-bottom: 30px;
|
||||
min-width: 0px;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Responsive PREVIEW ( when a tab for responsive options is selected )
|
||||
*/
|
||||
|
||||
body.dslca-enabled.dslc-res-tablet #dslc-content {
|
||||
max-width: 768px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
body.dslca-enabled.dslc-res-phone #dslc-content {
|
||||
max-width: 480px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
@@ -0,0 +1,196 @@
|
||||
<?php
|
||||
/*
|
||||
Plugin Name: Live Composer
|
||||
Plugin URI: http://www.livecomposerplugin.com
|
||||
Description: Live Composer - Live front-end content management.
|
||||
Author: DanyDuchaine
|
||||
Version: 1.0.3
|
||||
Author URI: http://danyduchaine.com
|
||||
*/
|
||||
|
||||
/**
|
||||
* Constants
|
||||
*/
|
||||
|
||||
define( 'DS_LIVE_COMPOSER_URL', plugin_dir_url( __FILE__ ) );
|
||||
define( 'DS_LIVE_COMPOSER_DIR_NAME', dirname( plugin_basename( __FILE__ ) ) );
|
||||
define( 'DS_LIVE_COMPOSER_ABS', dirname(__FILE__) );
|
||||
define( 'DS_LIVE_COMPOSER_CAPABILITY', 'publish_posts' );
|
||||
define( 'DS_LIVE_COMPOSER_CAPABILITY_SAVE', 'publish_posts' );
|
||||
|
||||
define( 'DSLC_PO_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework' );
|
||||
define( 'DSLC_ST_FRAMEWORK_ABS', DS_LIVE_COMPOSER_ABS . '/includes/single-templates-framework' );
|
||||
|
||||
$dslc_post_types = array( 'post', 'dslc_projects', 'dslc_galleries', 'dslc_downloads', 'dslc_staff', 'dslc_partners' );
|
||||
|
||||
// Templates post types
|
||||
$dslc_var_templates_pt = array();
|
||||
$dslc_var_templates_pt['post'] = 'Blog Posts';
|
||||
$dslc_var_templates_pt['dslc_projects'] = 'Projects';
|
||||
$dslc_var_templates_pt['dslc_galleries'] = 'Galleries';
|
||||
$dslc_var_templates_pt['dslc_downloads'] = 'Downloads';
|
||||
$dslc_var_templates_pt['dslc_staff'] = 'Staff';
|
||||
$dslc_var_templates_pt['dslc_partners'] = 'Partners';
|
||||
|
||||
/**
|
||||
* Is live composer currently active?
|
||||
*/
|
||||
|
||||
if ( isset( $_REQUEST['dslc'] ) && $_REQUEST['dslc'] === 'active' ) {
|
||||
$dslc_active = true;
|
||||
define( 'DS_LIVE_COMPOSER_ACTIVE', true );
|
||||
} else {
|
||||
$dslc_active = false;
|
||||
define( 'DS_LIVE_COMPOSER_ACTIVE', false );
|
||||
}
|
||||
|
||||
/**
|
||||
* Global Variables
|
||||
*/
|
||||
|
||||
$dslc_var_modules = array(); // Will hold modules information
|
||||
$dslc_var_templates = array(); // Will hold templates information
|
||||
$dslc_var_post_options = array(); // Will hold post options information
|
||||
|
||||
$dslc_css_fonts = '';
|
||||
$dslc_css_style = '';
|
||||
$dslc_googlefonts_array = array();
|
||||
$dslc_is_content_filtered = array();
|
||||
$dslc_should_filter = true;
|
||||
|
||||
/**
|
||||
* Default Templates
|
||||
*/
|
||||
|
||||
$dslc_var_templates['dslc-blog-ex-1'] = array(
|
||||
'title' => 'Blog Variation 1',
|
||||
'id' => 'dslc-blog-ex-1',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="" border="" bg_color="" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="61" padding_h="0" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTc6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6MTE6Im9yaWVudGF0aW9uIjtzOjg6InZlcnRpY2FsIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiI2IjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6MzU6InRodW1ibmFpbCBtZXRhIHRpdGxlIGV4Y2VycHQgYnV0dG9uIjtzOjE3OiJjYXJvdXNlbF9lbGVtZW50cyI7czoxNDoiYXJyb3dzIGNpcmNsZXMiO3M6MjA6ImNzc193cmFwcGVyX2JnX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc193cmFwcGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6Mjk6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzI6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6Mjg6ImNzc193cmFwcGVyX3BhZGRpbmdfdmVydGljYWwiO3M6MToiMCI7czozMDoiY3NzX3dyYXBwZXJfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjA6ImNzc19zZXBfYm9yZGVyX2NvbG9yIjtzOjc6IiNlZGVkZWQiO3M6MTQ6ImNzc19zZXBfaGVpZ2h0IjtzOjI6IjMyIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjY6ImRhc2hlZCI7czoxODoiY3NzX3RodW1iX2JnX2NvbG9yIjtzOjA6IiI7czoyNzoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjQiO3M6MzA6ImNzc190aHVtYl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjEyOiJ0aHVtYl9tYXJnaW4iO3M6MToiMCI7czoxODoidGh1bWJfbWFyZ2luX3JpZ2h0IjtzOjI6IjIwIjtzOjI2OiJjc3NfdGh1bWJfcGFkZGluZ192ZXJ0aWNhbCI7czoxOiIwIjtzOjI4OiJjc3NfdGh1bWJfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MTE6InRodW1iX3dpZHRoIjtzOjM6IjEwMCI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoxNzoicmlnaHQgYm90dG9tIGxlZnQiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjQiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzAiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiI1MCI7czoxOToiY3NzX21haW5fbWluX2hlaWdodCI7czoxOiIwIjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjY6ImNlbnRlciI7czoxMToidGl0bGVfY29sb3IiO3M6NzoiIzRkNGQ0ZCI7czoxNzoidGl0bGVfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjE1OiJ0aXRsZV9mb250X3NpemUiO3M6MjoiMjUiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo3OiJSYWxld2F5IjtzOjE3OiJ0aXRsZV9saW5lX2hlaWdodCI7czoyOiIzOCI7czoxMjoidGl0bGVfbWFyZ2luIjtzOjI6IjE2IjtzOjIxOiJjc3NfbWV0YV9ib3JkZXJfY29sb3IiO3M6NzoiI2U1ZTVlNSI7czoyMToiY3NzX21ldGFfYm9yZGVyX3dpZHRoIjtzOjE6IjEiO3M6MTQ6ImNzc19tZXRhX2NvbG9yIjtzOjc6IiNhOGE4YTgiO3M6MTg6ImNzc19tZXRhX2ZvbnRfc2l6ZSI7czoyOiIxMSI7czoyMDoiY3NzX21ldGFfZm9udF9mYW1pbHkiO3M6MTc6IkxpYnJlIEJhc2tlcnZpbGxlIjtzOjIwOiJjc3NfbWV0YV9mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjI6ImNzc19tZXRhX21hcmdpbl9ib3R0b20iO3M6MjoiMTYiO3M6MjU6ImNzc19tZXRhX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTYiO3M6Mjc6ImNzc19tZXRhX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjE5OiJjc3NfbWV0YV9saW5rX2NvbG9yIjtzOjc6IiM1ODkwZTUiO3M6MjU6ImNzc19tZXRhX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiIzU4OTBlNSI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzk5OTk5OSI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjE2IjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjQ6Ik11bGkiO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjMwIjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoyOiIyMiI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiNDAiO3M6MTE6ImJ1dHRvbl90ZXh0IjtzOjE2OiJDT05USU5VRSBSRUFESU5HIjtzOjE5OiJjc3NfYnV0dG9uX2JnX2NvbG9yIjtzOjc6IiM1ODkwZTUiO3M6MjU6ImNzc19idXR0b25fYmdfY29sb3JfaG92ZXIiO3M6NzoiIzRiN2JjMiI7czoyMzoiY3NzX2J1dHRvbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMzoiY3NzX2J1dHRvbl9ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjI5OiJjc3NfYnV0dG9uX2JvcmRlcl9jb2xvcl9ob3ZlciI7czowOiIiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfYnV0dG9uX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19idXR0b25fY29sb3JfaG92ZXIiO3M6NzoiI2ZmZmZmZiI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTEiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiODAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjQ6IkxhdG8iO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMiI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTIiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjA6IiI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjA6IiI7czoyNzoiY3NzX2J1dHRvbl9pY29uX2NvbG9yX2hvdmVyIjtzOjA6IiI7czoyMjoiY3NzX2J1dHRvbl9pY29uX21hcmdpbiI7czoxOiI1IjtzOjE4OiJtYWluX2hlYWRpbmdfdGl0bGUiO3M6MTM6IkNMSUNLIFRPIEVESVQiO3M6MjM6Im1haW5faGVhZGluZ19saW5rX3RpdGxlIjtzOjg6IlZJRVcgQUxMIjtzOjIyOiJjc3NfbWFpbl9oZWFkaW5nX2NvbG9yIjtzOjA6IiI7czoyNjoiY3NzX21haW5faGVhZGluZ19mb250X3NpemUiO3M6MjoiMTciO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-blog-ex-2'] = array(
|
||||
'title' => 'Blog Variation 2',
|
||||
'id' => 'dslc-blog-ex-2',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="" border="" bg_color="#f7f7f7" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="49" padding_h="0" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToyMzU6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjExOiJvcmllbnRhdGlvbiI7czo4OiJ2ZXJ0aWNhbCI7czo2OiJhbW91bnQiO3M6MToiNiI7czoxNToicGFnaW5hdGlvbl90eXBlIjtzOjg6Im51bWJlcmVkIjtzOjc6ImNvbHVtbnMiO3M6MToiNCI7czoxMDoiY2F0ZWdvcmllcyI7czowOiIiO3M6Nzoib3JkZXJieSI7czo0OiJkYXRlIjtzOjU6Im9yZGVyIjtzOjQ6IkRFU0MiO3M6ODoiZWxlbWVudHMiO3M6MjE6Im1haW5faGVhZGluZyBmaWx0ZXJzICI7czoxMzoicG9zdF9lbGVtZW50cyI7czozMToidGh1bWJuYWlsIHRpdGxlIGV4Y2VycHQgYnV0dG9uICI7czoxNzoiY2Fyb3VzZWxfZWxlbWVudHMiO3M6MTQ6ImFycm93cyBjaXJjbGVzIjtzOjIwOiJjc3Nfd3JhcHBlcl9iZ19jb2xvciI7czowOiIiO3M6MjQ6ImNzc193cmFwcGVyX2JvcmRlcl9jb2xvciI7czowOiIiO3M6MjQ6ImNzc193cmFwcGVyX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIzOiJjc3Nfd3JhcHBlcl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjI5OiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjMyOiJjc3Nfd3JhcHBlcl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjE3OiJjc3NfbWFyZ2luX2JvdHRvbSI7czoxOiIwIjtzOjI4OiJjc3Nfd3JhcHBlcl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6MzA6ImNzc193cmFwcGVyX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjZWRlZGVkIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIzMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo1OiJzb2xpZCI7czoxODoiY3NzX3RodW1iX2JnX2NvbG9yIjtzOjA6IiI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl9jb2xvciI7czo3OiIjZTZlNmU2IjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjE6ImNzc190aHVtYl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjI3OiJjc3NfdGh1bWJfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozMDoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTI6InRodW1iX21hcmdpbiI7czoxOiIwIjtzOjE4OiJ0aHVtYl9tYXJnaW5fcmlnaHQiO3M6MjoiMjAiO3M6MjY6ImNzc190aHVtYl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjg6ImNzc190aHVtYl9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czowOiIiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czowOiIiO3M6MTE6InRodW1iX3dpZHRoIjtzOjM6IjEwMCI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiI2UzNjM0ZCI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjA6ImNzc19tYWluX2JvcmRlcl90cmJsIjtzOjIyOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQgIjtzOjI2OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjM0IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzciO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MToiMCI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo0OiJsZWZ0IjtzOjExOiJ0aXRsZV9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjE3OiJ0aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyNSI7czoyMToiY3NzX3RpdGxlX2ZvbnRfd2VpZ2h0IjtzOjM6IjUwMCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjM1IjtzOjEyOiJ0aXRsZV9tYXJnaW4iO3M6MjoiMTciO3M6MjE6ImNzc19tZXRhX2JvcmRlcl9jb2xvciI7czo3OiIjZTVlNWU1IjtzOjIxOiJjc3NfbWV0YV9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czoyMDoiY3NzX21ldGFfYm9yZGVyX3RyYmwiO3M6MTA6InRvcCBib3R0b20iO3M6MTQ6ImNzc19tZXRhX2NvbG9yIjtzOjc6IiNhOGE4YTgiO3M6MTg6ImNzc19tZXRhX2ZvbnRfc2l6ZSI7czoyOiIxMSI7czoyMDoiY3NzX21ldGFfZm9udF9mYW1pbHkiO3M6MTc6IkxpYnJlIEJhc2tlcnZpbGxlIjtzOjIwOiJjc3NfbWV0YV9mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjI6ImNzc19tZXRhX21hcmdpbl9ib3R0b20iO3M6MjoiMTYiO3M6MjU6ImNzc19tZXRhX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTYiO3M6Mjc6ImNzc19tZXRhX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjE5OiJjc3NfbWV0YV9saW5rX2NvbG9yIjtzOjc6IiM1ODkwZTUiO3M6MjU6ImNzc19tZXRhX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiIzU4OTBlNSI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2YwZDZkNiI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjE1IjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjQ6IkxhdG8iO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjI3IjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoyOiIyOCI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiNDAiO3M6MTE6ImJ1dHRvbl90ZXh0IjtzOjE2OiJDT05USU5VRSBSRUFESU5HIjtzOjE5OiJjc3NfYnV0dG9uX2JnX2NvbG9yIjtzOjc6IiNjMjQ4MzgiO3M6MjU6ImNzc19idXR0b25fYmdfY29sb3JfaG92ZXIiO3M6NzoiI2ZmZmZmZiI7czoyMzoiY3NzX2J1dHRvbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMjoiY3NzX2J1dHRvbl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjIzOiJjc3NfYnV0dG9uX2JvcmRlcl9jb2xvciI7czo3OiIjMTQwZjBmIjtzOjI5OiJjc3NfYnV0dG9uX2JvcmRlcl9jb2xvcl9ob3ZlciI7czo3OiIjOWU2ZDZkIjtzOjI0OiJjc3NfYnV0dG9uX2JvcmRlcl9yYWRpdXMiO3M6MToiMCI7czoxNjoiY3NzX2J1dHRvbl9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIyOiJjc3NfYnV0dG9uX2NvbG9yX2hvdmVyIjtzOjc6IiM4ZjhmOGYiO3M6MjA6ImNzc19idXR0b25fZm9udF9zaXplIjtzOjI6IjEyIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfd2VpZ2h0IjtzOjM6IjgwMCI7czoyMjoiY3NzX2J1dHRvbl9mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjI3OiJjc3NfYnV0dG9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjk6ImNzc19idXR0b25fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE5IjtzLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-blog-ex-3'] = array(
|
||||
'title' => 'Blog Variation 3',
|
||||
'id' => 'dslc-blog-ex-3',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="solid" border="bottom " bg_color="#f7f9fa" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="63" padding_h="0" ] [dslc_modules_area last="no" size="8"] [dslc_module]YToxNTc6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6MTE6Im9yaWVudGF0aW9uIjtzOjEwOiJob3Jpem9udGFsIjtzOjY6ImFtb3VudCI7czoxOiIzIjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czoxMDoiY2F0ZWdvcmllcyI7czowOiIiO3M6Nzoib3JkZXJieSI7czo0OiJkYXRlIjtzOjU6Im9yZGVyIjtzOjM6IkFTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6MzU6InRodW1ibmFpbCBtZXRhIHRpdGxlIGV4Y2VycHQgYnV0dG9uIjtzOjE3OiJjYXJvdXNlbF9lbGVtZW50cyI7czoxNDoiYXJyb3dzIGNpcmNsZXMiO3M6MjA6ImNzc193cmFwcGVyX2JnX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyNDoiY3NzX3dyYXBwZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc193cmFwcGVyX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6Mjk6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjMiO3M6MzI6ImNzc193cmFwcGVyX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjg6ImNzc193cmFwcGVyX3BhZGRpbmdfdmVydGljYWwiO3M6MToiMCI7czozMDoiY3NzX3dyYXBwZXJfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MjA6ImNzc19zZXBfYm9yZGVyX2NvbG9yIjtzOjc6IiNlNmU2ZTYiO3M6MTQ6ImNzc19zZXBfaGVpZ2h0IjtzOjI6IjQ0IjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjU6InNvbGlkIjtzOjE4OiJjc3NfdGh1bWJfYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyNzoiY3NzX3RodW1iX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjQiO3M6MzA6ImNzc190aHVtYl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiI0IjtzOjEyOiJ0aHVtYl9tYXJnaW4iO3M6MToiMCI7czoxODoidGh1bWJfbWFyZ2luX3JpZ2h0IjtzOjE6IjAiO3M6MjY6ImNzc190aHVtYl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6Mjg6ImNzc190aHVtYl9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxMToidGh1bWJfd2lkdGgiO3M6MjoiMjkiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjA6IiI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoyMjoidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0ICI7czoyNjoiY3NzX21haW5fYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiNCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoxOiIwIjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiNTMiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MToiMCI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo0OiJsZWZ0IjtzOjExOiJ0aXRsZV9jb2xvciI7czo3OiIjNjE2MTYxIjtzOjE3OiJ0aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTU6InRpdGxlX2ZvbnRfc2l6ZSI7czoyOiIyOCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfd2VpZ2h0IjtzOjM6IjUwMCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6MTc6InRpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjQwIjtzOjEyOiJ0aXRsZV9tYXJnaW4iO3M6MjoiMTYiO3M6MjE6ImNzc19tZXRhX2JvcmRlcl9jb2xvciI7czo3OiIjZTVlNWU1IjtzOjIxOiJjc3NfbWV0YV9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czoxNDoiY3NzX21ldGFfY29sb3IiO3M6NzoiI2E4YThhOCI7czoxODoiY3NzX21ldGFfZm9udF9zaXplIjtzOjI6IjEzIjtzOjIwOiJjc3NfbWV0YV9mb250X2ZhbWlseSI7czo3OiJCcmF3bGVyIjtzOjIwOiJjc3NfbWV0YV9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjI6ImNzc19tZXRhX21hcmdpbl9ib3R0b20iO3M6MjoiMTYiO3M6MjU6ImNzc19tZXRhX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTciO3M6Mjc6ImNzc19tZXRhX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjE5OiJjc3NfbWV0YV9saW5rX2NvbG9yIjtzOjc6IiNlNjZlNjUiO3M6MjU6ImNzc19tZXRhX2xpbmtfY29sb3JfaG92ZXIiO3M6NzoiI2M3NWI1NCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzg3ODc4NyI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjE2IjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjc6IkJyYXdsZXIiO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjI5IjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoyOiIyOSI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiNDAiO3M6MTE6ImJ1dHRvbl90ZXh0IjtzOjE2OiJDb250aW51ZSBSZWFkaW5nIjtzOjE5OiJjc3NfYnV0dG9uX2JnX2NvbG9yIjtzOjc6IiNlNjZlNjUiO3M6MjU6ImNzc19idXR0b25fYmdfY29sb3JfaG92ZXIiO3M6NzoiI2MyNTA0OCI7czoyMzoiY3NzX2J1dHRvbl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMzoiY3NzX2J1dHRvbl9ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjI5OiJjc3NfYnV0dG9uX2JvcmRlcl9jb2xvcl9ob3ZlciI7czowOiIiO3M6MjQ6ImNzc19idXR0b25fYm9yZGVyX3JhZGl1cyI7czoxOiIzIjtzOjE2OiJjc3NfYnV0dG9uX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc19idXR0b25fY29sb3JfaG92ZXIiO3M6NzoiI2ZmZmZmZiI7czoyMDoiY3NzX2J1dHRvbl9mb250X3NpemUiO3M6MjoiMTIiO3M6MjI6ImNzc19idXR0b25fZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfZmFtaWx5IjtzOjEyOiJNZXJyaXdlYXRoZXIiO3M6Mjc6ImNzc19idXR0b25fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMyI7czoyOToiY3NzX2J1dHRvbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMTQiO3M6MTQ6ImJ1dHRvbl9pY29uX2lkIjtzOjExOiJhcnJvdy1yaWdodCI7czoyMToiY3NzX2J1dHRvbl9pY29uX2NvbG9yIjtzOjc6IiNmN2FiYTYiO3M6Mjc6ImNzc19idXR0b25faWNvbl9jb2xvcl9ob3ZlciI7czowOiIiO3M6MjI6ImNzc19idXR0b25faWNvbl9tYXJnaW4iO3M6MToiNSI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjEzOiJDTElDSyBUTyBFRElUIjtzOjIzOiJtYWluX2hlYWRpbmdfbGlua190aXRsZSI7czo4OiJWSUVXIEFMTCI7czoyMjoiY3NzX21haW5faGVhZGluZ19jb2xvciI7czowOiIiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjE3IjtzOjI4OiJjLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-projects-ex-2'] = array(
|
||||
'title' => 'Projects Variation 1',
|
||||
'id' => 'dslc-projects-ex-1',
|
||||
'code' => '[dslc_modules_section type="full" border_color="" border_width="0" border_style="" border="" bg_color="#f7f6f4" bg_image="" bg_video="" bg_video_overlay_color="" bg_video_overlay_opacity="" bg_image_repeat="no-repeat" bg_image_attachment="parallax" bg_image_position="center bottom" bg_image_size="auto" padding="58" padding_h="5" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTM6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6NjoiYW1vdW50IjtzOjE6IjYiO3M6MTU6InBhZ2luYXRpb25fdHlwZSI7czo4OiJkaXNhYmxlZCI7czo3OiJjb2x1bW5zIjtzOjE6IjIiO3M6MTA6ImNhdGVnb3JpZXMiO3M6MDoiIjtzOjc6Im9yZGVyYnkiO3M6NDoiZGF0ZSI7czo1OiJvcmRlciI7czo0OiJERVNDIjtzOjg6ImVsZW1lbnRzIjtzOjg6ImZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjQyOiJ0aHVtYm5haWwgdGl0bGUgY2F0ZWdvcmllcyBleGNlcnB0IGJ1dHRvbiAiO3M6MTc6ImNhcm91c2VsX2VsZW1lbnRzIjtzOjE0OiJhcnJvd3MgY2lyY2xlcyI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2VkZWRlZCI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMzIiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NjoiZGFzaGVkIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjA6IiI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl9jb2xvciI7czo3OiIjZTZlNmU2IjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjE6ImNzc190aHVtYl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzQ6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNzoiY3NzX3RodW1ibmFpbF9tYXJnaW5fYm90dG9tIjtzOjE6IjAiO3M6MzA6ImNzc190aHVtYm5haWxfcGFkZGluZ192ZXJ0aWNhbCI7czoxOiIwIjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjE5OiJ0aHVtYl9yZXNpemVfaGVpZ2h0IjtzOjA6IiI7czoxODoidGh1bWJfcmVzaXplX3dpZHRoIjtzOjM6IjI2MSI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNmMGVlZWIiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czo3OiJib3R0b20gIjtzOjI2OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjE5OiJjc3NfbWFpbl9taW5faGVpZ2h0IjtzOjE6IjAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzYiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIyOSI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo2OiJjZW50ZXIiO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjNGY0ZjRmIjtzOjIxOiJjc3NfdGl0bGVfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjE5OiJjc3NfdGl0bGVfZm9udF9zaXplIjtzOjI6IjE3IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6MTY6IlBvcnQgTGxpZ2F0IFNsYWIiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIxMiI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MjoiMTUiO3M6MTQ6ImNzc19jYXRzX2NvbG9yIjtzOjA6IiI7czoxODoiY3NzX2NhdHNfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIwOiJjc3NfY2F0c19mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjA6ImNzc19jYXRzX2ZvbnRfZmFtaWx5IjtzOjEyOiJQb250YW5vIFNhbnMiO3M6MjA6ImNzc19jYXRzX2xpbmVfaGVpZ2h0IjtzOjI6IjEwIjtzOjIyOiJjc3NfY2F0c19tYXJnaW4tYm90dG9tIjtzOjI6IjE4IjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfY29sb3IiO3M6NzoiI2UwZTBlMCI7czoyNDoiY3NzX2V4Y2VycHRfYm9yZGVyX3dpZHRoIjtzOjE6IjEiO3M6MjQ6ImNzc19leGNlcnB0X2JvcmRlcl9zdHlsZSI7czo2OiJkb3R0ZWQiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNhOGE4YTgiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNSI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo1OiJEb3NpcyI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjQiO3M6MTQ6ImV4Y2VycHRfbWFyZ2luIjtzOjI6IjIyIjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoyOiIyMCI7czoxOToiY3NzX2V4Y2VycHRfcGFkZGluZyI7czoyOiIxNSI7czoxMToiYnV0dG9uX3RleHQiO3M6MTI6IlZJRVcgUFJPSkVDVCI7czoxOToiY3NzX2J1dHRvbl9iZ19jb2xvciI7czo3OiIjZTM1ZDU4IjtzOjI1OiJjc3NfYnV0dG9uX2JnX2NvbG9yX2hvdmVyIjtzOjc6IiNjOTRkNDkiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjM6ImNzc19idXR0b25fYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyOToiY3NzX2J1dHRvbl9ib3JkZXJfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjI0OiJjc3NfYnV0dG9uX2JvcmRlcl9yYWRpdXMiO3M6MToiMiI7czoxNjoiY3NzX2J1dHRvbl9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIyOiJjc3NfYnV0dG9uX2NvbG9yX2hvdmVyIjtzOjc6IiNmZmZmZmYiO3M6MjA6ImNzc19idXR0b25fZm9udF9zaXplIjtzOjI6IjEzIjtzOjIyOiJjc3NfYnV0dG9uX2ZvbnRfd2VpZ2h0IjtzOjM6IjYwMCI7czoyMjoiY3NzX2J1dHRvbl9mb250X2ZhbWlseSI7czo3OiJQVCBTYW5zIjtzOjI3OiJjc3NfYnV0dG9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTMiO3M6Mjk6ImNzc19idXR0b25fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjE2IjtzOjE0OiJidXR0b25faWNvbl9pZCI7czoxODoiYXJyb3ctY2lyY2xlLXJpZ2h0IjtzOjIxOiJjc3NfYnV0dG9uX2ljb25fY29sb3IiO3M6NzoiI2ViOTc5NCI7czoyMjoiY3NzX2J1dHRvbl9pY29uX21hcmdpbiI7czoxOiI1IjtzOjE4OiJtYWluX2hlYWRpbmdfdGl0bGUiO3M6MTU6IkxBVEVTVCBQUk9KRUNUUyI7czoyMzoibWFpbl9oZWFkaW5nX2xpbmtfdGl0bGUiO3M6ODoiVklFVyBBTEwiO3M6MjI6ImNzc19tYWluX2hlYWRpbmdfY29sb3IiO3M6MDoiIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfc2l6ZSI7czoyOiIxNyI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X3dlaWdodCI7czozOiI0MDAiO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF9mYW1pbHkiO3M6NjoiT3N3YWxkIjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmVfaGVpZ2h0IjtzOjI6IjM3IjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6NzoiI2UzNWQ1OCI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX2NvbG9yX2hvdmVyIjtzOjc6IiNjNDRjNDgiO3M6MzE6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X3NpemULine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-projects-ex-2'] = array(
|
||||
'title' => 'Projects Variation 2',
|
||||
'id' => 'dslc-projects-ex-2',
|
||||
'code' => '[dslc_modules_section type="full" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#f4f9fc" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="no-repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="auto" padding="61" padding_h="3" ] [dslc_modules_area last="no" size="3"] [dslc_module]YTozODp7czo0OiJzaXplIjtzOjI6IjEyIjtzOjc6InNpZGViYXIiO3M6MTY6ImRzbGNfc2lkZWJhcl9vbmUiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czoyMDoiY3NzX3dpZGdldHNfYmdfY29sb3IiO3M6MDoiIjtzOjI0OiJjc3Nfd2lkZ2V0c19ib3JkZXJfY29sb3IiO3M6MDoiIjtzOjI0OiJjc3Nfd2lkZ2V0c19ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMzoiY3NzX3dpZGdldHNfYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czoyOToiY3NzX3dpZGdldHNfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozMjoiY3NzX3dpZGdldHNfYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyODoiY3NzX3dpZGdldHNfcGFkZGluZ192ZXJ0aWNhbCI7czoxOiIwIjtzOjMwOiJjc3Nfd2lkZ2V0c19wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMyI7czoxOToiY3NzX3dpZGdldF9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIzOiJjc3Nfd2lkZ2V0X2JvcmRlcl9jb2xvciI7czo3OiIjZDlkOWQ5IjtzOjIzOiJjc3Nfd2lkZ2V0X2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIyOiJjc3Nfd2lkZ2V0X2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6Mjg6ImNzc193aWRnZXRfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMyI7czozMToiY3NzX3dpZGdldF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjI3OiJjc3Nfd2lkZ2V0X3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMzMiO3M6Mjk6ImNzc193aWRnZXRfcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjM0IjtzOjI0OiJjc3Nfd2lkZ2V0X21hcmdpbl9ib3R0b20iO3M6MjoiMzIiO3M6MjI6ImNzc190aXRsZV9ib3JkZXJfY29sb3IiO3M6NzoiI2U1ZTVlNSI7czoyMjoiY3NzX3RpdGxlX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiIzIyMjIyMiI7czoxNToidGl0bGVfZm9udF9zaXplIjtzOjI6IjE1IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6OToiT3BlbiBTYW5zIjtzOjIxOiJjc3NfdGl0bGVfbGluZV9oZWlnaHQiO3M6MjoiMTYiO3M6MTY6ImNzc190aXRsZV9tYXJnaW4iO3M6MjoiMTQiO3M6MTc6ImNzc190aXRsZV9wYWRkaW5nIjtzOjI6IjE4IjtzOjE0OiJjc3NfbWFpbl9jb2xvciI7czowOiIiO3M6MTg6ImNzc19tYWluX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czoyMDoiY3NzX21haW5fZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIwOiJjc3NfbWFpbl9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjA6ImNzc19tYWluX2xpbmVfaGVpZ2h0IjtzOjI6IjIyIjtzOjE0OiJjc3NfbGlua19jb2xvciI7czo3OiIjMTZhOGY3IjtzOjIwOiJjc3NfbGlua19jb2xvcl9ob3ZlciI7czo3OiIjMTY4OWM3IjtzOjE4OiJtb2R1bGVfaW5zdGFuY2VfaWQiO2k6ODgyO3M6OToibW9kdWxlX2lkIjtzOjEyOiJEU0xDX1dpZGdldHMiO30=[/dslc_module] [/dslc_modules_area] [dslc_modules_area last="yes" size="9"] [dslc_module]YToxNDk6e3M6NDoic2l6ZSI7czoyOiIxMiI7czo0OiJ0eXBlIjtzOjQ6ImdyaWQiO3M6NjoiYW1vdW50IjtzOjE6IjYiO3M6MTU6InBhZ2luYXRpb25fdHlwZSI7czo4OiJudW1iZXJlZCI7czo3OiJjb2x1bW5zIjtzOjE6IjQiO3M6MTA6ImNhdGVnb3JpZXMiO3M6MDoiIjtzOjc6Im9yZGVyYnkiO3M6NDoiZGF0ZSI7czo1OiJvcmRlciI7czozOiJBU0MiO3M6ODoiZWxlbWVudHMiO3M6MDoiIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjI0OiJ0aHVtYm5haWwgdGl0bGUgZXhjZXJwdCAiO3M6MTc6ImNhcm91c2VsX2VsZW1lbnRzIjtzOjE0OiJhcnJvd3MgY2lyY2xlcyI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2VkZWRlZCI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMTMiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NDoibm9uZSI7czoyMjoiY3NzX3RodW1ibmFpbF9iZ19jb2xvciI7czo3OiIjMDBiZDhlIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX2NvbG9yIjtzOjc6IiNlNmU2ZTYiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMToiY3NzX3RodW1iX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MzE6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozNDoiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI3OiJjc3NfdGh1bWJuYWlsX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czozMDoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX3ZlcnRpY2FsIjtzOjE6IjAiO3M6MzI6ImNzc190aHVtYm5haWxfcGFkZGluZ19ob3Jpem9udGFsIjtzOjE6IjAiO3M6MTk6InRodW1iX3Jlc2l6ZV9oZWlnaHQiO3M6MDoiIjtzOjE4OiJ0aHVtYl9yZXNpemVfd2lkdGgiO3M6MzoiNDAwIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMTZhOGY3IjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6NzoiIzAwYTJmZiI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjA6ImNzc19tYWluX2JvcmRlcl90cmJsIjtzOjE3OiJyaWdodCBib3R0b20gbGVmdCI7czoyNjoiY3NzX21haW5fYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoxOToiY3NzX21haW5fbWluX2hlaWdodCI7czoxOiIwIjtzOjI1OiJjc3NfbWFpbl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjI0IjtzOjI3OiJjc3NfbWFpbl9wYWRkaW5nX2hvcml6b250YWwiO3M6MjoiMzQiO3M6MTk6ImNzc19tYWluX3RleHRfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjE6ImNzc190aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTgiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiIzMDAiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIzNSI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MToiOSI7czoxNDoiY3NzX2NhdHNfY29sb3IiO3M6NzoiI2QyZTlmNSI7czoxODoiY3NzX2NhdHNfZm9udF9zaXplIjtzOjI6IjExIjtzOjIwOiJjc3NfY2F0c19mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjA6ImNzc19jYXRzX2ZvbnRfZmFtaWx5IjtzOjExOiJEcm9pZCBTZXJpZiI7czoyMDoiY3NzX2NhdHNfbGluZV9oZWlnaHQiO3M6MjoiMTAiO3M6MjI6ImNzc19jYXRzX21hcmdpbi1ib3R0b20iO3M6MjoiMTkiO3M6MjQ6ImNzc19Line truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-partners-ex-1'] = array(
|
||||
'title' => 'Partners Variation 1',
|
||||
'id' => 'dslc-partners-ex-1',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="" bg_image="http://livecomposerplugin.com/sandbox/wp-content/uploads/sites/3/2013/11/bg2.jpg" bg_video="" bg_video_overlay_color="#111e2e" bg_video_overlay_opacity="0.56" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="114" padding_h="0" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxMzA6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjY6ImFtb3VudCI7czoxOiI0IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoibnVtYmVyZWQiO3M6NzoiY29sdW1ucyI7czoxOiIzIjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6MjM6InRodW1ibmFpbCB0aXRsZSBleGNlcnB0IjtzOjE3OiJjYXJvdXNlbF9lbGVtZW50cyI7czoxNDoiYXJyb3dzIGNpcmNsZXMiO3M6MTc6ImNzc19tYXJnaW5fYm90dG9tIjtzOjE6IjAiO3M6MjA6ImNzc19zZXBfYm9yZGVyX2NvbG9yIjtzOjc6IiNlZGVkZWQiO3M6MTQ6ImNzc19zZXBfaGVpZ2h0IjtzOjI6IjMyIjtzOjEzOiJjc3Nfc2VwX3N0eWxlIjtzOjY6ImRhc2hlZCI7czoyMjoiY3NzX3RodW1ibmFpbF9iZ19jb2xvciI7czo3OiIjZmZmZmZmIjtzOjI2OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9jb2xvciI7czo3OiIjZWJlYmViIjtzOjI2OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjI1OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MzE6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMyI7czozNDoiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI3OiJjc3NfdGh1bWJuYWlsX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czoyNDoiY3NzX3RodW1ibmFpbF9taW5faGVpZ2h0IjtzOjE6IjAiO3M6MzA6ImNzc190aHVtYm5haWxfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzNiI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czowOiIiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNzQiO3M6MTc6ImNzc19tYWluX2JnX2NvbG9yIjtzOjc6IiMxZGMyNjciO3M6MjE6ImNzc19tYWluX2JvcmRlcl9jb2xvciI7czowOiIiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjI2OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjI5OiJjc3NfbWFpbl9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIzIjtzOjE5OiJjc3NfbWFpbl9taW5faGVpZ2h0IjtzOjE6IjAiO3M6MjU6ImNzc19tYWluX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMjUiO3M6Mjc6ImNzc19tYWluX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIzMCI7czoxOToiY3NzX21haW5fdGV4dF9hbGlnbiI7czo2OiJjZW50ZXIiO3M6MTU6ImNzc190aXRsZV9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIxOiJjc3NfdGl0bGVfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjE5OiJjc3NfdGl0bGVfZm9udF9zaXplIjtzOjI6IjE2IjtzOjIxOiJjc3NfdGl0bGVfZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjIxOiJjc3NfdGl0bGVfZm9udF9mYW1pbHkiO3M6NDoiTGF0byI7czoyMToiY3NzX3RpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjE0IjtzOjIzOiJjc3NfdGl0bGVfbWFyZ2luX2JvdHRvbSI7czoyOiIxMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiI2JhZjVkNCI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjEyIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjQ6IkxhdG8iO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjIxIjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoyOiIyMCI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjEzOiJDTElDSyBUTyBFRElUIjtzOjIzOiJtYWluX2hlYWRpbmdfbGlua190aXRsZSI7czo4OiJWSUVXIEFMTCI7czoyMjoiY3NzX21haW5faGVhZGluZ19jb2xvciI7czowOiIiO3M6MjY6ImNzc19tYWluX2hlYWRpbmdfZm9udF9zaXplIjtzOjI6IjE3IjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfd2VpZ2h0IjtzOjM6IjQwMCI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X2ZhbWlseSI7czo2OiJPc3dhbGQiO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfbGluZV9oZWlnaHQiO3M6MjoiMzciO3M6Mjc6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvciI7czowOiIiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvcl9ob3ZlciI7czowOiIiO3M6MzE6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X3NpemUiO3M6MjoiMTEiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X3dlaWdodCI7czozOiI2MDAiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MzM6ImNzc19tYWluX2hlYWRpbmdfbGlua19wYWRkaW5nX3ZlciI7czoyOiIxMCI7czoxMzoidmlld19hbGxfbGluayI7czoxOiIjIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX3NlcF9jb2xvciI7czo3OiIjNGY0ZjRmIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX3NlcF9zdHlsZSI7czo2OiJkb3R0ZWQiO3M6MjU6ImNzc19oZWFkaW5nX21hcmdpbl9ib3R0b20iO3M6MjoiMjAiO3M6MTk6ImNzc19maWx0ZXJfYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyNjoiY3NzX2ZpbHRlcl9iZ19jb2xvcl9hY3RpdmUiO3M6NzoiIzU4OTBlNSI7czoyMzoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3IiO3M6NzoiI2U4ZThlOCI7czozMDoiY3NzX2ZpbHRlcl9ib3JkZXJfY29sb3JfYWN0aXZlIjtzOjc6IiM1ODkwZTUiO3M6MjM6ImNzc19maWx0ZXJfYm9yZGVyX3dpZHRoIjtzOjE6IjEiO3M6MjI6ImNzc19maWx0ZXJfYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czoyNDoiY3NzX2ZpbHRlcl9ib3JkZXJfcmFkaXVzIjtzOjE6IjMiO3M6MTY6ImNzc19maWx0ZXJfY29sb3IiO3M6NzoiIzk3OTc5NyI7czoyMzoiY3NzX2ZpbHRlcl9jb2xvcl9hY3RpdmUiO3M6NzoiI2ZmZmZmZiI7czoyMDoiY3NzX2ZpbHRlcl9mb250X3NpemUiO3M6MjoiMTEiO3M6MjI6ImNzc19maWx0ZXJfZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjIyOiJjc3NfZmlsdGVyX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoyNzoiY3NzX2ZpbHRlcl9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjEyIjtzOjI5OiJjc3NfZmlsdGVyX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIxMiI7czoxOToiY3NzX2ZpbHRlcl9wb3NpdGlvbiI7czo0OiJsZWZ0IjtzOjE4OiJjc3NfZmlsdGVyX3NwYWNpbmciO3M6MjoiMTAiO3M6MjQ6ImNzc19maWx0ZXJfbWFyZ2luX2JvdHRvbSI7czoyOiIyMCI7czoxOToiY3NzX2Fycm93c19iZ1Line truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-products-ex-1'] = array(
|
||||
'title' => 'Products Variation 1',
|
||||
'id' => 'dslc-products-ex-1',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="solid" border="bottom " bg_color="" bg_image="http://livecomposerplugin.com/sandbox/wp-content/uploads/sites/3/2014/01/vinyl2.jpg" bg_video="" bg_video_overlay_color="#5d5361" bg_video_overlay_opacity="0.81" bg_image_repeat="no-repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="auto" padding="95" padding_h="9" ] [dslc_modules_area last="no" size="9"] [dslc_module]YToxNjU6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjY6ImFtb3VudCI7czoxOiI2IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoiZGlzYWJsZWQiO3M6NzoiY29sdW1ucyI7czoxOiI0IjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6NDI6InRodW1ibmFpbCB0aXRsZSBzZXBhcmF0b3IgZXhjZXJwdCBwcmljZV8yICI7czoxNzoiY2Fyb3VzZWxfZWxlbWVudHMiO3M6MTQ6ImFycm93cyBjaXJjbGVzIjtzOjE3OiJjc3NfbWFyZ2luX2JvdHRvbSI7czoxOiIwIjtzOjIwOiJjc3Nfc2VwX2JvcmRlcl9jb2xvciI7czo3OiIjYTQ5NmFiIjtzOjE0OiJjc3Nfc2VwX2hlaWdodCI7czoyOiIxMCI7czoxMzoiY3NzX3NlcF9zdHlsZSI7czo0OiJub25lIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjA6IiI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl9jb2xvciI7czo3OiIjMmUyODJlIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjE6ImNzc190aHVtYl9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjMxOiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzQ6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNzoiY3NzX3RodW1ibmFpbF9tYXJnaW5fYm90dG9tIjtzOjE6IjAiO3M6MzA6ImNzc190aHVtYm5haWxfcGFkZGluZ192ZXJ0aWNhbCI7czoxOiIwIjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoxOiIwIjtzOjE5OiJ0aHVtYl9yZXNpemVfaGVpZ2h0IjtzOjM6IjI1MCI7czoxODoidGh1bWJfcmVzaXplX3dpZHRoIjtzOjM6IjI4MCI7czoxODoiY3NzX3ByaWNlX2JnX2NvbG9yIjtzOjc6IiM3YTZlODAiO3M6MjI6ImNzc19wcmljZV9ib3JkZXJfY29sb3IiO3M6NzoiI2E4NjU2NSI7czoyMjoiY3NzX3ByaWNlX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIxOiJjc3NfcHJpY2VfYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czoxNToiY3NzX3ByaWNlX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjM6ImNzc19wcmljZV9ib3JkZXJfcmFkaXVzIjtzOjE6IjAiO3M6MTk6ImNzc19wcmljZV9mb250X3NpemUiO3M6MjoiMjgiO3M6MjE6ImNzc19wcmljZV9mb250X3dlaWdodCI7czozOiI0MDAiO3M6MjE6ImNzc19wcmljZV9mb250X2ZhbWlseSI7czo2OiJPc3dhbGQiO3M6MTY6ImNzc19wcmljZV9tYXJnaW4iO3M6MToiOSI7czoyMDoiY3NzX3ByaWNlX2JnX29wYWNpdHkiO3M6MToiMSI7czoxNzoiY3NzX3ByaWNlX3BhZGRpbmciO3M6MjoiMjAiO3M6OToicHJpY2VfcG9zIjtzOjY6ImNlbnRlciI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzJlMjgyZSI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoxNzoicmlnaHQgYm90dG9tIGxlZnQiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMCI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI5IjtzOjE1OiJjc3NfdGl0bGVfYWxpZ24iO3M6NDoibGVmdCI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNkOWJiODAiO3M6MjE6ImNzc190aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiI3MDAiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo5OiJPcGVuIFNhbnMiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIxNSI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MjoiMjAiO3M6MjA6ImNzc190aXRsZV9tYXJnaW5faG9yIjtzOjE6IjAiO3M6MjQ6ImNzc19leGNlcnB0X2JvcmRlcl9jb2xvciI7czo3OiIjZThlOGU4IjtzOjI0OiJjc3NfZXhjZXJwdF9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoxNzoiY3NzX2V4Y2VycHRfY29sb3IiO3M6NzoiIzljOTM5YyI7czoyMToiY3NzX2V4Y2VycHRfZm9udF9zaXplIjtzOjI6IjEzIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X3dlaWdodCI7czozOiI1MDAiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfZmFtaWx5IjtzOjQ6Ik11bGkiO3M6MjM6ImNzc19leGNlcnB0X2xpbmVfaGVpZ2h0IjtzOjI6IjIzIjtzOjE0OiJleGNlcnB0X21hcmdpbiI7czoxOiIwIjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoxOiI3IjtzOjE5OiJjc3NfZXhjZXJwdF9wYWRkaW5nIjtzOjE6IjAiO3M6MjI6ImNzc19leGNlcnB0X3RleHRfYWxpZ24iO3M6NDoibGVmdCI7czoxNzoiY3NzX3ByaWNlXzJfY29sb3IiO3M6NzoiIzljOTM5YyI7czozMDoiY3NzX3ByaWNlXzJfbm9uX2Rpc2NvdW50X2NvbG9yIjtzOjc6IiM1OTUxNTkiO3M6MjE6ImNzc19wcmljZV8yX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMzoiY3NzX3ByaWNlXzJfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIzOiJjc3NfcHJpY2VfMl9mb250X2ZhbWlseSI7czo2OiJPc3dhbGQiO3M6MTU6ImNzc19wcmljZV8yX3BvcyI7czo1OiJyaWdodCI7czoxMzoiY3NzX3NlcF9jb2xvciI7czo3OiIjNDc0MTQ3IjtzOjIxOiJjc3Nfc2VwX21hcmdpbl9ib3R0b20iO3M6MjoiMTgiO3M6MTk6ImNzc19hZGR0b2NhcnRfY29sb3IiO3M6NzoiIzU4OTBlNSI7czoyMzoiY3NzX2FkZHRvY2FydF9mb250X3NpemUiO3M6MjoiMTEiO3M6MjU6ImNzc19hZGR0b2NhcnRfZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjI1OiJjc3NfYWRkdG9jYXJ0X2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoxNzoiY3NzX2RldGFpbHNfY29sb3IiO3M6NzoiIzhkOGQ4ZCI7czoyMToiY3NzX2RldGFpbHNfZm9udF9zaXplIjtzOjI6IjExIjtzOjIzOiJjc3NfZGV0YWlsc19mb250X3dlaWdodCI7czozOiI2MDAiO3M6MjM6ImNzc19kZXRhaWxzX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjEzOiJDTElDSyBUTyBFRElUIjtzOjIzOiJtYWluX2hlYWRpbmdfbGlua190aXRsZSI7czo4OiJWSUVXIEFMTCI7czoyMjoiY3NzX21haW5faGVhZGluZ19jb2xvciI7cLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-products-ex-2'] = array(
|
||||
'title' => 'Products Variation 2',
|
||||
'id' => 'dslc-products-ex-2',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="solid" border="bottom " bg_color="#78373c" bg_image="http://livecomposerplugin.com/sandbox/wp-content/uploads/sites/3/2014/01/1.jpg" bg_video="" bg_video_overlay_color="#4d4d4d" bg_video_overlay_opacity="0.77" bg_image_repeat="no-repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="auto" padding="69" padding_h="9" ] [dslc_modules_area last="no" size="5"] [dslc_module]YToxNjU6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjY6ImFtb3VudCI7czoxOiIxIjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoiZGlzYWJsZWQiO3M6NzoiY29sdW1ucyI7czoyOiIxMiI7czoxMDoiY2F0ZWdvcmllcyI7czo4OiJob29kaWVzICI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6NTI6InRodW1ibmFpbCB0aXRsZSBzZXBhcmF0b3IgcHJpY2VfMiBhZGR0b2NhcnQgZGV0YWlscyAiO3M6MTc6ImNhcm91c2VsX2VsZW1lbnRzIjtzOjE0OiJhcnJvd3MgY2lyY2xlcyI7czoxNzoiY3NzX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2E0OTZhYiI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMTAiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NDoibm9uZSI7czoyMjoiY3NzX3RodW1ibmFpbF9iZ19jb2xvciI7czo3OiIjMWMxYjFhIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX2NvbG9yIjtzOjc6IiMyZTI4MmUiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMToiY3NzX3RodW1iX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MzE6ImNzc190aHVtYm5haWxfYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czozNDoiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX2JvdHRvbSI7czoxOiIwIjtzOjI3OiJjc3NfdGh1bWJuYWlsX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czozMDoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjE1IjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIxNSI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czowOiIiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiI0NDciO3M6MTg6ImNzc19wcmljZV9iZ19jb2xvciI7czo3OiIjOTkyZjM4IjtzOjIyOiJjc3NfcHJpY2VfYm9yZGVyX2NvbG9yIjtzOjc6IiNhODY1NjUiO3M6MjI6ImNzc19wcmljZV9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMToiY3NzX3ByaWNlX2JvcmRlcl90cmJsIjtzOjIxOiJ0b3AgcmlnaHQgYm90dG9tIGxlZnQiO3M6MTU6ImNzc19wcmljZV9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIzOiJjc3NfcHJpY2VfYm9yZGVyX3JhZGl1cyI7czoxOiI1IjtzOjE5OiJjc3NfcHJpY2VfZm9udF9zaXplIjtzOjI6IjQyIjtzOjIxOiJjc3NfcHJpY2VfZm9udF93ZWlnaHQiO3M6MzoiOTAwIjtzOjIxOiJjc3NfcHJpY2VfZm9udF9mYW1pbHkiO3M6MTI6IlBhdHJpY2sgSGFuZCI7czoxNjoiY3NzX3ByaWNlX21hcmdpbiI7czoxOiI5IjtzOjIwOiJjc3NfcHJpY2VfYmdfb3BhY2l0eSI7czo0OiIwLjgyIjtzOjE3OiJjc3NfcHJpY2VfcGFkZGluZyI7czoyOiIyMyI7czo5OiJwcmljZV9wb3MiO3M6NjoiY2VudGVyIjtzOjE3OiJjc3NfbWFpbl9iZ19jb2xvciI7czo3OiIjMWMxYjFhIjtzOjIxOiJjc3NfbWFpbl9ib3JkZXJfY29sb3IiO3M6NzoiI2U4ZThlOCI7czoyMToiY3NzX21haW5fYm9yZGVyX3dpZHRoIjtzOjE6IjAiO3M6MjA6ImNzc19tYWluX2JvcmRlcl90cmJsIjtzOjE3OiJyaWdodCBib3R0b20gbGVmdCI7czoyNjoiY3NzX21haW5fYm9yZGVyX3JhZGl1c190b3AiO3M6MToiMCI7czoyOToiY3NzX21haW5fYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoxOToiY3NzX21haW5fbWluX2hlaWdodCI7czoyOiI4MCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxNyI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjI5IjtzOjE1OiJjc3NfdGl0bGVfYWxpZ24iO3M6NjoiY2VudGVyIjtzOjE1OiJjc3NfdGl0bGVfY29sb3IiO3M6NzoiI2M3YzdjNyI7czoyMToiY3NzX3RpdGxlX2NvbG9yX2hvdmVyIjtzOjA6IiI7czoxOToiY3NzX3RpdGxlX2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMToiY3NzX3RpdGxlX2ZvbnRfd2VpZ2h0IjtzOjM6IjcwMCI7czoyMToiY3NzX3RpdGxlX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoyMToiY3NzX3RpdGxlX2xpbmVfaGVpZ2h0IjtzOjI6IjE1IjtzOjIzOiJjc3NfdGl0bGVfbWFyZ2luX2JvdHRvbSI7czoyOiIyMCI7czoyMDoiY3NzX3RpdGxlX21hcmdpbl9ob3IiO3M6MToiMCI7czoyNDoiY3NzX2V4Y2VycHRfYm9yZGVyX2NvbG9yIjtzOjc6IiM0NzQxNDciO3M6MjQ6ImNzc19leGNlcnB0X2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjE3OiJjc3NfZXhjZXJwdF9jb2xvciI7czo3OiIjOWM5MzljIjtzOjIxOiJjc3NfZXhjZXJwdF9mb250X3NpemUiO3M6MjoiMTMiO3M6MjM6ImNzc19leGNlcnB0X2ZvbnRfd2VpZ2h0IjtzOjM6IjUwMCI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czoyMzoiY3NzX2V4Y2VycHRfbGluZV9oZWlnaHQiO3M6MjoiMjMiO3M6MTQ6ImV4Y2VycHRfbWFyZ2luIjtzOjI6IjE5IjtzOjE0OiJleGNlcnB0X2xlbmd0aCI7czoyOiIxOSI7czoxOToiY3NzX2V4Y2VycHRfcGFkZGluZyI7czoyOiIxMyI7czoyMjoiY3NzX2V4Y2VycHRfdGV4dF9hbGlnbiI7czo2OiJjZW50ZXIiO3M6MTc6ImNzc19wcmljZV8yX2NvbG9yIjtzOjc6IiM5YzkzOWMiO3M6MzA6ImNzc19wcmljZV8yX25vbl9kaXNjb3VudF9jb2xvciI7czo3OiIjNTk1MTU5IjtzOjIxOiJjc3NfcHJpY2VfMl9mb250X3NpemUiO3M6MjoiMTYiO3M6MjM6ImNzc19wcmljZV8yX2ZvbnRfd2VpZ2h0IjtzOjM6IjQwMCI7czoyMzoiY3NzX3ByaWNlXzJfZm9udF9mYW1pbHkiO3M6NjoiT3N3YWxkIjtzOjE1OiJjc3NfcHJpY2VfMl9wb3MiO3M6NDoibGVmdCI7czoxMzoiY3NzX3NlcF9jb2xvciI7czo3OiIjNDc0MTQ3IjtzOjIxOiJjc3Nfc2VwX21hcmdpbl9ib3R0b20iO3M6MjoiMTgiO3M6MTk6ImNzc19hZGR0b2NhcnRfY29sb3IiO3M6NzoiI2VkNzM0ZSI7czoyMzoiY3NzX2FkZHRvY2FydF9mb250X3NpemUiO3M6MjoiMTQiO3M6MjU6ImNzc19hZGR0b2NhcnRfZm9udF93ZWlnaHQiO3M6MzoiNzAwIjtzOjI1OiJjc3NfYWRkdG9jYXJ0X2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoxNzoiY3NzX2RldGFpbHNfY29sb3IiO3M6NzoiI2VkNzM0ZSI7czoyMToiY3NzX2RldGFpbHNfZm9udF9zaXplIjtzOjI6IjE0IjtzOjIzOiJjc3NfZGV0YWlsc19mb250X3dlaWdodCI7czozOiI3MDAiO3M6MjM6ImNzc19kZXRhaWxzX2ZvbnRfZmFtaWx5IjtzOjk6Ik9wZW4gU2FucyI7czoxODoibWFpbl9oZWFkaW5nX3RpdGxlIjtzOjEzOiJDTElDSyBUTyBFRElUIjtzOjIzOiJtYWluX2hlYWRpbmdfbGlua190aXRsZSI7czoLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-staff-ex-1'] = array(
|
||||
'title' => 'Staff Variation 1',
|
||||
'id' => 'dslc-staff-ex-1',
|
||||
'code' => '[dslc_modules_section type="wrapped" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#f4f6f7" bg_image="http://livecomposerplugin.com/sandbox/wp-content/uploads/sites/3/2014/01/unsplash_52a088bb6fb98_1.jpg" bg_video="" bg_video_overlay_color="#f4f6f7" bg_video_overlay_opacity="0.95" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="center center" bg_image_size="cover" padding="67" padding_h="4" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTE6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjY6ImFtb3VudCI7czoxOiI0IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoiZGlzYWJsZWQiO3M6NzoiY29sdW1ucyI7czoxOiIzIjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czowOiIiO3M6MTM6InBvc3RfZWxlbWVudHMiO3M6MzE6InRodW1ibmFpbCBzb2NpYWwgdGl0bGUgZXhjZXJwdCAiO3M6MTc6ImNhcm91c2VsX2VsZW1lbnRzIjtzOjE0OiJhcnJvd3MgY2lyY2xlcyI7czoxNzoiY3NzX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiI2VkZWRlZCI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMzIiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NjoiZGFzaGVkIjtzOjIyOiJjc3NfdGh1bWJuYWlsX2JnX2NvbG9yIjtzOjc6IiNmZmZmZmYiO3M6MjI6ImNzc190aHVtYl9ib3JkZXJfY29sb3IiO3M6NzoiI2UwZTBlMCI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIxOiJjc3NfdGh1bWJfYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIzIjtzOjM0OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjMiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoyOiIxNyI7czozMDoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX3ZlcnRpY2FsIjtzOjI6IjEwIjtzOjMyOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfaG9yaXpvbnRhbCI7czoyOiIxMCI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czozOiIzMDAiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiIyNTQiO3M6MTY6ImNzc19zb2NpYWxfYWxpZ24iO3M6NjoiY2VudGVyIjtzOjE5OiJjc3Nfc29jaWFsX2JnX2NvbG9yIjtzOjc6IiMzZGIwYmYiO3M6MjM6ImNzc19zb2NpYWxfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMzoiY3NzX3NvY2lhbF9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMjoiY3NzX3NvY2lhbF9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjI4OiJjc3Nfc29jaWFsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjMiO3M6MzE6ImNzc19zb2NpYWxfYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNDoiY3NzX3NvY2lhbF9tYXJnaW5fYm90dG9tIjtzOjE6IjAiO3M6Mjc6ImNzc19zb2NpYWxfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMiI7czoyOToiY3NzX3NvY2lhbF9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxNjoiY3NzX3NvY2lhbF9jb2xvciI7czo3OiIjZmZmZmZmIjtzOjIwOiJjc3Nfc29jaWFsX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNlMGUwZTAiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoxNzoicmlnaHQgYm90dG9tIGxlZnQiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjQiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiI0MyI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjQzIjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjY6ImNlbnRlciI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiM1NDU0NTQiO3M6MjE6ImNzc190aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTYiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiI5MDAiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czoxNzoiTGlicmUgQmFza2VydmlsbGUiO3M6MjE6ImNzc190aXRsZV9saW5lX2hlaWdodCI7czoyOiIxNCI7czoyMzoiY3NzX3RpdGxlX21hcmdpbl9ib3R0b20iO3M6MjoiMjMiO3M6MjU6ImNzc19wb3NpdGlvbl9ib3JkZXJfY29sb3IiO3M6NzoiI2RlZGVkZSI7czoyNToiY3NzX3Bvc2l0aW9uX2JvcmRlcl93aWR0aCI7czoxOiIxIjtzOjI0OiJjc3NfcG9zaXRpb25fYm9yZGVyX3RyYmwiO3M6MTA6InRvcCBib3R0b20iO3M6MTg6ImNzc19wb3NpdGlvbl9jb2xvciI7czo3OiIjM2RiMGJmIjtzOjIyOiJjc3NfcG9zaXRpb25fZm9udF9zaXplIjtzOjI6IjEyIjtzOjI0OiJjc3NfcG9zaXRpb25fZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjI0OiJjc3NfcG9zaXRpb25fZm9udF9mYW1pbHkiO3M6MTc6IkNhcnJvaXMgR290aGljIFNDIjtzOjI2OiJjc3NfcG9zaXRpb25fbWFyZ2luX2JvdHRvbSI7czoyOiIyMCI7czoyOToiY3NzX3Bvc2l0aW9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTYiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiM5YzljOWMiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxNiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJMb3JhIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNyI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiMjAiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxMzoiQ0xJQ0sgVE8gRURJVCI7czoyMzoibWFpbl9oZWFkaW5nX2xpbmtfdGl0bGUiO3M6ODoiVklFVyBBTEwiO3M6MjI6ImNzc19tYWluX2hlYWRpbmdfY29sb3IiO3M6MDoiIjtzOjI2OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfc2l6ZSI7czoyOiIxNyI7czoyODoiY3NzX21haW5faGVhZGluZ19mb250X3dlaWdodCI7czozOiI0MDAiO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF9mYW1pbHkiO3M6NjoiT3N3YWxkIjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmVfaGVpZ2h0IjtzOjI6IjM3IjtzOjI3OiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3IiO3M6MDoiIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjMxOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9zaXplIjtzOjI6IjExIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF93ZWlnaHQiO3M6MzoiNjAwIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9mYW1pbHkiO3M6OToiT3BlbiBTYW5zIjtzOjMzOLine truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_var_templates['dslc-staff-ex-2'] = array(
|
||||
'title' => 'Staff Variation 2',
|
||||
'id' => 'dslc-staff-ex-2',
|
||||
'code' => '[dslc_modules_section type="full" border_color="" border_width="0" border_style="solid" border="top bottom" bg_color="#5c7291" bg_image="" bg_video="" bg_video_overlay_color="#000000" bg_video_overlay_opacity="0" bg_image_repeat="repeat" bg_image_attachment="scroll" bg_image_position="left top" bg_image_size="auto" padding="80" padding_h="7" ] [dslc_modules_area last="yes" size="12"] [dslc_module]YToxNTE6e3M6NDoidHlwZSI7czo0OiJncmlkIjtzOjY6ImFtb3VudCI7czoxOiI0IjtzOjE1OiJwYWdpbmF0aW9uX3R5cGUiO3M6ODoiZGlzYWJsZWQiO3M6NzoiY29sdW1ucyI7czoxOiIzIjtzOjEwOiJjYXRlZ29yaWVzIjtzOjA6IiI7czo3OiJvcmRlcmJ5IjtzOjQ6ImRhdGUiO3M6NToib3JkZXIiO3M6NDoiREVTQyI7czo4OiJlbGVtZW50cyI7czoyMToibWFpbl9oZWFkaW5nIGZpbHRlcnMgIjtzOjEzOiJwb3N0X2VsZW1lbnRzIjtzOjM5OiJ0aHVtYm5haWwgc29jaWFsIHRpdGxlIHBvc2l0aW9uIGV4Y2VycHQiO3M6MTc6ImNhcm91c2VsX2VsZW1lbnRzIjtzOjE0OiJhcnJvd3MgY2lyY2xlcyI7czoxNzoiY3NzX21hcmdpbl9ib3R0b20iO3M6MToiMCI7czoyMDoiY3NzX3NlcF9ib3JkZXJfY29sb3IiO3M6NzoiIzdmOTFhYiI7czoxNDoiY3NzX3NlcF9oZWlnaHQiO3M6MjoiMzIiO3M6MTM6ImNzc19zZXBfc3R5bGUiO3M6NToic29saWQiO3M6MjI6ImNzc190aHVtYm5haWxfYmdfY29sb3IiO3M6MDoiIjtzOjIyOiJjc3NfdGh1bWJfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMjoiY3NzX3RodW1iX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIxOiJjc3NfdGh1bWJfYm9yZGVyX3RyYmwiO3M6MjE6InRvcCByaWdodCBib3R0b20gbGVmdCI7czozMToiY3NzX3RodW1ibmFpbF9ib3JkZXJfcmFkaXVzX3RvcCI7czoxOiIwIjtzOjM0OiJjc3NfdGh1bWJuYWlsX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6Mjc6ImNzc190aHVtYm5haWxfbWFyZ2luX2JvdHRvbSI7czoxOiIwIjtzOjMwOiJjc3NfdGh1bWJuYWlsX3BhZGRpbmdfdmVydGljYWwiO3M6MToiMCI7czozMjoiY3NzX3RodW1ibmFpbF9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxOToidGh1bWJfcmVzaXplX2hlaWdodCI7czowOiIiO3M6MTg6InRodW1iX3Jlc2l6ZV93aWR0aCI7czozOiI1MjIiO3M6MTY6ImNzc19zb2NpYWxfYWxpZ24iO3M6NjoiY2VudGVyIjtzOjE5OiJjc3Nfc29jaWFsX2JnX2NvbG9yIjtzOjc6IiMzYjQ4NWMiO3M6MjM6ImNzc19zb2NpYWxfYm9yZGVyX2NvbG9yIjtzOjA6IiI7czoyMzoiY3NzX3NvY2lhbF9ib3JkZXJfd2lkdGgiO3M6MToiMCI7czoyMjoiY3NzX3NvY2lhbF9ib3JkZXJfdHJibCI7czoyMToidG9wIHJpZ2h0IGJvdHRvbSBsZWZ0IjtzOjI4OiJjc3Nfc29jaWFsX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6MzE6ImNzc19zb2NpYWxfYm9yZGVyX3JhZGl1c19ib3R0b20iO3M6MToiMCI7czoyNDoiY3NzX3NvY2lhbF9tYXJnaW5fYm90dG9tIjtzOjE6IjAiO3M6Mjc6ImNzc19zb2NpYWxfcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIxMiI7czoyOToiY3NzX3NvY2lhbF9wYWRkaW5nX2hvcml6b250YWwiO3M6MToiMCI7czoxNjoiY3NzX3NvY2lhbF9jb2xvciI7czo3OiIjN2I4ZWFiIjtzOjIwOiJjc3Nfc29jaWFsX2ZvbnRfc2l6ZSI7czoyOiIxMyI7czoxNzoiY3NzX21haW5fYmdfY29sb3IiO3M6NzoiIzFjMjAyMSI7czoyMToiY3NzX21haW5fYm9yZGVyX2NvbG9yIjtzOjc6IiNlOGU4ZTgiO3M6MjE6ImNzc19tYWluX2JvcmRlcl93aWR0aCI7czoxOiIwIjtzOjIwOiJjc3NfbWFpbl9ib3JkZXJfdHJibCI7czoxNzoicmlnaHQgYm90dG9tIGxlZnQiO3M6MjY6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfdG9wIjtzOjE6IjAiO3M6Mjk6ImNzc19tYWluX2JvcmRlcl9yYWRpdXNfYm90dG9tIjtzOjE6IjAiO3M6MTk6ImNzc19tYWluX21pbl9oZWlnaHQiO3M6MToiMCI7czoyNToiY3NzX21haW5fcGFkZGluZ192ZXJ0aWNhbCI7czoyOiIzMSI7czoyNzoiY3NzX21haW5fcGFkZGluZ19ob3Jpem9udGFsIjtzOjI6IjM2IjtzOjE5OiJjc3NfbWFpbl90ZXh0X2FsaWduIjtzOjY6ImNlbnRlciI7czoxNToiY3NzX3RpdGxlX2NvbG9yIjtzOjc6IiNlM2UzZTMiO3M6MjE6ImNzc190aXRsZV9jb2xvcl9ob3ZlciI7czowOiIiO3M6MTk6ImNzc190aXRsZV9mb250X3NpemUiO3M6MjoiMTQiO3M6MjE6ImNzc190aXRsZV9mb250X3dlaWdodCI7czozOiI5MDAiO3M6MjE6ImNzc190aXRsZV9mb250X2ZhbWlseSI7czo0OiJMYXRvIjtzOjIxOiJjc3NfdGl0bGVfbGluZV9oZWlnaHQiO3M6MjoiMTQiO3M6MjM6ImNzc190aXRsZV9tYXJnaW5fYm90dG9tIjtzOjI6IjIzIjtzOjI1OiJjc3NfcG9zaXRpb25fYm9yZGVyX2NvbG9yIjtzOjc6IiMzMDMwMzAiO3M6MjU6ImNzc19wb3NpdGlvbl9ib3JkZXJfd2lkdGgiO3M6MToiMSI7czoyNDoiY3NzX3Bvc2l0aW9uX2JvcmRlcl90cmJsIjtzOjEwOiJ0b3AgYm90dG9tIjtzOjE4OiJjc3NfcG9zaXRpb25fY29sb3IiO3M6MDoiIjtzOjIyOiJjc3NfcG9zaXRpb25fZm9udF9zaXplIjtzOjI6IjEyIjtzOjI0OiJjc3NfcG9zaXRpb25fZm9udF93ZWlnaHQiO3M6MzoiMjAwIjtzOjI0OiJjc3NfcG9zaXRpb25fZm9udF9mYW1pbHkiO3M6NjoiQml0dGVyIjtzOjI2OiJjc3NfcG9zaXRpb25fbWFyZ2luX2JvdHRvbSI7czoyOiIyMCI7czoyOToiY3NzX3Bvc2l0aW9uX3BhZGRpbmdfdmVydGljYWwiO3M6MjoiMTIiO3M6MTc6ImNzc19leGNlcnB0X2NvbG9yIjtzOjc6IiNiZGJkYmQiO3M6MjE6ImNzc19leGNlcnB0X2ZvbnRfc2l6ZSI7czoyOiIxMiI7czoyMzoiY3NzX2V4Y2VycHRfZm9udF93ZWlnaHQiO3M6MzoiNDAwIjtzOjIzOiJjc3NfZXhjZXJwdF9mb250X2ZhbWlseSI7czo0OiJNdWxpIjtzOjIzOiJjc3NfZXhjZXJwdF9saW5lX2hlaWdodCI7czoyOiIyNCI7czoxNDoiZXhjZXJwdF9sZW5ndGgiO3M6MjoiMjAiO3M6MTg6Im1haW5faGVhZGluZ190aXRsZSI7czoxNjoiT1VSIEFXRVNPTUUgVEVBTSI7czoyMzoibWFpbl9oZWFkaW5nX2xpbmtfdGl0bGUiO3M6ODoiVklFVyBBTEwiO3M6MjI6ImNzc19tYWluX2hlYWRpbmdfY29sb3IiO3M6NzoiI2ZmZmZmZiI7czoyNjoiY3NzX21haW5faGVhZGluZ19mb250X3NpemUiO3M6MjoiMjUiO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfZm9udF93ZWlnaHQiO3M6MzoiNTAwIjtzOjI4OiJjc3NfbWFpbl9oZWFkaW5nX2ZvbnRfZmFtaWx5IjtzOjc6IlJhbGV3YXkiO3M6Mjg6ImNzc19tYWluX2hlYWRpbmdfbGluZV9oZWlnaHQiO3M6MjoiMzciO3M6Mjc6ImNzc19tYWluX2hlYWRpbmdfbGlua19jb2xvciI7czo3OiIjYjRjN2Q2IjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfY29sb3JfaG92ZXIiO3M6MDoiIjtzOjMxOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9zaXplIjtzOjI6IjEzIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF93ZWlnaHQiO3M6MzoiODAwIjtzOjMzOiJjc3NfbWFpbl9oZWFkaW5nX2xpbmtfZm9udF9mYW1pbHkiO3M6NDoiTXVsaSI7czozMzoiY3NzX21haW5faGVhZGluZ19saW5rX3BhZGRpbmdfdmVyIjtzOjI6IjEwIjtzOjEzOiJ2aWV3X2FsbF9saW5rIjtzOjA6IiI7czoyNjoiY3NzX21haW5faGVhZGluZ1Line truncated
|
||||
'section' => 'original'
|
||||
);
|
||||
|
||||
$dslc_user_templates = maybe_unserialize ( get_option( 'dslc_templates' ) );
|
||||
if ( ! empty ( $dslc_user_templates ) && is_array( $dslc_user_templates ) )
|
||||
$dslc_var_templates = array_merge ( $dslc_var_templates, $dslc_user_templates );
|
||||
|
||||
|
||||
/**
|
||||
* Include all the files
|
||||
*/
|
||||
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/other-functions.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/functions.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/display-functions.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/ajax.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/shortcodes.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/scripts.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/post-options-framework/post-options-framework.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/plugin-options-framework/plugin-options-framework.php';
|
||||
include DSLC_ST_FRAMEWORK_ABS . '/single-templates-framework.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/tutorial/tutorial.php';
|
||||
|
||||
/**
|
||||
* Include Modules
|
||||
*/
|
||||
|
||||
include DS_LIVE_COMPOSER_ABS . '/includes/class.module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/posts/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/blog/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/projects/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/galleries/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/infobox/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/staff/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/woocommerce/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/separator/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/downloads/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/testimonials/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/text-simple/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/html/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tabs/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/sliders/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/partners/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/widgets/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/social/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/notification/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/button/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/image/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/progress-bars/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/accordion/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-title/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-content/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-meta/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-downloads-button/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-thumbnail/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-gallery-slider/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-comments/module.php';
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/tp-comments-form/module.php';
|
||||
|
||||
/**
|
||||
* Dashboard Updates
|
||||
*/
|
||||
|
||||
require_once('wp-updates-plugin.php');
|
||||
new WPUpdatesPluginUpdater_390( 'http://wp-updates.com/api/2/plugin', plugin_basename(__FILE__));
|
||||
|
After Width: | Height: | Size: 49 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 532 B |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 1012 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 86 B |
|
After Width: | Height: | Size: 10 KiB |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 78 B |
|
After Width: | Height: | Size: 984 B |
|
After Width: | Height: | Size: 1.9 KiB |
|
After Width: | Height: | Size: 562 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 970 B |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 86 B |
|
After Width: | Height: | Size: 1008 B |
|
After Width: | Height: | Size: 1.0 KiB |
|
After Width: | Height: | Size: 1018 B |
|
After Width: | Height: | Size: 997 B |
|
After Width: | Height: | Size: 19 KiB |
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 506 B |
|
After Width: | Height: | Size: 518 B |
|
After Width: | Height: | Size: 315 B |
@@ -0,0 +1,847 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Table of contents
|
||||
*
|
||||
* - dslc_ajax_add_modules_section ( Echo new modules section HTML )
|
||||
* - dslc_ajax_add_modules_area ( Echo new modules area HTML )
|
||||
* - dslc_ajax_add_module ( Load the module's front ened output)
|
||||
* - dslc_ajax_display_module_options ( Display options for a specific module )
|
||||
* - dslc_ajax_save_composer ( Save the composer code )
|
||||
* - dslc_ajax_load_template ( Loads front end output of a specific template )
|
||||
* - dslc_ajax_import_template ( Loads front ened output of an exported template )
|
||||
* - dslc_ajax_save_template ( Save template for future use )
|
||||
* - dslc_ajax_delete_template ( Deletes a saved template )
|
||||
* - dslc_ajax_get_new_module_id ( Returns a new unique ID, similar to post ID )
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add a new module section
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_add_modules_section( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The output
|
||||
$output = '<div class="dslc-modules-section dslc-modules-section-empty" style="padding-top: 50px; padding-bottom: 50px;">
|
||||
<div class="dslc-bg-video"><div class="dslc-bg-video-inner"></div><div class="dslc-bg-video-overlay"></div></div>
|
||||
<div class="dslc-modules-section-wrapper">
|
||||
<div class="dslc-modules-section-inner dslc-clearfix">
|
||||
<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
||||
<div class="dslc-modules-area-inner">
|
||||
<div class="dslca-modules-area-manage">
|
||||
<div class="dslca-modules-area-manage-inner">
|
||||
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
||||
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
||||
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
||||
<span class="dslca-icon dslc-icon-columns"></span>
|
||||
<div class="dslca-change-width-modules-area-options">
|
||||
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
||||
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
||||
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
||||
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
||||
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
||||
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
||||
</div>
|
||||
</span>
|
||||
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dslca-no-content">
|
||||
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'dslc_string' ) . '</span></span>
|
||||
</div>
|
||||
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- .dslc-module-section-inner -->
|
||||
<div class="dslca-modules-section-manage">
|
||||
<div class="dslca-modules-section-manage-inner">
|
||||
<span class="dslca-manage-action dslca-edit-modules-section-hook"><span class="dslca-icon dslc-icon-cog"></span></span>
|
||||
<span class="dslca-manage-action dslca-copy-modules-section-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
||||
<span class="dslca-manage-action dslca-move-modules-section-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
||||
<span class="dslca-manage-action dslca-delete-modules-section-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dslca-modules-section-settings">
|
||||
<input type="text" data-id="type" value="wrapped">
|
||||
<input type="text" data-id="border_color" value="">
|
||||
<input type="text" data-id="border_width" value="0">
|
||||
<input type="text" data-id="border_style" value="solid">
|
||||
<input type="text" data-id="border" value="top bottom">
|
||||
<input type="text" data-id="bg_color" value="">
|
||||
<input type="text" data-id="bg_image" value="">
|
||||
<input type="text" data-id="bg_video" value="">
|
||||
<input type="text" data-id="bg_video_overlay_color" value="#000000">
|
||||
<input type="text" data-id="bg_video_overlay_opacity" value="0">
|
||||
<input type="text" data-id="bg_image_repeat" value="repeat">
|
||||
<input type="text" data-id="bg_image_attachment" value="scroll">
|
||||
<input type="text" data-id="bg_image_position" value="left top">
|
||||
<input type="text" data-id="bg_image_size" value="auto">
|
||||
<input type="text" data-id="padding" value="50">
|
||||
<input type="text" data-id="padding_h" value="0">
|
||||
</div><!-- .dslca-module-section-settings -->
|
||||
<div class="dslca-module-loading dslca-modules-area-loading"><div class="dslca-module-loading-inner"></div></div>
|
||||
</div><!-- .dslc-module-section-wrapper -->
|
||||
</div>';
|
||||
|
||||
// Set the output
|
||||
$response['output'] = $output;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Good night
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-add-modules-section', 'dslc_ajax_add_modules_section' );
|
||||
|
||||
/**
|
||||
* Add a new modules area
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_add_modules_area( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The output
|
||||
$output = '<div class="dslc-modules-area dslc-col dslc-12-col" data-size="12">
|
||||
<div class="dslca-modules-area-manage">
|
||||
<div class="dslca-modules-area-manage-inner">
|
||||
<span class="dslca-manage-action dslca-copy-modules-area-hook"><span class="dslca-icon dslc-icon-copy"></span></span>
|
||||
<span class="dslca-manage-action dslca-move-modules-area-hook"><span class="dslca-icon dslc-icon-move"></span></span>
|
||||
<span class="dslca-manage-action dslca-change-width-modules-area-hook">
|
||||
<span class="dslca-icon dslc-icon-columns"></span>
|
||||
<div class="dslca-change-width-modules-area-options">
|
||||
<span data-size="1">1/12</span><span data-size="2">2/12</span>
|
||||
<span data-size="3">3/12</span><span data-size="4">4/12</span>
|
||||
<span data-size="5">5/12</span><span data-size="6">6/12</span>
|
||||
<span data-size="7">7/12</span><span data-size="8">8/12</span>
|
||||
<span data-size="9">9/12</span><span data-size="10">10/12</span>
|
||||
<span data-size="11">11/12</span><span data-size="12">12/12</span>
|
||||
</div>
|
||||
</span>
|
||||
<span class="dslca-manage-action dslca-delete-modules-area-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="dslca-no-content">
|
||||
<span class="dslca-no-content-primary"><span class="dslca-icon dslc-icon-download-alt"></span><span class="dslca-no-content-help-text">' . __( 'Drop modules here', 'dslc_string' ) . '</span></span>
|
||||
</div>
|
||||
<div class="dslca-module-loading"><div class="dslca-module-loading-inner"></div></div>
|
||||
</div>';
|
||||
|
||||
// Set the output
|
||||
$response['output'] = $output;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Good night
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-add-modules-area', 'dslc_ajax_add_modules_area' );
|
||||
|
||||
/**
|
||||
* Add a new module
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_add_module( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The ID of the module to add
|
||||
$module_id = $_POST['dslc_module_id'];
|
||||
$post_id = $_POST['dslc_post_id'];
|
||||
|
||||
// If post ID is not numberic stop execution
|
||||
if ( ! is_numeric( $post_id ) )
|
||||
return;
|
||||
|
||||
/**
|
||||
* The instance ID for this specific module
|
||||
*/
|
||||
|
||||
// If it is not a new module ( already has ID )
|
||||
if ( isset( $_POST['dslc_module_instance_id'] ) ) {
|
||||
|
||||
$module_instance_id = $_POST['dslc_module_instance_id'];
|
||||
|
||||
// If it is a new module ( no ID )
|
||||
} else {
|
||||
|
||||
// Get current count
|
||||
$module_id_count = get_option( 'dslc_module_id_count' );
|
||||
|
||||
// If not the first one
|
||||
if ( $module_id_count ) {
|
||||
|
||||
// Increment by one
|
||||
$module_instance_id = $module_id_count + 1;
|
||||
|
||||
// Update the count
|
||||
update_option( 'dslc_module_id_count', $module_instance_id );
|
||||
|
||||
// If it is the first one
|
||||
} else {
|
||||
|
||||
// Set 1 as the ID
|
||||
$module_instance_id = 1;
|
||||
|
||||
// Update the count
|
||||
update_option( 'dslc_module_id_count', $module_instance_id );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// If module instance ID not numeric stop execution
|
||||
if ( ! is_numeric( $module_instance_id ) )
|
||||
return;
|
||||
|
||||
// Instanciate the module class
|
||||
$module_instance = new $module_id();
|
||||
|
||||
// Generate settings
|
||||
$module_settings = dslc_module_settings( $module_instance->options() );
|
||||
|
||||
// Append ID to settings
|
||||
$module_settings['module_instance_id'] = $module_instance_id;
|
||||
|
||||
// Append post ID to settings
|
||||
$module_settings['post_id'] = $post_id;
|
||||
|
||||
// Start output fetching
|
||||
ob_start();
|
||||
|
||||
// Output
|
||||
$module_instance->output( $module_settings );
|
||||
|
||||
// Get the output and stop fetching
|
||||
$output = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
// Set the output
|
||||
$response['output'] = $output;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Good night
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-add-module', 'dslc_ajax_add_module' );
|
||||
|
||||
|
||||
/**
|
||||
* Display module options
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_display_module_options( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// This will hold the output
|
||||
$response['output'] = '';
|
||||
|
||||
// The ID of the module
|
||||
$module_id = $_POST['dslc_module_id'];
|
||||
|
||||
// Instanciate the module class
|
||||
$module_instance = new $module_id();
|
||||
|
||||
// Get the module options
|
||||
$module_options = $module_instance->options();
|
||||
|
||||
// Tabs
|
||||
$tabs = array();
|
||||
$tabs['general_functionality'] = array(
|
||||
'title' => 'General',
|
||||
'id' => 'general_functionality',
|
||||
'section' => 'functionality'
|
||||
);
|
||||
$tabs['general_styling'] = array(
|
||||
'title' => 'General',
|
||||
'id' => 'general_styling',
|
||||
'section' => 'styling'
|
||||
);
|
||||
|
||||
ob_start();
|
||||
|
||||
// Go through each option, generate the option HTML and append to output
|
||||
foreach ( $module_options as $module_option ) {
|
||||
|
||||
$curr_value = $module_option['std'];
|
||||
|
||||
if ( isset( $_POST[ $module_option['id'] ] ) )
|
||||
$curr_value = $_POST[ $module_option['id'] ];
|
||||
|
||||
/**
|
||||
* Visibility
|
||||
*/
|
||||
|
||||
if ( isset( $module_option['visibility'] ) )
|
||||
$visibility = false;
|
||||
else
|
||||
$visibility = true;
|
||||
|
||||
if ( $module_option['type'] == 'checkbox' && count( $module_option['choices'] ) < 2 )
|
||||
$visibility = false;
|
||||
|
||||
/**
|
||||
* Refresh on change
|
||||
*/
|
||||
|
||||
if ( isset( $module_option['refresh_on_change'] ) ) {
|
||||
|
||||
if ( $module_option['refresh_on_change'] )
|
||||
$refresh_on_change = 'active';
|
||||
else
|
||||
$refresh_on_change = 'inactive';
|
||||
|
||||
} else {
|
||||
$refresh_on_change = 'active';
|
||||
}
|
||||
|
||||
/**
|
||||
* Section (functionality and styling)
|
||||
*/
|
||||
|
||||
if ( isset( $module_option['section'] ) )
|
||||
$section = $module_option['section'];
|
||||
else
|
||||
$section = 'functionality';
|
||||
|
||||
/**
|
||||
* Tab
|
||||
*/
|
||||
|
||||
if ( isset( $module_option['tab'] ) ) {
|
||||
|
||||
// Lowercase it
|
||||
$tab_ID = strtolower( $module_option['tab'] );
|
||||
|
||||
// Replace spaces with _
|
||||
$tab_ID = str_replace( ' ', '_', $tab_ID );
|
||||
|
||||
// Add section ID append
|
||||
$tab_ID .= '_' . $section;
|
||||
|
||||
// If not already in the tabs array
|
||||
if ( ! in_array( $tab_ID, $tabs ) ) {
|
||||
|
||||
// Add it to the tabs array
|
||||
$tabs[$tab_ID] = array(
|
||||
'title' => $module_option['tab'],
|
||||
'id' => $tab_ID,
|
||||
'section' => $section
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
$tab_ID = 'general_' . $section;
|
||||
|
||||
}
|
||||
|
||||
$ext = ' ';
|
||||
if ( isset( $module_option['ext'] ) )
|
||||
$ext = $module_option['ext'];
|
||||
|
||||
$affect_on_change_append = '';
|
||||
if ( isset( $module_option['affect_on_change_el'] ) && isset( $module_option['affect_on_change_rule'] ) )
|
||||
$affect_on_change_append = 'data-affect-on-change-el="' . $module_option['affect_on_change_el'] . '" data-affect-on-change-rule="' . $module_option['affect_on_change_rule'] . '"';
|
||||
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-module-edit-option dslca-module-edit-option-<?php echo $module_option['type']; ?> dslca-module-edit-option-<?php echo $module_option['id']; ?> <?php if ( ! $visibility ) echo 'dslca-module-edit-option-hidden'; ?>" data-id="<?php echo $module_option['id']; ?>" data-refresh-on-change="<?php echo $refresh_on_change; ?>" data-section="<?php echo $section; ?>" data-tab="<?php echo $tab_ID; ?>">
|
||||
|
||||
<span class="dslca-module-edit-label">
|
||||
<?php echo $module_option['label']; ?>
|
||||
<?php if ( $module_option['type'] == 'icon' ): ?>
|
||||
<span class="dslca-module-edit-field-icon-ttip-hook"><span class="dslca-icon dslc-icon-info"></span></span>
|
||||
<?php endif; ?>
|
||||
</span>
|
||||
|
||||
<?php if ( $module_option['type'] == 'text' ) : ?>
|
||||
|
||||
<input type="text" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-starting-val="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'textarea' ) : ?>
|
||||
|
||||
<textarea class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?>><?php echo stripslashes( $curr_value ); ?></textarea>
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'select' ) : ?>
|
||||
|
||||
<select class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" <?php echo $affect_on_change_append ?> >
|
||||
<?php foreach( $module_option['choices'] as $select_option ) : ?>
|
||||
<option value="<?php echo $select_option['value']; ?>" <?php if ( $curr_value == $select_option['value'] ) echo 'selected="selected"'; ?>><?php echo $select_option['label']; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'checkbox' ) : ?>
|
||||
|
||||
<?php
|
||||
|
||||
// Current Value Array
|
||||
if ( empty( $curr_value ) )
|
||||
$curr_value = array();
|
||||
else
|
||||
$curr_value = explode( ' ', trim( $curr_value ) );
|
||||
|
||||
// Determined brakepoints
|
||||
$chck_amount = count ( $module_option['choices'] );
|
||||
$chck_breakpoint = ceil( $chck_amount / 1 );
|
||||
$chck_count = 0;
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-module-edit-option-checkbox-wrapper">
|
||||
<?php foreach ( $module_option['choices'] as $checkbox_option ) : $chck_count++; ?>
|
||||
<div class="dslca-module-edit-option-checkbox-single">
|
||||
<span class="dslca-module-edit-option-checkbox-hook"><span class="dslca-icon <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'dslc-icon-check'; else echo 'dslc-icon-check-empty'; ?>"></span><?php echo $checkbox_option['label']; ?></span>
|
||||
<input type="checkbox" class="dslca-module-edit-field dslca-module-edit-field-checkbox" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" <?php if ( in_array( $checkbox_option['value'], $curr_value ) ) echo 'checked="checked"'; ?> <?php echo $affect_on_change_append ?> />
|
||||
</div><!-- .dslca-module-edit-option-checkbox-single -->
|
||||
<?php if ( $chck_count == $chck_breakpoint ) { echo '<br>'; $chck_count = 0; } ?>
|
||||
<?php endforeach; ?>
|
||||
</div><!-- .dslca-module-edit-option-checkbox-wrapper -->
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'radio' ) : ?>
|
||||
|
||||
<div class="dslca-module-edit-option-radio-wrapper">
|
||||
<?php foreach ( $module_option['choices'] as $checkbox_option ) : ?>
|
||||
<div class="dslca-module-edit-option-radio-single">
|
||||
<input type="radio" class="dslca-module-edit-field" data-id="<?php echo $module_option['id']; ?>" name="<?php echo $module_option['id']; ?>" value="<?php echo $checkbox_option['value']; ?>" /> <?php echo $checkbox_option['label']; ?><br>
|
||||
</div><!-- .dslca-module-edit-option-radio-single -->
|
||||
<?php endforeach; ?>
|
||||
</div><!-- .dslca-module-edit-option-radio-wrapper -->
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'color' ) : ?>
|
||||
|
||||
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-colorpicker" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" />
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'slider' ) : ?>
|
||||
|
||||
<?php
|
||||
|
||||
$slider_min = 0;
|
||||
$slider_max = 100;
|
||||
$slider_increment = 1;
|
||||
|
||||
if ( isset( $module_option['min'] ) )
|
||||
$slider_min = $module_option['min'];
|
||||
|
||||
if ( isset( $module_option['max'] ) )
|
||||
$slider_max = $module_option['max'];
|
||||
|
||||
if ( isset( $module_option['increment'] ) )
|
||||
$slider_increment = $module_option['increment'];
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-module-edit-field-slider"></div>
|
||||
<span class="dslca-module-edit-field-slider-tooltip"><?php echo $curr_value; ?></span>
|
||||
<input type="hidden" class="dslca-module-edit-field" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" data-affect-on-change-el="<?php echo $module_option['affect_on_change_el']; ?>" data-affect-on-change-rule="<?php echo $module_option['affect_on_change_rule']; ?>" data-min="<?php echo $slider_min; ?>" data-max="<?php echo $slider_max; ?>" data-ext="<?php echo $ext; ?>" data-increment="<?php echo $slider_increment; ?>" />
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'font' ) : ?>
|
||||
|
||||
<div class="dslca-module-edit-field-font-wrapper">
|
||||
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-font" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
||||
<span class="dslca-module-edit-field-font-suggest"></span>
|
||||
</div>
|
||||
<span class="dslca-module-edit-field-font-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
||||
<span class="dslca-module-edit-field-font-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'icon' ) : ?>
|
||||
|
||||
<div class="dslca-module-edit-field-icon-wrapper">
|
||||
<input type="text" class="dslca-module-edit-field dslca-module-edit-field-icon" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
||||
<span class="dslca-module-edit-field-icon-suggest"></span>
|
||||
</div>
|
||||
<span class="dslca-module-edit-field-icon-prev"><span class="dslca-icon dslc-icon-chevron-left"></span></span>
|
||||
<span class="dslca-module-edit-field-icon-next"><span class="dslca-icon dslc-icon-chevron-right"></span></span>
|
||||
|
||||
<?php elseif ( $module_option['type'] == 'image' ) : ?>
|
||||
|
||||
<span class="dslca-module-edit-field-image-add-hook" <?php if ( $curr_value != '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-cloud-upload"></span><?php _e( 'Upload Image', 'dslc_string' ); ?></span>
|
||||
<span class="dslca-module-edit-field-image-remove-hook" <?php if ( $curr_value == '' ) echo 'style="display: none;"'; ?>><span class="dslca-icon dslc-icon-remove"></span><?php _e( 'Remove Image', 'dslc_string' ); ?></span>
|
||||
<input type="hidden" class="dslca-module-edit-field dslca-module-edit-field-image" name="<?php echo $module_option['id']; ?>" data-id="<?php echo $module_option['id']; ?>" value="<?php echo $curr_value; ?>" <?php echo $affect_on_change_append ?> />
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .dslc-module-edit-option -->
|
||||
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
$output_fields = ob_get_contents();
|
||||
ob_end_clean();
|
||||
|
||||
// Output Start
|
||||
$output_start = '<div class="dslca-module-edit-options-inner">
|
||||
<div class="dslca-module-edit-options-wrapper dslc-clearfix">';
|
||||
|
||||
// Output End
|
||||
$output_end = '</div>
|
||||
</div>';
|
||||
|
||||
/**
|
||||
* Output Tabs
|
||||
*/
|
||||
|
||||
$output_tabs = '';
|
||||
|
||||
// If more than one
|
||||
if ( count( $tabs ) > 1 ) {
|
||||
|
||||
// Start output
|
||||
$output_tabs .= '<div class="dslca-module-edit-options-tabs">';
|
||||
|
||||
// Go through all of them
|
||||
foreach ( $tabs as $tab ) {
|
||||
|
||||
$output_tabs .= '<span class="dslca-module-edit-options-tab-hook" data-section="' . $tab['section'] . '" data-id="'. $tab['id'] .'">' . $tab['title'] . '</span>';
|
||||
|
||||
}
|
||||
|
||||
// End output
|
||||
$output_tabs .= '</div>';
|
||||
|
||||
}
|
||||
|
||||
// Combine output
|
||||
$response['output'] .= $output_tabs;
|
||||
$response['output'] .= $output_start;
|
||||
$response['output'] .= $output_fields;
|
||||
$response['output'] .= $output_end;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Auf wiedersehen
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-display-module-options', 'dslc_ajax_display_module_options' );
|
||||
|
||||
|
||||
/**
|
||||
* Save composer code
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_save_composer( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The composer code
|
||||
$composer_code = $_POST['dslc_code'];
|
||||
|
||||
// The ID of the post/page
|
||||
$post_id = $_POST['dslc_post_id'];
|
||||
|
||||
// Add/update the post/page with the composer code
|
||||
if ( update_post_meta( $post_id, 'dslc_code', $composer_code ) )
|
||||
$response['status'] = 'success';
|
||||
else
|
||||
$response['status'] = 'failed';
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Refresh cache
|
||||
if ( function_exists( 'wp_cache_post_change' ) ) {
|
||||
$GLOBALS['super_cache_enabled'] = 1;
|
||||
wp_cache_post_change( $post_id );
|
||||
}
|
||||
|
||||
// Au revoir
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-save-composer', 'dslc_ajax_save_composer' );
|
||||
|
||||
|
||||
/**
|
||||
* Load a template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_load_template( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array that holds active templates
|
||||
global $dslc_var_templates;
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The ID of the template to load
|
||||
$template_id = $_POST['dslc_template_id'];
|
||||
|
||||
// The code of the template to load
|
||||
$template_code = $dslc_var_templates[$template_id]['code'];
|
||||
|
||||
// Apply for new ID
|
||||
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
||||
|
||||
// Get the front-end output
|
||||
$response['output'] = do_shortcode ( $template_code );
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Cheers
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-load-template', 'dslc_ajax_load_template' );
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Import a template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_import_template( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// The array we'll pass back to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// The code of the template
|
||||
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
||||
|
||||
// Apply for new ID
|
||||
$template_code = str_replace( '[dslc_module]', '[dslc_module give_new_id="true"]', $template_code);
|
||||
|
||||
// Get the front-end output
|
||||
$response['output'] = do_shortcode ( $template_code );
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// Send the response
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Bye bye
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-import-template', 'dslc_ajax_import_template' );
|
||||
|
||||
|
||||
/**
|
||||
* Save a custom template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_save_template( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
||||
|
||||
// Response to the AJAX call
|
||||
$response = array();
|
||||
|
||||
// To let the AJAX know how it went (all good for now)
|
||||
$response['status'] = 'success';
|
||||
|
||||
// Get new template data
|
||||
$template_title = stripslashes( $_POST['dslc_template_title'] );
|
||||
$template_id = strtolower( str_replace( ' ', '-', $template_title) );
|
||||
$template_code = stripslashes( $_POST['dslc_template_code'] );
|
||||
|
||||
// Get current templates
|
||||
$templates = get_option( 'dslc_templates' );
|
||||
|
||||
// No templates = make empty array OR templates found = unserialize
|
||||
if ( $templates === false )
|
||||
$templates = array();
|
||||
else
|
||||
$templates = maybe_unserialize( $templates );
|
||||
|
||||
// Append new template to templates array
|
||||
$templates[$template_id] = array(
|
||||
'title' => $template_title,
|
||||
'id' => $template_id,
|
||||
'code' => $template_code,
|
||||
'section' => 'user'
|
||||
);
|
||||
|
||||
// Save new templates array to db
|
||||
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
||||
|
||||
// Generate response
|
||||
$response['output'] = $templates;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// AJAX phone home
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Asta la vista
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-save-template', 'dslc_ajax_save_template' );
|
||||
|
||||
/**
|
||||
* Delete a custom template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_delete_template( $atts ) {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
||||
|
||||
$response = array();
|
||||
$response['status'] = 'success';
|
||||
|
||||
// ID of the template to delete
|
||||
$template_id = $_POST['dslc_template_id'];
|
||||
|
||||
// Get all templates
|
||||
$templates = maybe_unserialize( get_option( 'dslc_templates' ) );
|
||||
|
||||
// Remove the template
|
||||
unset( $templates[$template_id] );
|
||||
|
||||
// Save new templates array to db
|
||||
update_option( 'dslc_templates', maybe_serialize( $templates ) );
|
||||
|
||||
// Generate response
|
||||
$response['output'] = $templates;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// AJAX phone home
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Asta la vista
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-delete-template', 'dslc_ajax_delete_template' );
|
||||
|
||||
/**
|
||||
* Get new module ID
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_ajax_get_new_module_id() {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY_SAVE ) ) {
|
||||
|
||||
$response = array();
|
||||
$response['status'] = 'success';
|
||||
|
||||
// Get current count
|
||||
$module_id_count = get_option( 'dslc_module_id_count' );
|
||||
|
||||
// Increment by one
|
||||
$module_instance_id = $module_id_count + 1;
|
||||
|
||||
// Update the count
|
||||
update_option( 'dslc_module_id_count', $module_instance_id );
|
||||
|
||||
// Generate response
|
||||
$response['output'] = $module_instance_id;
|
||||
|
||||
// Encode response
|
||||
$response_json = json_encode( $response );
|
||||
|
||||
// AJAX phone home
|
||||
header( "Content-Type: application/json" );
|
||||
echo $response_json;
|
||||
|
||||
// Asta la vista
|
||||
exit;
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_ajax_dslc-ajax-get-new-module-id', 'dslc_ajax_get_new_module_id' );
|
||||
@@ -0,0 +1,513 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Table of Contents
|
||||
*
|
||||
* - dslc_load_translation ( Load the text domain )
|
||||
* - dslc_register_modules ( Register default module and calls action used to register custom modules )
|
||||
* - dslc_register_module ( Register a module )
|
||||
* - dslc_unregister_module ( Unregister a module )
|
||||
* - dslc_module_settings ( Get settings of a specific module )
|
||||
* - dslc_generate_custom_css ( Generate module CSS )
|
||||
* - dslc_get_new_module_id ( Get new unique ID )
|
||||
* - dslc_register_template ( Register a template )
|
||||
* - dslc_unregister_template ( Unregister a template )
|
||||
* - dslc_body_class ( Add custom classes to the body tag )
|
||||
* - dslc_set_defaults ( Replaces the default option values )
|
||||
* - dslc_is_module_active ( Check if a specific module is active - can be disabled in LC settings )
|
||||
*/
|
||||
|
||||
/**
|
||||
* Load text domain
|
||||
*
|
||||
* @since 1.0.3
|
||||
*/
|
||||
|
||||
function dslc_load_translation() {
|
||||
|
||||
load_plugin_textdomain( 'dslc_string', false, DS_LIVE_COMPOSER_DIR_NAME . '/lang/' );
|
||||
|
||||
} add_action( 'init', 'dslc_load_translation' );
|
||||
|
||||
/**
|
||||
* Registers default and custom modules
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_register_modules() {
|
||||
|
||||
// Register default modules
|
||||
dslc_register_module( 'DSLC_TP_Thumbnail' );
|
||||
dslc_register_module( 'DSLC_TP_Title' );
|
||||
dslc_register_module( 'DSLC_TP_Content' );
|
||||
dslc_register_module( 'DSLC_TP_Meta' );
|
||||
dslc_register_module( 'DSLC_TP_Downloads_Button' );
|
||||
dslc_register_module( 'DSLC_TP_Gallery_Slider' );
|
||||
dslc_register_module( 'DSLC_TP_Comments' );
|
||||
dslc_register_module( 'DSLC_TP_Comments_Form' );
|
||||
dslc_register_module( 'DSLC_Accordion' );
|
||||
dslc_register_module( 'DSLC_Separator' );
|
||||
dslc_register_module( 'DSLC_Text_Simple' );
|
||||
dslc_register_module( 'DSLC_Html' );
|
||||
dslc_register_module( 'DSLC_Posts' );
|
||||
dslc_register_module( 'DSLC_Blog' );
|
||||
dslc_register_module( 'DSLC_Projects' );
|
||||
dslc_register_module( 'DSLC_Galleries' );
|
||||
dslc_register_module( 'DSLC_Downloads' );
|
||||
dslc_register_module( 'DSLC_Testimonials' );
|
||||
dslc_register_module( 'DSLC_Staff' );
|
||||
dslc_register_module( 'DSLC_Partners' );
|
||||
dslc_register_module( 'DSLC_WooCommerce_Products' );
|
||||
dslc_register_module( 'DSLC_Social' );
|
||||
dslc_register_module( 'DSLC_Notification' );
|
||||
dslc_register_module( 'DSLC_Button' );
|
||||
dslc_register_module( 'DSLC_Image' );
|
||||
dslc_register_module( 'DSLC_Tabs' );
|
||||
dslc_register_module( 'DSLC_Progress_Bars' );
|
||||
dslc_register_module( 'DSLC_Sliders' );
|
||||
dslc_register_module( 'DSLC_Info_Box' );
|
||||
dslc_register_module( 'DSLC_Widgets' );
|
||||
|
||||
// Hook to register custom modules
|
||||
do_action( 'dslc_hook_register_modules' );
|
||||
do_action( 'dslc_hook_unregister_modules' );
|
||||
|
||||
} add_action( 'init', 'dslc_register_modules', 1 );
|
||||
|
||||
|
||||
/**
|
||||
* Register module
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_register_module( $module_id ) {
|
||||
|
||||
// Array that holds all active modules
|
||||
global $dslc_var_modules;
|
||||
|
||||
// Instanciate the module class
|
||||
$module_instance = new $module_id();
|
||||
|
||||
// Icon
|
||||
if ( ! isset( $module_instance->module_icon) )
|
||||
$module_instance->module_icon = '';
|
||||
|
||||
// Category/Origin
|
||||
if ( ! isset( $module_instance->module_category) )
|
||||
$module_instance->module_category = 'other';
|
||||
|
||||
// If the array ID not taken
|
||||
if ( ! isset( $dslc_var_modules[$module_id] ) ) {
|
||||
|
||||
// Append new module to the global array
|
||||
$dslc_var_modules[ $module_id ] = array(
|
||||
'id' => $module_id,
|
||||
'title' => $module_instance->module_title,
|
||||
'icon' => $module_instance->module_icon,
|
||||
'origin' => $module_instance->module_category
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregister module
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_unregister_module( $module_id ) {
|
||||
|
||||
// Array that holds all active modules
|
||||
global $dslc_var_modules;
|
||||
|
||||
// Remove module from array
|
||||
unset( $dslc_var_modules[ $module_id ] );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Module Settings
|
||||
*
|
||||
* Generates settings based on default values and user values
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_module_settings( $options, $custom = false ) {
|
||||
|
||||
// Array to hold the settings
|
||||
$settings = array();
|
||||
|
||||
// Go through all options
|
||||
foreach( $options as $option ) {
|
||||
|
||||
// If value set use it
|
||||
if ( isset( $_POST[ $option['id'] ] ) ) {
|
||||
$settings[ $option['id'] ] = $_POST[ $option['id'] ];
|
||||
// If value not set use default
|
||||
} else {
|
||||
$settings[ $option['id'] ] = $option['std'];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
return $settings;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates module CSS
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_generate_custom_css( $options_arr, $settings, $restart = false ) {
|
||||
|
||||
$css_output = '';
|
||||
global $dslc_googlefonts_array;
|
||||
$googlefonts_output = '';
|
||||
$regular_fonts = array( "Georgia", "Times", "Arial", "Lucida Sans Unicode", "Tahoma", "Trebuchet MS", "Verdana", "Helvetica" );
|
||||
$organized_array = array();
|
||||
|
||||
global $dslc_css_fonts;
|
||||
global $dslc_css_style;
|
||||
|
||||
$important_append = '';
|
||||
$force_important = dslc_get_option( 'lc_force_important_css', 'dslc_plugin_options' );
|
||||
if ( $force_important == 'enabled' )
|
||||
$important_append = ' !important';
|
||||
|
||||
if ( $restart == true ) {
|
||||
|
||||
$dslc_css_fonts = '';
|
||||
$dslc_css_style = '';
|
||||
|
||||
}
|
||||
|
||||
// Go through array of options
|
||||
foreach ( $options_arr as $option_arr ) {
|
||||
|
||||
// If option type is done with CSS and option is set
|
||||
if ( isset( $option_arr['affect_on_change_el'] ) && isset( $option_arr['affect_on_change_rule'] ) ) {
|
||||
|
||||
// Default
|
||||
if ( ! isset( $settings[$option_arr['id']] ) )
|
||||
$settings[$option_arr['id']] = $option_arr['std'];
|
||||
|
||||
// Extension (px, %, em...)
|
||||
$ext = ' ';
|
||||
if ( isset( $option_arr['ext'] ) )
|
||||
$ext = $option_arr['ext'];
|
||||
|
||||
// Prepend
|
||||
$prepend = '';
|
||||
if ( isset( $option_arr['prepend'] ) )
|
||||
$prepend = $option_arr['prepend'];
|
||||
|
||||
// Append
|
||||
$append = '';
|
||||
if ( isset( $option_arr['append'] ) )
|
||||
$append = $option_arr['append'];
|
||||
|
||||
if ( $option_arr['type'] == 'image' ) {
|
||||
$prepend = 'url("';
|
||||
$append = '")';
|
||||
}
|
||||
|
||||
// Get element and CSS rule
|
||||
$affect_rule_raw = $option_arr['affect_on_change_rule'];
|
||||
$affect_rules_arr = explode( ',', $affect_rule_raw );
|
||||
|
||||
// Affect Element
|
||||
$affect_el = '';
|
||||
$affect_els_arr = explode( ',', $option_arr['affect_on_change_el'] );
|
||||
$count = 0;
|
||||
foreach ( $affect_els_arr as $affect_el_arr) {
|
||||
$count++;
|
||||
if ( $count > 1 ) {
|
||||
$affect_el .= ',';
|
||||
}
|
||||
|
||||
if ( $option_arr['section'] == 'responsive' ) {
|
||||
|
||||
switch ( $option_arr['tab'] ) {
|
||||
case 'tablet':
|
||||
if ( isset( $settings['css_res_t'] ) && $settings['css_res_t'] == 'enabled' )
|
||||
$affect_el .= 'body.dslc-res-tablet #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
||||
break;
|
||||
case 'phone':
|
||||
if ( isset( $settings['css_res_p'] ) && $settings['css_res_p'] == 'enabled' )
|
||||
$affect_el .= 'body.dslc-res-phone #dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
||||
break;
|
||||
}
|
||||
|
||||
} else {
|
||||
$affect_el .= '#dslc-content #dslc-module-' . $settings['module_instance_id'] . ' ' . $affect_el_arr;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Checkbox ( CSS )
|
||||
if ( $option_arr['type'] == 'checkbox' && $option_arr['refresh_on_change'] == false ) {
|
||||
|
||||
$checkbox_val = '';
|
||||
$checkbox_arr = explode( ' ', trim( $settings[$option_arr['id']] ) );
|
||||
|
||||
if ( in_array( 'top', $checkbox_arr ) )
|
||||
$checkbox_val .= 'solid ';
|
||||
else
|
||||
$checkbox_val .= 'none ';
|
||||
|
||||
if ( in_array( 'right', $checkbox_arr ) )
|
||||
$checkbox_val .= 'solid ';
|
||||
else
|
||||
$checkbox_val .= 'none ';
|
||||
|
||||
if ( in_array( 'bottom', $checkbox_arr ) )
|
||||
$checkbox_val .= 'solid ';
|
||||
else
|
||||
$checkbox_val .= 'none ';
|
||||
|
||||
if ( in_array( 'left', $checkbox_arr ) )
|
||||
$checkbox_val .= 'solid ';
|
||||
else
|
||||
$checkbox_val .= 'none ';
|
||||
|
||||
$settings[$option_arr['id']] = $checkbox_val;
|
||||
|
||||
}
|
||||
|
||||
// Colors (transparent if empy )
|
||||
if ( $settings[$option_arr['id']] == '' && ( $option_arr['affect_on_change_rule'] == 'background' || $option_arr['affect_on_change_rule'] == 'background-color' ) ) {
|
||||
|
||||
$settings[$option_arr['id']] = 'transparent';
|
||||
|
||||
}
|
||||
|
||||
foreach ( $affect_rules_arr as $affect_rule ) {
|
||||
$organized_array[$affect_el][$affect_rule] = $prepend . $settings[$option_arr['id']] . $ext . $append;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// If option type is font
|
||||
if ( $option_arr['type'] == 'font' ) {
|
||||
|
||||
if ( ! in_array( $settings[$option_arr['id']], $dslc_googlefonts_array ) && ! in_array( $settings[$option_arr['id']], $regular_fonts ) )
|
||||
$dslc_googlefonts_array[] = $settings[$option_arr['id']];
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
if ( count( $organized_array ) > 0 ) {
|
||||
|
||||
foreach ( $organized_array as $el => $rules ) {
|
||||
|
||||
$css_output .= $el . ' { ';
|
||||
|
||||
foreach ( $rules as $rule => $value ) {
|
||||
|
||||
if ( trim( $value ) != '' ) {
|
||||
|
||||
$css_output .= $rule . ' : ' . $value . $important_append . '; ';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$css_output .= ' } ';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
$dslc_css_style .= $css_output;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an unique module ID
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_get_new_module_id() {
|
||||
|
||||
// Allowed to do this?
|
||||
if ( is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
// Get current count
|
||||
$module_id_count = get_option( 'dslc_module_id_count' );
|
||||
|
||||
// Increment by one
|
||||
$module_instance_id = $module_id_count + 1;
|
||||
|
||||
// Update the count
|
||||
update_option( 'dslc_module_id_count', $module_instance_id );
|
||||
|
||||
// Return new ID
|
||||
return $module_instance_id;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Hooks to register/unregister templates
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_register_templates() {
|
||||
|
||||
do_action( 'dslc_hook_register_templates' );
|
||||
do_action( 'dslc_hook_unregister_templates' );
|
||||
|
||||
} add_action( 'init', 'dslc_register_templates', 1 );
|
||||
|
||||
/**
|
||||
* Register a template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_register_template( $template ) {
|
||||
|
||||
// Global variable that holds templates information
|
||||
global $dslc_var_templates;
|
||||
|
||||
// If an array supplied proceed
|
||||
if ( is_array( $template ) ) {
|
||||
|
||||
// If the array ID not taken
|
||||
if ( ! isset( $dslc_var_templates[$template['id']] ) ) {
|
||||
|
||||
// Add the template to the templates array
|
||||
$dslc_var_templates[$template['id']] = $template;
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Unregister a template
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_unregister_template( $template_ID ) {
|
||||
|
||||
// Global variable that holds templates information
|
||||
global $dslc_var_templates;
|
||||
|
||||
// If the template exists
|
||||
if ( isset( $dslc_var_templates[$template_ID] ) ) {
|
||||
|
||||
// Remove the template from the templates array
|
||||
unset( $dslc_var_templates[$template_ID] );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Add custom classes to the body tag
|
||||
*
|
||||
* @since 1.0.2
|
||||
*/
|
||||
|
||||
function dslc_body_class( $classes ) {
|
||||
|
||||
global $dslc_post_types;
|
||||
|
||||
$has_lc_content = false;
|
||||
|
||||
// If page in LC mode, force the class
|
||||
if ( isset( $_GET['dslc'] ) && $_GET['dslc'] == 'active' )
|
||||
$has_lc_content = true;
|
||||
|
||||
|
||||
// Still nothing, let's check if there's real LC content on the page
|
||||
if ( ! $has_lc_content ) {
|
||||
|
||||
// Get the dslc_code custom field
|
||||
$dslc_code = get_post_meta( get_the_ID(), 'dslc_code', true );
|
||||
|
||||
// If there is LC content, allow the class
|
||||
if ( $dslc_code )
|
||||
$has_lc_content = true;
|
||||
|
||||
}
|
||||
|
||||
// Still nothing, let's check if it's a post and has an LC template
|
||||
if ( ! $has_lc_content && is_singular( $dslc_post_types ) ) {
|
||||
|
||||
// Get the ID of the template
|
||||
$template_ID = dslc_st_get_template_ID( get_the_ID() );
|
||||
|
||||
// If tempalte exists, allow the class
|
||||
if ( $template_ID )
|
||||
$has_lc_content = true;
|
||||
|
||||
}
|
||||
|
||||
// If has LC content append class
|
||||
if ( $has_lc_content )
|
||||
$classes[] = 'dslc-page';
|
||||
|
||||
// Return the modified array
|
||||
return $classes;
|
||||
|
||||
} add_filter( 'body_class', 'dslc_body_class' );
|
||||
|
||||
/**
|
||||
* Replaces the default option values
|
||||
*
|
||||
* @since 1.0.2
|
||||
*/
|
||||
|
||||
function dslc_set_defaults( $new_defaults, $options ) {
|
||||
|
||||
// If no new defaults, pass it back and stop
|
||||
if ( ! $new_defaults )
|
||||
return $options;
|
||||
|
||||
// Generate an array of options IDs to alter
|
||||
$def_ids = array();
|
||||
foreach ( $new_defaults as $key => $val ) {
|
||||
$def_ids[] = $key;
|
||||
}
|
||||
|
||||
// Go through all the options
|
||||
foreach ( $options as $opt_key => $option ) {
|
||||
|
||||
if ( in_array( $option['id'], $def_ids ) ) {
|
||||
$options[$opt_key]['std'] = $new_defaults[$option['id']];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// Pass back the options array
|
||||
return $options;
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if module is active
|
||||
*/
|
||||
|
||||
function dslc_is_module_active( $module_ID ) {
|
||||
|
||||
if ( dslc_get_option( $module_ID, 'dslc_plugin_options_features' ) == 'disabled' )
|
||||
return false;
|
||||
else
|
||||
return true;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,204 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Title : Aqua Resizer
|
||||
* Description : Resizes WordPress images on the fly
|
||||
* Version : 1.2.0
|
||||
* Author : Syamil MJ
|
||||
* Author URI : http://aquagraphite.com
|
||||
* License : WTFPL - http://sam.zoy.org/wtfpl/
|
||||
* Documentation : https://github.com/sy4mil/Aqua-Resizer/
|
||||
*
|
||||
* @param string $url - (required) must be uploaded using wp media uploader
|
||||
* @param int $width - (required)
|
||||
* @param int $height - (optional)
|
||||
* @param bool $crop - (optional) default to soft crop
|
||||
* @param bool $single - (optional) returns an array if false
|
||||
* @uses wp_upload_dir()
|
||||
* @uses image_resize_dimensions()
|
||||
* @uses wp_get_image_editor()
|
||||
*
|
||||
* @return str|array
|
||||
*/
|
||||
|
||||
if(!class_exists('DSLC_Aq_Resize') ) {
|
||||
class DSLC_Aq_Resize
|
||||
{
|
||||
/**
|
||||
* The singleton instance
|
||||
*/
|
||||
static private $instance = null;
|
||||
|
||||
/**
|
||||
* No initialization allowed
|
||||
*/
|
||||
private function __construct() {}
|
||||
|
||||
/**
|
||||
* No cloning allowed
|
||||
*/
|
||||
private function __clone() {}
|
||||
|
||||
/**
|
||||
* For your custom default usage you may want to initialize an Aq_Resize object by yourself and then have own defaults
|
||||
*/
|
||||
static public function getInstance() {
|
||||
if(self::$instance == null) {
|
||||
self::$instance = new self;
|
||||
}
|
||||
|
||||
return self::$instance;
|
||||
}
|
||||
|
||||
/**
|
||||
* Run, forest.
|
||||
*/
|
||||
public function process( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = true ) {
|
||||
|
||||
// Validate inputs.
|
||||
if ( ! $url || ( ! $width && ! $height ) ) return false;
|
||||
|
||||
$upscale = true;
|
||||
|
||||
// Caipt'n, ready to hook.
|
||||
if ( true === $upscale ) add_filter( 'image_resize_dimensions', array($this, 'aq_upscale'), 10, 6 );
|
||||
|
||||
// Define upload path & dir.
|
||||
$upload_info = wp_upload_dir();
|
||||
$upload_dir = $upload_info['basedir'];
|
||||
$upload_url = $upload_info['baseurl'];
|
||||
|
||||
$http_prefix = "http://";
|
||||
$https_prefix = "https://";
|
||||
|
||||
/* if the $url scheme differs from $upload_url scheme, make them match
|
||||
if the schemes differe, images don't show up. */
|
||||
if(!strncmp($url,$https_prefix,strlen($https_prefix))){ //if url begins with https:// make $upload_url begin with https:// as well
|
||||
$upload_url = str_replace($http_prefix,$https_prefix,$upload_url);
|
||||
}
|
||||
elseif(!strncmp($url,$http_prefix,strlen($http_prefix))){ //if url begins with http:// make $upload_url begin with http:// as well
|
||||
$upload_url = str_replace($https_prefix,$http_prefix,$upload_url);
|
||||
}
|
||||
|
||||
|
||||
// Check if $img_url is local.
|
||||
if ( false === strpos( $url, $upload_url ) ) return false;
|
||||
|
||||
// Define path of image.
|
||||
$rel_path = str_replace( $upload_url, '', $url );
|
||||
$img_path = $upload_dir . $rel_path;
|
||||
|
||||
// Check if img path exists, and is an image indeed.
|
||||
if ( ! file_exists( $img_path ) or ! getimagesize( $img_path ) ) return false;
|
||||
|
||||
// Get image info.
|
||||
$info = pathinfo( $img_path );
|
||||
$ext = $info['extension'];
|
||||
list( $orig_w, $orig_h ) = getimagesize( $img_path );
|
||||
|
||||
// Get image size after cropping.
|
||||
$dims = image_resize_dimensions( $orig_w, $orig_h, $width, $height, $crop );
|
||||
$dst_w = $dims[4];
|
||||
$dst_h = $dims[5];
|
||||
|
||||
// Return the original image only if it exactly fits the needed measures.
|
||||
if ( ! $dims && ( ( ( null === $height && $orig_w == $width ) xor ( null === $width && $orig_h == $height ) ) xor ( $height == $orig_h && $width == $orig_w ) ) ) {
|
||||
$img_url = $url;
|
||||
$dst_w = $orig_w;
|
||||
$dst_h = $orig_h;
|
||||
} else {
|
||||
// Use this to check if cropped image already exists, so we can return that instead.
|
||||
$suffix = "{$dst_w}x{$dst_h}";
|
||||
$dst_rel_path = str_replace( '.' . $ext, '', $rel_path );
|
||||
$destfilename = "{$upload_dir}{$dst_rel_path}-{$suffix}.{$ext}";
|
||||
|
||||
if ( ! $dims || ( true == $crop && false == $upscale && ( $dst_w < $width || $dst_h < $height ) ) ) {
|
||||
// Can't resize, so return false saying that the action to do could not be processed as planned.
|
||||
return $url;
|
||||
}
|
||||
// Else check if cache exists.
|
||||
elseif ( file_exists( $destfilename ) && getimagesize( $destfilename ) ) {
|
||||
$img_url = "{$upload_url}{$dst_rel_path}-{$suffix}.{$ext}";
|
||||
}
|
||||
// Else, we resize the image and return the new resized image url.
|
||||
else {
|
||||
|
||||
$editor = wp_get_image_editor( $img_path );
|
||||
|
||||
if ( is_wp_error( $editor ) || is_wp_error( $editor->resize( $width, $height, $crop ) ) )
|
||||
return $url;
|
||||
|
||||
$resized_file = $editor->save();
|
||||
|
||||
if ( ! is_wp_error( $resized_file ) ) {
|
||||
$resized_rel_path = str_replace( $upload_dir, '', $resized_file['path'] );
|
||||
$img_url = $upload_url . $resized_rel_path;
|
||||
} else {
|
||||
return $url;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
// Okay, leave the ship.
|
||||
if ( true === $upscale ) remove_filter( 'image_resize_dimensions', array( $this, 'aq_upscale' ) );
|
||||
|
||||
// Return the output.
|
||||
if ( $single ) {
|
||||
// str return.
|
||||
$image = $img_url;
|
||||
} else {
|
||||
// array return.
|
||||
$image = array (
|
||||
0 => $img_url,
|
||||
1 => $dst_w,
|
||||
2 => $dst_h
|
||||
);
|
||||
}
|
||||
|
||||
return $image;
|
||||
}
|
||||
|
||||
/**
|
||||
* Callback to overwrite WP computing of thumbnail measures
|
||||
*/
|
||||
function aq_upscale( $default, $orig_w, $orig_h, $dest_w, $dest_h, $crop ) {
|
||||
if ( ! $crop ) return null; // Let the wordpress default function handle this.
|
||||
|
||||
// Here is the point we allow to use larger image size than the original one.
|
||||
$aspect_ratio = $orig_w / $orig_h;
|
||||
$new_w = $dest_w;
|
||||
$new_h = $dest_h;
|
||||
|
||||
if ( ! $new_w ) {
|
||||
$new_w = intval( $new_h * $aspect_ratio );
|
||||
}
|
||||
|
||||
if ( ! $new_h ) {
|
||||
$new_h = intval( $new_w / $aspect_ratio );
|
||||
}
|
||||
|
||||
$size_ratio = max( $new_w / $orig_w, $new_h / $orig_h );
|
||||
|
||||
$crop_w = round( $new_w / $size_ratio );
|
||||
$crop_h = round( $new_h / $size_ratio );
|
||||
|
||||
$s_x = floor( ( $orig_w - $crop_w ) / 2 );
|
||||
$s_y = floor( ( $orig_h - $crop_h ) / 2 );
|
||||
|
||||
return array( 0, 0, (int) $s_x, (int) $s_y, (int) $new_w, (int) $new_h, (int) $crop_w, (int) $crop_h );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if(!function_exists('dslc_aq_resize') ) {
|
||||
|
||||
/**
|
||||
* This is just a tiny wrapper function for the class above so that there is no
|
||||
* need to change any code in your own WP themes. Usage is still the same :)
|
||||
*/
|
||||
function dslc_aq_resize( $url, $width = null, $height = null, $crop = null, $single = true, $upscale = false ) {
|
||||
$aq_resize = DSLC_Aq_Resize::getInstance();
|
||||
return $aq_resize->process( $url, $width, $height, $crop, $single, $upscale );
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,30 @@
|
||||
|
||||
.dslca-plugin-opts-list-wrap {
|
||||
|
||||
}
|
||||
|
||||
.dslca-plugin-opts-list {
|
||||
width: 300px;
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.dslca-plugin-opts-list-item {
|
||||
display: block;
|
||||
padding: 7px 10px;
|
||||
border: 1px solid rgba( 0, 0, 0, 0.2 );
|
||||
border-radius: 3px;
|
||||
margin-bottom: 5px;
|
||||
position: relative;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dslca-plugin-opts-list-delete-hook {
|
||||
position: absolute;
|
||||
right: 7px;
|
||||
top: 6px;
|
||||
font-size: 0.9em;
|
||||
font-weight: normal;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
|
||||
@@ -0,0 +1,165 @@
|
||||
<?php
|
||||
|
||||
function dslc_plugin_option_display_text( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
?><input class="regular-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' type='text' value='<?php echo esc_attr( $value ); ?>' /><?php
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
function dslc_plugin_option_display_textarea( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
|
||||
// echo the field
|
||||
?><textarea class="large-text" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' rows="5" cols="50"><?php echo esc_attr( $value ); ?></textarea><?php
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
function dslc_plugin_option_display_select( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
||||
|
||||
?><select id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]'><?php
|
||||
foreach ( $option['choices'] as $choice ) :
|
||||
?><option value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'selected="selected"'; ?> ><?php echo $choice['label'];?></option><?php
|
||||
endforeach;
|
||||
?></select><?php
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
function dslc_plugin_option_display_checkbox( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
||||
|
||||
foreach ( $option['choices'] as $choice ) :
|
||||
?>
|
||||
<input type="checkbox" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>][]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( in_array( $choice['value'], $value ) ) echo 'checked="checked"'; ?>>
|
||||
<label for="<?php echo $option_ID; ?>"><?php echo $choice['label']; ?></label>
|
||||
<br>
|
||||
<?php
|
||||
endforeach;
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
function dslc_plugin_option_display_radio( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
||||
|
||||
foreach ( $option['choices'] as $choice ) :
|
||||
?>
|
||||
<input type="radio" name="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]" id="<?php echo $option_ID; ?>" value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $value ) echo 'checked="checked"'; ?>>
|
||||
<label for="<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]"><?php echo $choice['label']; ?></label>
|
||||
<br>
|
||||
<?php
|
||||
endforeach;
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
|
||||
function dslc_plugin_option_display_list( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
else
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
|
||||
$option = $dslc_plugin_options[$section_ID]['options'][$option_ID];
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-plugin-opts-list-wrap">
|
||||
|
||||
<input type="hidden" class="dslca-plugin-opts-list-code" id='<?php echo $option_ID; ?>' name='<?php echo $section_ID; ?>[<?php echo $option_ID; ?>]' value='<?php echo esc_attr( $value ); ?>' />
|
||||
|
||||
<?php
|
||||
$sidebars_array = array();
|
||||
if ( $value !== '' ) {
|
||||
|
||||
$sidebars = $value;
|
||||
$sidebars_array = explode( ',', substr( $sidebars, 0, -1 ) );
|
||||
|
||||
}
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-plugin-opts-list">
|
||||
<?php foreach ( $sidebars_array as $sidebar ) : ?>
|
||||
<div class="dslca-plugin-opts-list-item">
|
||||
<span class="dslca-plugin-opts-list-title" contenteditable><?php echo $sidebar; ?></span>
|
||||
<a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div><!-- .dslca-plugin-opts-list -->
|
||||
|
||||
<a href="#" class="dslca-plugin-opts-list-add-hook">Add new sidebar</a>
|
||||
|
||||
</div>
|
||||
|
||||
<?php
|
||||
if ( isset( $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr'] ) ) :
|
||||
?><p class="description"><?php echo $dslc_plugin_options[$section_ID]['options'][$option_ID]['descr']; ?></p><?php
|
||||
endif;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,45 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Retrieve value of all options
|
||||
*/
|
||||
|
||||
function dslc_get_options( $section_ID = false ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
/* Options from specific section */
|
||||
if ( $section_ID ) {
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
return $options;
|
||||
|
||||
/* Options from all sections */
|
||||
} else {
|
||||
|
||||
return 'Section ID not supplied';
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve value of a single option
|
||||
*/
|
||||
|
||||
function dslc_get_option( $option_ID, $section_ID ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$options = get_option( $section_ID );
|
||||
|
||||
if ( isset( $options[ $option_ID ] ) )
|
||||
$value = $options[$option_ID];
|
||||
elseif ( isset ( $dslc_plugin_options[$section_ID]['options'][$option_ID] ) )
|
||||
$value = $dslc_plugin_options[$section_ID]['options'][$option_ID]['std'];
|
||||
else
|
||||
$value = '';
|
||||
|
||||
return $value;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Register all the option pages
|
||||
*/
|
||||
|
||||
function dslc_plugin_options_setup() {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
add_menu_page(
|
||||
'Live Composer',
|
||||
'Live Composer',
|
||||
'manage_options',
|
||||
'dslc_plugin_options',
|
||||
'dslc_plugin_options_display'
|
||||
);
|
||||
|
||||
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
||||
|
||||
if ( $section_ID == 'dslc_plugin_options' ) {
|
||||
|
||||
add_submenu_page(
|
||||
'dslc_plugin_options',
|
||||
$section['title'],
|
||||
$section['title'],
|
||||
'manage_options',
|
||||
$section_ID,
|
||||
'dslc_plugin_options_display'
|
||||
);
|
||||
|
||||
} else {
|
||||
|
||||
add_submenu_page(
|
||||
'dslc_plugin_options',
|
||||
$section['title'],
|
||||
$section['title'],
|
||||
'manage_options',
|
||||
$section_ID,
|
||||
create_function( null, 'dslc_plugin_options_display( "' . $section_ID . '" );' )
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'admin_menu', 'dslc_plugin_options_setup' );
|
||||
|
||||
/**
|
||||
* Display option pages
|
||||
*/
|
||||
|
||||
function dslc_plugin_options_display( $tab = '' ) {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
if ( $tab == '' ) {
|
||||
$tab = 'dslc_plugin_options';
|
||||
}
|
||||
|
||||
?>
|
||||
<div class="wrap">
|
||||
|
||||
<div id="icon-themes" class="icon32"></div>
|
||||
<h2>Live Composer</h2>
|
||||
<?php settings_errors(); ?>
|
||||
|
||||
<h2 class="nav-tab-wrapper">
|
||||
<?php foreach ( $dslc_plugin_options as $section_ID => $section ) : ?>
|
||||
<a href="?page=<?php echo $section_ID; ?>" class="nav-tab <?php echo $tab == $section_ID ? 'nav-tab-active' : ''; ?>"><?php echo $section['title']; ?></a>
|
||||
<?php endforeach; ?>
|
||||
</h2>
|
||||
|
||||
<form method="post" action="options.php">
|
||||
|
||||
<?php
|
||||
settings_fields( $tab );
|
||||
|
||||
if ( $tab == '' )
|
||||
do_settings_sections( 'dslc_plugin_options' );
|
||||
else
|
||||
do_settings_sections( $tab );
|
||||
|
||||
submit_button();
|
||||
?>
|
||||
|
||||
</form>
|
||||
|
||||
</div><!-- /.wrap -->
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Register options
|
||||
*/
|
||||
|
||||
function dslc_plugin_options_init() {
|
||||
|
||||
global $dslc_plugin_options;
|
||||
|
||||
/**
|
||||
* Add Sections
|
||||
*/
|
||||
|
||||
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
||||
|
||||
add_settings_section(
|
||||
$section_ID,
|
||||
$section['title'],
|
||||
'dslc_plugin_options_display_options',
|
||||
$section_ID
|
||||
);
|
||||
|
||||
register_setting(
|
||||
$section_ID,
|
||||
$section_ID
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Add Fields
|
||||
*/
|
||||
|
||||
foreach ( $dslc_plugin_options as $section_ID => $section ) {
|
||||
|
||||
foreach ( $section['options'] as $option_ID => $option ) {
|
||||
|
||||
add_settings_field(
|
||||
$option_ID,
|
||||
$option['label'],
|
||||
create_function( null, 'dslc_plugin_option_display_' . $option['type'] . '( "' . $option_ID . '", "' . $section_ID . '" );' ),
|
||||
$section_ID,
|
||||
$section_ID
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
} add_action( 'admin_init', 'dslc_plugin_options_init' );
|
||||
|
||||
function dslc_plugin_options_display_options( $section ) {
|
||||
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,167 @@
|
||||
<?php
|
||||
|
||||
|
||||
|
||||
global $content_width;
|
||||
|
||||
$dslc_plugin_options['dslc_plugin_options'] = array(
|
||||
'title' => __( 'General Options', 'dslc_string' ),
|
||||
'options' => array(
|
||||
'lc_max_width' => array(
|
||||
'label' => __( 'Max Width', 'dslc_string' ),
|
||||
'std' => '',
|
||||
'type' => 'text',
|
||||
'descr' => __( 'The width of the modules section when row is set to wrapped. If not set the $content_width variable from theme will be used.', 'dslc_string' ),
|
||||
),
|
||||
'lc_force_important_css' => array(
|
||||
'label' => __( 'Force !important CSS', 'dslc_string' ),
|
||||
'std' => 'disabled',
|
||||
'type' => 'select',
|
||||
'descr' => __( 'In case the CSS from the theme is influencing CSS for the modules, enabling this will in most cases fix that.', 'dslc_string' ),
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
)
|
||||
)
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
$dslc_plugin_options['dslc_plugin_options_widgets_m'] = array(
|
||||
'title' => 'Widgets Module',
|
||||
'options' => array(
|
||||
|
||||
'sidebars' => array (
|
||||
'label' => __( 'Sidebars', 'dslc_string' ),
|
||||
'std' => '',
|
||||
'type' => 'list'
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
$dslc_plugin_options['dslc_plugin_options_cpt_slugs'] = array(
|
||||
|
||||
'title' => 'Slugs',
|
||||
'options' => array(
|
||||
|
||||
'projects_slug' => array(
|
||||
'label' => __( '<strong>Project</strong> Slug', 'dslc_string' ),
|
||||
'std' => 'project-view',
|
||||
'type' => 'text'
|
||||
),
|
||||
'projects_cats_slug' => array(
|
||||
'label' => __( '<strong>Projects</strong> Category Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_projects_cats',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
'galleries_slug' => array(
|
||||
'label' => __( '<strong>Gallery</strong> Slug', 'dslc_string' ),
|
||||
'std' => 'gallery-view',
|
||||
'type' => 'text'
|
||||
),
|
||||
'galleries_cats_slug' => array(
|
||||
'label' => __( '<strong>Galleries</strong> Category Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_galleries_cats',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
'downloads_slug' => array(
|
||||
'label' => __( '<strong>Download</strong> Slug', 'dslc_string' ),
|
||||
'std' => 'download-view',
|
||||
'type' => 'text'
|
||||
),
|
||||
'downloads_cats_slug' => array(
|
||||
'label' => __( '<strong>Downloads</strong> Categories Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_downloads_cat',
|
||||
'type' => 'text'
|
||||
),
|
||||
'downloads_tags_slug' => array(
|
||||
'label' => __( '<strong>Downloads</strong> Tags Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_downloads_tag',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
'staff_slug' => array(
|
||||
'label' => __( '<strong>Staff</strong> Slug', 'dslc_string' ),
|
||||
'std' => 'staff-view',
|
||||
'type' => 'text'
|
||||
),
|
||||
'staff_cats_slug' => array(
|
||||
'label' => __( '<strong>Staff</strong> Categories Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_staff_cats',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
'partners_slug' => array(
|
||||
'label' => __( '<strong>Partner</strong> Slug', 'dslc_string' ),
|
||||
'std' => 'partner-view',
|
||||
'type' => 'text'
|
||||
),
|
||||
'partners_cats_slug' => array(
|
||||
'label' => __( '<strong>Partners</strong> Categories Slug', 'dslc_string' ),
|
||||
'std' => 'dslc_partners_cats',
|
||||
'type' => 'text'
|
||||
),
|
||||
|
||||
|
||||
)
|
||||
|
||||
);
|
||||
|
||||
/**
|
||||
* Feature Control
|
||||
*/
|
||||
|
||||
function dslc_feature_control_settings() {
|
||||
|
||||
global $dslc_var_modules;
|
||||
global $dslc_plugin_options;
|
||||
|
||||
$module_opts_array = array();
|
||||
|
||||
foreach ( $dslc_var_modules as $module ) {
|
||||
|
||||
$module_opts_array[ $module['id'] ] = array(
|
||||
'label' => '"' . $module['title'] . '" <small>module</small>',
|
||||
'std' => 'enabled',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( '✔ Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( '✖ Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
)
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
$dslc_plugin_options['dslc_plugin_options_features'] = array(
|
||||
'title' => __( 'Features Control', 'dslc_string' ),
|
||||
'options' => $module_opts_array
|
||||
);
|
||||
|
||||
} add_action( 'dslc_hook_register_modules', 'dslc_feature_control_settings', 999 );
|
||||
|
||||
function dslc_feature_control_unregister() {
|
||||
|
||||
global $dslc_var_modules;
|
||||
$features = dslc_get_options( 'dslc_plugin_options_features' );
|
||||
|
||||
foreach ( $dslc_var_modules as $module ) {
|
||||
if ( isset( $features[ $module['id'] ] ) && $features[ $module['id'] ] == 'disabled' ) {
|
||||
dslc_unregister_module( $module['id'] );
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
} add_action( 'dslc_hook_unregister_modules', 'dslc_feature_control_unregister', 999 );
|
||||
@@ -0,0 +1,51 @@
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
function dslc_plugin_opts_generate_list_code( dslcTarget ) {
|
||||
|
||||
var dslcTitle, dslcCodeInput = jQuery( '.dslca-plugin-opts-list-code', dslcTarget ), dslcCode = '';
|
||||
|
||||
jQuery( '.dslca-plugin-opts-list-item', dslcTarget ).each( function(){
|
||||
|
||||
dslcTitle = jQuery(this).find('.dslca-plugin-opts-list-title').text();
|
||||
dslcCode += dslcTitle + ','
|
||||
|
||||
});
|
||||
|
||||
dslcCodeInput.val( dslcCode );
|
||||
|
||||
}
|
||||
|
||||
jQuery('.dslca-plugin-opts-list-add-hook').click( function(e){
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
||||
var dslcTarget = dslcWrapper.find('.dslca-plugin-opts-list');
|
||||
|
||||
jQuery('<div class="dslca-plugin-opts-list-item"><span class="dslca-plugin-opts-list-title" contenteditable>Click to edit</span><a href="#" class="dslca-plugin-opts-list-delete-hook">delete</a></div>').appendTo( dslcTarget );
|
||||
|
||||
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-plugin-opts-list-delete-hook', function(e){
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
||||
var dslcTarget = jQuery(this).closest('.dslca-plugin-opts-list-item');
|
||||
|
||||
dslcTarget.remove();
|
||||
|
||||
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'blur', '.dslca-plugin-opts-list-title', function() {
|
||||
|
||||
var dslcWrapper = jQuery(this).closest('.dslca-plugin-opts-list-wrap');
|
||||
dslc_plugin_opts_generate_list_code( dslcWrapper );
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
|
||||
$dslc_plugin_options = array(); // Holds all plugin options
|
||||
|
||||
include DSLC_PO_FRAMEWORK_ABS . '/inc/options.php';
|
||||
include DSLC_PO_FRAMEWORK_ABS . '/inc/functions.php';
|
||||
include DSLC_PO_FRAMEWORK_ABS . '/inc/display-options.php';
|
||||
include DSLC_PO_FRAMEWORK_ABS . '/inc/init.php';
|
||||
@@ -0,0 +1,140 @@
|
||||
.dslca-post-options {
|
||||
padding: 20px 0;
|
||||
}
|
||||
|
||||
.dslca-post-option {
|
||||
border-top: 1px dashed #ddd;
|
||||
margin-top: 20px;
|
||||
padding-top: 20px;
|
||||
}
|
||||
|
||||
.dslca-post-option:first-child {
|
||||
margin-top: 0;
|
||||
padding-top: 0;
|
||||
border-top: 0;
|
||||
}
|
||||
|
||||
.dslca-post-option-label {
|
||||
font-weight: bold;
|
||||
font-size: 1.2em;
|
||||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.dslca-post-option-description {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
|
||||
.dslca-post-option-field {
|
||||
|
||||
}
|
||||
|
||||
.dslca-post-option-field-choice {
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
/**
|
||||
* File Option
|
||||
*/
|
||||
|
||||
.dslca-post-option-add-file-hook {
|
||||
background: #54C13F;
|
||||
border-radius: 3px;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: inline-block;
|
||||
font-size: 11px;
|
||||
line-height: 1;
|
||||
margin-bottom: 20px;
|
||||
padding: 10px 13px;
|
||||
text-transform: uppercase;
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
.dslca-post-option-images {
|
||||
|
||||
}
|
||||
|
||||
.dslca-post-option-image {
|
||||
background: transparent;
|
||||
border: 1px solid #ddd;
|
||||
display: block;
|
||||
float: left;
|
||||
margin: 0 15px 15px 0;
|
||||
padding: 7px;
|
||||
position: relative;
|
||||
border-radius: 3px;
|
||||
}
|
||||
|
||||
.dslca-post-option-image-inner {
|
||||
width: 100px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.dslca-post-option-image img {
|
||||
max-width: 100%;
|
||||
border-radius: 3px;
|
||||
display: block;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.dslca-post-option-image-remove {
|
||||
background: #E55F5F;
|
||||
border-radius: 50%;
|
||||
color: #fff;
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
font-size: 10px;
|
||||
line-height: 8px;
|
||||
position: absolute;
|
||||
padding: 3px;
|
||||
top: -8px;
|
||||
right: -8px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/**
|
||||
* Form Elements
|
||||
*/
|
||||
|
||||
.dslca-post-options input[type="text"],
|
||||
.dslca-post-options textarea {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 0;
|
||||
padding: 8px 15px;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.dslca-post-options textarea {
|
||||
height: 150px;
|
||||
}
|
||||
|
||||
.dslca-post-options select {
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 0;
|
||||
padding: 8px 15px;
|
||||
height: auto;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
.dslca-clearfix:before,
|
||||
.dslca-clearfix:after {
|
||||
content: " ";
|
||||
display: table;
|
||||
}
|
||||
|
||||
.dslca-clearfix:after {
|
||||
clear: both;
|
||||
}
|
||||
|
||||
.dslca-clearfix {
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
.dslca-clear {
|
||||
clear: both;
|
||||
}
|
||||
@@ -0,0 +1,117 @@
|
||||
jQuery(document).ready(function(){
|
||||
|
||||
function dslc_po_generate_images_code( container ) {
|
||||
|
||||
var image,
|
||||
imagesCode = '',
|
||||
images = jQuery('.dslca-post-option-image', container);
|
||||
|
||||
images.each(function(){
|
||||
image = jQuery(this);
|
||||
imageID = image.data('id');
|
||||
imagesCode += imageID + ' ';
|
||||
|
||||
});
|
||||
|
||||
jQuery( '.dslca-post-options-field-file', container ).val( imagesCode );
|
||||
|
||||
}
|
||||
|
||||
function dslc_po_remove_image( image ) {
|
||||
var container = image.closest( '.dslca-post-option' )
|
||||
image.remove();
|
||||
dslc_po_generate_images_code( container );
|
||||
}
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-post-option-image-remove', function(){
|
||||
dslc_po_remove_image( jQuery(this).closest('.dslca-post-option-image') );
|
||||
});
|
||||
|
||||
if ( jQuery('.dslca-post-option-field-files .dslca-post-options-images').length ) {
|
||||
|
||||
jQuery('.dslca-post-option-field-files .dslca-post-options-images').sortable({
|
||||
update: function (e, ui) {
|
||||
dslc_po_generate_images_code( jQuery(this).closest('.dslca-post-option') );
|
||||
}
|
||||
});
|
||||
jQuery('.dslca-post-options-images').disableSelection();
|
||||
|
||||
}
|
||||
|
||||
// Uploading files
|
||||
var file_frame;
|
||||
|
||||
jQuery('.dslca-post-option-add-file-hook').click( function(){
|
||||
|
||||
var hook = jQuery(this);
|
||||
var option = jQuery(this).closest('.dslca-post-option');
|
||||
var field = jQuery('.dslca-post-options-field-file', option);
|
||||
var image = jQuery('.dslca-post-option-image', option);
|
||||
|
||||
// Whether or not multiple files are allowed
|
||||
var multiple = false;
|
||||
if ( hook.data('multiple') ) {
|
||||
multiple = true;
|
||||
}
|
||||
|
||||
// Create the media frame.
|
||||
file_frame = wp.media.frames.file_frame = wp.media({
|
||||
title: 'Choose File',
|
||||
button: {
|
||||
text: 'Send to option',
|
||||
},
|
||||
multiple: multiple
|
||||
});
|
||||
|
||||
// When an image is selected, run a callback.
|
||||
file_frame.on( 'select', function() {
|
||||
|
||||
if ( multiple ) {
|
||||
|
||||
attachments = file_frame.state().get('selection').toJSON();
|
||||
attachmentVal = '';
|
||||
|
||||
for (var i = 0; i < attachments.length; i++) {
|
||||
|
||||
attachment = attachments[i];
|
||||
attachmentVal += attachment.id + ' ';
|
||||
option.find('.dslca-post-options-images').append('<div class="dslca-post-option-image" data-id="' + attachment.id + '"><div class="dslca-post-option-image-inner"><img src="' + attachment.url + '" /><span class="dslca-post-option-image-remove">x</span></div></div>');
|
||||
|
||||
}
|
||||
|
||||
field.val( field.val() + attachmentVal );
|
||||
|
||||
} else {
|
||||
attachment = file_frame.state().get('selection').first().toJSON();
|
||||
|
||||
if ( attachment.type == 'image' ) {
|
||||
|
||||
if ( image.length ) {
|
||||
image.find('img').attr( 'src', attachment.url );
|
||||
} else {
|
||||
option.find('.dslca-post-options-images').html('<div class="dslca-post-option-image" data-id="' + attachment.id + '"><div class="dslca-post-option-image-inner"><img src="' + attachment.url + '" /></div><span class="dslca-post-option-image-remove">x</span></div>');
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
if ( image.length ) {
|
||||
image.find('strong').text( attachment.filename );
|
||||
} else {
|
||||
option.find('.dslca-post-options-images').html('<div class="dslca-post-option-image" data-id="' + attachment.id + '"><div class="dslca-post-option-image-inner"><strong>' + attachment.filename + '</strong></div></div>');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
field.val( attachment.id );
|
||||
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Finally, open the modal
|
||||
file_frame.open();
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
@@ -0,0 +1,339 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Table of Contents
|
||||
*
|
||||
* - dslc_setup_post_options ( Sets up the post options )
|
||||
* - dslc_add_post_options ( Adds metaboxes )
|
||||
* - dslc_display_post_options ( Displays options )
|
||||
* - dslc_save_post_options ( Saves options to post )
|
||||
*/
|
||||
|
||||
function dslc_get_cpt_templates() {
|
||||
|
||||
$templates_array = array();
|
||||
global $dslc_var_post_options;
|
||||
|
||||
$args = array(
|
||||
'post_type' => 'dslc_templates',
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => -1,
|
||||
'order' => 'DESC'
|
||||
);
|
||||
$templates = get_posts( $args );
|
||||
|
||||
global $dslc_var_templates_pt;
|
||||
foreach ( $dslc_var_templates_pt as $pt_id => $pt_label ) {
|
||||
$templates_array[$pt_id][] = array(
|
||||
'label' => __( 'Default', 'dslc_string' ),
|
||||
'value' => 'default'
|
||||
);
|
||||
}
|
||||
|
||||
if ( $templates ) {
|
||||
|
||||
foreach ( $templates as $template ) {
|
||||
$template_for = get_post_meta( $template->ID, 'dslc_template_for' , true );
|
||||
$templates_array[$template_for][] = array(
|
||||
'label' => $template->post_title,
|
||||
'value' => $template->ID
|
||||
);
|
||||
}
|
||||
|
||||
foreach ( $dslc_var_templates_pt as $pt_id => $pt_label ) {
|
||||
|
||||
$mb_id = 'dslc-' . $pt_id . '-tpl-options';
|
||||
|
||||
$dslc_var_post_options[$mb_id] = array(
|
||||
'title' => __( 'LC Template', 'dslc_string' ),
|
||||
'show_on' => $pt_id,
|
||||
'context' => 'side',
|
||||
'options' => array(
|
||||
array(
|
||||
'label' => __( 'Template', 'dslc_string' ),
|
||||
'std' => '',
|
||||
'id' => 'dslc_post_template',
|
||||
'type' => 'select',
|
||||
'choices' => $templates_array[$pt_id]
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
add_action( 'init', 'dslc_get_cpt_templates' );
|
||||
|
||||
/**
|
||||
* Setup post options
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_setup_post_options() {
|
||||
|
||||
/* Add meta boxes on the 'add_meta_boxes' hook. */
|
||||
add_action( 'add_meta_boxes', 'dslc_add_post_options' );
|
||||
|
||||
/* Save post meta on the 'save_post' hook. */
|
||||
add_action( 'save_post', 'dslc_save_post_options', 10, 2 );
|
||||
|
||||
} add_action( 'load-post-new.php', 'dslc_setup_post_options' ); add_action( 'load-post.php', 'dslc_setup_post_options' );
|
||||
|
||||
/**
|
||||
* Add post options (add metaboxes)
|
||||
*/
|
||||
function dslc_add_post_options() {
|
||||
|
||||
global $dslc_var_post_options;
|
||||
|
||||
// If there are post options
|
||||
if ( ! empty( $dslc_var_post_options ) ) {
|
||||
|
||||
// Loop through all post options
|
||||
foreach ( $dslc_var_post_options as $dslc_post_option_key => $dslc_post_option) {
|
||||
|
||||
if ( ! isset( $dslc_post_option['context'] ) )
|
||||
$dslc_post_option['context'] = 'normal';
|
||||
|
||||
// If post options shown on multiple post types
|
||||
if ( is_array( $dslc_post_option['show_on'] ) ) {
|
||||
|
||||
// Loop through all post types
|
||||
foreach ( $dslc_post_option['show_on'] as $dslc_post_option_show_on ) {
|
||||
|
||||
// Add meta box for post type
|
||||
add_meta_box(
|
||||
$dslc_post_option_key,
|
||||
$dslc_post_option['title'],
|
||||
'dslc_display_post_options',
|
||||
$dslc_post_option_show_on,
|
||||
$dslc_post_option['context'],
|
||||
'high'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
// If post options shown on single post type
|
||||
} else {
|
||||
|
||||
// Add meta box to post type
|
||||
add_meta_box(
|
||||
$dslc_post_option_key,
|
||||
$dslc_post_option['title'],
|
||||
'dslc_display_post_options',
|
||||
$dslc_post_option['show_on'],
|
||||
$dslc_post_option['context'],
|
||||
'high'
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Display post options
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
function dslc_display_post_options( $object, $metabox ) {
|
||||
|
||||
global $dslc_var_post_options;
|
||||
|
||||
$post_options_id = $metabox['id'];
|
||||
$post_options = $dslc_var_post_options[$post_options_id]['options'];
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslca-post-options">
|
||||
|
||||
<?php foreach ( $post_options as $post_option ) : ?>
|
||||
|
||||
<?php
|
||||
$curr_value_no_esc = get_post_meta( $object->ID, $post_option['id'], true );
|
||||
if ( ! $curr_value_no_esc ) {
|
||||
$curr_value_no_esc = $post_option['std'];
|
||||
}
|
||||
$curr_value = esc_attr( $curr_value_no_esc );
|
||||
?>
|
||||
|
||||
<div class="dslca-post-option">
|
||||
|
||||
<div class="dslca-post-option-label">
|
||||
<span><?php echo $post_option['label']; ?></span>
|
||||
</div><!-- .dslca-post-option-label -->
|
||||
|
||||
<?php if ( isset( $post_option['descr'] ) ) : ?>
|
||||
|
||||
<div class="dslca-post-option-description">
|
||||
<?php echo $post_option['descr']; ?>
|
||||
</div><!-- .dslca-post-option-description -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<div class="dslca-post-option-field dslca-post-option-field-<?php echo $post_option['type']; ?>">
|
||||
|
||||
<?php if ( $post_option['type'] == 'text' ) : ?>
|
||||
|
||||
<input type="text" name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>" value="<?php echo $curr_value; ?>" size="30" />
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'textarea' ) : ?>
|
||||
|
||||
<textarea name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>"><?php echo $curr_value; ?></textarea>
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'select' ) : ?>
|
||||
|
||||
<select type="text" name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>">
|
||||
<?php foreach ( $post_option['choices'] as $choice ) : ?>
|
||||
<option value="<?php echo $choice['value']; ?>" <?php if ( $curr_value == $choice['value'] ) echo 'selected="selected"'; ?>><?php echo $choice['label']; ?></option>
|
||||
<?php endforeach; ?>
|
||||
</select>
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'checkbox' ) : ?>
|
||||
|
||||
<?php $curr_value_array = maybe_unserialize( $curr_value_no_esc ); if ( ! is_array( $curr_value_array ) ) $curr_value_array = array(); ?>
|
||||
|
||||
<?php foreach ( $post_option['choices'] as $key => $choice ) : ?>
|
||||
<div class="dslca-post-option-field-choice">
|
||||
<input type="checkbox" name="<?php echo $post_option['id']; ?>[]" id="<?php echo $post_option['id']; ?>" value="<?php echo $choice['value']; ?>" <?php if ( in_array( $choice['value'], $curr_value_array ) ) echo 'checked="checked"'; ?> /> <?php echo $choice['label']; ?><br>
|
||||
</div><!-- .dslca-post-option-field-choice -->
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'radio' ) : ?>
|
||||
|
||||
<?php foreach ( $post_option['choices'] as $key => $choice ) : ?>
|
||||
<div class="dslca-post-option-field-choice">
|
||||
<input type="radio" name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>" value="<?php echo $choice['value']; ?>" <?php if ( $choice['value'] == $curr_value ) echo 'checked="checked"'; ?> /> <?php echo $choice['label']; ?><br>
|
||||
</div><!-- .dslca-post-option-field-choice -->
|
||||
<?php endforeach; ?>
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'file' ) : ?>
|
||||
|
||||
<span class="dslca-post-option-add-file-hook">Choose File</span><br>
|
||||
|
||||
<?php if ( $curr_value ) : ?>
|
||||
|
||||
<div class="dslca-post-options-images dslca-clearfix">
|
||||
|
||||
<div class="dslca-post-option-image">
|
||||
|
||||
<div class="dslca-post-option-image-inner">
|
||||
|
||||
<?php if ( wp_attachment_is_image( $curr_value ) ) : ?>
|
||||
|
||||
<?php $image = wp_get_attachment_image_src( $curr_value, 'full' ); ?>
|
||||
<img src="<?php echo $image[0]; ?>" />
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<strong><?php echo basename( get_attached_file( $curr_value ) ); ?></strong>
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .dslca-post-option-image-inner -->
|
||||
|
||||
<span class="dslca-post-option-image-remove">x</span>
|
||||
|
||||
</div><!-- .dslca-post-option-image -->
|
||||
|
||||
</div><!-- .dslca-post-options-images -->
|
||||
<?php else: ?>
|
||||
<div class="dslca-post-options-images dslca-clearfix"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" class="dslca-post-options-field-file" name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>" value="<?php echo $curr_value; ?>" />
|
||||
|
||||
<?php elseif ( $post_option['type'] == 'files' ) : ?>
|
||||
|
||||
<span class="dslca-post-option-add-file-hook" data-multiple="true">Add Files</span><br>
|
||||
|
||||
<?php if ( $curr_value ) : ?>
|
||||
<div class="dslca-post-options-images dslca-clearfix">
|
||||
<?php
|
||||
$images = explode( ' ', trim( $curr_value ) );
|
||||
foreach ($images as $image_ID) {
|
||||
$image = wp_get_attachment_image_src( $image_ID, 'full' );
|
||||
?>
|
||||
<div class="dslca-post-option-image" data-id="<?php echo $image_ID; ?>">
|
||||
<div class="dslca-post-option-image-inner">
|
||||
<img src="<?php echo $image[0]; ?>" />
|
||||
<span class="dslca-post-option-image-remove">x</span>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
</div><!-- .dslca-post-options-images -->
|
||||
<?php else : ?>
|
||||
<div class="dslca-post-options-images dslca-clearfix"></div>
|
||||
<?php endif; ?>
|
||||
|
||||
<input type="hidden" class="dslca-post-options-field-file" name="<?php echo $post_option['id']; ?>" id="<?php echo $post_option['id']; ?>" value="<?php echo $curr_value; ?>" />
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .dslca-post-option-field -->
|
||||
|
||||
</div><!-- .dslca-post-options -->
|
||||
|
||||
<?php endforeach; ?>
|
||||
|
||||
<input type="hidden" name="dslc_post_options[]" value="<?php echo $post_options_id; ?>" />
|
||||
|
||||
</div><!-- .dslca-post-options -->
|
||||
|
||||
<?php
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Save post options
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
function dslc_save_post_options( $post_id, $post ) {
|
||||
|
||||
global $dslc_var_post_options;
|
||||
|
||||
if ( isset( $_POST['dslc_post_options'] ) ) {
|
||||
|
||||
$post_options_IDs = $_POST['dslc_post_options'];
|
||||
|
||||
foreach ( $post_options_IDs as $post_options_ID ) {
|
||||
|
||||
$post_options = $dslc_var_post_options[$post_options_ID];
|
||||
|
||||
foreach ( $post_options['options'] as $post_option ) {
|
||||
|
||||
// Get option info
|
||||
$meta_key = $post_option['id'];
|
||||
$new_option_value = ( isset( $_POST[ $post_option['id'] ] ) ? $_POST[ $post_option['id'] ] : '' );
|
||||
$curr_option_value = get_post_meta( $post_id, $meta_key, true );
|
||||
|
||||
if ( is_array( $new_option_value ) ) {
|
||||
$new_option_value = serialize( $new_option_value );
|
||||
}
|
||||
|
||||
// Save, Update, Delete option
|
||||
if ( $new_option_value && '' == $curr_option_value ) {
|
||||
add_post_meta( $post_id, $meta_key, $new_option_value, true );
|
||||
} elseif ( $new_option_value && $new_option_value != $curr_option_value ) {
|
||||
update_post_meta( $post_id, $meta_key, $new_option_value );
|
||||
} elseif ( '' == $new_option_value && $curr_option_value ) {
|
||||
delete_post_meta( $post_id, $meta_key, $curr_option_value );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,89 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Table of Contents
|
||||
*
|
||||
* - dslc_load_scripts ( Load CSS and JS files )
|
||||
* - dslc_load_admin_scripts ( Load CSS and JS files for the admin )
|
||||
* - dslc_load_fonts ( Load Google Fonts )
|
||||
*/
|
||||
|
||||
|
||||
/**
|
||||
* Load CSS and JS files
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_load_scripts() {
|
||||
|
||||
global $dslc_active;
|
||||
|
||||
wp_enqueue_style( 'dslc-main-css', DS_LIVE_COMPOSER_URL . 'css/main.css');
|
||||
wp_enqueue_style( 'dslc-front-plugins-css', DS_LIVE_COMPOSER_URL . 'css/front/plugins.css');
|
||||
wp_enqueue_style( 'dslc-font-awesome', DS_LIVE_COMPOSER_URL . 'css/font-awesome.css');
|
||||
wp_enqueue_style( 'dslc-modules-css', DS_LIVE_COMPOSER_URL . 'css/modules.css');
|
||||
|
||||
wp_enqueue_script( 'dslc-front-plugins-js', DS_LIVE_COMPOSER_URL . 'js/front-plugins.js', array( 'jquery' ) );
|
||||
wp_enqueue_script( 'dslc-front-js', DS_LIVE_COMPOSER_URL . 'js/front.js', array( 'jquery' ) );
|
||||
wp_localize_script( 'dslc-front-js', 'DSLCAjax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
|
||||
|
||||
// Check if the user can work with composer
|
||||
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) ) {
|
||||
|
||||
wp_enqueue_media();
|
||||
|
||||
// CSS
|
||||
wp_enqueue_style( 'jquery-ui-slider' );
|
||||
wp_enqueue_style( 'dslc-composer-css', DS_LIVE_COMPOSER_URL . 'css/composer.css');
|
||||
wp_enqueue_style( 'dslc-plugins-css', DS_LIVE_COMPOSER_URL . 'css/plugins.css');
|
||||
|
||||
// JavaScript
|
||||
wp_enqueue_script( 'jquery-ui-core' );
|
||||
wp_enqueue_script( 'jquery-ui-sortable' );
|
||||
wp_enqueue_script( 'jquery-ui-draggable' );
|
||||
wp_enqueue_script( 'jquery-ui-droppable' );
|
||||
wp_enqueue_script( 'jquery-effects-core' );
|
||||
wp_enqueue_script( 'jquery-ui-slider' );
|
||||
wp_enqueue_script( 'wp-color-picker' );
|
||||
wp_enqueue_script( 'dslc-load-fonts', 'http://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js' );
|
||||
wp_enqueue_script( 'dslc-plugins-js', DS_LIVE_COMPOSER_URL . 'js/plugins.js', array( 'jquery' ) );
|
||||
wp_enqueue_script( 'dslc-main-js', DS_LIVE_COMPOSER_URL . 'js/main.js', array( 'jquery' ) );
|
||||
wp_localize_script( 'dslc-main-js', 'DSLCAjax', array( 'ajaxurl' => admin_url( 'admin-ajax.php' ) ) );
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'wp_enqueue_scripts', 'dslc_load_scripts' );
|
||||
|
||||
|
||||
/**
|
||||
* Load CSS and JS files for the admin
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_load_admin_scripts() {
|
||||
|
||||
wp_enqueue_script( 'dslc-post-options-js-admin', DS_LIVE_COMPOSER_URL . 'includes/post-options-framework/js/main.js', array( 'jquery' ) );
|
||||
wp_enqueue_style( 'dslc-post-options-css-admin', DS_LIVE_COMPOSER_URL . 'includes/post-options-framework/css/main.css');
|
||||
|
||||
wp_enqueue_script( 'dslc-plugin-options-js-admin', DS_LIVE_COMPOSER_URL . 'includes/plugin-options-framework/js/main.js', array( 'jquery' ) );
|
||||
wp_enqueue_style( 'dslc-plugin-options-css-admin', DS_LIVE_COMPOSER_URL . 'includes/plugin-options-framework/css/main.css');
|
||||
|
||||
} add_action( 'admin_init', 'dslc_load_admin_scripts' );
|
||||
|
||||
|
||||
/**
|
||||
* Load Google Fonts
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_load_fonts() {
|
||||
|
||||
wp_enqueue_style( 'dslc-gf-oswald', "//fonts.googleapis.com/css?family=Oswald:400,300,700&subset=latin,latin-ext" );
|
||||
wp_enqueue_style( 'dslc-gf-opensans', "//fonts.googleapis.com/css?family=Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800" );
|
||||
wp_enqueue_style( 'dslc-gf-roboto', "//fonts.googleapis.com/css?family=Roboto:400,700" );
|
||||
wp_enqueue_style( 'dslc-gf-lato', "//fonts.googleapis.com/css?family=Lato:100,300,400,700,900,100italic,300italic,400italic,700italic,900italic" );
|
||||
|
||||
} add_action( 'wp_enqueue_scripts', 'dslc_load_fonts' );
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
|
||||
function dslc_sc_notification( $atts, $content ) {
|
||||
|
||||
/* Attributes */
|
||||
extract( shortcode_atts( array(
|
||||
'color' => 'default',
|
||||
), $atts));
|
||||
|
||||
return '<div class="dslc-notification dslc-' . $color . '">' . $content . '<span class="dslc-notification-close"><span class="dslc-icon dslc-icon-remove-sign"></span></span></div>';
|
||||
|
||||
} add_shortcode( 'dslc_notification', 'dslc_sc_notification' );
|
||||
|
||||
function dslc_sc_get_custom_field( $atts, $content ) {
|
||||
|
||||
extract( shortcode_atts( array(
|
||||
'id' => false,
|
||||
'post_id' => false,
|
||||
), $atts));
|
||||
|
||||
if ( ! $id )
|
||||
return 'Custom field ID not supplied ( "id" parameter ).';
|
||||
|
||||
if ( ! $post_id && in_the_loop() )
|
||||
$post_id = get_the_ID();
|
||||
|
||||
if ( ! $post_id )
|
||||
$post_id = $_POST['dslc_post_id'];
|
||||
|
||||
if ( get_post_meta( $post_id, $id, true ) ) {
|
||||
return get_post_meta( $post_id, $id, true );
|
||||
}
|
||||
|
||||
|
||||
} add_shortcode( 'dslc_custom_field', 'dslc_sc_get_custom_field' );
|
||||
@@ -0,0 +1,161 @@
|
||||
<?php
|
||||
|
||||
|
||||
function dslc_st_template_switch() {
|
||||
|
||||
global $post;
|
||||
global $dslc_post_types;
|
||||
|
||||
// If the currently shown page is the template CPT
|
||||
if ( $post->post_type == 'dslc_templates' ) {
|
||||
|
||||
// Get template base
|
||||
$template_base = get_post_meta( $post->ID, 'dslc_template_base', true );
|
||||
|
||||
// If custom base
|
||||
if ( $template_base == 'custom' ) {
|
||||
|
||||
// The template filename
|
||||
$templatefilename = 'dslc-single.php';
|
||||
|
||||
// If the template file is in the theme
|
||||
if ( file_exists( TEMPLATEPATH . '/' . $templatefilename ) ) {
|
||||
|
||||
$return_template = TEMPLATEPATH . '/' . $templatefilename;
|
||||
|
||||
// If not in the theme use the default one from the plugin
|
||||
} else {
|
||||
|
||||
$return_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-single.php';
|
||||
}
|
||||
|
||||
// Redirect
|
||||
include( $return_template );
|
||||
|
||||
// Bye bye
|
||||
exit();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// If the currently shown page is actually a post we should filter
|
||||
if ( in_array( $post->post_type, $dslc_post_types ) ) {
|
||||
|
||||
// Get template ID
|
||||
$template_ID = dslc_st_get_template_ID( $post->ID );
|
||||
|
||||
// If the post has specific template, set it in variable
|
||||
if ( $template_ID ) {
|
||||
|
||||
$template_base = get_post_meta( $template_ID, 'dslc_template_base', true );
|
||||
|
||||
// If the post does not have a specific template, just use regular base from theme
|
||||
} else {
|
||||
$template_base = 'theme';
|
||||
}
|
||||
|
||||
if ( $template_base == 'custom' ) {
|
||||
|
||||
// The template filename
|
||||
$templatefilename = 'dslc-single.php';
|
||||
|
||||
// If the template file is in the theme
|
||||
if ( file_exists( TEMPLATEPATH . '/' . $templatefilename ) ) {
|
||||
|
||||
$return_template = TEMPLATEPATH . '/' . $templatefilename;
|
||||
|
||||
// If not in the theme use the default one from the plugin
|
||||
} else {
|
||||
|
||||
$return_template = DS_LIVE_COMPOSER_ABS . '/templates/dslc-single.php';
|
||||
}
|
||||
|
||||
// Redirect
|
||||
include( $return_template );
|
||||
|
||||
// Bye bye
|
||||
exit();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
} add_action( 'template_redirect', 'dslc_st_template_switch' );
|
||||
|
||||
function dslc_templates_col_title($defaults) {
|
||||
|
||||
unset( $defaults['date'] );
|
||||
$defaults['dslc_templates_col_cpt'] = 'Post Type';
|
||||
$defaults['dslc_templates_col_default'] = ' ';
|
||||
return $defaults;
|
||||
|
||||
}
|
||||
|
||||
function dslc_templates_col_content($column_name, $post_ID) {
|
||||
|
||||
if ( $column_name == 'dslc_templates_col_cpt' ) {
|
||||
echo get_post_meta( $post_ID, 'dslc_template_for', true );
|
||||
}
|
||||
|
||||
if ( $column_name == 'dslc_templates_col_default' ) {
|
||||
if ( get_post_meta( $post_ID, 'dslc_template_type', true ) == 'default' )
|
||||
echo '<strong>Default Template</strong>';
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
add_filter( 'manage_dslc_templates_posts_columns', 'dslc_templates_col_title', 5);
|
||||
add_action( 'manage_dslc_templates_posts_custom_column', 'dslc_templates_col_content', 10, 2);
|
||||
|
||||
/**
|
||||
* Makes sure there is only one default template per post type
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_tp_unique_default( $post_id ) {
|
||||
|
||||
// If no post type ( not really a save action ) stop execution
|
||||
if ( ! isset( $_POST['post_type'] ) ) return;
|
||||
|
||||
// If not a template stop execution
|
||||
if ( $_POST['post_type'] !== 'dslc_templates' ) return;
|
||||
|
||||
// If template type not supplied stop execution
|
||||
if ( ! isset( $_REQUEST['dslc_template_type'] ) ) return;
|
||||
|
||||
// If template not default stop execution
|
||||
if ( $_REQUEST['dslc_template_type'] !== 'default' ) return;
|
||||
|
||||
// Get templates ( if any ) in same CPT that are default
|
||||
$args = array(
|
||||
'post_type' => 'dslc_templates',
|
||||
'post_status' => 'any',
|
||||
'posts_per_page' => -1,
|
||||
'meta_query' => array(
|
||||
array (
|
||||
'key' => 'dslc_template_for',
|
||||
'value' => $_POST['dslc_template_for'],
|
||||
'compare' => '=',
|
||||
),
|
||||
array (
|
||||
'key' => 'dslc_template_type',
|
||||
'value' => 'default',
|
||||
'compare' => '=',
|
||||
),
|
||||
),
|
||||
);
|
||||
$templates = get_posts( $args );
|
||||
|
||||
// Set those old defaults to regular tempaltes
|
||||
if ( $templates ) {
|
||||
foreach ( $templates as $template ) {
|
||||
update_post_meta( $template->ID, 'dslc_template_type' , 'regular' );
|
||||
}
|
||||
}
|
||||
|
||||
// Reset query
|
||||
wp_reset_query();
|
||||
|
||||
} add_action( 'save_post', 'dslc_tp_unique_default' );
|
||||
@@ -0,0 +1,149 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* "st" in function names stands for "single template", that's what the functions are related to
|
||||
*/
|
||||
|
||||
function dslc_st_init() {
|
||||
|
||||
register_post_type( 'dslc_templates', array(
|
||||
'menu_icon' => 'dashicons-admin-page',
|
||||
'labels' => array(
|
||||
'name' => __( 'Templates', 'dslc_string' ),
|
||||
'singular_name' => __( 'Template', 'dslc_string' ),
|
||||
'add_new' => __( 'Add Template', 'dslc_string' ),
|
||||
'add_new_item' => __( 'Add Template', 'dslc_string' ),
|
||||
'edit' => __( 'Edit', 'dslc_string' ),
|
||||
'edit_item' => __( 'Edit Template', 'dslc_string' ),
|
||||
'new_item' => __( 'New Template', 'dslc_string' ),
|
||||
'view' => __( 'View Templates', 'dslc_string' ),
|
||||
'view_item' => __( 'View Template', 'dslc_string' ),
|
||||
'search_items' => __( 'Search Templates', 'dslc_string' ),
|
||||
'not_found' => __( 'No Templates found', 'dslc_string' ),
|
||||
'not_found_in_trash' => __( 'No Templates found in Trash', 'dslc_string' ),
|
||||
'parent' => __( 'Parent Template', 'dslc_string' ),
|
||||
),
|
||||
'public' => true,
|
||||
'supports' => array( 'title', 'custom-fields', 'thumbnail' ),
|
||||
));
|
||||
|
||||
global $dslc_var_post_options;
|
||||
|
||||
// Generate the choices
|
||||
global $dslc_var_templates_pt;
|
||||
$pt_choices = array();
|
||||
foreach ( $dslc_var_templates_pt as $pt_id => $pt_label ) {
|
||||
$pt_choices[] = array(
|
||||
'label' => $pt_label,
|
||||
'value' => $pt_id
|
||||
);
|
||||
}
|
||||
|
||||
$dslc_var_post_options['dslc-templates-opts'] = array(
|
||||
'title' => 'Template Options',
|
||||
'show_on' => 'dslc_templates',
|
||||
'options' => array(
|
||||
array(
|
||||
'label' => __( 'Post Type', 'dslc_string' ),
|
||||
'descr' => __( 'Which post type is this template for?', 'dslc_string' ),
|
||||
'std' => '',
|
||||
'id' => 'dslc_template_for',
|
||||
'type' => 'select',
|
||||
'choices' => $pt_choices
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Base', 'dslc_string' ),
|
||||
'descr' => __( 'If set to <strong>theme template</strong> the template will be appeneded to the regular single post template ( ex. If the theme shows thumbnail and title in it\'s template they will still be there ). If set to <strong>plugin template</strong> everything will be stripped and only the content from this template shown.', 'dslc_string' ),
|
||||
'std' => 'theme',
|
||||
'id' => 'dslc_template_base',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => 'Theme Template',
|
||||
'value' => 'theme'
|
||||
),
|
||||
array(
|
||||
'label' => 'Custom Template',
|
||||
'value' => 'custom'
|
||||
),
|
||||
)
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Type', 'dslc_string' ),
|
||||
'std' => 'regular',
|
||||
'descr' => __( '<strong>Default</strong> template will be used as the default for all the posts. <strong>Regular</strong> template is an additional template that you can set to specific posts.', 'dslc_string' ),
|
||||
'id' => 'dslc_template_type',
|
||||
'type' => 'radio',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => 'Regular',
|
||||
'value' => 'regular'
|
||||
),
|
||||
array(
|
||||
'label' => 'Default',
|
||||
'value' => 'default'
|
||||
),
|
||||
)
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
} add_action( 'init', 'dslc_st_init' );
|
||||
|
||||
/**
|
||||
* Get the template ID of a specific post
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_st_get_template_ID( $post_ID ) {
|
||||
|
||||
// Get the template ID set for the post ( returns false if not set )
|
||||
$template = get_post_meta( $post_ID, 'dslc_post_template', true );
|
||||
|
||||
// If no template set, make it "default"
|
||||
if ( ! $template ) {
|
||||
$template = 'default';
|
||||
}
|
||||
|
||||
// Default template supplied, find it and return the ID
|
||||
if ( $template == 'default' ) {
|
||||
|
||||
// Query for default template
|
||||
$args = array(
|
||||
'post_type' => 'dslc_templates',
|
||||
'post_status' => 'publish',
|
||||
'posts_per_page' => 1,
|
||||
'meta_query' => array(
|
||||
array (
|
||||
'key' => 'dslc_template_for',
|
||||
'value' => get_post_type( $post_ID ),
|
||||
'compare' => '=',
|
||||
),
|
||||
array (
|
||||
'key' => 'dslc_template_type',
|
||||
'value' => 'default',
|
||||
'compare' => '=',
|
||||
),
|
||||
),
|
||||
'order' => 'DESC'
|
||||
);
|
||||
$tpls = get_posts( $args );
|
||||
|
||||
// If default template found set the ID if not make it false
|
||||
if ( $tpls )
|
||||
$template_ID = $tpls[0]->ID;
|
||||
else
|
||||
$template_ID = false;
|
||||
|
||||
// Specific template supplied, return the ID
|
||||
} elseif ( $template ) {
|
||||
|
||||
$template_ID = $template;
|
||||
|
||||
}
|
||||
|
||||
// Return the template ID
|
||||
return $template_ID;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
|
||||
include DSLC_ST_FRAMEWORK_ABS . '/inc/filters.php';
|
||||
include DSLC_ST_FRAMEWORK_ABS . '/inc/functions.php';
|
||||
@@ -0,0 +1,204 @@
|
||||
/*! elementQuery | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */
|
||||
(function(n,t,i){"use strict";var o=n.Sizzle||jQuery.find,r={},u=null,v=function(){t.styleSheets[0]&&(u=t.styleSheets[0].cssRules!==i?"cssRules":"rules")},s=function(n,t,u,f,s){if(n=e(n),n!=""){var h;f||s||(h=/^([0-9]*.?[0-9]+)(px|em)$/.exec(u),h!=null&&(f=Number(h[1]),f+""!="NaN"&&(s=h[2]))),s&&(o.compile&&o.compile(n),r[n]===i&&(r[n]={}),r[n][t]===i&&(r[n][t]={}),r[n][t][u]=[f,s])}},y=function(n,t){var i,r,u;for(i in n)for(r in n[i])if(typeof n[i][r]=="string")s(i,r,n[i][r]);else if(typeof n[i][r]=="object")for(u=0;u<n[i][r].length;u++)s(i,r,n[i][r][u]);t==!0&&f()},c=function(n){if(n)for(var a=/(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em)(\'|\")\])(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em)(\'|\")\])?/gi,e=n.split(","),u,t,h,c,l,r,o,f=0;f<e.length;f++)for(u=null,c=0,l=0;l==0||t!=null;)t=a.exec(e[f]),t!=null&&(h=Number(t[4]),h+""!="NaN"&&(u==null&&(u=e[f].substring(c,t.index),r=e[f].substring(t.index+t[1].length),r.length>0&&(o=r.indexOf(" "),o!=0&&(o>0&&(r=r.substring(0,o)),r=r.replace(/(\[(min\-width|max\-width|min\-height|max\-height)\~\=(\'|\")([0-9]*.?[0-9]+)(px|em)(\'|\")\])/gi,""),u+=r))),s(u,t[2],t[4]+t[5],h,t[5])),t[7]===i||t[7]==""?(c=t.index+t[1].length,u=null):a.lastIndex=t.index+t[1].length),l++},l=function(n,t){var r,f,e,i;if(u==null&&v(),n[u]&&n[u].length>0&&(r=n.ownerNode||n.owningElement,t||r.getAttribute("data-elementquery-bypass")===null&&r.getAttribute("data-elementquery-processed")===null)){for(f=0;f<n[u].length;f++)if(i=n[u][f],i[u]&&i[u].length>0)for(e=0;e<i[u].length;e++)c(i[u][e].selectorText);else c(i.selectorText);r.setAttribute("data-elementquery-processed","")}},e=function(n){if(n==null)return"";var t="".trim;return t&&!t.call(" ")?t.call(n):(n+"").replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")},a=function(n,t){var i=n.getAttribute(t);return i?(" "+i+" ").replace(/[\t\r\n]/g," "):" "},p=function(n,t,i){var r,u;n.nodeType===1&&(r=e(i),r!=""&&(u=a(n,t),u.indexOf(" "+r+" ")<0&&n.setAttribute(t,e(u+r))))},w=function(n,t,i){var u,r,f;if(n.nodeType===1&&(u=e(i),u!="")){for(r=a(n,t),f=!1;r.indexOf(" "+u+" ")>=0;)r=r.replace(" "+u+" "," "),f=!0;f&&n.setAttribute(t,e(r))}},h=function(){for(var n=0;n<t.styleSheets.length;n++)l(t.styleSheets[n]);f()},f=function(){var e,h,i,s,c,u,f,l;for(e in r)if(c=o(e),c.length>0)for(h=0;h<c.length;h++){u=c[h];for(i in r[e])for(s in r[e][i])f=r[e][i][s][0],r[e][i][s][1]=="em"&&(f=f*(n.getEmPixels?getEmPixels(u):16)),i=="min-width"&&u.offsetWidth>=f||i=="max-width"&&u.offsetWidth<=f||i=="min-height"&&u.offsetHeight>=f||i=="max-height"&&u.offsetHeight<=f?p(u,i,s):w(u,i,s)}!n.addEventListener&&n.attachEvent&&(l=t.documentElement.className,t.documentElement.className=" "+l,t.documentElement.className=l)};n.elementQuery=function(n,t){n&&typeof n=="object"?n.cssRules||n.rules?(l(n,!0),t==!0&&f()):y(n,t):n||t||f()},n.elementQuery.selectors=function(){var t={},n,u,f;for(n in r)for(u in r[n])for(f in r[n][u])t[n]===i&&(t[n]={}),t[n][u]===i&&(t[n][u]=[]),t[n][u][t[n][u].length]=f;return t},n.addEventListener?(n.addEventListener("resize",f,!1),n.addEventListener("DOMContentLoaded",h,!1),n.addEventListener("load",h,!1)):n.attachEvent&&(n.attachEvent("onresize",f),n.attachEvent("onload",h))})(this,document,undefined);
|
||||
/*! getEmPixels | Author: Tyson Matanich (http://matanich.com), 2013 | License: MIT */
|
||||
(function(n,t){"use strict";var i="!important;",r="position:absolute"+i+"visibility:hidden"+i+"width:1em"+i+"font-size:1em"+i+"padding:0"+i;window.getEmPixels=function(u){var f,e,o;return u||(u=f=n.createElement("body"),f.style.cssText="font-size:1em"+i,t.insertBefore(f,n.body)),e=n.createElement("i"),e.style.cssText=r,u.appendChild(e),o=e.clientWidth,f?t.removeChild(f):u.removeChild(e),o}})(document,document.documentElement);
|
||||
|
||||
/*!
|
||||
* Masonry PACKAGED v3.1.3
|
||||
* Cascading grid layout library
|
||||
* http://masonry.desandro.com
|
||||
* MIT License
|
||||
* by David DeSandro
|
||||
*/
|
||||
|
||||
(function(t){function e(){}function i(t){function i(e){e.prototype.option||(e.prototype.option=function(e){t.isPlainObject(e)&&(this.options=t.extend(!0,this.options,e))})}function o(e,i){t.fn[e]=function(o){if("string"==typeof o){for(var s=n.call(arguments,1),a=0,h=this.length;h>a;a++){var p=this[a],u=t.data(p,e);if(u)if(t.isFunction(u[o])&&"_"!==o.charAt(0)){var f=u[o].apply(u,s);if(void 0!==f)return f}else r("no such method '"+o+"' for "+e+" instance");else r("cannot call methods on "+e+" prior to initialization; "+"attempted to call '"+o+"'")}return this}return this.each(function(){var n=t.data(this,e);n?(n.option(o),n._init()):(n=new i(this,o),t.data(this,e,n))})}}if(t){var r="undefined"==typeof console?e:function(t){console.error(t)};return t.bridget=function(t,e){i(e),o(t,e)},t.bridget}}var n=Array.prototype.slice;"function"==typeof define&&define.amd?define("jquery-bridget/jquery.bridget",["jquery"],i):i(t.jQuery)})(window),function(t){var e=document.documentElement,i=function(){};e.addEventListener?i=function(t,e,i){t.addEventListener(e,i,!1)}:e.attachEvent&&(i=function(e,i,n){e[i+n]=n.handleEvent?function(){var e=t.event;e.target=e.target||e.srcElement,n.handleEvent.call(n,e)}:function(){var i=t.event;i.target=i.target||i.srcElement,n.call(e,i)},e.attachEvent("on"+i,e[i+n])});var n=function(){};e.removeEventListener?n=function(t,e,i){t.removeEventListener(e,i,!1)}:e.detachEvent&&(n=function(t,e,i){t.detachEvent("on"+e,t[e+i]);try{delete t[e+i]}catch(n){t[e+i]=void 0}});var o={bind:i,unbind:n};"function"==typeof define&&define.amd?define("eventie/eventie",o):t.eventie=o}(this),function(t){function e(t){"function"==typeof t&&(e.isReady?t():r.push(t))}function i(t){var i="readystatechange"===t.type&&"complete"!==o.readyState;if(!e.isReady&&!i){e.isReady=!0;for(var n=0,s=r.length;s>n;n++){var a=r[n];a()}}}function n(n){return n.bind(o,"DOMContentLoaded",i),n.bind(o,"readystatechange",i),n.bind(t,"load",i),e}var o=t.document,r=[];e.isReady=!1,"function"==typeof define&&define.amd?(e.isReady="function"==typeof requirejs,define("doc-ready/doc-ready",["eventie/eventie"],n)):t.docReady=n(t.eventie)}(this),function(){function t(){}function e(t,e){for(var i=t.length;i--;)if(t[i].listener===e)return i;return-1}function i(t){return function(){return this[t].apply(this,arguments)}}var n=t.prototype;n.getListeners=function(t){var e,i,n=this._getEvents();if("object"==typeof t){e={};for(i in n)n.hasOwnProperty(i)&&t.test(i)&&(e[i]=n[i])}else e=n[t]||(n[t]=[]);return e},n.flattenListeners=function(t){var e,i=[];for(e=0;t.length>e;e+=1)i.push(t[e].listener);return i},n.getListenersAsObject=function(t){var e,i=this.getListeners(t);return i instanceof Array&&(e={},e[t]=i),e||i},n.addListener=function(t,i){var n,o=this.getListenersAsObject(t),r="object"==typeof i;for(n in o)o.hasOwnProperty(n)&&-1===e(o[n],i)&&o[n].push(r?i:{listener:i,once:!1});return this},n.on=i("addListener"),n.addOnceListener=function(t,e){return this.addListener(t,{listener:e,once:!0})},n.once=i("addOnceListener"),n.defineEvent=function(t){return this.getListeners(t),this},n.defineEvents=function(t){for(var e=0;t.length>e;e+=1)this.defineEvent(t[e]);return this},n.removeListener=function(t,i){var n,o,r=this.getListenersAsObject(t);for(o in r)r.hasOwnProperty(o)&&(n=e(r[o],i),-1!==n&&r[o].splice(n,1));return this},n.off=i("removeListener"),n.addListeners=function(t,e){return this.manipulateListeners(!1,t,e)},n.removeListeners=function(t,e){return this.manipulateListeners(!0,t,e)},n.manipulateListeners=function(t,e,i){var n,o,r=t?this.removeListener:this.addListener,s=t?this.removeListeners:this.addListeners;if("object"!=typeof e||e instanceof RegExp)for(n=i.length;n--;)r.call(this,e,i[n]);else for(n in e)e.hasOwnProperty(n)&&(o=e[n])&&("function"==typeof o?r.call(this,n,o):s.call(this,n,o));return this},n.removeEvent=function(t){var e,i=typeof t,n=this._getEvents();if("string"===i)delete n[t];else if("object"===i)for(e in n)n.hasOwnProperty(e)&&t.test(e)&&delete n[e];else delete this._events;return this},n.removeAllListeners=i("removeEvent"),n.emitEvent=function(t,e){var i,n,o,r,s=this.getListenersAsObject(t);for(o in s)if(s.hasOwnProperty(o))for(n=s[o].length;n--;)i=s[o][n],i.once===!0&&this.removeListener(t,i.listener),r=i.listener.apply(this,e||[]),r===this._getOnceReturnValue()&&this.removeListener(t,i.listener);return this},n.trigger=i("emitEvent"),n.emit=function(t){var e=Array.prototype.slice.call(arguments,1);return this.emitEvent(t,e)},n.setOnceReturnValue=function(t){return this._onceReturnValue=t,this},n._getOnceReturnValue=function(){return this.hasOwnProperty("_onceReturnValue")?this._onceReturnValue:!0},n._getEvents=function(){return this._events||(this._events={})},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return t}):"object"==typeof module&&module.exports?module.exports=t:this.EventEmitter=t}.call(this),function(t){function e(t){if(t){if("string"==typeof n[t])return t;t=t.charAt(0).toUpLine truncated
|
||||
|
||||
/*
|
||||
* jQuery OwlCarousel v1.31
|
||||
*
|
||||
* Copyright (c) 2013 Bartosz Wojciechowski
|
||||
* http://www.owlgraphic.com/owlcarousel
|
||||
*
|
||||
* Licensed under MIT
|
||||
*
|
||||
*/
|
||||
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('7(B 3i.3E!=="9"){3i.3E=9(e){9 t(){}t.5v=e;q 5c t}}(9(e,t,n,r){b i={1J:9(t,n){b r=d;r.$k=e(n);r.6=e.3K({},e.3A.2c.6,r.$k.w(),t);r.29=t;r.3U()},3U:9(){b t=d;7(B t.6.2M==="9"){t.6.2M.P(d,[t.$k])}7(B t.6.2I==="2F"){b n=t.6.2I;9 r(e){7(B t.6.3F==="9"){t.6.3F.P(d,[e])}m{b n="";1C(b r 2f e["h"]){n+=e["h"][r]["1K"]}t.$k.2h(n)}t.2Y()}e.5G(n,r)}m{t.2Y()}},2Y:9(e){b t=d;t.$k.w("h-4p",t.$k.2s("2t")).w("h-4K",t.$k.2s("J"));t.$k.A({2z:0});t.2A=t.6.v;t.4L();t.5R=0;t.1M;t.1P()},1P:9(){b e=d;7(e.$k.1S().S===0){q c}e.1O();e.3H();e.$X=e.$k.1S();e.G=e.$X.S;e.4M();e.$I=e.$k.16(".h-1K");e.$L=e.$k.16(".h-1h");e.2H="Y";e.15=0;e.1W=[0];e.p=0;e.4I();e.4G()},4G:9(){b e=d;e.2V();e.31();e.4D();e.35();e.4C();e.4A();e.2x();e.4z();7(e.6.2w!==c){e.4w(e.6.2w)}7(e.6.Q===j){e.6.Q=5i}e.1e();e.$k.16(".h-1h").A("4v","4r");7(!e.$k.2p(":33")){e.34()}m{e.$k.A("2z",1)}e.56=c;e.2o();7(B e.6.39==="9"){e.6.39.P(d,[e.$k])}},2o:9(){b e=d;7(e.6.1I===j){e.1I()}7(e.6.1A===j){e.1A()}e.4n();7(B e.6.3n==="9"){e.6.3n.P(d,[e.$k])}},3o:9(){b e=d;7(B e.6.3p==="9"){e.6.3p.P(d,[e.$k])}e.34();e.2V();e.31();e.4m();e.35();e.2o();7(B e.6.3t==="9"){e.6.3t.P(d,[e.$k])}},4i:9(e){b t=d;19(9(){t.3o()},0)},34:9(){b e=d;7(e.$k.2p(":33")===c){e.$k.A({2z:0});18(e.1r);18(e.1M)}m{q c}e.1M=4g(9(){7(e.$k.2p(":33")){e.4i();e.$k.4f({2z:1},2J);18(e.1M)}},5O)},4M:9(){b e=d;e.$X.5N(\'<M J="h-1h">\').3G(\'<M J="h-1K"></M>\');e.$k.16(".h-1h").3G(\'<M J="h-1h-4d">\');e.1U=e.$k.16(".h-1h-4d");e.$k.A("4v","4r")},1O:9(){b e=d;b t=e.$k.1V(e.6.1O);b n=e.$k.1V(e.6.28);7(!t){e.$k.K(e.6.1O)}7(!n){e.$k.K(e.6.28)}},2V:9(){b t=d;7(t.6.2Z===c){q c}7(t.6.4b===j){t.6.v=t.2A=1;t.6.17=c;t.6.1q=c;t.6.21=c;t.6.24=c;t.6.25=c;t.6.26=c;q c}b n=e(t.6.4a).1m();7(n>(t.6.1q[0]||t.2A)){t.6.v=t.2A}7(B t.6.17!=="3b"&&t.6.17!==c){t.6.17.5x(9(e,t){q e[0]-t[0]});1C(b r 2f t.6.17){7(B t.6.17[r]!=="3b"&&t.6.17[r][0]<=n){t.6.v=t.6.17[r][1]}}}m{7(n<=t.6.1q[0]&&t.6.1q!==c){t.6.v=t.6.1q[1]}7(n<=t.6.21[0]&&t.6.21!==c){t.6.v=t.6.21[1]}7(n<=t.6.24[0]&&t.6.24!==c){t.6.v=t.6.24[1]}7(n<=t.6.25[0]&&t.6.25!==c){t.6.v=t.6.25[1]}7(n<=t.6.26[0]&&t.6.26!==c){t.6.v=t.6.26[1]}}7(t.6.v>t.G&&t.6.49===j){t.6.v=t.G}},4C:9(){b n=d,r;7(n.6.2Z!==j){q c}b i=e(t).1m();n.3f=9(){7(e(t).1m()!==i){7(n.6.Q!==c){18(n.1r)}5o(r);r=19(9(){i=e(t).1m();n.3o()},n.6.48)}};e(t).47(n.3f)},4m:9(){b e=d;e.2j(e.p);7(e.6.Q!==c){e.3l()}},46:9(){b t=d;b n=0;b r=t.G-t.6.v;t.$I.2i(9(i){b s=e(d);s.A({1m:t.N}).w("h-1K",3q(i));7(i%t.6.v===0||i===r){7(!(i>r)){n+=1}}s.w("h-1L",n)})},45:9(){b e=d;b t=0;b t=e.$I.S*e.N;e.$L.A({1m:t*2,V:0});e.46()},31:9(){b e=d;e.44();e.45();e.43();e.3x()},44:9(){b e=d;e.N=1N.5a(e.$k.1m()/e.6.v)},3x:9(){b e=d;b t=(e.G*e.N-e.6.v*e.N)*-1;7(e.6.v>e.G){e.C=0;t=0;e.3D=0}m{e.C=e.G-e.6.v;e.3D=t}q t},42:9(){q 0},43:9(){b t=d;t.H=[0];t.2C=[];b n=0;b r=0;1C(b i=0;i<t.G;i++){r+=t.N;t.H.2D(-r);7(t.6.14===j){b s=e(t.$I[i]);b o=s.w("h-1L");7(o!==n){t.2C[n]=t.H[i];n=o}}}},4D:9(){b t=d;7(t.6.2b===j||t.6.1s===j){t.D=e(\'<M J="h-4R"/>\').4Q("4P",!t.F.13).5E(t.$k)}7(t.6.1s===j){t.3Z()}7(t.6.2b===j){t.3Y()}},3Y:9(){b t=d;b n=e(\'<M J="h-5h"/>\');t.D.1k(n);t.1w=e("<M/>",{"J":"h-1l",2h:t.6.2T[0]||""});t.1y=e("<M/>",{"J":"h-Y",2h:t.6.2T[1]||""});n.1k(t.1w).1k(t.1y);n.z("2W.D 1Z.D",\'M[J^="h"]\',9(e){e.1n()});n.z("2a.D 2n.D",\'M[J^="h"]\',9(n){n.1n();7(e(d).1V("h-Y")){t.Y()}m{t.1l()}})},3Z:9(){b t=d;t.1o=e(\'<M J="h-1s"/>\');t.D.1k(t.1o);t.1o.z("2a.D 2n.D",".h-1p",9(n){n.1n();7(3q(e(d).w("h-1p"))!==t.p){t.1i(3q(e(d).w("h-1p")),j)}})},3T:9(){b t=d;7(t.6.1s===c){q c}t.1o.2h("");b n=0;b r=t.G-t.G%t.6.v;1C(b i=0;i<t.G;i++){7(i%t.6.v===0){n+=1;7(r===i){b s=t.G-t.6.v}b o=e("<M/>",{"J":"h-1p"});b u=e("<3Q></3Q>",{54:t.6.38===j?n:"","J":t.6.38===j?"h-5l":""});o.1k(u);o.w("h-1p",r===i?s:i);o.w("h-1L",n);t.1o.1k(o)}}t.3a()},3a:9(){b t=d;7(t.6.1s===c){q c}t.1o.16(".h-1p").2i(9(n,r){7(e(d).w("h-1L")===e(t.$I[t.p]).w("h-1L")){t.1o.16(".h-1p").Z("2d");e(d).K("2d")}})},3d:9(){b e=d;7(e.6.2b===c){q c}7(e.6.2e===c){7(e.p===0&&e.C===0){e.1w.K("1b");e.1y.K("1b")}m 7(e.p===0&&e.C!==0){e.1w.K("1b");e.1y.Z("1b")}m 7(e.p===e.C){e.1w.Z("1b");e.1y.K("1b")}m 7(e.p!==0&&e.p!==e.C){e.1w.Z("1b");e.1y.Z("1b")}}},35:9(){b e=d;e.3T();e.3d();7(e.D){7(e.6.v>=e.G){e.D.3N()}m{e.D.3L()}}},5g:9(){b e=d;7(e.D){e.D.3j()}},Y:9(e){b t=d;7(t.1G){q c}t.p+=t.6.14===j?t.6.v:1;7(t.p>t.C+(t.6.14==j?t.6.v-1:0)){7(t.6.2e===j){t.p=0;e="2k"}m{t.p=t.C;q c}}t.1i(t.p,e)},1l:9(e){b t=d;7(t.1G){q c}7(t.6.14===j&&t.p>0&&t.p<t.6.v){t.p=0}m{t.p-=t.6.14===j?t.6.v:1}7(t.p<0){7(t.6.2e===j){t.p=t.C;e="2k"}m{t.p=0;q c}}t.1i(t.p,e)},1i:9(e,t,n){b r=d;7(r.1G){q c}7(B r.6.1F==="9"){r.6.1F.P(d,[r.$k])}7(e>=r.C){e=r.C}m 7(e<=0){e=0}r.p=r.h.p=e;7(r.6.2w!==c&&n!=="4e"&&r.6.v===1&&r.F.1u===j){r.1B(0);7(r.F.1u===j){r.1H(r.Line truncated
|
||||
|
||||
/*!
|
||||
* MediaElement.js
|
||||
* HTML5 <video> and <audio> shim and player
|
||||
* http://mediaelementjs.com/
|
||||
*
|
||||
* Creates a JavaScript object that mimics HTML5 MediaElement API
|
||||
* for browsers that don't understand HTML5 or can't play the provided codec
|
||||
* Can play MP4 (H.264), Ogg, WebM, FLV, WMV, WMA, ACC, and MP3
|
||||
*
|
||||
* Copyright 2010-2013, John Dyer (http://j.hn)
|
||||
* License: MIT
|
||||
*
|
||||
*/var mejs=mejs||{};mejs.version="2.13.1";mejs.meIndex=0;
|
||||
mejs.plugins={silverlight:[{version:[3,0],types:["video/mp4","video/m4v","video/mov","video/wmv","audio/wma","audio/m4a","audio/mp3","audio/wav","audio/mpeg"]}],flash:[{version:[9,0,124],types:["video/mp4","video/m4v","video/mov","video/flv","video/rtmp","video/x-flv","audio/flv","audio/x-flv","audio/mp3","audio/m4a","audio/mpeg","video/youtube","video/x-youtube"]}],youtube:[{version:null,types:["video/youtube","video/x-youtube","audio/youtube","audio/x-youtube"]}],vimeo:[{version:null,types:["video/vimeo",
|
||||
"video/x-vimeo"]}]};
|
||||
mejs.Utility={encodeUrl:function(a){return encodeURIComponent(a)},escapeHTML:function(a){return a.toString().split("&").join("&").split("<").join("<").split('"').join(""")},absolutizeUrl:function(a){var b=document.createElement("div");b.innerHTML='<a href="'+this.escapeHTML(a)+'">x</a>';return b.firstChild.href},getScriptPath:function(a){for(var b=0,c,d="",e="",f,g,h=document.getElementsByTagName("script"),l=h.length,j=a.length;b<l;b++){f=h[b].src;c=f.lastIndexOf("/");if(c>-1){g=f.substring(c+
|
||||
1);f=f.substring(0,c+1)}else{g=f;f=""}for(c=0;c<j;c++){e=a[c];e=g.indexOf(e);if(e>-1){d=f;break}}if(d!=="")break}return d},secondsToTimeCode:function(a,b,c,d){if(typeof c=="undefined")c=false;else if(typeof d=="undefined")d=25;var e=Math.floor(a/3600)%24,f=Math.floor(a/60)%60,g=Math.floor(a%60);a=Math.floor((a%1*d).toFixed(3));return(b||e>0?(e<10?"0"+e:e)+":":"")+(f<10?"0"+f:f)+":"+(g<10?"0"+g:g)+(c?":"+(a<10?"0"+a:a):"")},timeCodeToSeconds:function(a,b,c,d){if(typeof c=="undefined")c=false;else if(typeof d==
|
||||
"undefined")d=25;a=a.split(":");b=parseInt(a[0],10);var e=parseInt(a[1],10),f=parseInt(a[2],10),g=0,h=0;if(c)g=parseInt(a[3])/d;return h=b*3600+e*60+f+g},convertSMPTEtoSeconds:function(a){if(typeof a!="string")return false;a=a.replace(",",".");var b=0,c=a.indexOf(".")!=-1?a.split(".")[1].length:0,d=1;a=a.split(":").reverse();for(var e=0;e<a.length;e++){d=1;if(e>0)d=Math.pow(60,e);b+=Number(a[e])*d}return Number(b.toFixed(c))},removeSwf:function(a){var b=document.getElementById(a);if(b&&/object|embed/i.test(b.nodeName))if(mejs.MediaFeatures.isIE){b.style.display=
|
||||
"none";(function(){b.readyState==4?mejs.Utility.removeObjectInIE(a):setTimeout(arguments.callee,10)})()}else b.parentNode.removeChild(b)},removeObjectInIE:function(a){if(a=document.getElementById(a)){for(var b in a)if(typeof a[b]=="function")a[b]=null;a.parentNode.removeChild(a)}}};
|
||||
mejs.PluginDetector={hasPluginVersion:function(a,b){var c=this.plugins[a];b[1]=b[1]||0;b[2]=b[2]||0;return c[0]>b[0]||c[0]==b[0]&&c[1]>b[1]||c[0]==b[0]&&c[1]==b[1]&&c[2]>=b[2]?true:false},nav:window.navigator,ua:window.navigator.userAgent.toLowerCase(),plugins:[],addPlugin:function(a,b,c,d,e){this.plugins[a]=this.detectPlugin(b,c,d,e)},detectPlugin:function(a,b,c,d){var e=[0,0,0],f;if(typeof this.nav.plugins!="undefined"&&typeof this.nav.plugins[a]=="object"){if((c=this.nav.plugins[a].description)&&
|
||||
!(typeof this.nav.mimeTypes!="undefined"&&this.nav.mimeTypes[b]&&!this.nav.mimeTypes[b].enabledPlugin)){e=c.replace(a,"").replace(/^\s+/,"").replace(/\sr/gi,".").split(".");for(a=0;a<e.length;a++)e[a]=parseInt(e[a].match(/\d+/),10)}}else if(typeof window.ActiveXObject!="undefined")try{if(f=new ActiveXObject(c))e=d(f)}catch(g){}return e}};
|
||||
mejs.PluginDetector.addPlugin("flash","Shockwave Flash","application/x-shockwave-flash","ShockwaveFlash.ShockwaveFlash",function(a){var b=[];if(a=a.GetVariable("$version")){a=a.split(" ")[1].split(",");b=[parseInt(a[0],10),parseInt(a[1],10),parseInt(a[2],10)]}return b});
|
||||
mejs.PluginDetector.addPlugin("silverlight","Silverlight Plug-In","application/x-silverlight-2","AgControl.AgControl",function(a){var b=[0,0,0,0],c=function(d,e,f,g){for(;d.isVersionSupported(e[0]+"."+e[1]+"."+e[2]+"."+e[3]);)e[f]+=g;e[f]-=g};c(a,b,0,1);c(a,b,1,1);c(a,b,2,1E4);c(a,b,2,1E3);c(a,b,2,100);c(a,b,2,10);c(a,b,2,1);c(a,b,3,1);return b});
|
||||
mejs.MediaFeatures={init:function(){var a=this,b=document,c=mejs.PluginDetector.nav,d=mejs.PluginDetector.ua.toLowerCase(),e,f=["source","track","audio","video"];a.isiPad=d.match(/ipad/i)!==null;a.isiPhone=d.match(/iphone/i)!==null;a.isiOS=a.isiPhone||a.isiPad;a.isAndroid=d.match(/android/i)!==null;a.isBustedAndroid=d.match(/android 2\.[12]/)!==null;a.isBustedNativeHTTPS=location.protocol==="https:"&&(d.match(/android [12]\./)!==null||d.match(/macintosh.* version.* safari/)!==null);a.isIE=c.appName.toLowerCase().match(/trident/gi)!==
|
||||
null;a.isChrome=d.match(/chrome/gi)!==null;a.isFirefox=d.match(/firefox/gi)!==null;a.isWebkit=d.match(/webkit/gi)!==null;a.isGecko=d.match(/gecko/gi)!==null&&!a.isWebkit&&!a.isIE;a.isOpera=d.match(/opera/gi)!==null;a.hasTouch="ontouchstart"in window&&window.ontouchstart!=null;a.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect;for(c=0;c<f.length;c++)e=document.createElement(f[c]);a.supportsMediaTag=typeof e.canPlayType!=="undefined"||a.isBustedAndroid;
|
||||
try{e.canPlayType("video/mp4")}catch(g){a.supportsMediaTag=false}a.hasSemiNativeFullScreen=typeof e.webkitEnterFullscreen!=="undefined";a.hasNativeFullscreen=typeof e.requestFullscreen!=="undefined";a.hasWebkitNativeFullScreen=typeof e.webkitRequestFullScreen!=="undefined";a.hasMozNativeFullScreen=typeof e.mozRequestFullScreen!=="undefined";a.hasMsNativeFullScreen=typeof e.msRequestFullscreen!=="undefined";a.hasTrueNativeFullScreen=a.hasWebkitNativeFullScreen||a.hasMozNativeFullScreen||a.hasMsNativeFullScreen;
|
||||
a.nativeFullScreenEnabled=a.hasTrueNativeFullScreen;if(a.hasMozNativeFullScreen)a.nativeFullScreenEnabled=document.mozFullScreenEnabled;else if(a.hasMsNativeFullScreen)a.nativeFullScreenEnabled=document.msFullscreenEnabled;if(a.isChrome)a.hasSemiNativeFullScreen=false;if(a.hasTrueNativeFullScreen){a.fullScreenEventName="";if(a.hasWebkitNativeFullScreen)a.fullScreenEventName="webkitfullscreenchange";else if(a.hasMozNativeFullScreen)a.fullScreenEventName="mozfullscreenchange";else if(a.hasMsNativeFullScreen)a.fullScreenEventName=
|
||||
"MSFullscreenChange";a.isFullScreen=function(){if(e.mozRequestFullScreen)return b.mozFullScreen;else if(e.webkitRequestFullScreen)return b.webkitIsFullScreen;else if(e.hasMsNativeFullScreen)return b.msFullscreenElement!==null};a.requestFullScreen=function(h){if(a.hasWebkitNativeFullScreen)h.webkitRequestFullScreen();else if(a.hasMozNativeFullScreen)h.mozRequestFullScreen();else a.hasMsNativeFullScreen&&h.msRequestFullscreen()};a.cancelFullScreen=function(){if(a.hasWebkitNativeFullScreen)document.webkitCancelFullScreen();
|
||||
else if(a.hasMozNativeFullScreen)document.mozCancelFullScreen();else a.hasMsNativeFullScreen&&document.msExitFullscreen()}}if(a.hasSemiNativeFullScreen&&d.match(/mac os x 10_5/i)){a.hasNativeFullScreen=false;a.hasSemiNativeFullScreen=false}}};mejs.MediaFeatures.init();
|
||||
mejs.HtmlMediaElement={pluginType:"native",isFullScreen:false,setCurrentTime:function(a){this.currentTime=a},setMuted:function(a){this.muted=a},setVolume:function(a){this.volume=a},stop:function(){this.pause()},setSrc:function(a){for(var b=this.getElementsByTagName("source");b.length>0;)this.removeChild(b[0]);if(typeof a=="string")this.src=a;else{var c;for(b=0;b<a.length;b++){c=a[b];if(this.canPlayType(c.type)){this.src=c.src;break}}}},setVideoSize:function(a,b){this.width=a;this.height=b}};
|
||||
mejs.PluginMediaElement=function(a,b,c){this.id=a;this.pluginType=b;this.src=c;this.events={};this.attributes={}};
|
||||
mejs.PluginMediaElement.prototype={pluginElement:null,pluginType:"",isFullScreen:false,playbackRate:-1,defaultPlaybackRate:-1,seekable:[],played:[],paused:true,ended:false,seeking:false,duration:0,error:null,tagName:"",muted:false,volume:1,currentTime:0,play:function(){if(this.pluginApi!=null){this.pluginType=="youtube"?this.pluginApi.playVideo():this.pluginApi.playMedia();this.paused=false}},load:function(){if(this.pluginApi!=null){this.pluginType!="youtube"&&this.pluginApi.loadMedia();this.paused=
|
||||
false}},pause:function(){if(this.pluginApi!=null){this.pluginType=="youtube"?this.pluginApi.pauseVideo():this.pluginApi.pauseMedia();this.paused=true}},stop:function(){if(this.pluginApi!=null){this.pluginType=="youtube"?this.pluginApi.stopVideo():this.pluginApi.stopMedia();this.paused=true}},canPlayType:function(a){var b,c,d,e=mejs.plugins[this.pluginType];for(b=0;b<e.length;b++){d=e[b];if(mejs.PluginDetector.hasPluginVersion(this.pluginType,d.version))for(c=0;c<d.types.length;c++)if(a==d.types[c])return"probably"}return""},
|
||||
positionFullscreenButton:function(a,b,c){this.pluginApi!=null&&this.pluginApi.positionFullscreenButton&&this.pluginApi.positionFullscreenButton(Math.floor(a),Math.floor(b),c)},hideFullscreenButton:function(){this.pluginApi!=null&&this.pluginApi.hideFullscreenButton&&this.pluginApi.hideFullscreenButton()},setSrc:function(a){if(typeof a=="string"){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(a));this.src=mejs.Utility.absolutizeUrl(a)}else{var b,c;for(b=0;b<a.length;b++){c=a[b];if(this.canPlayType(c.type)){this.pluginApi.setSrc(mejs.Utility.absolutizeUrl(c.src));
|
||||
this.src=mejs.Utility.absolutizeUrl(a);break}}}},setCurrentTime:function(a){if(this.pluginApi!=null){this.pluginType=="youtube"?this.pluginApi.seekTo(a):this.pluginApi.setCurrentTime(a);this.currentTime=a}},setVolume:function(a){if(this.pluginApi!=null){this.pluginType=="youtube"?this.pluginApi.setVolume(a*100):this.pluginApi.setVolume(a);this.volume=a}},setMuted:function(a){if(this.pluginApi!=null){if(this.pluginType=="youtube"){a?this.pluginApi.mute():this.pluginApi.unMute();this.muted=a;this.dispatchEvent("volumechange")}else this.pluginApi.setMuted(a);
|
||||
this.muted=a}},setVideoSize:function(a,b){if(this.pluginElement.style){this.pluginElement.style.width=a+"px";this.pluginElement.style.height=b+"px"}this.pluginApi!=null&&this.pluginApi.setVideoSize&&this.pluginApi.setVideoSize(a,b)},setFullscreen:function(a){this.pluginApi!=null&&this.pluginApi.setFullscreen&&this.pluginApi.setFullscreen(a)},enterFullScreen:function(){this.pluginApi!=null&&this.pluginApi.setFullscreen&&this.setFullscreen(true)},exitFullScreen:function(){this.pluginApi!=null&&this.pluginApi.setFullscreen&&
|
||||
this.setFullscreen(false)},addEventListener:function(a,b){this.events[a]=this.events[a]||[];this.events[a].push(b)},removeEventListener:function(a,b){if(!a){this.events={};return true}var c=this.events[a];if(!c)return true;if(!b){this.events[a]=[];return true}for(i=0;i<c.length;i++)if(c[i]===b){this.events[a].splice(i,1);return true}return false},dispatchEvent:function(a){var b,c,d=this.events[a];if(d){c=Array.prototype.slice.call(arguments,1);for(b=0;b<d.length;b++)d[b].apply(null,c)}},hasAttribute:function(a){return a in
|
||||
this.attributes},removeAttribute:function(a){delete this.attributes[a]},getAttribute:function(a){if(this.hasAttribute(a))return this.attributes[a];return""},setAttribute:function(a,b){this.attributes[a]=b},remove:function(){mejs.Utility.removeSwf(this.pluginElement.id);mejs.MediaPluginBridge.unregisterPluginElement(this.pluginElement.id)}};
|
||||
mejs.MediaPluginBridge={pluginMediaElements:{},htmlMediaElements:{},registerPluginElement:function(a,b,c){this.pluginMediaElements[a]=b;this.htmlMediaElements[a]=c},unregisterPluginElement:function(a){delete this.pluginMediaElements[a];delete this.htmlMediaElements[a]},initPlugin:function(a){var b=this.pluginMediaElements[a],c=this.htmlMediaElements[a];if(b){switch(b.pluginType){case "flash":b.pluginElement=b.pluginApi=document.getElementById(a);break;case "silverlight":b.pluginElement=document.getElementById(b.id);
|
||||
b.pluginApi=b.pluginElement.Content.MediaElementJS}b.pluginApi!=null&&b.success&&b.success(b,c)}},fireEvent:function(a,b,c){var d,e;if(a=this.pluginMediaElements[a]){b={type:b,target:a};for(d in c){a[d]=c[d];b[d]=c[d]}e=c.bufferedTime||0;b.target.buffered=b.buffered={start:function(){return 0},end:function(){return e},length:1};a.dispatchEvent(b.type,b)}}};
|
||||
mejs.MediaElementDefaults={mode:"auto",plugins:["flash","silverlight","youtube","vimeo"],enablePluginDebug:false,httpsBasicAuthSite:false,type:"",pluginPath:mejs.Utility.getScriptPath(["mediaelement.js","mediaelement.min.js","mediaelement-and-player.js","mediaelement-and-player.min.js"]),flashName:"flashmediaelement.swf",flashStreamer:"",enablePluginSmoothing:false,enablePseudoStreaming:false,pseudoStreamingStartQueryParam:"start",silverlightName:"silverlightmediaelement.xap",defaultVideoWidth:480,
|
||||
defaultVideoHeight:270,pluginWidth:-1,pluginHeight:-1,pluginVars:[],timerRate:250,startVolume:0.8,success:function(){},error:function(){}};mejs.MediaElement=function(a,b){return mejs.HtmlMediaElementShim.create(a,b)};
|
||||
mejs.HtmlMediaElementShim={create:function(a,b){var c=mejs.MediaElementDefaults,d=typeof a=="string"?document.getElementById(a):a,e=d.tagName.toLowerCase(),f=e==="audio"||e==="video",g=f?d.getAttribute("src"):d.getAttribute("href");e=d.getAttribute("poster");var h=d.getAttribute("autoplay"),l=d.getAttribute("preload"),j=d.getAttribute("controls"),k;for(k in b)c[k]=b[k];g=typeof g=="undefined"||g===null||g==""?null:g;e=typeof e=="undefined"||e===null?"":e;l=typeof l=="undefined"||l===null||l==="false"?
|
||||
"none":l;h=!(typeof h=="undefined"||h===null||h==="false");j=!(typeof j=="undefined"||j===null||j==="false");k=this.determinePlayback(d,c,mejs.MediaFeatures.supportsMediaTag,f,g);k.url=k.url!==null?mejs.Utility.absolutizeUrl(k.url):"";if(k.method=="native"){if(mejs.MediaFeatures.isBustedAndroid){d.src=k.url;d.addEventListener("click",function(){d.play()},false)}return this.updateNative(k,c,h,l)}else if(k.method!=="")return this.createPlugin(k,c,e,h,l,j);else{this.createErrorMessage(k,c,e);return this}},
|
||||
determinePlayback:function(a,b,c,d,e){var f=[],g,h,l,j={method:"",url:"",htmlMediaElement:a,isVideo:a.tagName.toLowerCase()!="audio"},k;if(typeof b.type!="undefined"&&b.type!=="")if(typeof b.type=="string")f.push({type:b.type,url:e});else for(g=0;g<b.type.length;g++)f.push({type:b.type[g],url:e});else if(e!==null){l=this.formatType(e,a.getAttribute("type"));f.push({type:l,url:e})}else for(g=0;g<a.childNodes.length;g++){h=a.childNodes[g];if(h.nodeType==1&&h.tagName.toLowerCase()=="source"){e=h.getAttribute("src");
|
||||
l=this.formatType(e,h.getAttribute("type"));h=h.getAttribute("media");if(!h||!window.matchMedia||window.matchMedia&&window.matchMedia(h).matches)f.push({type:l,url:e})}}if(!d&&f.length>0&&f[0].url!==null&&this.getTypeFromFile(f[0].url).indexOf("audio")>-1)j.isVideo=false;if(mejs.MediaFeatures.isBustedAndroid)a.canPlayType=function(m){return m.match(/video\/(mp4|m4v)/gi)!==null?"maybe":""};if(c&&(b.mode==="auto"||b.mode==="auto_plugin"||b.mode==="native")&&!(mejs.MediaFeatures.isBustedNativeHTTPS&&
|
||||
b.httpsBasicAuthSite===true)){if(!d){g=document.createElement(j.isVideo?"video":"audio");a.parentNode.insertBefore(g,a);a.style.display="none";j.htmlMediaElement=a=g}for(g=0;g<f.length;g++)if(a.canPlayType(f[g].type).replace(/no/,"")!==""||a.canPlayType(f[g].type.replace(/mp3/,"mpeg")).replace(/no/,"")!==""){j.method="native";j.url=f[g].url;break}if(j.method==="native"){if(j.url!==null)a.src=j.url;if(b.mode!=="auto_plugin")return j}}if(b.mode==="auto"||b.mode==="auto_plugin"||b.mode==="shim")for(g=
|
||||
0;g<f.length;g++){l=f[g].type;for(a=0;a<b.plugins.length;a++){e=b.plugins[a];h=mejs.plugins[e];for(c=0;c<h.length;c++){k=h[c];if(k.version==null||mejs.PluginDetector.hasPluginVersion(e,k.version))for(d=0;d<k.types.length;d++)if(l==k.types[d]){j.method=e;j.url=f[g].url;return j}}}}if(b.mode==="auto_plugin"&&j.method==="native")return j;if(j.method===""&&f.length>0)j.url=f[0].url;return j},formatType:function(a,b){return a&&!b?this.getTypeFromFile(a):b&&~b.indexOf(";")?b.substr(0,b.indexOf(";")):b},
|
||||
getTypeFromFile:function(a){a=a.split("?")[0];a=a.substring(a.lastIndexOf(".")+1).toLowerCase();return(/(mp4|m4v|ogg|ogv|webm|webmv|flv|wmv|mpeg|mov)/gi.test(a)?"video":"audio")+"/"+this.getTypeFromExtension(a)},getTypeFromExtension:function(a){switch(a){case "mp4":case "m4v":return"mp4";case "webm":case "webma":case "webmv":return"webm";case "ogg":case "oga":case "ogv":return"ogg";default:return a}},createErrorMessage:function(a,b,c){var d=a.htmlMediaElement,e=document.createElement("div");e.className=
|
||||
"me-cannotplay";try{e.style.width=d.width+"px";e.style.height=d.height+"px"}catch(f){}e.innerHTML=b.customError?b.customError:c!==""?'<a href="'+a.url+'"><img src="'+c+'" width="100%" height="100%" /></a>':'<a href="'+a.url+'"><span>'+mejs.i18n.t("Download File")+"</span></a>";d.parentNode.insertBefore(e,d);d.style.display="none";b.error(d)},createPlugin:function(a,b,c,d,e,f){c=a.htmlMediaElement;var g=1,h=1,l="me_"+a.method+"_"+mejs.meIndex++,j=new mejs.PluginMediaElement(l,a.method,a.url),k=document.createElement("div"),
|
||||
m;j.tagName=c.tagName;for(m=0;m<c.attributes.length;m++){var n=c.attributes[m];n.specified==true&&j.setAttribute(n.name,n.value)}for(m=c.parentNode;m!==null&&m.tagName.toLowerCase()!="body";){if(m.parentNode.tagName.toLowerCase()=="p"){m.parentNode.parentNode.insertBefore(m,m.parentNode);break}m=m.parentNode}if(a.isVideo){g=b.pluginWidth>0?b.pluginWidth:b.videoWidth>0?b.videoWidth:c.getAttribute("width")!==null?c.getAttribute("width"):b.defaultVideoWidth;h=b.pluginHeight>0?b.pluginHeight:b.videoHeight>
|
||||
0?b.videoHeight:c.getAttribute("height")!==null?c.getAttribute("height"):b.defaultVideoHeight;g=mejs.Utility.encodeUrl(g);h=mejs.Utility.encodeUrl(h)}else if(b.enablePluginDebug){g=320;h=240}j.success=b.success;mejs.MediaPluginBridge.registerPluginElement(l,j,c);k.className="me-plugin";k.id=l+"_container";a.isVideo?c.parentNode.insertBefore(k,c):document.body.insertBefore(k,document.body.childNodes[0]);d=["id="+l,"isvideo="+(a.isVideo?"true":"false"),"autoplay="+(d?"true":"false"),"preload="+e,"width="+
|
||||
g,"startvolume="+b.startVolume,"timerrate="+b.timerRate,"flashstreamer="+b.flashStreamer,"height="+h,"pseudostreamstart="+b.pseudoStreamingStartQueryParam];if(a.url!==null)a.method=="flash"?d.push("file="+mejs.Utility.encodeUrl(a.url)):d.push("file="+a.url);b.enablePluginDebug&&d.push("debug=true");b.enablePluginSmoothing&&d.push("smoothing=true");b.enablePseudoStreaming&&d.push("pseudostreaming=true");f&&d.push("controls=true");if(b.pluginVars)d=d.concat(b.pluginVars);switch(a.method){case "silverlight":k.innerHTML=
|
||||
'<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" id="'+l+'" name="'+l+'" width="'+g+'" height="'+h+'" class="mejs-shim"><param name="initParams" value="'+d.join(",")+'" /><param name="windowless" value="true" /><param name="background" value="black" /><param name="minRuntimeVersion" value="3.0.0.0" /><param name="autoUpgrade" value="true" /><param name="source" value="'+b.pluginPath+b.silverlightName+'" /></object>';break;case "flash":if(mejs.MediaFeatures.isIE){a=
|
||||
document.createElement("div");k.appendChild(a);a.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+l+'" width="'+g+'" height="'+h+'" class="mejs-shim"><param name="movie" value="'+b.pluginPath+b.flashName+"?x="+new Date+'" /><param name="flashvars" value="'+d.join("&")+'" /><param name="quality" value="high" /><param name="bgcolor" value="#000000" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'}else k.innerHTML=
|
||||
'<embed id="'+l+'" name="'+l+'" play="true" loop="false" quality="high" bgcolor="#000000" wmode="transparent" allowScriptAccess="always" allowFullScreen="true" type="application/x-shockwave-flash" pluginspage="//www.macromedia.com/go/getflashplayer" src="'+b.pluginPath+b.flashName+'" flashvars="'+d.join("&")+'" width="'+g+'" height="'+h+'" class="mejs-shim"></embed>';break;case "youtube":b=a.url.substr(a.url.lastIndexOf("=")+1);youtubeSettings={container:k,containerId:k.id,pluginMediaElement:j,pluginId:l,
|
||||
videoId:b,height:h,width:g};mejs.PluginDetector.hasPluginVersion("flash",[10,0,0])?mejs.YouTubeApi.createFlash(youtubeSettings):mejs.YouTubeApi.enqueueIframe(youtubeSettings);break;case "vimeo":j.vimeoid=a.url.substr(a.url.lastIndexOf("/")+1);k.innerHTML='<iframe src="http://player.vimeo.com/video/'+j.vimeoid+'?portrait=0&byline=0&title=0" width="'+g+'" height="'+h+'" frameborder="0" class="mejs-shim"></iframe>'}c.style.display="none";c.removeAttribute("autoplay");return j},updateNative:function(a,
|
||||
b){var c=a.htmlMediaElement,d;for(d in mejs.HtmlMediaElement)c[d]=mejs.HtmlMediaElement[d];b.success(c,c);return c}};
|
||||
mejs.YouTubeApi={isIframeStarted:false,isIframeLoaded:false,loadIframeApi:function(){if(!this.isIframeStarted){var a=document.createElement("script");a.src="//www.youtube.com/player_api";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b);this.isIframeStarted=true}},iframeQueue:[],enqueueIframe:function(a){if(this.isLoaded)this.createIframe(a);else{this.loadIframeApi();this.iframeQueue.push(a)}},createIframe:function(a){var b=a.pluginMediaElement,c=new YT.Player(a.containerId,
|
||||
{height:a.height,width:a.width,videoId:a.videoId,playerVars:{controls:0},events:{onReady:function(){a.pluginMediaElement.pluginApi=c;mejs.MediaPluginBridge.initPlugin(a.pluginId);setInterval(function(){mejs.YouTubeApi.createEvent(c,b,"timeupdate")},250)},onStateChange:function(d){mejs.YouTubeApi.handleStateChange(d.data,c,b)}}})},createEvent:function(a,b,c){c={type:c,target:b};if(a&&a.getDuration){b.currentTime=c.currentTime=a.getCurrentTime();b.duration=c.duration=a.getDuration();c.paused=b.paused;
|
||||
c.ended=b.ended;c.muted=a.isMuted();c.volume=a.getVolume()/100;c.bytesTotal=a.getVideoBytesTotal();c.bufferedBytes=a.getVideoBytesLoaded();var d=c.bufferedBytes/c.bytesTotal*c.duration;c.target.buffered=c.buffered={start:function(){return 0},end:function(){return d},length:1}}b.dispatchEvent(c.type,c)},iFrameReady:function(){for(this.isIframeLoaded=this.isLoaded=true;this.iframeQueue.length>0;)this.createIframe(this.iframeQueue.pop())},flashPlayers:{},createFlash:function(a){this.flashPlayers[a.pluginId]=
|
||||
a;var b,c="//www.youtube.com/apiplayer?enablejsapi=1&playerapiid="+a.pluginId+"&version=3&autoplay=0&controls=0&modestbranding=1&loop=0";if(mejs.MediaFeatures.isIE){b=document.createElement("div");a.container.appendChild(b);b.outerHTML='<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="//download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab" id="'+a.pluginId+'" width="'+a.width+'" height="'+a.height+'" class="mejs-shim"><param name="movie" value="'+
|
||||
c+'" /><param name="wmode" value="transparent" /><param name="allowScriptAccess" value="always" /><param name="allowFullScreen" value="true" /></object>'}else a.container.innerHTML='<object type="application/x-shockwave-flash" id="'+a.pluginId+'" data="'+c+'" width="'+a.width+'" height="'+a.height+'" style="visibility: visible; " class="mejs-shim"><param name="allowScriptAccess" value="always"><param name="wmode" value="transparent"></object>'},flashReady:function(a){var b=this.flashPlayers[a],c=
|
||||
document.getElementById(a),d=b.pluginMediaElement;d.pluginApi=d.pluginElement=c;mejs.MediaPluginBridge.initPlugin(a);c.cueVideoById(b.videoId);a=b.containerId+"_callback";window[a]=function(e){mejs.YouTubeApi.handleStateChange(e,c,d)};c.addEventListener("onStateChange",a);setInterval(function(){mejs.YouTubeApi.createEvent(c,d,"timeupdate")},250)},handleStateChange:function(a,b,c){switch(a){case -1:c.paused=true;c.ended=true;mejs.YouTubeApi.createEvent(b,c,"loadedmetadata");break;case 0:c.paused=false;
|
||||
c.ended=true;mejs.YouTubeApi.createEvent(b,c,"ended");break;case 1:c.paused=false;c.ended=false;mejs.YouTubeApi.createEvent(b,c,"play");mejs.YouTubeApi.createEvent(b,c,"playing");break;case 2:c.paused=true;c.ended=false;mejs.YouTubeApi.createEvent(b,c,"pause");break;case 3:mejs.YouTubeApi.createEvent(b,c,"progress")}}};function onYouTubePlayerAPIReady(){mejs.YouTubeApi.iFrameReady()}function onYouTubePlayerReady(a){mejs.YouTubeApi.flashReady(a)}window.mejs=mejs;window.MediaElement=mejs.MediaElement;
|
||||
(function(a,b){var c={locale:{language:"",strings:{}},methods:{}};c.locale.getLanguage=function(){return c.locale.language||navigator.language};if(typeof mejsL10n!="undefined")c.locale.language=mejsL10n.language;c.locale.INIT_LANGUAGE=c.locale.getLanguage();c.methods.checkPlain=function(d){var e,f,g={"&":"&",'"':""","<":"<",">":">"};d=String(d);for(e in g)if(g.hasOwnProperty(e)){f=RegExp(e,"g");d=d.replace(f,g[e])}return d};c.methods.formatString=function(d,e){for(var f in e){switch(f.charAt(0)){case "@":e[f]=
|
||||
c.methods.checkPlain(e[f]);break;case "!":break;default:e[f]='<em class="placeholder">'+c.methods.checkPlain(e[f])+"</em>"}d=d.replace(f,e[f])}return d};c.methods.t=function(d,e,f){if(c.locale.strings&&c.locale.strings[f.context]&&c.locale.strings[f.context][d])d=c.locale.strings[f.context][d];if(e)d=c.methods.formatString(d,e);return d};c.t=function(d,e,f){if(typeof d==="string"&&d.length>0){var g=c.locale.getLanguage();f=f||{context:g};return c.methods.t(d,e,f)}else throw{name:"InvalidArgumentException",
|
||||
message:"First argument is either not a string or empty."};};b.i18n=c})(document,mejs);(function(a){if(typeof mejsL10n!="undefined")a[mejsL10n.language]=mejsL10n.strings})(mejs.i18n.locale.strings);(function(a){a.de={Fullscreen:"Vollbild","Go Fullscreen":"Vollbild an","Turn off Fullscreen":"Vollbild aus",Close:"Schlie\u00dfen"}})(mejs.i18n.locale.strings);
|
||||
(function(a){a.zh={Fullscreen:"\u5168\u87a2\u5e55","Go Fullscreen":"\u5168\u5c4f\u6a21\u5f0f","Turn off Fullscreen":"\u9000\u51fa\u5168\u5c4f\u6a21\u5f0f",Close:"\u95dc\u9589"}})(mejs.i18n.locale.strings);
|
||||
|
||||
/*!
|
||||
* MediaElementPlayer
|
||||
* http://mediaelementjs.com/
|
||||
*
|
||||
* Creates a controller bar for HTML5 <video> add <audio> tags
|
||||
* using jQuery and MediaElement.js (HTML5 Flash/Silverlight wrapper)
|
||||
*
|
||||
* Copyright 2010-2013, John Dyer (http://j.hn/)
|
||||
* License: MIT
|
||||
*
|
||||
*/if(typeof jQuery!="undefined")mejs.$=jQuery;else if(typeof ender!="undefined")mejs.$=ender;
|
||||
(function(f){mejs.MepDefaults={poster:"",showPosterWhenEnded:false,defaultVideoWidth:480,defaultVideoHeight:270,videoWidth:-1,videoHeight:-1,defaultAudioWidth:400,defaultAudioHeight:30,defaultSeekBackwardInterval:function(a){return a.duration*0.05},defaultSeekForwardInterval:function(a){return a.duration*0.05},audioWidth:-1,audioHeight:-1,startVolume:0.8,loop:false,autoRewind:true,enableAutosize:true,alwaysShowHours:false,showTimecodeFrameCount:false,framesPerSecond:25,autosizeProgress:true,alwaysShowControls:false,
|
||||
hideVideoControlsOnLoad:false,clickToPlayPause:true,iPadUseNativeControls:false,iPhoneUseNativeControls:false,AndroidUseNativeControls:false,features:["playpause","current","progress","duration","tracks","volume","fullscreen"],isVideo:true,enableKeyboard:true,pauseOtherPlayers:true,keyActions:[{keys:[32,179],action:function(a,b){b.paused||b.ended?b.play():b.pause()}},{keys:[38],action:function(a,b){b.setVolume(Math.min(b.volume+0.1,1))}},{keys:[40],action:function(a,b){b.setVolume(Math.max(b.volume-
|
||||
0.1,0))}},{keys:[37,227],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){if(a.isVideo){a.showControls();a.startControlsTimer()}var c=Math.max(b.currentTime-a.options.defaultSeekBackwardInterval(b),0);b.setCurrentTime(c)}}},{keys:[39,228],action:function(a,b){if(!isNaN(b.duration)&&b.duration>0){if(a.isVideo){a.showControls();a.startControlsTimer()}var c=Math.min(b.currentTime+a.options.defaultSeekForwardInterval(b),b.duration);b.setCurrentTime(c)}}},{keys:[70],action:function(a){if(typeof a.enterFullScreen!=
|
||||
"undefined")a.isFullScreen?a.exitFullScreen():a.enterFullScreen()}}]};mejs.mepIndex=0;mejs.players={};mejs.MediaElementPlayer=function(a,b){if(!(this instanceof mejs.MediaElementPlayer))return new mejs.MediaElementPlayer(a,b);this.$media=this.$node=f(a);this.node=this.media=this.$media[0];if(typeof this.node.player!="undefined")return this.node.player;else this.node.player=this;if(typeof b=="undefined")b=this.$node.data("mejsoptions");this.options=f.extend({},mejs.MepDefaults,b);this.id="mep_"+mejs.mepIndex++;
|
||||
mejs.players[this.id]=this;this.init();return this};mejs.MediaElementPlayer.prototype={hasFocus:false,controlsAreVisible:true,init:function(){var a=this,b=mejs.MediaFeatures,c=f.extend(true,{},a.options,{success:function(d,g){a.meReady(d,g)},error:function(d){a.handleError(d)}}),e=a.media.tagName.toLowerCase();a.isDynamic=e!=="audio"&&e!=="video";a.isVideo=a.isDynamic?a.options.isVideo:e!=="audio"&&a.options.isVideo;if(b.isiPad&&a.options.iPadUseNativeControls||b.isiPhone&&a.options.iPhoneUseNativeControls){a.$media.attr("controls",
|
||||
"controls");if(b.isiPad&&a.media.getAttribute("autoplay")!==null){a.media.load();a.media.play()}}else if(!(b.isAndroid&&a.options.AndroidUseNativeControls)){a.$media.removeAttr("controls");a.container=f('<div id="'+a.id+'" class="mejs-container '+(mejs.MediaFeatures.svg?"svg":"no-svg")+'"><div class="mejs-inner"><div class="mejs-mediaelement"></div><div class="mejs-layers"></div><div class="mejs-controls"></div><div class="mejs-clear"></div></div></div>').addClass(a.$media[0].className).insertBefore(a.$media);
|
||||
a.container.addClass((b.isAndroid?"mejs-android ":"")+(b.isiOS?"mejs-ios ":"")+(b.isiPad?"mejs-ipad ":"")+(b.isiPhone?"mejs-iphone ":"")+(a.isVideo?"mejs-video ":"mejs-audio "));if(b.isiOS){b=a.$media.clone();a.container.find(".mejs-mediaelement").append(b);a.$media.remove();a.$node=a.$media=b;a.node=a.media=b[0]}else a.container.find(".mejs-mediaelement").append(a.$media);a.controls=a.container.find(".mejs-controls");a.layers=a.container.find(".mejs-layers");b=a.isVideo?"video":"audio";e=b.substring(0,
|
||||
1).toUpperCase()+b.substring(1);a.width=a.options[b+"Width"]>0||a.options[b+"Width"].toString().indexOf("%")>-1?a.options[b+"Width"]:a.media.style.width!==""&&a.media.style.width!==null?a.media.style.width:a.media.getAttribute("width")!==null?a.$media.attr("width"):a.options["default"+e+"Width"];a.height=a.options[b+"Height"]>0||a.options[b+"Height"].toString().indexOf("%")>-1?a.options[b+"Height"]:a.media.style.height!==""&&a.media.style.height!==null?a.media.style.height:a.$media[0].getAttribute("height")!==
|
||||
null?a.$media.attr("height"):a.options["default"+e+"Height"];a.setPlayerSize(a.width,a.height);c.pluginWidth=a.width;c.pluginHeight=a.height}mejs.MediaElement(a.$media[0],c);typeof a.container!="undefined"&&a.controlsAreVisible&&a.container.trigger("controlsshown")},showControls:function(a){var b=this;a=typeof a=="undefined"||a;if(!b.controlsAreVisible){if(a){b.controls.css("visibility","visible").stop(true,true).fadeIn(200,function(){b.controlsAreVisible=true;b.container.trigger("controlsshown")});
|
||||
b.container.find(".mejs-control").css("visibility","visible").stop(true,true).fadeIn(200,function(){b.controlsAreVisible=true})}else{b.controls.css("visibility","visible").css("display","block");b.container.find(".mejs-control").css("visibility","visible").css("display","block");b.controlsAreVisible=true;b.container.trigger("controlsshown")}b.setControlsSize()}},hideControls:function(a){var b=this;a=typeof a=="undefined"||a;if(!(!b.controlsAreVisible||b.options.alwaysShowControls))if(a){b.controls.stop(true,
|
||||
true).fadeOut(200,function(){f(this).css("visibility","hidden").css("display","block");b.controlsAreVisible=false;b.container.trigger("controlshidden")});b.container.find(".mejs-control").stop(true,true).fadeOut(200,function(){f(this).css("visibility","hidden").css("display","block")})}else{b.controls.css("visibility","hidden").css("display","block");b.container.find(".mejs-control").css("visibility","hidden").css("display","block");b.controlsAreVisible=false;b.container.trigger("controlshidden")}},
|
||||
controlsTimer:null,startControlsTimer:function(a){var b=this;a=typeof a!="undefined"?a:1500;b.killControlsTimer("start");b.controlsTimer=setTimeout(function(){b.hideControls();b.killControlsTimer("hide")},a)},killControlsTimer:function(){if(this.controlsTimer!==null){clearTimeout(this.controlsTimer);delete this.controlsTimer;this.controlsTimer=null}},controlsEnabled:true,disableControls:function(){this.killControlsTimer();this.hideControls(false);this.controlsEnabled=false},enableControls:function(){this.showControls(false);
|
||||
this.controlsEnabled=true},meReady:function(a,b){var c=this,e=mejs.MediaFeatures,d=b.getAttribute("autoplay");d=!(typeof d=="undefined"||d===null||d==="false");var g;if(!c.created){c.created=true;c.media=a;c.domNode=b;if(!(e.isAndroid&&c.options.AndroidUseNativeControls)&&!(e.isiPad&&c.options.iPadUseNativeControls)&&!(e.isiPhone&&c.options.iPhoneUseNativeControls)){c.buildposter(c,c.controls,c.layers,c.media);c.buildkeyboard(c,c.controls,c.layers,c.media);c.buildoverlays(c,c.controls,c.layers,c.media);
|
||||
c.findTracks();for(g in c.options.features){e=c.options.features[g];if(c["build"+e])try{c["build"+e](c,c.controls,c.layers,c.media)}catch(k){}}c.container.trigger("controlsready");c.setPlayerSize(c.width,c.height);c.setControlsSize();if(c.isVideo){if(mejs.MediaFeatures.hasTouch)c.$media.bind("touchstart",function(){if(c.controlsAreVisible)c.hideControls(false);else c.controlsEnabled&&c.showControls(false)});else{mejs.MediaElementPlayer.prototype.clickToPlayPauseCallback=function(){if(c.options.clickToPlayPause)c.media.paused?
|
||||
c.media.play():c.media.pause()};c.media.addEventListener("click",c.clickToPlayPauseCallback,false);c.container.bind("mouseenter mouseover",function(){if(c.controlsEnabled)if(!c.options.alwaysShowControls){c.killControlsTimer("enter");c.showControls();c.startControlsTimer(2500)}}).bind("mousemove",function(){if(c.controlsEnabled){c.controlsAreVisible||c.showControls();c.options.alwaysShowControls||c.startControlsTimer(2500)}}).bind("mouseleave",function(){c.controlsEnabled&&!c.media.paused&&!c.options.alwaysShowControls&&
|
||||
c.startControlsTimer(1E3)})}c.options.hideVideoControlsOnLoad&&c.hideControls(false);d&&!c.options.alwaysShowControls&&c.hideControls();c.options.enableAutosize&&c.media.addEventListener("loadedmetadata",function(j){if(c.options.videoHeight<=0&&c.domNode.getAttribute("height")===null&&!isNaN(j.target.videoHeight)){c.setPlayerSize(j.target.videoWidth,j.target.videoHeight);c.setControlsSize();c.media.setVideoSize(j.target.videoWidth,j.target.videoHeight)}},false)}a.addEventListener("play",function(){for(var j in mejs.players){var m=
|
||||
mejs.players[j];m.id!=c.id&&c.options.pauseOtherPlayers&&!m.paused&&!m.ended&&m.pause();m.hasFocus=false}c.hasFocus=true},false);c.media.addEventListener("ended",function(){if(c.options.autoRewind)try{c.media.setCurrentTime(0)}catch(j){}c.media.pause();c.setProgressRail&&c.setProgressRail();c.setCurrentRail&&c.setCurrentRail();if(c.options.loop)c.media.play();else!c.options.alwaysShowControls&&c.controlsEnabled&&c.showControls()},false);c.media.addEventListener("loadedmetadata",function(){c.updateDuration&&
|
||||
c.updateDuration();c.updateCurrent&&c.updateCurrent();if(!c.isFullScreen){c.setPlayerSize(c.width,c.height);c.setControlsSize()}},false);setTimeout(function(){c.setPlayerSize(c.width,c.height);c.setControlsSize()},50);c.globalBind("resize",function(){c.isFullScreen||mejs.MediaFeatures.hasTrueNativeFullScreen&&document.webkitIsFullScreen||c.setPlayerSize(c.width,c.height);c.setControlsSize()});c.media.pluginType=="youtube"&&c.container.find(".mejs-overlay-play").hide()}if(d&&a.pluginType=="native"){a.load();
|
||||
a.play()}if(c.options.success)typeof c.options.success=="string"?window[c.options.success](c.media,c.domNode,c):c.options.success(c.media,c.domNode,c)}},handleError:function(a){this.controls.hide();this.options.error&&this.options.error(a)},setPlayerSize:function(a,b){if(typeof a!="undefined")this.width=a;if(typeof b!="undefined")this.height=b;if(this.height.toString().indexOf("%")>0||this.$node.css("max-width")==="100%"||parseInt(this.$node.css("max-width").replace(/px/,""),10)/this.$node.offsetParent().width()===
|
||||
1||this.$node[0].currentStyle&&this.$node[0].currentStyle.maxWidth==="100%"){var c=this.isVideo?this.media.videoWidth&&this.media.videoWidth>0?this.media.videoWidth:this.options.defaultVideoWidth:this.options.defaultAudioWidth,e=this.isVideo?this.media.videoHeight&&this.media.videoHeight>0?this.media.videoHeight:this.options.defaultVideoHeight:this.options.defaultAudioHeight,d=this.container.parent().closest(":visible").width();c=this.isVideo||!this.options.autosizeProgress?parseInt(d*e/c,10):e;if(this.container.parent()[0].tagName.toLowerCase()===
|
||||
"body"){d=f(window).width();c=f(window).height()}if(c!=0&&d!=0){this.container.width(d).height(c);this.$media.add(this.container.find(".mejs-shim")).width("100%").height("100%");this.isVideo&&this.media.setVideoSize&&this.media.setVideoSize(d,c);this.layers.children(".mejs-layer").width("100%").height("100%")}}else{this.container.width(this.width).height(this.height);this.layers.children(".mejs-layer").width(this.width).height(this.height)}d=this.layers.find(".mejs-overlay-play");c=d.find(".mejs-overlay-button");
|
||||
d.height(this.container.height()-this.controls.height());c.css("margin-top","-"+(c.height()/2-this.controls.height()/2).toString()+"px")},setControlsSize:function(){var a=0,b=0,c=this.controls.find(".mejs-time-rail"),e=this.controls.find(".mejs-time-total");this.controls.find(".mejs-time-current");this.controls.find(".mejs-time-loaded");var d=c.siblings();if(this.options&&!this.options.autosizeProgress)b=parseInt(c.css("width"));if(b===0||!b){d.each(function(){var g=f(this);if(g.css("position")!=
|
||||
"absolute"&&g.is(":visible"))a+=f(this).outerWidth(true)});b=this.controls.width()-a-(c.outerWidth(true)-c.width())}c.width(b);e.width(b-(e.outerWidth(true)-e.width()));this.setProgressRail&&this.setProgressRail();this.setCurrentRail&&this.setCurrentRail()},buildposter:function(a,b,c,e){var d=f('<div class="mejs-poster mejs-layer"></div>').appendTo(c);b=a.$media.attr("poster");if(a.options.poster!=="")b=a.options.poster;b!==""&&b!=null?this.setPoster(b):d.hide();e.addEventListener("play",function(){d.hide()},
|
||||
false);a.options.showPosterWhenEnded&&a.options.autoRewind&&e.addEventListener("ended",function(){d.show()},false)},setPoster:function(a){var b=this.container.find(".mejs-poster"),c=b.find("img");if(c.length==0)c=f('<img width="100%" height="100%" />').appendTo(b);c.attr("src",a);b.css({"background-image":"url("+a+")"})},buildoverlays:function(a,b,c,e){var d=this;if(a.isVideo){var g=f('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-loading"><span></span></div></div>').hide().appendTo(c),
|
||||
k=f('<div class="mejs-overlay mejs-layer"><div class="mejs-overlay-error"></div></div>').hide().appendTo(c),j=f('<div class="mejs-overlay mejs-layer mejs-overlay-play"><div class="mejs-overlay-button"></div></div>').appendTo(c).click(function(){if(d.options.clickToPlayPause)e.paused?e.play():e.pause()});e.addEventListener("play",function(){j.hide();g.hide();b.find(".mejs-time-buffering").hide();k.hide()},false);e.addEventListener("playing",function(){j.hide();g.hide();b.find(".mejs-time-buffering").hide();
|
||||
k.hide()},false);e.addEventListener("seeking",function(){g.show();b.find(".mejs-time-buffering").show()},false);e.addEventListener("seeked",function(){g.hide();b.find(".mejs-time-buffering").hide()},false);e.addEventListener("pause",function(){mejs.MediaFeatures.isiPhone||j.show()},false);e.addEventListener("waiting",function(){g.show();b.find(".mejs-time-buffering").show()},false);e.addEventListener("loadeddata",function(){g.show();b.find(".mejs-time-buffering").show()},false);e.addEventListener("canplay",
|
||||
function(){g.hide();b.find(".mejs-time-buffering").hide()},false);e.addEventListener("error",function(){g.hide();b.find(".mejs-time-buffering").hide();k.show();k.find("mejs-overlay-error").html("Error loading this resource")},false)}},buildkeyboard:function(a,b,c,e){this.globalBind("keydown",function(d){if(a.hasFocus&&a.options.enableKeyboard)for(var g=0,k=a.options.keyActions.length;g<k;g++)for(var j=a.options.keyActions[g],m=0,q=j.keys.length;m<q;m++)if(d.keyCode==j.keys[m]){d.preventDefault();
|
||||
j.action(a,e,d.keyCode);return false}return true});this.globalBind("click",function(d){if(f(d.target).closest(".mejs-container").length==0)a.hasFocus=false})},findTracks:function(){var a=this,b=a.$media.find("track");a.tracks=[];b.each(function(c,e){e=f(e);a.tracks.push({srclang:e.attr("srclang")?e.attr("srclang").toLowerCase():"",src:e.attr("src"),kind:e.attr("kind"),label:e.attr("label")||"",entries:[],isLoaded:false})})},changeSkin:function(a){this.container[0].className="mejs-container "+a;this.setPlayerSize(this.width,
|
||||
this.height);this.setControlsSize()},play:function(){this.media.play()},pause:function(){try{this.media.pause()}catch(a){}},load:function(){this.media.load()},setMuted:function(a){this.media.setMuted(a)},setCurrentTime:function(a){this.media.setCurrentTime(a)},getCurrentTime:function(){return this.media.currentTime},setVolume:function(a){this.media.setVolume(a)},getVolume:function(){return this.media.volume},setSrc:function(a){this.media.setSrc(a)},remove:function(){var a,b;for(a in this.options.features){b=
|
||||
this.options.features[a];if(this["clean"+b])try{this["clean"+b](this)}catch(c){}}if(this.isDynamic)this.$node.insertBefore(this.container);else{this.$media.prop("controls",true);this.$node.clone().show().insertBefore(this.container);this.$node.remove()}this.media.pluginType!=="native"&&this.media.remove();delete mejs.players[this.id];this.container.remove();this.globalUnbind();delete this.node.player}};(function(){function a(c,e){var d={d:[],w:[]};f.each((c||"").split(" "),function(g,k){var j=k+"."+
|
||||
e;if(j.indexOf(".")===0){d.d.push(j);d.w.push(j)}else d[b.test(k)?"w":"d"].push(j)});d.d=d.d.join(" ");d.w=d.w.join(" ");return d}var b=/^((after|before)print|(before)?unload|hashchange|message|o(ff|n)line|page(hide|show)|popstate|resize|storage)\b/;mejs.MediaElementPlayer.prototype.globalBind=function(c,e,d){c=a(c,this.id);c.d&&f(document).bind(c.d,e,d);c.w&&f(window).bind(c.w,e,d)};mejs.MediaElementPlayer.prototype.globalUnbind=function(c,e){c=a(c,this.id);c.d&&f(document).unbind(c.d,e);c.w&&f(window).unbind(c.w,
|
||||
e)}})();if(typeof jQuery!="undefined")jQuery.fn.mediaelementplayer=function(a){a===false?this.each(function(){var b=jQuery(this).data("mediaelementplayer");b&&b.remove();jQuery(this).removeData("mediaelementplayer")}):this.each(function(){jQuery(this).data("mediaelementplayer",new mejs.MediaElementPlayer(this,a))});return this};f(document).ready(function(){f(".mejs-player").mediaelementplayer()});window.MediaElementPlayer=mejs.MediaElementPlayer})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{playpauseText:mejs.i18n.t("Play/Pause")});f.extend(MediaElementPlayer.prototype,{buildplaypause:function(a,b,c,e){var d=f('<div class="mejs-button mejs-playpause-button mejs-play" ><button type="button" aria-controls="'+this.id+'" title="'+this.options.playpauseText+'" aria-label="'+this.options.playpauseText+'"></button></div>').appendTo(b).click(function(g){g.preventDefault();e.paused?e.play():e.pause();return false});e.addEventListener("play",function(){d.removeClass("mejs-play").addClass("mejs-pause")},
|
||||
false);e.addEventListener("playing",function(){d.removeClass("mejs-play").addClass("mejs-pause")},false);e.addEventListener("pause",function(){d.removeClass("mejs-pause").addClass("mejs-play")},false);e.addEventListener("paused",function(){d.removeClass("mejs-pause").addClass("mejs-play")},false)}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{stopText:"Stop"});f.extend(MediaElementPlayer.prototype,{buildstop:function(a,b,c,e){f('<div class="mejs-button mejs-stop-button mejs-stop"><button type="button" aria-controls="'+this.id+'" title="'+this.options.stopText+'" aria-label="'+this.options.stopText+'"></button></div>').appendTo(b).click(function(){e.paused||e.pause();if(e.currentTime>0){e.setCurrentTime(0);e.pause();b.find(".mejs-time-current").width("0px");b.find(".mejs-time-handle").css("left",
|
||||
"0px");b.find(".mejs-time-float-current").html(mejs.Utility.secondsToTimeCode(0));b.find(".mejs-currenttime").html(mejs.Utility.secondsToTimeCode(0));c.find(".mejs-poster").show()}})}})})(mejs.$);
|
||||
(function(f){f.extend(MediaElementPlayer.prototype,{buildprogress:function(a,b,c,e){f('<div class="mejs-time-rail"><span class="mejs-time-total"><span class="mejs-time-buffering"></span><span class="mejs-time-loaded"></span><span class="mejs-time-current"></span><span class="mejs-time-handle"></span><span class="mejs-time-float"><span class="mejs-time-float-current">00:00</span><span class="mejs-time-float-corner"></span></span></span></div>').appendTo(b);b.find(".mejs-time-buffering").hide();var d=
|
||||
this,g=b.find(".mejs-time-total");c=b.find(".mejs-time-loaded");var k=b.find(".mejs-time-current"),j=b.find(".mejs-time-handle"),m=b.find(".mejs-time-float"),q=b.find(".mejs-time-float-current"),p=function(h){h=h.pageX;var l=g.offset(),r=g.outerWidth(true),n=0,o=n=0;if(e.duration){if(h<l.left)h=l.left;else if(h>r+l.left)h=r+l.left;o=h-l.left;n=o/r;n=n<=0.02?0:n*e.duration;t&&n!==e.currentTime&&e.setCurrentTime(n);if(!mejs.MediaFeatures.hasTouch){m.css("left",o);q.html(mejs.Utility.secondsToTimeCode(n));
|
||||
m.show()}}},t=false;g.bind("mousedown",function(h){if(h.which===1){t=true;p(h);d.globalBind("mousemove.dur",function(l){p(l)});d.globalBind("mouseup.dur",function(){t=false;m.hide();d.globalUnbind(".dur")});return false}}).bind("mouseenter",function(){d.globalBind("mousemove.dur",function(h){p(h)});mejs.MediaFeatures.hasTouch||m.show()}).bind("mouseleave",function(){if(!t){d.globalUnbind(".dur");m.hide()}});e.addEventListener("progress",function(h){a.setProgressRail(h);a.setCurrentRail(h)},false);
|
||||
e.addEventListener("timeupdate",function(h){a.setProgressRail(h);a.setCurrentRail(h)},false);d.loaded=c;d.total=g;d.current=k;d.handle=j},setProgressRail:function(a){var b=a!=undefined?a.target:this.media,c=null;if(b&&b.buffered&&b.buffered.length>0&&b.buffered.end&&b.duration)c=b.buffered.end(0)/b.duration;else if(b&&b.bytesTotal!=undefined&&b.bytesTotal>0&&b.bufferedBytes!=undefined)c=b.bufferedBytes/b.bytesTotal;else if(a&&a.lengthComputable&&a.total!=0)c=a.loaded/a.total;if(c!==null){c=Math.min(1,
|
||||
Math.max(0,c));this.loaded&&this.total&&this.loaded.width(this.total.width()*c)}},setCurrentRail:function(){if(this.media.currentTime!=undefined&&this.media.duration)if(this.total&&this.handle){var a=Math.round(this.total.width()*this.media.currentTime/this.media.duration),b=a-Math.round(this.handle.outerWidth(true)/2);this.current.width(a);this.handle.css("left",b)}}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{duration:-1,timeAndDurationSeparator:"<span> | </span>"});f.extend(MediaElementPlayer.prototype,{buildcurrent:function(a,b,c,e){f('<div class="mejs-time"><span class="mejs-currenttime">'+(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00")+"</span></div>").appendTo(b);this.currenttime=this.controls.find(".mejs-currenttime");e.addEventListener("timeupdate",function(){a.updateCurrent()},false)},buildduration:function(a,b,
|
||||
c,e){if(b.children().last().find(".mejs-currenttime").length>0)f(this.options.timeAndDurationSeparator+'<span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span>").appendTo(b.find(".mejs-time"));else{b.find(".mejs-currenttime").parent().addClass("mejs-currenttime-container");
|
||||
f('<div class="mejs-time mejs-duration-container"><span class="mejs-duration">'+(this.options.duration>0?mejs.Utility.secondsToTimeCode(this.options.duration,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25):(a.options.alwaysShowHours?"00:":"")+(a.options.showTimecodeFrameCount?"00:00:00":"00:00"))+"</span></div>").appendTo(b)}this.durationD=this.controls.find(".mejs-duration");e.addEventListener("timeupdate",function(){a.updateDuration()},
|
||||
false)},updateCurrent:function(){if(this.currenttime)this.currenttime.html(mejs.Utility.secondsToTimeCode(this.media.currentTime,this.options.alwaysShowHours||this.media.duration>3600,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))},updateDuration:function(){this.container.toggleClass("mejs-long-video",this.media.duration>3600);if(this.durationD&&(this.options.duration>0||this.media.duration))this.durationD.html(mejs.Utility.secondsToTimeCode(this.options.duration>0?this.options.duration:
|
||||
this.media.duration,this.options.alwaysShowHours,this.options.showTimecodeFrameCount,this.options.framesPerSecond||25))}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{muteText:mejs.i18n.t("Mute Toggle"),hideVolumeOnTouchDevices:true,audioVolume:"horizontal",videoVolume:"vertical"});f.extend(MediaElementPlayer.prototype,{buildvolume:function(a,b,c,e){if(!(mejs.MediaFeatures.hasTouch&&this.options.hideVolumeOnTouchDevices)){var d=this,g=d.isVideo?d.options.videoVolume:d.options.audioVolume,k=g=="horizontal"?f('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+d.id+'" title="'+d.options.muteText+
|
||||
'" aria-label="'+d.options.muteText+'"></button></div><div class="mejs-horizontal-volume-slider"><div class="mejs-horizontal-volume-total"></div><div class="mejs-horizontal-volume-current"></div><div class="mejs-horizontal-volume-handle"></div></div>').appendTo(b):f('<div class="mejs-button mejs-volume-button mejs-mute"><button type="button" aria-controls="'+d.id+'" title="'+d.options.muteText+'" aria-label="'+d.options.muteText+'"></button><div class="mejs-volume-slider"><div class="mejs-volume-total"></div><div class="mejs-volume-current"></div><div class="mejs-volume-handle"></div></div></div>').appendTo(b),
|
||||
j=d.container.find(".mejs-volume-slider, .mejs-horizontal-volume-slider"),m=d.container.find(".mejs-volume-total, .mejs-horizontal-volume-total"),q=d.container.find(".mejs-volume-current, .mejs-horizontal-volume-current"),p=d.container.find(".mejs-volume-handle, .mejs-horizontal-volume-handle"),t=function(n,o){if(!j.is(":visible")&&typeof o=="undefined"){j.show();t(n,true);j.hide()}else{n=Math.max(0,n);n=Math.min(n,1);n==0?k.removeClass("mejs-mute").addClass("mejs-unmute"):k.removeClass("mejs-unmute").addClass("mejs-mute");
|
||||
if(g=="vertical"){var s=m.height(),u=m.position(),v=s-s*n;p.css("top",Math.round(u.top+v-p.height()/2));q.height(s-v);q.css("top",u.top+v)}else{s=m.width();u=m.position();s=s*n;p.css("left",Math.round(u.left+s-p.width()/2));q.width(Math.round(s))}}},h=function(n){var o=null,s=m.offset();if(g=="vertical"){o=m.height();parseInt(m.css("top").replace(/px/,""),10);o=(o-(n.pageY-s.top))/o;if(s.top==0||s.left==0)return}else{o=m.width();o=(n.pageX-s.left)/o}o=Math.max(0,o);o=Math.min(o,1);t(o);o==0?e.setMuted(true):
|
||||
e.setMuted(false);e.setVolume(o)},l=false,r=false;k.hover(function(){j.show();r=true},function(){r=false;!l&&g=="vertical"&&j.hide()});j.bind("mouseover",function(){r=true}).bind("mousedown",function(n){h(n);d.globalBind("mousemove.vol",function(o){h(o)});d.globalBind("mouseup.vol",function(){l=false;d.globalUnbind(".vol");!r&&g=="vertical"&&j.hide()});l=true;return false});k.find("button").click(function(){e.setMuted(!e.muted)});e.addEventListener("volumechange",function(){if(!l)if(e.muted){t(0);
|
||||
k.removeClass("mejs-mute").addClass("mejs-unmute")}else{t(e.volume);k.removeClass("mejs-unmute").addClass("mejs-mute")}},false);if(d.container.is(":visible")){t(a.options.startVolume);a.options.startVolume===0&&e.setMuted(true);e.pluginType==="native"&&e.setVolume(a.options.startVolume)}}}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{usePluginFullScreen:true,newWindowCallback:function(){return""},fullscreenText:mejs.i18n.t("Fullscreen")});f.extend(MediaElementPlayer.prototype,{isFullScreen:false,isNativeFullScreen:false,isInIframe:false,buildfullscreen:function(a,b,c,e){if(a.isVideo){a.isInIframe=window.location!=window.parent.location;if(mejs.MediaFeatures.hasTrueNativeFullScreen){c=function(){if(a.isFullScreen)if(mejs.MediaFeatures.isFullScreen()){a.isNativeFullScreen=true;a.setControlsSize()}else{a.isNativeFullScreen=
|
||||
false;a.exitFullScreen()}};mejs.MediaFeatures.hasMozNativeFullScreen?a.globalBind(mejs.MediaFeatures.fullScreenEventName,c):a.container.bind(mejs.MediaFeatures.fullScreenEventName,c)}var d=this,g=f('<div class="mejs-button mejs-fullscreen-button"><button type="button" aria-controls="'+d.id+'" title="'+d.options.fullscreenText+'" aria-label="'+d.options.fullscreenText+'"></button></div>').appendTo(b);if(d.media.pluginType==="native"||!d.options.usePluginFullScreen&&!mejs.MediaFeatures.isFirefox)g.click(function(){mejs.MediaFeatures.hasTrueNativeFullScreen&&
|
||||
mejs.MediaFeatures.isFullScreen()||a.isFullScreen?a.exitFullScreen():a.enterFullScreen()});else{var k=null;if(function(){var h=document.createElement("x"),l=document.documentElement,r=window.getComputedStyle;if(!("pointerEvents"in h.style))return false;h.style.pointerEvents="auto";h.style.pointerEvents="x";l.appendChild(h);r=r&&r(h,"").pointerEvents==="auto";l.removeChild(h);return!!r}()&&!mejs.MediaFeatures.isOpera){var j=false,m=function(){if(j){for(var h in q)q[h].hide();g.css("pointer-events",
|
||||
"");d.controls.css("pointer-events","");d.media.removeEventListener("click",d.clickToPlayPauseCallback);j=false}},q={};b=["top","left","right","bottom"];var p,t=function(){var h=g.offset().left-d.container.offset().left,l=g.offset().top-d.container.offset().top,r=g.outerWidth(true),n=g.outerHeight(true),o=d.container.width(),s=d.container.height();for(p in q)q[p].css({position:"absolute",top:0,left:0});q.top.width(o).height(l);q.left.width(h).height(n).css({top:l});q.right.width(o-h-r).height(n).css({top:l,
|
||||
left:h+r});q.bottom.width(o).height(s-n-l).css({top:l+n})};d.globalBind("resize",function(){t()});p=0;for(c=b.length;p<c;p++)q[b[p]]=f('<div class="mejs-fullscreen-hover" />').appendTo(d.container).mouseover(m).hide();g.on("mouseover",function(){if(!d.isFullScreen){var h=g.offset(),l=a.container.offset();e.positionFullscreenButton(h.left-l.left,h.top-l.top,false);g.css("pointer-events","none");d.controls.css("pointer-events","none");d.media.addEventListener("click",d.clickToPlayPauseCallback);for(p in q)q[p].show();
|
||||
t();j=true}});e.addEventListener("fullscreenchange",function(){d.isFullScreen=!d.isFullScreen;d.isFullScreen?d.media.removeEventListener("click",d.clickToPlayPauseCallback):d.media.addEventListener("click",d.clickToPlayPauseCallback);m()});d.globalBind("mousemove",function(h){if(j){var l=g.offset();if(h.pageY<l.top||h.pageY>l.top+g.outerHeight(true)||h.pageX<l.left||h.pageX>l.left+g.outerWidth(true)){g.css("pointer-events","");d.controls.css("pointer-events","");j=false}}})}else g.on("mouseover",
|
||||
function(){if(k!==null){clearTimeout(k);delete k}var h=g.offset(),l=a.container.offset();e.positionFullscreenButton(h.left-l.left,h.top-l.top,true)}).on("mouseout",function(){if(k!==null){clearTimeout(k);delete k}k=setTimeout(function(){e.hideFullscreenButton()},1500)})}a.fullscreenBtn=g;d.globalBind("keydown",function(h){if((mejs.MediaFeatures.hasTrueNativeFullScreen&&mejs.MediaFeatures.isFullScreen()||d.isFullScreen)&&h.keyCode==27)a.exitFullScreen()})}},cleanfullscreen:function(a){a.exitFullScreen()},
|
||||
containerSizeTimeout:null,enterFullScreen:function(){var a=this;if(!(a.media.pluginType!=="native"&&(mejs.MediaFeatures.isFirefox||a.options.usePluginFullScreen))){f(document.documentElement).addClass("mejs-fullscreen");normalHeight=a.container.height();normalWidth=a.container.width();if(a.media.pluginType==="native")if(mejs.MediaFeatures.hasTrueNativeFullScreen){mejs.MediaFeatures.requestFullScreen(a.container[0]);a.isInIframe&&setTimeout(function c(){if(a.isNativeFullScreen)f(window).width()!==
|
||||
screen.width?a.exitFullScreen():setTimeout(c,500)},500)}else if(mejs.MediaFeatures.hasSemiNativeFullScreen){a.media.webkitEnterFullscreen();return}if(a.isInIframe){var b=a.options.newWindowCallback(this);if(b!=="")if(mejs.MediaFeatures.hasTrueNativeFullScreen)setTimeout(function(){if(!a.isNativeFullScreen){a.pause();window.open(b,a.id,"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no")}},250);else{a.pause();window.open(b,a.id,
|
||||
"top=0,left=0,width="+screen.availWidth+",height="+screen.availHeight+",resizable=yes,scrollbars=no,status=no,toolbar=no");return}}a.container.addClass("mejs-container-fullscreen").width("100%").height("100%");a.containerSizeTimeout=setTimeout(function(){a.container.css({width:"100%",height:"100%"});a.setControlsSize()},500);if(a.media.pluginType==="native")a.$media.width("100%").height("100%");else{a.container.find(".mejs-shim").width("100%").height("100%");a.media.setVideoSize(f(window).width(),
|
||||
f(window).height())}a.layers.children("div").width("100%").height("100%");a.fullscreenBtn&&a.fullscreenBtn.removeClass("mejs-fullscreen").addClass("mejs-unfullscreen");a.setControlsSize();a.isFullScreen=true}},exitFullScreen:function(){clearTimeout(this.containerSizeTimeout);if(this.media.pluginType!=="native"&&mejs.MediaFeatures.isFirefox)this.media.setFullscreen(false);else{if(mejs.MediaFeatures.hasTrueNativeFullScreen&&(mejs.MediaFeatures.isFullScreen()||this.isFullScreen))mejs.MediaFeatures.cancelFullScreen();
|
||||
f(document.documentElement).removeClass("mejs-fullscreen");this.container.removeClass("mejs-container-fullscreen").width(normalWidth).height(normalHeight);if(this.media.pluginType==="native")this.$media.width(normalWidth).height(normalHeight);else{this.container.find(".mejs-shim").width(normalWidth).height(normalHeight);this.media.setVideoSize(normalWidth,normalHeight)}this.layers.children("div").width(normalWidth).height(normalHeight);this.fullscreenBtn.removeClass("mejs-unfullscreen").addClass("mejs-fullscreen");
|
||||
this.setControlsSize();this.isFullScreen=false}}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{startLanguage:"",tracksText:mejs.i18n.t("Captions/Subtitles"),hideCaptionsButtonWhenEmpty:true,toggleCaptionsButtonWhenOnlyOne:false,slidesSelector:""});f.extend(MediaElementPlayer.prototype,{hasChapters:false,buildtracks:function(a,b,c,e){if(a.tracks.length!=0){var d;if(this.domNode.textTracks)for(d=this.domNode.textTracks.length-1;d>=0;d--)this.domNode.textTracks[d].mode="hidden";a.chapters=f('<div class="mejs-chapters mejs-layer"></div>').prependTo(c).hide();a.captions=
|
||||
f('<div class="mejs-captions-layer mejs-layer"><div class="mejs-captions-position mejs-captions-position-hover"><span class="mejs-captions-text"></span></div></div>').prependTo(c).hide();a.captionsText=a.captions.find(".mejs-captions-text");a.captionsButton=f('<div class="mejs-button mejs-captions-button"><button type="button" aria-controls="'+this.id+'" title="'+this.options.tracksText+'" aria-label="'+this.options.tracksText+'"></button><div class="mejs-captions-selector"><ul><li><input type="radio" name="'+
|
||||
a.id+'_captions" id="'+a.id+'_captions_none" value="none" checked="checked" /><label for="'+a.id+'_captions_none">'+mejs.i18n.t("None")+"</label></li></ul></div></div>").appendTo(b);for(d=b=0;d<a.tracks.length;d++)a.tracks[d].kind=="subtitles"&&b++;this.options.toggleCaptionsButtonWhenOnlyOne&&b==1?a.captionsButton.on("click",function(){a.setTrack(a.selectedTrack==null?a.tracks[0].srclang:"none")}):a.captionsButton.hover(function(){f(this).find(".mejs-captions-selector").css("visibility","visible")},
|
||||
function(){f(this).find(".mejs-captions-selector").css("visibility","hidden")}).on("click","input[type=radio]",function(){lang=this.value;a.setTrack(lang)});a.options.alwaysShowControls?a.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover"):a.container.bind("controlsshown",function(){a.container.find(".mejs-captions-position").addClass("mejs-captions-position-hover")}).bind("controlshidden",function(){e.paused||a.container.find(".mejs-captions-position").removeClass("mejs-captions-position-hover")});
|
||||
a.trackToLoad=-1;a.selectedTrack=null;a.isLoadingTrack=false;for(d=0;d<a.tracks.length;d++)a.tracks[d].kind=="subtitles"&&a.addTrackButton(a.tracks[d].srclang,a.tracks[d].label);a.loadNextTrack();e.addEventListener("timeupdate",function(){a.displayCaptions()},false);if(a.options.slidesSelector!=""){a.slidesContainer=f(a.options.slidesSelector);e.addEventListener("timeupdate",function(){a.displaySlides()},false)}e.addEventListener("loadedmetadata",function(){a.displayChapters()},false);a.container.hover(function(){if(a.hasChapters){a.chapters.css("visibility",
|
||||
"visible");a.chapters.fadeIn(200).height(a.chapters.find(".mejs-chapter").outerHeight())}},function(){a.hasChapters&&!e.paused&&a.chapters.fadeOut(200,function(){f(this).css("visibility","hidden");f(this).css("display","block")})});a.node.getAttribute("autoplay")!==null&&a.chapters.css("visibility","hidden")}},setTrack:function(a){var b;if(a=="none"){this.selectedTrack=null;this.captionsButton.removeClass("mejs-captions-enabled")}else for(b=0;b<this.tracks.length;b++)if(this.tracks[b].srclang==a){this.selectedTrack==
|
||||
null&&this.captionsButton.addClass("mejs-captions-enabled");this.selectedTrack=this.tracks[b];this.captions.attr("lang",this.selectedTrack.srclang);this.displayCaptions();break}},loadNextTrack:function(){this.trackToLoad++;if(this.trackToLoad<this.tracks.length){this.isLoadingTrack=true;this.loadTrack(this.trackToLoad)}else{this.isLoadingTrack=false;this.checkForTracks()}},loadTrack:function(a){var b=this,c=b.tracks[a];f.ajax({url:c.src,dataType:"text",success:function(e){c.entries=typeof e=="string"&&
|
||||
/<tt\s+xml/ig.exec(e)?mejs.TrackFormatParser.dfxp.parse(e):mejs.TrackFormatParser.webvvt.parse(e);c.isLoaded=true;b.enableTrackButton(c.srclang,c.label);b.loadNextTrack();c.kind=="chapters"&&b.media.addEventListener("play",function(){b.media.duration>0&&b.displayChapters(c)},false);c.kind=="slides"&&b.setupSlides(c)},error:function(){b.loadNextTrack()}})},enableTrackButton:function(a,b){if(b==="")b=mejs.language.codes[a]||a;this.captionsButton.find("input[value="+a+"]").prop("disabled",false).siblings("label").html(b);
|
||||
this.options.startLanguage==a&&f("#"+this.id+"_captions_"+a).click();this.adjustLanguageBox()},addTrackButton:function(a,b){if(b==="")b=mejs.language.codes[a]||a;this.captionsButton.find("ul").append(f('<li><input type="radio" name="'+this.id+'_captions" id="'+this.id+"_captions_"+a+'" value="'+a+'" disabled="disabled" /><label for="'+this.id+"_captions_"+a+'">'+b+" (loading)</label></li>"));this.adjustLanguageBox();this.container.find(".mejs-captions-translations option[value="+a+"]").remove()},
|
||||
adjustLanguageBox:function(){this.captionsButton.find(".mejs-captions-selector").height(this.captionsButton.find(".mejs-captions-selector ul").outerHeight(true)+this.captionsButton.find(".mejs-captions-translations").outerHeight(true))},checkForTracks:function(){var a=false;if(this.options.hideCaptionsButtonWhenEmpty){for(i=0;i<this.tracks.length;i++)if(this.tracks[i].kind=="subtitles"){a=true;break}if(!a){this.captionsButton.hide();this.setControlsSize()}}},displayCaptions:function(){if(typeof this.tracks!=
|
||||
"undefined"){var a,b=this.selectedTrack;if(b!=null&&b.isLoaded)for(a=0;a<b.entries.times.length;a++)if(this.media.currentTime>=b.entries.times[a].start&&this.media.currentTime<=b.entries.times[a].stop){this.captionsText.html(b.entries.text[a]);this.captions.show().height(0);return}this.captions.hide()}},setupSlides:function(a){this.slides=a;this.slides.entries.imgs=[this.slides.entries.text.length];this.showSlide(0)},showSlide:function(a){if(!(typeof this.tracks=="undefined"||typeof this.slidesContainer==
|
||||
"undefined")){var b=this,c=b.slides.entries.text[a],e=b.slides.entries.imgs[a];if(typeof e=="undefined"||typeof e.fadeIn=="undefined")b.slides.entries.imgs[a]=e=f('<img src="'+c+'">').on("load",function(){e.appendTo(b.slidesContainer).hide().fadeIn().siblings(":visible").fadeOut()});else!e.is(":visible")&&!e.is(":animated")&&e.fadeIn().siblings(":visible").fadeOut()}},displaySlides:function(){if(typeof this.slides!="undefined"){var a=this.slides,b;for(b=0;b<a.entries.times.length;b++)if(this.media.currentTime>=
|
||||
a.entries.times[b].start&&this.media.currentTime<=a.entries.times[b].stop){this.showSlide(b);break}}},displayChapters:function(){var a;for(a=0;a<this.tracks.length;a++)if(this.tracks[a].kind=="chapters"&&this.tracks[a].isLoaded){this.drawChapters(this.tracks[a]);this.hasChapters=true;break}},drawChapters:function(a){var b=this,c,e,d=e=0;b.chapters.empty();for(c=0;c<a.entries.times.length;c++){e=a.entries.times[c].stop-a.entries.times[c].start;e=Math.floor(e/b.media.duration*100);if(e+d>100||c==a.entries.times.length-
|
||||
1&&e+d<100)e=100-d;b.chapters.append(f('<div class="mejs-chapter" rel="'+a.entries.times[c].start+'" style="left: '+d.toString()+"%;width: "+e.toString()+'%;"><div class="mejs-chapter-block'+(c==a.entries.times.length-1?" mejs-chapter-block-last":"")+'"><span class="ch-title">'+a.entries.text[c]+'</span><span class="ch-time">'+mejs.Utility.secondsToTimeCode(a.entries.times[c].start)+"–"+mejs.Utility.secondsToTimeCode(a.entries.times[c].stop)+"</span></div></div>"));d+=e}b.chapters.find("div.mejs-chapter").click(function(){b.media.setCurrentTime(parseFloat(f(this).attr("rel")));
|
||||
b.media.paused&&b.media.play()});b.chapters.show()}});mejs.language={codes:{af:"Afrikaans",sq:"Albanian",ar:"Arabic",be:"Belarusian",bg:"Bulgarian",ca:"Catalan",zh:"Chinese","zh-cn":"Chinese Simplified","zh-tw":"Chinese Traditional",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch",en:"English",et:"Estonian",tl:"Filipino",fi:"Finnish",fr:"French",gl:"Galician",de:"German",el:"Greek",ht:"Haitian Creole",iw:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",ga:"Irish",it:"Italian",ja:"Japanese",
|
||||
ko:"Korean",lv:"Latvian",lt:"Lithuanian",mk:"Macedonian",ms:"Malay",mt:"Maltese",no:"Norwegian",fa:"Persian",pl:"Polish",pt:"Portuguese",ro:"Romanian",ru:"Russian",sr:"Serbian",sk:"Slovak",sl:"Slovenian",es:"Spanish",sw:"Swahili",sv:"Swedish",tl:"Tagalog",th:"Thai",tr:"Turkish",uk:"Ukrainian",vi:"Vietnamese",cy:"Welsh",yi:"Yiddish"}};mejs.TrackFormatParser={webvvt:{pattern_identifier:/^([a-zA-z]+-)?[0-9]+$/,pattern_timecode:/^([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{1,3})?) --\> ([0-9]{2}:[0-9]{2}:[0-9]{2}([,.][0-9]{3})?)(.*)$/,
|
||||
parse:function(a){var b=0;a=mejs.TrackFormatParser.split2(a,/\r?\n/);for(var c={text:[],times:[]},e,d;b<a.length;b++)if(this.pattern_identifier.exec(a[b])){b++;if((e=this.pattern_timecode.exec(a[b]))&&b<a.length){b++;d=a[b];for(b++;a[b]!==""&&b<a.length;){d=d+"\n"+a[b];b++}d=f.trim(d).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,"<a href='$1' target='_blank'>$1</a>");c.text.push(d);c.times.push({start:mejs.Utility.convertSMPTEtoSeconds(e[1])==0?0.2:mejs.Utility.convertSMPTEtoSeconds(e[1]),
|
||||
stop:mejs.Utility.convertSMPTEtoSeconds(e[3]),settings:e[5]})}}return c}},dfxp:{parse:function(a){a=f(a).filter("tt");var b=0;b=a.children("div").eq(0);var c=b.find("p");b=a.find("#"+b.attr("style"));var e,d;a={text:[],times:[]};if(b.length){d=b.removeAttr("id").get(0).attributes;if(d.length){e={};for(b=0;b<d.length;b++)e[d[b].name.split(":")[1]]=d[b].value}}for(b=0;b<c.length;b++){var g;d={start:null,stop:null,style:null};if(c.eq(b).attr("begin"))d.start=mejs.Utility.convertSMPTEtoSeconds(c.eq(b).attr("begin"));
|
||||
if(!d.start&&c.eq(b-1).attr("end"))d.start=mejs.Utility.convertSMPTEtoSeconds(c.eq(b-1).attr("end"));if(c.eq(b).attr("end"))d.stop=mejs.Utility.convertSMPTEtoSeconds(c.eq(b).attr("end"));if(!d.stop&&c.eq(b+1).attr("begin"))d.stop=mejs.Utility.convertSMPTEtoSeconds(c.eq(b+1).attr("begin"));if(e){g="";for(var k in e)g+=k+":"+e[k]+";"}if(g)d.style=g;if(d.start==0)d.start=0.2;a.times.push(d);d=f.trim(c.eq(b).html()).replace(/(\b(https?|ftp|file):\/\/[-A-Z0-9+&@#\/%?=~_|!:,.;]*[-A-Z0-9+&@#\/%=~_|])/ig,
|
||||
"<a href='$1' target='_blank'>$1</a>");a.text.push(d);if(a.times.start==0)a.times.start=2}return a}},split2:function(a,b){return a.split(b)}};if("x\n\ny".split(/\n/gi).length!=3)mejs.TrackFormatParser.split2=function(a,b){var c=[],e="",d;for(d=0;d<a.length;d++){e+=a.substring(d,d+1);if(b.test(e)){c.push(e.replace(b,""));e=""}}c.push(e);return c}})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{contextMenuItems:[{render:function(a){if(typeof a.enterFullScreen=="undefined")return null;return a.isFullScreen?mejs.i18n.t("Turn off Fullscreen"):mejs.i18n.t("Go Fullscreen")},click:function(a){a.isFullScreen?a.exitFullScreen():a.enterFullScreen()}},{render:function(a){return a.media.muted?mejs.i18n.t("Unmute"):mejs.i18n.t("Mute")},click:function(a){a.media.muted?a.setMuted(false):a.setMuted(true)}},{isSeparator:true},{render:function(){return mejs.i18n.t("Download Video")},
|
||||
click:function(a){window.location.href=a.media.currentSrc}}]});f.extend(MediaElementPlayer.prototype,{buildcontextmenu:function(a){a.contextMenu=f('<div class="mejs-contextmenu"></div>').appendTo(f("body")).hide();a.container.bind("contextmenu",function(b){if(a.isContextMenuEnabled){b.preventDefault();a.renderContextMenu(b.clientX-1,b.clientY-1);return false}});a.container.bind("click",function(){a.contextMenu.hide()});a.contextMenu.bind("mouseleave",function(){a.startContextMenuTimer()})},cleancontextmenu:function(a){a.contextMenu.remove()},
|
||||
isContextMenuEnabled:true,enableContextMenu:function(){this.isContextMenuEnabled=true},disableContextMenu:function(){this.isContextMenuEnabled=false},contextMenuTimeout:null,startContextMenuTimer:function(){var a=this;a.killContextMenuTimer();a.contextMenuTimer=setTimeout(function(){a.hideContextMenu();a.killContextMenuTimer()},750)},killContextMenuTimer:function(){var a=this.contextMenuTimer;if(a!=null){clearTimeout(a);delete a}},hideContextMenu:function(){this.contextMenu.hide()},renderContextMenu:function(a,
|
||||
b){for(var c=this,e="",d=c.options.contextMenuItems,g=0,k=d.length;g<k;g++)if(d[g].isSeparator)e+='<div class="mejs-contextmenu-separator"></div>';else{var j=d[g].render(c);if(j!=null)e+='<div class="mejs-contextmenu-item" data-itemindex="'+g+'" id="element-'+Math.random()*1E6+'">'+j+"</div>"}c.contextMenu.empty().append(f(e)).css({top:b,left:a}).show();c.contextMenu.find(".mejs-contextmenu-item").each(function(){var m=f(this),q=parseInt(m.data("itemindex"),10),p=c.options.contextMenuItems[q];typeof p.show!=
|
||||
"undefined"&&p.show(m,c);m.click(function(){typeof p.click!="undefined"&&p.click(c);c.contextMenu.hide()})});setTimeout(function(){c.killControlsTimer("rev3")},100)}})})(mejs.$);
|
||||
(function(f){f.extend(mejs.MepDefaults,{postrollCloseText:mejs.i18n.t("Close")});f.extend(MediaElementPlayer.prototype,{buildpostroll:function(a,b,c){var e=this.container.find('link[rel="postroll"]').attr("href");if(typeof e!=="undefined"){a.postroll=f('<div class="mejs-postroll-layer mejs-layer"><a class="mejs-postroll-close" onclick="$(this).parent().hide();return false;">'+this.options.postrollCloseText+'</a><div class="mejs-postroll-layer-content"></div></div>').prependTo(c).hide();this.media.addEventListener("ended",
|
||||
function(){f.ajax({dataType:"html",url:e,success:function(d){c.find(".mejs-postroll-layer-content").html(d)}});a.postroll.show()},false)}}})})(mejs.$);
|
||||
|
||||
/*! Magnific Popup - v0.9.9 - 2013-12-27
|
||||
* http://dimsemenov.com/plugins/magnific-popup/
|
||||
* Copyright (c) 2013 Dmitry Semenov; */
|
||||
(function(e){var t,n,i,o,r,a,s,l="Close",c="BeforeClose",d="AfterClose",u="BeforeAppend",p="MarkupParse",f="Open",m="Change",g="mfp",h="."+g,v="mfp-ready",C="mfp-removing",y="mfp-prevent-close",w=function(){},b=!!window.jQuery,I=e(window),x=function(e,n){t.ev.on(g+e+h,n)},k=function(t,n,i,o){var r=document.createElement("div");return r.className="mfp-"+t,i&&(r.innerHTML=i),o?n&&n.appendChild(r):(r=e(r),n&&r.appendTo(n)),r},T=function(n,i){t.ev.triggerHandler(g+n,i),t.st.callbacks&&(n=n.charAt(0).toLowerCase()+n.slice(1),t.st.callbacks[n]&&t.st.callbacks[n].apply(t,e.isArray(i)?i:[i]))},E=function(n){return n===s&&t.currTemplate.closeBtn||(t.currTemplate.closeBtn=e(t.st.closeMarkup.replace("%title%",t.st.tClose)),s=n),t.currTemplate.closeBtn},_=function(){e.magnificPopup.instance||(t=new w,t.init(),e.magnificPopup.instance=t)},S=function(){var e=document.createElement("p").style,t=["ms","O","Moz","Webkit"];if(void 0!==e.transition)return!0;for(;t.length;)if(t.pop()+"Transition"in e)return!0;return!1};w.prototype={constructor:w,init:function(){var n=navigator.appVersion;t.isIE7=-1!==n.indexOf("MSIE 7."),t.isIE8=-1!==n.indexOf("MSIE 8."),t.isLowIE=t.isIE7||t.isIE8,t.isAndroid=/android/gi.test(n),t.isIOS=/iphone|ipad|ipod/gi.test(n),t.supportsTransition=S(),t.probablyMobile=t.isAndroid||t.isIOS||/(Opera Mini)|Kindle|webOS|BlackBerry|(Opera Mobi)|(Windows Phone)|IEMobile/i.test(navigator.userAgent),o=e(document),t.popupsCache={}},open:function(n){i||(i=e(document.body));var r;if(n.isObj===!1){t.items=n.items.toArray(),t.index=0;var s,l=n.items;for(r=0;l.length>r;r++)if(s=l[r],s.parsed&&(s=s.el[0]),s===n.el[0]){t.index=r;break}}else t.items=e.isArray(n.items)?n.items:[n.items],t.index=n.index||0;if(t.isOpen)return t.updateItemHTML(),void 0;t.types=[],a="",t.ev=n.mainEl&&n.mainEl.length?n.mainEl.eq(0):o,n.key?(t.popupsCache[n.key]||(t.popupsCache[n.key]={}),t.currTemplate=t.popupsCache[n.key]):t.currTemplate={},t.st=e.extend(!0,{},e.magnificPopup.defaults,n),t.fixedContentPos="auto"===t.st.fixedContentPos?!t.probablyMobile:t.st.fixedContentPos,t.st.modal&&(t.st.closeOnContentClick=!1,t.st.closeOnBgClick=!1,t.st.showCloseBtn=!1,t.st.enableEscapeKey=!1),t.bgOverlay||(t.bgOverlay=k("bg").on("click"+h,function(){t.close()}),t.wrap=k("wrap").attr("tabindex",-1).on("click"+h,function(e){t._checkIfClose(e.target)&&t.close()}),t.container=k("container",t.wrap)),t.contentContainer=k("content"),t.st.preloader&&(t.preloader=k("preloader",t.container,t.st.tLoading));var c=e.magnificPopup.modules;for(r=0;c.length>r;r++){var d=c[r];d=d.charAt(0).toUpperCase()+d.slice(1),t["init"+d].call(t)}T("BeforeOpen"),t.st.showCloseBtn&&(t.st.closeBtnInside?(x(p,function(e,t,n,i){n.close_replaceWith=E(i.type)}),a+=" mfp-close-btn-in"):t.wrap.append(E())),t.st.alignTop&&(a+=" mfp-align-top"),t.fixedContentPos?t.wrap.css({overflow:t.st.overflowY,overflowX:"hidden",overflowY:t.st.overflowY}):t.wrap.css({top:I.scrollTop(),position:"absolute"}),(t.st.fixedBgPos===!1||"auto"===t.st.fixedBgPos&&!t.fixedContentPos)&&t.bgOverlay.css({height:o.height(),position:"absolute"}),t.st.enableEscapeKey&&o.on("keyup"+h,function(e){27===e.keyCode&&t.close()}),I.on("resize"+h,function(){t.updateSize()}),t.st.closeOnContentClick||(a+=" mfp-auto-cursor"),a&&t.wrap.addClass(a);var u=t.wH=I.height(),m={};if(t.fixedContentPos&&t._hasScrollBar(u)){var g=t._getScrollbarSize();g&&(m.marginRight=g)}t.fixedContentPos&&(t.isIE7?e("body, html").css("overflow","hidden"):m.overflow="hidden");var C=t.st.mainClass;return t.isIE7&&(C+=" mfp-ie7"),C&&t._addClassToMFP(C),t.updateItemHTML(),T("BuildControls"),e("html").css(m),t.bgOverlay.add(t.wrap).prependTo(t.st.prependTo||i),t._lastFocusedEl=document.activeElement,setTimeout(function(){t.content?(t._addClassToMFP(v),t._setFocus()):t.bgOverlay.addClass(v),o.on("focusin"+h,t._onFocusIn)},16),t.isOpen=!0,t.updateSize(u),T(f),n},close:function(){t.isOpen&&(T(c),t.isOpen=!1,t.st.removalDelay&&!t.isLowIE&&t.supportsTransition?(t._addClassToMFP(C),setTimeout(function(){t._close()},t.st.removalDelay)):t._close())},_close:function(){T(l);var n=C+" "+v+" ";if(t.bgOverlay.detach(),t.wrap.detach(),t.container.empty(),t.st.mainClass&&(n+=t.st.mainClass+" "),t._removeClassFromMFP(n),t.fixedContentPos){var i={marginRight:""};t.isIE7?e("body, html").css("overflow",""):i.overflow="",e("html").css(i)}o.off("keyup"+h+" focusin"+h),t.ev.off(h),t.wrap.attr("class","mfp-wrap").removeAttr("style"),t.bgOverlay.attr("class","mfp-bg"),t.container.attr("class","mfp-container"),!t.st.showCloseBtn||t.st.closeBtnInside&&t.currTemplate[t.currItem.type]!==!0||t.currTemplate.closeBtn&&t.currTemplate.closeBtn.detach(),t._lastFocusedEl&&e(t._lastFocusedEl).focus(),t.currItem=null,t.content=null,t.currTemplate=null,t.prevHeight=0,T(d)},updateSize:function(e){if(t.isIOS){var n=document.documentElement.clientWidth/window.innerWidth,i=window.innerHeight*n;t.wrap.css("height",i),t.wH=i}else t.wH=e||I.height();t.fixedContentPos||t.wrap.css("height",t.wH),T("Resize")}Line truncated
|
||||
@@ -0,0 +1,784 @@
|
||||
/**
|
||||
* Table of Contents
|
||||
*
|
||||
* - dslc_carousel ( Initializes carousels )
|
||||
*/
|
||||
|
||||
/**
|
||||
* Responsive Classes
|
||||
*/
|
||||
|
||||
function dslc_responsive_classes() {
|
||||
|
||||
var windowWidth = jQuery(window).width();
|
||||
var body = jQuery('body');
|
||||
|
||||
body.removeClass( 'dslc-res-phone dslc-res-tablet dslc-res-smaller-monitor dslc-res-big' )
|
||||
|
||||
if ( windowWidth >= 1024 && windowWidth < 1280 )
|
||||
body.addClass( 'dslc-res-smaller-monitor' );
|
||||
else if ( windowWidth >= 768 && windowWidth < 1024 )
|
||||
body.addClass( 'dslc-res-tablet' );
|
||||
else if ( windowWidth < 768 )
|
||||
body.addClass( 'dslc-res-phone' );
|
||||
else
|
||||
body.addClass( 'dslc-res-big' );
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Init Accordion
|
||||
*/
|
||||
|
||||
function dslc_init_accordion() {
|
||||
|
||||
jQuery('.dslc-accordion').each(function(){
|
||||
|
||||
var dslcAccordion = jQuery(this),
|
||||
dslcActive = jQuery( '.dslc-accordion-item:first-child', dslcAccordion ),
|
||||
dslcInactive = dslcActive.siblings('.dslc-accordion-item');
|
||||
|
||||
dslcActive.addClass('dslc-active');
|
||||
dslcInactive.addClass('dslc-inactive');
|
||||
|
||||
jQuery('.dslc-accordion-content', dslcInactive).hide();
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Init Lightbox
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_init_lightbox() {
|
||||
|
||||
jQuery( '.dslc-lightbox-image' ).each(function(){
|
||||
|
||||
jQuery(this).magnificPopup({ type:'image' });
|
||||
|
||||
});
|
||||
|
||||
jQuery( '.dslc-lightbox-gallery' ).each(function(){
|
||||
|
||||
jQuery(this).magnificPopup({ delegate : 'a', type:'image', gallery:{ enabled: true } });
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Initializes carousels
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_carousel() {
|
||||
|
||||
// Loop through each carousel
|
||||
jQuery( '.dslc-carousel, .dslc-slider' ).each( function() {
|
||||
|
||||
// Variables
|
||||
var carousel, container, defSettings, usrSettings, settings;
|
||||
|
||||
// Elements
|
||||
carousel = jQuery( this );
|
||||
container = carousel.closest( '.dslc-module-front' );
|
||||
|
||||
// Default settings
|
||||
defSettings = {
|
||||
items : 4,
|
||||
pagination : true,
|
||||
singleItem : false,
|
||||
itemsScaleUp : false,
|
||||
slideSpeed : 200,
|
||||
paginationSpeed : 800,
|
||||
rewindSpeed : 1000,
|
||||
autoPlay : false,
|
||||
stopOnHover : false,
|
||||
lazyLoad : false,
|
||||
lazyFollow : true,
|
||||
autoHeight : false,
|
||||
mouseDrag : true,
|
||||
touchDrag : true,
|
||||
addClassActive : true,
|
||||
transitionStyle : 'fade',
|
||||
scrollPerPage : true
|
||||
};
|
||||
|
||||
// Custom Settings
|
||||
usrSettings = {
|
||||
items : carousel.data( 'columns' ),
|
||||
pagination : carousel.data( 'pagination' ),
|
||||
itemsScaleUp : carousel.data( 'scale-up' ),
|
||||
slideSpeed : carousel.data( 'slide-speed' ),
|
||||
paginationSpeed : carousel.data( 'pagination-speed' ),
|
||||
rewindSpeed : carousel.data( 'rewind-speed' ),
|
||||
autoPlay : carousel.data( 'autoplay' ),
|
||||
stopOnHover : carousel.data( 'stop-on-hover' ),
|
||||
lazyLoad : carousel.data( 'lazy-load' ),
|
||||
lazyFollow : carousel.data( 'lazy-follow' ),
|
||||
autoHeight : carousel.data( 'flexible-height' ),
|
||||
mouseDrag : carousel.data( 'mouse-drag' ),
|
||||
touchDrag : carousel.data( 'touch-drag' ),
|
||||
addClassActive : carousel.data( 'active-class' ),
|
||||
transitionStyle : carousel.data( 'animation' ),
|
||||
scrollPerPage : carousel.data( 'scroll-per-page' )
|
||||
};
|
||||
|
||||
// Merge default and custom settings
|
||||
settings = jQuery.extend( {}, defSettings, usrSettings );
|
||||
|
||||
// If it's a slider set singleItem to true
|
||||
if ( carousel.hasClass( 'dslc-slider' ) || settings.items == 1 ) {
|
||||
settings.singleItem = true;
|
||||
}
|
||||
|
||||
// If autoplay is 0 set to false
|
||||
if ( settings.autoPlay == 0 )
|
||||
settings.autoPlay = false;
|
||||
|
||||
// Initialize
|
||||
carousel.owlCarousel({
|
||||
|
||||
items : settings.items,
|
||||
pagination : settings.pagination,
|
||||
singleItem : settings.singleItem,
|
||||
itemsScaleUp : settings.itemsScaleUp,
|
||||
slideSpeed : settings.slideSpeed,
|
||||
paginationSpeed : settings.paginationSpeed,
|
||||
rewindSpeed : settings.rewindSpeed,
|
||||
autoPlay : settings.autoPlay,
|
||||
stopOnHover : settings.stopOnHover,
|
||||
lazyLoad : settings.lazyLoad,
|
||||
lazyFollow : settings.lazyFollow,
|
||||
mouseDrag : settings.mouseDrag,
|
||||
touchDrag : settings.touchDrag,
|
||||
scrollPerPage : settings.scrollPerPage,
|
||||
transitionStyle : settings.transitionStyle,
|
||||
autoHeight : settings.autoHeight,
|
||||
itemsDesktop : false,
|
||||
itemsDesktopSmall : false,
|
||||
itemsTablet : false,
|
||||
itemsMobile : [766,1],
|
||||
afterInit: function() {
|
||||
carousel.prev( '.dslc-loader' ).remove();
|
||||
carousel.css({
|
||||
opacity : 1,
|
||||
maxHeight : 'none'
|
||||
});
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
// Previous
|
||||
jQuery( '.dslc-carousel-nav-next', container ).click( function(e) {
|
||||
e.preventDefault();
|
||||
carousel.data( 'owlCarousel' ).next();
|
||||
});
|
||||
|
||||
// Next
|
||||
jQuery( '.dslc-carousel-nav-prev', container ).click( function(e) {
|
||||
e.preventDefault();
|
||||
carousel.data( 'owlCarousel' ).prev();
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Initiate Video
|
||||
*/
|
||||
|
||||
function dslc_bg_video() {
|
||||
|
||||
jQuery('.dslc-bg-video').each(function(){
|
||||
if ( ! jQuery(this).find( 'video' ).length ) {
|
||||
jQuery(this).css({ opacity : 1 });
|
||||
}
|
||||
});
|
||||
jQuery('.dslc-bg-video video').mediaelementplayer({
|
||||
loop: true,
|
||||
success: function(mediaElement, domObject) {
|
||||
|
||||
mediaElement.addEventListener('loadeddata', function (e) {
|
||||
jQuery(domObject).closest('.dslc-bg-video').animate({ opacity : 1 }, 400);
|
||||
});
|
||||
|
||||
mediaElement.play();
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Initiate Parallax
|
||||
*/
|
||||
|
||||
function dslc_parallax() {
|
||||
|
||||
var dslcSpeed = 4;
|
||||
var dslcPos = (-window.pageXOffset / dslcSpeed) + "px " + (-window.pageYOffset / dslcSpeed) + "px";
|
||||
jQuery('.dslc-init-parallax').css({ backgroundPosition : dslcPos });
|
||||
|
||||
window.onscroll = function() {
|
||||
var dslcSpeed = 4;
|
||||
var dslcPos = (-window.pageXOffset / dslcSpeed) + "px " + (-window.pageYOffset / dslcSpeed) + "px";
|
||||
jQuery('.dslc-init-parallax').css({ backgroundPosition : dslcPos });
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Initiate Masonry
|
||||
*/
|
||||
function dslc_masonry( dslcWrapper, dslcAnimate ) {
|
||||
|
||||
dslcWrapper = typeof dslcWrapper !== 'undefined' ? dslcWrapper : jQuery('body');
|
||||
dslcAnimate = typeof dslcAnimate !== 'undefined' ? dslcAnimate : false;
|
||||
|
||||
jQuery('.dslc-init-masonry', dslcWrapper).each(function(){
|
||||
|
||||
var dslcContainer, dslcSelector, dslcItems, dslcItemWidth, dslcContainerWidth, dslcGutterWidth;
|
||||
|
||||
dslcContainer = jQuery(this);
|
||||
dslcSelector = '.dslc-masonry-item';
|
||||
dslcItemWidth = jQuery(dslcSelector, dslcContainer).outerWidth();
|
||||
dslcContainerWidth = jQuery(dslcContainer).outerWidth();
|
||||
dslcGutterWidth = dslcContainerWidth / 100 * 2.05;
|
||||
|
||||
if ( dslcContainer.data('masonry') ) {
|
||||
|
||||
jQuery(dslcContainer).masonry('destroy').masonry({
|
||||
gutter : dslcGutterWidth,
|
||||
itemSelector : dslcSelector
|
||||
});
|
||||
|
||||
jQuery( dslcContainer ).find( '.dslc-post:not(.dslc-masonry-item)' ).hide();
|
||||
|
||||
if ( dslcAnimate ) {
|
||||
|
||||
jQuery(dslcSelector, dslcContainer).css({ 'scale' : '0.2'}).animate({
|
||||
'scale' : '1'
|
||||
}, 500);
|
||||
|
||||
}
|
||||
|
||||
} else {
|
||||
|
||||
jQuery(dslcSelector).css({ marginRight : 0 });
|
||||
|
||||
jQuery(dslcContainer).masonry({
|
||||
gutter : dslcGutterWidth,
|
||||
itemSelector : dslcSelector
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function dslc_browser_classes() {
|
||||
|
||||
jQuery.each(jQuery.browser, function(i) {
|
||||
jQuery('body').addClass(i);
|
||||
return false;
|
||||
});
|
||||
|
||||
var os = [
|
||||
'iphone',
|
||||
'ipad',
|
||||
'windows',
|
||||
'mac',
|
||||
'linux'
|
||||
];
|
||||
|
||||
var match = navigator.appVersion.toLowerCase().match(new RegExp(os.join('|')));
|
||||
if (match) {
|
||||
jQuery('body').addClass(match[0]);
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
function dslc_center() {
|
||||
|
||||
var dslcElement, dslcContainer, dslcElementHeight, dslcContainerHeight, dslcElementWidth, dslcContainerWidth, dslcTopOffset, dslcLeftOffset;
|
||||
|
||||
jQuery('.dslc-init-center').each(function(){
|
||||
|
||||
// Get elements
|
||||
dslcElement = jQuery(this);
|
||||
dslcContainer = dslcElement.parent();
|
||||
|
||||
// Get height and width
|
||||
dslcElementWidth = dslcElement.outerWidth();
|
||||
dslcElementHeight = dslcElement.outerHeight();
|
||||
dslcContainerWidth = dslcContainer.outerWidth();
|
||||
dslcContainerHeight = dslcContainer.outerHeight();
|
||||
|
||||
// Get center offset
|
||||
dslcTopOffset = dslcContainerHeight / 2 - dslcElementHeight / 2;
|
||||
dslcLeftOffset = dslcContainerWidth / 2 - dslcElementWidth / 2;
|
||||
|
||||
// Apply offset
|
||||
if ( dslcTopOffset > 0 ) {
|
||||
dslcElement.css({ top : dslcTopOffset, left : dslcLeftOffset });
|
||||
dslcElement.css({ visibility : 'visible' });
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function dslc_init_square( dslcWrapper ) {
|
||||
|
||||
dslcWrapper = typeof dslcWrapper !== 'undefined' ? dslcWrapper : jQuery('body');
|
||||
|
||||
var dslcElement, dslcHeight, dslcWidth;
|
||||
|
||||
jQuery('.dslc-init-square', dslcWrapper).each( function(){
|
||||
|
||||
dslcElement = jQuery(this);
|
||||
dslcElement.css({ width : 'auto', height : 'auto' });
|
||||
dslcHeight = dslcElement.height();
|
||||
dslcWidth = dslcElement.width();
|
||||
|
||||
if ( dslcHeight > dslcWidth )
|
||||
dslcElement.width( dslcHeight );
|
||||
else
|
||||
dslcElement.height( dslcWidth );
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Tabs
|
||||
*/
|
||||
|
||||
function dslc_tabs_generate_code( dslcTabs ) {
|
||||
|
||||
var dslcTabsContainer = dslcTabs.closest('.dslc-module-front');
|
||||
|
||||
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
||||
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs);
|
||||
dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs);
|
||||
|
||||
var dslcTabsNavVal = '';
|
||||
var dslcTabsContentVal = '';
|
||||
var dslcTabsNavValCount = 0;
|
||||
var dslcTabsContentValCount = 0;
|
||||
|
||||
jQuery( '.dslc-tabs-nav-hook', dslcTabsNav ).each(function(){
|
||||
|
||||
dslcTabsNavValCount++;
|
||||
|
||||
if ( dslcTabsNavValCount > 1 ) {
|
||||
dslcTabsNavVal += ' (dslc_sep) ';
|
||||
}
|
||||
|
||||
dslcTabsNavVal += jQuery(this).find('.dslc-tabs-nav-hook-title').text();
|
||||
|
||||
});
|
||||
|
||||
dslcTabContent.each(function(){
|
||||
|
||||
dslcTabsContentValCount++;
|
||||
|
||||
if ( dslcTabsContentValCount > 1 ) {
|
||||
dslcTabsContentVal += ' (dslc_sep) ';
|
||||
}
|
||||
|
||||
dslcTabsContentVal += jQuery(this).html();
|
||||
|
||||
});
|
||||
|
||||
jQuery('.dslca-module-option-front[data-id="tabs_nav"]', dslcTabsContainer).val( dslcTabsNavVal );
|
||||
jQuery('.dslca-module-option-front[data-id="tabs_content"]', dslcTabsContainer).val( dslcTabsContentVal );
|
||||
|
||||
dslc_option_changed();
|
||||
|
||||
}
|
||||
|
||||
function dslc_accordion_generate_code( dslcAccordion ) {
|
||||
|
||||
var dslcModule = dslcAccordion.closest('.dslc-module-front'),
|
||||
dslcAccordionCount = 0,
|
||||
dslcAccordionTitleVal = '',
|
||||
dslcAccordionContentVal = '';
|
||||
|
||||
jQuery( '.dslc-accordion-item', dslcAccordion ).each(function(){
|
||||
|
||||
dslcAccordionCount++;
|
||||
|
||||
if ( dslcAccordionCount > 1 ) {
|
||||
dslcAccordionTitleVal += ' (dslc_sep) ';
|
||||
dslcAccordionContentVal += ' (dslc_sep) ';
|
||||
}
|
||||
|
||||
dslcAccordionTitleVal += jQuery(this).find('.dslc-accordion-title').text();
|
||||
dslcAccordionContentVal += jQuery(this).find('.dslc-accordion-content').html();
|
||||
|
||||
});
|
||||
|
||||
jQuery('.dslca-module-option-front[data-id="accordion_nav"]', dslcModule).val( dslcAccordionTitleVal );
|
||||
jQuery('.dslca-module-option-front[data-id="accordion_content"]', dslcModule).val( dslcAccordionContentVal );
|
||||
|
||||
dslc_option_changed();
|
||||
|
||||
}
|
||||
|
||||
function dslc_tabs() {
|
||||
|
||||
var dslcTabs, dslcTabsNav, dslcTabsContent, dslcTabContent;
|
||||
|
||||
jQuery('.dslc-tabs').each(function(){
|
||||
|
||||
dslcTabs = jQuery(this);
|
||||
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
||||
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs);
|
||||
dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs);
|
||||
|
||||
dslcTabContent.eq(0).addClass('dslc-active');
|
||||
jQuery('.dslc-tabs-nav-hook', dslcTabsNav ).eq(0).addClass('dslc-active');
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
function dslc_download_count_increment( post_id ) {
|
||||
|
||||
jQuery.post(
|
||||
|
||||
DSLCAjax.ajaxurl,
|
||||
{
|
||||
action : 'dslc-download-count-increment',
|
||||
dslc_post_id : post_id
|
||||
},
|
||||
function( response ) { }
|
||||
|
||||
);
|
||||
|
||||
}
|
||||
|
||||
jQuery(document).ready(function($){
|
||||
|
||||
dslc_browser_classes();
|
||||
dslc_bg_video();
|
||||
|
||||
/**
|
||||
* Tabs
|
||||
*/
|
||||
|
||||
dslc_tabs();
|
||||
dslc_init_square();
|
||||
dslc_center();
|
||||
|
||||
/**
|
||||
* Tabs
|
||||
*/
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-add-new-tab-hook', function(){
|
||||
|
||||
var dslcTabs = jQuery(this).closest('.dslc-tabs'),
|
||||
dslcTabsNavLast = jQuery('.dslc-tabs-nav-hook:last', dslcTabs),
|
||||
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs),
|
||||
dslcTabContentLast = jQuery('.dslc-tabs-tab-content:last', dslcTabs);
|
||||
|
||||
dslcTabsNavLast.after('<span class="dslc-tabs-nav-hook"><span class="dslc-tabs-nav-hook-title" contenteditable>Click to edit title</span><span class="dslca-delete-tab-hook"><span class="dslca-icon dslc-icon-remove"></span></span></span>');
|
||||
dslcTabContentLast.after('<div class="dslc-tabs-tab-content" contenteditable>This is just placeholder text. Click here to edit it.</div>');
|
||||
|
||||
jQuery('.dslc-tabs-nav-hook:last', dslcTabs).click();
|
||||
|
||||
dslc_tabs_generate_code( dslcTabs );
|
||||
|
||||
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
||||
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-delete-tab-hook', function(e){
|
||||
|
||||
var dslcTabs = jQuery(this).closest('.dslc-tabs');
|
||||
var dslcTabHook = jQuery(this).closest('.dslc-tabs-nav-hook');
|
||||
var dslcTabIndex = dslcTabHook.index();
|
||||
var dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs).eq( dslcTabIndex );
|
||||
|
||||
if ( jQuery( '.dslc-tabs-nav-hook', dslcTabs ).length > 1 ) {
|
||||
|
||||
dslcTabHook.remove();
|
||||
dslcTabContent.remove();
|
||||
|
||||
if ( ! jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
||||
jQuery( '.dslc-tabs-nav-hook:first', dslcTabs ).trigger('click');
|
||||
}
|
||||
|
||||
dslc_tabs_generate_code( dslcTabs );
|
||||
|
||||
} else {
|
||||
|
||||
alert( 'You can not delete the last remaining tab' );
|
||||
|
||||
}
|
||||
|
||||
e.stopPropagation()
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'click', '.dslc-tabs-nav-hook', function(e){
|
||||
|
||||
if ( ! jQuery(this).hasClass('dslc-active') ) {
|
||||
|
||||
dslcTabs = jQuery(this).closest('.dslc-tabs');
|
||||
dslcTabsNav = jQuery('.dslc-tabs-nav', dslcTabs);
|
||||
dslcTabsContent = jQuery('.dslc-tabs-content', dslcTabs);
|
||||
dslcTabContent = jQuery('.dslc-tabs-tab-content', dslcTabs);
|
||||
dslcTabIndex = jQuery(this).index();
|
||||
|
||||
// Tabs nav
|
||||
jQuery('.dslc-tabs-nav-hook.dslc-active').removeClass('dslc-active');
|
||||
jQuery(this).addClass('dslc-active');
|
||||
|
||||
// Tabs content
|
||||
|
||||
if ( jQuery( '.dslc-tabs-tab-content.dslc-active', dslcTabs ).length ) {
|
||||
|
||||
jQuery('.dslc-tabs-tab-content.dslc-active', dslcTabs).animate({
|
||||
opacity : 0
|
||||
}, 250, function(){
|
||||
jQuery(this).removeClass('dslc-active');
|
||||
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
||||
opacity : 1
|
||||
}, 250);
|
||||
});
|
||||
|
||||
} else {
|
||||
dslcTabContent.eq(dslcTabIndex).css({ opacity : 0 }).addClass('dslc-active').show().animate({
|
||||
opacity : 1
|
||||
}, 250);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on('blur paste', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function() {
|
||||
|
||||
dslc_tabs_generate_code( jQuery(this).closest('.dslc-tabs') );
|
||||
|
||||
}).on('focus', '.dslc-tabs-nav-hook-title[contenteditable], .dslc-tabs-tab-content[contenteditable]', function() {
|
||||
|
||||
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
||||
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
||||
// Close Notification
|
||||
$(document).on( 'click', '.dslc-notification-close', function(e){
|
||||
$(this).closest('.dslc-notification').slideUp(200, function(){
|
||||
$(this).remove();
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Filter
|
||||
*/
|
||||
|
||||
$(document).on( 'click', '.dslc-post-filter', function(){
|
||||
|
||||
// Get info
|
||||
var dslcCat = $(this).data('id');
|
||||
var dslcPosts = $(this).closest('.dslc-module-front').find('.dslc-post');
|
||||
var dslcFilterPosts = $(this).closest('.dslc-module-front').find('.dslc-post[data-cats*="' + dslcCat + '"]');
|
||||
var dslcNotFilterPosts = $(this).closest('.dslc-module-front').find('.dslc-post:not([data-cats*="' + dslcCat + '"])');
|
||||
var dslcContainer = dslcPosts.closest('.dslc-posts');
|
||||
var dslcWrapper = $(this).closest('.dslc-module-front');
|
||||
|
||||
// Set active
|
||||
$(this).removeClass('dslc-inactive').addClass('dslc-active').siblings('.dslc-active').removeClass('dslc-active').addClass('dslc-inactive');
|
||||
|
||||
if ( dslcContainer.hasClass('dslc-init-grid' ) ) {
|
||||
|
||||
dslcFilterPosts.stop().animate({
|
||||
opacity : 1
|
||||
}, 300);
|
||||
|
||||
dslcNotFilterPosts.stop().animate({
|
||||
opacity : 0.3
|
||||
}, 300);
|
||||
|
||||
} else {
|
||||
|
||||
// Hide posts
|
||||
|
||||
dslcNotFilterPosts.removeClass('dslc-masonry-item dslc-masonry-item-animate').css({ visibility : 'hidden' });
|
||||
dslcFilterPosts.addClass('dslc-masonry-item dslc-masonry-item-animate').css({ visibility : 'visible' }).show();
|
||||
|
||||
dslc_masonry( dslcWrapper, true );
|
||||
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* Download Count Hook
|
||||
*/
|
||||
|
||||
$(document).on( 'click', '.dslc-download-count-hook', function(e) {
|
||||
|
||||
dslc_download_count_increment( $(this).data('post-id') );
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* Notification Close
|
||||
*/
|
||||
|
||||
$(document).on( 'click', '.dslc-notification-box-close', function() {
|
||||
$(this).closest('.dslc-notification-box').animate({
|
||||
opacity : 0
|
||||
}, 400, function(){
|
||||
$(this).remove();
|
||||
});
|
||||
});
|
||||
|
||||
/**
|
||||
* Lightbox
|
||||
*/
|
||||
|
||||
dslc_init_lightbox();
|
||||
|
||||
/**
|
||||
* Animate Progress Bar
|
||||
*/
|
||||
|
||||
$('.dslc-progress-bar-animated').each(function(){
|
||||
|
||||
var dslcWrapper = $(this);
|
||||
var dslcEl = dslcWrapper.find('.dslc-progress-bar-loader-inner');
|
||||
var dslcVal = dslcEl.data('amount') + '%';
|
||||
|
||||
dslcEl.css({ width : 0, opacity : 1 }).animate({ width : dslcVal }, 1000 );
|
||||
|
||||
|
||||
});
|
||||
|
||||
/**
|
||||
* Accordion
|
||||
*/
|
||||
|
||||
dslc_init_accordion();
|
||||
|
||||
$(document).on( 'click', '.dslc-accordion-hook', function(){
|
||||
|
||||
var dslcActive = $(this).closest('.dslc-accordion-item'),
|
||||
dslcInactive = dslcActive.siblings('.dslc-accordion-item');
|
||||
|
||||
dslcActive.removeClass('dslc-inactive').addClass('dslc-active');
|
||||
dslcInactive.removeClass('dslc-active').addClass('dslc-inactive');
|
||||
|
||||
$('.dslc-accordion-content', dslcActive).slideDown(300);
|
||||
$('.dslc-accordion-content', dslcInactive).slideUp(300);
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-add-accordion-hook', function(){
|
||||
|
||||
var dslcAccordion = jQuery(this).closest('.dslc-accordion'),
|
||||
dslcAccordionLast = jQuery('.dslc-accordion-item:last', dslcAccordion),
|
||||
dslcAccordionNew = dslcAccordionLast.clone().insertAfter(dslcAccordionLast);
|
||||
|
||||
jQuery('.dslc-accordion-title', dslcAccordionNew).html('CLICK TO EDIT');
|
||||
jQuery('.dslc-accordion-content', dslcAccordionNew).html('Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.');
|
||||
jQuery('.dslc-accordion-hook', dslcAccordionNew).click();
|
||||
|
||||
dslc_accordion_generate_code( dslcAccordion );
|
||||
|
||||
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
||||
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on( 'click', '.dslca-delete-accordion-hook', function(e){
|
||||
|
||||
var dslcAccordion = jQuery(this).closest('.dslc-accordion'),
|
||||
dslcAccordionItem = jQuery(this).closest('.dslc-accordion-item');
|
||||
|
||||
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
||||
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
||||
}
|
||||
|
||||
if ( jQuery( '.dslc-accordion-item', dslcAccordion ).length > 1 ) {
|
||||
|
||||
dslcAccordionItem.remove();
|
||||
|
||||
if ( ! jQuery( '.dslc-accordion-item.dslc-active', dslcAccordion ).length ) {
|
||||
jQuery( '.dslc-accordion-hook:first', dslcAccordion ).trigger('click');
|
||||
}
|
||||
|
||||
dslc_accordion_generate_code( dslcAccordion );
|
||||
|
||||
} else {
|
||||
|
||||
alert( 'You can not delete the last remaining accordion item.' );
|
||||
|
||||
}
|
||||
|
||||
e.stopPropagation()
|
||||
|
||||
});
|
||||
|
||||
jQuery(document).on('blur paste keyup', '.dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]', function() {
|
||||
|
||||
dslc_accordion_generate_code( jQuery(this).closest('.dslc-accordion') );
|
||||
|
||||
}).on('focus', '.dslc-accordion-title[contenteditable], .dslc-accordion-content[contenteditable]', function() {
|
||||
|
||||
if ( ! jQuery(this).closest('.dslc-module-front').hasClass('dslca-module-being-edited') ) {
|
||||
jQuery(this).closest('.dslc-module-front').find('.dslca-module-edit-hook').trigger('click');
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
$(document).on( 'click', '.dslc-trigger-lightbox-gallery', function(e){
|
||||
|
||||
e.preventDefault();
|
||||
|
||||
jQuery(this).closest('.dslc-post').find('.dslc-lightbox-gallery a:first-child').trigger('click');
|
||||
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
jQuery(window).load(function(){
|
||||
|
||||
dslc_carousel();
|
||||
dslc_masonry();
|
||||
dslc_parallax();
|
||||
dslc_init_square();
|
||||
dslc_center();
|
||||
dslc_responsive_classes();
|
||||
dslc_init_lightbox();
|
||||
|
||||
});
|
||||
|
||||
jQuery(window).resize(function(){
|
||||
|
||||
dslc_center();
|
||||
dslc_responsive_classes();
|
||||
|
||||
});
|
||||
@@ -0,0 +1,119 @@
|
||||
/**
|
||||
* editor_plugin_src.js
|
||||
*
|
||||
* Copyright 2009, Moxiecode Systems AB
|
||||
* Released under LGPL License.
|
||||
*
|
||||
* License: http://tinymce.moxiecode.com/license
|
||||
* Contributing: http://tinymce.moxiecode.com/contributing
|
||||
*/
|
||||
|
||||
(function() {
|
||||
/**
|
||||
* Auto Resize
|
||||
*
|
||||
* This plugin automatically resizes the content area to fit its content height.
|
||||
* It will retain a minimum height, which is the height of the content area when
|
||||
* it's initialized.
|
||||
*/
|
||||
tinymce.create('tinymce.plugins.AutoResizePlugin', {
|
||||
/**
|
||||
* Initializes the plugin, this will be executed after the plugin has been created.
|
||||
* This call is done before the editor instance has finished it's initialization so use the onInit event
|
||||
* of the editor instance to intercept that event.
|
||||
*
|
||||
* @param {tinymce.Editor} ed Editor instance that the plugin is initialized in.
|
||||
* @param {string} url Absolute URL to where the plugin is located.
|
||||
*/
|
||||
init : function(ed, url) {
|
||||
var t = this, oldSize = 0;
|
||||
|
||||
if (ed.getParam('fullscreen_is_enabled'))
|
||||
return;
|
||||
|
||||
/**
|
||||
* This method gets executed each time the editor needs to resize.
|
||||
*/
|
||||
function resize() {
|
||||
var deltaSize, d = ed.getDoc(), body = d.body, de = d.documentElement, DOM = tinymce.DOM, resizeHeight = t.autoresize_min_height, myHeight;
|
||||
|
||||
// Get height differently depending on the browser used
|
||||
myHeight = tinymce.isIE ? body.scrollHeight : (tinymce.isWebKit && body.clientHeight == 0 ? 0 : body.offsetHeight);
|
||||
|
||||
// Don't make it smaller than the minimum height
|
||||
if (myHeight > t.autoresize_min_height)
|
||||
resizeHeight = myHeight;
|
||||
|
||||
// If a maximum height has been defined don't exceed this height
|
||||
if (t.autoresize_max_height && myHeight > t.autoresize_max_height) {
|
||||
resizeHeight = t.autoresize_max_height;
|
||||
body.style.overflowY = "auto";
|
||||
de.style.overflowY = "auto"; // Old IE
|
||||
} else {
|
||||
body.style.overflowY = "hidden";
|
||||
de.style.overflowY = "hidden"; // Old IE
|
||||
body.scrollTop = 0;
|
||||
}
|
||||
|
||||
// Resize content element
|
||||
if (resizeHeight !== oldSize) {
|
||||
deltaSize = resizeHeight - oldSize;
|
||||
DOM.setStyle(DOM.get(ed.id + '_ifr'), 'height', resizeHeight + 'px');
|
||||
oldSize = resizeHeight;
|
||||
|
||||
// WebKit doesn't decrease the size of the body element until the iframe gets resized
|
||||
// So we need to continue to resize the iframe down until the size gets fixed
|
||||
if (tinymce.isWebKit && deltaSize < 0)
|
||||
resize();
|
||||
}
|
||||
};
|
||||
|
||||
t.editor = ed;
|
||||
|
||||
// Define minimum height
|
||||
t.autoresize_min_height = parseInt(ed.getParam('autoresize_min_height', ed.getElement().offsetHeight));
|
||||
|
||||
// Define maximum height
|
||||
t.autoresize_max_height = parseInt(ed.getParam('autoresize_max_height', 0));
|
||||
|
||||
// Add padding at the bottom for better UX
|
||||
ed.onInit.add(function(ed){
|
||||
ed.dom.setStyle(ed.getBody(), 'paddingBottom', ed.getParam('autoresize_bottom_margin', 25) + 'px');
|
||||
});
|
||||
|
||||
// Add appropriate listeners for resizing content area
|
||||
ed.onChange.add(resize);
|
||||
ed.onSetContent.add(resize);
|
||||
ed.onPaste.add(resize);
|
||||
ed.onKeyUp.add(resize);
|
||||
ed.onPostRender.add(resize);
|
||||
|
||||
if (ed.getParam('autoresize_on_init', true)) {
|
||||
// ed.onLoad.add(resize);
|
||||
ed.onLoadContent.add(resize);
|
||||
}
|
||||
|
||||
// Register the command so that it can be invoked by using tinyMCE.activeEditor.execCommand('mceExample');
|
||||
ed.addCommand('mceAutoResize', resize);
|
||||
},
|
||||
|
||||
/**
|
||||
* Returns information about the plugin as a name/value array.
|
||||
* The current keys are longname, author, authorurl, infourl and version.
|
||||
*
|
||||
* @return {Object} Name/value array containing information about the plugin.
|
||||
*/
|
||||
getInfo : function() {
|
||||
return {
|
||||
longname : 'Auto Resize',
|
||||
author : 'Moxiecode Systems AB',
|
||||
authorurl : 'http://tinymce.moxiecode.com',
|
||||
infourl : 'http://wiki.moxiecode.com/index.php/TinyMCE:Plugins/autoresize',
|
||||
version : tinymce.majorVersion + "." + tinymce.minorVersion
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
// Register plugin
|
||||
tinymce.PluginManager.add('autoresize', tinymce.plugins.AutoResizePlugin);
|
||||
})();
|
||||
@@ -0,0 +1,975 @@
|
||||
<?php
|
||||
|
||||
class DSLC_Accordion extends DSLC_Module {
|
||||
|
||||
var $module_id = 'DSLC_Accordion';
|
||||
var $module_title = 'Accordion';
|
||||
var $module_icon = 'reorder';
|
||||
var $module_category = 'elements';
|
||||
|
||||
function options() {
|
||||
|
||||
$dslc_options = array(
|
||||
|
||||
array(
|
||||
'label' => __( '(hidden) Accordion Content', 'dslc_string' ),
|
||||
'id' => 'accordion_content',
|
||||
'std' => '',
|
||||
'type' => 'textarea',
|
||||
'visibility' => 'hidden',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( '(hidden) Accordion Nav', 'dslc_string' ),
|
||||
'id' => 'accordion_nav',
|
||||
'std' => '',
|
||||
'type' => 'textarea',
|
||||
'visibility' => 'hidden',
|
||||
'section' => 'styling',
|
||||
),
|
||||
|
||||
/**
|
||||
* General
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'BG Color', 'dslc_string' ),
|
||||
'id' => 'css_bg_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color', 'dslc_string' ),
|
||||
'id' => 'css_border_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Width', 'dslc_string' ),
|
||||
'id' => 'css_border_width',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'border-width',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Borders', 'dslc_string' ),
|
||||
'id' => 'css_border_trbl',
|
||||
'std' => 'top right bottom left',
|
||||
'type' => 'checkbox',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Top', 'dslc_string' ),
|
||||
'value' => 'top'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Bottom', 'dslc_string' ),
|
||||
'value' => 'bottom'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left'
|
||||
),
|
||||
),
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'border-style',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
|
||||
/**
|
||||
* Header
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'BG Color', 'dslc_string' ),
|
||||
'id' => 'css_header_bg_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color', 'dslc_string' ),
|
||||
'id' => 'css_header_border_color',
|
||||
'std' => '#e8e8e8',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Width', 'dslc_string' ),
|
||||
'id' => 'css_header_border_width',
|
||||
'std' => '1',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'border-width',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Borders', 'dslc_string' ),
|
||||
'id' => 'css_header_border_trbl',
|
||||
'std' => 'top right bottom left',
|
||||
'type' => 'checkbox',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Top', 'dslc_string' ),
|
||||
'value' => 'top'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Bottom', 'dslc_string' ),
|
||||
'value' => 'bottom'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left'
|
||||
),
|
||||
),
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'border-style',
|
||||
'section' => 'styling',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_header_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_header_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'header'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_header_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'header'
|
||||
),
|
||||
|
||||
/**
|
||||
* Title
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'BG Color', 'dslc_string' ),
|
||||
'id' => 'css_title_bg_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color', 'dslc_string' ),
|
||||
'id' => 'css_title_border_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Width', 'dslc_string' ),
|
||||
'id' => 'css_title_border_width',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'border-width',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Borders', 'dslc_string' ),
|
||||
'id' => 'css_title_border_trbl',
|
||||
'std' => 'top right bottom left',
|
||||
'type' => 'checkbox',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Top', 'dslc_string' ),
|
||||
'value' => 'top'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Bottom', 'dslc_string' ),
|
||||
'value' => 'bottom'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left'
|
||||
),
|
||||
),
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'border-style',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Color', 'dslc_string' ),
|
||||
'id' => 'css_title_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Size', 'dslc_string' ),
|
||||
'id' => 'css_title_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Weight', 'dslc_string' ),
|
||||
'id' => 'css_title_font_weight',
|
||||
'std' => '700',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'font-weight',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title',
|
||||
'ext' => '',
|
||||
'min' => 100,
|
||||
'max' => 900,
|
||||
'increment' => 100
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Family', 'dslc_string' ),
|
||||
'id' => 'css_title_font_family',
|
||||
'std' => 'Open Sans',
|
||||
'type' => 'font',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'font-family',
|
||||
'section' => 'styling',
|
||||
'tab' => 'title',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_title_padding_vertical',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'title'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_title_padding_horizontal',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'title'
|
||||
),
|
||||
|
||||
/**
|
||||
* Content
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'BG Color', 'dslc_string' ),
|
||||
'id' => 'css_content_bg_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color', 'dslc_string' ),
|
||||
'id' => 'css_content_border_color',
|
||||
'std' => '#e8e8e8',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Width', 'dslc_string' ),
|
||||
'id' => 'css_content_border_width',
|
||||
'std' => '1',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'border-width',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Borders', 'dslc_string' ),
|
||||
'id' => 'css_content_border_trbl',
|
||||
'std' => 'right bottom left',
|
||||
'type' => 'checkbox',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Top', 'dslc_string' ),
|
||||
'value' => 'top'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Bottom', 'dslc_string' ),
|
||||
'value' => 'bottom'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left'
|
||||
),
|
||||
),
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'border-style',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Color', 'dslc_string' ),
|
||||
'id' => 'css_content_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Size', 'dslc_string' ),
|
||||
'id' => 'css_content_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Weight', 'dslc_string' ),
|
||||
'id' => 'css_content_font_weight',
|
||||
'std' => '400',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'font-weight',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content',
|
||||
'ext' => '',
|
||||
'min' => 100,
|
||||
'max' => 900,
|
||||
'increment' => 100
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Family', 'dslc_string' ),
|
||||
'id' => 'css_content_font_family',
|
||||
'std' => 'Open Sans',
|
||||
'type' => 'font',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'font-family',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Line Height', 'dslc_string' ),
|
||||
'id' => 'css_content_line_height',
|
||||
'std' => '22',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'line-height',
|
||||
'section' => 'styling',
|
||||
'tab' => 'content',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_content_padding_vertical',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'content'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_content_padding_horizontal',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'content'
|
||||
),
|
||||
|
||||
/**
|
||||
* Responsive Tablet
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Responsive', 'dslc_string' ),
|
||||
'id' => 'css_res_t',
|
||||
'std' => 'disabled',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
),
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_t_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_t_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_t_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_t_header_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_t_header_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_t_header_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_t_title_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_t_title_padding_vertical',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_t_title_padding_horizontal',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_t_content_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Line Height', 'dslc_string' ),
|
||||
'id' => 'css_res_t_content_line_height',
|
||||
'std' => '22',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'line-height',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_t_content_padding_vertical',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_t_content_padding_horizontal',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
|
||||
/**
|
||||
* Responsive phone
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Responsive', 'dslc_string' ),
|
||||
'id' => 'css_res_p',
|
||||
'std' => 'disabled',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
),
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_p_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_p_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_p_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_p_header_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_p_header_padding_vertical',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Header - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_p_header_padding_horizontal',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-header',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_p_title_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_p_title_padding_vertical',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Title - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_p_title_padding_horizontal',
|
||||
'std' => '15',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-title',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_p_content_font_size',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Line Height', 'dslc_string' ),
|
||||
'id' => 'css_res_p_content_line_height',
|
||||
'std' => '22',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'line-height',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_p_content_padding_vertical',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Content - Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_p_content_padding_horizontal',
|
||||
'std' => '25',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-accordion-content',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
|
||||
);
|
||||
|
||||
return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
|
||||
|
||||
}
|
||||
|
||||
function output( $options ) {
|
||||
|
||||
global $dslc_active;
|
||||
|
||||
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) )
|
||||
$dslc_is_admin = true;
|
||||
else
|
||||
$dslc_is_admin = false;
|
||||
|
||||
$this->module_start( $options );
|
||||
|
||||
/* Module output stars here */
|
||||
|
||||
$accordion_nav = explode( '(dslc_sep)', trim( $options['accordion_nav'] ) );
|
||||
|
||||
if ( empty( $options['accordion_content'] ) )
|
||||
$accordion_contents = false;
|
||||
else
|
||||
$accordion_contents = explode( '(dslc_sep)', trim( $options['accordion_content'] ) );
|
||||
|
||||
$count = 0;
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslc-accordion">
|
||||
|
||||
<?php if ( is_array( $accordion_contents ) && count( $accordion_contents ) > 0 ) : ?>
|
||||
|
||||
<?php foreach ( $accordion_contents as $accordion_content ) : ?>
|
||||
|
||||
<div class="dslc-accordion-item">
|
||||
|
||||
<div class="dslc-accordion-header dslc-accordion-hook">
|
||||
<span class="dslc-accordion-title" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>><?php echo $accordion_nav[$count]; ?></span>
|
||||
<?php if ( $dslc_is_admin ) : ?>
|
||||
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="dslc-accordion-content" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>>
|
||||
<?php echo stripslashes( $accordion_content ); ?>
|
||||
</div><!-- .dslc-accordion-content -->
|
||||
|
||||
</div><!-- .dslc-accordion-item -->
|
||||
|
||||
<?php $count++; endforeach; ?>
|
||||
|
||||
<?php else : ?>
|
||||
|
||||
<div class="dslc-accordion-item">
|
||||
|
||||
<div class="dslc-accordion-header dslc-accordion-hook">
|
||||
<span class="dslc-accordion-title" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>><?php _e( 'CLICK TO EDIT', 'dslc_string' ); ?></span>
|
||||
<?php if ( $dslc_is_admin ) : ?>
|
||||
<span class="dslca-delete-accordion-hook"><span class="dslca-icon dslc-icon-remove"></span></span>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
|
||||
<div class="dslc-accordion-content" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>>
|
||||
Placeholder content, click to edit. Lorem ipsum dolor sit amet, consectetur
|
||||
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
|
||||
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
|
||||
consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse
|
||||
cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
|
||||
proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
|
||||
</div><!-- .dslc-accordion-content -->
|
||||
|
||||
</div><!-- .dslc-accordion-item -->
|
||||
|
||||
<?php endif; ?>
|
||||
|
||||
<?php if ( $dslc_is_admin ) : ?>
|
||||
<div class="dslca-add-accordion">
|
||||
<span class="dslca-add-accordion-hook"><span class="dslca-icon dslc-icon-plus"></span></span>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
</div><!-- .dslc-accordion -->
|
||||
|
||||
<?php /* Module output ends here */
|
||||
|
||||
$this->module_end( $options );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,511 @@
|
||||
<?php
|
||||
|
||||
class DSLC_Button extends DSLC_Module {
|
||||
|
||||
var $module_id = 'DSLC_Button';
|
||||
var $module_title = 'Button';
|
||||
var $module_icon = 'link';
|
||||
var $module_category = 'elements';
|
||||
|
||||
function options() {
|
||||
|
||||
$dslc_options = array(
|
||||
|
||||
/**
|
||||
* Styling
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Button Text', 'dslc_string' ),
|
||||
'id' => 'button_text',
|
||||
'std' => 'CLICK TO EDIT',
|
||||
'type' => 'text',
|
||||
'visibility' => 'hidden',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'URL', 'dslc_string' ),
|
||||
'id' => 'button_url',
|
||||
'std' => '#',
|
||||
'type' => 'text'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Open in', 'dslc_string' ),
|
||||
'id' => 'button_target',
|
||||
'std' => '_self',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Same Tab', 'dslc_string' ),
|
||||
'value' => '_self',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'New Tab', 'dslc_string' ),
|
||||
'value' => '_blank',
|
||||
),
|
||||
)
|
||||
),
|
||||
|
||||
array(
|
||||
'label' => __( 'Align', 'dslc_string' ),
|
||||
'id' => 'css_align',
|
||||
'std' => 'left',
|
||||
'type' => 'select',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button',
|
||||
'affect_on_change_rule' => 'text-align',
|
||||
'section' => 'styling',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Center', 'dslc_string' ),
|
||||
'value' => 'center',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right',
|
||||
),
|
||||
)
|
||||
),
|
||||
array(
|
||||
'label' => __( 'BG Color', 'dslc_string' ),
|
||||
'id' => 'css_bg_color',
|
||||
'std' => '#5890e5',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'BG Color - Hover', 'dslc_string' ),
|
||||
'id' => 'css_bg_color_hover',
|
||||
'std' => '#4b7bc2',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a:hover',
|
||||
'affect_on_change_rule' => 'background-color',
|
||||
'section' => 'styling'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color', 'dslc_string' ),
|
||||
'id' => 'css_border_color',
|
||||
'std' => '#000',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Color - Hover', 'dslc_string' ),
|
||||
'id' => 'css_border_color_hover',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a:hover',
|
||||
'affect_on_change_rule' => 'border-color',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Width', 'dslc_string' ),
|
||||
'id' => 'css_border_width',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'border-width',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Borders', 'dslc_string' ),
|
||||
'id' => 'css_border_trbl',
|
||||
'std' => 'top right bottom left',
|
||||
'type' => 'checkbox',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Top', 'dslc_string' ),
|
||||
'value' => 'top'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Right', 'dslc_string' ),
|
||||
'value' => 'right'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Bottom', 'dslc_string' ),
|
||||
'value' => 'bottom'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Left', 'dslc_string' ),
|
||||
'value' => 'left'
|
||||
),
|
||||
),
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'border-style',
|
||||
'section' => 'styling',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Border Radius', 'dslc_string' ),
|
||||
'id' => 'css_border_radius',
|
||||
'std' => '3',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'border-radius',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_padding_vertical',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_padding_horizontal',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px'
|
||||
),
|
||||
|
||||
/**
|
||||
* Typography
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Color', 'dslc_string' ),
|
||||
'id' => 'css_button_color',
|
||||
'std' => '#ffffff',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'typography'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Color - Hover', 'dslc_string' ),
|
||||
'id' => 'css_button_color_hover',
|
||||
'std' => '#ffffff',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a:hover',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'typography'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Size', 'dslc_string' ),
|
||||
'id' => 'css_button_font_size',
|
||||
'std' => '11',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'styling',
|
||||
'tab' => 'typography',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Weight', 'dslc_string' ),
|
||||
'id' => 'css_button_font_weight',
|
||||
'std' => '800',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'font-weight',
|
||||
'section' => 'styling',
|
||||
'tab' => 'typography',
|
||||
'ext' => '',
|
||||
'min' => 100,
|
||||
'max' => 900,
|
||||
'increment' => 100
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Family', 'dslc_string' ),
|
||||
'id' => 'css_button_font_family',
|
||||
'std' => 'Lato',
|
||||
'type' => 'font',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'font-family',
|
||||
'section' => 'styling',
|
||||
'tab' => 'typography',
|
||||
),
|
||||
|
||||
/**
|
||||
* Icon
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Icon', 'dslc_string' ),
|
||||
'id' => 'button_icon_id',
|
||||
'std' => 'link',
|
||||
'type' => 'icon',
|
||||
'section' => 'styling',
|
||||
'tab' => 'icon',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Color', 'dslc_string' ),
|
||||
'id' => 'css_icon_color',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a .dslc-icon',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'icon'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Color - Hover', 'dslc_string' ),
|
||||
'id' => 'css_icon_color_hover',
|
||||
'std' => '',
|
||||
'type' => 'color',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a:hover .dslc-icon',
|
||||
'affect_on_change_rule' => 'color',
|
||||
'section' => 'styling',
|
||||
'tab' => 'icon'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Right', 'dslc_string' ),
|
||||
'id' => 'css_icon_margin',
|
||||
'std' => '5',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a .dslc-icon',
|
||||
'affect_on_change_rule' => 'margin-right',
|
||||
'section' => 'styling',
|
||||
'ext' => 'px',
|
||||
'tab' => 'icon'
|
||||
),
|
||||
|
||||
/**
|
||||
* Responsive Tablet
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Responsive', 'dslc_string' ),
|
||||
'id' => 'css_res_t',
|
||||
'std' => 'disabled',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
),
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_t_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_t_padding_vertical',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_t_padding_horizontal',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_t_button_font_size',
|
||||
'std' => '11',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Icon - Margin Right', 'dslc_string' ),
|
||||
'id' => 'css_res_t_icon_margin',
|
||||
'std' => '5',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a .dslc-icon',
|
||||
'affect_on_change_rule' => 'margin-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'tablet',
|
||||
'ext' => 'px',
|
||||
),
|
||||
|
||||
/**
|
||||
* Responsive Phone
|
||||
*/
|
||||
|
||||
array(
|
||||
'label' => __( 'Responsive', 'dslc_string' ),
|
||||
'id' => 'css_res_p',
|
||||
'std' => 'disabled',
|
||||
'type' => 'select',
|
||||
'choices' => array(
|
||||
array(
|
||||
'label' => __( 'Disabled', 'dslc_string' ),
|
||||
'value' => 'disabled'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Enabled', 'dslc_string' ),
|
||||
'value' => 'enabled'
|
||||
),
|
||||
),
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Margin Bottom', 'dslc_string' ),
|
||||
'id' => 'css_res_p_margin_bottom',
|
||||
'std' => '0',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button',
|
||||
'affect_on_change_rule' => 'margin-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Vertical', 'dslc_string' ),
|
||||
'id' => 'css_res_p_padding_vertical',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-top,padding-bottom',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Padding Horizontal', 'dslc_string' ),
|
||||
'id' => 'css_res_p_padding_horizontal',
|
||||
'std' => '12',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'padding-left,padding-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Font Size', 'dslc_string' ),
|
||||
'id' => 'css_res_p_button_font_size',
|
||||
'std' => '11',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a',
|
||||
'affect_on_change_rule' => 'font-size',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px'
|
||||
),
|
||||
array(
|
||||
'label' => __( 'Icon - Margin Right', 'dslc_string' ),
|
||||
'id' => 'css_res_p_icon_margin',
|
||||
'std' => '5',
|
||||
'type' => 'slider',
|
||||
'refresh_on_change' => false,
|
||||
'affect_on_change_el' => '.dslc-button a .dslc-icon',
|
||||
'affect_on_change_rule' => 'margin-right',
|
||||
'section' => 'responsive',
|
||||
'tab' => 'phone',
|
||||
'ext' => 'px',
|
||||
),
|
||||
|
||||
|
||||
);
|
||||
|
||||
return apply_filters( 'dslc_module_options', $dslc_options, $this->module_id );
|
||||
|
||||
}
|
||||
|
||||
function output( $options ) {
|
||||
|
||||
global $dslc_active;
|
||||
|
||||
if ( $dslc_active && is_user_logged_in() && current_user_can( DS_LIVE_COMPOSER_CAPABILITY ) )
|
||||
$dslc_is_admin = true;
|
||||
else
|
||||
$dslc_is_admin = false;
|
||||
|
||||
$this->module_start( $options );
|
||||
|
||||
/* Module output starts here */
|
||||
|
||||
?>
|
||||
|
||||
<div class="dslc-button">
|
||||
<a href="<?php echo $options['button_url']; ?>" target="<?php echo $options['button_target']; ?>">
|
||||
<span class="dslc-icon dslc-icon-<?php echo $options['button_icon_id']; ?>"></span>
|
||||
<span class="dslca-editable-content" data-id="button_text" data-type="simple" <?php if ( $dslc_is_admin ) echo 'contenteditable'; ?>><?php echo $options['button_text']; ?></span>
|
||||
</a>
|
||||
</div><!-- .dslc-notification-box -->
|
||||
|
||||
<?php
|
||||
|
||||
/* Module output ends here */
|
||||
|
||||
$this->module_end( $options );
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,58 @@
|
||||
<?php
|
||||
|
||||
include DS_LIVE_COMPOSER_ABS . '/modules/downloads/inc/ajax.php';
|
||||
|
||||
function dslc_downloads_module_init() {
|
||||
|
||||
/**
|
||||
* Custom Post Type
|
||||
*/
|
||||
|
||||
register_post_type( 'dslc_downloads', array(
|
||||
'menu_icon' => 'dashicons-download',
|
||||
'labels' => array(
|
||||
'name' => __( 'Downloads', 'dslc_string' ),
|
||||
'singular_name' => __( 'Download Item', 'dslc_string' ),
|
||||
'add_new' => __( 'Add Download Item', 'dslc_string' ),
|
||||
'add_new_item' => __( 'Add Download Item', 'dslc_string' ),
|
||||
'edit' => __( 'Edit', 'dslc_string' ),
|
||||
'edit_item' => __( 'Edit Download Item', 'dslc_string' ),
|
||||
'new_item' => __( 'New Download Item', 'dslc_string' ),
|
||||
'view' => __( 'View Download Item', 'dslc_string' ),
|
||||
'view_item' => __( 'View Download Item', 'dslc_string' ),
|
||||
'search_items' => __( 'Search Download Item', 'dslc_string' ),
|
||||
'not_found' => __( 'No Download Item found', 'dslc_string' ),
|
||||
'not_found_in_trash' => __( 'No Download Item found in Trash', 'dslc_string' ),
|
||||
'parent' => __( 'Parent Download Item', 'dslc_string' ),
|
||||
),
|
||||
'public' => true,
|
||||
'rewrite' => array( 'slug' => dslc_get_option( 'downloads_slug', 'dslc_plugin_options_cpt_slugs' ) ),
|
||||
'supports' => array( 'title', 'custom-fields', 'excerpt', 'editor', 'author', 'thumbnail' ),
|
||||
));
|
||||
|
||||
/**
|
||||
* Custom Taxonomies
|
||||
*/
|
||||
|
||||
register_taxonomy('dslc_downloads_cats', 'dslc_downloads', array( 'label' => 'Categories', 'hierarchical' => true, 'public' => true, 'rewrite' => array( 'slug' => dslc_get_option( 'downloads_cats_slug', 'dslc_plugin_options_cpt_slugs' ) )));
|
||||
register_taxonomy('dslc_downloads_tags', 'dslc_downloads', array( 'label' => 'Tags', 'hierarchical' => false, 'public' => true, 'rewrite' => array( 'slug' => dslc_get_option( 'downloads_tags_slug', 'dslc_plugin_options_cpt_slugs' ) )));
|
||||
|
||||
/**
|
||||
* Post Options
|
||||
*/
|
||||
|
||||
global $dslc_var_post_options;
|
||||
$dslc_var_post_options['dslc-downloads-module-options'] = array(
|
||||
'title' => 'Download Options',
|
||||
'show_on' => 'dslc_downloads',
|
||||
'options' => array(
|
||||
array(
|
||||
'label' => 'Downloadable File',
|
||||
'std' => '',
|
||||
'id' => 'dslc_download_file',
|
||||
'type' => 'file',
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
} add_action( 'init', 'dslc_downloads_module_init' );
|
||||
@@ -0,0 +1,38 @@
|
||||
<?php
|
||||
|
||||
/**
|
||||
* Table of contents
|
||||
*
|
||||
* - dslc_front_ ( Add a new modules section )
|
||||
*/
|
||||
|
||||
/**
|
||||
* Add a new module section
|
||||
*
|
||||
* @since 1.0
|
||||
*/
|
||||
|
||||
function dslc_dlm_count_increment( $atts ) {
|
||||
|
||||
// Get post ID
|
||||
$post_ID = $_POST['dslc_post_id'];
|
||||
|
||||
// Get current download count
|
||||
$download_count = get_post_meta( $post_ID, 'dslc_download_count', true );
|
||||
|
||||
// If no download count exists set it to 0
|
||||
if ( ! $download_count )
|
||||
$download_count = 0;
|
||||
|
||||
// Increment count by 1
|
||||
$download_count += 1;
|
||||
|
||||
// Update the count in DB
|
||||
update_post_meta( $post_ID, 'dslc_download_count', $download_count );
|
||||
|
||||
// Good night
|
||||
exit;
|
||||
|
||||
}
|
||||
add_action( 'wp_ajax_dslc-download-count-increment', 'dslc_dlm_count_increment' );
|
||||
add_action( 'wp_ajax_nopriv_dslc-download-count-increment', 'dslc_dlm_count_increment' );
|
||||