?AlkantarClanX12
| Current Path : /home/rankinh/villavanille/wp-content/themes/villa-vanille/helpers/ |
| Current File : /home/rankinh/villavanille/wp-content/themes/villa-vanille/helpers/helper.php |
<?php
if ( ! function_exists( 'drew_is_installed' ) ) {
/**
* Function that checks if forward plugin installed
*
* @param string $plugin - plugin name
*
* @return bool
*/
function drew_is_installed( $plugin ) {
switch ( $plugin ) {
case 'framework':
return class_exists( 'QodeFramework' );
case 'core':
return class_exists( 'DrewCore' );
case 'woocommerce':
return class_exists( 'WooCommerce' );
case 'gutenberg-page':
$current_screen = function_exists( 'get_current_screen' ) ? get_current_screen() : array();
return method_exists( $current_screen, 'is_block_editor' ) && $current_screen->is_block_editor();
case 'gutenberg-editor':
return class_exists( 'WP_Block_Type' );
default:
return false;
}
}
}
if ( ! function_exists( 'drew_include_theme_is_installed' ) ) {
/**
* Function that set case is installed element for framework functionality
*
* @param bool $installed
* @param string $plugin - plugin name
*
* @return bool
*/
function drew_include_theme_is_installed( $installed, $plugin ) {
if ( 'theme' === $plugin ) {
return class_exists( 'Drew_Handler' );
}
return $installed;
}
add_filter( 'qode_framework_filter_is_plugin_installed', 'drew_include_theme_is_installed', 10, 2 );
}
if ( ! function_exists( 'drew_template_part' ) ) {
/**
* Function that echo module template part.
*
* @param string $module name of the module from inc folder
* @param string $template full path of the template to load
* @param string $slug
* @param array $params array of parameters to pass to template
*/
function drew_template_part( $module, $template, $slug = '', $params = array() ) {
echo drew_get_template_part( $module, $template, $slug, $params ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! function_exists( 'drew_get_template_part' ) ) {
/**
* Function that load module template part.
*
* @param string $module name of the module from inc folder
* @param string $template full path of the template to load
* @param string $slug
* @param array $params array of parameters to pass to template
*
* @return string - string containing html of template
*/
function drew_get_template_part( $module, $template, $slug = '', $params = array() ) {
//HTML Content from template
$html = '';
$template_path = DREW_INC_ROOT_DIR . '/' . $module;
$temp = $template_path . '/' . $template;
if ( is_array( $params ) && count( $params ) ) {
extract( $params, EXTR_SKIP ); // @codingStandardsIgnoreLine
}
$template = '';
if ( ! empty( $temp ) ) {
if ( ! empty( $slug ) ) {
$template = "{$temp}-{$slug}.php";
if ( ! file_exists( $template ) ) {
$template = $temp . '.php';
}
} else {
$template = $temp . '.php';
}
}
if ( $template ) {
ob_start();
include( $template ); // phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
$html = ob_get_clean();
}
return $html;
}
}
if ( ! function_exists( 'drew_get_page_id' ) ) {
/**
* Function that returns current page id
* Additional conditional is to check if current page is any wp archive page (archive, category, tag, date etc.) and returns -1
*
* @return int
*/
function drew_get_page_id() {
$page_id = get_queried_object_id();
if ( drew_is_wp_template() ) {
$page_id = - 1;
}
return apply_filters( 'drew_filter_page_id', $page_id );
}
}
if ( ! function_exists( 'drew_is_wp_template' ) ) {
/**
* Function that checks if current page default wp page
*
* @return bool
*/
function drew_is_wp_template() {
return is_archive() || is_search() || is_404() || ( is_front_page() && is_home() );
}
}
if ( ! function_exists( 'drew_get_ajax_status' ) ) {
/**
* Function that return status from ajax functions
*
* @param string $status - success or error
* @param string $message - ajax message value
* @param string|array $data - returned value
* @param string $redirect - url address
*/
function drew_get_ajax_status( $status, $message, $data = null, $redirect = '' ) {
$response = array(
'status' => esc_attr( $status ),
'message' => esc_html( $message ),
'data' => $data,
'redirect' => ! empty( $redirect ) ? esc_url( $redirect ) : '',
);
$output = json_encode( $response );
exit( $output ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! function_exists( 'drew_get_button_element' ) ) {
/**
* Function that returns button with provided params
*
* @param array $params - array of parameters
*
* @return string - string representing button html
*/
function drew_get_button_element( $params ) {
if ( class_exists( 'DrewCore_Button_Shortcode' ) ) {
return DrewCore_Button_Shortcode::call_shortcode( $params );
} else {
$link = isset( $params['link'] ) ? $params['link'] : '#';
$target = isset( $params['target'] ) ? $params['target'] : '_self';
$text = isset( $params['text'] ) ? $params['text'] : '';
return '<a itemprop="url" class="qodef-theme-button" href="' . esc_url( $link ) . '" target="' . esc_attr( $target ) . '">' . esc_html( $text ) . '</a>';
}
}
}
if ( ! function_exists( 'drew_render_button_element' ) ) {
/**
* Function that render button with provided params
*
* @param array $params - array of parameters
*/
function drew_render_button_element( $params ) {
echo drew_get_button_element( $params ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! function_exists( 'drew_class_attribute' ) ) {
/**
* Function that render class attribute
*
* @param string|array $class
*/
function drew_class_attribute( $class ) {
echo drew_get_class_attribute( $class ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! function_exists( 'drew_get_class_attribute' ) ) {
/**
* Function that return class attribute
*
* @param string|array $class
*
* @return string|mixed
*/
function drew_get_class_attribute( $class ) {
return drew_is_installed( 'framework' ) ? qode_framework_get_class_attribute( $class ) : '';
}
}
if ( ! function_exists( 'drew_get_post_value_through_levels' ) ) {
/**
* Function that returns meta value if exists
*
* @param string $name name of option
* @param int $post_id id of
*
* @return string value of option
*/
function drew_get_post_value_through_levels( $name, $post_id = null ) {
return drew_is_installed( 'framework' ) && drew_is_installed( 'core' ) ? drew_core_get_post_value_through_levels( $name, $post_id ) : '';
}
}
if ( ! function_exists( 'drew_get_space_value' ) ) {
/**
* Function that returns spacing value based on selected option
*
* @param string $text_value - textual value of spacing
*
* @return int
*/
function drew_get_space_value( $text_value ) {
return drew_is_installed( 'core' ) ? drew_core_get_space_value( $text_value ) : 0;
}
}
if ( ! function_exists( 'drew_wp_kses_html' ) ) {
/**
* Function that does escaping of specific html.
* It uses wp_kses function with predefined attributes array.
*
* @param string $type - type of html element
* @param string $content - string to escape
*
* @return string escaped output
* @see wp_kses()
*
*/
function drew_wp_kses_html( $type, $content ) {
return drew_is_installed( 'framework' ) ? qode_framework_wp_kses_html( $type, $content ) : $content;
}
}
if ( ! function_exists( 'drew_render_svg_icon' ) ) {
/**
* Function that print svg html icon
*
* @param string $name - icon name
* @param string $class_name - custom html tag class name
*/
function drew_render_svg_icon( $name, $class_name = '' ) {
echo drew_get_svg_icon( $name, $class_name ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
}
}
if ( ! function_exists( 'drew_get_svg_icon' ) ) {
/**
* Returns svg html
*
* @param string $name - icon name
* @param string $class_name - custom html tag class name
*
* @return string - string containing svg html
*/
function drew_get_svg_icon( $name, $class_name = '' ) {
$html = '';
$class = isset( $class_name ) && ! empty( $class_name ) ? 'class="' . esc_attr( $class_name ) . '"' : '';
switch ( $name ) {
case 'menu':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 40 9"><rect width="40" height="1"/><rect y="8" width="40" height="1"/></svg>';
break;
case 'search':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 15 14.29"><path d="M9.42.12A5.69,5.69,0,0,0,4.74,9.06L.12,13.68l.73.73L5.4,9.85a5.7,5.7,0,1,0,4-9.73Zm0,10.36a4.67,4.67,0,1,1,4.67-4.66A4.67,4.67,0,0,1,9.42,10.48Z" transform="translate(-0.12 -0.12)"/></svg>';
break;
case 'star':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 14.86 14.21"><path d="M14.45,5.64,11,9l.79,4.79L7.53,11.54,3.24,13.79,4.06,9,.59,5.64l4.78-.71L7.53.58,9.67,4.93Z" transform="translate(-0.09 -0.08)"/></svg>';
break;
case 'menu-arrow-right':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="32" height="32" viewBox="0 0 32 32"><g><path d="M 13.8,24.196c 0.39,0.39, 1.024,0.39, 1.414,0l 6.486-6.486c 0.196-0.196, 0.294-0.454, 0.292-0.71 c0-0.258-0.096-0.514-0.292-0.71L 15.214,9.804c-0.39-0.39-1.024-0.39-1.414,0c-0.39,0.39-0.39,1.024,0,1.414L 19.582,17 L 13.8,22.782C 13.41,23.172, 13.41,23.806, 13.8,24.196z"></path></g></svg>';
break;
case 'slider-arrow-left':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10.25 19.41"><g><g><path d="M.06,9.44,9.42.15l.89.82-9,8.88,8.88,8.89-.82.82L.06,10.26Z" transform="translate(-0.06 -0.15)"/></g></g></svg>';
break;
case 'slider-arrow-right':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10.25 19.41"><g><g><path d="M10.31,10.26,1,19.56l-.89-.82L9,9.85.13,1,1,.15l9.36,9.29Z" transform="translate(-0.06 -0.15)"/></g></g></svg>';
break;
case 'pagination-arrow-left':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.09 8.94"><g><g><path d="M0,4.5a.51.51,0,0,1,.18-.41L4.05.23a.54.54,0,0,1,.84,0,.5.5,0,0,1,0,.82L1.45,4.5,4.87,8a.48.48,0,0,1,.18.39.61.61,0,0,1-.18.43.52.52,0,0,1-.82,0L.19,4.91A.51.51,0,0,1,0,4.5Z" transform="translate(-0.01 -0.03)"/></g></g></svg>';
break;
case 'pagination-arrow-right':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.09 8.94"><g><g><path d="M5.09,4.5a.51.51,0,0,1-.18.41L1.05,8.77a.54.54,0,0,1-.84,0A.5.5,0,0,1,.23,8L3.65,4.5.23,1.05A.48.48,0,0,1,.05.66.61.61,0,0,1,.23.23a.52.52,0,0,1,.82,0L4.91,4.09A.51.51,0,0,1,5.09,4.5Z" transform="translate(-0.01 -0.03)"/></g></g></svg>';
break;
case 'close':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="22.25px" height="22.25px" viewBox="0 0 22.25 22.25" enable-background="new 0 0 22.25 22.25" xml:space="preserve"><line fill="none" stroke-miterlimit="10" x1="1" y1="0.64" x2="21.609" y2="21.25"/><line fill="none" stroke-miterlimit="10" x1="21.609" y1="0.64" x2="1" y2="21.25"/></svg>';
break;
case 'spinner':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" width="512" height="512" viewBox="0 0 512 512"><path d="M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z"></path></svg>';
break;
case 'link':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 134.47 134.67" width="134px" height="134px"><defs><style>.cls-1{fill:#dae5d6;}</style></defs><g id="Group_81" data-name="Group 81"><path id="Path_77" data-name="Path 77" class="cls-1" d="M134.25,27.82c-3.1-15-20-25.06-20.75-25.51-24-12.19-56.26,31.6-57.6,33.47l-1.32,1.81,24,3.5.49-.69C89.91,25,98.43,21.16,103.69,20.65c5.5-.49,8.43,2.3,8.55,2.42a9.35,9.35,0,0,1,2.87,7.37C114.64,43.05,95.17,59.76,94.87,60,85.37,70,76.75,74.8,70,74.08a10.92,10.92,0,0,1-8-4.68l-.82-1.35L47.71,79.25l.45,1c3.63,7.67,15.54,11.6,16,11.75a22.36,22.36,0,0,0,7,1.1c26.64,0,56.75-43.42,58.11-45.39C134,41.27,135.65,34.59,134.25,27.82Z" transform="translate(-0.27 -0.17)"/><path id="Path_78" data-name="Path 78" class="cls-1" d="M55.93,94.59C45.09,110,36.56,113.83,31.31,114.34c-5.55.51-8.43-2.3-8.54-2.41a9.34,9.34,0,0,1-2.89-7.38C20.35,91.94,39.82,75.23,40.12,75c9.5-9.94,18-14.81,24.93-14.07a10.92,10.92,0,0,1,8,4.69l.84,1.35,13.43-11.2-.44-1C83.21,47.11,71.3,43.19,70.8,43c-28-9.18-63.66,42.13-65.12,44.3C1,93.73-.65,100.41.75,107.17c3.1,15,20,25.06,20.75,25.53a19.71,19.71,0,0,0,9.07,2.13c22.32,0,47.34-34,48.52-35.61l1.32-1.81-24-3.49Z" transform="translate(-0.27 -0.17)"/></g></svg>';
break;
case 'quote':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" viewBox="0 0 183.16 151.17" width="183px" height="151px"><defs><style>.cls-12{fill:#f7e0de;}</style></defs><g id="Group_80" data-name="Group 80"><g id="Group_59" data-name="Group 59"><g id="Group_57" data-name="Group 57"><path id="Path_73" data-name="Path 73" class="cls-12" d="M183.58.42,157.82,26.16a13.82,13.82,0,0,0-1,1.14L142.63,46a15.09,15.09,0,0,0-2.56,4.67l-6.75,20.67s-3.69,6.21,3.23,12.41c8.84,7.94,9.84,14.53,9.84,14.53l4.41,19s2.11,26-19.61,32.27c0,0-24.33,6.12-40.14-2.57,0,0-16.53-24.37-6.07-50.63l18.5-34.75,23.28-29.61L166.11,2.42l.38-.27,2.07-.84Z" transform="translate(-0.42 -0.42)"/></g><g id="Group_58" data-name="Group 58"><path id="Path_74" data-name="Path 74" class="cls-12" d="M102.48.42,76.72,26.16a13.82,13.82,0,0,0-1,1.14L61.53,46A14.86,14.86,0,0,0,59,50.65L52.22,71.32s-3.69,6.21,3.23,12.41c8.84,7.94,9.84,14.53,9.84,14.53l4.41,19s2.11,26-19.6,32.27c0,0-24.33,6.12-40.14-2.57,0,0-16.53-24.37-6.08-50.63l18.5-34.75L45.66,31.93,85,2.42l.37-.27,2.08-.84Z" transform="translate(-0.42 -0.42)"/></g></g></g></svg>';
break;
case 'play':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" width="21.47" viewBox="0 0 21.47 25.77"><polygon points="0.5 0.88 20.5 12.88 20.5 12.88 0.5 24.88 0.5 0.88"/></svg>';
break;
case 'preloader':
$html = '<svg ' . $class . ' xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 411.5 364" enable-background="new 0 0 411.5 364" xml:space="preserve"><path fill="none" d="M137.539,230.184c-2.194,2.4-4.469,4.773-6.891,7.281l-1.354,1.393c13.675-5.949,30.165-10.373,46.543-13.646v-32.906c-5.605,5.043-10.95,10.141-16.121,15.256C152.063,215.131,144.799,222.656,137.539,230.184z"/><path fill="none" d="M165.285,189.154l1.006-0.951c3.114-2.752,6.262-5.574,9.546-8.415v-10.014c-0.454,1.458-0.932,2.948-1.468,4.513C172.576,179.472,168.855,184.521,165.285,189.154z"/><path class="qodef-leaf" d="M125.734,224.568c2.875-5.828,6.174-23.176,8.811-41.801c3.377-23.254,5.861-48.714,5.425-56.31l-0.151-1.655l-0.166-3.168l-2.299,2.177c-42.132,40.686-31.904,76.517-25.563,98.693c1.661,5.785,3.016,10.609,3.114,14.223l0.104,3.334l6.512-6.764C123.3,229.707,125.086,225.836,125.734,224.568z"/><path class="qodef-leaf" d="M60.75,283.018c2.775-9.441,5.568-18.404,6.324-20.482c7.416-21.406,6.8-45.074,6.137-68.104c-0.18-4.68-0.278-9.328-0.346-14.061l-0.008-1.791l-1.716,0.316c-4.592,0.965-8.798,9.417-12.226,20.125c-5.323,16.703-9.101,39.246-9.474,45.701c-0.273,3.854-0.676,8.322-1.084,13.07c-1.347,15.609-3.06,34.289-0.204,48.699l8.404-9.369C57.822,292.873,59.275,287.848,60.75,283.018z"/><path class="qodef-leaf" d="M238.898,91.472c6-26.063,8.455-52.474,4.602-64.138l-0.803-2.459l-1.678,2.026c-1.682,2.025-2.951,3.443-4.109,4.813c-7.979,9.241-12.025,13.888-15.021,20.048c-3.107,6.213-5.105,13.771-9.184,28.859l-2.119,7.89c-2.398,8.918-5.064,23.484-7.1,37.622c-1.748,12.829-2.983,25.277-2.713,32.814v1.037l19.695-15.809C227.797,131.028,234.408,111.308,238.898,91.472z"/><path class="qodef-leaf" d="M210.191,184.316c7.313,0.873,14.746,1.41,22.195,1.393c14.42-0.023,28.396-1.15,41.738-4.676c13.258-3.555,25.828-9.618,37.387-19.63l1.455-1.162l-1.563-1.133c-4.289-2.976-13.875-4.58-24.139-5.115c-12.473-0.681-26.158,0.177-32.535,1.901c-11.709,3.179-21.16,6.894-27.982,9.589c-4.613,1.803-8.006,3.112-9.922,3.452c-9.484,1.726-14.73,3.206-18.242,4.565l-7.577,7.88C197.359,182.56,203.771,183.58,210.191,184.316z"/><path class="qodef-leaf" d="M286.326,72.203c5.039-11.254,9.305-20.906,9.379-21.63c0.107-2.88,1.879-13.441,3.584-23.556c1.838-11.005,3.578-21.48,2.537-22.236l-0.41-0.433l-0.705,0.121c-0.473,0.014-1.127,0.249-1.693,0.513c-6.799,2.893-18.469,19.171-27.662,38.985c-9.242,19.706-16.182,43.167-13.629,60.479c0.369,2.866,1.051,5.657,2.018,8.173l11.926-8.18C274.887,97.418,281.051,83.842,286.326,72.203z"/><path class="qodef-leaf" d="M276.318,213.564l-38.189,2.951c-12.805,1.273-33.523,3.334-55.137,7.332c-2.376,0.43-4.765,0.885-7.155,1.363c-16.378,3.273-32.868,7.697-46.543,13.646l-19.03,19.152c5.771,0.971,10.588,1.971,14.988,2.822c14.035,2.85,23.089,4.637,46.012,1.963c1.523-0.174,3.048-0.402,4.573-0.67c20.321-3.561,40.728-14.982,60.3-25.9c14.189-7.926,27.924-15.635,40.75-19.816l1.064-1.732L276.318,213.564z"/><path class="qodef-leaf" d="M269.295,118.733c0.613,0.129,1.029,0.28,1.33,0.484c9.369,4.54,18.746,6.73,28.275,7.468c9.527,0.738,19.178,0.107,29.039-1.105c8.178-0.981,23.689-5.032,37.627-9.938c11.45-4.023,21.993-8.661,26.698-12.786l0.682-1.484l-2.158-0.936c-0.082-0.031-5.828-0.805-12.613-1.578c-9.575-1.131-21.015-2.564-22.815-2.28c-10.844,1.327-20.102,3.982-28.967,6.593c-13.719,4.047-26.674,7.803-43.5,5.635l-14.988,9.607C268.35,118.482,268.879,118.582,269.295,118.733z"/><path fill="none" d="M67.1,299.525l0.275-0.307c-0.1,0.107-0.199,0.213-0.299,0.32C67.084,299.535,67.092,299.531,67.1,299.525z"/><path class="qodef-leaf" d="M61.611,321.277l2.064,0.281c14.061,2.012,28.225-0.932,41.648-6.498c17.138-7.227,33.104-18.738,45.871-30.002l2.465-2.117l-3.236-0.424c-4.605-0.549-17.432,0.527-30.582,2.236c-14.559,1.951-29.691,4.447-34.666,6.213c-6.97,2.35-12.847,5.57-18.076,8.559l-17.351,19.41C53.438,320.186,57.848,320.754,61.611,321.277z"/><path class="qodef-leaf" d="M174.369,174.288c0.536-1.564,1.014-3.055,1.468-4.513c4.57-14.69,5.192-24.382,6.019-37.017c0.281-4.134,0.598-8.633,1.105-13.909c0.51-5.275,0.007-32.103-0.256-45.1c-0.098-3.614-0.438-5.527-0.393-6.167l0.062-0.168l-2.483-1.467c-0.173,0.22-2.003,5.768-3.477,10.596c-0.198,0.633-0.392,1.254-0.577,1.853c-0.882,2.843-1.579,5.15-1.611,5.449c-0.737,14.704-5.913,30.993-10.782,46.45c-4.354,13.764-8.461,26.86-9.264,37.868c-1.222,16.035-1.229,16.316-0.763,23.83c0.147,1.934,0.274,4.43,0.454,8.074l11.414-10.912C168.855,184.521,172.576,179.472,174.369,174.288z"/><path class="qodef-branch" d="M399.692,33.529c-0.453,0.212-18.301,6.804-34.054,12.556c-11.285,4.084-21.381,7.753-23.643,8.53c-10.48,3.435-19.605,8.306-28.031,14.374c-8.391,5.983-16.01,13.192-23.4,21.33c-1.59,1.775-3.313,3.408-5.201,4.981c-2.152,1.757-4.494,3.541-6.666,5.105c-1.73,0.877-3.299,1.813-4.607,2.56c-0.936,0.506-1.76,0.96-2.42,1.474l-11.926,8.18c-6.027,4.397-11.691,8.833-17.16,13.243c-5.84,4.656-11.314,9.348-16.844,13.925l-5.271,4.389l-19.695,15.809l-0.576,0.543c-1.398,0.996-2.83,2.077-4.26,3.157c-2.855,2.161-5.716,4.321-8.459,6.429c-2.521,2.004-4.957,4.033-7.391,6.067l-0.745,0.666l-0.703,0.498l-1.073,0.883l-0.603,0.584c-0.38,0.326-0.75,0.651-1.127,0.977c-3.284,2.841-6.432,5.663-9.546,8.415l-1.006,0.951l-11.414,10.912c-3.827,3.783-7.686,7.652-11.489,11.635c-4.031,4.088-7.835,8.07-11.64,12.053c-3.057,3.219-6.111,6.438-9.223,9.543l-6.512,6.764c-4.287,4.277-8.578,8.553-13.063,12.852c-4.742,4.488-9.567,8.945-14.641,13.314c-5.794,5.045-11.719,10.707-17.596,16.758c-4.408,4.609-8.764,9.332-13.151,14.139l-8.404,9.369c-2.428,2.787-4.683,5.357-6.792,7.791l-0.317,0.354l-0.03,0.086c-11.763,13.42-22.511,25.607-30.884,32.822l-3.872,3.395l-1.089,0.922l0.921,1.088l4.318,4.961l0.923,1.09l1.12-1.006l3.841-3.309c8.773-7.541,19.726-20.031,31.663-33.672l0.142-0.135l1.651-1.943l17.351-19.41c-0.008,0.006-0.016,0.01-0.024,0.014c0.1-0.107,0.199-0.213,0.299-0.32l0.006-0.008l-0.006,0.008c3.303-3.551,6.606-7.096,9.852-10.484c5.499-5.533,10.908-10.814,16.24-15.369c3.038-2.66,5.998-5.35,8.811-7.904c2.813-2.553,5.401-5.002,7.986-7.451l19.03-19.152l1.354-1.393c2.422-2.508,4.696-4.881,6.891-7.281c7.26-7.527,14.523-15.053,22.177-22.623c5.171-5.115,10.516-10.213,16.121-15.256c2.691-2.422,5.437-4.832,8.263-7.225c3.149-1.396,5.28-2.598,6.907-3.7l7.577-7.88c0.945-0.785,1.943-1.461,2.973-2.217c5.318-3.994,10.438-7.967,15.422-12.088c4.955-4.035,9.824-8.1,14.811-12.216c5.701-4.799,11.52-9.649,17.531-14.522c5.838-4.652,11.986-9.381,18.584-14.044l14.988-9.607l0.113-0.055c1.166-0.609,2.73-1.547,4.152-2.349c1.99-1.063,3.754-2.021,5.063-2.769c1.307-0.751,2.502-1.445,3.24-1.927c2.408-0.914,4.896-1.798,7.354-2.597c2.77-0.876,5.393-1.615,7.539-2.34c7.717-0.489,16.223-3.416,24.277-7.169c8.086-3.838,15.748-8.581,21.85-12.67c22.306-14.949,23.608-16.451,30.005-24.197c2.898-3.56,6.953-8.488,14.908-16.891l5.191-5.455L399.692,33.529z"/></svg>';
break;
}
return apply_filters( 'drew_filter_svg_icon', $html );
}
}