<?php
/**
 * Default customizer values.
 *
 * @package NewsMass
 */
if (!function_exists('newsmass_get_all_customizer_default_values')) :
    /**
     * Get default customizer values.
     *
     * @return array Default customizer values.
     * @since 1.0.0
     *
     */
    function newsmass_get_all_customizer_default_values()
    {

        $defaults = array();

        // sidebar
        $defaults['hide_title'] = false;
        $defaults['hide_tagline'] = false;

        $defaults['sidebar_layout_option'] = 'right-sidebar';
        $defaults['single_sidebar_layout_option'] = 'right-sidebar';
        $defaults['enable_sidebar_fix_archive'] = true;
        $defaults['enable_sidebar_fix_single'] = true;

        // preloader
        $defaults['enable_preloader_options'] = true;
        $defaults['newsmass_preloader_style'] = 'style-1';

        // breadrumbs
        $defaults['enable_breadcrumb'] = true;

        $defaults['enable_social_mobile_menu'] = true;
        $defaults['select_mobile_social_menu_style'] = 'has-brand-background ';
        $defaults['enable_mobile_social_nav_border_radius'] = true;
        $defaults['enable_copyright_in_menu'] = true;

        // topbar
        $defaults['select_header_layout_style'] = 'header_style_1';
        $defaults['enable_top_bar'] = true;
        $defaults['hide_topbar_on_mobile'] = false;
        $defaults['enable_header_time'] = true;
        $defaults['enable_header_date'] = true;
        $defaults['date_label_text'] = esc_html__('Today:', 'newsmass');
        $defaults['todays_date_format'] = 'l, F j Y';
        $defaults['enable_social_nav_on_topbar'] = true;
        $defaults['enable_social_nav_border_radius'] = false;
        $defaults['select_top_bar_social_menu_style'] = 'has-brand-background';

        //ticker post
        $defaults['enable_ticker_posts'] = true;
        $defaults['enable_ticker_label'] = true;
        $defaults['ticker_label_text'] = esc_html__('News Flash', 'newsmass');
        $defaults['ticker_posts_cat'] = '';
        $defaults['no_of_ticker_posts'] = 7;
        $defaults['ticker_posts_orderby'] = 'date';
        $defaults['ticker_posts_order'] = 'desc';
        $defaults['enable_ticker_posts_author_meta'] = true;
        $defaults['select_ticker_posts_author_meta'] = 'with_icon';
        $defaults['single_ticker_post_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['ticker_posts_author_meta_title'] = esc_html__('Posted by', 'newsmass');
        $defaults['enable_ticker_posts_date_meta'] = true;
        $defaults['select_ticker_posts_date'] = 'with_icon';
        $defaults['select_ticker_posts_date_format'] = 'classic';
        $defaults['enable_ticker_posts_category_meta'] = false;
        $defaults['ticker_posts_category_label'] = '';
        $defaults['select_ticker_posts_category_color'] = 'none';
        $defaults['select_ticker_posts_number_of_category'] = 2;

        //popular post
        $defaults['enable_popular_posts'] = true;
        $defaults['enable_popular_label'] = true;
        $defaults['popular_post_cat'] = '';
        $defaults['no_of_popular_posts'] = 8;
        $defaults['popular_post_orderby'] = 'date';
        $defaults['popular_post_order'] = 'desc';

        $defaults['enable_popular_post_author_meta'] = false;
        $defaults['select_popular_post_author_meta'] = 'with_icon';
        $defaults['select_popular_post_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['popular_post_author_meta_title'] = esc_html__('Posted by', 'newsmass');
        $defaults['enable_popular_post_date_meta'] = true;
        $defaults['select_popular_post_date'] = 'with_icon';
        $defaults['select_popular_post_date_format'] = 'classic';
        $defaults['enable_popular_post_category_meta'] = true;
        $defaults['popular_post_category_label'] = '';
        $defaults['select_popular_post_category_color'] = 'none';
        $defaults['select_popular_post_number_of_category'] = 2;

        $defaults['popular_post_column'] = 3;
        $defaults['enable_popular_post_autoplay'] = false;
        $defaults['enable_popular_post_arrows'] = true;
        $defaults['enable_popular_post_dots'] = false;

        // tags
        $defaults['enable_tags'] = true;
        $defaults['enable_tags_label'] = true;
        $defaults['tags_label_text'] = esc_html__('Tagged', 'newsmass');
        $defaults['tags_orderby'] = 'date';
        $defaults['tags_order'] = 'desc';
        $defaults['no_of_tags'] = 6;
        $defaults['tags_label_style'] = 'style_2';
        $defaults['hide_tags_label_responsive'] = true;

        // excerpt
        $defaults['number_of_word_in_excerpt'] = '20';
        $defaults['excerpt_posts_title_limit'] = '';
        $defaults['archive_excerpt_button_text'] = esc_html__('Learn More', 'newsmass');

        // archive options
        $defaults['archive_layout'] = 'archive_style_1';
        $defaults['archive_posts_title_limit'] = '';
        $defaults['enable_excerpt_on_archive_1'] = true;
        $defaults['enable_excerpt_on_archive_2'] = false;
        $defaults['select_author_meta'] = 'with_label';
        $defaults['archive_author_meta_title'] = esc_html__('by', 'newsmass');
        $defaults['enable_archive_author_meta'] = true;
        $defaults['enable_archive_date_meta'] = true;
        $defaults['archive_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['select_date_format'] = 'classic';
        $defaults['select_archive_date'] = 'with_label';


        $defaults['enable_category_meta'] = true;
        $defaults['archive_category_label'] = '';
        $defaults['select_category_style'] = 'archive_cat_style_2';
        $defaults['number_of_category_to_display'] = '2';
        $defaults['select_category_color'] = 'has-background';
        $defaults['enable_tag_meta'] = false;
        $defaults['enable_comment_meta'] = true;
        $defaults['enable_read_time_meta'] = true;
        $defaults['select_read_time_style'] = 'archive_read_time_style_1';
        $defaults['enable_excerpt'] = true;

        $defaults['select_pagination_style'] = 'pagination_default';


        // single options
        $defaults['enable_single_author_meta'] = true;
        $defaults['single_author_meta_title'] = esc_html__('by', 'newsmass');
        $defaults['select_single_author_meta'] = 'with_label';
        $defaults['enable_single_date_meta'] = true;
        $defaults['select_single_date'] = 'with_label';
        $defaults['single_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['select_single_date_format'] = 'classic';
        $defaults['enable_single_category_meta'] = true;
        $defaults['single_category_label'] = '';
        $defaults['select_single_category_color'] = 'has-background';
        $defaults['enable_single_tag_meta'] = true;
        $defaults['enable_single_read_time_meta'] = true;


        $defaults['show_author_info'] = true;
        $defaults['show_sticky_article_navigation'] = true;

        // single related post
        $defaults['show_related_posts'] = true;
        $defaults['related_posts_text'] = __('You May Also Like', 'newsmass');
        $defaults['no_of_related_posts'] = 3;
        $defaults['related_posts_orderby'] = 'date';
        $defaults['related_posts_order'] = 'desc';
        $defaults['author_posts_orderby'] = 'date';
        $defaults['enable_related_posts_author_meta'] = true;
        $defaults['select_related_posts_author_meta'] = 'with_icon';
        $defaults['single_related_post_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['related_posts_author_meta_title'] = esc_html__('Posted by', 'newsmass');
        $defaults['enable_related_posts_date_meta'] = true;
        $defaults['select_related_posts_date'] = 'with_icon';
        $defaults['select_related_posts_date_format'] = 'classic';
        $defaults['enable_related_posts_category_meta'] = true;
        $defaults['related_posts_category_label'] = '';
        $defaults['select_related_posts_category_color'] = 'none';
        $defaults['select_related_posts_number_of_category'] = 2;

        // single author post
        $defaults['author_posts_order'] = 'desc';
        $defaults['show_author_posts'] = true;
        $defaults['author_posts_text'] = __('More From Author', 'newsmass');
        $defaults['no_of_author_posts'] = 3;

        $defaults['enable_author_posts_author_meta'] = true;
        $defaults['select_author_posts_author_meta'] = 'with_icon';
        $defaults['single_author_post_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['author_posts_author_meta_title'] = esc_html__('Posted by', 'newsmass');
        $defaults['enable_author_posts_date_meta'] = true;
        $defaults['select_author_posts_date'] = 'with_icon';
        $defaults['select_author_posts_date_format'] = 'classic';
        $defaults['enable_author_posts_category_meta'] = true;
        $defaults['author_posts_category_label'] = '';
        $defaults['select_author_posts_category_color'] = 'none';
        $defaults['select_author_posts_number_of_category'] = 2;


        // footer recommended section
        $defaults['enable_recommended_post'] = true;
        $defaults['recommended_post_layout'] = 'wpi-post-recommendation-1';
        $defaults['recommended_post_title'] = esc_html__('Just For You', 'newsmass');
        $defaults['recommended_post_category'] = '';
        
        $defaults['enable_recommended_post_author_meta'] = false;
        $defaults['select_recommended_post_author_meta'] = 'with_avatar_image';
        $defaults['select_recommended_post_date_meta_title'] = esc_html__('Posted on', 'newsmass');
        $defaults['recommended_post_author_meta_title'] = esc_html__('Posted by', 'newsmass');
        $defaults['enable_recommended_post_date_meta'] = true;
        $defaults['select_recommended_post_date'] = 'with_icon';
        $defaults['select_recommended_post_date_format'] = 'classic';
        $defaults['enable_recommended_post_category_meta'] = true;
        $defaults['recommended_post_category_label'] = '';
        $defaults['select_recommended_post_category_color'] = 'has-background';
        $defaults['select_recommended_post_number_of_category'] = 2;

        //featured category section
        $defaults['enable_featured_category'] = false;
        $defaults['featured_category_title'] = esc_html__('Categories', 'newsmass');
        // footer widget section
        $defaults['enable_footer_widget'] = true;
        $defaults['footer_column_layout'] = 'footer_layout_2';

        // footer section
        $defaults['copyright_text'] = esc_html__('&copy; All rights reserved. Proudly powered by WordPress.', 'newsmass');
        $defaults['copyright_date_format'] = 'Y';
        $defaults['enable_footer_nav'] = false;
        $defaults['enable_footer_social_nav'] = true;
        $defaults['enable_footer_social_nav_border_radius'] = false;
        $defaults['select_footer_social_menu_style'] = 'has-brand-background';
        
        $defaults['enable_footer_scroll_to_top'] = true;
        $defaults['enable_footer_progressbar'] = true;


        $defaults = apply_filters('newsmass_default_customizer_values', $defaults);
        return $defaults;
    }
endif;