dvadf
File manager - Edit - /home/centroca/public_html/customizer.tar
Back
override-defaults.php 0000644 00000004344 15252526160 0010712 0 ustar 00 <?php /** * Override default customizer panels, sections, settings or controls. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Override Sections */ $wp_customize->get_section( 'title_tagline' )->priority = 5; /** * Override Settings */ $wp_customize->get_setting( 'blogname' )->transport = 'postMessage'; $wp_customize->get_setting( 'blogdescription' )->transport = 'postMessage'; $wp_customize->get_setting( 'header_textcolor' )->transport = 'postMessage'; $wp_customize->get_setting( 'custom_logo' )->transport = 'refresh'; /** * Override Controls */ $wp_customize->get_control( 'custom_logo' )->priority = 5; $wp_customize->get_control( 'blogname' )->priority = 7; $wp_customize->get_control( 'blogdescription' )->priority = 10; $wp_customize->get_control( 'header_textcolor' )->priority = 9; $wp_customize->get_control( 'site_icon' )->priority = 6; if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogname', array( 'selector' => '.main-header-bar .site-title a, .ast-small-footer-wrap .ast-footer-site-title', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_partial_site_title' ), ) ); } if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( 'blogdescription', array( 'selector' => '.main-header-bar .site-description', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_partial_site_tagline' ), ) ); } /* * Modify WooCommerce default section priorities */ if ( class_exists( 'WooCommerce' ) ) { $wp_customize->get_section( 'woocommerce_store_notice' )->priority = 9; $wp_customize->get_section( 'woocommerce_product_catalog' )->priority = 11; $wp_customize->get_section( 'woocommerce_checkout' )->priority = 21; $wp_customize->get_panel( 'woocommerce' )->priority = 70; } configurations/layout/class-astra-sidebar-layout-configs.php 0000644 00000011677 15252526160 0020431 0 ustar 00 <?php /** * Bottom Footer Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Sidebar_Layout_Configs' ) ) { /** * Register Astra Sidebar Layout Configurations. */ class Astra_Sidebar_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Astra Sidebar Layout Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Default Sidebar Position */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'section' => 'section-sidebars', 'default' => astra_get_option( 'site-sidebar-layout' ), 'priority' => 5, 'title' => __( 'Default Layout', 'astra' ), 'choices' => array( 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-sidebar-layout-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-sidebars', 'priority' => 5, 'settings' => array(), ), /** * Option: Page */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'section' => 'section-sidebars', 'default' => astra_get_option( 'single-page-sidebar-layout' ), 'priority' => 5, 'title' => __( 'Pages', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Blog Post */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-post-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-post-sidebar-layout' ), 'section' => 'section-sidebars', 'priority' => 5, 'title' => __( 'Blog Posts', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Blog Post Archive */ array( 'name' => ASTRA_THEME_SETTINGS . '[archive-post-sidebar-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'archive-post-sidebar-layout' ), 'section' => 'section-sidebars', 'priority' => 5, 'title' => __( 'Archives', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'no-sidebar' => __( 'No Sidebar', 'astra' ), 'left-sidebar' => __( 'Left Sidebar', 'astra' ), 'right-sidebar' => __( 'Right Sidebar', 'astra' ), ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-sidebar-width]', 'type' => 'control', 'section' => 'section-sidebars', 'control' => 'ast-divider', 'priority' => 10, 'settings' => array(), ), /** * Option: Primary Content Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-sidebar-width]', 'type' => 'control', 'control' => 'ast-slider', 'default' => 30, 'section' => 'section-sidebars', 'priority' => 15, 'title' => __( 'Sidebar Width', 'astra' ), 'suffix' => '%', 'input_attrs' => array( 'min' => 15, 'step' => 1, 'max' => 50, ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-sidebar-width-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-sidebars', 'priority' => 15, 'title' => '', 'help' => __( 'Sidebar width will apply only when one of the above sidebar is set.', 'astra' ), 'settings' => array(), ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Sidebar_Layout_Configs(); configurations/layout/class-astra-site-identity-configs.php 0000644 00000024505 15252526160 0020272 0 ustar 00 <?php /** * Bottom Footer Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Site_Identity_Configs' ) ) { /** * Register Astra Customizerr Site identity Customizer Configurations. */ class Astra_Site_Identity_Configs extends Astra_Customizer_Config_Base { /** * Register Astra Customizerr Site identity Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Notice for Colors - Transparent header enabled on page. */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-transparent-header-logo-notice]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'title_tagline', 'priority' => 1, 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[different-transparent-logo]', '==', true ), ), ), 'active_callback' => array( $this, 'is_transparent_header_enabled' ), 'help' => $this->get_help_text_notice( 'transparent-header' ), ), /** * Option: Transparent Header Section - Link. */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-transparent-header-logo-notice-link]', 'default' => astra_get_option( 'header-transparent-header-logo-notice-link' ), 'type' => 'control', 'control' => 'ast-customizer-link', 'section' => 'title_tagline', 'priority' => 1, 'link_type' => 'control', 'linked' => ASTRA_THEME_SETTINGS . '[transparent-header-logo]', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[different-transparent-logo]', '==', true ), ), ), 'link_text' => '<u>' . __( 'Customize Transparent Header.', 'astra' ) . '</u>', 'active_callback' => array( $this, 'is_transparent_header_enabled' ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-site-identity-logo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'title_tagline', 'title' => __( 'Site Logo', 'astra' ), 'priority' => 2, 'settings' => array(), ), /** * Option: Different retina logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[different-retina-logo]', 'type' => 'control', 'control' => 'checkbox', 'section' => 'title_tagline', 'title' => __( 'Different Logo For Retina Devices?', 'astra' ), 'default' => false, 'priority' => 5, ), /** * Option: Retina logo selector */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-header-retina-logo]', 'default' => astra_get_option( 'ast-header-retina-logo' ), 'type' => 'control', 'control' => 'image', 'section' => 'title_tagline', 'required' => array( ASTRA_THEME_SETTINGS . '[different-retina-logo]', '!=', 0 ), 'priority' => 5, 'title' => __( 'Retina Logo', 'astra' ), 'library_filter' => array( 'gif', 'jpg', 'jpeg', 'png', 'ico' ), ), /** * Option: Inherit Desktop logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[different-mobile-logo]', 'type' => 'control', 'control' => 'checkbox', 'default' => false, 'section' => 'title_tagline', 'title' => __( 'Different Logo For Mobile Devices?', 'astra' ), 'priority' => 5, ), /** * Option: Mobile header logo */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-logo]', 'default' => astra_get_option( 'mobile-header-logo' ), 'type' => 'control', 'control' => 'image', 'required' => array( ASTRA_THEME_SETTINGS . '[different-mobile-logo]', '==', '1' ), 'section' => 'title_tagline', 'priority' => 5, 'title' => __( 'Mobile Logo (optional)', 'astra' ), 'library_filter' => array( 'gif', 'jpg', 'jpeg', 'png', 'ico' ), ), /** * Option: Logo Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-header-responsive-logo-width]', 'type' => 'control', 'control' => 'ast-responsive-slider', 'section' => 'title_tagline', 'transport' => 'postMessage', 'default' => array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ), 'priority' => 5, 'title' => __( 'Logo Width', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-logo-divider]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Site Icon', 'astra' ), 'section' => 'title_tagline', 'priority' => 5, 'settings' => array(), ), /** * Option: Display Title */ array( 'name' => ASTRA_THEME_SETTINGS . '[display-site-title]', 'type' => 'control', 'control' => 'checkbox', 'default' => astra_get_option( 'display-site-title' ), 'section' => 'title_tagline', 'title' => __( 'Display Site Title', 'astra' ), 'priority' => 7, 'transport' => 'postMessage', 'partial' => array( 'selector' => '.main-header-bar .site-branding .ast-site-title-wrap', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_site_title_tagline' ), ), ), /** * Option: Display Tagline */ array( 'name' => ASTRA_THEME_SETTINGS . '[display-site-tagline]', 'type' => 'control', 'control' => 'checkbox', 'transport' => 'postMessage', 'default' => astra_get_option( 'display-site-tagline' ), 'section' => 'title_tagline', 'title' => __( 'Display Site Tagline', 'astra' ), 'partial' => array( 'selector' => '.main-header-bar .site-branding .ast-site-title-wrap', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_site_title_tagline' ), ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[logo-title-inline]', 'default' => astra_get_option( 'logo-title-inline' ), 'type' => 'control', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[display-site-title]', '==', true ), array( ASTRA_THEME_SETTINGS . '[display-site-tagline]', '==', true ), ), 'operator' => 'OR', ), 'control' => 'checkbox', 'section' => 'title_tagline', 'title' => __( 'Inline Logo & Site Title', 'astra' ), 'priority' => 7, ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-icon-divider]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Site Title', 'astra' ), 'section' => 'title_tagline', 'priority' => 6, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-title-typography]', 'default' => astra_get_option( 'site-title-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Typography', 'astra' ), 'section' => 'title_tagline', 'transport' => 'postMessage', 'priority' => 9, 'required' => array( ASTRA_THEME_SETTINGS . '[display-site-title]', '==', true, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-site-title-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'title_tagline', 'title' => __( 'Site Tagline', 'astra' ), 'priority' => 9, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[site-tagline-typography]', 'default' => astra_get_option( 'site-tagline-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Typography', 'astra' ), 'section' => 'title_tagline', 'transport' => 'postMessage', 'priority' => 16, 'required' => array( ASTRA_THEME_SETTINGS . '[display-site-tagline]', '==', true, ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } /** * Check if transparent header is enabled on the page being previewed. * * @since 2.4.5 * @return boolean True - If Transparent Header is enabled, False if not. */ public function is_transparent_header_enabled() { $status = Astra_Ext_Transparent_Header_Markup::is_transparent_header(); return ( true === $status ? true : false ); } /** * Help notice message to be displayed when the page that is being previewed has Logo set from Transparent Header. * * @since 2.4.5 * @param String $context Type of notice message to be returned. * @return String HTML Markup for the help notice. */ private function get_help_text_notice( $context ) { $notice = ''; if ( 'transparent-header' === $context ) { $notice = '<div class="ast-customizer-notice wp-ui-highlight"><p>The Logo on this page is set from the Transparent Header Section. Please click the link below to customize Transparent Header Logo.</p></div>'; } return $notice; } } } new Astra_Site_Identity_Configs(); configurations/layout/class-astra-blog-single-layout-configs.php 0000644 00000007735 15252526160 0021222 0 ustar 00 <?php /** * Bottom Footer Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Blog_Single_Layout_Configs' ) ) { /** * Register Blog Single Layout Configurations. */ class Astra_Blog_Single_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Blog Single Layout Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Single Post Content Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-width]', 'type' => 'control', 'control' => 'select', 'section' => 'section-blog-single', 'default' => astra_get_option( 'blog-single-width' ), 'priority' => 5, 'title' => __( 'Content Width', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'custom' => __( 'Custom', 'astra' ), ), 'partial' => array( 'selector' => '.ast-single-post .site-content .ast-container .content-area .entry-title', 'container_inclusive' => false, ), ), /** * Option: Enter Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-max-width]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-blog-single', 'transport' => 'postMessage', 'default' => 1200, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-single-width]', '===', 'custom' ), 'priority' => 5, 'title' => __( 'Custom Width', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-single-width]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog-single', 'priority' => 5, 'settings' => array(), ), /** * Option: Display Post Structure */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-post-structure]', 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog-single', 'default' => astra_get_option( 'blog-single-post-structure' ), 'priority' => 5, 'title' => __( 'Structure', 'astra' ), 'choices' => array( 'single-image' => __( 'Featured Image', 'astra' ), 'single-title-meta' => __( 'Title & Blog Meta', 'astra' ), ), ), /** * Option: Single Post Meta */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-meta]', 'type' => 'control', 'control' => 'ast-sortable', 'default' => astra_get_option( 'blog-single-meta' ), 'required' => array( ASTRA_THEME_SETTINGS . '[blog-single-post-structure]', 'contains', 'single-title-meta' ), 'section' => 'section-blog-single', 'priority' => 5, 'title' => __( 'Meta', 'astra' ), 'choices' => array( 'comments' => __( 'Comments', 'astra' ), 'category' => __( 'Category', 'astra' ), 'author' => __( 'Author', 'astra' ), 'date' => __( 'Publish Date', 'astra' ), 'tag' => __( 'Tag', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Blog_Single_Layout_Configs(); configurations/layout/class-astra-footer-layout-configs.php 0000644 00000047250 15252526160 0020312 0 ustar 00 <?php /** * Bottom Footer Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Footer_Layout_Configs' ) ) { /** * Register Footer Layout Configurations. */ class Astra_Footer_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Footer Layout Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Footer Bar Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-layout]', 'type' => 'control', 'control' => 'ast-radio-image', 'default' => astra_get_option( 'footer-sml-layout' ), 'section' => 'section-footer-small', 'priority' => 5, 'title' => __( 'Layout', 'astra' ), 'choices' => array( 'disabled' => array( 'label' => __( 'Disabled', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"> <g> <g> <path fill="#0085BA" d="M116.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.657,80.796,116.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.797,1.773-1.772V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/> </g> </g> <path fill="#0085BA" d="M60.25,19.5c-11.581,0-21,9.419-21,21c0,11.578,9.419,21,21,21c11.578,0,21-9.422,21-21 C81.25,28.919,71.828,19.5,60.25,19.5z M42.308,40.5c0-9.892,8.05-17.942,17.942-17.942c4.412,0,8.452,1.6,11.578,4.249 L46.557,52.078C43.908,48.952,42.308,44.912,42.308,40.5z M60.25,58.439c-4.385,0-8.407-1.579-11.526-4.201l25.265-25.265 c2.622,3.12,4.201,7.141,4.201,11.526C78.189,50.392,70.142,58.439,60.25,58.439z"/> </svg>', ), 'footer-sml-layout-1' => array( 'label' => __( 'Footer Bar Layout 1', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><g><path fill="#0085BA" d="M3.799,0.204h112.902c1.958,0,3.549,1.593,3.549,3.55v73.494c0,1.957-1.592,3.549-3.549,3.549H3.799 c-1.957,0-3.549-1.592-3.549-3.549V3.754C0.25,1.797,1.842,0.204,3.799,0.204z M116.701,79.021c0.979,0,1.774-0.795,1.774-1.773 l0.001-73.494c0-0.979-0.797-1.774-1.775-1.774H3.799c-0.979,0-1.773,0.795-1.773,1.774v73.494c0,0.979,0.795,1.773,1.773,1.773 H116.701z"/></g><line fill="none" stroke="#0085BA" stroke-miterlimit="10" x1="120.25" y1="58.659" x2="0.965" y2="58.659"/><g><g><path fill="#0085BA" d="M26.805,64.475h66.89c0.98,0,1.774,0.628,1.774,1.4s-0.794,1.4-1.774,1.4h-66.89 c-0.98,0-1.773-0.628-1.773-1.4C25.031,65.102,25.826,64.475,26.805,64.475z"/></g></g><g><ellipse fill="#0085BA" cx="72.604" cy="72.174" rx="2.146" ry="2.108"/><ellipse fill="#0085BA" cx="64.37" cy="72.174" rx="2.147" ry="2.108"/><ellipse fill="#0085BA" cx="56.132" cy="72.174" rx="2.145" ry="2.108"/><ellipse fill="#0085BA" cx="47.896" cy="72.174" rx="2.146" ry="2.108"/></g></svg>', ), 'footer-sml-layout-2' => array( 'label' => __( 'Footer Bar Layout 2', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><g><path fill="#0085BA" d="M120.25,3.754v73.494c0,1.957-1.592,3.549-3.549,3.549H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.754 c0-1.957,1.591-3.55,3.549-3.55h112.902C118.658,0.204,120.25,1.797,120.25,3.754z M116.701,79.021 c0.979,0,1.773-0.795,1.773-1.773V3.754c0-0.979-0.795-1.774-1.773-1.774H3.799c-0.979,0-1.775,0.795-1.775,1.774l0.001,73.494 c0,0.979,0.796,1.773,1.774,1.773H116.701z"/></g><g><g><path fill="#0085BA" d="M120.25,3.754v73.494c0,1.957-1.592,3.549-3.549,3.549H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.754 c0-1.957,1.591-3.55,3.549-3.55h112.902C118.658,0.204,120.25,1.797,120.25,3.754z M116.701,79.021 c0.979,0,1.773-0.795,1.773-1.773V3.754c0-0.979-0.795-1.774-1.773-1.774H3.799c-0.979,0-1.775,0.795-1.775,1.774l0.001,73.494 c0,0.979,0.796,1.773,1.774,1.773H116.701z"/></g></g><g><g><g><path fill="#0085BA" d="M63.184,69.175c0,0.979-0.793,1.774-1.773,1.774h-46.89c-0.98,0-1.774-0.795-1.774-1.774 S13.54,67.4,14.521,67.4h46.89C62.389,67.4,63.184,68.194,63.184,69.175z"/></g></g><g><ellipse fill="#0085BA" cx="79.872" cy="69.175" rx="2.228" ry="2.188"/><ellipse fill="#0085BA" cx="88.422" cy="69.175" rx="2.229" ry="2.188"/><ellipse fill="#0085BA" cx="96.974" cy="69.175" rx="2.227" ry="2.188"/><ellipse fill="#0085BA" cx="105.525" cy="69.175" rx="2.229" ry="2.188"/></g></g><line fill="none" stroke="#0085BA" stroke-miterlimit="10" x1="120.25" y1="58.659" x2="0.965" y2="58.659"/></svg>', ), ), 'partial' => array( 'selector' => '.ast-small-footer', 'container_inclusive' => false, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[section-ast-small-footer-layout-info]', 'control' => 'ast-divider', 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 10, 'settings' => array(), ), /** * Section: Section 1 */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-1]', 'control' => 'select', 'default' => astra_get_option( 'footer-sml-section-1' ), 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 15, 'title' => __( 'Section 1', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-footer-widget-1-area .ast-no-widget-row, .ast-small-footer .ast-container .ast-small-footer-section-1 .footer-primary-navigation .nav-menu', 'container_inclusive' => false, ), ), /** * Option: Section 1 Custom Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-1-credit]', 'default' => astra_get_option( 'footer-sml-section-1-credit' ), 'type' => 'control', 'control' => 'textarea', 'transport' => 'postMessage', 'section' => 'section-footer-small', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[footer-sml-section-1]', '==', array( 'custom' ) ), ), ), 'priority' => 20, 'title' => __( 'Section 1 Custom Text', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Custom Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-small-footer-section.ast-small-footer-section-1:has(> .ast-footer-site-title)', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_footer_sml_section_1_credit' ), ), ), /** * Option: Section 2 */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-2]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'footer-sml-section-2' ), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'section' => 'section-footer-small', 'priority' => 25, 'title' => __( 'Section 2', 'astra' ), 'choices' => array( '' => __( 'None', 'astra' ), 'custom' => __( 'Text', 'astra' ), 'widget' => __( 'Widget', 'astra' ), 'menu' => __( 'Footer Menu', 'astra' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-footer-widget-2-area .ast-no-widget-row, .ast-small-footer .ast-container .ast-small-footer-section-2 .footer-primary-navigation .nav-menu', 'container_inclusive' => false, ), ), /** * Option: Section 2 Custom Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-section-2-credit]', 'type' => 'control', 'control' => 'textarea', 'transport' => 'postMessage', 'default' => astra_get_option( 'footer-sml-section-2-credit' ), 'section' => 'section-footer-small', 'priority' => 30, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-section-2]', '==', 'custom' ), 'title' => __( 'Section 2 Custom Text', 'astra' ), 'partial' => array( 'selector' => '.ast-small-footer-section-2', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_footer_sml_section_2_credit' ), ), 'partial' => array( 'selector' => '.ast-small-footer .ast-container .ast-small-footer-section.ast-small-footer-section-2:has(> .ast-footer-site-title)', 'container_inclusive' => false, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[section-ast-small-footer-typography]', 'control' => 'ast-divider', 'type' => 'control', 'section' => 'section-footer-small', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'priority' => 35, 'settings' => array(), ), /** * Option: Footer Top Border */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-divider]', 'type' => 'control', 'control' => 'ast-slider', 'default' => astra_get_option( 'footer-sml-divider' ), 'section' => 'section-footer-small', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), 'title' => __( 'Border Size', 'astra' ), 'transport' => 'postMessage', 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Footer Top Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-sml-divider-color]', 'section' => 'section-footer-small', 'default' => '#7a7a7a', 'type' => 'control', 'control' => 'ast-color', 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-divider]', '>=', 1 ), 'priority' => 45, 'title' => __( 'Border Color', 'astra' ), 'transport' => 'postMessage', ), /** * Option: Footer Bar Color & Background Section heading */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-color-background-heading-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-footer-small', 'title' => __( 'Colors & Background', 'astra' ), 'priority' => 46, 'settings' => array(), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-background-group]', 'default' => astra_get_option( 'footer-bar-background-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Background', 'astra' ), 'section' => 'section-footer-small', 'transport' => 'postMessage', 'priority' => 47, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'default' => astra_get_option( 'footer-bar-content-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Content', 'astra' ), 'section' => 'section-footer-small', 'transport' => 'postMessage', 'priority' => 47, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), /** * Option: Header Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-layout-width]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'footer-layout-width' ), 'section' => 'section-footer-small', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[site-layout]', '!=', 'ast-box-layout' ), array( ASTRA_THEME_SETTINGS . '[site-layout]', '!=', 'ast-fluid-width-layout' ), array( ASTRA_THEME_SETTINGS . '[footer-sml-layout]', '!=', 'disabled' ), ), ), 'priority' => 35, 'title' => __( 'Width', 'astra' ), 'choices' => array( 'full' => __( 'Full Width', 'astra' ), 'content' => __( 'Content Width', 'astra' ), ), ), /** * Option: Footer Widgets Layout Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv]', 'type' => 'control', 'control' => 'ast-radio-image', 'default' => astra_get_option( 'footer-adv' ), 'title' => __( 'Layout', 'astra' ), 'section' => 'section-footer-adv', 'choices' => array( 'disabled' => array( 'label' => __( 'Disable', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"> <g> <g> <path fill="#0085BA" d="M116.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.657,80.796,116.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.797,1.773-1.772V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/> </g> </g> <path fill="#0085BA" d="M60.25,19.5c-11.581,0-21,9.419-21,21c0,11.578,9.419,21,21,21c11.578,0,21-9.422,21-21 C81.25,28.919,71.828,19.5,60.25,19.5z M42.308,40.5c0-9.892,8.05-17.942,17.942-17.942c4.412,0,8.452,1.6,11.578,4.249 L46.557,52.078C43.908,48.952,42.308,44.912,42.308,40.5z M60.25,58.439c-4.385,0-8.407-1.579-11.526-4.201l25.265-25.265 c2.622,3.12,4.201,7.141,4.201,11.526C78.189,50.392,70.142,58.439,60.25,58.439z"/> </svg>', ), 'layout-4' => array( 'label' => __( 'Layout 4', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><g><g><g><g><path fill="#0085BA" d="M116.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.657,80.796,116.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.772,1.773,1.772h112.902c0.979,0,1.773-0.797,1.773-1.772V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g></g></g></g><g><path fill="#0085BA" d="M28.064,70c0,1.657-1.354,3-3.023,3H12.458c-1.669,0-3.023-1.343-3.023-3V58.25c0-1.656,1.354-3,3.023-3 h12.583c1.67,0,3.023,1.344,3.023,3V70z"/></g><g><path fill="#0085BA" d="M55.731,70c0,1.657-1.354,3-3.023,3H40.125c-1.669,0-3.023-1.343-3.023-3V58.25c0-1.656,1.354-3,3.023-3 h12.583c1.67,0,3.023,1.344,3.023,3V70z"/></g><g><path fill="#0085BA" d="M83.397,70c0,1.657-1.354,3-3.023,3H67.791c-1.669,0-3.022-1.343-3.022-3V58.25c0-1.656,1.354-3,3.022-3 h12.583c1.67,0,3.023,1.344,3.023,3V70z"/></g><g><path fill="#0085BA" d="M111.064,70c0,1.657-1.354,3-3.023,3H95.458c-1.669,0-3.022-1.343-3.022-3V58.25c0-1.656,1.354-3,3.022-3 h12.583c1.67,0,3.023,1.344,3.023,3V70z"/></g><g><rect x="0.607" y="48" fill="#0085BA" width="119.285" height="1"/></g></svg>', ), ), 'partial' => array( 'selector' => '.footer-adv .ast-container', 'container_inclusive' => false, ), ), /** * Option: Footer Top Border */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv-border-width]', 'type' => 'control', 'control' => 'ast-slider', 'transport' => 'postMessage', 'section' => 'section-footer-adv', 'default' => astra_get_option( 'footer-adv-border-width' ), 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), 'title' => __( 'Top Border Size', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Footer Top Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-adv-border-color]', 'section' => 'section-footer-adv', 'title' => __( 'Top Border Color', 'astra' ), 'type' => 'control', 'transport' => 'postMessage', 'control' => 'ast-color', 'default' => astra_get_option( 'footer-adv-border-color' ), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), 'priority' => 45, ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-footer-adv', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Footer Widget */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-footer-widget-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-footer-adv', 'priority' => 999, 'label' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Footer_Layout_Configs(); configurations/layout/class-astra-site-layout-configs.php 0000644 00000003143 15252526160 0017751 0 ustar 00 <?php /** * Site Layout Option for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Site_Layout_Configs' ) ) { /** * Register Site Layout Customizer Configurations. */ class Astra_Site_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Site Layout Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( array( 'name' => ASTRA_THEME_SETTINGS . '[site-content-width]', 'type' => 'control', 'control' => 'ast-slider', 'default' => 1200, 'section' => 'section-container-layout', 'priority' => 10, 'title' => __( 'Width', 'astra' ), 'required' => array( ASTRA_THEME_SETTINGS . '[site-layout]', '==', 'ast-full-width-layout' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Site_Layout_Configs(); configurations/layout/class-astra-site-container-layout-configs.php 0000644 00000014025 15252526160 0021732 0 ustar 00 <?php /** * General Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Site_Container_Layout_Configs' ) ) { /** * Register Astra Site Container Layout Customizer Configurations. */ class Astra_Site_Container_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Astra Site Container Layout Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-content-layout-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-container-layout', 'priority' => 50, 'settings' => array(), ), /** * Option: Single Page Content Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-content-layout]', 'type' => 'control', 'default' => astra_get_option( 'site-content-layout' ), 'control' => 'select', 'section' => 'section-container-layout', 'priority' => 50, 'title' => __( 'Layout', 'astra' ), 'choices' => array( 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), /** * Option: Single Page Content Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[single-page-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-page-content-layout' ), 'section' => 'section-container-layout', 'title' => __( 'Page Layout', 'astra' ), 'priority' => 55, 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[single-post-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'single-post-content-layout' ), 'section' => 'section-container-layout', 'priority' => 60, 'title' => __( 'Blog Post Layout', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), /** * Option: Archive Post Content Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[archive-post-content-layout]', 'type' => 'control', 'control' => 'select', 'default' => astra_get_option( 'archive-post-content-layout' ), 'section' => 'section-container-layout', 'priority' => 65, 'title' => __( 'Archives Layout', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'boxed-container' => __( 'Boxed', 'astra' ), 'content-boxed-container' => __( 'Content Boxed', 'astra' ), 'plain-container' => __( 'Full Width / Contained', 'astra' ), 'page-builder' => __( 'Full Width / Stretched', 'astra' ), ), ), /** * Option: Body Background */ array( 'name' => ASTRA_THEME_SETTINGS . '[site-layout-outside-bg-obj-responsive]', 'type' => 'control', 'control' => 'ast-responsive-background', 'default' => astra_get_option( 'site-layout-outside-bg-obj-responsive' ), 'section' => 'section-colors-body', 'transport' => 'postMessage', 'priority' => 25, 'title' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-container-more-feature-divider]', 'type' => 'control', 'default' => astra_get_option( 'site-content-layout' ), 'control' => 'ast-divider', 'section' => 'section-container-layout', 'priority' => 999, 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[ast-container-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-container-layout', 'priority' => 999, 'title' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Site_Container_Layout_Configs(); configurations/layout/class-astra-header-layout-configs.php 0000644 00000065710 15252526160 0020245 0 ustar 00 <?php /** * General Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Header_Layout_Configs' ) ) { /** * Register Header Layout Customizer Configurations. */ class Astra_Header_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Header Layout Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $header_rt_sections = array( 'none' => __( 'None', 'astra' ), 'search' => __( 'Search', 'astra' ), 'text-html' => __( 'Text / HTML', 'astra' ), 'widget' => __( 'Widget', 'astra' ), ); $_configs = array( /** * Option: Header Layout */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-layouts]', 'default' => astra_get_option( 'header-layouts' ), 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Layout', 'astra' ), 'type' => 'control', 'control' => 'ast-radio-image', 'choices' => array( 'header-main-layout-1' => array( 'label' => __( 'Logo Left', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><g><g><path fill="#0085BA" d="M116.701,80.797H3.799c-1.958,0-3.549-1.593-3.549-3.55V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.957,0,3.549,1.592,3.549,3.549v73.494C120.25,79.204,118.658,80.797,116.701,80.797z M3.799,1.979 c-0.979,0-1.775,0.795-1.775,1.774v73.494c0,0.979,0.796,1.774,1.775,1.774h112.902c0.979,0,1.773-0.795,1.773-1.774V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g><g><g><path fill="#0085BA" d="M107.275,16.6H48.385c-0.98,0-1.774-0.794-1.774-1.774s0.794-1.774,1.774-1.774h58.891 c0.979,0,1.773,0.794,1.773,1.774S108.254,16.6,107.275,16.6z"/></g><g><path fill="#0085BA" d="M34.511,16.689c0,0.989-0.929,1.789-2.074,1.789H16.116c-1.146,0-2.075-0.8-2.075-1.789v-3.727 c0-0.989,0.929-1.79,2.075-1.79h16.321c1.146,0,2.074,0.801,2.074,1.79V16.689z"/></g></g></g><line fill="none" stroke="#0085BA" stroke-miterlimit="10" x1="0.25" y1="28.342" x2="119.535" y2="28.342"/></svg>', ), 'header-main-layout-2' => array( 'label' => __( 'Logo Center', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><line fill="none" stroke="#0085BA" stroke-miterlimit="10" x1="0.607" y1="28.341" x2="119.893" y2="28.341"/><g><path fill="#0085BA" d="M116.701,80.795H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.752c0-1.957,1.592-3.549,3.549-3.549h112.902 c1.955,0,3.549,1.592,3.549,3.549v73.494C120.25,79.203,118.656,80.795,116.701,80.795z M3.799,1.978 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.98,0.795,1.775,1.773,1.775h112.902c0.979,0,1.773-0.797,1.773-1.775V3.752 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g><g><g><path fill="#0085BA" d="M69.314,12.413c0,1.014-0.822,1.837-1.836,1.837H53.021c-1.015,0-1.837-0.823-1.837-1.837V8.586 c0-1.015,0.822-1.837,1.837-1.837h14.458c1.014,0,1.836,0.822,1.836,1.837V12.413z"/></g></g><g><path fill="#0085BA" d="M99.697,22.067H20.804c-0.98,0-1.774-0.672-1.774-1.5c0-0.828,0.794-1.5,1.774-1.5h78.894 c0.979,0,1.772,0.672,1.772,1.5C101.471,21.395,100.676,22.067,99.697,22.067z"/></g></svg>', ), 'header-main-layout-3' => array( 'label' => __( 'Logo Right', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="120.5px" height="81px" viewBox="0 0 120.5 81" enable-background="new 0 0 120.5 81" xml:space="preserve"><g><g><path fill="#0085BA" d="M0.25,77.247V3.753c0-1.957,1.592-3.549,3.549-3.549h112.902c1.957,0,3.549,1.592,3.549,3.549v73.494 c0,1.957-1.592,3.55-3.549,3.55H3.799C1.842,80.797,0.25,79.204,0.25,77.247z M3.799,1.979c-0.979,0-1.774,0.795-1.774,1.774 v73.494c0,0.979,0.796,1.774,1.774,1.774h112.902c0.979,0,1.773-0.795,1.773-1.774V3.753c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g><g><g><path fill="#0085BA" d="M13.225,16.6h58.891c0.979,0,1.774-0.794,1.774-1.774s-0.795-1.774-1.774-1.774H13.225 c-0.979,0-1.773,0.794-1.773,1.774C11.451,15.806,12.246,16.6,13.225,16.6z"/></g><g><path fill="#0085BA" d="M85.988,16.689c0,0.989,0.93,1.789,2.074,1.789h16.321c1.146,0,2.074-0.8,2.074-1.789v-3.727 c0-0.989-0.929-1.79-2.074-1.79H88.063c-1.145,0-2.073,0.801-2.073,1.79L85.988,16.689L85.988,16.689z"/></g></g></g><line fill="none" stroke="#0085BA" stroke-miterlimit="10" x1="120.25" y1="28.342" x2="0.965" y2="28.342"/></svg>', ), ), ), /** * Option: Header Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-layout-width]', 'default' => astra_get_option( 'header-main-layout-width' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Width', 'astra' ), 'choices' => array( 'full' => __( 'Full Width', 'astra' ), 'content' => __( 'Content Width', 'astra' ), ), ), /** * Option: Bottom Border Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-sep]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-sep' ), 'type' => 'control', 'control' => 'number', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Bottom Border Size', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 600, ), ), /** * Option: Bottom Border Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-sep-color]', 'transport' => 'postMessage', 'default' => '', 'type' => 'control', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-sep]', '>=', 1 ), 'control' => 'ast-color', 'section' => 'section-header', 'priority' => 4, 'title' => __( 'Bottom Border Color', 'astra' ), ), array( 'name' => 'primary-header-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 5, 'title' => __( 'Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[disable-primary-nav]', 'default' => astra_get_option( 'disable-primary-nav' ), 'type' => 'control', 'control' => 'checkbox', 'section' => 'section-primary-menu', 'title' => __( 'Disable Menu', 'astra' ), 'priority' => 5, 'partial' => array( 'selector' => '.main-header-bar .main-navigation', 'container_inclusive' => false, ), ), array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section]', 'default' => astra_get_option( 'header-main-rt-section' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'priority' => 7, 'title' => __( 'Last Item in Menu', 'astra' ), 'choices' => apply_filters( 'astra_header_section_elements', array( 'none' => __( 'None', 'astra' ), 'search' => __( 'Search', 'astra' ), 'button' => __( 'Button', 'astra' ), 'text-html' => __( 'Text / HTML', 'astra' ), 'widget' => __( 'Widget', 'astra' ), ), 'primary-header' ), 'partial' => array( 'selector' => '.main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.search-custom-menu-item .ast-search-icon .astra-search-icon, .main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.woocommerce-custom-menu-item, .main-header-bar .ast-masthead-custom-menu-items.widget-custom-menu-item .ast-header-widget-area .widget.ast-no-widget-row, .main-header-bar .main-navigation .main-header-menu .ast-masthead-custom-menu-items.edd-custom-menu-item', 'container_inclusive' => false, ), ), /** * Option: Button Text */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-text]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-button-text' ), 'type' => 'control', 'control' => 'text', 'section' => 'section-primary-menu', 'partial' => array( 'selector' => '.button-custom-menu-item', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_main_rt_section_button_text' ), ), 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'title' => __( 'Button Text', 'astra' ), ), /** * Option: Button Link */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-link-option]', 'default' => astra_get_option( 'header-main-rt-section-button-link-option' ), 'type' => 'control', 'control' => 'ast-link', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'title' => __( 'Button Link', 'astra' ), ), /** * Option: Button Style */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', 'default' => astra_get_option( 'header-main-rt-section-button-style' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), 'priority' => 10, 'choices' => array( 'theme-button' => __( 'Theme Button', 'astra' ), 'custom-button' => __( 'Header Button', 'astra' ), ), 'title' => __( 'Button Style', 'astra' ), ), /** * Option: Theme Button Style edit link */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-button-style-link]', 'default' => astra_get_option( 'header-button-style-link' ), 'type' => 'control', 'control' => 'ast-customizer-link', 'section' => 'section-primary-menu', 'required' => array( array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'button' ), array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'theme-button' ), ), 'priority' => 10, 'link_type' => 'section', 'linked' => 'section-buttons', 'link_text' => __( 'Customize Button Style.', 'astra' ), ), /** * Option: Right Section Text / HTML */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-html]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-html' ), 'type' => 'control', 'control' => 'textarea', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '===', 'text-html' ), 'priority' => 10, 'partial' => array( 'selector' => '.main-header-bar .ast-masthead-custom-menu-items .ast-custom-html', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'render_header_main_rt_section_html' ), ), 'title' => __( 'Custom Menu Text / HTML', 'astra' ), ), array( 'name' => 'primary-header-sub-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 30, 'title' => __( 'Sub Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), /** * Option: Submenu Container Animation */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-submenu-container-animation]', 'default' => astra_get_option( 'header-main-submenu-container-animation' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[disable-primary-nav]', '!=', true, ), 'priority' => 30, 'title' => __( 'Container Animation', 'astra' ), 'choices' => array( '' => __( 'Default', 'astra' ), 'slide-down' => __( 'Slide Down', 'astra' ), 'slide-up' => __( 'Slide Up', 'astra' ), 'fade' => __( 'Fade', 'astra' ), ), ), // Option: Primary Menu Border. array( 'type' => 'control', 'control' => 'ast-border', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-border]', 'section' => 'section-primary-menu', 'linked_choices' => true, 'priority' => 30, 'default' => astra_get_option( 'primary-submenu-border' ), 'title' => __( 'Container Border', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), // Option: Submenu Container Border Color. array( 'type' => 'control', 'control' => 'ast-color', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-b-color]', 'default' => '', 'title' => __( 'Border Color', 'astra' ), 'section' => 'section-primary-menu', 'priority' => 30, ), array( 'type' => 'control', 'control' => 'checkbox', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-item-border]', 'section' => 'section-primary-menu', 'priority' => 30, 'default' => astra_get_option( 'primary-submenu-item-border' ), 'title' => __( 'Submenu Divider', 'astra' ), ), // Option: Submenu item Border Color. array( 'type' => 'control', 'control' => 'ast-color', 'transport' => 'postMessage', 'name' => ASTRA_THEME_SETTINGS . '[primary-submenu-item-b-color]', 'default' => '', 'title' => __( 'Divider Color', 'astra' ), 'section' => 'section-primary-menu', 'required' => array( ASTRA_THEME_SETTINGS . '[primary-submenu-item-border]', '==', true, ), 'priority' => 30, ), /** * Option: Mobile Menu Label Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-label-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-header', 'priority' => 35, 'title' => __( 'Mobile Header', 'astra' ), 'settings' => array(), ), /** * Option: Mobile Menu Alignment */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-align]', 'default' => astra_get_option( 'header-main-menu-align' ), 'type' => 'control', 'control' => 'ast-radio-image', 'choices' => array( 'inline' => array( 'label' => __( 'Inline', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="60.5px" height="81px" viewBox="0 0 60.5 81" enable-background="new 0 0 60.5 81" xml:space="preserve"><g><g><g><path fill="#0085BA" d="M51.602,12.975H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,12.546,52.098,12.975,51.602,12.975z"/></g></g><g><g><path fill="#0085BA" d="M51.602,17.205H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,16.775,52.098,17.205,51.602,17.205z"/></g></g><g><g><path fill="#0085BA" d="M51.602,21.435H40.884c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C52.496,21.004,52.098,21.435,51.602,21.435z"/></g></g></g><g><path fill="#0085BA" d="M25.504,20.933c0,1.161-0.794,2.099-1.773,2.099H9.777c-0.979,0-1.773-0.938-1.773-2.099V11.56 c0-1.16,0.795-2.1,1.773-2.1H23.73c0.979,0,1.772,0.94,1.772,2.1L25.504,20.933L25.504,20.933z"/></g><g><path fill="#0085BA" d="M56.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h52.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C60.25,79.204,58.657,80.796,56.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.774,1.773,1.774h52.902c0.979,0,1.773-0.797,1.773-1.774V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g></svg>', ), 'stack' => array( 'label' => __( 'Stack', 'astra' ), 'path' => '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" role="img" id="Layer_1" x="0px" y="0px" width="60.5px" height="81px" viewBox="0 0 60.5 81" enable-background="new 0 0 60.5 81" xml:space="preserve"><g><path fill="#0085BA" d="M56.701,80.796H3.799c-1.957,0-3.549-1.592-3.549-3.549V3.753c0-1.957,1.592-3.549,3.549-3.549h52.902 c1.956,0,3.549,1.592,3.549,3.549v73.494C60.25,79.204,58.657,80.796,56.701,80.796z M3.799,1.979 c-0.979,0-1.773,0.797-1.773,1.774v73.494c0,0.979,0.795,1.774,1.773,1.774h52.902c0.979,0,1.773-0.797,1.773-1.774V3.753 c0-0.979-0.795-1.774-1.773-1.774H3.799z"/></g><g><g><g><path fill="#0085BA" d="M35.607,29.821H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,29.392,36.104,29.821,35.607,29.821z"/></g></g><g><g><path fill="#0085BA" d="M35.607,34.051H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,33.621,36.104,34.051,35.607,34.051z"/></g></g><g><g><path fill="#0085BA" d="M35.607,38.281H24.889c-0.493,0-0.892-0.429-0.892-0.959c0-0.529,0.396-0.959,0.892-0.959h10.718 c0.496,0,0.896,0.432,0.896,0.959C36.502,37.85,36.104,38.281,35.607,38.281z"/></g></g></g><g><path fill="#0085BA" d="M39,20.933c0,1.161-0.794,2.099-1.773,2.099H23.273c-0.979,0-1.773-0.938-1.773-2.099V11.56 c0-1.16,0.795-2.1,1.773-2.1h13.954c0.979,0,1.771,0.94,1.771,2.1L39,20.933L39,20.933z"/></g></svg>', ), ), 'section' => 'section-header', 'priority' => 40, 'title' => __( 'Layout', 'astra' ), ), /** * Option: Hide Last item in Menu on mobile device */ array( 'name' => ASTRA_THEME_SETTINGS . '[hide-custom-menu-mobile]', 'default' => astra_get_option( 'hide-custom-menu-mobile' ), 'type' => 'control', 'control' => 'checkbox', 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '!=', 'none' ), 'section' => 'section-primary-menu', 'title' => __( 'Hide Last Item in Menu on Mobile', 'astra' ), 'priority' => 7, ), /** * Option: Display outside menu */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-display-outside-menu]', 'type' => 'control', 'control' => 'checkbox', 'required' => array( ASTRA_THEME_SETTINGS . '[hide-custom-menu-mobile]', '!=', '1' ), 'default' => astra_get_option( 'header-display-outside-menu' ), 'section' => 'section-primary-menu', 'title' => __( 'Take Last Item Outside Menu', 'astra' ), 'priority' => 7, ), array( 'name' => 'primary-menu-label-divider', 'type' => 'control', 'control' => 'ast-heading', 'priority' => 39, 'title' => __( 'Mobile Menu', 'astra' ), 'section' => 'section-primary-menu', 'settings' => array(), ), /** * Option: Mobile Header Breakpoint */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-breakpoint]', 'default' => '', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-primary-menu', 'priority' => 40, 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'title' => __( 'Menu Breakpoint', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 0, 'step' => 10, 'max' => 6000, ), ), /** * Option: Toggle on click of button or link. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', 'default' => astra_get_option( 'mobile-header-toggle-target' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-header', 'priority' => 42, 'title' => __( 'Dropdown Target', 'astra' ), 'suffix' => '', 'choices' => array( 'icon' => __( 'Icon', 'astra' ), 'link' => __( 'Link', 'astra' ), ), ), /** * Option: Notice to add # link to parent menu when Link option selected in Dropdown Target. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target-link-notice]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-header', 'priority' => 41, 'title' => '', 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', '==', 'link' ), 'help' => __( 'The parent menu should have a # link for the submenu to open on a link.', 'astra' ), 'settings' => array(), ), /** * Option: Mobile Menu Label */ array( 'name' => ASTRA_THEME_SETTINGS . '[header-main-menu-label]', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-menu-label' ), 'section' => 'section-primary-menu', 'required' => array( 'conditions' => array( array( ASTRA_THEME_SETTINGS . '[header-main-rt-section]', '!=', array( 'none' ) ), array( ASTRA_THEME_SETTINGS . '[disable-primary-nav]', '!=', array( '1' ) ), ), 'operator' => 'OR', ), 'priority' => 40, 'title' => __( 'Menu Label', 'astra' ), 'type' => 'control', 'control' => 'text', 'partial' => array( 'selector' => '.ast-button-wrap', 'container_inclusive' => false, 'render_callback' => array( 'Astra_Customizer_Partials', 'mobile_toggle_menu' ), ), ), /** * Option: Toggle Button Style */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style]', 'default' => astra_get_option( 'mobile-header-toggle-btn-style' ), 'section' => 'section-primary-menu', 'title' => __( 'Toggle Button Style', 'astra' ), 'type' => 'control', 'control' => 'select', 'priority' => 42, 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-menu-style]', '!=', 'no-toggle' ), 'choices' => array( 'fill' => __( 'Fill', 'astra' ), 'outline' => __( 'Outline', 'astra' ), 'minimal' => __( 'Minimal', 'astra' ), ), ), /** * Option: Toggle Button Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style-color]', 'default' => astra_get_option( 'mobile-header-toggle-btn-style-color' ), 'type' => 'control', 'control' => 'ast-color', 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-menu-style]', '!=', 'no-toggle' ), 'title' => __( 'Toggle Button Color', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 42, ), /** * Option: Border Radius */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-border-radius]', 'default' => astra_get_option( 'mobile-header-toggle-btn-border-radius' ), 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-primary-menu', 'title' => __( 'Border Radius', 'astra' ), 'required' => array( ASTRA_THEME_SETTINGS . '[mobile-header-toggle-btn-style]', '!=', 'minimal' ), 'priority' => 42, 'suffix' => '', 'transport' => 'postMessage', 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), /** * Option: Toggle on click of button or link. */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-toggle-target]', 'default' => astra_get_option( 'mobile-header-toggle-target' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-primary-menu', 'priority' => 42, 'title' => __( 'Dropdown Target', 'astra' ), 'suffix' => '', 'choices' => array( 'icon' => __( 'Icon', 'astra' ), 'link' => __( 'Link', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $config = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-header', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Mobile Header */ array( 'name' => ASTRA_THEME_SETTINGS . '[mobile-header-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-header', 'priority' => 999, 'title' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $config ); } return $configurations; } } } new Astra_Header_Layout_Configs(); configurations/layout/class-astra-blog-layout-configs.php 0000644 00000010721 15252526160 0017730 0 ustar 00 <?php /** * Bottom Footer Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Blog_Layout_Configs' ) ) { /** * Register Blog Layout Customizer Configurations. */ class Astra_Blog_Layout_Configs extends Astra_Customizer_Config_Base { /** * Register Blog Layout Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-width]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 60, 'settings' => array(), ), /** * Option: Blog Content Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-width]', 'default' => astra_get_option( 'blog-width' ), 'type' => 'control', 'control' => 'select', 'section' => 'section-blog', 'priority' => 50, 'title' => __( 'Content Width', 'astra' ), 'choices' => array( 'default' => __( 'Default', 'astra' ), 'custom' => __( 'Custom', 'astra' ), ), ), /** * Option: Enter Width */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-max-width]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-blog', 'transport' => 'postMessage', 'default' => 1200, 'priority' => 50, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-width]', '===', 'custom' ), 'title' => __( 'Custom Width', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 768, 'step' => 1, 'max' => 1920, ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-styling-section-blog-width-end]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 50, 'settings' => array(), ), /** * Option: Blog Post Content */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-content]', 'section' => 'section-blog', 'title' => __( 'Post Content', 'astra' ), 'default' => astra_get_option( 'blog-post-content' ), 'type' => 'control', 'control' => 'select', 'priority' => 75, 'choices' => array( 'full-content' => __( 'Full Content', 'astra' ), 'excerpt' => __( 'Excerpt', 'astra' ), ), ), /** * Option: Display Post Structure */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-post-structure]', 'default' => astra_get_option( 'blog-post-structure' ), 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog', 'priority' => 50, 'title' => __( 'Post Structure', 'astra' ), 'choices' => array( 'image' => __( 'Featured Image', 'astra' ), 'title-meta' => __( 'Title & Blog Meta', 'astra' ), ), ), /** * Option: Display Post Meta */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-meta]', 'type' => 'control', 'control' => 'ast-sortable', 'section' => 'section-blog', 'default' => astra_get_option( 'blog-meta' ), 'priority' => 50, 'required' => array( ASTRA_THEME_SETTINGS . '[blog-post-structure]', 'contains', 'title-meta' ), 'title' => __( 'Meta', 'astra' ), 'choices' => array( 'comments' => __( 'Comments', 'astra' ), 'category' => __( 'Category', 'astra' ), 'author' => __( 'Author', 'astra' ), 'date' => __( 'Publish Date', 'astra' ), 'tag' => __( 'Tag', 'astra' ), ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Blog_Layout_Configs(); configurations/typography/class-astra-single-typo-configs.php 0000644 00000007103 15252526160 0020635 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Single_Typo_Configs' ) ) { /** * Customizer Single Typography Configurations. * * @since 1.4.3 */ class Astra_Single_Typo_Configs extends Astra_Customizer_Config_Base { /** * Register Single Typography configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-single-post-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-blog-single', 'priority' => 13, 'title' => __( 'Typography', 'astra' ), 'settings' => array(), ), array( 'name' => ASTRA_THEME_SETTINGS . '[blog-single-title-typo]', 'type' => 'control', 'priority' => 13, 'control' => 'ast-settings-group', 'title' => __( 'Post / Page Title', 'astra' ), 'section' => 'section-blog-single', 'transport' => 'postMessage', ), /** * Option: Single Post / Page Title Font Size */ array( 'name' => 'font-size-entry-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-single-title-typo]', 'section' => 'section-blog-single', 'type' => 'sub-control', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-entry-title' ), 'transport' => 'postMessage', 'priority' => 8, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-sngle-blog-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog-single', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-sngle-blog-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-blog-single', 'priority' => 999, 'title' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Single_Typo_Configs(); configurations/typography/class-astra-header-typo-configs.php 0000644 00000004425 15252526160 0020610 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Header_Typo_Configs' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Header_Typo_Configs extends Astra_Customizer_Config_Base { /** * Register Header Typography Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Site Title Font Size */ array( 'name' => 'font-size-site-title', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[site-title-typography]', 'section' => 'title_tagline', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-site-title' ), 'transport' => 'postMessage', 'priority' => 9, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Site Tagline Font Size */ array( 'name' => 'font-size-site-tagline', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[site-tagline-typography]', 'section' => 'title_tagline', 'control' => 'ast-responsive', 'default' => astra_get_option( 'font-size-site-tagline' ), 'transport' => 'postMessage', 'priority' => 15, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Header_Typo_Configs(); configurations/typography/class-astra-body-typo-configs.php 0000644 00000023154 15252526160 0020315 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Body_Typo_Configs' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Body_Typo_Configs extends Astra_Customizer_Config_Base { /** * Register Body Typography Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Body & Content Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-base-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-body-typo', 'priority' => 4, 'title' => __( 'Body & Content', 'astra' ), 'settings' => array(), 'separator' => false, ), /** * Option: Font Family */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-family]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-family', 'ast_inherit' => __( 'Default System Font', 'astra' ), 'default' => astra_get_option( 'body-font-family' ), 'section' => 'section-body-typo', 'priority' => 5, 'title' => __( 'Family', 'astra' ), 'connect' => ASTRA_THEME_SETTINGS . '[body-font-weight]', 'variant' => ASTRA_THEME_SETTINGS . '[body-font-variant]', ), /** * Option: Font Variant */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-variant]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-variant', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_variant' ), 'default' => astra_get_option( 'body-font-variant' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-body-typo', 'priority' => 10, 'title' => __( 'Variants', 'astra' ), 'variant' => ASTRA_THEME_SETTINGS . '[body-font-family]', ), /** * Option: Font Weight */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-font-weight]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-weight', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'default' => astra_get_option( 'body-font-weight' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-body-typo', 'priority' => 15, 'title' => __( 'Weight', 'astra' ), 'connect' => ASTRA_THEME_SETTINGS . '[body-font-family]', ), /** * Option: Body Text Transform */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-text-transform]', 'type' => 'control', 'control' => 'select', 'section' => 'section-body-typo', 'default' => astra_get_option( 'body-text-transform' ), 'priority' => 20, 'title' => __( 'Text Transform', 'astra' ), 'choices' => array( '' => __( 'Default', 'astra' ), 'none' => __( 'None', 'astra' ), 'capitalize' => __( 'Capitalize', 'astra' ), 'uppercase' => __( 'Uppercase', 'astra' ), 'lowercase' => __( 'Lowercase', 'astra' ), ), ), /** * Option: Body Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-body]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-body-typo', 'default' => astra_get_option( 'font-size-body' ), 'priority' => 10, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', ), ), /** * Option: Body Line Height */ array( 'name' => ASTRA_THEME_SETTINGS . '[body-line-height]', 'type' => 'control', 'control' => 'ast-slider', 'section' => 'section-body-typo', 'default' => '', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'priority' => 25, 'title' => __( 'Line Height', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), ), /** * Option: Paragraph Margin Bottom */ array( 'name' => ASTRA_THEME_SETTINGS . '[para-margin-bottom]', 'type' => 'control', 'control' => 'ast-slider', 'default' => '', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'transport' => 'postMessage', 'section' => 'section-body-typo', 'priority' => 25, 'title' => __( 'Paragraph Margin Bottom', 'astra' ), 'suffix' => '', 'input_attrs' => array( 'min' => 0.5, 'step' => 0.01, 'max' => 5, ), ), /** * Option: Body & Content Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-headings-typo]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 3, 'title' => __( 'Headings ( H1 - H6 )', 'astra' ), 'settings' => array(), 'separator' => false, ), /** * Option: Headings Font Family */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-family]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-family', 'default' => astra_get_option( 'headings-font-family' ), 'title' => __( 'Family', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'connect' => ASTRA_THEME_SETTINGS . '[headings-font-weight]', 'variant' => ASTRA_THEME_SETTINGS . '[headings-font-variant]', ), /** * Option: Font Variant */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-variant]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-variant', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_variant' ), 'default' => astra_get_option( 'headings-font-variant' ), 'ast_inherit' => __( 'Default', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'title' => __( 'Variants', 'astra' ), 'variant' => ASTRA_THEME_SETTINGS . '[headings-font-family]', ), /** * Option: Headings Font Weight */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-font-weight]', 'type' => 'control', 'control' => 'ast-font', 'font-type' => 'ast-font-weight', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'default' => astra_get_option( 'headings-font-weight' ), 'title' => __( 'Weight', 'astra' ), 'section' => 'section-content-typo', 'priority' => 3, 'connect' => ASTRA_THEME_SETTINGS . '[headings-font-family]', ), /** * Option: Headings Text Transform */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-text-transform]', 'type' => 'control', 'control' => 'select', 'section' => 'section-content-typo', 'title' => __( 'Text Transform', 'astra' ), 'default' => astra_get_option( 'headings-text-transform' ), 'priority' => 3, 'choices' => array( '' => __( 'Inherit', 'astra' ), 'none' => __( 'None', 'astra' ), 'capitalize' => __( 'Capitalize', 'astra' ), 'uppercase' => __( 'Uppercase', 'astra' ), 'lowercase' => __( 'Lowercase', 'astra' ), ), ), /** * Option: Heading <H1> Line Height */ array( 'name' => ASTRA_THEME_SETTINGS . '[headings-line-height]', 'section' => 'section-content-typo', 'default' => astra_get_option( 'headings-line-height' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'type' => 'control', 'control' => 'ast-slider', 'title' => __( 'Line Height', 'astra' ), 'transport' => 'postMessage', 'priority' => 4, 'suffix' => '', 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), 'section' => 'section-content-typo', 'transport' => 'postMessage', ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Body_Typo_Configs(); configurations/typography/class-astra-archive-typo-configs.php 0000644 00000011333 15252526160 0020775 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Archive_Typo_Configs' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Archive_Typo_Configs extends Astra_Customizer_Config_Base { /** * Register Archive Typography Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Blog Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-typography-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-blog', 'title' => __( 'Typography', 'astra' ), 'priority' => 135, 'settings' => array(), ), /** * Option: Blog / Archive Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[blog-content-archive-summary-typo]', 'default' => astra_get_option( 'blog-content-archive-summary-typo' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Archive Title', 'astra' ), 'section' => 'section-blog', 'transport' => 'postMessage', 'priority' => 140, ), array( 'name' => ASTRA_THEME_SETTINGS . '[blog-content-blog-post-title-typo]', 'default' => astra_get_option( 'blog-content-blog-post-title-typo' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Post Title', 'astra' ), 'section' => 'section-blog', 'transport' => 'postMessage', 'priority' => 140, ), /** * Option: Blog - Post Title Font Size */ array( 'name' => 'font-size-page-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-content-blog-post-title-typo]', 'section' => 'section-blog', 'type' => 'sub-control', 'control' => 'ast-responsive', 'transport' => 'postMessage', 'priority' => 2, 'default' => astra_get_option( 'font-size-page-title' ), 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Archive Summary Box Title Font Size */ array( 'name' => 'font-size-archive-summary-title', 'parent' => ASTRA_THEME_SETTINGS . '[blog-content-archive-summary-typo]', 'section' => 'section-blog', 'type' => 'sub-control', 'control' => 'ast-responsive', 'transport' => 'postMessage', 'default' => astra_get_option( 'font-size-archive-summary-title' ), 'priority' => 8, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-blog-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-blog', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Contant Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-blog-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-blog', 'priority' => 999, 'title' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Archive_Typo_Configs(); configurations/typography/class-astra-content-typo-configs.php 0000644 00000017320 15252526160 0021030 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.15 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Content_Typo_Configs' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Content_Typo_Configs extends Astra_Customizer_Config_Base { /** * Register Content Typography Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Heading 1 (H1) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h1]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 4, 'title' => __( 'Heading 1', 'astra' ), 'settings' => array(), ), /** * Option: Heading 1 (H1) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h1]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h1' ), 'transport' => 'postMessage', 'priority' => 6, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 2 (H2) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h2]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 9, 'title' => __( 'Heading 2', 'astra' ), 'settings' => array(), ), /** * Option: Heading 2 (H2) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h2]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h2' ), 'transport' => 'postMessage', 'priority' => 11, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 3 (H3) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h3]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 15, 'title' => __( 'Heading 3', 'astra' ), 'settings' => array(), ), /** * Option: Heading 3 (H3) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h3]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'priority' => 16, 'default' => astra_get_option( 'font-size-h3' ), 'transport' => 'postMessage', 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 4 (H4) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h4]', 'type' => 'control', 'title' => __( 'Heading 4', 'astra' ), 'section' => 'section-content-typo', 'control' => 'ast-heading', 'priority' => 20, 'settings' => array(), ), /** * Option: Heading 4 (H4) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h4]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h4' ), 'transport' => 'postMessage', 'priority' => 21, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 5 (H5) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h5]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-content-typo', 'priority' => 25, 'title' => __( 'Heading 5', 'astra' ), 'settings' => array(), ), /** * Option: Heading 5 (H5) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h5]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h5' ), 'transport' => 'postMessage', 'priority' => 26, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Heading 6 (H6) Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-section-h6]', 'type' => 'control', 'control' => 'ast-heading', 'title' => __( 'Heading 6', 'astra' ), 'section' => 'section-content-typo', 'priority' => 30, 'settings' => array(), ), /** * Option: Heading 6 (H6) Font Size */ array( 'name' => ASTRA_THEME_SETTINGS . '[font-size-h6]', 'type' => 'control', 'control' => 'ast-responsive', 'section' => 'section-content-typo', 'default' => astra_get_option( 'font-size-h6' ), 'transport' => 'postMessage', 'priority' => 31, 'title' => __( 'Size', 'astra' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), ); $configurations = array_merge( $configurations, $_configs ); // Learn More link if Astra Pro is not activated. if ( ! defined( 'ASTRA_EXT_VER' ) ) { $_configs = array( /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-divider]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-content-typo', 'priority' => 999, 'settings' => array(), ), /** * Option: Learn More about Contant Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[ast-content-typography-more-feature-description]', 'type' => 'control', 'control' => 'ast-description', 'section' => 'section-content-typo', 'priority' => 999, 'title' => '', 'help' => '<p>' . __( 'More Options Available in Astra Pro!', 'astra' ) . '</p><a href="' . astra_get_pro_url( 'https://wpastra.com/pro/', 'customizer', 'learn-more', 'upgrade-to-pro' ) . '" class="button button-secondary" target="_blank" rel="noopener">' . __( 'Learn More', 'astra' ) . '</a>', 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); } return $configurations; } } } new Astra_Content_Typo_Configs(); configurations/buttons/class-astra-customizer-button-configs.php 0000644 00000035571 15252526160 0021402 0 ustar 00 <?php /** * Astra Theme Customizer Configuration Base. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.4.3 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer Sanitizes * * @since 1.4.3 */ if ( ! class_exists( 'Astra_Customizer_Button_Configs' ) ) { /** * Register Button Customizer Configurations. */ class Astra_Customizer_Button_Configs extends Astra_Customizer_Config_Base { /** * Register Button Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( array( 'name' => ASTRA_THEME_SETTINGS . '[button-color-styling-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-buttons', 'title' => __( 'Colors and Border', 'astra' ), 'priority' => 17, 'settings' => array(), ), /** * Group: Theme Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'default' => astra_get_option( 'theme-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Color', 'astra' ), 'section' => 'section-buttons', 'transport' => 'postMessage', 'priority' => 18, ), /** * Group: Theme Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'default' => astra_get_option( 'theme-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-buttons', 'transport' => 'postMessage', 'priority' => 19, ), /** * Option: Button Color */ array( 'name' => 'button-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Hover Color */ array( 'name' => 'button-h-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'button-bg-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Background Hover Color */ array( 'name' => 'button-bg-h-color', 'default' => '', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-color-group]', 'section' => 'section-buttons', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Global Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-border', 'name' => 'theme-button-border-group-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'theme-button-border-group-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Global Button Border Color */ array( 'name' => 'theme-button-border-group-border-color', 'default' => astra_get_option( 'theme-button-border-group-border-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Global Button Border Hover Color */ array( 'name' => 'theme-button-border-group-border-h-color', 'default' => astra_get_option( 'theme-button-border-group-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Global Button Radius */ array( 'name' => 'button-radius', 'default' => astra_get_option( 'button-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[theme-button-border-group]', 'section' => 'section-buttons', 'control' => 'ast-slider', 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 200, ), ), /** * Option: Button Padding Section */ array( 'name' => ASTRA_THEME_SETTINGS . '[button-padding-styling-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-buttons', 'title' => __( 'Spacing', 'astra' ), 'priority' => 30, 'settings' => array(), ), /** * Option: Theme Button Padding */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-button-padding]', 'default' => astra_get_option( 'theme-button-padding' ), 'type' => 'control', 'control' => 'ast-responsive-spacing', 'section' => 'section-buttons', 'title' => __( 'Padding', 'astra' ), 'linked_choices' => true, 'transport' => 'postMessage', 'unit_choices' => array( 'px', 'em', '%' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), 'priority' => 35, ), /** * Option: Transparent Header Button Colors Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-transparent-header', 'title' => __( 'Header Button', 'astra' ), 'settings' => array(), 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Transparent Header Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'default' => astra_get_option( 'transparent-header-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Colors', 'astra' ), 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Transparent Header Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'default' => astra_get_option( 'transparent-header-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Option: Button Text Color */ array( 'name' => 'header-main-rt-trans-section-button-text-color', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-trans-section-button-text-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Text Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-text-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-text-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'header-main-rt-trans-section-button-back-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-back-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Button Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-back-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-back-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-color-group]', 'section' => 'section-transparent-header', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), // Option: Custom Menu Button Border. array( 'type' => 'control', 'control' => 'ast-responsive-spacing', 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-trans-section-button-padding]', 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 40, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), 'default' => astra_get_option( 'header-main-rt-trans-section-button-padding' ), 'title' => __( 'Padding', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'control' => 'ast-border', 'name' => 'header-main-rt-trans-section-button-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Color */ array( 'name' => 'header-main-rt-trans-section-button-border-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'transport' => 'postMessage', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Button Border Hover Color */ array( 'name' => 'header-main-rt-trans-section-button-border-h-color', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Button Border Radius */ array( 'name' => 'header-main-rt-trans-section-button-border-radius', 'default' => astra_get_option( 'header-main-rt-trans-section-button-border-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[transparent-header-button-border-group]', 'section' => 'section-transparent-header', 'control' => 'ast-slider', 'transport' => 'postMessage', 'priority' => 16, 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Button_Configs(); configurations/buttons/class-astra-existing-button-configs.php 0000644 00000032756 15252526160 0021032 0 ustar 00 <?php /** * Astra Theme Customizer Configuration Base. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 2.6.0 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer Sanitizes * * @since 2.6.0 */ if ( ! class_exists( 'Astra_Existing_Button_Configs' ) ) { /** * Register Button Customizer Configurations. */ class Astra_Existing_Button_Configs extends Astra_Customizer_Config_Base { /** * Register Button Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 2.6.0 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Primary Header Button Colors Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-primary-menu', 'title' => __( 'Header Button', 'astra' ), 'settings' => array(), 'priority' => 17, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Primary Header Button Colors Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'default' => astra_get_option( 'primary-header-button-color-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Colors', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 18, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Group: Primary Header Button Border Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'default' => astra_get_option( 'primary-header-button-border-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Border', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 19, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Option: Button Text Color */ array( 'name' => 'header-main-rt-section-button-text-color', 'transport' => 'postMessage', 'default' => astra_get_option( 'header-main-rt-section-button-text-color' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Text Hover Color */ array( 'name' => 'header-main-rt-section-button-text-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-text-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Button Background Color */ array( 'name' => 'header-main-rt-section-button-back-color', 'default' => astra_get_option( 'header-main-rt-section-button-back-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Button Button Hover Color */ array( 'name' => 'header-main-rt-section-button-back-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-back-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-color-group]', 'section' => 'section-primary-menu', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'priority' => 10, 'title' => __( 'Background Color', 'astra' ), ), /** * Option: Primary Header Button Typography */ array( 'name' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'default' => astra_get_option( 'primary-header-button-text-typography' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Typography', 'astra' ), 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'priority' => 20, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), ), /** * Option: Primary Header Button Font Family */ array( 'name' => 'primary-header-button-font-family', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'control' => 'ast-font', 'font_type' => 'ast-font-family', 'title' => __( 'Family', 'astra' ), 'default' => astra_get_option( 'primary-header-button-font-family' ), 'connect' => ASTRA_THEME_SETTINGS . '[primary-header-button-font-weight]', 'priority' => 1, ), /** * Option: Primary Header Button Font Size */ array( 'name' => 'primary-header-button-font-size', 'transport' => 'postMessage', 'title' => __( 'Size', 'astra' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'control' => 'ast-responsive', 'default' => astra_get_option( 'primary-header-button-font-size' ), 'input_attrs' => array( 'min' => 0, ), 'units' => array( 'px' => 'px', 'em' => 'em', ), ), /** * Option: Primary Header Button Font Weight */ array( 'name' => 'primary-header-button-font-weight', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'control' => 'ast-font', 'font_type' => 'ast-font-weight', 'title' => __( 'Weight', 'astra' ), 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_font_weight' ), 'default' => astra_get_option( 'primary-header-button-font-weight' ), 'connect' => 'primary-header-button-font-family', 'priority' => 2, ), /** * Option: Primary Header Button Text Transform */ array( 'name' => 'primary-header-button-text-transform', 'transport' => 'postMessage', 'default' => astra_get_option( 'primary-header-button-text-transform' ), 'title' => __( 'Text Transform', 'astra' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'control' => 'ast-select', 'priority' => 3, 'choices' => array( '' => __( 'Inherit', 'astra' ), 'none' => __( 'None', 'astra' ), 'capitalize' => __( 'Capitalize', 'astra' ), 'uppercase' => __( 'Uppercase', 'astra' ), 'lowercase' => __( 'Lowercase', 'astra' ), ), ), /** * Option: Primary Header Button Line Height */ array( 'name' => 'primary-header-button-line-height', 'control' => 'ast-slider', 'transport' => 'postMessage', 'type' => 'sub-control', 'default' => astra_get_option( 'primary-header-button-line-height' ), 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'title' => __( 'Line Height', 'astra' ), 'suffix' => '', 'priority' => 4, 'input_attrs' => array( 'min' => 1, 'step' => 0.01, 'max' => 5, ), ), /** * Option: Primary Header Button Letter Spacing */ array( 'name' => 'primary-header-button-letter-spacing', 'control' => 'ast-slider', 'transport' => 'postMessage', 'type' => 'sub-control', 'default' => '', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-text-typography]', 'section' => 'section-primary-menu', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number_n_blank' ), 'title' => __( 'Letter Spacing', 'astra' ), 'suffix' => '', 'priority' => 5, 'input_attrs' => array( 'min' => 1, 'step' => 1, 'max' => 100, ), ), // Option: Custom Menu Button Border. array( 'type' => 'control', 'control' => 'ast-responsive-spacing', 'name' => ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-padding]', 'section' => 'section-primary-menu', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 21, 'required' => array( ASTRA_THEME_SETTINGS . '[header-main-rt-section-button-style]', '===', 'custom-button' ), 'default' => astra_get_option( 'header-main-rt-section-button-padding' ), 'title' => __( 'Padding', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Size */ array( 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-border', 'name' => 'header-main-rt-section-button-border-size', 'transport' => 'postMessage', 'linked_choices' => true, 'priority' => 10, 'default' => astra_get_option( 'header-main-rt-section-button-border-size' ), 'title' => __( 'Width', 'astra' ), 'choices' => array( 'top' => __( 'Top', 'astra' ), 'right' => __( 'Right', 'astra' ), 'bottom' => __( 'Bottom', 'astra' ), 'left' => __( 'Left', 'astra' ), ), ), /** * Option: Button Border Color */ array( 'name' => 'header-main-rt-section-button-border-color', 'default' => astra_get_option( 'header-main-rt-section-button-border-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-color', 'priority' => 12, 'title' => __( 'Color', 'astra' ), ), /** * Option: Button Border Hover Color */ array( 'name' => 'header-main-rt-section-button-border-h-color', 'default' => astra_get_option( 'header-main-rt-section-button-border-h-color' ), 'transport' => 'postMessage', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-color', 'priority' => 14, 'title' => __( 'Hover Color', 'astra' ), ), /** * Option: Button Border Radius */ array( 'name' => 'header-main-rt-section-button-border-radius', 'default' => astra_get_option( 'header-main-rt-section-button-border-radius' ), 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[primary-header-button-border-group]', 'section' => 'section-primary-menu', 'control' => 'ast-slider', 'transport' => 'postMessage', 'priority' => 16, 'title' => __( 'Border Radius', 'astra' ), 'input_attrs' => array( 'min' => 0, 'step' => 1, 'max' => 100, ), ), ); return array_merge( $configurations, $_configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Existing_Button_Configs(); configurations/class-astra-customizer-config-base.php 0000644 00000004651 15252526160 0017113 0 ustar 00 <?php /** * Astra Theme Customizer Configuration Base. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.4.3 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer Sanitizes * * @since 1.0.0 */ if ( ! class_exists( 'Astra_Customizer_Config_Base' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Customizer_Config_Base { /** * Constructor */ public function __construct() { add_filter( 'astra_customizer_configurations', array( $this, 'register_configuration' ), 30, 2 ); } /** * Base Method for Registering Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { return $configurations; } /** * Section Description * * @since 1.4.3 * * @param array $args Description arguments. * @return mixed Markup of the section description. */ public function section_get_description( $args ) { // Return if white labeled. if ( astra_is_white_labelled() ) { return ''; } // Description. $content = '<div class="astra-section-description">'; $content .= wp_kses_post( astra_get_prop( $args, 'description' ) ); // Links. if ( astra_get_prop( $args, 'links' ) ) { $content .= '<ul>'; foreach ( $args['links'] as $index => $link ) { if ( astra_get_prop( $link, 'attrs' ) ) { $content .= '<li>'; // Attribute mapping. $attributes = ' target="_blank" '; foreach ( astra_get_prop( $link, 'attrs' ) as $attr => $attr_value ) { $attributes .= ' ' . $attr . '="' . esc_attr( $attr_value ) . '" '; } $content .= '<a ' . $attributes . '>' . esc_html( astra_get_prop( $link, 'text' ) ) . '</a></li>'; $content .= '</li>'; } } $content .= '</ul>'; } $content .= '</div><!-- .astra-section-description -->'; return $content; } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Config_Base(); configurations/colors-background/class-astra-footer-colors-configs.php 0000644 00000005374 15252526160 0022400 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.4.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Footer_Colors_Configs' ) ) { /** * Register Footer Color Configurations. */ class Astra_Footer_Colors_Configs extends Astra_Customizer_Config_Base { /** * Register Footer Color Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Color */ array( 'name' => 'footer-color', 'type' => 'sub-control', 'tab' => __( 'Normal', 'astra' ), 'priority' => 5, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), 'default' => '', ), /** * Option: Link Color */ array( 'name' => 'footer-link-color', 'type' => 'sub-control', 'tab' => __( 'Normal', 'astra' ), 'priority' => 6, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'default' => '', 'title' => __( 'Link Color', 'astra' ), ), /** * Option: Link Hover Color */ array( 'name' => 'footer-link-h-color', 'type' => 'sub-control', 'tab' => __( 'Hover', 'astra' ), 'priority' => 5, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-content-group]', 'section' => 'section-footer-small', 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Footer Background */ array( 'name' => 'footer-bg-obj', 'type' => 'sub-control', 'priority' => 7, 'parent' => ASTRA_THEME_SETTINGS . '[footer-bar-background-group]', 'section' => 'section-footer-small', 'transport' => 'postMessage', 'control' => 'ast-background', 'default' => astra_get_option( 'footer-bg-obj' ), 'label' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Footer_Colors_Configs(); configurations/colors-background/class-astra-body-colors-configs.php 0000644 00000005225 15252526160 0022032 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.4.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Body_Colors_Configs' ) ) { /** * Register Body Color Customizer Configurations. */ class Astra_Body_Colors_Configs extends Astra_Customizer_Config_Base { /** * Register Body Color Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Text Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[text-color]', 'default' => '#3a3a3a', 'type' => 'control', 'control' => 'ast-color', 'section' => 'section-colors-body', 'priority' => 5, 'title' => __( 'Text Color', 'astra' ), ), /** * Option: Theme Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[theme-color]', 'type' => 'control', 'control' => 'ast-color', 'section' => 'section-colors-body', 'default' => '#0274be', 'priority' => 5, 'title' => __( 'Theme Color', 'astra' ), ), /** * Option: Link Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[link-color]', 'section' => 'section-colors-body', 'type' => 'control', 'control' => 'ast-color', 'default' => '#0274be', 'priority' => 5, 'title' => __( 'Link Color', 'astra' ), ), /** * Option: Link Hover Color */ array( 'name' => ASTRA_THEME_SETTINGS . '[link-h-color]', 'section' => 'section-colors-body', 'default' => '#3a3a3a', 'type' => 'control', 'control' => 'ast-color', 'priority' => 15, 'title' => __( 'Link Hover Color', 'astra' ), ), /** * Option: Divider */ array( 'name' => ASTRA_THEME_SETTINGS . '[divider-outside-bg-color]', 'type' => 'control', 'control' => 'ast-divider', 'section' => 'section-colors-body', 'priority' => 20, 'settings' => array(), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Body_Colors_Configs(); configurations/colors-background/class-astra-advanced-footer-colors-configs.php 0000644 00000011242 15252526160 0024132 0 ustar 00 <?php /** * Styling Options for Astra Theme. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.4.3 */ if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Adv_Footer_Colors_Configs' ) ) { /** * Register Advanced Footer Color Customizer Configurations. */ class Astra_Advanced_Footer_Colors_Configs extends Astra_Customizer_Config_Base { /** * Register Advanced Footer Color Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( /** * Option: Footer Widget Color & Background Section heading */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-widget-color-background-heading-divider]', 'type' => 'control', 'control' => 'ast-heading', 'section' => 'section-footer-adv', 'title' => __( 'Colors & Background', 'astra' ), 'priority' => 46, 'settings' => array(), 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-widget-background-group]', 'default' => astra_get_option( 'footer-widget-background-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Background', 'astra' ), 'section' => 'section-footer-adv', 'transport' => 'postMessage', 'priority' => 47, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Footer Bar Content Group */ array( 'name' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'default' => astra_get_option( 'footer-widget-content-group' ), 'type' => 'control', 'control' => 'ast-settings-group', 'title' => __( 'Content', 'astra' ), 'section' => 'section-footer-adv', 'transport' => 'postMessage', 'priority' => 48, 'required' => array( ASTRA_THEME_SETTINGS . '[footer-adv]', '!=', 'disabled' ), ), /** * Option: Widget Title Color */ array( 'name' => 'footer-adv-wgt-title-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Title Color', 'astra' ), 'default' => '', ), /** * Option: Text Color */ array( 'name' => 'footer-adv-text-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Text Color', 'astra' ), 'default' => '', ), /** * Option: Link Color */ array( 'name' => 'footer-adv-link-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Normal', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Link Hover Color */ array( 'name' => 'footer-adv-link-h-color', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-content-group]', 'section' => 'section-footer-adv', 'tab' => __( 'Hover', 'astra' ), 'control' => 'ast-color', 'title' => __( 'Link Color', 'astra' ), 'default' => '', ), /** * Option: Footer widget Background */ array( 'name' => 'footer-adv-bg-obj', 'type' => 'sub-control', 'parent' => ASTRA_THEME_SETTINGS . '[footer-widget-background-group]', 'section' => 'section-footer-adv', 'control' => 'ast-background', 'default' => astra_get_option( 'footer-adv-bg-obj' ), 'label' => __( 'Background', 'astra' ), ), ); $configurations = array_merge( $configurations, $_configs ); return $configurations; } } } new Astra_Advanced_Footer_Colors_Configs(); astra-pro/class-astra-pro-upgrade-link-configs.php 0000644 00000002573 15252526160 0016221 0 ustar 00 <?php /** * Register customizer Aspra Pro Section. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.10 */ if ( ! class_exists( 'Astra_Pro_Upgrade_Link_Configs' ) ) { /** * Register Button Customizer Configurations. */ class Astra_Pro_Upgrade_Link_Configs extends Astra_Customizer_Config_Base { /** * Register Button Customizer Configurations. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $_configs = array( array( 'name' => 'astra-pro', 'type' => 'section', 'title' => esc_html__( 'More Options Available in Astra Pro!', 'astra' ), 'pro_url' => htmlspecialchars_decode( astra_get_pro_url( 'https://wpastra.com/pricing/', 'customizer', 'upgrade-link', 'upgrade-to-pro' ) ), 'priority' => 1, 'section_callback' => 'Astra_Pro_Customizer', ), ); return array_merge( $configurations, $_configs ); } } } new Astra_Pro_Upgrade_Link_Configs(); astra-pro/class-astra-pro-customizer.php 0000644 00000003166 15252526160 0014414 0 ustar 00 <?php /** * Astra Pro Customizer Section * * @package Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.10 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Astra_Pro_Customizer * * @since 1.0.10 */ if ( ! class_exists( 'Astra_Pro_Customizer' ) ) { /** * Astra_Pro_Customizer Initial setup */ class Astra_Pro_Customizer extends WP_Customize_Section { /** * The type of customize section being rendered. * * @since 1.0.10 * @access public * @var string */ public $type = 'astra-pro'; /** * Custom pro button URL. * * @since 1.0.10 * @access public * @var string */ public $pro_url = ''; /** * Add custom parameters to pass to the JS via JSON. * * @since 1.0.10 * @access public * @return string */ public function json() { $json = parent::json(); $json['pro_url'] = esc_url_raw( $this->pro_url ); return $json; } /** * Outputs the Underscore.js template. * * @since 1.0.10 * @access public * @return void */ protected function render_template() { ?> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }} cannot-expand control-section-default"> <h3 class="wp-ui-highlight"> <# if ( data.title && data.pro_url ) { #> <a href="{{ data.pro_url }}" class="wp-ui-text-highlight" target="_blank" rel="noopener">{{ data.title }}</a> <# } #> </h3> </li> <?php } } } astra-pro/index.php 0000644 00000000170 15252526160 0010276 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ class-astra-customizer.php 0000644 00000103765 15252526160 0011714 0 ustar 00 <?php /** * Astra Theme Customizer * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Customizer Loader */ if ( ! class_exists( 'Astra_Customizer' ) ) { /** * Customizer Loader * * @since 1.0.0 */ class Astra_Customizer { /** * Instance * * @access private * @var object */ private static $instance; /** * Customizer Configurations. * * @access Private * @since 1.4.3 * @var Array */ private static $configuration; /** * All groups parent-child relation array data. * * @access Public * @since 2.0.0 * @var Array */ public static $group_configs = array(); /** * Customizer controls data. * * @access Public * @since 2.0.0 * @var Array */ public $control_types = array(); /** * Customizer Dependency Array. * * @access Private * @since 1.4.3 * @var array */ private static $dependency_arr = array(); /** * Initiator */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Constructor */ public function __construct() { /** * Customizer */ add_action( 'customize_preview_init', array( $this, 'preview_init' ) ); if ( is_admin() || is_customize_preview() ) { add_action( 'customize_register', array( $this, 'include_configurations' ), 2 ); add_action( 'customize_register', array( $this, 'register_customizer_settings' ) ); add_action( 'customize_register', array( $this, 'astra_pro_upgrade_configurations' ), 2 ); } add_action( 'customize_controls_enqueue_scripts', array( $this, 'controls_scripts' ) ); add_action( 'customize_controls_print_footer_scripts', array( $this, 'print_footer_scripts' ) ); add_action( 'customize_register', array( $this, 'customize_register_panel' ), 2 ); add_action( 'customize_register', array( $this, 'customize_register' ) ); add_action( 'customize_save_after', array( $this, 'customize_save' ) ); add_action( 'wp_head', array( $this, 'preview_styles' ) ); } /** * Process and Register Customizer Panels, Sections, Settings and Controls. * * @param WP_Customize_Manager $wp_customize Reference to WP_Customize_Manager. * @since 1.4.3 * @return void */ public function register_customizer_settings( $wp_customize ) { $configurations = $this->get_customizer_configurations( $wp_customize ); foreach ( $configurations as $key => $config ) { $config = wp_parse_args( $config, $this->get_astra_customizer_configuration_defaults() ); switch ( $config['type'] ) { case 'panel': // Remove type from configuration. unset( $config['type'] ); $this->register_panel( $config, $wp_customize ); break; case 'section': // Remove type from configuration. unset( $config['type'] ); $this->register_section( $config, $wp_customize ); break; case 'sub-control': // Remove type from configuration. unset( $config['type'] ); $this->register_sub_control_setting( $config, $wp_customize ); break; case 'control': // Remove type from configuration. unset( $config['type'] ); $this->register_setting_control( $config, $wp_customize ); break; } } } /** * Check if string is start with a string provided. * * @param string $string main string. * @param string $start_string string to search. * @since 2.0.0 * @return bool. */ public function starts_with( $string, $start_string ) { $len = strlen( $start_string ); return ( substr( $string, 0, $len ) === $start_string ); } /** * Filter and return Customizer Configurations. * * @param WP_Customize_Manager $wp_customize Reference to WP_Customize_Manager. * @since 1.4.3 * @return Array Customizer Configurations for registering Sections/Panels/Controls. */ private function get_customizer_configurations( $wp_customize ) { if ( ! is_null( self::$configuration ) ) { return self::$configuration; } return apply_filters( 'astra_customizer_configurations', array(), $wp_customize ); } /** * Return default values for the Customize Configurations. * * @since 1.4.3 * @return Array default values for the Customizer Configurations. */ private function get_astra_customizer_configuration_defaults() { return apply_filters( 'astra_customizer_configuration_defaults', array( 'priority' => null, 'title' => null, 'label' => null, 'name' => null, 'type' => null, 'description' => null, 'capability' => null, 'datastore_type' => 'option', // theme_mod or option. Default option. 'settings' => null, 'active_callback' => null, 'sanitize_callback' => null, 'sanitize_js_callback' => null, 'theme_supports' => null, 'transport' => null, 'default' => null, 'selector' => null, 'ast_fields' => array(), ) ); } /** * Register Customizer Panel. * * @param Array $config Panel Configuration settings. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return void */ private function register_panel( $config, $wp_customize ) { $wp_customize->add_panel( new Astra_WP_Customize_Panel( $wp_customize, astra_get_prop( $config, 'name' ), $config ) ); } /** * Register Customizer Section. * * @param Array $config Panel Configuration settings. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return void */ private function register_section( $config, $wp_customize ) { $callback = astra_get_prop( $config, 'section_callback', 'Astra_WP_Customize_Section' ); $wp_customize->add_section( new $callback( $wp_customize, astra_get_prop( $config, 'name' ), $config ) ); } /** * Register Customizer Control and Setting. * * @param Array $control_config Panel Configuration settings. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 2.0.0 * @return void */ private function register_sub_control_setting( $control_config, $wp_customize ) { $sub_control_name = ASTRA_THEME_SETTINGS . '[' . astra_get_prop( $control_config, 'name' ) . ']'; if ( isset( $wp_customize->get_control( $sub_control_name )->id ) ) { return; } $parent = astra_get_prop( $control_config, 'parent' ); $tab = astra_get_prop( $control_config, 'tab' ); if ( empty( self::$group_configs[ $parent ] ) ) { self::$group_configs[ $parent ] = array(); } if ( array_key_exists( 'tab', $control_config ) ) { self::$group_configs[ $parent ]['tabs'][ $tab ][] = $control_config; } else { self::$group_configs[ $parent ][] = $control_config; } $config = array( 'name' => $sub_control_name, 'datastore_type' => 'option', 'transport' => 'postMessage', 'control' => 'ast-hidden', 'section' => astra_get_prop( $control_config, 'section', 'title_tagline' ), 'default' => astra_get_prop( $control_config, 'default' ), 'sanitize_callback' => astra_get_prop( $control_config, 'sanitize_callback', Astra_Customizer_Control_Base::get_sanitize_call( astra_get_prop( $control_config, 'control' ) ) ), ); $wp_customize->add_setting( astra_get_prop( $config, 'name' ), array( 'default' => astra_get_prop( $config, 'default' ), 'type' => astra_get_prop( $config, 'datastore_type' ), 'transport' => astra_get_prop( $config, 'transport', 'refresh' ), 'sanitize_callback' => astra_get_prop( $config, 'sanitize_callback', Astra_Customizer_Control_Base::get_sanitize_call( astra_get_prop( $config, 'control' ) ) ), ) ); $instance = Astra_Customizer_Control_Base::get_control_instance( astra_get_prop( $config, 'control' ) ); if ( false !== $instance ) { $wp_customize->add_control( new $instance( $wp_customize, $sub_control_name, $config ) ); } else { $wp_customize->add_control( $sub_control_name, $config ); } } /** * Register Customizer Control and Setting. * * @param Array $config Panel Configuration settings. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return void */ private function register_setting_control( $config, $wp_customize ) { if ( 'ast-settings-group' === $config['control'] ) { $callback = false; } else { $callback = astra_get_prop( $config, 'sanitize_callback', Astra_Customizer_Control_Base::get_sanitize_call( astra_get_prop( $config, 'control' ) ) ); } $wp_customize->add_setting( astra_get_prop( $config, 'name' ), array( 'default' => astra_get_prop( $config, 'default' ), 'type' => astra_get_prop( $config, 'datastore_type' ), 'transport' => astra_get_prop( $config, 'transport', 'refresh' ), 'sanitize_callback' => $callback, ) ); $instance = Astra_Customizer_Control_Base::get_control_instance( astra_get_prop( $config, 'control' ) ); $config['label'] = astra_get_prop( $config, 'title' ); $config['type'] = astra_get_prop( $config, 'control' ); // For ast-font control font-weight and font-family is passed as param `font-type` which needs to be converted to `type`. if ( false !== astra_get_prop( $config, 'font-type', false ) ) { $config['type'] = astra_get_prop( $config, 'font-type', false ); } if ( false !== $instance ) { $wp_customize->add_control( new $instance( $wp_customize, astra_get_prop( $config, 'name' ), $config ) ); } else { $wp_customize->add_control( astra_get_prop( $config, 'name' ), $config ); } if ( astra_get_prop( $config, 'partial', false ) ) { if ( isset( $wp_customize->selective_refresh ) ) { $wp_customize->selective_refresh->add_partial( astra_get_prop( $config, 'name' ), array( 'selector' => astra_get_prop( $config['partial'], 'selector' ), 'container_inclusive' => astra_get_prop( $config['partial'], 'container_inclusive' ), 'render_callback' => astra_get_prop( $config['partial'], 'render_callback' ), ) ); } } if ( false !== astra_get_prop( $config, 'required', false ) ) { $this->update_dependency_arr( astra_get_prop( $config, 'name' ), astra_get_prop( $config, 'required' ) ); } } /** * Update dependency in the dependency array. * * @param String $key name of the Setting/Control for which the dependency is added. * @param Array $dependency dependency of the $name Setting/Control. * @since 1.4.3 * @return void */ private function update_dependency_arr( $key, $dependency ) { self::$dependency_arr[ $key ] = $dependency; } /** * Get dependency Array. * * @since 1.4.3 * @return Array Dependencies discovered when registering controls and settings. */ private function get_dependency_arr() { return self::$dependency_arr; } /** * Include Customizer Configuration files. * * @since 1.4.3 * @return void */ public function include_configurations() { // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require ASTRA_THEME_DIR . 'inc/customizer/configurations/class-astra-customizer-config-base.php'; /** * Register Sections & Panels */ require ASTRA_THEME_DIR . 'inc/customizer/class-astra-customizer-register-sections-panels.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/buttons/class-astra-customizer-button-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-site-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-site-identity-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-blog-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-blog-single-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-sidebar-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-site-container-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/colors-background/class-astra-body-colors-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/typography/class-astra-archive-typo-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/typography/class-astra-body-typo-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/typography/class-astra-content-typo-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/typography/class-astra-header-typo-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/typography/class-astra-single-typo-configs.php'; if ( astra_existing_header_footer_configs() ) { require ASTRA_THEME_DIR . 'inc/customizer/configurations/buttons/class-astra-existing-button-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-header-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/layout/class-astra-footer-layout-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/colors-background/class-astra-advanced-footer-colors-configs.php'; require ASTRA_THEME_DIR . 'inc/customizer/configurations/colors-background/class-astra-footer-colors-configs.php'; } // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Print Footer Scripts * * @since 1.0.0 * @return void */ public function print_footer_scripts() { $output = '<script type="text/javascript">'; $output .= ' wp.customize.bind(\'ready\', function() { wp.customize.control.each(function(ctrl, i) { var desc = ctrl.container.find(".customize-control-description"); if( desc.length) { var title = ctrl.container.find(".customize-control-title"); var li_wrapper = desc.closest("li"); var tooltip = desc.text().replace(/[\u00A0-\u9999<>\&]/gim, function(i) { return \'&#\'+i.charCodeAt(0)+\';\'; }); desc.remove(); li_wrapper.append(" <i class=\'ast-control-tooltip dashicons dashicons-editor-help\'title=\'" + tooltip +"\'></i>"); } }); });'; $output .= Astra_Fonts_Data::js(); $output .= '</script>'; echo $output; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } /** * Register custom section and panel. * * @since 1.0.0 * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function customize_register_panel( $wp_customize ) { /** * Register Extended Panel */ $wp_customize->register_panel_type( 'Astra_WP_Customize_Panel' ); $wp_customize->register_section_type( 'Astra_WP_Customize_Section' ); $wp_customize->register_section_type( 'Astra_WP_Customize_Separator' ); if ( ! defined( 'ASTRA_EXT_VER' ) ) { $wp_customize->register_section_type( 'Astra_Pro_Customizer' ); } // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require ASTRA_THEME_DIR . 'inc/customizer/extend-customizer/class-astra-wp-customize-panel.php'; require ASTRA_THEME_DIR . 'inc/customizer/extend-customizer/class-astra-wp-customize-section.php'; require ASTRA_THEME_DIR . 'inc/customizer/extend-customizer/class-astra-wp-customize-separator.php'; require ASTRA_THEME_DIR . 'inc/customizer/customizer-controls.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound /** * Add Controls */ Astra_Customizer_Control_Base::add_control( 'color', array( 'callback' => 'WP_Customize_Color_Control', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_hex_color' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-sortable', array( 'callback' => 'Astra_Control_Sortable', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_multi_choices' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-radio-image', array( 'callback' => 'Astra_Control_Radio_Image', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_choices' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-slider', array( 'callback' => 'Astra_Control_Slider', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-responsive-slider', array( 'callback' => 'Astra_Control_Responsive_Slider', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_slider' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-responsive', array( 'callback' => 'Astra_Control_Responsive', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_typo' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-responsive-spacing', array( 'callback' => 'Astra_Control_Responsive_Spacing', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_spacing' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-divider', array( 'callback' => 'Astra_Control_Divider', 'sanitize_callback' => '', ) ); Astra_Customizer_Control_Base::add_control( 'ast-heading', array( 'callback' => 'Astra_Control_Heading', 'sanitize_callback' => '', ) ); Astra_Customizer_Control_Base::add_control( 'ast-hidden', array( 'callback' => 'Astra_Control_Hidden', 'sanitize_callback' => '', ) ); Astra_Customizer_Control_Base::add_control( 'ast-link', array( 'callback' => 'Astra_Control_Link', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_link' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-color', array( 'callback' => 'Astra_Control_Color', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_alpha_color' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-description', array( 'callback' => 'Astra_Control_Description', 'sanitize_callback' => '', ) ); Astra_Customizer_Control_Base::add_control( 'ast-background', array( 'callback' => 'Astra_Control_Background', 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_background_obj' ), ) ); Astra_Customizer_Control_Base::add_control( 'image', array( 'callback' => 'WP_Customize_Image_Control', 'sanitize_callback' => 'esc_url_raw', ) ); Astra_Customizer_Control_Base::add_control( 'ast-font', array( 'callback' => 'Astra_Control_Typography', 'sanitize_callback' => 'sanitize_text_field', ) ); Astra_Customizer_Control_Base::add_control( 'number', array( 'sanitize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_number' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-border', array( 'callback' => 'Astra_Control_Border', 'santize_callback' => 'sanitize_border', ) ); Astra_Customizer_Control_Base::add_control( 'ast-responsive-color', array( 'callback' => 'Astra_Control_Responsive_Color', 'santize_callback' => 'sanitize_responsive_color', ) ); /** * Add Controls */ Astra_Customizer_Control_Base::add_control( 'ast-responsive-background', array( 'callback' => 'Astra_Control_Responsive_Background', 'santize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_responsive_background' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-customizer-link', array( 'callback' => 'Astra_Control_Customizer_Link', 'santize_callback' => array( 'Astra_Customizer_Sanitizes', 'sanitize_customizer_links' ), ) ); Astra_Customizer_Control_Base::add_control( 'ast-settings-group', array( 'callback' => 'Astra_Control_Settings_Group', ) ); Astra_Customizer_Control_Base::add_control( 'ast-select', array( 'callback' => 'Astra_Control_Select', 'sanitize_callback' => '', ) ); Astra_Customizer_Control_Base::add_control( 'ast-responsive-select', array( 'callback' => 'Astra_Control_Responsive_Select', 'sanitize_callback' => '', ) ); /** * Helper files */ // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require ASTRA_THEME_DIR . 'inc/customizer/class-astra-customizer-partials.php'; require ASTRA_THEME_DIR . 'inc/customizer/class-astra-customizer-callback.php'; require ASTRA_THEME_DIR . 'inc/customizer/class-astra-customizer-sanitizes.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Add postMessage support for site title and description for the Theme Customizer. * * @since 1.0.0 * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function customize_register( $wp_customize ) { /** * Override Defaults */ require ASTRA_THEME_DIR . 'inc/customizer/override-defaults.php';// phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } /** * Add upgrade link configurations controls. * * @since 1.0.0 * @param WP_Customize_Manager $wp_customize Theme Customizer object. */ public function astra_pro_upgrade_configurations( $wp_customize ) { if ( ! defined( 'ASTRA_EXT_VER' ) ) { require ASTRA_THEME_DIR . 'inc/customizer/astra-pro/class-astra-pro-customizer.php';// phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require ASTRA_THEME_DIR . 'inc/customizer/astra-pro/class-astra-pro-upgrade-link-configs.php';// phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } } /** * Customizer Controls * * @since 1.0.0 * @return void */ public function controls_scripts() { $js_prefix = '.min.js'; $css_prefix = '.min.css'; $dir = 'minified'; if ( SCRIPT_DEBUG ) { $js_prefix = '.js'; $css_prefix = '.css'; $dir = 'unminified'; } if ( is_rtl() ) { $css_prefix = '.min-rtl.css'; if ( SCRIPT_DEBUG ) { $css_prefix = '-rtl.css'; } } wp_enqueue_style( 'wp-components' ); wp_enqueue_script( 'thickbox' ); wp_enqueue_style( 'thickbox' ); // Customizer Core. wp_enqueue_script( 'astra-customizer-controls-toggle-js', ASTRA_THEME_URI . 'assets/js/' . $dir . '/customizer-controls-toggle' . $js_prefix, array(), ASTRA_THEME_VERSION, true ); // Extended Customizer Assets - Panel extended. wp_enqueue_style( 'astra-extend-customizer-css', ASTRA_THEME_URI . 'assets/css/' . $dir . '/extend-customizer' . $css_prefix, null, ASTRA_THEME_VERSION ); wp_enqueue_script( 'astra-extend-customizer-js', ASTRA_THEME_URI . 'assets/js/' . $dir . '/extend-customizer' . $js_prefix, array(), ASTRA_THEME_VERSION, true ); wp_enqueue_script( 'astra-customizer-dependency', ASTRA_THEME_URI . 'assets/js/' . $dir . '/customizer-dependency' . $js_prefix, array( 'astra-customizer-controls-js' ), ASTRA_THEME_VERSION, true ); // Customizer Controls. wp_enqueue_style( 'astra-customizer-controls-css', ASTRA_THEME_URI . 'assets/css/' . $dir . '/customizer-controls' . $css_prefix, null, ASTRA_THEME_VERSION ); wp_enqueue_script( 'astra-customizer-controls-js', ASTRA_THEME_URI . 'assets/js/' . $dir . '/customizer-controls' . $js_prefix, array( 'astra-customizer-controls-toggle-js' ), ASTRA_THEME_VERSION, true ); $google_fonts = Astra_Font_Families::get_google_fonts(); $string = $this->generate_font_dropdown(); $tmpl = '<div class="ast-field-settings-modal"> <ul class="ast-fields-wrap"> </ul> </div>'; wp_localize_script( 'astra-customizer-controls-toggle-js', 'astra', apply_filters( 'astra_theme_customizer_js_localize', array( 'customizer' => array( 'settings' => array( 'sidebars' => array( 'single' => array( 'single-post-sidebar-layout', 'single-page-sidebar-layout', ), 'archive' => array( 'archive-post-sidebar-layout', ), ), 'container' => array( 'single' => array( 'single-post-content-layout', 'single-page-content-layout', ), 'archive' => array( 'archive-post-content-layout', ), ), 'google_fonts' => $string, ), 'group_modal_tmpl' => $tmpl, ), 'theme' => array( 'option' => ASTRA_THEME_SETTINGS, ), 'config' => $this->get_dependency_arr(), ) ) ); } /** * Generates HTML for font dropdown. * * @return string */ public function generate_font_dropdown() { ob_start(); ?> <option value="inherit"><?php esc_html_e( 'Default System Font', 'astra' ); ?></option> <optgroup label="Other System Fonts"> <?php $system_fonts = Astra_Font_Families::get_system_fonts(); $google_fonts = Astra_Font_Families::get_google_fonts(); foreach ( $system_fonts as $name => $variants ) { ?> <option value="<?php echo esc_attr( $name ); ?>" ><?php echo esc_html( $name ); ?></option> <?php } // Add Custom Font List Into Customizer. do_action( 'astra_customizer_font_list', '' ); ?> <optgroup label="Google"> <?php foreach ( $google_fonts as $name => $single_font ) { $variants = astra_get_prop( $single_font, '0' ); $category = astra_get_prop( $single_font, '1' ); ?> <option value="<?php echo "'" . esc_attr( $name ) . "', " . esc_attr( $category ); ?>"><?php echo esc_html( $name ); ?></option> <?php } return ob_get_clean(); } /** * Customizer Preview Init * * @since 1.0.0 * @return void */ public function preview_init() { // Update variables. Astra_Theme_Options::refresh(); $js_prefix = '.min.js'; $css_prefix = '.min.css'; $dir = 'minified'; if ( SCRIPT_DEBUG ) { $js_prefix = '.js'; $css_prefix = '.css'; $dir = 'unminified'; } wp_enqueue_script( 'astra-customizer-preview-js', ASTRA_THEME_URI . 'assets/js/' . $dir . '/customizer-preview' . $js_prefix, array( 'customize-preview' ), ASTRA_THEME_VERSION, null ); $localize_array = array( 'headerBreakpoint' => astra_header_break_point(), 'includeAnchorsInHeadindsCss' => Astra_Dynamic_CSS::anchors_in_css_selectors_heading(), 'googleFonts' => Astra_Font_Families::get_google_fonts(), 'page_builder_button_style_css' => Astra_Dynamic_CSS::page_builder_button_style_css(), 'elementor_default_color_font_setting' => Astra_Dynamic_CSS::elementor_default_color_font_setting(), ); wp_localize_script( 'astra-customizer-preview-js', 'astraCustomizer', $localize_array ); } /** * Called by the customize_save_after action to refresh * the cached CSS when Customizer settings are saved. * * @since 1.0.0 * @return void */ public function customize_save() { // Update variables. Astra_Theme_Options::refresh(); if ( apply_filters( 'astra_resize_logo', true ) ) { /* Generate Header Logo */ $custom_logo_id = get_theme_mod( 'custom_logo' ); add_filter( 'intermediate_image_sizes_advanced', 'Astra_Customizer::logo_image_sizes', 10, 2 ); self::generate_logo_by_width( $custom_logo_id ); remove_filter( 'intermediate_image_sizes_advanced', 'Astra_Customizer::logo_image_sizes', 10 ); } else { // Regenerate the logo without custom image sizes. $custom_logo_id = get_theme_mod( 'custom_logo' ); self::generate_logo_by_width( $custom_logo_id ); } do_action( 'astra_customizer_save' ); } /** * Add logo image sizes in filter. * * @since 1.0.0 * @param array $sizes Sizes. * @param array $metadata attachment data. * * @return array */ public static function logo_image_sizes( $sizes, $metadata ) { $logo_width = astra_get_option( 'ast-header-responsive-logo-width' ); if ( is_array( $sizes ) && '' != $logo_width['desktop'] ) { $max_value = max( $logo_width ); $sizes['ast-logo-size'] = array( 'width' => (int) $max_value, 'height' => 0, 'crop' => false, ); } return $sizes; } /** * Generate logo image by its width. * * @since 1.0.0 * @param int $custom_logo_id Logo id. */ public static function generate_logo_by_width( $custom_logo_id ) { if ( $custom_logo_id ) { $image = get_post( $custom_logo_id ); if ( $image ) { $fullsizepath = get_attached_file( $image->ID ); if ( false !== $fullsizepath || file_exists( $fullsizepath ) ) { if ( ! function_exists( 'wp_generate_attachment_metadata' ) ) { require_once ABSPATH . 'wp-admin/includes/image.php';// phpcs:ignore WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound } $metadata = wp_generate_attachment_metadata( $image->ID, $fullsizepath ); if ( ! is_wp_error( $metadata ) && ! empty( $metadata ) ) { wp_update_attachment_metadata( $image->ID, $metadata ); } } } } } /** * Customizer Preview icon CSS * * @since 1.0.0 * @return void */ public function preview_styles() { if ( is_customize_preview() ) { echo '<style class="astra-custom-shortcut-edit-icons"> .customize-partial-edit-shortcut-astra-settings-footer-adv { position: relative; top: -1em; left: -1.8em; } .customize-partial-edit-shortcut-astra-settings-breadcrumb-position .customize-partial-edit-shortcut-button{ top: -0.5em; } .ast-small-footer-section-1 .ast-footer-widget-1-area .customize-partial-edit-shortcut, .ast-small-footer-section-2 .ast-footer-widget-2-area .customize-partial-edit-shortcut { position: absolute; left: 47%; } .ast-small-footer-section-1.ast-small-footer-section-equally .ast-footer-widget-1-area .customize-partial-edit-shortcut, .ast-small-footer-section-2.ast-small-footer-section-equally .ast-footer-widget-2-area .customize-partial-edit-shortcut { position: absolute; left: 42%; } .ast-small-footer-section-1.ast-small-footer-section-equally .ast-footer-widget-1-area .ast-no-widget-row .customize-partial-edit-shortcut-astra-settings-footer-sml-section-1 { position: absolute; left: 1em; } .ast-small-footer-section-2.ast-small-footer-section-equally .ast-footer-widget-2-area .ast-no-widget-row .customize-partial-edit-shortcut-astra-settings-footer-sml-section-2 { left: 83.5%; } .ast-small-footer-section-1.ast-small-footer-section-equally .nav-menu .customize-partial-edit-shortcut-astra-settings-footer-sml-section-1 { position: absolute; left: 1em; } .ast-small-footer-section-2.ast-small-footer-section-equally .nav-menu .customize-partial-edit-shortcut-astra-settings-footer-sml-section-2 { position: absolute; left: 44.5%; } .ast-small-footer .ast-container .ast-small-footer-section-1 .footer-primary-navigation > .customize-partial-edit-shortcut, .ast-small-footer .ast-container .ast-small-footer-section-2 .footer-primary-navigation > .customize-partial-edit-shortcut{ display: none; } .ast-small-footer .customize-partial-edit-shortcut-astra-settings-footer-sml-layout { position: absolute; top: 3%; left: 10%; } .customize-partial-edit-shortcut button:hover { border-color: #fff; } .ast-main-header-bar-alignment .main-header-bar-navigation .customize-partial-edit-shortcut-button { display: none; } </style>'; echo '<style class="astra-theme-custom-shortcut-edit-icons"> .ast-replace-site-logo-transparent.ast-theme-transparent-header .customize-partial-edit-shortcut-astra-settings-transparent-header-logo, .ast-replace-site-logo-transparent.ast-theme-transparent-header .customize-partial-edit-shortcut-astra-settings-transparent-header-enable { z-index: 6; } </style>'; } } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Customizer::get_instance(); class-astra-font-families.php 0000644 00000007227 15252526160 0012241 0 ustar 00 <?php /** * Helper class for font settings. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.19 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Font info class for System and Google fonts. */ if ( ! class_exists( 'Astra_Font_Families' ) ) : /** * Font info class for System and Google fonts. */ final class Astra_Font_Families { /** * System Fonts * * @since 1.0.19 * @var array */ public static $system_fonts = array(); /** * Google Fonts * * @since 1.0.19 * @var array */ public static $google_fonts = array(); /** * Get System Fonts * * @since 1.0.19 * * @return Array All the system fonts in Astra */ public static function get_system_fonts() { if ( empty( self::$system_fonts ) ) { self::$system_fonts = array( 'Helvetica' => array( 'fallback' => 'Verdana, Arial, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Verdana' => array( 'fallback' => 'Helvetica, Arial, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Arial' => array( 'fallback' => 'Helvetica, Verdana, sans-serif', 'weights' => array( '300', '400', '700', ), ), 'Times' => array( 'fallback' => 'Georgia, serif', 'weights' => array( '300', '400', '700', ), ), 'Georgia' => array( 'fallback' => 'Times, serif', 'weights' => array( '300', '400', '700', ), ), 'Courier' => array( 'fallback' => 'monospace', 'weights' => array( '300', '400', '700', ), ), ); } return apply_filters( 'astra_system_fonts', self::$system_fonts ); } /** * Custom Fonts * * @since 1.0.19 * * @return Array All the custom fonts in Astra */ public static function get_custom_fonts() { $custom_fonts = array(); return apply_filters( 'astra_custom_fonts', $custom_fonts ); } /** * Google Fonts used in astra. * Array is generated from the google-fonts.json file. * * @since 1.0.19 * * @return Array Array of Google Fonts. */ public static function get_google_fonts() { if ( empty( self::$google_fonts ) ) { /** * Deprecating the Filter to change the Google Fonts JSON file path. * * @since 2.5.0 * @param string $json_file File where google fonts json format added. * @return array */ $google_fonts_file = apply_filters( 'astra_google_fonts_php_file', ASTRA_THEME_DIR . 'inc/google-fonts.php' ); if ( ! file_exists( $google_fonts_file ) ) { return array(); } $google_fonts_arr = include $google_fonts_file;// phpcs:ignore: WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound foreach ( $google_fonts_arr as $key => $font ) { $name = key( $font ); foreach ( $font[ $name ] as $font_key => $single_font ) { if ( 'variants' === $font_key ) { foreach ( $single_font as $variant_key => $variant ) { if ( 'regular' == $variant ) { $font[ $name ][ $font_key ][ $variant_key ] = '400'; } } } self::$google_fonts[ $name ] = array_values( $font[ $name ] ); } } } return apply_filters( 'astra_google_fonts', self::$google_fonts ); } } endif; extend-customizer/class-astra-wp-customize-section.php 0000644 00000003223 15252526160 0017275 0 ustar 00 <?php /** * Customizer Control: panel. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( class_exists( 'WP_Customize_Section' ) ) { /** * Adds a custom Customize Section for nested sections. * * @link https://gist.github.com/OriginalEXE/9a6183e09f4cae2f30b006232bb154af * @since 1.0.31 * @see WP_Customize_Section */ class Astra_WP_Customize_Section extends WP_Customize_Section { /** * Section * * @since 1.0.31 * @var string */ public $section; /** * Control type. * * @since 1.0.31 * @var string */ public $type = 'ast_section'; /** * Get section parameters for JS. * * @since 1.0.31 * @return array Exported parameters. */ public function json() { $array = wp_array_slice_assoc( (array) $this, array( 'id', 'description', 'priority', 'panel', 'type', 'description_hidden', 'section' ) ); $array['title'] = html_entity_decode( $this->title, ENT_QUOTES, get_bloginfo( 'charset' ) ); $array['content'] = $this->get_content(); $array['active'] = $this->active(); $array['instanceNumber'] = $this->instance_number; if ( $this->panel ) { $array['customizeAction'] = sprintf( 'Customizing ▸ %s', esc_html( $this->manager->get_panel( $this->panel )->title ) ); } else { $array['customizeAction'] = 'Customizing'; } return $array; } } } extend-customizer/class-astra-wp-customize-panel.php 0000644 00000002604 15252526160 0016732 0 ustar 00 <?php /** * Customizer Control: panel. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( class_exists( 'WP_Customize_Panel' ) ) { /** * Adds a custom Panel for nested panels / sections. * * @link https://gist.github.com/OriginalEXE/9a6183e09f4cae2f30b006232bb154af * @since 1.0.31 * @see WP_Customize_Panel */ class Astra_WP_Customize_Panel extends WP_Customize_Panel { /** * Panel * * @since 1.0.31 * @var string */ public $panel; /** * Control type. * * @since 1.0.31 * @var string */ public $type = 'ast_panel'; /** * Get section parameters for JS. * * @since 1.0.31 * @return array Exported parameters. */ public function json() { $array = wp_array_slice_assoc( (array) $this, array( 'id', 'description', 'priority', 'type', 'panel' ) ); $array['title'] = html_entity_decode( $this->title, ENT_QUOTES, get_bloginfo( 'charset' ) ); $array['content'] = $this->get_content(); $array['active'] = $this->active(); $array['instanceNumber'] = $this->instance_number; return $array; } } } extend-customizer/class-astra-wp-customize-separator.php 0000644 00000002024 15252526160 0017627 0 ustar 00 <?php /** * Customizer Control: panel. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 2.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( class_exists( 'WP_Customize_Section' ) ) { /** * Adds a custom Customize Section for section separator. * * @link https://gist.github.com/OriginalEXE/9a6183e09f4cae2f30b006232bb154af * @since 2.0.0 * @see WP_Customize_Section */ class Astra_WP_Customize_Separator extends WP_Customize_Section { /** * Control type. * * @since 1.0.31 * @var string */ public $type = 'ast-section-separator'; /** * Template for section separator * * @since 2.0.0 */ protected function render_template() { ?> <li id="accordion-section-{{ data.id }}" class="accordion-section control-section control-section-{{ data.type }}"></li> <?php } } } class-astra-customizer-partials.php 0000644 00000006217 15252526160 0013523 0 ustar 00 <?php /** * Customizer Partial. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer Partials * * @since 1.0.0 */ if ( ! class_exists( 'Astra_Customizer_Partials' ) ) { /** * Customizer Partials initial setup */ class Astra_Customizer_Partials { /** * Constructor * * @since 1.0.0 * * @return void */ public function __construct() { } /** * Render Partial Site Tagline * * @since 1.0.0 * * @return mixed */ public function render_partial_site_tagline() { $site_tagline = astra_get_option( 'display-site-tagline' ); if ( true == $site_tagline ) { return get_bloginfo( 'description', 'display' ); } } /** * Render Partial Site Tagline * * @since 1.0.0 * * @return mixed */ public function render_partial_site_title() { $site_title = astra_get_option( 'display-site-title' ); if ( true == $site_title ) { return get_bloginfo( 'name', 'display' ); } } /** * Render Partial Header Right Section HTML * * @since 1.0.0 * * @return mixed */ public function render_header_main_rt_section_html() { $right_section_html = astra_get_option( 'header-main-rt-section-html' ); return do_shortcode( $right_section_html ); } /** * Render Partial Text Custom Menu Item * * @since 1.0.0 * * @return mixed */ public function render_header_main_rt_section_button_text() { $custom_button_text = astra_get_option( 'header-main-rt-section-button-text' ); $html = '<div class="ast-button"> ' . $custom_button_text . ' </div>'; return do_shortcode( $html ); } /** * Render Partial Text Header Site Title & Tagline * * @since 2.2.0 * * @return mixed */ public function render_header_site_title_tagline() { $display_site_title = astra_get_option( 'display-site-title' ); $display_site_tagline = astra_get_option( 'display-site-tagline' ); $html = astra_get_site_title_tagline( $display_site_title, $display_site_tagline ); return do_shortcode( $html ); } /** * Render Partial Footer Section 1 Credit * * @since 1.0.0 * * @return mixed */ public function render_footer_sml_section_1_credit() { $output = astra_get_small_footer_custom_text( 'footer-sml-section-1-credit' ); return do_shortcode( $output ); } /** * Render Partial Footer Section 2 Credit * * @since 1.0.0 * * @return mixed */ public function render_footer_sml_section_2_credit() { $output = astra_get_small_footer_custom_text( 'footer-sml-section-2-credit' ); return do_shortcode( $output ); } /** * Render Partial text for the mobile toggle menu * * @since 2.6.0 * * @return mixed */ public function mobile_toggle_menu() { $output = astra_masthead_toggle_buttons_primary(); return do_shortcode( $output ); } } } extend-custom-controls/build/index.js 0000644 00000654131 15252526160 0013766 0 ustar 00 !function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=83)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(e)}t.exports=r},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,r){t.exports=r(39)()},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}},function(t,e,r){var n=r(37);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e,r){var n=r(38),a=r(2);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?a(t):e}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},r.apply(this,arguments)}t.exports=r},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){var n=r(19),a=r(23);function o(e,r){return delete t.exports[e],t.exports[e]=r,r}t.exports={Parser:n,Tokenizer:r(20),ElementType:r(13),DomHandler:a,get FeedHandler(){return o("FeedHandler",r(46))},get Stream(){return o("Stream",r(57))},get WritableStream(){return o("WritableStream",r(26))},get ProxyHandler(){return o("ProxyHandler",r(65))},get DomUtils(){return o("DomUtils",r(25))},get CollectingHandler(){return o("CollectingHandler",r(66))},DefaultHandler:a,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new a(e);return new n(r,e).end(t),r.dom},parseFeed:function(e,r){var a=new t.exports.FeedHandler(r);return new n(a,r).end(e),a.dom},createDomStream:function(t,e,r){var o=new a(t,e,r);return new n(o,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.filter((function(t){return!(0,n.default)(t)})).map((function(t,r){var n=void 0;return"function"!=typeof e||null!==(n=e(t,r))&&!n?(0,a.default)(t,r,e):n}))};var n=o(r(41)),a=o(r(18));function o(t){return t&&t.__esModule?t:{default:t}}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return o.default[t.type](t,e,r)};var n,a=r(42),o=(n=a)&&n.__esModule?n:{default:n}},function(t,e,r){var n=r(20),a={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:{option:!0},optgroup:{optgroup:!0}},i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(14)(u,r(44).EventEmitter),u.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},u.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in i||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in i&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in c)&&this._foreignContext.pop(),!this._stack.length||t in i&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},u.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},u.prototype.onattribdata=function(t){this._attribvalue+=t},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(t){var e=t.search(l),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},u.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},u.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},u.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(t){this.reset(),this.end(t)},u.prototype.write=function(t){this._tokenizer.write(t)},u.prototype.end=function(t){this._tokenizer.end(t)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,t.exports=u},function(t,e,r){t.exports=bt;var n=r(21),a=r(16),o=r(22),i=r(17),s=0,c=s++,l=s++,u=s++,p=s++,h=s++,d=s++,f=s++,m=s++,b=s++,g=s++,v=s++,y=s++,_=s++,O=s++,k=s++,w=s++,j=s++,E=s++,C=s++,S=s++,x=s++,N=s++,R=s++,T=s++,A=s++,D=s++,P=s++,z=s++,L=s++,q=s++,I=s++,B=s++,M=s++,V=s++,Q=s++,U=s++,H=s++,F=s++,G=s++,Y=s++,J=s++,X=s++,W=s++,Z=s++,K=s++,$=s++,tt=s++,et=s++,rt=s++,nt=s++,at=s++,ot=s++,it=s++,st=s++,ct=s++,lt=0,ut=lt++,pt=lt++,ht=lt++;function dt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function ft(t,e,r){var n=t.toLowerCase();return t===n?function(t){t===n?this._state=e:(this._state=r,this._index--)}:function(a){a===n||a===t?this._state=e:(this._state=r,this._index--)}}function mt(t,e){var r=t.toLowerCase();return function(n){n===r||n===t?this._state=e:(this._state=u,this._index--)}}function bt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=ut,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}bt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ut&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=at,this._sectionStart=this._index)},bt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==ut||dt(t)?this._state=c:"!"===t?(this._state=k,this._sectionStart=this._index+1):"?"===t?(this._state=j,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?u:I,this._sectionStart=this._index)},bt.prototype._stateInTagName=function(t){("/"===t||">"===t||dt(t))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},bt.prototype._stateBeforeCloseingTagName=function(t){dt(t)||(">"===t?this._state=c:this._special!==ut?"s"===t||"S"===t?this._state=B:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},bt.prototype._stateInCloseingTagName=function(t){(">"===t||dt(t))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},bt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=p:dt(t)||(this._state=b,this._sectionStart=this._index)},bt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):dt(t)||(this._state=m,this._index--)},bt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||dt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=g,this._index--)},bt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=v:"/"===t||">"===t?(this._cbs.onattribend(),this._state=m,this._index--):dt(t)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)},bt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=_,this._sectionStart=this._index+1):dt(t)||(this._state=O,this._sectionStart=this._index,this._index--)},bt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueNoQuotes=function(t){dt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?N:"-"===t?E:w},bt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=C,this._sectionStart=this._index+1):this._state=w},bt.prototype._stateInComment=function(t){"-"===t&&(this._state=S)},bt.prototype._stateAfterComment1=function(t){this._state="-"===t?x:C},bt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=C)},bt.prototype._stateBeforeCdata1=ft("C",R,w),bt.prototype._stateBeforeCdata2=ft("D",T,w),bt.prototype._stateBeforeCdata3=ft("A",A,w),bt.prototype._stateBeforeCdata4=ft("T",D,w),bt.prototype._stateBeforeCdata5=ft("A",P,w),bt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=z,this._sectionStart=this._index+1):(this._state=w,this._index--)},bt.prototype._stateInCdata=function(t){"]"===t&&(this._state=L)},bt.prototype._stateAfterCdata1=function(t){this._state="]"===t?q:z},bt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=z)},bt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=M:"t"===t||"T"===t?this._state=W:(this._state=u,this._index--)},bt.prototype._stateBeforeSpecialEnd=function(t){this._special!==pt||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=F},bt.prototype._stateBeforeScript1=mt("R",V),bt.prototype._stateBeforeScript2=mt("I",Q),bt.prototype._stateBeforeScript3=mt("P",U),bt.prototype._stateBeforeScript4=mt("T",H),bt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||dt(t))&&(this._special=pt),this._state=u,this._index--},bt.prototype._stateAfterScript1=ft("R",G,c),bt.prototype._stateAfterScript2=ft("I",Y,c),bt.prototype._stateAfterScript3=ft("P",J,c),bt.prototype._stateAfterScript4=ft("T",X,c),bt.prototype._stateAfterScript5=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},bt.prototype._stateBeforeStyle1=mt("Y",Z),bt.prototype._stateBeforeStyle2=mt("L",K),bt.prototype._stateBeforeStyle3=mt("E",$),bt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||dt(t))&&(this._special=ht),this._state=u,this._index--},bt.prototype._stateAfterStyle1=ft("Y",et,c),bt.prototype._stateAfterStyle2=ft("L",rt,c),bt.prototype._stateAfterStyle3=ft("E",nt,c),bt.prototype._stateAfterStyle4=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},bt.prototype._stateBeforeEntity=ft("#",ot,it),bt.prototype._stateBeforeNumericEntity=ft("X",ct,st),bt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?i:a;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},bt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var r=this._buffer.substr(t,e);if(o.hasOwnProperty(r))return this._emitPartial(o[r]),void(this._sectionStart+=e+1);e--}},bt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},bt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var a=this._buffer.substring(r,this._index),o=parseInt(a,e);this._emitPartial(n(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},bt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},bt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},bt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},bt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},bt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===l?this._stateBeforeTagName(t):this._state===u?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===d?this._stateInCloseingTagName(t):this._state===f?this._stateAfterCloseingTagName(t):this._state===p?this._stateInSelfClosingTag(t):this._state===m?this._stateBeforeAttributeName(t):this._state===b?this._stateInAttributeName(t):this._state===g?this._stateAfterAttributeName(t):this._state===v?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===_?this._stateInAttributeValueSingleQuotes(t):this._state===O?this._stateInAttributeValueNoQuotes(t):this._state===k?this._stateBeforeDeclaration(t):this._state===w?this._stateInDeclaration(t):this._state===j?this._stateInProcessingInstruction(t):this._state===E?this._stateBeforeComment(t):this._state===C?this._stateInComment(t):this._state===S?this._stateAfterComment1(t):this._state===x?this._stateAfterComment2(t):this._state===N?this._stateBeforeCdata1(t):this._state===R?this._stateBeforeCdata2(t):this._state===T?this._stateBeforeCdata3(t):this._state===A?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===P?this._stateBeforeCdata6(t):this._state===z?this._stateInCdata(t):this._state===L?this._stateAfterCdata1(t):this._state===q?this._stateAfterCdata2(t):this._state===I?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===M?this._stateBeforeScript1(t):this._state===V?this._stateBeforeScript2(t):this._state===Q?this._stateBeforeScript3(t):this._state===U?this._stateBeforeScript4(t):this._state===H?this._stateBeforeScript5(t):this._state===F?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===J?this._stateAfterScript4(t):this._state===X?this._stateAfterScript5(t):this._state===W?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===K?this._stateBeforeStyle3(t):this._state===$?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===at?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===it?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},bt.prototype.pause=function(){this._running=!1},bt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},bt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},bt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},bt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===z||this._state===L||this._state===q?this._cbs.oncdata(t):this._state===C||this._state===S||this._state===x?this._cbs.oncomment(t):this._state!==it||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==v&&this._state!==g&&this._state!==b&&this._state!==_&&this._state!==y&&this._state!==O&&this._state!==d&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},bt.prototype.reset=function(){bt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},bt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},bt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},bt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},bt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,r){var n=r(43);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in n&&(t=n[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(t,e,r){var n=r(13),a=/\s+/g,o=r(24),i=r(45);function s(t,e,r){"object"==typeof t?(r=e,e=t,t=null):"function"==typeof e&&(r=e,e=c),this._callback=t,this._options=e||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"==typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(i):Object.create(o),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?n.Script:"style"===t?n.Style:n.Tag,name:t,attribs:e,children:[]},a=this._createDomElement(r);this._addDomElement(a),this._tagStack.push(a)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===n.Text)r?e.data=(e.data+t).replace(a," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===n.Text)r?e.data=(e.data+t).replace(a," "):e.data+=t;else{r&&(t=t.replace(a," "));var o=this._createDomElement({data:t,type:n.Text});this._addDomElement(o)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===n.Comment)e.data+=t;else{var r={data:t,type:n.Comment},a=this._createDomElement(r);this._addDomElement(a),this._tagStack.push(a)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:n.Text}],type:n.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:n.Directive});this._addDomElement(r)},t.exports=s},function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return a[this.type]||a.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},a={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=t.exports;[r(47),r(52),r(53),r(54),r(55),r(56)].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e].bind(n)}))}))},function(t,e,r){t.exports=s;var n=r(19),a=r(58).Writable,o=r(59).StringDecoder,i=r(27).Buffer;function s(t,e){var r=this._parser=new n(t,e),i=this._decoder=new o;a.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(i.end())}))}r(14)(s,a),s.prototype._write=function(t,e,r){t instanceof i&&(t=this._decoder.write(t)),this._parser.write(t),r()}},function(t,e,r){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org> * @license MIT */ var n=r(62),a=r(63),o=r(64);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return l(this,t,e,r)}function l(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(e,r),a=(t=s(t,n)).write(e,r);a!==n&&(t=t.slice(0,a));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function p(t,e){if(u(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|d(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return M(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(t).length;default:if(n)return M(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return S(this,e,r);case"latin1":case"binary":return x(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,a){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(a)return-1;r=t.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,a);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,a);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,a){var o,i=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;i=2,s/=2,c/=2,r/=2}function l(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(a){var u=-1;for(o=r;o<s;o++)if(l(t,o)===l(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*i}else-1!==u&&(o-=o-u),u=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var p=!0,h=0;h<c;h++)if(l(t,o+h)!==l(e,h)){p=!1;break}if(p)return o}return-1}function y(t,e,r,n){r=Number(r)||0;var a=t.length-r;n?(n=Number(n))>a&&(n=a):n=a;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var i=0;i<n;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[r+i]=s}return i}function _(t,e,r,n){return Q(M(e,t.length-r),t,r,n)}function O(t,e,r,n){return Q(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function k(t,e,r,n){return O(t,e,r,n)}function w(t,e,r,n){return Q(V(e),t,r,n)}function j(t,e,r,n){return Q(function(t,e){for(var r,n,a,o=[],i=0;i<t.length&&!((e-=2)<0);++i)r=t.charCodeAt(i),n=r>>8,a=r%256,o.push(a),o.push(n);return o}(e,t.length-r),t,r,n)}function E(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var o,i,s,c,l=t[a],u=null,p=l>239?4:l>223?3:l>191?2:1;if(a+p<=r)switch(p){case 1:l<128&&(u=l);break;case 2:128==(192&(o=t[a+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=t[a+1],i=t[a+2],128==(192&o)&&128==(192&i)&&(c=(15&l)<<12|(63&o)<<6|63&i)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=t[a+1],i=t[a+2],s=t[a+3],128==(192&o)&&128==(192&i)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&i)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),a+=p}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=i(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return l(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return function(t,e,r,n){return u(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},c.allocUnsafe=function(t){return p(null,t)},c.allocUnsafeSlow=function(t){return p(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,a=0,o=Math.min(r,n);a<o;++a)if(t[a]!==e[a]){r=t[a],n=e[a];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),a=0;for(r=0;r<t.length;++r){var i=t[r];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,a),a+=i.length}return n},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,a){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),e<0||r>t.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&e>=r)return 0;if(n>=a)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(a>>>=0)-(n>>>=0),i=(r>>>=0)-(e>>>=0),s=Math.min(o,i),l=this.slice(n,a),u=t.slice(e,r),p=0;p<s;++p)if(l[p]!==u[p]){o=l[p],i=u[p];break}return o<i?-1:i<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var a=this.length-e;if((void 0===r||r>a)&&(r=a),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":return O(this,t,e,r);case"latin1":case"binary":return k(this,t,e,r);case"base64":return w(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function S(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(127&t[a]);return n}function x(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(t[a]);return n}function N(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var a="",o=e;o<r;++o)a+=B(t[o]);return a}function R(t,e,r){for(var n=t.slice(e,r),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}function T(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function A(t,e,r,n,a,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function D(t,e,r,n){e<0&&(e=65535+e+1);for(var a=0,o=Math.min(t.length-r,2);a<o;++a)t[r+a]=(e&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var a=0,o=Math.min(t.length-r,4);a<o;++a)t[r+a]=e>>>8*(n?a:3-a)&255}function z(t,e,r,n,a,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(t,e,r,n,o){return o||z(t,0,r,4),a.write(t,e,r,n,23,4),r+4}function q(t,e,r,n,o){return o||z(t,0,r,8),a.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var a=e-t;r=new c(a,void 0);for(var o=0;o<a;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,a=1,o=this[t+--n];n>0&&(a*=256);)o+=this[t+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),a.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),a.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),a.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),a.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||A(this,t,e,r,Math.pow(2,8*r)-1,0);var a=1,o=0;for(this[e]=255&t;++o<r&&(a*=256);)this[e+o]=t/a&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||A(this,t,e,r,Math.pow(2,8*r)-1,0);var a=r-1,o=1;for(this[e+a]=255&t;--a>=0&&(o*=256);)this[e+a]=t/o&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);A(this,t,e,r,a-1,-a)}var o=0,i=1,s=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);A(this,t,e,r,a-1,-a)}var o=r-1,i=1,s=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return L(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return L(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return q(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return q(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var a,o=n-r;if(this===t&&r<e&&e<n)for(a=o-1;a>=0;--a)t[a+e]=this[a+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var a=t.charCodeAt(0);a<256&&(t=a)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var i=c.isBuffer(t)?t:M(new c(t,n).toString()),s=i.length;for(o=0;o<r-e;++o)this[o+e]=i[o%s]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function M(t,e){var r;e=e||1/0;for(var n=t.length,a=null,o=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!a){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&o.push(239,191,189);continue}a=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(e-=3)>-1&&o.push(239,191,189);if(a=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Q(t,e,r,n){for(var a=0;a<n&&!(a+r>=e.length||a>=t.length);++a)e[a+r]=t[a];return a}}).call(this,r(61))},function(t,e){!function(){t.exports=this.React}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){var r=n({},(0,a.default)(t),{key:e});"string"==typeof r.style||r.style instanceof String?r.style=(0,o.default)(r.style):delete r.style;return r};var a=i(r(69)),o=i(r(72));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){a.hasOwnProperty(t)||(a[t]=n.test(t));return a[t]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,a={}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){var n=r(31);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var n=r(15);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var a=r(18);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(a).default}});var o=r(12);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(o).default}});var i=s(r(76));function s(t){return t&&t.__esModule?t:{default:t}}e.default=i.default},function(t,e,r){var n=r(77),a=r(78),o=r(32),i=r(79);t.exports=function(t){return n(t)||a(t)||o(t)||i()}},function(t,e){!function(){t.exports=this.wp.mediaUtils}()},function(t,e,r){var n=r(80),a=r(81),o=r(32),i=r(82);t.exports=function(t,e){return n(t)||a(t,e)||o(t,e)||i()}},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(e,n)}t.exports=r},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){"use strict";var n=r(40);function a(){}function o(){}o.resetWarningCache=a,t.exports=function(){function t(t,e,r,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(12),o=l(r(67)),i=l(r(68)),s=l(r(74)),c=l(r(75));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.default=(u(n={},a.ElementType.Text,o.default),u(n,a.ElementType.Tag,i.default),u(n,a.ElementType.Style,s.default),u(n,a.ElementType.Directive,c.default),u(n,a.ElementType.Comment,c.default),u(n,a.ElementType.Script,c.default),u(n,a.ElementType.CDATA,c.default),u(n,a.ElementType.Doctype,c.default),n)},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t,e,r){"use strict";var n,a="object"==typeof Reflect?Reflect:null,o=a&&"function"==typeof a.apply?a.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function p(t,e,r,n){var a,o,i,s;if(l(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),i=o[e]),void 0===i)i=o[e]=r,++t._eventsCount;else if("function"==typeof i?i=o[e]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(a=u(t))>0&&i.length>a&&!i.warned){i.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=i.length,s=c,console&&console.warn&&console.warn(s)}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},a=h.bind(n);return a.listener=r,n.wrapFn=a,a}function f(t,e,r){var n=t._events;if(void 0===n)return[];var a=n[e];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(a):b(a,a.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function b(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){var i;if(e.length>0&&(i=e[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var c=a[t];if(void 0===c)return!1;if("function"==typeof c)o(c,this,e);else{var l=c.length,u=b(c,l);for(r=0;r<l;++r)o(u[r],this,e)}return!0},s.prototype.addListener=function(t,e){return p(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return p(this,t,e,!0)},s.prototype.once=function(t,e){return l(e),this.on(t,d(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return l(e),this.prependListener(t,d(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,a,o,i;if(l(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(a=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){i=r[o].listener,a=o;break}if(a<0)return this;0===a?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,a),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,i||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var a,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(a=o[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return f(this,t,!0)},s.prototype.rawListeners=function(t){return f(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){var n=r(24),a=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach((function(t){var e=o[t];Object.defineProperty(a,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=r(23),a=r(25);function o(t,e){this.init(t,e)}function i(t,e){return a.getElementsByTagName(t,e,!0)}function s(t,e){return a.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,r){return a.getText(a.getElementsByTagName(t,e,r,1)).trim()}function l(t,e,r,n,a){var o=c(r,n,a);o&&(t[e]=o)}r(14)(o,n),o.prototype.init=n;var u=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};o.prototype.onend=function(){var t,e,r={},a=s(u,this.dom);a&&("feed"===a.name?(e=a.children,r.type="atom",l(r,"id","id",e),l(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),l(r,"description","subtitle",e),(t=c("updated",e))&&(r.updated=new Date(t)),l(r,"author","email",e,!0),r.items=i("entry",e).map((function(t){var e,r={};return l(r,"id","id",t=t.children),l(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=c("summary",t)||c("content",t))&&(r.description=e),(e=c("updated",t))&&(r.pubDate=new Date(e)),r}))):(e=s("channel",a.children).children,r.type=a.name.substr(0,3),r.id="",l(r,"title","title",e),l(r,"link","link",e),l(r,"description","description",e),(t=c("lastBuildDate",e))&&(r.updated=new Date(t)),l(r,"author","managingEditor",e,!0),r.items=i("item",a.children).map((function(t){var e,r={};return l(r,"id","guid",t=t.children),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t),(e=c("pubDate",t))&&(r.pubDate=new Date(e)),r})))),this.dom=r,n.prototype._handleCallback.call(this,a?null:Error("couldn't find root of feed"))},t.exports=o},function(t,e,r){var n=r(13),a=r(48),o=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return a(t,e)})).join(""):""},getOuterHTML:a,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):o(e)||e.type===n.CDATA?t(e.children):e.type===n.Text?e.data:""}}},function(t,e,r){var n=r(13),a=r(49),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",a=0;a<t.length;a++){var o=t[a];"root"===o.type?r+=s(o.children,e):n.isTag(o)?r+=c(o,e):o.type===n.Directive?r+=l(o):o.type===n.Comment?r+=h(o):o.type===n.CDATA?r+=p(o):r+=u(o,e)}return r};function c(t,e){"svg"===t.name&&(e={decodeEntities:e.decodeEntities,xmlMode:!0});var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var o in t)n&&(n+=" "),n+=o,(null!==(r=t[o])&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?a.encodeXML(r):r)+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=s(t.children,e)),i[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}function l(t){return"<"+t.data+">"}function u(t,e){var r=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in o||(r=a.encodeXML(r)),r}function p(t){return"<![CDATA["+t.children[0].data+"]]>"}function h(t){return"\x3c!--"+t.data+"--\x3e"}},function(t,e,r){var n=r(50),a=r(51);e.decode=function(t,e){return(!e||e<=0?a.XML:a.HTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?a.XML:a.HTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?n.XML:n.HTML)(t)},e.encodeXML=n.XML,e.encodeHTML4=e.encodeHTML5=e.encodeHTML=n.HTML,e.decodeXML=e.decodeXMLStrict=a.XML,e.decodeHTML4=e.decodeHTML5=e.decodeHTML=a.HTML,e.decodeHTML4Strict=e.decodeHTML5Strict=e.decodeHTMLStrict=a.HTMLStrict,e.escape=n.escape},function(t,e,r){var n=s(r(17)),a=c(n);e.XML=d(n,a);var o=s(r(16)),i=c(o);function s(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function c(t){var e=[],r=[];return Object.keys(t).forEach((function(t){1===t.length?e.push("\\"+t):r.push(t)})),r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.HTML=d(o,i);var l=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}function h(t){return"&#x"+(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function d(t,e){function r(e){return t[e]}return function(t){return t.replace(e,r).replace(u,h).replace(l,p)}}var f=c(n);e.escape=function(t){return t.replace(f,p).replace(u,h).replace(l,p)}},function(t,e,r){var n=r(16),a=r(22),o=r(17),i=r(21),s=l(o),c=l(n);function l(t){var e=Object.keys(t).join("|"),r=h(t),n=new RegExp("&(?:"+(e+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(t){return String(t).replace(n,r)}}var u=function(){for(var t=Object.keys(a).sort(p),e=Object.keys(n).sort(p),r=0,o=0;r<e.length;r++)t[o]===e[r]?(e[r]+=";?",o++):e[r]+=";";var i=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=h(n);function c(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(i,c)}}();function p(t,e){return t<e?1:-1}function h(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?i(parseInt(e.substr(3),16)):i(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}t.exports={XML:s,HTML:u,HTMLStrict:c}},function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var a=e.parent=t.parent;if(a){var o=a.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var r=t.children[t.children.length-2];r.next=e,e.prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var a=r.children;a.splice(a.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,r){var n=r(13).isTag;function a(t,e,r,n){for(var o,i=[],s=0,c=e.length;s<c&&!(t(e[s])&&(i.push(e[s]),--n<=0))&&(o=e[s].children,!(r&&o&&o.length>0&&(o=a(t,o,r,n),i=i.concat(o),(n-=o.length)<=0)));s++);return i}t.exports={filter:function(t,e,r,n){Array.isArray(e)||(e=[e]);"number"==typeof n&&isFinite(n)||(n=1/0);return a(t,e,!1!==r,n)},find:a,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){for(var a=null,o=0,i=r.length;o<i&&!a;o++)n(r[o])&&(e(r[o])?a=r[o]:r[o].children.length>0&&(a=t(e,r[o].children)));return a},existsOne:function t(e,r){for(var a=0,o=r.length;a<o;a++)if(n(r[a])&&(e(r[a])||r[a].children.length>0&&t(e,r[a].children)))return!0;return!1},findAll:function t(e,r){for(var a=[],o=0,i=r.length;o<i;o++)n(r[o])&&(e(r[o])&&a.push(r[o]),r[o].children.length>0&&(a=a.concat(t(e,r[o].children))));return a}}},function(t,e,r){var n=r(13),a=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){if("tag_name"===r){if(!a(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(a(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1}else;return!0};var o={tag_name:function(t){return"function"==typeof t?function(e){return a(e)&&t(e.name)}:"*"===t?a:function(e){return a(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"==typeof t?function(e){return!a(e)&&t(e.data)}:function(e){return!a(e)&&e.data===t}}};function i(t,e){return"function"==typeof e?function(r){return r.attribs&&e(r.attribs[t])}:function(r){return r.attribs&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}e.getElements=function(t,e,r,n){var a=Object.keys(t).map((function(e){var r=t[e];return e in o?o[e](r):i(e,r)}));return 0===a.length?[]:this.filter(a.reduce(s),e,r,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(i("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(o.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(o.tag_type(t),e,r,n)}},function(t,e){e.removeSubsets=function(t){for(var e,r,n,a=t.length;--a>-1;){for(e=r=t[a],t[a]=null,n=!0;r;){if(t.indexOf(r)>-1){n=!1,t.splice(a,1);break}r=r.parent}n&&(t[a]=e)}return t};var r=1,n=2,a=4,o=8,i=16,s=e.compareDocumentPosition=function(t,e){var s,c,l,u,p,h,d=[],f=[];if(t===e)return 0;for(s=t;s;)d.unshift(s),s=s.parent;for(s=e;s;)f.unshift(s),s=s.parent;for(h=0;d[h]===f[h];)h++;return 0===h?r:(l=(c=d[h-1]).children,u=d[h],p=f[h],l.indexOf(u)>l.indexOf(p)?c===e?a|i:a:c===t?n|o:n)};e.uniqueSort=function(t){var e,r,o=t.length;for(t=t.slice();--o>-1;)e=t[o],(r=t.indexOf(e))>-1&&r<o&&t.splice(o,1);return t.sort((function(t,e){var r=s(t,e);return r&n?-1:r&a?1:0})),t}},function(t,e,r){t.exports=a;var n=r(26);function a(t){n.call(this,new o(this),t)}function o(t){this.scope=t}r(14)(a,n),a.prototype.readable=!0;var i=r(12).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])o.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===i[t])o.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==i[t])throw Error("wrong number of arguments!");o.prototype["on"+t]=function(e,r){this.scope.emit(t,e,r)}}}))},function(t,e){},function(t,e,r){"use strict";var n=r(60).Buffer,a=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===a||!a(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=l,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=p,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function i(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function u(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var a=i(e[n]);if(a>=0)return a>0&&(t.lastNeed=a-1),a;if(--n<r||-2===a)return 0;if((a=i(e[n]))>=0)return a>0&&(t.lastNeed=a-2),a;if(--n<r||-2===a)return 0;if((a=i(e[n]))>=0)return a>0&&(2===a?a=0:t.lastNeed=a-3),a;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){var n=r(27),a=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return a(t,e,r)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=i),o(a,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=a(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=l(t),i=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,i,s)),u=0,p=s>0?i-4:i;for(r=0;r<p;r+=4)e=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;2===s&&(e=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,c[u++]=255&e);1===s&&(e=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,a=r%3,o=[],i=0,s=r-a;i<s;i+=16383)o.push(u(t,i,i+16383>s?s:i+16383));1===a?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===a&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],a=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s<c;++s)n[s]=i[s],a[i.charCodeAt(s)]=s;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,r){for(var a,o,i=[],s=e;s<r;s+=3)a=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(n[(o=a)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,a){var o,i,s=8*a-n-1,c=(1<<s)-1,l=c>>1,u=-7,p=r?a-1:0,h=r?-1:1,d=t[e+p];for(p+=h,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+p],p+=h,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=n;u>0;i=256*i+t[e+p],p+=h,u-=8);if(0===o)o=1-l;else{if(o===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),o-=l}return(d?-1:1)*i*Math.pow(2,o-n)},e.write=function(t,e,r,n,a,o){var i,s,c,l=8*o-a-1,u=(1<<l)-1,p=u>>1,h=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,f=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=u):(i=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-i))<1&&(i--,c*=2),(e+=i+p>=1?h/c:h*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(e*c-1)*Math.pow(2,a),i+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,a),i=0));a>=8;t[r+d]=255&s,d+=f,s/=256,a-=8);for(i=i<<a|s,l+=a;l>0;t[r+d]=255&i,d+=f,i/=256,l-=8);t[r+d-f]|=128*m}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])t="on"+t,n.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===a[t])t="on"+t,n.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==a[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this._cbs[t]&&this._cbs[t](e,r)}}}))},function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])t="on"+t,n.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===a[t])t="on"+t,n.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==a[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this.events.push([t,e,r]),this._cbs[t]&&this._cbs[t](e,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var c=t.name;if(!(0,s.default)(c))return null;var l=(0,o.default)(t.attribs,e),u=null;-1===i.default.indexOf(c)&&(u=(0,a.default)(t.children,r));return n.default.createElement(c,l,u)};var n=c(r(28)),a=c(r(15)),o=c(r(29)),i=c(r(73)),s=c(r(30));function c(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).filter((function(t){return(0,o.default)(t)})).reduce((function(e,r){var o=r.toLowerCase(),i=a.default[o]||o;return e[i]=function(t,e){n.default.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())>=0&&(e=t);return e}(i,t[r]),e}),{})};var n=i(r(70)),a=i(r(71)),o=i(r(30));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===t)return{};return t.split(";").reduce((function(t,e){var r=e.split(/^([^:]+):/).filter((function(t,e){return e>0})).map((function(t){return t.trim().toLowerCase()})),a=n(r,2),o=a[0],i=a[1];return void 0===i||(t[o=o.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))]=i),t}),{})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=void 0;t.children.length>0&&(r=t.children[0].data);var o=(0,a.default)(t.attribs,e);return n.default.createElement("style",o,r)};var n=o(r(28)),a=o(r(29));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.decodeEntities,o=void 0===r||r,i=e.transform,s=e.preprocessNodes,c=void 0===s?function(t){return t}:s,l=c(n.default.parseDOM(t,{decodeEntities:o}));return(0,a.default)(l,i)};var n=o(r(12)),a=o(r(15));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(31);t.exports=function(t){if(Array.isArray(t))return n(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,r){"use strict";r.r(e);wp.customize.astraControl=wp.customize.Control.extend({initialize:function(t,e){var r=e||{};r.params=r.params||{},r.params.type||(r.params.type="ast-core"),r.params.content||(r.params.content=jQuery("<li></li>"),r.params.content.attr("id","customize-control-"+t.replace(/]/g,"").replace(/\[/g,"-")),r.params.content.attr("class","customize-control customize-control-"+r.params.type)),this.propertyElements=[],wp.customize.Control.prototype.initialize.call(this,t,r)},ready:function(){wp.customize.Control.prototype.ready.call(this),this.deferred.embedded.done()},embed:function(){var t=this,e=t.section();e&&wp.customize.section(e,(function(e){e.expanded()||wp.customize.settings.autofocus.control===t.id?t.actuallyEmbed():e.expanded.bind((function(e){e&&t.actuallyEmbed()}))}))},actuallyEmbed:function(){"resolved"!==this.deferred.embedded.state()&&(this.renderContent(),this.deferred.embedded.resolve())},focus:function(t){this.actuallyEmbed(),wp.customize.Control.prototype.focus.call(this,t)}});var n=r(0),a=r(5),o=r.n(a),i=r(6),s=r.n(i),c=r(7),l=r.n(c),u=r(8),p=r.n(u),h=r(1),d=r.n(h),f=r(4),m=r.n(f);function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var g=function(t){l()(r,t);var e=b(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.caption&&(t=Object(n.createElement)("span",{className:"customize-control-caption"},this.props.control.params.caption)),this.props.control.params.label&&(e=Object(n.createElement)("span",{className:"customize-control-title wp-ui-text-highlight"},this.props.control.params.label)),this.props.control.params.description&&(r=Object(n.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(n.createElement)(n.Fragment,null,t,Object(n.createElement)("div",{className:"ast-heading-wrapper wp-ui-highlight"},Object(n.createElement)("label",{className:"customizer-text"},e,r)))}}]),r}(n.Component);g.propTypes={control:m.a.object.isRequired};var v=g,y=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(v,{control:this}),this.container[0])}});function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var k=function(t){l()(r,t);var e=O(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).value=t.control.setting.get(),n.state={value:n.value},n.name=t.control.params.settings.default,n.name=n.name.replace("[","-"),n.name=n.name.replace("]",""),n}return s()(r,[{key:"render",value:function(){var t="hidden-field-".concat(this.name);return Object(n.createElement)("input",{type:"hidden",className:t,"data-name":this.name,value:this.state.value})}}]),r}(n.Component);k.propTypes={control:m.a.object.isRequired};var w=k,j=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(w,{control:this}),this.container[0])}}),E=r(33),C=r.n(E);function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var x=function(t){l()(r,t);var e=S(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.label&&(t=Object(n.createElement)("span",{className:"customize-control-title"},this.props.control.params.label)),this.props.control.params.help&&(e=Object(n.createElement)("span",{className:"ast-description"},C()(this.props.control.params.help))),this.props.control.params.description&&(r=Object(n.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",{className:"customizer-text"},t,e,r))}}]),r}(n.Component);x.propTypes={control:m.a.object.isRequired};var N=x,R=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(N,{control:this}),this.container[0])}}),T=r(11),A=r.n(T),D=r(2),P=r.n(D),z=r(3),L=r(9);function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var M=function(t){l()(r,t);var e=B(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onUrlChange=n.onUrlChange.bind(P()(n)),n.onCheckboxChange=n.onCheckboxChange.bind(P()(n)),n.onRelChange=n.onRelChange.bind(P()(n)),n}return s()(r,[{key:"onUrlChange",value:function(t){var e=I(I({},this.state.value),{},{url:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"onCheckboxChange",value:function(){var t=I(I({},this.state.value),{},{new_tab:event.target.checked});this.setState({value:t}),this.props.control.setting.set(t)}},{key:"onRelChange",value:function(t){var e=I(I({},this.state.value),{},{link_rel:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.value,a=e.label,o=e.settings,i=this.state.value,s=i.url,c=i.new_tab,l=i.link_rel,u=o.default;u=(u=u.replace("[","-")).replace("]","");var p=null;return a&&(p=Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},a))),Object(n.createElement)(n.Fragment,null,p,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)(L.TextControl,{value:s,className:"ast-link-input",onChange:function(e){t.onUrlChange(e)}})),Object(n.createElement)("div",{className:"customize-control-content ast-link-open-in-new-tab-wrapper"},Object(n.createElement)("input",{type:"checkbox",id:"ast-link-open-in-new-tab",className:"ast-link-open-in-new-tab",name:"ast-link-open-in-new-tab",checked:c,onChange:function(){return t.onCheckboxChange()}}),Object(n.createElement)("label",null,Object(z.__)("Open in a New Tab"))),Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Button Link Rel"))),Object(n.createElement)(L.TextControl,{value:l,className:"ast-link-relationship",onChange:function(e){t.onRelChange(e)}})),Object(n.createElement)("input",{type:"hidden",id:"_customize-input-".concat(o.default),className:"customize-link-control-data",name:u,"data-customize-setting-link":o.default,"data-value":JSON.stringify(r)}))}}]),r}(n.Component);M.propTypes={control:m.a.object.isRequired};var V=M,Q=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(V,{control:this}),this.container[0])}});function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var H=function(t){l()(r,t);var e=U(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.caption,r=t.separator,a=t.label,o=t.description,i=null,s=null,c=null,l=null;return r&&(i=Object(n.createElement)("hr",null)),e&&(s=Object(n.createElement)("span",{className:"customize-control-caption"},e)),a&&(c=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},o)),Object(n.createElement)(n.Fragment,null,s,i,Object(n.createElement)("label",{className:"customizer-text"},c,l))}}]),r}(n.Component);H.propTypes={control:m.a.object.isRequired};var F=H,G=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(F,{control:this}),this.container[0])}});function Y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var J=function(t){l()(r,t);var e=Y(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=this.props.control.params,a=r.label,o=r.help,i=r.name;return a&&(t=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(e=Object(n.createElement)("span",{className:"ast-description"},o)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-toggle-desc-wrap"},Object(n.createElement)("label",{className:"customizer-text"},t,e,Object(n.createElement)("span",{className:"ast-adv-toggle-icon dashicons","data-control":i}))),Object(n.createElement)("div",{className:"ast-field-settings-wrap"}))}}]),r}(n.Component);J.propTypes={control:m.a.object.isRequired};var X=J,W=r(10),Z=r.n(W);function K(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var tt=function(t){l()(r,t);var e=$(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onBorderChange=n.onBorderChange.bind(P()(n)),n.onConnectedClick=n.onConnectedClick.bind(P()(n)),n.onDisconnectedClick=n.onDisconnectedClick.bind(P()(n)),n}return s()(r,[{key:"onBorderChange",value:function(t){var e=this.props.control.params.choices,r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?K(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);if(event.target.classList.contains("connected"))for(var n in e)r[n]=event.target.value;else r[t]=event.target.value;this.setState({value:r}),this.props.control.setting.set(r)}},{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"render",value:function(){var t,e=this,r=this.props.control.params,a=r.label,o=r.description,i=r.linked_choices,s=r.id,c=r.choices,l=r.inputAttrs,u=r.name,p=null,h=null,d=null,f=Object(z.__)("Link Values Together","astra");return a&&(p=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(h=Object(n.createElement)("span",{className:"description customize-control-description"},o)),i&&(d=Object(n.createElement)("li",{key:s,className:"ast-border-input-item-link disconnected"},Object(n.createElement)("span",{className:"dashicons dashicons-admin-links ast-border-connected wp-ui-highlight",onClick:function(){e.onConnectedClick()},"data-element-connect":s,title:f}),Object(n.createElement)("span",{className:"dashicons dashicons-editor-unlink ast-border-disconnected",onClick:function(){e.onDisconnectedClick()},"data-element-connect":s,title:f}))),t=Object.keys(c).map((function(t){if(c[t])var r=Object(n.createElement)("li",Z()({},l,{key:t,className:"ast-border-input-item"}),Object(n.createElement)("input",{type:"number",className:"ast-border-input ast-border-desktop connected","data-id":t,"data-name":u,onChange:function(){return e.onBorderChange(t)},value:e.state.value[t],"data-element-connect":s}),Object(n.createElement)("span",{className:"ast-border-title"},c[t]));return r})),Object(n.createElement)(n.Fragment,null,p,h,Object(n.createElement)("div",{className:"ast-border-outer-wrapper"},Object(n.createElement)("div",{className:"input-wrapper ast-border-wrapper"},Object(n.createElement)("ul",{className:"ast-border-wrapper desktop active"},d,t))))}}]),r}(n.Component);tt.propTypes={control:m.a.object.isRequired};var et=tt;function rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ot=function(t){l()(r,t);var e=at(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.onInputChange=n.onInputChange.bind(P()(n)),n.onSelectChange=n.onSelectChange.bind(P()(n)),n}return s()(r,[{key:"onInputChange",value:function(t){var e=nt({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"onSelectChange",value:function(t){var e=nt({},this.state.value);e["".concat(t,"-unit")]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.props.control.params.units,i=!1;1===o.length&&(i=!0);var s=Object.keys(o).map((function(t){return Object(n.createElement)("option",{key:t,value:t},o[t])}));return!1===a?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ast-non-reponsive ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(n.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:i,onChange:function(){e.onSelectChange(t)}},s)):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(n.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:i,onChange:function(){e.onSelectChange(t)}},s))}},{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.responsive,o=null,i=null,s=null,c=null;return r&&(o=Object(n.createElement)("span",{className:"customize-control-title"},r),a&&(i=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))))),e&&(s=Object(n.createElement)("span",{className:"description customize-control-description"},e)),c=a?Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")):Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active",!1)),Object(n.createElement)("label",{key:"customizer-text",className:"customizer-text"},o,i,s,Object(n.createElement)("div",{className:"input-wrapper ast-responsive-wrapper"},c))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);ot.propTypes={control:m.a.object.isRequired};var it=ot;function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var lt=function(t){l()(r,t);var e=ct(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.onInputChange=n.onInputChange.bind(P()(n)),n.onResetClick=n.onResetClick.bind(P()(n)),n}return s()(r,[{key:"onResetClick",value:function(t){t.preventDefault(),this.updateValues(this.props.control.params.default)}},{key:"onInputChange",value:function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params,o=a.inputAttrs,i=a.suffix,s=null,c=[];if(i&&(s=Object(n.createElement)("span",{className:"ast-range-unit"},i)),void 0!==o){var l=o.split(" ");l.map((function(t,e){var r=t.split("=");void 0!==r[1]&&(c[r[0]]=r[1].replace(/"/g,""))}))}return Object(n.createElement)("div",{className:"input-field-wrapper ".concat(t," ").concat(r)},Object(n.createElement)("input",Z()({type:"range"},c,{value:this.state.value[t],"data-reset_value":this.props.control.params.default[t],onChange:function(){e.onInputChange(t)}})),Object(n.createElement)("div",{className:"astra_range_value"},Object(n.createElement)("input",Z()({type:"number"},c,{"data-id":t,className:"ast-responsive-range-value-input",value:this.state.value[t],onChange:function(){e.onInputChange(t)}})),s))}},{key:"render",value:function(){var t,e,r=this,a=this.props.control.params,o=a.description,i=a.label,s=Object(z.__)("Back to default","astra"),c=null,l=null,u=null;return i&&(c=Object(n.createElement)("span",{className:"customize-control-title"},i),l=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-slider-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),o&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(n.createElement)("div",{className:"ast-responsive-slider-reset",onClick:function(t){r.onResetClick(t)}},Object(n.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:s})),Object(n.createElement)("label",{key:"customizer-text"},c,l,u,Object(n.createElement)("div",{className:"wrapper"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);lt.propTypes={control:m.a.object.isRequired};var ut=lt;function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ht(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ft=function(t){l()(r,t);var e=dt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return void 0!==a&&""!==a||(a=n.props.control.params.value),n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.renderResponsiveInput=n.renderResponsiveInput.bind(P()(n)),n.onUnitChange=n.onUnitChange.bind(P()(n)),n.updateValues=n.updateValues.bind(P()(n)),n.onSpacingChange=n.onSpacingChange.bind(P()(n)),n.onConnectedClick=n.onConnectedClick.bind(P()(n)),n.onDisconnectedClick=n.onDisconnectedClick.bind(P()(n)),n}return s()(r,[{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"onSpacingChange",value:function(t,e){var r=this.props.control.params.choices,n=ht({},this.state.value),a=ht({},n[t]);if(event.target.classList.contains("connected"))for(var o in r)a[o]=event.target.value;else a[e]=event.target.value;n[t]=a,this.updateValues(n)}},{key:"onUnitChange",value:function(t,e){var r=ht({},this.state.value);r["".concat(t,"-unit")]=e,this.updateValues(r)}},{key:"renderResponsiveInput",value:function(t){var e=this;return Object(n.createElement)("input",{key:t,type:"hidden",onChange:function(){return e.onUnitChange(t,"")},className:"ast-spacing-unit-input ast-spacing-".concat(t,"-unit"),"data-device":"".concat(t),value:this.state.value["".concat(t,"-unit")]})}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params,o=a.linked_choices,i=a.id,s=a.choices,c=a.inputAttrs,l=a.unit_choices,u=Object(z.__)("Link Values Together","astra"),p=null,h=null,d=null;return o&&(p=Object(n.createElement)("li",{key:"connect-disconnect"+t,className:"ast-spacing-input-item-link disconnected"},Object(n.createElement)("span",{key:"connect"+t,className:"dashicons dashicons-admin-links ast-spacing-connected wp-ui-highlight",onClick:function(){e.onConnectedClick()},"data-element-connect":i,title:u}),Object(n.createElement)("span",{key:"disconnect"+t,className:"dashicons dashicons-editor-unlink ast-spacing-disconnected",onClick:function(){e.onDisconnectedClick()},"data-element-connect":i,title:u}))),h=Object.keys(s).map((function(r){return Object(n.createElement)("li",Z()({key:r},c,{className:"ast-spacing-input-item"}),Object(n.createElement)("input",{type:"number",className:"ast-spacing-input ast-spacing-".concat(t," connected"),"data-id":r,value:e.state.value[t][r],onChange:function(){return e.onSpacingChange(t,r)},"data-element-connect":i}),Object(n.createElement)("span",{className:"ast-spacing-title"},s[r]))})),d=Object.values(l).map((function(r){var a="";return e.state.value["".concat(t,"-unit")]===r&&(a="active"),Object(n.createElement)("li",{key:r,className:"single-unit ".concat(a),onClick:function(){return e.onUnitChange(t,r)},"data-unit":r},Object(n.createElement)("span",{className:"unit-text"},r))})),Object(n.createElement)("ul",{key:t,className:"ast-spacing-wrapper ".concat(t," ").concat(r)},p,h,Object(n.createElement)("ul",{key:"responsive-units",className:"ast-spacing-responsive-units ast-spacing-".concat(t,"-responsive-units")},d))}},{key:"render",value:function(){var t,e,r=this.props.control.params,a=r.label,o=r.description,i=null,s=null;return a&&(i=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(s=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"unit-input-wrapper ast-spacing-unit-wrapper"},this.renderResponsiveInput("desktop"),this.renderResponsiveInput("tablet"),this.renderResponsiveInput("mobile")),Object(n.createElement)("ul",{key:"ast-spacing-responsive-btns",className:"ast-spacing-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),Object(n.createElement)("label",{key:"ast-spacing-responsive",className:"ast-spacing-responsive",htmlFor:"ast-spacing"},i,s,Object(n.createElement)("div",{className:"ast-spacing-responsive-outer-wrapper"},Object(n.createElement)("div",{className:"input-wrapper ast-spacing-responsive-wrapper"},t),Object(n.createElement)("div",{className:"ast-spacing-responsive-units-screen-wrap"},e)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);ft.propTypes={control:m.a.object.isRequired};var mt=ft;function bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var gt=function(t){l()(r,t);var e=bt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.updateValues=n.updateValues.bind(P()(n)),n}return s()(r,[{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,a=e.description,o=e.suffix,i=e.link,s=e.inputAttrs,c=e.name,l=null,u=null,p=null,h=[],d=Object(z.__)("Back to default","astra");(r&&(l=Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},r))),a&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},a)),o&&(p=Object(n.createElement)("span",{className:"ast-range-unit"},o)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));void 0!==i&&i.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));return Object(n.createElement)("label",null,l,u,Object(n.createElement)("div",{className:"wrapper"},Object(n.createElement)("input",Z()({},h,{type:"range",value:this.state.value,"data-reset_value":this.props.control.params.default,onChange:function(){return t.updateValues(event.target.value)}})),Object(n.createElement)("div",{className:"astra_range_value"},Object(n.createElement)("input",Z()({},h,{type:"number","data-name":c,className:"value ast-range-value-input",value:this.state.value,onChange:function(){return t.updateValues(event.target.value)}})),p),Object(n.createElement)("div",{className:"ast-slider-reset",onClick:function(){t.updateValues(t.props.control.params.default)}},Object(n.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:d}))))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);gt.propTypes={control:m.a.object.isRequired};var vt=gt,yt=r(34),_t=r.n(yt),Ot=r(35);function kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var wt=function(t){l()(r,t);var e=kt(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).onChangeComplete=n.onChangeComplete.bind(P()(n)),n.onPaletteChangeComplete=n.onPaletteChangeComplete.bind(P()(n)),n.onChangeGradientComplete=n.onChangeGradientComplete.bind(P()(n)),n.renderImageSettings=n.renderImageSettings.bind(P()(n)),n.onRemoveImage=n.onRemoveImage.bind(P()(n)),n.onSelectImage=n.onSelectImage.bind(P()(n)),n.open=n.open.bind(P()(n)),n.onColorClearClick=n.onColorClearClick.bind(P()(n)),n.state={isVisible:!1,refresh:!1,color:n.props.color,modalCanClose:!0,backgroundType:n.props.backgroundType,supportGradient:void 0!==L.__experimentalGradientPicker},n}return s()(r,[{key:"onResetRefresh",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0})}},{key:"render",value:function(){var t=this,e=this.state,r=e.refresh,a=e.modalCanClose,o=e.isVisible,i=e.supportGradient,s=e.backgroundType,c=this.props,l=c.allowGradient,u=c.allowImage,p=function(){a&&!0===o&&t.setState({isVisible:!1})},h=!(!l||!i),d=[{name:"color",title:Object(z.__)("Color","astra"),className:"astra-color-background"}];if(h){var f={name:"gradient",title:Object(z.__)("Gradient","astra"),className:"astra-image-background"};d.push(f)}if(u){var m={name:"image",title:Object(z.__)("Image","astra"),className:"astra-image-background"};d.push(m)}var b=[],g=0;return _t()(astColorPalette.colors).forEach((function(t){var e={};Object.assign(e,{name:g+"_"+t}),Object.assign(e,{color:t}),b.push(e),g++})),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"color-button-wrap"},Object(n.createElement)(L.Button,{className:o?"astra-color-icon-indicate open":"astra-color-icon-indicate",onClick:function(){o?p():(!0===r?t.setState({refresh:!1}):t.setState({refresh:!0}),t.setState({isVisible:!0}))}},("color"===s||"gradient"===s)&&Object(n.createElement)(L.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:this.props.color}),"image"===s&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:"#ffffff"}),Object(n.createElement)(L.Dashicon,{icon:"format-image"})))),Object(n.createElement)("div",{className:"astra-color-picker-wrap"},Object(n.createElement)(n.Fragment,null,o&&Object(n.createElement)("div",{className:"astra-popover-color",onClose:p},1<d.length&&Object(n.createElement)(L.TabPanel,{className:"astra-popover-tabs astra-background-tabs",activeClass:"active-tab",initialTabName:s,tabs:d},(function(e){var a;return e.name&&("gradient"===e.name&&(a=Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.__experimentalGradientPicker,{className:"ast-gradient-color-picker",value:t.props.color&&t.props.color.includes("gradient")?t.props.color:"",onChange:function(e){return t.onChangeGradientComplete(e)}}))),"image"===e.name?a=t.renderImageSettings():"color"===e.name&&(a=Object(n.createElement)(n.Fragment,null,r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:t.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),!r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:t.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),Object(n.createElement)(L.ColorPalette,{colors:b,value:t.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(e){return t.onPaletteChangeComplete(e)}}),Object(n.createElement)("button",{type:"button",onClick:function(){t.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button common components-circular-option-picker__clear is-secondary is-small"},Object(z.__)("Clear","astra"))))),Object(n.createElement)("div",null,a)})),1===d.length&&Object(n.createElement)(n.Fragment,null,r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:this.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),!r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:this.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),Object(n.createElement)(L.ColorPalette,{colors:b,value:this.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(e){return t.onPaletteChangeComplete(e)}}),Object(n.createElement)("button",{type:"button",onClick:function(){t.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button components-circular-option-picker__clear is-secondary is-small"},Object(z.__)("Clear","astra")))))))}},{key:"onColorClearClick",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete("","color")}},{key:"onChangeGradientComplete",value:function(t){var e;e=void 0===t?"":t,this.setState({backgroundType:"gradient"}),this.props.onChangeComplete(e,"gradient")}},{key:"onChangeComplete",value:function(t){void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?(t.rgb.r,t.rgb.g,t.rgb.b,t.rgb.a):t.hex,this.setState({backgroundType:"color"}),this.props.onChangeComplete(t,"color")}},{key:"onPaletteChangeComplete",value:function(t){this.setState({color:t}),!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete(t,"color")}},{key:"onSelectImage",value:function(t){this.setState({modalCanClose:!0}),this.setState({backgroundType:"image"}),this.props.onSelectImage(t,"image")}},{key:"onRemoveImage",value:function(){this.setState({modalCanClose:!0}),this.props.onSelectImage("")}},{key:"open",value:function(t){this.setState({modalCanClose:!1}),t()}},{key:"onChangeImageOptions",value:function(t,e,r){this.setState({backgroundType:"image"}),this.props.onChangeImageOptions(e,r,"image")}},{key:"toggleMoreSettings",value:function(){var t=event.target.parentElement.parentElement,e=t.querySelector(".more-settings"),r=t.querySelector(".media-position-setting"),n=e.dataset.direction;e.dataset.id;"down"===n?(e.setAttribute("data-direction","up"),t.querySelector(".message").innerHTML=Object(z.__)("Less Settings"),t.querySelector(".icon").innerHTML="↑"):(e.setAttribute("data-direction","down"),t.querySelector(".message").innerHTML=Object(z.__)("More Settings"),t.querySelector(".icon").innerHTML="↓"),r.classList.contains("hide-settings")?r.classList.remove("hide-settings"):r.classList.add("hide-settings")}},{key:"renderImageSettings",value:function(){var t=this;return Object(n.createElement)(n.Fragment,null,(this.props.media.url||this.props.backgroundImage)&&Object(n.createElement)("img",{src:this.props.media.url?this.props.media.url:this.props.backgroundImage}),Object(n.createElement)(Ot.MediaUpload,{title:Object(z.__)("Select Background Image","astra"),onSelect:function(e){return t.onSelectImage(e)},allowedTypes:["image"],value:void 0!==this.props.media&&this.props.media?this.props.media:"",render:function(e){var r=e.open;return Object(n.createElement)(L.Button,{className:"upload-button button-add-media",isDefault:!0,onClick:function(){return t.open(r)}},t.props.media||t.props.backgroundImage?Object(z.__)("Replace image","astra"):Object(z.__)("Select Background Image","astra"))}}),(this.props.media||this.props.backgroundImage)&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.Button,{className:"ast-bg-img-remove",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},Object(z.__)("Remove Image","astra")),Object(n.createElement)("a",{href:"#",className:"more-settings",onClick:this.toggleMoreSettings,"data-direction":"down","data-id":"desktop"},Object(n.createElement)("span",{className:"message"}," ",Object(z.__)("More Settings")," "),Object(n.createElement)("span",{className:"icon"}," ↓ ")),Object(n.createElement)("div",{className:"media-position-setting hide-settings"},Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Image Position"),value:this.props.backgroundPosition,onChange:function(e){return t.onChangeImageOptions("backgroundPosition","background-position",e)},options:[{value:"left top",label:Object(z.__)("Left Top","astra")},{value:"left center",label:Object(z.__)("Left Center","astra")},{value:"left bottom",label:Object(z.__)("Left Bottom","astra")},{value:"right top",label:Object(z.__)("Right Top","astra")},{value:"right center",label:Object(z.__)("Right Center","astra")},{value:"right bottom",label:Object(z.__)("Right Bottom","astra")},{value:"center top",label:Object(z.__)("Center Top","astra")},{value:"center center",label:Object(z.__)("Center Center","astra")},{value:"center bottom",label:Object(z.__)("Center Bottom","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Attachment","astra"),value:this.props.backgroundAttachment,onChange:function(e){return t.onChangeImageOptions("backgroundAttachment","background-attachment",e)},options:[{value:"fixed",label:Object(z.__)("Fixed","astra")},{value:"scroll",label:Object(z.__)("Scroll","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Repeat","astra"),value:this.props.backgroundRepeat,onChange:function(e){return t.onChangeImageOptions("backgroundRepeat","background-repeat",e)},options:[{value:"no-repeat",label:Object(z.__)("No Repeat","astra")},{value:"repeat",label:Object(z.__)("Repeat All","astra")},{value:"repeat-x",label:Object(z.__)("Repeat Horizontally","astra")},{value:"repeat-y",label:Object(z.__)("Repeat Vertically","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Size","astra"),value:this.props.backgroundSize,onChange:function(e){return t.onChangeImageOptions("backgroundSize","background-size",e)},options:[{value:"auto",label:Object(z.__)("Auto","astra")},{value:"cover",label:Object(z.__)("Cover","astra")},{value:"contain",label:Object(z.__)("Contain","astra")}]}))))}}]),r}(n.Component);wt.propTypes={color:m.a.string,usePalette:m.a.bool,palette:m.a.string,presetColors:m.a.object,onChangeComplete:m.a.func,onPaletteChangeComplete:m.a.func,onChange:m.a.func,customizer:m.a.object};var jt=wt;function Et(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function St(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var xt=function(t){l()(r,t);var e=St(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.onSelectImage=n.onSelectImage.bind(P()(n)),n.state={value:a},n.updateBackgroundType(),n}return s()(r,[{key:"updateBackgroundType",value:function(){var t=Ct({},this.state.value);void 0!==this.state.value["background-type"]&&""!==this.state.value["background-type"]||(void 0!==this.state.value["background-color"]&&""!==this.state.value["background-color"]&&(t["background-type"]="color",this.updateValues(t),this.state.value["background-color"].includes("gradient")&&(t["background-type"]="gradient",this.updateValues(t))),void 0!==this.state.value["background-image"]&&""!==this.state.value["background-image"]&&(t["background-type"]="image",this.updateValues(t)))}},{key:"renderReset",value:function(){var t=this;return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(e){e.preventDefault();var r=JSON.parse(JSON.stringify(t.defaultValue));void 0!==r&&""!==r&&(void 0!==r["background-color"]&&""!==r["background-color"]||(r["background-color"]="",wp.customize.previewer.refresh()),void 0!==r["background-image"]&&""!==r["background-image"]||(r["background-image"]="",wp.customize.previewer.refresh()),void 0!==r["background-media"]&&""!==r["background-media"]||(r["background-media"]="",wp.customize.previewer.refresh())),t.updateValues(r),t.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}}))))}},{key:"onSelectImage",value:function(t,e){var r=Ct({},this.state.value);r["background-media"]=t.id,r["background-image"]=t.url,r["background-type"]=e,this.updateValues(r)}},{key:"onChangeImageOptions",value:function(t,e,r){var n=Ct({},this.state.value);n[t]=e,n["background-type"]=r,this.updateValues(n)}},{key:"renderSettings",value:function(){var t=this;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(jt,{color:void 0!==this.state.value["background-color"]&&this.state.value["background-color"]?this.state.value["background-color"]:"",onChangeComplete:function(e,r){return t.handleChangeComplete(e,r)},media:void 0!==this.state.value["background-media"]&&this.state.value["background-media"]?this.state.value["background-media"]:"",backgroundImage:void 0!==this.state.value["background-image"]&&this.state.value["background-image"]?this.state.value["background-image"]:"",backgroundAttachment:void 0!==this.state.value["background-attachment"]&&this.state.value["background-attachment"]?this.state.value["background-attachment"]:"",backgroundPosition:void 0!==this.state.value["background-position"]&&this.state.value["background-position"]?this.state.value["background-position"]:"",backgroundRepeat:void 0!==this.state.value["background-repeat"]&&this.state.value["background-repeat"]?this.state.value["background-repeat"]:"",backgroundSize:void 0!==this.state.value["background-size"]&&this.state.value["background-size"]?this.state.value["background-size"]:"",onSelectImage:function(e,r){return t.onSelectImage(e,r)},onChangeImageOptions:function(e,r,n){return t.onChangeImageOptions(e,r,n)},backgroundType:void 0!==this.state.value["background-type"]&&this.state.value["background-type"]?this.state.value["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"}))}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var n=Ct({},this.state.value);n["background-color"]=r,n["background-type"]=e,this.updateValues(n)}},{key:"render",value:function(){var t,e=this.props.control.params,r=e.defaultValue,a=e.label,o=e.description,i="#RRGGBB",s=null,c=null;return r&&(i="#"!==r.substring(0,1)?"#"+r:r,defaultValueAttr=" data-default-color="+i),s=a&&""!==a&&void 0!==a?Object(n.createElement)("span",{className:"customize-control-title"},a):Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Background","astra")),o&&(c=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)("div",{className:"background-wrapper"},Object(n.createElement)("div",{className:"background-container"},this.renderReset(),this.renderSettings())),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,s,c),Object(n.createElement)("div",{className:"customize-control-content"},t))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);xt.propTypes={control:m.a.object.isRequired};var Nt=xt;function Rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function At(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Dt=function(t){l()(r,t);var e=At(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.onSelectImage=n.onSelectImage.bind(P()(n)),n.renderReset=n.renderReset.bind(P()(n)),n.state={value:a},n}return s()(r,[{key:"componentDidMount",value:function(){for(var t=0,e=["desktop","mobile","tablet"];t<e.length;t++){var r=e[t];this.updateBackgroundType(r)}}},{key:"updateBackgroundType",value:function(t){var e=Tt({},this.props.control.setting.get());if(void 0===this.state.value[t]["background-type"]||""===this.state.value[t]["background-type"]){var r=Tt({},e[t]);void 0!==this.state.value[t]["background-color"]&&""!==this.state.value[t]["background-color"]&&(r["background-type"]="color",e[t]=r,this.updateValues(e),this.state.value[t]["background-color"].includes("gradient")&&(r["background-type"]="gradient",e[t]=r,this.updateValues(e))),void 0!==this.state.value[t]["background-image"]&&""!==this.state.value[t]["background-image"]&&(r["background-type"]="image",e[t]=r,this.updateValues(e))}}},{key:"renderReset",value:function(t){for(var e=this,r=!0,a=0,o=["desktop","mobile","tablet"];a<o.length;a++){var i=o[a];(this.state.value[i]["background-color"]||this.state.value[i]["background-image"]||this.state.value[i]["background-media"])&&!1,this.state.value[i]["background-color"]===this.defaultValue[i]["background-image"]&&this.state.value[i]["background-image"]===this.defaultValue[i]["background-color"]&&this.state.value[i]["background-media"]===this.defaultValue[i]["background-media"]||(r=!1)}return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:r,onClick:function(t){t.preventDefault();var r=JSON.parse(JSON.stringify(e.defaultValue));if(void 0!==r&&""!==r)for(var n in r)void 0!==r[n]["background-color"]&&""!==r[n]["background-color"]||(r[n]["background-color"]="",wp.customize.previewer.refresh()),void 0!==r[n]["background-image"]&&""!==r[n]["background-image"]||(r[n]["background-image"]="",wp.customize.previewer.refresh()),void 0!==r[n]["background-media"]&&""!==r[n]["background-media"]||(r[n]["background-media"]="",wp.customize.previewer.refresh());e.updateValues(r),e.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),e.refs.ChildAstraColorPickerControltablet.onResetRefresh(),e.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"onSelectImage",value:function(t,e,r){var n=Tt({},this.state.value),a=Tt({},n[e]);a["background-image"]=t.url,a["background-media"]=t.id,a["background-type"]=r,n[e]=a,this.updateValues(n)}},{key:"onChangeImageOptions",value:function(t,e,r,n){var a=Tt({},this.state.value),o=Tt({},a[r]);o[t]=e,o["background-type"]=n,a[r]=o,this.updateValues(a)}},{key:"renderSettings",value:function(t){var e=this;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(jt,{color:void 0!==this.state.value[t]["background-color"]&&this.state.value[t]["background-color"]?this.state.value[t]["background-color"]:"",onChangeComplete:function(r,n){return e.handleChangeComplete(r,t,n)},media:void 0!==this.state.value[t]["background-media"]&&this.state.value[t]["background-media"]?this.state.value[t]["background-media"]:"",backgroundImage:void 0!==this.state.value[t]["background-image"]&&this.state.value[t]["background-image"]?this.state.value[t]["background-image"]:"",backgroundAttachment:void 0!==this.state.value[t]["background-attachment"]&&this.state.value[t]["background-attachment"]?this.state.value[t]["background-attachment"]:"",backgroundPosition:void 0!==this.state.value[t]["background-position"]&&this.state.value[t]["background-position"]?this.state.value[t]["background-position"]:"",backgroundRepeat:void 0!==this.state.value[t]["background-repeat"]&&this.state.value[t]["background-repeat"]?this.state.value[t]["background-repeat"]:"",backgroundSize:void 0!==this.state.value[t]["background-size"]&&this.state.value[t]["background-size"]?this.state.value[t]["background-size"]:"",onSelectImage:function(r,n){return e.onSelectImage(r,t,n)},onChangeImageOptions:function(r,n,a){return e.onChangeImageOptions(r,n,t,a)},backgroundType:void 0!==this.state.value[t]["background-type"]&&this.state.value[t]["background-type"]?this.state.value[t]["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"+t}))}},{key:"handleChangeComplete",value:function(t,e,r){var n;n="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var a=Tt({},this.state.value),o=Tt({},a[e]);o["background-color"]=n,o["background-type"]=r,a[e]=o,this.updateValues(a)}},{key:"render",value:function(){var t,e,r=this.props.control.params,a=r.defaultValue,o=r.label,i=r.description,s="#RRGGBB",c=null,l=null;return a&&(s="#"!==a.substring(0,1)?"#"+a:a,defaultValueAttr=" data-default-color="+s),c=o&&""!==o&&void 0!==o?Object(n.createElement)("span",{className:"customize-control-title"},o):Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Background","astra")),i&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},i)),t=Object(n.createElement)("ul",{className:"ast-responsive-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),e=Object(n.createElement)("div",{className:"background-wrapper"},Object(n.createElement)("div",{className:"background-container desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(n.createElement)("div",{className:"background-container tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(n.createElement)("div",{className:"background-container mobile"},this.renderReset("mobile"),this.renderSettings("mobile"))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,c,l),Object(n.createElement)("div",{className:"customize-control-content"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Dt.propTypes={control:m.a.object.isRequired};var Pt=Dt;function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Lt=function(t){l()(r,t);var e=zt(r);function r(t){var n;o()(this,r),(n=e.call(this,t)).handleChangeComplete=n.handleChangeComplete.bind(P()(n)),n.updateValues=n.updateValues.bind(P()(n)),n.renderOperationButtons=n.renderOperationButtons.bind(P()(n));var a=n.props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.state={value:a},n}return s()(r,[{key:"renderOperationButtons",value:function(){var t=this;return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(e){e.preventDefault();var r=JSON.parse(JSON.stringify(t.defaultValue));void 0!==r&&""!==r||(r="",wp.customize.previewer.refresh()),t.updateValues(r),t.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"handleChangeComplete",value:function(t){var e;e="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(e)}},{key:"render",value:function(){var t=this,e=null,r=this.props.control.params.label;return r&&(e=Object(n.createElement)("span",{className:"customize-control-title"},r)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,e),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex"},this.renderOperationButtons(),Object(n.createElement)(jt,{color:void 0!==this.state.value&&this.state.value?this.state.value:"",onChangeComplete:function(e,r){return t.handleChangeComplete(e)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"})))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Lt.propTypes={control:m.a.object.isRequired};var qt=Lt;function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Mt=function(t){l()(r,t);var e=Bt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.state={value:a},n}return s()(r,[{key:"renderReset",value:function(t){for(var e=this,r=0,a=["desktop","mobile","tablet"];r<a.length;r++){var o=a[r];this.state.value[o]&&!1}return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(t){t.preventDefault();var r=JSON.parse(JSON.stringify(e.defaultValue));if(void 0!==r&&""!==r)for(var n in r)void 0!==r[n]&&""!==r[n]||(r[n]="",wp.customize.previewer.refresh());e.setState({value:r}),e.props.control.setting.set(r),e.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),e.refs.ChildAstraColorPickerControltablet.onResetRefresh(),e.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"renderSettings",value:function(t){var e=this;return Object(n.createElement)(jt,{color:void 0!==this.state.value[t]&&this.state.value[t]?this.state.value[t]:"",onChangeComplete:function(r,n){return e.handleChangeComplete(r,t)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"+t})}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(r,e)}},{key:"render",value:function(){var t=this.props.control.params,e=t.defaultValue,r=t.label,a=t.description,o=t.responsive,i=(t.value,"#RRGGBB"),s=null,c=null,l=null,u=null;return e&&(i="#"!==e.substring(0,1)?"#"+e:e,defaultValueAttr=" data-default-color="+i),r&&(s=Object(n.createElement)("span",{className:"customize-control-title"},r)),a&&(c=Object(n.createElement)("span",{className:"description customize-control-description"},a)),o&&(l=Object(n.createElement)("ul",{className:"ast-responsive-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),u=Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color mobile"},this.renderReset("mobile"),this.renderSettings("mobile")))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,s,c),l,Object(n.createElement)("div",{className:"customize-control-content"},u))}},{key:"updateValues",value:function(t,e){var r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?It(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);r[e]=t,this.setState({value:r}),this.props.control.setting.set(r)}}]),r}(n.Component);Mt.propTypes={control:m.a.object.isRequired};var Vt=Mt;function Qt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Ut=function(t){l()(r,t);var e=Qt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onSelectChange=n.onSelectChange.bind(P()(n)),n}return s()(r,[{key:"onSelectChange",value:function(){this.updateValues(event.target.value)}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,a=e.name,o=e.choices,i=null;r&&(i=Object(n.createElement)("span",{className:"customize-control-title"},r));var s=Object.entries(o).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return Object(n.createElement)(n.Fragment,null,i,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("select",{className:"ast-select-input","data-name":a,"data-value":this.state.value,value:this.state.value,onChange:function(){t.onSelectChange()}},s)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Ut.propTypes={control:m.a.object.isRequired};var Ht=Ut;function Ft(t,e){jQuery("html").addClass("responsive-background-img-ready");var r=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+r).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+r).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})),e&&jQuery(document).mouseup((function(t){var r=jQuery(e),n=r.find(".background-wrapper");n.is(t.target)||0!==n.has(t.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}function Gt(t,e){jQuery("html").addClass("responsive-background-color-ready");var r=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha."+r).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+r).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-responsive-color."+t).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})),e&&jQuery(document).mouseup((function(t){var r=jQuery(e),n=r.find(".customize-control-content");n.is(t.target)||0!==n.has(t.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}function Yt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+e).addClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+t+", .customize-control .ast-responsive-btns > li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}function Jt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper, .customize-control .ast-responsive-slider-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+t+", .customize-control .ast-responsive-slider-btns > li."+t).addClass("active")})),t.container.find(".ast-responsive-slider-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}function Xt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper, .customize-control .ast-spacing-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+t+", .customize-control .ast-spacing-responsive-btns > li."+t).addClass("active")})),t.container.find(".ast-spacing-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}var Wt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(X,{control:this}),this.container[0])},ready:function(){this.setting._value;this.registerToggleEvents(),this.container.on("ast_settings_changed",this.onOptionChange);var t=0,e=jQuery(".wp-full-overlay-sidebar-content"),r=navigator.userAgent.toLowerCase();if(r.indexOf("firefox")>-1)n=16;else var n=6;jQuery("#customize-controls .wp-full-overlay-sidebar-content .control-section").on("scroll",(function(a){var o=jQuery(this);if(o.hasClass("open")){var i=o.find(".customize-section-title"),s=o.scrollTop();if(s>t)i.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),o.css("padding-top","");else{var c=o.outerWidth();i.addClass("maybe-sticky").addClass("is-in-view").addClass("is-sticky").width(c-n).css("top",e.css("top")),r.indexOf("firefox")>-1||o.css("padding-top",i.height()),0===s&&(i.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),o.css("padding-top",""))}t=s}}))},registerToggleEvents:function(){var t=this;jQuery(".wp-full-overlay-sidebar-content, .wp-picker-container").click((function(t){jQuery(t.target).closest(".ast-field-settings-modal").length||jQuery(".ast-adv-toggle-icon.open").trigger("click")})),t.container.on("click",".ast-toggle-desc-wrap .ast-adv-toggle-icon",(function(e){e.preventDefault(),e.stopPropagation();var r=jQuery(this),n=r.closest(".customize-control-ast-settings-group"),a=n.find(".ast-field-settings-modal").data("loaded"),o=n.parents(".control-section");if(r.hasClass("open"))n.find(".ast-field-settings-modal").hide();else{var i=o.find(".ast-adv-toggle-icon.open");if(i.length>0&&i.trigger("click"),a)n.find(".ast-field-settings-modal").show();else{var s=t.params.ast_fields,c=jQuery(astra.customizer.group_modal_tmpl);n.find(".ast-field-settings-wrap").append(c),n.find(".ast-fields-wrap").attr("data-control",t.params.name),t.ast_render_field(n,s,t),n.find(".ast-field-settings-modal").show();var l=jQuery("#customize-footer-actions .active").attr("data-device");"mobile"==l?(jQuery(".ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile").addClass("active"),jQuery(".ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile").addClass("active")):"tablet"==l?(jQuery(".ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet").addClass("active"),jQuery(".ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet").addClass("active")):(jQuery(".ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop").addClass("active"),jQuery(".ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop").addClass("active"))}}r.toggleClass("open")})),t.container.on("click",".ast-toggle-desc-wrap > .customizer-text",(function(t){t.preventDefault(),t.stopPropagation(),jQuery(this).find(".ast-adv-toggle-icon").trigger("click")}))},ast_render_field:function(t,e,r){var n=this,a=t.find(".ast-fields-wrap"),o="",i=[],s=n.isJsonString(r.params.value)?JSON.parse(r.params.value):{};if(void 0!==e.tabs){var c=(c=r.params.name.replace("[","-")).replace("]","");o+='<div id="'+c+'-tabs" class="ast-group-tabs">',o+='<ul class="ast-group-list">';var l=0;_.each(e.tabs,(function(t,e){var r="";0==l&&(r="active"),o+='<li class="'+r+'"><a href="#tab-'+e+'"><span>'+e+"</span></a></li>",l++})),o+="</ul>",o+='<div class="ast-tab-content" >',_.each(e.tabs,(function(t,e){o+='<div id="tab-'+e+'" class="tab">';var r=n.generateFieldHtml(t,s);o+=r.html,_.each(r.controls,(function(t,e){i.push({key:t.key,value:t.value,name:t.name})})),o+="</div>"})),o+="</div></div>",a.html(o),n.renderReactControl(e,n),jQuery("#"+c+"-tabs").tabs()}else{var u=n.generateFieldHtml(e,s);o+=u.html,_.each(u.controls,(function(t,e){i.push({key:t.key,value:t.value,name:t.name})})),a.html(o),n.renderReactControl(e,n)}_.each(i,(function(t,e){switch(t.key){case"ast-color":!function(t){jQuery(document).mouseup((function(e){var r=jQuery(t),n=r.find(".astra-color-picker-wrap");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}("#customize-control-"+t.name);break;case"ast-background":!function(t){jQuery(document).mouseup((function(e){var r=jQuery(t),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}("#customize-control-"+t.name);break;case"ast-responsive-background":Ft(n,"#customize-control-"+t.name);break;case"ast-responsive-color":Gt(n,"#customize-control-"+t.name);break;case"ast-responsive":Yt(n);break;case"ast-responsive-slider":Jt(n);break;case"ast-responsive-spacing":Xt(n);break;case"ast-font":var r=astra.customizer.settings.google_fonts;n.container.find(".ast-font-family").html(r),n.container.find(".ast-font-family").each((function(){var t=jQuery(this).data("value");jQuery(this).val(t);var e=jQuery(this).data("name");jQuery("select[data-name='"+e+"'] option[value='inherit']").text(jQuery(this).data("inherit"));var r=jQuery(".ast-font-weight[data-connected-control='"+e+"']"),a=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t));n.generateDropdownHtml(a,r),r.val(r.data("value"))})),n.container.find(".ast-font-family").selectWoo(),n.container.find(".ast-font-family").on("select2:select",(function(){var t=jQuery(this).val(),e=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t)),r=jQuery(this).data("name"),a=jQuery(".ast-font-weight[data-connected-control='"+r+"']");n.generateDropdownHtml(e,a);var o=jQuery(this).parents(".customize-control").attr("id");o=o.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,jQuery(this),t,o]);var i=a.parents(".customize-control").attr("id");i=i.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,a,a.val(),i])})),n.container.find(".ast-font-weight").on("change",(function(){var t=jQuery(this).val();name=jQuery(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,jQuery(this),t,name])}))}})),t.find(".ast-field-settings-modal").data("loaded",!0)},getJS:function(t){},generateFieldHtml:function(t,e){var r="",n=[];_.each(t,(function(t,e){var a=wp.customize.control("astra-settings["+t.name+"]")?wp.customize.control("astra-settings["+t.name+"]").params.value:"",o=t.control,i="customize-control-"+o+"-content",s=wp.template(i),c=a||t.default;t.value=c;var l="",u="";if(t.label=t.title,_.each(t.data_attrs,(function(t,e){l+=" data-"+e+" ='"+t+"'"})),_.each(t.input_attrs,(function(t,e){u+=e+'="'+t+'" '})),t.dataAttrs=l,t.inputAttrs=u,n.push({key:o,value:c,name:t.name}),"ast-responsive"==o){var p=void 0===t.responsive||t.responsive;t.responsive=p}var h=t.name.replace("[","-");h=h.replace("]",""),r+="<li id='customize-control-"+h+"' class='customize-control customize-control-"+t.control+"' >",r+=s(t),r+="</li>"}));var a=new Object;return a.controls=n,a.html=r,a},generateDropdownHtml:function(t,e){var r=e.data("inherit"),n="",a=0,o=(t=jQuery.merge(["inherit"],t),e.val()||"400"),i="";for(astraTypo.inherit=r;a<t.length;a++)0===a&&-1===jQuery.inArray(o,t)?(o=t[0],i=' selected="selected"'):i=t[a]==o?' selected="selected"':"",t[a].includes("italic")||(n+='<option value="'+t[a]+'"'+i+">"+astraTypo[t[a]]+"</option>");e.html(n)},onOptionChange:function(t,e,r,n,a){jQuery(".hidden-field-astra-settings-"+a).val(n),wp.customize.control("astra-settings["+a+"]").setting.set(n)},isJsonString:function(t){try{JSON.parse(t)}catch(t){return!1}return!0},getFinalControlObject:function(t,e){return void 0!==t.choices&&void 0===e.params.choices&&(e.params.choices=t.choices),void 0!==t.inputAttrs&&void 0===e.params.inputAttrs&&(e.params.inputAttrs=t.inputAttrs),void 0!==t.link&&void 0===e.params.link&&(e.params.link=t.link),void 0!==t.units&&void 0===e.params.units&&(e.params.units=t.units),void 0!==t.linked_choices&&void 0===e.params.linked_choices&&(e.params.linked_choices=t.linked_choices),void 0===t.title||void 0!==e.params.label&&""!==e.params.label&&null!==e.params.label||(e.params.label=t.title),void 0===t.responsive||void 0!==e.params.responsive&&""!==e.params.responsive&&null!==e.params.responsive||(e.params.responsive=t.responsive),e},renderReactControl:function(t,e){var r={"ast-background":Nt,"ast-responsive-background":Pt,"ast-responsive-color":Vt,"ast-color":qt,"ast-border":et,"ast-responsive":it,"ast-responsive-slider":ut,"ast-slider":vt,"ast-responsive-spacing":mt,"ast-select":Ht,"ast-divider":F};void 0!==t.tabs?_.each(t.tabs,(function(t,a){_.each(t,(function(t,a){if("ast-font"!==t.control){var o=t.name.replace("[","-"),i="#customize-control-"+(o=o.replace("]","")),s=wp.customize.control("astra-settings["+t.name+"]");s=e.getFinalControlObject(t,s);var c=r[t.control];ReactDOM.render(Object(n.createElement)(c,{control:s,customizer:wp.customize}),jQuery(i)[0])}}))})):_.each(t,(function(t,a){if("ast-font"!==t.control){var o=t.name.replace("[","-"),i="#customize-control-"+(o=o.replace("]","")),s=wp.customize.control("astra-settings["+t.name+"]");s=e.getFinalControlObject(t,s);var c=r[t.control];ReactDOM.render(Object(n.createElement)(c,{control:s,customizer:wp.customize}),jQuery(i)[0])}}))}}),Zt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(qt,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".astra-color-picker-wrap");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),Kt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Vt,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){Gt(this);var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".customize-control-content");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),$t=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Pt,{control:this}),this.container[0])},ready:function(){Ft(this,"");var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),te=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Nt,{control:this}),this.container[0])},ready:function(){jQuery("html").addClass("background-colorpicker-ready");var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}});function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var re=function(t){l()(r,t);var e=ee(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t,e,r=null,a=null,o=this.props.control.params,i=o.label,s=o.description,c=o.value,l=o.choices,u=o.inputAttrs;return i&&(r=Object(n.createElement)("span",{className:"customize-control-title"},i)),s&&(a=Object(n.createElement)("span",{className:"description customize-control-description"},s)),t=Object.values(c).map((function(t){if(l[t])var e=Object(n.createElement)("li",Z()({},u,{key:t,className:"ast-sortable-item","data-value":t}),Object(n.createElement)("i",{className:"dashicons dashicons-menu"}),Object(n.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),l[t]);return e})),e=Object.keys(l).map((function(t){if(Array.isArray(c)&&-1===c.indexOf(t))var e=Object(n.createElement)("li",Z()({},u,{key:t,className:"ast-sortable-item invisible","data-value":t}),Object(n.createElement)("i",{className:"dashicons dashicons-menu"}),Object(n.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),l[t]);return e})),Object(n.createElement)("label",{className:"ast-sortable"},r,a,Object(n.createElement)("ul",{className:"sortable"},t,e))}}]),r}(n.Component);re.propTypes={control:m.a.object.isRequired};var ne=re,ae=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ne,{control:this}),this.container[0])},ready:function(){var t=this;t.sortableContainer=t.container.find("ul.sortable").first(),t.sortableContainer.sortable({stop:function(){t.updateValue()}}).disableSelection().find("li").each((function(){jQuery(this).find("i.visibility").click((function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")}))})).click((function(){t.updateValue()}))},updateValue:function(){var t=[];this.sortableContainer.find("li").each((function(){jQuery(this).is(".invisible")||t.push(jQuery(this).data("value"))})),this.setting.set(t)}}),oe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(et,{control:this}),this.container[0])}});function ie(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var se=function(t){l()(r,t);var e=ie(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).onLinkClick=n.onLinkClick.bind(P()(n)),n}return s()(r,[{key:"onLinkClick",value:function(){var t=this.props.control.params,e=t.linked;switch(t.link_type){case"section":wp.customize.section(e).expand();break;case"control":wp.customize.control(e).focus()}}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.linked,a=e.link_text,o=e.link_type,i=null;return r&&a&&(i=Object(n.createElement)("a",{href:"#",onClick:function(){t.onLinkClick()},className:"customizer-link","data-customizer-linked":r,"data-ast-customizer-link-type":o,dangerouslySetInnerHTML:{__html:a}})),Object(n.createElement)(n.Fragment,null,i)}}]),r}(n.Component);se.propTypes={control:m.a.object.isRequired};var ce=se,le=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ce,{control:this}),this.container[0])}}),ue=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(it,{control:this}),this.container[0])},ready:function(){Yt(this)}}),pe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ut,{control:this}),this.container[0])},ready:function(){Jt(this)}}),he=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(vt,{control:this}),this.container[0])}}),de=r(36),fe=r.n(de);function me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var be=function(t){l()(r,t);var e=me(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onLayoutChange=n.onLayoutChange.bind(P()(n)),n}return s()(r,[{key:"onLayoutChange",value:function(){this.setState({value:event.target.value}),this.props.control.setting.set(event.target.value)}},{key:"render",value:function(){var t,e=this,r=this.props.control.params,a=r.label,o=r.description,i=r.id,s=r.choices,c=r.inputAttrs,l=r.choices_titles,u=r.link,p=r.labelStyle,h=null,d=null,f=[];a&&(h=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(d=Object(n.createElement)("span",{className:"description customize-control-description"},o));var m=c.split(" ");return m.map((function(t,e){var r=t.split("=");void 0!==r[1]&&(f[r[0]]=r[1].replace(/"/g,""))})),(m=u.split(" ")).map((function(t,e){var r=t.split("=");void 0!==r[1]&&(f[r[0]]=r[1].replace(/"/g,""))})),t=Object.entries(s).map((function(t){var r=fe()(t,2),a=r[0],o=(r[1],e.state.value===a);return Object(n.createElement)(n.Fragment,{key:a},Object(n.createElement)("input",Z()({},f,{className:"image-select",type:"radio",value:a,name:"_customize-radio-".concat(i),id:i+a,checked:o,onChange:function(){return e.onLayoutChange(a)}})),Object(n.createElement)("label",Z()({htmlFor:i+a},p,{className:"ast-radio-img-svg"}),Object(n.createElement)("span",{dangerouslySetInnerHTML:{__html:s[a]}}),Object(n.createElement)("span",{className:"image-clickable",title:l[a]})))})),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",{className:"customizer-text"},h,d),Object(n.createElement)("div",{id:"input_".concat(i),className:"image"},t))}}]),r}(n.Component);be.propTypes={control:m.a.object.isRequired};var ge=be,ve=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ge,{control:this}),this.container[0])}}),ye=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(mt,{control:this}),this.container[0])},ready:function(){Xt(this)}}),_e=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Ht,{control:this}),this.container[0])}});function Oe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ke=function(t){l()(r,t);var e=Oe(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.connect,o=t.variant,i=t.name,s=t.link,c=null,l=null,u=null,p=[],h=Object(z.__)("Inherit","astra");(r&&(c=Object(n.createElement)("span",{className:"customize-control-title"},r)),e&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},e)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(p[r[0]]=r[1].replace(/"/g,""))}));return a&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-control":a,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),o&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),a&&o&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-control":a,"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,c,l),u)}}]),r}(n.Component);ke.propTypes={control:m.a.object.isRequired};var we=ke,je=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(we,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});function Ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Ce=function(t){l()(r,t);var e=Ee(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return void 0!==a&&""!==a||(a=[]),n.state={value:a},n}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.connect,o=t.variant,i=t.name,s=t.link,c=t.ast_all_font_weight,l=null,u=null,p=null,h=[],d=Object(z.__)("Inherit","astra"),f=null;(r&&(l=Object(n.createElement)("span",{className:"customize-control-title"},r)),e&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},e)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));var m=Object.entries(c).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return f="normal"===this.state.value?Object(n.createElement)("option",{key:"normal",value:"normal"},d):Object(n.createElement)("option",{key:"inherit",value:"inherit"},d),a&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-control":a,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),o&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),a&&o&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-control":a,"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,l,u),p)}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Ce.propTypes={control:m.a.object.isRequired};var Se=Ce,xe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Se,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});function Ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Re(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Te=function(t){l()(r,t);var e=Re(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onSelectChange=n.onSelectChange.bind(P()(n)),n.renderSelectHtml=n.renderSelectHtml.bind(P()(n)),n}return s()(r,[{key:"onSelectChange",value:function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ne(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderSelectHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params.choices,o=Object.entries(a).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return Object(n.createElement)("div",{className:"ast-responsive-select-container ".concat(t," ").concat(r)},Object(n.createElement)("select",{className:"ast-select-input","data-value":this.state.value[t],value:this.state.value[t],onChange:function(){e.onSelectChange(t)}},o))}},{key:"render",value:function(){var t=this.props.control.params.label,e=null;t&&(e=Object(n.createElement)("span",{className:"customize-control-title"},t));var r=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),a=Object(n.createElement)(n.Fragment,null,this.renderSelectHtml("desktop","active"),this.renderSelectHtml("tablet"),this.renderSelectHtml("mobile"));return Object(n.createElement)(n.Fragment,null,e,r,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("div",{className:"ast-responsive-select-wrapper"},a)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Te.propTypes={control:m.a.object.isRequired};var Ae=Te,De=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Ae,{control:this}),this.container[0])},ready:function(){var t=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active")})),this.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}});wp.customize.controlConstructor["ast-heading"]=y,wp.customize.controlConstructor["ast-hidden"]=j,wp.customize.controlConstructor["ast-description"]=R,wp.customize.controlConstructor["ast-link"]=Q,wp.customize.controlConstructor["ast-divider"]=G,wp.customize.controlConstructor["ast-settings-group"]=Wt,wp.customize.controlConstructor["ast-color"]=Zt,wp.customize.controlConstructor["ast-responsive-color"]=Kt,wp.customize.controlConstructor["ast-responsive-background"]=$t,wp.customize.controlConstructor["ast-background"]=te,wp.customize.controlConstructor["ast-sortable"]=ae,wp.customize.controlConstructor["ast-border"]=oe,wp.customize.controlConstructor["ast-customizer-link"]=le,wp.customize.controlConstructor["ast-responsive"]=ue,wp.customize.controlConstructor["ast-responsive-slider"]=pe,wp.customize.controlConstructor["ast-slider"]=he,wp.customize.controlConstructor["ast-radio-image"]=ve,wp.customize.controlConstructor["ast-responsive-spacing"]=ye,wp.customize.controlConstructor["ast-select"]=_e,wp.customize.controlConstructor["ast-font-family"]=je,wp.customize.controlConstructor["ast-font-weight"]=xe,wp.customize.controlConstructor["ast-responsive-select"]=De}]); custom-controls/select/class-astra-control-select.php 0000644 00000002322 15252526160 0017062 0 ustar 00 <?php /** * Customizer Control: select. * * Creates a select control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Color control (alpha). */ class Astra_Control_Select extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-select'; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['label'] = esc_html( $this->label ); $this->json['choices'] = $this->choices; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/border/border.scss 0000644 00000004576 15252526160 0013366 0 ustar 00 .customize-control-ast-border { /* Unit Screen wrap */ .customize-control-title { display: inline-block; } .ast-border-outer-wrapper { display: flex; position: relative; } .ast-border-wrapper { display: flex; } .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; > li { margin-bottom: 0; display: none; width: 35px; height: 26px; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } } } .input-wrapper .ast-border-wrapper { display: none; li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .ast-border-connected { color: #ffffff; } &:last-child input.ast-border-input { border-right-width: 1px; border-radius: 0 3px 3px 0; } } &.active { display: flex; } span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .ast-border-input-item-link { .ast-border-connected { display: none; } &.disconnected { .ast-border-disconnected { display: none; } .ast-border-connected { display: block; } } span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .ast-border-connected { background-color: #1e8cbe; } } } } custom-controls/border/class-astra-control-border.php 0000644 00000004004 15252526160 0017055 0 ustar 00 <?php /** * Customizer Control: responsive spacing * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Field overrides. */ if ( ! class_exists( 'Astra_Control_Border' ) && class_exists( 'WP_Customize_Control' ) ) : /** * Border control. */ class Astra_Control_Border extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-border'; /** * The control type. * * @access public * @var string */ public $linked_choices = ''; /** * The unit type. * * @access public * @var array */ public $unit_choices = array( 'px' => 'px' ); /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); $this->json['value'] = $val; $this->json['choices'] = $this->choices; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['linked_choices'] = $this->linked_choices; $this->json['unit_choices'] = $this->unit_choices; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } $this->json['inputAttrs'] = maybe_serialize( $this->input_attrs() ); } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } endif; custom-controls/border/index.php 0000644 00000000170 15252526160 0013016 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/slider/slider.scss 0000644 00000005153 15252526160 0013370 0 ustar 00 .customize-control-ast-slider { .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; &:focus { box-shadow: none; outline: none; } &:hover, &:focus { background-color: rgba(0, 0, 0, 0.25); } &::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } &::-moz-range-track { border: inherit; background: transparent; } &::-ms-track { border: inherit; color: transparent; background: transparent; } &::-ms-fill-lower, &::-ms-fill-upper { background: transparent; } &::-ms-tooltip { display: none; } } .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; span { font-size: 16px; line-height: 22px; transition: unset; } &:hover, &:focus { color: red; } } } .astra_range_value { input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .ast-range-unit { margin-left: 5px; } } .ast-field-settings-modal { .customize-control-ast-slider { .ast-slider-reset { right: -18px; top: -32px; } } } custom-controls/slider/class-astra-control-slider.php 0000644 00000002712 15252526160 0017073 0 ustar 00 <?php /** * Customizer Control: slider. * * Creates a jQuery slider control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Slider control (range). */ class Astra_Control_Slider extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-slider'; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = $this->label; $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/slider/index.php 0000644 00000000170 15252526160 0013023 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/class-astra-customizer-control-base.php 0000644 00000011422 15252526160 0017441 0 ustar 00 <?php /** * Astra Theme Customizer Configuration Base. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.4.3 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Base Class for Registering Customizer Controls. * * @since 1.4.3 */ if ( ! class_exists( 'Astra_Customizer_Control_Base' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Customizer_Control_Base { /** * Registered Controls. * * @since 1.4.3 * @var Array */ private static $controls; /** * Constructor */ public function __construct() { add_action( 'customize_controls_enqueue_scripts', array( $this, 'enqueue_scripts' ) ); } /** * Enqueue Admin Scripts * * @since 1.4.3 */ public function enqueue_scripts() { $dir_name = ( SCRIPT_DEBUG ) ? 'unminified' : 'minified'; $file_prefix = ( SCRIPT_DEBUG ) ? '' : '.min'; $file_rtl = ( is_rtl() ) ? '-rtl' : ''; $css_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/assets/css/' . $dir_name . '/'; $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/assets/js/' . $dir_name . '/'; wp_enqueue_style( 'astra-custom-control-style' . $file_rtl, $css_uri . 'custom-controls' . $file_prefix . $file_rtl . '.css', null, ASTRA_THEME_VERSION ); if ( ! SCRIPT_DEBUG ) { // Enqueue Customizer script. $custom_controls_deps = array( 'jquery', 'customize-base', 'jquery-ui-tabs', 'jquery-ui-sortable', 'wp-i18n', 'wp-components', 'wp-element', 'wp-media-utils', 'wp-block-editor', ); wp_enqueue_script( 'astra-custom-control-script', $js_uri . 'custom-controls' . $file_prefix . '.js', $custom_controls_deps, ASTRA_THEME_VERSION, true ); $localize_array = array( 'colors' => astra_color_palette(), ); wp_localize_script( 'astra-custom-control-script', 'astColorPalette', $localize_array ); } else { // Enqueue Customizer Plain script. $custom_controls_plain_deps = array( 'jquery', 'customize-base', 'jquery-ui-tabs', 'jquery-ui-sortable', ); wp_enqueue_script( 'astra-custom-control-plain-script', $js_uri . 'custom-controls-plain' . $file_prefix . '.js', $custom_controls_plain_deps, ASTRA_THEME_VERSION, true ); // Enqueue Customizer React.JS script. $custom_controls_react_deps = array( 'astra-custom-control-plain-script', 'wp-i18n', 'wp-components', 'wp-element', 'wp-media-utils', 'wp-block-editor', ); wp_enqueue_script( 'astra-custom-control-react-script', ASTRA_THEME_URI . 'inc/customizer/extend-custom-controls/build/index.js', $custom_controls_react_deps, ASTRA_THEME_VERSION, true ); $localize_array = array( 'colors' => astra_color_palette(), ); wp_localize_script( 'astra-custom-control-react-script', 'astColorPalette', $localize_array ); } } /** * Add Control to self::$controls and Register control to WordPress Customizer. * * @param String $name Slug for the control. * @param Array $atts Control Attributes. * @return void */ public static function add_control( $name, $atts ) { global $wp_customize; self::$controls[ $name ] = $atts; if ( isset( $atts['callback'] ) ) { /** * Register controls */ $wp_customize->register_control_type( $atts['callback'] ); } } /** * Returns control instance * * @param string $control_type control type. * @since 1.4.3 * @return string */ public static function get_control_instance( $control_type ) { $control_class = self::get_control( $control_type ); if ( isset( $control_class['callback'] ) ) { return class_exists( $control_class['callback'] ) ? $control_class['callback'] : false; } return false; } /** * Returns control and its attributes * * @param string $control_type control type. * @since 1.4.3 * @return array */ public static function get_control( $control_type ) { if ( isset( self::$controls[ $control_type ] ) ) { return self::$controls[ $control_type ]; } return array(); } /** * Returns Santize callback for control * * @param string $control control. * @since 1.4.3 * @return string */ public static function get_sanitize_call( $control ) { if ( isset( self::$controls[ $control ]['sanitize_callback'] ) ) { return self::$controls[ $control ]['sanitize_callback']; } return false; } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Control_Base(); custom-controls/sortable/sortable.scss 0000644 00000001004 15252526160 0014241 0 ustar 00 .customize-control-ast-sortable ul.ui-sortable { cursor: default; .dashicons-visibility { cursor: pointer; } li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; .dashicons { &.dashicons-menu { float: right; } &.visibility { margin-right: 10px; } } &.invisible { color: #aaa; border: 1px dashed #aaa; .dashicons.visibility { color: #aaa; } } } } custom-controls/sortable/index.php 0000644 00000000170 15252526160 0013354 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/sortable/class-astra-control-sortable.php 0000644 00000002630 15252526160 0017754 0 ustar 00 <?php /** * Customizer Control: sortable. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Sortable control (uses checkboxes). */ class Astra_Control_Sortable extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-sortable'; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['id'] = $this->id; $this->json['link'] = $this->get_link(); $this->json['value'] = maybe_unserialize( $this->value() ); $this->json['choices'] = $this->choices; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } $this->json['inputAttrs'] = maybe_serialize( $this->input_attrs() ); } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/typography/typography.scss 0000644 00000001543 15252526160 0015237 0 ustar 00 .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { li.select2-results__option { margin: 0; } z-index: 999999; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default { .select2-selection--single, &.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer { .devices-wrapper { .preview-desktop, .preview-tablet, .preview-mobile { vertical-align: middle; } } } custom-controls/typography/class-astra-control-typography.php 0000644 00000017304 15252526160 0020746 0 ustar 00 <?php /** * Customizer Control: typography. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Typography control. */ final class Astra_Control_Typography extends WP_Customize_Control { /** * Used to connect controls to each other. * * @since 1.0.0 * @var bool $connect */ public $connect = false; /** * Option name. * * @since 1.0.0 * @var string $name */ public $name = ''; /** * Option label. * * @since 1.0.0 * @var string $label */ public $label = ''; /** * Option description. * * @since 1.0.0 * @var string $description */ public $description = ''; /** * Control type. * * @since 1.0.0 * @var string $type */ public $type = 'ast-font'; /** * Used to connect variant controls to each other. * * @since 1.5.2 * @var bool $variant */ public $variant = false; /** * Used to set the mode for code controls. * * @since 1.0.0 * @var bool $mode */ public $mode = 'html'; /** * Used to set the default font options. * * @since 1.0.8 * @var string $ast_inherit */ public $ast_inherit = ''; /** * All font weights * * @since 1.0.8 * @var string $ast_inherit */ public $ast_all_font_weight = array(); /** * If true, the preview button for a control will be rendered. * * @since 1.0.0 * @var bool $preview_button */ public $preview_button = false; /** * Set the default font options. * * @since 1.0.8 * @param WP_Customize_Manager $manager Customizer bootstrap instance. * @param string $id Control ID. * @param array $args Default parent's arguments. */ public function __construct( $manager, $id, $args = array() ) { $this->ast_inherit = __( 'Inherit', 'astra' ); $this->ast_all_font_weight = array( '100' => __( 'Thin 100', 'astra' ), '100italic' => __( '100 Italic', 'astra' ), '200' => __( 'Extra-Light 200', 'astra' ), '200italic' => __( '200 Italic', 'astra' ), '300' => __( 'Light 300', 'astra' ), '300italic' => __( '300 Italic', 'astra' ), '400' => __( 'Normal 400', 'astra' ), 'italic' => __( '400 Italic', 'astra' ), '500' => __( 'Medium 500', 'astra' ), '500italic' => __( '500 Italic', 'astra' ), '600' => __( 'Semi-Bold 600', 'astra' ), '600italic' => __( '600 Italic', 'astra' ), '700' => __( 'Bold 700', 'astra' ), '700italic' => __( '700 Italic', 'astra' ), '800' => __( 'Extra-Bold 800', 'astra' ), '800italic' => __( '800 Italic', 'astra' ), '900' => __( 'Ultra-Bold 900', 'astra' ), '900italic' => __( '900 Italic', 'astra' ), ); parent::__construct( $manager, $id, $args ); } /** * Renders the content for a control based on the type * of control specified when this class is initialized. * * @since 1.0.0 * @access protected * @return void */ protected function render_content() { switch ( $this->type ) { case 'ast-font-variant': $this->render_font_variant( $this->ast_inherit ); break; } } /** * Enqueue control related scripts/styles. * * @access public */ public function enqueue() { $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; $css_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; $js_uri = ASTRA_THEME_URI . 'inc/customizer/custom-controls/typography/'; wp_enqueue_style( 'astra-select-woo-style', $css_uri . 'selectWoo.css', null, ASTRA_THEME_VERSION ); wp_enqueue_script( 'astra-select-woo-script', $js_uri . 'selectWoo.js', array( 'jquery' ), ASTRA_THEME_VERSION, true ); wp_enqueue_script( 'astra-typography', $js_uri . 'typography.js', array( 'jquery', 'customize-base' ), ASTRA_THEME_VERSION, true ); $astra_typo_localize = $this->ast_all_font_weight; wp_localize_script( 'astra-typography', 'astraTypo', $astra_typo_localize ); } /** * Renders the title and description for a control. * * @since 1.0.0 * @access protected * @return void */ protected function render_content_title() { if ( ! empty( $this->label ) ) { echo '<span class="customize-control-title">' . esc_html( $this->label ) . '</span>'; } if ( ! empty( $this->description ) ) { echo '<span class="description customize-control-description">' . esc_html( $this->description ) . '</span>'; } } /** * Renders the connect attribute for a connected control. * * @since 1.0.0 * @access protected * @return void */ protected function render_connect_attribute() { if ( $this->connect ) { echo ' data-connected-control="' . esc_attr( $this->connect ) . '"'; echo ' data-inherit="' . esc_attr( $this->ast_inherit ) . '"'; } if ( $this->variant ) { echo ' data-connected-variant="' . esc_attr( $this->variant ) . '"'; echo ' data-inherit="' . esc_attr( $this->ast_inherit ) . '"'; } echo ' data-value="' . esc_attr( $this->value() ) . '"'; echo ' data-name="' . esc_attr( $this->name ) . '"'; } /** * Renders a font variant control. * * @since 1.5.2 * @param string $default Inherit/Default. * @access protected * @return void */ protected function render_font_variant( $default ) { echo '<label>'; $this->render_content_title(); echo '</label>'; echo '<select '; $this->link(); $this->render_connect_attribute(); echo ' multiple >'; $values = explode( ',', $this->value() ); foreach ( $values as $key => $value ) { echo '<option value="' . esc_attr( $value ) . '" selected="selected" >' . esc_html( $value ) . '</option>'; } echo '<input class="ast-font-variant-hidden-value" type="hidden" value="' . esc_attr( $this->value() ) . '">'; echo '</select>'; echo '<span class="ast-control-tooltip dashicons dashicons-editor-help ast-variant-description" title="Only selected Font Variants will be loaded from Google Fonts."></span>'; } /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['description'] = $this->description; $this->json['name'] = $this->name; $this->json['value'] = $this->value(); $this->json['connect'] = $this->connect; $this->json['variant'] = $this->variant; $this->json['link'] = $this->get_link(); $this->json['ast_all_font_weight'] = $this->ast_all_font_weight; } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected */ protected function content_template() { ?> <label> <# if ( data.label ) { #> <span class="customize-control-title">{{{data.label}}}</span> <# } #> </label> <select data-inherit="<?php echo esc_attr( $this->ast_inherit ); ?>" <?php $this->link(); ?> class={{ data.font_type }} data-name={{ data.name }} data-value="{{data.value}}" <# if ( data.connect ) { #> data-connected-control={{ data.connect }} <# } #> <# if ( data.variant ) { #> data-connected-variant="{{data.variant}}"; <# } #> > </select> <?php } } custom-controls/typography/typography.js 0000644 00000022153 15252526160 0014700 0 ustar 00 /** * File typography.js * * Handles Typography of the site * * @package Astra */ ( function( $ ) { /* Internal shorthand */ var api = wp.customize; /** * Helper class for the main Customizer interface. * * @since 1.0.0 * @class AstTypography */ AstTypography = { /** * Initializes our custom logic for the Customizer. * * @since 1.0.0 * @method init */ init: function() { AstTypography._initFonts(); }, /** * Initializes logic for font controls. * * @since 1.0.0 * @access private * @method _initFonts */ _initFonts: function() { $( '.customize-control-ast-font-family select' ).each( function(e) { if( 'undefined' != typeof astra.customizer ) { var fonts = astra.customizer.settings.google_fonts; var optionName = $(this).data('name'); $(this).html( fonts ); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var font_val = $(this).data('value'); $(this).val( font_val ); } }); $( '.customize-control-ast-font-family select' ).each( AstTypography._initFont ); // Added select2 for all font family & font variant. $('.customize-control-ast-font-family select, .customize-control-ast-font-variant select').selectWoo(); $('.customize-control-ast-font-variant select').on('select2:unselecting', function (e) { var variantSelect = $(this).data( 'customize-setting-link' ), unselectedValue = e.params.args.data.id || ''; if ( unselectedValue ) { $(this).find('option[value="' + e.params.args.data.id + '"]').removeAttr('selected'); if ( null === $(this).val() ) { api( variantSelect ).set( '' ); } } }); }, /** * Initializes logic for a single font control. * * @since 1.0.0 * @access private * @method _initFont */ _initFont: function() { var select = $( this ), link = select.data( 'customize-setting-link' ), weight = select.data( 'connected-control' ), variant = select.data( 'connected-variant' ); if ( 'undefined' != typeof weight ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontWeightOptions.apply( api( link ), [ true ] ); } if ( 'undefined' != typeof variant ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontVarianttOptions.apply( api( link ), [ true ] ); } }, /** * Callback for when a font control changes. * * @since 1.0.0 * @access private * @method _fontSelectChange */ _fontSelectChange: function() { var fontSelect = api.control( this.id ).container.find( 'select' ), variants = fontSelect.data( 'connected-variant' ); AstTypography._setFontWeightOptions.apply( this, [ false ] ); if ( 'undefined' != typeof variants ) { AstTypography._setFontVarianttOptions.apply( this, [ false ] ); } }, /** * Clean font name. * * Google Fonts are saved as {'Font Name', Category}. This function cleanes this up to retreive only the {Font Name}. * * @since 1.3.0 * @param {String} fontValue Name of the font. * * @return {String} Font name where commas and inverted commas are removed if the font is a Google Font. */ _cleanGoogleFonts: function(fontValue) { // Bail if fontVAlue does not contain a comma. if ( ! fontValue.includes(',') ) return fontValue; var splitFont = fontValue.split(','); var pattern = new RegExp("'", 'gi'); // Check if the cleaned font exists in the Google fonts array. var googleFontValue = splitFont[0].replace(pattern, ''); if ( 'undefined' != typeof AstFontFamilies.google[ googleFontValue ] ) { fontValue = googleFontValue; } return fontValue; }, /** * Get font Weights. * * This function gets the font weights values respective to the selected fonts family{Font Name}. * * @since 1.5.2 * @param {String} fontValue Name of the font. * * @return {String} Available font weights for the selected fonts. */ _getWeightObject: function(fontValue) { var weightObject = [ '400', '600' ]; if ( fontValue == 'inherit' ) { weightObject = [ '100','200','300','400','500','600','700','800','900' ]; } else if ( 'undefined' != typeof AstFontFamilies.system[ fontValue ] ) { weightObject = AstFontFamilies.system[ fontValue ].weights; } else if ( 'undefined' != typeof AstFontFamilies.google[ fontValue ] ) { weightObject = AstFontFamilies.google[ fontValue ][0]; weightObject = Object.keys(weightObject).map(function(k) { return weightObject[k]; }); } else if ( 'undefined' != typeof AstFontFamilies.custom[ fontValue ] ) { weightObject = AstFontFamilies.custom[ fontValue ].weights; } return weightObject; }, /** * Sets the options for a font weight control when a * font family control changes. * * @since 1.0.0 * @access private * @method _setFontWeightOptions * @param {Boolean} init Whether or not we're initializing this font weight control. */ _setFontWeightOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', weightKey = fontSelect.data( 'connected-control' ), inherit = fontSelect.data( 'inherit' ), weightSelect = api.control( weightKey ).container.find( 'select' ), currentWeightTitle = weightSelect.data( 'inherit' ), weightValue = init ? weightSelect.val() : '400', inheritWeightObject = [ 'inherit' ], weightObject = [ '400', '600' ], weightOptions = '', weightMap = astraTypo; if ( fontValue == 'inherit' ) { weightValue = init ? weightSelect.val() : 'inherit'; } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightObject = $.merge( inheritWeightObject, weightObject ) weightMap[ 'inherit' ] = currentWeightTitle; for ( ; i < weightObject.length; i++ ) { if ( 0 === i && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ i ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ i ].includes( "italic" ) ){ weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } } weightSelect.html( weightOptions ); if ( ! init ) { api( weightKey ).set( '' ); api( weightKey ).set( weightValue ); } }, /** * Sets the options for a font variant control when a * font family control changes. * * @since 1.5.2 * @access private * @method _setFontVarianttOptions * @param {Boolean} init Whether or not we're initializing this font variant control. */ _setFontVarianttOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', variants = fontSelect.data( 'connected-variant' ), inherit = fontSelect.data( 'inherit' ), variantSelect = api.control( variants ).container.find( 'select' ), variantSavedField = api.control( variants ).container.find( '.ast-font-variant-hidden-value' ), weightValue = '', weightOptions = '', currentWeightTitle = variantSelect.data( 'inherit' ), weightMap = astraTypo; var variantArray = variantSavedField.val().split(','); // Hide font variant for any ohter fonts then Google var selectedOptionGroup = fontSelect.find('option[value="' + fontSelect.val() + '"]').closest('optgroup').attr('label') || ''; if ( 'Google' == selectedOptionGroup ) { variantSelect.parent().removeClass('ast-hide'); } else{ variantSelect.parent().addClass('ast-hide'); } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightMap[ 'inherit' ] = currentWeightTitle; for ( var i = 0; i < weightObject.length; i++ ) { for ( var e = 0; e < variantArray.length; e++ ) { if ( weightObject[i] === variantArray[e] ) { weightValue = weightObject[ i ]; selected = ' selected="selected"'; } else{ selected = ( weightObject[ i ] == weightValue ) ? ' selected="selected"' : ''; } } weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } variantSelect.html( weightOptions ); if ( ! init ) { api( variants ).set( '' ); } }, }; $( function() { AstTypography.init(); } ); })( jQuery ); custom-controls/typography/selectWoo.js 0000644 00000454474 15252526160 0014455 0 ustar 00 /*! * SelectWoo 1.0.1 * https://github.com/woocommerce/selectWoo * * Released under the MIT license * https://github.com/woocommerce/selectWoo/blob/master/LICENSE.md */ (function (factory) { if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(['jquery'], factory); } else if (typeof module === 'object' && module.exports) { // Node/CommonJS module.exports = function (root, jQuery) { if (jQuery === undefined) { // require('jQuery') returns a factory that requires window to // build a jQuery instance, we normalize how we use modules // that require this pattern but the window provided is a noop // if it's defined (how jquery works) if (typeof window !== 'undefined') { jQuery = require('jquery'); } else { jQuery = require('jquery')(root); } } factory(jQuery); return jQuery; }; } else { // Browser globals factory(jQuery); } } (function (jQuery) { // This is needed so we can catch the AMD loader configuration and use it // The inner file should be wrapped (by `banner.start.js`) in a function that // returns the AMD loader references. var S2 =(function () { // Restore the Select2 AMD loader so it can be used // Needed mostly in the language files, where the loader is not inserted if (jQuery && jQuery.fn && jQuery.fn.select2 && jQuery.fn.select2.amd) { var S2 = jQuery.fn.select2.amd; } var S2;(function () { if (!S2 || !S2.requirejs) { if (!S2) { S2 = {}; } else { require = S2; } /** * @license almond 0.3.3 Copyright jQuery Foundation and other contributors. * Released under MIT license, http://github.com/requirejs/almond/LICENSE */ //Going sloppy to avoid 'use strict' string cost, but strict practices should //be followed. /*global setTimeout: false */ var requirejs, require, define; (function (undef) { var main, req, makeMap, handlers, defined = {}, waiting = {}, config = {}, defining = {}, hasOwn = Object.prototype.hasOwnProperty, aps = [].slice, jsSuffixRegExp = /\.js$/; function hasProp(obj, prop) { return hasOwn.call(obj, prop); } /** * Given a relative module name, like ./something, normalize it to * a real name that can be mapped to a path. * @param {String} name the relative name * @param {String} baseName a real name that the name arg is relative * to. * @returns {String} normalized name */ function normalize(name, baseName) { var nameParts, nameSegment, mapValue, foundMap, lastIndex, foundI, foundStarMap, starI, i, j, part, normalizedBaseParts, baseParts = baseName && baseName.split("/"), map = config.map, starMap = (map && map['*']) || {}; //Adjust any relative paths. if (name) { name = name.split('/'); lastIndex = name.length - 1; // If wanting node ID compatibility, strip .js from end // of IDs. Have to do this here, and not in nameToUrl // because node allows either .js or non .js to map // to same file. if (config.nodeIdCompat && jsSuffixRegExp.test(name[lastIndex])) { name[lastIndex] = name[lastIndex].replace(jsSuffixRegExp, ''); } // Starts with a '.' so need the baseName if (name[0].charAt(0) === '.' && baseParts) { //Convert baseName to array, and lop off the last part, //so that . matches that 'directory' and not name of the baseName's //module. For instance, baseName of 'one/two/three', maps to //'one/two/three.js', but we want the directory, 'one/two' for //this normalization. normalizedBaseParts = baseParts.slice(0, baseParts.length - 1); name = normalizedBaseParts.concat(name); } //start trimDots for (i = 0; i < name.length; i++) { part = name[i]; if (part === '.') { name.splice(i, 1); i -= 1; } else if (part === '..') { // If at the start, or previous value is still .., // keep them so that when converted to a path it may // still work when converted to a path, even though // as an ID it is less than ideal. In larger point // releases, may be better to just kick out an error. if (i === 0 || (i === 1 && name[2] === '..') || name[i - 1] === '..') { continue; } else if (i > 0) { name.splice(i - 1, 2); i -= 2; } } } //end trimDots name = name.join('/'); } //Apply map config if available. if ((baseParts || starMap) && map) { nameParts = name.split('/'); for (i = nameParts.length; i > 0; i -= 1) { nameSegment = nameParts.slice(0, i).join("/"); if (baseParts) { //Find the longest baseName segment match in the config. //So, do joins on the biggest to smallest lengths of baseParts. for (j = baseParts.length; j > 0; j -= 1) { mapValue = map[baseParts.slice(0, j).join('/')]; //baseName segment has config, find if it has one for //this name. if (mapValue) { mapValue = mapValue[nameSegment]; if (mapValue) { //Match, update name to the new value. foundMap = mapValue; foundI = i; break; } } } } if (foundMap) { break; } //Check for a star map match, but just hold on to it, //if there is a shorter segment match later in a matching //config, then favor over this star map. if (!foundStarMap && starMap && starMap[nameSegment]) { foundStarMap = starMap[nameSegment]; starI = i; } } if (!foundMap && foundStarMap) { foundMap = foundStarMap; foundI = starI; } if (foundMap) { nameParts.splice(0, foundI, foundMap); name = nameParts.join('/'); } } return name; } function makeRequire(relName, forceSync) { return function () { //A version of a require function that passes a moduleName //value for items that may need to //look up paths relative to the moduleName var args = aps.call(arguments, 0); //If first arg is not require('string'), and there is only //one arg, it is the array form without a callback. Insert //a null so that the following concat is correct. if (typeof args[0] !== 'string' && args.length === 1) { args.push(null); } return req.apply(undef, args.concat([relName, forceSync])); }; } function makeNormalize(relName) { return function (name) { return normalize(name, relName); }; } function makeLoad(depName) { return function (value) { defined[depName] = value; }; } function callDep(name) { if (hasProp(waiting, name)) { var args = waiting[name]; delete waiting[name]; defining[name] = true; main.apply(undef, args); } if (!hasProp(defined, name) && !hasProp(defining, name)) { throw new Error('No ' + name); } return defined[name]; } //Turns a plugin!resource to [plugin, resource] //with the plugin being undefined if the name //did not have a plugin prefix. function splitPrefix(name) { var prefix, index = name ? name.indexOf('!') : -1; if (index > -1) { prefix = name.substring(0, index); name = name.substring(index + 1, name.length); } return [prefix, name]; } //Creates a parts array for a relName where first part is plugin ID, //second part is resource ID. Assumes relName has already been normalized. function makeRelParts(relName) { return relName ? splitPrefix(relName) : []; } /** * Makes a name map, normalizing the name, and using a plugin * for normalization if necessary. Grabs a ref to plugin * too, as an optimization. */ makeMap = function (name, relParts) { var plugin, parts = splitPrefix(name), prefix = parts[0], relResourceName = relParts[1]; name = parts[1]; if (prefix) { prefix = normalize(prefix, relResourceName); plugin = callDep(prefix); } //Normalize according if (prefix) { if (plugin && plugin.normalize) { name = plugin.normalize(name, makeNormalize(relResourceName)); } else { name = normalize(name, relResourceName); } } else { name = normalize(name, relResourceName); parts = splitPrefix(name); prefix = parts[0]; name = parts[1]; if (prefix) { plugin = callDep(prefix); } } //Using ridiculous property names for space reasons return { f: prefix ? prefix + '!' + name : name, //fullName n: name, pr: prefix, p: plugin }; }; function makeConfig(name) { return function () { return (config && config.config && config.config[name]) || {}; }; } handlers = { require: function (name) { return makeRequire(name); }, exports: function (name) { var e = defined[name]; if (typeof e !== 'undefined') { return e; } else { return (defined[name] = {}); } }, module: function (name) { return { id: name, uri: '', exports: defined[name], config: makeConfig(name) }; } }; main = function (name, deps, callback, relName) { var cjsModule, depName, ret, map, i, relParts, args = [], callbackType = typeof callback, usingExports; //Use name if no relName relName = relName || name; relParts = makeRelParts(relName); //Call the callback to define the module, if necessary. if (callbackType === 'undefined' || callbackType === 'function') { //Pull out the defined dependencies and pass the ordered //values to the callback. //Default to [require, exports, module] if no deps deps = !deps.length && callback.length ? ['require', 'exports', 'module'] : deps; for (i = 0; i < deps.length; i += 1) { map = makeMap(deps[i], relParts); depName = map.f; //Fast path CommonJS standard dependencies. if (depName === "require") { args[i] = handlers.require(name); } else if (depName === "exports") { //CommonJS module spec 1.1 args[i] = handlers.exports(name); usingExports = true; } else if (depName === "module") { //CommonJS module spec 1.1 cjsModule = args[i] = handlers.module(name); } else if (hasProp(defined, depName) || hasProp(waiting, depName) || hasProp(defining, depName)) { args[i] = callDep(depName); } else if (map.p) { map.p.load(map.n, makeRequire(relName, true), makeLoad(depName), {}); args[i] = defined[depName]; } else { throw new Error(name + ' missing ' + depName); } } ret = callback ? callback.apply(defined[name], args) : undefined; if (name) { //If setting exports via "module" is in play, //favor that over return value and exports. After that, //favor a non-undefined return value over exports use. if (cjsModule && cjsModule.exports !== undef && cjsModule.exports !== defined[name]) { defined[name] = cjsModule.exports; } else if (ret !== undef || !usingExports) { //Use the return value from the function. defined[name] = ret; } } } else if (name) { //May just be an object definition for the module. Only //worry about defining if have a module name. defined[name] = callback; } }; requirejs = require = req = function (deps, callback, relName, forceSync, alt) { if (typeof deps === "string") { if (handlers[deps]) { //callback in this case is really relName return handlers[deps](callback); } //Just return the module wanted. In this scenario, the //deps arg is the module name, and second arg (if passed) //is just the relName. //Normalize module name, if it contains . or .. return callDep(makeMap(deps, makeRelParts(callback)).f); } else if (!deps.splice) { //deps is a config object, not an array. config = deps; if (config.deps) { req(config.deps, config.callback); } if (!callback) { return; } if (callback.splice) { //callback is an array, which means it is a dependency list. //Adjust args if there are dependencies deps = callback; callback = relName; relName = null; } else { deps = undef; } } //Support require(['a']) callback = callback || function () {}; //If relName is a function, it is an errback handler, //so remove it. if (typeof relName === 'function') { relName = forceSync; forceSync = alt; } //Simulate async callback; if (forceSync) { main(undef, deps, callback, relName); } else { //Using a non-zero value because of concern for what old browsers //do, and latest browsers "upgrade" to 4 if lower value is used: //http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html#dom-windowtimers-settimeout: //If want a value immediately, use require('id') instead -- something //that works in almond on the global level, but not guaranteed and //unlikely to work in other AMD implementations. setTimeout(function () { main(undef, deps, callback, relName); }, 4); } return req; }; /** * Just drops the config on the floor, but returns req in case * the config return value is used. */ req.config = function (cfg) { return req(cfg); }; /** * Expose module registry for debugging and tooling */ requirejs._defined = defined; define = function (name, deps, callback) { if (typeof name !== 'string') { throw new Error('See almond README: incorrect module build, no module name'); } //This module may not have dependencies if (!deps.splice) { //deps is not an array, so probably means //an object literal or factory function for //the value. Adjust args. callback = deps; deps = []; } if (!hasProp(defined, name) && !hasProp(waiting, name)) { waiting[name] = [name, deps, callback]; } }; define.amd = { jQuery: true }; }()); S2.requirejs = requirejs;S2.require = require;S2.define = define; } }()); S2.define("almond", function(){}); /* global jQuery:false, $:false */ S2.define('jquery',[],function () { var _$ = jQuery || $; if (_$ == null && console && console.error) { console.error( 'Select2: An instance of jQuery or a jQuery-compatible library was not ' + 'found. Make sure that you are including jQuery before Select2 on your ' + 'web page.' ); } return _$; }); S2.define('select2/utils',[ 'jquery' ], function ($) { var Utils = {}; Utils.Extend = function (ChildClass, SuperClass) { var __hasProp = {}.hasOwnProperty; function BaseConstructor () { this.constructor = ChildClass; } for (var key in SuperClass) { if (__hasProp.call(SuperClass, key)) { ChildClass[key] = SuperClass[key]; } } BaseConstructor.prototype = SuperClass.prototype; ChildClass.prototype = new BaseConstructor(); ChildClass.__super__ = SuperClass.prototype; return ChildClass; }; function getMethods (theClass) { var proto = theClass.prototype; var methods = []; for (var methodName in proto) { var m = proto[methodName]; if (typeof m !== 'function') { continue; } if (methodName === 'constructor') { continue; } methods.push(methodName); } return methods; } Utils.Decorate = function (SuperClass, DecoratorClass) { var decoratedMethods = getMethods(DecoratorClass); var superMethods = getMethods(SuperClass); function DecoratedClass () { var unshift = Array.prototype.unshift; var argCount = DecoratorClass.prototype.constructor.length; var calledConstructor = SuperClass.prototype.constructor; if (argCount > 0) { unshift.call(arguments, SuperClass.prototype.constructor); calledConstructor = DecoratorClass.prototype.constructor; } calledConstructor.apply(this, arguments); } DecoratorClass.displayName = SuperClass.displayName; function ctr () { this.constructor = DecoratedClass; } DecoratedClass.prototype = new ctr(); for (var m = 0; m < superMethods.length; m++) { var superMethod = superMethods[m]; DecoratedClass.prototype[superMethod] = SuperClass.prototype[superMethod]; } var calledMethod = function (methodName) { // Stub out the original method if it's not decorating an actual method var originalMethod = function () {}; if (methodName in DecoratedClass.prototype) { originalMethod = DecoratedClass.prototype[methodName]; } var decoratedMethod = DecoratorClass.prototype[methodName]; return function () { var unshift = Array.prototype.unshift; unshift.call(arguments, originalMethod); return decoratedMethod.apply(this, arguments); }; }; for (var d = 0; d < decoratedMethods.length; d++) { var decoratedMethod = decoratedMethods[d]; DecoratedClass.prototype[decoratedMethod] = calledMethod(decoratedMethod); } return DecoratedClass; }; var Observable = function () { this.listeners = {}; }; Observable.prototype.on = function (event, callback) { this.listeners = this.listeners || {}; if (event in this.listeners) { this.listeners[event].push(callback); } else { this.listeners[event] = [callback]; } }; Observable.prototype.trigger = function (event) { var slice = Array.prototype.slice; var params = slice.call(arguments, 1); this.listeners = this.listeners || {}; // Params should always come in as an array if (params == null) { params = []; } // If there are no arguments to the event, use a temporary object if (params.length === 0) { params.push({}); } // Set the `_type` of the first object to the event params[0]._type = event; if (event in this.listeners) { this.invoke(this.listeners[event], slice.call(arguments, 1)); } if ('*' in this.listeners) { this.invoke(this.listeners['*'], arguments); } }; Observable.prototype.invoke = function (listeners, params) { for (var i = 0, len = listeners.length; i < len; i++) { listeners[i].apply(this, params); } }; Utils.Observable = Observable; Utils.generateChars = function (length) { var chars = ''; for (var i = 0; i < length; i++) { var randomChar = Math.floor(Math.random() * 36); chars += randomChar.toString(36); } return chars; }; Utils.bind = function (func, context) { return function () { func.apply(context, arguments); }; }; Utils._convertData = function (data) { for (var originalKey in data) { var keys = originalKey.split('-'); var dataLevel = data; if (keys.length === 1) { continue; } for (var k = 0; k < keys.length; k++) { var key = keys[k]; // Lowercase the first letter // By default, dash-separated becomes camelCase key = key.substring(0, 1).toLowerCase() + key.substring(1); if (!(key in dataLevel)) { dataLevel[key] = {}; } if (k == keys.length - 1) { dataLevel[key] = data[originalKey]; } dataLevel = dataLevel[key]; } delete data[originalKey]; } return data; }; Utils.hasScroll = function (index, el) { // Adapted from the function created by @ShadowScripter // and adapted by @BillBarry on the Stack Exchange Code Review website. // The original code can be found at // http://codereview.stackexchange.com/q/13338 // and was designed to be used with the Sizzle selector engine. var $el = $(el); var overflowX = el.style.overflowX; var overflowY = el.style.overflowY; //Check both x and y declarations if (overflowX === overflowY && (overflowY === 'hidden' || overflowY === 'visible')) { return false; } if (overflowX === 'scroll' || overflowY === 'scroll') { return true; } return ($el.innerHeight() < el.scrollHeight || $el.innerWidth() < el.scrollWidth); }; Utils.escapeMarkup = function (markup) { var replaceMap = { '\\': '\', '&': '&', '<': '<', '>': '>', '"': '"', '\'': ''', '/': '/' }; // Do not try to escape the markup if it's not a string if (typeof markup !== 'string') { return markup; } return String(markup).replace(/[&<>"'\/\\]/g, function (match) { return replaceMap[match]; }); }; Utils.entityDecode = function(html) { var txt = document.createElement("textarea"); txt.innerHTML = html; return txt.value; } // Append an array of jQuery nodes to a given element. Utils.appendMany = function ($element, $nodes) { // jQuery 1.7.x does not support $.fn.append() with an array // Fall back to a jQuery object collection using $.fn.add() if ($.fn.jquery.substr(0, 3) === '1.7') { var $jqNodes = $(); $.map($nodes, function (node) { $jqNodes = $jqNodes.add(node); }); $nodes = $jqNodes; } $element.append($nodes); }; // Determine whether the browser is on a touchscreen device. Utils.isTouchscreen = function() { if ('undefined' === typeof Utils._isTouchscreenCache) { Utils._isTouchscreenCache = 'ontouchstart' in document.documentElement; } return Utils._isTouchscreenCache; } return Utils; }); S2.define('select2/results',[ 'jquery', './utils' ], function ($, Utils) { function Results ($element, options, dataAdapter) { this.$element = $element; this.data = dataAdapter; this.options = options; Results.__super__.constructor.call(this); } Utils.Extend(Results, Utils.Observable); Results.prototype.render = function () { var $results = $( '<ul class="select2-results__options" role="listbox" tabindex="-1"></ul>' ); if (this.options.get('multiple')) { $results.attr('aria-multiselectable', 'true'); } this.$results = $results; return $results; }; Results.prototype.clear = function () { this.$results.empty(); }; Results.prototype.displayMessage = function (params) { var escapeMarkup = this.options.get('escapeMarkup'); this.clear(); this.hideLoading(); var $message = $( '<li role="alert" aria-live="assertive"' + ' class="select2-results__option"></li>' ); var message = this.options.get('translations').get(params.message); $message.append( escapeMarkup( message(params.args) ) ); $message[0].className += ' select2-results__message'; this.$results.append($message); }; Results.prototype.hideMessages = function () { this.$results.find('.select2-results__message').remove(); }; Results.prototype.append = function (data) { this.hideLoading(); var $options = []; if (data.results == null || data.results.length === 0) { if (this.$results.children().length === 0) { this.trigger('results:message', { message: 'noResults' }); } return; } data.results = this.sort(data.results); for (var d = 0; d < data.results.length; d++) { var item = data.results[d]; var $option = this.option(item); $options.push($option); } this.$results.append($options); }; Results.prototype.position = function ($results, $dropdown) { var $resultsContainer = $dropdown.find('.select2-results'); $resultsContainer.append($results); }; Results.prototype.sort = function (data) { var sorter = this.options.get('sorter'); return sorter(data); }; Results.prototype.highlightFirstItem = function () { var $options = this.$results .find('.select2-results__option[data-selected]'); var $selected = $options.filter('[data-selected=true]'); // Check if there are any selected options if ($selected.length > 0) { // If there are selected options, highlight the first $selected.first().trigger('mouseenter'); } else { // If there are no selected options, highlight the first option // in the dropdown $options.first().trigger('mouseenter'); } this.ensureHighlightVisible(); }; Results.prototype.setClasses = function () { var self = this; this.data.current(function (selected) { var selectedIds = $.map(selected, function (s) { return s.id.toString(); }); var $options = self.$results .find('.select2-results__option[data-selected]'); $options.each(function () { var $option = $(this); var item = $.data(this, 'data'); // id needs to be converted to a string when comparing var id = '' + item.id; if ((item.element != null && item.element.selected) || (item.element == null && $.inArray(id, selectedIds) > -1)) { $option.attr('data-selected', 'true'); } else { $option.attr('data-selected', 'false'); } }); }); }; Results.prototype.showLoading = function (params) { this.hideLoading(); var loadingMore = this.options.get('translations').get('searching'); var loading = { disabled: true, loading: true, text: loadingMore(params) }; var $loading = this.option(loading); $loading.className += ' loading-results'; this.$results.prepend($loading); }; Results.prototype.hideLoading = function () { this.$results.find('.loading-results').remove(); }; Results.prototype.option = function (data) { var option = document.createElement('li'); option.className = 'select2-results__option'; var attrs = { 'role': 'option', 'data-selected': 'false', 'tabindex': -1 }; if (data.disabled) { delete attrs['data-selected']; attrs['aria-disabled'] = 'true'; } if (data.id == null) { delete attrs['data-selected']; } if (data._resultId != null) { option.id = data._resultId; } if (data.title) { option.title = data.title; } if (data.children) { attrs['aria-label'] = data.text; delete attrs['data-selected']; } for (var attr in attrs) { var val = attrs[attr]; option.setAttribute(attr, val); } if (data.children) { var $option = $(option); var label = document.createElement('strong'); label.className = 'select2-results__group'; var $label = $(label); this.template(data, label); $label.attr('role', 'presentation'); var $children = []; for (var c = 0; c < data.children.length; c++) { var child = data.children[c]; var $child = this.option(child); $children.push($child); } var $childrenContainer = $('<ul></ul>', { 'class': 'select2-results__options select2-results__options--nested', 'role': 'listbox' }); $childrenContainer.append($children); $option.attr('role', 'list'); $option.append(label); $option.append($childrenContainer); } else { this.template(data, option); } $.data(option, 'data', data); return option; }; Results.prototype.bind = function (container, $container) { var self = this; var id = container.id + '-results'; this.$results.attr('id', id); container.on('results:all', function (params) { self.clear(); self.append(params.data); if (container.isOpen()) { self.setClasses(); self.highlightFirstItem(); } }); container.on('results:append', function (params) { self.append(params.data); if (container.isOpen()) { self.setClasses(); } }); container.on('query', function (params) { self.hideMessages(); self.showLoading(params); }); container.on('select', function () { if (!container.isOpen()) { return; } self.setClasses(); self.highlightFirstItem(); }); container.on('unselect', function () { if (!container.isOpen()) { return; } self.setClasses(); self.highlightFirstItem(); }); container.on('open', function () { // When the dropdown is open, aria-expended="true" self.$results.attr('aria-expanded', 'true'); self.$results.attr('aria-hidden', 'false'); self.setClasses(); self.ensureHighlightVisible(); }); container.on('close', function () { // When the dropdown is closed, aria-expended="false" self.$results.attr('aria-expanded', 'false'); self.$results.attr('aria-hidden', 'true'); self.$results.removeAttr('aria-activedescendant'); }); container.on('results:toggle', function () { var $highlighted = self.getHighlightedResults(); if ($highlighted.length === 0) { return; } $highlighted.trigger('mouseup'); }); container.on('results:select', function () { var $highlighted = self.getHighlightedResults(); if ($highlighted.length === 0) { return; } var data = $highlighted.data('data'); if ($highlighted.attr('data-selected') == 'true') { self.trigger('close', {}); } else { self.trigger('select', { data: data }); } }); container.on('results:previous', function () { var $highlighted = self.getHighlightedResults(); var $options = self.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); // If we are already at te top, don't move further if (currentIndex === 0) { return; } var nextIndex = currentIndex - 1; // If none are highlighted, highlight the first if ($highlighted.length === 0) { nextIndex = 0; } var $next = $options.eq(nextIndex); $next.trigger('mouseenter'); var currentOffset = self.$results.offset().top; var nextTop = $next.offset().top; var nextOffset = self.$results.scrollTop() + (nextTop - currentOffset); if (nextIndex === 0) { self.$results.scrollTop(0); } else if (nextTop - currentOffset < 0) { self.$results.scrollTop(nextOffset); } }); container.on('results:next', function () { var $highlighted = self.getHighlightedResults(); var $options = self.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); var nextIndex = currentIndex + 1; // If we are at the last option, stay there if (nextIndex >= $options.length) { return; } var $next = $options.eq(nextIndex); $next.trigger('mouseenter'); var currentOffset = self.$results.offset().top + self.$results.outerHeight(false); var nextBottom = $next.offset().top + $next.outerHeight(false); var nextOffset = self.$results.scrollTop() + nextBottom - currentOffset; if (nextIndex === 0) { self.$results.scrollTop(0); } else if (nextBottom > currentOffset) { self.$results.scrollTop(nextOffset); } }); container.on('results:focus', function (params) { params.element.addClass('select2-results__option--highlighted').attr('aria-selected', 'true'); self.$results.attr('aria-activedescendant', params.element.attr('id')); }); container.on('results:message', function (params) { self.displayMessage(params); }); if ($.fn.mousewheel) { this.$results.on('mousewheel', function (e) { var top = self.$results.scrollTop(); var bottom = self.$results.get(0).scrollHeight - top + e.deltaY; var isAtTop = e.deltaY > 0 && top - e.deltaY <= 0; var isAtBottom = e.deltaY < 0 && bottom <= self.$results.height(); if (isAtTop) { self.$results.scrollTop(0); e.preventDefault(); e.stopPropagation(); } else if (isAtBottom) { self.$results.scrollTop( self.$results.get(0).scrollHeight - self.$results.height() ); e.preventDefault(); e.stopPropagation(); } }); } this.$results.on('mouseup', '.select2-results__option[data-selected]', function (evt) { var $this = $(this); var data = $this.data('data'); if ($this.attr('data-selected') === 'true') { if (self.options.get('multiple')) { self.trigger('unselect', { originalEvent: evt, data: data }); } else { self.trigger('close', {}); } return; } self.trigger('select', { originalEvent: evt, data: data }); }); this.$results.on('mouseenter', '.select2-results__option[data-selected]', function (evt) { var data = $(this).data('data'); self.getHighlightedResults() .removeClass('select2-results__option--highlighted') .attr('aria-selected', 'false'); self.trigger('results:focus', { data: data, element: $(this) }); }); }; Results.prototype.getHighlightedResults = function () { var $highlighted = this.$results .find('.select2-results__option--highlighted'); return $highlighted; }; Results.prototype.destroy = function () { this.$results.remove(); }; Results.prototype.ensureHighlightVisible = function () { var $highlighted = this.getHighlightedResults(); if ($highlighted.length === 0) { return; } var $options = this.$results.find('[data-selected]'); var currentIndex = $options.index($highlighted); var currentOffset = this.$results.offset().top; var nextTop = $highlighted.offset().top; var nextOffset = this.$results.scrollTop() + (nextTop - currentOffset); var offsetDelta = nextTop - currentOffset; nextOffset -= $highlighted.outerHeight(false) * 2; if (currentIndex <= 2) { this.$results.scrollTop(0); } else if (offsetDelta > this.$results.outerHeight() || offsetDelta < 0) { this.$results.scrollTop(nextOffset); } }; Results.prototype.template = function (result, container) { var template = this.options.get('templateResult'); var escapeMarkup = this.options.get('escapeMarkup'); var content = template(result, container); if (content == null) { container.style.display = 'none'; } else if (typeof content === 'string') { container.innerHTML = escapeMarkup(content); } else { $(container).append(content); } }; return Results; }); S2.define('select2/keys',[ ], function () { var KEYS = { BACKSPACE: 8, TAB: 9, ENTER: 13, SHIFT: 16, CTRL: 17, ALT: 18, ESC: 27, SPACE: 32, PAGE_UP: 33, PAGE_DOWN: 34, END: 35, HOME: 36, LEFT: 37, UP: 38, RIGHT: 39, DOWN: 40, DELETE: 46 }; return KEYS; }); S2.define('select2/selection/base',[ 'jquery', '../utils', '../keys' ], function ($, Utils, KEYS) { function BaseSelection ($element, options) { this.$element = $element; this.options = options; BaseSelection.__super__.constructor.call(this); } Utils.Extend(BaseSelection, Utils.Observable); BaseSelection.prototype.render = function () { var $selection = $( '<span class="select2-selection" ' + ' aria-haspopup="true" aria-expanded="false">' + '</span>' ); this._tabindex = 0; if (this.$element.data('old-tabindex') != null) { this._tabindex = this.$element.data('old-tabindex'); } else if (this.$element.attr('tabindex') != null) { this._tabindex = this.$element.attr('tabindex'); } $selection.attr('title', this.$element.attr('title')); $selection.attr('tabindex', this._tabindex); this.$selection = $selection; return $selection; }; BaseSelection.prototype.bind = function (container, $container) { var self = this; var id = container.id + '-container'; var resultsId = container.id + '-results'; var searchHidden = this.options.get('minimumResultsForSearch') === Infinity; this.container = container; this.$selection.on('focus', function (evt) { self.trigger('focus', evt); }); this.$selection.on('blur', function (evt) { self._handleBlur(evt); }); this.$selection.on('keydown', function (evt) { self.trigger('keypress', evt); if (evt.which === KEYS.SPACE) { evt.preventDefault(); } }); container.on('results:focus', function (params) { self.$selection.attr('aria-activedescendant', params.data._resultId); }); container.on('selection:update', function (params) { self.update(params.data); }); container.on('open', function () { // When the dropdown is open, aria-expanded="true" self.$selection.attr('aria-expanded', 'true'); self.$selection.attr('aria-owns', resultsId); self._attachCloseHandler(container); }); container.on('close', function () { // When the dropdown is closed, aria-expanded="false" self.$selection.attr('aria-expanded', 'false'); self.$selection.removeAttr('aria-activedescendant'); self.$selection.removeAttr('aria-owns'); // This needs to be delayed as the active element is the body when the // key is pressed. window.setTimeout(function () { self.$selection.focus(); }, 1); self._detachCloseHandler(container); }); container.on('enable', function () { self.$selection.attr('tabindex', self._tabindex); }); container.on('disable', function () { self.$selection.attr('tabindex', '-1'); }); }; BaseSelection.prototype._handleBlur = function (evt) { var self = this; // This needs to be delayed as the active element is the body when the tab // key is pressed, possibly along with others. window.setTimeout(function () { // Don't trigger `blur` if the focus is still in the selection if ( (document.activeElement == self.$selection[0]) || ($.contains(self.$selection[0], document.activeElement)) ) { return; } self.trigger('blur', evt); }, 1); }; BaseSelection.prototype._attachCloseHandler = function (container) { var self = this; $(document.body).on('mousedown.select2.' + container.id, function (e) { var $target = $(e.target); var $select = $target.closest('.select2'); var $all = $('.select2.select2-container--open'); $all.each(function () { var $this = $(this); if (this == $select[0]) { return; } var $element = $this.data('element'); $element.select2('close'); // Remove any focus when dropdown is closed by clicking outside the select area. // Timeout of 1 required for close to finish wrapping up. setTimeout(function(){ $this.find('*:focus').blur(); $target.focus(); }, 1); }); }); }; BaseSelection.prototype._detachCloseHandler = function (container) { $(document.body).off('mousedown.select2.' + container.id); }; BaseSelection.prototype.position = function ($selection, $container) { var $selectionContainer = $container.find('.selection'); $selectionContainer.append($selection); }; BaseSelection.prototype.destroy = function () { this._detachCloseHandler(this.container); }; BaseSelection.prototype.update = function (data) { throw new Error('The `update` method must be defined in child classes.'); }; return BaseSelection; }); S2.define('select2/selection/single',[ 'jquery', './base', '../utils', '../keys' ], function ($, BaseSelection, Utils, KEYS) { function SingleSelection () { SingleSelection.__super__.constructor.apply(this, arguments); } Utils.Extend(SingleSelection, BaseSelection); SingleSelection.prototype.render = function () { var $selection = SingleSelection.__super__.render.call(this); $selection.addClass('select2-selection--single'); $selection.html( '<span class="select2-selection__rendered"></span>' + '<span class="select2-selection__arrow" role="presentation">' + '<b role="presentation"></b>' + '</span>' ); return $selection; }; SingleSelection.prototype.bind = function (container, $container) { var self = this; SingleSelection.__super__.bind.apply(this, arguments); var id = container.id + '-container'; this.$selection.find('.select2-selection__rendered') .attr('id', id) .attr('role', 'textbox') .attr('aria-readonly', 'true'); this.$selection.attr('aria-labelledby', id); // This makes single non-search selects work in screen readers. If it causes problems elsewhere, remove. this.$selection.attr('role', 'combobox'); this.$selection.on('mousedown', function (evt) { // Only respond to left clicks if (evt.which !== 1) { return; } self.trigger('toggle', { originalEvent: evt }); }); this.$selection.on('focus', function (evt) { // User focuses on the container }); this.$selection.on('keydown', function (evt) { // If user starts typing an alphanumeric key on the keyboard, open if not opened. if (!container.isOpen() && evt.which >= 48 && evt.which <= 90) { container.open(); } }); this.$selection.on('blur', function (evt) { // User exits the container }); container.on('focus', function (evt) { if (!container.isOpen()) { self.$selection.focus(); } }); container.on('selection:update', function (params) { self.update(params.data); }); }; SingleSelection.prototype.clear = function () { this.$selection.find('.select2-selection__rendered').empty(); }; SingleSelection.prototype.display = function (data, container) { var template = this.options.get('templateSelection'); var escapeMarkup = this.options.get('escapeMarkup'); return escapeMarkup(template(data, container)); }; SingleSelection.prototype.selectionContainer = function () { return $('<span></span>'); }; SingleSelection.prototype.update = function (data) { if (data.length === 0) { this.clear(); return; } var selection = data[0]; var $rendered = this.$selection.find('.select2-selection__rendered'); var formatted = Utils.entityDecode(this.display(selection, $rendered)); $rendered.empty().text(formatted); $rendered.prop('title', selection.title || selection.text); }; return SingleSelection; }); S2.define('select2/selection/multiple',[ 'jquery', './base', '../utils' ], function ($, BaseSelection, Utils) { function MultipleSelection ($element, options) { MultipleSelection.__super__.constructor.apply(this, arguments); } Utils.Extend(MultipleSelection, BaseSelection); MultipleSelection.prototype.render = function () { var $selection = MultipleSelection.__super__.render.call(this); $selection.addClass('select2-selection--multiple'); $selection.html( '<ul class="select2-selection__rendered" aria-live="polite" aria-relevant="additions removals" aria-atomic="true"></ul>' ); return $selection; }; MultipleSelection.prototype.bind = function (container, $container) { var self = this; MultipleSelection.__super__.bind.apply(this, arguments); this.$selection.on('click', function (evt) { self.trigger('toggle', { originalEvent: evt }); }); this.$selection.on( 'click', '.select2-selection__choice__remove', function (evt) { // Ignore the event if it is disabled if (self.options.get('disabled')) { return; } var $remove = $(this); var $selection = $remove.parent(); var data = $selection.data('data'); self.trigger('unselect', { originalEvent: evt, data: data }); } ); this.$selection.on('keydown', function (evt) { // If user starts typing an alphanumeric key on the keyboard, open if not opened. if (!container.isOpen() && evt.which >= 48 && evt.which <= 90) { container.open(); } }); // Focus on the search field when the container is focused instead of the main container. container.on( 'focus', function(){ self.focusOnSearch(); }); }; MultipleSelection.prototype.clear = function () { this.$selection.find('.select2-selection__rendered').empty(); }; MultipleSelection.prototype.display = function (data, container) { var template = this.options.get('templateSelection'); var escapeMarkup = this.options.get('escapeMarkup'); return escapeMarkup(template(data, container)); }; MultipleSelection.prototype.selectionContainer = function () { var $container = $( '<li class="select2-selection__choice">' + '<span class="select2-selection__choice__remove" role="presentation" aria-hidden="true">' + '×' + '</span>' + '</li>' ); return $container; }; /** * Focus on the search field instead of the main multiselect container. */ MultipleSelection.prototype.focusOnSearch = function() { var self = this; if ('undefined' !== typeof self.$search) { // Needs 1 ms delay because of other 1 ms setTimeouts when rendering. setTimeout(function(){ // Prevent the dropdown opening again when focused from this. // This gets reset automatically when focus is triggered. self._keyUpPrevented = true; self.$search.focus(); }, 1); } } MultipleSelection.prototype.update = function (data) { this.clear(); if (data.length === 0) { return; } var $selections = []; for (var d = 0; d < data.length; d++) { var selection = data[d]; var $selection = this.selectionContainer(); var formatted = this.display(selection, $selection); if ('string' === typeof formatted) { formatted = Utils.entityDecode(formatted.trim()); } $selection.text(formatted); $selection.prop('title', selection.title || selection.text); $selection.data('data', selection); $selections.push($selection); } var $rendered = this.$selection.find('.select2-selection__rendered'); Utils.appendMany($rendered, $selections); }; return MultipleSelection; }); S2.define('select2/selection/placeholder',[ '../utils' ], function (Utils) { function Placeholder (decorated, $element, options) { this.placeholder = this.normalizePlaceholder(options.get('placeholder')); decorated.call(this, $element, options); } Placeholder.prototype.normalizePlaceholder = function (_, placeholder) { if (typeof placeholder === 'string') { placeholder = { id: '', text: placeholder }; } return placeholder; }; Placeholder.prototype.createPlaceholder = function (decorated, placeholder) { var $placeholder = this.selectionContainer(); $placeholder.text(Utils.entityDecode(this.display(placeholder))); $placeholder.addClass('select2-selection__placeholder') .removeClass('select2-selection__choice'); return $placeholder; }; Placeholder.prototype.update = function (decorated, data) { var singlePlaceholder = ( data.length == 1 && data[0].id != this.placeholder.id ); var multipleSelections = data.length > 1; if (multipleSelections || singlePlaceholder) { return decorated.call(this, data); } this.clear(); var $placeholder = this.createPlaceholder(this.placeholder); this.$selection.find('.select2-selection__rendered').append($placeholder); }; return Placeholder; }); S2.define('select2/selection/allowClear',[ 'jquery', '../keys' ], function ($, KEYS) { function AllowClear () { } AllowClear.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); if (this.placeholder == null) { if (this.options.get('debug') && window.console && console.error) { console.error( 'Select2: The `allowClear` option should be used in combination ' + 'with the `placeholder` option.' ); } } this.$selection.on('mousedown', '.select2-selection__clear', function (evt) { self._handleClear(evt); }); container.on('keypress', function (evt) { self._handleKeyboardClear(evt, container); }); }; AllowClear.prototype._handleClear = function (_, evt) { // Ignore the event if it is disabled if (this.options.get('disabled')) { return; } var $clear = this.$selection.find('.select2-selection__clear'); // Ignore the event if nothing has been selected if ($clear.length === 0) { return; } evt.stopPropagation(); var data = $clear.data('data'); for (var d = 0; d < data.length; d++) { var unselectData = { data: data[d] }; // Trigger the `unselect` event, so people can prevent it from being // cleared. this.trigger('unselect', unselectData); // If the event was prevented, don't clear it out. if (unselectData.prevented) { return; } } this.$element.val(this.placeholder.id).trigger('change'); this.trigger('toggle', {}); }; AllowClear.prototype._handleKeyboardClear = function (_, evt, container) { if (container.isOpen()) { return; } if (evt.which == KEYS.DELETE || evt.which == KEYS.BACKSPACE) { this._handleClear(evt); } }; AllowClear.prototype.update = function (decorated, data) { decorated.call(this, data); if (this.$selection.find('.select2-selection__placeholder').length > 0 || data.length === 0) { return; } var $remove = $( '<span class="select2-selection__clear">' + '×' + '</span>' ); $remove.data('data', data); this.$selection.find('.select2-selection__rendered').prepend($remove); }; return AllowClear; }); S2.define('select2/selection/search',[ 'jquery', '../utils', '../keys' ], function ($, Utils, KEYS) { function Search (decorated, $element, options) { decorated.call(this, $element, options); } Search.prototype.render = function (decorated) { var $search = $( '<li class="select2-search select2-search--inline">' + '<input class="select2-search__field" type="text" tabindex="-1"' + ' autocomplete="off" autocorrect="off" autocapitalize="none"' + ' spellcheck="false" role="textbox" aria-autocomplete="list" />' + '</li>' ); this.$searchContainer = $search; this.$search = $search.find('input'); var $rendered = decorated.call(this); this._transferTabIndex(); return $rendered; }; Search.prototype.bind = function (decorated, container, $container) { var self = this; var resultsId = container.id + '-results'; decorated.call(this, container, $container); container.on('open', function () { self.$search.attr('aria-owns', resultsId); self.$search.trigger('focus'); }); container.on('close', function () { self.$search.val(''); self.$search.removeAttr('aria-activedescendant'); self.$search.removeAttr('aria-owns'); self.$search.trigger('focus'); }); container.on('enable', function () { self.$search.prop('disabled', false); self._transferTabIndex(); }); container.on('disable', function () { self.$search.prop('disabled', true); }); container.on('focus', function (evt) { self.$search.trigger('focus'); }); container.on('results:focus', function (params) { self.$search.attr('aria-activedescendant', params.data._resultId); }); this.$selection.on('focusin', '.select2-search--inline', function (evt) { self.trigger('focus', evt); }); this.$selection.on('focusout', '.select2-search--inline', function (evt) { self._handleBlur(evt); }); this.$selection.on('keydown', '.select2-search--inline', function (evt) { evt.stopPropagation(); self.trigger('keypress', evt); self._keyUpPrevented = evt.isDefaultPrevented(); var key = evt.which; if (key === KEYS.BACKSPACE && self.$search.val() === '') { var $previousChoice = self.$searchContainer .prev('.select2-selection__choice'); if ($previousChoice.length > 0) { var item = $previousChoice.data('data'); self.searchRemoveChoice(item); evt.preventDefault(); } } else if (evt.which === KEYS.ENTER) { container.open(); evt.preventDefault(); } }); // Try to detect the IE version should the `documentMode` property that // is stored on the document. This is only implemented in IE and is // slightly cleaner than doing a user agent check. // This property is not available in Edge, but Edge also doesn't have // this bug. var msie = document.documentMode; var disableInputEvents = msie && msie <= 11; // Workaround for browsers which do not support the `input` event // This will prevent double-triggering of events for browsers which support // both the `keyup` and `input` events. this.$selection.on( 'input.searchcheck', '.select2-search--inline', function (evt) { // IE will trigger the `input` event when a placeholder is used on a // search box. To get around this issue, we are forced to ignore all // `input` events in IE and keep using `keyup`. if (disableInputEvents) { self.$selection.off('input.search input.searchcheck'); return; } // Unbind the duplicated `keyup` event self.$selection.off('keyup.search'); } ); this.$selection.on( 'keyup.search input.search', '.select2-search--inline', function (evt) { // IE will trigger the `input` event when a placeholder is used on a // search box. To get around this issue, we are forced to ignore all // `input` events in IE and keep using `keyup`. if (disableInputEvents && evt.type === 'input') { self.$selection.off('input.search input.searchcheck'); return; } var key = evt.which; // We can freely ignore events from modifier keys if (key == KEYS.SHIFT || key == KEYS.CTRL || key == KEYS.ALT) { return; } // Tabbing will be handled during the `keydown` phase if (key == KEYS.TAB) { return; } self.handleSearch(evt); } ); }; /** * This method will transfer the tabindex attribute from the rendered * selection to the search box. This allows for the search box to be used as * the primary focus instead of the selection container. * * @private */ Search.prototype._transferTabIndex = function (decorated) { this.$search.attr('tabindex', this.$selection.attr('tabindex')); this.$selection.attr('tabindex', '-1'); }; Search.prototype.createPlaceholder = function (decorated, placeholder) { this.$search.attr('placeholder', placeholder.text); }; Search.prototype.update = function (decorated, data) { var searchHadFocus = this.$search[0] == document.activeElement; this.$search.attr('placeholder', ''); decorated.call(this, data); this.$selection.find('.select2-selection__rendered') .append(this.$searchContainer); this.resizeSearch(); if (searchHadFocus) { this.$search.focus(); } }; Search.prototype.handleSearch = function () { this.resizeSearch(); if (!this._keyUpPrevented) { var input = this.$search.val(); this.trigger('query', { term: input }); } this._keyUpPrevented = false; }; Search.prototype.searchRemoveChoice = function (decorated, item) { this.trigger('unselect', { data: item }); this.$search.val(item.text); this.handleSearch(); }; Search.prototype.resizeSearch = function () { this.$search.css('width', '25px'); var width = ''; if (this.$search.attr('placeholder') !== '') { width = this.$selection.find('.select2-selection__rendered').innerWidth(); } else { var minimumWidth = this.$search.val().length + 1; width = (minimumWidth * 0.75) + 'em'; } this.$search.css('width', width); }; return Search; }); S2.define('select2/selection/eventRelay',[ 'jquery' ], function ($) { function EventRelay () { } EventRelay.prototype.bind = function (decorated, container, $container) { var self = this; var relayEvents = [ 'open', 'opening', 'close', 'closing', 'select', 'selecting', 'unselect', 'unselecting' ]; var preventableEvents = ['opening', 'closing', 'selecting', 'unselecting']; decorated.call(this, container, $container); container.on('*', function (name, params) { // Ignore events that should not be relayed if ($.inArray(name, relayEvents) === -1) { return; } // The parameters should always be an object params = params || {}; // Generate the jQuery event for the Select2 event var evt = $.Event('select2:' + name, { params: params }); self.$element.trigger(evt); // Only handle preventable events if it was one if ($.inArray(name, preventableEvents) === -1) { return; } params.prevented = evt.isDefaultPrevented(); }); }; return EventRelay; }); S2.define('select2/translation',[ 'jquery', 'require' ], function ($, require) { function Translation (dict) { this.dict = dict || {}; } Translation.prototype.all = function () { return this.dict; }; Translation.prototype.get = function (key) { return this.dict[key]; }; Translation.prototype.extend = function (translation) { this.dict = $.extend({}, translation.all(), this.dict); }; // Static functions Translation._cache = {}; Translation.loadPath = function (path) { if (!(path in Translation._cache)) { var translations = require(path); Translation._cache[path] = translations; } return new Translation(Translation._cache[path]); }; return Translation; }); S2.define('select2/diacritics',[ ], function () { var diacritics = { '\u24B6': 'A', '\uFF21': 'A', '\u00C0': 'A', '\u00C1': 'A', '\u00C2': 'A', '\u1EA6': 'A', '\u1EA4': 'A', '\u1EAA': 'A', '\u1EA8': 'A', '\u00C3': 'A', '\u0100': 'A', '\u0102': 'A', '\u1EB0': 'A', '\u1EAE': 'A', '\u1EB4': 'A', '\u1EB2': 'A', '\u0226': 'A', '\u01E0': 'A', '\u00C4': 'A', '\u01DE': 'A', '\u1EA2': 'A', '\u00C5': 'A', '\u01FA': 'A', '\u01CD': 'A', '\u0200': 'A', '\u0202': 'A', '\u1EA0': 'A', '\u1EAC': 'A', '\u1EB6': 'A', '\u1E00': 'A', '\u0104': 'A', '\u023A': 'A', '\u2C6F': 'A', '\uA732': 'AA', '\u00C6': 'AE', '\u01FC': 'AE', '\u01E2': 'AE', '\uA734': 'AO', '\uA736': 'AU', '\uA738': 'AV', '\uA73A': 'AV', '\uA73C': 'AY', '\u24B7': 'B', '\uFF22': 'B', '\u1E02': 'B', '\u1E04': 'B', '\u1E06': 'B', '\u0243': 'B', '\u0182': 'B', '\u0181': 'B', '\u24B8': 'C', '\uFF23': 'C', '\u0106': 'C', '\u0108': 'C', '\u010A': 'C', '\u010C': 'C', '\u00C7': 'C', '\u1E08': 'C', '\u0187': 'C', '\u023B': 'C', '\uA73E': 'C', '\u24B9': 'D', '\uFF24': 'D', '\u1E0A': 'D', '\u010E': 'D', '\u1E0C': 'D', '\u1E10': 'D', '\u1E12': 'D', '\u1E0E': 'D', '\u0110': 'D', '\u018B': 'D', '\u018A': 'D', '\u0189': 'D', '\uA779': 'D', '\u01F1': 'DZ', '\u01C4': 'DZ', '\u01F2': 'Dz', '\u01C5': 'Dz', '\u24BA': 'E', '\uFF25': 'E', '\u00C8': 'E', '\u00C9': 'E', '\u00CA': 'E', '\u1EC0': 'E', '\u1EBE': 'E', '\u1EC4': 'E', '\u1EC2': 'E', '\u1EBC': 'E', '\u0112': 'E', '\u1E14': 'E', '\u1E16': 'E', '\u0114': 'E', '\u0116': 'E', '\u00CB': 'E', '\u1EBA': 'E', '\u011A': 'E', '\u0204': 'E', '\u0206': 'E', '\u1EB8': 'E', '\u1EC6': 'E', '\u0228': 'E', '\u1E1C': 'E', '\u0118': 'E', '\u1E18': 'E', '\u1E1A': 'E', '\u0190': 'E', '\u018E': 'E', '\u24BB': 'F', '\uFF26': 'F', '\u1E1E': 'F', '\u0191': 'F', '\uA77B': 'F', '\u24BC': 'G', '\uFF27': 'G', '\u01F4': 'G', '\u011C': 'G', '\u1E20': 'G', '\u011E': 'G', '\u0120': 'G', '\u01E6': 'G', '\u0122': 'G', '\u01E4': 'G', '\u0193': 'G', '\uA7A0': 'G', '\uA77D': 'G', '\uA77E': 'G', '\u24BD': 'H', '\uFF28': 'H', '\u0124': 'H', '\u1E22': 'H', '\u1E26': 'H', '\u021E': 'H', '\u1E24': 'H', '\u1E28': 'H', '\u1E2A': 'H', '\u0126': 'H', '\u2C67': 'H', '\u2C75': 'H', '\uA78D': 'H', '\u24BE': 'I', '\uFF29': 'I', '\u00CC': 'I', '\u00CD': 'I', '\u00CE': 'I', '\u0128': 'I', '\u012A': 'I', '\u012C': 'I', '\u0130': 'I', '\u00CF': 'I', '\u1E2E': 'I', '\u1EC8': 'I', '\u01CF': 'I', '\u0208': 'I', '\u020A': 'I', '\u1ECA': 'I', '\u012E': 'I', '\u1E2C': 'I', '\u0197': 'I', '\u24BF': 'J', '\uFF2A': 'J', '\u0134': 'J', '\u0248': 'J', '\u24C0': 'K', '\uFF2B': 'K', '\u1E30': 'K', '\u01E8': 'K', '\u1E32': 'K', '\u0136': 'K', '\u1E34': 'K', '\u0198': 'K', '\u2C69': 'K', '\uA740': 'K', '\uA742': 'K', '\uA744': 'K', '\uA7A2': 'K', '\u24C1': 'L', '\uFF2C': 'L', '\u013F': 'L', '\u0139': 'L', '\u013D': 'L', '\u1E36': 'L', '\u1E38': 'L', '\u013B': 'L', '\u1E3C': 'L', '\u1E3A': 'L', '\u0141': 'L', '\u023D': 'L', '\u2C62': 'L', '\u2C60': 'L', '\uA748': 'L', '\uA746': 'L', '\uA780': 'L', '\u01C7': 'LJ', '\u01C8': 'Lj', '\u24C2': 'M', '\uFF2D': 'M', '\u1E3E': 'M', '\u1E40': 'M', '\u1E42': 'M', '\u2C6E': 'M', '\u019C': 'M', '\u24C3': 'N', '\uFF2E': 'N', '\u01F8': 'N', '\u0143': 'N', '\u00D1': 'N', '\u1E44': 'N', '\u0147': 'N', '\u1E46': 'N', '\u0145': 'N', '\u1E4A': 'N', '\u1E48': 'N', '\u0220': 'N', '\u019D': 'N', '\uA790': 'N', '\uA7A4': 'N', '\u01CA': 'NJ', '\u01CB': 'Nj', '\u24C4': 'O', '\uFF2F': 'O', '\u00D2': 'O', '\u00D3': 'O', '\u00D4': 'O', '\u1ED2': 'O', '\u1ED0': 'O', '\u1ED6': 'O', '\u1ED4': 'O', '\u00D5': 'O', '\u1E4C': 'O', '\u022C': 'O', '\u1E4E': 'O', '\u014C': 'O', '\u1E50': 'O', '\u1E52': 'O', '\u014E': 'O', '\u022E': 'O', '\u0230': 'O', '\u00D6': 'O', '\u022A': 'O', '\u1ECE': 'O', '\u0150': 'O', '\u01D1': 'O', '\u020C': 'O', '\u020E': 'O', '\u01A0': 'O', '\u1EDC': 'O', '\u1EDA': 'O', '\u1EE0': 'O', '\u1EDE': 'O', '\u1EE2': 'O', '\u1ECC': 'O', '\u1ED8': 'O', '\u01EA': 'O', '\u01EC': 'O', '\u00D8': 'O', '\u01FE': 'O', '\u0186': 'O', '\u019F': 'O', '\uA74A': 'O', '\uA74C': 'O', '\u01A2': 'OI', '\uA74E': 'OO', '\u0222': 'OU', '\u24C5': 'P', '\uFF30': 'P', '\u1E54': 'P', '\u1E56': 'P', '\u01A4': 'P', '\u2C63': 'P', '\uA750': 'P', '\uA752': 'P', '\uA754': 'P', '\u24C6': 'Q', '\uFF31': 'Q', '\uA756': 'Q', '\uA758': 'Q', '\u024A': 'Q', '\u24C7': 'R', '\uFF32': 'R', '\u0154': 'R', '\u1E58': 'R', '\u0158': 'R', '\u0210': 'R', '\u0212': 'R', '\u1E5A': 'R', '\u1E5C': 'R', '\u0156': 'R', '\u1E5E': 'R', '\u024C': 'R', '\u2C64': 'R', '\uA75A': 'R', '\uA7A6': 'R', '\uA782': 'R', '\u24C8': 'S', '\uFF33': 'S', '\u1E9E': 'S', '\u015A': 'S', '\u1E64': 'S', '\u015C': 'S', '\u1E60': 'S', '\u0160': 'S', '\u1E66': 'S', '\u1E62': 'S', '\u1E68': 'S', '\u0218': 'S', '\u015E': 'S', '\u2C7E': 'S', '\uA7A8': 'S', '\uA784': 'S', '\u24C9': 'T', '\uFF34': 'T', '\u1E6A': 'T', '\u0164': 'T', '\u1E6C': 'T', '\u021A': 'T', '\u0162': 'T', '\u1E70': 'T', '\u1E6E': 'T', '\u0166': 'T', '\u01AC': 'T', '\u01AE': 'T', '\u023E': 'T', '\uA786': 'T', '\uA728': 'TZ', '\u24CA': 'U', '\uFF35': 'U', '\u00D9': 'U', '\u00DA': 'U', '\u00DB': 'U', '\u0168': 'U', '\u1E78': 'U', '\u016A': 'U', '\u1E7A': 'U', '\u016C': 'U', '\u00DC': 'U', '\u01DB': 'U', '\u01D7': 'U', '\u01D5': 'U', '\u01D9': 'U', '\u1EE6': 'U', '\u016E': 'U', '\u0170': 'U', '\u01D3': 'U', '\u0214': 'U', '\u0216': 'U', '\u01AF': 'U', '\u1EEA': 'U', '\u1EE8': 'U', '\u1EEE': 'U', '\u1EEC': 'U', '\u1EF0': 'U', '\u1EE4': 'U', '\u1E72': 'U', '\u0172': 'U', '\u1E76': 'U', '\u1E74': 'U', '\u0244': 'U', '\u24CB': 'V', '\uFF36': 'V', '\u1E7C': 'V', '\u1E7E': 'V', '\u01B2': 'V', '\uA75E': 'V', '\u0245': 'V', '\uA760': 'VY', '\u24CC': 'W', '\uFF37': 'W', '\u1E80': 'W', '\u1E82': 'W', '\u0174': 'W', '\u1E86': 'W', '\u1E84': 'W', '\u1E88': 'W', '\u2C72': 'W', '\u24CD': 'X', '\uFF38': 'X', '\u1E8A': 'X', '\u1E8C': 'X', '\u24CE': 'Y', '\uFF39': 'Y', '\u1EF2': 'Y', '\u00DD': 'Y', '\u0176': 'Y', '\u1EF8': 'Y', '\u0232': 'Y', '\u1E8E': 'Y', '\u0178': 'Y', '\u1EF6': 'Y', '\u1EF4': 'Y', '\u01B3': 'Y', '\u024E': 'Y', '\u1EFE': 'Y', '\u24CF': 'Z', '\uFF3A': 'Z', '\u0179': 'Z', '\u1E90': 'Z', '\u017B': 'Z', '\u017D': 'Z', '\u1E92': 'Z', '\u1E94': 'Z', '\u01B5': 'Z', '\u0224': 'Z', '\u2C7F': 'Z', '\u2C6B': 'Z', '\uA762': 'Z', '\u24D0': 'a', '\uFF41': 'a', '\u1E9A': 'a', '\u00E0': 'a', '\u00E1': 'a', '\u00E2': 'a', '\u1EA7': 'a', '\u1EA5': 'a', '\u1EAB': 'a', '\u1EA9': 'a', '\u00E3': 'a', '\u0101': 'a', '\u0103': 'a', '\u1EB1': 'a', '\u1EAF': 'a', '\u1EB5': 'a', '\u1EB3': 'a', '\u0227': 'a', '\u01E1': 'a', '\u00E4': 'a', '\u01DF': 'a', '\u1EA3': 'a', '\u00E5': 'a', '\u01FB': 'a', '\u01CE': 'a', '\u0201': 'a', '\u0203': 'a', '\u1EA1': 'a', '\u1EAD': 'a', '\u1EB7': 'a', '\u1E01': 'a', '\u0105': 'a', '\u2C65': 'a', '\u0250': 'a', '\uA733': 'aa', '\u00E6': 'ae', '\u01FD': 'ae', '\u01E3': 'ae', '\uA735': 'ao', '\uA737': 'au', '\uA739': 'av', '\uA73B': 'av', '\uA73D': 'ay', '\u24D1': 'b', '\uFF42': 'b', '\u1E03': 'b', '\u1E05': 'b', '\u1E07': 'b', '\u0180': 'b', '\u0183': 'b', '\u0253': 'b', '\u24D2': 'c', '\uFF43': 'c', '\u0107': 'c', '\u0109': 'c', '\u010B': 'c', '\u010D': 'c', '\u00E7': 'c', '\u1E09': 'c', '\u0188': 'c', '\u023C': 'c', '\uA73F': 'c', '\u2184': 'c', '\u24D3': 'd', '\uFF44': 'd', '\u1E0B': 'd', '\u010F': 'd', '\u1E0D': 'd', '\u1E11': 'd', '\u1E13': 'd', '\u1E0F': 'd', '\u0111': 'd', '\u018C': 'd', '\u0256': 'd', '\u0257': 'd', '\uA77A': 'd', '\u01F3': 'dz', '\u01C6': 'dz', '\u24D4': 'e', '\uFF45': 'e', '\u00E8': 'e', '\u00E9': 'e', '\u00EA': 'e', '\u1EC1': 'e', '\u1EBF': 'e', '\u1EC5': 'e', '\u1EC3': 'e', '\u1EBD': 'e', '\u0113': 'e', '\u1E15': 'e', '\u1E17': 'e', '\u0115': 'e', '\u0117': 'e', '\u00EB': 'e', '\u1EBB': 'e', '\u011B': 'e', '\u0205': 'e', '\u0207': 'e', '\u1EB9': 'e', '\u1EC7': 'e', '\u0229': 'e', '\u1E1D': 'e', '\u0119': 'e', '\u1E19': 'e', '\u1E1B': 'e', '\u0247': 'e', '\u025B': 'e', '\u01DD': 'e', '\u24D5': 'f', '\uFF46': 'f', '\u1E1F': 'f', '\u0192': 'f', '\uA77C': 'f', '\u24D6': 'g', '\uFF47': 'g', '\u01F5': 'g', '\u011D': 'g', '\u1E21': 'g', '\u011F': 'g', '\u0121': 'g', '\u01E7': 'g', '\u0123': 'g', '\u01E5': 'g', '\u0260': 'g', '\uA7A1': 'g', '\u1D79': 'g', '\uA77F': 'g', '\u24D7': 'h', '\uFF48': 'h', '\u0125': 'h', '\u1E23': 'h', '\u1E27': 'h', '\u021F': 'h', '\u1E25': 'h', '\u1E29': 'h', '\u1E2B': 'h', '\u1E96': 'h', '\u0127': 'h', '\u2C68': 'h', '\u2C76': 'h', '\u0265': 'h', '\u0195': 'hv', '\u24D8': 'i', '\uFF49': 'i', '\u00EC': 'i', '\u00ED': 'i', '\u00EE': 'i', '\u0129': 'i', '\u012B': 'i', '\u012D': 'i', '\u00EF': 'i', '\u1E2F': 'i', '\u1EC9': 'i', '\u01D0': 'i', '\u0209': 'i', '\u020B': 'i', '\u1ECB': 'i', '\u012F': 'i', '\u1E2D': 'i', '\u0268': 'i', '\u0131': 'i', '\u24D9': 'j', '\uFF4A': 'j', '\u0135': 'j', '\u01F0': 'j', '\u0249': 'j', '\u24DA': 'k', '\uFF4B': 'k', '\u1E31': 'k', '\u01E9': 'k', '\u1E33': 'k', '\u0137': 'k', '\u1E35': 'k', '\u0199': 'k', '\u2C6A': 'k', '\uA741': 'k', '\uA743': 'k', '\uA745': 'k', '\uA7A3': 'k', '\u24DB': 'l', '\uFF4C': 'l', '\u0140': 'l', '\u013A': 'l', '\u013E': 'l', '\u1E37': 'l', '\u1E39': 'l', '\u013C': 'l', '\u1E3D': 'l', '\u1E3B': 'l', '\u017F': 'l', '\u0142': 'l', '\u019A': 'l', '\u026B': 'l', '\u2C61': 'l', '\uA749': 'l', '\uA781': 'l', '\uA747': 'l', '\u01C9': 'lj', '\u24DC': 'm', '\uFF4D': 'm', '\u1E3F': 'm', '\u1E41': 'm', '\u1E43': 'm', '\u0271': 'm', '\u026F': 'm', '\u24DD': 'n', '\uFF4E': 'n', '\u01F9': 'n', '\u0144': 'n', '\u00F1': 'n', '\u1E45': 'n', '\u0148': 'n', '\u1E47': 'n', '\u0146': 'n', '\u1E4B': 'n', '\u1E49': 'n', '\u019E': 'n', '\u0272': 'n', '\u0149': 'n', '\uA791': 'n', '\uA7A5': 'n', '\u01CC': 'nj', '\u24DE': 'o', '\uFF4F': 'o', '\u00F2': 'o', '\u00F3': 'o', '\u00F4': 'o', '\u1ED3': 'o', '\u1ED1': 'o', '\u1ED7': 'o', '\u1ED5': 'o', '\u00F5': 'o', '\u1E4D': 'o', '\u022D': 'o', '\u1E4F': 'o', '\u014D': 'o', '\u1E51': 'o', '\u1E53': 'o', '\u014F': 'o', '\u022F': 'o', '\u0231': 'o', '\u00F6': 'o', '\u022B': 'o', '\u1ECF': 'o', '\u0151': 'o', '\u01D2': 'o', '\u020D': 'o', '\u020F': 'o', '\u01A1': 'o', '\u1EDD': 'o', '\u1EDB': 'o', '\u1EE1': 'o', '\u1EDF': 'o', '\u1EE3': 'o', '\u1ECD': 'o', '\u1ED9': 'o', '\u01EB': 'o', '\u01ED': 'o', '\u00F8': 'o', '\u01FF': 'o', '\u0254': 'o', '\uA74B': 'o', '\uA74D': 'o', '\u0275': 'o', '\u01A3': 'oi', '\u0223': 'ou', '\uA74F': 'oo', '\u24DF': 'p', '\uFF50': 'p', '\u1E55': 'p', '\u1E57': 'p', '\u01A5': 'p', '\u1D7D': 'p', '\uA751': 'p', '\uA753': 'p', '\uA755': 'p', '\u24E0': 'q', '\uFF51': 'q', '\u024B': 'q', '\uA757': 'q', '\uA759': 'q', '\u24E1': 'r', '\uFF52': 'r', '\u0155': 'r', '\u1E59': 'r', '\u0159': 'r', '\u0211': 'r', '\u0213': 'r', '\u1E5B': 'r', '\u1E5D': 'r', '\u0157': 'r', '\u1E5F': 'r', '\u024D': 'r', '\u027D': 'r', '\uA75B': 'r', '\uA7A7': 'r', '\uA783': 'r', '\u24E2': 's', '\uFF53': 's', '\u00DF': 's', '\u015B': 's', '\u1E65': 's', '\u015D': 's', '\u1E61': 's', '\u0161': 's', '\u1E67': 's', '\u1E63': 's', '\u1E69': 's', '\u0219': 's', '\u015F': 's', '\u023F': 's', '\uA7A9': 's', '\uA785': 's', '\u1E9B': 's', '\u24E3': 't', '\uFF54': 't', '\u1E6B': 't', '\u1E97': 't', '\u0165': 't', '\u1E6D': 't', '\u021B': 't', '\u0163': 't', '\u1E71': 't', '\u1E6F': 't', '\u0167': 't', '\u01AD': 't', '\u0288': 't', '\u2C66': 't', '\uA787': 't', '\uA729': 'tz', '\u24E4': 'u', '\uFF55': 'u', '\u00F9': 'u', '\u00FA': 'u', '\u00FB': 'u', '\u0169': 'u', '\u1E79': 'u', '\u016B': 'u', '\u1E7B': 'u', '\u016D': 'u', '\u00FC': 'u', '\u01DC': 'u', '\u01D8': 'u', '\u01D6': 'u', '\u01DA': 'u', '\u1EE7': 'u', '\u016F': 'u', '\u0171': 'u', '\u01D4': 'u', '\u0215': 'u', '\u0217': 'u', '\u01B0': 'u', '\u1EEB': 'u', '\u1EE9': 'u', '\u1EEF': 'u', '\u1EED': 'u', '\u1EF1': 'u', '\u1EE5': 'u', '\u1E73': 'u', '\u0173': 'u', '\u1E77': 'u', '\u1E75': 'u', '\u0289': 'u', '\u24E5': 'v', '\uFF56': 'v', '\u1E7D': 'v', '\u1E7F': 'v', '\u028B': 'v', '\uA75F': 'v', '\u028C': 'v', '\uA761': 'vy', '\u24E6': 'w', '\uFF57': 'w', '\u1E81': 'w', '\u1E83': 'w', '\u0175': 'w', '\u1E87': 'w', '\u1E85': 'w', '\u1E98': 'w', '\u1E89': 'w', '\u2C73': 'w', '\u24E7': 'x', '\uFF58': 'x', '\u1E8B': 'x', '\u1E8D': 'x', '\u24E8': 'y', '\uFF59': 'y', '\u1EF3': 'y', '\u00FD': 'y', '\u0177': 'y', '\u1EF9': 'y', '\u0233': 'y', '\u1E8F': 'y', '\u00FF': 'y', '\u1EF7': 'y', '\u1E99': 'y', '\u1EF5': 'y', '\u01B4': 'y', '\u024F': 'y', '\u1EFF': 'y', '\u24E9': 'z', '\uFF5A': 'z', '\u017A': 'z', '\u1E91': 'z', '\u017C': 'z', '\u017E': 'z', '\u1E93': 'z', '\u1E95': 'z', '\u01B6': 'z', '\u0225': 'z', '\u0240': 'z', '\u2C6C': 'z', '\uA763': 'z', '\u0386': '\u0391', '\u0388': '\u0395', '\u0389': '\u0397', '\u038A': '\u0399', '\u03AA': '\u0399', '\u038C': '\u039F', '\u038E': '\u03A5', '\u03AB': '\u03A5', '\u038F': '\u03A9', '\u03AC': '\u03B1', '\u03AD': '\u03B5', '\u03AE': '\u03B7', '\u03AF': '\u03B9', '\u03CA': '\u03B9', '\u0390': '\u03B9', '\u03CC': '\u03BF', '\u03CD': '\u03C5', '\u03CB': '\u03C5', '\u03B0': '\u03C5', '\u03C9': '\u03C9', '\u03C2': '\u03C3' }; return diacritics; }); S2.define('select2/data/base',[ '../utils' ], function (Utils) { function BaseAdapter ($element, options) { BaseAdapter.__super__.constructor.call(this); } Utils.Extend(BaseAdapter, Utils.Observable); BaseAdapter.prototype.current = function (callback) { throw new Error('The `current` method must be defined in child classes.'); }; BaseAdapter.prototype.query = function (params, callback) { throw new Error('The `query` method must be defined in child classes.'); }; BaseAdapter.prototype.bind = function (container, $container) { // Can be implemented in subclasses }; BaseAdapter.prototype.destroy = function () { // Can be implemented in subclasses }; BaseAdapter.prototype.generateResultId = function (container, data) { var id = ''; if (container != null) { id += container.id } else { id += Utils.generateChars(4); } id += '-result-'; id += Utils.generateChars(4); if (data.id != null) { id += '-' + data.id.toString(); } else { id += '-' + Utils.generateChars(4); } return id; }; return BaseAdapter; }); S2.define('select2/data/select',[ './base', '../utils', 'jquery' ], function (BaseAdapter, Utils, $) { function SelectAdapter ($element, options) { this.$element = $element; this.options = options; SelectAdapter.__super__.constructor.call(this); } Utils.Extend(SelectAdapter, BaseAdapter); SelectAdapter.prototype.current = function (callback) { var data = []; var self = this; this.$element.find(':selected').each(function () { var $option = $(this); var option = self.item($option); data.push(option); }); callback(data); }; SelectAdapter.prototype.select = function (data) { var self = this; data.selected = true; // If data.element is a DOM node, use it instead if ($(data.element).is('option')) { data.element.selected = true; this.$element.trigger('change'); return; } if (this.$element.prop('multiple')) { this.current(function (currentData) { var val = []; data = [data]; data.push.apply(data, currentData); for (var d = 0; d < data.length; d++) { var id = data[d].id; if ($.inArray(id, val) === -1) { val.push(id); } } self.$element.val(val); self.$element.trigger('change'); }); } else { var val = data.id; this.$element.val(val); this.$element.trigger('change'); } }; SelectAdapter.prototype.unselect = function (data) { var self = this; if (!this.$element.prop('multiple')) { return; } data.selected = false; if ($(data.element).is('option')) { data.element.selected = false; this.$element.trigger('change'); return; } this.current(function (currentData) { var val = []; for (var d = 0; d < currentData.length; d++) { var id = currentData[d].id; if (id !== data.id && $.inArray(id, val) === -1) { val.push(id); } } self.$element.val(val); self.$element.trigger('change'); }); }; SelectAdapter.prototype.bind = function (container, $container) { var self = this; this.container = container; container.on('select', function (params) { self.select(params.data); }); container.on('unselect', function (params) { self.unselect(params.data); }); }; SelectAdapter.prototype.destroy = function () { // Remove anything added to child elements this.$element.find('*').each(function () { // Remove any custom data set by Select2 $.removeData(this, 'data'); }); }; SelectAdapter.prototype.query = function (params, callback) { var data = []; var self = this; var $options = this.$element.children(); $options.each(function () { var $option = $(this); if (!$option.is('option') && !$option.is('optgroup')) { return; } var option = self.item($option); var matches = self.matches(params, option); if (matches !== null) { data.push(matches); } }); callback({ results: data }); }; SelectAdapter.prototype.addOptions = function ($options) { Utils.appendMany(this.$element, $options); }; SelectAdapter.prototype.option = function (data) { var option; if (data.children) { option = document.createElement('optgroup'); option.label = data.text; } else { option = document.createElement('option'); if (option.textContent !== undefined) { option.textContent = data.text; } else { option.innerText = data.text; } } if (data.id !== undefined) { option.value = data.id; } if (data.disabled) { option.disabled = true; } if (data.selected) { option.selected = true; } if (data.title) { option.title = data.title; } var $option = $(option); var normalizedData = this._normalizeItem(data); normalizedData.element = option; // Override the option's data with the combined data $.data(option, 'data', normalizedData); return $option; }; SelectAdapter.prototype.item = function ($option) { var data = {}; data = $.data($option[0], 'data'); if (data != null) { return data; } if ($option.is('option')) { data = { id: $option.val(), text: $option.text(), disabled: $option.prop('disabled'), selected: $option.prop('selected'), title: $option.prop('title') }; } else if ($option.is('optgroup')) { data = { text: $option.prop('label'), children: [], title: $option.prop('title') }; var $children = $option.children('option'); var children = []; for (var c = 0; c < $children.length; c++) { var $child = $($children[c]); var child = this.item($child); children.push(child); } data.children = children; } data = this._normalizeItem(data); data.element = $option[0]; $.data($option[0], 'data', data); return data; }; SelectAdapter.prototype._normalizeItem = function (item) { if (!$.isPlainObject(item)) { item = { id: item, text: item }; } item = $.extend({}, { text: '' }, item); var defaults = { selected: false, disabled: false }; if (item.id != null) { item.id = item.id.toString(); } if (item.text != null) { item.text = item.text.toString(); } if (item._resultId == null && item.id) { item._resultId = this.generateResultId(this.container, item); } return $.extend({}, defaults, item); }; SelectAdapter.prototype.matches = function (params, data) { var matcher = this.options.get('matcher'); return matcher(params, data); }; return SelectAdapter; }); S2.define('select2/data/array',[ './select', '../utils', 'jquery' ], function (SelectAdapter, Utils, $) { function ArrayAdapter ($element, options) { var data = options.get('data') || []; ArrayAdapter.__super__.constructor.call(this, $element, options); this.addOptions(this.convertToOptions(data)); } Utils.Extend(ArrayAdapter, SelectAdapter); ArrayAdapter.prototype.select = function (data) { var $option = this.$element.find('option').filter(function (i, elm) { return elm.value == data.id.toString(); }); if ($option.length === 0) { $option = this.option(data); this.addOptions($option); } ArrayAdapter.__super__.select.call(this, data); }; ArrayAdapter.prototype.convertToOptions = function (data) { var self = this; var $existing = this.$element.find('option'); var existingIds = $existing.map(function () { return self.item($(this)).id; }).get(); var $options = []; // Filter out all items except for the one passed in the argument function onlyItem (item) { return function () { return $(this).val() == item.id; }; } for (var d = 0; d < data.length; d++) { var item = this._normalizeItem(data[d]); // Skip items which were pre-loaded, only merge the data if ($.inArray(item.id, existingIds) >= 0) { var $existingOption = $existing.filter(onlyItem(item)); var existingData = this.item($existingOption); var newData = $.extend(true, {}, item, existingData); var $newOption = this.option(newData); $existingOption.replaceWith($newOption); continue; } var $option = this.option(item); if (item.children) { var $children = this.convertToOptions(item.children); Utils.appendMany($option, $children); } $options.push($option); } return $options; }; return ArrayAdapter; }); S2.define('select2/data/ajax',[ './array', '../utils', 'jquery' ], function (ArrayAdapter, Utils, $) { function AjaxAdapter ($element, options) { this.ajaxOptions = this._applyDefaults(options.get('ajax')); if (this.ajaxOptions.processResults != null) { this.processResults = this.ajaxOptions.processResults; } AjaxAdapter.__super__.constructor.call(this, $element, options); } Utils.Extend(AjaxAdapter, ArrayAdapter); AjaxAdapter.prototype._applyDefaults = function (options) { var defaults = { data: function (params) { return $.extend({}, params, { q: params.term }); }, transport: function (params, success, failure) { var $request = $.ajax(params); $request.then(success); $request.fail(failure); return $request; } }; return $.extend({}, defaults, options, true); }; AjaxAdapter.prototype.processResults = function (results) { return results; }; AjaxAdapter.prototype.query = function (params, callback) { var matches = []; var self = this; if (this._request != null) { // JSONP requests cannot always be aborted if ($.isFunction(this._request.abort)) { this._request.abort(); } this._request = null; } var options = $.extend({ type: 'GET' }, this.ajaxOptions); if (typeof options.url === 'function') { options.url = options.url.call(this.$element, params); } if (typeof options.data === 'function') { options.data = options.data.call(this.$element, params); } function request () { var $request = options.transport(options, function (data) { var results = self.processResults(data, params); if (self.options.get('debug') && window.console && console.error) { // Check to make sure that the response included a `results` key. if (!results || !results.results || !$.isArray(results.results)) { console.error( 'Select2: The AJAX results did not return an array in the ' + '`results` key of the response.' ); } } callback(results); self.container.focusOnActiveElement(); }, function () { // Attempt to detect if a request was aborted // Only works if the transport exposes a status property if ($request.status && $request.status === '0') { return; } self.trigger('results:message', { message: 'errorLoading' }); }); self._request = $request; } if (this.ajaxOptions.delay && params.term != null) { if (this._queryTimeout) { window.clearTimeout(this._queryTimeout); } this._queryTimeout = window.setTimeout(request, this.ajaxOptions.delay); } else { request(); } }; return AjaxAdapter; }); S2.define('select2/data/tags',[ 'jquery' ], function ($) { function Tags (decorated, $element, options) { var tags = options.get('tags'); var createTag = options.get('createTag'); if (createTag !== undefined) { this.createTag = createTag; } var insertTag = options.get('insertTag'); if (insertTag !== undefined) { this.insertTag = insertTag; } decorated.call(this, $element, options); if ($.isArray(tags)) { for (var t = 0; t < tags.length; t++) { var tag = tags[t]; var item = this._normalizeItem(tag); var $option = this.option(item); this.$element.append($option); } } } Tags.prototype.query = function (decorated, params, callback) { var self = this; this._removeOldTags(); if (params.term == null || params.page != null) { decorated.call(this, params, callback); return; } function wrapper (obj, child) { var data = obj.results; for (var i = 0; i < data.length; i++) { var option = data[i]; var checkChildren = ( option.children != null && !wrapper({ results: option.children }, true) ); var optionText = (option.text || '').toUpperCase(); var paramsTerm = (params.term || '').toUpperCase(); var checkText = optionText === paramsTerm; if (checkText || checkChildren) { if (child) { return false; } obj.data = data; callback(obj); return; } } if (child) { return true; } var tag = self.createTag(params); if (tag != null) { var $option = self.option(tag); $option.attr('data-select2-tag', true); self.addOptions([$option]); self.insertTag(data, tag); } obj.results = data; callback(obj); } decorated.call(this, params, wrapper); }; Tags.prototype.createTag = function (decorated, params) { var term = $.trim(params.term); if (term === '') { return null; } return { id: term, text: term }; }; Tags.prototype.insertTag = function (_, data, tag) { data.unshift(tag); }; Tags.prototype._removeOldTags = function (_) { var tag = this._lastTag; var $options = this.$element.find('option[data-select2-tag]'); $options.each(function () { if (this.selected) { return; } $(this).remove(); }); }; return Tags; }); S2.define('select2/data/tokenizer',[ 'jquery' ], function ($) { function Tokenizer (decorated, $element, options) { var tokenizer = options.get('tokenizer'); if (tokenizer !== undefined) { this.tokenizer = tokenizer; } decorated.call(this, $element, options); } Tokenizer.prototype.bind = function (decorated, container, $container) { decorated.call(this, container, $container); this.$search = container.dropdown.$search || container.selection.$search || $container.find('.select2-search__field'); }; Tokenizer.prototype.query = function (decorated, params, callback) { var self = this; function createAndSelect (data) { // Normalize the data object so we can use it for checks var item = self._normalizeItem(data); // Check if the data object already exists as a tag // Select it if it doesn't var $existingOptions = self.$element.find('option').filter(function () { return $(this).val() === item.id; }); // If an existing option wasn't found for it, create the option if (!$existingOptions.length) { var $option = self.option(item); $option.attr('data-select2-tag', true); self._removeOldTags(); self.addOptions([$option]); } // Select the item, now that we know there is an option for it select(item); } function select (data) { self.trigger('select', { data: data }); } params.term = params.term || ''; var tokenData = this.tokenizer(params, this.options, createAndSelect); if (tokenData.term !== params.term) { // Replace the search term if we have the search box if (this.$search.length) { this.$search.val(tokenData.term); this.$search.focus(); } params.term = tokenData.term; } decorated.call(this, params, callback); }; Tokenizer.prototype.tokenizer = function (_, params, options, callback) { var separators = options.get('tokenSeparators') || []; var term = params.term; var i = 0; var createTag = this.createTag || function (params) { return { id: params.term, text: params.term }; }; while (i < term.length) { var termChar = term[i]; if ($.inArray(termChar, separators) === -1) { i++; continue; } var part = term.substr(0, i); var partParams = $.extend({}, params, { term: part }); var data = createTag(partParams); if (data == null) { i++; continue; } callback(data); // Reset the term to not include the tokenized portion term = term.substr(i + 1) || ''; i = 0; } return { term: term }; }; return Tokenizer; }); S2.define('select2/data/minimumInputLength',[ ], function () { function MinimumInputLength (decorated, $e, options) { this.minimumInputLength = options.get('minimumInputLength'); decorated.call(this, $e, options); } MinimumInputLength.prototype.query = function (decorated, params, callback) { params.term = params.term || ''; if (params.term.length < this.minimumInputLength) { this.trigger('results:message', { message: 'inputTooShort', args: { minimum: this.minimumInputLength, input: params.term, params: params } }); return; } decorated.call(this, params, callback); }; return MinimumInputLength; }); S2.define('select2/data/maximumInputLength',[ ], function () { function MaximumInputLength (decorated, $e, options) { this.maximumInputLength = options.get('maximumInputLength'); decorated.call(this, $e, options); } MaximumInputLength.prototype.query = function (decorated, params, callback) { params.term = params.term || ''; if (this.maximumInputLength > 0 && params.term.length > this.maximumInputLength) { this.trigger('results:message', { message: 'inputTooLong', args: { maximum: this.maximumInputLength, input: params.term, params: params } }); return; } decorated.call(this, params, callback); }; return MaximumInputLength; }); S2.define('select2/data/maximumSelectionLength',[ ], function (){ function MaximumSelectionLength (decorated, $e, options) { this.maximumSelectionLength = options.get('maximumSelectionLength'); decorated.call(this, $e, options); } MaximumSelectionLength.prototype.query = function (decorated, params, callback) { var self = this; this.current(function (currentData) { var count = currentData != null ? currentData.length : 0; if (self.maximumSelectionLength > 0 && count >= self.maximumSelectionLength) { self.trigger('results:message', { message: 'maximumSelected', args: { maximum: self.maximumSelectionLength } }); return; } decorated.call(self, params, callback); }); }; return MaximumSelectionLength; }); S2.define('select2/dropdown',[ 'jquery', './utils' ], function ($, Utils) { function Dropdown ($element, options) { this.$element = $element; this.options = options; Dropdown.__super__.constructor.call(this); } Utils.Extend(Dropdown, Utils.Observable); Dropdown.prototype.render = function () { var $dropdown = $( '<span class="select2-dropdown">' + '<span class="select2-results"></span>' + '</span>' ); $dropdown.attr('dir', this.options.get('dir')); this.$dropdown = $dropdown; return $dropdown; }; Dropdown.prototype.bind = function () { // Should be implemented in subclasses }; Dropdown.prototype.position = function ($dropdown, $container) { // Should be implmented in subclasses }; Dropdown.prototype.destroy = function () { // Remove the dropdown from the DOM this.$dropdown.remove(); }; return Dropdown; }); S2.define('select2/dropdown/search',[ 'jquery', '../utils' ], function ($, Utils) { function Search () { } Search.prototype.render = function (decorated) { var $rendered = decorated.call(this); var $search = $( '<span class="select2-search select2-search--dropdown">' + '<input class="select2-search__field" type="text" tabindex="-1"' + ' autocomplete="off" autocorrect="off" autocapitalize="none"' + ' spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" />' + '</span>' ); this.$searchContainer = $search; this.$search = $search.find('input'); $rendered.prepend($search); return $rendered; }; Search.prototype.bind = function (decorated, container, $container) { var self = this; var resultsId = container.id + '-results'; decorated.call(this, container, $container); this.$search.on('keydown', function (evt) { self.trigger('keypress', evt); self._keyUpPrevented = evt.isDefaultPrevented(); }); // Workaround for browsers which do not support the `input` event // This will prevent double-triggering of events for browsers which support // both the `keyup` and `input` events. this.$search.on('input', function (evt) { // Unbind the duplicated `keyup` event $(this).off('keyup'); }); this.$search.on('keyup input', function (evt) { self.handleSearch(evt); }); container.on('open', function () { self.$search.attr('tabindex', 0); self.$search.attr('aria-owns', resultsId); self.$search.focus(); window.setTimeout(function () { self.$search.focus(); }, 0); }); container.on('close', function () { self.$search.attr('tabindex', -1); self.$search.removeAttr('aria-activedescendant'); self.$search.removeAttr('aria-owns'); self.$search.val(''); }); container.on('focus', function () { if (!container.isOpen()) { self.$search.focus(); } }); container.on('results:all', function (params) { if (params.query.term == null || params.query.term === '') { var showSearch = self.showSearch(params); if (showSearch) { self.$searchContainer.removeClass('select2-search--hide'); } else { self.$searchContainer.addClass('select2-search--hide'); } } }); container.on('results:focus', function (params) { self.$search.attr('aria-activedescendant', params.data._resultId); }); }; Search.prototype.handleSearch = function (evt) { if (!this._keyUpPrevented) { var input = this.$search.val(); this.trigger('query', { term: input }); } this._keyUpPrevented = false; }; Search.prototype.showSearch = function (_, params) { return true; }; return Search; }); S2.define('select2/dropdown/hidePlaceholder',[ ], function () { function HidePlaceholder (decorated, $element, options, dataAdapter) { this.placeholder = this.normalizePlaceholder(options.get('placeholder')); decorated.call(this, $element, options, dataAdapter); } HidePlaceholder.prototype.append = function (decorated, data) { data.results = this.removePlaceholder(data.results); decorated.call(this, data); }; HidePlaceholder.prototype.normalizePlaceholder = function (_, placeholder) { if (typeof placeholder === 'string') { placeholder = { id: '', text: placeholder }; } return placeholder; }; HidePlaceholder.prototype.removePlaceholder = function (_, data) { var modifiedData = data.slice(0); for (var d = data.length - 1; d >= 0; d--) { var item = data[d]; if (this.placeholder.id === item.id) { modifiedData.splice(d, 1); } } return modifiedData; }; return HidePlaceholder; }); S2.define('select2/dropdown/infiniteScroll',[ 'jquery' ], function ($) { function InfiniteScroll (decorated, $element, options, dataAdapter) { this.lastParams = {}; decorated.call(this, $element, options, dataAdapter); this.$loadingMore = this.createLoadingMore(); this.loading = false; } InfiniteScroll.prototype.append = function (decorated, data) { this.$loadingMore.remove(); this.loading = false; decorated.call(this, data); if (this.showLoadingMore(data)) { this.$results.append(this.$loadingMore); } }; InfiniteScroll.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('query', function (params) { self.lastParams = params; self.loading = true; }); container.on('query:append', function (params) { self.lastParams = params; self.loading = true; }); this.$results.on('scroll', function () { var isLoadMoreVisible = $.contains( document.documentElement, self.$loadingMore[0] ); if (self.loading || !isLoadMoreVisible) { return; } var currentOffset = self.$results.offset().top + self.$results.outerHeight(false); var loadingMoreOffset = self.$loadingMore.offset().top + self.$loadingMore.outerHeight(false); if (currentOffset + 50 >= loadingMoreOffset) { self.loadMore(); } }); }; InfiniteScroll.prototype.loadMore = function () { this.loading = true; var params = $.extend({}, {page: 1}, this.lastParams); params.page++; this.trigger('query:append', params); }; InfiniteScroll.prototype.showLoadingMore = function (_, data) { return data.pagination && data.pagination.more; }; InfiniteScroll.prototype.createLoadingMore = function () { var $option = $( '<li ' + 'class="select2-results__option select2-results__option--load-more"' + 'role="option" aria-disabled="true"></li>' ); var message = this.options.get('translations').get('loadingMore'); $option.html(message(this.lastParams)); return $option; }; return InfiniteScroll; }); S2.define('select2/dropdown/attachBody',[ 'jquery', '../utils' ], function ($, Utils) { function AttachBody (decorated, $element, options) { this.$dropdownParent = options.get('dropdownParent') || $(document.body); decorated.call(this, $element, options); } AttachBody.prototype.bind = function (decorated, container, $container) { var self = this; var setupResultsEvents = false; decorated.call(this, container, $container); container.on('open', function () { self._showDropdown(); self._attachPositioningHandler(container); if (!setupResultsEvents) { setupResultsEvents = true; container.on('results:all', function () { self._positionDropdown(); self._resizeDropdown(); }); container.on('results:append', function () { self._positionDropdown(); self._resizeDropdown(); }); } }); container.on('close', function () { self._hideDropdown(); self._detachPositioningHandler(container); }); this.$dropdownContainer.on('mousedown', function (evt) { evt.stopPropagation(); }); }; AttachBody.prototype.destroy = function (decorated) { decorated.call(this); this.$dropdownContainer.remove(); }; AttachBody.prototype.position = function (decorated, $dropdown, $container) { // Clone all of the container classes $dropdown.attr('class', $container.attr('class')); $dropdown.removeClass('select2'); $dropdown.addClass('select2-container--open'); $dropdown.css({ position: 'absolute', top: -999999 }); this.$container = $container; }; AttachBody.prototype.render = function (decorated) { var $container = $('<span></span>'); var $dropdown = decorated.call(this); $container.append($dropdown); this.$dropdownContainer = $container; return $container; }; AttachBody.prototype._hideDropdown = function (decorated) { this.$dropdownContainer.detach(); }; AttachBody.prototype._attachPositioningHandler = function (decorated, container) { var self = this; var scrollEvent = 'scroll.select2.' + container.id; var resizeEvent = 'resize.select2.' + container.id; var orientationEvent = 'orientationchange.select2.' + container.id; var $watchers = this.$container.parents().filter(Utils.hasScroll); $watchers.each(function () { $(this).data('select2-scroll-position', { x: $(this).scrollLeft(), y: $(this).scrollTop() }); }); $watchers.on(scrollEvent, function (ev) { var position = $(this).data('select2-scroll-position'); $(this).scrollTop(position.y); }); $(window).on(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent, function (e) { self._positionDropdown(); self._resizeDropdown(); }); }; AttachBody.prototype._detachPositioningHandler = function (decorated, container) { var scrollEvent = 'scroll.select2.' + container.id; var resizeEvent = 'resize.select2.' + container.id; var orientationEvent = 'orientationchange.select2.' + container.id; var $watchers = this.$container.parents().filter(Utils.hasScroll); $watchers.off(scrollEvent); $(window).off(scrollEvent + ' ' + resizeEvent + ' ' + orientationEvent); }; AttachBody.prototype._positionDropdown = function () { var $window = $(window); var isCurrentlyAbove = this.$dropdown.hasClass('select2-dropdown--above'); var isCurrentlyBelow = this.$dropdown.hasClass('select2-dropdown--below'); var newDirection = null; var offset = this.$container.offset(); offset.bottom = offset.top + this.$container.outerHeight(false); var container = { height: this.$container.outerHeight(false) }; container.top = offset.top; container.bottom = offset.top + container.height; var dropdown = { height: this.$dropdown.outerHeight(false) }; var viewport = { top: $window.scrollTop(), bottom: $window.scrollTop() + $window.height() }; var enoughRoomAbove = viewport.top < (offset.top - dropdown.height); var enoughRoomBelow = viewport.bottom > (offset.bottom + dropdown.height); var css = { left: offset.left, top: container.bottom }; // Determine what the parent element is to use for calciulating the offset var $offsetParent = this.$dropdownParent; // For statically positoned elements, we need to get the element // that is determining the offset if ($offsetParent.css('position') === 'static') { $offsetParent = $offsetParent.offsetParent(); } var parentOffset = $offsetParent.offset(); css.top -= parentOffset.top; css.left -= parentOffset.left; if (!isCurrentlyAbove && !isCurrentlyBelow) { newDirection = 'below'; } if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { newDirection = 'above'; } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { newDirection = 'below'; } if (newDirection == 'above' || (isCurrentlyAbove && newDirection !== 'below')) { css.top = container.top - parentOffset.top - dropdown.height; } if (newDirection != null) { this.$dropdown .removeClass('select2-dropdown--below select2-dropdown--above') .addClass('select2-dropdown--' + newDirection); this.$container .removeClass('select2-container--below select2-container--above') .addClass('select2-container--' + newDirection); } this.$dropdownContainer.css(css); }; AttachBody.prototype._resizeDropdown = function () { var css = { width: this.$container.outerWidth(false) + 'px' }; if (this.options.get('dropdownAutoWidth')) { css.minWidth = css.width; css.position = 'relative'; css.width = 'auto'; } this.$dropdown.css(css); }; AttachBody.prototype._showDropdown = function (decorated) { this.$dropdownContainer.appendTo(this.$dropdownParent); this._positionDropdown(); this._resizeDropdown(); }; return AttachBody; }); S2.define('select2/dropdown/minimumResultsForSearch',[ ], function () { function countResults (data) { var count = 0; for (var d = 0; d < data.length; d++) { var item = data[d]; if (item.children) { count += countResults(item.children); } else { count++; } } return count; } function MinimumResultsForSearch (decorated, $element, options, dataAdapter) { this.minimumResultsForSearch = options.get('minimumResultsForSearch'); if (this.minimumResultsForSearch < 0) { this.minimumResultsForSearch = Infinity; } decorated.call(this, $element, options, dataAdapter); } MinimumResultsForSearch.prototype.showSearch = function (decorated, params) { if (countResults(params.data.results) < this.minimumResultsForSearch) { return false; } return decorated.call(this, params); }; return MinimumResultsForSearch; }); S2.define('select2/dropdown/selectOnClose',[ ], function () { function SelectOnClose () { } SelectOnClose.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('close', function (params) { self._handleSelectOnClose(params); }); }; SelectOnClose.prototype._handleSelectOnClose = function (_, params) { if (params && params.originalSelect2Event != null) { var event = params.originalSelect2Event; // Don't select an item if the close event was triggered from a select or // unselect event if (event._type === 'select' || event._type === 'unselect') { return; } } var $highlightedResults = this.getHighlightedResults(); // Only select highlighted results if ($highlightedResults.length < 1) { return; } var data = $highlightedResults.data('data'); // Don't re-select already selected resulte if ( (data.element != null && data.element.selected) || (data.element == null && data.selected) ) { return; } this.trigger('select', { data: data }); }; return SelectOnClose; }); S2.define('select2/dropdown/closeOnSelect',[ ], function () { function CloseOnSelect () { } CloseOnSelect.prototype.bind = function (decorated, container, $container) { var self = this; decorated.call(this, container, $container); container.on('select', function (evt) { self._selectTriggered(evt); }); container.on('unselect', function (evt) { self._selectTriggered(evt); }); }; CloseOnSelect.prototype._selectTriggered = function (_, evt) { var originalEvent = evt.originalEvent; // Don't close if the control key is being held if (originalEvent && originalEvent.ctrlKey) { return; } this.trigger('close', { originalEvent: originalEvent, originalSelect2Event: evt }); }; return CloseOnSelect; }); S2.define('select2/i18n/en',[],function () { // English return { errorLoading: function () { return 'The results could not be loaded.'; }, inputTooLong: function (args) { var overChars = args.input.length - args.maximum; var message = 'Please delete ' + overChars + ' character'; if (overChars != 1) { message += 's'; } return message; }, inputTooShort: function (args) { var remainingChars = args.minimum - args.input.length; var message = 'Please enter ' + remainingChars + ' or more characters'; return message; }, loadingMore: function () { return 'Loading more results…'; }, maximumSelected: function (args) { var message = 'You can only select ' + args.maximum + ' item'; if (args.maximum != 1) { message += 's'; } return message; }, noResults: function () { return 'No results found'; }, searching: function () { return 'Searching…'; } }; }); S2.define('select2/defaults',[ 'jquery', 'require', './results', './selection/single', './selection/multiple', './selection/placeholder', './selection/allowClear', './selection/search', './selection/eventRelay', './utils', './translation', './diacritics', './data/select', './data/array', './data/ajax', './data/tags', './data/tokenizer', './data/minimumInputLength', './data/maximumInputLength', './data/maximumSelectionLength', './dropdown', './dropdown/search', './dropdown/hidePlaceholder', './dropdown/infiniteScroll', './dropdown/attachBody', './dropdown/minimumResultsForSearch', './dropdown/selectOnClose', './dropdown/closeOnSelect', './i18n/en' ], function ($, require, ResultsList, SingleSelection, MultipleSelection, Placeholder, AllowClear, SelectionSearch, EventRelay, Utils, Translation, DIACRITICS, SelectData, ArrayData, AjaxData, Tags, Tokenizer, MinimumInputLength, MaximumInputLength, MaximumSelectionLength, Dropdown, DropdownSearch, HidePlaceholder, InfiniteScroll, AttachBody, MinimumResultsForSearch, SelectOnClose, CloseOnSelect, EnglishTranslation) { function Defaults () { this.reset(); } Defaults.prototype.apply = function (options) { options = $.extend(true, {}, this.defaults, options); if (options.dataAdapter == null) { if (options.ajax != null) { options.dataAdapter = AjaxData; } else if (options.data != null) { options.dataAdapter = ArrayData; } else { options.dataAdapter = SelectData; } if (options.minimumInputLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MinimumInputLength ); } if (options.maximumInputLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MaximumInputLength ); } if (options.maximumSelectionLength > 0) { options.dataAdapter = Utils.Decorate( options.dataAdapter, MaximumSelectionLength ); } if (options.tags) { options.dataAdapter = Utils.Decorate(options.dataAdapter, Tags); } if (options.tokenSeparators != null || options.tokenizer != null) { options.dataAdapter = Utils.Decorate( options.dataAdapter, Tokenizer ); } if (options.query != null) { var Query = require(options.amdBase + 'compat/query'); options.dataAdapter = Utils.Decorate( options.dataAdapter, Query ); } if (options.initSelection != null) { var InitSelection = require(options.amdBase + 'compat/initSelection'); options.dataAdapter = Utils.Decorate( options.dataAdapter, InitSelection ); } } if (options.resultsAdapter == null) { options.resultsAdapter = ResultsList; if (options.ajax != null) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, InfiniteScroll ); } if (options.placeholder != null) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, HidePlaceholder ); } if (options.selectOnClose) { options.resultsAdapter = Utils.Decorate( options.resultsAdapter, SelectOnClose ); } } if (options.dropdownAdapter == null) { if (options.multiple) { options.dropdownAdapter = Dropdown; } else { var SearchableDropdown = Utils.Decorate(Dropdown, DropdownSearch); options.dropdownAdapter = SearchableDropdown; } if (options.minimumResultsForSearch !== 0) { options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, MinimumResultsForSearch ); } if (options.closeOnSelect) { options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, CloseOnSelect ); } if ( options.dropdownCssClass != null || options.dropdownCss != null || options.adaptDropdownCssClass != null ) { var DropdownCSS = require(options.amdBase + 'compat/dropdownCss'); options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, DropdownCSS ); } options.dropdownAdapter = Utils.Decorate( options.dropdownAdapter, AttachBody ); } if (options.selectionAdapter == null) { if (options.multiple) { options.selectionAdapter = MultipleSelection; } else { options.selectionAdapter = SingleSelection; } // Add the placeholder mixin if a placeholder was specified if (options.placeholder != null) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, Placeholder ); } if (options.allowClear) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, AllowClear ); } if (options.multiple) { options.selectionAdapter = Utils.Decorate( options.selectionAdapter, SelectionSearch ); } if ( options.containerCssClass != null || options.containerCss != null || options.adaptContainerCssClass != null ) { var ContainerCSS = require(options.amdBase + 'compat/containerCss'); options.selectionAdapter = Utils.Decorate( options.selectionAdapter, ContainerCSS ); } options.selectionAdapter = Utils.Decorate( options.selectionAdapter, EventRelay ); } if (typeof options.language === 'string') { // Check if the language is specified with a region if (options.language.indexOf('-') > 0) { // Extract the region information if it is included var languageParts = options.language.split('-'); var baseLanguage = languageParts[0]; options.language = [options.language, baseLanguage]; } else { options.language = [options.language]; } } if ($.isArray(options.language)) { var languages = new Translation(); options.language.push('en'); var languageNames = options.language; for (var l = 0; l < languageNames.length; l++) { var name = languageNames[l]; var language = {}; try { // Try to load it with the original name language = Translation.loadPath(name); } catch (e) { try { // If we couldn't load it, check if it wasn't the full path name = this.defaults.amdLanguageBase + name; language = Translation.loadPath(name); } catch (ex) { // The translation could not be loaded at all. Sometimes this is // because of a configuration problem, other times this can be // because of how Select2 helps load all possible translation files. if (options.debug && window.console && console.warn) { console.warn( 'Select2: The language file for "' + name + '" could not be ' + 'automatically loaded. A fallback will be used instead.' ); } continue; } } languages.extend(language); } options.translations = languages; } else { var baseTranslation = Translation.loadPath( this.defaults.amdLanguageBase + 'en' ); var customTranslation = new Translation(options.language); customTranslation.extend(baseTranslation); options.translations = customTranslation; } return options; }; Defaults.prototype.reset = function () { function stripDiacritics (text) { // Used 'uni range + named function' from http://jsperf.com/diacritics/18 function match(a) { return DIACRITICS[a] || a; } return text.replace(/[^\u0000-\u007E]/g, match); } function matcher (params, data) { // Always return the object if there is nothing to compare if ($.trim(params.term) === '') { return data; } // Do a recursive check for options with children if (data.children && data.children.length > 0) { // Clone the data object if there are children // This is required as we modify the object to remove any non-matches var match = $.extend(true, {}, data); // Check each child of the option for (var c = data.children.length - 1; c >= 0; c--) { var child = data.children[c]; var matches = matcher(params, child); // If there wasn't a match, remove the object in the array if (matches == null) { match.children.splice(c, 1); } } // If any children matched, return the new object if (match.children.length > 0) { return match; } // If there were no matching children, check just the plain object return matcher(params, match); } var original = stripDiacritics(data.text).toUpperCase(); var term = stripDiacritics(params.term).toUpperCase(); // Check if the text contains the term if (original.indexOf(term) > -1) { return data; } // If it doesn't contain the term, don't return anything return null; } this.defaults = { amdBase: './', amdLanguageBase: './i18n/', closeOnSelect: true, debug: false, dropdownAutoWidth: false, escapeMarkup: Utils.escapeMarkup, language: EnglishTranslation, matcher: matcher, minimumInputLength: 0, maximumInputLength: 0, maximumSelectionLength: 0, minimumResultsForSearch: 0, selectOnClose: false, sorter: function (data) { return data; }, templateResult: function (result) { return result.text; }, templateSelection: function (selection) { return selection.text; }, theme: 'default', width: 'resolve' }; }; Defaults.prototype.set = function (key, value) { var camelKey = $.camelCase(key); var data = {}; data[camelKey] = value; var convertedData = Utils._convertData(data); $.extend(this.defaults, convertedData); }; var defaults = new Defaults(); return defaults; }); S2.define('select2/options',[ 'require', 'jquery', './defaults', './utils' ], function (require, $, Defaults, Utils) { function Options (options, $element) { this.options = options; if ($element != null) { this.fromElement($element); } this.options = Defaults.apply(this.options); if ($element && $element.is('input')) { var InputCompat = require(this.get('amdBase') + 'compat/inputData'); this.options.dataAdapter = Utils.Decorate( this.options.dataAdapter, InputCompat ); } } Options.prototype.fromElement = function ($e) { var excludedData = ['select2']; if (this.options.multiple == null) { this.options.multiple = $e.prop('multiple'); } if (this.options.disabled == null) { this.options.disabled = $e.prop('disabled'); } if (this.options.language == null) { if ($e.prop('lang')) { this.options.language = $e.prop('lang').toLowerCase(); } else if ($e.closest('[lang]').prop('lang')) { this.options.language = $e.closest('[lang]').prop('lang'); } } if (this.options.dir == null) { if ($e.prop('dir')) { this.options.dir = $e.prop('dir'); } else if ($e.closest('[dir]').prop('dir')) { this.options.dir = $e.closest('[dir]').prop('dir'); } else { this.options.dir = 'ltr'; } } $e.prop('disabled', this.options.disabled); $e.prop('multiple', this.options.multiple); if ($e.data('select2Tags')) { if (this.options.debug && window.console && console.warn) { console.warn( 'Select2: The `data-select2-tags` attribute has been changed to ' + 'use the `data-data` and `data-tags="true"` attributes and will be ' + 'removed in future versions of Select2.' ); } $e.data('data', $e.data('select2Tags')); $e.data('tags', true); } if ($e.data('ajaxUrl')) { if (this.options.debug && window.console && console.warn) { console.warn( 'Select2: The `data-ajax-url` attribute has been changed to ' + '`data-ajax--url` and support for the old attribute will be removed' + ' in future versions of Select2.' ); } $e.attr('ajax--url', $e.data('ajaxUrl')); $e.data('ajax--url', $e.data('ajaxUrl')); } var dataset = {}; // Prefer the element's `dataset` attribute if it exists // jQuery 1.x does not correctly handle data attributes with multiple dashes if ($.fn.jquery && $.fn.jquery.substr(0, 2) == '1.' && $e[0].dataset) { dataset = $.extend(true, {}, $e[0].dataset, $e.data()); } else { dataset = $e.data(); } var data = $.extend(true, {}, dataset); data = Utils._convertData(data); for (var key in data) { if ($.inArray(key, excludedData) > -1) { continue; } if ($.isPlainObject(this.options[key])) { $.extend(this.options[key], data[key]); } else { this.options[key] = data[key]; } } return this; }; Options.prototype.get = function (key) { return this.options[key]; }; Options.prototype.set = function (key, val) { this.options[key] = val; }; return Options; }); S2.define('select2/core',[ 'jquery', './options', './utils', './keys' ], function ($, Options, Utils, KEYS) { var Select2 = function ($element, options) { if ($element.data('select2') != null) { $element.data('select2').destroy(); } this.$element = $element; this.id = this._generateId($element); options = options || {}; this.options = new Options(options, $element); Select2.__super__.constructor.call(this); // Set up the tabindex var tabindex = $element.attr('tabindex') || 0; $element.data('old-tabindex', tabindex); $element.attr('tabindex', '-1'); // Set up containers and adapters var DataAdapter = this.options.get('dataAdapter'); this.dataAdapter = new DataAdapter($element, this.options); var $container = this.render(); this._placeContainer($container); var SelectionAdapter = this.options.get('selectionAdapter'); this.selection = new SelectionAdapter($element, this.options); this.$selection = this.selection.render(); this.selection.position(this.$selection, $container); var DropdownAdapter = this.options.get('dropdownAdapter'); this.dropdown = new DropdownAdapter($element, this.options); this.$dropdown = this.dropdown.render(); this.dropdown.position(this.$dropdown, $container); var ResultsAdapter = this.options.get('resultsAdapter'); this.results = new ResultsAdapter($element, this.options, this.dataAdapter); this.$results = this.results.render(); this.results.position(this.$results, this.$dropdown); // Bind events var self = this; // Bind the container to all of the adapters this._bindAdapters(); // Register any DOM event handlers this._registerDomEvents(); // Register any internal event handlers this._registerDataEvents(); this._registerSelectionEvents(); this._registerDropdownEvents(); this._registerResultsEvents(); this._registerEvents(); // Set the initial state this.dataAdapter.current(function (initialData) { self.trigger('selection:update', { data: initialData }); }); // Hide the original select $element.addClass('select2-hidden-accessible'); $element.attr('aria-hidden', 'true'); // Synchronize any monitored attributes this._syncAttributes(); $element.data('select2', this); }; Utils.Extend(Select2, Utils.Observable); Select2.prototype._generateId = function ($element) { var id = ''; if ($element.attr('id') != null) { id = $element.attr('id'); } else if ($element.attr('name') != null) { id = $element.attr('name') + '-' + Utils.generateChars(2); } else { id = Utils.generateChars(4); } id = id.replace(/(:|\.|\[|\]|,)/g, ''); id = 'select2-' + id; return id; }; Select2.prototype._placeContainer = function ($container) { $container.insertAfter(this.$element); var width = this._resolveWidth(this.$element, this.options.get('width')); if (width != null) { $container.css('width', width); } }; Select2.prototype._resolveWidth = function ($element, method) { var WIDTH = /^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i; if (method == 'resolve') { var styleWidth = this._resolveWidth($element, 'style'); if (styleWidth != null) { return styleWidth; } return this._resolveWidth($element, 'element'); } if (method == 'element') { var elementWidth = $element.outerWidth(false); if (elementWidth <= 0) { return 'auto'; } return elementWidth + 'px'; } if (method == 'style') { var style = $element.attr('style'); if (typeof(style) !== 'string') { return null; } var attrs = style.split(';'); for (var i = 0, l = attrs.length; i < l; i = i + 1) { var attr = attrs[i].replace(/\s/g, ''); var matches = attr.match(WIDTH); if (matches !== null && matches.length >= 1) { return matches[1]; } } return null; } return method; }; Select2.prototype._bindAdapters = function () { this.dataAdapter.bind(this, this.$container); this.selection.bind(this, this.$container); this.dropdown.bind(this, this.$container); this.results.bind(this, this.$container); }; Select2.prototype._registerDomEvents = function () { var self = this; this.$element.on('change.select2', function () { self.dataAdapter.current(function (data) { self.trigger('selection:update', { data: data }); }); }); this.$element.on('focus.select2', function (evt) { self.trigger('focus', evt); }); this._syncA = Utils.bind(this._syncAttributes, this); this._syncS = Utils.bind(this._syncSubtree, this); if (this.$element[0].attachEvent) { this.$element[0].attachEvent('onpropertychange', this._syncA); } var observer = window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver ; if (observer != null) { this._observer = new observer(function (mutations) { $.each(mutations, self._syncA); $.each(mutations, self._syncS); }); this._observer.observe(this.$element[0], { attributes: true, childList: true, subtree: false }); } else if (this.$element[0].addEventListener) { this.$element[0].addEventListener( 'DOMAttrModified', self._syncA, false ); this.$element[0].addEventListener( 'DOMNodeInserted', self._syncS, false ); this.$element[0].addEventListener( 'DOMNodeRemoved', self._syncS, false ); } }; Select2.prototype._registerDataEvents = function () { var self = this; this.dataAdapter.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerSelectionEvents = function () { var self = this; var nonRelayEvents = ['toggle', 'focus']; this.selection.on('toggle', function () { self.toggleDropdown(); }); this.selection.on('focus', function (params) { self.focus(params); }); this.selection.on('*', function (name, params) { if ($.inArray(name, nonRelayEvents) !== -1) { return; } self.trigger(name, params); }); }; Select2.prototype._registerDropdownEvents = function () { var self = this; this.dropdown.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerResultsEvents = function () { var self = this; this.results.on('*', function (name, params) { self.trigger(name, params); }); }; Select2.prototype._registerEvents = function () { var self = this; this.on('open', function () { self.$container.addClass('select2-container--open'); }); this.on('close', function () { self.$container.removeClass('select2-container--open'); }); this.on('enable', function () { self.$container.removeClass('select2-container--disabled'); }); this.on('disable', function () { self.$container.addClass('select2-container--disabled'); }); this.on('blur', function () { self.$container.removeClass('select2-container--focus'); }); this.on('query', function (params) { if (!self.isOpen()) { self.trigger('open', {}); } this.dataAdapter.query(params, function (data) { self.trigger('results:all', { data: data, query: params }); }); }); this.on('query:append', function (params) { this.dataAdapter.query(params, function (data) { self.trigger('results:append', { data: data, query: params }); }); }); this.on('open', function(){ // Focus on the active element when opening dropdown. // Needs 1 ms delay because of other 1 ms setTimeouts when rendering. setTimeout(function(){ self.focusOnActiveElement(); }, 1); }); $(document).on('keydown', function (evt) { var key = evt.which; if (self.isOpen()) { if (key === KEYS.ESC || key === KEYS.TAB || (key === KEYS.UP && evt.altKey)) { self.close(); evt.preventDefault(); } else if (key === KEYS.ENTER) { self.trigger('results:select', {}); evt.preventDefault(); } else if ((key === KEYS.SPACE && evt.ctrlKey)) { self.trigger('results:toggle', {}); evt.preventDefault(); } else if (key === KEYS.UP) { self.trigger('results:previous', {}); evt.preventDefault(); } else if (key === KEYS.DOWN) { self.trigger('results:next', {}); evt.preventDefault(); } var $searchField = self.$dropdown.find('.select2-search__field'); if (! $searchField.length) { $searchField = self.$container.find('.select2-search__field'); } // Move the focus to the selected element on keyboard navigation. // Required for screen readers to work properly. if (key === KEYS.DOWN || key === KEYS.UP) { self.focusOnActiveElement(); } else { // Focus on the search if user starts typing. $searchField.focus(); // Focus back to active selection when finished typing. // Small delay so typed character can be read by screen reader. setTimeout(function(){ self.focusOnActiveElement(); }, 1000); } } else if (self.hasFocus()) { if (key === KEYS.ENTER || key === KEYS.SPACE || key === KEYS.DOWN) { self.open(); evt.preventDefault(); } } }); }; Select2.prototype.focusOnActiveElement = function () { // Don't mess with the focus on touchscreens because it causes havoc with on-screen keyboards. if (this.isOpen() && ! Utils.isTouchscreen()) { this.$results.find('li.select2-results__option--highlighted').focus(); } }; Select2.prototype._syncAttributes = function () { this.options.set('disabled', this.$element.prop('disabled')); if (this.options.get('disabled')) { if (this.isOpen()) { this.close(); } this.trigger('disable', {}); } else { this.trigger('enable', {}); } }; Select2.prototype._syncSubtree = function (evt, mutations) { var changed = false; var self = this; // Ignore any mutation events raised for elements that aren't options or // optgroups. This handles the case when the select element is destroyed if ( evt && evt.target && ( evt.target.nodeName !== 'OPTION' && evt.target.nodeName !== 'OPTGROUP' ) ) { return; } if (!mutations) { // If mutation events aren't supported, then we can only assume that the // change affected the selections changed = true; } else if (mutations.addedNodes && mutations.addedNodes.length > 0) { for (var n = 0; n < mutations.addedNodes.length; n++) { var node = mutations.addedNodes[n]; if (node.selected) { changed = true; } } } else if (mutations.removedNodes && mutations.removedNodes.length > 0) { changed = true; } // Only re-pull the data if we think there is a change if (changed) { this.dataAdapter.current(function (currentData) { self.trigger('selection:update', { data: currentData }); }); } }; /** * Override the trigger method to automatically trigger pre-events when * there are events that can be prevented. */ Select2.prototype.trigger = function (name, args) { var actualTrigger = Select2.__super__.trigger; var preTriggerMap = { 'open': 'opening', 'close': 'closing', 'select': 'selecting', 'unselect': 'unselecting' }; if (args === undefined) { args = {}; } if (name in preTriggerMap) { var preTriggerName = preTriggerMap[name]; var preTriggerArgs = { prevented: false, name: name, args: args }; actualTrigger.call(this, preTriggerName, preTriggerArgs); if (preTriggerArgs.prevented) { args.prevented = true; return; } } actualTrigger.call(this, name, args); }; Select2.prototype.toggleDropdown = function () { if (this.options.get('disabled')) { return; } if (this.isOpen()) { this.close(); } else { this.open(); } }; Select2.prototype.open = function () { if (this.isOpen()) { return; } this.trigger('query', {}); }; Select2.prototype.close = function () { if (!this.isOpen()) { return; } this.trigger('close', {}); }; Select2.prototype.isOpen = function () { return this.$container.hasClass('select2-container--open'); }; Select2.prototype.hasFocus = function () { return this.$container.hasClass('select2-container--focus'); }; Select2.prototype.focus = function (data) { // No need to re-trigger focus events if we are already focused if (this.hasFocus()) { return; } this.$container.addClass('select2-container--focus'); this.trigger('focus', {}); }; Select2.prototype.enable = function (args) { if (this.options.get('debug') && window.console && console.warn) { console.warn( 'Select2: The `select2("enable")` method has been deprecated and will' + ' be removed in later Select2 versions. Use $element.prop("disabled")' + ' instead.' ); } if (args == null || args.length === 0) { args = [true]; } var disabled = !args[0]; this.$element.prop('disabled', disabled); }; Select2.prototype.data = function () { if (this.options.get('debug') && arguments.length > 0 && window.console && console.warn) { console.warn( 'Select2: Data can no longer be set using `select2("data")`. You ' + 'should consider setting the value instead using `$element.val()`.' ); } var data = []; this.dataAdapter.current(function (currentData) { data = currentData; }); return data; }; Select2.prototype.val = function (args) { if (this.options.get('debug') && window.console && console.warn) { console.warn( 'Select2: The `select2("val")` method has been deprecated and will be' + ' removed in later Select2 versions. Use $element.val() instead.' ); } if (args == null || args.length === 0) { return this.$element.val(); } var newVal = args[0]; if ($.isArray(newVal)) { newVal = $.map(newVal, function (obj) { return obj.toString(); }); } this.$element.val(newVal).trigger('change'); }; Select2.prototype.destroy = function () { this.$container.remove(); if (this.$element[0].detachEvent) { this.$element[0].detachEvent('onpropertychange', this._syncA); } if (this._observer != null) { this._observer.disconnect(); this._observer = null; } else if (this.$element[0].removeEventListener) { this.$element[0] .removeEventListener('DOMAttrModified', this._syncA, false); this.$element[0] .removeEventListener('DOMNodeInserted', this._syncS, false); this.$element[0] .removeEventListener('DOMNodeRemoved', this._syncS, false); } this._syncA = null; this._syncS = null; this.$element.off('.select2'); this.$element.attr('tabindex', this.$element.data('old-tabindex')); this.$element.removeClass('select2-hidden-accessible'); this.$element.attr('aria-hidden', 'false'); this.$element.removeData('select2'); this.dataAdapter.destroy(); this.selection.destroy(); this.dropdown.destroy(); this.results.destroy(); this.dataAdapter = null; this.selection = null; this.dropdown = null; this.results = null; }; Select2.prototype.render = function () { var $container = $( '<span class="select2 select2-container">' + '<span class="selection"></span>' + '<span class="dropdown-wrapper" aria-hidden="true"></span>' + '</span>' ); $container.attr('dir', this.options.get('dir')); this.$container = $container; this.$container.addClass('select2-container--' + this.options.get('theme')); $container.data('element', this.$element); return $container; }; return Select2; }); S2.define('jquery-mousewheel',[ 'jquery' ], function ($) { // Used to shim jQuery.mousewheel for non-full builds. return $; }); S2.define('jquery.select2',[ 'jquery', 'jquery-mousewheel', './select2/core', './select2/defaults' ], function ($, _, Select2, Defaults) { if ($.fn.selectWoo == null) { // All methods that should return the element var thisMethods = ['open', 'close', 'destroy']; $.fn.selectWoo = function (options) { options = options || {}; if (typeof options === 'object') { this.each(function () { var instanceOptions = $.extend(true, {}, options); var instance = new Select2($(this), instanceOptions); }); return this; } else if (typeof options === 'string') { var ret; var args = Array.prototype.slice.call(arguments, 1); this.each(function () { var instance = $(this).data('select2'); if (instance == null && window.console && console.error) { console.error( 'The select2(\'' + options + '\') method was called on an ' + 'element that is not using Select2.' ); } ret = instance[options].apply(instance, args); }); // Check if we should be returning `this` if ($.inArray(options, thisMethods) > -1) { return this; } return ret; } else { throw new Error('Invalid arguments for Select2: ' + options); } }; } if ($.fn.select2 != null && $.fn.select2.defaults != null) { $.fn.selectWoo.defaults = $.fn.select2.defaults; } if ($.fn.selectWoo.defaults == null) { $.fn.selectWoo.defaults = Defaults; } // Also register selectWoo under select2 if select2 is not already present. $.fn.select2 = $.fn.select2 || $.fn.selectWoo; return Select2; }); // Return the AMD loader configuration so it can be used outside of this file return { define: S2.define, require: S2.require }; }()); // Autoload the jQuery bindings // We know that all of the modules exist above this, so we're safe var select2 = S2.require('jquery.select2'); // Hold the AMD module references on the jQuery function that was just loaded // This allows Select2 to use the internal loader outside of this file, such // as in the language files. jQuery.fn.select2.amd = S2; jQuery.fn.selectWoo.amd = S2; // Return the Select2 instance for anyone who is importing it. return select2; })); custom-controls/typography/index.php 0000644 00000000170 15252526160 0013747 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/typography/selectWoo.css 0000644 00000043226 15252526160 0014616 0 ustar 00 .select2-container { box-sizing: border-box; display: inline-block; margin: 0; position: relative; vertical-align: middle; } .select2-container .select2-selection--single { box-sizing: border-box; cursor: pointer; display: block; height: 28px; user-select: none; -webkit-user-select: none; } .select2-container .select2-selection--single .select2-selection__rendered { display: block; padding-left: 8px; padding-right: 20px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .select2-container .select2-selection--single .select2-selection__clear { position: relative; } .select2-container[dir="rtl"] .select2-selection--single .select2-selection__rendered { padding-right: 8px; padding-left: 20px; } .select2-container .select2-selection--multiple { box-sizing: border-box; cursor: pointer; display: block; min-height: 32px; user-select: none; -webkit-user-select: none; } .select2-container .select2-selection--multiple .select2-selection__rendered { display: inline-block; overflow: hidden; padding-left: 8px; text-overflow: ellipsis; white-space: nowrap; } .select2-container .select2-search--inline { float: left; } .select2-container .select2-search--inline .select2-search__field { box-sizing: border-box; border: none; font-size: 100%; margin-top: 5px; padding: 0; } .select2-container .select2-search--inline .select2-search__field::-webkit-search-cancel-button { -webkit-appearance: none; } .select2-dropdown { background-color: white; border: 1px solid #aaa; border-radius: 4px; box-sizing: border-box; display: block; position: absolute; left: -100000px; width: 100%; z-index: 1051; } .select2-results { display: block; } .select2-results__options { list-style: none; margin: 0; padding: 0; } .select2-results__option { padding: 6px; user-select: none; -webkit-user-select: none; } .select2-results__option[data-selected] { cursor: pointer; } .select2-container--open .select2-dropdown { left: 0; } .select2-container--open .select2-dropdown--above { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-container--open .select2-dropdown--below { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; } .select2-search--dropdown { display: block; padding: 4px; } .select2-search--dropdown .select2-search__field { padding: 4px; width: 100%; box-sizing: border-box; } .select2-search--dropdown .select2-search__field::-webkit-search-cancel-button { -webkit-appearance: none; } .select2-search--dropdown.select2-search--hide { display: none; } .select2-close-mask { border: 0; margin: 0; padding: 0; display: block; position: fixed; left: 0; top: 0; min-height: 100%; min-width: 100%; height: auto; width: auto; opacity: 0; z-index: 99; background-color: #fff; filter: alpha(opacity=0); } .select2-hidden-accessible { border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important; } .select2-container--default .select2-selection--single { background-color: #fff; border: 1px solid #aaa; border-radius: 4px; } .select2-container--default .select2-selection--single .select2-selection__rendered { color: #444; line-height: 28px; } .select2-container--default .select2-selection--single .select2-selection__clear { cursor: pointer; float: right; font-weight: bold; } .select2-container--default .select2-selection--single .select2-selection__placeholder { color: #999; } .select2-container--default .select2-selection--single .select2-selection__arrow { height: 26px; position: absolute; top: 1px; right: 1px; width: 20px; } .select2-container--default .select2-selection--single .select2-selection__arrow b { border-color: #888 transparent transparent transparent; border-style: solid; border-width: 5px 4px 0 4px; height: 0; left: 50%; margin-left: -4px; margin-top: -2px; position: absolute; top: 50%; width: 0; } .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__clear { float: left; } .select2-container--default[dir="rtl"] .select2-selection--single .select2-selection__arrow { left: 1px; right: auto; } .select2-container--default.select2-container--disabled .select2-selection--single { background-color: #eee; cursor: default; } .select2-container--default.select2-container--disabled .select2-selection--single .select2-selection__clear { display: none; } .select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent #888 transparent; border-width: 0 4px 5px 4px; } .select2-container--default .select2-selection--multiple { background-color: white; border: 1px solid #aaa; border-radius: 4px; cursor: text; } .select2-container--default .select2-selection--multiple .select2-selection__rendered { box-sizing: border-box; list-style: none; margin: 0; padding: 0 5px; width: 100%; } .select2-container--default .select2-selection--multiple .select2-selection__rendered li { list-style: none; } .select2-container--default .select2-selection--multiple .select2-selection__placeholder { color: #999; margin-top: 5px; float: left; } .select2-container--default .select2-selection--multiple .select2-selection__clear { cursor: pointer; float: right; font-weight: bold; margin-top: 5px; margin-right: 10px; } .select2-container--default .select2-selection--multiple .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin: 5px 3px 5px 0; padding: 0 5px; } .select2-container--default .select2-selection--multiple .select2-selection__choice__remove { color: #999; cursor: pointer; display: inline-block; font-weight: bold; margin-right: 2px; } .select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover { color: #333; } .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__placeholder, .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-search--inline { float: right; } .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice { margin-left: 5px; margin-right: auto; } .select2-container--default[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } .select2-container--default.select2-container--focus .select2-selection--multiple { border: solid black 1px; outline: 0; } .select2-container--default.select2-container--disabled .select2-selection--multiple { background-color: #eee; cursor: default; } .select2-container--default.select2-container--disabled .select2-selection__choice__remove { display: none; } .select2-container--default.select2-container--open.select2-container--above .select2-selection--single, .select2-container--default.select2-container--open.select2-container--above .select2-selection--multiple { border-top-left-radius: 0; border-top-right-radius: 0; } .select2-container--default.select2-container--open.select2-container--below .select2-selection--single, .select2-container--default.select2-container--open.select2-container--below .select2-selection--multiple { border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-container--default .select2-search--dropdown .select2-search__field { border: 1px solid #aaa; } .select2-container--default .select2-search--inline .select2-search__field { background: transparent; border: none; outline: 0; box-shadow: none; -webkit-appearance: textfield; } .select2-container--default .select2-results > .select2-results__options { max-height: 200px; overflow-y: auto; } .select2-container--default .select2-results__option[role=group] { padding: 0; } .select2-container--default .select2-results__option[aria-disabled=true] { color: #999; } .select2-container--default .select2-results__option[data-selected=true] { background-color: #ddd; } .select2-container--default .select2-results__option .select2-results__option { padding-left: 1em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__group { padding-left: 0; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option { margin-left: -1em; padding-left: 2em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -2em; padding-left: 3em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -3em; padding-left: 4em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -4em; padding-left: 5em; } .select2-container--default .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option .select2-results__option { margin-left: -5em; padding-left: 6em; } .select2-container--default .select2-results__option--highlighted[data-selected] { background-color: #5897fb; color: white; } .select2-container--default .select2-results__group { cursor: default; display: block; padding: 6px; } .select2-container--classic .select2-selection--single { background-color: #f7f7f7; border: 1px solid #aaa; border-radius: 4px; outline: 0; background-image: -webkit-linear-gradient(top, white 50%, #eeeeee 100%); background-image: -o-linear-gradient(top, white 50%, #eeeeee 100%); background-image: linear-gradient(to bottom, white 50%, #eeeeee 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } .select2-container--classic .select2-selection--single:focus { border: 1px solid #5897fb; } .select2-container--classic .select2-selection--single .select2-selection__rendered { color: #444; line-height: 28px; } .select2-container--classic .select2-selection--single .select2-selection__clear { cursor: pointer; float: right; font-weight: bold; margin-right: 10px; } .select2-container--classic .select2-selection--single .select2-selection__placeholder { color: #999; } .select2-container--classic .select2-selection--single .select2-selection__arrow { background-color: #ddd; border: none; border-left: 1px solid #aaa; border-top-right-radius: 4px; border-bottom-right-radius: 4px; height: 26px; position: absolute; top: 1px; right: 1px; width: 20px; background-image: -webkit-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, #cccccc 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, #cccccc 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFCCCCCC', GradientType=0); } .select2-container--classic .select2-selection--single .select2-selection__arrow b { border-color: #888 transparent transparent transparent; border-style: solid; border-width: 5px 4px 0 4px; height: 0; left: 50%; margin-left: -4px; margin-top: -2px; position: absolute; top: 50%; width: 0; } .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__clear { float: left; } .select2-container--classic[dir="rtl"] .select2-selection--single .select2-selection__arrow { border: none; border-right: 1px solid #aaa; border-radius: 0; border-top-left-radius: 4px; border-bottom-left-radius: 4px; left: 1px; right: auto; } .select2-container--classic.select2-container--open .select2-selection--single { border: 1px solid #5897fb; } .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow { background: transparent; border: none; } .select2-container--classic.select2-container--open .select2-selection--single .select2-selection__arrow b { border-color: transparent transparent #888 transparent; border-width: 0 4px 5px 4px; } .select2-container--classic.select2-container--open.select2-container--above .select2-selection--single { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; background-image: -webkit-linear-gradient(top, white 0%, #eeeeee 50%); background-image: -o-linear-gradient(top, white 0%, #eeeeee 50%); background-image: linear-gradient(to bottom, white 0%, #eeeeee 50%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFFFF', endColorstr='#FFEEEEEE', GradientType=0); } .select2-container--classic.select2-container--open.select2-container--below .select2-selection--single { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; background-image: -webkit-linear-gradient(top, #eeeeee 50%, white 100%); background-image: -o-linear-gradient(top, #eeeeee 50%, white 100%); background-image: linear-gradient(to bottom, #eeeeee 50%, white 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFEEEEEE', endColorstr='#FFFFFFFF', GradientType=0); } .select2-container--classic .select2-selection--multiple { background-color: white; border: 1px solid #aaa; border-radius: 4px; cursor: text; outline: 0; } .select2-container--classic .select2-selection--multiple:focus { border: 1px solid #5897fb; } .select2-container--classic .select2-selection--multiple .select2-selection__rendered { list-style: none; margin: 0; padding: 0 5px; } .select2-container--classic .select2-selection--multiple .select2-selection__clear { display: none; } .select2-container--classic .select2-selection--multiple .select2-selection__choice { background-color: #e4e4e4; border: 1px solid #aaa; border-radius: 4px; cursor: default; float: left; margin-right: 5px; margin-top: 5px; padding: 0 5px; } .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove { color: #888; cursor: pointer; display: inline-block; font-weight: bold; margin-right: 2px; } .select2-container--classic .select2-selection--multiple .select2-selection__choice__remove:hover { color: #555; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { float: right; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice { margin-left: 5px; margin-right: auto; } .select2-container--classic[dir="rtl"] .select2-selection--multiple .select2-selection__choice__remove { margin-left: 2px; margin-right: auto; } .select2-container--classic.select2-container--open .select2-selection--multiple { border: 1px solid #5897fb; } .select2-container--classic.select2-container--open.select2-container--above .select2-selection--multiple { border-top: none; border-top-left-radius: 0; border-top-right-radius: 0; } .select2-container--classic.select2-container--open.select2-container--below .select2-selection--multiple { border-bottom: none; border-bottom-left-radius: 0; border-bottom-right-radius: 0; } .select2-container--classic .select2-search--dropdown .select2-search__field { border: 1px solid #aaa; outline: 0; } .select2-container--classic .select2-search--inline .select2-search__field { outline: 0; box-shadow: none; } .select2-container--classic .select2-dropdown { background-color: white; border: 1px solid transparent; } .select2-container--classic .select2-dropdown--above { border-bottom: none; } .select2-container--classic .select2-dropdown--below { border-top: none; } .select2-container--classic .select2-results > .select2-results__options { max-height: 200px; overflow-y: auto; } .select2-container--classic .select2-results__option[role=group] { padding: 0; } .select2-container--classic .select2-results__option[aria-disabled=true] { color: grey; } .select2-container--classic .select2-results__option--highlighted[data-selected] { background-color: #3875d7; color: white; } .select2-container--classic .select2-results__group { cursor: default; display: block; padding: 6px; } .select2-container--classic.select2-container--open .select2-dropdown { border-color: #5897fb; } custom-controls/responsive-background/class-astra-control-responsive-background.php 0000644 00000003456 15252526161 0025162 0 ustar 00 <?php /** * Customizer Control: color. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.4.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Field overrides. */ if ( ! class_exists( 'Astra_Control_Responsive_Background' ) && class_exists( 'WP_Customize_Control' ) ) : /** * Color control (alpha). */ class Astra_Control_Responsive_Background extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive-background'; /** * The responsive type. * * @access public * @var string */ public $responsive = true; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } endif; custom-controls/responsive-background/responsive-background-rtl.css 0000644 00000005674 15252526161 0022075 0 ustar 00 .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-right: 4px; min-height: 30px; } custom-controls/responsive-background/responsive-background.css 0000644 00000012053 15252526161 0021263 0 ustar 00 .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } /** * Color field. */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } /** * BG Media Button. */ .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs .components-button.ast-bg-img-remove { color: #0071a1; border: 1px solid #0071a1; background: #f3f5f6; vertical-align: top; margin: 15px 0; text-decoration: none; font-size: 13px; line-height: 2.15384615; min-height: 30px; padding: 0 10px; } .astra-popover-tabs button.components-button.ast-bg-img-remove:hover, .astra-popover-tabs button.components-button.ast-bg-img-remove:focus, .astra-popover-tabs button.components-button.ast-bg-img-remove:active { box-shadow: none; background: #f1f1f1; border-color: #016087; color: #016087; } /** * Gradient field */ .astra-popover-color .components-circular-option-picker { position: relative; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; min-height: 30px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover, .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active, .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { padding: 0; } custom-controls/responsive-background/responsive-background.scss 0000644 00000013330 15252526161 0021445 0 ustar 00 .customize-control-ast-responsive-background { position: relative; .background-container h4 { font-size: 14px; font-weight: 600; color: rgb(85, 93, 102); } .background-attachment, .background-color, .background-position, .background-repeat, .background-size { h4 { margin-bottom: 5px; margin-top: 10px; } } .background-color { margin-bottom: 12px; } .background-repeat { margin: 15px 0 15px 0; } .background-attachment, .background-size { .buttonset { display: flex; flex-wrap: wrap; .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .switch-label:last-child { margin-right: 0; } .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } } } .ast-bg-img-remove { &.components-button { &.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } &.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } } } .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .more-settings:focus { outline: 0; box-shadow: none; } .arrow-icon { margin-left: 5px; } // Responsive option toggle style. .background-container { display: none; &.active { display: block; } } .wp-picker-container { display: block; .wp-picker-clear { margin-left: 4px; min-height: 30px; } } .customize-control-content { .color-button-wrap { position: absolute; right: 24px; top: -5px; } .ast-responsive-btns { position: absolute; right: 0px; top: -1px; } .astra-color-picker-wrap { margin-top: -14px; } .components-color-picker__saturation-color, .components-color-picker__saturation-white { border-radius: unset; } } .ast-color-btn-clear-wrap { right: 84px; } .ast-color-btn-reset-wrap { right: 65px; } } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper { .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } } .astra-popover-tabs { .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; &:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } } [ID*="-gradient-view"] { padding: 15px; .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; &:hover { box-shadow: unset; } &:active { box-shadow: unset; } &:focus { box-shadow: unset; } } } #tab-panel-0-image-view > div { text-align: center; img { width: 200px; margin-bottom: 18px; } .media-position-setting { text-align: left; } } } .astra-popover-color { .components-circular-option-picker { position: relative; margin-top: 0; .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { width: 50px; } } } [ID*="-color-view"] .components-circular-option-picker { width: auto; } .ast-color-palette { width: auto; padding: 16px 0px 0px 14px; .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } } .components-custom-gradient-picker { margin-top: 0; } .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .components-custom-gradient-picker__type-picker { .components-base-control__label { display: block; } } } .components-custom-gradient-picker { .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } } [ID*="-gradient-view"] { .components-toolbar.components-custom-gradient-picker__toolbar { .components-button.has-icon { border: none; } } } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal { .customize-control-content { .color-button-wrap { right: 30px; } .ast-responsive-btns { right: 7px; } .astra-color-picker-wrap { margin-left: 0px; } .ast-color-btn-reset-wrap { right: 72px; } .ast-color-btn-clear-wrap { right: 91px; } } .customize-control-ast-responsive-background { &.customize-control { margin-top: 28px; &:first-child { margin-top: 28px; } } } } custom-controls/responsive-color/class-astra-control-responsive-color.php 0000644 00000004334 15252526161 0023154 0 ustar 00 <?php /** * Customizer Control: color. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Field overrides. */ if ( ! class_exists( 'Astra_Control_Responsive_Color' ) && class_exists( 'WP_Customize_Control' ) ) : /** * Color control (alpha). */ class Astra_Control_Responsive_Color extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive-color'; /** * The responsive type. * * @access public * @var string */ public $responsive = false; /** * The color with opacity rgba type. * * @access public * @var string */ public $rgba = false; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => $val, 'tablet' => '', 'mobile' => '', ); } $this->json['value'] = $val; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['responsive'] = $this->responsive; $this->json['rgba'] = $this->rgba; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } endif; custom-controls/responsive-color/responsive-color.scss 0000644 00000003454 15252526161 0017451 0 ustar 00 .customize-control-ast-responsive-color { .customize-control-content { .ast-color-picker-alpha { display: none; .astra-color-picker-wrap{ margin-left: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } } &.active { display: block; } } .color-button-wrap { position: absolute; right: 24px; top: -4px } .components-color-picker__saturation-color, .components-color-picker__saturation-white { border-radius: unset; } } .ast-responsive-btns { position: absolute; right: 0px; top: 6px; } } .ast-field-settings-modal { .customize-control-ast-responsive-color { .customize-control-content { .color-button-wrap { right: 30px; top: -3px; } .astra-color-picker-wrap { margin-left: 0px; margin-bottom: 10px; margin-top: 10px; } .customize-control-title { display: block; margin-bottom: 0px; } } .ast-responsive-btns { right: 7px; top: 1px; } &.customize-control { &:first-child { margin-top: 28px; } } .ast-clear-btn-inside-picker { &.components-button { margin: 5px 20px 20px 10px; } } .ast-color-btn-reset-wrap { top: 3.5px; } } } @supports (-moz-appearance:none) { .ast-field-settings-modal { .customize-control-ast-responsive-color { .ast-color-btn-reset-wrap { top: 5.5px; right: 65px; } .customize-control-content { .color-button-wrap { right: 27px; top: -2px; } } } } } custom-controls/assets/js/minified/custom-controls.min.js 0000644 00000660627 15252526161 0017742 0 ustar 00 !function(h){var m=wp.customize;AstTypography={init:function(){AstTypography._initFonts()},_initFonts:function(){h(".customize-control-ast-font-family select").each(function(t){if(void 0!==astra.customizer){var e=astra.customizer.settings.google_fonts,r=h(this).data("name");h(this).html(e),h("select[data-name='"+r+"'] option[value='inherit']").text(h(this).data("inherit"));var n=h(this).data("value");h(this).val(n)}}),h(".customize-control-ast-font-family select").each(AstTypography._initFont),h(".customize-control-ast-font-family select, .customize-control-ast-font-variant select").selectWoo(),h(".customize-control-ast-font-variant select").on("select2:unselecting",function(t){var e=h(this).data("customize-setting-link");(t.params.args.data.id||"")&&(h(this).find('option[value="'+t.params.args.data.id+'"]').removeAttr("selected"),null===h(this).val()&&m(e).set(""))})},_initFont:function(){var t=h(this),e=t.data("customize-setting-link"),r=t.data("connected-control"),n=t.data("connected-variant");void 0!==r&&(m(e).bind(AstTypography._fontSelectChange),AstTypography._setFontWeightOptions.apply(m(e),[!0])),void 0!==n&&(m(e).bind(AstTypography._fontSelectChange),AstTypography._setFontVarianttOptions.apply(m(e),[!0]))},_fontSelectChange:function(){var t=m.control(this.id).container.find("select").data("connected-variant");AstTypography._setFontWeightOptions.apply(this,[!1]),void 0!==t&&AstTypography._setFontVarianttOptions.apply(this,[!1])},_cleanGoogleFonts:function(t){if(!t.includes(","))return t;var e=t.split(","),r=new RegExp("'","gi"),n=e[0].replace(r,"");return void 0!==AstFontFamilies.google[n]&&(t=n),t},_getWeightObject:function(t){var e=["400","600"];return"inherit"==t?e=["100","200","300","400","500","600","700","800","900"]:void 0!==AstFontFamilies.system[t]?e=AstFontFamilies.system[t].weights:void 0!==AstFontFamilies.google[t]?(e=AstFontFamilies.google[t][0],e=Object.keys(e).map(function(t){return e[t]})):void 0!==AstFontFamilies.custom[t]&&(e=AstFontFamilies.custom[t].weights),e},_setFontWeightOptions:function(t){var e=0,r=m.control(this.id).container.find("select"),n=this(),a="",o=r.data("connected-control"),i=(r.data("inherit"),m.control(o).container.find("select")),s=i.data("inherit"),c=t?i.val():"400",l=["400","600"],u="",p=astraTypo;"inherit"==n&&(c=t?i.val():"inherit");n=AstTypography._cleanGoogleFonts(n),l=AstTypography._getWeightObject(n);for(l=h.merge(["inherit"],l),p.inherit=s;e<l.length;e++)a=0===e&&-1===h.inArray(c,l)?(c=l[0],' selected="selected"'):l[e]==c?' selected="selected"':"",l[e].includes("italic")||(u+='<option value="'+l[e]+'"'+a+">"+p[l[e]]+"</option>");i.html(u),t||(m(o).set(""),m(o).set(c))},_setFontVarianttOptions:function(t){var e=0,r=m.control(this.id).container.find("select"),n=this(),a="",o=r.data("connected-variant"),i=(r.data("inherit"),m.control(o).container.find("select")),s=m.control(o).container.find(".ast-font-variant-hidden-value"),c="",l="",u=i.data("inherit"),p=astraTypo,h=s.val().split(",");"Google"==(r.find('option[value="'+r.val()+'"]').closest("optgroup").attr("label")||"")?i.parent().removeClass("ast-hide"):i.parent().addClass("ast-hide");n=AstTypography._cleanGoogleFonts(n);var d=AstTypography._getWeightObject(n);p.inherit=u;for(e=0;e<d.length;e++){for(var f=0;f<h.length;f++)a=d[e]===h[f]?(c=d[e],' selected="selected"'):d[e]==c?' selected="selected"':"";l+='<option value="'+d[e]+'"'+a+">"+p[d[e]]+"</option>"}i.html(l),t||m(o).set("")}},h(function(){AstTypography.init()})}(jQuery),function(r){var n={};function a(t){if(n[t])return n[t].exports;var e=n[t]={i:t,l:!1,exports:{}};return r[t].call(e.exports,e,e.exports,a),e.l=!0,e.exports}a.m=r,a.c=n,a.d=function(t,e,r){a.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},a.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.t=function(e,t){if(1&t&&(e=a(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(a.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)a.d(r,n,function(t){return e[t]}.bind(null,n));return r},a.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return a.d(e,"a",e),e},a.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},a.p="",a(a.s=83)}([function(t,e){!function(){t.exports=this.wp.element}()},function(e,t){function r(t){return e.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(t)}e.exports=r},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,r){t.exports=r(39)()},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function n(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,r){return e&&n(t.prototype,e),r&&n(t,r),t}},function(t,e,r){var n=r(37);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e,r){var n=r(38),a=r(2);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?a(t):e}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},r.apply(this,arguments)}t.exports=r},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(n,t,e){var a=e(19),o=e(23);function r(t,e){return delete n.exports[t],n.exports[t]=e}n.exports={Parser:a,Tokenizer:e(20),ElementType:e(13),DomHandler:o,get FeedHandler(){return r("FeedHandler",e(46))},get Stream(){return r("Stream",e(57))},get WritableStream(){return r("WritableStream",e(26))},get ProxyHandler(){return r("ProxyHandler",e(65))},get DomUtils(){return r("DomUtils",e(25))},get CollectingHandler(){return r("CollectingHandler",e(66))},DefaultHandler:o,get RssHandler(){return r("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new o(e);return new a(r,e).end(t),r.dom},parseFeed:function(t,e){var r=new n.exports.FeedHandler(e);return new a(r,e).end(t),r.dom},createDomStream:function(t,e,r){var n=new o(t,e,r);return new a(n,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;function r(){}r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,n){return t.filter(function(t){return!(0,a.default)(t)}).map(function(t,e){var r=void 0;return"function"!=typeof n||null!==(r=n(t,e))&&!r?(0,o.default)(t,e,n):r})};var a=n(r(41)),o=n(r(18));function n(t){return t&&t.__esModule?t:{default:t}}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return a.default[t.type](t,e,r)};var n,a=(n=r(42))&&n.__esModule?n:{default:n}},function(t,e,r){var n=r(20),a={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:{option:!0},optgroup:{optgroup:!0}},i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(14)(u,r(44).EventEmitter),u.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},u.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in i||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in i&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in c)&&this._foreignContext.pop(),!this._stack.length||t in i&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},u.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},u.prototype.onattribdata=function(t){this._attribvalue+=t},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(t){var e=t.search(l),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},u.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},u.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},u.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;0<t;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(t){this.reset(),this.end(t)},u.prototype.write=function(t){this._tokenizer.write(t)},u.prototype.end=function(t){this._tokenizer.end(t)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,t.exports=u},function(t,e,r){t.exports=gt;var o=r(21),n=r(16),a=r(22),i=r(17),s=0,c=s++,l=s++,u=s++,p=s++,h=s++,d=s++,f=s++,m=s++,g=s++,b=s++,v=s++,y=s++,_=s++,O=s++,k=s++,w=s++,j=s++,E=s++,C=s++,S=s++,x=s++,N=s++,R=s++,A=s++,T=s++,D=s++,z=s++,P=s++,L=s++,q=s++,I=s++,B=s++,M=s++,V=s++,Q=s++,U=s++,F=s++,H=s++,G=s++,Y=s++,J=s++,W=s++,X=s++,Z=s++,K=s++,$=s++,tt=s++,et=s++,rt=s++,nt=s++,at=s++,ot=s++,it=s++,st=s++,ct=s++,lt=0,ut=lt++,pt=lt++,ht=lt++;function dt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function ft(e,r,n){var a=e.toLowerCase();return e===a?function(t){t===a?this._state=r:(this._state=n,this._index--)}:function(t){t===a||t===e?this._state=r:(this._state=n,this._index--)}}function mt(e,r){var n=e.toLowerCase();return function(t){t===n||t===e?this._state=r:(this._state=u,this._index--)}}function gt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=ut,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}gt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ut&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=at,this._sectionStart=this._index)},gt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==ut||dt(t)?this._state=c:"!"===t?(this._state=k,this._sectionStart=this._index+1):"?"===t?(this._state=j,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?u:I,this._sectionStart=this._index)},gt.prototype._stateInTagName=function(t){"/"!==t&&">"!==t&&!dt(t)||(this._emitToken("onopentagname"),this._state=m,this._index--)},gt.prototype._stateBeforeCloseingTagName=function(t){dt(t)||(">"===t?this._state=c:this._special!==ut?"s"===t||"S"===t?this._state=B:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},gt.prototype._stateInCloseingTagName=function(t){">"!==t&&!dt(t)||(this._emitToken("onclosetag"),this._state=f,this._index--)},gt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},gt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=p:dt(t)||(this._state=g,this._sectionStart=this._index)},gt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):dt(t)||(this._state=m,this._index--)},gt.prototype._stateInAttributeName=function(t){"="!==t&&"/"!==t&&">"!==t&&!dt(t)||(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},gt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=v:"/"===t||">"===t?(this._cbs.onattribend(),this._state=m,this._index--):dt(t)||(this._cbs.onattribend(),this._state=g,this._sectionStart=this._index)},gt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=_,this._sectionStart=this._index+1):dt(t)||(this._state=O,this._sectionStart=this._index,this._index--)},gt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},gt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},gt.prototype._stateInAttributeValueNoQuotes=function(t){dt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},gt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?N:"-"===t?E:w},gt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},gt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},gt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=C,this._sectionStart=this._index+1):this._state=w},gt.prototype._stateInComment=function(t){"-"===t&&(this._state=S)},gt.prototype._stateAfterComment1=function(t){this._state="-"===t?x:C},gt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=C)},gt.prototype._stateBeforeCdata1=ft("C",R,w),gt.prototype._stateBeforeCdata2=ft("D",A,w),gt.prototype._stateBeforeCdata3=ft("A",T,w),gt.prototype._stateBeforeCdata4=ft("T",D,w),gt.prototype._stateBeforeCdata5=ft("A",z,w),gt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=P,this._sectionStart=this._index+1):(this._state=w,this._index--)},gt.prototype._stateInCdata=function(t){"]"===t&&(this._state=L)},gt.prototype._stateAfterCdata1=function(t){this._state="]"===t?q:P},gt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=P)},gt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=M:"t"===t||"T"===t?this._state=X:(this._state=u,this._index--)},gt.prototype._stateBeforeSpecialEnd=function(t){this._special!==pt||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=H},gt.prototype._stateBeforeScript1=mt("R",V),gt.prototype._stateBeforeScript2=mt("I",Q),gt.prototype._stateBeforeScript3=mt("P",U),gt.prototype._stateBeforeScript4=mt("T",F),gt.prototype._stateBeforeScript5=function(t){"/"!==t&&">"!==t&&!dt(t)||(this._special=pt),this._state=u,this._index--},gt.prototype._stateAfterScript1=ft("R",G,c),gt.prototype._stateAfterScript2=ft("I",Y,c),gt.prototype._stateAfterScript3=ft("P",J,c),gt.prototype._stateAfterScript4=ft("T",W,c),gt.prototype._stateAfterScript5=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},gt.prototype._stateBeforeStyle1=mt("Y",Z),gt.prototype._stateBeforeStyle2=mt("L",K),gt.prototype._stateBeforeStyle3=mt("E",$),gt.prototype._stateBeforeStyle4=function(t){"/"!==t&&">"!==t&&!dt(t)||(this._special=ht),this._state=u,this._index--},gt.prototype._stateAfterStyle1=ft("Y",et,c),gt.prototype._stateAfterStyle2=ft("L",rt,c),gt.prototype._stateAfterStyle3=ft("E",nt,c),gt.prototype._stateAfterStyle4=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},gt.prototype._stateBeforeEntity=ft("#",ot,it),gt.prototype._stateBeforeNumericEntity=ft("X",ct,st),gt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?i:n;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},gt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(6<e&&(e=6);2<=e;){var r=this._buffer.substr(t,e);if(a.hasOwnProperty(r))return this._emitPartial(a[r]),void(this._sectionStart+=e+1);e--}},gt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||"z"<t)&&(t<"A"||"Z"<t)&&(t<"0"||"9"<t)&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},gt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var n=this._buffer.substring(r,this._index),a=parseInt(n,e);this._emitPartial(o(a)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},gt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||"9"<t)&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},gt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||"f"<t)&&(t<"A"||"F"<t)&&(t<"0"||"9"<t)&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},gt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},gt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},gt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===l?this._stateBeforeTagName(t):this._state===u?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===d?this._stateInCloseingTagName(t):this._state===f?this._stateAfterCloseingTagName(t):this._state===p?this._stateInSelfClosingTag(t):this._state===m?this._stateBeforeAttributeName(t):this._state===g?this._stateInAttributeName(t):this._state===b?this._stateAfterAttributeName(t):this._state===v?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===_?this._stateInAttributeValueSingleQuotes(t):this._state===O?this._stateInAttributeValueNoQuotes(t):this._state===k?this._stateBeforeDeclaration(t):this._state===w?this._stateInDeclaration(t):this._state===j?this._stateInProcessingInstruction(t):this._state===E?this._stateBeforeComment(t):this._state===C?this._stateInComment(t):this._state===S?this._stateAfterComment1(t):this._state===x?this._stateAfterComment2(t):this._state===N?this._stateBeforeCdata1(t):this._state===R?this._stateBeforeCdata2(t):this._state===A?this._stateBeforeCdata3(t):this._state===T?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===z?this._stateBeforeCdata6(t):this._state===P?this._stateInCdata(t):this._state===L?this._stateAfterCdata1(t):this._state===q?this._stateAfterCdata2(t):this._state===I?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===M?this._stateBeforeScript1(t):this._state===V?this._stateBeforeScript2(t):this._state===Q?this._stateBeforeScript3(t):this._state===U?this._stateBeforeScript4(t):this._state===F?this._stateBeforeScript5(t):this._state===H?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===J?this._stateAfterScript4(t):this._state===W?this._stateAfterScript5(t):this._state===X?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===K?this._stateBeforeStyle3(t):this._state===$?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===at?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===it?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},gt.prototype.pause=function(){this._running=!1},gt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},gt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},gt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},gt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===P||this._state===L||this._state===q?this._cbs.oncdata(t):this._state===C||this._state===S||this._state===x?this._cbs.oncomment(t):this._state!==it||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==v&&this._state!==b&&this._state!==g&&this._state!==_&&this._state!==y&&this._state!==O&&this._state!==d&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},gt.prototype.reset=function(){gt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},gt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},gt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},gt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},gt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,r){var n=r(43);t.exports=function(t){if(55296<=t&&t<=57343||1114111<t)return"�";t in n&&(t=n[t]);var e="";return 65535<t&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t),e+String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(t,e,r){var a=r(13),o=/\s+/g,n=r(24),i=r(45);function s(t,e,r){"object"==typeof t?(r=e,e=t,t=null):"function"==typeof e&&(r=e,e=c),this._callback=t,this._options=e||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"==typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(i):Object.create(n),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n).next=t:t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?a.Script:"style"===t?a.Style:a.Tag,name:t,attribs:e,children:[]},n=this._createDomElement(r);this._addDomElement(n),this._tagStack.push(n)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===a.Text)r?e.data=(e.data+t).replace(o," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===a.Text)r?e.data=(e.data+t).replace(o," "):e.data+=t;else{r&&(t=t.replace(o," "));var n=this._createDomElement({data:t,type:a.Text});this._addDomElement(n)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===a.Comment)e.data+=t;else{var r={data:t,type:a.Comment},n=this._createDomElement(r);this._addDomElement(n),this._tagStack.push(n)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:a.Text}],type:a.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:a.Directive});this._addDomElement(r)},t.exports=s},function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return a[this.type]||a.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},a={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach(function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t}})})},function(t,e,r){var n=t.exports;[r(47),r(52),r(53),r(54),r(55),r(56)].forEach(function(e){Object.keys(e).forEach(function(t){n[t]=e[t].bind(n)})})},function(t,e,r){t.exports=s;var a=r(19),o=r(58).Writable,i=r(59).StringDecoder,n=r(27).Buffer;function s(t,e){var r=this._parser=new a(t,e),n=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",function(){r.end(n.end())})}r(14)(s,o),s.prototype._write=function(t,e,r){t instanceof n&&(t=this._decoder.write(t)),this._parser.write(t),r()}},function(t,P,e){"use strict";(function(t){var s=e(62),o=e(63),i=e(64);function r(){return p.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function c(t,e){if(r()<e)throw new RangeError("Invalid typed array length");return p.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=p.prototype:(null===t&&(t=new p(e)),t.length=e),t}function p(t,e,r){if(!(p.TYPED_ARRAY_SUPPORT||this instanceof p))return new p(t,e,r);if("number"!=typeof t)return n(this,t,e,r);if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return a(this,t)}function n(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");return e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n),p.TYPED_ARRAY_SUPPORT?(t=e).__proto__=p.prototype:t=u(t,e),t}(t,e,r,n):"string"==typeof e?function(t,e,r){if("string"==typeof r&&""!==r||(r="utf8"),!p.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|d(e,r),a=(t=c(t,n)).write(e,r);return a!==n&&(t=t.slice(0,a)),t}(t,e,r):function(t,e){if(p.isBuffer(e)){var r=0|h(e.length);return 0===(t=c(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?c(t,0):u(t,e);if("Buffer"===e.type&&i(e.data))return u(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function l(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function a(t,e){if(l(e),t=c(t,e<0?0:0|h(e)),!p.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function u(t,e){var r=e.length<0?0:0|h(e.length);t=c(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function h(t){if(t>=r())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+r().toString(16)+" bytes");return 0|t}function d(t,e){if(p.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return T(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return D(t).length;default:if(n)return T(t).length;e=(""+e).toLowerCase(),n=!0}}function f(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function m(t,e,r,n,a){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):2147483647<r?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(a)return-1;r=t.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof e&&(e=p.from(e,n)),p.isBuffer(e))return 0===e.length?-1:g(t,e,r,n,a);if("number"==typeof e)return e&=255,p.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):g(t,[e],r,n,a);throw new TypeError("val must be string, number or Buffer")}function g(t,e,r,n,a){var o,i=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s/=i=2,c/=2,r/=2}function l(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(a){var u=-1;for(o=r;o<s;o++)if(l(t,o)===l(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*i}else-1!==u&&(o-=o-u),u=-1}else for(s<r+c&&(r=s-c),o=r;0<=o;o--){for(var p=!0,h=0;h<c;h++)if(l(t,o+h)!==l(e,h)){p=!1;break}if(p)return o}return-1}function b(t,e,r,n){r=Number(r)||0;var a=t.length-r;n?(n=Number(n))>a&&(n=a):n=a;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");o/2<n&&(n=o/2);for(var i=0;i<n;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[r+i]=s}return i}function v(t,e,r,n){return z(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function y(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var o,i,s,c,l=t[a],u=null,p=239<l?4:223<l?3:191<l?2:1;if(a+p<=r)switch(p){case 1:l<128&&(u=l);break;case 2:128==(192&(o=t[a+1]))&&127<(c=(31&l)<<6|63&o)&&(u=c);break;case 3:o=t[a+1],i=t[a+2],128==(192&o)&&128==(192&i)&&2047<(c=(15&l)<<12|(63&o)<<6|63&i)&&(c<55296||57343<c)&&(u=c);break;case 4:o=t[a+1],i=t[a+2],s=t[a+3],128==(192&o)&&128==(192&i)&&128==(192&s)&&65535<(c=(15&l)<<18|(63&o)<<12|(63&i)<<6|63&s)&&c<1114112&&(u=c)}null===u?(u=65533,p=1):65535<u&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),a+=p}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);for(var r="",n=0;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}function _(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(127&t[a]);return n}function O(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(t[a]);return n}function k(t,e,r){var n,a=t.length;(!e||e<0)&&(e=0),(!r||r<0||a<r)&&(r=a);for(var o="",i=e;i<r;++i)o+=(n=t[i])<16?"0"+n.toString(16):n.toString(16);return o}function w(t,e,r){for(var n=t.slice(e,r),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}function j(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(r<t+e)throw new RangeError("Trying to access beyond buffer length")}function E(t,e,r,n,a,o){if(!p.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(a<e||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function C(t,e,r,n){e<0&&(e=65535+e+1);for(var a=0,o=Math.min(t.length-r,2);a<o;++a)t[r+a]=(e&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function S(t,e,r,n){e<0&&(e=4294967295+e+1);for(var a=0,o=Math.min(t.length-r,4);a<o;++a)t[r+a]=e>>>8*(n?a:3-a)&255}function x(t,e,r,n){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function N(t,e,r,n,a){return a||x(t,0,r,4),o.write(t,e,r,n,23,4),r+4}function R(t,e,r,n,a){return a||x(t,0,r,8),o.write(t,e,r,n,52,8),r+8}P.Buffer=p,P.SlowBuffer=function(t){return+t!=t&&(t=0),p.alloc(+t)},P.INSPECT_MAX_BYTES=50,p.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),P.kMaxLength=r(),p.poolSize=8192,p._augment=function(t){return t.__proto__=p.prototype,t},p.from=function(t,e,r){return n(null,t,e,r)},p.TYPED_ARRAY_SUPPORT&&(p.prototype.__proto__=Uint8Array.prototype,p.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&p[Symbol.species]===p&&Object.defineProperty(p,Symbol.species,{value:null,configurable:!0})),p.alloc=function(t,e,r){return a=e,o=r,l(n=t),n<=0?c(null,n):void 0!==a?"string"==typeof o?c(null,n).fill(a,o):c(null,n).fill(a):c(null,n);var n,a,o},p.allocUnsafe=function(t){return a(null,t)},p.allocUnsafeSlow=function(t){return a(null,t)},p.isBuffer=function(t){return!(null==t||!t._isBuffer)},p.compare=function(t,e){if(!p.isBuffer(t)||!p.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,a=0,o=Math.min(r,n);a<o;++a)if(t[a]!==e[a]){r=t[a],n=e[a];break}return r<n?-1:n<r?1:0},p.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},p.concat=function(t,e){if(!i(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return p.alloc(0);var r;if(void 0===e)for(r=e=0;r<t.length;++r)e+=t[r].length;var n=p.allocUnsafe(e),a=0;for(r=0;r<t.length;++r){var o=t[r];if(!p.isBuffer(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,a),a+=o.length}return n},p.byteLength=d,p.prototype._isBuffer=!0,p.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)f(this,e,e+1);return this},p.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)f(this,e,e+3),f(this,e+1,e+2);return this},p.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)f(this,e,e+7),f(this,e+1,e+6),f(this,e+2,e+5),f(this,e+3,e+4);return this},p.prototype.toString=function(){var t=0|this.length;return 0==t?"":0===arguments.length?y(this,0,t):function(t,e,r){var n,a,o,i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t=t||"utf8";;)switch(t){case"hex":return k(this,e,r);case"utf8":case"utf-8":return y(this,e,r);case"ascii":return _(this,e,r);case"latin1":case"binary":return O(this,e,r);case"base64":return n=this,o=r,0===(a=e)&&o===n.length?s.fromByteArray(n):s.fromByteArray(n.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return w(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}.apply(this,arguments)},p.prototype.equals=function(t){if(!p.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===p.compare(this,t)},p.prototype.inspect=function(){var t="",e=P.INSPECT_MAX_BYTES;return 0<this.length&&(t=this.toString("hex",0,e).match(/.{2}/g).join(" "),this.length>e&&(t+=" ... ")),"<Buffer "+t+">"},p.prototype.compare=function(t,e,r,n,a){if(!p.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),e<0||r>t.length||n<0||a>this.length)throw new RangeError("out of range index");if(a<=n&&r<=e)return 0;if(a<=n)return-1;if(r<=e)return 1;if(this===t)return 0;for(var o=(a>>>=0)-(n>>>=0),i=(r>>>=0)-(e>>>=0),s=Math.min(o,i),c=this.slice(n,a),l=t.slice(e,r),u=0;u<s;++u)if(c[u]!==l[u]){o=c[u],i=l[u];break}return o<i?-1:i<o?1:0},p.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},p.prototype.indexOf=function(t,e,r){return m(this,t,e,r,!0)},p.prototype.lastIndexOf=function(t,e,r){return m(this,t,e,r,!1)},p.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var a,o,i,s,c,l,u,p,h,d=this.length-e;if((void 0===r||d<r)&&(r=d),0<t.length&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n=n||"utf8";for(var f=!1;;)switch(n){case"hex":return b(this,t,e,r);case"utf8":case"utf-8":return p=e,h=r,z(T(t,(u=this).length-p),u,p,h);case"ascii":return v(this,t,e,r);case"latin1":case"binary":return v(this,t,e,r);case"base64":return s=this,c=e,l=r,z(D(t),s,c,l);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return o=e,i=r,z(function(t,e){for(var r,n,a,o=[],i=0;i<t.length&&!((e-=2)<0);++i)n=(r=t.charCodeAt(i))>>8,a=r%256,o.push(a),o.push(n);return o}(t,(a=this).length-o),a,o,i);default:if(f)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),f=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},p.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):n<t&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):n<e&&(e=n),e<t&&(e=t),p.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=p.prototype;else{var a=e-t;r=new p(a,void 0);for(var o=0;o<a;++o)r[o]=this[o+t]}return r},p.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n},p.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t+--e],a=1;0<e&&(a*=256);)n+=this[t+--e]*a;return n},p.prototype.readUInt8=function(t,e){return e||j(t,1,this.length),this[t]},p.prototype.readUInt16LE=function(t,e){return e||j(t,2,this.length),this[t]|this[t+1]<<8},p.prototype.readUInt16BE=function(t,e){return e||j(t,2,this.length),this[t]<<8|this[t+1]},p.prototype.readUInt32LE=function(t,e){return e||j(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},p.prototype.readUInt32BE=function(t,e){return e||j(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},p.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*e)),n},p.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||j(t,e,this.length);for(var n=e,a=1,o=this[t+--n];0<n&&(a*=256);)o+=this[t+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*e)),o},p.prototype.readInt8=function(t,e){return e||j(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},p.prototype.readInt16LE=function(t,e){e||j(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt16BE=function(t,e){e||j(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt32LE=function(t,e){return e||j(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},p.prototype.readInt32BE=function(t,e){return e||j(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},p.prototype.readFloatLE=function(t,e){return e||j(t,4,this.length),o.read(this,t,!0,23,4)},p.prototype.readFloatBE=function(t,e){return e||j(t,4,this.length),o.read(this,t,!1,23,4)},p.prototype.readDoubleLE=function(t,e){return e||j(t,8,this.length),o.read(this,t,!0,52,8)},p.prototype.readDoubleBE=function(t,e){return e||j(t,8,this.length),o.read(this,t,!1,52,8)},p.prototype.writeUIntLE=function(t,e,r,n){t=+t,e|=0,r|=0,n||E(this,t,e,r,Math.pow(2,8*r)-1,0);var a=1,o=0;for(this[e]=255&t;++o<r&&(a*=256);)this[e+o]=t/a&255;return e+r},p.prototype.writeUIntBE=function(t,e,r,n){t=+t,e|=0,r|=0,n||E(this,t,e,r,Math.pow(2,8*r)-1,0);var a=r-1,o=1;for(this[e+a]=255&t;0<=--a&&(o*=256);)this[e+a]=t/o&255;return e+r},p.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,255,0),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},p.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},p.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},p.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):S(this,t,e,!0),e+4},p.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},p.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);E(this,t,e,r,a-1,-a)}var o=0,i=1,s=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},p.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);E(this,t,e,r,a-1,-a)}var o=r-1,i=1,s=0;for(this[e+o]=255&t;0<=--o&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},p.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,1,127,-128),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},p.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):C(this,t,e,!0),e+2},p.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):C(this,t,e,!1),e+2},p.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):S(this,t,e,!0),e+4},p.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||E(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):S(this,t,e,!1),e+4},p.prototype.writeFloatLE=function(t,e,r){return N(this,t,e,!0,r)},p.prototype.writeFloatBE=function(t,e,r){return N(this,t,e,!1,r)},p.prototype.writeDoubleLE=function(t,e,r){return R(this,t,e,!0,r)},p.prototype.writeDoubleBE=function(t,e,r){return R(this,t,e,!1,r)},p.prototype.copy=function(t,e,r,n){if(r=r||0,n||0===n||(n=this.length),e>=t.length&&(e=t.length),e=e||0,0<n&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var a,o=n-r;if(this===t&&r<e&&e<n)for(a=o-1;0<=a;--a)t[a+e]=this[a+r];else if(o<1e3||!p.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},p.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var a=t.charCodeAt(0);a<256&&(t=a)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!p.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,"number"==typeof(t=t||0))for(o=e;o<r;++o)this[o]=t;else{var i=p.isBuffer(t)?t:T(new p(t,n).toString()),s=i.length;for(o=0;o<r-e;++o)this[o+e]=i[o%s]}return this};var A=/[^+\/0-9A-Za-z-_]/g;function T(t,e){var r;e=e||1/0;for(var n=t.length,a=null,o=[],i=0;i<n;++i){if(55295<(r=t.charCodeAt(i))&&r<57344){if(!a){if(56319<r){-1<(e-=3)&&o.push(239,191,189);continue}if(i+1===n){-1<(e-=3)&&o.push(239,191,189);continue}a=r;continue}if(r<56320){-1<(e-=3)&&o.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&-1<(e-=3)&&o.push(239,191,189);if(a=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function D(t){return s.toByteArray(function(t){if((t=((e=t).trim?e.trim():e.replace(/^\s+|\s+$/g,"")).replace(A,"")).length<2)return"";for(var e;t.length%4!=0;)t+="=";return t}(t))}function z(t,e,r,n){for(var a=0;a<n&&!(a+r>=e.length||a>=t.length);++a)e[a+r]=t[a];return a}}).call(this,e(61))},function(t,e){!function(){t.exports=this.React}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){var r=n({},(0,a.default)(t),{key:e});return"string"==typeof r.style||r.style instanceof String?r.style=(0,o.default)(r.style):delete r.style,r};var a=i(r(69)),o=i(r(72));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return a.hasOwnProperty(t)||(a[t]=n.test(t)),a[t]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,a={}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){var n=r(31);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var n=r(15);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var a=r(18);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(a).default}});var o=r(12);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(o).default}});var i=s(r(76));function s(t){return t&&t.__esModule?t:{default:t}}e.default=i.default},function(t,e,r){var n=r(77),a=r(78),o=r(32),i=r(79);t.exports=function(t){return n(t)||a(t)||o(t)||i()}},function(t,e){!function(){t.exports=this.wp.mediaUtils}()},function(t,e,r){var n=r(80),a=r(81),o=r(32),i=r(82);t.exports=function(t,e){return n(t)||a(t,e)||o(t,e)||i()}},function(r,t){function n(t,e){return r.exports=n=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},n(t,e)}r.exports=n},function(e,t){function r(t){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?e.exports=r=function(t){return typeof t}:e.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}e.exports=r},function(t,e,r){"use strict";var s=r(40);function n(){}function a(){}a.resetWarningCache=n,t.exports=function(){function t(t,e,r,n,a,o){if(o!==s){var i=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw i.name="Invariant Violation",i}}function e(){return t}var r={array:t.isRequired=t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:a,resetWarningCache:n};return r.PropTypes=r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(12),o=l(r(67)),i=l(r(68)),s=l(r(74)),c=l(r(75));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.default=(u(n={},a.ElementType.Text,o.default),u(n,a.ElementType.Tag,i.default),u(n,a.ElementType.Style,s.default),u(n,a.ElementType.Directive,c.default),u(n,a.ElementType.Comment,c.default),u(n,a.ElementType.Script,c.default),u(n,a.ElementType.CDATA,c.default),u(n,a.ElementType.Doctype,c.default),n)},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t,e,r){"use strict";var n,a="object"==typeof Reflect?Reflect:null,u=a&&"function"==typeof a.apply?a.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var o=Number.isNaN||function(t){return t!=t};function i(){i.init.call(this)}((t.exports=i).EventEmitter=i).prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var s=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function p(t){return void 0===t._maxListeners?i.defaultMaxListeners:t._maxListeners}function c(t,e,r,n){var a,o,i,s;if(l(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),i=o[e]),void 0===i)i=o[e]=r,++t._eventsCount;else if("function"==typeof i?i=o[e]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),0<(a=p(t))&&i.length>a&&!i.warned){i.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=i.length,s=c,console&&console.warn&&console.warn(s)}return t}function h(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},a=function(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}.bind(n);return a.listener=r,n.wrapFn=a}function d(t,e,r){var n=t._events;if(void 0===n)return[];var a=n[e];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(a):m(a,a.length)}function f(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function m(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return s},set:function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");s=t}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||o(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},i.prototype.getMaxListeners=function(){return p(this)},i.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){var o;if(0<e.length&&(o=e[0]),o instanceof Error)throw o;var i=new Error("Unhandled error."+(o?" ("+o.message+")":""));throw i.context=o,i}var s=a[t];if(void 0===s)return!1;if("function"==typeof s)u(s,this,e);else{var c=s.length,l=m(s,c);for(r=0;r<c;++r)u(l[r],this,e)}return!0},i.prototype.on=i.prototype.addListener=function(t,e){return c(this,t,e,!1)},i.prototype.prependListener=function(t,e){return c(this,t,e,!0)},i.prototype.once=function(t,e){return l(e),this.on(t,h(this,t,e)),this},i.prototype.prependOnceListener=function(t,e){return l(e),this.prependListener(t,h(this,t,e)),this},i.prototype.off=i.prototype.removeListener=function(t,e){var r,n,a,o,i;if(l(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(a=-1,o=r.length-1;0<=o;o--)if(r[o]===e||r[o].listener===e){i=r[o].listener,a=o;break}if(a<0)return this;0===a?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,a),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,i||e)}return this},i.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var a,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(a=o[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;0<=n;n--)this.removeListener(t,e[n]);return this},i.prototype.listeners=function(t){return d(this,t,!0)},i.prototype.rawListeners=function(t){return d(this,t,!1)},i.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):f.call(t,e)},i.prototype.listenerCount=f,i.prototype.eventNames=function(){return 0<this._eventsCount?n(this._events):[]}},function(t,e,r){var n=r(24),a=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach(function(t){var e=o[t];Object.defineProperty(a,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t}})})},function(t,e,r){var a=r(23),n=r(25);function o(t,e){this.init(t,e)}function i(t,e){return n.getElementsByTagName(t,e,!0)}function s(t,e){return n.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,r){return n.getText(n.getElementsByTagName(t,e,r,1)).trim()}function l(t,e,r,n,a){var o=c(r,n,a);o&&(t[e]=o)}r(14)(o,a),o.prototype.init=a;function u(t){return"rss"===t||"feed"===t||"rdf:RDF"===t}o.prototype.onend=function(){var t,e,r={},n=s(u,this.dom);n&&("feed"===n.name?(e=n.children,r.type="atom",l(r,"id","id",e),l(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),l(r,"description","subtitle",e),(t=c("updated",e))&&(r.updated=new Date(t)),l(r,"author","email",e,!0),r.items=i("entry",e).map(function(t){var e,r={};return l(r,"id","id",t=t.children),l(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=c("summary",t)||c("content",t))&&(r.description=e),(e=c("updated",t))&&(r.pubDate=new Date(e)),r})):(e=s("channel",n.children).children,r.type=n.name.substr(0,3),r.id="",l(r,"title","title",e),l(r,"link","link",e),l(r,"description","description",e),(t=c("lastBuildDate",e))&&(r.updated=new Date(t)),l(r,"author","managingEditor",e,!0),r.items=i("item",n.children).map(function(t){var e,r={};return l(r,"id","guid",t=t.children),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t),(e=c("pubDate",t))&&(r.pubDate=new Date(e)),r}))),this.dom=r,a.prototype._handleCallback.call(this,n?null:Error("couldn't find root of feed"))},t.exports=o},function(t,e,r){var n=r(13),a=r(48),o=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map(function(t){return a(t,e)}).join(""):""},getOuterHTML:a,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):o(e)||e.type===n.CDATA?t(e.children):e.type===n.Text?e.data:""}}},function(t,e,r){var c=r(13),l=r(49),u={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},p=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",n=0;n<t.length;n++){var a=t[n];"root"===a.type?r+=p(a.children,e):c.isTag(a)?r+=h(a,e):a.type===c.Directive?r+="<"+a.data+">":a.type===c.Comment?r+="\x3c!--"+a.data+"--\x3e":a.type===c.CDATA?r+="<![CDATA["+a.children[0].data+"]]>":r+=(i=e,s=void 0,s=(o=a).data||"",!i.decodeEntities||o.parent&&o.parent.name in u||(s=l.encodeXML(s)),s)}var o,i,s;return r};function h(t,e){"svg"===t.name&&(e={decodeEntities:e.decodeEntities,xmlMode:!0});var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var a in t)n&&(n+=" "),n+=a,(null!==(r=t[a])&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?l.encodeXML(r):r)+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=p(t.children,e)),a[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}},function(t,e,r){var n=r(50),a=r(51);e.decode=function(t,e){return(!e||e<=0?a.XML:a.HTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?a.XML:a.HTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?n.XML:n.HTML)(t)},e.encodeXML=n.XML,e.encodeHTML4=e.encodeHTML5=e.encodeHTML=n.HTML,e.decodeXML=e.decodeXMLStrict=a.XML,e.decodeHTML4=e.decodeHTML5=e.decodeHTML=a.HTML,e.decodeHTML4Strict=e.decodeHTML5Strict=e.decodeHTMLStrict=a.HTMLStrict,e.escape=n.escape},function(t,e,r){var n=s(r(17)),a=c(n);e.XML=d(n,a);var o=s(r(16)),i=c(o);function s(r){return Object.keys(r).sort().reduce(function(t,e){return t[r[e]]="&"+e+";",t},{})}function c(t){var e=[],r=[];return Object.keys(t).forEach(function(t){1===t.length?e.push("\\"+t):r.push(t)}),r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.HTML=d(o,i);var l=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}function h(t){return"&#x"+(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function d(e,r){function n(t){return e[t]}return function(t){return t.replace(r,n).replace(u,h).replace(l,p)}}var f=c(n);e.escape=function(t){return t.replace(f,p).replace(u,h).replace(l,p)}},function(t,e,r){var s=r(16),c=r(22),n=r(17),a=r(21),o=l(n),i=l(s);function l(t){var e=Object.keys(t).join("|"),r=h(t),n=new RegExp("&(?:"+(e+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(t){return String(t).replace(n,r)}}var u=function(){for(var t=Object.keys(c).sort(p),e=Object.keys(s).sort(p),r=0,n=0;r<e.length;r++)t[n]===e[r]?(e[r]+=";?",n++):e[r]+=";";var a=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),o=h(s);function i(t){return";"!==t.substr(-1)&&(t+=";"),o(t)}return function(t){return String(t).replace(a,i)}}();function p(t,e){return t<e?1:-1}function h(e){return function(t){return"#"===t.charAt(1)?"X"===t.charAt(2)||"x"===t.charAt(2)?a(parseInt(t.substr(3),16)):a(parseInt(t.substr(2),10)):e[t.slice(1,-1)]}}t.exports={XML:o,HTML:u,HTMLStrict:i}},function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var a=e.parent=t.parent;if(a){var o=a.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(1!==(e.parent=t).children.push(e)){var r=t.children[t.children.length-2];(r.next=e).prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,((e.prev=t).next=e).parent=r,n){if(n.prev=e,r){var a=r.children;a.splice(a.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,(e.next=t).prev=e}},function(t,e,r){var i=r(13).isTag;function c(t,e,r,n){for(var a,o=[],i=0,s=e.length;i<s&&!(t(e[i])&&(o.push(e[i]),--n<=0))&&(a=e[i].children,!(r&&a&&0<a.length&&(a=c(t,a,r,n),o=o.concat(a),(n-=a.length)<=0)));i++);return o}t.exports={filter:function(t,e,r,n){return Array.isArray(e)||(e=[e]),"number"==typeof n&&isFinite(n)||(n=1/0),c(t,e,!1!==r,n)},find:c,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){for(var n=null,a=0,o=r.length;a<o&&!n;a++)i(r[a])&&(e(r[a])?n=r[a]:0<r[a].children.length&&(n=t(e,r[a].children)));return n},existsOne:function t(e,r){for(var n=0,a=r.length;n<a;n++)if(i(r[n])&&(e(r[n])||0<r[n].children.length&&t(e,r[n].children)))return!0;return!1},findAll:function t(e,r){for(var n=[],a=0,o=r.length;a<o;a++)i(r[a])&&(e(r[a])&&n.push(r[a]),0<r[a].children.length&&(n=n.concat(t(e,r[a].children))));return n}}},function(t,e,r){var n=r(13),a=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r))if("tag_name"===r){if(!a(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(a(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1;return!0};var o={tag_name:function(e){return"function"==typeof e?function(t){return a(t)&&e(t.name)}:"*"===e?a:function(t){return a(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!a(t)&&e(t.data)}:function(t){return!a(t)&&t.data===e}}};function i(e,r){return"function"==typeof r?function(t){return t.attribs&&r(t.attribs[e])}:function(t){return t.attribs&&t.attribs[e]===r}}function s(e,r){return function(t){return e(t)||r(t)}}e.getElements=function(r,t,e,n){var a=Object.keys(r).map(function(t){var e=r[t];return t in o?o[t](e):i(t,e)});return 0===a.length?[]:this.filter(a.reduce(s),t,e,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(i("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(o.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(o.tag_type(t),e,r,n)}},function(t,e){e.removeSubsets=function(t){for(var e,r,n,a=t.length;-1<--a;){for(e=r=t[a],n=!(t[a]=null);r;){if(-1<t.indexOf(r)){n=!1,t.splice(a,1);break}r=r.parent}n&&(t[a]=e)}return t};var a=e.compareDocumentPosition=function(t,e){var r,n,a,o,i,s,c=[],l=[];if(t===e)return 0;for(r=t;r;)c.unshift(r),r=r.parent;for(r=e;r;)l.unshift(r),r=r.parent;for(s=0;c[s]===l[s];)s++;return 0===s?1:(a=(n=c[s-1]).children,o=c[s],i=l[s],a.indexOf(o)>a.indexOf(i)?n===e?20:4:n===t?10:2)};e.uniqueSort=function(t){var e,r,n=t.length;for(t=t.slice();-1<--n;)e=t[n],-1<(r=t.indexOf(e))&&r<n&&t.splice(n,1);return t.sort(function(t,e){var r=a(t,e);return 2&r?-1:4&r?1:0}),t}},function(t,e,r){t.exports=a;var n=r(26);function a(t){n.call(this,new o(this),t)}function o(t){this.scope=t}r(14)(a,n),a.prototype.readable=!0;var i=r(12).EVENTS;Object.keys(i).forEach(function(r){if(0===i[r])o.prototype["on"+r]=function(){this.scope.emit(r)};else if(1===i[r])o.prototype["on"+r]=function(t){this.scope.emit(r,t)};else{if(2!==i[r])throw Error("wrong number of arguments!");o.prototype["on"+r]=function(t,e){this.scope.emit(r,t,e)}}})},function(t,e){},function(t,e,r){"use strict";var n=r(60).Buffer,a=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===a||!a(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=l,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=p,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function i(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(1<t.lastNeed&&1<e.length){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(2<t.lastNeed&&2<e.length&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2!=0)return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1);var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(55296<=n&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function u(t,e){var r=(t.length-e)%3;return 0==r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1==r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}(e.StringDecoder=o).prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var a=i(e[n]);return 0<=a?(0<a&&(t.lastNeed=a-1),a):--n<r||-2===a?0:0<=(a=i(e[n]))?(0<a&&(t.lastNeed=a-2),a):--n<r||-2===a?0:0<=(a=i(e[n]))?(0<a&&(2===a?a=0:t.lastNeed=a-3),a):0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){var n=r(27),a=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return a(t,e,r)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=i),o(a,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=a(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";e.byteLength=function(t){var e=p(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=p(t),a=n[0],o=n[1],i=new u(3*(a+o)/4-o),s=0,c=0<o?a-4:a;for(r=0;r<c;r+=4)e=l[t.charCodeAt(r)]<<18|l[t.charCodeAt(r+1)]<<12|l[t.charCodeAt(r+2)]<<6|l[t.charCodeAt(r+3)],i[s++]=e>>16&255,i[s++]=e>>8&255,i[s++]=255&e;return 2===o&&(e=l[t.charCodeAt(r)]<<2|l[t.charCodeAt(r+1)]>>4,i[s++]=255&e),1===o&&(e=l[t.charCodeAt(r)]<<10|l[t.charCodeAt(r+1)]<<4|l[t.charCodeAt(r+2)]>>2,i[s++]=e>>8&255,i[s++]=255&e),i},e.fromByteArray=function(t){for(var e,r=t.length,n=r%3,a=[],o=0,i=r-n;o<i;o+=16383)a.push(c(t,o,i<o+16383?i:o+16383));return 1==n?(e=t[r-1],a.push(s[e>>2]+s[e<<4&63]+"==")):2==n&&(e=(t[r-2]<<8)+t[r-1],a.push(s[e>>10]+s[e>>4&63]+s[e<<2&63]+"=")),a.join("")};for(var s=[],l=[],u="undefined"!=typeof Uint8Array?Uint8Array:Array,n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,o=n.length;a<o;++a)s[a]=n[a],l[n.charCodeAt(a)]=a;function p(t){var e=t.length;if(0<e%4)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function c(t,e,r){for(var n,a,o=[],i=e;i<r;i+=3)n=(t[i]<<16&16711680)+(t[i+1]<<8&65280)+(255&t[i+2]),o.push(s[(a=n)>>18&63]+s[a>>12&63]+s[a>>6&63]+s[63&a]);return o.join("")}l["-".charCodeAt(0)]=62,l["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,a){var o,i,s=8*a-n-1,c=(1<<s)-1,l=c>>1,u=-7,p=r?a-1:0,h=r?-1:1,d=t[e+p];for(p+=h,o=d&(1<<-u)-1,d>>=-u,u+=s;0<u;o=256*o+t[e+p],p+=h,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=n;0<u;i=256*i+t[e+p],p+=h,u-=8);if(0===o)o=1-l;else{if(o===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),o-=l}return(d?-1:1)*i*Math.pow(2,o-n)},e.write=function(t,e,r,n,a,o){var i,s,c,l=8*o-a-1,u=(1<<l)-1,p=u>>1,h=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,f=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=u):(i=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-i))<1&&(i--,c*=2),2<=(e+=1<=i+p?h/c:h*Math.pow(2,1-p))*c&&(i++,c/=2),u<=i+p?(s=0,i=u):1<=i+p?(s=(e*c-1)*Math.pow(2,a),i+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,a),i=0));8<=a;t[r+d]=255&s,d+=f,s/=256,a-=8);for(i=i<<a|s,l+=a;0<l;t[r+d]=255&i,d+=f,i/=256,l-=8);t[r+d-f]|=128*m}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach(function(r){if(0===a[r])n.prototype[r="on"+r]=function(){this._cbs[r]&&this._cbs[r]()};else if(1===a[r])n.prototype[r="on"+r]=function(t){this._cbs[r]&&this._cbs[r](t)};else{if(2!==a[r])throw Error("wrong number of arguments");n.prototype[r="on"+r]=function(t,e){this._cbs[r]&&this._cbs[r](t,e)}}})},function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach(function(r){if(0===a[r])n.prototype[r="on"+r]=function(){this.events.push([r]),this._cbs[r]&&this._cbs[r]()};else if(1===a[r])n.prototype[r="on"+r]=function(t){this.events.push([r,t]),this._cbs[r]&&this._cbs[r](t)};else{if(2!==a[r])throw Error("wrong number of arguments");n.prototype[r="on"+r]=function(t,e){this.events.push([r,t,e]),this._cbs[r]&&this._cbs[r](t,e)}}}),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var n=t.name;if(!(0,u.default)(n))return null;var a=(0,c.default)(t.attribs,e),o=null;return-1===l.default.indexOf(n)&&(o=(0,s.default)(t.children,r)),i.default.createElement(n,a,o)};var i=n(r(28)),s=n(r(15)),c=n(r(29)),l=n(r(73)),u=n(r(30));function n(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(i){return Object.keys(i).filter(function(t){return(0,n.default)(t)}).reduce(function(t,e){var r,n,a=e.toLowerCase(),o=c.default[a]||a;return t[o]=(r=o,n=i[e],0<=s.default.map(function(t){return t.toLowerCase()}).indexOf(r.toLowerCase())&&(n=r),n),t},{})};var s=a(r(70)),c=a(r(71)),n=a(r(30));function a(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.default=function(){var t=0<arguments.length&&void 0!==arguments[0]?arguments[0]:"";return""===t?{}:t.split(";").reduce(function(t,e){var r=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")}(e.split(/^([^:]+):/).filter(function(t,e){return 0<e}).map(function(t){return t.trim().toLowerCase()}),2),n=r[0],a=r[1];return void 0===a||(t[n=n.replace(/^-ms-/,"ms-").replace(/-(.)/g,function(t,e){return e.toUpperCase()})]=a),t},{})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=void 0;0<t.children.length&&(r=t.children[0].data);var n=(0,o.default)(t.attribs,e);return a.default.createElement("style",n,r)};var a=n(r(28)),o=n(r(29));function n(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{},r=e.decodeEntities,n=void 0===r||r,a=e.transform,o=e.preprocessNodes,i=(void 0===o?function(t){return t}:o)(s.default.parseDOM(t,{decodeEntities:n}));return(0,c.default)(i,a)};var s=n(r(12)),c=n(r(15));function n(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(31);t.exports=function(t){if(Array.isArray(t))return n(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,r){"use strict";r.r(e),wp.customize.astraControl=wp.customize.Control.extend({initialize:function(t,e){var r=e||{};r.params=r.params||{},r.params.type||(r.params.type="ast-core"),r.params.content||(r.params.content=jQuery("<li></li>"),r.params.content.attr("id","customize-control-"+t.replace(/]/g,"").replace(/\[/g,"-")),r.params.content.attr("class","customize-control customize-control-"+r.params.type)),this.propertyElements=[],wp.customize.Control.prototype.initialize.call(this,t,r)},ready:function(){wp.customize.Control.prototype.ready.call(this),this.deferred.embedded.done()},embed:function(){var e=this,t=e.section();t&&wp.customize.section(t,function(t){t.expanded()||wp.customize.settings.autofocus.control===e.id?e.actuallyEmbed():t.expanded.bind(function(t){t&&e.actuallyEmbed()})})},actuallyEmbed:function(){"resolved"!==this.deferred.embedded.state()&&(this.renderContent(),this.deferred.embedded.resolve())},focus:function(t){this.actuallyEmbed(),wp.customize.Control.prototype.focus.call(this,t)}});var b=r(0),n=r(5),o=r.n(n),a=r(6),i=r.n(a),s=r(7),c=r.n(s),l=r(8),u=r.n(l),p=r(1),h=r.n(p),d=r(4),f=r.n(d);var m=function(t){c()(r,t);var e=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(r);function r(){return o()(this,r),e.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.caption&&(t=Object(b.createElement)("span",{className:"customize-control-caption"},this.props.control.params.caption)),this.props.control.params.label&&(e=Object(b.createElement)("span",{className:"customize-control-title wp-ui-text-highlight"},this.props.control.params.label)),this.props.control.params.description&&(r=Object(b.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(b.createElement)(b.Fragment,null,t,Object(b.createElement)("div",{className:"ast-heading-wrapper wp-ui-highlight"},Object(b.createElement)("label",{className:"customizer-text"},e,r)))}}]),r}(b.Component);m.propTypes={control:f.a.object.isRequired};var g=m,v=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(g,{control:this}),this.container[0])}});var y=function(t){c()(n,t);var r=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(n);function n(t){var e;return o()(this,n),(e=r.call(this,t)).value=t.control.setting.get(),e.state={value:e.value},e.name=t.control.params.settings.default,e.name=e.name.replace("[","-"),e.name=e.name.replace("]",""),e}return i()(n,[{key:"render",value:function(){var t="hidden-field-".concat(this.name);return Object(b.createElement)("input",{type:"hidden",className:t,"data-name":this.name,value:this.state.value})}}]),n}(b.Component);y.propTypes={control:f.a.object.isRequired};var O=y,k=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(O,{control:this}),this.container[0])}}),w=r(33),j=r.n(w);var E=function(t){c()(r,t);var e=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(r);function r(){return o()(this,r),e.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.label&&(t=Object(b.createElement)("span",{className:"customize-control-title"},this.props.control.params.label)),this.props.control.params.help&&(e=Object(b.createElement)("span",{className:"ast-description"},j()(this.props.control.params.help))),this.props.control.params.description&&(r=Object(b.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",{className:"customizer-text"},t,e,r))}}]),r}(b.Component);E.propTypes={control:f.a.object.isRequired};var C=E,S=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(C,{control:this}),this.container[0])}}),x=r(11),N=r.n(x),R=r(2),A=r.n(R),T=r(3),D=r(9);function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function P(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var L=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.onUrlChange=e.onUrlChange.bind(A()(e)),e.onCheckboxChange=e.onCheckboxChange.bind(A()(e)),e.onRelChange=e.onRelChange.bind(A()(e)),e}return i()(a,[{key:"onUrlChange",value:function(t){var e=P(P({},this.state.value),{},{url:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"onCheckboxChange",value:function(){var t=P(P({},this.state.value),{},{new_tab:event.target.checked});this.setState({value:t}),this.props.control.setting.set(t)}},{key:"onRelChange",value:function(t){var e=P(P({},this.state.value),{},{link_rel:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"render",value:function(){var e=this,t=this.props.control.params,r=t.value,n=t.label,a=t.settings,o=this.state.value,i=o.url,s=o.new_tab,c=o.link_rel,l=a.default;l=(l=l.replace("[","-")).replace("]","");var u=null;return n&&(u=Object(b.createElement)("label",null,Object(b.createElement)("span",{className:"customize-control-title"},n))),Object(b.createElement)(b.Fragment,null,u,Object(b.createElement)("div",{className:"customize-control-content"},Object(b.createElement)(D.TextControl,{value:i,className:"ast-link-input",onChange:function(t){e.onUrlChange(t)}})),Object(b.createElement)("div",{className:"customize-control-content ast-link-open-in-new-tab-wrapper"},Object(b.createElement)("input",{type:"checkbox",id:"ast-link-open-in-new-tab",className:"ast-link-open-in-new-tab",name:"ast-link-open-in-new-tab",checked:s,onChange:function(){return e.onCheckboxChange()}}),Object(b.createElement)("label",null,Object(T.__)("Open in a New Tab"))),Object(b.createElement)("div",{className:"customize-control-content"},Object(b.createElement)("label",null,Object(b.createElement)("span",{className:"customize-control-title"},Object(T.__)("Button Link Rel"))),Object(b.createElement)(D.TextControl,{value:c,className:"ast-link-relationship",onChange:function(t){e.onRelChange(t)}})),Object(b.createElement)("input",{type:"hidden",id:"_customize-input-".concat(a.default),className:"customize-link-control-data",name:l,"data-customize-setting-link":a.default,"data-value":JSON.stringify(r)}))}}]),a}(b.Component);L.propTypes={control:f.a.object.isRequired};var q=L,I=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(q,{control:this}),this.container[0])}});var B=function(t){c()(r,t);var e=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(r);function r(){return o()(this,r),e.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.caption,r=t.separator,n=t.label,a=t.description,o=null,i=null,s=null,c=null;return r&&(o=Object(b.createElement)("hr",null)),e&&(i=Object(b.createElement)("span",{className:"customize-control-caption"},e)),n&&(s=Object(b.createElement)("span",{className:"customize-control-title"},n)),a&&(c=Object(b.createElement)("span",{className:"description customize-control-description"},a)),Object(b.createElement)(b.Fragment,null,i,o,Object(b.createElement)("label",{className:"customizer-text"},s,c))}}]),r}(b.Component);B.propTypes={control:f.a.object.isRequired};var M=B,V=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(M,{control:this}),this.container[0])}});var Q=function(t){c()(r,t);var e=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(r);function r(){return o()(this,r),e.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var t=null,e=null,r=this.props.control.params,n=r.label,a=r.help,o=r.name;return n&&(t=Object(b.createElement)("span",{className:"customize-control-title"},n)),a&&(e=Object(b.createElement)("span",{className:"ast-description"},a)),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"ast-toggle-desc-wrap"},Object(b.createElement)("label",{className:"customizer-text"},t,e,Object(b.createElement)("span",{className:"ast-adv-toggle-icon dashicons","data-control":o}))),Object(b.createElement)("div",{className:"ast-field-settings-wrap"}))}}]),r}(b.Component);Q.propTypes={control:f.a.object.isRequired};var U=Q,F=r(10),H=r.n(F);function G(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var Y=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.onBorderChange=e.onBorderChange.bind(A()(e)),e.onConnectedClick=e.onConnectedClick.bind(A()(e)),e.onDisconnectedClick=e.onDisconnectedClick.bind(A()(e)),e}return i()(a,[{key:"onBorderChange",value:function(t){var e=this.props.control.params.choices,r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?G(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):G(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.state.value);if(event.target.classList.contains("connected"))for(var n in e)r[n]=event.target.value;else r[t]=event.target.value;this.setState({value:r}),this.props.control.setting.set(r)}},{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"render",value:function(){var t,r=this,e=this.props.control.params,n=e.label,a=e.description,o=e.linked_choices,i=e.id,s=e.choices,c=e.inputAttrs,l=e.name,u=null,p=null,h=null,d=Object(T.__)("Link Values Together","astra");return n&&(u=Object(b.createElement)("span",{className:"customize-control-title"},n)),a&&(p=Object(b.createElement)("span",{className:"description customize-control-description"},a)),o&&(h=Object(b.createElement)("li",{key:i,className:"ast-border-input-item-link disconnected"},Object(b.createElement)("span",{className:"dashicons dashicons-admin-links ast-border-connected wp-ui-highlight",onClick:function(){r.onConnectedClick()},"data-element-connect":i,title:d}),Object(b.createElement)("span",{className:"dashicons dashicons-editor-unlink ast-border-disconnected",onClick:function(){r.onDisconnectedClick()},"data-element-connect":i,title:d}))),t=Object.keys(s).map(function(t){if(s[t])var e=Object(b.createElement)("li",H()({},c,{key:t,className:"ast-border-input-item"}),Object(b.createElement)("input",{type:"number",className:"ast-border-input ast-border-desktop connected","data-id":t,"data-name":l,onChange:function(){return r.onBorderChange(t)},value:r.state.value[t],"data-element-connect":i}),Object(b.createElement)("span",{className:"ast-border-title"},s[t]));return e}),Object(b.createElement)(b.Fragment,null,u,p,Object(b.createElement)("div",{className:"ast-border-outer-wrapper"},Object(b.createElement)("div",{className:"input-wrapper ast-border-wrapper"},Object(b.createElement)("ul",{className:"ast-border-wrapper desktop active"},h,t))))}}]),a}(b.Component);Y.propTypes={control:f.a.object.isRequired};var J=Y;function W(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function X(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?W(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):W(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var Z=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.renderInputHtml=e.renderInputHtml.bind(A()(e)),e.onInputChange=e.onInputChange.bind(A()(e)),e.onSelectChange=e.onSelectChange.bind(A()(e)),e}return i()(a,[{key:"onInputChange",value:function(t){var e=X({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"onSelectChange",value:function(t){var e=X({},this.state.value);e["".concat(t,"-unit")]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=!(2<arguments.length&&void 0!==arguments[2])||arguments[2],a=this.props.control.params.units,o=!1;1===a.length&&(o=!0);var i=Object.keys(a).map(function(t){return Object(b.createElement)("option",{key:t,value:t},a[t])});return!1===n?Object(b.createElement)(b.Fragment,null,Object(b.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ast-non-reponsive ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(b.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:o,onChange:function(){e.onSelectChange(t)}},i)):Object(b.createElement)(b.Fragment,null,Object(b.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(b.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:o,onChange:function(){e.onSelectChange(t)}},i))}},{key:"render",value:function(){var t,e=this.props.control.params,r=e.description,n=e.label,a=e.responsive,o=null,i=null,s=null;return n&&(o=Object(b.createElement)("span",{className:"customize-control-title"},n),a&&(i=Object(b.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(b.createElement)("li",{key:"desktop",className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{key:"tablet",className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{key:"mobile",className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"})))))),r&&(s=Object(b.createElement)("span",{className:"description customize-control-description"},r)),t=a?Object(b.createElement)(b.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")):Object(b.createElement)(b.Fragment,null,this.renderInputHtml("desktop","active",!1)),Object(b.createElement)("label",{key:"customizer-text",className:"customizer-text"},o,i,s,Object(b.createElement)("div",{className:"input-wrapper ast-responsive-wrapper"},t))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);Z.propTypes={control:f.a.object.isRequired};var K=Z;function $(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var tt=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.renderInputHtml=e.renderInputHtml.bind(A()(e)),e.onInputChange=e.onInputChange.bind(A()(e)),e.onResetClick=e.onResetClick.bind(A()(e)),e}return i()(a,[{key:"onResetClick",value:function(t){t.preventDefault(),this.updateValues(this.props.control.params.default)}},{key:"onInputChange",value:function(t){var e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=this.props.control.params,a=n.inputAttrs,o=n.suffix,i=null,s=[];o&&(i=Object(b.createElement)("span",{className:"ast-range-unit"},o)),void 0!==a&&a.split(" ").map(function(t,e){var r=t.split("=");void 0!==r[1]&&(s[r[0]]=r[1].replace(/"/g,""))});return Object(b.createElement)("div",{className:"input-field-wrapper ".concat(t," ").concat(r)},Object(b.createElement)("input",H()({type:"range"},s,{value:this.state.value[t],"data-reset_value":this.props.control.params.default[t],onChange:function(){e.onInputChange(t)}})),Object(b.createElement)("div",{className:"astra_range_value"},Object(b.createElement)("input",H()({type:"number"},s,{"data-id":t,className:"ast-responsive-range-value-input",value:this.state.value[t],onChange:function(){e.onInputChange(t)}})),i))}},{key:"render",value:function(){var t,e,r=this,n=this.props.control.params,a=n.description,o=n.label,i=Object(T.__)("Back to default","astra"),s=null,c=null,l=null;return o&&(s=Object(b.createElement)("span",{className:"customize-control-title"},o),c=Object(b.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-slider-btns"},Object(b.createElement)("li",{className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),a&&(l=Object(b.createElement)("span",{className:"description customize-control-description"},a)),t=Object(b.createElement)(b.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(b.createElement)("div",{className:"ast-responsive-slider-reset",onClick:function(t){r.onResetClick(t)}},Object(b.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:i})),Object(b.createElement)("label",{key:"customizer-text"},s,c,l,Object(b.createElement)("div",{className:"wrapper"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);tt.propTypes={control:f.a.object.isRequired};var et=tt;function rt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function nt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?rt(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var at=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return void 0!==r&&""!==r||(r=e.props.control.params.value),e.state={value:r},e.renderInputHtml=e.renderInputHtml.bind(A()(e)),e.renderResponsiveInput=e.renderResponsiveInput.bind(A()(e)),e.onUnitChange=e.onUnitChange.bind(A()(e)),e.updateValues=e.updateValues.bind(A()(e)),e.onSpacingChange=e.onSpacingChange.bind(A()(e)),e.onConnectedClick=e.onConnectedClick.bind(A()(e)),e.onDisconnectedClick=e.onDisconnectedClick.bind(A()(e)),e}return i()(a,[{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"onSpacingChange",value:function(t,e){var r=this.props.control.params.choices,n=nt({},this.state.value),a=nt({},n[t]);if(event.target.classList.contains("connected"))for(var o in r)a[o]=event.target.value;else a[e]=event.target.value;n[t]=a,this.updateValues(n)}},{key:"onUnitChange",value:function(t,e){var r=nt({},this.state.value);r["".concat(t,"-unit")]=e,this.updateValues(r)}},{key:"renderResponsiveInput",value:function(t){var e=this;return Object(b.createElement)("input",{key:t,type:"hidden",onChange:function(){return e.onUnitChange(t,"")},className:"ast-spacing-unit-input ast-spacing-".concat(t,"-unit"),"data-device":"".concat(t),value:this.state.value["".concat(t,"-unit")]})}},{key:"renderInputHtml",value:function(r){var t,e,n=this,a=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",o=this.props.control.params,i=o.linked_choices,s=o.id,c=o.choices,l=o.inputAttrs,u=o.unit_choices,p=Object(T.__)("Link Values Together","astra"),h=null;return i&&(h=Object(b.createElement)("li",{key:"connect-disconnect"+r,className:"ast-spacing-input-item-link disconnected"},Object(b.createElement)("span",{key:"connect"+r,className:"dashicons dashicons-admin-links ast-spacing-connected wp-ui-highlight",onClick:function(){n.onConnectedClick()},"data-element-connect":s,title:p}),Object(b.createElement)("span",{key:"disconnect"+r,className:"dashicons dashicons-editor-unlink ast-spacing-disconnected",onClick:function(){n.onDisconnectedClick()},"data-element-connect":s,title:p}))),t=Object.keys(c).map(function(t){return Object(b.createElement)("li",H()({key:t},l,{className:"ast-spacing-input-item"}),Object(b.createElement)("input",{type:"number",className:"ast-spacing-input ast-spacing-".concat(r," connected"),"data-id":t,value:n.state.value[r][t],onChange:function(){return n.onSpacingChange(r,t)},"data-element-connect":s}),Object(b.createElement)("span",{className:"ast-spacing-title"},c[t]))}),e=Object.values(u).map(function(t){var e="";return n.state.value["".concat(r,"-unit")]===t&&(e="active"),Object(b.createElement)("li",{key:t,className:"single-unit ".concat(e),onClick:function(){return n.onUnitChange(r,t)},"data-unit":t},Object(b.createElement)("span",{className:"unit-text"},t))}),Object(b.createElement)("ul",{key:r,className:"ast-spacing-wrapper ".concat(r," ").concat(a)},h,t,Object(b.createElement)("ul",{key:"responsive-units",className:"ast-spacing-responsive-units ast-spacing-".concat(r,"-responsive-units")},e))}},{key:"render",value:function(){var t,e,r=this.props.control.params,n=r.label,a=r.description,o=null,i=null;return n&&(o=Object(b.createElement)("span",{className:"customize-control-title"},n)),a&&(i=Object(b.createElement)("span",{className:"description customize-control-description"},a)),t=Object(b.createElement)(b.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"unit-input-wrapper ast-spacing-unit-wrapper"},this.renderResponsiveInput("desktop"),this.renderResponsiveInput("tablet"),this.renderResponsiveInput("mobile")),Object(b.createElement)("ul",{key:"ast-spacing-responsive-btns",className:"ast-spacing-responsive-btns"},Object(b.createElement)("li",{key:"desktop",className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{key:"tablet",className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{key:"mobile",className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),Object(b.createElement)("label",{key:"ast-spacing-responsive",className:"ast-spacing-responsive",htmlFor:"ast-spacing"},o,i,Object(b.createElement)("div",{className:"ast-spacing-responsive-outer-wrapper"},Object(b.createElement)("div",{className:"input-wrapper ast-spacing-responsive-wrapper"},t),Object(b.createElement)("div",{className:"ast-spacing-responsive-units-screen-wrap"},e)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);at.propTypes={control:f.a.object.isRequired};var ot=at;var it=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.updateValues=e.updateValues.bind(A()(e)),e}return i()(a,[{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,n=e.description,a=e.suffix,o=e.link,i=e.inputAttrs,s=e.name,c=null,l=null,u=null,p=[],h=Object(T.__)("Back to default","astra");return r&&(c=Object(b.createElement)("label",null,Object(b.createElement)("span",{className:"customize-control-title"},r))),n&&(l=Object(b.createElement)("span",{className:"description customize-control-description"},n)),a&&(u=Object(b.createElement)("span",{className:"ast-range-unit"},a)),void 0!==i&&i.split(" ").map(function(t,e){var r=t.split("=");void 0!==r[1]&&(p[r[0]]=r[1].replace(/"/g,""))}),void 0!==o&&o.split(" ").map(function(t,e){var r=t.split("=");void 0!==r[1]&&(p[r[0]]=r[1].replace(/"/g,""))}),Object(b.createElement)("label",null,c,l,Object(b.createElement)("div",{className:"wrapper"},Object(b.createElement)("input",H()({},p,{type:"range",value:this.state.value,"data-reset_value":this.props.control.params.default,onChange:function(){return t.updateValues(event.target.value)}})),Object(b.createElement)("div",{className:"astra_range_value"},Object(b.createElement)("input",H()({},p,{type:"number","data-name":s,className:"value ast-range-value-input",value:this.state.value,onChange:function(){return t.updateValues(event.target.value)}})),u),Object(b.createElement)("div",{className:"ast-slider-reset",onClick:function(){t.updateValues(t.props.control.params.default)}},Object(b.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:h}))))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);it.propTypes={control:f.a.object.isRequired};var st=it,ct=r(34),lt=r.n(ct),ut=r(35);var pt=function(t){c()(n,t);var r=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(n);function n(t){var e;return o()(this,n),(e=r.call(this,t)).onChangeComplete=e.onChangeComplete.bind(A()(e)),e.onPaletteChangeComplete=e.onPaletteChangeComplete.bind(A()(e)),e.onChangeGradientComplete=e.onChangeGradientComplete.bind(A()(e)),e.renderImageSettings=e.renderImageSettings.bind(A()(e)),e.onRemoveImage=e.onRemoveImage.bind(A()(e)),e.onSelectImage=e.onSelectImage.bind(A()(e)),e.open=e.open.bind(A()(e)),e.onColorClearClick=e.onColorClearClick.bind(A()(e)),e.state={isVisible:!1,refresh:!1,color:e.props.color,modalCanClose:!0,backgroundType:e.props.backgroundType,supportGradient:void 0!==D.__experimentalGradientPicker},e}return i()(n,[{key:"onResetRefresh",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0})}},{key:"render",value:function(){function t(){a&&!0===o&&r.setState({isVisible:!1})}var r=this,e=this.state,n=e.refresh,a=e.modalCanClose,o=e.isVisible,i=e.supportGradient,s=e.backgroundType,c=this.props,l=c.allowGradient,u=c.allowImage,p=!(!l||!i),h=[{name:"color",title:Object(T.__)("Color","astra"),className:"astra-color-background"}];if(p){var d={name:"gradient",title:Object(T.__)("Gradient","astra"),className:"astra-image-background"};h.push(d)}if(u){var f={name:"image",title:Object(T.__)("Image","astra"),className:"astra-image-background"};h.push(f)}var m=[],g=0;return lt()(astColorPalette.colors).forEach(function(t){var e={};Object.assign(e,{name:g+"_"+t}),Object.assign(e,{color:t}),m.push(e),g++}),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"color-button-wrap"},Object(b.createElement)(D.Button,{className:o?"astra-color-icon-indicate open":"astra-color-icon-indicate",onClick:function(){o?t():(!0===n?r.setState({refresh:!1}):r.setState({refresh:!0}),r.setState({isVisible:!0}))}},("color"===s||"gradient"===s)&&Object(b.createElement)(D.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:this.props.color}),"image"===s&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:"#ffffff"}),Object(b.createElement)(D.Dashicon,{icon:"format-image"})))),Object(b.createElement)("div",{className:"astra-color-picker-wrap"},Object(b.createElement)(b.Fragment,null,o&&Object(b.createElement)("div",{className:"astra-popover-color",onClose:t},1<h.length&&Object(b.createElement)(D.TabPanel,{className:"astra-popover-tabs astra-background-tabs",activeClass:"active-tab",initialTabName:s,tabs:h},function(t){var e;return t.name&&("gradient"===t.name&&(e=Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.__experimentalGradientPicker,{className:"ast-gradient-color-picker",value:r.props.color&&r.props.color.includes("gradient")?r.props.color:"",onChange:function(t){return r.onChangeGradientComplete(t)}}))),"image"===t.name?e=r.renderImageSettings():"color"===t.name&&(e=Object(b.createElement)(b.Fragment,null,n&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.ColorPicker,{color:r.props.color,onChangeComplete:function(t){return r.onChangeComplete(t)}})),!n&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.ColorPicker,{color:r.props.color,onChangeComplete:function(t){return r.onChangeComplete(t)}})),Object(b.createElement)(D.ColorPalette,{colors:m,value:r.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(t){return r.onPaletteChangeComplete(t)}}),Object(b.createElement)("button",{type:"button",onClick:function(){r.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button common components-circular-option-picker__clear is-secondary is-small"},Object(T.__)("Clear","astra"))))),Object(b.createElement)("div",null,e)}),1===h.length&&Object(b.createElement)(b.Fragment,null,n&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.ColorPicker,{color:this.props.color,onChangeComplete:function(t){return r.onChangeComplete(t)}})),!n&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.ColorPicker,{color:this.props.color,onChangeComplete:function(t){return r.onChangeComplete(t)}})),Object(b.createElement)(D.ColorPalette,{colors:m,value:this.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(t){return r.onPaletteChangeComplete(t)}}),Object(b.createElement)("button",{type:"button",onClick:function(){r.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button components-circular-option-picker__clear is-secondary is-small"},Object(T.__)("Clear","astra")))))))}},{key:"onColorClearClick",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete("","color")}},{key:"onChangeGradientComplete",value:function(t){var e;e=void 0===t?"":t,this.setState({backgroundType:"gradient"}),this.props.onChangeComplete(e,"gradient")}},{key:"onChangeComplete",value:function(t){void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?(t.rgb.r,t.rgb.g,t.rgb.b,t.rgb.a):t.hex,this.setState({backgroundType:"color"}),this.props.onChangeComplete(t,"color")}},{key:"onPaletteChangeComplete",value:function(t){this.setState({color:t}),!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete(t,"color")}},{key:"onSelectImage",value:function(t){this.setState({modalCanClose:!0}),this.setState({backgroundType:"image"}),this.props.onSelectImage(t,"image")}},{key:"onRemoveImage",value:function(){this.setState({modalCanClose:!0}),this.props.onSelectImage("")}},{key:"open",value:function(t){this.setState({modalCanClose:!1}),t()}},{key:"onChangeImageOptions",value:function(t,e,r){this.setState({backgroundType:"image"}),this.props.onChangeImageOptions(e,r,"image")}},{key:"toggleMoreSettings",value:function(){var t=event.target.parentElement.parentElement,e=t.querySelector(".more-settings"),r=t.querySelector(".media-position-setting"),n=e.dataset.direction;e.dataset.id,"down"===n?(e.setAttribute("data-direction","up"),t.querySelector(".message").innerHTML=Object(T.__)("Less Settings"),t.querySelector(".icon").innerHTML="↑"):(e.setAttribute("data-direction","down"),t.querySelector(".message").innerHTML=Object(T.__)("More Settings"),t.querySelector(".icon").innerHTML="↓"),r.classList.contains("hide-settings")?r.classList.remove("hide-settings"):r.classList.add("hide-settings")}},{key:"renderImageSettings",value:function(){var r=this;return Object(b.createElement)(b.Fragment,null,(this.props.media.url||this.props.backgroundImage)&&Object(b.createElement)("img",{src:this.props.media.url?this.props.media.url:this.props.backgroundImage}),Object(b.createElement)(ut.MediaUpload,{title:Object(T.__)("Select Background Image","astra"),onSelect:function(t){return r.onSelectImage(t)},allowedTypes:["image"],value:void 0!==this.props.media&&this.props.media?this.props.media:"",render:function(t){var e=t.open;return Object(b.createElement)(D.Button,{className:"upload-button button-add-media",isDefault:!0,onClick:function(){return r.open(e)}},r.props.media||r.props.backgroundImage?Object(T.__)("Replace image","astra"):Object(T.__)("Select Background Image","astra"))}}),(this.props.media||this.props.backgroundImage)&&Object(b.createElement)(b.Fragment,null,Object(b.createElement)(D.Button,{className:"ast-bg-img-remove",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},Object(T.__)("Remove Image","astra")),Object(b.createElement)("a",{href:"#",className:"more-settings",onClick:this.toggleMoreSettings,"data-direction":"down","data-id":"desktop"},Object(b.createElement)("span",{className:"message"}," ",Object(T.__)("More Settings")," "),Object(b.createElement)("span",{className:"icon"}," ↓ ")),Object(b.createElement)("div",{className:"media-position-setting hide-settings"},Object(b.createElement)(D.SelectControl,{label:Object(T.__)("Image Position"),value:this.props.backgroundPosition,onChange:function(t){return r.onChangeImageOptions("backgroundPosition","background-position",t)},options:[{value:"left top",label:Object(T.__)("Left Top","astra")},{value:"left center",label:Object(T.__)("Left Center","astra")},{value:"left bottom",label:Object(T.__)("Left Bottom","astra")},{value:"right top",label:Object(T.__)("Right Top","astra")},{value:"right center",label:Object(T.__)("Right Center","astra")},{value:"right bottom",label:Object(T.__)("Right Bottom","astra")},{value:"center top",label:Object(T.__)("Center Top","astra")},{value:"center center",label:Object(T.__)("Center Center","astra")},{value:"center bottom",label:Object(T.__)("Center Bottom","astra")}]}),Object(b.createElement)(D.SelectControl,{label:Object(T.__)("Attachment","astra"),value:this.props.backgroundAttachment,onChange:function(t){return r.onChangeImageOptions("backgroundAttachment","background-attachment",t)},options:[{value:"fixed",label:Object(T.__)("Fixed","astra")},{value:"scroll",label:Object(T.__)("Scroll","astra")}]}),Object(b.createElement)(D.SelectControl,{label:Object(T.__)("Repeat","astra"),value:this.props.backgroundRepeat,onChange:function(t){return r.onChangeImageOptions("backgroundRepeat","background-repeat",t)},options:[{value:"no-repeat",label:Object(T.__)("No Repeat","astra")},{value:"repeat",label:Object(T.__)("Repeat All","astra")},{value:"repeat-x",label:Object(T.__)("Repeat Horizontally","astra")},{value:"repeat-y",label:Object(T.__)("Repeat Vertically","astra")}]}),Object(b.createElement)(D.SelectControl,{label:Object(T.__)("Size","astra"),value:this.props.backgroundSize,onChange:function(t){return r.onChangeImageOptions("backgroundSize","background-size",t)},options:[{value:"auto",label:Object(T.__)("Auto","astra")},{value:"cover",label:Object(T.__)("Cover","astra")},{value:"contain",label:Object(T.__)("Contain","astra")}]}))))}}]),n}(b.Component);pt.propTypes={color:f.a.string,usePalette:f.a.bool,palette:f.a.string,presetColors:f.a.object,onChangeComplete:f.a.func,onPaletteChangeComplete:f.a.func,onChange:f.a.func,customizer:f.a.object};var ht=pt;function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function ft(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var mt=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.defaultValue=e.props.control.params.default,e.onSelectImage=e.onSelectImage.bind(A()(e)),e.state={value:r},e.updateBackgroundType(),e}return i()(a,[{key:"updateBackgroundType",value:function(){var t=ft({},this.state.value);void 0!==this.state.value["background-type"]&&""!==this.state.value["background-type"]||(void 0!==this.state.value["background-color"]&&""!==this.state.value["background-color"]&&(t["background-type"]="color",this.updateValues(t),this.state.value["background-color"].includes("gradient")&&(t["background-type"]="gradient",this.updateValues(t))),void 0!==this.state.value["background-image"]&&""!==this.state.value["background-image"]&&(t["background-type"]="image",this.updateValues(t)))}},{key:"renderReset",value:function(){var r=this;return Object(b.createElement)("span",{className:"customize-control-title"},Object(b.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(b.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(t){t.preventDefault();var e=JSON.parse(JSON.stringify(r.defaultValue));void 0!==e&&""!==e&&(void 0!==e["background-color"]&&""!==e["background-color"]||(e["background-color"]="",wp.customize.previewer.refresh()),void 0!==e["background-image"]&&""!==e["background-image"]||(e["background-image"]="",wp.customize.previewer.refresh()),void 0!==e["background-media"]&&""!==e["background-media"]||(e["background-media"]="",wp.customize.previewer.refresh())),r.updateValues(e),r.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(b.createElement)(D.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}}))))}},{key:"onSelectImage",value:function(t,e){var r=ft({},this.state.value);r["background-media"]=t.id,r["background-image"]=t.url,r["background-type"]=e,this.updateValues(r)}},{key:"onChangeImageOptions",value:function(t,e,r){var n=ft({},this.state.value);n[t]=e,n["background-type"]=r,this.updateValues(n)}},{key:"renderSettings",value:function(){var n=this;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ht,{color:void 0!==this.state.value["background-color"]&&this.state.value["background-color"]?this.state.value["background-color"]:"",onChangeComplete:function(t,e){return n.handleChangeComplete(t,e)},media:void 0!==this.state.value["background-media"]&&this.state.value["background-media"]?this.state.value["background-media"]:"",backgroundImage:void 0!==this.state.value["background-image"]&&this.state.value["background-image"]?this.state.value["background-image"]:"",backgroundAttachment:void 0!==this.state.value["background-attachment"]&&this.state.value["background-attachment"]?this.state.value["background-attachment"]:"",backgroundPosition:void 0!==this.state.value["background-position"]&&this.state.value["background-position"]?this.state.value["background-position"]:"",backgroundRepeat:void 0!==this.state.value["background-repeat"]&&this.state.value["background-repeat"]?this.state.value["background-repeat"]:"",backgroundSize:void 0!==this.state.value["background-size"]&&this.state.value["background-size"]?this.state.value["background-size"]:"",onSelectImage:function(t,e){return n.onSelectImage(t,e)},onChangeImageOptions:function(t,e,r){return n.onChangeImageOptions(t,e,r)},backgroundType:void 0!==this.state.value["background-type"]&&this.state.value["background-type"]?this.state.value["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"}))}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var n=ft({},this.state.value);n["background-color"]=r,n["background-type"]=e,this.updateValues(n)}},{key:"render",value:function(){var t,e,r=this.props.control.params,n=r.defaultValue,a=r.label,o=r.description,i="#RRGGBB",s=null;return n&&(i="#"!==n.substring(0,1)?"#"+n:n,defaultValueAttr=" data-default-color="+i),e=a&&""!==a&&void 0!==a?Object(b.createElement)("span",{className:"customize-control-title"},a):Object(b.createElement)("span",{className:"customize-control-title"},Object(T.__)("Background","astra")),o&&(s=Object(b.createElement)("span",{className:"description customize-control-description"},o)),t=Object(b.createElement)("div",{className:"background-wrapper"},Object(b.createElement)("div",{className:"background-container"},this.renderReset(),this.renderSettings())),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,e,s),Object(b.createElement)("div",{className:"customize-control-content"},t))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);mt.propTypes={control:f.a.object.isRequired};var gt=mt;function bt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?bt(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):bt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}var yt=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.defaultValue=e.props.control.params.default,e.onSelectImage=e.onSelectImage.bind(A()(e)),e.renderReset=e.renderReset.bind(A()(e)),e.state={value:r},e}return i()(a,[{key:"componentDidMount",value:function(){for(var t=0,e=["desktop","mobile","tablet"];t<e.length;t++){var r=e[t];this.updateBackgroundType(r)}}},{key:"updateBackgroundType",value:function(t){var e=vt({},this.props.control.setting.get());if(void 0===this.state.value[t]["background-type"]||""===this.state.value[t]["background-type"]){var r=vt({},e[t]);void 0!==this.state.value[t]["background-color"]&&""!==this.state.value[t]["background-color"]&&(r["background-type"]="color",e[t]=r,this.updateValues(e),this.state.value[t]["background-color"].includes("gradient")&&(r["background-type"]="gradient",e[t]=r,this.updateValues(e))),void 0!==this.state.value[t]["background-image"]&&""!==this.state.value[t]["background-image"]&&(r["background-type"]="image",e[t]=r,this.updateValues(e))}}},{key:"renderReset",value:function(t){for(var n=this,e=!0,r=0,a=["desktop","mobile","tablet"];r<a.length;r++){var o=a[r];this.state.value[o]["background-color"]||this.state.value[o]["background-image"]||this.state.value[o]["background-media"],this.state.value[o]["background-color"]===this.defaultValue[o]["background-image"]&&this.state.value[o]["background-image"]===this.defaultValue[o]["background-color"]&&this.state.value[o]["background-media"]===this.defaultValue[o]["background-media"]||(e=!1)}return Object(b.createElement)("span",{className:"customize-control-title"},Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(b.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:e,onClick:function(t){t.preventDefault();var e=JSON.parse(JSON.stringify(n.defaultValue));if(void 0!==e&&""!==e)for(var r in e)void 0!==e[r]["background-color"]&&""!==e[r]["background-color"]||(e[r]["background-color"]="",wp.customize.previewer.refresh()),void 0!==e[r]["background-image"]&&""!==e[r]["background-image"]||(e[r]["background-image"]="",wp.customize.previewer.refresh()),void 0!==e[r]["background-media"]&&""!==e[r]["background-media"]||(e[r]["background-media"]="",wp.customize.previewer.refresh());n.updateValues(e),n.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),n.refs.ChildAstraColorPickerControltablet.onResetRefresh(),n.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(b.createElement)(D.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"onSelectImage",value:function(t,e,r){var n=vt({},this.state.value),a=vt({},n[e]);a["background-image"]=t.url,a["background-media"]=t.id,a["background-type"]=r,n[e]=a,this.updateValues(n)}},{key:"onChangeImageOptions",value:function(t,e,r,n){var a=vt({},this.state.value),o=vt({},a[r]);o[t]=e,o["background-type"]=n,a[r]=o,this.updateValues(a)}},{key:"renderSettings",value:function(n){var a=this;return Object(b.createElement)(b.Fragment,null,Object(b.createElement)(ht,{color:void 0!==this.state.value[n]["background-color"]&&this.state.value[n]["background-color"]?this.state.value[n]["background-color"]:"",onChangeComplete:function(t,e){return a.handleChangeComplete(t,n,e)},media:void 0!==this.state.value[n]["background-media"]&&this.state.value[n]["background-media"]?this.state.value[n]["background-media"]:"",backgroundImage:void 0!==this.state.value[n]["background-image"]&&this.state.value[n]["background-image"]?this.state.value[n]["background-image"]:"",backgroundAttachment:void 0!==this.state.value[n]["background-attachment"]&&this.state.value[n]["background-attachment"]?this.state.value[n]["background-attachment"]:"",backgroundPosition:void 0!==this.state.value[n]["background-position"]&&this.state.value[n]["background-position"]?this.state.value[n]["background-position"]:"",backgroundRepeat:void 0!==this.state.value[n]["background-repeat"]&&this.state.value[n]["background-repeat"]?this.state.value[n]["background-repeat"]:"",backgroundSize:void 0!==this.state.value[n]["background-size"]&&this.state.value[n]["background-size"]?this.state.value[n]["background-size"]:"",onSelectImage:function(t,e){return a.onSelectImage(t,n,e)},onChangeImageOptions:function(t,e,r){return a.onChangeImageOptions(t,e,n,r)},backgroundType:void 0!==this.state.value[n]["background-type"]&&this.state.value[n]["background-type"]?this.state.value[n]["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"+n}))}},{key:"handleChangeComplete",value:function(t,e,r){var n;n="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var a=vt({},this.state.value),o=vt({},a[e]);o["background-color"]=n,o["background-type"]=r,a[e]=o,this.updateValues(a)}},{key:"render",value:function(){var t,e,r,n=this.props.control.params,a=n.defaultValue,o=n.label,i=n.description,s="#RRGGBB",c=null;return a&&(s="#"!==a.substring(0,1)?"#"+a:a,defaultValueAttr=" data-default-color="+s),r=o&&""!==o&&void 0!==o?Object(b.createElement)("span",{className:"customize-control-title"},o):Object(b.createElement)("span",{className:"customize-control-title"},Object(T.__)("Background","astra")),i&&(c=Object(b.createElement)("span",{className:"description customize-control-description"},i)),t=Object(b.createElement)("ul",{className:"ast-responsive-btns"},Object(b.createElement)("li",{className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"})))),e=Object(b.createElement)("div",{className:"background-wrapper"},Object(b.createElement)("div",{className:"background-container desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(b.createElement)("div",{className:"background-container tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(b.createElement)("div",{className:"background-container mobile"},this.renderReset("mobile"),this.renderSettings("mobile"))),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,r,c),Object(b.createElement)("div",{className:"customize-control-content"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);yt.propTypes={control:f.a.object.isRequired};var _t=yt;var Ot=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a),(e=n.call(this,t)).handleChangeComplete=e.handleChangeComplete.bind(A()(e)),e.updateValues=e.updateValues.bind(A()(e)),e.renderOperationButtons=e.renderOperationButtons.bind(A()(e));var r=e.props.control.setting.get();return e.defaultValue=e.props.control.params.default,e.state={value:r},e}return i()(a,[{key:"renderOperationButtons",value:function(){var r=this;return Object(b.createElement)("span",{className:"customize-control-title"},Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(b.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(t){t.preventDefault();var e=JSON.parse(JSON.stringify(r.defaultValue));void 0!==e&&""!==e||(e="",wp.customize.previewer.refresh()),r.updateValues(e),r.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(b.createElement)(D.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"handleChangeComplete",value:function(t){var e;e="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(e)}},{key:"render",value:function(){var r=this,t=null,e=this.props.control.params.label;return e&&(t=Object(b.createElement)("span",{className:"customize-control-title"},e)),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,t),Object(b.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex"},this.renderOperationButtons(),Object(b.createElement)(ht,{color:void 0!==this.state.value&&this.state.value?this.state.value:"",onChangeComplete:function(t,e){return r.handleChangeComplete(t)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"})))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);Ot.propTypes={control:f.a.object.isRequired};var kt=Ot;function wt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var jt=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.defaultValue=e.props.control.params.default,e.state={value:r},e}return i()(a,[{key:"renderReset",value:function(t){for(var n=this,e=0,r=["desktop","mobile","tablet"];e<r.length;e++){var a=r[e];this.state.value[a]}return Object(b.createElement)("span",{className:"customize-control-title"},Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(b.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(t){t.preventDefault();var e=JSON.parse(JSON.stringify(n.defaultValue));if(void 0!==e&&""!==e)for(var r in e)void 0!==e[r]&&""!==e[r]||(e[r]="",wp.customize.previewer.refresh());n.setState({value:e}),n.props.control.setting.set(e),n.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),n.refs.ChildAstraColorPickerControltablet.onResetRefresh(),n.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(b.createElement)(D.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"renderSettings",value:function(r){var n=this;return Object(b.createElement)(ht,{color:void 0!==this.state.value[r]&&this.state.value[r]?this.state.value[r]:"",onChangeComplete:function(t,e){return n.handleChangeComplete(t,r)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"+r})}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(r,e)}},{key:"render",value:function(){var t=this.props.control.params,e=t.defaultValue,r=t.label,n=t.description,a=t.responsive,o=(t.value,"#RRGGBB"),i=null,s=null,c=null,l=null;return e&&(o="#"!==e.substring(0,1)?"#"+e:e,defaultValueAttr=" data-default-color="+o),r&&(i=Object(b.createElement)("span",{className:"customize-control-title"},r)),n&&(s=Object(b.createElement)("span",{className:"description customize-control-description"},n)),a&&(c=Object(b.createElement)("ul",{className:"ast-responsive-btns"},Object(b.createElement)("li",{className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"})))),l=Object(b.createElement)(b.Fragment,null,Object(b.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(b.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(b.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color mobile"},this.renderReset("mobile"),this.renderSettings("mobile")))),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,i,s),c,Object(b.createElement)("div",{className:"customize-control-content"},l))}},{key:"updateValues",value:function(t,e){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?wt(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):wt(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.state.value);r[e]=t,this.setState({value:r}),this.props.control.setting.set(r)}}]),a}(b.Component);jt.propTypes={control:f.a.object.isRequired};var Et=jt;var Ct=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.onSelectChange=e.onSelectChange.bind(A()(e)),e}return i()(a,[{key:"onSelectChange",value:function(){this.updateValues(event.target.value)}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,n=e.name,a=e.choices,o=null;r&&(o=Object(b.createElement)("span",{className:"customize-control-title"},r));var i=Object.entries(a).map(function(t){return Object(b.createElement)("option",{key:t[0],value:t[0]},t[1])});return Object(b.createElement)(b.Fragment,null,o,Object(b.createElement)("div",{className:"customize-control-content"},Object(b.createElement)("select",{className:"ast-select-input","data-name":n,"data-value":this.state.value,value:this.state.value,onChange:function(){t.onSelectChange()}},i)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);Ct.propTypes={control:f.a.object.isRequired};var St=Ct;function xt(t,n){jQuery("html").addClass("responsive-background-img-ready");var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+e).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+t).addClass("active")}),t.container.find(".ast-responsive-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}),n&&jQuery(document).mouseup(function(t){var e=jQuery(n),r=e.find(".background-wrapper");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}function Nt(t,n){jQuery("html").addClass("responsive-background-color-ready");var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha."+e).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-responsive-color."+t).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+t).addClass("active")}),t.container.find(".ast-responsive-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}),n&&jQuery(document).mouseup(function(t){var e=jQuery(n),r=e.find(".customize-control-content");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}function Rt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+e).addClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+t+", .customize-control .ast-responsive-btns > li."+t).addClass("active")}),t.container.find(".ast-responsive-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})}function At(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper, .customize-control .ast-responsive-slider-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+t+", .customize-control .ast-responsive-slider-btns > li."+t).addClass("active")}),t.container.find(".ast-responsive-slider-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})}function Tt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper, .customize-control .ast-spacing-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+t+", .customize-control .ast-spacing-responsive-btns > li."+t).addClass("active")}),t.container.find(".ast-spacing-responsive-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})}var Dt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(U,{control:this}),this.container[0])},ready:function(){this.setting._value,this.registerToggleEvents(),this.container.on("ast_settings_changed",this.onOptionChange);var o=0,i=jQuery(".wp-full-overlay-sidebar-content"),s=navigator.userAgent.toLowerCase();if(-1<s.indexOf("firefox"))c=16;else var c=6;jQuery("#customize-controls .wp-full-overlay-sidebar-content .control-section").on("scroll",function(t){var e=jQuery(this);if(e.hasClass("open")){var r=e.find(".customize-section-title"),n=e.scrollTop();if(o<n)r.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),e.css("padding-top","");else{var a=e.outerWidth();r.addClass("maybe-sticky").addClass("is-in-view").addClass("is-sticky").width(a-c).css("top",i.css("top")),-1<s.indexOf("firefox")||e.css("padding-top",r.height()),0===n&&(r.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),e.css("padding-top",""))}o=n}})},registerToggleEvents:function(){var l=this;jQuery(".wp-full-overlay-sidebar-content, .wp-picker-container").click(function(t){jQuery(t.target).closest(".ast-field-settings-modal").length||jQuery(".ast-adv-toggle-icon.open").trigger("click")}),l.container.on("click",".ast-toggle-desc-wrap .ast-adv-toggle-icon",function(t){t.preventDefault(),t.stopPropagation();var e=jQuery(this),r=e.closest(".customize-control-ast-settings-group"),n=r.find(".ast-field-settings-modal").data("loaded"),a=r.parents(".control-section");if(e.hasClass("open"))r.find(".ast-field-settings-modal").hide();else{var o=a.find(".ast-adv-toggle-icon.open");if(0<o.length&&o.trigger("click"),n)r.find(".ast-field-settings-modal").show();else{var i=l.params.ast_fields,s=jQuery(astra.customizer.group_modal_tmpl);r.find(".ast-field-settings-wrap").append(s),r.find(".ast-fields-wrap").attr("data-control",l.params.name),l.ast_render_field(r,i,l),r.find(".ast-field-settings-modal").show();var c=jQuery("#customize-footer-actions .active").attr("data-device");"mobile"==c?(jQuery(".ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile").addClass("active"),jQuery(".ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile").addClass("active")):"tablet"==c?(jQuery(".ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet").addClass("active"),jQuery(".ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet").addClass("active")):(jQuery(".ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop").addClass("active"),jQuery(".ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop").addClass("active"))}}e.toggleClass("open")}),l.container.on("click",".ast-toggle-desc-wrap > .customizer-text",function(t){t.preventDefault(),t.stopPropagation(),jQuery(this).find(".ast-adv-toggle-icon").trigger("click")})},ast_render_field:function(t,e,r){var i=this,n=t.find(".ast-fields-wrap"),a="",o=[],s=i.isJsonString(r.params.value)?JSON.parse(r.params.value):{};if(void 0!==e.tabs){var c=(c=r.params.name.replace("[","-")).replace("]","");a+='<div id="'+c+'-tabs" class="ast-group-tabs">',a+='<ul class="ast-group-list">';var l=0;_.each(e.tabs,function(t,e){var r="";0==l&&(r="active"),a+='<li class="'+r+'"><a href="#tab-'+e+'"><span>'+e+"</span></a></li>",l++}),a+="</ul>",a+='<div class="ast-tab-content" >',_.each(e.tabs,function(t,e){a+='<div id="tab-'+e+'" class="tab">';var r=i.generateFieldHtml(t,s);a+=r.html,_.each(r.controls,function(t,e){o.push({key:t.key,value:t.value,name:t.name})}),a+="</div>"}),a+="</div></div>",n.html(a),i.renderReactControl(e,i),jQuery("#"+c+"-tabs").tabs()}else{var u=i.generateFieldHtml(e,s);a+=u.html,_.each(u.controls,function(t,e){o.push({key:t.key,value:t.value,name:t.name})}),n.html(a),i.renderReactControl(e,i)}_.each(o,function(t,e){switch(t.key){case"ast-color":a="#customize-control-"+t.name,jQuery(document).mouseup(function(t){var e=jQuery(a),r=e.find(".astra-color-picker-wrap");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()});break;case"ast-background":n="#customize-control-"+t.name,jQuery(document).mouseup(function(t){var e=jQuery(n),r=e.find(".background-wrapper");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()});break;case"ast-responsive-background":xt(i,"#customize-control-"+t.name);break;case"ast-responsive-color":Nt(i,"#customize-control-"+t.name);break;case"ast-responsive":Rt(i);break;case"ast-responsive-slider":At(i);break;case"ast-responsive-spacing":Tt(i);break;case"ast-font":var r=astra.customizer.settings.google_fonts;i.container.find(".ast-font-family").html(r),i.container.find(".ast-font-family").each(function(){var t=jQuery(this).data("value");jQuery(this).val(t);var e=jQuery(this).data("name");jQuery("select[data-name='"+e+"'] option[value='inherit']").text(jQuery(this).data("inherit"));var r=jQuery(".ast-font-weight[data-connected-control='"+e+"']"),n=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t));i.generateDropdownHtml(n,r),r.val(r.data("value"))}),i.container.find(".ast-font-family").selectWoo(),i.container.find(".ast-font-family").on("select2:select",function(){var t=jQuery(this).val(),e=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t)),r=jQuery(this).data("name"),n=jQuery(".ast-font-weight[data-connected-control='"+r+"']");i.generateDropdownHtml(e,n);var a=jQuery(this).parents(".customize-control").attr("id");a=a.replace("customize-control-",""),i.container.trigger("ast_settings_changed",[i,jQuery(this),t,a]);var o=n.parents(".customize-control").attr("id");o=o.replace("customize-control-",""),i.container.trigger("ast_settings_changed",[i,n,n.val(),o])}),i.container.find(".ast-font-weight").on("change",function(){var t=jQuery(this).val();name=jQuery(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),i.container.trigger("ast_settings_changed",[i,jQuery(this),t,name])})}var n,a}),t.find(".ast-field-settings-modal").data("loaded",!0)},getJS:function(t){},generateFieldHtml:function(t,e){var p="",h=[];_.each(t,function(t,e){var r=wp.customize.control("astra-settings["+t.name+"]")?wp.customize.control("astra-settings["+t.name+"]").params.value:"",n=t.control,a="customize-control-"+n+"-content",o=wp.template(a),i=r||t.default;t.value=i;var s="",c="";if(t.label=t.title,_.each(t.data_attrs,function(t,e){s+=" data-"+e+" ='"+t+"'"}),_.each(t.input_attrs,function(t,e){c+=e+'="'+t+'" '}),t.dataAttrs=s,t.inputAttrs=c,h.push({key:n,value:i,name:t.name}),"ast-responsive"==n){var l=void 0===t.responsive||t.responsive;t.responsive=l}var u=t.name.replace("[","-");u=u.replace("]",""),p+="<li id='customize-control-"+u+"' class='customize-control customize-control-"+t.control+"' >",p+=o(t),p+="</li>"});var r=new Object;return r.controls=h,r.html=p,r},generateDropdownHtml:function(t,e){var r=e.data("inherit"),n="",a=0,o=(t=jQuery.merge(["inherit"],t),e.val()||"400"),i="";for(astraTypo.inherit=r;a<t.length;a++)i=0===a&&-1===jQuery.inArray(o,t)?(o=t[0],' selected="selected"'):t[a]==o?' selected="selected"':"",t[a].includes("italic")||(n+='<option value="'+t[a]+'"'+i+">"+astraTypo[t[a]]+"</option>");e.html(n)},onOptionChange:function(t,e,r,n,a){jQuery(".hidden-field-astra-settings-"+a).val(n),wp.customize.control("astra-settings["+a+"]").setting.set(n)},isJsonString:function(t){try{JSON.parse(t)}catch(t){return!1}return!0},getFinalControlObject:function(t,e){return void 0!==t.choices&&void 0===e.params.choices&&(e.params.choices=t.choices),void 0!==t.inputAttrs&&void 0===e.params.inputAttrs&&(e.params.inputAttrs=t.inputAttrs),void 0!==t.link&&void 0===e.params.link&&(e.params.link=t.link),void 0!==t.units&&void 0===e.params.units&&(e.params.units=t.units),void 0!==t.linked_choices&&void 0===e.params.linked_choices&&(e.params.linked_choices=t.linked_choices),void 0===t.title||void 0!==e.params.label&&""!==e.params.label&&null!==e.params.label||(e.params.label=t.title),void 0===t.responsive||void 0!==e.params.responsive&&""!==e.params.responsive&&null!==e.params.responsive||(e.params.responsive=t.responsive),e},renderReactControl:function(t,i){var s={"ast-background":gt,"ast-responsive-background":_t,"ast-responsive-color":Et,"ast-color":kt,"ast-border":J,"ast-responsive":K,"ast-responsive-slider":et,"ast-slider":st,"ast-responsive-spacing":ot,"ast-select":St,"ast-divider":M};void 0!==t.tabs?_.each(t.tabs,function(t,e){_.each(t,function(t,e){if("ast-font"!==t.control){var r=t.name.replace("[","-"),n="#customize-control-"+(r=r.replace("]","")),a=wp.customize.control("astra-settings["+t.name+"]");a=i.getFinalControlObject(t,a);var o=s[t.control];ReactDOM.render(Object(b.createElement)(o,{control:a,customizer:wp.customize}),jQuery(n)[0])}})}):_.each(t,function(t,e){if("ast-font"!==t.control){var r=t.name.replace("[","-"),n="#customize-control-"+(r=r.replace("]","")),a=wp.customize.control("astra-settings["+t.name+"]");a=i.getFinalControlObject(t,a);var o=s[t.control];ReactDOM.render(Object(b.createElement)(o,{control:a,customizer:wp.customize}),jQuery(n)[0])}})}}),zt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(kt,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){var n=this;jQuery(document).mouseup(function(t){var e=jQuery(n.container),r=e.find(".astra-color-picker-wrap");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}}),Pt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(Et,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){Nt(this);var n=this;jQuery(document).mouseup(function(t){var e=jQuery(n.container),r=e.find(".customize-control-content");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}}),Lt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(_t,{control:this}),this.container[0])},ready:function(){xt(this,"");var n=this;jQuery(document).mouseup(function(t){var e=jQuery(n.container),r=e.find(".background-wrapper");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}}),qt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(gt,{control:this}),this.container[0])},ready:function(){jQuery("html").addClass("background-colorpicker-ready");var n=this;jQuery(document).mouseup(function(t){var e=jQuery(n.container),r=e.find(".background-wrapper");r.is(t.target)||0!==r.has(t.target).length||e.find(".components-button.astra-color-icon-indicate.open").click()})}});var It=function(t){c()(r,t);var e=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(r);function r(){return o()(this,r),e.apply(this,arguments)}return i()(r,[{key:"render",value:function(){var t,e,r=null,n=null,a=this.props.control.params,o=a.label,i=a.description,s=a.value,c=a.choices,l=a.inputAttrs;return o&&(r=Object(b.createElement)("span",{className:"customize-control-title"},o)),i&&(n=Object(b.createElement)("span",{className:"description customize-control-description"},i)),t=Object.values(s).map(function(t){if(c[t])var e=Object(b.createElement)("li",H()({},l,{key:t,className:"ast-sortable-item","data-value":t}),Object(b.createElement)("i",{className:"dashicons dashicons-menu"}),Object(b.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),c[t]);return e}),e=Object.keys(c).map(function(t){if(Array.isArray(s)&&-1===s.indexOf(t))var e=Object(b.createElement)("li",H()({},l,{key:t,className:"ast-sortable-item invisible","data-value":t}),Object(b.createElement)("i",{className:"dashicons dashicons-menu"}),Object(b.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),c[t]);return e}),Object(b.createElement)("label",{className:"ast-sortable"},r,n,Object(b.createElement)("ul",{className:"sortable"},t,e))}}]),r}(b.Component);It.propTypes={control:f.a.object.isRequired};var Bt=It,Mt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(Bt,{control:this}),this.container[0])},ready:function(){var t=this;t.sortableContainer=t.container.find("ul.sortable").first(),t.sortableContainer.sortable({stop:function(){t.updateValue()}}).disableSelection().find("li").each(function(){jQuery(this).find("i.visibility").click(function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).click(function(){t.updateValue()})},updateValue:function(){var t=[];this.sortableContainer.find("li").each(function(){jQuery(this).is(".invisible")||t.push(jQuery(this).data("value"))}),this.setting.set(t)}}),Vt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(J,{control:this}),this.container[0])}});var Qt=function(t){c()(n,t);var r=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(n);function n(t){var e;return o()(this,n),(e=r.call(this,t)).onLinkClick=e.onLinkClick.bind(A()(e)),e}return i()(n,[{key:"onLinkClick",value:function(){var t=this.props.control.params,e=t.linked;switch(t.link_type){case"section":wp.customize.section(e).expand();break;case"control":wp.customize.control(e).focus()}}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.linked,n=e.link_text,a=e.link_type,o=null;return r&&n&&(o=Object(b.createElement)("a",{href:"#",onClick:function(){t.onLinkClick()},className:"customizer-link","data-customizer-linked":r,"data-ast-customizer-link-type":a,dangerouslySetInnerHTML:{__html:n}})),Object(b.createElement)(b.Fragment,null,o)}}]),n}(b.Component);Qt.propTypes={control:f.a.object.isRequired};var Ut=Qt,Ft=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(Ut,{control:this}),this.container[0])}}),Ht=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(K,{control:this}),this.container[0])},ready:function(){Rt(this)}}),Gt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(et,{control:this}),this.container[0])},ready:function(){At(this)}}),Yt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(st,{control:this}),this.container[0])}}),Jt=r(36),Wt=r.n(Jt);var Xt=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.onLayoutChange=e.onLayoutChange.bind(A()(e)),e}return i()(a,[{key:"onLayoutChange",value:function(){this.setState({value:event.target.value}),this.props.control.setting.set(event.target.value)}},{key:"render",value:function(){var t,a=this,e=this.props.control.params,r=e.label,n=e.description,o=e.id,i=e.choices,s=e.inputAttrs,c=e.choices_titles,l=e.link,u=e.labelStyle,p=null,h=null,d=[];r&&(p=Object(b.createElement)("span",{className:"customize-control-title"},r)),n&&(h=Object(b.createElement)("span",{className:"description customize-control-description"},n));var f=s.split(" ");return f.map(function(t,e){var r=t.split("=");void 0!==r[1]&&(d[r[0]]=r[1].replace(/"/g,""))}),(f=l.split(" ")).map(function(t,e){var r=t.split("=");void 0!==r[1]&&(d[r[0]]=r[1].replace(/"/g,""))}),t=Object.entries(i).map(function(t){var e=Wt()(t,2),r=e[0],n=(e[1],a.state.value===r);return Object(b.createElement)(b.Fragment,{key:r},Object(b.createElement)("input",H()({},d,{className:"image-select",type:"radio",value:r,name:"_customize-radio-".concat(o),id:o+r,checked:n,onChange:function(){return a.onLayoutChange(r)}})),Object(b.createElement)("label",H()({htmlFor:o+r},u,{className:"ast-radio-img-svg"}),Object(b.createElement)("span",{dangerouslySetInnerHTML:{__html:i[r]}}),Object(b.createElement)("span",{className:"image-clickable",title:c[r]})))}),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",{className:"customizer-text"},p,h),Object(b.createElement)("div",{id:"input_".concat(o),className:"image"},t))}}]),a}(b.Component);Xt.propTypes={control:f.a.object.isRequired};var Zt=Xt,Kt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(Zt,{control:this}),this.container[0])}}),$t=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(ot,{control:this}),this.container[0])},ready:function(){Tt(this)}}),te=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(St,{control:this}),this.container[0])}});var ee=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e}return i()(a,[{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,n=t.connect,a=t.variant,o=t.name,i=t.link,s=null,c=null,l=null,u=[],p=Object(T.__)("Inherit","astra");return r&&(s=Object(b.createElement)("span",{className:"customize-control-title"},r)),e&&(c=Object(b.createElement)("span",{className:"description customize-control-description"},e)),void 0!==i&&i.split(" ").map(function(t,e){var r=t.split("=");void 0!==r[1]&&(u[r[0]]=r[1].replace(/"/g,""))}),n&&(l=Object(b.createElement)("select",H()({},u,{"data-connected-control":n,"data-value":this.state.value,"data-name":o,"data-inherit":p}))),a&&(l=Object(b.createElement)("select",H()({},u,{"data-connected-variant":a,"data-value":this.state.value,"data-name":o,"data-inherit":p}))),n&&a&&(l=Object(b.createElement)("select",H()({},u,{"data-connected-control":n,"data-connected-variant":a,"data-value":this.state.value,"data-name":o,"data-inherit":p}))),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,s,c),l)}}]),a}(b.Component);ee.propTypes={control:f.a.object.isRequired};var re=ee,ne=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(re,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});var ae=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return void 0!==r&&""!==r||(r=[]),e.state={value:r},e}return i()(a,[{key:"render",value:function(){var t,e=this.props.control.params,r=e.description,n=e.label,a=e.connect,o=e.variant,i=e.name,s=e.link,c=e.ast_all_font_weight,l=null,u=null,p=null,h=[],d=Object(T.__)("Inherit","astra");n&&(l=Object(b.createElement)("span",{className:"customize-control-title"},n)),r&&(u=Object(b.createElement)("span",{className:"description customize-control-description"},r)),void 0!==s&&s.split(" ").map(function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))});var f=Object.entries(c).map(function(t){return Object(b.createElement)("option",{key:t[0],value:t[0]},t[1])});return t="normal"===this.state.value?Object(b.createElement)("option",{key:"normal",value:"normal"},d):Object(b.createElement)("option",{key:"inherit",value:"inherit"},d),a&&(p=Object(b.createElement)("select",H()({},h,{"data-connected-control":a,"data-value":this.state.value,"data-name":i,"data-inherit":d}),t,f)),o&&(p=Object(b.createElement)("select",H()({},h,{"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),t,f)),a&&o&&(p=Object(b.createElement)("select",H()({},h,{"data-connected-control":a,"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),t,f)),Object(b.createElement)(b.Fragment,null,Object(b.createElement)("label",null,l,u),p)}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);ae.propTypes={control:f.a.object.isRequired};var oe=ae,ie=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(oe,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});function se(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var ce=function(t){c()(a,t);var n=function(n){var a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}();return function(){var t,e=h()(n);if(a){var r=h()(this).constructor;t=Reflect.construct(e,arguments,r)}else t=e.apply(this,arguments);return u()(this,t)}}(a);function a(t){var e;o()(this,a);var r=(e=n.call(this,t)).props.control.setting.get();return e.state={value:r},e.onSelectChange=e.onSelectChange.bind(A()(e)),e.renderSelectHtml=e.renderSelectHtml.bind(A()(e)),e}return i()(a,[{key:"onSelectChange",value:function(t){var e=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?se(Object(r),!0).forEach(function(t){N()(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):se(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderSelectHtml",value:function(t){var e=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:"",n=this.props.control.params.choices,a=Object.entries(n).map(function(t){return Object(b.createElement)("option",{key:t[0],value:t[0]},t[1])});return Object(b.createElement)("div",{className:"ast-responsive-select-container ".concat(t," ").concat(r)},Object(b.createElement)("select",{className:"ast-select-input","data-value":this.state.value[t],value:this.state.value[t],onChange:function(){e.onSelectChange(t)}},a))}},{key:"render",value:function(){var t=this.props.control.params.label,e=null;t&&(e=Object(b.createElement)("span",{className:"customize-control-title"},t));var r=Object(b.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(b.createElement)("li",{key:"desktop",className:"desktop active"},Object(b.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(b.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(b.createElement)("li",{key:"tablet",className:"tablet"},Object(b.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(b.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(b.createElement)("li",{key:"mobile",className:"mobile"},Object(b.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(b.createElement)("i",{className:"dashicons dashicons-smartphone"})))),n=Object(b.createElement)(b.Fragment,null,this.renderSelectHtml("desktop","active"),this.renderSelectHtml("tablet"),this.renderSelectHtml("mobile"));return Object(b.createElement)(b.Fragment,null,e,r,Object(b.createElement)("div",{className:"customize-control-content"},Object(b.createElement)("div",{className:"ast-responsive-select-wrapper"},n)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),a}(b.Component);ce.propTypes={control:f.a.object.isRequired};var le=ce,ue=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(b.createElement)(le,{control:this}),this.container[0])},ready:function(){var t=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active")}),this.container.find(".ast-responsive-btns button").on("click",function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})}});wp.customize.controlConstructor["ast-heading"]=v,wp.customize.controlConstructor["ast-hidden"]=k,wp.customize.controlConstructor["ast-description"]=S,wp.customize.controlConstructor["ast-link"]=I,wp.customize.controlConstructor["ast-divider"]=V,wp.customize.controlConstructor["ast-settings-group"]=Dt,wp.customize.controlConstructor["ast-color"]=zt,wp.customize.controlConstructor["ast-responsive-color"]=Pt,wp.customize.controlConstructor["ast-responsive-background"]=Lt,wp.customize.controlConstructor["ast-background"]=qt,wp.customize.controlConstructor["ast-sortable"]=Mt,wp.customize.controlConstructor["ast-border"]=Vt,wp.customize.controlConstructor["ast-customizer-link"]=Ft,wp.customize.controlConstructor["ast-responsive"]=Ht,wp.customize.controlConstructor["ast-responsive-slider"]=Gt,wp.customize.controlConstructor["ast-slider"]=Yt,wp.customize.controlConstructor["ast-radio-image"]=Kt,wp.customize.controlConstructor["ast-responsive-spacing"]=$t,wp.customize.controlConstructor["ast-select"]=te,wp.customize.controlConstructor["ast-font-family"]=ne,wp.customize.controlConstructor["ast-font-weight"]=ie,wp.customize.controlConstructor["ast-responsive-select"]=ue}]); custom-controls/assets/js/unminified/custom-controls-plain.js 0000644 00000022153 15252526161 0020606 0 ustar 00 /** * File typography.js * * Handles Typography of the site * * @package Astra */ ( function( $ ) { /* Internal shorthand */ var api = wp.customize; /** * Helper class for the main Customizer interface. * * @since 1.0.0 * @class AstTypography */ AstTypography = { /** * Initializes our custom logic for the Customizer. * * @since 1.0.0 * @method init */ init: function() { AstTypography._initFonts(); }, /** * Initializes logic for font controls. * * @since 1.0.0 * @access private * @method _initFonts */ _initFonts: function() { $( '.customize-control-ast-font-family select' ).each( function(e) { if( 'undefined' != typeof astra.customizer ) { var fonts = astra.customizer.settings.google_fonts; var optionName = $(this).data('name'); $(this).html( fonts ); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var font_val = $(this).data('value'); $(this).val( font_val ); } }); $( '.customize-control-ast-font-family select' ).each( AstTypography._initFont ); // Added select2 for all font family & font variant. $('.customize-control-ast-font-family select, .customize-control-ast-font-variant select').selectWoo(); $('.customize-control-ast-font-variant select').on('select2:unselecting', function (e) { var variantSelect = $(this).data( 'customize-setting-link' ), unselectedValue = e.params.args.data.id || ''; if ( unselectedValue ) { $(this).find('option[value="' + e.params.args.data.id + '"]').removeAttr('selected'); if ( null === $(this).val() ) { api( variantSelect ).set( '' ); } } }); }, /** * Initializes logic for a single font control. * * @since 1.0.0 * @access private * @method _initFont */ _initFont: function() { var select = $( this ), link = select.data( 'customize-setting-link' ), weight = select.data( 'connected-control' ), variant = select.data( 'connected-variant' ); if ( 'undefined' != typeof weight ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontWeightOptions.apply( api( link ), [ true ] ); } if ( 'undefined' != typeof variant ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontVarianttOptions.apply( api( link ), [ true ] ); } }, /** * Callback for when a font control changes. * * @since 1.0.0 * @access private * @method _fontSelectChange */ _fontSelectChange: function() { var fontSelect = api.control( this.id ).container.find( 'select' ), variants = fontSelect.data( 'connected-variant' ); AstTypography._setFontWeightOptions.apply( this, [ false ] ); if ( 'undefined' != typeof variants ) { AstTypography._setFontVarianttOptions.apply( this, [ false ] ); } }, /** * Clean font name. * * Google Fonts are saved as {'Font Name', Category}. This function cleanes this up to retreive only the {Font Name}. * * @since 1.3.0 * @param {String} fontValue Name of the font. * * @return {String} Font name where commas and inverted commas are removed if the font is a Google Font. */ _cleanGoogleFonts: function(fontValue) { // Bail if fontVAlue does not contain a comma. if ( ! fontValue.includes(',') ) return fontValue; var splitFont = fontValue.split(','); var pattern = new RegExp("'", 'gi'); // Check if the cleaned font exists in the Google fonts array. var googleFontValue = splitFont[0].replace(pattern, ''); if ( 'undefined' != typeof AstFontFamilies.google[ googleFontValue ] ) { fontValue = googleFontValue; } return fontValue; }, /** * Get font Weights. * * This function gets the font weights values respective to the selected fonts family{Font Name}. * * @since 1.5.2 * @param {String} fontValue Name of the font. * * @return {String} Available font weights for the selected fonts. */ _getWeightObject: function(fontValue) { var weightObject = [ '400', '600' ]; if ( fontValue == 'inherit' ) { weightObject = [ '100','200','300','400','500','600','700','800','900' ]; } else if ( 'undefined' != typeof AstFontFamilies.system[ fontValue ] ) { weightObject = AstFontFamilies.system[ fontValue ].weights; } else if ( 'undefined' != typeof AstFontFamilies.google[ fontValue ] ) { weightObject = AstFontFamilies.google[ fontValue ][0]; weightObject = Object.keys(weightObject).map(function(k) { return weightObject[k]; }); } else if ( 'undefined' != typeof AstFontFamilies.custom[ fontValue ] ) { weightObject = AstFontFamilies.custom[ fontValue ].weights; } return weightObject; }, /** * Sets the options for a font weight control when a * font family control changes. * * @since 1.0.0 * @access private * @method _setFontWeightOptions * @param {Boolean} init Whether or not we're initializing this font weight control. */ _setFontWeightOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', weightKey = fontSelect.data( 'connected-control' ), inherit = fontSelect.data( 'inherit' ), weightSelect = api.control( weightKey ).container.find( 'select' ), currentWeightTitle = weightSelect.data( 'inherit' ), weightValue = init ? weightSelect.val() : '400', inheritWeightObject = [ 'inherit' ], weightObject = [ '400', '600' ], weightOptions = '', weightMap = astraTypo; if ( fontValue == 'inherit' ) { weightValue = init ? weightSelect.val() : 'inherit'; } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightObject = $.merge( inheritWeightObject, weightObject ) weightMap[ 'inherit' ] = currentWeightTitle; for ( ; i < weightObject.length; i++ ) { if ( 0 === i && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ i ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ i ].includes( "italic" ) ){ weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } } weightSelect.html( weightOptions ); if ( ! init ) { api( weightKey ).set( '' ); api( weightKey ).set( weightValue ); } }, /** * Sets the options for a font variant control when a * font family control changes. * * @since 1.5.2 * @access private * @method _setFontVarianttOptions * @param {Boolean} init Whether or not we're initializing this font variant control. */ _setFontVarianttOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', variants = fontSelect.data( 'connected-variant' ), inherit = fontSelect.data( 'inherit' ), variantSelect = api.control( variants ).container.find( 'select' ), variantSavedField = api.control( variants ).container.find( '.ast-font-variant-hidden-value' ), weightValue = '', weightOptions = '', currentWeightTitle = variantSelect.data( 'inherit' ), weightMap = astraTypo; var variantArray = variantSavedField.val().split(','); // Hide font variant for any ohter fonts then Google var selectedOptionGroup = fontSelect.find('option[value="' + fontSelect.val() + '"]').closest('optgroup').attr('label') || ''; if ( 'Google' == selectedOptionGroup ) { variantSelect.parent().removeClass('ast-hide'); } else{ variantSelect.parent().addClass('ast-hide'); } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightMap[ 'inherit' ] = currentWeightTitle; for ( var i = 0; i < weightObject.length; i++ ) { for ( var e = 0; e < variantArray.length; e++ ) { if ( weightObject[i] === variantArray[e] ) { weightValue = weightObject[ i ]; selected = ' selected="selected"'; } else{ selected = ( weightObject[ i ] == weightValue ) ? ' selected="selected"' : ''; } } weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } variantSelect.html( weightOptions ); if ( ! init ) { api( variants ).set( '' ); } }, }; $( function() { AstTypography.init(); } ); })( jQuery ); custom-controls/assets/js/unminified/custom-controls.js 0000644 00000676306 15252526161 0017524 0 ustar 00 /** * File typography.js * * Handles Typography of the site * * @package Astra */ ( function( $ ) { /* Internal shorthand */ var api = wp.customize; /** * Helper class for the main Customizer interface. * * @since 1.0.0 * @class AstTypography */ AstTypography = { /** * Initializes our custom logic for the Customizer. * * @since 1.0.0 * @method init */ init: function() { AstTypography._initFonts(); }, /** * Initializes logic for font controls. * * @since 1.0.0 * @access private * @method _initFonts */ _initFonts: function() { $( '.customize-control-ast-font-family select' ).each( function(e) { if( 'undefined' != typeof astra.customizer ) { var fonts = astra.customizer.settings.google_fonts; var optionName = $(this).data('name'); $(this).html( fonts ); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var font_val = $(this).data('value'); $(this).val( font_val ); } }); $( '.customize-control-ast-font-family select' ).each( AstTypography._initFont ); // Added select2 for all font family & font variant. $('.customize-control-ast-font-family select, .customize-control-ast-font-variant select').selectWoo(); $('.customize-control-ast-font-variant select').on('select2:unselecting', function (e) { var variantSelect = $(this).data( 'customize-setting-link' ), unselectedValue = e.params.args.data.id || ''; if ( unselectedValue ) { $(this).find('option[value="' + e.params.args.data.id + '"]').removeAttr('selected'); if ( null === $(this).val() ) { api( variantSelect ).set( '' ); } } }); }, /** * Initializes logic for a single font control. * * @since 1.0.0 * @access private * @method _initFont */ _initFont: function() { var select = $( this ), link = select.data( 'customize-setting-link' ), weight = select.data( 'connected-control' ), variant = select.data( 'connected-variant' ); if ( 'undefined' != typeof weight ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontWeightOptions.apply( api( link ), [ true ] ); } if ( 'undefined' != typeof variant ) { api( link ).bind( AstTypography._fontSelectChange ); AstTypography._setFontVarianttOptions.apply( api( link ), [ true ] ); } }, /** * Callback for when a font control changes. * * @since 1.0.0 * @access private * @method _fontSelectChange */ _fontSelectChange: function() { var fontSelect = api.control( this.id ).container.find( 'select' ), variants = fontSelect.data( 'connected-variant' ); AstTypography._setFontWeightOptions.apply( this, [ false ] ); if ( 'undefined' != typeof variants ) { AstTypography._setFontVarianttOptions.apply( this, [ false ] ); } }, /** * Clean font name. * * Google Fonts are saved as {'Font Name', Category}. This function cleanes this up to retreive only the {Font Name}. * * @since 1.3.0 * @param {String} fontValue Name of the font. * * @return {String} Font name where commas and inverted commas are removed if the font is a Google Font. */ _cleanGoogleFonts: function(fontValue) { // Bail if fontVAlue does not contain a comma. if ( ! fontValue.includes(',') ) return fontValue; var splitFont = fontValue.split(','); var pattern = new RegExp("'", 'gi'); // Check if the cleaned font exists in the Google fonts array. var googleFontValue = splitFont[0].replace(pattern, ''); if ( 'undefined' != typeof AstFontFamilies.google[ googleFontValue ] ) { fontValue = googleFontValue; } return fontValue; }, /** * Get font Weights. * * This function gets the font weights values respective to the selected fonts family{Font Name}. * * @since 1.5.2 * @param {String} fontValue Name of the font. * * @return {String} Available font weights for the selected fonts. */ _getWeightObject: function(fontValue) { var weightObject = [ '400', '600' ]; if ( fontValue == 'inherit' ) { weightObject = [ '100','200','300','400','500','600','700','800','900' ]; } else if ( 'undefined' != typeof AstFontFamilies.system[ fontValue ] ) { weightObject = AstFontFamilies.system[ fontValue ].weights; } else if ( 'undefined' != typeof AstFontFamilies.google[ fontValue ] ) { weightObject = AstFontFamilies.google[ fontValue ][0]; weightObject = Object.keys(weightObject).map(function(k) { return weightObject[k]; }); } else if ( 'undefined' != typeof AstFontFamilies.custom[ fontValue ] ) { weightObject = AstFontFamilies.custom[ fontValue ].weights; } return weightObject; }, /** * Sets the options for a font weight control when a * font family control changes. * * @since 1.0.0 * @access private * @method _setFontWeightOptions * @param {Boolean} init Whether or not we're initializing this font weight control. */ _setFontWeightOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', weightKey = fontSelect.data( 'connected-control' ), inherit = fontSelect.data( 'inherit' ), weightSelect = api.control( weightKey ).container.find( 'select' ), currentWeightTitle = weightSelect.data( 'inherit' ), weightValue = init ? weightSelect.val() : '400', inheritWeightObject = [ 'inherit' ], weightObject = [ '400', '600' ], weightOptions = '', weightMap = astraTypo; if ( fontValue == 'inherit' ) { weightValue = init ? weightSelect.val() : 'inherit'; } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightObject = $.merge( inheritWeightObject, weightObject ) weightMap[ 'inherit' ] = currentWeightTitle; for ( ; i < weightObject.length; i++ ) { if ( 0 === i && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ i ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ i ].includes( "italic" ) ){ weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } } weightSelect.html( weightOptions ); if ( ! init ) { api( weightKey ).set( '' ); api( weightKey ).set( weightValue ); } }, /** * Sets the options for a font variant control when a * font family control changes. * * @since 1.5.2 * @access private * @method _setFontVarianttOptions * @param {Boolean} init Whether or not we're initializing this font variant control. */ _setFontVarianttOptions: function( init ) { var i = 0, fontSelect = api.control( this.id ).container.find( 'select' ), fontValue = this(), selected = '', variants = fontSelect.data( 'connected-variant' ), inherit = fontSelect.data( 'inherit' ), variantSelect = api.control( variants ).container.find( 'select' ), variantSavedField = api.control( variants ).container.find( '.ast-font-variant-hidden-value' ), weightValue = '', weightOptions = '', currentWeightTitle = variantSelect.data( 'inherit' ), weightMap = astraTypo; var variantArray = variantSavedField.val().split(','); // Hide font variant for any ohter fonts then Google var selectedOptionGroup = fontSelect.find('option[value="' + fontSelect.val() + '"]').closest('optgroup').attr('label') || ''; if ( 'Google' == selectedOptionGroup ) { variantSelect.parent().removeClass('ast-hide'); } else{ variantSelect.parent().addClass('ast-hide'); } var fontValue = AstTypography._cleanGoogleFonts(fontValue); var weightObject = AstTypography._getWeightObject( fontValue ); weightMap[ 'inherit' ] = currentWeightTitle; for ( var i = 0; i < weightObject.length; i++ ) { for ( var e = 0; e < variantArray.length; e++ ) { if ( weightObject[i] === variantArray[e] ) { weightValue = weightObject[ i ]; selected = ' selected="selected"'; } else{ selected = ( weightObject[ i ] == weightValue ) ? ' selected="selected"' : ''; } } weightOptions += '<option value="' + weightObject[ i ] + '"' + selected + '>' + weightMap[ weightObject[ i ] ] + '</option>'; } variantSelect.html( weightOptions ); if ( ! init ) { api( variants ).set( '' ); } }, }; $( function() { AstTypography.init(); } ); })( jQuery ); !function(t){var e={};function r(n){if(e[n])return e[n].exports;var a=e[n]={i:n,l:!1,exports:{}};return t[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}r.m=t,r.c=e,r.d=function(t,e,n){r.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},r.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.t=function(t,e){if(1&e&&(t=r(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)r.d(n,a,function(e){return t[e]}.bind(null,a));return n},r.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return r.d(e,"a",e),e},r.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r.p="",r(r.s=83)}([function(t,e){!function(){t.exports=this.wp.element}()},function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},r(e)}t.exports=r},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){!function(){t.exports=this.wp.i18n}()},function(t,e,r){t.exports=r(39)()},function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}},function(t,e){function r(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,n.key,n)}}t.exports=function(t,e,n){return e&&r(t.prototype,e),n&&r(t,n),t}},function(t,e,r){var n=r(37);t.exports=function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&n(t,e)}},function(t,e,r){var n=r(38),a=r(2);t.exports=function(t,e){return!e||"object"!==n(e)&&"function"!=typeof e?a(t):e}},function(t,e){!function(){t.exports=this.wp.components}()},function(t,e){function r(){return t.exports=r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t},r.apply(this,arguments)}t.exports=r},function(t,e){t.exports=function(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}},function(t,e,r){var n=r(19),a=r(23);function o(e,r){return delete t.exports[e],t.exports[e]=r,r}t.exports={Parser:n,Tokenizer:r(20),ElementType:r(13),DomHandler:a,get FeedHandler(){return o("FeedHandler",r(46))},get Stream(){return o("Stream",r(57))},get WritableStream(){return o("WritableStream",r(26))},get ProxyHandler(){return o("ProxyHandler",r(65))},get DomUtils(){return o("DomUtils",r(25))},get CollectingHandler(){return o("CollectingHandler",r(66))},DefaultHandler:a,get RssHandler(){return o("RssHandler",this.FeedHandler)},parseDOM:function(t,e){var r=new a(e);return new n(r,e).end(t),r.dom},parseFeed:function(e,r){var a=new t.exports.FeedHandler(r);return new n(a,r).end(e),a.dom},createDomStream:function(t,e,r){var o=new a(t,e,r);return new n(o,e)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},function(t,e){t.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(t){return"tag"===t.type||"script"===t.type||"style"===t.type}}},function(t,e){"function"==typeof Object.create?t.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:t.exports=function(t,e){if(e){t.super_=e;var r=function(){};r.prototype=e.prototype,t.prototype=new r,t.prototype.constructor=t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){return t.filter((function(t){return!(0,n.default)(t)})).map((function(t,r){var n=void 0;return"function"!=typeof e||null!==(n=e(t,r))&&!n?(0,a.default)(t,r,e):n}))};var n=o(r(41)),a=o(r(18));function o(t){return t&&t.__esModule?t:{default:t}}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Abreve":"Ă","abreve":"ă","ac":"∾","acd":"∿","acE":"∾̳","Acirc":"Â","acirc":"â","acute":"´","Acy":"А","acy":"а","AElig":"Æ","aelig":"æ","af":"","Afr":"𝔄","afr":"𝔞","Agrave":"À","agrave":"à","alefsym":"ℵ","aleph":"ℵ","Alpha":"Α","alpha":"α","Amacr":"Ā","amacr":"ā","amalg":"⨿","amp":"&","AMP":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","apE":"⩰","ape":"≊","apid":"≋","apos":"\'","ApplyFunction":"","approx":"≈","approxeq":"≊","Aring":"Å","aring":"å","Ascr":"𝒜","ascr":"𝒶","Assign":"≔","ast":"*","asymp":"≈","asympeq":"≍","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","awconint":"∳","awint":"⨑","backcong":"≌","backepsilon":"϶","backprime":"‵","backsim":"∽","backsimeq":"⋍","Backslash":"∖","Barv":"⫧","barvee":"⊽","barwed":"⌅","Barwed":"⌆","barwedge":"⌅","bbrk":"⎵","bbrktbrk":"⎶","bcong":"≌","Bcy":"Б","bcy":"б","bdquo":"„","becaus":"∵","because":"∵","Because":"∵","bemptyv":"⦰","bepsi":"϶","bernou":"ℬ","Bernoullis":"ℬ","Beta":"Β","beta":"β","beth":"ℶ","between":"≬","Bfr":"𝔅","bfr":"𝔟","bigcap":"⋂","bigcirc":"◯","bigcup":"⋃","bigodot":"⨀","bigoplus":"⨁","bigotimes":"⨂","bigsqcup":"⨆","bigstar":"★","bigtriangledown":"▽","bigtriangleup":"△","biguplus":"⨄","bigvee":"⋁","bigwedge":"⋀","bkarow":"⤍","blacklozenge":"⧫","blacksquare":"▪","blacktriangle":"▴","blacktriangledown":"▾","blacktriangleleft":"◂","blacktriangleright":"▸","blank":"␣","blk12":"▒","blk14":"░","blk34":"▓","block":"█","bne":"=⃥","bnequiv":"≡⃥","bNot":"⫭","bnot":"⌐","Bopf":"𝔹","bopf":"𝕓","bot":"⊥","bottom":"⊥","bowtie":"⋈","boxbox":"⧉","boxdl":"┐","boxdL":"╕","boxDl":"╖","boxDL":"╗","boxdr":"┌","boxdR":"╒","boxDr":"╓","boxDR":"╔","boxh":"─","boxH":"═","boxhd":"┬","boxHd":"╤","boxhD":"╥","boxHD":"╦","boxhu":"┴","boxHu":"╧","boxhU":"╨","boxHU":"╩","boxminus":"⊟","boxplus":"⊞","boxtimes":"⊠","boxul":"┘","boxuL":"╛","boxUl":"╜","boxUL":"╝","boxur":"└","boxuR":"╘","boxUr":"╙","boxUR":"╚","boxv":"│","boxV":"║","boxvh":"┼","boxvH":"╪","boxVh":"╫","boxVH":"╬","boxvl":"┤","boxvL":"╡","boxVl":"╢","boxVL":"╣","boxvr":"├","boxvR":"╞","boxVr":"╟","boxVR":"╠","bprime":"‵","breve":"˘","Breve":"˘","brvbar":"¦","bscr":"𝒷","Bscr":"ℬ","bsemi":"⁏","bsim":"∽","bsime":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","capcup":"⩇","capdot":"⩀","CapitalDifferentialD":"ⅅ","caps":"∩︀","caret":"⁁","caron":"ˇ","Cayleys":"ℭ","ccaps":"⩍","Ccaron":"Č","ccaron":"č","Ccedil":"Ç","ccedil":"ç","Ccirc":"Ĉ","ccirc":"ĉ","Cconint":"∰","ccups":"⩌","ccupssm":"⩐","Cdot":"Ċ","cdot":"ċ","cedil":"¸","Cedilla":"¸","cemptyv":"⦲","cent":"¢","centerdot":"·","CenterDot":"·","cfr":"𝔠","Cfr":"ℭ","CHcy":"Ч","chcy":"ч","check":"✓","checkmark":"✓","Chi":"Χ","chi":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","cirE":"⧃","cire":"≗","cirfnint":"⨐","cirmid":"⫯","cirscir":"⧂","ClockwiseContourIntegral":"∲","CloseCurlyDoubleQuote":"”","CloseCurlyQuote":"’","clubs":"♣","clubsuit":"♣","colon":":","Colon":"∷","Colone":"⩴","colone":"≔","coloneq":"≔","comma":",","commat":"@","comp":"∁","compfn":"∘","complement":"∁","complexes":"ℂ","cong":"≅","congdot":"⩭","Congruent":"≡","conint":"∮","Conint":"∯","ContourIntegral":"∮","copf":"𝕔","Copf":"ℂ","coprod":"∐","Coproduct":"∐","copy":"©","COPY":"©","copysr":"℗","CounterClockwiseContourIntegral":"∳","crarr":"↵","cross":"✗","Cross":"⨯","Cscr":"𝒞","cscr":"𝒸","csub":"⫏","csube":"⫑","csup":"⫐","csupe":"⫒","ctdot":"⋯","cudarrl":"⤸","cudarrr":"⤵","cuepr":"⋞","cuesc":"⋟","cularr":"↶","cularrp":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","cupcup":"⩊","cupdot":"⊍","cupor":"⩅","cups":"∪︀","curarr":"↷","curarrm":"⤼","curlyeqprec":"⋞","curlyeqsucc":"⋟","curlyvee":"⋎","curlywedge":"⋏","curren":"¤","curvearrowleft":"↶","curvearrowright":"↷","cuvee":"⋎","cuwed":"⋏","cwconint":"∲","cwint":"∱","cylcty":"⌭","dagger":"†","Dagger":"‡","daleth":"ℸ","darr":"↓","Darr":"↡","dArr":"⇓","dash":"‐","Dashv":"⫤","dashv":"⊣","dbkarow":"⤏","dblac":"˝","Dcaron":"Ď","dcaron":"ď","Dcy":"Д","dcy":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","DDotrahd":"⤑","ddotseq":"⩷","deg":"°","Del":"∇","Delta":"Δ","delta":"δ","demptyv":"⦱","dfisht":"⥿","Dfr":"𝔇","dfr":"𝔡","dHar":"⥥","dharl":"⇃","dharr":"⇂","DiacriticalAcute":"´","DiacriticalDot":"˙","DiacriticalDoubleAcute":"˝","DiacriticalGrave":"`","DiacriticalTilde":"˜","diam":"⋄","diamond":"⋄","Diamond":"⋄","diamondsuit":"♦","diams":"♦","die":"¨","DifferentialD":"ⅆ","digamma":"ϝ","disin":"⋲","div":"÷","divide":"÷","divideontimes":"⋇","divonx":"⋇","DJcy":"Ђ","djcy":"ђ","dlcorn":"⌞","dlcrop":"⌍","dollar":"$","Dopf":"𝔻","dopf":"𝕕","Dot":"¨","dot":"˙","DotDot":"⃜","doteq":"≐","doteqdot":"≑","DotEqual":"≐","dotminus":"∸","dotplus":"∔","dotsquare":"⊡","doublebarwedge":"⌆","DoubleContourIntegral":"∯","DoubleDot":"¨","DoubleDownArrow":"⇓","DoubleLeftArrow":"⇐","DoubleLeftRightArrow":"⇔","DoubleLeftTee":"⫤","DoubleLongLeftArrow":"⟸","DoubleLongLeftRightArrow":"⟺","DoubleLongRightArrow":"⟹","DoubleRightArrow":"⇒","DoubleRightTee":"⊨","DoubleUpArrow":"⇑","DoubleUpDownArrow":"⇕","DoubleVerticalBar":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","ecolon":"≕","Ecy":"Э","ecy":"э","eDDot":"⩷","Edot":"Ė","edot":"ė","eDot":"≑","ee":"ⅇ","efDot":"≒","Efr":"𝔈","efr":"𝔢","eg":"⪚","Egrave":"È","egrave":"è","egs":"⪖","egsdot":"⪘","el":"⪙","Element":"∈","elinters":"⏧","ell":"ℓ","els":"⪕","elsdot":"⪗","Emacr":"Ē","emacr":"ē","empty":"∅","emptyset":"∅","EmptySmallSquare":"◻","emptyv":"∅","EmptyVerySmallSquare":"▫","emsp13":" ","emsp14":" ","emsp":" ","ENG":"Ŋ","eng":"ŋ","ensp":" ","Eogon":"Ę","eogon":"ę","Eopf":"𝔼","eopf":"𝕖","epar":"⋕","eparsl":"⧣","eplus":"⩱","epsi":"ε","Epsilon":"Ε","epsilon":"ε","epsiv":"ϵ","eqcirc":"≖","eqcolon":"≕","eqsim":"≂","eqslantgtr":"⪖","eqslantless":"⪕","Equal":"⩵","equals":"=","EqualTilde":"≂","equest":"≟","Equilibrium":"⇌","equiv":"≡","equivDD":"⩸","eqvparsl":"⧥","erarr":"⥱","erDot":"≓","escr":"ℯ","Escr":"ℰ","esdot":"≐","Esim":"⩳","esim":"≂","Eta":"Η","eta":"η","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","euro":"€","excl":"!","exist":"∃","Exists":"∃","expectation":"ℰ","exponentiale":"ⅇ","ExponentialE":"ⅇ","fallingdotseq":"≒","Fcy":"Ф","fcy":"ф","female":"♀","ffilig":"ffi","fflig":"ff","ffllig":"ffl","Ffr":"𝔉","ffr":"𝔣","filig":"fi","FilledSmallSquare":"◼","FilledVerySmallSquare":"▪","fjlig":"fj","flat":"♭","fllig":"fl","fltns":"▱","fnof":"ƒ","Fopf":"𝔽","fopf":"𝕗","forall":"∀","ForAll":"∀","fork":"⋔","forkv":"⫙","Fouriertrf":"ℱ","fpartint":"⨍","frac12":"½","frac13":"⅓","frac14":"¼","frac15":"⅕","frac16":"⅙","frac18":"⅛","frac23":"⅔","frac25":"⅖","frac34":"¾","frac35":"⅗","frac38":"⅜","frac45":"⅘","frac56":"⅚","frac58":"⅝","frac78":"⅞","frasl":"⁄","frown":"⌢","fscr":"𝒻","Fscr":"ℱ","gacute":"ǵ","Gamma":"Γ","gamma":"γ","Gammad":"Ϝ","gammad":"ϝ","gap":"⪆","Gbreve":"Ğ","gbreve":"ğ","Gcedil":"Ģ","Gcirc":"Ĝ","gcirc":"ĝ","Gcy":"Г","gcy":"г","Gdot":"Ġ","gdot":"ġ","ge":"≥","gE":"≧","gEl":"⪌","gel":"⋛","geq":"≥","geqq":"≧","geqslant":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","harrw":"↭","Hat":"^","hbar":"ℏ","Hcirc":"Ĥ","hcirc":"ĥ","hearts":"♥","heartsuit":"♥","hellip":"…","hercon":"⊹","hfr":"𝔥","Hfr":"ℌ","HilbertSpace":"ℋ","hksearow":"⤥","hkswarow":"⤦","hoarr":"⇿","homtht":"∻","hookleftarrow":"↩","hookrightarrow":"↪","hopf":"𝕙","Hopf":"ℍ","horbar":"―","HorizontalLine":"─","hscr":"𝒽","Hscr":"ℋ","hslash":"ℏ","Hstrok":"Ħ","hstrok":"ħ","HumpDownHump":"≎","HumpEqual":"≏","hybull":"⁃","hyphen":"‐","Iacute":"Í","iacute":"í","ic":"","Icirc":"Î","icirc":"î","Icy":"И","icy":"и","Idot":"İ","IEcy":"Е","iecy":"е","iexcl":"¡","iff":"⇔","ifr":"𝔦","Ifr":"ℑ","Igrave":"Ì","igrave":"ì","ii":"ⅈ","iiiint":"⨌","iiint":"∭","iinfin":"⧜","iiota":"℩","IJlig":"IJ","ijlig":"ij","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","integers":"ℤ","Integral":"∫","intercal":"⊺","Intersection":"⋂","intlarhk":"⨗","intprod":"⨼","InvisibleComma":"","InvisibleTimes":"","IOcy":"Ё","iocy":"ё","Iogon":"Į","iogon":"į","Iopf":"𝕀","iopf":"𝕚","Iota":"Ι","iota":"ι","iprod":"⨼","iquest":"¿","iscr":"𝒾","Iscr":"ℐ","isin":"∈","isindot":"⋵","isinE":"⋹","isins":"⋴","isinsv":"⋳","isinv":"∈","it":"","Itilde":"Ĩ","itilde":"ĩ","Iukcy":"І","iukcy":"і","Iuml":"Ï","iuml":"ï","Jcirc":"Ĵ","jcirc":"ĵ","Jcy":"Й","jcy":"й","Jfr":"𝔍","jfr":"𝔧","jmath":"ȷ","Jopf":"𝕁","jopf":"𝕛","Jscr":"𝒥","jscr":"𝒿","Jsercy":"Ј","jsercy":"ј","Jukcy":"Є","jukcy":"є","Kappa":"Κ","kappa":"κ","kappav":"ϰ","Kcedil":"Ķ","kcedil":"ķ","Kcy":"К","kcy":"к","Kfr":"𝔎","kfr":"𝔨","kgreen":"ĸ","KHcy":"Х","khcy":"х","KJcy":"Ќ","kjcy":"ќ","Kopf":"𝕂","kopf":"𝕜","Kscr":"𝒦","kscr":"𝓀","lAarr":"⇚","Lacute":"Ĺ","lacute":"ĺ","laemptyv":"⦴","lagran":"ℒ","Lambda":"Λ","lambda":"λ","lang":"⟨","Lang":"⟪","langd":"⦑","langle":"⟨","lap":"⪅","Laplacetrf":"ℒ","laquo":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","late":"⪭","lates":"⪭︀","lbarr":"⤌","lBarr":"⤎","lbbrk":"❲","lbrace":"{","lbrack":"[","lbrke":"⦋","lbrksld":"⦏","lbrkslu":"⦍","Lcaron":"Ľ","lcaron":"ľ","Lcedil":"Ļ","lcedil":"ļ","lceil":"⌈","lcub":"{","Lcy":"Л","lcy":"л","ldca":"⤶","ldquo":"“","ldquor":"„","ldrdhar":"⥧","ldrushar":"⥋","ldsh":"↲","le":"≤","lE":"≦","LeftAngleBracket":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","lesdot":"⩿","lesdoto":"⪁","lesdotor":"⪃","lesg":"⋚︀","lesges":"⪓","lessapprox":"⪅","lessdot":"⋖","lesseqgtr":"⋚","lesseqqgtr":"⪋","LessEqualGreater":"⋚","LessFullEqual":"≦","LessGreater":"≶","lessgtr":"≶","LessLess":"⪡","lesssim":"≲","LessSlantEqual":"⩽","LessTilde":"≲","lfisht":"⥼","lfloor":"⌊","Lfr":"𝔏","lfr":"𝔩","lg":"≶","lgE":"⪑","lHar":"⥢","lhard":"↽","lharu":"↼","lharul":"⥪","lhblk":"▄","LJcy":"Љ","ljcy":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","lnap":"⪉","lnapprox":"⪉","lne":"⪇","lnE":"≨","lneq":"⪇","lneqq":"≨","lnsim":"⋦","loang":"⟬","loarr":"⇽","lobrk":"⟦","longleftarrow":"⟵","LongLeftArrow":"⟵","Longleftarrow":"⟸","longleftrightarrow":"⟷","LongLeftRightArrow":"⟷","Longleftrightarrow":"⟺","longmapsto":"⟼","longrightarrow":"⟶","LongRightArrow":"⟶","Longrightarrow":"⟹","looparrowleft":"↫","looparrowright":"↬","lopar":"⦅","Lopf":"𝕃","lopf":"𝕝","loplus":"⨭","lotimes":"⨴","lowast":"∗","lowbar":"_","LowerLeftArrow":"↙","LowerRightArrow":"↘","loz":"◊","lozenge":"◊","lozf":"⧫","lpar":"(","lparlt":"⦓","lrarr":"⇆","lrcorner":"⌟","lrhar":"⇋","lrhard":"⥭","lrm":"","lrtri":"⊿","lsaquo":"‹","lscr":"𝓁","Lscr":"ℒ","lsh":"↰","Lsh":"↰","lsim":"≲","lsime":"⪍","lsimg":"⪏","lsqb":"[","lsquo":"‘","lsquor":"‚","Lstrok":"Ł","lstrok":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","ltdot":"⋖","lthree":"⋋","ltimes":"⋉","ltlarr":"⥶","ltquest":"⩻","ltri":"◃","ltrie":"⊴","ltrif":"◂","ltrPar":"⦖","lurdshar":"⥊","luruhar":"⥦","lvertneqq":"≨︀","lvnE":"≨︀","macr":"¯","male":"♂","malt":"✠","maltese":"✠","Map":"⤅","map":"↦","mapsto":"↦","mapstodown":"↧","mapstoleft":"↤","mapstoup":"↥","marker":"▮","mcomma":"⨩","Mcy":"М","mcy":"м","mdash":"—","mDDot":"∺","measuredangle":"∡","MediumSpace":" ","Mellintrf":"ℳ","Mfr":"𝔐","mfr":"𝔪","mho":"℧","micro":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","minusd":"∸","minusdu":"⨪","MinusPlus":"∓","mlcp":"⫛","mldr":"…","mnplus":"∓","models":"⊧","Mopf":"𝕄","mopf":"𝕞","mp":"∓","mscr":"𝓂","Mscr":"ℳ","mstpos":"∾","Mu":"Μ","mu":"μ","multimap":"⊸","mumap":"⊸","nabla":"∇","Nacute":"Ń","nacute":"ń","nang":"∠⃒","nap":"≉","napE":"⩰̸","napid":"≋̸","napos":"ʼn","napprox":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","nedot":"≐̸","NegativeMediumSpace":"","NegativeThickSpace":"","NegativeThinSpace":"","NegativeVeryThinSpace":"","nequiv":"≢","nesear":"⤨","nesim":"≂̸","NestedGreaterGreater":"≫","NestedLessLess":"≪","NewLine":"\\n","nexist":"∄","nexists":"∄","Nfr":"𝔑","nfr":"𝔫","ngE":"≧̸","nge":"≱","ngeq":"≱","ngeqq":"≧̸","ngeqslant":"⩾̸","nges":"⩾̸","nGg":"⋙̸","ngsim":"≵","nGt":"≫⃒","ngt":"≯","ngtr":"≯","nGtv":"≫̸","nharr":"↮","nhArr":"⇎","nhpar":"⫲","ni":"∋","nis":"⋼","nisd":"⋺","niv":"∋","NJcy":"Њ","njcy":"њ","nlarr":"↚","nlArr":"⇍","nldr":"‥","nlE":"≦̸","nle":"≰","nleftarrow":"↚","nLeftarrow":"⇍","nleftrightarrow":"↮","nLeftrightarrow":"⇎","nleq":"≰","nleqq":"≦̸","nleqslant":"⩽̸","nles":"⩽̸","nless":"≮","nLl":"⋘̸","nlsim":"≴","nLt":"≪⃒","nlt":"≮","nltri":"⋪","nltrie":"⋬","nLtv":"≪̸","nmid":"∤","NoBreak":"","NonBreakingSpace":" ","nopf":"𝕟","Nopf":"ℕ","Not":"⫬","not":"¬","NotCongruent":"≢","NotCupCap":"≭","NotDoubleVerticalBar":"∦","NotElement":"∉","NotEqual":"≠","NotEqualTilde":"≂̸","NotExists":"∄","NotGreater":"≯","NotGreaterEqual":"≱","NotGreaterFullEqual":"≧̸","NotGreaterGreater":"≫̸","NotGreaterLess":"≹","NotGreaterSlantEqual":"⩾̸","NotGreaterTilde":"≵","NotHumpDownHump":"≎̸","NotHumpEqual":"≏̸","notin":"∉","notindot":"⋵̸","notinE":"⋹̸","notinva":"∉","notinvb":"⋷","notinvc":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","nrarrw":"↝̸","nrightarrow":"↛","nRightarrow":"⇏","nrtri":"⋫","nrtrie":"⋭","nsc":"⊁","nsccue":"⋡","nsce":"⪰̸","Nscr":"𝒩","nscr":"𝓃","nshortmid":"∤","nshortparallel":"∦","nsim":"≁","nsime":"≄","nsimeq":"≄","nsmid":"∤","nspar":"∦","nsqsube":"⋢","nsqsupe":"⋣","nsub":"⊄","nsubE":"⫅̸","nsube":"⊈","nsubset":"⊂⃒","nsubseteq":"⊈","nsubseteqq":"⫅̸","nsucc":"⊁","nsucceq":"⪰̸","nsup":"⊅","nsupE":"⫆̸","nsupe":"⊉","nsupset":"⊃⃒","nsupseteq":"⊉","nsupseteqq":"⫆̸","ntgl":"≹","Ntilde":"Ñ","ntilde":"ñ","ntlg":"≸","ntriangleleft":"⋪","ntrianglelefteq":"⋬","ntriangleright":"⋫","ntrianglerighteq":"⋭","Nu":"Ν","nu":"ν","num":"#","numero":"№","numsp":" ","nvap":"≍⃒","nvdash":"⊬","nvDash":"⊭","nVdash":"⊮","nVDash":"⊯","nvge":"≥⃒","nvgt":">⃒","nvHarr":"⤄","nvinfin":"⧞","nvlArr":"⤂","nvle":"≤⃒","nvlt":"<⃒","nvltrie":"⊴⃒","nvrArr":"⤃","nvrtrie":"⊵⃒","nvsim":"∼⃒","nwarhk":"⤣","nwarr":"↖","nwArr":"⇖","nwarrow":"↖","nwnear":"⤧","Oacute":"Ó","oacute":"ó","oast":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","Ocy":"О","ocy":"о","odash":"⊝","Odblac":"Ő","odblac":"ő","odiv":"⨸","odot":"⊙","odsold":"⦼","OElig":"Œ","oelig":"œ","ofcir":"⦿","Ofr":"𝔒","ofr":"𝔬","ogon":"˛","Ograve":"Ò","ograve":"ò","ogt":"⧁","ohbar":"⦵","ohm":"Ω","oint":"∮","olarr":"↺","olcir":"⦾","olcross":"⦻","oline":"‾","olt":"⧀","Omacr":"Ō","omacr":"ō","Omega":"Ω","omega":"ω","Omicron":"Ο","omicron":"ο","omid":"⦶","ominus":"⊖","Oopf":"𝕆","oopf":"𝕠","opar":"⦷","OpenCurlyDoubleQuote":"“","OpenCurlyQuote":"‘","operp":"⦹","oplus":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","parsim":"⫳","parsl":"⫽","part":"∂","PartialD":"∂","Pcy":"П","pcy":"п","percnt":"%","period":".","permil":"‰","perp":"⊥","pertenk":"‱","Pfr":"𝔓","pfr":"𝔭","Phi":"Φ","phi":"φ","phiv":"ϕ","phmmat":"ℳ","phone":"☎","Pi":"Π","pi":"π","pitchfork":"⋔","piv":"ϖ","planck":"ℏ","planckh":"ℎ","plankv":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","propto":"∝","prsim":"≾","prurel":"⊰","Pscr":"𝒫","pscr":"𝓅","Psi":"Ψ","psi":"ψ","puncsp":" ","Qfr":"𝔔","qfr":"𝔮","qint":"⨌","qopf":"𝕢","Qopf":"ℚ","qprime":"⁗","Qscr":"𝒬","qscr":"𝓆","quaternions":"ℍ","quatint":"⨖","quest":"?","questeq":"≟","quot":"\\"","QUOT":"\\"","rAarr":"⇛","race":"∽̱","Racute":"Ŕ","racute":"ŕ","radic":"√","raemptyv":"⦳","rang":"⟩","Rang":"⟫","rangd":"⦒","range":"⦥","rangle":"⟩","raquo":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","rarrfs":"⤞","rarrhk":"↪","rarrlp":"↬","rarrpl":"⥅","rarrsim":"⥴","Rarrtl":"⤖","rarrtl":"↣","rarrw":"↝","ratail":"⤚","rAtail":"⤜","ratio":"∶","rationals":"ℚ","rbarr":"⤍","rBarr":"⤏","RBarr":"⤐","rbbrk":"❳","rbrace":"}","rbrack":"]","rbrke":"⦌","rbrksld":"⦎","rbrkslu":"⦐","Rcaron":"Ř","rcaron":"ř","Rcedil":"Ŗ","rcedil":"ŗ","rceil":"⌉","rcub":"}","Rcy":"Р","rcy":"р","rdca":"⤷","rdldhar":"⥩","rdquo":"”","rdquor":"”","rdsh":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","rnmid":"⫮","roang":"⟭","roarr":"⇾","robrk":"⟧","ropar":"⦆","ropf":"𝕣","Ropf":"ℝ","roplus":"⨮","rotimes":"⨵","RoundImplies":"⥰","rpar":")","rpargt":"⦔","rppolint":"⨒","rrarr":"⇉","Rrightarrow":"⇛","rsaquo":"›","rscr":"𝓇","Rscr":"ℛ","rsh":"↱","Rsh":"↱","rsqb":"]","rsquo":"’","rsquor":"’","rthree":"⋌","rtimes":"⋊","rtri":"▹","rtrie":"⊵","rtrif":"▸","rtriltri":"⧎","RuleDelayed":"⧴","ruluhar":"⥨","rx":"℞","Sacute":"Ś","sacute":"ś","sbquo":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","sdote":"⩦","searhk":"⤥","searr":"↘","seArr":"⇘","searrow":"↘","sect":"§","semi":";","seswar":"⤩","setminus":"∖","setmn":"∖","sext":"✶","Sfr":"𝔖","sfr":"𝔰","sfrown":"⌢","sharp":"♯","SHCHcy":"Щ","shchcy":"щ","SHcy":"Ш","shcy":"ш","ShortDownArrow":"↓","ShortLeftArrow":"←","shortmid":"∣","shortparallel":"∥","ShortRightArrow":"→","ShortUpArrow":"↑","shy":"","Sigma":"Σ","sigma":"σ","sigmaf":"ς","sigmav":"ς","sim":"∼","simdot":"⩪","sime":"≃","simeq":"≃","simg":"⪞","simgE":"⪠","siml":"⪝","simlE":"⪟","simne":"≆","simplus":"⨤","simrarr":"⥲","slarr":"←","SmallCircle":"∘","smallsetminus":"∖","smashp":"⨳","smeparsl":"⧤","smid":"∣","smile":"⌣","smt":"⪪","smte":"⪬","smtes":"⪬︀","SOFTcy":"Ь","softcy":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","squf":"▪","srarr":"→","Sscr":"𝒮","sscr":"𝓈","ssetmn":"∖","ssmile":"⌣","sstarf":"⋆","Star":"⋆","star":"☆","starf":"★","straightepsilon":"ϵ","straightphi":"ϕ","strns":"¯","sub":"⊂","Sub":"⋐","subdot":"⪽","subE":"⫅","sube":"⊆","subedot":"⫃","submult":"⫁","subnE":"⫋","subne":"⊊","subplus":"⪿","subrarr":"⥹","subset":"⊂","Subset":"⋐","subseteq":"⊆","subseteqq":"⫅","SubsetEqual":"⊆","subsetneq":"⊊","subsetneqq":"⫋","subsim":"⫇","subsub":"⫕","subsup":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","supdot":"⪾","supdsub":"⫘","supE":"⫆","supe":"⊇","supedot":"⫄","Superset":"⊃","SupersetEqual":"⊇","suphsol":"⟉","suphsub":"⫗","suplarr":"⥻","supmult":"⫂","supnE":"⫌","supne":"⊋","supplus":"⫀","supset":"⊃","Supset":"⋑","supseteq":"⊇","supseteqq":"⫆","supsetneq":"⊋","supsetneqq":"⫌","supsim":"⫈","supsub":"⫔","supsup":"⫖","swarhk":"⤦","swarr":"↙","swArr":"⇙","swarrow":"↙","swnwar":"⤪","szlig":"ß","Tab":"\\t","target":"⌖","Tau":"Τ","tau":"τ","tbrk":"⎴","Tcaron":"Ť","tcaron":"ť","Tcedil":"Ţ","tcedil":"ţ","Tcy":"Т","tcy":"т","tdot":"⃛","telrec":"⌕","Tfr":"𝔗","tfr":"𝔱","there4":"∴","therefore":"∴","Therefore":"∴","Theta":"Θ","theta":"θ","thetasym":"ϑ","thetav":"ϑ","thickapprox":"≈","thicksim":"∼","ThickSpace":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","Topf":"𝕋","topf":"𝕥","topfork":"⫚","tosa":"⤩","tprime":"‴","trade":"™","TRADE":"™","triangle":"▵","triangledown":"▿","triangleleft":"◃","trianglelefteq":"⊴","triangleq":"≜","triangleright":"▹","trianglerighteq":"⊵","tridot":"◬","trie":"≜","triminus":"⨺","TripleDot":"⃛","triplus":"⨹","trisb":"⧍","tritime":"⨻","trpezium":"⏢","Tscr":"𝒯","tscr":"𝓉","TScy":"Ц","tscy":"ц","TSHcy":"Ћ","tshcy":"ћ","Tstrok":"Ŧ","tstrok":"ŧ","twixt":"≬","twoheadleftarrow":"↞","twoheadrightarrow":"↠","Uacute":"Ú","uacute":"ú","uarr":"↑","Uarr":"↟","uArr":"⇑","Uarrocir":"⥉","Ubrcy":"Ў","ubrcy":"ў","Ubreve":"Ŭ","ubreve":"ŭ","Ucirc":"Û","ucirc":"û","Ucy":"У","ucy":"у","udarr":"⇅","Udblac":"Ű","udblac":"ű","udhar":"⥮","ufisht":"⥾","Ufr":"𝔘","ufr":"𝔲","Ugrave":"Ù","ugrave":"ù","uHar":"⥣","uharl":"↿","uharr":"↾","uhblk":"▀","ulcorn":"⌜","ulcorner":"⌜","ulcrop":"⌏","ultri":"◸","Umacr":"Ū","umacr":"ū","uml":"¨","UnderBar":"_","UnderBrace":"⏟","UnderBracket":"⎵","UnderParenthesis":"⏝","Union":"⋃","UnionPlus":"⊎","Uogon":"Ų","uogon":"ų","Uopf":"𝕌","uopf":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","upuparrows":"⇈","urcorn":"⌝","urcorner":"⌝","urcrop":"⌎","Uring":"Ů","uring":"ů","urtri":"◹","Uscr":"𝒰","uscr":"𝓊","utdot":"⋰","Utilde":"Ũ","utilde":"ũ","utri":"▵","utrif":"▴","uuarr":"⇈","Uuml":"Ü","uuml":"ü","uwangle":"⦧","vangrt":"⦜","varepsilon":"ϵ","varkappa":"ϰ","varnothing":"∅","varphi":"ϕ","varpi":"ϖ","varpropto":"∝","varr":"↕","vArr":"⇕","varrho":"ϱ","varsigma":"ς","varsubsetneq":"⊊︀","varsubsetneqq":"⫋︀","varsupsetneq":"⊋︀","varsupsetneqq":"⫌︀","vartheta":"ϑ","vartriangleleft":"⊲","vartriangleright":"⊳","vBar":"⫨","Vbar":"⫫","vBarv":"⫩","Vcy":"В","vcy":"в","vdash":"⊢","vDash":"⊨","Vdash":"⊩","VDash":"⊫","Vdashl":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","veeeq":"≚","vellip":"⋮","verbar":"|","Verbar":"‖","vert":"|","Vert":"‖","VerticalBar":"∣","VerticalLine":"|","VerticalSeparator":"❘","VerticalTilde":"≀","VeryThinSpace":" ","Vfr":"𝔙","vfr":"𝔳","vltri":"⊲","vnsub":"⊂⃒","vnsup":"⊃⃒","Vopf":"𝕍","vopf":"𝕧","vprop":"∝","vrtri":"⊳","Vscr":"𝒱","vscr":"𝓋","vsubnE":"⫋︀","vsubne":"⊊︀","vsupnE":"⫌︀","vsupne":"⊋︀","Vvdash":"⊪","vzigzag":"⦚","Wcirc":"Ŵ","wcirc":"ŵ","wedbar":"⩟","wedge":"∧","Wedge":"⋀","wedgeq":"≙","weierp":"℘","Wfr":"𝔚","wfr":"𝔴","Wopf":"𝕎","wopf":"𝕨","wp":"℘","wr":"≀","wreath":"≀","Wscr":"𝒲","wscr":"𝓌","xcap":"⋂","xcirc":"◯","xcup":"⋃","xdtri":"▽","Xfr":"𝔛","xfr":"𝔵","xharr":"⟷","xhArr":"⟺","Xi":"Ξ","xi":"ξ","xlarr":"⟵","xlArr":"⟸","xmap":"⟼","xnis":"⋻","xodot":"⨀","Xopf":"𝕏","xopf":"𝕩","xoplus":"⨁","xotime":"⨂","xrarr":"⟶","xrArr":"⟹","Xscr":"𝒳","xscr":"𝓍","xsqcup":"⨆","xuplus":"⨄","xutri":"△","xvee":"⋁","xwedge":"⋀","Yacute":"Ý","yacute":"ý","YAcy":"Я","yacy":"я","Ycirc":"Ŷ","ycirc":"ŷ","Ycy":"Ы","ycy":"ы","yen":"¥","Yfr":"𝔜","yfr":"𝔶","YIcy":"Ї","yicy":"ї","Yopf":"𝕐","yopf":"𝕪","Yscr":"𝒴","yscr":"𝓎","YUcy":"Ю","yucy":"ю","yuml":"ÿ","Yuml":"Ÿ","Zacute":"Ź","zacute":"ź","Zcaron":"Ž","zcaron":"ž","Zcy":"З","zcy":"з","Zdot":"Ż","zdot":"ż","zeetrf":"ℨ","ZeroWidthSpace":"","Zeta":"Ζ","zeta":"ζ","zfr":"𝔷","Zfr":"ℨ","ZHcy":"Ж","zhcy":"ж","zigrarr":"⇝","zopf":"𝕫","Zopf":"ℤ","Zscr":"𝒵","zscr":"𝓏","zwj":"","zwnj":""}')},function(t){t.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){return o.default[t.type](t,e,r)};var n,a=r(42),o=(n=a)&&n.__esModule?n:{default:n}},function(t,e,r){var n=r(20),a={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},o={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:a,input:a,output:a,button:a,datalist:a,textarea:a,option:{option:!0},optgroup:{optgroup:!0}},i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},c={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},l=/\s|\//;function u(t,e){this._options=e||{},this._cbs=t||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(14)(u,r(44).EventEmitter),u.prototype._updatePosition=function(t){null===this.endIndex?this._tokenizer._sectionStart<=t?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-t:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(t){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(t)},u.prototype.onopentagname=function(t){if(this._lowerCaseTagNames&&(t=t.toLowerCase()),this._tagname=t,!this._options.xmlMode&&t in o)for(var e;(e=this._stack[this._stack.length-1])in o[t];this.onclosetag(e));!this._options.xmlMode&&t in i||(this._stack.push(t),t in s?this._foreignContext.push(!0):t in c&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(t),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in i&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(t){if(this._updatePosition(1),this._lowerCaseTagNames&&(t=t.toLowerCase()),(t in s||t in c)&&this._foreignContext.pop(),!this._stack.length||t in i&&!this._options.xmlMode)this._options.xmlMode||"br"!==t&&"p"!==t||(this.onopentagname(t),this._closeCurrentTag());else{var e=this._stack.lastIndexOf(t);if(-1!==e)if(this._cbs.onclosetag)for(e=this._stack.length-e;e--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=e;else"p"!==t||this._options.xmlMode||(this.onopentagname(t),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var t=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===t&&(this._cbs.onclosetag&&this._cbs.onclosetag(t),this._stack.pop())},u.prototype.onattribname=function(t){this._lowerCaseAttributeNames&&(t=t.toLowerCase()),this._attribname=t},u.prototype.onattribdata=function(t){this._attribvalue+=t},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(t){var e=t.search(l),r=e<0?t:t.substr(0,e);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("!"+e,"!"+t)}},u.prototype.onprocessinginstruction=function(t){if(this._cbs.onprocessinginstruction){var e=this._getInstructionName(t);this._cbs.onprocessinginstruction("?"+e,"?"+t)}},u.prototype.oncomment=function(t){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(t),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(t){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(t),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+t+"]]")},u.prototype.onerror=function(t){this._cbs.onerror&&this._cbs.onerror(t)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var t=this._stack.length;t>0;this._cbs.onclosetag(this._stack[--t]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(t){this.reset(),this.end(t)},u.prototype.write=function(t){this._tokenizer.write(t)},u.prototype.end=function(t){this._tokenizer.end(t)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,t.exports=u},function(t,e,r){t.exports=bt;var n=r(21),a=r(16),o=r(22),i=r(17),s=0,c=s++,l=s++,u=s++,p=s++,h=s++,d=s++,f=s++,m=s++,b=s++,g=s++,v=s++,y=s++,_=s++,O=s++,k=s++,w=s++,j=s++,E=s++,C=s++,S=s++,x=s++,N=s++,R=s++,T=s++,A=s++,D=s++,P=s++,z=s++,L=s++,q=s++,I=s++,B=s++,M=s++,V=s++,Q=s++,U=s++,H=s++,F=s++,G=s++,Y=s++,J=s++,X=s++,W=s++,Z=s++,K=s++,$=s++,tt=s++,et=s++,rt=s++,nt=s++,at=s++,ot=s++,it=s++,st=s++,ct=s++,lt=0,ut=lt++,pt=lt++,ht=lt++;function dt(t){return" "===t||"\n"===t||"\t"===t||"\f"===t||"\r"===t}function ft(t,e,r){var n=t.toLowerCase();return t===n?function(t){t===n?this._state=e:(this._state=r,this._index--)}:function(a){a===n||a===t?this._state=e:(this._state=r,this._index--)}}function mt(t,e){var r=t.toLowerCase();return function(n){n===r||n===t?this._state=e:(this._state=u,this._index--)}}function bt(t,e){this._state=c,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=c,this._special=ut,this._cbs=e,this._running=!0,this._ended=!1,this._xmlMode=!(!t||!t.xmlMode),this._decodeEntities=!(!t||!t.decodeEntities)}bt.prototype._stateText=function(t){"<"===t?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=l,this._sectionStart=this._index):this._decodeEntities&&this._special===ut&&"&"===t&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=c,this._state=at,this._sectionStart=this._index)},bt.prototype._stateBeforeTagName=function(t){"/"===t?this._state=h:"<"===t?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===t||this._special!==ut||dt(t)?this._state=c:"!"===t?(this._state=k,this._sectionStart=this._index+1):"?"===t?(this._state=j,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==t&&"S"!==t?u:I,this._sectionStart=this._index)},bt.prototype._stateInTagName=function(t){("/"===t||">"===t||dt(t))&&(this._emitToken("onopentagname"),this._state=m,this._index--)},bt.prototype._stateBeforeCloseingTagName=function(t){dt(t)||(">"===t?this._state=c:this._special!==ut?"s"===t||"S"===t?this._state=B:(this._state=c,this._index--):(this._state=d,this._sectionStart=this._index))},bt.prototype._stateInCloseingTagName=function(t){(">"===t||dt(t))&&(this._emitToken("onclosetag"),this._state=f,this._index--)},bt.prototype._stateAfterCloseingTagName=function(t){">"===t&&(this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeAttributeName=function(t){">"===t?(this._cbs.onopentagend(),this._state=c,this._sectionStart=this._index+1):"/"===t?this._state=p:dt(t)||(this._state=b,this._sectionStart=this._index)},bt.prototype._stateInSelfClosingTag=function(t){">"===t?(this._cbs.onselfclosingtag(),this._state=c,this._sectionStart=this._index+1):dt(t)||(this._state=m,this._index--)},bt.prototype._stateInAttributeName=function(t){("="===t||"/"===t||">"===t||dt(t))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=g,this._index--)},bt.prototype._stateAfterAttributeName=function(t){"="===t?this._state=v:"/"===t||">"===t?(this._cbs.onattribend(),this._state=m,this._index--):dt(t)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)},bt.prototype._stateBeforeAttributeValue=function(t){'"'===t?(this._state=y,this._sectionStart=this._index+1):"'"===t?(this._state=_,this._sectionStart=this._index+1):dt(t)||(this._state=O,this._sectionStart=this._index,this._index--)},bt.prototype._stateInAttributeValueDoubleQuotes=function(t){'"'===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueSingleQuotes=function(t){"'"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateInAttributeValueNoQuotes=function(t){dt(t)||">"===t?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=m,this._index--):this._decodeEntities&&"&"===t&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=at,this._sectionStart=this._index)},bt.prototype._stateBeforeDeclaration=function(t){this._state="["===t?N:"-"===t?E:w},bt.prototype._stateInDeclaration=function(t){">"===t&&(this._cbs.ondeclaration(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateInProcessingInstruction=function(t){">"===t&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=c,this._sectionStart=this._index+1)},bt.prototype._stateBeforeComment=function(t){"-"===t?(this._state=C,this._sectionStart=this._index+1):this._state=w},bt.prototype._stateInComment=function(t){"-"===t&&(this._state=S)},bt.prototype._stateAfterComment1=function(t){this._state="-"===t?x:C},bt.prototype._stateAfterComment2=function(t){">"===t?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"-"!==t&&(this._state=C)},bt.prototype._stateBeforeCdata1=ft("C",R,w),bt.prototype._stateBeforeCdata2=ft("D",T,w),bt.prototype._stateBeforeCdata3=ft("A",A,w),bt.prototype._stateBeforeCdata4=ft("T",D,w),bt.prototype._stateBeforeCdata5=ft("A",P,w),bt.prototype._stateBeforeCdata6=function(t){"["===t?(this._state=z,this._sectionStart=this._index+1):(this._state=w,this._index--)},bt.prototype._stateInCdata=function(t){"]"===t&&(this._state=L)},bt.prototype._stateAfterCdata1=function(t){this._state="]"===t?q:z},bt.prototype._stateAfterCdata2=function(t){">"===t?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=c,this._sectionStart=this._index+1):"]"!==t&&(this._state=z)},bt.prototype._stateBeforeSpecial=function(t){"c"===t||"C"===t?this._state=M:"t"===t||"T"===t?this._state=W:(this._state=u,this._index--)},bt.prototype._stateBeforeSpecialEnd=function(t){this._special!==pt||"c"!==t&&"C"!==t?this._special!==ht||"t"!==t&&"T"!==t?this._state=c:this._state=tt:this._state=F},bt.prototype._stateBeforeScript1=mt("R",V),bt.prototype._stateBeforeScript2=mt("I",Q),bt.prototype._stateBeforeScript3=mt("P",U),bt.prototype._stateBeforeScript4=mt("T",H),bt.prototype._stateBeforeScript5=function(t){("/"===t||">"===t||dt(t))&&(this._special=pt),this._state=u,this._index--},bt.prototype._stateAfterScript1=ft("R",G,c),bt.prototype._stateAfterScript2=ft("I",Y,c),bt.prototype._stateAfterScript3=ft("P",J,c),bt.prototype._stateAfterScript4=ft("T",X,c),bt.prototype._stateAfterScript5=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-6,this._index--):this._state=c},bt.prototype._stateBeforeStyle1=mt("Y",Z),bt.prototype._stateBeforeStyle2=mt("L",K),bt.prototype._stateBeforeStyle3=mt("E",$),bt.prototype._stateBeforeStyle4=function(t){("/"===t||">"===t||dt(t))&&(this._special=ht),this._state=u,this._index--},bt.prototype._stateAfterStyle1=ft("Y",et,c),bt.prototype._stateAfterStyle2=ft("L",rt,c),bt.prototype._stateAfterStyle3=ft("E",nt,c),bt.prototype._stateAfterStyle4=function(t){">"===t||dt(t)?(this._special=ut,this._state=d,this._sectionStart=this._index-5,this._index--):this._state=c},bt.prototype._stateBeforeEntity=ft("#",ot,it),bt.prototype._stateBeforeNumericEntity=ft("X",ct,st),bt.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var t=this._buffer.substring(this._sectionStart+1,this._index),e=this._xmlMode?i:a;e.hasOwnProperty(t)&&(this._emitPartial(e[t]),this._sectionStart=this._index+1)}},bt.prototype._parseLegacyEntity=function(){var t=this._sectionStart+1,e=this._index-t;for(e>6&&(e=6);e>=2;){var r=this._buffer.substr(t,e);if(o.hasOwnProperty(r))return this._emitPartial(o[r]),void(this._sectionStart+=e+1);e--}},bt.prototype._stateInNamedEntity=function(t){";"===t?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(t<"a"||t>"z")&&(t<"A"||t>"Z")&&(t<"0"||t>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==c?"="!==t&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},bt.prototype._decodeNumericEntity=function(t,e){var r=this._sectionStart+t;if(r!==this._index){var a=this._buffer.substring(r,this._index),o=parseInt(a,e);this._emitPartial(n(o)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},bt.prototype._stateInNumericEntity=function(t){";"===t?(this._decodeNumericEntity(2,10),this._sectionStart++):(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},bt.prototype._stateInHexEntity=function(t){";"===t?(this._decodeNumericEntity(3,16),this._sectionStart++):(t<"a"||t>"f")&&(t<"A"||t>"F")&&(t<"0"||t>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},bt.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===c?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},bt.prototype.write=function(t){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=t,this._parse()},bt.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var t=this._buffer.charAt(this._index);this._state===c?this._stateText(t):this._state===l?this._stateBeforeTagName(t):this._state===u?this._stateInTagName(t):this._state===h?this._stateBeforeCloseingTagName(t):this._state===d?this._stateInCloseingTagName(t):this._state===f?this._stateAfterCloseingTagName(t):this._state===p?this._stateInSelfClosingTag(t):this._state===m?this._stateBeforeAttributeName(t):this._state===b?this._stateInAttributeName(t):this._state===g?this._stateAfterAttributeName(t):this._state===v?this._stateBeforeAttributeValue(t):this._state===y?this._stateInAttributeValueDoubleQuotes(t):this._state===_?this._stateInAttributeValueSingleQuotes(t):this._state===O?this._stateInAttributeValueNoQuotes(t):this._state===k?this._stateBeforeDeclaration(t):this._state===w?this._stateInDeclaration(t):this._state===j?this._stateInProcessingInstruction(t):this._state===E?this._stateBeforeComment(t):this._state===C?this._stateInComment(t):this._state===S?this._stateAfterComment1(t):this._state===x?this._stateAfterComment2(t):this._state===N?this._stateBeforeCdata1(t):this._state===R?this._stateBeforeCdata2(t):this._state===T?this._stateBeforeCdata3(t):this._state===A?this._stateBeforeCdata4(t):this._state===D?this._stateBeforeCdata5(t):this._state===P?this._stateBeforeCdata6(t):this._state===z?this._stateInCdata(t):this._state===L?this._stateAfterCdata1(t):this._state===q?this._stateAfterCdata2(t):this._state===I?this._stateBeforeSpecial(t):this._state===B?this._stateBeforeSpecialEnd(t):this._state===M?this._stateBeforeScript1(t):this._state===V?this._stateBeforeScript2(t):this._state===Q?this._stateBeforeScript3(t):this._state===U?this._stateBeforeScript4(t):this._state===H?this._stateBeforeScript5(t):this._state===F?this._stateAfterScript1(t):this._state===G?this._stateAfterScript2(t):this._state===Y?this._stateAfterScript3(t):this._state===J?this._stateAfterScript4(t):this._state===X?this._stateAfterScript5(t):this._state===W?this._stateBeforeStyle1(t):this._state===Z?this._stateBeforeStyle2(t):this._state===K?this._stateBeforeStyle3(t):this._state===$?this._stateBeforeStyle4(t):this._state===tt?this._stateAfterStyle1(t):this._state===et?this._stateAfterStyle2(t):this._state===rt?this._stateAfterStyle3(t):this._state===nt?this._stateAfterStyle4(t):this._state===at?this._stateBeforeEntity(t):this._state===ot?this._stateBeforeNumericEntity(t):this._state===it?this._stateInNamedEntity(t):this._state===st?this._stateInNumericEntity(t):this._state===ct?this._stateInHexEntity(t):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},bt.prototype.pause=function(){this._running=!1},bt.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},bt.prototype.end=function(t){this._ended&&this._cbs.onerror(Error(".end() after done!")),t&&this.write(t),this._ended=!0,this._running&&this._finish()},bt.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},bt.prototype._handleTrailingData=function(){var t=this._buffer.substr(this._sectionStart);this._state===z||this._state===L||this._state===q?this._cbs.oncdata(t):this._state===C||this._state===S||this._state===x?this._cbs.oncomment(t):this._state!==it||this._xmlMode?this._state!==st||this._xmlMode?this._state!==ct||this._xmlMode?this._state!==u&&this._state!==m&&this._state!==v&&this._state!==g&&this._state!==b&&this._state!==_&&this._state!==y&&this._state!==O&&this._state!==d&&this._cbs.ontext(t):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},bt.prototype.reset=function(){bt.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},bt.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},bt.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},bt.prototype._emitToken=function(t){this._cbs[t](this._getSection()),this._sectionStart=-1},bt.prototype._emitPartial=function(t){this._baseState!==c?this._cbs.onattribdata(t):this._cbs.ontext(t)}},function(t,e,r){var n=r(43);t.exports=function(t){if(t>=55296&&t<=57343||t>1114111)return"�";t in n&&(t=n[t]);var e="";t>65535&&(t-=65536,e+=String.fromCharCode(t>>>10&1023|55296),t=56320|1023&t);return e+=String.fromCharCode(t)}},function(t){t.exports=JSON.parse('{"Aacute":"Á","aacute":"á","Acirc":"Â","acirc":"â","acute":"´","AElig":"Æ","aelig":"æ","Agrave":"À","agrave":"à","amp":"&","AMP":"&","Aring":"Å","aring":"å","Atilde":"Ã","atilde":"ã","Auml":"Ä","auml":"ä","brvbar":"¦","Ccedil":"Ç","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","COPY":"©","curren":"¤","deg":"°","divide":"÷","Eacute":"É","eacute":"é","Ecirc":"Ê","ecirc":"ê","Egrave":"È","egrave":"è","ETH":"Ð","eth":"ð","Euml":"Ë","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","GT":">","Iacute":"Í","iacute":"í","Icirc":"Î","icirc":"î","iexcl":"¡","Igrave":"Ì","igrave":"ì","iquest":"¿","Iuml":"Ï","iuml":"ï","laquo":"«","lt":"<","LT":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","Ntilde":"Ñ","ntilde":"ñ","Oacute":"Ó","oacute":"ó","Ocirc":"Ô","ocirc":"ô","Ograve":"Ò","ograve":"ò","ordf":"ª","ordm":"º","Oslash":"Ø","oslash":"ø","Otilde":"Õ","otilde":"õ","Ouml":"Ö","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","QUOT":"\\"","raquo":"»","reg":"®","REG":"®","sect":"§","shy":"","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","THORN":"Þ","thorn":"þ","times":"×","Uacute":"Ú","uacute":"ú","Ucirc":"Û","ucirc":"û","Ugrave":"Ù","ugrave":"ù","uml":"¨","Uuml":"Ü","uuml":"ü","Yacute":"Ý","yacute":"ý","yen":"¥","yuml":"ÿ"}')},function(t,e,r){var n=r(13),a=/\s+/g,o=r(24),i=r(45);function s(t,e,r){"object"==typeof t?(r=e,e=t,t=null):"function"==typeof e&&(r=e,e=c),this._callback=t,this._options=e||c,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var c={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(t){this._parser=t},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(t){if("function"==typeof this._callback)this._callback(t,this.dom);else if(t)throw t},s.prototype.onclosetag=function(){var t=this._tagStack.pop();this._options.withEndIndices&&t&&(t.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(t)},s.prototype._createDomElement=function(t){if(!this._options.withDomLvl1)return t;var e;for(var r in e="tag"===t.type?Object.create(i):Object.create(o),t)t.hasOwnProperty(r)&&(e[r]=t[r]);return e},s.prototype._addDomElement=function(t){var e=this._tagStack[this._tagStack.length-1],r=e?e.children:this.dom,n=r[r.length-1];t.next=null,this._options.withStartIndices&&(t.startIndex=this._parser.startIndex),this._options.withEndIndices&&(t.endIndex=this._parser.endIndex),n?(t.prev=n,n.next=t):t.prev=null,r.push(t),t.parent=e||null},s.prototype.onopentag=function(t,e){var r={type:"script"===t?n.Script:"style"===t?n.Style:n.Tag,name:t,attribs:e,children:[]},a=this._createDomElement(r);this._addDomElement(a),this._tagStack.push(a)},s.prototype.ontext=function(t){var e,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(e=this.dom[this.dom.length-1]).type===n.Text)r?e.data=(e.data+t).replace(a," "):e.data+=t;else if(this._tagStack.length&&(e=this._tagStack[this._tagStack.length-1])&&(e=e.children[e.children.length-1])&&e.type===n.Text)r?e.data=(e.data+t).replace(a," "):e.data+=t;else{r&&(t=t.replace(a," "));var o=this._createDomElement({data:t,type:n.Text});this._addDomElement(o)}},s.prototype.oncomment=function(t){var e=this._tagStack[this._tagStack.length-1];if(e&&e.type===n.Comment)e.data+=t;else{var r={data:t,type:n.Comment},a=this._createDomElement(r);this._addDomElement(a),this._tagStack.push(a)}},s.prototype.oncdatastart=function(){var t={children:[{data:"",type:n.Text}],type:n.CDATA},e=this._createDomElement(t);this._addDomElement(e),this._tagStack.push(e)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(t,e){var r=this._createDomElement({name:t,data:e,type:n.Directive});this._addDomElement(r)},t.exports=s},function(t,e){var r=t.exports={get firstChild(){var t=this.children;return t&&t[0]||null},get lastChild(){var t=this.children;return t&&t[t.length-1]||null},get nodeType(){return a[this.type]||a.element}},n={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},a={element:1,text:3,cdata:4,comment:8};Object.keys(n).forEach((function(t){var e=n[t];Object.defineProperty(r,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=t.exports;[r(47),r(52),r(53),r(54),r(55),r(56)].forEach((function(t){Object.keys(t).forEach((function(e){n[e]=t[e].bind(n)}))}))},function(t,e,r){t.exports=s;var n=r(19),a=r(58).Writable,o=r(59).StringDecoder,i=r(27).Buffer;function s(t,e){var r=this._parser=new n(t,e),i=this._decoder=new o;a.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(i.end())}))}r(14)(s,a),s.prototype._write=function(t,e,r){t instanceof i&&(t=this._decoder.write(t)),this._parser.write(t),r()}},function(t,e,r){"use strict";(function(t){ /*! * The buffer module from node.js, for the browser. * * @author Feross Aboukhadijeh <http://feross.org> * @license MIT */ var n=r(62),a=r(63),o=r(64);function i(){return c.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(t,e){if(i()<e)throw new RangeError("Invalid typed array length");return c.TYPED_ARRAY_SUPPORT?(t=new Uint8Array(e)).__proto__=c.prototype:(null===t&&(t=new c(e)),t.length=e),t}function c(t,e,r){if(!(c.TYPED_ARRAY_SUPPORT||this instanceof c))return new c(t,e,r);if("number"==typeof t){if("string"==typeof e)throw new Error("If encoding is specified then the first argument must be a string");return p(this,t)}return l(this,t,e,r)}function l(t,e,r,n){if("number"==typeof e)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer?function(t,e,r,n){if(e.byteLength,r<0||e.byteLength<r)throw new RangeError("'offset' is out of bounds");if(e.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");e=void 0===r&&void 0===n?new Uint8Array(e):void 0===n?new Uint8Array(e,r):new Uint8Array(e,r,n);c.TYPED_ARRAY_SUPPORT?(t=e).__proto__=c.prototype:t=h(t,e);return t}(t,e,r,n):"string"==typeof e?function(t,e,r){"string"==typeof r&&""!==r||(r="utf8");if(!c.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|f(e,r),a=(t=s(t,n)).write(e,r);a!==n&&(t=t.slice(0,a));return t}(t,e,r):function(t,e){if(c.isBuffer(e)){var r=0|d(e.length);return 0===(t=s(t,r)).length||e.copy(t,0,0,r),t}if(e){if("undefined"!=typeof ArrayBuffer&&e.buffer instanceof ArrayBuffer||"length"in e)return"number"!=typeof e.length||(n=e.length)!=n?s(t,0):h(t,e);if("Buffer"===e.type&&o(e.data))return h(t,e.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(t,e)}function u(t){if("number"!=typeof t)throw new TypeError('"size" argument must be a number');if(t<0)throw new RangeError('"size" argument must not be negative')}function p(t,e){if(u(e),t=s(t,e<0?0:0|d(e)),!c.TYPED_ARRAY_SUPPORT)for(var r=0;r<e;++r)t[r]=0;return t}function h(t,e){var r=e.length<0?0:0|d(e.length);t=s(t,r);for(var n=0;n<r;n+=1)t[n]=255&e[n];return t}function d(t){if(t>=i())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+i().toString(16)+" bytes");return 0|t}function f(t,e){if(c.isBuffer(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return M(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(t).length;default:if(n)return M(t).length;e=(""+e).toLowerCase(),n=!0}}function m(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return N(this,e,r);case"utf8":case"utf-8":return C(this,e,r);case"ascii":return S(this,e,r);case"latin1":case"binary":return x(this,e,r);case"base64":return E(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function b(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function g(t,e,r,n,a){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=a?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(a)return-1;r=t.length-1}else if(r<0){if(!a)return-1;r=0}if("string"==typeof e&&(e=c.from(e,n)),c.isBuffer(e))return 0===e.length?-1:v(t,e,r,n,a);if("number"==typeof e)return e&=255,c.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?a?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):v(t,[e],r,n,a);throw new TypeError("val must be string, number or Buffer")}function v(t,e,r,n,a){var o,i=1,s=t.length,c=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;i=2,s/=2,c/=2,r/=2}function l(t,e){return 1===i?t[e]:t.readUInt16BE(e*i)}if(a){var u=-1;for(o=r;o<s;o++)if(l(t,o)===l(e,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===c)return u*i}else-1!==u&&(o-=o-u),u=-1}else for(r+c>s&&(r=s-c),o=r;o>=0;o--){for(var p=!0,h=0;h<c;h++)if(l(t,o+h)!==l(e,h)){p=!1;break}if(p)return o}return-1}function y(t,e,r,n){r=Number(r)||0;var a=t.length-r;n?(n=Number(n))>a&&(n=a):n=a;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var i=0;i<n;++i){var s=parseInt(e.substr(2*i,2),16);if(isNaN(s))return i;t[r+i]=s}return i}function _(t,e,r,n){return Q(M(e,t.length-r),t,r,n)}function O(t,e,r,n){return Q(function(t){for(var e=[],r=0;r<t.length;++r)e.push(255&t.charCodeAt(r));return e}(e),t,r,n)}function k(t,e,r,n){return O(t,e,r,n)}function w(t,e,r,n){return Q(V(e),t,r,n)}function j(t,e,r,n){return Q(function(t,e){for(var r,n,a,o=[],i=0;i<t.length&&!((e-=2)<0);++i)r=t.charCodeAt(i),n=r>>8,a=r%256,o.push(a),o.push(n);return o}(e,t.length-r),t,r,n)}function E(t,e,r){return 0===e&&r===t.length?n.fromByteArray(t):n.fromByteArray(t.slice(e,r))}function C(t,e,r){r=Math.min(t.length,r);for(var n=[],a=e;a<r;){var o,i,s,c,l=t[a],u=null,p=l>239?4:l>223?3:l>191?2:1;if(a+p<=r)switch(p){case 1:l<128&&(u=l);break;case 2:128==(192&(o=t[a+1]))&&(c=(31&l)<<6|63&o)>127&&(u=c);break;case 3:o=t[a+1],i=t[a+2],128==(192&o)&&128==(192&i)&&(c=(15&l)<<12|(63&o)<<6|63&i)>2047&&(c<55296||c>57343)&&(u=c);break;case 4:o=t[a+1],i=t[a+2],s=t[a+3],128==(192&o)&&128==(192&i)&&128==(192&s)&&(c=(15&l)<<18|(63&o)<<12|(63&i)<<6|63&s)>65535&&c<1114112&&(u=c)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),a+=p}return function(t){var e=t.length;if(e<=4096)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n<e;)r+=String.fromCharCode.apply(String,t.slice(n,n+=4096));return r}(n)}e.Buffer=c,e.SlowBuffer=function(t){+t!=t&&(t=0);return c.alloc(+t)},e.INSPECT_MAX_BYTES=50,c.TYPED_ARRAY_SUPPORT=void 0!==t.TYPED_ARRAY_SUPPORT?t.TYPED_ARRAY_SUPPORT:function(){try{var t=new Uint8Array(1);return t.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===t.foo()&&"function"==typeof t.subarray&&0===t.subarray(1,1).byteLength}catch(t){return!1}}(),e.kMaxLength=i(),c.poolSize=8192,c._augment=function(t){return t.__proto__=c.prototype,t},c.from=function(t,e,r){return l(null,t,e,r)},c.TYPED_ARRAY_SUPPORT&&(c.prototype.__proto__=Uint8Array.prototype,c.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&c[Symbol.species]===c&&Object.defineProperty(c,Symbol.species,{value:null,configurable:!0})),c.alloc=function(t,e,r){return function(t,e,r,n){return u(e),e<=0?s(t,e):void 0!==r?"string"==typeof n?s(t,e).fill(r,n):s(t,e).fill(r):s(t,e)}(null,t,e,r)},c.allocUnsafe=function(t){return p(null,t)},c.allocUnsafeSlow=function(t){return p(null,t)},c.isBuffer=function(t){return!(null==t||!t._isBuffer)},c.compare=function(t,e){if(!c.isBuffer(t)||!c.isBuffer(e))throw new TypeError("Arguments must be Buffers");if(t===e)return 0;for(var r=t.length,n=e.length,a=0,o=Math.min(r,n);a<o;++a)if(t[a]!==e[a]){r=t[a],n=e[a];break}return r<n?-1:n<r?1:0},c.isEncoding=function(t){switch(String(t).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},c.concat=function(t,e){if(!o(t))throw new TypeError('"list" argument must be an Array of Buffers');if(0===t.length)return c.alloc(0);var r;if(void 0===e)for(e=0,r=0;r<t.length;++r)e+=t[r].length;var n=c.allocUnsafe(e),a=0;for(r=0;r<t.length;++r){var i=t[r];if(!c.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,a),a+=i.length}return n},c.byteLength=f,c.prototype._isBuffer=!0,c.prototype.swap16=function(){var t=this.length;if(t%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var e=0;e<t;e+=2)b(this,e,e+1);return this},c.prototype.swap32=function(){var t=this.length;if(t%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var e=0;e<t;e+=4)b(this,e,e+3),b(this,e+1,e+2);return this},c.prototype.swap64=function(){var t=this.length;if(t%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var e=0;e<t;e+=8)b(this,e,e+7),b(this,e+1,e+6),b(this,e+2,e+5),b(this,e+3,e+4);return this},c.prototype.toString=function(){var t=0|this.length;return 0===t?"":0===arguments.length?C(this,0,t):m.apply(this,arguments)},c.prototype.equals=function(t){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");return this===t||0===c.compare(this,t)},c.prototype.inspect=function(){var t="",r=e.INSPECT_MAX_BYTES;return this.length>0&&(t=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(t+=" ... ")),"<Buffer "+t+">"},c.prototype.compare=function(t,e,r,n,a){if(!c.isBuffer(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===a&&(a=this.length),e<0||r>t.length||n<0||a>this.length)throw new RangeError("out of range index");if(n>=a&&e>=r)return 0;if(n>=a)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(a>>>=0)-(n>>>=0),i=(r>>>=0)-(e>>>=0),s=Math.min(o,i),l=this.slice(n,a),u=t.slice(e,r),p=0;p<s;++p)if(l[p]!==u[p]){o=l[p],i=u[p];break}return o<i?-1:i<o?1:0},c.prototype.includes=function(t,e,r){return-1!==this.indexOf(t,e,r)},c.prototype.indexOf=function(t,e,r){return g(this,t,e,r,!0)},c.prototype.lastIndexOf=function(t,e,r){return g(this,t,e,r,!1)},c.prototype.write=function(t,e,r,n){if(void 0===e)n="utf8",r=this.length,e=0;else if(void 0===r&&"string"==typeof e)n=e,r=this.length,e=0;else{if(!isFinite(e))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");e|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var a=this.length-e;if((void 0===r||r>a)&&(r=a),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return y(this,t,e,r);case"utf8":case"utf-8":return _(this,t,e,r);case"ascii":return O(this,t,e,r);case"latin1":case"binary":return k(this,t,e,r);case"base64":return w(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return j(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},c.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function S(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(127&t[a]);return n}function x(t,e,r){var n="";r=Math.min(t.length,r);for(var a=e;a<r;++a)n+=String.fromCharCode(t[a]);return n}function N(t,e,r){var n=t.length;(!e||e<0)&&(e=0),(!r||r<0||r>n)&&(r=n);for(var a="",o=e;o<r;++o)a+=B(t[o]);return a}function R(t,e,r){for(var n=t.slice(e,r),a="",o=0;o<n.length;o+=2)a+=String.fromCharCode(n[o]+256*n[o+1]);return a}function T(t,e,r){if(t%1!=0||t<0)throw new RangeError("offset is not uint");if(t+e>r)throw new RangeError("Trying to access beyond buffer length")}function A(t,e,r,n,a,o){if(!c.isBuffer(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>a||e<o)throw new RangeError('"value" argument is out of bounds');if(r+n>t.length)throw new RangeError("Index out of range")}function D(t,e,r,n){e<0&&(e=65535+e+1);for(var a=0,o=Math.min(t.length-r,2);a<o;++a)t[r+a]=(e&255<<8*(n?a:1-a))>>>8*(n?a:1-a)}function P(t,e,r,n){e<0&&(e=4294967295+e+1);for(var a=0,o=Math.min(t.length-r,4);a<o;++a)t[r+a]=e>>>8*(n?a:3-a)&255}function z(t,e,r,n,a,o){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function L(t,e,r,n,o){return o||z(t,0,r,4),a.write(t,e,r,n,23,4),r+4}function q(t,e,r,n,o){return o||z(t,0,r,8),a.write(t,e,r,n,52,8),r+8}c.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e<t&&(e=t),c.TYPED_ARRAY_SUPPORT)(r=this.subarray(t,e)).__proto__=c.prototype;else{var a=e-t;r=new c(a,void 0);for(var o=0;o<a;++o)r[o]=this[o+t]}return r},c.prototype.readUIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n},c.prototype.readUIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t+--e],a=1;e>0&&(a*=256);)n+=this[t+--e]*a;return n},c.prototype.readUInt8=function(t,e){return e||T(t,1,this.length),this[t]},c.prototype.readUInt16LE=function(t,e){return e||T(t,2,this.length),this[t]|this[t+1]<<8},c.prototype.readUInt16BE=function(t,e){return e||T(t,2,this.length),this[t]<<8|this[t+1]},c.prototype.readUInt32LE=function(t,e){return e||T(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},c.prototype.readUInt32BE=function(t,e){return e||T(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},c.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=this[t],a=1,o=0;++o<e&&(a*=256);)n+=this[t+o]*a;return n>=(a*=128)&&(n-=Math.pow(2,8*e)),n},c.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||T(t,e,this.length);for(var n=e,a=1,o=this[t+--n];n>0&&(a*=256);)o+=this[t+--n]*a;return o>=(a*=128)&&(o-=Math.pow(2,8*e)),o},c.prototype.readInt8=function(t,e){return e||T(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},c.prototype.readInt16LE=function(t,e){e||T(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt16BE=function(t,e){e||T(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},c.prototype.readInt32LE=function(t,e){return e||T(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},c.prototype.readInt32BE=function(t,e){return e||T(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},c.prototype.readFloatLE=function(t,e){return e||T(t,4,this.length),a.read(this,t,!0,23,4)},c.prototype.readFloatBE=function(t,e){return e||T(t,4,this.length),a.read(this,t,!1,23,4)},c.prototype.readDoubleLE=function(t,e){return e||T(t,8,this.length),a.read(this,t,!0,52,8)},c.prototype.readDoubleBE=function(t,e){return e||T(t,8,this.length),a.read(this,t,!1,52,8)},c.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||A(this,t,e,r,Math.pow(2,8*r)-1,0);var a=1,o=0;for(this[e]=255&t;++o<r&&(a*=256);)this[e+o]=t/a&255;return e+r},c.prototype.writeUIntBE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||A(this,t,e,r,Math.pow(2,8*r)-1,0);var a=r-1,o=1;for(this[e+a]=255&t;--a>=0&&(o*=256);)this[e+a]=t/o&255;return e+r},c.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,1,255,0),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},c.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,65535,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):P(this,t,e,!0),e+4},c.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,4294967295,0),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);A(this,t,e,r,a-1,-a)}var o=0,i=1,s=0;for(this[e]=255&t;++o<r&&(i*=256);)t<0&&0===s&&0!==this[e+o-1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},c.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var a=Math.pow(2,8*r-1);A(this,t,e,r,a-1,-a)}var o=r-1,i=1,s=0;for(this[e+o]=255&t;--o>=0&&(i*=256);)t<0&&0===s&&0!==this[e+o+1]&&(s=1),this[e+o]=(t/i>>0)-s&255;return e+r},c.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,1,127,-128),c.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},c.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):D(this,t,e,!0),e+2},c.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,2,32767,-32768),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):D(this,t,e,!1),e+2},c.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,2147483647,-2147483648),c.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):P(this,t,e,!0),e+4},c.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||A(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),c.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):P(this,t,e,!1),e+4},c.prototype.writeFloatLE=function(t,e,r){return L(this,t,e,!0,r)},c.prototype.writeFloatBE=function(t,e,r){return L(this,t,e,!1,r)},c.prototype.writeDoubleLE=function(t,e,r){return q(this,t,e,!0,r)},c.prototype.writeDoubleBE=function(t,e,r){return q(this,t,e,!1,r)},c.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===t.length||0===this.length)return 0;if(e<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e<n-r&&(n=t.length-e+r);var a,o=n-r;if(this===t&&r<e&&e<n)for(a=o-1;a>=0;--a)t[a+e]=this[a+r];else if(o<1e3||!c.TYPED_ARRAY_SUPPORT)for(a=0;a<o;++a)t[a+e]=this[a+r];else Uint8Array.prototype.set.call(t,this.subarray(r,r+o),e);return o},c.prototype.fill=function(t,e,r,n){if("string"==typeof t){if("string"==typeof e?(n=e,e=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===t.length){var a=t.charCodeAt(0);a<256&&(t=a)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!c.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof t&&(t&=255);if(e<0||this.length<e||this.length<r)throw new RangeError("Out of range index");if(r<=e)return this;var o;if(e>>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o<r;++o)this[o]=t;else{var i=c.isBuffer(t)?t:M(new c(t,n).toString()),s=i.length;for(o=0;o<r-e;++o)this[o+e]=i[o%s]}return this};var I=/[^+\/0-9A-Za-z-_]/g;function B(t){return t<16?"0"+t.toString(16):t.toString(16)}function M(t,e){var r;e=e||1/0;for(var n=t.length,a=null,o=[],i=0;i<n;++i){if((r=t.charCodeAt(i))>55295&&r<57344){if(!a){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(i+1===n){(e-=3)>-1&&o.push(239,191,189);continue}a=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),a=r;continue}r=65536+(a-55296<<10|r-56320)}else a&&(e-=3)>-1&&o.push(239,191,189);if(a=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function V(t){return n.toByteArray(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(I,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Q(t,e,r,n){for(var a=0;a<n&&!(a+r>=e.length||a>=t.length);++a)e[a+r]=t[a];return a}}).call(this,r(61))},function(t,e){!function(){t.exports=this.React}()},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var r=arguments[e];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(t[n]=r[n])}return t};e.default=function(t,e){var r=n({},(0,a.default)(t),{key:e});"string"==typeof r.style||r.style instanceof String?r.style=(0,o.default)(r.style):delete r.style;return r};var a=i(r(69)),o=i(r(72));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){a.hasOwnProperty(t)||(a[t]=n.test(t));return a[t]};var n=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,a={}},function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}},function(t,e,r){var n=r(31);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.htmlparser2=e.convertNodeToElement=e.processNodes=void 0;var n=r(15);Object.defineProperty(e,"processNodes",{enumerable:!0,get:function(){return s(n).default}});var a=r(18);Object.defineProperty(e,"convertNodeToElement",{enumerable:!0,get:function(){return s(a).default}});var o=r(12);Object.defineProperty(e,"htmlparser2",{enumerable:!0,get:function(){return s(o).default}});var i=s(r(76));function s(t){return t&&t.__esModule?t:{default:t}}e.default=i.default},function(t,e,r){var n=r(77),a=r(78),o=r(32),i=r(79);t.exports=function(t){return n(t)||a(t)||o(t)||i()}},function(t,e){!function(){t.exports=this.wp.mediaUtils}()},function(t,e,r){var n=r(80),a=r(81),o=r(32),i=r(82);t.exports=function(t,e){return n(t)||a(t,e)||o(t,e)||i()}},function(t,e){function r(e,n){return t.exports=r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(e,n)}t.exports=r},function(t,e){function r(e){return"function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?t.exports=r=function(t){return typeof t}:t.exports=r=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(e)}t.exports=r},function(t,e,r){"use strict";var n=r(40);function a(){}function o(){}o.resetWarningCache=a,t.exports=function(){function t(t,e,r,a,o,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function e(){return t}t.isRequired=t;var r={array:t,bool:t,func:t,number:t,object:t,string:t,symbol:t,any:t,arrayOf:e,element:t,elementType:t,instanceOf:e,node:t,objectOf:e,oneOf:e,oneOfType:e,shape:e,exact:e,checkPropTypes:o,resetWarningCache:a};return r.PropTypes=r,r}},function(t,e,r){"use strict";t.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return"text"===t.type&&/\r?\n/.test(t.data)&&""===t.data.trim()}},function(t,e,r){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0});var a=r(12),o=l(r(67)),i=l(r(68)),s=l(r(74)),c=l(r(75));function l(t){return t&&t.__esModule?t:{default:t}}function u(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}e.default=(u(n={},a.ElementType.Text,o.default),u(n,a.ElementType.Tag,i.default),u(n,a.ElementType.Style,s.default),u(n,a.ElementType.Directive,c.default),u(n,a.ElementType.Comment,c.default),u(n,a.ElementType.Script,c.default),u(n,a.ElementType.CDATA,c.default),u(n,a.ElementType.Doctype,c.default),n)},function(t){t.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},function(t,e,r){"use strict";var n,a="object"==typeof Reflect?Reflect:null,o=a&&"function"==typeof a.apply?a.apply:function(t,e,r){return Function.prototype.apply.call(t,e,r)};n=a&&"function"==typeof a.ownKeys?a.ownKeys:Object.getOwnPropertySymbols?function(t){return Object.getOwnPropertyNames(t).concat(Object.getOwnPropertySymbols(t))}:function(t){return Object.getOwnPropertyNames(t)};var i=Number.isNaN||function(t){return t!=t};function s(){s.init.call(this)}t.exports=s,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(t){if("function"!=typeof t)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof t)}function u(t){return void 0===t._maxListeners?s.defaultMaxListeners:t._maxListeners}function p(t,e,r,n){var a,o,i,s;if(l(r),void 0===(o=t._events)?(o=t._events=Object.create(null),t._eventsCount=0):(void 0!==o.newListener&&(t.emit("newListener",e,r.listener?r.listener:r),o=t._events),i=o[e]),void 0===i)i=o[e]=r,++t._eventsCount;else if("function"==typeof i?i=o[e]=n?[r,i]:[i,r]:n?i.unshift(r):i.push(r),(a=u(t))>0&&i.length>a&&!i.warned){i.warned=!0;var c=new Error("Possible EventEmitter memory leak detected. "+i.length+" "+String(e)+" listeners added. Use emitter.setMaxListeners() to increase limit");c.name="MaxListenersExceededWarning",c.emitter=t,c.type=e,c.count=i.length,s=c,console&&console.warn&&console.warn(s)}return t}function h(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function d(t,e,r){var n={fired:!1,wrapFn:void 0,target:t,type:e,listener:r},a=h.bind(n);return a.listener=r,n.wrapFn=a,a}function f(t,e,r){var n=t._events;if(void 0===n)return[];var a=n[e];return void 0===a?[]:"function"==typeof a?r?[a.listener||a]:[a]:r?function(t){for(var e=new Array(t.length),r=0;r<e.length;++r)e[r]=t[r].listener||t[r];return e}(a):b(a,a.length)}function m(t){var e=this._events;if(void 0!==e){var r=e[t];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function b(t,e){for(var r=new Array(e),n=0;n<e;++n)r[n]=t[n];return r}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+t+".");c=t}}),s.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(t){if("number"!=typeof t||t<0||i(t))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+t+".");return this._maxListeners=t,this},s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(t){for(var e=[],r=1;r<arguments.length;r++)e.push(arguments[r]);var n="error"===t,a=this._events;if(void 0!==a)n=n&&void 0===a.error;else if(!n)return!1;if(n){var i;if(e.length>0&&(i=e[0]),i instanceof Error)throw i;var s=new Error("Unhandled error."+(i?" ("+i.message+")":""));throw s.context=i,s}var c=a[t];if(void 0===c)return!1;if("function"==typeof c)o(c,this,e);else{var l=c.length,u=b(c,l);for(r=0;r<l;++r)o(u[r],this,e)}return!0},s.prototype.addListener=function(t,e){return p(this,t,e,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(t,e){return p(this,t,e,!0)},s.prototype.once=function(t,e){return l(e),this.on(t,d(this,t,e)),this},s.prototype.prependOnceListener=function(t,e){return l(e),this.prependListener(t,d(this,t,e)),this},s.prototype.removeListener=function(t,e){var r,n,a,o,i;if(l(e),void 0===(n=this._events))return this;if(void 0===(r=n[t]))return this;if(r===e||r.listener===e)0==--this._eventsCount?this._events=Object.create(null):(delete n[t],n.removeListener&&this.emit("removeListener",t,r.listener||e));else if("function"!=typeof r){for(a=-1,o=r.length-1;o>=0;o--)if(r[o]===e||r[o].listener===e){i=r[o].listener,a=o;break}if(a<0)return this;0===a?r.shift():function(t,e){for(;e+1<t.length;e++)t[e]=t[e+1];t.pop()}(r,a),1===r.length&&(n[t]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",t,i||e)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(t){var e,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[t]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[t]),this;if(0===arguments.length){var a,o=Object.keys(r);for(n=0;n<o.length;++n)"removeListener"!==(a=o[n])&&this.removeAllListeners(a);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(e=r[t]))this.removeListener(t,e);else if(void 0!==e)for(n=e.length-1;n>=0;n--)this.removeListener(t,e[n]);return this},s.prototype.listeners=function(t){return f(this,t,!0)},s.prototype.rawListeners=function(t){return f(this,t,!1)},s.listenerCount=function(t,e){return"function"==typeof t.listenerCount?t.listenerCount(e):m.call(t,e)},s.prototype.listenerCount=m,s.prototype.eventNames=function(){return this._eventsCount>0?n(this._events):[]}},function(t,e,r){var n=r(24),a=t.exports=Object.create(n),o={tagName:"name"};Object.keys(o).forEach((function(t){var e=o[t];Object.defineProperty(a,t,{get:function(){return this[e]||null},set:function(t){return this[e]=t,t}})}))},function(t,e,r){var n=r(23),a=r(25);function o(t,e){this.init(t,e)}function i(t,e){return a.getElementsByTagName(t,e,!0)}function s(t,e){return a.getElementsByTagName(t,e,!0,1)[0]}function c(t,e,r){return a.getText(a.getElementsByTagName(t,e,r,1)).trim()}function l(t,e,r,n,a){var o=c(r,n,a);o&&(t[e]=o)}r(14)(o,n),o.prototype.init=n;var u=function(t){return"rss"===t||"feed"===t||"rdf:RDF"===t};o.prototype.onend=function(){var t,e,r={},a=s(u,this.dom);a&&("feed"===a.name?(e=a.children,r.type="atom",l(r,"id","id",e),l(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),l(r,"description","subtitle",e),(t=c("updated",e))&&(r.updated=new Date(t)),l(r,"author","email",e,!0),r.items=i("entry",e).map((function(t){var e,r={};return l(r,"id","id",t=t.children),l(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),(e=c("summary",t)||c("content",t))&&(r.description=e),(e=c("updated",t))&&(r.pubDate=new Date(e)),r}))):(e=s("channel",a.children).children,r.type=a.name.substr(0,3),r.id="",l(r,"title","title",e),l(r,"link","link",e),l(r,"description","description",e),(t=c("lastBuildDate",e))&&(r.updated=new Date(t)),l(r,"author","managingEditor",e,!0),r.items=i("item",a.children).map((function(t){var e,r={};return l(r,"id","guid",t=t.children),l(r,"title","title",t),l(r,"link","link",t),l(r,"description","description",t),(e=c("pubDate",t))&&(r.pubDate=new Date(e)),r})))),this.dom=r,n.prototype._handleCallback.call(this,a?null:Error("couldn't find root of feed"))},t.exports=o},function(t,e,r){var n=r(13),a=r(48),o=n.isTag;t.exports={getInnerHTML:function(t,e){return t.children?t.children.map((function(t){return a(t,e)})).join(""):""},getOuterHTML:a,getText:function t(e){return Array.isArray(e)?e.map(t).join(""):o(e)||e.type===n.CDATA?t(e.children):e.type===n.Text?e.data:""}}},function(t,e,r){var n=r(13),a=r(49),o={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0};var i={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s=t.exports=function(t,e){Array.isArray(t)||t.cheerio||(t=[t]),e=e||{};for(var r="",a=0;a<t.length;a++){var o=t[a];"root"===o.type?r+=s(o.children,e):n.isTag(o)?r+=c(o,e):o.type===n.Directive?r+=l(o):o.type===n.Comment?r+=h(o):o.type===n.CDATA?r+=p(o):r+=u(o,e)}return r};function c(t,e){"svg"===t.name&&(e={decodeEntities:e.decodeEntities,xmlMode:!0});var r="<"+t.name,n=function(t,e){if(t){var r,n="";for(var o in t)n&&(n+=" "),n+=o,(null!==(r=t[o])&&""!==r||e.xmlMode)&&(n+='="'+(e.decodeEntities?a.encodeXML(r):r)+'"');return n}}(t.attribs,e);return n&&(r+=" "+n),!e.xmlMode||t.children&&0!==t.children.length?(r+=">",t.children&&(r+=s(t.children,e)),i[t.name]&&!e.xmlMode||(r+="</"+t.name+">")):r+="/>",r}function l(t){return"<"+t.data+">"}function u(t,e){var r=t.data||"";return!e.decodeEntities||t.parent&&t.parent.name in o||(r=a.encodeXML(r)),r}function p(t){return"<![CDATA["+t.children[0].data+"]]>"}function h(t){return"\x3c!--"+t.data+"--\x3e"}},function(t,e,r){var n=r(50),a=r(51);e.decode=function(t,e){return(!e||e<=0?a.XML:a.HTML)(t)},e.decodeStrict=function(t,e){return(!e||e<=0?a.XML:a.HTMLStrict)(t)},e.encode=function(t,e){return(!e||e<=0?n.XML:n.HTML)(t)},e.encodeXML=n.XML,e.encodeHTML4=e.encodeHTML5=e.encodeHTML=n.HTML,e.decodeXML=e.decodeXMLStrict=a.XML,e.decodeHTML4=e.decodeHTML5=e.decodeHTML=a.HTML,e.decodeHTML4Strict=e.decodeHTML5Strict=e.decodeHTMLStrict=a.HTMLStrict,e.escape=n.escape},function(t,e,r){var n=s(r(17)),a=c(n);e.XML=d(n,a);var o=s(r(16)),i=c(o);function s(t){return Object.keys(t).sort().reduce((function(e,r){return e[t[r]]="&"+r+";",e}),{})}function c(t){var e=[],r=[];return Object.keys(t).forEach((function(t){1===t.length?e.push("\\"+t):r.push(t)})),r.unshift("["+e.join("")+"]"),new RegExp(r.join("|"),"g")}e.HTML=d(o,i);var l=/[^\0-\x7F]/g,u=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g;function p(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"}function h(t){return"&#x"+(1024*(t.charCodeAt(0)-55296)+t.charCodeAt(1)-56320+65536).toString(16).toUpperCase()+";"}function d(t,e){function r(e){return t[e]}return function(t){return t.replace(e,r).replace(u,h).replace(l,p)}}var f=c(n);e.escape=function(t){return t.replace(f,p).replace(u,h).replace(l,p)}},function(t,e,r){var n=r(16),a=r(22),o=r(17),i=r(21),s=l(o),c=l(n);function l(t){var e=Object.keys(t).join("|"),r=h(t),n=new RegExp("&(?:"+(e+="|#[xX][\\da-fA-F]+|#\\d+")+");","g");return function(t){return String(t).replace(n,r)}}var u=function(){for(var t=Object.keys(a).sort(p),e=Object.keys(n).sort(p),r=0,o=0;r<e.length;r++)t[o]===e[r]?(e[r]+=";?",o++):e[r]+=";";var i=new RegExp("&(?:"+e.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=h(n);function c(t){return";"!==t.substr(-1)&&(t+=";"),s(t)}return function(t){return String(t).replace(i,c)}}();function p(t,e){return t<e?1:-1}function h(t){return function(e){return"#"===e.charAt(1)?"X"===e.charAt(2)||"x"===e.charAt(2)?i(parseInt(e.substr(3),16)):i(parseInt(e.substr(2),10)):t[e.slice(1,-1)]}}t.exports={XML:s,HTML:u,HTMLStrict:c}},function(t,e){var r=e.getChildren=function(t){return t.children},n=e.getParent=function(t){return t.parent};e.getSiblings=function(t){var e=n(t);return e?r(e):[t]},e.getAttributeValue=function(t,e){return t.attribs&&t.attribs[e]},e.hasAttrib=function(t,e){return!!t.attribs&&hasOwnProperty.call(t.attribs,e)},e.getName=function(t){return t.name}},function(t,e){e.removeElement=function(t){if(t.prev&&(t.prev.next=t.next),t.next&&(t.next.prev=t.prev),t.parent){var e=t.parent.children;e.splice(e.lastIndexOf(t),1)}},e.replaceElement=function(t,e){var r=e.prev=t.prev;r&&(r.next=e);var n=e.next=t.next;n&&(n.prev=e);var a=e.parent=t.parent;if(a){var o=a.children;o[o.lastIndexOf(t)]=e}},e.appendChild=function(t,e){if(e.parent=t,1!==t.children.push(e)){var r=t.children[t.children.length-2];r.next=e,e.prev=r,e.next=null}},e.append=function(t,e){var r=t.parent,n=t.next;if(e.next=n,e.prev=t,t.next=e,e.parent=r,n){if(n.prev=e,r){var a=r.children;a.splice(a.lastIndexOf(n),0,e)}}else r&&r.children.push(e)},e.prepend=function(t,e){var r=t.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(t),0,e)}t.prev&&(t.prev.next=e),e.parent=r,e.prev=t.prev,e.next=t,t.prev=e}},function(t,e,r){var n=r(13).isTag;function a(t,e,r,n){for(var o,i=[],s=0,c=e.length;s<c&&!(t(e[s])&&(i.push(e[s]),--n<=0))&&(o=e[s].children,!(r&&o&&o.length>0&&(o=a(t,o,r,n),i=i.concat(o),(n-=o.length)<=0)));s++);return i}t.exports={filter:function(t,e,r,n){Array.isArray(e)||(e=[e]);"number"==typeof n&&isFinite(n)||(n=1/0);return a(t,e,!1!==r,n)},find:a,findOneChild:function(t,e){for(var r=0,n=e.length;r<n;r++)if(t(e[r]))return e[r];return null},findOne:function t(e,r){for(var a=null,o=0,i=r.length;o<i&&!a;o++)n(r[o])&&(e(r[o])?a=r[o]:r[o].children.length>0&&(a=t(e,r[o].children)));return a},existsOne:function t(e,r){for(var a=0,o=r.length;a<o;a++)if(n(r[a])&&(e(r[a])||r[a].children.length>0&&t(e,r[a].children)))return!0;return!1},findAll:function t(e,r){for(var a=[],o=0,i=r.length;o<i;o++)n(r[o])&&(e(r[o])&&a.push(r[o]),r[o].children.length>0&&(a=a.concat(t(e,r[o].children))));return a}}},function(t,e,r){var n=r(13),a=e.isTag=n.isTag;e.testElement=function(t,e){for(var r in t)if(t.hasOwnProperty(r)){if("tag_name"===r){if(!a(e)||!t.tag_name(e.name))return!1}else if("tag_type"===r){if(!t.tag_type(e.type))return!1}else if("tag_contains"===r){if(a(e)||!t.tag_contains(e.data))return!1}else if(!e.attribs||!t[r](e.attribs[r]))return!1}else;return!0};var o={tag_name:function(t){return"function"==typeof t?function(e){return a(e)&&t(e.name)}:"*"===t?a:function(e){return a(e)&&e.name===t}},tag_type:function(t){return"function"==typeof t?function(e){return t(e.type)}:function(e){return e.type===t}},tag_contains:function(t){return"function"==typeof t?function(e){return!a(e)&&t(e.data)}:function(e){return!a(e)&&e.data===t}}};function i(t,e){return"function"==typeof e?function(r){return r.attribs&&e(r.attribs[t])}:function(r){return r.attribs&&r.attribs[t]===e}}function s(t,e){return function(r){return t(r)||e(r)}}e.getElements=function(t,e,r,n){var a=Object.keys(t).map((function(e){var r=t[e];return e in o?o[e](r):i(e,r)}));return 0===a.length?[]:this.filter(a.reduce(s),e,r,n)},e.getElementById=function(t,e,r){return Array.isArray(e)||(e=[e]),this.findOne(i("id",t),e,!1!==r)},e.getElementsByTagName=function(t,e,r,n){return this.filter(o.tag_name(t),e,r,n)},e.getElementsByTagType=function(t,e,r,n){return this.filter(o.tag_type(t),e,r,n)}},function(t,e){e.removeSubsets=function(t){for(var e,r,n,a=t.length;--a>-1;){for(e=r=t[a],t[a]=null,n=!0;r;){if(t.indexOf(r)>-1){n=!1,t.splice(a,1);break}r=r.parent}n&&(t[a]=e)}return t};var r=1,n=2,a=4,o=8,i=16,s=e.compareDocumentPosition=function(t,e){var s,c,l,u,p,h,d=[],f=[];if(t===e)return 0;for(s=t;s;)d.unshift(s),s=s.parent;for(s=e;s;)f.unshift(s),s=s.parent;for(h=0;d[h]===f[h];)h++;return 0===h?r:(l=(c=d[h-1]).children,u=d[h],p=f[h],l.indexOf(u)>l.indexOf(p)?c===e?a|i:a:c===t?n|o:n)};e.uniqueSort=function(t){var e,r,o=t.length;for(t=t.slice();--o>-1;)e=t[o],(r=t.indexOf(e))>-1&&r<o&&t.splice(o,1);return t.sort((function(t,e){var r=s(t,e);return r&n?-1:r&a?1:0})),t}},function(t,e,r){t.exports=a;var n=r(26);function a(t){n.call(this,new o(this),t)}function o(t){this.scope=t}r(14)(a,n),a.prototype.readable=!0;var i=r(12).EVENTS;Object.keys(i).forEach((function(t){if(0===i[t])o.prototype["on"+t]=function(){this.scope.emit(t)};else if(1===i[t])o.prototype["on"+t]=function(e){this.scope.emit(t,e)};else{if(2!==i[t])throw Error("wrong number of arguments!");o.prototype["on"+t]=function(e,r){this.scope.emit(t,e,r)}}}))},function(t,e){},function(t,e,r){"use strict";var n=r(60).Buffer,a=n.isEncoding||function(t){switch((t=""+t)&&t.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function o(t){var e;switch(this.encoding=function(t){var e=function(t){if(!t)return"utf8";for(var e;;)switch(t){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return t;default:if(e)return;t=(""+t).toLowerCase(),e=!0}}(t);if("string"!=typeof e&&(n.isEncoding===a||!a(t)))throw new Error("Unknown encoding: "+t);return e||t}(t),this.encoding){case"utf16le":this.text=c,this.end=l,e=4;break;case"utf8":this.fillLast=s,e=4;break;case"base64":this.text=u,this.end=p,e=3;break;default:return this.write=h,void(this.end=d)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(e)}function i(t){return t<=127?0:t>>5==6?2:t>>4==14?3:t>>3==30?4:t>>6==2?-1:-2}function s(t){var e=this.lastTotal-this.lastNeed,r=function(t,e,r){if(128!=(192&e[0]))return t.lastNeed=0,"�";if(t.lastNeed>1&&e.length>1){if(128!=(192&e[1]))return t.lastNeed=1,"�";if(t.lastNeed>2&&e.length>2&&128!=(192&e[2]))return t.lastNeed=2,"�"}}(this,t);return void 0!==r?r:this.lastNeed<=t.length?(t.copy(this.lastChar,e,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(t.copy(this.lastChar,e,0,t.length),void(this.lastNeed-=t.length))}function c(t,e){if((t.length-e)%2==0){var r=t.toString("utf16le",e);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=t[t.length-1],t.toString("utf16le",e,t.length-1)}function l(t){var e=t&&t.length?this.write(t):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return e+this.lastChar.toString("utf16le",0,r)}return e}function u(t,e){var r=(t.length-e)%3;return 0===r?t.toString("base64",e):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=t[t.length-1]:(this.lastChar[0]=t[t.length-2],this.lastChar[1]=t[t.length-1]),t.toString("base64",e,t.length-r))}function p(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+this.lastChar.toString("base64",0,3-this.lastNeed):e}function h(t){return t.toString(this.encoding)}function d(t){return t&&t.length?this.write(t):""}e.StringDecoder=o,o.prototype.write=function(t){if(0===t.length)return"";var e,r;if(this.lastNeed){if(void 0===(e=this.fillLast(t)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<t.length?e?e+this.text(t,r):this.text(t,r):e||""},o.prototype.end=function(t){var e=t&&t.length?this.write(t):"";return this.lastNeed?e+"�":e},o.prototype.text=function(t,e){var r=function(t,e,r){var n=e.length-1;if(n<r)return 0;var a=i(e[n]);if(a>=0)return a>0&&(t.lastNeed=a-1),a;if(--n<r||-2===a)return 0;if((a=i(e[n]))>=0)return a>0&&(t.lastNeed=a-2),a;if(--n<r||-2===a)return 0;if((a=i(e[n]))>=0)return a>0&&(2===a?a=0:t.lastNeed=a-3),a;return 0}(this,t,e);if(!this.lastNeed)return t.toString("utf8",e);this.lastTotal=r;var n=t.length-(r-this.lastNeed);return t.copy(this.lastChar,0,n),t.toString("utf8",e,n)},o.prototype.fillLast=function(t){if(this.lastNeed<=t.length)return t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);t.copy(this.lastChar,this.lastTotal-this.lastNeed,0,t.length),this.lastNeed-=t.length}},function(t,e,r){var n=r(27),a=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function i(t,e,r){return a(t,e,r)}a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?t.exports=n:(o(n,e),e.Buffer=i),o(a,i),i.from=function(t,e,r){if("number"==typeof t)throw new TypeError("Argument must not be a number");return a(t,e,r)},i.alloc=function(t,e,r){if("number"!=typeof t)throw new TypeError("Argument must be a number");var n=a(t);return void 0!==e?"string"==typeof r?n.fill(e,r):n.fill(e):n.fill(0),n},i.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return a(t)},i.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return n.SlowBuffer(t)}},function(t,e){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(t){"object"==typeof window&&(r=window)}t.exports=r},function(t,e,r){"use strict";e.byteLength=function(t){var e=l(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,n=l(t),i=n[0],s=n[1],c=new o(function(t,e,r){return 3*(e+r)/4-r}(0,i,s)),u=0,p=s>0?i-4:i;for(r=0;r<p;r+=4)e=a[t.charCodeAt(r)]<<18|a[t.charCodeAt(r+1)]<<12|a[t.charCodeAt(r+2)]<<6|a[t.charCodeAt(r+3)],c[u++]=e>>16&255,c[u++]=e>>8&255,c[u++]=255&e;2===s&&(e=a[t.charCodeAt(r)]<<2|a[t.charCodeAt(r+1)]>>4,c[u++]=255&e);1===s&&(e=a[t.charCodeAt(r)]<<10|a[t.charCodeAt(r+1)]<<4|a[t.charCodeAt(r+2)]>>2,c[u++]=e>>8&255,c[u++]=255&e);return c},e.fromByteArray=function(t){for(var e,r=t.length,a=r%3,o=[],i=0,s=r-a;i<s;i+=16383)o.push(u(t,i,i+16383>s?s:i+16383));1===a?(e=t[r-1],o.push(n[e>>2]+n[e<<4&63]+"==")):2===a&&(e=(t[r-2]<<8)+t[r-1],o.push(n[e>>10]+n[e>>4&63]+n[e<<2&63]+"="));return o.join("")};for(var n=[],a=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",s=0,c=i.length;s<c;++s)n[s]=i[s],a[i.charCodeAt(s)]=s;function l(t){var e=t.length;if(e%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,r){for(var a,o,i=[],s=e;s<r;s+=3)a=(t[s]<<16&16711680)+(t[s+1]<<8&65280)+(255&t[s+2]),i.push(n[(o=a)>>18&63]+n[o>>12&63]+n[o>>6&63]+n[63&o]);return i.join("")}a["-".charCodeAt(0)]=62,a["_".charCodeAt(0)]=63},function(t,e){e.read=function(t,e,r,n,a){var o,i,s=8*a-n-1,c=(1<<s)-1,l=c>>1,u=-7,p=r?a-1:0,h=r?-1:1,d=t[e+p];for(p+=h,o=d&(1<<-u)-1,d>>=-u,u+=s;u>0;o=256*o+t[e+p],p+=h,u-=8);for(i=o&(1<<-u)-1,o>>=-u,u+=n;u>0;i=256*i+t[e+p],p+=h,u-=8);if(0===o)o=1-l;else{if(o===c)return i?NaN:1/0*(d?-1:1);i+=Math.pow(2,n),o-=l}return(d?-1:1)*i*Math.pow(2,o-n)},e.write=function(t,e,r,n,a,o){var i,s,c,l=8*o-a-1,u=(1<<l)-1,p=u>>1,h=23===a?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:o-1,f=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(s=isNaN(e)?1:0,i=u):(i=Math.floor(Math.log(e)/Math.LN2),e*(c=Math.pow(2,-i))<1&&(i--,c*=2),(e+=i+p>=1?h/c:h*Math.pow(2,1-p))*c>=2&&(i++,c/=2),i+p>=u?(s=0,i=u):i+p>=1?(s=(e*c-1)*Math.pow(2,a),i+=p):(s=e*Math.pow(2,p-1)*Math.pow(2,a),i=0));a>=8;t[r+d]=255&s,d+=f,s/=256,a-=8);for(i=i<<a|s,l+=a;l>0;t[r+d]=255&i,d+=f,i/=256,l-=8);t[r+d-f]|=128*m}},function(t,e){var r={}.toString;t.exports=Array.isArray||function(t){return"[object Array]"==r.call(t)}},function(t,e,r){function n(t){this._cbs=t||{}}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])t="on"+t,n.prototype[t]=function(){this._cbs[t]&&this._cbs[t]()};else if(1===a[t])t="on"+t,n.prototype[t]=function(e){this._cbs[t]&&this._cbs[t](e)};else{if(2!==a[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this._cbs[t]&&this._cbs[t](e,r)}}}))},function(t,e,r){function n(t){this._cbs=t||{},this.events=[]}t.exports=n;var a=r(12).EVENTS;Object.keys(a).forEach((function(t){if(0===a[t])t="on"+t,n.prototype[t]=function(){this.events.push([t]),this._cbs[t]&&this._cbs[t]()};else if(1===a[t])t="on"+t,n.prototype[t]=function(e){this.events.push([t,e]),this._cbs[t]&&this._cbs[t](e)};else{if(2!==a[t])throw Error("wrong number of arguments");t="on"+t,n.prototype[t]=function(e,r){this.events.push([t,e,r]),this._cbs[t]&&this._cbs[t](e,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var t=0,e=this.events.length;t<e;t++)if(this._cbs[this.events[t][0]]){var r=this.events[t].length;1===r?this._cbs[this.events[t][0]]():2===r?this._cbs[this.events[t][0]](this.events[t][1]):this._cbs[this.events[t][0]](this.events[t][1],this.events[t][2])}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return t.data}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e,r){var c=t.name;if(!(0,s.default)(c))return null;var l=(0,o.default)(t.attribs,e),u=null;-1===i.default.indexOf(c)&&(u=(0,a.default)(t.children,r));return n.default.createElement(c,l,u)};var n=c(r(28)),a=c(r(15)),o=c(r(29)),i=c(r(73)),s=c(r(30));function c(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){return Object.keys(t).filter((function(t){return(0,o.default)(t)})).reduce((function(e,r){var o=r.toLowerCase(),i=a.default[o]||o;return e[i]=function(t,e){n.default.map((function(t){return t.toLowerCase()})).indexOf(t.toLowerCase())>=0&&(e=t);return e}(i,t[r]),e}),{})};var n=i(r(70)),a=i(r(71)),o=i(r(30));function i(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(t,e){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return function(t,e){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{!n&&s.return&&s.return()}finally{if(a)throw o}}return r}(t,e);throw new TypeError("Invalid attempt to destructure non-iterable instance")};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(""===t)return{};return t.split(";").reduce((function(t,e){var r=e.split(/^([^:]+):/).filter((function(t,e){return e>0})).map((function(t){return t.trim().toLowerCase()})),a=n(r,2),o=a[0],i=a[1];return void 0===i||(t[o=o.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(t,e){return e.toUpperCase()}))]=i),t}),{})}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var r=void 0;t.children.length>0&&(r=t.children[0].data);var o=(0,a.default)(t.attribs,e);return n.default.createElement("style",o,r)};var n=o(r(28)),a=o(r(29));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(){return null}},function(t,e,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=e.decodeEntities,o=void 0===r||r,i=e.transform,s=e.preprocessNodes,c=void 0===s?function(t){return t}:s,l=c(n.default.parseDOM(t,{decodeEntities:o}));return(0,a.default)(l,i)};var n=o(r(12)),a=o(r(15));function o(t){return t&&t.__esModule?t:{default:t}}},function(t,e,r){var n=r(31);t.exports=function(t){if(Array.isArray(t))return n(t)}},function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e){t.exports=function(t){if(Array.isArray(t))return t}},function(t,e){t.exports=function(t,e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t)){var r=[],n=!0,a=!1,o=void 0;try{for(var i,s=t[Symbol.iterator]();!(n=(i=s.next()).done)&&(r.push(i.value),!e||r.length!==e);n=!0);}catch(t){a=!0,o=t}finally{try{n||null==s.return||s.return()}finally{if(a)throw o}}return r}}},function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}},function(t,e,r){"use strict";r.r(e);wp.customize.astraControl=wp.customize.Control.extend({initialize:function(t,e){var r=e||{};r.params=r.params||{},r.params.type||(r.params.type="ast-core"),r.params.content||(r.params.content=jQuery("<li></li>"),r.params.content.attr("id","customize-control-"+t.replace(/]/g,"").replace(/\[/g,"-")),r.params.content.attr("class","customize-control customize-control-"+r.params.type)),this.propertyElements=[],wp.customize.Control.prototype.initialize.call(this,t,r)},ready:function(){wp.customize.Control.prototype.ready.call(this),this.deferred.embedded.done()},embed:function(){var t=this,e=t.section();e&&wp.customize.section(e,(function(e){e.expanded()||wp.customize.settings.autofocus.control===t.id?t.actuallyEmbed():e.expanded.bind((function(e){e&&t.actuallyEmbed()}))}))},actuallyEmbed:function(){"resolved"!==this.deferred.embedded.state()&&(this.renderContent(),this.deferred.embedded.resolve())},focus:function(t){this.actuallyEmbed(),wp.customize.Control.prototype.focus.call(this,t)}});var n=r(0),a=r(5),o=r.n(a),i=r(6),s=r.n(i),c=r(7),l=r.n(c),u=r(8),p=r.n(u),h=r(1),d=r.n(h),f=r(4),m=r.n(f);function b(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var g=function(t){l()(r,t);var e=b(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.caption&&(t=Object(n.createElement)("span",{className:"customize-control-caption"},this.props.control.params.caption)),this.props.control.params.label&&(e=Object(n.createElement)("span",{className:"customize-control-title wp-ui-text-highlight"},this.props.control.params.label)),this.props.control.params.description&&(r=Object(n.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(n.createElement)(n.Fragment,null,t,Object(n.createElement)("div",{className:"ast-heading-wrapper wp-ui-highlight"},Object(n.createElement)("label",{className:"customizer-text"},e,r)))}}]),r}(n.Component);g.propTypes={control:m.a.object.isRequired};var v=g,y=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(v,{control:this}),this.container[0])}});function O(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var k=function(t){l()(r,t);var e=O(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).value=t.control.setting.get(),n.state={value:n.value},n.name=t.control.params.settings.default,n.name=n.name.replace("[","-"),n.name=n.name.replace("]",""),n}return s()(r,[{key:"render",value:function(){var t="hidden-field-".concat(this.name);return Object(n.createElement)("input",{type:"hidden",className:t,"data-name":this.name,value:this.state.value})}}]),r}(n.Component);k.propTypes={control:m.a.object.isRequired};var w=k,j=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(w,{control:this}),this.container[0])}}),E=r(33),C=r.n(E);function S(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var x=function(t){l()(r,t);var e=S(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=null;return this.props.control.params.label&&(t=Object(n.createElement)("span",{className:"customize-control-title"},this.props.control.params.label)),this.props.control.params.help&&(e=Object(n.createElement)("span",{className:"ast-description"},C()(this.props.control.params.help))),this.props.control.params.description&&(r=Object(n.createElement)("span",{className:"description customize-control-description"},this.props.control.params.description)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",{className:"customizer-text"},t,e,r))}}]),r}(n.Component);x.propTypes={control:m.a.object.isRequired};var N=x,R=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(N,{control:this}),this.container[0])}}),T=r(11),A=r.n(T),D=r(2),P=r.n(D),z=r(3),L=r(9);function q(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function I(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?q(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):q(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function B(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var M=function(t){l()(r,t);var e=B(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onUrlChange=n.onUrlChange.bind(P()(n)),n.onCheckboxChange=n.onCheckboxChange.bind(P()(n)),n.onRelChange=n.onRelChange.bind(P()(n)),n}return s()(r,[{key:"onUrlChange",value:function(t){var e=I(I({},this.state.value),{},{url:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"onCheckboxChange",value:function(){var t=I(I({},this.state.value),{},{new_tab:event.target.checked});this.setState({value:t}),this.props.control.setting.set(t)}},{key:"onRelChange",value:function(t){var e=I(I({},this.state.value),{},{link_rel:t});this.setState({value:e}),this.props.control.setting.set(e)}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.value,a=e.label,o=e.settings,i=this.state.value,s=i.url,c=i.new_tab,l=i.link_rel,u=o.default;u=(u=u.replace("[","-")).replace("]","");var p=null;return a&&(p=Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},a))),Object(n.createElement)(n.Fragment,null,p,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)(L.TextControl,{value:s,className:"ast-link-input",onChange:function(e){t.onUrlChange(e)}})),Object(n.createElement)("div",{className:"customize-control-content ast-link-open-in-new-tab-wrapper"},Object(n.createElement)("input",{type:"checkbox",id:"ast-link-open-in-new-tab",className:"ast-link-open-in-new-tab",name:"ast-link-open-in-new-tab",checked:c,onChange:function(){return t.onCheckboxChange()}}),Object(n.createElement)("label",null,Object(z.__)("Open in a New Tab"))),Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Button Link Rel"))),Object(n.createElement)(L.TextControl,{value:l,className:"ast-link-relationship",onChange:function(e){t.onRelChange(e)}})),Object(n.createElement)("input",{type:"hidden",id:"_customize-input-".concat(o.default),className:"customize-link-control-data",name:u,"data-customize-setting-link":o.default,"data-value":JSON.stringify(r)}))}}]),r}(n.Component);M.propTypes={control:m.a.object.isRequired};var V=M,Q=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(V,{control:this}),this.container[0])}});function U(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var H=function(t){l()(r,t);var e=U(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.caption,r=t.separator,a=t.label,o=t.description,i=null,s=null,c=null,l=null;return r&&(i=Object(n.createElement)("hr",null)),e&&(s=Object(n.createElement)("span",{className:"customize-control-caption"},e)),a&&(c=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},o)),Object(n.createElement)(n.Fragment,null,s,i,Object(n.createElement)("label",{className:"customizer-text"},c,l))}}]),r}(n.Component);H.propTypes={control:m.a.object.isRequired};var F=H,G=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(F,{control:this}),this.container[0])}});function Y(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var J=function(t){l()(r,t);var e=Y(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t=null,e=null,r=this.props.control.params,a=r.label,o=r.help,i=r.name;return a&&(t=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(e=Object(n.createElement)("span",{className:"ast-description"},o)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-toggle-desc-wrap"},Object(n.createElement)("label",{className:"customizer-text"},t,e,Object(n.createElement)("span",{className:"ast-adv-toggle-icon dashicons","data-control":i}))),Object(n.createElement)("div",{className:"ast-field-settings-wrap"}))}}]),r}(n.Component);J.propTypes={control:m.a.object.isRequired};var X=J,W=r(10),Z=r.n(W);function K(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function $(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var tt=function(t){l()(r,t);var e=$(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onBorderChange=n.onBorderChange.bind(P()(n)),n.onConnectedClick=n.onConnectedClick.bind(P()(n)),n.onDisconnectedClick=n.onDisconnectedClick.bind(P()(n)),n}return s()(r,[{key:"onBorderChange",value:function(t){var e=this.props.control.params.choices,r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?K(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):K(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);if(event.target.classList.contains("connected"))for(var n in e)r[n]=event.target.value;else r[t]=event.target.value;this.setState({value:r}),this.props.control.setting.set(r)}},{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-border-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"render",value:function(){var t,e=this,r=this.props.control.params,a=r.label,o=r.description,i=r.linked_choices,s=r.id,c=r.choices,l=r.inputAttrs,u=r.name,p=null,h=null,d=null,f=Object(z.__)("Link Values Together","astra");return a&&(p=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(h=Object(n.createElement)("span",{className:"description customize-control-description"},o)),i&&(d=Object(n.createElement)("li",{key:s,className:"ast-border-input-item-link disconnected"},Object(n.createElement)("span",{className:"dashicons dashicons-admin-links ast-border-connected wp-ui-highlight",onClick:function(){e.onConnectedClick()},"data-element-connect":s,title:f}),Object(n.createElement)("span",{className:"dashicons dashicons-editor-unlink ast-border-disconnected",onClick:function(){e.onDisconnectedClick()},"data-element-connect":s,title:f}))),t=Object.keys(c).map((function(t){if(c[t])var r=Object(n.createElement)("li",Z()({},l,{key:t,className:"ast-border-input-item"}),Object(n.createElement)("input",{type:"number",className:"ast-border-input ast-border-desktop connected","data-id":t,"data-name":u,onChange:function(){return e.onBorderChange(t)},value:e.state.value[t],"data-element-connect":s}),Object(n.createElement)("span",{className:"ast-border-title"},c[t]));return r})),Object(n.createElement)(n.Fragment,null,p,h,Object(n.createElement)("div",{className:"ast-border-outer-wrapper"},Object(n.createElement)("div",{className:"input-wrapper ast-border-wrapper"},Object(n.createElement)("ul",{className:"ast-border-wrapper desktop active"},d,t))))}}]),r}(n.Component);tt.propTypes={control:m.a.object.isRequired};var et=tt;function rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function nt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ot=function(t){l()(r,t);var e=at(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.onInputChange=n.onInputChange.bind(P()(n)),n.onSelectChange=n.onSelectChange.bind(P()(n)),n}return s()(r,[{key:"onInputChange",value:function(t){var e=nt({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"onSelectChange",value:function(t){var e=nt({},this.state.value);e["".concat(t,"-unit")]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],o=this.props.control.params.units,i=!1;1===o.length&&(i=!0);var s=Object.keys(o).map((function(t){return Object(n.createElement)("option",{key:t,value:t},o[t])}));return!1===a?Object(n.createElement)(n.Fragment,null,Object(n.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ast-non-reponsive ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(n.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:i,onChange:function(){e.onSelectChange(t)}},s)):Object(n.createElement)(n.Fragment,null,Object(n.createElement)("input",{key:t+"input","data-id":t,className:"ast-responsive-input ".concat(t," ").concat(r),type:"number",value:this.state.value[t],onChange:function(){e.onInputChange(t)}}),Object(n.createElement)("select",{key:t+"select",value:this.state.value["".concat(t,"-unit")],className:"ast-responsive-select ".concat(t),"data-id":"".concat(t,"-unit"),disabled:i,onChange:function(){e.onSelectChange(t)}},s))}},{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.responsive,o=null,i=null,s=null,c=null;return r&&(o=Object(n.createElement)("span",{className:"customize-control-title"},r),a&&(i=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))))),e&&(s=Object(n.createElement)("span",{className:"description customize-control-description"},e)),c=a?Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")):Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active",!1)),Object(n.createElement)("label",{key:"customizer-text",className:"customizer-text"},o,i,s,Object(n.createElement)("div",{className:"input-wrapper ast-responsive-wrapper"},c))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);ot.propTypes={control:m.a.object.isRequired};var it=ot;function st(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ct(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var lt=function(t){l()(r,t);var e=ct(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.onInputChange=n.onInputChange.bind(P()(n)),n.onResetClick=n.onResetClick.bind(P()(n)),n}return s()(r,[{key:"onResetClick",value:function(t){t.preventDefault(),this.updateValues(this.props.control.params.default)}},{key:"onInputChange",value:function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?st(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):st(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params,o=a.inputAttrs,i=a.suffix,s=null,c=[];if(i&&(s=Object(n.createElement)("span",{className:"ast-range-unit"},i)),void 0!==o){var l=o.split(" ");l.map((function(t,e){var r=t.split("=");void 0!==r[1]&&(c[r[0]]=r[1].replace(/"/g,""))}))}return Object(n.createElement)("div",{className:"input-field-wrapper ".concat(t," ").concat(r)},Object(n.createElement)("input",Z()({type:"range"},c,{value:this.state.value[t],"data-reset_value":this.props.control.params.default[t],onChange:function(){e.onInputChange(t)}})),Object(n.createElement)("div",{className:"astra_range_value"},Object(n.createElement)("input",Z()({type:"number"},c,{"data-id":t,className:"ast-responsive-range-value-input",value:this.state.value[t],onChange:function(){e.onInputChange(t)}})),s))}},{key:"render",value:function(){var t,e,r=this,a=this.props.control.params,o=a.description,i=a.label,s=Object(z.__)("Back to default","astra"),c=null,l=null,u=null;return i&&(c=Object(n.createElement)("span",{className:"customize-control-title"},i),l=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-slider-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),o&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(n.createElement)("div",{className:"ast-responsive-slider-reset",onClick:function(t){r.onResetClick(t)}},Object(n.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:s})),Object(n.createElement)("label",{key:"customizer-text"},c,l,u,Object(n.createElement)("div",{className:"wrapper"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);lt.propTypes={control:m.a.object.isRequired};var ut=lt;function pt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function ht(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?pt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):pt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function dt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ft=function(t){l()(r,t);var e=dt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return void 0!==a&&""!==a||(a=n.props.control.params.value),n.state={value:a},n.renderInputHtml=n.renderInputHtml.bind(P()(n)),n.renderResponsiveInput=n.renderResponsiveInput.bind(P()(n)),n.onUnitChange=n.onUnitChange.bind(P()(n)),n.updateValues=n.updateValues.bind(P()(n)),n.onSpacingChange=n.onSpacingChange.bind(P()(n)),n.onConnectedClick=n.onConnectedClick.bind(P()(n)),n.onDisconnectedClick=n.onDisconnectedClick.bind(P()(n)),n}return s()(r,[{key:"onConnectedClick",value:function(){for(var t=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),e=0;e<t.length;e++)t[e].classList.remove("connected"),t[e].setAttribute("data-element-connect","");event.target.parentElement.classList.remove("disconnected")}},{key:"onDisconnectedClick",value:function(){for(var t=event.target.dataset.elementConnect,e=event.target.parentElement.parentElement.querySelectorAll(".ast-spacing-input"),r=0;r<e.length;r++)e[r].classList.add("connected"),e[r].setAttribute("data-element-connect",t);event.target.parentElement.classList.add("disconnected")}},{key:"onSpacingChange",value:function(t,e){var r=this.props.control.params.choices,n=ht({},this.state.value),a=ht({},n[t]);if(event.target.classList.contains("connected"))for(var o in r)a[o]=event.target.value;else a[e]=event.target.value;n[t]=a,this.updateValues(n)}},{key:"onUnitChange",value:function(t,e){var r=ht({},this.state.value);r["".concat(t,"-unit")]=e,this.updateValues(r)}},{key:"renderResponsiveInput",value:function(t){var e=this;return Object(n.createElement)("input",{key:t,type:"hidden",onChange:function(){return e.onUnitChange(t,"")},className:"ast-spacing-unit-input ast-spacing-".concat(t,"-unit"),"data-device":"".concat(t),value:this.state.value["".concat(t,"-unit")]})}},{key:"renderInputHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params,o=a.linked_choices,i=a.id,s=a.choices,c=a.inputAttrs,l=a.unit_choices,u=Object(z.__)("Link Values Together","astra"),p=null,h=null,d=null;return o&&(p=Object(n.createElement)("li",{key:"connect-disconnect"+t,className:"ast-spacing-input-item-link disconnected"},Object(n.createElement)("span",{key:"connect"+t,className:"dashicons dashicons-admin-links ast-spacing-connected wp-ui-highlight",onClick:function(){e.onConnectedClick()},"data-element-connect":i,title:u}),Object(n.createElement)("span",{key:"disconnect"+t,className:"dashicons dashicons-editor-unlink ast-spacing-disconnected",onClick:function(){e.onDisconnectedClick()},"data-element-connect":i,title:u}))),h=Object.keys(s).map((function(r){return Object(n.createElement)("li",Z()({key:r},c,{className:"ast-spacing-input-item"}),Object(n.createElement)("input",{type:"number",className:"ast-spacing-input ast-spacing-".concat(t," connected"),"data-id":r,value:e.state.value[t][r],onChange:function(){return e.onSpacingChange(t,r)},"data-element-connect":i}),Object(n.createElement)("span",{className:"ast-spacing-title"},s[r]))})),d=Object.values(l).map((function(r){var a="";return e.state.value["".concat(t,"-unit")]===r&&(a="active"),Object(n.createElement)("li",{key:r,className:"single-unit ".concat(a),onClick:function(){return e.onUnitChange(t,r)},"data-unit":r},Object(n.createElement)("span",{className:"unit-text"},r))})),Object(n.createElement)("ul",{key:t,className:"ast-spacing-wrapper ".concat(t," ").concat(r)},p,h,Object(n.createElement)("ul",{key:"responsive-units",className:"ast-spacing-responsive-units ast-spacing-".concat(t,"-responsive-units")},d))}},{key:"render",value:function(){var t,e,r=this.props.control.params,a=r.label,o=r.description,i=null,s=null;return a&&(i=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(s=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)(n.Fragment,null,this.renderInputHtml("desktop","active"),this.renderInputHtml("tablet"),this.renderInputHtml("mobile")),e=Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"unit-input-wrapper ast-spacing-unit-wrapper"},this.renderResponsiveInput("desktop"),this.renderResponsiveInput("tablet"),this.renderResponsiveInput("mobile")),Object(n.createElement)("ul",{key:"ast-spacing-responsive-btns",className:"ast-spacing-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop active","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"}))))),Object(n.createElement)("label",{key:"ast-spacing-responsive",className:"ast-spacing-responsive",htmlFor:"ast-spacing"},i,s,Object(n.createElement)("div",{className:"ast-spacing-responsive-outer-wrapper"},Object(n.createElement)("div",{className:"input-wrapper ast-spacing-responsive-wrapper"},t),Object(n.createElement)("div",{className:"ast-spacing-responsive-units-screen-wrap"},e)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);ft.propTypes={control:m.a.object.isRequired};var mt=ft;function bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var gt=function(t){l()(r,t);var e=bt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.updateValues=n.updateValues.bind(P()(n)),n}return s()(r,[{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,a=e.description,o=e.suffix,i=e.link,s=e.inputAttrs,c=e.name,l=null,u=null,p=null,h=[],d=Object(z.__)("Back to default","astra");(r&&(l=Object(n.createElement)("label",null,Object(n.createElement)("span",{className:"customize-control-title"},r))),a&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},a)),o&&(p=Object(n.createElement)("span",{className:"ast-range-unit"},o)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));void 0!==i&&i.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));return Object(n.createElement)("label",null,l,u,Object(n.createElement)("div",{className:"wrapper"},Object(n.createElement)("input",Z()({},h,{type:"range",value:this.state.value,"data-reset_value":this.props.control.params.default,onChange:function(){return t.updateValues(event.target.value)}})),Object(n.createElement)("div",{className:"astra_range_value"},Object(n.createElement)("input",Z()({},h,{type:"number","data-name":c,className:"value ast-range-value-input",value:this.state.value,onChange:function(){return t.updateValues(event.target.value)}})),p),Object(n.createElement)("div",{className:"ast-slider-reset",onClick:function(){t.updateValues(t.props.control.params.default)}},Object(n.createElement)("span",{className:"dashicons dashicons-image-rotate ast-control-tooltip",title:d}))))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);gt.propTypes={control:m.a.object.isRequired};var vt=gt,yt=r(34),_t=r.n(yt),Ot=r(35);function kt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var wt=function(t){l()(r,t);var e=kt(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).onChangeComplete=n.onChangeComplete.bind(P()(n)),n.onPaletteChangeComplete=n.onPaletteChangeComplete.bind(P()(n)),n.onChangeGradientComplete=n.onChangeGradientComplete.bind(P()(n)),n.renderImageSettings=n.renderImageSettings.bind(P()(n)),n.onRemoveImage=n.onRemoveImage.bind(P()(n)),n.onSelectImage=n.onSelectImage.bind(P()(n)),n.open=n.open.bind(P()(n)),n.onColorClearClick=n.onColorClearClick.bind(P()(n)),n.state={isVisible:!1,refresh:!1,color:n.props.color,modalCanClose:!0,backgroundType:n.props.backgroundType,supportGradient:void 0!==L.__experimentalGradientPicker},n}return s()(r,[{key:"onResetRefresh",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0})}},{key:"render",value:function(){var t=this,e=this.state,r=e.refresh,a=e.modalCanClose,o=e.isVisible,i=e.supportGradient,s=e.backgroundType,c=this.props,l=c.allowGradient,u=c.allowImage,p=function(){a&&!0===o&&t.setState({isVisible:!1})},h=!(!l||!i),d=[{name:"color",title:Object(z.__)("Color","astra"),className:"astra-color-background"}];if(h){var f={name:"gradient",title:Object(z.__)("Gradient","astra"),className:"astra-image-background"};d.push(f)}if(u){var m={name:"image",title:Object(z.__)("Image","astra"),className:"astra-image-background"};d.push(m)}var b=[],g=0;return _t()(astColorPalette.colors).forEach((function(t){var e={};Object.assign(e,{name:g+"_"+t}),Object.assign(e,{color:t}),b.push(e),g++})),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"color-button-wrap"},Object(n.createElement)(L.Button,{className:o?"astra-color-icon-indicate open":"astra-color-icon-indicate",onClick:function(){o?p():(!0===r?t.setState({refresh:!1}):t.setState({refresh:!0}),t.setState({isVisible:!0}))}},("color"===s||"gradient"===s)&&Object(n.createElement)(L.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:this.props.color}),"image"===s&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorIndicator,{className:"astra-advanced-color-indicate",colorValue:"#ffffff"}),Object(n.createElement)(L.Dashicon,{icon:"format-image"})))),Object(n.createElement)("div",{className:"astra-color-picker-wrap"},Object(n.createElement)(n.Fragment,null,o&&Object(n.createElement)("div",{className:"astra-popover-color",onClose:p},1<d.length&&Object(n.createElement)(L.TabPanel,{className:"astra-popover-tabs astra-background-tabs",activeClass:"active-tab",initialTabName:s,tabs:d},(function(e){var a;return e.name&&("gradient"===e.name&&(a=Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.__experimentalGradientPicker,{className:"ast-gradient-color-picker",value:t.props.color&&t.props.color.includes("gradient")?t.props.color:"",onChange:function(e){return t.onChangeGradientComplete(e)}}))),"image"===e.name?a=t.renderImageSettings():"color"===e.name&&(a=Object(n.createElement)(n.Fragment,null,r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:t.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),!r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:t.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),Object(n.createElement)(L.ColorPalette,{colors:b,value:t.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(e){return t.onPaletteChangeComplete(e)}}),Object(n.createElement)("button",{type:"button",onClick:function(){t.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button common components-circular-option-picker__clear is-secondary is-small"},Object(z.__)("Clear","astra"))))),Object(n.createElement)("div",null,a)})),1===d.length&&Object(n.createElement)(n.Fragment,null,r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:this.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),!r&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.ColorPicker,{color:this.props.color,onChangeComplete:function(e){return t.onChangeComplete(e)}})),Object(n.createElement)(L.ColorPalette,{colors:b,value:this.props.color,clearable:!1,disableCustomColors:!0,className:"ast-color-palette",onChange:function(e){return t.onPaletteChangeComplete(e)}}),Object(n.createElement)("button",{type:"button",onClick:function(){t.onColorClearClick()},className:"ast-clear-btn-inside-picker components-button components-circular-option-picker__clear is-secondary is-small"},Object(z.__)("Clear","astra")))))))}},{key:"onColorClearClick",value:function(){!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete("","color")}},{key:"onChangeGradientComplete",value:function(t){var e;e=void 0===t?"":t,this.setState({backgroundType:"gradient"}),this.props.onChangeComplete(e,"gradient")}},{key:"onChangeComplete",value:function(t){void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?(t.rgb.r,t.rgb.g,t.rgb.b,t.rgb.a):t.hex,this.setState({backgroundType:"color"}),this.props.onChangeComplete(t,"color")}},{key:"onPaletteChangeComplete",value:function(t){this.setState({color:t}),!0===this.state.refresh?this.setState({refresh:!1}):this.setState({refresh:!0}),this.props.onChangeComplete(t,"color")}},{key:"onSelectImage",value:function(t){this.setState({modalCanClose:!0}),this.setState({backgroundType:"image"}),this.props.onSelectImage(t,"image")}},{key:"onRemoveImage",value:function(){this.setState({modalCanClose:!0}),this.props.onSelectImage("")}},{key:"open",value:function(t){this.setState({modalCanClose:!1}),t()}},{key:"onChangeImageOptions",value:function(t,e,r){this.setState({backgroundType:"image"}),this.props.onChangeImageOptions(e,r,"image")}},{key:"toggleMoreSettings",value:function(){var t=event.target.parentElement.parentElement,e=t.querySelector(".more-settings"),r=t.querySelector(".media-position-setting"),n=e.dataset.direction;e.dataset.id;"down"===n?(e.setAttribute("data-direction","up"),t.querySelector(".message").innerHTML=Object(z.__)("Less Settings"),t.querySelector(".icon").innerHTML="↑"):(e.setAttribute("data-direction","down"),t.querySelector(".message").innerHTML=Object(z.__)("More Settings"),t.querySelector(".icon").innerHTML="↓"),r.classList.contains("hide-settings")?r.classList.remove("hide-settings"):r.classList.add("hide-settings")}},{key:"renderImageSettings",value:function(){var t=this;return Object(n.createElement)(n.Fragment,null,(this.props.media.url||this.props.backgroundImage)&&Object(n.createElement)("img",{src:this.props.media.url?this.props.media.url:this.props.backgroundImage}),Object(n.createElement)(Ot.MediaUpload,{title:Object(z.__)("Select Background Image","astra"),onSelect:function(e){return t.onSelectImage(e)},allowedTypes:["image"],value:void 0!==this.props.media&&this.props.media?this.props.media:"",render:function(e){var r=e.open;return Object(n.createElement)(L.Button,{className:"upload-button button-add-media",isDefault:!0,onClick:function(){return t.open(r)}},t.props.media||t.props.backgroundImage?Object(z.__)("Replace image","astra"):Object(z.__)("Select Background Image","astra"))}}),(this.props.media||this.props.backgroundImage)&&Object(n.createElement)(n.Fragment,null,Object(n.createElement)(L.Button,{className:"ast-bg-img-remove",onClick:this.onRemoveImage,isLink:!0,isDestructive:!0},Object(z.__)("Remove Image","astra")),Object(n.createElement)("a",{href:"#",className:"more-settings",onClick:this.toggleMoreSettings,"data-direction":"down","data-id":"desktop"},Object(n.createElement)("span",{className:"message"}," ",Object(z.__)("More Settings")," "),Object(n.createElement)("span",{className:"icon"}," ↓ ")),Object(n.createElement)("div",{className:"media-position-setting hide-settings"},Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Image Position"),value:this.props.backgroundPosition,onChange:function(e){return t.onChangeImageOptions("backgroundPosition","background-position",e)},options:[{value:"left top",label:Object(z.__)("Left Top","astra")},{value:"left center",label:Object(z.__)("Left Center","astra")},{value:"left bottom",label:Object(z.__)("Left Bottom","astra")},{value:"right top",label:Object(z.__)("Right Top","astra")},{value:"right center",label:Object(z.__)("Right Center","astra")},{value:"right bottom",label:Object(z.__)("Right Bottom","astra")},{value:"center top",label:Object(z.__)("Center Top","astra")},{value:"center center",label:Object(z.__)("Center Center","astra")},{value:"center bottom",label:Object(z.__)("Center Bottom","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Attachment","astra"),value:this.props.backgroundAttachment,onChange:function(e){return t.onChangeImageOptions("backgroundAttachment","background-attachment",e)},options:[{value:"fixed",label:Object(z.__)("Fixed","astra")},{value:"scroll",label:Object(z.__)("Scroll","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Repeat","astra"),value:this.props.backgroundRepeat,onChange:function(e){return t.onChangeImageOptions("backgroundRepeat","background-repeat",e)},options:[{value:"no-repeat",label:Object(z.__)("No Repeat","astra")},{value:"repeat",label:Object(z.__)("Repeat All","astra")},{value:"repeat-x",label:Object(z.__)("Repeat Horizontally","astra")},{value:"repeat-y",label:Object(z.__)("Repeat Vertically","astra")}]}),Object(n.createElement)(L.SelectControl,{label:Object(z.__)("Size","astra"),value:this.props.backgroundSize,onChange:function(e){return t.onChangeImageOptions("backgroundSize","background-size",e)},options:[{value:"auto",label:Object(z.__)("Auto","astra")},{value:"cover",label:Object(z.__)("Cover","astra")},{value:"contain",label:Object(z.__)("Contain","astra")}]}))))}}]),r}(n.Component);wt.propTypes={color:m.a.string,usePalette:m.a.bool,palette:m.a.string,presetColors:m.a.object,onChangeComplete:m.a.func,onPaletteChangeComplete:m.a.func,onChange:m.a.func,customizer:m.a.object};var jt=wt;function Et(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Ct(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Et(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Et(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function St(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var xt=function(t){l()(r,t);var e=St(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.onSelectImage=n.onSelectImage.bind(P()(n)),n.state={value:a},n.updateBackgroundType(),n}return s()(r,[{key:"updateBackgroundType",value:function(){var t=Ct({},this.state.value);void 0!==this.state.value["background-type"]&&""!==this.state.value["background-type"]||(void 0!==this.state.value["background-color"]&&""!==this.state.value["background-color"]&&(t["background-type"]="color",this.updateValues(t),this.state.value["background-color"].includes("gradient")&&(t["background-type"]="gradient",this.updateValues(t))),void 0!==this.state.value["background-image"]&&""!==this.state.value["background-image"]&&(t["background-type"]="image",this.updateValues(t)))}},{key:"renderReset",value:function(){var t=this;return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(e){e.preventDefault();var r=JSON.parse(JSON.stringify(t.defaultValue));void 0!==r&&""!==r&&(void 0!==r["background-color"]&&""!==r["background-color"]||(r["background-color"]="",wp.customize.previewer.refresh()),void 0!==r["background-image"]&&""!==r["background-image"]||(r["background-image"]="",wp.customize.previewer.refresh()),void 0!==r["background-media"]&&""!==r["background-media"]||(r["background-media"]="",wp.customize.previewer.refresh())),t.updateValues(r),t.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}}))))}},{key:"onSelectImage",value:function(t,e){var r=Ct({},this.state.value);r["background-media"]=t.id,r["background-image"]=t.url,r["background-type"]=e,this.updateValues(r)}},{key:"onChangeImageOptions",value:function(t,e,r){var n=Ct({},this.state.value);n[t]=e,n["background-type"]=r,this.updateValues(n)}},{key:"renderSettings",value:function(){var t=this;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(jt,{color:void 0!==this.state.value["background-color"]&&this.state.value["background-color"]?this.state.value["background-color"]:"",onChangeComplete:function(e,r){return t.handleChangeComplete(e,r)},media:void 0!==this.state.value["background-media"]&&this.state.value["background-media"]?this.state.value["background-media"]:"",backgroundImage:void 0!==this.state.value["background-image"]&&this.state.value["background-image"]?this.state.value["background-image"]:"",backgroundAttachment:void 0!==this.state.value["background-attachment"]&&this.state.value["background-attachment"]?this.state.value["background-attachment"]:"",backgroundPosition:void 0!==this.state.value["background-position"]&&this.state.value["background-position"]?this.state.value["background-position"]:"",backgroundRepeat:void 0!==this.state.value["background-repeat"]&&this.state.value["background-repeat"]?this.state.value["background-repeat"]:"",backgroundSize:void 0!==this.state.value["background-size"]&&this.state.value["background-size"]?this.state.value["background-size"]:"",onSelectImage:function(e,r){return t.onSelectImage(e,r)},onChangeImageOptions:function(e,r,n){return t.onChangeImageOptions(e,r,n)},backgroundType:void 0!==this.state.value["background-type"]&&this.state.value["background-type"]?this.state.value["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"}))}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var n=Ct({},this.state.value);n["background-color"]=r,n["background-type"]=e,this.updateValues(n)}},{key:"render",value:function(){var t,e=this.props.control.params,r=e.defaultValue,a=e.label,o=e.description,i="#RRGGBB",s=null,c=null;return r&&(i="#"!==r.substring(0,1)?"#"+r:r,defaultValueAttr=" data-default-color="+i),s=a&&""!==a&&void 0!==a?Object(n.createElement)("span",{className:"customize-control-title"},a):Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Background","astra")),o&&(c=Object(n.createElement)("span",{className:"description customize-control-description"},o)),t=Object(n.createElement)("div",{className:"background-wrapper"},Object(n.createElement)("div",{className:"background-container"},this.renderReset(),this.renderSettings())),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,s,c),Object(n.createElement)("div",{className:"customize-control-content"},t))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);xt.propTypes={control:m.a.object.isRequired};var Nt=xt;function Rt(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Tt(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Rt(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Rt(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}function At(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Dt=function(t){l()(r,t);var e=At(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.onSelectImage=n.onSelectImage.bind(P()(n)),n.renderReset=n.renderReset.bind(P()(n)),n.state={value:a},n}return s()(r,[{key:"componentDidMount",value:function(){for(var t=0,e=["desktop","mobile","tablet"];t<e.length;t++){var r=e[t];this.updateBackgroundType(r)}}},{key:"updateBackgroundType",value:function(t){var e=Tt({},this.props.control.setting.get());if(void 0===this.state.value[t]["background-type"]||""===this.state.value[t]["background-type"]){var r=Tt({},e[t]);void 0!==this.state.value[t]["background-color"]&&""!==this.state.value[t]["background-color"]&&(r["background-type"]="color",e[t]=r,this.updateValues(e),this.state.value[t]["background-color"].includes("gradient")&&(r["background-type"]="gradient",e[t]=r,this.updateValues(e))),void 0!==this.state.value[t]["background-image"]&&""!==this.state.value[t]["background-image"]&&(r["background-type"]="image",e[t]=r,this.updateValues(e))}}},{key:"renderReset",value:function(t){for(var e=this,r=!0,a=0,o=["desktop","mobile","tablet"];a<o.length;a++){var i=o[a];(this.state.value[i]["background-color"]||this.state.value[i]["background-image"]||this.state.value[i]["background-media"])&&!1,this.state.value[i]["background-color"]===this.defaultValue[i]["background-image"]&&this.state.value[i]["background-image"]===this.defaultValue[i]["background-color"]&&this.state.value[i]["background-media"]===this.defaultValue[i]["background-media"]||(r=!1)}return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:r,onClick:function(t){t.preventDefault();var r=JSON.parse(JSON.stringify(e.defaultValue));if(void 0!==r&&""!==r)for(var n in r)void 0!==r[n]["background-color"]&&""!==r[n]["background-color"]||(r[n]["background-color"]="",wp.customize.previewer.refresh()),void 0!==r[n]["background-image"]&&""!==r[n]["background-image"]||(r[n]["background-image"]="",wp.customize.previewer.refresh()),void 0!==r[n]["background-media"]&&""!==r[n]["background-media"]||(r[n]["background-media"]="",wp.customize.previewer.refresh());e.updateValues(r),e.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),e.refs.ChildAstraColorPickerControltablet.onResetRefresh(),e.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"onSelectImage",value:function(t,e,r){var n=Tt({},this.state.value),a=Tt({},n[e]);a["background-image"]=t.url,a["background-media"]=t.id,a["background-type"]=r,n[e]=a,this.updateValues(n)}},{key:"onChangeImageOptions",value:function(t,e,r,n){var a=Tt({},this.state.value),o=Tt({},a[r]);o[t]=e,o["background-type"]=n,a[r]=o,this.updateValues(a)}},{key:"renderSettings",value:function(t){var e=this;return Object(n.createElement)(n.Fragment,null,Object(n.createElement)(jt,{color:void 0!==this.state.value[t]["background-color"]&&this.state.value[t]["background-color"]?this.state.value[t]["background-color"]:"",onChangeComplete:function(r,n){return e.handleChangeComplete(r,t,n)},media:void 0!==this.state.value[t]["background-media"]&&this.state.value[t]["background-media"]?this.state.value[t]["background-media"]:"",backgroundImage:void 0!==this.state.value[t]["background-image"]&&this.state.value[t]["background-image"]?this.state.value[t]["background-image"]:"",backgroundAttachment:void 0!==this.state.value[t]["background-attachment"]&&this.state.value[t]["background-attachment"]?this.state.value[t]["background-attachment"]:"",backgroundPosition:void 0!==this.state.value[t]["background-position"]&&this.state.value[t]["background-position"]?this.state.value[t]["background-position"]:"",backgroundRepeat:void 0!==this.state.value[t]["background-repeat"]&&this.state.value[t]["background-repeat"]?this.state.value[t]["background-repeat"]:"",backgroundSize:void 0!==this.state.value[t]["background-size"]&&this.state.value[t]["background-size"]?this.state.value[t]["background-size"]:"",onSelectImage:function(r,n){return e.onSelectImage(r,t,n)},onChangeImageOptions:function(r,n,a){return e.onChangeImageOptions(r,n,t,a)},backgroundType:void 0!==this.state.value[t]["background-type"]&&this.state.value[t]["background-type"]?this.state.value[t]["background-type"]:"color",allowGradient:!0,allowImage:!0,ref:"ChildAstraColorPickerControl"+t}))}},{key:"handleChangeComplete",value:function(t,e,r){var n;n="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex;var a=Tt({},this.state.value),o=Tt({},a[e]);o["background-color"]=n,o["background-type"]=r,a[e]=o,this.updateValues(a)}},{key:"render",value:function(){var t,e,r=this.props.control.params,a=r.defaultValue,o=r.label,i=r.description,s="#RRGGBB",c=null,l=null;return a&&(s="#"!==a.substring(0,1)?"#"+a:a,defaultValueAttr=" data-default-color="+s),c=o&&""!==o&&void 0!==o?Object(n.createElement)("span",{className:"customize-control-title"},o):Object(n.createElement)("span",{className:"customize-control-title"},Object(z.__)("Background","astra")),i&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},i)),t=Object(n.createElement)("ul",{className:"ast-responsive-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),e=Object(n.createElement)("div",{className:"background-wrapper"},Object(n.createElement)("div",{className:"background-container desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(n.createElement)("div",{className:"background-container tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(n.createElement)("div",{className:"background-container mobile"},this.renderReset("mobile"),this.renderSettings("mobile"))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,c,l),Object(n.createElement)("div",{className:"customize-control-content"},t,e))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Dt.propTypes={control:m.a.object.isRequired};var Pt=Dt;function zt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Lt=function(t){l()(r,t);var e=zt(r);function r(t){var n;o()(this,r),(n=e.call(this,t)).handleChangeComplete=n.handleChangeComplete.bind(P()(n)),n.updateValues=n.updateValues.bind(P()(n)),n.renderOperationButtons=n.renderOperationButtons.bind(P()(n));var a=n.props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.state={value:a},n}return s()(r,[{key:"renderOperationButtons",value:function(){var t=this;return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(e){e.preventDefault();var r=JSON.parse(JSON.stringify(t.defaultValue));void 0!==r&&""!==r||(r="",wp.customize.previewer.refresh()),t.updateValues(r),t.refs.ChildAstraColorPickerControl.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"handleChangeComplete",value:function(t){var e;e="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(e)}},{key:"render",value:function(){var t=this,e=null,r=this.props.control.params.label;return r&&(e=Object(n.createElement)("span",{className:"customize-control-title"},r)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,e),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex"},this.renderOperationButtons(),Object(n.createElement)(jt,{color:void 0!==this.state.value&&this.state.value?this.state.value:"",onChangeComplete:function(e,r){return t.handleChangeComplete(e)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"})))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Lt.propTypes={control:m.a.object.isRequired};var qt=Lt;function It(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Bt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Mt=function(t){l()(r,t);var e=Bt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.defaultValue=n.props.control.params.default,n.state={value:a},n}return s()(r,[{key:"renderReset",value:function(t){for(var e=this,r=0,a=["desktop","mobile","tablet"];r<a.length;r++){var o=a[r];this.state.value[o]&&!1}return Object(n.createElement)("span",{className:"customize-control-title"},Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-btn-reset-wrap"},Object(n.createElement)("button",{className:"ast-reset-btn components-button components-circular-option-picker__clear is-secondary is-small",disabled:JSON.stringify(this.state.value)===JSON.stringify(this.defaultValue),onClick:function(t){t.preventDefault();var r=JSON.parse(JSON.stringify(e.defaultValue));if(void 0!==r&&""!==r)for(var n in r)void 0!==r[n]&&""!==r[n]||(r[n]="",wp.customize.previewer.refresh());e.setState({value:r}),e.props.control.setting.set(r),e.refs.ChildAstraColorPickerControldesktop.onResetRefresh(),e.refs.ChildAstraColorPickerControltablet.onResetRefresh(),e.refs.ChildAstraColorPickerControlmobile.onResetRefresh()}},Object(n.createElement)(L.Dashicon,{icon:"image-rotate",style:{width:12,height:12,fontSize:12}})))))}},{key:"renderSettings",value:function(t){var e=this;return Object(n.createElement)(jt,{color:void 0!==this.state.value[t]&&this.state.value[t]?this.state.value[t]:"",onChangeComplete:function(r,n){return e.handleChangeComplete(r,t)},backgroundType:"color",allowGradient:!1,allowImage:!1,ref:"ChildAstraColorPickerControl"+t})}},{key:"handleChangeComplete",value:function(t,e){var r;r="string"==typeof t||t instanceof String?t:void 0!==t.rgb&&void 0!==t.rgb.a&&1!==t.rgb.a?"rgba("+t.rgb.r+","+t.rgb.g+","+t.rgb.b+","+t.rgb.a+")":t.hex,this.updateValues(r,e)}},{key:"render",value:function(){var t=this.props.control.params,e=t.defaultValue,r=t.label,a=t.description,o=t.responsive,i=(t.value,"#RRGGBB"),s=null,c=null,l=null,u=null;return e&&(i="#"!==e.substring(0,1)?"#"+e:e,defaultValueAttr=" data-default-color="+i),r&&(s=Object(n.createElement)("span",{className:"customize-control-title"},r)),a&&(c=Object(n.createElement)("span",{className:"description customize-control-description"},a)),o&&(l=Object(n.createElement)("ul",{className:"ast-responsive-btns"},Object(n.createElement)("li",{className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),u=Object(n.createElement)(n.Fragment,null,Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color desktop active"},this.renderReset("desktop"),this.renderSettings("desktop")),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color tablet"},this.renderReset("tablet"),this.renderSettings("tablet")),Object(n.createElement)("div",{className:"ast-color-picker-alpha color-picker-hex ast-responsive-color mobile"},this.renderReset("mobile"),this.renderSettings("mobile")))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,s,c),l,Object(n.createElement)("div",{className:"customize-control-content"},u))}},{key:"updateValues",value:function(t,e){var r=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?It(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);r[e]=t,this.setState({value:r}),this.props.control.setting.set(r)}}]),r}(n.Component);Mt.propTypes={control:m.a.object.isRequired};var Vt=Mt;function Qt(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Ut=function(t){l()(r,t);var e=Qt(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onSelectChange=n.onSelectChange.bind(P()(n)),n}return s()(r,[{key:"onSelectChange",value:function(){this.updateValues(event.target.value)}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.label,a=e.name,o=e.choices,i=null;r&&(i=Object(n.createElement)("span",{className:"customize-control-title"},r));var s=Object.entries(o).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return Object(n.createElement)(n.Fragment,null,i,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("select",{className:"ast-select-input","data-name":a,"data-value":this.state.value,value:this.state.value,onChange:function(){t.onSelectChange()}},s)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Ut.propTypes={control:m.a.object.isRequired};var Ht=Ut;function Ft(t,e){jQuery("html").addClass("responsive-background-img-ready");var r=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+r).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+r).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container").removeClass("active"),jQuery(".customize-control-ast-responsive-background .customize-control-content .background-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-background .ast-responsive-btns li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})),e&&jQuery(document).mouseup((function(t){var r=jQuery(e),n=r.find(".background-wrapper");n.is(t.target)||0!==n.has(t.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}function Gt(t,e){jQuery("html").addClass("responsive-background-color-ready");var r=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha."+r).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+r).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha").removeClass("active"),jQuery(".customize-control-ast-responsive-color .customize-control-content .ast-responsive-color."+t).addClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-color .ast-responsive-btns li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")})),e&&jQuery(document).mouseup((function(t){var r=jQuery(e),n=r.find(".customize-control-content");n.is(t.target)||0!==n.has(t.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}function Yt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+e).addClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive .ast-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive .input-wrapper input, .customize-control .ast-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive .input-wrapper input."+t+", .customize-control .ast-responsive-btns > li."+t).addClass("active")})),t.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}function Jt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .ast-responsive-slider-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-slider .input-field-wrapper, .customize-control .ast-responsive-slider-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-slider .input-field-wrapper."+t+", .customize-control .ast-responsive-slider-btns > li."+t).addClass("active")})),t.container.find(".ast-responsive-slider-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}function Xt(t){var e=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+e).addClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .ast-spacing-responsive-btns li."+e).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper, .customize-control .ast-spacing-responsive-btns > li").removeClass("active"),jQuery(".customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper."+t+", .customize-control .ast-spacing-responsive-btns > li."+t).addClass("active")})),t.container.find(".ast-spacing-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}var Wt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(X,{control:this}),this.container[0])},ready:function(){this.setting._value;this.registerToggleEvents(),this.container.on("ast_settings_changed",this.onOptionChange);var t=0,e=jQuery(".wp-full-overlay-sidebar-content"),r=navigator.userAgent.toLowerCase();if(r.indexOf("firefox")>-1)n=16;else var n=6;jQuery("#customize-controls .wp-full-overlay-sidebar-content .control-section").on("scroll",(function(a){var o=jQuery(this);if(o.hasClass("open")){var i=o.find(".customize-section-title"),s=o.scrollTop();if(s>t)i.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),o.css("padding-top","");else{var c=o.outerWidth();i.addClass("maybe-sticky").addClass("is-in-view").addClass("is-sticky").width(c-n).css("top",e.css("top")),r.indexOf("firefox")>-1||o.css("padding-top",i.height()),0===s&&(i.removeClass("maybe-sticky").removeClass("is-in-view").removeClass("is-sticky"),o.css("padding-top",""))}t=s}}))},registerToggleEvents:function(){var t=this;jQuery(".wp-full-overlay-sidebar-content, .wp-picker-container").click((function(t){jQuery(t.target).closest(".ast-field-settings-modal").length||jQuery(".ast-adv-toggle-icon.open").trigger("click")})),t.container.on("click",".ast-toggle-desc-wrap .ast-adv-toggle-icon",(function(e){e.preventDefault(),e.stopPropagation();var r=jQuery(this),n=r.closest(".customize-control-ast-settings-group"),a=n.find(".ast-field-settings-modal").data("loaded"),o=n.parents(".control-section");if(r.hasClass("open"))n.find(".ast-field-settings-modal").hide();else{var i=o.find(".ast-adv-toggle-icon.open");if(i.length>0&&i.trigger("click"),a)n.find(".ast-field-settings-modal").show();else{var s=t.params.ast_fields,c=jQuery(astra.customizer.group_modal_tmpl);n.find(".ast-field-settings-wrap").append(c),n.find(".ast-fields-wrap").attr("data-control",t.params.name),t.ast_render_field(n,s,t),n.find(".ast-field-settings-modal").show();var l=jQuery("#customize-footer-actions .active").attr("data-device");"mobile"==l?(jQuery(".ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile").addClass("active"),jQuery(".ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile").addClass("active")):"tablet"==l?(jQuery(".ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet").addClass("active"),jQuery(".ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet").addClass("active")):(jQuery(".ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop").addClass("active"),jQuery(".ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop").addClass("active"))}}r.toggleClass("open")})),t.container.on("click",".ast-toggle-desc-wrap > .customizer-text",(function(t){t.preventDefault(),t.stopPropagation(),jQuery(this).find(".ast-adv-toggle-icon").trigger("click")}))},ast_render_field:function(t,e,r){var n=this,a=t.find(".ast-fields-wrap"),o="",i=[],s=n.isJsonString(r.params.value)?JSON.parse(r.params.value):{};if(void 0!==e.tabs){var c=(c=r.params.name.replace("[","-")).replace("]","");o+='<div id="'+c+'-tabs" class="ast-group-tabs">',o+='<ul class="ast-group-list">';var l=0;_.each(e.tabs,(function(t,e){var r="";0==l&&(r="active"),o+='<li class="'+r+'"><a href="#tab-'+e+'"><span>'+e+"</span></a></li>",l++})),o+="</ul>",o+='<div class="ast-tab-content" >',_.each(e.tabs,(function(t,e){o+='<div id="tab-'+e+'" class="tab">';var r=n.generateFieldHtml(t,s);o+=r.html,_.each(r.controls,(function(t,e){i.push({key:t.key,value:t.value,name:t.name})})),o+="</div>"})),o+="</div></div>",a.html(o),n.renderReactControl(e,n),jQuery("#"+c+"-tabs").tabs()}else{var u=n.generateFieldHtml(e,s);o+=u.html,_.each(u.controls,(function(t,e){i.push({key:t.key,value:t.value,name:t.name})})),a.html(o),n.renderReactControl(e,n)}_.each(i,(function(t,e){switch(t.key){case"ast-color":!function(t){jQuery(document).mouseup((function(e){var r=jQuery(t),n=r.find(".astra-color-picker-wrap");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}("#customize-control-"+t.name);break;case"ast-background":!function(t){jQuery(document).mouseup((function(e){var r=jQuery(t),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}("#customize-control-"+t.name);break;case"ast-responsive-background":Ft(n,"#customize-control-"+t.name);break;case"ast-responsive-color":Gt(n,"#customize-control-"+t.name);break;case"ast-responsive":Yt(n);break;case"ast-responsive-slider":Jt(n);break;case"ast-responsive-spacing":Xt(n);break;case"ast-font":var r=astra.customizer.settings.google_fonts;n.container.find(".ast-font-family").html(r),n.container.find(".ast-font-family").each((function(){var t=jQuery(this).data("value");jQuery(this).val(t);var e=jQuery(this).data("name");jQuery("select[data-name='"+e+"'] option[value='inherit']").text(jQuery(this).data("inherit"));var r=jQuery(".ast-font-weight[data-connected-control='"+e+"']"),a=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t));n.generateDropdownHtml(a,r),r.val(r.data("value"))})),n.container.find(".ast-font-family").selectWoo(),n.container.find(".ast-font-family").on("select2:select",(function(){var t=jQuery(this).val(),e=AstTypography._getWeightObject(AstTypography._cleanGoogleFonts(t)),r=jQuery(this).data("name"),a=jQuery(".ast-font-weight[data-connected-control='"+r+"']");n.generateDropdownHtml(e,a);var o=jQuery(this).parents(".customize-control").attr("id");o=o.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,jQuery(this),t,o]);var i=a.parents(".customize-control").attr("id");i=i.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,a,a.val(),i])})),n.container.find(".ast-font-weight").on("change",(function(){var t=jQuery(this).val();name=jQuery(this).parents(".customize-control").attr("id"),name=name.replace("customize-control-",""),n.container.trigger("ast_settings_changed",[n,jQuery(this),t,name])}))}})),t.find(".ast-field-settings-modal").data("loaded",!0)},getJS:function(t){},generateFieldHtml:function(t,e){var r="",n=[];_.each(t,(function(t,e){var a=wp.customize.control("astra-settings["+t.name+"]")?wp.customize.control("astra-settings["+t.name+"]").params.value:"",o=t.control,i="customize-control-"+o+"-content",s=wp.template(i),c=a||t.default;t.value=c;var l="",u="";if(t.label=t.title,_.each(t.data_attrs,(function(t,e){l+=" data-"+e+" ='"+t+"'"})),_.each(t.input_attrs,(function(t,e){u+=e+'="'+t+'" '})),t.dataAttrs=l,t.inputAttrs=u,n.push({key:o,value:c,name:t.name}),"ast-responsive"==o){var p=void 0===t.responsive||t.responsive;t.responsive=p}var h=t.name.replace("[","-");h=h.replace("]",""),r+="<li id='customize-control-"+h+"' class='customize-control customize-control-"+t.control+"' >",r+=s(t),r+="</li>"}));var a=new Object;return a.controls=n,a.html=r,a},generateDropdownHtml:function(t,e){var r=e.data("inherit"),n="",a=0,o=(t=jQuery.merge(["inherit"],t),e.val()||"400"),i="";for(astraTypo.inherit=r;a<t.length;a++)0===a&&-1===jQuery.inArray(o,t)?(o=t[0],i=' selected="selected"'):i=t[a]==o?' selected="selected"':"",t[a].includes("italic")||(n+='<option value="'+t[a]+'"'+i+">"+astraTypo[t[a]]+"</option>");e.html(n)},onOptionChange:function(t,e,r,n,a){jQuery(".hidden-field-astra-settings-"+a).val(n),wp.customize.control("astra-settings["+a+"]").setting.set(n)},isJsonString:function(t){try{JSON.parse(t)}catch(t){return!1}return!0},getFinalControlObject:function(t,e){return void 0!==t.choices&&void 0===e.params.choices&&(e.params.choices=t.choices),void 0!==t.inputAttrs&&void 0===e.params.inputAttrs&&(e.params.inputAttrs=t.inputAttrs),void 0!==t.link&&void 0===e.params.link&&(e.params.link=t.link),void 0!==t.units&&void 0===e.params.units&&(e.params.units=t.units),void 0!==t.linked_choices&&void 0===e.params.linked_choices&&(e.params.linked_choices=t.linked_choices),void 0===t.title||void 0!==e.params.label&&""!==e.params.label&&null!==e.params.label||(e.params.label=t.title),void 0===t.responsive||void 0!==e.params.responsive&&""!==e.params.responsive&&null!==e.params.responsive||(e.params.responsive=t.responsive),e},renderReactControl:function(t,e){var r={"ast-background":Nt,"ast-responsive-background":Pt,"ast-responsive-color":Vt,"ast-color":qt,"ast-border":et,"ast-responsive":it,"ast-responsive-slider":ut,"ast-slider":vt,"ast-responsive-spacing":mt,"ast-select":Ht,"ast-divider":F};void 0!==t.tabs?_.each(t.tabs,(function(t,a){_.each(t,(function(t,a){if("ast-font"!==t.control){var o=t.name.replace("[","-"),i="#customize-control-"+(o=o.replace("]","")),s=wp.customize.control("astra-settings["+t.name+"]");s=e.getFinalControlObject(t,s);var c=r[t.control];ReactDOM.render(Object(n.createElement)(c,{control:s,customizer:wp.customize}),jQuery(i)[0])}}))})):_.each(t,(function(t,a){if("ast-font"!==t.control){var o=t.name.replace("[","-"),i="#customize-control-"+(o=o.replace("]","")),s=wp.customize.control("astra-settings["+t.name+"]");s=e.getFinalControlObject(t,s);var c=r[t.control];ReactDOM.render(Object(n.createElement)(c,{control:s,customizer:wp.customize}),jQuery(i)[0])}}))}}),Zt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(qt,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".astra-color-picker-wrap");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),Kt=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Vt,{control:this,customizer:wp.customize}),this.container[0])},ready:function(){Gt(this);var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".customize-control-content");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),$t=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Pt,{control:this}),this.container[0])},ready:function(){Ft(this,"");var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}}),te=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Nt,{control:this}),this.container[0])},ready:function(){jQuery("html").addClass("background-colorpicker-ready");var t=this;jQuery(document).mouseup((function(e){var r=jQuery(t.container),n=r.find(".background-wrapper");n.is(e.target)||0!==n.has(e.target).length||r.find(".components-button.astra-color-icon-indicate.open").click()}))}});function ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var re=function(t){l()(r,t);var e=ee(r);function r(){return o()(this,r),e.apply(this,arguments)}return s()(r,[{key:"render",value:function(){var t,e,r=null,a=null,o=this.props.control.params,i=o.label,s=o.description,c=o.value,l=o.choices,u=o.inputAttrs;return i&&(r=Object(n.createElement)("span",{className:"customize-control-title"},i)),s&&(a=Object(n.createElement)("span",{className:"description customize-control-description"},s)),t=Object.values(c).map((function(t){if(l[t])var e=Object(n.createElement)("li",Z()({},u,{key:t,className:"ast-sortable-item","data-value":t}),Object(n.createElement)("i",{className:"dashicons dashicons-menu"}),Object(n.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),l[t]);return e})),e=Object.keys(l).map((function(t){if(Array.isArray(c)&&-1===c.indexOf(t))var e=Object(n.createElement)("li",Z()({},u,{key:t,className:"ast-sortable-item invisible","data-value":t}),Object(n.createElement)("i",{className:"dashicons dashicons-menu"}),Object(n.createElement)("i",{className:"dashicons dashicons-visibility visibility"}),l[t]);return e})),Object(n.createElement)("label",{className:"ast-sortable"},r,a,Object(n.createElement)("ul",{className:"sortable"},t,e))}}]),r}(n.Component);re.propTypes={control:m.a.object.isRequired};var ne=re,ae=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ne,{control:this}),this.container[0])},ready:function(){var t=this;t.sortableContainer=t.container.find("ul.sortable").first(),t.sortableContainer.sortable({stop:function(){t.updateValue()}}).disableSelection().find("li").each((function(){jQuery(this).find("i.visibility").click((function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")}))})).click((function(){t.updateValue()}))},updateValue:function(){var t=[];this.sortableContainer.find("li").each((function(){jQuery(this).is(".invisible")||t.push(jQuery(this).data("value"))})),this.setting.set(t)}}),oe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(et,{control:this}),this.container[0])}});function ie(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var se=function(t){l()(r,t);var e=ie(r);function r(t){var n;return o()(this,r),(n=e.call(this,t)).onLinkClick=n.onLinkClick.bind(P()(n)),n}return s()(r,[{key:"onLinkClick",value:function(){var t=this.props.control.params,e=t.linked;switch(t.link_type){case"section":wp.customize.section(e).expand();break;case"control":wp.customize.control(e).focus()}}},{key:"render",value:function(){var t=this,e=this.props.control.params,r=e.linked,a=e.link_text,o=e.link_type,i=null;return r&&a&&(i=Object(n.createElement)("a",{href:"#",onClick:function(){t.onLinkClick()},className:"customizer-link","data-customizer-linked":r,"data-ast-customizer-link-type":o,dangerouslySetInnerHTML:{__html:a}})),Object(n.createElement)(n.Fragment,null,i)}}]),r}(n.Component);se.propTypes={control:m.a.object.isRequired};var ce=se,le=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ce,{control:this}),this.container[0])}}),ue=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(it,{control:this}),this.container[0])},ready:function(){Yt(this)}}),pe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ut,{control:this}),this.container[0])},ready:function(){Jt(this)}}),he=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(vt,{control:this}),this.container[0])}}),de=r(36),fe=r.n(de);function me(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var be=function(t){l()(r,t);var e=me(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onLayoutChange=n.onLayoutChange.bind(P()(n)),n}return s()(r,[{key:"onLayoutChange",value:function(){this.setState({value:event.target.value}),this.props.control.setting.set(event.target.value)}},{key:"render",value:function(){var t,e=this,r=this.props.control.params,a=r.label,o=r.description,i=r.id,s=r.choices,c=r.inputAttrs,l=r.choices_titles,u=r.link,p=r.labelStyle,h=null,d=null,f=[];a&&(h=Object(n.createElement)("span",{className:"customize-control-title"},a)),o&&(d=Object(n.createElement)("span",{className:"description customize-control-description"},o));var m=c.split(" ");return m.map((function(t,e){var r=t.split("=");void 0!==r[1]&&(f[r[0]]=r[1].replace(/"/g,""))})),(m=u.split(" ")).map((function(t,e){var r=t.split("=");void 0!==r[1]&&(f[r[0]]=r[1].replace(/"/g,""))})),t=Object.entries(s).map((function(t){var r=fe()(t,2),a=r[0],o=(r[1],e.state.value===a);return Object(n.createElement)(n.Fragment,{key:a},Object(n.createElement)("input",Z()({},f,{className:"image-select",type:"radio",value:a,name:"_customize-radio-".concat(i),id:i+a,checked:o,onChange:function(){return e.onLayoutChange(a)}})),Object(n.createElement)("label",Z()({htmlFor:i+a},p,{className:"ast-radio-img-svg"}),Object(n.createElement)("span",{dangerouslySetInnerHTML:{__html:s[a]}}),Object(n.createElement)("span",{className:"image-clickable",title:l[a]})))})),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",{className:"customizer-text"},h,d),Object(n.createElement)("div",{id:"input_".concat(i),className:"image"},t))}}]),r}(n.Component);be.propTypes={control:m.a.object.isRequired};var ge=be,ve=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(ge,{control:this}),this.container[0])}}),ye=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(mt,{control:this}),this.container[0])},ready:function(){Xt(this)}}),_e=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Ht,{control:this}),this.container[0])}});function Oe(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var ke=function(t){l()(r,t);var e=Oe(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.connect,o=t.variant,i=t.name,s=t.link,c=null,l=null,u=null,p=[],h=Object(z.__)("Inherit","astra");(r&&(c=Object(n.createElement)("span",{className:"customize-control-title"},r)),e&&(l=Object(n.createElement)("span",{className:"description customize-control-description"},e)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(p[r[0]]=r[1].replace(/"/g,""))}));return a&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-control":a,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),o&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),a&&o&&(u=Object(n.createElement)("select",Z()({},p,{"data-connected-control":a,"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":h}))),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,c,l),u)}}]),r}(n.Component);ke.propTypes={control:m.a.object.isRequired};var we=ke,je=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(we,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});function Ee(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Ce=function(t){l()(r,t);var e=Ee(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return void 0!==a&&""!==a||(a=[]),n.state={value:a},n}return s()(r,[{key:"render",value:function(){var t=this.props.control.params,e=t.description,r=t.label,a=t.connect,o=t.variant,i=t.name,s=t.link,c=t.ast_all_font_weight,l=null,u=null,p=null,h=[],d=Object(z.__)("Inherit","astra"),f=null;(r&&(l=Object(n.createElement)("span",{className:"customize-control-title"},r)),e&&(u=Object(n.createElement)("span",{className:"description customize-control-description"},e)),void 0!==s)&&s.split(" ").map((function(t,e){var r=t.split("=");void 0!==r[1]&&(h[r[0]]=r[1].replace(/"/g,""))}));var m=Object.entries(c).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return f="normal"===this.state.value?Object(n.createElement)("option",{key:"normal",value:"normal"},d):Object(n.createElement)("option",{key:"inherit",value:"inherit"},d),a&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-control":a,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),o&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),a&&o&&(p=Object(n.createElement)("select",Z()({},h,{"data-connected-control":a,"data-connected-variant":o,"data-value":this.state.value,"data-name":i,"data-inherit":d}),f,m)),Object(n.createElement)(n.Fragment,null,Object(n.createElement)("label",null,l,u),p)}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Ce.propTypes={control:m.a.object.isRequired};var Se=Ce,xe=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Se,{control:this}),this.container[0])},ready:function(){AstTypography.init()}});function Ne(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function Re(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(t){return!1}}();return function(){var r,n=d()(t);if(e){var a=d()(this).constructor;r=Reflect.construct(n,arguments,a)}else r=n.apply(this,arguments);return p()(this,r)}}var Te=function(t){l()(r,t);var e=Re(r);function r(t){var n;o()(this,r);var a=(n=e.call(this,t)).props.control.setting.get();return n.state={value:a},n.onSelectChange=n.onSelectChange.bind(P()(n)),n.renderSelectHtml=n.renderSelectHtml.bind(P()(n)),n}return s()(r,[{key:"onSelectChange",value:function(t){var e=function(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Ne(Object(r),!0).forEach((function(e){A()(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}({},this.state.value);e[t]=event.target.value,this.updateValues(e)}},{key:"renderSelectHtml",value:function(t){var e=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",a=this.props.control.params.choices,o=Object.entries(a).map((function(t){return Object(n.createElement)("option",{key:t[0],value:t[0]},t[1])}));return Object(n.createElement)("div",{className:"ast-responsive-select-container ".concat(t," ").concat(r)},Object(n.createElement)("select",{className:"ast-select-input","data-value":this.state.value[t],value:this.state.value[t],onChange:function(){e.onSelectChange(t)}},o))}},{key:"render",value:function(){var t=this.props.control.params.label,e=null;t&&(e=Object(n.createElement)("span",{className:"customize-control-title"},t));var r=Object(n.createElement)("ul",{key:"ast-resp-ul",className:"ast-responsive-btns"},Object(n.createElement)("li",{key:"desktop",className:"desktop active"},Object(n.createElement)("button",{type:"button",className:"preview-desktop","data-device":"desktop"},Object(n.createElement)("i",{className:"dashicons dashicons-desktop"}))),Object(n.createElement)("li",{key:"tablet",className:"tablet"},Object(n.createElement)("button",{type:"button",className:"preview-tablet","data-device":"tablet"},Object(n.createElement)("i",{className:"dashicons dashicons-tablet"}))),Object(n.createElement)("li",{key:"mobile",className:"mobile"},Object(n.createElement)("button",{type:"button",className:"preview-mobile","data-device":"mobile"},Object(n.createElement)("i",{className:"dashicons dashicons-smartphone"})))),a=Object(n.createElement)(n.Fragment,null,this.renderSelectHtml("desktop","active"),this.renderSelectHtml("tablet"),this.renderSelectHtml("mobile"));return Object(n.createElement)(n.Fragment,null,e,r,Object(n.createElement)("div",{className:"customize-control-content"},Object(n.createElement)("div",{className:"ast-responsive-select-wrapper"},a)))}},{key:"updateValues",value:function(t){this.setState({value:t}),this.props.control.setting.set(t)}}]),r}(n.Component);Te.propTypes={control:m.a.object.isRequired};var Ae=Te,De=wp.customize.astraControl.extend({renderContent:function(){ReactDOM.render(Object(n.createElement)(Ae,{control:this}),this.container[0])},ready:function(){var t=jQuery(".wp-full-overlay-footer .devices button.active").attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active"),jQuery(".wp-full-overlay-footer .devices button").on("click",(function(){var t=jQuery(this).attr("data-device");jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container").removeClass("active"),jQuery(".customize-control-ast-responsive-select .customize-control-content .ast-responsive-select-container."+t).addClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li").removeClass("active"),jQuery(".customize-control-ast-responsive-select .ast-responsive-btns li."+t).addClass("active")})),this.container.find(".ast-responsive-btns button").on("click",(function(t){var e=jQuery(this).attr("data-device");e="desktop"==e?"tablet":"tablet"==e?"mobile":"desktop",jQuery('.wp-full-overlay-footer .devices button[data-device="'+e+'"]').trigger("click")}))}});wp.customize.controlConstructor["ast-heading"]=y,wp.customize.controlConstructor["ast-hidden"]=j,wp.customize.controlConstructor["ast-description"]=R,wp.customize.controlConstructor["ast-link"]=Q,wp.customize.controlConstructor["ast-divider"]=G,wp.customize.controlConstructor["ast-settings-group"]=Wt,wp.customize.controlConstructor["ast-color"]=Zt,wp.customize.controlConstructor["ast-responsive-color"]=Kt,wp.customize.controlConstructor["ast-responsive-background"]=$t,wp.customize.controlConstructor["ast-background"]=te,wp.customize.controlConstructor["ast-sortable"]=ae,wp.customize.controlConstructor["ast-border"]=oe,wp.customize.controlConstructor["ast-customizer-link"]=le,wp.customize.controlConstructor["ast-responsive"]=ue,wp.customize.controlConstructor["ast-responsive-slider"]=pe,wp.customize.controlConstructor["ast-slider"]=he,wp.customize.controlConstructor["ast-radio-image"]=ve,wp.customize.controlConstructor["ast-responsive-spacing"]=ye,wp.customize.controlConstructor["ast-select"]=_e,wp.customize.controlConstructor["ast-font-family"]=je,wp.customize.controlConstructor["ast-font-weight"]=xe,wp.customize.controlConstructor["ast-responsive-select"]=De}]); custom-controls/assets/minified/custom-controls.min-rtl.css 0000644 00000064563 15252526161 0020276 0 ustar 00 .accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .ast-color-control.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-background .wp-picker-clear{margin-right:2%}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-color .wp-color-result span{background:#f7f7f7}.customize-control-ast-color .wp-color-result span.color-alpha{height:22px!important}.customize-control-ast-color .ast-color-picker-alpha.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-color .wp-picker-clear{margin-right:2%}.wp-picker-input-wrap label{font-size:0}@media (max-width:1755px){.iris-picker.iris-border{width:245px!important}.iris-slider.iris-strip,.iris-strip.iris-slider.iris-alpha-slider{width:13px!important}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-settings-group label{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-right:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:92%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-color .wp-picker-container{float:right}.customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-responsive-color .wp-picker-clear{margin-right:1%}.customize-control-ast-responsive-color button.button.wp-color-result.wp-picker-open{margin:0 0 6px 3px!important}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.wp-picker-container.wp-picker-active .wp-picker-open{margin:0 0 6px 3px}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}#customize-theme-controls .control-section-ast_section.open{height:100%}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.ast-field-settings-modal .customize-control-ast-responsive-background .ast-responsive-bg-color-control.wp-color-picker,.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important}.ast-field-settings-modal .customize-control-ast-responsive-background .wp-picker-clear,.ast-field-settings-modal .customize-control-ast-responsive-color .wp-picker-clear{margin-right:6px}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.customize-control-ast-spacing ul.ast-spacing-wrapper{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.customize-control-ast-spacing li.ast-spacing-input-item{display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-spacing span.ast-spacing-unit{position:absolute;top:-26px;left:0;font-size:12px;font-weight:700}.customize-control-ast-spacing span.ast-spacing-title{display:block}.customize-control-ast-spacing input.ast-spacing-input{text-align:center;border-radius:0 3px 3px 0;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid;border-color:#a4afb7;box-shadow:none}.customize-control-ast-spacing .ast-spacing-connected{color:#1e8cbe}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle} custom-controls/assets/minified/custom-controls.min.css 0000644 00000064575 15252526161 0017502 0 ustar 00 .accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:5px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:0;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:20px}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .ast-color-control.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-background .wp-picker-clear{margin-left:2%}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.customize-control-ast-color .wp-color-result span{background:#f7f7f7}.customize-control-ast-color .wp-color-result span.color-alpha{height:22px!important}.customize-control-ast-color .ast-color-picker-alpha.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-color .wp-picker-clear{margin-left:2%}.wp-picker-input-wrap label{font-size:0}@media (max-width:1755px){.iris-picker.iris-border{width:245px!important}.iris-slider.iris-strip,.iris-strip.iris-slider.iris-alpha-slider{width:13px!important}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-settings-group label{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;display:none;padding:.1em;margin-left:2px;float:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:17%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:92%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.customize-control-ast-responsive-color .wp-picker-container{float:left}.customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important;line-height:17px}.customize-control-ast-responsive-color .wp-picker-clear{margin-left:1%}.customize-control-ast-responsive-color button.button.wp-color-result.wp-picker-open{margin:0 3px 6px 0!important}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container{display:none}.customize-control-ast-responsive-color .customize-control-content .wp-picker-container.active{display:block}.wp-picker-container.wp-picker-active .wp-picker-open{margin:0 3px 6px 0}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}#customize-theme-controls .control-section-ast_section.open{height:100%}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.ast-field-settings-modal .customize-control-ast-responsive-background .ast-responsive-bg-color-control.wp-color-picker,.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-color.wp-color-picker{width:65px!important}.ast-field-settings-modal .customize-control-ast-responsive-background .wp-picker-clear,.ast-field-settings-modal .customize-control-ast-responsive-color .wp-picker-clear{margin-left:6px}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.customize-control-ast-spacing ul.ast-spacing-wrapper{position:relative;-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex}.customize-control-ast-spacing li.ast-spacing-input-item{display:inline-block;text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-spacing span.ast-spacing-unit{position:absolute;top:-26px;right:0;font-size:12px;font-weight:700}.customize-control-ast-spacing span.ast-spacing-title{display:block}.customize-control-ast-spacing input.ast-spacing-input{text-align:center;border-radius:3px 0 0 3px;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid;border-color:#a4afb7;box-shadow:none}.customize-control-ast-spacing .ast-spacing-connected{color:#1e8cbe}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle} custom-controls/assets/css/minified/custom-controls.min-rtl.css 0000644 00000443306 15252526161 0021062 0 ustar 00 #customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.customize-control-ast-background .customize-control-title{display:block}.customize-control-ast-background .astra-color-picker-wrap{margin-top:18px}.ast-field-settings-modal .customize-control-ast-background.customize-control,.ast-field-settings-modal .customize-control-ast-background.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap{left:16px}.ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.astra-control-field.astra-color-control{display:flex}.astra-control-field{position:relative;margin-top:10px;margin-bottom:10px}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.astra-control-field .customize-control-title{font-size:14px;font-weight:600;margin-bottom:0;display:flex;align-items:center;letter-spacing:.1px;line-height:18px}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:28px;height:28px;border-radius:4px;margin:0}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.astra-color-icon-indicate.components-button{height:auto;position:relative;transform:scale(1);border-radius:4px;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;border:1px solid #929ba4}.astra-popover-color .components-popover__content .components-focal-point-picker-wrapper{box-sizing:border-box}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type=number].components-text-control__input{min-height:16px;line-height:16px;font-size:12px;width:50px;font-weight:400}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control{flex:1;margin-bottom:0}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label{margin-bottom:0;margin-left:.2em}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field{display:flex;align-items:center;font-size:8px;font-weight:600;font-style:normal;text-transform:uppercase}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field{justify-content:flex-end}.astra-popover-color .components-popover__content .actions{display:flex;justify-content:center;margin-bottom:10px}.astra-popover-color .components-popover__content .actions .button{flex:1;margin-top:10px}.astra-background-picker-wrap .astra-popover-color .components-popover__content{min-width:300px;min-height:340px;max-height:60vh}.color-button-wrap{display:inline;position:absolute;left:5px;top:-4.5px}.components-button.astra-background-icon-indicate{width:50px;height:50px;border-radius:50%;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);border:1px solid #dadada;background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:100%;height:100%;border-radius:4px;margin:0;display:block;position:absolute;border:0;top:0}.components-button.astra-background-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgba(0,0,0,.6);border-radius:100%;width:16px;height:16px;border:1px solid rgba(0,0,0,.1)}.components-button.astra-background-icon-indicate>svg.dashicon path{transform:translate(-1px,1px)}.components-button.astra-background-icon-indicate img.astra-background-image-preview{display:flex;object-fit:cover;min-width:100%;min-height:100%;position:absolute;top:0}.components-button.astra-background-icon-indicate:hover{box-shadow:none!important}.astra-control-field.astra-color-control{display:flex}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.components-popover.astra-popover-color .components-popover__content{padding:15px 15px 0;box-sizing:initial;background:#fff;border:unset;border-radius:4px;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.customize-control-ast-color.customize-control{margin-top:32px}.customize-control-ast-color.customize-control>*{display:inline}.components-popover.astra-popover-color .components-popover__content .sketch-picker{padding:0 0 5px!important;box-shadow:none!important;border-radius:0!important}.components-popover.astra-popover-color .components-popover__content .attachment-media-view{margin-top:10px;margin-bottom:10px}.astra-swatches-wrap .astra-swatche-item-wrap:hover{transform:scale(1.2)!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;padding:0;display:flex;justify-content:center}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon{display:none}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active{box-shadow:0 0 0 8px inset!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon{display:block;color:#fff;background:rgba(0,0,0,.6);width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path{transform:translate(-1px,1px)}.components-button.astra-color-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgb(85 93 101);border-radius:4px;width:24px;height:24px;border:1px solid rgba(0,0,0,.1)}.astra-popover-color{margin-right:2px;margin-top:5px;background-color:#fff;border:1px solid #a29090;border-radius:4px}.ast-field-settings-modal .astra-popover-color{margin-right:0;border:1px solid #dedede}.ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs{padding:8px}.components-color-picker__saturation-black{border-radius:4px 4px 0 0}.components-color-picker__saturation-color{border-radius:3px}.components-color-picker__saturation-white{border-radius:3px}.astra-color-picker-wrap{margin-right:5px}.components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:27px;height:27px}.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:6px}.ast-color-btn-clear-wrap{position:absolute;top:1.5px;left:65px}.ast-color-btn-clear-wrap .astra-color-clear-button.components-button{padding:10px 3px;width:20px;height:20px}.ast-clear-btn-inside-picker.components-button,.astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 15px 20px 20px;padding:0 8px}.ast-clear-btn-inside-picker{padding:0 8px}.ast-color-btn-reset-wrap{position:absolute;left:46px;top:1.5px}.ast-color-btn-reset-wrap .ast-reset-btn.components-button{color:#006ba1;height:20px;width:20px;padding:4px;box-shadow:inset 0 0 0 1px #007cba}.astra-color-clear-button.components-button:focus:not(:disabled){outline:unset;border:1px solid #006ba1}.astra-color-clear-button.components-button.is-secondary:hover:not(:disabled),.astra-color-clear-button.components-button:focus:not(:disabled){box-shadow:0 0 #000;padding:1.5px;border:1px solid #006ba1}.ast-reset-btn.components-button.is-secondary:disabled,.astra-color-clear-button.components-button.is-secondary:disabled{box-shadow:inset 0 0 0 1px #007cba}.ast-field-settings-modal .color-button-wrap{left:16px}.ast-field-settings-modal .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .ast-color-btn-clear-wrap{left:78px}.ast-field-settings-modal .customize-control-ast-color.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-color.customize-control:first-child{margin-top:28px}.astra-color-picker-wrap .components-color-picker__inputs-wrapper{min-width:unset}.customize-control .ast-gradient-color-picker input[type=number]{width:50%}.customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type=number]{width:100%}.ast-field-settings-modal .astra-popover-color .ast-color-palette{padding:8px 13px 0 0;margin-bottom:-8px}.ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:0;width:20px}@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option{padding:6px 10px}.ast-color-palette .components-circular-option-picker__option.is-pressed+svg{width:18px;right:4px;top:1px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.astra-popover-color .ast-color-palette.components-circular-option-picker{width:auto;padding:16px 12px 0 0}.astra-typography-control .typography-button-wrap>button.components-button.astra-typography-preview-indicate{padding:0 2px}.astra-typography-control .typography-button-wrap>button.components-button{padding:0 4px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:22px;width:22px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:-1px;width:18px}}@supports (-moz-appearance:none){@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:20px;width:20px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:3px;top:-2px;width:15px}}}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.customize-control-ast-background .customize-control-title{display:block}.customize-control-ast-background .astra-color-picker-wrap{margin-top:18px}.ast-field-settings-modal .customize-control-ast-background.customize-control,.ast-field-settings-modal .customize-control-ast-background.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap{left:16px}.ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.astra-control-field.astra-color-control{display:flex}.astra-control-field{position:relative;margin-top:10px;margin-bottom:10px}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.astra-control-field .customize-control-title{font-size:14px;font-weight:600;margin-bottom:0;display:flex;align-items:center;letter-spacing:.1px;line-height:18px}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:28px;height:28px;border-radius:4px;margin:0}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.astra-color-icon-indicate.components-button{height:auto;position:relative;transform:scale(1);border-radius:4px;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;border:1px solid #929ba4}.astra-popover-color .components-popover__content .components-focal-point-picker-wrapper{box-sizing:border-box}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type=number].components-text-control__input{min-height:16px;line-height:16px;font-size:12px;width:50px;font-weight:400}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control{flex:1;margin-bottom:0}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label{margin-bottom:0;margin-left:.2em}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field{display:flex;align-items:center;font-size:8px;font-weight:600;font-style:normal;text-transform:uppercase}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field{justify-content:flex-end}.astra-popover-color .components-popover__content .actions{display:flex;justify-content:center;margin-bottom:10px}.astra-popover-color .components-popover__content .actions .button{flex:1;margin-top:10px}.astra-background-picker-wrap .astra-popover-color .components-popover__content{min-width:300px;min-height:340px;max-height:60vh}.color-button-wrap{display:inline;position:absolute;left:5px;top:-4.5px}.components-button.astra-background-icon-indicate{width:50px;height:50px;border-radius:50%;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);border:1px solid #dadada;background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:100%;height:100%;border-radius:4px;margin:0;display:block;position:absolute;border:0;top:0}.components-button.astra-background-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgba(0,0,0,.6);border-radius:100%;width:16px;height:16px;border:1px solid rgba(0,0,0,.1)}.components-button.astra-background-icon-indicate>svg.dashicon path{transform:translate(-1px,1px)}.components-button.astra-background-icon-indicate img.astra-background-image-preview{display:flex;object-fit:cover;min-width:100%;min-height:100%;position:absolute;top:0}.components-button.astra-background-icon-indicate:hover{box-shadow:none!important}.astra-control-field.astra-color-control{display:flex}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.components-popover.astra-popover-color .components-popover__content{padding:15px 15px 0;box-sizing:initial;background:#fff;border:unset;border-radius:4px;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.customize-control-ast-color.customize-control{margin-top:32px}.customize-control-ast-color.customize-control>*{display:inline}.components-popover.astra-popover-color .components-popover__content .sketch-picker{padding:0 0 5px!important;box-shadow:none!important;border-radius:0!important}.components-popover.astra-popover-color .components-popover__content .attachment-media-view{margin-top:10px;margin-bottom:10px}.astra-swatches-wrap .astra-swatche-item-wrap:hover{transform:scale(1.2)!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;padding:0;display:flex;justify-content:center}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon{display:none}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active{box-shadow:0 0 0 8px inset!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon{display:block;color:#fff;background:rgba(0,0,0,.6);width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path{transform:translate(-1px,1px)}.components-button.astra-color-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgb(85 93 101);border-radius:4px;width:24px;height:24px;border:1px solid rgba(0,0,0,.1)}.astra-popover-color{margin-right:2px;margin-top:5px;background-color:#fff;border:1px solid #a29090;border-radius:4px}.ast-field-settings-modal .astra-popover-color{margin-right:0;border:1px solid #dedede}.ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs{padding:8px}.components-color-picker__saturation-black{border-radius:4px 4px 0 0}.components-color-picker__saturation-color{border-radius:3px}.components-color-picker__saturation-white{border-radius:3px}.astra-color-picker-wrap{margin-right:5px}.components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:27px;height:27px}.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:6px}.ast-color-btn-clear-wrap{position:absolute;top:1.5px;left:65px}.ast-color-btn-clear-wrap .astra-color-clear-button.components-button{padding:10px 3px;width:20px;height:20px}.ast-clear-btn-inside-picker.components-button,.astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 15px 20px 20px;padding:0 8px}.ast-clear-btn-inside-picker{padding:0 8px}.ast-color-btn-reset-wrap{position:absolute;left:46px;top:1.5px}.ast-color-btn-reset-wrap .ast-reset-btn.components-button{color:#006ba1;height:20px;width:20px;padding:4px;box-shadow:inset 0 0 0 1px #007cba}.astra-color-clear-button.components-button:focus:not(:disabled){outline:unset;border:1px solid #006ba1}.astra-color-clear-button.components-button.is-secondary:hover:not(:disabled),.astra-color-clear-button.components-button:focus:not(:disabled){box-shadow:0 0 #000;padding:1.5px;border:1px solid #006ba1}.ast-reset-btn.components-button.is-secondary:disabled,.astra-color-clear-button.components-button.is-secondary:disabled{box-shadow:inset 0 0 0 1px #007cba}.ast-field-settings-modal .color-button-wrap{left:16px}.ast-field-settings-modal .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .ast-color-btn-clear-wrap{left:78px}.ast-field-settings-modal .customize-control-ast-color.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-color.customize-control:first-child{margin-top:28px}.astra-color-picker-wrap .components-color-picker__inputs-wrapper{min-width:unset}.customize-control .ast-gradient-color-picker input[type=number]{width:50%}.customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type=number]{width:100%}.ast-field-settings-modal .astra-popover-color .ast-color-palette{padding:8px 13px 0 0;margin-bottom:-8px}.ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:0;width:20px}@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option{padding:6px 10px}.ast-color-palette .components-circular-option-picker__option.is-pressed+svg{width:18px;right:4px;top:1px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.astra-popover-color .ast-color-palette.components-circular-option-picker{width:auto;padding:16px 12px 0 0}.astra-typography-control .typography-button-wrap>button.components-button.astra-typography-preview-indicate{padding:0 2px}.astra-typography-control .typography-button-wrap>button.components-button{padding:0 4px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:22px;width:22px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:-1px;width:18px}}@supports (-moz-appearance:none){@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:20px;width:20px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:3px;top:-2px;width:15px}}}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:left}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-right:5px}.customize-control-ast-background .customize-control-title{display:block}.customize-control-ast-background .astra-color-picker-wrap{margin-top:18px}.ast-field-settings-modal .customize-control-ast-background.customize-control,.ast-field-settings-modal .customize-control-ast-background.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap{left:16px}.ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.astra-control-field.astra-color-control{display:flex}.astra-control-field{position:relative;margin-top:10px;margin-bottom:10px}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.astra-control-field .customize-control-title{font-size:14px;font-weight:600;margin-bottom:0;display:flex;align-items:center;letter-spacing:.1px;line-height:18px}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:28px;height:28px;border-radius:4px;margin:0}.component-color-indicator{width:25px;height:16px;margin-right:.8rem;border:1px solid #dadada;display:inline-block}.astra-color-icon-indicate.components-button{height:auto;position:relative;transform:scale(1);border-radius:4px;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;border:1px solid #929ba4}.astra-popover-color .components-popover__content .components-focal-point-picker-wrapper{box-sizing:border-box}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type=number].components-text-control__input{min-height:16px;line-height:16px;font-size:12px;width:50px;font-weight:400}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control{flex:1;margin-bottom:0}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label{margin-bottom:0;margin-left:.2em}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field{display:flex;align-items:center;font-size:8px;font-weight:600;font-style:normal;text-transform:uppercase}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field{justify-content:flex-end}.astra-popover-color .components-popover__content .actions{display:flex;justify-content:center;margin-bottom:10px}.astra-popover-color .components-popover__content .actions .button{flex:1;margin-top:10px}.astra-background-picker-wrap .astra-popover-color .components-popover__content{min-width:300px;min-height:340px;max-height:60vh}.color-button-wrap{display:inline;position:absolute;left:5px;top:-4.5px}.components-button.astra-background-icon-indicate{width:50px;height:50px;border-radius:50%;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0;background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);border:1px solid #dadada;background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0}.components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:100%;height:100%;border-radius:4px;margin:0;display:block;position:absolute;border:0;top:0}.components-button.astra-background-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgba(0,0,0,.6);border-radius:100%;width:16px;height:16px;border:1px solid rgba(0,0,0,.1)}.components-button.astra-background-icon-indicate>svg.dashicon path{transform:translate(-1px,1px)}.components-button.astra-background-icon-indicate img.astra-background-image-preview{display:flex;object-fit:cover;min-width:100%;min-height:100%;position:absolute;top:0}.components-button.astra-background-icon-indicate:hover{box-shadow:none!important}.astra-control-field.astra-color-control{display:flex}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.components-popover.astra-popover-color .components-popover__content{padding:15px 15px 0;box-sizing:initial;background:#fff;border:unset;border-radius:4px;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.customize-control-ast-color.customize-control{margin-top:32px}.customize-control-ast-color.customize-control>*{display:inline}.components-popover.astra-popover-color .components-popover__content .sketch-picker{padding:0 0 5px!important;box-shadow:none!important;border-radius:0!important}.components-popover.astra-popover-color .components-popover__content .attachment-media-view{margin-top:10px;margin-bottom:10px}.astra-swatches-wrap .astra-swatche-item-wrap:hover{transform:scale(1.2)!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item{background-image:linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,transparent 75%,#ddd 0),linear-gradient(45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:100% 0,100% 5px,5px -5px,-5px 0;padding:0;display:flex;justify-content:center}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon{display:none}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active{box-shadow:0 0 0 8px inset!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon{display:block;color:#fff;background:rgba(0,0,0,.6);width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path{transform:translate(-1px,1px)}.components-button.astra-color-icon-indicate>svg.dashicon{position:absolute;transform:translate(50%,-50%);right:50%;top:50%;color:#fff;background:rgb(85 93 101);border-radius:4px;width:24px;height:24px;border:1px solid rgba(0,0,0,.1)}.astra-popover-color{margin-right:2px;margin-top:5px;background-color:#fff;border:1px solid #a29090;border-radius:4px}.ast-field-settings-modal .astra-popover-color{margin-right:0;border:1px solid #dedede}.ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs{padding:8px}.components-color-picker__saturation-black{border-radius:4px 4px 0 0}.components-color-picker__saturation-color{border-radius:3px}.components-color-picker__saturation-white{border-radius:3px}.astra-color-picker-wrap{margin-right:5px}.components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:27px;height:27px}.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:6px}.ast-color-btn-clear-wrap{position:absolute;top:1.5px;left:65px}.ast-color-btn-clear-wrap .astra-color-clear-button.components-button{padding:10px 3px;width:20px;height:20px}.ast-clear-btn-inside-picker.components-button,.astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 15px 20px 20px;padding:0 8px}.ast-clear-btn-inside-picker{padding:0 8px}.ast-color-btn-reset-wrap{position:absolute;left:46px;top:1.5px}.ast-color-btn-reset-wrap .ast-reset-btn.components-button{color:#006ba1;height:20px;width:20px;padding:4px;box-shadow:inset 0 0 0 1px #007cba}.astra-color-clear-button.components-button:focus:not(:disabled){outline:unset;border:1px solid #006ba1}.astra-color-clear-button.components-button.is-secondary:hover:not(:disabled),.astra-color-clear-button.components-button:focus:not(:disabled){box-shadow:0 0 #000;padding:1.5px;border:1px solid #006ba1}.ast-reset-btn.components-button.is-secondary:disabled,.astra-color-clear-button.components-button.is-secondary:disabled{box-shadow:inset 0 0 0 1px #007cba}.ast-field-settings-modal .color-button-wrap{left:16px}.ast-field-settings-modal .ast-color-btn-reset-wrap{left:59px}.ast-field-settings-modal .ast-color-btn-clear-wrap{left:78px}.ast-field-settings-modal .customize-control-ast-color.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-color.customize-control:first-child{margin-top:28px}.astra-color-picker-wrap .components-color-picker__inputs-wrapper{min-width:unset}.customize-control .ast-gradient-color-picker input[type=number]{width:50%}.customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type=number]{width:100%}.ast-field-settings-modal .astra-popover-color .ast-color-palette{padding:8px 13px 0 0;margin-bottom:-8px}.ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:0;width:20px}@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option{padding:6px 10px}.ast-color-palette .components-circular-option-picker__option.is-pressed+svg{width:18px;right:4px;top:1px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.astra-popover-color .ast-color-palette.components-circular-option-picker{width:auto;padding:16px 12px 0 0}.astra-typography-control .typography-button-wrap>button.components-button.astra-typography-preview-indicate{padding:0 2px}.astra-typography-control .typography-button-wrap>button.components-button{padding:0 4px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:22px;width:22px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:2.5px;top:-1px;width:18px}}@supports (-moz-appearance:none){@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{margin-left:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:20px;width:20px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{right:3px;top:-2px;width:15px}}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}.ast-customizer-notice{margin:0 -12px;padding:12px}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}.ast-reset-btn.components-button svg{padding:0;height:13px}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-responsive-background .more-settings{margin-top:12px;display:flex;justify-content:flex-end;padding:5px 0 5px 0;cursor:pointer;float:none;text-decoration:none}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-background .wp-picker-container{display:block}.customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear{margin-right:4px;min-height:30px}.customize-control-ast-responsive-background .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-5px}.customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns{position:absolute;left:0;top:-1px}.customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap{margin-top:-14px}.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-background .ast-color-btn-clear-wrap{left:84px}.customize-control-ast-responsive-background .ast-color-btn-reset-wrap{left:65px}.components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle{vertical-align:middle;height:32px}.astra-popover-tabs .components-button.upload-button.button-add-media{width:100%;position:relative;text-align:center;color:#555d66;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6}.astra-popover-tabs .components-button.upload-button.button-add-media:hover{color:#555d66;box-sizing:border-box;box-shadow:unset;border-color:#0185ba}.astra-popover-tabs [ID*="-gradient-view"]{padding:15px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear{flex:unset;box-shadow:unset;width:auto;padding:0 5px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus{box-shadow:unset}.astra-popover-tabs #tab-panel-0-image-view>div{text-align:center}.astra-popover-tabs #tab-panel-0-image-view>div img{width:200px;margin-bottom:18px}.astra-popover-tabs #tab-panel-0-image-view>div .media-position-setting{text-align:right}.astra-popover-color .components-circular-option-picker{position:relative;margin-top:0}.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{margin-top:10px;justify-content:flex-start}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{width:50px}}.astra-popover-color [ID*="-color-view"] .components-circular-option-picker{width:auto}.astra-popover-color .ast-color-palette{width:auto;padding:16px 14px 0 0}.astra-popover-color .ast-color-palette .components-circular-option-picker__option{width:100%;height:100%;border-radius:100%}.astra-popover-color .components-custom-gradient-picker{margin-top:0}.astra-popover-color .components-custom-gradient-picker__gradient-bar{box-sizing:border-box;opacity:1}.astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label{display:block}.components-custom-gradient-picker .components-base-control__label{padding-top:10px;font-size:12px;display:block;letter-spacing:.1px;line-height:18px}[ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon{border:none}.media-position-setting.hide-settings{display:none}.ast-field-settings-modal .customize-control-content .color-button-wrap{left:30px}.ast-field-settings-modal .customize-control-content .ast-responsive-btns{left:7px}.ast-field-settings-modal .customize-control-content .astra-color-picker-wrap{margin-right:0}.ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap{left:72px}.ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap{left:91px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child{margin-top:28px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha{display:none}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap{margin-right:2px;margin-top:-14px;background-color:#fff;border-radius:4px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black{border-radius:4px 4px 0 0}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active{display:block}.customize-control-ast-responsive-color .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-4px}.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-color .ast-responsive-btns{position:absolute;left:0;top:6px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:30px;top:-3px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap{margin-right:0;margin-bottom:10px;margin-top:10px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title{display:block;margin-bottom:0}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns{left:7px;top:1px}.ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:3.5px}@supports (-moz-appearance:none){.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:5.5px;left:65px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:27px;top:-2px}}.ast-responsive-select-container{display:none}.ast-responsive-select-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-34px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;margin-right:2px;padding:0 8px 0 24px;font-size:13px;text-transform:uppercase;float:none;display:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:25%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.astra-popover-tabs{position:relative}.astra-popover-tabs .components-tab-panel__tabs{display:flex;padding:15px;border:none}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{color:#555d66;font-size:13px;font-weight:400;height:35px;transition:unset;padding:2px 4px;text-decoration:none;border-radius:0;border:1px solid rgba(0,0,0,.1)}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active{box-shadow:unset}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus{box-shadow:unset}.astra-popover-tabs [ID*="-image-view"]{padding:15px;border:none}.astra-popover-tabs .components-button{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.astra-popover-tabs .components-tab-panel__tabs-item:first-child{border-radius:0 3px 3px 0}.astra-popover-tabs .components-tab-panel__tabs-item:last-child{border-radius:3px 0 0 3px}.astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child){border-right-width:0}.astra-popover-tabs .components-tab-panel__tabs-item.active-tab{background-color:#0185ba;color:#fff}.astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover{color:#fff}.components-popover.astra-popover-color .components-popover__content{min-width:310px;max-height:60vh;padding:0;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content{min-width:320px;min-height:325px}.ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content{min-height:385px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset{left:-18px;top:-32px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}.ast-customizer-notice{margin:0 -12px;padding:12px}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}.ast-reset-btn.components-button svg{padding:0;height:13px}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-responsive-background .more-settings{margin-top:12px;display:flex;justify-content:flex-end;padding:5px 0 5px 0;cursor:pointer;float:none;text-decoration:none}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-background .wp-picker-container{display:block}.customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear{margin-right:4px;min-height:30px}.customize-control-ast-responsive-background .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-5px}.customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns{position:absolute;left:0;top:-1px}.customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap{margin-top:-14px}.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-background .ast-color-btn-clear-wrap{left:84px}.customize-control-ast-responsive-background .ast-color-btn-reset-wrap{left:65px}.components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle{vertical-align:middle;height:32px}.astra-popover-tabs .components-button.upload-button.button-add-media{width:100%;position:relative;text-align:center;color:#555d66;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6}.astra-popover-tabs .components-button.upload-button.button-add-media:hover{color:#555d66;box-sizing:border-box;box-shadow:unset;border-color:#0185ba}.astra-popover-tabs [ID*="-gradient-view"]{padding:15px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear{flex:unset;box-shadow:unset;width:auto;padding:0 5px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus{box-shadow:unset}.astra-popover-tabs #tab-panel-0-image-view>div{text-align:center}.astra-popover-tabs #tab-panel-0-image-view>div img{width:200px;margin-bottom:18px}.astra-popover-tabs #tab-panel-0-image-view>div .media-position-setting{text-align:right}.astra-popover-color .components-circular-option-picker{position:relative;margin-top:0}.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{margin-top:10px;justify-content:flex-start}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{width:50px}}.astra-popover-color [ID*="-color-view"] .components-circular-option-picker{width:auto}.astra-popover-color .ast-color-palette{width:auto;padding:16px 14px 0 0}.astra-popover-color .ast-color-palette .components-circular-option-picker__option{width:100%;height:100%;border-radius:100%}.astra-popover-color .components-custom-gradient-picker{margin-top:0}.astra-popover-color .components-custom-gradient-picker__gradient-bar{box-sizing:border-box;opacity:1}.astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label{display:block}.components-custom-gradient-picker .components-base-control__label{padding-top:10px;font-size:12px;display:block;letter-spacing:.1px;line-height:18px}[ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon{border:none}.media-position-setting.hide-settings{display:none}.ast-field-settings-modal .customize-control-content .color-button-wrap{left:30px}.ast-field-settings-modal .customize-control-content .ast-responsive-btns{left:7px}.ast-field-settings-modal .customize-control-content .astra-color-picker-wrap{margin-right:0}.ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap{left:72px}.ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap{left:91px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child{margin-top:28px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha{display:none}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap{margin-right:2px;margin-top:-14px;background-color:#fff;border-radius:4px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black{border-radius:4px 4px 0 0}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active{display:block}.customize-control-ast-responsive-color .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-4px}.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-color .ast-responsive-btns{position:absolute;left:0;top:6px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:30px;top:-3px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap{margin-right:0;margin-bottom:10px;margin-top:10px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title{display:block;margin-bottom:0}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns{left:7px;top:1px}.ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:3.5px}@supports (-moz-appearance:none){.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:5.5px;left:65px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:27px;top:-2px}}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;margin-right:2px;padding:0 8px 0 24px;font-size:13px;text-transform:uppercase;float:none;display:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:25%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.ast-responsive-select-container{display:none}.ast-responsive-select-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-34px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.astra-popover-tabs{position:relative}.astra-popover-tabs .components-tab-panel__tabs{display:flex;padding:15px;border:none}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{color:#555d66;font-size:13px;font-weight:400;height:35px;transition:unset;padding:2px 4px;text-decoration:none;border-radius:0;border:1px solid rgba(0,0,0,.1)}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active{box-shadow:unset}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus{box-shadow:unset}.astra-popover-tabs [ID*="-image-view"]{padding:15px;border:none}.astra-popover-tabs .components-button{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.astra-popover-tabs .components-tab-panel__tabs-item:first-child{border-radius:0 3px 3px 0}.astra-popover-tabs .components-tab-panel__tabs-item:last-child{border-radius:3px 0 0 3px}.astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child){border-right-width:0}.astra-popover-tabs .components-tab-panel__tabs-item.active-tab{background-color:#0185ba;color:#fff}.astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover{color:#fff}.components-popover.astra-popover-color .components-popover__content{min-width:310px;max-height:60vh;padding:0;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content{min-width:320px;min-height:325px}.ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content{min-height:385px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset{left:-18px;top:-32px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;left:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;left:0}.ast-fields-wrap .customize-control .ast-control-tooltip{left:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}.ast-customizer-notice{margin:0 -12px;padding:12px}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}.ast-reset-btn.components-button svg{padding:0;height:13px}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-right:0;margin-left:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;left:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-left:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;right:0;left:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-left:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-left:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-responsive-background .more-settings{margin-top:12px;display:flex;justify-content:flex-end;padding:5px 0 5px 0;cursor:pointer;float:none;text-decoration:none}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-right:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-background .wp-picker-container{display:block}.customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear{margin-right:4px;min-height:30px}.customize-control-ast-responsive-background .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-5px}.customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns{position:absolute;left:0;top:-1px}.customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap{margin-top:-14px}.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-background .ast-color-btn-clear-wrap{left:84px}.customize-control-ast-responsive-background .ast-color-btn-reset-wrap{left:65px}.components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle{vertical-align:middle;height:32px}.astra-popover-tabs .components-button.upload-button.button-add-media{width:100%;position:relative;text-align:center;color:#555d66;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6}.astra-popover-tabs .components-button.upload-button.button-add-media:hover{color:#555d66;box-sizing:border-box;box-shadow:unset;border-color:#0185ba}.astra-popover-tabs [ID*="-gradient-view"]{padding:15px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear{flex:unset;box-shadow:unset;width:auto;padding:0 5px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus{box-shadow:unset}.astra-popover-tabs #tab-panel-0-image-view>div{text-align:center}.astra-popover-tabs #tab-panel-0-image-view>div img{width:200px;margin-bottom:18px}.astra-popover-tabs #tab-panel-0-image-view>div .media-position-setting{text-align:right}.astra-popover-color .components-circular-option-picker{position:relative;margin-top:0}.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{margin-top:10px;justify-content:flex-start}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{width:50px}}.astra-popover-color [ID*="-color-view"] .components-circular-option-picker{width:auto}.astra-popover-color .ast-color-palette{width:auto;padding:16px 14px 0 0}.astra-popover-color .ast-color-palette .components-circular-option-picker__option{width:100%;height:100%;border-radius:100%}.astra-popover-color .components-custom-gradient-picker{margin-top:0}.astra-popover-color .components-custom-gradient-picker__gradient-bar{box-sizing:border-box;opacity:1}.astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label{display:block}.components-custom-gradient-picker .components-base-control__label{padding-top:10px;font-size:12px;display:block;letter-spacing:.1px;line-height:18px}[ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon{border:none}.media-position-setting.hide-settings{display:none}.ast-field-settings-modal .customize-control-content .color-button-wrap{left:30px}.ast-field-settings-modal .customize-control-content .ast-responsive-btns{left:7px}.ast-field-settings-modal .customize-control-content .astra-color-picker-wrap{margin-right:0}.ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap{left:72px}.ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap{left:91px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child{margin-top:28px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha{display:none}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap{margin-right:2px;margin-top:-14px;background-color:#fff;border-radius:4px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black{border-radius:4px 4px 0 0}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active{display:block}.customize-control-ast-responsive-color .customize-control-content .color-button-wrap{position:absolute;left:24px;top:-4px}.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-color .ast-responsive-btns{position:absolute;left:0;top:6px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:30px;top:-3px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap{margin-right:0;margin-bottom:10px;margin-top:10px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title{display:block;margin-bottom:0}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns{left:7px;top:1px}.ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button{margin:5px 10px 20px 20px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:3.5px}@supports (-moz-appearance:none){.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:5.5px;left:65px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{left:27px;top:-2px}}.ast-responsive-btns{display:inline-block;float:left;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;margin-right:2px;padding:0 8px 0 24px;font-size:13px;text-transform:uppercase;float:none;display:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:25%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-left:0;align-items:flex-start;flex:0 1;width:100%}.ast-responsive-select-container{display:none}.ast-responsive-select-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-34px;left:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-left:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:left;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;left:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-right:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-left-width:0;box-shadow:none;padding-right:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0;border-left-width:0}.ast-adv-toggle-icon{left:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;right:0;left:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:right;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;left:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-right:0;padding-left:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-right-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-right:15px;padding-left:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.astra-popover-tabs{position:relative}.astra-popover-tabs .components-tab-panel__tabs{display:flex;padding:15px;border:none}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{color:#555d66;font-size:13px;font-weight:400;height:35px;transition:unset;padding:2px 4px;text-decoration:none;border-radius:0;border:1px solid rgba(0,0,0,.1)}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active{box-shadow:unset}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus{box-shadow:unset}.astra-popover-tabs [ID*="-image-view"]{padding:15px;border:none}.astra-popover-tabs .components-button{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.astra-popover-tabs .components-tab-panel__tabs-item:first-child{border-radius:0 3px 3px 0}.astra-popover-tabs .components-tab-panel__tabs-item:last-child{border-radius:3px 0 0 3px}.astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child){border-right-width:0}.astra-popover-tabs .components-tab-panel__tabs-item.active-tab{background-color:#0185ba;color:#fff}.astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover{color:#fff}.components-popover.astra-popover-color .components-popover__content{min-width:310px;max-height:60vh;padding:0;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content{min-width:320px;min-height:325px}.ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content{min-height:385px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 5px 0 0;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;left:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-right:5px}.ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset{left:-18px;top:-32px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:left}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-left:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle} custom-controls/assets/css/minified/custom-controls.min.css 0000644 00000302226 15252526161 0020256 0 ustar 00 #customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.customize-control-ast-background .customize-control-title{display:block}.customize-control-ast-background .astra-color-picker-wrap{margin-top:18px}.ast-field-settings-modal .customize-control-ast-background.customize-control,.ast-field-settings-modal .customize-control-ast-background.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap{right:59px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap{right:16px}.ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 10px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.astra-control-field.astra-color-control{display:flex}.astra-control-field{position:relative;margin-top:10px;margin-bottom:10px}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.astra-control-field .customize-control-title{font-size:14px;font-weight:600;margin-bottom:0;display:flex;align-items:center;letter-spacing:.1px;line-height:18px}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:28px;height:28px;border-radius:4px;margin:0}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.astra-color-icon-indicate.components-button{height:auto;position:relative;transform:scale(1);border-radius:4px;padding:0;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;border:1px solid #929ba4}.astra-popover-color .components-popover__content .components-focal-point-picker-wrapper{box-sizing:border-box}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type=number].components-text-control__input{min-height:16px;line-height:16px;font-size:12px;width:50px;font-weight:400}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control{flex:1;margin-bottom:0}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label{margin-bottom:0;margin-right:.2em}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field{display:flex;align-items:center;font-size:8px;font-weight:600;font-style:normal;text-transform:uppercase}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field{justify-content:flex-end}.astra-popover-color .components-popover__content .actions{display:flex;justify-content:center;margin-bottom:10px}.astra-popover-color .components-popover__content .actions .button{flex:1;margin-top:10px}.astra-background-picker-wrap .astra-popover-color .components-popover__content{min-width:300px;min-height:340px;max-height:60vh}.color-button-wrap{display:inline;position:absolute;right:5px;top:-4.5px}.components-button.astra-background-icon-indicate{width:50px;height:50px;border-radius:50%;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);border:1px solid #dadada;background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:100%;height:100%;border-radius:4px;margin:0;display:block;position:absolute;border:0;top:0}.components-button.astra-background-icon-indicate>svg.dashicon{position:absolute;transform:translate(-50%,-50%);left:50%;top:50%;color:#fff;background:rgba(0,0,0,.6);border-radius:100%;width:16px;height:16px;border:1px solid rgba(0,0,0,.1)}.components-button.astra-background-icon-indicate>svg.dashicon path{transform:translate(1px,1px)}.components-button.astra-background-icon-indicate img.astra-background-image-preview{display:flex;object-fit:cover;min-width:100%;min-height:100%;position:absolute;top:0}.components-button.astra-background-icon-indicate:hover{box-shadow:none!important}.astra-control-field.astra-color-control{display:flex}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.components-popover.astra-popover-color .components-popover__content{padding:15px 15px 0;box-sizing:initial;background:#fff;border:unset;border-radius:4px;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.customize-control-ast-color.customize-control{margin-top:32px}.customize-control-ast-color.customize-control>*{display:inline}.components-popover.astra-popover-color .components-popover__content .sketch-picker{padding:0 0 5px!important;box-shadow:none!important;border-radius:0!important}.components-popover.astra-popover-color .components-popover__content .attachment-media-view{margin-top:10px;margin-bottom:10px}.astra-swatches-wrap .astra-swatche-item-wrap:hover{transform:scale(1.2)!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;padding:0;display:flex;justify-content:center}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon{display:none}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active{box-shadow:0 0 0 8px inset!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon{display:block;color:#fff;background:rgba(0,0,0,.6);width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path{transform:translate(1px,1px)}.components-button.astra-color-icon-indicate>svg.dashicon{position:absolute;transform:translate(-50%,-50%);left:50%;top:50%;color:#fff;background:rgb(85 93 101);border-radius:4px;width:24px;height:24px;border:1px solid rgba(0,0,0,.1)}.astra-popover-color{margin-left:2px;margin-top:5px;background-color:#fff;border:1px solid #a29090;border-radius:4px}.ast-field-settings-modal .astra-popover-color{margin-left:0;border:1px solid #dedede}.ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs{padding:8px}.components-color-picker__saturation-black{border-radius:4px 4px 0 0}.components-color-picker__saturation-color{border-radius:3px}.components-color-picker__saturation-white{border-radius:3px}.astra-color-picker-wrap{margin-left:5px}.components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:27px;height:27px}.ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:6px}.ast-color-btn-clear-wrap{position:absolute;top:1.5px;right:65px}.ast-color-btn-clear-wrap .astra-color-clear-button.components-button{padding:10px 3px;width:20px;height:20px}.ast-clear-btn-inside-picker.components-button,.astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 15px;padding:0 8px}.ast-clear-btn-inside-picker{padding:0 8px}.ast-color-btn-reset-wrap{position:absolute;right:46px;top:1.5px}.ast-color-btn-reset-wrap .ast-reset-btn.components-button{color:#006ba1;height:20px;width:20px;padding:4px;box-shadow:inset 0 0 0 1px #007cba}.astra-color-clear-button.components-button:focus:not(:disabled){outline:unset;border:1px solid #006ba1}.astra-color-clear-button.components-button.is-secondary:hover:not(:disabled),.astra-color-clear-button.components-button:focus:not(:disabled){box-shadow:0 0 #000;padding:1.5px;border:1px solid #006ba1}.ast-reset-btn.components-button.is-secondary:disabled,.astra-color-clear-button.components-button.is-secondary:disabled{box-shadow:inset 0 0 0 1px #007cba}.ast-field-settings-modal .color-button-wrap{right:16px}.ast-field-settings-modal .ast-color-btn-reset-wrap{right:59px}.ast-field-settings-modal .ast-color-btn-clear-wrap{right:78px}.ast-field-settings-modal .customize-control-ast-color.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-color.customize-control:first-child{margin-top:28px}.astra-color-picker-wrap .components-color-picker__inputs-wrapper{min-width:unset}.customize-control .ast-gradient-color-picker input[type=number]{width:50%}.customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type=number]{width:100%}.ast-field-settings-modal .astra-popover-color .ast-color-palette{padding:8px 0 0 13px;margin-bottom:-8px}.ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:2.5px;top:0;width:20px}@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option{padding:6px 10px}.ast-color-palette .components-circular-option-picker__option.is-pressed+svg{width:18px;left:4px;top:1px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.astra-popover-color .ast-color-palette.components-circular-option-picker{width:auto;padding:16px 0 0 12px}.astra-typography-control .typography-button-wrap>button.components-button.astra-typography-preview-indicate{padding:0 2px}.astra-typography-control .typography-button-wrap>button.components-button{padding:0 4px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:22px;width:22px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:2.5px;top:-1px;width:18px}}@supports (-moz-appearance:none){@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:20px;width:20px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:3px;top:-2px;width:15px}}}#customize-controls .customize-control-notifications-container{margin:0}.customize-control-ast-background .screen-reader-text{top:initial}.customize-control-ast-background .background-container h4{font-weight:400}.customize-control-ast-background .background-attachment h4,.customize-control-ast-background .background-color h4,.customize-control-ast-background .background-position h4,.customize-control-ast-background .background-repeat h4,.customize-control-ast-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-background .background-color{margin-bottom:12px}.customize-control-ast-background .background-repeat{margin:15px 0 8px 0}.customize-control-ast-background .background-attachment .buttonset,.customize-control-ast-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-background .background-attachment .buttonset .switch-label,.customize-control-ast-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input:checked+.switch-label,.customize-control-ast-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-background .more-settings{margin-top:12px;display:inline-block;padding:5px 0 5px 0;float:right}.customize-control-ast-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-background .arrow-icon{margin-left:5px}.customize-control-ast-background .customize-control-title{display:block}.customize-control-ast-background .astra-color-picker-wrap{margin-top:18px}.ast-field-settings-modal .customize-control-ast-background.customize-control,.ast-field-settings-modal .customize-control-ast-background.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-background .more-settings{margin-top:6px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap{right:59px}.ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap{right:16px}.ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 10px}.customize-control-ast-border .customize-control-title{display:inline-block}.customize-control-ast-border .ast-border-outer-wrapper{display:flex;position:relative}.customize-control-ast-border .ast-border-wrapper{display:flex}.customize-control-ast-border .ast-border-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-border .ast-border-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-border .ast-border-btns>li.active{display:inline-block}.customize-control-ast-border .ast-border-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-border .ast-border-btns button[type=button]>i{width:15px;height:15px;font-size:15px;margin-top:1px}.customize-control-ast-border .input-wrapper .ast-border-wrapper{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto;margin-bottom:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected{color:#fff}.customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input{border-right-width:1px;border-radius:0 3px 3px 0}.customize-control-ast-border .input-wrapper .ast-border-wrapper.active{display:flex}.customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected{display:none}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected{display:block}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected{background-color:#1e8cbe}.astra-control-field.astra-color-control{display:flex}.astra-control-field{position:relative;margin-top:10px;margin-bottom:10px}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.astra-control-field .customize-control-title{font-size:14px;font-weight:600;margin-bottom:0;display:flex;align-items:center;letter-spacing:.1px;line-height:18px}.customize-control-title{display:block;font-size:14px;line-height:1.75;font-weight:600;margin-bottom:4px}.components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:28px;height:28px;border-radius:4px;margin:0}.component-color-indicator{width:25px;height:16px;margin-left:.8rem;border:1px solid #dadada;display:inline-block}.astra-color-icon-indicate.components-button{height:auto;position:relative;transform:scale(1);border-radius:4px;padding:0;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;border:1px solid #929ba4}.astra-popover-color .components-popover__content .components-focal-point-picker-wrapper{box-sizing:border-box}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type=number].components-text-control__input{min-height:16px;line-height:16px;font-size:12px;width:50px;font-weight:400}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control{flex:1;margin-bottom:0}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label{margin-bottom:0;margin-right:.2em}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field{display:flex;align-items:center;font-size:8px;font-weight:600;font-style:normal;text-transform:uppercase}.astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field{justify-content:flex-end}.astra-popover-color .components-popover__content .actions{display:flex;justify-content:center;margin-bottom:10px}.astra-popover-color .components-popover__content .actions .button{flex:1;margin-top:10px}.astra-background-picker-wrap .astra-popover-color .components-popover__content{min-width:300px;min-height:340px;max-height:60vh}.color-button-wrap{display:inline;position:absolute;right:5px;top:-4.5px}.components-button.astra-background-icon-indicate{width:50px;height:50px;border-radius:50%;position:relative;transform:scale(1);transition:transform .1s ease;border-radius:50%;padding:0;background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);border:1px solid #dadada;background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0}.components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate{width:100%;height:100%;border-radius:4px;margin:0;display:block;position:absolute;border:0;top:0}.components-button.astra-background-icon-indicate>svg.dashicon{position:absolute;transform:translate(-50%,-50%);left:50%;top:50%;color:#fff;background:rgba(0,0,0,.6);border-radius:100%;width:16px;height:16px;border:1px solid rgba(0,0,0,.1)}.components-button.astra-background-icon-indicate>svg.dashicon path{transform:translate(1px,1px)}.components-button.astra-background-icon-indicate img.astra-background-image-preview{display:flex;object-fit:cover;min-width:100%;min-height:100%;position:absolute;top:0}.components-button.astra-background-icon-indicate:hover{box-shadow:none!important}.astra-control-field.astra-color-control{display:flex}.astra-control-field.astra-color-control .customize-control-title{flex-grow:2}.components-popover.astra-popover-color .components-popover__content{padding:15px 15px 0;box-sizing:initial;background:#fff;border:unset;border-radius:4px;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.customize-control-ast-color.customize-control{margin-top:32px}.customize-control-ast-color.customize-control>*{display:inline}.components-popover.astra-popover-color .components-popover__content .sketch-picker{padding:0 0 5px!important;box-shadow:none!important;border-radius:0!important}.components-popover.astra-popover-color .components-popover__content .attachment-media-view{margin-top:10px;margin-bottom:10px}.astra-swatches-wrap .astra-swatche-item-wrap:hover{transform:scale(1.2)!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item{background-image:linear-gradient(45deg,#ddd 25%,transparent 0),linear-gradient(-45deg,#ddd 25%,transparent 0),linear-gradient(45deg,transparent 75%,#ddd 0),linear-gradient(-45deg,transparent 75%,#ddd 0);background-size:10px 10px;background-position:0 0,0 5px,5px -5px,-5px 0;padding:0;display:flex;justify-content:center}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon{display:none}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active{box-shadow:0 0 0 8px inset!important}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon{display:block;color:#fff;background:rgba(0,0,0,.6);width:16px;height:16px;border:1px solid rgba(0,0,0,.1);border-radius:100%}.astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path{transform:translate(1px,1px)}.components-button.astra-color-icon-indicate>svg.dashicon{position:absolute;transform:translate(-50%,-50%);left:50%;top:50%;color:#fff;background:rgb(85 93 101);border-radius:4px;width:24px;height:24px;border:1px solid rgba(0,0,0,.1)}.astra-popover-color{margin-left:2px;margin-top:5px;background-color:#fff;border:1px solid #a29090;border-radius:4px}.ast-field-settings-modal .astra-popover-color{margin-left:0;border:1px solid #dedede}.ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs{padding:8px}.components-color-picker__saturation-black{border-radius:4px 4px 0 0}.components-color-picker__saturation-color{border-radius:3px}.components-color-picker__saturation-white{border-radius:3px}.astra-color-picker-wrap{margin-left:5px}.components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:27px;height:27px}.ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:6px}.ast-color-btn-clear-wrap{position:absolute;top:1.5px;right:65px}.ast-color-btn-clear-wrap .astra-color-clear-button.components-button{padding:10px 3px;width:20px;height:20px}.ast-clear-btn-inside-picker.components-button,.astra-popover-tabs .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 15px;padding:0 8px}.ast-clear-btn-inside-picker{padding:0 8px}.ast-color-btn-reset-wrap{position:absolute;right:46px;top:1.5px}.ast-color-btn-reset-wrap .ast-reset-btn.components-button{color:#006ba1;height:20px;width:20px;padding:4px;box-shadow:inset 0 0 0 1px #007cba}.astra-color-clear-button.components-button:focus:not(:disabled){outline:unset;border:1px solid #006ba1}.astra-color-clear-button.components-button.is-secondary:hover:not(:disabled),.astra-color-clear-button.components-button:focus:not(:disabled){box-shadow:0 0 #000;padding:1.5px;border:1px solid #006ba1}.ast-reset-btn.components-button.is-secondary:disabled,.astra-color-clear-button.components-button.is-secondary:disabled{box-shadow:inset 0 0 0 1px #007cba}.ast-field-settings-modal .color-button-wrap{right:16px}.ast-field-settings-modal .ast-color-btn-reset-wrap{right:59px}.ast-field-settings-modal .ast-color-btn-clear-wrap{right:78px}.ast-field-settings-modal .customize-control-ast-color.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-color.customize-control:first-child{margin-top:28px}.astra-color-picker-wrap .components-color-picker__inputs-wrapper{min-width:unset}.customize-control .ast-gradient-color-picker input[type=number]{width:50%}.customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type=number]{width:100%}.ast-field-settings-modal .astra-popover-color .ast-color-palette{padding:8px 0 0 13px;margin-bottom:-8px}.ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:2.5px;top:0;width:20px}@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{height:25px;width:25px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option{padding:6px 10px}.ast-color-palette .components-circular-option-picker__option.is-pressed+svg{width:18px;left:4px;top:1px}.ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:24px;height:24px}.astra-popover-color .ast-color-palette.components-circular-option-picker{width:auto;padding:16px 0 0 12px}.astra-typography-control .typography-button-wrap>button.components-button.astra-typography-preview-indicate{padding:0 2px}.astra-typography-control .typography-button-wrap>button.components-button{padding:0 4px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:22px;width:22px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:2.5px;top:-1px;width:18px}}@supports (-moz-appearance:none){@media (max-width:1845px){.ast-color-palette .components-circular-option-picker__option-wrapper{margin-right:5px}.ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after{width:21px;height:21px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper{height:20px;width:20px}.ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed+svg{left:3px;top:-2px;width:15px}}}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}.ast-customizer-notice{margin:0 -12px;padding:12px}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}.ast-reset-btn.components-button svg{padding:0;height:13px}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-left:0;margin-right:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-responsive-background .more-settings{margin-top:12px;display:flex;justify-content:flex-end;padding:5px 0 5px 0;cursor:pointer;float:none;text-decoration:none}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-left:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-background .wp-picker-container{display:block}.customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear{margin-left:4px;min-height:30px}.customize-control-ast-responsive-background .customize-control-content .color-button-wrap{position:absolute;right:24px;top:-5px}.customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns{position:absolute;right:0;top:-1px}.customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap{margin-top:-14px}.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-background .ast-color-btn-clear-wrap{right:84px}.customize-control-ast-responsive-background .ast-color-btn-reset-wrap{right:65px}.components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle{vertical-align:middle;height:32px}.astra-popover-tabs .components-button.upload-button.button-add-media{width:100%;position:relative;text-align:center;color:#555d66;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6}.astra-popover-tabs .components-button.upload-button.button-add-media:hover{color:#555d66;box-sizing:border-box;box-shadow:unset;border-color:#0185ba}.astra-popover-tabs [ID*="-gradient-view"]{padding:15px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear{flex:unset;box-shadow:unset;width:auto;padding:0 5px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus{box-shadow:unset}.astra-popover-tabs #tab-panel-0-image-view>div{text-align:center}.astra-popover-tabs #tab-panel-0-image-view>div img{width:200px;margin-bottom:18px}.astra-popover-tabs #tab-panel-0-image-view>div .media-position-setting{text-align:left}.astra-popover-color .components-circular-option-picker{position:relative;margin-top:0}.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{margin-top:10px;justify-content:flex-start}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{width:50px}}.astra-popover-color [ID*="-color-view"] .components-circular-option-picker{width:auto}.astra-popover-color .ast-color-palette{width:auto;padding:16px 0 0 14px}.astra-popover-color .ast-color-palette .components-circular-option-picker__option{width:100%;height:100%;border-radius:100%}.astra-popover-color .components-custom-gradient-picker{margin-top:0}.astra-popover-color .components-custom-gradient-picker__gradient-bar{box-sizing:border-box;opacity:1}.astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label{display:block}.components-custom-gradient-picker .components-base-control__label{padding-top:10px;font-size:12px;display:block;letter-spacing:.1px;line-height:18px}[ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon{border:none}.media-position-setting.hide-settings{display:none}.ast-field-settings-modal .customize-control-content .color-button-wrap{right:30px}.ast-field-settings-modal .customize-control-content .ast-responsive-btns{right:7px}.ast-field-settings-modal .customize-control-content .astra-color-picker-wrap{margin-left:0}.ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap{right:72px}.ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap{right:91px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child{margin-top:28px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha{display:none}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap{margin-left:2px;margin-top:-14px;background-color:#fff;border-radius:4px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black{border-radius:4px 4px 0 0}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active{display:block}.customize-control-ast-responsive-color .customize-control-content .color-button-wrap{position:absolute;right:24px;top:-4px}.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-color .ast-responsive-btns{position:absolute;right:0;top:6px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{right:30px;top:-3px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap{margin-left:0;margin-bottom:10px;margin-top:10px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title{display:block;margin-bottom:0}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns{right:7px;top:1px}.ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 10px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:3.5px}@supports (-moz-appearance:none){.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:5.5px;right:65px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{right:27px;top:-2px}}.ast-responsive-select-container{display:none}.ast-responsive-select-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-34px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-right:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;margin-left:2px;padding:0 24px 0 8px;font-size:13px;text-transform:uppercase;float:none;display:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:25%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.astra-popover-tabs{position:relative}.astra-popover-tabs .components-tab-panel__tabs{display:flex;padding:15px;border:none}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{color:#555d66;font-size:13px;font-weight:400;height:35px;transition:unset;padding:2px 4px;text-decoration:none;border-radius:0;border:1px solid rgba(0,0,0,.1)}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active{box-shadow:unset}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus{box-shadow:unset}.astra-popover-tabs [ID*="-image-view"]{padding:15px;border:none}.astra-popover-tabs .components-button{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.astra-popover-tabs .components-tab-panel__tabs-item:first-child{border-radius:3px 0 0 3px}.astra-popover-tabs .components-tab-panel__tabs-item:last-child{border-radius:0 3px 3px 0}.astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child){border-left-width:0}.astra-popover-tabs .components-tab-panel__tabs-item.active-tab{background-color:#0185ba;color:#fff}.astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover{color:#fff}.components-popover.astra-popover-color .components-popover__content{min-width:310px;max-height:60vh;padding:0;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content{min-width:320px;min-height:325px}.ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content{min-height:385px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset{right:-18px;top:-32px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle}.customize-control-ast-customizer-link .customizer-link{font-style:italic;text-decoration:none}.accordion-section-content::-webkit-scrollbar,.wp-full-overlay-sidebar-content::-webkit-scrollbar{width:6px;background-color:#f1f1f1}.accordion-section-content::-webkit-scrollbar-thumb,.wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb{border-radius:10px;background-color:#d8d8d8}.accordion-section-content::-webkit-scrollbar-track,.wp-full-overlay-sidebar-content::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 0 rgba(0,0,0,.3);width:6px}.wp-full-overlay-sidebar:after{display:none}#customize-theme-controls .control-section-ast-section-separator{margin-top:15px;border-top:1px solid #ddd;display:block!important}.customize-control{position:relative;margin-bottom:0;margin-top:12px}.customize-control .customize-inside-control-row{padding-top:0;padding-bottom:0}.customize-control-title{display:inline-block;margin-bottom:12px}.customize-control-ast-font-variant .select2{margin-bottom:12px}.customize-control .ast-control-tooltip{position:absolute;top:0;right:0}.customize-control.customize-control-ast-divider .ast-control-tooltip{position:absolute;top:auto;bottom:3px;right:0}.ast-fields-wrap .customize-control .ast-control-tooltip{right:15px;top:6px}.customize-control .select2-search input[type=text].select2-search__field{min-height:17px}input[type=text].select2-search__field{line-height:1;border-radius:0}.ast-customizer-notice{margin:0 -12px;padding:12px}#customize-theme-controls .control-section.open{height:100%}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){#customize-control-astra-settings-ast-header-responsive-logo-width .wrapper{display:inline-block;width:100%}.dashicons-desktop:before,.dashicons-smartphone:before,.dashicons-tablet:before{color:#000;opacity:.75}.ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{width:20%}.ast-reset-btn.components-button svg{padding:0;height:13px}}}@-moz-document url-prefix(){.control-section.open .customize-control:last-child{margin-bottom:20px}}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.control-section.open .customize-control:last-child{padding-bottom:20px}#customize-control-astra-settings-blog-archive-image-height .customize-control-title,#customize-control-astra-settings-blog-archive-image-width .customize-control-title,#customize-control-astra-settings-blog-single-post-image-height .customize-control-title,#customize-control-astra-settings-blog-single-post-image-width .customize-control-title{margin-left:0;margin-right:20px}}.customize-control-ast-description .ast-description{font-style:italic}.customize-control-ast-description a.button{margin-top:10px;font-style:normal}.customize-control-ast-description p{margin:0;cursor:initial}.customize-control-ast-divider hr{margin-top:12px}.customize-control-ast-divider .customize-control-title{font-size:15px;margin:1em 0 .2em}.ast-field-settings-modal .customize-control-ast-divider{background-color:#f5f5f5;display:block;padding:6px 14px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;line-height:1;margin-top:15px}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title{font-weight:500;letter-spacing:1px;font-size:11px;margin:0;text-transform:uppercase}.ast-field-settings-wrap .customize-control-ast-heading{margin:0 0 15px 0}.accordion-section-content.open .customize-control-ast-heading:nth-child(2),.accordion-section-content.open .customize-control-ast-heading:nth-child(3){margin-top:0}.customize-control-ast-heading{margin-top:20px;margin-bottom:8px}.customize-control-ast-heading .ast-heading-wrapper{margin:0 -12px}.customize-control-ast-heading .customize-control-title{display:block;padding:13px 12px;margin:0;border-width:1px 0;border-style:solid;border-color:#ddd;background-color:#fff;font-size:11.5px;font-weight:500;letter-spacing:1px;line-height:1;text-transform:uppercase}.customize-control-ast-heading .customize-control-caption{top:50%;transform:translateY(-50%);position:absolute;right:0;font-size:11px;font-weight:500;letter-spacing:1px}.customize-control-ast-heading .customize-control-description{margin-top:10px}.ast-heading-wrapper label{cursor:default}.customize-control>label{cursor:default}.customize-control .ast-border-input-item-link,.customize-control .ast-spacing-input-item-link{cursor:pointer}.customize-control.customize-control-ast-slider label{cursor:pointer}.customize-control.customize-control-ast-slider label .wrapper input[type=range]{cursor:pointer}.ast-link-open-in-new-tab-wrapper{margin:10px 0}.customize-control-ast-radio-image label{position:relative;display:inline-block;margin-right:12px}.customize-control-ast-radio-image input{display:none}.customize-control-ast-radio-image input:checked+label svg{background:#fff;border-radius:3px;box-shadow:0 0 3px 0 rgba(0,133,186,.67)}.customize-control-ast-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-ast-radio-image .ast-radio-img-svg svg{width:73px;height:49px}#customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg,#customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg{width:37px;height:49px}#customize-control-astra-settings-footer-adv .image label{margin-bottom:12px}.customize-control-ast-responsive-background{position:relative}.customize-control-ast-responsive-background .background-container h4{font-size:14px;font-weight:600;color:#555d66}.customize-control-ast-responsive-background .background-attachment h4,.customize-control-ast-responsive-background .background-color h4,.customize-control-ast-responsive-background .background-position h4,.customize-control-ast-responsive-background .background-repeat h4,.customize-control-ast-responsive-background .background-size h4{margin-bottom:5px;margin-top:10px}.customize-control-ast-responsive-background .background-color{margin-bottom:12px}.customize-control-ast-responsive-background .background-repeat{margin:15px 0 15px 0}.customize-control-ast-responsive-background .background-attachment .buttonset,.customize-control-ast-responsive-background .background-size .buttonset{display:flex;flex-wrap:wrap}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-label{background:#fff;border:1px solid rgba(0,0,0,.1);color:#555;padding:2px 4px;margin-right:15px;text-align:center;flex-grow:1;transition:background-color 140ms linear}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child,.customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child{margin-right:0}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked=checked]+.switch-label,.customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked=checked]+.switch-label{background-color:#f5f5f5;color:#565e67}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link{width:100%;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6;margin-top:10px;text-decoration:none}.customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled){color:#a02222;box-shadow:unset;border-color:#a02222}.customize-control-ast-responsive-background .more-settings{margin-top:12px;display:flex;justify-content:flex-end;padding:5px 0 5px 0;cursor:pointer;float:none;text-decoration:none}.customize-control-ast-responsive-background .more-settings:focus{outline:0;box-shadow:none}.customize-control-ast-responsive-background .arrow-icon{margin-left:5px}.customize-control-ast-responsive-background .background-container{display:none}.customize-control-ast-responsive-background .background-container.active{display:block}.customize-control-ast-responsive-background .wp-picker-container{display:block}.customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear{margin-left:4px;min-height:30px}.customize-control-ast-responsive-background .customize-control-content .color-button-wrap{position:absolute;right:24px;top:-5px}.customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns{position:absolute;right:0;top:-1px}.customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap{margin-top:-14px}.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-background .ast-color-btn-clear-wrap{right:84px}.customize-control-ast-responsive-background .ast-color-btn-reset-wrap{right:65px}.components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle{vertical-align:middle;height:32px}.astra-popover-tabs .components-button.upload-button.button-add-media{width:100%;position:relative;text-align:center;color:#555d66;border:1px dashed #b4b9be;box-sizing:border-box;box-shadow:unset;padding:9px 0;line-height:1.6}.astra-popover-tabs .components-button.upload-button.button-add-media:hover{color:#555d66;box-sizing:border-box;box-shadow:unset;border-color:#0185ba}.astra-popover-tabs [ID*="-gradient-view"]{padding:15px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear{flex:unset;box-shadow:unset;width:auto;padding:0 5px}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active{box-shadow:unset}.astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus{box-shadow:unset}.astra-popover-tabs #tab-panel-0-image-view>div{text-align:center}.astra-popover-tabs #tab-panel-0-image-view>div img{width:200px;margin-bottom:18px}.astra-popover-tabs #tab-panel-0-image-view>div .media-position-setting{text-align:left}.astra-popover-color .components-circular-option-picker{position:relative;margin-top:0}.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{margin-top:10px;justify-content:flex-start}@media screen and (-ms-high-contrast:active),(-ms-high-contrast:none){.astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper{width:50px}}.astra-popover-color [ID*="-color-view"] .components-circular-option-picker{width:auto}.astra-popover-color .ast-color-palette{width:auto;padding:16px 0 0 14px}.astra-popover-color .ast-color-palette .components-circular-option-picker__option{width:100%;height:100%;border-radius:100%}.astra-popover-color .components-custom-gradient-picker{margin-top:0}.astra-popover-color .components-custom-gradient-picker__gradient-bar{box-sizing:border-box;opacity:1}.astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label{display:block}.components-custom-gradient-picker .components-base-control__label{padding-top:10px;font-size:12px;display:block;letter-spacing:.1px;line-height:18px}[ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon{border:none}.media-position-setting.hide-settings{display:none}.ast-field-settings-modal .customize-control-content .color-button-wrap{right:30px}.ast-field-settings-modal .customize-control-content .ast-responsive-btns{right:7px}.ast-field-settings-modal .customize-control-content .astra-color-picker-wrap{margin-left:0}.ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap{right:72px}.ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap{right:91px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child{margin-top:28px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha{display:none}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap{margin-left:2px;margin-top:-14px;background-color:#fff;border-radius:4px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black{border-radius:4px 4px 0 0}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white{border-radius:3px}.customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active{display:block}.customize-control-ast-responsive-color .customize-control-content .color-button-wrap{position:absolute;right:24px;top:-4px}.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color,.customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white{border-radius:unset}.customize-control-ast-responsive-color .ast-responsive-btns{position:absolute;right:0;top:6px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{right:30px;top:-3px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap{margin-left:0;margin-bottom:10px;margin-top:10px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title{display:block;margin-bottom:0}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns{right:7px;top:1px}.ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child{margin-top:28px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button{margin:5px 20px 20px 10px}.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:3.5px}@supports (-moz-appearance:none){.ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap{top:5.5px;right:65px}.ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap{right:27px;top:-2px}}.ast-responsive-select-container{display:none}.ast-responsive-select-container.active{display:block}.customize-control-ast-responsive-slider .wrapper{position:relative}.customize-control-ast-responsive-slider .input-field-wrapper{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-responsive-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-responsive-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-responsive-slider input[type=range]:focus,.customize-control-ast-responsive-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-responsive-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower,.customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-responsive-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-responsive-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-responsive-slider .ast-responsive-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-34px;right:1.5em;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-responsive-slider .ast-responsive-slider-reset span{font-size:13px;line-height:24px;transition:unset}.customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus,.customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover{color:red}.astra_range_value input.ast-responsive-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.customize-control-ast-responsive-slider .input-field-wrapper{display:none}.customize-control-ast-responsive-slider .input-field-wrapper.active{display:flex;justify-content:space-between;margin-right:0;flex:0 1;width:100%}.ast-responsive-slider-btns{display:inline-block;float:right;line-height:1;margin-top:5px}.ast-responsive-slider-btns>li{margin-bottom:0;display:none}.ast-responsive-slider-btns>li.active{display:inline-block}.ast-responsive-slider-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-slider-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.customize-control-ast-responsive-spacing .customize-control-title{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper{display:flex;position:relative}.customize-control-ast-responsive-spacing .ast-spacing-input-item{margin-bottom:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns{display:block;text-align:center;line-height:2;border:1px solid #ddd;background-color:#fff;border-radius:0 3px 3px 0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li{margin-bottom:0;display:none;width:35px;height:26px}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns>li.active{display:inline-block}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0;width:100%;height:100%}.customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type=button]>i{font-size:15px;margin-top:1px;vertical-align:middle}.customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper{display:inline-flex}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units{position:absolute;transform:translateY(-100%);font-size:11px;text-transform:uppercase;top:0;right:0}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit{display:inline-block;margin-left:6px;width:16px;text-align:center;user-select:none;opacity:.7}.customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active{text-decoration:underline;opacity:1;color:#000}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li{text-align:center;-webkit-box-flex:1;-ms-flex:auto;flex:auto}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input{text-align:center;display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid #ddd;border-right-width:0;box-shadow:none;padding-left:11px}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected{color:#1e8cbe}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active{display:flex}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title{text-transform:uppercase;font-size:10px;opacity:.75}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected{display:none}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected{display:block}.customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span{width:35px;height:26px;line-height:26px;font-size:14px;border:1px solid #ddd;background-color:#fff;border-radius:3px 0 0 3px;border-right-width:0}.ast-responsive-btns{display:inline-block;float:right;line-height:1;margin-top:6px}.ast-responsive-btns>li{margin-bottom:0;display:none}.ast-responsive-btns>li.active{display:inline-block}.ast-responsive-btns button[type=button]{padding:0;cursor:pointer;background:0 0;border:none;opacity:.75;outline:0}.ast-responsive-btns button[type=button]>i{width:15px;height:15px;font-size:15px}.ast-field-settings-modal .ast-responsive-btns{margin-top:6px}.customize-control-ast-responsive .input-wrapper{overflow:hidden}.customize-control-ast-responsive .input-wrapper input{display:none;width:82%;float:none}.customize-control-ast-responsive .input-wrapper input.active{display:block}.customize-control-ast-responsive .input-wrapper .ast-responsive-select{width:50px;margin:0;margin-left:2px;padding:0 24px 0 8px;font-size:13px;text-transform:uppercase;float:none;display:none}.customize-control-ast-responsive .input-wrapper .ast-responsive-input.active+.ast-responsive-select{display:block;width:25%;float:none}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active{display:inline-block}.customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper{display:inline-block}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select{display:none}#customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input{width:100%}.input-wrapper.ast-responsive-wrapper{display:inline-flex;justify-content:space-between;margin-right:0;align-items:flex-start;flex:0 1;width:100%}.ast-adv-toggle-icon{right:2px;top:-2px;position:absolute;width:18px;height:18px;font-size:18px;border:1px solid #ddd;border-radius:2px;padding:4px;color:#0073aa;background:#fff}.ast-adv-toggle-icon:hover{color:#099fd6}.ast-adv-toggle-icon:before{content:"\f464"}.ast-adv-toggle-icon.open:before{content:"\f158"}.ast-field-settings-modal{position:absolute;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;border-radius:3px;left:0;right:0;z-index:10000;background-color:#fff}.ast-field-settings-modal .customize-control-ast-divider:first-child{margin-top:15px}.ast-field-settings-wrap{width:100%}.ast-group-tabs,.ast-tab-content{position:relative}.ast-group-list{overflow:hidden;border-bottom:1px solid #ddd}.ast-group-list:after,.ast-group-list:before{content:"";display:table;border-collapse:collapse}.ui-tabs-anchor{float:left;padding:.5em .5em;color:#555d66;text-decoration:none}.ui-state-active .ui-tabs-anchor{color:#fff}.ui-tabs-anchor:hover{color:#555d66}.ui-state-active .ui-tabs-anchor:hover{color:#fff}.ast-group-tabs .ui-widget-content{overflow:hidden}.ast-group-tabs .ui-widget-content.iris-slider-offset,.ast-group-tabs .ui-widget-content.iris-slider-offset-alpha{overflow:inherit}.ast-fields-wrap{overflow:hidden}.ast-field-settings-wrap{-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3);-webkit-border-radius:3px;background-color:#fff}.ast-field-settings-wrap .ast-field-settings-modal{border-radius:3px;margin-top:9px;margin-bottom:20px}.ast-field-settings-modal::before{content:'';position:absolute;top:-17px;right:8px;border:9px solid transparent;border-bottom-color:#fff;pointer-events:none}.ast-group-tabs .ui-tabs-nav{display:flex;padding:15px 15px 0 15px}.ast-group-tabs .ui-tabs-nav .ui-corner-top{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child{border-radius:3px 0 0 3px}.ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child{border-radius:0 3px 3px 0}.ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor{width:100%;text-align:center;padding:2px 4px;padding-left:0;padding-right:0;outline:0}.ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus{box-shadow:none}.ast-group-tabs .ui-tabs-nav{border:none}.ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active{background-color:#0185ba;border:1px solid rgba(0,0,0,.1)}.ast-group-tabs .ui-tabs-nav{overflow:visible}.ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child){border-left-width:0}.wp-core-ui .ast-field-settings-modal .background-image-upload .button{font-size:11px}.ast-field-settings-modal .customize-control{padding-left:15px;padding-right:15px;box-sizing:border-box}.ast-field-settings-modal .customize-control:first-child{margin-top:15px}.ast-field-settings-modal .ui-tabs-nav .customize-control:first-child{margin-top:0}.ast-field-settings-modal .customize-control:last-child{padding-bottom:15px}.customize-control-ast-settings-group{line-height:27px}.customize-control-ast-settings-group .customize-control-title{margin-bottom:0}.customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title{margin-bottom:10px;font-size:13px}.ast-field-settings-modal .customize-control{margin-top:10px}.astra-popover-tabs{position:relative}.astra-popover-tabs .components-tab-panel__tabs{display:flex;padding:15px;border:none}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item{color:#555d66;font-size:13px;font-weight:400;height:35px;transition:unset;padding:2px 4px;text-decoration:none;border-radius:0;border:1px solid rgba(0,0,0,.1)}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active{box-shadow:unset}.astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus{box-shadow:unset}.astra-popover-tabs [ID*="-image-view"]{padding:15px;border:none}.astra-popover-tabs .components-button{align-items:center;flex:1 1 auto;justify-content:center;margin:0 0;padding:0;border:1px solid #ccc;transition:background-color 140ms linear}.astra-popover-tabs .components-tab-panel__tabs-item:first-child{border-radius:3px 0 0 3px}.astra-popover-tabs .components-tab-panel__tabs-item:last-child{border-radius:0 3px 3px 0}.astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child){border-left-width:0}.astra-popover-tabs .components-tab-panel__tabs-item.active-tab{background-color:#0185ba;color:#fff}.astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover{color:#fff}.components-popover.astra-popover-color .components-popover__content{min-width:310px;max-height:60vh;padding:0;-webkit-box-shadow:0 2px 15px rgba(0,0,0,.3);box-shadow:0 2px 15px rgba(0,0,0,.3)}.ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content{min-width:320px;min-height:325px}.ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content{min-height:385px}.customize-control-ast-slider .wrapper{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.customize-control-ast-slider input[type=range]{-webkit-appearance:none;-webkit-transition:background .3s;-moz-transition:background .3s;transition:background .3s;background-color:rgba(0,0,0,.1);height:5px;padding:0;-webkit-box-flex:1;-ms-flex:1;flex:1}.customize-control-ast-slider input[type=range]:focus{box-shadow:none;outline:0}.customize-control-ast-slider input[type=range]:focus,.customize-control-ast-slider input[type=range]:hover{background-color:rgba(0,0,0,.25)}.customize-control-ast-slider input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border-radius:50%;-webkit-border-radius:50%;background-color:#3498d9;-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:50%;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:50%;border:0;background-color:#3498d9}.customize-control-ast-slider input[type=range]::-moz-range-track{border:inherit;background:0 0}.customize-control-ast-slider input[type=range]::-ms-track{border:inherit;color:transparent;background:0 0}.customize-control-ast-slider input[type=range]::-ms-fill-lower,.customize-control-ast-slider input[type=range]::-ms-fill-upper{background:0 0}.customize-control-ast-slider input[type=range]::-ms-tooltip{display:none}.customize-control-ast-slider .astra_range_value{font-size:14px;padding:0 0 0 5px;font-weight:400;position:relative}.customize-control-ast-slider .ast-slider-reset{color:rgba(0,0,0,.2);position:absolute;top:-28px;right:0;display:inline-block;-webkit-transition:color .5s ease-in;-moz-transition:color .5s ease-in;-ms-transition:color .5s ease-in;-o-transition:color .5s ease-in;transition:color .5s ease-in}.customize-control-ast-slider .ast-slider-reset span{font-size:16px;line-height:22px;transition:unset}.customize-control-ast-slider .ast-slider-reset:focus,.customize-control-ast-slider .ast-slider-reset:hover{color:red}.astra_range_value input.ast-range-value-input{width:50px;height:22px;font-size:12px;padding:3px}.astra_range_value .ast-range-unit{margin-left:5px}.ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset{right:-18px;top:-32px}.customize-control-ast-sortable ul.ui-sortable{cursor:default}.customize-control-ast-sortable ul.ui-sortable .dashicons-visibility{cursor:pointer}.customize-control-ast-sortable ul.ui-sortable li{padding:5px 10px;border:1px solid #333;background:#fff;cursor:move}.customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu{float:right}.customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility{margin-right:10px}.customize-control-ast-sortable ul.ui-sortable li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility{color:#aaa}.select2-container{width:100%!important}span.select2-container.select2-container--default.select2-container--open{z-index:999999}span.select2-container.select2-container--default.select2-container--open li.select2-results__option{margin:0}.select2-selection__rendered li{margin-bottom:0}.select2-container--default .select2-selection--single,.select2-container--default.select2-container .select2-selection--multiple{border-color:#ddd;border-radius:0}.select2-container--default .select2-selection--multiple .select2-selection__choice,.select2-dropdown{border-color:#ddd;border-radius:0}.customize-control-ast-hidden{margin-top:0}.wp-full-overlay-footer .devices-wrapper .preview-desktop,.wp-full-overlay-footer .devices-wrapper .preview-mobile,.wp-full-overlay-footer .devices-wrapper .preview-tablet{vertical-align:middle} custom-controls/assets/css/unminified/responsive.css 0000644 00000004315 15252526161 0017057 0 ustar 00 .ast-responsive-btns { display: inline-block; float: right; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; margin-left: 2px; padding: 0 24px 0 8px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; } custom-controls/assets/css/unminified/sortable.css 0000644 00000001341 15252526161 0016471 0 ustar 00 .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: right; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-right: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } custom-controls/assets/css/unminified/link-rtl.css 0000644 00000000073 15252526161 0016413 0 ustar 00 .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } custom-controls/assets/css/unminified/radio-image.css 0000644 00000001762 15252526161 0017043 0 ustar 00 .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } custom-controls/assets/css/unminified/description-rtl.css 0000644 00000000400 15252526161 0017773 0 ustar 00 .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } custom-controls/assets/css/unminified/border.css 0000644 00000006140 15252526161 0016135 0 ustar 00 .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-right-width: 1px; border-radius: 0 3px 3px 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } custom-controls/assets/css/unminified/divider-rtl.css 0000644 00000001236 15252526161 0017106 0 ustar 00 .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } custom-controls/assets/css/unminified/responsive-slider-rtl.css 0000644 00000010044 15252526161 0021132 0 ustar 00 .customize-control-ast-responsive-slider .wrapper { position: relative; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } custom-controls/assets/css/unminified/divider.css 0000644 00000001236 15252526161 0016307 0 ustar 00 .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } custom-controls/assets/css/unminified/responsive-rtl.css 0000644 00000004314 15252526161 0017655 0 ustar 00 .ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; margin-right: 2px; padding: 0 8px 0 24px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } custom-controls/assets/css/unminified/link.css 0000644 00000000073 15252526161 0015614 0 ustar 00 .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } custom-controls/assets/css/unminified/responsive-background-rtl.css 0000644 00000020133 15252526161 0021767 0 ustar 00 .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-right: 4px; min-height: 30px; } .customize-control-ast-responsive-background .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -5px; } .customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns { position: absolute; left: 0px; top: -1px; } .customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap { margin-top: -14px; } .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-background .ast-color-btn-clear-wrap { left: 84px; } .customize-control-ast-responsive-background .ast-color-btn-reset-wrap { left: 65px; } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } .astra-popover-tabs #tab-panel-0-image-view > div { text-align: center; } .astra-popover-tabs #tab-panel-0-image-view > div img { width: 200px; margin-bottom: 18px; } .astra-popover-tabs #tab-panel-0-image-view > div .media-position-setting { text-align: right; } .astra-popover-color .components-circular-option-picker { position: relative; margin-top: 0; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { width: 50px; } } .astra-popover-color [ID*="-color-view"] .components-circular-option-picker { width: auto; } .astra-popover-color .ast-color-palette { width: auto; padding: 16px 14px 0px 0px; } .astra-popover-color .ast-color-palette .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } .astra-popover-color .components-custom-gradient-picker { margin-top: 0; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { border: none; } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal .customize-control-content .color-button-wrap { left: 30px; } .ast-field-settings-modal .customize-control-content .ast-responsive-btns { left: 7px; } .ast-field-settings-modal .customize-control-content .astra-color-picker-wrap { margin-right: 0px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap { left: 72px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap { left: 91px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child { margin-top: 28px; } custom-controls/assets/css/unminified/custom-controls.css 0000644 00000165414 15252526161 0020045 0 ustar 00 #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-left: 5px; } .customize-control-ast-background .customize-control-title { display: block; } .customize-control-ast-background .astra-color-picker-wrap { margin-top: 18px; } .ast-field-settings-modal .customize-control-ast-background.customize-control:first-child, .ast-field-settings-modal .customize-control-ast-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap { right: 59px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap { right: 16px; } .ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 10px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-right-width: 1px; border-radius: 0 3px 3px 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } /** Remove Button Color */ .astra-control-field.astra-color-control { display: flex; } .astra-control-field { position: relative; margin-top: 10px; margin-bottom: 10px; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .astra-control-field .customize-control-title { font-size: 14px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; letter-spacing: 0.1px; line-height: 18px; } .customize-control-title { display: block; font-size: 14px; line-height: 1.75; font-weight: 600; margin-bottom: 4px; } .components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 28px; height: 28px; border-radius: 4px; margin: 0; } .component-color-indicator { width: 25px; height: 16px; margin-left: 0.8rem; border: 1px solid #dadada; display: inline-block; } .astra-color-icon-indicate.components-button { height: auto; position: relative; transform: scale(1); border-radius: 4px; padding: 0; background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; border: 1px solid #929ba4; } /** Color */ .astra-popover-color .components-popover__content .components-focal-point-picker-wrapper { box-sizing: border-box; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type="number"].components-text-control__input { min-height: 16px; line-height: 16px; font-size: 12px; width: 50px; font-weight: normal; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control { flex: 1; margin-bottom: 0; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label { margin-bottom: 0; margin-right: 0.2em; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field { display: flex; align-items: center; font-size: 8px; font-weight: 600; font-style: normal; text-transform: uppercase; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field { justify-content: flex-end; } .astra-popover-color .components-popover__content .actions { display: flex; justify-content: center; margin-bottom: 10px; } .astra-popover-color .components-popover__content .actions .button { flex: 1; margin-top: 10px; } .astra-background-picker-wrap .astra-popover-color .components-popover__content { min-width: 300px; min-height: 340px; max-height: 60vh; } .color-button-wrap { display: inline; position: absolute; right: 5px; top: -4.5px; } .components-button.astra-background-icon-indicate { width: 50px; height: 50px; border-radius: 50%; position: relative; transform: scale(1); transition: transform 0.1s ease; border-radius: 50%; padding: 0; background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); border: 1px solid #dadada; background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; } .components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 100%; height: 100%; border-radius: 4px; margin: 0; display: block; position: absolute; border: 0; top: 0; } .components-button.astra-background-icon-indicate > svg.dashicon { position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; color: white; background: rgba(0, 0, 0, 0.6); border-radius: 100%; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); } .components-button.astra-background-icon-indicate > svg.dashicon path { transform: translate(1px, 1px); } .components-button.astra-background-icon-indicate img.astra-background-image-preview { display: flex; object-fit: cover; min-width: 100%; min-height: 100%; position: absolute; top: 0; } .components-button.astra-background-icon-indicate:hover { box-shadow: none !important; } .astra-control-field.astra-color-control { display: flex; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .components-popover.astra-popover-color .components-popover__content { padding: 15px 15px 0px; box-sizing: initial; background: #fff; border: unset; border-radius: 4px; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .customize-control-ast-color.customize-control { margin-top: 32px; } .customize-control-ast-color.customize-control > * { display: inline; } .components-popover.astra-popover-color .components-popover__content .sketch-picker { padding: 0 0 5px !important; box-shadow: none !important; border-radius: 0px !important; } .components-popover.astra-popover-color .components-popover__content .attachment-media-view { margin-top: 10px; margin-bottom: 10px; } .astra-swatches-wrap .astra-swatche-item-wrap:hover { transform: scale(1.2) !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item { background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; padding: 0; display: flex; justify-content: center; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon { display: none; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active { box-shadow: 0 0 0 8px inset !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon { display: block; color: white; background: rgba(0, 0, 0, 0.6); width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 100%; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path { transform: translate(1px, 1px); } .components-button.astra-color-icon-indicate > svg.dashicon { position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; color: white; background: rgb(85 93 101); border-radius: 4px; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-color { margin-left: 2px; margin-top: 5px; background-color: #ffffff; border: 1px solid #a29090; border-radius: 4px; } .ast-field-settings-modal .astra-popover-color { margin-left: 0px; border: 1px solid #dedede; } .ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs { padding: 8px; } .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } .astra-color-picker-wrap { margin-left: 5px; } .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 27px; height: 27px; } .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 6px; } /* Clear Button CSS */ .ast-color-btn-clear-wrap { position: absolute; top: 1.5px; right: 65px; } .ast-color-btn-clear-wrap .astra-color-clear-button.components-button { padding: 10px 3px; width: 20px; height: 20px; } .ast-clear-btn-inside-picker.components-button, .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 15px; padding: 0 8px; } .ast-clear-btn-inside-picker { padding: 0 8px; } /* Reset Button CSS */ .ast-color-btn-reset-wrap { position: absolute; right: 46px; top: 1.5px; } .ast-color-btn-reset-wrap .ast-reset-btn.components-button { color: #006BA1; height: 20px; width: 20px; padding: 4px; box-shadow: inset 0 0 0 1px #007cba; } .astra-color-clear-button.components-button:focus:not(:disabled) { outline: unset; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:hover:not(:disabled), .astra-color-clear-button.components-button:focus:not(:disabled) { box-shadow: 0 0 black; padding: 1.5px; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:disabled, .ast-reset-btn.components-button.is-secondary:disabled { box-shadow: inset 0 0 0 1px #007cba; } /** Inside Setting group popup - Colors */ .ast-field-settings-modal .color-button-wrap { right: 16px; } .ast-field-settings-modal .ast-color-btn-reset-wrap { right: 59px; } .ast-field-settings-modal .ast-color-btn-clear-wrap { right: 78px; } .ast-field-settings-modal .customize-control-ast-color.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-color.customize-control:first-child { margin-top: 28px; } .astra-color-picker-wrap .components-color-picker__inputs-wrapper { min-width: unset; } /** Gradient Color Picker */ .customize-control .ast-gradient-color-picker input[type="number"] { width: 50%; } /** Gradient Color Picker -> RGBA & HSLA range fields */ .customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type="number"] { width: 100%; } /** Modal Color Picker - Group Param */ .ast-field-settings-modal .astra-popover-color .ast-color-palette { padding: 8px 0px 0px 13px; margin-bottom: -8px; } .ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 2.5px; top: 0px; width: 20px; } @media (max-width: 1845px) { /** Responsive Devices - Compatibility CSS */ .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option { padding: 6px 10px; } .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { width: 18px; left: 4px; top: 1px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .astra-popover-color .ast-color-palette.components-circular-option-picker { width: auto; padding: 16px 0px 0px 12px; } .astra-typography-control .typography-button-wrap > button.components-button.astra-typography-preview-indicate { padding: 0 2px; } .astra-typography-control .typography-button-wrap > button.components-button { padding: 0 4px; } /** Modal Popup */ .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 22px; width: 22px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 2.5px; top: -1px; width: 18px; } } @supports (-moz-appearance:none) { @media (max-width: 1845px) { .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 20px; width: 20px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 3px; top: -2px; width: 15px; } } } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; right: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; right: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { right: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn.components-button svg { padding: 0px; height: 13px; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-left: 0px; margin-right: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; right: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-left: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-left: 4px; min-height: 30px; } .customize-control-ast-responsive-background .customize-control-content .color-button-wrap { position: absolute; right: 24px; top: -5px; } .customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns { position: absolute; right: 0px; top: -1px; } .customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap { margin-top: -14px; } .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-background .ast-color-btn-clear-wrap { right: 84px; } .customize-control-ast-responsive-background .ast-color-btn-reset-wrap { right: 65px; } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } .astra-popover-tabs #tab-panel-0-image-view > div { text-align: center; } .astra-popover-tabs #tab-panel-0-image-view > div img { width: 200px; margin-bottom: 18px; } .astra-popover-tabs #tab-panel-0-image-view > div .media-position-setting { text-align: left; } .astra-popover-color .components-circular-option-picker { position: relative; margin-top: 0; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { width: 50px; } } .astra-popover-color [ID*="-color-view"] .components-circular-option-picker { width: auto; } .astra-popover-color .ast-color-palette { width: auto; padding: 16px 0px 0px 14px; } .astra-popover-color .ast-color-palette .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } .astra-popover-color .components-custom-gradient-picker { margin-top: 0; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { border: none; } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal .customize-control-content .color-button-wrap { right: 30px; } .ast-field-settings-modal .customize-control-content .ast-responsive-btns { right: 7px; } .ast-field-settings-modal .customize-control-content .astra-color-picker-wrap { margin-left: 0px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap { right: 72px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap { right: 91px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child { margin-top: 28px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha { display: none; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap { margin-left: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { position: absolute; right: 24px; top: -4px; } .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-color .ast-responsive-btns { position: absolute; right: 0px; top: 6px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { right: 30px; top: -3px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap { margin-left: 0px; margin-bottom: 10px; margin-top: 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title { display: block; margin-bottom: 0px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns { right: 7px; top: 1px; } .ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 3.5px; } @supports (-moz-appearance: none) { .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 5.5px; right: 65px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { right: 27px; top: -2px; } } .ast-responsive-select-container { display: none; } .ast-responsive-select-container.active { display: block; } .customize-control-ast-responsive-slider .wrapper { position: relative; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; right: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-left: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } .ast-responsive-btns { display: inline-block; float: right; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; margin-left: 2px; padding: 0 24px 0 8px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; } .ast-adv-toggle-icon { right: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; left: 0; right: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: left; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; right: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-left: 0; padding-right: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-left-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; } .astra-popover-tabs .components-tab-panel__tabs { display: flex; padding: 15px; border: none; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active { box-shadow: unset; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus { box-shadow: unset; } .astra-popover-tabs [ID*="-image-view"] { padding: 15px; border: none; } .astra-popover-tabs .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .astra-popover-tabs .components-tab-panel__tabs-item:first-child { border-radius: 3px 0px 0px 3px; } .astra-popover-tabs .components-tab-panel__tabs-item:last-child { border-radius: 0px 3px 3px 0px; } .astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child) { border-left-width: 0; } .astra-popover-tabs .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } .components-popover.astra-popover-color .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content { min-width: 320px; min-height: 325px; } .ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content { min-height: 385px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset { right: -18px; top: -32px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: right; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-right: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } custom-controls/assets/css/unminified/typography.css 0000644 00000001745 15252526161 0017074 0 ustar 00 .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } custom-controls/assets/css/unminified/responsive-spacing-rtl.css 0000644 00000007427 15252526161 0021307 0 ustar 00 .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } custom-controls/assets/css/unminified/typography-rtl.css 0000644 00000001745 15252526161 0017673 0 ustar 00 .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } custom-controls/assets/css/unminified/slider-rtl.css 0000644 00000006021 15252526161 0016737 0 ustar 00 .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset { left: -18px; top: -32px; } custom-controls/assets/css/unminified/color.css 0000644 00000032241 15252526161 0015777 0 ustar 00 /** Remove Button Color */ .astra-control-field.astra-color-control { display: flex; } .astra-control-field { position: relative; margin-top: 10px; margin-bottom: 10px; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .astra-control-field .customize-control-title { font-size: 14px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; letter-spacing: 0.1px; line-height: 18px; } .customize-control-title { display: block; font-size: 14px; line-height: 1.75; font-weight: 600; margin-bottom: 4px; } .components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 28px; height: 28px; border-radius: 4px; margin: 0; } .component-color-indicator { width: 25px; height: 16px; margin-left: 0.8rem; border: 1px solid #dadada; display: inline-block; } .astra-color-icon-indicate.components-button { height: auto; position: relative; transform: scale(1); border-radius: 4px; padding: 0; background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; border: 1px solid #929ba4; } /** Color */ .astra-popover-color .components-popover__content .components-focal-point-picker-wrapper { box-sizing: border-box; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type="number"].components-text-control__input { min-height: 16px; line-height: 16px; font-size: 12px; width: 50px; font-weight: normal; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control { flex: 1; margin-bottom: 0; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label { margin-bottom: 0; margin-right: 0.2em; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field { display: flex; align-items: center; font-size: 8px; font-weight: 600; font-style: normal; text-transform: uppercase; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field { justify-content: flex-end; } .astra-popover-color .components-popover__content .actions { display: flex; justify-content: center; margin-bottom: 10px; } .astra-popover-color .components-popover__content .actions .button { flex: 1; margin-top: 10px; } .astra-background-picker-wrap .astra-popover-color .components-popover__content { min-width: 300px; min-height: 340px; max-height: 60vh; } .color-button-wrap { display: inline; position: absolute; right: 5px; top: -4.5px; } .components-button.astra-background-icon-indicate { width: 50px; height: 50px; border-radius: 50%; position: relative; transform: scale(1); transition: transform 0.1s ease; border-radius: 50%; padding: 0; background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); border: 1px solid #dadada; background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; } .components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 100%; height: 100%; border-radius: 4px; margin: 0; display: block; position: absolute; border: 0; top: 0; } .components-button.astra-background-icon-indicate > svg.dashicon { position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; color: white; background: rgba(0, 0, 0, 0.6); border-radius: 100%; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); } .components-button.astra-background-icon-indicate > svg.dashicon path { transform: translate(1px, 1px); } .components-button.astra-background-icon-indicate img.astra-background-image-preview { display: flex; object-fit: cover; min-width: 100%; min-height: 100%; position: absolute; top: 0; } .components-button.astra-background-icon-indicate:hover { box-shadow: none !important; } .astra-control-field.astra-color-control { display: flex; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .components-popover.astra-popover-color .components-popover__content { padding: 15px 15px 0px; box-sizing: initial; background: #fff; border: unset; border-radius: 4px; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .customize-control-ast-color.customize-control { margin-top: 32px; } .customize-control-ast-color.customize-control > * { display: inline; } .components-popover.astra-popover-color .components-popover__content .sketch-picker { padding: 0 0 5px !important; box-shadow: none !important; border-radius: 0px !important; } .components-popover.astra-popover-color .components-popover__content .attachment-media-view { margin-top: 10px; margin-bottom: 10px; } .astra-swatches-wrap .astra-swatche-item-wrap:hover { transform: scale(1.2) !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item { background-image: linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, transparent 75%, #ddd 0), linear-gradient(-45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 0 0, 0 5px, 5px -5px, -5px 0; padding: 0; display: flex; justify-content: center; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon { display: none; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active { box-shadow: 0 0 0 8px inset !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon { display: block; color: white; background: rgba(0, 0, 0, 0.6); width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 100%; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path { transform: translate(1px, 1px); } .components-button.astra-color-icon-indicate > svg.dashicon { position: absolute; transform: translate(-50%, -50%); left: 50%; top: 50%; color: white; background: rgb(85 93 101); border-radius: 4px; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-color { margin-left: 2px; margin-top: 5px; background-color: #ffffff; border: 1px solid #a29090; border-radius: 4px; } .ast-field-settings-modal .astra-popover-color { margin-left: 0px; border: 1px solid #dedede; } .ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs { padding: 8px; } .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } .astra-color-picker-wrap { margin-left: 5px; } .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 27px; height: 27px; } .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 6px; } /* Clear Button CSS */ .ast-color-btn-clear-wrap { position: absolute; top: 1.5px; right: 65px; } .ast-color-btn-clear-wrap .astra-color-clear-button.components-button { padding: 10px 3px; width: 20px; height: 20px; } .ast-clear-btn-inside-picker.components-button, .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 15px; padding: 0 8px; } .ast-clear-btn-inside-picker { padding: 0 8px; } /* Reset Button CSS */ .ast-color-btn-reset-wrap { position: absolute; right: 46px; top: 1.5px; } .ast-color-btn-reset-wrap .ast-reset-btn.components-button { color: #006BA1; height: 20px; width: 20px; padding: 4px; box-shadow: inset 0 0 0 1px #007cba; } .astra-color-clear-button.components-button:focus:not(:disabled) { outline: unset; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:hover:not(:disabled), .astra-color-clear-button.components-button:focus:not(:disabled) { box-shadow: 0 0 black; padding: 1.5px; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:disabled, .ast-reset-btn.components-button.is-secondary:disabled { box-shadow: inset 0 0 0 1px #007cba; } /** Inside Setting group popup - Colors */ .ast-field-settings-modal .color-button-wrap { right: 16px; } .ast-field-settings-modal .ast-color-btn-reset-wrap { right: 59px; } .ast-field-settings-modal .ast-color-btn-clear-wrap { right: 78px; } .ast-field-settings-modal .customize-control-ast-color.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-color.customize-control:first-child { margin-top: 28px; } .astra-color-picker-wrap .components-color-picker__inputs-wrapper { min-width: unset; } /** Gradient Color Picker */ .customize-control .ast-gradient-color-picker input[type="number"] { width: 50%; } /** Gradient Color Picker -> RGBA & HSLA range fields */ .customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type="number"] { width: 100%; } /** Modal Color Picker - Group Param */ .ast-field-settings-modal .astra-popover-color .ast-color-palette { padding: 8px 0px 0px 13px; margin-bottom: -8px; } .ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 2.5px; top: 0px; width: 20px; } @media (max-width: 1845px) { /** Responsive Devices - Compatibility CSS */ .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option { padding: 6px 10px; } .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { width: 18px; left: 4px; top: 1px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .astra-popover-color .ast-color-palette.components-circular-option-picker { width: auto; padding: 16px 0px 0px 12px; } .astra-typography-control .typography-button-wrap > button.components-button.astra-typography-preview-indicate { padding: 0 2px; } .astra-typography-control .typography-button-wrap > button.components-button { padding: 0 4px; } /** Modal Popup */ .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 22px; width: 22px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 2.5px; top: -1px; width: 18px; } } @supports (-moz-appearance:none) { @media (max-width: 1845px) { .ast-color-palette .components-circular-option-picker__option-wrapper { margin-right: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 20px; width: 20px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { left: 3px; top: -2px; width: 15px; } } } custom-controls/assets/css/unminified/custom-controls-rtl.css 0000644 00000353010 15252526161 0020633 0 ustar 00 #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .customize-control-ast-background .customize-control-title { display: block; } .customize-control-ast-background .astra-color-picker-wrap { margin-top: 18px; } .ast-field-settings-modal .customize-control-ast-background.customize-control:first-child, .ast-field-settings-modal .customize-control-ast-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap { left: 16px; } .ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } /** Remove Button Color */ .astra-control-field.astra-color-control { display: flex; } .astra-control-field { position: relative; margin-top: 10px; margin-bottom: 10px; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .astra-control-field .customize-control-title { font-size: 14px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; letter-spacing: 0.1px; line-height: 18px; } .customize-control-title { display: block; font-size: 14px; line-height: 1.75; font-weight: 600; margin-bottom: 4px; } .components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 28px; height: 28px; border-radius: 4px; margin: 0; } .component-color-indicator { width: 25px; height: 16px; margin-right: 0.8rem; border: 1px solid #dadada; display: inline-block; } .astra-color-icon-indicate.components-button { height: auto; position: relative; transform: scale(1); border-radius: 4px; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; border: 1px solid #929ba4; } /** Color */ .astra-popover-color .components-popover__content .components-focal-point-picker-wrapper { box-sizing: border-box; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type="number"].components-text-control__input { min-height: 16px; line-height: 16px; font-size: 12px; width: 50px; font-weight: normal; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control { flex: 1; margin-bottom: 0; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label { margin-bottom: 0; margin-left: 0.2em; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field { display: flex; align-items: center; font-size: 8px; font-weight: 600; font-style: normal; text-transform: uppercase; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field { justify-content: flex-end; } .astra-popover-color .components-popover__content .actions { display: flex; justify-content: center; margin-bottom: 10px; } .astra-popover-color .components-popover__content .actions .button { flex: 1; margin-top: 10px; } .astra-background-picker-wrap .astra-popover-color .components-popover__content { min-width: 300px; min-height: 340px; max-height: 60vh; } .color-button-wrap { display: inline; position: absolute; left: 5px; top: -4.5px; } .components-button.astra-background-icon-indicate { width: 50px; height: 50px; border-radius: 50%; position: relative; transform: scale(1); transition: transform 0.1s ease; border-radius: 50%; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); border: 1px solid #dadada; background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; } .components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 100%; height: 100%; border-radius: 4px; margin: 0; display: block; position: absolute; border: 0; top: 0; } .components-button.astra-background-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgba(0, 0, 0, 0.6); border-radius: 100%; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); } .components-button.astra-background-icon-indicate > svg.dashicon path { transform: translate(-1px, 1px); } .components-button.astra-background-icon-indicate img.astra-background-image-preview { display: flex; object-fit: cover; min-width: 100%; min-height: 100%; position: absolute; top: 0; } .components-button.astra-background-icon-indicate:hover { box-shadow: none !important; } .astra-control-field.astra-color-control { display: flex; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .components-popover.astra-popover-color .components-popover__content { padding: 15px 15px 0px; box-sizing: initial; background: #fff; border: unset; border-radius: 4px; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .customize-control-ast-color.customize-control { margin-top: 32px; } .customize-control-ast-color.customize-control > * { display: inline; } .components-popover.astra-popover-color .components-popover__content .sketch-picker { padding: 0 0 5px !important; box-shadow: none !important; border-radius: 0px !important; } .components-popover.astra-popover-color .components-popover__content .attachment-media-view { margin-top: 10px; margin-bottom: 10px; } .astra-swatches-wrap .astra-swatche-item-wrap:hover { transform: scale(1.2) !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item { background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; padding: 0; display: flex; justify-content: center; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon { display: none; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active { box-shadow: 0 0 0 8px inset !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon { display: block; color: white; background: rgba(0, 0, 0, 0.6); width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 100%; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path { transform: translate(-1px, 1px); } .components-button.astra-color-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgb(85 93 101); border-radius: 4px; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-color { margin-right: 2px; margin-top: 5px; background-color: #ffffff; border: 1px solid #a29090; border-radius: 4px; } .ast-field-settings-modal .astra-popover-color { margin-right: 0px; border: 1px solid #dedede; } .ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs { padding: 8px; } .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } .astra-color-picker-wrap { margin-right: 5px; } .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 27px; height: 27px; } .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 6px; } /* Clear Button CSS */ .ast-color-btn-clear-wrap { position: absolute; top: 1.5px; left: 65px; } .ast-color-btn-clear-wrap .astra-color-clear-button.components-button { padding: 10px 3px; width: 20px; height: 20px; } .ast-clear-btn-inside-picker.components-button, .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 15px 20px 20px; padding: 0 8px; } .ast-clear-btn-inside-picker { padding: 0 8px; } /* Reset Button CSS */ .ast-color-btn-reset-wrap { position: absolute; left: 46px; top: 1.5px; } .ast-color-btn-reset-wrap .ast-reset-btn.components-button { color: #006BA1; height: 20px; width: 20px; padding: 4px; box-shadow: inset 0 0 0 1px #007cba; } .astra-color-clear-button.components-button:focus:not(:disabled) { outline: unset; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:hover:not(:disabled), .astra-color-clear-button.components-button:focus:not(:disabled) { box-shadow: 0 0 black; padding: 1.5px; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:disabled, .ast-reset-btn.components-button.is-secondary:disabled { box-shadow: inset 0 0 0 1px #007cba; } /** Inside Setting group popup - Colors */ .ast-field-settings-modal .color-button-wrap { left: 16px; } .ast-field-settings-modal .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .ast-color-btn-clear-wrap { left: 78px; } .ast-field-settings-modal .customize-control-ast-color.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-color.customize-control:first-child { margin-top: 28px; } .astra-color-picker-wrap .components-color-picker__inputs-wrapper { min-width: unset; } /** Gradient Color Picker */ .customize-control .ast-gradient-color-picker input[type="number"] { width: 50%; } /** Gradient Color Picker -> RGBA & HSLA range fields */ .customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type="number"] { width: 100%; } /** Modal Color Picker - Group Param */ .ast-field-settings-modal .astra-popover-color .ast-color-palette { padding: 8px 13px 0px 0px; margin-bottom: -8px; } .ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: 0px; width: 20px; } @media (max-width: 1845px) { /** Responsive Devices - Compatibility CSS */ .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option { padding: 6px 10px; } .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { width: 18px; right: 4px; top: 1px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .astra-popover-color .ast-color-palette.components-circular-option-picker { width: auto; padding: 16px 12px 0px 0px; } .astra-typography-control .typography-button-wrap > button.components-button.astra-typography-preview-indicate { padding: 0 2px; } .astra-typography-control .typography-button-wrap > button.components-button { padding: 0 4px; } /** Modal Popup */ .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 22px; width: 22px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: -1px; width: 18px; } } @supports (-moz-appearance:none) { @media (max-width: 1845px) { .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 20px; width: 20px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 3px; top: -2px; width: 15px; } } } #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .customize-control-ast-background .customize-control-title { display: block; } .customize-control-ast-background .astra-color-picker-wrap { margin-top: 18px; } .ast-field-settings-modal .customize-control-ast-background.customize-control:first-child, .ast-field-settings-modal .customize-control-ast-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap { left: 16px; } .ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } /** Remove Button Color */ .astra-control-field.astra-color-control { display: flex; } .astra-control-field { position: relative; margin-top: 10px; margin-bottom: 10px; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .astra-control-field .customize-control-title { font-size: 14px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; letter-spacing: 0.1px; line-height: 18px; } .customize-control-title { display: block; font-size: 14px; line-height: 1.75; font-weight: 600; margin-bottom: 4px; } .components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 28px; height: 28px; border-radius: 4px; margin: 0; } .component-color-indicator { width: 25px; height: 16px; margin-right: 0.8rem; border: 1px solid #dadada; display: inline-block; } .astra-color-icon-indicate.components-button { height: auto; position: relative; transform: scale(1); border-radius: 4px; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; border: 1px solid #929ba4; } /** Color */ .astra-popover-color .components-popover__content .components-focal-point-picker-wrapper { box-sizing: border-box; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type="number"].components-text-control__input { min-height: 16px; line-height: 16px; font-size: 12px; width: 50px; font-weight: normal; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control { flex: 1; margin-bottom: 0; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label { margin-bottom: 0; margin-left: 0.2em; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field { display: flex; align-items: center; font-size: 8px; font-weight: 600; font-style: normal; text-transform: uppercase; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field { justify-content: flex-end; } .astra-popover-color .components-popover__content .actions { display: flex; justify-content: center; margin-bottom: 10px; } .astra-popover-color .components-popover__content .actions .button { flex: 1; margin-top: 10px; } .astra-background-picker-wrap .astra-popover-color .components-popover__content { min-width: 300px; min-height: 340px; max-height: 60vh; } .color-button-wrap { display: inline; position: absolute; left: 5px; top: -4.5px; } .components-button.astra-background-icon-indicate { width: 50px; height: 50px; border-radius: 50%; position: relative; transform: scale(1); transition: transform 0.1s ease; border-radius: 50%; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); border: 1px solid #dadada; background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; } .components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 100%; height: 100%; border-radius: 4px; margin: 0; display: block; position: absolute; border: 0; top: 0; } .components-button.astra-background-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgba(0, 0, 0, 0.6); border-radius: 100%; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); } .components-button.astra-background-icon-indicate > svg.dashicon path { transform: translate(-1px, 1px); } .components-button.astra-background-icon-indicate img.astra-background-image-preview { display: flex; object-fit: cover; min-width: 100%; min-height: 100%; position: absolute; top: 0; } .components-button.astra-background-icon-indicate:hover { box-shadow: none !important; } .astra-control-field.astra-color-control { display: flex; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .components-popover.astra-popover-color .components-popover__content { padding: 15px 15px 0px; box-sizing: initial; background: #fff; border: unset; border-radius: 4px; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .customize-control-ast-color.customize-control { margin-top: 32px; } .customize-control-ast-color.customize-control > * { display: inline; } .components-popover.astra-popover-color .components-popover__content .sketch-picker { padding: 0 0 5px !important; box-shadow: none !important; border-radius: 0px !important; } .components-popover.astra-popover-color .components-popover__content .attachment-media-view { margin-top: 10px; margin-bottom: 10px; } .astra-swatches-wrap .astra-swatche-item-wrap:hover { transform: scale(1.2) !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item { background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; padding: 0; display: flex; justify-content: center; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon { display: none; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active { box-shadow: 0 0 0 8px inset !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon { display: block; color: white; background: rgba(0, 0, 0, 0.6); width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 100%; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path { transform: translate(-1px, 1px); } .components-button.astra-color-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgb(85 93 101); border-radius: 4px; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-color { margin-right: 2px; margin-top: 5px; background-color: #ffffff; border: 1px solid #a29090; border-radius: 4px; } .ast-field-settings-modal .astra-popover-color { margin-right: 0px; border: 1px solid #dedede; } .ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs { padding: 8px; } .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } .astra-color-picker-wrap { margin-right: 5px; } .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 27px; height: 27px; } .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 6px; } /* Clear Button CSS */ .ast-color-btn-clear-wrap { position: absolute; top: 1.5px; left: 65px; } .ast-color-btn-clear-wrap .astra-color-clear-button.components-button { padding: 10px 3px; width: 20px; height: 20px; } .ast-clear-btn-inside-picker.components-button, .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 15px 20px 20px; padding: 0 8px; } .ast-clear-btn-inside-picker { padding: 0 8px; } /* Reset Button CSS */ .ast-color-btn-reset-wrap { position: absolute; left: 46px; top: 1.5px; } .ast-color-btn-reset-wrap .ast-reset-btn.components-button { color: #006BA1; height: 20px; width: 20px; padding: 4px; box-shadow: inset 0 0 0 1px #007cba; } .astra-color-clear-button.components-button:focus:not(:disabled) { outline: unset; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:hover:not(:disabled), .astra-color-clear-button.components-button:focus:not(:disabled) { box-shadow: 0 0 black; padding: 1.5px; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:disabled, .ast-reset-btn.components-button.is-secondary:disabled { box-shadow: inset 0 0 0 1px #007cba; } /** Inside Setting group popup - Colors */ .ast-field-settings-modal .color-button-wrap { left: 16px; } .ast-field-settings-modal .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .ast-color-btn-clear-wrap { left: 78px; } .ast-field-settings-modal .customize-control-ast-color.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-color.customize-control:first-child { margin-top: 28px; } .astra-color-picker-wrap .components-color-picker__inputs-wrapper { min-width: unset; } /** Gradient Color Picker */ .customize-control .ast-gradient-color-picker input[type="number"] { width: 50%; } /** Gradient Color Picker -> RGBA & HSLA range fields */ .customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type="number"] { width: 100%; } /** Modal Color Picker - Group Param */ .ast-field-settings-modal .astra-popover-color .ast-color-palette { padding: 8px 13px 0px 0px; margin-bottom: -8px; } .ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: 0px; width: 20px; } @media (max-width: 1845px) { /** Responsive Devices - Compatibility CSS */ .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option { padding: 6px 10px; } .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { width: 18px; right: 4px; top: 1px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .astra-popover-color .ast-color-palette.components-circular-option-picker { width: auto; padding: 16px 12px 0px 0px; } .astra-typography-control .typography-button-wrap > button.components-button.astra-typography-preview-indicate { padding: 0 2px; } .astra-typography-control .typography-button-wrap > button.components-button { padding: 0 4px; } /** Modal Popup */ .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 22px; width: 22px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: -1px; width: 18px; } } @supports (-moz-appearance:none) { @media (max-width: 1845px) { .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 20px; width: 20px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 3px; top: -2px; width: 15px; } } } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn.components-button svg { padding: 0px; height: 13px; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-right: 4px; min-height: 30px; } .customize-control-ast-responsive-background .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -5px; } .customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns { position: absolute; left: 0px; top: -1px; } .customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap { margin-top: -14px; } .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-background .ast-color-btn-clear-wrap { left: 84px; } .customize-control-ast-responsive-background .ast-color-btn-reset-wrap { left: 65px; } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } .astra-popover-tabs #tab-panel-0-image-view > div { text-align: center; } .astra-popover-tabs #tab-panel-0-image-view > div img { width: 200px; margin-bottom: 18px; } .astra-popover-tabs #tab-panel-0-image-view > div .media-position-setting { text-align: right; } .astra-popover-color .components-circular-option-picker { position: relative; margin-top: 0; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { width: 50px; } } .astra-popover-color [ID*="-color-view"] .components-circular-option-picker { width: auto; } .astra-popover-color .ast-color-palette { width: auto; padding: 16px 14px 0px 0px; } .astra-popover-color .ast-color-palette .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } .astra-popover-color .components-custom-gradient-picker { margin-top: 0; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { border: none; } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal .customize-control-content .color-button-wrap { left: 30px; } .ast-field-settings-modal .customize-control-content .ast-responsive-btns { left: 7px; } .ast-field-settings-modal .customize-control-content .astra-color-picker-wrap { margin-right: 0px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap { left: 72px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap { left: 91px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child { margin-top: 28px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha { display: none; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap { margin-right: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -4px; } .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-color .ast-responsive-btns { position: absolute; left: 0px; top: 6px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 30px; top: -3px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap { margin-right: 0px; margin-bottom: 10px; margin-top: 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title { display: block; margin-bottom: 0px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns { left: 7px; top: 1px; } .ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 3.5px; } @supports (-moz-appearance: none) { .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 5.5px; left: 65px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 27px; top: -2px; } } .ast-responsive-select-container { display: none; } .ast-responsive-select-container.active { display: block; } .customize-control-ast-responsive-slider .wrapper { position: relative; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; margin-right: 2px; padding: 0 8px 0 24px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } .ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; } .astra-popover-tabs .components-tab-panel__tabs { display: flex; padding: 15px; border: none; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active { box-shadow: unset; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus { box-shadow: unset; } .astra-popover-tabs [ID*="-image-view"] { padding: 15px; border: none; } .astra-popover-tabs .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .astra-popover-tabs .components-tab-panel__tabs-item:first-child { border-radius: 0px 3px 3px 0px; } .astra-popover-tabs .components-tab-panel__tabs-item:last-child { border-radius: 3px 0px 0px 3px; } .astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child) { border-right-width: 0; } .astra-popover-tabs .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } .components-popover.astra-popover-color .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content { min-width: 320px; min-height: 325px; } .ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content { min-height: 385px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset { left: -18px; top: -32px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn.components-button svg { padding: 0px; height: 13px; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } .customize-control-ast-divider hr { margin-top: 12px; } .customize-control-ast-divider .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-ast-divider .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-right: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-right: 4px; min-height: 30px; } .customize-control-ast-responsive-background .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -5px; } .customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns { position: absolute; left: 0px; top: -1px; } .customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap { margin-top: -14px; } .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-background .ast-color-btn-clear-wrap { left: 84px; } .customize-control-ast-responsive-background .ast-color-btn-reset-wrap { left: 65px; } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } .astra-popover-tabs #tab-panel-0-image-view > div { text-align: center; } .astra-popover-tabs #tab-panel-0-image-view > div img { width: 200px; margin-bottom: 18px; } .astra-popover-tabs #tab-panel-0-image-view > div .media-position-setting { text-align: right; } .astra-popover-color .components-circular-option-picker { position: relative; margin-top: 0; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { width: 50px; } } .astra-popover-color [ID*="-color-view"] .components-circular-option-picker { width: auto; } .astra-popover-color .ast-color-palette { width: auto; padding: 16px 14px 0px 0px; } .astra-popover-color .ast-color-palette .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } .astra-popover-color .components-custom-gradient-picker { margin-top: 0; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { border: none; } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal .customize-control-content .color-button-wrap { left: 30px; } .ast-field-settings-modal .customize-control-content .ast-responsive-btns { left: 7px; } .ast-field-settings-modal .customize-control-content .astra-color-picker-wrap { margin-right: 0px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap { left: 72px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap { left: 91px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child { margin-top: 28px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha { display: none; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap { margin-right: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -4px; } .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-color .ast-responsive-btns { position: absolute; left: 0px; top: 6px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 30px; top: -3px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap { margin-right: 0px; margin-bottom: 10px; margin-top: 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title { display: block; margin-bottom: 0px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns { left: 7px; top: 1px; } .ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 3.5px; } @supports (-moz-appearance: none) { .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 5.5px; left: 65px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 27px; top: -2px; } } .ast-responsive-btns { display: inline-block; float: left; line-height: 1; margin-top: 6px; } .ast-responsive-btns > li { margin-bottom: 0; display: none; } .ast-responsive-btns > li.active { display: inline-block; } .ast-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .ast-field-settings-modal .ast-responsive-btns { margin-top: 6px; } .customize-control-ast-responsive .input-wrapper { overflow: hidden; } .customize-control-ast-responsive .input-wrapper input { display: none; width: 82%; float: none; } .customize-control-ast-responsive .input-wrapper input.active { display: block; } .customize-control-ast-responsive .input-wrapper .ast-responsive-select { width: 50px; margin: 0; margin-right: 2px; padding: 0 8px 0 24px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-input.active { display: inline-block; } .customize-control-ast-responsive .input-wrapper .ast-non-reponsive.ast-responsive-select { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-select { display: none; } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper .ast-responsive-input { width: 100%; } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-left: 0; align-items: flex-start; flex: 0 1; width: 100%; } .ast-responsive-select-container { display: none; } .ast-responsive-select-container.active { display: block; } .customize-control-ast-responsive-slider .wrapper { position: relative; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; left: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-left: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: left; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; left: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-right: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; } .astra-popover-tabs .components-tab-panel__tabs { display: flex; padding: 15px; border: none; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active { box-shadow: unset; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus { box-shadow: unset; } .astra-popover-tabs [ID*="-image-view"] { padding: 15px; border: none; } .astra-popover-tabs .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .astra-popover-tabs .components-tab-panel__tabs-item:first-child { border-radius: 0px 3px 3px 0px; } .astra-popover-tabs .components-tab-panel__tabs-item:last-child { border-radius: 3px 0px 0px 3px; } .astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child) { border-right-width: 0; } .astra-popover-tabs .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } .components-popover.astra-popover-color .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content { min-width: 320px; min-height: 325px; } .ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content { min-height: 385px; } .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 5px 0 0; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; left: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-right: 5px; } .ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset { left: -18px; top: -32px; } .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } .select2-container { width: 100% !important; } span.select2-container.select2-container--default.select2-container--open { z-index: 999999; } span.select2-container.select2-container--default.select2-container--open li.select2-results__option { margin: 0; } .select2-selection__rendered li { margin-bottom: 0; } .select2-container--default .select2-selection--single, .select2-container--default.select2-container .select2-selection--multiple { border-color: #ddd; border-radius: 0; } .select2-dropdown, .select2-container--default .select2-selection--multiple .select2-selection__choice { border-color: #ddd; border-radius: 0; } .customize-control-ast-hidden { margin-top: 0; } /* Vetically align customizer footer device icons */ .wp-full-overlay-footer .devices-wrapper .preview-desktop, .wp-full-overlay-footer .devices-wrapper .preview-tablet, .wp-full-overlay-footer .devices-wrapper .preview-mobile { vertical-align: middle; } custom-controls/assets/css/unminified/customizer-link-rtl.css 0000644 00000000157 15252526161 0020620 0 ustar 00 .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } custom-controls/assets/css/unminified/responsive-select.css 0000644 00000000174 15252526161 0020333 0 ustar 00 .ast-responsive-select-container { display: none; } .ast-responsive-select-container.active { display: block; } custom-controls/assets/css/unminified/heading-rtl.css 0000644 00000002725 15252526161 0017063 0 ustar 00 .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; left: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } custom-controls/assets/css/unminified/responsive-color-rtl.css 0000644 00000005544 15252526161 0020777 0 ustar 00 .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha { display: none; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap { margin-right: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { position: absolute; left: 24px; top: -4px; } .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-color .ast-responsive-btns { position: absolute; left: 0px; top: 6px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 30px; top: -3px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap { margin-right: 0px; margin-bottom: 10px; margin-top: 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title { display: block; margin-bottom: 0px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns { left: 7px; top: 1px; } .ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 3.5px; } @supports (-moz-appearance: none) { .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 5.5px; left: 65px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { left: 27px; top: -2px; } } custom-controls/assets/css/unminified/responsive-background.css 0000644 00000020141 15252526161 0021167 0 ustar 00 .customize-control-ast-responsive-background { position: relative; } .customize-control-ast-responsive-background .background-container h4 { font-size: 14px; font-weight: 600; color: #555d66; } .customize-control-ast-responsive-background .background-attachment h4, .customize-control-ast-responsive-background .background-color h4, .customize-control-ast-responsive-background .background-position h4, .customize-control-ast-responsive-background .background-repeat h4, .customize-control-ast-responsive-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-responsive-background .background-color { margin-bottom: 12px; } .customize-control-ast-responsive-background .background-repeat { margin: 15px 0 15px 0; } .customize-control-ast-responsive-background .background-attachment .buttonset, .customize-control-ast-responsive-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-responsive-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input:checked + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-responsive-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-responsive-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-responsive-background .more-settings { margin-top: 12px; display: flex; justify-content: flex-end; padding: 5px 0 5px 0; cursor: pointer; float: none; text-decoration: none; } .customize-control-ast-responsive-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-responsive-background .arrow-icon { margin-left: 5px; } .customize-control-ast-responsive-background .background-container { display: none; } .customize-control-ast-responsive-background .background-container.active { display: block; } .customize-control-ast-responsive-background .wp-picker-container { display: block; } .customize-control-ast-responsive-background .wp-picker-container .wp-picker-clear { margin-left: 4px; min-height: 30px; } .customize-control-ast-responsive-background .customize-control-content .color-button-wrap { position: absolute; right: 24px; top: -5px; } .customize-control-ast-responsive-background .customize-control-content .ast-responsive-btns { position: absolute; right: 0px; top: -1px; } .customize-control-ast-responsive-background .customize-control-content .astra-color-picker-wrap { margin-top: -14px; } .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-background .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-background .ast-color-btn-clear-wrap { right: 84px; } .customize-control-ast-responsive-background .ast-color-btn-reset-wrap { right: 65px; } /** * BG Media Button. */ /** * Gradient field */ .components-color-picker__inputs-toggle-wrapper .components-color-picker__inputs-toggle { vertical-align: middle; height: 32px; } .astra-popover-tabs .components-button.upload-button.button-add-media { width: 100%; position: relative; text-align: center; color: #555d66; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; } .astra-popover-tabs .components-button.upload-button.button-add-media:hover { color: #555d66; box-sizing: border-box; box-shadow: unset; border-color: #0185ba; } .astra-popover-tabs [ID*="-gradient-view"] { padding: 15px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear { flex: unset; box-shadow: unset; width: auto; padding: 0 5px; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:hover { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:active { box-shadow: unset; } .astra-popover-tabs [ID*="-gradient-view"] .components-circular-option-picker__clear:focus { box-shadow: unset; } .astra-popover-tabs #tab-panel-0-image-view > div { text-align: center; } .astra-popover-tabs #tab-panel-0-image-view > div img { width: 200px; margin-bottom: 18px; } .astra-popover-tabs #tab-panel-0-image-view > div .media-position-setting { text-align: left; } .astra-popover-color .components-circular-option-picker { position: relative; margin-top: 0; } .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { margin-top: 10px; justify-content: flex-start; } @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .astra-popover-color .components-circular-option-picker .components-circular-option-picker__custom-clear-wrapper { width: 50px; } } .astra-popover-color [ID*="-color-view"] .components-circular-option-picker { width: auto; } .astra-popover-color .ast-color-palette { width: auto; padding: 16px 0px 0px 14px; } .astra-popover-color .ast-color-palette .components-circular-option-picker__option { width: 100%; height: 100%; border-radius: 100%; } .astra-popover-color .components-custom-gradient-picker { margin-top: 0; } .astra-popover-color .components-custom-gradient-picker__gradient-bar { box-sizing: border-box; opacity: 1; } .astra-popover-color .components-custom-gradient-picker__type-picker .components-base-control__label { display: block; } .components-custom-gradient-picker .components-base-control__label { padding-top: 10px; font-size: 12px; display: block; letter-spacing: 0.1px; line-height: 18px; } [ID*="-gradient-view"] .components-toolbar.components-custom-gradient-picker__toolbar .components-button.has-icon { border: none; } .media-position-setting.hide-settings { display: none; } .ast-field-settings-modal .customize-control-content .color-button-wrap { right: 30px; } .ast-field-settings-modal .customize-control-content .ast-responsive-btns { right: 7px; } .ast-field-settings-modal .customize-control-content .astra-color-picker-wrap { margin-left: 0px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-reset-wrap { right: 72px; } .ast-field-settings-modal .customize-control-content .ast-color-btn-clear-wrap { right: 91px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-background.customize-control:first-child { margin-top: 28px; } custom-controls/assets/css/unminified/responsive-spacing.css 0000644 00000007430 15252526161 0020502 0 ustar 00 .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ } .customize-control-ast-responsive-spacing .customize-control-title { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .customize-control-ast-responsive-spacing .ast-spacing-input-item { margin-bottom: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns > li.active { display: inline-block; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-btns button[type="button"] > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } .customize-control-ast-responsive-spacing .input-wrapper.ast-spacing-responsive-wrapper { display: inline-flex; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; right: 0; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit { display: inline-block; margin-left: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; } .customize-control-ast-responsive-spacing .ast-spacing-responsive-units li.single-unit.active { text-decoration: underline; opacity: 1; color: #000000; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper li .ast-spacing-connected { color: #1e8cbe; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper.active { display: flex; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link .ast-spacing-connected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-disconnected { display: none; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link.disconnected .ast-spacing-connected { display: block; } .customize-control-ast-responsive-spacing .input-wrapper .ast-spacing-wrapper .ast-spacing-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } custom-controls/assets/css/unminified/sortable-rtl.css 0000644 00000001337 15252526161 0017275 0 ustar 00 .customize-control-ast-sortable ul.ui-sortable { cursor: default; } .customize-control-ast-sortable ul.ui-sortable .dashicons-visibility { cursor: pointer; } .customize-control-ast-sortable ul.ui-sortable li { padding: 5px 10px; border: 1px solid #333; background: #fff; cursor: move; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.dashicons-menu { float: left; } .customize-control-ast-sortable ul.ui-sortable li .dashicons.visibility { margin-left: 10px; } .customize-control-ast-sortable ul.ui-sortable li.invisible { color: #aaa; border: 1px dashed #aaa; } .customize-control-ast-sortable ul.ui-sortable li.invisible .dashicons.visibility { color: #aaa; } custom-controls/assets/css/unminified/settings-group.css 0000644 00000014466 15252526161 0017664 0 ustar 00 .ast-adv-toggle-icon { right: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; left: 0; right: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: left; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; right: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-left: 0; padding-right: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-left-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; } .astra-popover-tabs .components-tab-panel__tabs { display: flex; padding: 15px; border: none; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active { box-shadow: unset; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus { box-shadow: unset; } .astra-popover-tabs [ID*="-image-view"] { padding: 15px; border: none; } .astra-popover-tabs .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .astra-popover-tabs .components-tab-panel__tabs-item:first-child { border-radius: 3px 0px 0px 3px; } .astra-popover-tabs .components-tab-panel__tabs-item:last-child { border-radius: 0px 3px 3px 0px; } .astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child) { border-left-width: 0; } .astra-popover-tabs .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } .components-popover.astra-popover-color .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content { min-width: 320px; min-height: 325px; } .ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content { min-height: 385px; } custom-controls/assets/css/unminified/description.css 0000644 00000000400 15252526161 0017174 0 ustar 00 .customize-control-ast-description .ast-description { font-style: italic; } .customize-control-ast-description a.button { margin-top: 10px; font-style: normal; } .customize-control-ast-description p { margin: 0; cursor: initial; } custom-controls/assets/css/unminified/slider.css 0000644 00000006022 15252526161 0016141 0 ustar 00 .customize-control-ast-slider .wrapper { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-slider input[type=range]:hover, .customize-control-ast-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-slider input[type=range]::-ms-fill-lower, .customize-control-ast-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-slider .ast-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -28px; right: 0; /*float: right;*/ display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-slider .ast-slider-reset span { font-size: 16px; line-height: 22px; transition: unset; } .customize-control-ast-slider .ast-slider-reset:hover, .customize-control-ast-slider .ast-slider-reset:focus { color: red; } .astra_range_value input.ast-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .ast-field-settings-modal .customize-control-ast-slider .ast-slider-reset { right: -18px; top: -32px; } custom-controls/assets/css/unminified/customizer-style.css 0000644 00000006403 15252526161 0020224 0 ustar 00 /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; right: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; right: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { right: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn.components-button svg { padding: 0px; height: 13px; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-left: 0px; margin-right: 20px; } } custom-controls/assets/css/unminified/background-rtl.css 0000644 00000007160 15252526161 0017601 0 ustar 00 #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-left: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-left: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: left; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-right: 5px; } .customize-control-ast-background .customize-control-title { display: block; } .customize-control-ast-background .astra-color-picker-wrap { margin-top: 18px; } .ast-field-settings-modal .customize-control-ast-background.customize-control:first-child, .ast-field-settings-modal .customize-control-ast-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap { left: 16px; } .ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 10px 20px 20px; } custom-controls/assets/css/unminified/border-rtl.css 0000644 00000006136 15252526161 0016741 0 ustar 00 .customize-control-ast-border { /* Unit Screen wrap */ } .customize-control-ast-border .customize-control-title { display: inline-block; } .customize-control-ast-border .ast-border-outer-wrapper { display: flex; position: relative; } .customize-control-ast-border .ast-border-wrapper { display: flex; } .customize-control-ast-border .ast-border-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; } .customize-control-ast-border .ast-border-btns > li { margin-bottom: 0; display: none; width: 35px; height: 26px; } .customize-control-ast-border .ast-border-btns > li.active { display: inline-block; } .customize-control-ast-border .ast-border-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; } .customize-control-ast-border .ast-border-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; margin-top: 1px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; margin-bottom: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li input.ast-border-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-left-width: 0; box-shadow: none; padding-right: 11px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li .ast-border-connected { color: #ffffff; } .customize-control-ast-border .input-wrapper .ast-border-wrapper li:last-child input.ast-border-input { border-left-width: 1px; border-radius: 3px 0 0 3px; } .customize-control-ast-border .input-wrapper .ast-border-wrapper.active { display: flex; } .customize-control-ast-border .input-wrapper .ast-border-wrapper span.ast-border-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-disconnected { display: none; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link.disconnected .ast-border-connected { display: block; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; border-left-width: 0; } .customize-control-ast-border .input-wrapper .ast-border-wrapper .ast-border-input-item-link .ast-border-connected { background-color: #1e8cbe; } custom-controls/assets/css/unminified/color-rtl.css 0000644 00000032263 15252526161 0016602 0 ustar 00 /** Remove Button Color */ .astra-control-field.astra-color-control { display: flex; } .astra-control-field { position: relative; margin-top: 10px; margin-bottom: 10px; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .astra-control-field .customize-control-title { font-size: 14px; font-weight: 600; margin-bottom: 0; display: flex; align-items: center; letter-spacing: 0.1px; line-height: 18px; } .customize-control-title { display: block; font-size: 14px; line-height: 1.75; font-weight: 600; margin-bottom: 4px; } .components-button.astra-color-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 28px; height: 28px; border-radius: 4px; margin: 0; } .component-color-indicator { width: 25px; height: 16px; margin-right: 0.8rem; border: 1px solid #dadada; display: inline-block; } .astra-color-icon-indicate.components-button { height: auto; position: relative; transform: scale(1); border-radius: 4px; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; border: 1px solid #929ba4; } /** Color */ .astra-popover-color .components-popover__content .components-focal-point-picker-wrapper { box-sizing: border-box; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container input[type="number"].components-text-control__input { min-height: 16px; line-height: 16px; font-size: 12px; width: 50px; font-weight: normal; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control { flex: 1; margin-bottom: 0; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control .components-base-control__label { margin-bottom: 0; margin-left: 0.2em; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control__field { display: flex; align-items: center; font-size: 8px; font-weight: 600; font-style: normal; text-transform: uppercase; } .astra-popover-color .components-popover__content .components-focal-point-picker_position-display-container .components-base-control:last-child .components-base-control__field { justify-content: flex-end; } .astra-popover-color .components-popover__content .actions { display: flex; justify-content: center; margin-bottom: 10px; } .astra-popover-color .components-popover__content .actions .button { flex: 1; margin-top: 10px; } .astra-background-picker-wrap .astra-popover-color .components-popover__content { min-width: 300px; min-height: 340px; max-height: 60vh; } .color-button-wrap { display: inline; position: absolute; left: 5px; top: -4.5px; } .components-button.astra-background-icon-indicate { width: 50px; height: 50px; border-radius: 50%; position: relative; transform: scale(1); transition: transform 0.1s ease; border-radius: 50%; padding: 0; background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); border: 1px solid #dadada; background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; } .components-button.astra-background-icon-indicate .component-color-indicator.astra-advanced-color-indicate { width: 100%; height: 100%; border-radius: 4px; margin: 0; display: block; position: absolute; border: 0; top: 0; } .components-button.astra-background-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgba(0, 0, 0, 0.6); border-radius: 100%; width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); } .components-button.astra-background-icon-indicate > svg.dashicon path { transform: translate(-1px, 1px); } .components-button.astra-background-icon-indicate img.astra-background-image-preview { display: flex; object-fit: cover; min-width: 100%; min-height: 100%; position: absolute; top: 0; } .components-button.astra-background-icon-indicate:hover { box-shadow: none !important; } .astra-control-field.astra-color-control { display: flex; } .astra-control-field.astra-color-control .customize-control-title { flex-grow: 2; } .components-popover.astra-popover-color .components-popover__content { padding: 15px 15px 0px; box-sizing: initial; background: #fff; border: unset; border-radius: 4px; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .customize-control-ast-color.customize-control { margin-top: 32px; } .customize-control-ast-color.customize-control > * { display: inline; } .components-popover.astra-popover-color .components-popover__content .sketch-picker { padding: 0 0 5px !important; box-shadow: none !important; border-radius: 0px !important; } .components-popover.astra-popover-color .components-popover__content .attachment-media-view { margin-top: 10px; margin-bottom: 10px; } .astra-swatches-wrap .astra-swatche-item-wrap:hover { transform: scale(1.2) !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item { background-image: linear-gradient(-45deg, #ddd 25%, transparent 0), linear-gradient(45deg, #ddd 25%, transparent 0), linear-gradient(-45deg, transparent 75%, #ddd 0), linear-gradient(45deg, transparent 75%, #ddd 0); background-size: 10px 10px; background-position: 100% 0, 100% 5px, 5px -5px, -5px 0; padding: 0; display: flex; justify-content: center; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item .dashicon { display: none; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active { box-shadow: 0 0 0 8px inset !important; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon { display: block; color: white; background: rgba(0, 0, 0, 0.6); width: 16px; height: 16px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 100%; } .astra-swatches-wrap .astra-swatche-item-wrap .astra-swatch-item.swatch-active .dashicon path { transform: translate(-1px, 1px); } .components-button.astra-color-icon-indicate > svg.dashicon { position: absolute; transform: translate(50%, -50%); right: 50%; top: 50%; color: white; background: rgb(85 93 101); border-radius: 4px; width: 24px; height: 24px; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-color { margin-right: 2px; margin-top: 5px; background-color: #ffffff; border: 1px solid #a29090; border-radius: 4px; } .ast-field-settings-modal .astra-popover-color { margin-right: 0px; border: 1px solid #dedede; } .ast-field-settings-modal .astra-popover-color .components-tab-panel__tabs { padding: 8px; } .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .components-color-picker__saturation-color { border-radius: 3px; } .components-color-picker__saturation-white { border-radius: 3px; } .astra-color-picker-wrap { margin-right: 5px; } .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 27px; height: 27px; } .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 6px; } /* Clear Button CSS */ .ast-color-btn-clear-wrap { position: absolute; top: 1.5px; left: 65px; } .ast-color-btn-clear-wrap .astra-color-clear-button.components-button { padding: 10px 3px; width: 20px; height: 20px; } .ast-clear-btn-inside-picker.components-button, .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 15px 20px 20px; padding: 0 8px; } .ast-clear-btn-inside-picker { padding: 0 8px; } /* Reset Button CSS */ .ast-color-btn-reset-wrap { position: absolute; left: 46px; top: 1.5px; } .ast-color-btn-reset-wrap .ast-reset-btn.components-button { color: #006BA1; height: 20px; width: 20px; padding: 4px; box-shadow: inset 0 0 0 1px #007cba; } .astra-color-clear-button.components-button:focus:not(:disabled) { outline: unset; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:hover:not(:disabled), .astra-color-clear-button.components-button:focus:not(:disabled) { box-shadow: 0 0 black; padding: 1.5px; border: 1px solid #006BA1; } .astra-color-clear-button.components-button.is-secondary:disabled, .ast-reset-btn.components-button.is-secondary:disabled { box-shadow: inset 0 0 0 1px #007cba; } /** Inside Setting group popup - Colors */ .ast-field-settings-modal .color-button-wrap { left: 16px; } .ast-field-settings-modal .ast-color-btn-reset-wrap { left: 59px; } .ast-field-settings-modal .ast-color-btn-clear-wrap { left: 78px; } .ast-field-settings-modal .customize-control-ast-color.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-color.customize-control:first-child { margin-top: 28px; } .astra-color-picker-wrap .components-color-picker__inputs-wrapper { min-width: unset; } /** Gradient Color Picker */ .customize-control .ast-gradient-color-picker input[type="number"] { width: 50%; } /** Gradient Color Picker -> RGBA & HSLA range fields */ .customize-control .ast-gradient-color-picker .is-alpha-enabled .components-base-control__field [type="number"] { width: 100%; } /** Modal Color Picker - Group Param */ .ast-field-settings-modal .astra-popover-color .ast-color-palette { padding: 8px 13px 0px 0px; margin-bottom: -8px; } .ast-field-settings-modal .astra-popover-color .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: 0px; width: 20px; } @media (max-width: 1845px) { /** Responsive Devices - Compatibility CSS */ .ast-color-palette .components-circular-option-picker__option-wrapper { height: 25px; width: 25px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option { padding: 6px 10px; } .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { width: 18px; right: 4px; top: 1px; } .ast-color-palette .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 24px; height: 24px; } .astra-popover-color .ast-color-palette.components-circular-option-picker { width: auto; padding: 16px 12px 0px 0px; } .astra-typography-control .typography-button-wrap > button.components-button.astra-typography-preview-indicate { padding: 0 2px; } .astra-typography-control .typography-button-wrap > button.components-button { padding: 0 4px; } /** Modal Popup */ .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 22px; width: 22px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 2.5px; top: -1px; width: 18px; } } @supports (-moz-appearance:none) { @media (max-width: 1845px) { .ast-color-palette .components-circular-option-picker__option-wrapper { margin-left: 5px; } .ast-field-settings-modal .components-circular-option-picker__option-wrapper .components-circular-option-picker__option:focus::after { width: 21px; height: 21px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option-wrapper { height: 20px; width: 20px; } .ast-field-settings-modal .ast-color-palette .components-circular-option-picker__option.is-pressed + svg { right: 3px; top: -2px; width: 15px; } } } custom-controls/assets/css/unminified/heading.css 0000644 00000002726 15252526161 0016265 0 ustar 00 .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading:nth-child(2), .accordion-section-content.open .customize-control-ast-heading:nth-child(3) { margin-top: 0; } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; } .customize-control-ast-heading .ast-heading-wrapper { margin: 0 -12px; } .customize-control-ast-heading .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-ast-heading .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; right: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-ast-heading .customize-control-description { margin-top: 10px; } .ast-heading-wrapper label { cursor: default; } .customize-control > label { cursor: default; } .customize-control .ast-spacing-input-item-link, .customize-control .ast-border-input-item-link { cursor: pointer; } .customize-control.customize-control-ast-slider label { cursor: pointer; } .customize-control.customize-control-ast-slider label .wrapper input[type=range] { cursor: pointer; } custom-controls/assets/css/unminified/customizer-link.css 0000644 00000000157 15252526161 0020021 0 ustar 00 .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } custom-controls/assets/css/unminified/responsive-color.css 0000644 00000005550 15252526161 0020175 0 ustar 00 .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha { display: none; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap { margin-left: 2px; margin-top: -14px; background-color: #ffffff; border-radius: 4px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-black { border-radius: 4px 4px 0 0; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-color { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha .astra-color-picker-wrap .components-color-picker__saturation-white { border-radius: 3px; } .customize-control-ast-responsive-color .customize-control-content .ast-color-picker-alpha.active { display: block; } .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { position: absolute; right: 24px; top: -4px; } .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-color, .customize-control-ast-responsive-color .customize-control-content .components-color-picker__saturation-white { border-radius: unset; } .customize-control-ast-responsive-color .ast-responsive-btns { position: absolute; right: 0px; top: 6px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { right: 30px; top: -3px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .astra-color-picker-wrap { margin-left: 0px; margin-bottom: 10px; margin-top: 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .customize-control-title { display: block; margin-bottom: 0px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-responsive-btns { right: 7px; top: 1px; } .ast-field-settings-modal .customize-control-ast-responsive-color.customize-control:first-child { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 10px; } .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 3.5px; } @supports (-moz-appearance: none) { .ast-field-settings-modal .customize-control-ast-responsive-color .ast-color-btn-reset-wrap { top: 5.5px; right: 65px; } .ast-field-settings-modal .customize-control-ast-responsive-color .customize-control-content .color-button-wrap { right: 27px; top: -2px; } } custom-controls/assets/css/unminified/radio-image-rtl.css 0000644 00000001761 15252526161 0017641 0 ustar 00 .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-left: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; right: 0; left: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: 73px; height: 49px; } #customize-control-astra-settings-above-header-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-header-main-menu-align .ast-radio-img-svg svg, #customize-control-astra-settings-below-header-menu-align .ast-radio-img-svg svg { width: 37px; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } custom-controls/assets/css/unminified/customizer-style-rtl.css 0000644 00000006400 15252526161 0021020 0 ustar 00 /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator { margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; left: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; left: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { left: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control .select2-search input[type="text"].select2-search__field { min-height: 17px; } input[type="text"].select2-search__field { line-height: 1; border-radius: 0; } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution: 0.001dpcm) { @supports (-webkit-appearance: none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn.components-button svg { padding: 0px; height: 13px; } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-right: 0px; margin-left: 20px; } } custom-controls/assets/css/unminified/responsive-slider.css 0000644 00000010046 15252526161 0020335 0 ustar 00 .customize-control-ast-responsive-slider .wrapper { position: relative; } .customize-control-ast-responsive-slider .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .customize-control-ast-responsive-slider input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; } .customize-control-ast-responsive-slider input[type=range]:focus { box-shadow: none; outline: none; } .customize-control-ast-responsive-slider input[type=range]:hover, .customize-control-ast-responsive-slider input[type=range]:focus { background-color: rgba(0, 0, 0, 0.25); } .customize-control-ast-responsive-slider input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } .customize-control-ast-responsive-slider input[type=range]::-moz-range-track { border: inherit; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-track { border: inherit; color: transparent; background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-fill-lower, .customize-control-ast-responsive-slider input[type=range]::-ms-fill-upper { background: transparent; } .customize-control-ast-responsive-slider input[type=range]::-ms-tooltip { display: none; } .customize-control-ast-responsive-slider .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset span { font-size: 13px; line-height: 24px; transition: unset; } .customize-control-ast-responsive-slider .ast-responsive-slider-reset:hover, .customize-control-ast-responsive-slider .ast-responsive-slider-reset:focus { color: red; } .astra_range_value input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .astra_range_value .ast-range-unit { margin-left: 5px; } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; } .customize-control-ast-responsive-slider .input-field-wrapper.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; } .ast-responsive-slider-btns > li { margin-bottom: 0; display: none; } .ast-responsive-slider-btns > li.active { display: inline-block; } .ast-responsive-slider-btns button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; } .ast-responsive-slider-btns button[type="button"] > i { width: 15px; height: 15px; font-size: 15px; } custom-controls/assets/css/unminified/settings-group-rtl.css 0000644 00000014467 15252526161 0020464 0 ustar 00 .ast-adv-toggle-icon { left: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; } .ast-adv-toggle-icon:hover { color: #099fd6; } .ast-adv-toggle-icon:before { content: "\f464"; } .ast-adv-toggle-icon.open:before { content: "\f158"; } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; right: 0; left: 0; z-index: 10000; background-color: #fff; } .ast-field-settings-modal .customize-control-ast-divider:first-child { margin-top: 15px; } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { overflow: hidden; border-bottom: 1px solid #ddd; } .ast-group-list:before, .ast-group-list:after { content: ""; display: table; border-collapse: collapse; } /* Tab anchor color */ .ui-tabs-anchor { float: right; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ } .ast-group-tabs .ui-widget-content.iris-slider-offset, .ast-group-tabs .ui-widget-content.iris-slider-offset-alpha { overflow: inherit; } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; } .ast-field-settings-wrap .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; left: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs .ui-tabs-nav { display: flex; padding: 15px 15px 0 15px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:first-child { border-radius: 0px 3px 3px 0px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top:last-child { border-radius: 3px 0px 0px 3px; } .ast-group-tabs .ui-tabs-nav .ui-corner-top .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-right: 0; padding-left: 0; outline: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ast-group-tabs .ui-tabs-nav { border: none; } .ast-group-tabs ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ast-group-tabs .ui-tabs-nav { overflow: visible; } .ast-group-tabs ul.ast-group-list .ui-corner-top:not(:first-child) { border-right-width: 0; } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-right: 15px; padding-left: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px; } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; } .astra-popover-tabs .components-tab-panel__tabs { display: flex; padding: 15px; border: none; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:active { box-shadow: unset; } .astra-popover-tabs .components-tab-panel__tabs .components-tab-panel__tabs-item:focus { box-shadow: unset; } .astra-popover-tabs [ID*="-image-view"] { padding: 15px; border: none; } .astra-popover-tabs .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .astra-popover-tabs .components-tab-panel__tabs-item:first-child { border-radius: 0px 3px 3px 0px; } .astra-popover-tabs .components-tab-panel__tabs-item:last-child { border-radius: 3px 0px 0px 3px; } .astra-popover-tabs .components-tab-panel__tabs-item:not(:first-child) { border-right-width: 0; } .astra-popover-tabs .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .astra-popover-tabs .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } .components-popover.astra-popover-color .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } .ast-field-settings-modal .components-popover.astra-popover-color .components-popover__content { min-width: 320px; min-height: 325px; } .ast-field-settings-modal .background-wrapper .components-popover.astra-popover-color .components-popover__content { min-height: 385px; } custom-controls/assets/css/unminified/background.css 0000644 00000007164 15252526161 0017006 0 ustar 00 #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background .screen-reader-text { top: initial; } .customize-control-ast-background .background-container h4 { font-weight: normal; } .customize-control-ast-background .background-attachment h4, .customize-control-ast-background .background-color h4, .customize-control-ast-background .background-position h4, .customize-control-ast-background .background-repeat h4, .customize-control-ast-background .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .customize-control-ast-background .background-color { margin-bottom: 12px; } .customize-control-ast-background .background-repeat { margin: 15px 0 8px 0; } .customize-control-ast-background .background-attachment .buttonset, .customize-control-ast-background .background-size .buttonset { display: flex; flex-wrap: wrap; } .customize-control-ast-background .background-attachment .buttonset .switch-label, .customize-control-ast-background .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .customize-control-ast-background .background-attachment .buttonset .switch-label:last-child, .customize-control-ast-background .background-size .buttonset .switch-label:last-child { margin-right: 0; } .customize-control-ast-background .background-attachment .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input:checked + .switch-label, .customize-control-ast-background .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .customize-control-ast-background .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } .customize-control-ast-background .ast-bg-img-remove.components-button.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } .customize-control-ast-background .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; } .customize-control-ast-background .more-settings:focus { outline: 0; box-shadow: none; } .customize-control-ast-background .arrow-icon { margin-left: 5px; } .customize-control-ast-background .customize-control-title { display: block; } .customize-control-ast-background .astra-color-picker-wrap { margin-top: 18px; } .ast-field-settings-modal .customize-control-ast-background.customize-control:first-child, .ast-field-settings-modal .customize-control-ast-background.customize-control { margin-top: 28px; } .ast-field-settings-modal .customize-control-ast-background .more-settings { margin-top: 6px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .ast-color-btn-reset-wrap { right: 59px; } .ast-field-settings-modal .customize-control-ast-background .customize-control-content .color-button-wrap { right: 16px; } .ast-field-settings-modal .customize-control-ast-background .astra-popover-tabs .ast-clear-btn-inside-picker.components-button { margin: 5px 20px 20px 10px; } custom-controls/assets/css/unminified/responsive-select-rtl.css 0000644 00000000174 15252526161 0021132 0 ustar 00 .ast-responsive-select-container { display: none; } .ast-responsive-select-container.active { display: block; } custom-controls/hidden/class-astra-control-hidden.php 0000644 00000002724 15252526161 0017021 0 ustar 00 <?php /** * Customizer Control: divider * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 2.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Hidden extends WP_Customize_Control { /** * The control type. * * @access public * @since 2.0.0 * @var string */ public $type = 'ast-hidden'; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() * @since 2.0.0 */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); } /** * An Underscore (JS) template for this control's content (but not its container). * * Class variables for this control class are available in the `data` JS object; * export custom variables by overriding {@see WP_Customize_Control::to_json()}. * * @see WP_Customize_Control::print_template() * * @access protected * @since 2.0.0 */ protected function content_template() {} /** * Render the control's content. * * @see WP_Customize_Control::render_content() * @since 2.0.0 */ protected function render_content() {} } custom-controls/hidden/index.php 0000644 00000000170 15252526161 0012775 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/responsive-spacing/responsive-spacing.scss 0000644 00000005376 15252526161 0020272 0 ustar 00 .customize-control-ast-responsive-spacing { /* Unit Screen wrap */ .customize-control-title { display: inline-block; } .ast-spacing-responsive-outer-wrapper { display: flex; position: relative; } .ast-spacing-input-item { margin-bottom: 0; } .ast-spacing-responsive-btns { display: block; text-align: center; line-height: 2; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 0 3px 3px 0; > li { margin-bottom: 0; display: none; width: 35px; height: 26px; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; width: 100%; height: 100%; > i { font-size: 15px; margin-top: 1px; vertical-align: middle; } } } .input-wrapper { &.ast-spacing-responsive-wrapper { display: inline-flex; } } .ast-spacing-responsive-units { position: absolute; transform: translateY(-100%); font-size: 11px; text-transform: uppercase; top: 0; right: 0; li.single-unit { display: inline-block; margin-left: 6px; width: 16px; text-align: center; user-select: none; opacity: 0.7; &.active { text-decoration: underline; opacity: 1; color: #000000; } } } .input-wrapper .ast-spacing-wrapper { display: none; li { text-align: center; -webkit-box-flex: 1; -ms-flex: auto; flex: auto; input.ast-spacing-input { text-align: center; display: block; font-size: 12px; padding: 4px 0; width: 100%; height: 28px; border: 1px solid #dddddd; border-right-width: 0; box-shadow: none; padding-left: 11px; } .ast-spacing-connected { color: #1e8cbe; } } &.active { display: flex; } span.ast-spacing-title { text-transform: uppercase; font-size: 10px; opacity: .75; } .ast-spacing-input-item-link { .ast-spacing-connected { display: none; } &.disconnected { .ast-spacing-disconnected { display: none; } .ast-spacing-connected { display: block; } } span { width: 35px; height: 26px; line-height: 26px; font-size: 14px; border: 1px solid #dddddd; background-color: #ffffff; border-radius: 3px 0 0 3px; border-right-width: 0; } } } } custom-controls/responsive-spacing/index.php 0000644 00000000170 15252526161 0015361 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/responsive-spacing/class-astra-control-responsive-spacing.php 0000644 00000005272 15252526161 0023772 0 ustar 00 <?php /** * Customizer Control: responsive spacing * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Sortable control (uses checkboxes). */ class Astra_Control_Responsive_Spacing extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive-spacing'; /** * The control type. * * @access public * @var string */ public $linked_choices = ''; /** * The unit type. * * @access public * @var array */ public $unit_choices = array( 'px' => 'px' ); /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => array( 'top' => $val, 'right' => '', 'bottom' => $val, 'left' => '', ), 'tablet' => array( 'top' => $val, 'right' => '', 'bottom' => $val, 'left' => '', ), 'mobile' => array( 'top' => $val, 'right' => '', 'bottom' => $val, 'left' => '', ), 'desktop-unit' => 'px', 'tablet-unit' => 'px', 'mobile-unit' => 'px', ); } /* Control Units */ $units = array( 'desktop-unit' => 'px', 'tablet-unit' => 'px', 'mobile-unit' => 'px', ); foreach ( $units as $unit_key => $unit_value ) { if ( ! isset( $val[ $unit_key ] ) ) { $val[ $unit_key ] = $unit_value; } } $this->json['value'] = $val; $this->json['choices'] = $this->choices; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['linked_choices'] = $this->linked_choices; $this->json['unit_choices'] = $this->unit_choices; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } $this->json['inputAttrs'] = maybe_serialize( $this->input_attrs() ); } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/customizer-style.scss 0000644 00000006726 15252526161 0014176 0 ustar 00 /* Customizer Scroll CSS */ .accordion-section-content::-webkit-scrollbar, .wp-full-overlay-sidebar-content::-webkit-scrollbar { width: 6px; background-color: #f1f1f1; } .accordion-section-content::-webkit-scrollbar-thumb, .wp-full-overlay-sidebar-content::-webkit-scrollbar-thumb { border-radius: 10px; background-color: #d8d8d8; } .accordion-section-content::-webkit-scrollbar-track, .wp-full-overlay-sidebar-content::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 0 rgba(0,0,0,.3); width: 6px; } .wp-full-overlay-sidebar:after { display: none; } #customize-theme-controls .control-section-ast-section-separator{ margin-top: 15px; border-top: 1px solid #ddd; display: block !important; } .customize-control { position: relative; margin-bottom: 0; margin-top: 12px; } .customize-control .customize-inside-control-row { padding-top: 0; padding-bottom: 0; } .customize-control-title { display: inline-block; margin-bottom: 12px; } .customize-control-ast-font-variant .select2 { margin-bottom: 12px; } .customize-control .ast-control-tooltip { position: absolute; top: 0; right: 0; } .customize-control.customize-control-ast-divider .ast-control-tooltip { position: absolute; top: auto; bottom: 3px; right: 0; } .ast-fields-wrap .customize-control .ast-control-tooltip { right: 15px; top: 6px; } /* Select2 WP 5.3 compatibility */ .customize-control { .select2-search { input[type="text"] { &.select2-search__field { min-height: 17px; } } } } input[type="text"] { &.select2-search__field { line-height: 1; border-radius: 0; } } /* CSS for a Description as a Notice. */ .ast-customizer-notice { margin: 0 -12px; padding: 12px; } /* CSS to show popups without scroll */ #customize-theme-controls .control-section.open { height: 100%; } /* Safari Browser specific CSS */ @media not all and (min-resolution:.001dpcm) { @supports (-webkit-appearance:none) { #customize-control-astra-settings-ast-header-responsive-logo-width .wrapper { display: inline-block; width: 100%; } .dashicons-desktop:before, .dashicons-tablet:before, .dashicons-smartphone:before { color: #000000; opacity: .75; } .ast-field-settings-modal .customize-control-ast-responsive .input-wrapper .ast-responsive-input.active + .ast-responsive-select { width: 20%; } .ast-reset-btn { &.components-button svg { padding: 0px; height: 13px; } } } } /* Firefox Browser specific CSS */ @-moz-document url-prefix() { .control-section.open .customize-control:last-child { margin-bottom: 20px; } } /* IE Browser specific CSS */ @media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) { .control-section.open .customize-control:last-child { padding-bottom: 20px; } #customize-control-astra-settings-blog-archive-image-width .customize-control-title, #customize-control-astra-settings-blog-archive-image-height .customize-control-title, #customize-control-astra-settings-blog-single-post-image-width .customize-control-title, #customize-control-astra-settings-blog-single-post-image-height .customize-control-title { margin-left: 0px; margin-right: 20px; } } custom-controls/heading/heading.scss 0000644 00000002542 15252526161 0013622 0 ustar 00 .ast-field-settings-wrap .customize-control-ast-heading { margin: 0px 0 15px 0; } .accordion-section-content.open .customize-control-ast-heading { &:nth-child(2), &:nth-child(3) { margin-top: 0; } } .customize-control-ast-heading { margin-top: 20px; margin-bottom: 8px; .ast-heading-wrapper { margin: 0 -12px; } .customize-control-title { display: block; padding: 13px 12px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; background-color: #fff; font-size: 11.5px; font-weight: 500; letter-spacing: 1px; line-height: 1; text-transform: uppercase; } .customize-control-caption { top: 50%; transform: translateY(-50%); position: absolute; right: 0; font-size: 11px; font-weight: 500; letter-spacing: 1px; } .customize-control-description { margin-top: 10px; } } .ast-heading-wrapper { label { cursor: default; } } .customize-control { > label { cursor: default; } } .customize-control { .ast-spacing-input-item-link, .ast-border-input-item-link { cursor: pointer; } &.customize-control-ast-slider { label { cursor: pointer; .wrapper { input[type=range]{ cursor: pointer; } } } } } custom-controls/heading/class-astra-control-heading.php 0000644 00000002103 15252526161 0017320 0 ustar 00 <?php /** * Customizer Control: Heading * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.4.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Heading extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-heading'; /** * The control type. * * @access public * @var string */ public $caption = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = $this->label; $this->json['caption'] = $this->caption; $this->json['description'] = $this->description; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/color/class-astra-control-color.php 0000644 00000002220 15252526161 0016556 0 ustar 00 <?php /** * Customizer Control: color. * * Creates a jQuery color control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Color control (alpha). */ class Astra_Control_Color extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-color'; /** * The control type. * * @access public * @var string */ public $default = array(); /** * Additional arguments passed to JS. * * @var array */ public $input_attrs = array(); /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->default; $this->json['input_attrs'] = $this->input_attrs; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/color/index.php 0000644 00000000170 15252526161 0012660 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/index.php 0000644 00000000170 15252526161 0011542 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/link/class-astra-control-link.php 0000644 00000002221 15252526161 0016215 0 ustar 00 <?php /** * Customizer Control: link. * * Creates a link control. * * @package Astra * @author Astra * @copyright Copyright (c) 2019, Astra * @link https://wpastra.com/ * @since 2.3.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Link control. */ class Astra_Control_Link extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-link'; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['label'] = esc_html( $this->label ); } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/link/link.scss 0000644 00000000073 15252526161 0012513 0 ustar 00 .ast-link-open-in-new-tab-wrapper { margin: 10px 0; } custom-controls/link/index.php 0000644 00000000170 15252526161 0012477 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 2.3.0 */ /* Silence is golden, and we agree. */ custom-controls/divider/divider.scss 0000644 00000001273 15252526161 0013700 0 ustar 00 .customize-control-ast-divider { hr { margin-top: 12px; } .customize-control-title { font-size: 15px; margin: 1em 0 0.2em; } } .ast-field-settings-modal .customize-control-ast-divider { background-color: #f5f5f5; display: block; padding: 6px 14px; margin: 0; border-width: 1px 0; border-style: solid; border-color: #dddddd; line-height: 1; margin-top: 15px; } .customize-control-ast-settings-group { .ast-field-settings-modal .customize-control-ast-divider { .customize-control-title { font-weight: 500; letter-spacing: 1px; font-size: 11px; margin: 0; text-transform: uppercase; } } } custom-controls/divider/class-astra-control-divider.php 0000644 00000002354 15252526161 0017406 0 ustar 00 <?php /** * Customizer Control: divider * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Divider extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-divider'; /** * The control type. * * @access public * @var string */ public $caption = ''; /** * The control type. * * @access public * @var string */ public $separator = true; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['caption'] = $this->caption; $this->json['description'] = $this->description; $this->json['separator'] = $this->separator; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/divider/index.php 0000644 00000000170 15252526161 0013170 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/customizer-link/class-astra-control-customizer-link.php 0000644 00000002426 15252526161 0022630 0 ustar 00 <?php /** * Customizer Control: Customizer Link * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Customizer_Link extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-customizer-link'; /** * Link text to be added inside the anchor tag. * * @var string */ public $link_text = ''; /** * Linked customizer section. * * @var string */ public $linked = ''; /** * Linked customizer section. * * @var string */ public $link_type = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['link_text'] = $this->link_text; $this->json['linked'] = $this->linked; $this->json['link_type'] = $this->link_type; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/customizer-link/customizer-link.scss 0000644 00000000155 15252526161 0017120 0 ustar 00 .customize-control-ast-customizer-link .customizer-link { font-style: italic; text-decoration: none; } custom-controls/customizer-link/index.php 0000644 00000000170 15252526161 0014701 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/responsive-select/responsive-select.scss 0000644 00000000200 15252526161 0017735 0 ustar 00 // Responsive option toggle style. .ast-responsive-select-container { display: none; &.active { display: block; } } custom-controls/responsive-select/class-astra-control-responsive-select.php 0000644 00000002370 15252526161 0023454 0 ustar 00 <?php /** * Customizer Control: Responsive Select. * * Creates a responsive select control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 2.6.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Responsive Select control. */ class Astra_Control_Responsive_Select extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive-select'; /** * The control suffix. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['label'] = $this->label; $this->json['choices'] = $this->choices; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/radio-image/class-astra-control-radio-image.php 0000644 00000005640 15252526161 0020667 0 ustar 00 <?php /** * Customizer Control: radio-image. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Radio Image control (modified radio). */ class Astra_Control_Radio_Image extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-radio-image'; /** * The highlight color. * * @access public * @var string */ public static $higlight_color = ''; /** * Enqueue control related scripts/styles. * * @access public */ public function enqueue() { if ( '' === self::$higlight_color ) { self::astra_set_highlight_color(); // Print radio image customizer css. add_action( 'customize_controls_print_styles', array( $this, 'astra_add_radio_img_svg_css' ) ); } } /** * Function to add custom CSS for Admin. * * @since 2.0.0 * @return void */ public static function astra_add_radio_img_svg_css() { ?> <style type="text/css">.ast-radio-img-svg svg * { fill: <?php echo self::$higlight_color; // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?> !important; stroke: <?php echo self::$higlight_color; ?> !important }</style> <?php } /** * Get the Highlight SVG options set from the Admin Color Scheme. * * @since 2.0.0 * @return void */ public static function astra_set_highlight_color() { global $_wp_admin_css_colors; $current_color = get_user_option( 'admin_color' ); if ( empty( $current_color ) || ! isset( $_wp_admin_css_colors[ $current_color ] ) ) { $current_color = 'fresh'; } self::$higlight_color = $_wp_admin_css_colors[ $current_color ]->colors[2]; } /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); foreach ( $this->choices as $key => $value ) { $this->json['choices'][ $key ] = $value['path']; $this->json['choices_titles'][ $key ] = $value['label']; } $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['inputAttrs'] = ''; $this->json['labelStyle'] = ''; foreach ( $this->input_attrs as $attr => $value ) { if ( 'style' !== $attr ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } else { $this->json['labelStyle'] = 'style="' . esc_attr( $value ) . '" '; } } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/radio-image/radio-image.css 0000644 00000001323 15252526161 0014771 0 ustar 00 .customize-control-ast-radio-image label { position: relative; display: inline-block; margin-right: 12px; } .customize-control-ast-radio-image input { display: none; } .customize-control-ast-radio-image input:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } .customize-control-ast-radio-image input + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } .customize-control-ast-radio-image .ast-radio-img-svg svg { width: auto; height: 49px; } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } custom-controls/radio-image/radio-image.scss 0000644 00000001611 15252526161 0015154 0 ustar 00 .customize-control-ast-radio-image { label { position: relative; display: inline-block; margin-right: 12px; } input { display: none; &:checked + label svg { background: #ffffff; border-radius: 3px; box-shadow: 0 0 3px 0px rgba(0, 133, 186, 0.67); } + label .image-clickable { position: absolute; top: 0; bottom: 0; left: 0; right: 0; width: 100%; height: 100%; } } .ast-radio-img-svg svg { width: 73px; height: 49px; } } #customize-control-astra-settings-above-header-menu-align, #customize-control-astra-settings-header-main-menu-align, #customize-control-astra-settings-below-header-menu-align { .ast-radio-img-svg svg { width: 37px; height: 49px; } } #customize-control-astra-settings-footer-adv .image label { margin-bottom: 12px; } custom-controls/radio-image/index.php 0000644 00000000170 15252526161 0013720 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/background/class-astra-control-background.php 0000644 00000002774 15252526161 0020576 0 ustar 00 <?php /** * Customizer Control: background. * * Creates a jQuery background control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Field overrides. */ if ( ! class_exists( 'Astra_Control_Background' ) && class_exists( 'WP_Customize_Control' ) ) : /** * Background Control */ class Astra_Control_Background extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-background'; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $this->json['value'] = $this->value(); $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } endif; custom-controls/background/background.scss 0000644 00000005042 15252526161 0015060 0 ustar 00 #customize-controls .customize-control-notifications-container { margin: 0; } .customize-control-ast-background { .screen-reader-text { top: initial; } .background-container h4 { font-weight: normal; } .background-attachment h4, .background-color h4, .background-position h4, .background-repeat h4, .background-size h4 { margin-bottom: 5px; margin-top: 10px; } .background-color { margin-bottom: 12px; } .background-repeat { margin: 15px 0 8px 0; } .background-attachment .buttonset, .background-size .buttonset { display: flex; flex-wrap: wrap; } .background-attachment .buttonset .switch-label, .background-size .buttonset .switch-label { background: #ffffff; border: 1px solid rgba(0, 0, 0, 0.1); color: #555; padding: 2px 4px; margin-right: 15px; text-align: center; flex-grow: 1; transition: background-color 140ms linear; } .background-attachment .buttonset .switch-label:last-child, .background-size .buttonset .switch-label:last-child { margin-right: 0; } .background-attachment .buttonset .switch-input:checked + .switch-label, .background-size .buttonset .switch-input:checked + .switch-label, .background-attachment .buttonset .switch-input[checked="checked"] + .switch-label, .background-size .buttonset .switch-input[checked="checked"] + .switch-label { background-color: #f5f5f5; color: #565e67; } .ast-bg-img-remove { &.components-button { &.is-link { width: 100%; border: 1px dashed #b4b9be; box-sizing: border-box; box-shadow: unset; padding: 9px 0; line-height: 1.6; margin-top: 10px; text-decoration: none; } &.is-destructive:hover:not(:disabled) { color: #a02222; box-shadow: unset; border-color: #a02222; } } } .more-settings { margin-top: 12px; display: inline-block; padding: 5px 0 5px 0; float: right; &:focus { outline: 0; box-shadow: none; } } .arrow-icon { margin-left: 5px; } .customize-control-title { display: block; } .astra-color-picker-wrap { margin-top: 18px; } } .ast-field-settings-modal .customize-control-ast-background { &.customize-control:first-child, &.customize-control { margin-top: 28px; } .more-settings { margin-top: 6px; } .customize-control-content { .ast-color-btn-reset-wrap { right: 59px; } .color-button-wrap { right: 16px; } } .astra-popover-tabs { .ast-clear-btn-inside-picker { &.components-button { margin: 5px 20px 20px 10px; } } } } custom-controls/responsive/responsive.scss 0000644 00000003262 15252526161 0015216 0 ustar 00 .ast-responsive-btns { display: inline-block; float: right; line-height: 1; margin-top: 6px; > li { margin-bottom: 0; display: none; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; > i { width: 15px; height: 15px; font-size: 15px; } } } .ast-field-settings-modal { .ast-responsive-btns { margin-top: 6px; } } .customize-control-ast-responsive .input-wrapper { overflow: hidden; input { display: none; width: 82%; float: none; &.active { display: block; } } .ast-responsive-select { width: 50px; margin: 0; margin-left: 2px; padding: 0 24px 0 8px; font-size: 13px; text-transform: uppercase; float: none; display: none; } .ast-responsive-input.active + .ast-responsive-select { display: block; width: 25%; float: none; } .ast-non-reponsive { &.ast-responsive-input { display: inline-block; &.active { display: inline-block; } } &.ast-responsive-select { display: inline-block; } } } #customize-control-astra-settings-font-size-body.customize-control-ast-responsive .input-wrapper { display: inline-block; .ast-responsive-select { display: none; } .ast-responsive-input { width: 100%; } } .input-wrapper.ast-responsive-wrapper { display: inline-flex; justify-content: space-between; margin-right: 0; align-items: flex-start; flex: 0 1; width: 100%; } custom-controls/responsive/index.php 0000644 00000000170 15252526161 0013737 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/responsive/class-astra-control-responsive.php 0000644 00000003732 15252526161 0020725 0 ustar 00 <?php /** * Customizer Control: responsive * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Responsive extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive'; /** * The responsive type. * * @access public * @var string */ public $responsive = true; /** * The control type. * * @access public * @var array */ public $units = array(); /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => $val, 'tablet' => '', 'mobile' => '', 'desktop-unit' => '', 'tablet-unit' => '', 'mobile-unit' => '', ); } $this->json['value'] = $val; $this->json['choices'] = $this->choices; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['units'] = $this->units; $this->json['responsive'] = $this->responsive; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/responsive-slider/class-astra-control-responsive-slider.php 0000644 00000003273 15252526161 0023465 0 ustar 00 <?php /** * Customizer Control: slider. * * Creates a jQuery slider control. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Responsive Slider control (range). */ class Astra_Control_Responsive_Slider extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-responsive-slider'; /** * The control type. * * @access public * @var string */ public $suffix = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['default'] = $this->setting->default; if ( isset( $this->default ) ) { $this->json['default'] = $this->default; } $val = maybe_unserialize( $this->value() ); if ( ! is_array( $val ) || is_numeric( $val ) ) { $val = array( 'desktop' => $val, 'tablet' => '', 'mobile' => '', ); } $this->json['value'] = $val; $this->json['link'] = $this->get_link(); $this->json['id'] = $this->id; $this->json['label'] = esc_html( $this->label ); $this->json['suffix'] = $this->suffix; $this->json['inputAttrs'] = ''; foreach ( $this->input_attrs as $attr => $value ) { $this->json['inputAttrs'] .= $attr . '="' . esc_attr( $value ) . '" '; } } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/responsive-slider/responsive-slider.scss 0000644 00000006334 15252526161 0017761 0 ustar 00 .customize-control-ast-responsive-slider { .wrapper { position: relative; } .input-field-wrapper { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } input[type=range] { -webkit-appearance: none; -webkit-transition: background 0.3s; -moz-transition: background 0.3s; transition: background 0.3s; background-color: rgba(0, 0, 0, 0.1); height: 5px; padding: 0; -webkit-box-flex: 1; -ms-flex: 1; flex: 1; &:focus { box-shadow: none; outline: none; } &:hover, &:focus { background-color: rgba(0, 0, 0, 0.25); } &::-webkit-slider-thumb { -webkit-appearance: none; width: 15px; height: 15px; border-radius: 50%; -webkit-border-radius: 50%; background-color: #3498D9; -webkit-appearance: none; width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-moz-range-thumb { width: 15px; height: 15px; border: none; border-radius: 50%; background-color: #3498D9; } &::-ms-thumb { width: 15px; height: 15px; border-radius: 50%; border: 0; background-color: #3498D9; } &::-moz-range-track { border: inherit; background: transparent; } &::-ms-track { border: inherit; color: transparent; background: transparent; } &::-ms-fill-lower, &::-ms-fill-upper { background: transparent; } &::-ms-tooltip { display: none; } } .astra_range_value { font-size: 14px; padding: 0 0 0 5px; font-weight: 400; position: relative; } .ast-responsive-slider-reset { color: rgba(0, 0, 0, 0.2); position: absolute; top: -34px; right: 1.5em; display: inline-block; -webkit-transition: color 0.5s ease-in; -moz-transition: color 0.5s ease-in; -ms-transition: color 0.5s ease-in; -o-transition: color 0.5s ease-in; transition: color 0.5s ease-in; span { font-size: 13px; line-height: 24px; transition: unset; } &:hover, &:focus { color: red; } } } .astra_range_value { input.ast-responsive-range-value-input { width: 50px; height: 22px; font-size: 12px; padding: 3px; } .ast-range-unit { margin-left: 5px; } } .customize-control-ast-responsive-slider .input-field-wrapper { display: none; &.active { display: flex; justify-content: space-between; margin-right: 0; flex: 0 1; width: 100%; } } /** * Responsive Icons */ .ast-responsive-slider-btns { display: inline-block; float: right; line-height: 1; margin-top: 5px; > li { margin-bottom: 0; display: none; &.active { display: inline-block; } } button[type="button"] { padding: 0; cursor: pointer; background: none; border: none; opacity: .75; outline: none; > i { width: 15px; height: 15px; font-size: 15px; } } } custom-controls/responsive-slider/index.php 0000644 00000000170 15252526161 0015217 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ custom-controls/settings-group/settings-group.js 0000644 00000155350 15252526161 0016257 0 ustar 00 ( function( $ ) { /** * JS to manage the sticky heading of an open section on scroll up. */ jQuery( document ).ready(function() { var last_scroll_top = 0; var parentSection = jQuery( '.wp-full-overlay-sidebar-content' ); var browser = navigator.userAgent.toLowerCase(); if ( ! ( browser.indexOf( 'firefox' ) > -1 ) ) { var parent_width_remove = 6; } else { var parent_width_remove = 16; } jQuery('#customize-controls .wp-full-overlay-sidebar-content .control-section').on( 'scroll', function (event) { var $this = jQuery(this); // Run sticky js for only open section. if ( $this.hasClass( 'open' ) ) { var section_title = $this.find( '.customize-section-title' ); var scroll_top = $this.scrollTop(); if ( scroll_top > last_scroll_top ) { // On scroll down, remove sticky section title. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } else { // On scroll up, add sticky section title. var parent_width = $this.outerWidth(); section_title.addClass( 'maybe-sticky' ).addClass( 'is-in-view' ).addClass( 'is-sticky' ).width( parent_width - parent_width_remove ).css( 'top', parentSection.css( 'top' ) ); if ( ! ( browser.indexOf( 'firefox' ) > -1 ) ) { $this.css( 'padding-top', section_title.height() ); } if( scroll_top === 0 ) { // Remove sticky section heading when scrolled to the top. section_title.removeClass( 'maybe-sticky' ).removeClass( 'is-in-view' ).removeClass( 'is-sticky' ); $this.css( 'padding-top', '' ); } } last_scroll_top = scroll_top; } }); }); wp.customize.controlConstructor['ast-settings-group'] = wp.customize.Control.extend({ ready : function() { 'use strict'; var control = this, value = control.setting._value; control.registerToggleEvents(); this.container.on( 'ast_settings_changed', control.onOptionChange ); }, registerToggleEvents: function() { var control = this; /* Close popup when click outside anywhere outside of popup */ $( '.wp-full-overlay-sidebar-content, .wp-picker-container' ).click( function( e ) { if ( ! $( e.target ).closest( '.ast-field-settings-modal' ).length ) { $( '.ast-adv-toggle-icon.open' ).trigger( 'click' ); } }); control.container.on( 'click', '.ast-toggle-desc-wrap .ast-adv-toggle-icon', function( e ) { e.preventDefault(); e.stopPropagation(); var $this = jQuery(this); var parent_wrap = $this.closest( '.customize-control-ast-settings-group' ); var is_loaded = parent_wrap.find( '.ast-field-settings-modal' ).data('loaded'); var parent_section = parent_wrap.parents('.control-section'); if( $this.hasClass('open') ) { parent_wrap.find( '.ast-field-settings-modal' ).hide(); } else { /* Close popup when another popup is clicked to open */ var get_open_popup = parent_section.find('.ast-adv-toggle-icon.open'); if( get_open_popup.length > 0 ) { get_open_popup.trigger('click'); } if( is_loaded ) { parent_wrap.find( '.ast-field-settings-modal' ).show(); } else { var fields = control.params.ast_fields; var $modal_wrap = $( astra.customizer.group_modal_tmpl ); parent_wrap.find( '.ast-field-settings-wrap' ).append( $modal_wrap ); parent_wrap.find( '.ast-fields-wrap' ).attr( 'data-control', control.params.name ); control.ast_render_field( parent_wrap, fields, control ); parent_wrap.find( '.ast-field-settings-modal' ).show(); device = jQuery("#customize-footer-actions .active").attr('data-device'); if( 'mobile' == device ) { jQuery('.ast-responsive-btns .mobile, .ast-responsive-slider-btns .mobile').addClass('active'); jQuery('.ast-responsive-btns .preview-mobile, .ast-responsive-slider-btns .preview-mobile').addClass('active'); } else if( 'tablet' == device ) { jQuery('.ast-responsive-btns .tablet, .ast-responsive-slider-btns .tablet').addClass('active'); jQuery('.ast-responsive-btns .preview-tablet, .ast-responsive-slider-btns .preview-tablet').addClass('active'); } else { jQuery('.ast-responsive-btns .desktop, .ast-responsive-slider-btns .desktop').addClass('active'); jQuery('.ast-responsive-btns .preview-desktop, .ast-responsive-slider-btns .preview-desktop').addClass('active'); } } } $this.toggleClass('open'); }); control.container.on( "click", ".ast-toggle-desc-wrap > .customizer-text", function( e ) { e.preventDefault(); e.stopPropagation(); jQuery(this).find( '.ast-adv-toggle-icon' ).trigger('click'); }); }, ast_render_field: function( wrap, fields, control_elem ) { var control = this; var ast_field_wrap = wrap.find( '.ast-fields-wrap' ); var fields_html = ''; var control_types = []; var field_values = control.isJsonString( control_elem.params.value ) ? JSON.parse( control_elem.params.value ) : {}; if( 'undefined' != typeof fields.tabs ) { var clean_param_name = control_elem.params.name.replace( '[', '-' ), clean_param_name = clean_param_name.replace( ']', '' ); fields_html += '<div id="' + clean_param_name + '-tabs" class="ast-group-tabs">'; fields_html += '<ul class="ast-group-list">'; var counter = 0; var tabs_counter = 0; _.each( fields.tabs, function ( value, key ) { var li_class = ''; switch(counter) { case 0: li_class = 'active'; tab_key = 'normal'; break; case 1: tab_key = 'hover'; break; default: tab_key = 'active'; } fields_html += '<li class="'+ li_class + '"><a href="#tab-' + tab_key + '"><span>' + key + '</span></a></li>'; counter++; }); fields_html += '</ul>'; fields_html += '<div class="ast-tab-content" >'; _.each( fields.tabs, function ( fields_data, key ) { switch(tabs_counter) { case 0: li_class = 'active'; tab_key = 'normal'; break; case 1: tab_key = 'hover'; break; default: tab_key = 'active'; } fields_html += '<div id="tab-'+ tab_key +'" class="tab">'; var result = control.generateFieldHtml( fields_data, field_values ); fields_html += result.html; _.each( result.controls , function ( control_value, control_key ) { control_types.push({ key: control_value.key, value : control_value.value, name : control_value.name }); }); fields_html += '</div>'; tabs_counter++; }); fields_html += '</div></div>'; ast_field_wrap.html( fields_html ); $( "#" + clean_param_name + "-tabs" ).tabs(); } else { var result = control.generateFieldHtml( fields, field_values ); fields_html += result.html; _.each( result.controls, function (control_value, control_key) { control_types.push({ key: control_value.key, value: control_value.value, name: control_value.name }); }); ast_field_wrap.html(fields_html); } _.each( control_types, function( control_type, index ) { switch( control_type.key ) { case "ast-responsive-color": control.initResponsiveColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-color": control.initColor( ast_field_wrap, control_elem, control_type.name ); break; case "ast-font": var googleFontsString = astra.customizer.settings.google_fonts; control.container.find( '.ast-font-family' ).html( googleFontsString ); control.container.find( '.ast-font-family' ).each( function() { var selectedValue = $(this).data('value'); $(this).val( selectedValue ); var optionName = $(this).data('name'); // Set inherit option text defined in control parameters. $("select[data-name='" + optionName + "'] option[value='inherit']").text( $(this).data('inherit') ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( selectedValue ) ); control.generateDropdownHtml( weightObject, fontWeightContainer ); fontWeightContainer.val( fontWeightContainer.data('value') ); }); control.container.find( '.ast-font-family' ).selectWoo(); control.container.find( '.ast-font-family' ).on( 'select2:select', function() { var value = $(this).val(); var weightObject = AstTypography._getWeightObject( AstTypography._cleanGoogleFonts( value ) ); var optionName = $(this).data( 'name' ); var fontWeightContainer = jQuery(".ast-font-weight[data-connected-control='" + optionName + "']"); control.generateDropdownHtml( weightObject, fontWeightContainer ); var font_control = $(this).parents( '.customize-control' ).attr( 'id' ); font_control = font_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, font_control ] ); var font_weight_control = fontWeightContainer.parents( '.customize-control' ).attr( 'id' ); font_weight_control = font_weight_control.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, fontWeightContainer, fontWeightContainer.val(), font_weight_control ] ); }); control.container.find( '.ast-font-weight' ).on( 'change', function() { var value = $(this).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-responsive": control.initResponsiveTrigger( ast_field_wrap, control_elem ); control.container.on( 'change keyup paste', 'input.ast-responsive-input, select.ast-responsive-select', function() { name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); // Update value on change. control.updateResonsiveValue( jQuery(this), name ); }); break; case "ast-select": control.container.on( 'change', '.ast-select-input', function() { var value = jQuery( this ).val(); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), value, name ] ); }); break; case "ast-slider": control.container.on('input change', 'input[type=range]', function () { var value = jQuery(this).attr('value'), input_number = jQuery(this).closest('.wrapper').find('.astra_range_value .value'); input_number.val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, value, name]); }); // Handle the reset button. control.container.on( 'click', '.ast-slider-reset', function () { var wrapper = jQuery(this).closest('.wrapper'), input_range = wrapper.find('input[type=range]'), input_number = wrapper.find('.astra_range_value .value'), default_value = input_range.data('reset_value'); input_range.val(default_value); input_number.val(default_value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, input_number, default_value, name]); }); // Save changes. control.container.find( '.customize-control-ast-slider' ).on('input change', 'input[type=number]', function () { var value = jQuery(this).val(); jQuery(this).closest('.wrapper').find('input[type=range]').val(value); name = $(this).parents( '.customize-control' ).attr( 'id' ); name = name.replace( 'customize-control-', '' ); control.container.trigger('ast_settings_changed', [control, jQuery(this), value, name]); }); break; case "ast-responsive-background": control.initAstResonsiveBgControl( control_elem, control_type, control_type.name ); break; case "ast-background": control.initAstBgControl( control_elem, control_type, control_type.name ); break; case "ast-border": control.initAstBorderControl( control_elem, control_type, control_type.name ); break; } }); wrap.find( '.ast-field-settings-modal' ).data( 'loaded', true ); }, initAstBorderControl: function( control_elem, control_type, name ) { var control = this, value = control.setting._value, control_name = control_type.name; // Save the value. this.container.on( 'change keyup paste', 'input.ast-border-input', function() { // Update value on change. control.saveBorderValue( 'border', jQuery( this ).val(), jQuery( this ), name ); }); // Connected button jQuery( '.ast-border-connected' ).on( 'click', function() { // Remove connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).removeClass( 'connected' ).attr( 'data-element-connect', '' ); // Remove class jQuery(this).parent( '.ast-border-input-item-link' ).removeClass( 'disconnected' ); } ); // Disconnected button jQuery( '.ast-border-disconnected' ).on( 'click', function() { // Set up variables var elements = jQuery(this).data( 'element-connect' ); // Add connected class jQuery(this).parent().parent( '.ast-border-wrapper' ).find( 'input' ).addClass( 'connected' ).attr( 'data-element-connect', elements ); // Add class jQuery(this).parent( '.ast-border-input-item-link' ).addClass( 'disconnected' ); } ); // Values connected inputs jQuery( '.ast-border-input-item' ).on( 'input', '.connected', function() { var dataElement = jQuery(this).attr( 'data-element-connect' ), currentFieldValue = jQuery( this ).val(); jQuery(this).parent().parent( '.ast-border-wrapper' ).find( '.connected[ data-element-connect="' + dataElement + '" ]' ).each( function( key, value ) { jQuery(this).val( currentFieldValue ).change(); } ); } ); }, generateFieldHtml: function ( fields_data, field_values ) { var fields_html = ''; var control_types = []; _.each(fields_data, function (attr, index) { new_value = ( wp.customize.control( 'astra-settings['+attr.name+']' ) ? wp.customize.control( 'astra-settings['+attr.name+']' ).params.value : '' ); var control = attr.control; var template_id = "customize-control-" + control + "-content"; var template = wp.template(template_id); var value = new_value || attr.default; attr.value = value; var dataAtts = ''; var input_attrs = ''; attr.label = attr.title; // Data attributes. _.each( attr.data_attrs, function( value, name ) { dataAtts += " data-" + name + " ='" + value + "'"; }); // Input attributes _.each( attr.input_attrs, function ( value, name ) { input_attrs += name + " ='" + value + "'"; }); attr.dataAttrs = dataAtts; attr.inputAttrs = input_attrs; control_types.push({ key: control, value: value, name: attr.name }); if ('ast-responsive' == control) { var is_responsive = 'undefined' == typeof attr.responsive ? true : attr.responsive; attr.responsive = is_responsive; } var control_clean_name = attr.name.replace('[', '-'); control_clean_name = control_clean_name.replace(']', ''); fields_html += "<li id='customize-control-" + control_clean_name + "' class='customize-control customize-control-" + attr.control + "' >"; fields_html += template(attr); fields_html += '</li>'; }); var result = new Object(); result.controls = control_types; result.html = fields_html; return result; }, generateDropdownHtml: function( weightObject, element ) { var currentWeightTitle = element.data( 'inherit' ); var weightOptions = ''; var inheritWeightObject = [ 'inherit' ]; var counter = 0; var weightObject = $.merge( inheritWeightObject, weightObject ); var weightValue = element.val() || '400'; astraTypo[ 'inherit' ] = currentWeightTitle; for ( ; counter < weightObject.length; counter++ ) { if ( 0 === counter && -1 === $.inArray( weightValue, weightObject ) ) { weightValue = weightObject[ 0 ]; selected = ' selected="selected"'; } else { selected = weightObject[ counter ] == weightValue ? ' selected="selected"' : ''; } if( ! weightObject[ counter ].includes( "italic" ) ){ weightOptions += '<option value="' + weightObject[ counter ] + '"' + selected + '>' + astraTypo[ weightObject[ counter ] ] + '</option>'; } } element.html( weightOptions ); }, initResponsiveTrigger: function( wrap, control_elem ) { wrap.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); }, initColor: function ( wrap, control_elem, name ) { var control = this; var picker = wrap.find('.customize-control-ast-color .ast-color-picker-alpha'); picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery( element ), ui.color.toString(), name ] ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; jQuery(element).val(''); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, jQuery(element), '', name ] ); wp.customize.previewer.refresh(); } }); }, initResponsiveColor: function( wrap, control_elem, name ) { var control = this; var picker = wrap.find( '.ast-responsive-color' ); picker.wpColorPicker({ change: function(event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha) { if ( jQuery('html').hasClass('responsive-background-color-ready') ) { var option_name = jQuery(this).data('name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var element = event.target; var device = jQuery( this ).data( 'id' ); var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; if ( 'desktop' === device ) { newValue['desktop'] = ui.color.toString(); } if ( 'tablet' === device ) { newValue['tablet'] = ui.color.toString(); } if ( 'mobile' === device ) { newValue['mobile'] = ui.color.toString(); } jQuery(element).val( ui.color.toString() ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(this), newValue, name ] ); } } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], device = jQuery( this ).closest('.wp-picker-input-wrap').find('.wp-color-picker').data( 'id' ); var option_name = jQuery( element ).attr('data-name'); var stored = { 'desktop' : jQuery( ".desktop.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'tablet' : jQuery( ".tablet.ast-responsive-color[data-name='"+ option_name +"']" ).val(), 'mobile' : jQuery( ".mobile.ast-responsive-color[data-name='"+ option_name +"']" ).val() }; var newValue = { 'desktop' : stored['desktop'], 'tablet' : stored['tablet'], 'mobile' : stored['mobile'], }; wp.customize.previewer.refresh(); if ( element ) { if ( 'desktop' === device ) { newValue['desktop'] = ''; } if ( 'tablet' === device ) { newValue['tablet'] = ''; } if ( 'mobile' === device ) { newValue['mobile'] = ''; } jQuery(element).val( '' ); control.container.trigger( 'ast_settings_changed', [ control, jQuery(element), newValue, name ] ); } name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); } }); wrap.find( '.ast-responsive-btns button' ).on( 'click', function( event ) { var device = jQuery(this).attr('data-device'); if( 'desktop' == device ) { device = 'tablet'; } else if( 'tablet' == device ) { device = 'mobile'; } else { device = 'desktop'; } jQuery( '.wp-full-overlay-footer .devices button[data-device="' + device + '"]' ).trigger( 'click' ); }); // Set desktop colorpicker active. wrap.find( '.ast-responsive-color.desktop' ).parents( '.wp-picker-container' ).addClass( 'active' ); }, onOptionChange:function ( e, control, element, value, name ) { var control_id = $( '.hidden-field-astra-settings-' + name ); control_id.val( value ); sub_control = wp.customize.control( "astra-settings[" + name + "]" ); sub_control.setting.set( value ); }, /** * Updates the responsive param value. */ updateResonsiveValue: function( element, name ) { 'use strict'; var control = this, newValue = {}; // Set the spacing container. control.responsiveContainer = element.closest( '.ast-responsive-wrapper' ); control.responsiveContainer.find( 'input.ast-responsive-input' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.responsiveContainer.find( 'select.ast-responsive-select' ).each( function() { var responsive_input = jQuery( this ), item = responsive_input.data( 'id' ), item_value = responsive_input.val(); newValue[item] = item_value; }); control.container.trigger( 'ast_settings_changed', [ control, element, newValue, name ] ); }, isJsonString: function( str ) { try { JSON.parse(str); } catch (e) { return false; } return true; }, initAstResonsiveBgControl: function( control, control_atts, name ) { var value = control_atts.value; var picker = control.container.find('.ast-responsive-bg-color-control'); var control_name = control_atts.name; var controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if (_.isUndefined(value['desktop']['background-image']) || '' === value['desktop']['background-image']) { controlContainer.find('.background-wrapper > .background-container.desktop > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.desktop > .background-attachment').hide(); } if (_.isUndefined(value['tablet']['background-image']) || '' === value['tablet']['background-image']) { controlContainer.find('.background-wrapper > .background-container.tablet > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.tablet > .background-attachment').hide(); } if (_.isUndefined(value['mobile']['background-image']) || '' === value['mobile']['background-image']) { controlContainer.find('.background-wrapper > .background-container.mobile > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.mobile > .background-attachment').hide(); } // Color. picker.wpColorPicker({ change: function (event, ui) { if ('undefined' != typeof event.originalEvent || 'undefined' != typeof ui.color._alpha ) { var device = jQuery(this).data('id'); control.saveValue( device, 'background-color', ui.color.toString(), jQuery(this), name ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0], responsive_input = jQuery(this), screen = responsive_input.closest('.wp-picker-input-wrap').find('.wp-color-picker').data('id'); if ( element ) { control.saveValue( screen, 'background-color', '', jQuery( element ), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on('change', '.background-repeat select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-repeat', item_value, jQuery(this), name ); }); // Background-Size. controlContainer.on('change click', '.background-size input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-size', item_value, responsive_input, name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); control.saveValue( screen, 'background-position', item_value, responsive_input, name ); }); // Background-Attachment. controlContainer.on('change click', '.background-attachment input', function () { var responsive_input = jQuery(this), screen = responsive_input.data('id'), item_value = responsive_input.val(); jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveValue( screen, 'background-attachment', item_value, responsive_input, name ); }); // Background-Image. controlContainer.on('click', '.background-image-upload-button, .thumbnail-image img', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); name = responsive_input.data('name'); var image = wp.media({ multiple: false }).open().on('select', function () { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get('selection').first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if (!_.isUndefined(uploadedImage.toJSON().sizes.medium)) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if (!_.isUndefined(uploadedImage.toJSON().sizes.thumbnail)) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find('.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment').show(); } control.saveValue( screen, 'background-image', imageUrl, responsive_input, name ); preview = controlContainer.find( '.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail' ); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); if ( preview.length ) { preview.removeClass().addClass('thumbnail thumbnail-image').html('<img src="' + previewImage + '" alt="" data-id="'+screen+'" data-name="'+name+'"/>'); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on('click', '.background-image-upload-remove-button', function (e) { var preview, removeButton, responsive_input = jQuery(this), screen = responsive_input.data('id'); control.saveValue( screen, 'background-image', '', jQuery(this), name ); preview = controlContainer.find('.background-container.' + screen + ' .placeholder, .background-container.' + screen + ' .thumbnail'); removeButton = controlContainer.find('.background-container.' + screen + ' .background-image-upload-remove-button'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').hide(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').hide(); controlContainer.find('.background-container.' + screen + ' .more-settings').attr('data-direction', 'down'); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.message').html(astraCustomizerControlBackground.moreSettings); controlContainer.find('.background-container.' + screen + ' .more-settings').find('.icon').html('↓'); if (preview.length) { preview.removeClass().addClass('placeholder').html(astraCustomizerControlBackground.placeholder); } if (removeButton.length) { removeButton.hide(); } wp.customize.previewer.refresh(); e.preventDefault(); }); controlContainer.on('click', '.more-settings', function (e) { var responsive_input = jQuery(this), screen = responsive_input.data('id'); // Hide unnecessary controls. controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-repeat').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-position').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-size').toggle(); controlContainer.find('.background-wrapper > .background-container.' + screen + ' > .background-attachment').toggle(); if ('down' === $(this).attr('data-direction')) { $(this).attr('data-direction', 'up'); $(this).find('.message').html(astraCustomizerControlBackground.lessSettings) $(this).find('.icon').html('↑'); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html(astraCustomizerControlBackground.moreSettings) $(this).find('.icon').html('↓'); } }); controlContainer.find('.ast-responsive-btns button').on('click', function (event) { var device = jQuery(this).attr('data-device'); if ('desktop' == device) { device = 'tablet'; } else if ('tablet' == device) { device = 'mobile'; } else { device = 'desktop'; } jQuery('.wp-full-overlay-footer .devices button[data-device="' + device + '"]').trigger('click'); }); jQuery(' .wp-full-overlay-footer .devices button ').on('click', function () { var device = jQuery(this).attr('data-device'); jQuery('.customize-control-ast-responsive-background .background-container, .customize-control .ast-responsive-btns > li').removeClass('active'); jQuery('.customize-control-ast-responsive-background .background-container.' + device + ', .customize-control .ast-responsive-btns > li.' + device).addClass('active'); }); }, initAstBgControl: function( control, control_atts, name ) { var value = control.setting._value, control_name = control_atts.name, picker = control.container.find( '.ast-color-control' ), controlContainer = control.container.find( "#customize-control-" + control_name ); // Hide unnecessary controls if the value doesn't have an image. if ( _.isUndefined( value['background-image']) || '' === value['background-image']) { controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); } // Color. picker.wpColorPicker({ change: function() { if ( jQuery('html').hasClass('background-colorpicker-ready') ) { var $this = jQuery(this); setTimeout( function() { control.saveBgValue( 'background-color', picker.val(), $this, name ); }, 100 ); } }, /** * @param {Event} event - standard jQuery event, produced by "Clear" * button. */ clear: function (event) { var element = jQuery(event.target).closest('.wp-picker-input-wrap').find('.wp-color-picker')[0]; if (element) { control.saveBgValue( 'background-color', '', jQuery(element), name ); } wp.customize.previewer.refresh(); } }); // Background-Repeat. controlContainer.on( 'change', '.background-repeat select', function() { control.saveBgValue( 'background-repeat', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Size. controlContainer.on( 'change click', '.background-size input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-size', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Position. controlContainer.on( 'change', '.background-position select', function() { control.saveBgValue( 'background-position', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Attachment. controlContainer.on( 'change click', '.background-attachment input', function() { jQuery( this ).parent( '.buttonset' ).find( '.switch-input' ).removeAttr('checked'); jQuery( this ).attr( 'checked', 'checked' ); control.saveBgValue( 'background-attachment', jQuery( this ).val(), jQuery( this ), name ); }); // Background-Image. controlContainer.on( 'click', '.background-image-upload-button, .thumbnail-image img', function( e ) { var upload_img_btn = jQuery(this); var image = wp.media({ multiple: false }).open().on( 'select', function() { // This will return the selected image from the Media Uploader, the result is an object. var uploadedImage = image.state().get( 'selection' ).first(), previewImage = uploadedImage.toJSON().sizes.full.url, imageUrl, imageID, imageWidth, imageHeight, preview, removeButton; if ( ! _.isUndefined( uploadedImage.toJSON().sizes.medium ) ) { previewImage = uploadedImage.toJSON().sizes.medium.url; } else if ( ! _.isUndefined( uploadedImage.toJSON().sizes.thumbnail ) ) { previewImage = uploadedImage.toJSON().sizes.thumbnail.url; } imageUrl = uploadedImage.toJSON().sizes.full.url; imageID = uploadedImage.toJSON().id; imageWidth = uploadedImage.toJSON().width; imageHeight = uploadedImage.toJSON().height; // Show extra controls if the value has an image. if ( '' !== imageUrl ) { controlContainer.find( '.background-wrapper > .background-repeat, .background-wrapper > .background-position, .background-wrapper > .background-size, .background-wrapper > .background-attachment' ).show(); } control.saveBgValue( 'background-image', imageUrl, upload_img_btn, name ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); if ( preview.length ) { preview.removeClass().addClass( 'thumbnail thumbnail-image' ).html( '<img src="' + previewImage + '" alt="" />' ); } if ( removeButton.length ) { removeButton.show(); } }); e.preventDefault(); }); controlContainer.on( 'click', '.background-image-upload-remove-button', function( e ) { var preview, removeButton; e.preventDefault(); control.saveBgValue( 'background-image', '', jQuery( this ) ); preview = controlContainer.find( '.placeholder, .thumbnail' ); removeButton = controlContainer.find( '.background-image-upload-remove-button' ); // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).hide(); controlContainer.find( '.background-wrapper > .background-position' ).hide(); controlContainer.find( '.background-wrapper > .background-size' ).hide(); controlContainer.find( '.background-wrapper > .background-attachment' ).hide(); controlContainer.find( '.more-settings' ).attr('data-direction', 'down'); controlContainer.find( '.more-settings' ).find('.message').html( astraCustomizerControlBackground.moreSettings ); controlContainer.find( '.more-settings' ).find('.icon').html( '↓' ); if ( preview.length ) { preview.removeClass().addClass( 'placeholder' ).html( astraCustomizerControlBackground.placeholder ); } if ( removeButton.length ) { removeButton.hide(); } }); controlContainer.on( 'click', '.more-settings', function( e ) { // Hide unnecessary controls. controlContainer.find( '.background-wrapper > .background-repeat' ).toggle(); controlContainer.find( '.background-wrapper > .background-position' ).toggle(); controlContainer.find( '.background-wrapper > .background-size' ).toggle(); controlContainer.find( '.background-wrapper > .background-attachment' ).toggle(); if( 'down' === $(this).attr( 'data-direction' ) ) { $(this).attr('data-direction', 'up'); $(this).find('.message').html( astraCustomizerControlBackground.lessSettings ) $(this).find('.icon').html( '↑' ); } else { $(this).attr('data-direction', 'down'); $(this).find('.message').html( astraCustomizerControlBackground.moreSettings ) $(this).find('.icon').html( '↓' ); } }); }, saveValue: function ( screen, property, value, element, name ) { var control = this, input = jQuery('#customize-control-' + control.id.replace('[', '-').replace(']', '') + ' .responsive-background-hidden-value'); var val = JSON.parse( input.val() ); val[screen][property] = value; jQuery(input).attr( 'value', JSON.stringify(val) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBgValue: function( property, value, element, name ) { var control = this, input = jQuery( '#customize-control-' + control.id.replace( '[', '-' ).replace( ']', '' ) + ' .background-hidden-value' ); var val = JSON.parse( input.val() ); val[ property ] = value; jQuery( input ).attr( 'value', JSON.stringify( val ) ).trigger( 'change' ); name = jQuery(element).parents('.customize-control').attr('id'); name = name.replace( 'customize-control-', '' ); control.container.trigger( 'ast_settings_changed', [control, element, val, name ] ); }, /** * Saves the value. */ saveBorderValue: function( property, value, element, name ) { var control = this, newValue = { 'top' : '', 'right' : '', 'bottom' : '', 'left' : '', }; control.container.find( 'input.ast-border-desktop' ).each( function() { var spacing_input = jQuery( this ), item = spacing_input.data( 'id' ); item_value = spacing_input.val(); newValue[ item ] = item_value; spacing_input.attr( 'value', item_value ); }); control.container.trigger( 'ast_settings_changed', [control, element, newValue, name ] ); } }); })(jQuery); custom-controls/settings-group/settings-group.scss 0000644 00000013352 15252526161 0016611 0 ustar 00 .ast-adv-toggle-icon { right: 2px; top: -2px; position: absolute; width: 18px; height: 18px; font-size: 18px; border: 1px solid #ddd; border-radius: 2px; padding: 4px; color: #0073aa; background: #fff; &:hover { color: #099fd6; } &:before { content: "\f464"; } &.open:before { content: "\f158"; } } .ast-field-settings-modal { position: absolute; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; border-radius: 3px; left: 0; right: 0; z-index: 10000; background-color: #fff; .customize-control-ast-divider:first-child { margin-top: 15px; } } .ast-field-settings-wrap { width: 100%; } .ast-group-tabs, .ast-tab-content { position: relative; } .ast-group-list { &:before, &:after { content: ""; display: table; border-collapse: collapse; } overflow: hidden; border-bottom: 1px solid #ddd; } /* Tab anchor color */ .ui-tabs-anchor { float: left; padding: .5em 0.5em; color: #555d66; text-decoration: none; } .ui-state-active .ui-tabs-anchor { color: #ffffff; } .ui-tabs-anchor:hover { color: #555d66; } .ui-state-active .ui-tabs-anchor:hover { color: #ffffff; } .ast-group-tabs .ui-widget-content { overflow: hidden; /*padding-top: 15px;*/ &.iris-slider-offset, &.iris-slider-offset-alpha { overflow: inherit; } } .ast-fields-wrap { overflow: hidden; } .ast-field-settings-wrap { -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); -webkit-border-radius: 3px; background-color: #fff; .ast-field-settings-modal { border-radius: 3px; margin-top: 9px; margin-bottom: 20px; } } .ast-field-settings-modal::before { content: ''; position: absolute; top: -17px; right: 8px; border: 9px solid transparent; border-bottom-color: #fff; pointer-events: none; } .ast-group-tabs { .ui-tabs-nav { .ui-corner-top { &:first-child { border-radius: 3px 0px 0px 3px; } &:last-child { border-radius: 0px 3px 3px 0px; } align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; .ui-tabs-anchor { width: 100%; text-align: center; padding: 2px 4px; padding-left: 0; padding-right: 0; outline: none; } } display: flex; padding: 15px 15px 0 15px; } ul.ast-group-list .ui-corner-top .ui-tabs-anchor:focus { box-shadow: none; } .ui-tabs-nav { border: none; } ul.ast-group-list .ui-corner-top.ui-state-active { background-color: #0185BA; border: 1px solid rgba(0, 0, 0, 0.1); } .ui-tabs-nav { overflow: visible; } ul.ast-group-list .ui-corner-top:not(:first-child) { border-left-width: 0; } } /* Buttons */ .wp-core-ui .ast-field-settings-modal .background-image-upload .button { font-size: 11px; } /* Popup params padding */ .ast-field-settings-modal .customize-control { padding-left: 15px; padding-right: 15px; box-sizing: border-box; } .ast-field-settings-modal .customize-control:first-child { margin-top: 15px; } .ast-field-settings-modal .ui-tabs-nav .customize-control:first-child { margin-top: 0; } .ast-field-settings-modal .customize-control:last-child { padding-bottom: 15px } .customize-control-ast-settings-group { line-height: 27px; } .customize-control-ast-settings-group .customize-control-title { margin-bottom: 0; } .customize-control-ast-settings-group .ast-field-settings-modal .customize-control-title { margin-bottom: 10px; font-size: 13px; } .ast-field-settings-modal .customize-control { margin-top: 10px; } /** * Popover Tab Structure. */ .astra-popover-tabs { position: relative; .components-tab-panel__tabs { display: flex; padding: 15px; border: none; .components-tab-panel__tabs-item { color: #555d66; font-size: 13px; font-weight: 400; height: 35px; transition: unset; padding: 2px 4px; text-decoration: none; border-radius: 0; border: 1px solid rgba(0, 0, 0, 0.1); &:active { box-shadow: unset; } &:focus { box-shadow: unset; } } } [ID*="-image-view"] { padding: 15px; border: none; } .components-button { align-items: center; flex: 1 1 auto; justify-content: center; margin: 0 0; padding: 0; border: 1px solid #ccc; transition: background-color 140ms linear; } .components-tab-panel__tabs-item { &:first-child { border-radius: 3px 0px 0px 3px; } &:last-child { border-radius: 0px 3px 3px 0px; } &:not(:first-child) { border-left-width: 0; } } .components-tab-panel__tabs-item.active-tab { background-color: #0185BA; color: #ffffff; } .components-tab-panel__tabs button.components-tab-panel__tabs-item.active-tab:not(.is-primary):not(.is-tertiary):not(.is-link):hover { color: #fff; } } .components-popover.astra-popover-color { .components-popover__content { min-width: 310px; max-height: 60vh; padding: 0; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3); } } .ast-field-settings-modal { .components-popover.astra-popover-color { .components-popover__content { min-width: 320px; min-height: 325px; } } .background-wrapper { .components-popover.astra-popover-color { .components-popover__content { min-height: 385px; } } } } custom-controls/settings-group/class-astra-control-settings-group.php 0000644 00000004404 15252526161 0022314 0 ustar 00 <?php /** * Customizer Control: Settings Group * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 2.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } if ( ! class_exists( 'Astra_Control_Settings_Group' ) && class_exists( 'WP_Customize_Control' ) ) : /** * A Settings group control. */ class Astra_Control_Settings_Group extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-settings-group'; /** * The text to display. * * @access public * @var string */ public $text = ''; /** * The control name. * * @access public * @var string */ public $name = ''; /** * The control value. * * @access public * @var string */ public $tab = ''; /** * The fields for group. * * @access public * @var string */ public $ast_fields = ''; /** * The control type. * * @access public * @var string */ public $help = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['text'] = $this->text; $this->json['help'] = $this->help; $this->json['name'] = $this->name; $config = array(); if ( isset( Astra_Customizer::$group_configs[ $this->name ]['tabs'] ) ) { $tab = array_keys( Astra_Customizer::$group_configs[ $this->name ]['tabs'] ); foreach ( $tab as $key => $value ) { $config['tabs'][ $value ] = wp_list_sort( Astra_Customizer::$group_configs[ $this->name ]['tabs'][ $value ], 'priority' ); } } else { if ( isset( Astra_Customizer::$group_configs[ $this->name ] ) ) { $config = wp_list_sort( Astra_Customizer::$group_configs[ $this->name ], 'priority' ); } } $this->json['ast_fields'] = $config; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } endif; custom-controls/description/description.scss 0000644 00000000320 15252526161 0015462 0 ustar 00 .customize-control-ast-description { .ast-description { font-style: italic; } a.button { margin-top: 10px; font-style: normal; } p { margin: 0; cursor: initial; } } custom-controls/description/class-astra-control-description.php 0000644 00000002125 15252526161 0021174 0 ustar 00 <?php /** * Customizer Control: description * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * A text control with validation for CSS units. */ class Astra_Control_Description extends WP_Customize_Control { /** * The control type. * * @access public * @var string */ public $type = 'ast-description'; /** * The control type. * * @access public * @var string */ public $help = ''; /** * Refresh the parameters passed to the JavaScript via JSON. * * @see WP_Customize_Control::to_json() */ public function to_json() { parent::to_json(); $this->json['label'] = esc_html( $this->label ); $this->json['description'] = $this->description; $this->json['help'] = $this->help; } /** * Render the control's content. * * @see WP_Customize_Control::render_content() */ protected function render_content() {} } custom-controls/description/index.php 0000644 00000000170 15252526161 0014065 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ class-astra-fonts.php 0000644 00000010737 15252526161 0010636 0 ustar 00 <?php /** * Helper class for font settings. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Astra Fonts */ final class Astra_Fonts { /** * Get fonts to generate. * * @since 1.0.0 * @var array $fonts */ private static $fonts = array(); /** * Adds data to the $fonts array for a font to be rendered. * * @since 1.0.0 * @param string $name The name key of the font to add. * @param array $variants An array of weight variants. * @return void */ public static function add_font( $name, $variants = array() ) { if ( 'inherit' == $name ) { return; } if ( ! is_array( $variants ) ) { // For multiple variant selectons for fonts. $variants = explode( ',', str_replace( 'italic', 'i', $variants ) ); } if ( is_array( $variants ) ) { $key = array_search( 'inherit', $variants ); if ( false !== $key ) { unset( $variants[ $key ] ); if ( ! in_array( 400, $variants ) ) { $variants[] = 400; } } } elseif ( 'inherit' == $variants ) { $variants = 400; } if ( isset( self::$fonts[ $name ] ) ) { foreach ( (array) $variants as $variant ) { if ( ! in_array( $variant, self::$fonts[ $name ]['variants'] ) ) { self::$fonts[ $name ]['variants'][] = $variant; } } } else { self::$fonts[ $name ] = array( 'variants' => (array) $variants, ); } } /** * Get Fonts */ public static function get_fonts() { do_action( 'astra_get_fonts' ); return apply_filters( 'astra_add_fonts', self::$fonts ); } /** * Renders the <link> tag for all fonts in the $fonts array. * * @since 1.0.16 Added the filter 'astra_render_fonts' to support custom fonts. * @since 1.0.0 * @return void */ public static function render_fonts() { $font_list = apply_filters( 'astra_render_fonts', self::get_fonts() ); $google_fonts = array(); $font_subset = array(); $system_fonts = Astra_Font_Families::get_system_fonts(); foreach ( $font_list as $name => $font ) { if ( ! empty( $name ) && ! isset( $system_fonts[ $name ] ) ) { // Add font variants. $google_fonts[ $name ] = $font['variants']; // Add Subset. $subset = apply_filters( 'astra_font_subset', '', $name ); if ( ! empty( $subset ) ) { $font_subset[] = $subset; } } } $google_font_url = self::google_fonts_url( $google_fonts, $font_subset ); wp_enqueue_style( 'astra-google-fonts', $google_font_url, array(), ASTRA_THEME_VERSION, 'all' ); } /** * Google Font URL * Combine multiple google font in one URL * * @link https://shellcreeper.com/?p=1476 * @param array $fonts Google Fonts array. * @param array $subsets Font's Subsets array. * * @return string */ public static function google_fonts_url( $fonts, $subsets = array() ) { /* URL */ $base_url = '//fonts.googleapis.com/css'; $font_args = array(); $family = array(); // This is deprecated filter hook. $fonts = apply_filters( 'astra_google_fonts', $fonts ); $fonts = apply_filters( 'astra_google_fonts_selected', $fonts ); /* Format Each Font Family in Array */ foreach ( $fonts as $font_name => $font_weight ) { $font_name = str_replace( ' ', '+', $font_name ); if ( ! empty( $font_weight ) ) { if ( is_array( $font_weight ) ) { $font_weight = implode( ',', $font_weight ); } $font_family = explode( ',', $font_name ); $font_family = str_replace( "'", '', astra_get_prop( $font_family, 0 ) ); $family[] = trim( $font_family . ':' . rawurlencode( trim( $font_weight ) ) ); } else { $family[] = trim( $font_name ); } } /* Only return URL if font family defined. */ if ( ! empty( $family ) ) { /* Make Font Family a String */ $family = implode( '|', $family ); /* Add font family in args */ $font_args['family'] = $family; /* Add font subsets in args */ if ( ! empty( $subsets ) ) { /* format subsets to string */ if ( is_array( $subsets ) ) { $subsets = implode( ',', $subsets ); } $font_args['subset'] = rawurlencode( trim( $subsets ) ); } $font_args['display'] = astra_get_fonts_display_property(); return add_query_arg( $font_args, $base_url ); } return ''; } } class-astra-customizer-register-sections-panels.php 0000644 00000026162 15252526161 0016637 0 ustar 00 <?php /** * Register customizer panels & sections. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } if ( ! class_exists( 'Astra_Customizer_Register_Sections_Panels' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Customizer_Register_Sections_Panels extends Astra_Customizer_Config_Base { /** * Register Panels and Sections for Customizer. * * @param Array $configurations Astra Customizer Configurations. * @param WP_Customize_Manager $wp_customize instance of WP_Customize_Manager. * @since 1.4.3 * @return Array Astra Customizer Configurations with updated configurations. */ public function register_configuration( $configurations, $wp_customize ) { $configs = array( /** * Layout Panel */ array( 'name' => 'panel-global', 'type' => 'panel', 'priority' => 10, 'title' => __( 'Global', 'astra' ), ), array( 'name' => 'section-container-layout', 'type' => 'section', 'priority' => 17, 'title' => __( 'Container', 'astra' ), 'panel' => 'panel-global', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Site Layout Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/site-layout-overview/', 'customizer', 'site-layout', 'helpful-information' ), ), ), array( 'text' => __( 'Container Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/container-overview/', 'customizer', 'container', 'helpful-information' ), ), ), ), ) ), ), /* * Header section * * @since 1.4.0 */ array( 'name' => 'panel-header-group', 'type' => 'panel', 'priority' => 20, 'title' => __( 'Header', 'astra' ), ), /* * Update the Site Identity section inside Layout -> Header * * @since 1.4.0 */ array( 'name' => 'title_tagline', 'type' => 'section', 'priority' => 5, 'title' => __( 'Site Identity', 'astra' ), 'panel' => 'panel-header-group', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Site Identity Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/site-identity-free/', 'customizer', 'site-identity', 'helpful-information' ), ), ), ), ) ), ), /* * Update the Primary Header section * * @since 1.4.0 */ array( 'name' => 'section-header', 'type' => 'section', 'priority' => 15, 'title' => __( 'Primary Header', 'astra' ), 'panel' => 'panel-header-group', 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Primary Header Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/header-overview/', 'customizer', 'primary-header', 'helpful-information' ), ), ), ), ) ), ), array( 'name' => 'section-primary-menu', 'type' => 'section', 'priority' => 15, 'title' => __( 'Primary Menu', 'astra' ), 'panel' => 'panel-header-group', ), array( 'name' => 'section-footer-group', 'type' => 'section', 'title' => __( 'Footer', 'astra' ), 'priority' => 55, ), array( 'name' => 'section-separator', 'type' => 'section', 'priority' => 70, 'section_callback' => 'Astra_WP_Customize_Separator', ), /** * Footer Widgets Section */ array( 'name' => 'section-footer-adv', 'type' => 'section', 'title' => __( 'Footer Widgets', 'astra' ), 'section' => 'section-footer-group', 'priority' => 5, ), array( 'name' => 'section-footer-small', 'type' => 'section', 'title' => __( 'Footer Bar', 'astra' ), 'section' => 'section-footer-group', 'priority' => 10, 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Footer Bar Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/footer-bar/', 'customizer', 'footer-bar', 'helpful-information' ), ), ), ), ) ), ), array( 'name' => 'section-blog-group', 'type' => 'section', 'priority' => 40, 'title' => __( 'Blog', 'astra' ), ), array( 'name' => 'section-blog', 'type' => 'section', 'priority' => 5, 'title' => __( 'Blog / Archive', 'astra' ), 'section' => 'section-blog-group', ), array( 'name' => 'section-blog-single', 'type' => 'section', 'priority' => 10, 'title' => __( 'Single Post', 'astra' ), 'section' => 'section-blog-group', ), array( 'name' => 'section-sidebars', 'type' => 'section', 'priority' => 50, 'title' => __( 'Sidebar', 'astra' ), 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Sidebar Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/sidebar-free/', 'customizer', 'sidebar', 'helpful-information' ), ), ), ), ) ), ), /** * Colors Panel */ array( 'name' => 'section-colors-background', 'type' => 'section', 'priority' => 16, 'title' => __( 'Colors', 'astra' ), 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Colors & Background Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/colors-background/', 'customizer', 'colors-background', 'helpful-information' ), ), ), ), ) ), 'panel' => 'panel-global', ), array( 'name' => 'section-colors-body', 'type' => 'section', 'title' => __( 'Base Colors', 'astra' ), 'panel' => 'panel-global', 'priority' => 1, 'section' => 'section-colors-background', ), array( 'name' => 'section-footer-adv-color-bg', 'type' => 'section', 'title' => __( 'Footer Widgets', 'astra' ), 'panel' => 'panel-colors-background', 'priority' => 55, ), /** * Typography Panel */ array( 'name' => 'section-typography', 'type' => 'section', 'title' => __( 'Typography', 'astra' ), 'priority' => 15, 'description_hidden' => true, 'description' => $this->section_get_description( array( 'description' => '<p><b>' . __( 'Helpful Information', 'astra' ) . '</b></p>', 'links' => array( array( 'text' => __( 'Typography Overview', 'astra' ) . ' »', 'attrs' => array( 'href' => astra_get_pro_url( 'https://wpastra.com/docs/typography-free/', 'customizer', 'typography', 'helpful-information' ), ), ), ), ) ), 'panel' => 'panel-global', ), array( 'name' => 'section-body-typo', 'type' => 'section', 'title' => __( 'Base Typography', 'astra' ), 'section' => 'section-typography', 'priority' => 1, 'panel' => 'panel-global', ), array( 'name' => 'section-content-typo', 'type' => 'section', 'title' => __( 'Headings', 'astra' ), 'section' => 'section-typography', 'priority' => 35, 'panel' => 'panel-global', ), /** * Buttons Section */ array( 'name' => 'section-buttons', 'type' => 'section', 'priority' => 50, 'title' => __( 'Buttons', 'astra' ), 'panel' => 'panel-global', ), /** * Header Buttons */ array( 'name' => 'section-header-button', 'type' => 'section', 'priority' => 10, 'title' => __( 'Header Button', 'astra' ), 'section' => 'section-buttons', ), /** * Header Button - Default */ array( 'name' => 'section-header-button-default', 'type' => 'section', 'priority' => 10, 'title' => __( 'Primary Header Button', 'astra' ), 'section' => 'section-header-button', ), /** * Header Button - Transparent */ array( 'name' => 'section-header-button-transparent', 'type' => 'section', 'priority' => 10, 'title' => __( 'Transparent Header Button', 'astra' ), 'section' => 'section-header-button', ), /** * Widget Areas Section */ array( 'name' => 'section-widget-areas', 'type' => 'section', 'priority' => 55, 'title' => __( 'Widget Areas', 'astra' ), ), ); return array_merge( $configurations, $configs ); } } } /** * Kicking this off by calling 'get_instance()' method */ new Astra_Customizer_Register_Sections_Panels(); class-astra-customizer-callback.php 0000644 00000002446 15252526161 0013441 0 ustar 00 <?php /** * Astra Theme Customizer Callback * * @package Astra Theme */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } /** * Customizer Callback */ if ( ! class_exists( 'Astra_Customizer_Callback' ) ) : /** * Customizer Callback */ class Astra_Customizer_Callback { /** * Sidebar Archive * * @return boolean Return the sidebar status for Home, Archive & Search pages. */ public static function _sidebar_archive() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore if ( is_home() || is_archive() || is_search() ) { return true; } else { return false; } } /** * Sidebar Single * * @return boolean Return the sidebar status for Single Post. */ public static function _sidebar_single() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore if ( is_single() ) { return true; } else { return false; } } /** * Sidebar Page * * @return boolean Return the sidebar status for Single Page / Custom post type & 404. */ public static function _sidebar_page() { // phpcs:ignore PSR2.Methods.MethodDeclaration.Underscore if ( is_page() || is_404() ) { return true; } else { return false; } } } endif; index.php 0000644 00000000170 15252526161 0006367 0 ustar 00 <?php /** * Index file * * @package Astra * @since Astra 1.0.0 */ /* Silence is golden, and we agree. */ class-astra-fonts-data.php 0000644 00000002007 15252526161 0011534 0 ustar 00 <?php /** * Helper class for font settings. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ // Exit if accessed directly. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Font info class for System and Google fonts. */ if ( ! class_exists( 'Astra_Fonts_Data' ) ) : /** * Fonts Data */ final class Astra_Fonts_Data { /** * Localize Fonts */ public static function js() { $system = wp_json_encode( Astra_Font_Families::get_system_fonts() ); $google = wp_json_encode( Astra_Font_Families::get_google_fonts() ); $custom = wp_json_encode( Astra_Font_Families::get_custom_fonts() ); if ( ! empty( $custom ) ) { return 'var AstFontFamilies = { system: ' . $system . ', custom: ' . $custom . ', google: ' . $google . ' };'; } else { return 'var AstFontFamilies = { system: ' . $system . ', google: ' . $google . ' };'; } } } endif; class-astra-customizer-sanitizes.php 0000644 00000042426 15252526161 0013720 0 ustar 00 <?php /** * Astra Theme Customizer Sanitize. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ // No direct access, please. if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Customizer Sanitizes * * @since 1.0.0 */ if ( ! class_exists( 'Astra_Customizer_Sanitizes' ) ) { /** * Customizer Sanitizes Initial setup */ class Astra_Customizer_Sanitizes { /** * Instance * * @access private * @var object */ private static $instance; /** * Initiator */ public static function get_instance() { if ( ! isset( self::$instance ) ) { self::$instance = new self(); } return self::$instance; } /** * Constructor */ public function __construct() { } /** * Sanitize Integer * * @param number $input Customizer setting input number. * @return number Absolute number. */ public static function sanitize_integer( $input ) { return absint( $input ); } /** * Sanitize Integer * * @param number $val Customizer setting input number. * @param object $setting Setting object. * @return number Return number. */ public static function sanitize_number( $val, $setting ) { $input_attrs = $setting->manager->get_control( $setting->id )->input_attrs; if ( isset( $input_attrs ) ) { $input_attrs['min'] = isset( $input_attrs['min'] ) ? $input_attrs['min'] : 0; $input_attrs['step'] = isset( $input_attrs['step'] ) ? $input_attrs['step'] : 1; if ( isset( $input_attrs['max'] ) && $val > $input_attrs['max'] ) { $val = $input_attrs['max']; } elseif ( $val < $input_attrs['min'] ) { $val = $input_attrs['min']; } $dv = (float) $val / $input_attrs['step']; $dv = round( $dv ); $val = $dv * $input_attrs['step']; $val = number_format( (float) $val, 2, '.', '' ); if ( $val == (int) $val ) { $val = (int) $val; } } return is_numeric( $val ) ? $val : 0; } /** * Sanitize Integer * * @param number $val Customizer setting input number. * @return number Return number. */ public static function sanitize_number_n_blank( $val ) { return is_numeric( $val ) ? $val : ''; } /** * Sanitize Spacing * * @param number $val Customizer setting input number. * @return number Return number. * @since 1.0.6 */ public static function sanitize_spacing( $val ) { foreach ( $val as $key => $value ) { $val[ $key ] = ( is_numeric( $val[ $key ] ) && $val[ $key ] >= 0 ) ? $val[ $key ] : ''; } return $val; } /** * Sanitize link * * @param array $val Customizer setting link. * @return array Return array. * @since 2.3.0 */ public static function sanitize_link( $val ) { $link = array(); $link['url'] = esc_url_raw( $val['url'] ); $link['new_tab'] = esc_attr( $val['new_tab'] ); $link['link_rel'] = esc_attr( $val['link_rel'] ); return $link; } /** * Sanitize responsive Spacing * * @param number $val Customizer setting input number. * @return number Return number. * @since 1.2.1 */ public static function sanitize_responsive_spacing( $val ) { $spacing = array( 'desktop' => array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ), 'tablet' => array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ), 'mobile' => array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ), 'desktop-unit' => 'px', 'tablet-unit' => 'px', 'mobile-unit' => 'px', ); if ( isset( $val['desktop'] ) ) { $spacing['desktop'] = array_map( 'self::check_numberic_values', $val['desktop'] ); $spacing['tablet'] = array_map( 'self::check_numberic_values', $val['tablet'] ); $spacing['mobile'] = array_map( 'self::check_numberic_values', $val['mobile'] ); if ( isset( $val['desktop-unit'] ) ) { $spacing['desktop-unit'] = $val['desktop-unit']; } if ( isset( $val['tablet-unit'] ) ) { $spacing['tablet-unit'] = $val['tablet-unit']; } if ( isset( $val['mobile-unit'] ) ) { $spacing['mobile-unit'] = $val['mobile-unit']; } return $spacing; } else { foreach ( $val as $key => $value ) { $val[ $key ] = is_numeric( $val[ $key ] ) ? $val[ $key ] : ''; } return $val; } } /** * Check numeric values. * * @param int|string $value Value of variable. * @return string|int Return empty if $value is not integer. * * @since 2.5.4 */ public static function check_numberic_values( $value ) { return ( is_numeric( $value ) && $value >= 0 ) ? $value : ''; } /** * Sanitize Responsive Slider * * @param array|number $val Customizer setting input number. * @param object $setting Setting Onject. * @return array Return number. */ public static function sanitize_responsive_slider( $val, $setting ) { $input_attrs = array(); if ( isset( $setting->manager->get_control( $setting->id )->input_attrs ) ) { $input_attrs = $setting->manager->get_control( $setting->id )->input_attrs; } $responsive = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', ); if ( is_array( $val ) ) { $responsive['desktop'] = is_numeric( $val['desktop'] ) ? $val['desktop'] : ''; $responsive['tablet'] = is_numeric( $val['tablet'] ) ? $val['tablet'] : ''; $responsive['mobile'] = is_numeric( $val['mobile'] ) ? $val['mobile'] : ''; } else { $responsive['desktop'] = is_numeric( $val ) ? $val : ''; } foreach ( $responsive as $key => $value ) { $value = isset( $input_attrs['min'] ) && ( ! empty( $value ) ) && ( $input_attrs['min'] > $value ) ? $input_attrs['min'] : $value; $value = isset( $input_attrs['max'] ) && ( ! empty( $value ) ) && ( $input_attrs['max'] < $value ) ? $input_attrs['max'] : $value; $responsive[ $key ] = $value; } return $responsive; } /** * Sanitize Responsive Typography * * @param array|number $val Customizer setting input number. * @return array Return number. */ public static function sanitize_responsive_typo( $val ) { $responsive = array( 'desktop' => '', 'tablet' => '', 'mobile' => '', 'desktop-unit' => '', 'tablet-unit' => '', 'mobile-unit' => '', ); if ( is_array( $val ) ) { $responsive['desktop'] = ( isset( $val['desktop'] ) && is_numeric( $val['desktop'] ) ) ? $val['desktop'] : ''; $responsive['tablet'] = ( isset( $val['tablet'] ) && is_numeric( $val['tablet'] ) ) ? $val['tablet'] : ''; $responsive['mobile'] = ( isset( $val['mobile'] ) && is_numeric( $val['mobile'] ) ) ? $val['mobile'] : ''; $responsive['desktop-unit'] = ( isset( $val['desktop-unit'] ) && in_array( $val['desktop-unit'], array( '', 'px', 'em', 'rem', '%' ) ) ) ? $val['desktop-unit'] : 'px'; $responsive['tablet-unit'] = ( isset( $val['tablet-unit'] ) && in_array( $val['tablet-unit'], array( '', 'px', 'em', 'rem', '%' ) ) ) ? $val['tablet-unit'] : 'px'; $responsive['mobile-unit'] = ( isset( $val['mobile-unit'] ) && in_array( $val['mobile-unit'], array( '', 'px', 'em', 'rem', '%' ) ) ) ? $val['mobile-unit'] : 'px'; } else { $responsive['desktop'] = is_numeric( $val ) ? $val : ''; } return $responsive; } /** * Validate Email * * @param object $validity setting input validity. * @param string $value setting input value. * @return object Return the validity object. */ public static function validate_email( $validity, $value ) { if ( ! is_email( $value ) ) { $validity->add( 'required', __( 'Enter valid email address!', 'astra' ) ); } return $validity; } /** * Validate Sidebar Content Width * * @param number $value Sidebar content width. * @return number Sidebar content width value. */ public static function validate_sidebar_content_width( $value ) { $value = intval( $value ); if ( $value > 50 ) { $value = 50; } elseif ( $value < 15 ) { $value = 15; } return $value; } /** * Validate Site width * * @param number $value Site width. * @return number Site width value. */ public static function validate_site_width( $value ) { $value = intval( $value ); if ( 1920 < $value ) { $value = 1920; } elseif ( 768 > $value ) { $value = 768; } return $value; } /** * Validate Site padding * * @param number $value Site padding. * @return number Site padding value. */ public static function validate_site_padding( $value ) { $value = intval( $value ); if ( 200 < $value ) { $value = 200; } elseif ( 1 > $value ) { $value = 1; } return $value; } /** * Validate Site margin * * @param number $value Site margin. * @return number Site margin value. */ public static function validate_site_margin( $value ) { $value = intval( $value ); if ( 600 < $value ) { $value = 600; } elseif ( 0 > $value ) { $value = 0; } return $value; } /** * Sanitize checkbox * * @param number $input setting input. * @return number setting input value. */ public static function sanitize_checkbox( $input ) { if ( $input ) { $output = '1'; } else { $output = false; } return $output; } /** * Sanitize HEX color * * @param string $color setting input. * @return string setting input value. */ public static function sanitize_hex_color( $color ) { if ( '' === $color ) { return ''; } // 3 or 6 hex digits, or the empty string. if ( preg_match( '|^#([A-Fa-f0-9]{3}){1,2}$|', $color ) ) { return $color; } return ''; } /** * Sanitize Alpha color * * @param string $color setting input. * @return string setting input value. */ public static function sanitize_alpha_color( $color ) { if ( '' === $color ) { return ''; } if ( false === strpos( $color, 'rgba' ) ) { /* Hex sanitize */ return self::sanitize_hex_color( $color ); } /* rgba sanitize */ $color = str_replace( ' ', '', $color ); sscanf( $color, 'rgba(%d,%d,%d,%f)', $red, $green, $blue, $alpha ); return 'rgba(' . $red . ',' . $green . ',' . $blue . ',' . $alpha . ')'; } /** * Sanitize html * * @param string $input setting input. * @return mixed setting input value. */ public static function sanitize_html( $input ) { return wp_kses_post( $input ); } /** * Sanitize Select choices * * @param string $input setting input. * @param object $setting setting object. * @return mixed setting input value. */ public static function sanitize_multi_choices( $input, $setting ) { // Get list of choices from the control // associated with the setting. $choices = $setting->manager->get_control( $setting->id )->choices; $input_keys = $input; foreach ( $input_keys as $key => $value ) { if ( ! array_key_exists( $value, $choices ) ) { unset( $input[ $key ] ); } } // If the input is a valid key, return it; // otherwise, return the default. return ( is_array( $input ) ? $input : $setting->default ); } /** * Sanitize Select choices * * @param string $input setting input. * @param object $setting setting object. * @return mixed setting input value. */ public static function sanitize_choices( $input, $setting ) { // Ensure input is a slug. $input = sanitize_key( $input ); // Get list of choices from the control // associated with the setting. $choices = $setting->manager->get_control( $setting->id )->choices; // If the input is a valid key, return it; // otherwise, return the default. return ( array_key_exists( $input, $choices ) ? $input : $setting->default ); } /** * Sanitize Font weight * * @param mixed $input setting input. * @return mixed setting input value. */ public static function sanitize_font_weight( $input ) { $valid = array( 'normal', 'bold', '100', '200', '300', '400', '500', '600', '700', '800', '900', ); if ( in_array( $input, $valid ) ) { return $input; } else { return 'normal'; } } /** * Sanitize Font variant * * @param mixed $input setting input. * @return mixed setting input value. */ public static function sanitize_font_variant( $input ) { if ( is_array( $input ) ) { $input = implode( ',', $input ); } return sanitize_text_field( $input ); } /** * Sanitize Background Obj * * @param mixed $bg_obj setting input. * @return array setting input value. */ public static function sanitize_background_obj( $bg_obj ) { $out_bg_obj = array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', 'background-media' => '', 'background-type' => '', ); if ( is_array( $bg_obj ) ) { foreach ( $out_bg_obj as $key => $value ) { if ( isset( $bg_obj[ $key ] ) ) { if ( 'background-image' === $key ) { $out_bg_obj[ $key ] = esc_url_raw( $bg_obj[ $key ] ); } else { $out_bg_obj[ $key ] = esc_attr( $bg_obj[ $key ] ); } } } } return $out_bg_obj; } /** * Sanitize Border Typography * * @since 1.4.0 * @param array|number $val Customizer setting input number. * @return array Return number. */ public static function sanitize_border( $val ) { $border = array( 'top' => '', 'right' => '', 'bottom' => '', 'left' => '', ); if ( is_array( $val ) ) { $border['top'] = is_numeric( $val['top'] ) ? $val['top'] : ''; $border['right'] = is_numeric( $val['right'] ) ? $val['right'] : ''; $border['bottom'] = is_numeric( $val['bottom'] ) ? $val['bottom'] : ''; $border['left'] = is_numeric( $val['left'] ) ? $val['left'] : ''; } return $border; } /** * Sanitize Customizer Link param. * * @param Array $val array( * linked : Linked Customizer Section, * link_text : Link Text. * ). * * @since 1.6.0 * * @return Array */ public static function sanitize_customizer_links( $val ) { $val['linked'] = sanitize_text_field( $val['linked'] ); $val['link_text'] = esc_html( $val['link_text'] ); $val['link_type'] = esc_html( $val['link_type'] ); return $val; } /** * Sanitize Responsive Background Image * * @param array $bg_obj Background object. * @return array Background object. */ public static function sanitize_responsive_background( $bg_obj ) { // Default Responsive Background Image. $defaults = array( 'desktop' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', 'background-media' => '', 'background-type' => '', ), 'tablet' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', 'background-media' => '', 'background-type' => '', ), 'mobile' => array( 'background-color' => '', 'background-image' => '', 'background-repeat' => 'repeat', 'background-position' => 'center center', 'background-size' => 'auto', 'background-attachment' => 'scroll', 'background-media' => '', 'background-type' => '', ), ); // Merge responsive background object and default object into $out_bg_obj array. $out_bg_obj = wp_parse_args( $bg_obj, $defaults ); foreach ( $out_bg_obj as $device => $bg ) { foreach ( $bg as $key => $value ) { if ( 'background-image' === $key ) { $out_bg_obj[ $device ] [ $key ] = esc_url_raw( $value ); } if ( 'background-media' === $key ) { $out_bg_obj[ $device ] [ $key ] = floatval( $value ); } else { $out_bg_obj[ $device ] [ $key ] = esc_attr( $value ); } } } return $out_bg_obj; } } } /** * Kicking this off by calling 'get_instance()' method */ Astra_Customizer_Sanitizes::get_instance(); customizer-controls.php 0000644 00000004226 15252526161 0011333 0 ustar 00 <?php /** * Astra Theme Customizer Controls. * * @package Astra * @author Astra * @copyright Copyright (c) 2020, Astra * @link https://wpastra.com/ * @since Astra 1.0.0 */ if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly. } $control_dir = ASTRA_THEME_DIR . 'inc/customizer/custom-controls'; // @codingStandardsIgnoreStart WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound require $control_dir . '/class-astra-customizer-control-base.php'; require $control_dir . '/sortable/class-astra-control-sortable.php'; require $control_dir . '/radio-image/class-astra-control-radio-image.php'; require $control_dir . '/slider/class-astra-control-slider.php'; require $control_dir . '/responsive-slider/class-astra-control-responsive-slider.php'; require $control_dir . '/responsive/class-astra-control-responsive.php'; require $control_dir . '/typography/class-astra-control-typography.php'; require $control_dir . '/responsive-spacing/class-astra-control-responsive-spacing.php'; require $control_dir . '/divider/class-astra-control-divider.php'; require $control_dir . '/heading/class-astra-control-heading.php'; require $control_dir . '/hidden/class-astra-control-hidden.php'; require $control_dir . '/link/class-astra-control-link.php'; require $control_dir . '/color/class-astra-control-color.php'; require $control_dir . '/description/class-astra-control-description.php'; require $control_dir . '/background/class-astra-control-background.php'; require $control_dir . '/responsive-color/class-astra-control-responsive-color.php'; require $control_dir . '/responsive-background/class-astra-control-responsive-background.php'; require $control_dir . '/border/class-astra-control-border.php'; require $control_dir . '/customizer-link/class-astra-control-customizer-link.php'; require $control_dir . '/settings-group/class-astra-control-settings-group.php'; require $control_dir . '/select/class-astra-control-select.php'; require $control_dir . '/responsive-select/class-astra-control-responsive-select.php'; // @codingStandardsIgnoreEnd WPThemeReview.CoreFunctionality.FileInclude.FileIncludeFound
dvadf
dvadf
| ver. 1.4 |
Github
|
.
| PHP 7.3.33 | Generation time: 0.04 |
proxy
|
phpinfo
|
Settings